/* Tenscihazi staging commerce refinement: mobile overlays, checkout framing and purchase controls. */

/* The menu is nested in the sticky header; raise its parent above the root scrim only while it is open. */
body.tc-menu-open .site-header{z-index:901!important}
body.tc-menu-open .site-header .nav{z-index:2!important}
@media(max-width:820px){
  body.tc-menu-open .site-header .nav .inner{height:auto!important;min-height:0!important;overflow:visible!important}
}

/* A phone cart drawer remains a right-side panel rather than taking the full display. */
@media(max-width:600px){
  .cart-drawer{right:-70vw!important;width:70vw!important;max-width:70vw!important;transform:none!important}
  .cart-drawer.is-open,.cart-drawer.open{right:0!important;transform:none!important}
  .cart-drawer .drawer-head{min-height:66px;padding:0 14px}
  .cart-drawer .drawer-content{padding:2px 14px 14px}
  .cart-drawer .drawer-item{grid-template-columns:58px minmax(0,1fr);gap:10px;padding:14px 0}
  .cart-drawer .drawer-item__media{width:58px;height:58px}
  .cart-drawer .drawer-item__copy strong{font-size:13px;line-height:1.3}
  .drawer-footer{padding:13px 14px 15px}
  .drawer-actions{grid-template-columns:1fr;gap:7px}
  .drawer-review-note{font-size:11px;line-height:1.45}
}

/* Sitewide human support entry point. It stays clear of menus and drawers while an overlay is active. */
.tc-whatsapp-float{position:fixed;z-index:70;left:18px;bottom:18px;display:grid;width:54px;height:54px;place-items:center;border:1px solid rgba(255,255,255,.76);border-radius:50%;background:#25d366;color:#fff;box-shadow:0 12px 28px rgba(12,89,53,.28);transition:transform .2s ease,box-shadow .2s ease;isolation:isolate}
.tc-whatsapp-float:hover,.tc-whatsapp-float:focus-visible{transform:translateY(-3px);box-shadow:0 16px 32px rgba(12,89,53,.36);outline:3px solid rgba(37,211,102,.25);outline-offset:3px}
.tc-whatsapp-float svg{display:block;width:29px;height:29px;fill:currentColor;stroke:none}
.tc-whatsapp-float:after{position:absolute;left:calc(100% + 10px);padding:7px 9px;border-radius:7px;background:#153f4c;color:#fff;content:'WhatsApp';font-size:12px;font-weight:750;line-height:1;opacity:0;pointer-events:none;transform:translateX(-4px);transition:opacity .16s ease,transform .16s ease;white-space:nowrap}
.tc-whatsapp-float:hover:after,.tc-whatsapp-float:focus-visible:after{opacity:1;transform:translateX(0)}
body.tc-overlay-open .tc-whatsapp-float{opacity:0;pointer-events:none}
@media(max-width:600px){.tc-whatsapp-float{left:14px;bottom:14px;width:50px;height:50px}.tc-whatsapp-float:after{display:none}}

/* Shared price + cart treatment for homepage and taxonomy cards. Empty-price and quote-only cards render no commerce row. */
.ref-product-card__body,.tc-catalog-card__body{display:flex;flex-direction:column;min-width:0}
.tc-card-commerce{display:grid;grid-template-columns:1fr;gap:8px;align-items:center;margin-top:auto;padding-top:13px;border-top:1px solid #e1ebed}
.tc-card-commerce__price{min-width:0;color:#093d49;font-size:18px;font-weight:850;letter-spacing:-.35px;line-height:1.1;white-space:nowrap}
.tc-card-commerce__price .woocommerce-Price-currencySymbol{font-size:.72em;vertical-align:baseline}
.tc-card-commerce__add{display:inline-flex!important;width:100%;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:0 13px!important;border:1px solid #0a5d6a!important;border-radius:9px!important;background:#0a5d6a!important;color:#fff!important;font-size:12px!important;font-weight:800!important;line-height:1!important;text-decoration:none!important;white-space:nowrap;transition:background .18s ease,transform .18s ease}
.tc-card-commerce__add:hover,.tc-card-commerce__add:focus-visible{background:#073f4a!important;color:#fff!important;transform:translateY(-1px);outline:2px solid rgba(10,93,106,.22);outline-offset:2px}
.tc-card-commerce__add svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.tc-card-commerce__add.added{background:#147d6b!important;border-color:#147d6b!important}
.tc-catalog-card__body .tc-card-commerce{grid-template-columns:1fr;gap:8px;margin-top:13px}
.tc-catalog-card__body .tc-card-commerce__price{font-size:16px}
.tc-catalog-card__body .tc-card-commerce__add{width:100%}
@media(max-width:600px){.tc-card-commerce{grid-template-columns:1fr;gap:8px;padding-top:10px}.tc-card-commerce__price{font-size:16px}.tc-card-commerce__add{width:100%;min-height:38px;padding:0 10px!important;font-size:11px!important}.tc-card-commerce__add svg{width:15px;height:15px}.tc-catalog-card__body .tc-card-commerce{margin-top:10px}}

/* Pricing is followed by the two equal product actions on every purchasable product. */
.tc-product__actions{display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;align-items:stretch}
.tc-product__actions>.tc-product__price{flex:0 0 100%!important;width:100%;margin:0 0 2px}
.tc-product__action-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);flex:0 0 100%!important;width:100%;min-width:0;gap:10px;align-items:stretch}
.tc-product__visual [data-gallery-stage]{width:100%;min-width:0;overflow:hidden}
.tc-product__visual .tc-product__main-media{min-width:0;overflow:hidden}
.tc-product__action-row>.tc-button,.tc-product__action-row>.tc-product__cart-form{width:100%;min-width:0;margin:0}
.tc-product__action-row .tc-button{display:inline-flex;width:100%;min-height:48px;justify-content:center;white-space:nowrap}
.tc-product__action-row .tc-product__cart-form .tc-button{border:0}
.tc-product__actions>.tc-text-link{flex:0 0 100%;margin-top:3px}
@media(max-width:540px){
  .tc-product__actions{gap:10px}
  .tc-product__actions>.tc-product__price{font-size:25px}
  .tc-product__action-row{gap:8px}
  .tc-product__action-row .tc-button{min-height:49px;padding:0 9px;font-size:12px}
  .tc-product__action-row .tc-icon{width:18px;height:18px}
}

/* Desktop checkout is two aligned panels; the order title is visually inside the right panel. */
.woocommerce-checkout .tc-live-commerce form.checkout{position:relative;display:grid!important;grid-template-columns:minmax(0,1.18fr) minmax(330px,.82fr);gap:0 25px;align-items:start}
.woocommerce-checkout .tc-live-commerce #customer_details{grid-column:1!important;grid-row:1!important;min-width:0;padding:26px!important;border:1px solid #d6e5e7!important;border-radius:18px!important;background:#fff;box-shadow:0 14px 34px rgba(5,44,52,.055)}
.woocommerce-checkout .tc-live-commerce #order_review_heading{position:relative;z-index:1;grid-column:2!important;grid-row:1!important;align-self:start;margin:0!important;padding:24px 25px 14px!important;border:1px solid #d6e5e7!important;border-bottom:0!important;border-radius:18px 18px 0 0!important;background:#fff;color:#103d49;font-size:22px;line-height:1.2}
.woocommerce-checkout .tc-live-commerce #order_review{grid-column:2!important;grid-row:1!important;align-self:start;min-width:0;margin:0!important;padding:80px 25px 25px!important;border:1px solid #d6e5e7!important;border-radius:18px!important;background:#fff;box-shadow:0 14px 34px rgba(5,44,52,.055)}
.woocommerce-checkout .tc-live-commerce .woocommerce-checkout-review-order-table{margin:0!important}
.woocommerce-checkout .tc-live-commerce .woocommerce-checkout-review-order-table .product-name{padding:14px 0!important}
.tc-checkout-line{display:flex;align-items:center;gap:12px;min-width:0}
.tc-checkout-line__image{display:block;flex:0 0 58px;width:58px!important;height:58px!important;max-width:58px!important;object-fit:contain;border:1px solid #dce9e9;border-radius:10px;background:#fff}
.tc-checkout-line__name{min-width:0;color:#153f4c;font-weight:750;line-height:1.4}
.tc-checkout-line__name a{color:inherit}
@media(max-width:820px){
  .woocommerce-checkout .tc-live-commerce form.checkout{display:flex!important;flex-direction:column;gap:14px}
  .woocommerce-checkout .tc-live-commerce #customer_details,.woocommerce-checkout .tc-live-commerce #order_review_heading,.woocommerce-checkout .tc-live-commerce #order_review{width:100%!important;grid-column:auto!important;grid-row:auto!important}
  .woocommerce-checkout .tc-live-commerce #customer_details{order:1;padding:22px 18px!important}
  .woocommerce-checkout .tc-live-commerce #order_review_heading{order:2;padding:20px 18px 12px!important}
  .woocommerce-checkout .tc-live-commerce #order_review{order:3;margin-top:-14px!important;padding:72px 18px 20px!important}
}
