/* =====================================================================
   Tenepattu — App-style UI layer (loaded after premium.css)
   Rollback: remove the <link> to this file in includes/header.php
   Colours: teal #4A7C74 / deep #2E4644 / peach #D9906F / soft #E3EDEB
   ===================================================================== */
:root{
  --app-teal:#4A7C74; --app-teal-d:#3E6A63; --app-deep:#2E4644;
  --app-peach:#D9906F; --app-peach-l:#FBDFD3; --app-soft:#E3EDEB;
  --app-bg:#F6F8F7; --app-card:#fff; --app-line:#E4ECEA;
  --app-r:18px; --app-shadow:0 6px 20px rgba(46,70,68,.09);
}

/* ---------- search panel always visible (inside header) ---------- */
#searchPanel.hidden{display:block !important;}
#searchPanel{border-top:0 !important; background:transparent !important; padding:0 !important;}
#searchPanel form{max-width:none !important; padding:0 !important; margin:0 !important; gap:0 !important;}
#searchPanel .form-input{
  width:100%; border:1px solid var(--app-line); background:#fff; border-radius:14px;
  padding:13px 16px 13px 44px; box-shadow:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%234A7C74' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:14px center;
}
#searchPanel .btn{display:none !important;}
#searchToggle{display:none !important;}
.app-bar{display:none;}

/* =====================================================================
   MOBILE / TABLET  (app look)
   ===================================================================== */
@media(max-width:980px){
  body{background:var(--app-bg); padding-bottom:84px;}
  .announcement-bar{display:none !important;}

  .site-header{
    position:sticky; top:0; z-index:70; background:var(--app-teal) !important;
    backdrop-filter:none !important; box-shadow:0 6px 18px rgba(46,70,68,.18) !important;
    border-bottom:0 !important; border-radius:0 0 22px 22px;
  }
  .site-header .nav-wrap{padding:12px 14px 8px !important;}
  .mobile-toggle{color:#fff !important; font-size:22px; margin-right:8px;}
  .logo-img-mobile{height:34px !important; border-radius:10px !important;}
  .region-pill{
    background:rgba(255,255,255,.16) !important; color:#fff !important;
    border:1px solid rgba(255,255,255,.28) !important; border-radius:999px !important;
    padding:6px 10px !important; font-size:11px !important; font-weight:600;
  }
  .nav-actions .icon-btn{color:#fff !important;}
  /* logo on a white chip so it stays readable on teal */
  .site-header .logo{background:none; padding:0;}
  .site-header .logo-img-mobile{height:30px !important; border-radius:0 !important;}
  /* US pickup strip */
  #pickupLocPill{
    background:rgba(255,255,255,.14) !important; color:#fff !important; border:0 !important; border-top:0 !important;
    border-radius:14px !important; margin:6px 0 0 !important; width:100% !important; padding:9px 12px !important;
  }
  #pickupLocPill i{color:var(--app-peach-l) !important;}
  #pickupLocPill::after{color:var(--app-peach-l) !important;}
  /* cart icon visible on mobile header */
  .nav-actions a.icon-btn[title="Cart"]{
    display:inline-flex !important; width:38px; height:38px; align-items:center; justify-content:center;
    background:rgba(255,255,255,.16); border-radius:12px; font-size:20px; position:relative;
  }
  .nav-actions a.icon-btn[title="Cart"] .cart-count{top:-5px; right:-5px;}
  .main-nav{background:#fff !important; border-radius:0 0 18px 18px; margin:0 8px;}
  .main-nav a{color:var(--app-deep) !important;}

  #searchPanel{padding:0 14px 14px !important;}

  /* inner pages: title app-bar replaces logo row */
  body:not(.pg-index) .app-bar{
    display:flex; align-items:center; gap:10px; padding:12px 14px 6px; color:#fff;
  }
  body:not(.pg-index) .nav-wrap{display:none !important;}
  body:not(.pg-index) #searchPanel{display:none !important;}
  body.pg-all-products #searchPanel,body.pg-search #searchPanel{display:block !important;}
  body.pg-all-products .site-header,body.pg-search .site-header{padding-bottom:0;}
  .app-bar-title{flex:1; text-align:center; font:700 17px/1.2 var(--font-label,'Poppins',sans-serif); letter-spacing:.2px;
    white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
  .app-bar-btn{width:38px; height:38px; display:inline-flex; align-items:center; justify-content:center;
    background:rgba(255,255,255,.16); border-radius:12px; color:#fff; font-size:20px;}
  .app-bar-cart{position:relative;}
  .app-bar-count{position:absolute; top:-5px; right:-5px; min-width:18px; height:18px; padding:0 4px; border-radius:9px; background:var(--app-peach); color:#fff; font:700 11px/18px 'Poppins',sans-serif; text-align:center;}
  body:not(.pg-index) .site-header{padding-bottom:8px; border-radius:0 0 22px 22px;}
  body.pg-product .site-header{position:absolute !important; left:0; right:0; top:0; background:transparent !important; box-shadow:none !important;}
  body.pg-product .app-bar-title{visibility:hidden;}
  body.pg-product .app-bar-btn{background:rgba(255,255,255,.92); color:var(--app-deep);}

  .container{padding-left:16px !important; padding-right:16px !important;}
  .section{padding:26px 0 !important;}
  .section-head{margin-bottom:14px !important; text-align:left !important;}
  .section-head h2{font-size:21px !important; text-align:left !important; color:var(--app-deep);}
  .section-head p,.section-head .eyebrow{text-align:left !important;}
  .foil-divider{display:none !important;}

  /* ---- hero as rounded card ---- */
  .hero-banner{margin:14px 16px 0 !important; border-radius:24px; overflow:hidden; box-shadow:var(--app-shadow);}
  .hero-slide{min-height:clamp(210px,62vw,420px) !important; border-radius:24px;}
  .hero-banner img{border-radius:24px;}

  /* ---- feature strip: horizontal chips ---- */
  .feature-strip-section{padding:14px 0 !important;}

  /* ---- categories: circles in a scroller ---- */
  #categories .category-grid{
    display:flex !important; gap:14px !important; overflow-x:auto; padding:4px 2px 10px; scroll-snap-type:x proximity;
    scrollbar-width:none;
  }
  #categories .category-grid::-webkit-scrollbar{display:none;}
  #categories .category-card{
    flex:0 0 78px; width:78px; background:none !important; box-shadow:none !important; border:0 !important;
    padding:0 !important; text-align:center; scroll-snap-align:start; transform:none !important;
  }
  #categories .category-card::before,#categories .category-card::after{display:none !important;}
  #categories .cat-img-wrap{
    width:72px !important; height:72px !important; aspect-ratio:1/1 !important; margin:0 auto 6px; border-radius:50% !important;
    overflow:hidden; border:3px solid #fff; box-shadow:0 4px 12px rgba(74,124,116,.25); background:var(--app-soft);
  }
  #categories .cat-img-wrap img{width:100%; height:100%; object-fit:cover;}
  #categories .category-card .label{font-size:11.5px !important; font-weight:600; color:var(--app-deep); padding:0 !important; background:none !important; position:static !important;}

  /* ---- product cards ---- */
  .product-grid{grid-template-columns:repeat(2,1fr) !important; gap:12px !important;}
  .product-card{
    background:var(--app-card) !important; border:0 !important; border-radius:var(--app-r) !important;
    box-shadow:var(--app-shadow) !important; overflow:hidden; position:relative; transform:none !important;
  }
  .product-card .product-thumb{aspect-ratio:1/1 !important; border-radius:0 !important;}
  .product-card .product-info{padding:10px 12px 14px !important; position:relative;}
  .product-card .product-cat{font-size:10px !important; color:var(--app-peach) !important; text-transform:uppercase; letter-spacing:.6px;}
  .product-card h3{font-size:14px !important; line-height:1.25; color:var(--app-deep); margin:2px 0 4px !important;
    display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;}
  .product-card .product-price{font-size:13px !important; color:var(--app-teal-d); font-weight:700;}
  .product-card .price-now{color:var(--app-teal-d) !important;}
  /* CTA becomes round "+" button */
  .product-card .product-card-cta{
    position:absolute; right:10px; bottom:12px; width:34px; height:34px; padding:0 !important; font-size:0 !important;
    border-radius:50% !important; background:var(--app-teal) !important; color:#fff !important; border:0 !important;
    display:flex !important; align-items:center; justify-content:center; box-shadow:0 4px 10px rgba(74,124,116,.4);
    margin:0 !important; min-width:0;
  }
  .product-card .product-card-cta::before{content:"+"; font:600 22px/1 'Poppins',sans-serif; color:#fff;}
  .product-card .product-card-cta[disabled],.product-card .product-card-cta.disabled{background:#c9d3d1 !important; box-shadow:none;}
  .product-card .product-card-cta[disabled]::before{content:"–";}
  .wishlist-btn{background:rgba(255,255,255,.92) !important; border-radius:50% !important; box-shadow:0 2px 8px rgba(0,0,0,.12);}

  /* category/all-products page = list rows like the reference */
  body.pg-all-products .product-grid,body.pg-search .product-grid{grid-template-columns:1fr !important; gap:10px !important;}
  body.pg-all-products .product-card,body.pg-search .product-card{display:flex; align-items:center; padding:10px; gap:12px;}
  body.pg-all-products .product-card > div:first-child,body.pg-search .product-card > div:first-child{flex:0 0 84px; width:84px;}
  body.pg-all-products .product-card .product-thumb,body.pg-search .product-card .product-thumb{width:84px; height:84px; aspect-ratio:auto !important; border-radius:14px !important;}
  body.pg-all-products .product-card .product-info,body.pg-search .product-card .product-info{flex:1; padding:0 44px 0 0 !important;}
  body.pg-all-products .product-card .product-card-cta,body.pg-search .product-card .product-card-cta{right:12px; bottom:50%; transform:translateY(50%);}
  body.pg-all-products .product-card .badge,body.pg-search .product-card .badge{display:none;}

  /* chips (category links / filters) */
  body.pg-all-products .section a.btn{border-radius:999px !important; padding:8px 16px !important; font-size:13px !important;}

  /* ---- product detail: sheet over image ---- */
  body.pg-product .product-detail-layout{gap:0 !important;}
  body.pg-product #mainProductImg{border-radius:0 !important; width:100%; max-height:60vh; object-fit:cover;}
  body.pg-product main > .section,body.pg-product .section:first-of-type{padding-top:0 !important;}
  body.pg-product .product-detail-layout > div:last-child{
    background:#fff; border-radius:26px 26px 0 0; margin-top:-26px; position:relative; padding:22px 18px 8px;
    box-shadow:0 -8px 24px rgba(46,70,68,.08);
  }
  body.pg-product h1{font-size:23px !important; color:var(--app-deep);}
  .variant-pill{border-radius:14px !important; padding:10px 14px !important;}
  body.pg-product #addCartBtn{border-radius:13px !important; background:var(--app-teal) !important; color:#fff !important;}
  /* sticky add-to-cart row: slim floating card */
  body.pg-product div:has(> #addCartBtn){
    position:fixed; left:14px; right:14px; bottom:calc(12px + env(safe-area-inset-bottom)); z-index:80; background:#fff;
    padding:6px; border-radius:18px; box-shadow:0 8px 24px rgba(46,70,68,.2); display:flex !important; gap:8px;
    align-items:center; margin:0 !important;
  }
  body.pg-product div:has(> #addCartBtn) > div:first-child{border-color:var(--app-line) !important; background:var(--app-soft); flex:0 0 auto;}
  body.pg-product #qtyMinus,body.pg-product #qtyPlus{width:34px !important; height:36px !important; background:transparent !important; color:var(--app-teal-d) !important; font-size:18px !important;}
  body.pg-product #productQty{width:30px !important; background:transparent; font-size:15px !important; padding:0;}
  body.pg-product div:has(> #addCartBtn) #addCartBtn{
    flex:1; width:auto !important; padding:0 16px !important; height:42px; min-height:0; font-size:14.5px !important;
    border-radius:13px !important; justify-content:center; box-shadow:none !important; letter-spacing:.2px;
  }
  body.pg-product .mobile-bottom-nav{display:none !important;}
  body.pg-product{padding-bottom:84px;}

  /* ---- cart ---- */
  .cart-row{
    background:#fff; border-radius:var(--app-r); padding:12px !important; box-shadow:var(--app-shadow);
    border:0 !important; margin-bottom:12px;
  }
  .cart-row img{border-radius:14px !important;}
  .qty-stepper{background:var(--app-soft); border-radius:999px !important; border:0 !important;}
  .cart-summary,.cart-layout > div:last-child,.checkout-layout > div:last-child{
    background:#fff; border-radius:22px !important; box-shadow:var(--app-shadow); border:0 !important;
  }
  .btn-maroon,.btn.btn-maroon{background:var(--app-teal) !important; border-color:var(--app-teal) !important; color:#fff !important; border-radius:14px !important;}
  #payBtn{padding:15px !important; font-size:16px !important;}

  /* ---- checkout ---- */
  .checkout-layout > div:first-child{background:#fff; border-radius:22px; padding:18px; box-shadow:var(--app-shadow);}
  .fulfil-choice{border-radius:16px !important; border:1.5px solid var(--app-line) !important; background:#fff !important;}
  .fulfil-choice:has(input:checked){border-color:var(--app-teal) !important; background:var(--app-soft) !important;}
  .form-input{border-radius:12px !important;}

  /* ---- orders / account ---- */
  .order-card,.admin-card{border-radius:var(--app-r) !important; border:0 !important; box-shadow:var(--app-shadow) !important;}
  .account-menu a,.account-menu li{background:#fff; border-radius:16px; margin-bottom:10px; box-shadow:var(--app-shadow); border:0 !important;}
  .status-chips{display:flex; gap:8px; overflow-x:auto; padding:2px 0 12px; scrollbar-width:none;}
  .status-chips::-webkit-scrollbar{display:none;}
  .status-chips a{
    flex:0 0 auto; padding:8px 16px; border-radius:999px; background:#fff; color:var(--app-deep);
    border:1px solid var(--app-line); font-size:13px; font-weight:600; text-decoration:none;
  }
  .status-chips a.active{background:var(--app-teal); color:#fff; border-color:var(--app-teal);}
  body.pg-orders select[name=status]{display:none;}

  /* ---- bottom nav: filled pill active tab ---- */
  .mobile-bottom-nav{
    position:fixed !important; left:12px !important; right:12px !important; bottom:calc(10px + env(safe-area-inset-bottom)) !important;
    background:#fff !important; border-radius:26px !important; padding:8px 10px !important; z-index:90;
    box-shadow:0 10px 30px rgba(46,70,68,.22) !important; border:0 !important;
    display:flex !important; justify-content:space-around; align-items:center;
  }
  .mobile-bottom-nav a{
    flex:1; display:flex !important; flex-direction:column; align-items:center; gap:2px; padding:7px 4px !important;
    color:#8aa19d !important; font-size:11px !important; font-weight:600; border-radius:18px; position:relative;
    background:none !important; transform:none !important; box-shadow:none !important;
  }
  .mobile-bottom-nav a i{font-size:21px !important; color:inherit !important;}
  .mobile-bottom-nav a.active{background:var(--app-teal) !important; color:#fff !important;}
  .mobile-nav-badge{position:absolute; top:2px; right:22%; background:var(--app-peach) !important; color:#fff !important;}

  .site-footer{margin-bottom:0; border-radius:26px 26px 0 0;}
}

/* =====================================================================
   DESKTOP
   ===================================================================== */
@media(min-width:981px){
  body{background:var(--app-bg);}
  .announcement-bar{background:var(--app-deep) !important;}
  .site-header{background:#fff !important; box-shadow:0 4px 18px rgba(46,70,68,.08) !important; border-bottom:0 !important;}
  .site-header .nav-wrap{
    display:grid !important; grid-template-columns:auto minmax(280px,560px) 1fr; align-items:center; column-gap:28px; row-gap:0; padding-top:12px; padding-bottom:0;
  }
  .site-header .logo{grid-column:1; grid-row:1;}
  #searchPanel{position:absolute; left:calc(50% - 250px); top:14px; width:min(400px,32vw); z-index:2; padding:0 !important;}
  .site-header .nav-actions{grid-column:3; grid-row:1; justify-self:end;}
  .site-header .main-nav{grid-column:1 / -1; grid-row:2; display:flex; gap:6px; padding:8px 0 10px; justify-content:flex-start;}
  .main-nav a{padding:8px 16px; border-radius:999px; font-weight:600; color:var(--app-deep);}
  .main-nav a:hover{background:var(--app-soft); color:var(--app-teal-d);}
  .region-pill{background:var(--app-soft) !important; color:var(--app-teal-d) !important; border:0 !important; border-radius:999px !important; padding:8px 14px !important; font-weight:600;}
  .nav-actions .icon-btn{width:42px; height:42px; display:inline-flex; align-items:center; justify-content:center; background:var(--app-soft); border-radius:50%; color:var(--app-teal-d);}
  .hero-banner{margin:18px auto 0; max-width:1240px; border-radius:28px; overflow:hidden; box-shadow:var(--app-shadow);}
  .hero-banner img{border-radius:28px;}
  #categories .category-grid{display:grid; grid-template-columns:repeat(6,1fr) !important; gap:18px;}
  #categories .category-card{background:none !important; box-shadow:none !important; border:0 !important; text-align:center; padding:0 !important;}
  #categories .category-card::before,#categories .category-card::after{display:none !important;}
  #categories .cat-img-wrap{width:120px !important; height:120px !important; aspect-ratio:1/1 !important; border-radius:50% !important; margin:0 auto 8px; overflow:hidden; border:4px solid #fff; box-shadow:0 8px 20px rgba(74,124,116,.22);}
  #categories .cat-img-wrap img{width:100%; height:100%; object-fit:cover;}
  #categories .category-card .label{font-weight:600; color:var(--app-deep); background:none !important; position:static !important;}
  .product-card{background:#fff !important; border:0 !important; border-radius:var(--app-r) !important; box-shadow:var(--app-shadow) !important; overflow:hidden;}
  .product-card .product-cat{color:var(--app-peach) !important;}
  .product-card .price-now{color:var(--app-teal-d) !important;}
  .btn-maroon,.btn.btn-maroon{background:var(--app-teal) !important; border-color:var(--app-teal) !important; color:#fff !important; border-radius:14px !important;}
  .cart-row{background:#fff; border-radius:var(--app-r); padding:14px !important; box-shadow:var(--app-shadow); border:0 !important; margin-bottom:12px;}
  .cart-layout > div:last-child,.checkout-layout > div:last-child{background:#fff; border-radius:22px !important; box-shadow:var(--app-shadow); border:0 !important;}
  .status-chips{display:flex; gap:10px; margin-bottom:16px;}
  .status-chips a{padding:8px 18px; border-radius:999px; background:#fff; color:var(--app-deep); border:1px solid var(--app-line); font-weight:600; font-size:14px; text-decoration:none;}
  .status-chips a.active{background:var(--app-teal); color:#fff; border-color:var(--app-teal);}
  body.pg-orders select[name=status]{display:none;}
}

/* ---------- Buy Now + peach accents + list-row wishlist fix ---------- */
#addCartBtn[disabled] + #buyNowBtn{opacity:.5; pointer-events:none;}
#buyNowBtn{background:var(--app-peach) !important; color:#fff !important; border-radius:14px !important; font-weight:700;}
@media(min-width:981px){
  body.pg-product #buyNowBtn{padding:16px 32px !important;}
  body.pg-product #addCartBtn{padding:16px 32px !important;}
}
@media(max-width:980px){
  body{background:#FBF7F3 !important;}
  /* peach: add buttons, badges, bar accent, warm section tint */
  .product-card .product-card-cta{background:var(--app-peach) !important; box-shadow:0 4px 10px rgba(217,144,111,.45) !important;}
  .product-card .badge{background:var(--app-peach) !important; color:#fff !important;}
  .site-header{background:linear-gradient(160deg,var(--app-teal) 0%,var(--app-teal) 62%,#6a9a92 100%) !important; border-bottom:3px solid var(--app-peach) !important;}
  #collections{background:var(--app-peach-l) !important;}
  #collections .section-head h2{color:var(--app-deep);}
  .section-head h2::after,.section-head .eyebrow{color:var(--app-peach) !important;}
  .mobile-bottom-nav a.active{background:var(--app-peach) !important;}
  .status-chips a.active{background:var(--app-peach) !important; border-color:var(--app-peach) !important;}
  body.pg-all-products .section a.btn.active,body.pg-all-products .section a.btn-maroon{background:var(--app-peach) !important; border-color:var(--app-peach) !important;}
  .product-card .price-now,.product-card .product-price{color:var(--app-deep) !important;}
  .site-footer{background:var(--app-deep) !important;}

  /* list rows: heart top-right, + bottom-right, thumb clean */
  body.pg-all-products .product-card > div:first-child,body.pg-search .product-card > div:first-child{position:static !important;}
  body.pg-all-products .product-card .wishlist-btn,body.pg-search .product-card .wishlist-btn{
    top:10px !important; right:10px !important; left:auto !important; bottom:auto !important;
    width:32px !important; height:32px !important; display:flex !important; align-items:center; justify-content:center;
    background:var(--app-peach-l) !important; color:var(--app-peach) !important; font-size:17px; box-shadow:none !important;
  }
  body.pg-all-products .product-card .product-card-cta,body.pg-search .product-card .product-card-cta{top:auto !important; bottom:10px !important; transform:none !important;}
  body.pg-all-products .product-card .product-info,body.pg-search .product-card .product-info{padding-right:46px !important;}
  /* product page bar: 3 items */
  body.pg-product div:has(> #addCartBtn) #addCartBtn{background:#fff !important; color:var(--app-teal-d) !important; border:1.5px solid var(--app-teal) !important; padding:0 8px !important; font-size:13.5px !important; flex:1;}
  body.pg-product div:has(> #addCartBtn) #buyNowBtn{flex:1; width:auto !important; padding:0 8px !important; height:42px; font-size:13.5px !important; border-radius:13px !important;}
}
@media(min-width:981px){
  body{background:#FBF7F3;}
  .product-card .product-card-cta{border-color:var(--app-peach) !important; color:var(--app-peach) !important;}
  .product-card .badge{background:var(--app-peach) !important; color:#fff !important;}
  #collections{background:var(--app-peach-l) !important;}
  .site-header{border-bottom:3px solid var(--app-peach) !important;}
}

/* ---------- round 5 fixes ---------- */
@media(max-width:980px){
  /* product page: header fully transparent, only the two round buttons float on the image */
  body.pg-product .site-header,body.pg-product .site-header.scrolled{
    background:none !important; border:0 !important; border-bottom:0 !important; box-shadow:none !important; border-radius:0 !important;
    backdrop-filter:none !important;
  }
  body.pg-product .app-bar{padding:12px 14px !important;}
  /* Buy Now: proper centred pill */
  body.pg-product #buyNowBtn{display:flex !important; align-items:center; justify-content:center; text-align:center; line-height:1; white-space:nowrap;}
  body.pg-product #addCartBtn{display:flex !important; align-items:center; justify-content:center; text-align:center; line-height:1; white-space:nowrap;}
  /* list rows: heart + plus share the same right edge and size */
  body.pg-all-products .product-card .wishlist-btn,body.pg-search .product-card .wishlist-btn{
    top:12px !important; right:12px !important; width:34px !important; height:34px !important; padding:0 !important;
    background:#fff !important; border:1.5px solid var(--app-peach-l) !important; font-size:16px !important; line-height:1;
    box-shadow:0 2px 8px rgba(217,144,111,.25) !important;
  }
  body.pg-all-products .product-card .product-card-cta,body.pg-search .product-card .product-card-cta{
    right:12px !important; bottom:12px !important; width:34px !important; height:34px !important;
  }
  body.pg-all-products .product-card,body.pg-search .product-card{min-height:112px;}
}

/* ---------- desktop: clean professional nav + white category cards ---------- */
@media(min-width:981px){
  .site-header .main-nav{gap:6px; padding:6px 0 0; margin-left:-12px; border-top:1px solid var(--app-line);}
  .main-nav a{
    padding:12px 18px !important; border-radius:0 !important; font-size:14px; font-weight:600; background:none !important;
    color:var(--app-deep) !important; position:relative; letter-spacing:.2px;
  }
  .main-nav a::after{content:""; position:absolute; left:18px; right:18px; bottom:4px; height:2px; background:var(--app-peach); transform:scaleX(0); transition:transform .2s;}
  .main-nav a:hover{color:var(--app-teal-d) !important;}
  .main-nav a:hover::after{transform:scaleX(1);}

  #categories .category-grid{gap:20px !important;}
  #categories .category-card{
    padding:24px 12px 18px !important; border-radius:18px !important; background:#fff !important;
    border:1px solid var(--app-line) !important; box-shadow:none !important; transition:transform .2s, box-shadow .2s, border-color .2s;
  }
  #categories .category-card:hover{transform:translateY(-3px) !important; box-shadow:0 12px 26px rgba(46,70,68,.12) !important; border-color:var(--app-peach) !important;}
  #categories .category-card .label{font-size:14px !important; margin-top:4px; font-weight:700;}
  #categories .cat-img-wrap{box-shadow:0 4px 12px rgba(46,70,68,.15) !important;}
}
@media(min-width:981px){
  body{background:#fff !important;}
  #collections{background:#F6F8F7 !important;}
}

/* ---------- desktop header (reference-style) ---------- */
@media(min-width:981px){
  .announcement-bar{background:var(--app-deep) !important; padding:9px 0;}
  .announcement-bar a{color:#fff !important; font-weight:600;}
  .site-header{background:linear-gradient(180deg,#fff 0%,#FBF7F3 100%) !important; box-shadow:0 8px 22px rgba(46,70,68,.07) !important;}
  .site-header .nav-wrap{grid-template-columns:auto minmax(320px,1fr) auto !important; column-gap:36px !important; padding-top:14px !important;}
  #searchPanel{position:absolute !important; left:50% !important; transform:translateX(-50%); top:17px !important; width:min(520px,36vw) !important; z-index:2;}
  #searchPanel .form-input{padding-top:14px; padding-bottom:14px; border-radius:999px !important; border:1.5px solid var(--app-line);}
  .site-header{position:sticky;}
  .logo-img-desktop{height:54px !important; border-radius:0 !important;}
  .region-pill{background:#fff !important; border:1.5px solid var(--app-line) !important; color:var(--app-deep) !important; padding:10px 18px !important; font-size:14px !important;}
  .region-pill::after{content:"▾"; margin-left:8px; color:var(--app-peach);}
  .nav-actions .icon-btn{background:var(--app-peach-l) !important; color:var(--app-deep) !important; width:46px !important; height:46px !important; font-size:20px;}
  .nav-actions .cart-count{background:var(--app-teal) !important; color:#fff !important;}

  .site-header .main-nav{border-top:0 !important; gap:8px !important; padding:6px 0 14px !important; margin-left:-6px !important;}
  .main-nav a{display:inline-flex !important; align-items:center; gap:8px; padding:11px 20px !important; border-radius:999px !important; font-size:15px !important; color:var(--app-deep) !important;}
  .main-nav a i{font-size:20px; color:var(--app-peach);}
  .main-nav a::after{display:none !important;}
  .main-nav a:hover{background:var(--app-soft) !important; color:var(--app-teal-d) !important;}
  .main-nav a.is-active{background:var(--app-teal) !important; color:#fff !important; box-shadow:0 6px 14px rgba(74,124,116,.3);}
  .main-nav a.is-active i{color:#fff;}
  .main-nav .mobile-only-link{display:none !important;}
}
@media(max-width:980px){
  .main-nav a i{margin-right:8px; color:var(--app-peach);}
}
@media(min-width:981px){
  .main-nav a{white-space:nowrap;}
  .site-header .main-nav{justify-content:flex-start !important;}
}
@media(min-width:981px) and (max-width:1200px){
  #searchPanel{width:28vw !important; left:44% !important;}
  .main-nav a{padding:10px 13px !important; font-size:14px !important;}
  .region-pill{padding:9px 12px !important;}
}
/* desktop: account already has its own icon in the header row -> no duplicate in the menu */
@media(min-width:981px){ .main-nav .nav-account-link{display:none !important;} }

/* ---------- flags: round badges (inline SVG; emoji flags show as "IN/US" on Windows) ---------- */
.tp-flag{display:inline-block; width:22px; height:22px; border-radius:50%; box-shadow:0 0 0 1.5px #fff, 0 1px 4px rgba(0,0,0,.28); vertical-align:middle; margin-right:8px; flex-shrink:0; overflow:hidden;}
.region-pill{display:inline-flex; align-items:center;}
.region-choice .flag{display:flex !important; justify-content:center; margin-bottom:12px;}
.region-choice .flag .tp-flag{width:62px; height:62px; margin:0; box-shadow:0 0 0 3px #fff, 0 6px 16px rgba(46,70,68,.28);}
.region-choice:hover .flag .tp-flag{box-shadow:0 0 0 3px var(--app-peach-l), 0 8px 18px rgba(46,70,68,.32);}

/* ---------- desktop: search fills the gap between logo and actions (never overlaps region/pickup pills) ---------- */
@media(min-width:981px){
  :root{--tp-edge:calc(max(0px,(100vw - 1240px)/2) + 24px); --tp-reserve:400px;}
  body.region-us{--tp-reserve:600px;}
  #searchPanel{
    left:calc(var(--tp-edge) + 240px) !important; right:calc(var(--tp-edge) + var(--tp-reserve)) !important;
    width:auto !important; transform:none !important; max-width:620px;
  }
  .site-header .nav-actions{z-index:3; position:relative;}
}
@media(min-width:981px) and (max-width:1200px){
  #searchPanel{left:calc(var(--tp-edge) + 200px) !important; width:auto !important;}
  body.region-us{--tp-reserve:560px;}
  #pickupLocPill{max-width:110px !important;}
}
/* desktop US pickup pill: tidy pill, not the mobile strip */
@media(min-width:981px){
  #pickupLocPill{
    width:auto !important; margin:0 !important; padding:10px 16px !important; border-radius:999px !important;
    background:var(--app-soft) !important; color:var(--app-teal-d) !important; border:0 !important; font-weight:600; font-size:13px !important;
    display:inline-flex; align-items:center; gap:4px; cursor:pointer;
  }
  #pickupLocPill::after{content:"▾" !important; color:var(--app-peach); text-decoration:none !important; margin-left:6px !important; font-size:12px !important;}
  #pickupLocPill i{color:var(--app-peach) !important;}
}
@media(min-width:981px){ #pickupLocPill{max-width:190px !important;} #pickupLocPill::after{display:none !important;} }
@media(min-width:981px) and (max-width:1200px){ #pickupLocPill{max-width:150px !important;} body.region-us{--tp-reserve:600px;} }
/* announcement bar: keep text off the screen edge, aligned with the page container */
@media(min-width:981px){ .announcement-bar{padding:9px var(--tp-edge, 24px) !important;} }

/* ---------- product cards: price font, wishlist icon, list-row alignment ---------- */
.product-card .product-price,.product-card .price-now,.product-card .price-was{
  font-family:'Poppins','Manrope',sans-serif !important; letter-spacing:0;
}
.product-card .price-now{font-size:15px !important; font-weight:700 !important; color:var(--app-deep) !important;}
.product-card .price-was{font-size:12px !important; font-weight:500 !important; color:#9aa9a6 !important; margin-left:6px;}
/* wishlist: one clean heart icon, perfectly centred; red when saved */
.wishlist-btn{font-size:0 !important; padding:0 !important; display:flex !important; align-items:center; justify-content:center; line-height:1;}
.wishlist-btn::before{content:none !important;}
.wishlist-btn i{font-size:18px; line-height:1; color:#7d8f8b; display:block; margin:0;}
.wishlist-btn:hover i{color:#e0556a;}
.wishlist-btn[data-active="1"]{background:#FDE8EC !important;}
.wishlist-btn[data-active="1"] i{color:#e0556a;}
@media(max-width:980px){
  /* list rows: heart on top, + below, same x, clear gap */
  body.pg-all-products .product-card,body.pg-search .product-card{position:relative; min-height:124px; padding:12px 64px 12px 12px;}
  body.pg-all-products .product-card .product-info,body.pg-search .product-card .product-info{position:static !important; padding:0 !important;}
  body.pg-all-products .product-card .wishlist-btn,body.pg-search .product-card .wishlist-btn{
    position:absolute !important; top:14px !important; right:14px !important; width:36px !important; height:36px !important;
  }
  body.pg-all-products .product-card .product-card-cta,body.pg-search .product-card .product-card-cta{
    position:absolute !important; top:auto !important; bottom:14px !important; right:14px !important; width:36px !important; height:36px !important; transform:none !important;
  }
}
.wishlist-btn{padding:0 !important; justify-content:center; align-items:center;}

/* ---------- price styling: clean sans, terracotta so it stands apart from the dark-teal title ---------- */
:root{--app-price:#C0643F;}
body.pg-product #variantPrice,body.pg-product .price-now{
  font-family:'Poppins','Manrope',sans-serif !important; font-size:30px !important; font-weight:700 !important;
  color:var(--app-price) !important; letter-spacing:-.3px;
}
body.pg-product .product-card .price-now{font-size:15px !important; letter-spacing:0;}
body.pg-product .price-was{font-family:'Poppins',sans-serif !important; font-size:15px !important; color:#9aa9a6 !important; font-weight:500;}
.product-card .price-now,.product-card .product-price{color:var(--app-price) !important;}
.product-card .price-was{color:#9aa9a6 !important;}

/* =====================================================================
   IMAGE SIZES (keep in sync with the hints in the admin panel)
   Banner desktop 1920x800 (12:5) | banner mobile 1200x900 (4:3)
   Category 800x800 (1:1)         | Product + gallery 1000x1000 (1:1)
   Collection 1200x700 (12:7)     | Short thumbnail 720x1280 (9:16)
   Boxes use the same ratio, so nothing gets cropped.
   ===================================================================== */
.hero-slide{aspect-ratio:12/5 !important; min-height:0 !important; background-size:cover !important; background-position:center !important;}
@media(max-width:640px){ .hero-slide{aspect-ratio:4/3 !important;} }
.collection-card{aspect-ratio:12/7; min-height:0 !important;}
.cat-img-wrap{aspect-ratio:1/1;}
.product-thumb{aspect-ratio:1/1;}

/* ---------- bottom nav: slimmer ---------- */
@media(max-width:980px){
  .mobile-bottom-nav{left:16px !important; right:16px !important; bottom:calc(8px + env(safe-area-inset-bottom)) !important; padding:4px 6px !important; border-radius:20px !important; box-shadow:0 6px 20px rgba(46,70,68,.18) !important;}
  .mobile-bottom-nav a{padding:5px 4px !important; gap:1px !important; font-size:10.5px !important; border-radius:15px !important;}
  .mobile-bottom-nav a i{font-size:18px !important;}
  .mobile-nav-badge{top:0 !important; font-size:9px !important;}
  body{padding-bottom:70px !important;}
}

/* ---------- bottom nav: slimmer ---------- */
@media(max-width:980px){
  body{padding-bottom:72px;}
  .mobile-bottom-nav{left:22px !important; right:22px !important; bottom:calc(8px + env(safe-area-inset-bottom)) !important; padding:5px 6px !important; border-radius:22px !important; box-shadow:0 6px 20px rgba(46,70,68,.2) !important;}
  .mobile-bottom-nav a{padding:5px 2px !important; gap:1px; font-size:10px !important; border-radius:16px;}
  .mobile-bottom-nav a i{font-size:18px !important;}
  .mobile-nav-badge{top:0 !important; right:24% !important; min-width:15px; height:15px; font-size:9px !important; line-height:15px;}
}

/* ---------- new transparent logo: no colour filter ---------- */
@media(max-width:980px){
  .site-header .logo-img-mobile{filter:none !important; height:50px !important;}
}
@media(min-width:981px){
  .logo-img-desktop{height:58px !important; width:auto; object-fit:contain;}
}

/* ---------- hero banner: clear card edge (image bg is cream like the page) ---------- */
@media(max-width:980px){
  .hero-banner{
    margin:16px 16px 4px !important; border-radius:24px !important; overflow:hidden;
    border:2px solid rgba(74,124,116,.55) !important;
    box-shadow:0 12px 28px rgba(46,70,68,.20), 0 0 0 4px rgba(217,144,111,.14) !important;
    background:#fff;
  }
}
@media(min-width:981px){
  .hero-banner{border-radius:26px; overflow:hidden; border:2px solid rgba(74,124,116,.45); box-shadow:0 14px 34px rgba(46,70,68,.16);}
}

/* ---------- hero banner: no green, just a soft lifted card ---------- */
@media(max-width:980px){
  .hero-banner{
    border:1px solid rgba(120,80,50,.16) !important;
    box-shadow:0 14px 30px rgba(90,60,40,.22), 0 2px 6px rgba(90,60,40,.12) !important;
  }
}
@media(min-width:981px){
  .hero-banner{border:1px solid rgba(120,80,50,.16); box-shadow:0 16px 36px rgba(90,60,40,.20), 0 2px 6px rgba(90,60,40,.10);}
}

/* ---------- teal header back, logo shown as plain image (no chip / filter) ---------- */
@media(max-width:980px){
  .site-header .logo{background:none !important; box-shadow:none !important; padding:0 !important; border-radius:0 !important;}
  .site-header .logo-img-mobile{height:50px !important; filter:none !important; border-radius:0 !important;}
}

/* ---------- mobile header: white, big logo (80px max), nothing squeezed ---------- */
@media(max-width:980px){
  body:not(.pg-product) .site-header,body:not(.pg-product) .site-header.scrolled{
    background:#fff !important; border-bottom:3px solid var(--app-teal) !important;
    box-shadow:0 6px 18px rgba(46,70,68,.10) !important;
  }
  .site-header .nav-wrap{flex-wrap:wrap !important; padding:8px 14px 6px !important; gap:6px;}
  #pickupLocPill{flex:0 0 100% !important; order:5;}
  .site-header .logo{flex:0 1 auto; min-width:0; background:none !important; box-shadow:none !important; padding:0 !important; border-radius:0 !important;}
  .site-header .logo-img-mobile{height:clamp(46px,calc((100vw - 222px) / 2.13),80px) !important; width:auto; max-width:100%; object-fit:contain; filter:none !important; border-radius:0 !important;}
  .mobile-toggle{color:var(--app-teal-d) !important; margin-right:2px !important; flex:0 0 auto;}
  .nav-actions{flex:0 0 auto; margin-left:auto;}
  .nav-actions .icon-btn{color:var(--app-teal-d) !important;}
  .nav-actions a.icon-btn[title="Cart"]{background:var(--app-soft) !important;}
  .region-pill{background:var(--app-soft) !important; color:var(--app-teal-d) !important; border:1px solid rgba(74,124,116,.25) !important; white-space:nowrap;}
  #pickupLocPill{background:var(--app-soft) !important; color:var(--app-teal-d) !important;}
  #pickupLocPill i,#pickupLocPill::after{color:var(--app-peach) !important;}
  #searchPanel .form-input{border:1.5px solid rgba(74,124,116,.22) !important; box-shadow:0 2px 8px rgba(46,70,68,.06) !important;}
  body:not(.pg-index):not(.pg-product) .app-bar{color:var(--app-deep) !important;}
  body:not(.pg-index):not(.pg-product) .app-bar-btn{background:var(--app-soft); color:var(--app-teal-d);}
}
@media(max-width:400px){
  .region-pill{padding:5px 8px !important; font-size:10.5px !important; gap:5px;}
  .region-pill .tp-flag{width:20px !important; height:20px !important;}
  .nav-actions{gap:6px;}
  .nav-actions a.icon-btn[title="Cart"]{width:34px !important; height:34px !important;}
}
