/*
Theme Name: VIP Recovered Storefront
Template: storefront
Version: 2026.10.09
*/
body{color:#30242a;background:#f7f3ee}body:not(.home) .site-header{background:#21131c;color:#fff}body:not(.home) .site-header a{color:#fff}body:not(.home) .site-header .site-description{color:#dec7ce}.site-header input{color:#30242a}.site-branding .site-title a{font-family:Georgia,serif;letter-spacing:.05em}.site-content .col-full{max-width:1280px}body.home .site-content{padding:0}.site-main{overflow-wrap:anywhere}.woocommerce-product-gallery img{object-fit:contain}button,.button,input[type=submit]{background:#681e38;color:#fff;border-radius:3px}.woocommerce-checkout-review-order{position:relative;z-index:1}.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea{min-height:44px} .vip-preview-banner{padding:9px 18px;text-align:center;background:#f5d9a8;color:#31211d;font:13px Arial}
@media(max-width:768px){.chat-button .cta-tooltip{display:none!important}body.woocommerce-cart .chat-button,body.woocommerce-checkout .chat-button{display:none!important}.site-header .col-full,.site-content .col-full{margin-left:16px;margin-right:16px}.woocommerce-product-gallery{max-width:100%}#payment .place-order{padding:12px}}

/* VIP browse QA 2026-10-11: consistent reachable contact without overlaying footer controls. */
#vip-whatsapp-float{position:fixed;right:16px;bottom:calc(16px + env(safe-area-inset-bottom,0px) + var(--vip-bottom-bar,0px));z-index:99970;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:10px 16px;border:1px solid #fff5;border-radius:999px;background:#126443;color:#fff!important;box-shadow:0 5px 20px #0002;font:600 14px/1.2 Arial,sans-serif;text-decoration:none!important;box-sizing:border-box}
#vip-whatsapp-float[hidden]{display:none!important}#vip-whatsapp-float:hover{background:#0b4c32}#vip-whatsapp-float:focus-visible{outline:3px solid #ac743b;outline-offset:4px}#vip-whatsapp-float svg{flex:none}
body:not(.home) .site-footer{padding-bottom:100px}.woocommerce ul.products li.product img{object-fit:contain}body.single-product .summary .product_title{overflow-wrap:anywhere;line-height:1.18}.vip-browse-held .yith-wcwl-add-to-wishlist{display:none!important}
@media(max-width:768px){#vip-whatsapp-float{right:12px;min-height:48px;padding:10px 13px}body.single-product .summary .product_title{font-size:clamp(24px,6vw,32px)}.site-header .site-branding{max-width:calc(100% - 86px)}.site-header input[type=search]{max-width:100%}}
/* Observed low-contrast crossed-out prices and narrow breadcrumb/meta targets. */
body:not(.home) .price del{color:#57434c;opacity:1}
body:not(.home) .woocommerce-breadcrumb a,body:not(.home) .product_meta a{color:#58424c;display:inline-block;min-height:24px;line-height:24px}
body:not(.home) .woocommerce-info{background:#176180;color:#fff}
body:not(.home) .site-header .count{opacity:.85}

/* VIP cart/checkout only: keep the existing mobile footer bar and dock contact
 * inside its occupied area, instead of floating above it over coupon controls.
 * No homepage, desktop, payment, cart-calculation, or tracking changes.
 */
@media (max-width: 767px) {
  body:is(.woocommerce-cart, .woocommerce-checkout) .storefront-handheld-footer-bar {
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }

  body:is(.woocommerce-cart, .woocommerce-checkout) .storefront-handheld-footer-bar > ul {
    box-sizing: border-box;
    padding-right: 68px;
  }

  body:is(.woocommerce-cart, .woocommerce-checkout) #vip-whatsapp-float {
    right: 10px;
    /* Deliberately independent of the JS-measured --vip-bottom-bar property. */
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    width: 48px;
    min-width: 48px;
    height: 48px;
    min-height: 48px;
    padding: 0;
    gap: 0;
  }

  body:is(.woocommerce-cart, .woocommerce-checkout) #vip-whatsapp-float span {
    display: none;
  }

  /* Allow final actions to scroll fully above the persistent controls. */
  body:is(.woocommerce-cart, .woocommerce-checkout) .site-content {
    padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  }

  body:is(.woocommerce-cart, .woocommerce-checkout) :is(button, .button, input, select, textarea) {
    scroll-margin-bottom: calc(104px + env(safe-area-inset-bottom, 0px));
  }
}

body.single-product form.cart .vip-buy-now{margin:0 0 8px 8px;min-height:44px;max-width:100%;white-space:normal}
body.single-product form.cart .vip-buy-now:focus-visible{outline:3px solid #ac743b;outline-offset:3px}
