/* ShopTV Product + Boutique final polish, 2026-10-26. Loaded last in the storefront shell. */
:root{--stv-bottom-nav-height:68px;--stv-bottom-nav-gap:10px}
html{scroll-padding-bottom:calc(180px + env(safe-area-inset-bottom,0px))}
body.store-body{overflow-x:hidden;overflow-x:clip}
/* Remove the legacy floating social-network bubble; real social icons remain in the boutique profile. */
body.store-body .stv-store-social-widget{display:none!important;visibility:hidden!important;pointer-events:none!important}
/* One stable dock on every storefront page. Use physical left/right only to avoid RTL double-positioning. */
@media(max-width:760px){
  body.store-body{padding-bottom:calc(105px + env(safe-area-inset-bottom,0px))!important}
  body.store-body .shop-bottom-nav.storefront-bottom-nav{
    position:fixed!important;left:10px!important;right:10px!important;inset-inline-start:auto!important;inset-inline-end:auto!important;
    bottom:calc(7px + env(safe-area-inset-bottom,0px))!important;transform:none!important;width:auto!important;max-width:none!important;
    min-height:68px!important;height:auto!important;margin:0!important;padding:5px 7px!important;box-sizing:border-box!important;
    display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 54px minmax(0,1fr) minmax(0,1fr)!important;
    align-items:center!important;gap:2px!important;overflow:visible!important;z-index:1700!important;
    border:1px solid #d6e6f8!important;border-radius:22px!important;background:rgba(255,255,255,.98)!important;
    box-shadow:0 10px 28px rgba(4,24,57,.14),0 2px 8px rgba(4,24,57,.04)!important;
    backdrop-filter:blur(18px)!important;-webkit-backdrop-filter:blur(18px)!important
  }
  body.store-body .shop-bottom-nav.storefront-bottom-nav .bottom-nav-item{display:flex!important;min-width:0!important;min-height:53px!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;padding:4px 1px!important;border:0!important;border-radius:12px!important;background:transparent!important;color:#78879b!important;text-decoration:none!important;box-shadow:none!important}
  body.store-body .shop-bottom-nav.storefront-bottom-nav .bottom-nav-item.is-active{background:#eaf4ff!important;color:#075cc7!important}
  body.store-body .shop-bottom-nav.storefront-bottom-nav .bottom-nav-icon{display:grid!important;place-items:center!important;width:25px!important;height:24px!important;color:currentColor!important}
  body.store-body .shop-bottom-nav.storefront-bottom-nav .bottom-nav-icon svg{display:block!important;width:22px!important;height:22px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important}
  body.store-body .shop-bottom-nav.storefront-bottom-nav .bottom-nav-item small{display:block!important;max-width:100%!important;overflow:hidden!important;color:inherit!important;font-size:clamp(8px,2.2vw,10px)!important;font-weight:800!important;line-height:1.15!important;text-overflow:ellipsis!important;white-space:nowrap!important}
  body.store-body .shop-bottom-nav.storefront-bottom-nav .bottom-nav-logo.bottom-nav-reels{position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important;justify-self:center!important;width:52px!important;min-width:52px!important;height:52px!important;min-height:52px!important;margin:-10px auto 0!important;padding:2px!important;border:2px solid #fff!important;border-radius:17px!important;background:linear-gradient(145deg,#fff,#edf6ff)!important;box-shadow:0 0 0 1px #cfe2f8,0 7px 18px rgba(5,54,125,.16)!important;overflow:visible!important;transform:none!important}
  body.store-body .shop-bottom-nav.storefront-bottom-nav .bottom-nav-reels-logo{display:block!important;width:44px!important;height:44px!important;max-width:44px!important;object-fit:contain!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
}
/* Boutique page: tidy profile action row, social icon row and Reels preview cards. */
.shop-social-follow-wrap{display:flex;flex-wrap:wrap;flex-direction:row;align-items:center;justify-content:flex-start;gap:8px;min-width:0}
.shop-social-follow-wrap .shop-follow-form{flex:0 1 auto;min-width:0}
.shop-social-follow-wrap .shop-contact-action{flex:0 1 auto}
.shop-social-follow-wrap .shop-profile-social-links{flex:1 1 100%;width:100%;margin-top:2px}
.shop-profile-social-links{display:flex;align-items:center;justify-content:flex-start;gap:8px;flex-wrap:wrap;margin:12px 0 0}
.shop-profile-social-links a{display:inline-grid;place-items:center;width:36px;height:36px;border:1px solid #dce7f4;border-radius:12px;background:#f7fbff;color:#075cc7;text-decoration:none;font-weight:900;transition:transform .16s,border-color .16s,background .16s}
.shop-profile-social-links a:hover{transform:translateY(-1px);border-color:#9ac8f8;background:#edf6ff}
.shop-contact-action{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:0 14px;border:1px solid #dbe7f4;border-radius:13px;background:#f7fbff;color:#15518f;text-decoration:none;font-size:13px;font-weight:850}
.shop-contact-whatsapp{border-color:#b9e8d0;background:#eafaf1;color:#107447}
.shop-reels-shelf{margin-block:24px 30px;min-width:0}
.shop-reels-shelf-head{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin:0 0 14px}
.shop-reels-shelf-head>div>span{display:inline-block;color:#087cf5;font-size:10px;font-weight:900;letter-spacing:.08em}
.shop-reels-shelf-head h2{margin:5px 0;color:#152b45;font-size:clamp(20px,3vw,28px);font-weight:950;line-height:1.25}
.shop-reels-shelf-head p{margin:0;color:#78889b;font-size:12px;line-height:1.65}
.shop-reels-shelf-head>a{flex-shrink:0;display:inline-flex;align-items:center;gap:7px;padding:9px 12px;border:1px solid #d7e5f4;border-radius:12px;background:#fff;color:#1264b5;text-decoration:none;font-weight:850;font-size:11px}
.shop-reels-shelf-track{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(150px,190px);gap:12px;overflow-x:auto;overscroll-behavior-inline:contain;padding:2px 1px 12px;scroll-snap-type:x proximity}
.shop-reel-preview-card{display:block;min-width:0;overflow:hidden;border:1px solid #dce6f0;border-radius:18px;background:#fff;color:#20354c;text-decoration:none;box-shadow:0 8px 22px rgba(15,43,75,.06);scroll-snap-align:start}
.shop-reel-preview-media{position:relative;display:grid;place-items:center;aspect-ratio:3/4;overflow:hidden;background:linear-gradient(145deg,#eaf4ff,#fff)}
.shop-reel-preview-media img{width:100%;height:100%;object-fit:cover}
.shop-reel-preview-media>span:first-child{color:#1d64ab;font-size:30px;font-weight:950}
.shop-reel-play{position:absolute;top:10px;right:10px;display:grid;place-items:center;width:33px;height:33px;border:1px solid #ffffffaa;border-radius:50%;background:#fff;color:#087cf5;box-shadow:0 5px 14px #0b315c22}
.shop-reel-preview-copy{display:grid;gap:7px;padding:11px}
.shop-reel-preview-copy strong{display:-webkit-box;min-height:34px;overflow:hidden;color:#21364b;font-size:12px;line-height:1.45;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.shop-reel-preview-copy>span{color:#075bb6;font-size:14px;font-weight:950}
/* Product social proof: readable, full-width, with reviews/emojis clearly separated from checkout. */
.product-detail-page{padding-bottom:calc(176px + env(safe-area-inset-bottom,0px))!important}
.product-shop-social-strip,.ai-landing-shop-strip{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;margin:14px auto 18px;padding:12px 14px;border:1px solid #dce7f4;border-radius:18px;background:linear-gradient(135deg,#f7fbff,#fff);box-shadow:0 8px 24px rgba(17,47,82,.055)}
.ai-landing-shop-identity{display:flex;align-items:center;gap:10px;min-width:0;color:#173451;text-decoration:none}
.ai-landing-shop-avatar{display:grid;place-items:center;flex:0 0 46px;width:46px;height:46px;overflow:hidden;border:1px solid #dce7f4;border-radius:14px;background:#eaf4ff;color:#1264b5;font-size:18px;font-weight:950}
.ai-landing-shop-avatar img{width:100%;height:100%;object-fit:cover}
.ai-landing-shop-copy{display:grid;gap:4px;min-width:0}
.ai-landing-shop-copy strong{overflow:hidden;color:#173451;font-size:14px;font-weight:950;text-overflow:ellipsis;white-space:nowrap}
.ai-landing-shop-copy small{color:#7b8b9b;font-size:10px}
.ai-landing-follow-button{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;min-height:38px;padding:0 14px;border:1px solid #c8def4;border-radius:12px;background:#eaf4ff;color:#075bb6;text-decoration:none;font-size:12px;font-weight:900;white-space:nowrap}
.ai-landing-follow-button.is-following{background:#fff;color:#42617d}
.product-community-section{position:relative;z-index:1;clear:both;width:min(1120px,calc(100% - 32px));margin:24px auto 28px!important;padding:clamp(16px,3vw,28px)!important;border:1px solid #dce7f2!important;border-radius:22px!important;background:#fff!important;box-shadow:0 10px 30px rgba(20,48,82,.06)!important;overflow:visible!important}
.product-community-head{align-items:flex-start!important;gap:12px!important}
.product-community-head h2{color:#162c45!important;font-size:clamp(21px,3vw,29px)!important;line-height:1.3!important;letter-spacing:-.02em!important}
.product-community-head p{font-size:12px!important;line-height:1.8!important}
.community-reactions{gap:8px!important}
.community-reaction{border-color:#dce7f3!important;background:linear-gradient(180deg,#fff,#f8fbff)!important;box-shadow:0 3px 10px rgba(17,47,82,.035)!important}
.community-reaction.is-selected{background:#eaf4ff!important;border-color:#8abcf1!important}
.community-review-form-panel,.community-reviews-panel{border-color:#dce7f2!important;border-radius:16px!important;background:#fbfdff!important}
.ai-landing-review-gallery{width:min(1120px,calc(100% - 32px));margin:18px auto!important;padding:clamp(14px,2.5vw,24px)!important}
.ai-landing-review-gallery .product-v29-review-rail{display:flex;gap:10px;overflow-x:auto;padding:4px 1px 10px;scroll-snap-type:x proximity}
.ai-landing-review-gallery .product-v29-review-photo{flex:0 0 130px;scroll-snap-align:start}
.ai-landing-review-gallery .product-v29-review-photo img{width:130px;height:150px;object-fit:cover;border-radius:13px}
/* Never let sticky purchase controls cover the unified mobile dock or page content. */
.store-body .product-v32-sticky-bar{z-index:1350!important;bottom:calc(84px + env(safe-area-inset-bottom,0px))!important;left:10px!important;right:10px!important;width:auto!important;border-radius:16px!important}
body.store-body.ai-landing-document{padding-bottom:calc(190px + env(safe-area-inset-bottom,0px))!important;background:#f7faff!important}
body.store-body.ai-landing-document .public-landing-wrap{width:100%;max-width:100%;margin:0 auto;overflow:visible}
body.store-body.ai-landing-document .public-landing-iframe{width:100%;max-width:100%;margin:0 auto;overflow:visible}
body.store-body.ai-landing-document .shoptv-ai-buybar{z-index:1350!important;bottom:calc(84px + env(safe-area-inset-bottom,0px))!important;left:12px!important;right:12px!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important}
body.store-body.ai-landing-document .shoptv-ai-buybar a{width:100%;max-width:660px;min-height:52px;border-radius:15px;background:linear-gradient(135deg,#087cff,#075bc8);box-shadow:0 10px 26px rgba(8,100,205,.22)}
@media(min-width:761px){
  .product-detail-page{padding-bottom:40px!important}
  .store-body .product-v32-sticky-bar{bottom:0!important;left:0!important;right:0!important}
  body.store-body.ai-landing-document{padding-bottom:100px!important}
  body.store-body.ai-landing-document .shoptv-ai-buybar{left:0!important;right:0!important;bottom:0!important}
}
@media(max-width:760px){
  .product-shop-social-strip,.ai-landing-shop-strip{align-items:center;gap:8px;margin:10px 10px 14px;padding:9px;border-radius:15px}
  .ai-landing-shop-avatar{flex-basis:40px;width:40px;height:40px;border-radius:12px}
  .ai-landing-shop-copy strong{font-size:12px}.ai-landing-shop-copy small{font-size:9px}
  .ai-landing-follow-button{min-height:35px;padding:0 10px;font-size:11px}
  .product-community-section{width:calc(100% - 20px);margin:20px 10px 24px!important;padding:15px!important;border-radius:17px!important}
  .community-reactions{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:4px!important}
  .community-reaction{min-height:75px!important;border-radius:10px!important;gap:3px!important}
  .community-reaction>span{font-size:20px!important}.community-reaction small{font-size:7px!important}.community-reaction b{font-size:9px!important}
  .community-review-layout{grid-template-columns:minmax(0,1fr)!important;gap:12px!important}
  .ai-landing-review-gallery{width:calc(100% - 20px);margin:14px 10px!important;padding:13px!important;border-radius:17px!important}
  .store-body .product-v32-sticky-bar{bottom:calc(84px + env(safe-area-inset-bottom,0px))!important;left:10px!important;right:10px!important;padding:7px!important;border-radius:15px!important}
  body.store-body.ai-landing-document{padding-bottom:calc(190px + env(safe-area-inset-bottom,0px))!important}
  body.store-body.ai-landing-document .public-order-panel{margin-bottom:20px!important}
  .shop-reels-shelf{margin-block:20px 24px}
  .shop-reels-shelf-head{align-items:flex-start}
  .shop-reels-shelf-head h2{font-size:20px}
  .shop-reels-shelf-head p{font-size:11px}
  .shop-reels-shelf-head>a{padding:8px 9px;font-size:10px}
  .shop-reels-shelf-track{grid-auto-columns:minmax(135px,42vw);gap:9px}
  .shop-reel-preview-card{border-radius:15px}
  .shop-reel-preview-copy{padding:9px}
  .shop-social-follow-wrap{display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;align-items:center!important;gap:7px!important}
  .shop-social-follow-wrap .shop-follow-form,.shop-social-follow-wrap>.shop-contact-action,.shop-social-follow-wrap>.shop-follow-button{flex:1 1 calc(50% - 7px)!important}
  .shop-social-follow-wrap .shop-profile-social-links{flex:1 1 100%!important;width:100%!important;display:flex!important;justify-content:flex-start!important;gap:6px!important;margin-top:2px!important}
  .shop-profile-social-links a{width:33px;height:33px;border-radius:10px}
}
@media(prefers-reduced-motion:reduce){.shop-profile-social-links a{transition:none}}
