/* T-Shop v20 mobile polish — 2026-09-24 */
:root{
  --ts-navy:#10284b;
  --ts-gold:#d2aa58;
  --ts-cream:#fbf7ef;
  --ts-soft:#f5f1e8;
  --ts-line:#e7dfd2;
}

/* Header: simpler and cleaner */
.site-header{background:#fffdf9!important;box-shadow:0 4px 18px rgba(16,40,75,.06)!important}
.nav{min-height:76px!important}
.brand{gap:10px!important}
.brand img{object-fit:contain!important}
.nav-actions{gap:8px!important}
.round-btn{border-radius:50%!important}

/* Homepage hero refinement */
.hero-approved{
  min-height:500px!important;
  background:var(--ts-cream)!important;
  border-bottom:1px solid var(--ts-line)!important;
}
.hero-approved-inner{min-height:500px!important}
.hero-approved-copy{padding:34px 0!important}
.hero-approved h1{
  font-size:clamp(50px,5.2vw,76px)!important;
  line-height:.94!important;
  letter-spacing:-.035em!important;
}
.hero-approved-copy>p{font-size:17px!important;line-height:1.45!important}
.hero-approved-benefits{color:#44556d!important}
.hero-approved-actions .btn{min-height:48px!important}

/* Featured section should feel like a store, not a landing page */
#featuredGrid .product-card{overflow:hidden!important}
#featuredGrid .product-media{background:#fff!important}
#featuredGrid .product-info{padding:12px!important}
.section-head{margin-bottom:18px!important}
.section h2{letter-spacing:-.02em!important}

/* Less visual noise */
.story-art{box-shadow:none!important}
.collection-card{box-shadow:0 6px 20px rgba(16,40,75,.07)!important}
.product-card{box-shadow:0 6px 20px rgba(16,40,75,.07)!important}

/* Mobile */
@media(max-width:700px){
  .promo .container{
    padding:7px 0!important;
    font-size:.64rem!important;
    white-space:nowrap!important;
  }
  .promo span:nth-child(2){font-size:.62rem!important}

  .nav{
    min-height:64px!important;
    padding:7px 0!important;
  }
  .brand img{display:none!important}
  .brand-name{
    display:block!important;
    font-size:1.2rem!important;
    line-height:1!important;
    letter-spacing:.015em!important;
  }
  .brand-tag{
    display:block!important;
    font-size:.62rem!important;
    margin-top:4px!important;
  }
  .nav-actions .round-btn:first-child{display:none!important}
  .round-btn{
    min-width:42px!important;
    height:42px!important;
    padding:0 9px!important;
    font-size:.72rem!important;
  }

  /* Use the hero art as a clean visual banner, then put copy below it */
  .hero-approved{
    min-height:0!important;
    padding:0!important;
    display:block!important;
  }
  .hero-approved-bg{
    position:relative!important;
    inset:auto!important;
    display:block!important;
    width:100%!important;
    height:285px!important;
    overflow:hidden!important;
    background:#eef3f5!important;
  }
  .hero-approved-bg img{
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
    object-position:center bottom!important;
    filter:saturate(.86) brightness(1.06) contrast(.94)!important;
  }
  .hero-approved-shade{
    display:none!important;
  }
  .hero-approved-inner{
    min-height:0!important;
    display:block!important;
    padding:0!important;
  }
  .hero-approved-copy{
    width:100%!important;
    padding:20px 0 18px!important;
  }
  .hero-approved .eyebrow{
    font-size:.58rem!important;
    line-height:1.4!important;
    letter-spacing:.15em!important;
    margin:0 0 7px!important;
  }
  .hero-approved h1{
    font-size:clamp(40px,11.2vw,48px)!important;
    line-height:.92!important;
    margin:0 0 10px!important;
    max-width:100%!important;
  }
  .hero-approved-copy>p{
    font-size:13px!important;
    line-height:1.45!important;
    max-width:100%!important;
    margin:0 0 14px!important;
  }
  .hero-approved-actions{
    grid-template-columns:1.15fr .85fr!important;
    gap:8px!important;
    margin:0 0 12px!important;
  }
  .hero-approved-actions .btn{
    min-height:44px!important;
    padding:9px 10px!important;
    font-size:.73rem!important;
  }
  .hero-approved-benefits{
    grid-template-columns:1fr 1fr!important;
    gap:6px 14px!important;
    font-size:.6rem!important;
  }

  /* Featured products */
  .section{padding:20px 0!important}
  .section-head{margin-bottom:12px!important}
  .section h2{font-size:1.58rem!important;line-height:1.05!important}
  .section .sub{font-size:.76rem!important;line-height:1.4!important}
  #featuredGrid{grid-template-columns:1fr 1fr!important;gap:10px!important}
  #featuredGrid .product-card{border-radius:14px!important}
  #featuredGrid .product-media{aspect-ratio:.95/1!important}
  #featuredGrid .product-info h3{font-size:.78rem!important}
  #featuredGrid .price{font-size:.82rem!important}

  /* Collections compact */
  #collections{padding:20px 0 24px!important}
  .collection-grid{gap:10px!important}
  .collection-card{border-radius:14px!important}

  /* Avoid long dense homepage lower down */
  .trust-grid{grid-template-columns:1fr 1fr!important}
  .story-inner{padding:22px 0!important}
  .journal-section{padding-top:20px!important}
}

@media(max-width:390px){
  .promo .container{font-size:.58rem!important}
  .promo span:nth-child(2){font-size:.56rem!important}
  .brand-name{font-size:1.08rem!important}
  .brand-tag{font-size:.58rem!important}
  .hero-approved-bg{height:255px!important}
  .hero-approved h1{font-size:38px!important}
  .hero-approved-actions{grid-template-columns:1fr!important}
}


/* v20.1 — cleanup from live iPhone review */
.hero-approved::before,
.hero-approved::after{
  content:none!important;
  display:none!important;
}

@media(max-width:700px){
  .site-header{border-bottom:1px solid #ece4d8!important}
  .nav{min-height:60px!important}
  .brand-name{font-size:1.14rem!important}
  .brand-tag{font-size:.6rem!important}

  .hero-approved-bg{
    height:245px!important;
    background:#eef2f4!important;
  }
  .hero-approved-bg img{
    object-position:center 38%!important;
  }

  .hero-approved-copy{
    background:#fbf7ef!important;
    padding:18px 0 16px!important;
  }
  .hero-approved .eyebrow{
    color:#7c6845!important;
    margin-bottom:6px!important;
  }
  .hero-approved h1{
    font-size:clamp(36px,10.5vw,44px)!important;
    line-height:.94!important;
    margin-bottom:8px!important;
  }
  .hero-approved-copy>p{
    color:#41516a!important;
    font-size:12.5px!important;
    line-height:1.42!important;
    margin-bottom:12px!important;
  }
  .hero-approved-actions{
    margin-bottom:10px!important;
  }
  .hero-approved-actions .btn{
    min-height:42px!important;
    font-size:.71rem!important;
  }
  .hero-approved-benefits{
    color:#4b5b70!important;
    font-size:.58rem!important;
    line-height:1.2!important;
  }

  #featuredGrid{
    margin-top:2px!important;
  }
  #featuredGrid .product-card{
    box-shadow:0 5px 16px rgba(16,40,75,.06)!important;
  }
}


/* v20.2 — restore shop hero image and keep it softly readable */
.shop-hero-premium{
  position:relative!important;
  isolation:isolate!important;
  overflow:hidden!important;
  background:#eef3f5!important;
}
.shop-hero-premium::before{
  content:""!important;
  display:block!important;
  position:absolute!important;
  inset:0!important;
  z-index:-2!important;
  background:url("../generated/hero-cosmic.webp") center 42%/cover no-repeat!important;
  filter:saturate(.82) brightness(1.13) contrast(.92)!important;
}
.shop-hero-premium::after{
  content:""!important;
  display:block!important;
  position:absolute!important;
  inset:0!important;
  z-index:-1!important;
  background:linear-gradient(90deg,rgba(255,251,244,.95) 0%,rgba(255,251,244,.84) 46%,rgba(255,251,244,.36) 72%,rgba(255,251,244,.12) 100%)!important;
}
.shop-hero-premium>.container{position:relative!important;z-index:1!important}
@media(max-width:700px){
  .shop-hero-premium{
    min-height:360px!important;
    display:flex!important;
    align-items:flex-end!important;
    padding:0!important;
  }
  .shop-hero-premium::before{
    background-image:url("../generated/hero-mobile.webp")!important;
    background-position:center 20%!important;
  }
  .shop-hero-premium::after{
    background:linear-gradient(180deg,rgba(255,251,244,.05) 0%,rgba(255,251,244,.18) 42%,rgba(255,251,244,.94) 76%,#fbf7ef 100%)!important;
  }
  .shop-hero-premium>.container{padding-top:190px!important;padding-bottom:24px!important}
}


/* v20.3 — cart visibility hotfix */
.nav-actions{display:flex!important;align-items:center!important;flex-shrink:0!important}
.nav-actions [data-open-cart],
.nav-actions .cart-btn{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:5px!important;
  visibility:visible!important;
  opacity:1!important;
  width:auto!important;
  min-width:52px!important;
  border-radius:999px!important;
  white-space:nowrap!important;
  position:relative!important;
  z-index:3!important;
}
#cartCount{
  display:inline-grid!important;
  place-items:center!important;
  min-width:19px!important;
  height:19px!important;
  padding:0 5px!important;
  border-radius:999px!important;
  background:#d2aa58!important;
  color:#10284b!important;
  font-size:11px!important;
  font-weight:800!important;
  line-height:1!important;
}
@media(max-width:700px){
  .nav-actions [data-open-cart],
  .nav-actions .cart-btn{
    min-width:48px!important;
    height:42px!important;
    padding:0 9px!important;
    font-size:0!important;
  }
  .nav-actions [data-open-cart]::before,
  .nav-actions .cart-btn::before{
    content:"🛒";
    font-size:17px!important;
    line-height:1!important;
  }
  #cartCount{font-size:10px!important;min-width:18px!important;height:18px!important}
}


/* v20.4 — cart functional visibility fix */
@media(max-width:700px){
  /* Previous first-child rule hid the cart on shop.html because no search button precedes it. */
  .nav-actions .round-btn[data-open-cart]{
    display:inline-flex!important;
    visibility:visible!important;
    opacity:1!important;
    pointer-events:auto!important;
  }
}
.cart{
  position:fixed!important;
  top:88px!important;
  right:12px!important;
  bottom:auto!important;
  left:auto!important;
  width:min(390px,calc(100vw - 24px))!important;
  max-height:calc(100dvh - 108px)!important;
  overflow:auto!important;
  background:#fffdf9!important;
  color:#10284b!important;
  border:1px solid #e7dfd2!important;
  border-radius:20px!important;
  box-shadow:0 24px 70px rgba(16,40,75,.24)!important;
  z-index:10000!important;
}
.cart.open{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  pointer-events:auto!important;
}
.cart [data-close-cart]{
  display:inline-flex!important;
  min-height:38px!important;
  align-items:center!important;
  justify-content:center!important;
  border:1px solid #e7dfd2!important;
  background:#fff!important;
  color:#10284b!important;
  border-radius:999px!important;
  padding:0 12px!important;
}
@media(max-width:700px){
  .cart{
    top:auto!important;
    right:10px!important;
    left:10px!important;
    bottom:max(10px,env(safe-area-inset-bottom))!important;
    width:auto!important;
    max-height:72dvh!important;
  }
}


/* v20.5 — mobile cart structure reset */
.mobile-cart-launcher{display:none}
.cart-scrim{display:none}
.cart{
  box-sizing:border-box!important;
}
body.cart-open{overflow:hidden!important}
.cart-open .cart-scrim{
  display:block!important;
  position:fixed!important;
  inset:0!important;
  background:rgba(16,40,75,.28)!important;
  z-index:9998!important;
}
.cart{z-index:9999!important}
.cart-head{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  position:sticky!important;
  top:0!important;
  background:#fffdf9!important;
  padding-bottom:10px!important;
  z-index:2!important;
}
@media(max-width:700px){
  .mobile-cart-launcher{
    display:inline-flex!important;
    position:fixed!important;
    right:14px!important;
    bottom:max(14px,env(safe-area-inset-bottom))!important;
    z-index:9000!important;
    align-items:center!important;
    justify-content:center!important;
    gap:7px!important;
    min-width:64px!important;
    height:52px!important;
    padding:0 14px!important;
    border:1px solid #d7b25d!important;
    border-radius:999px!important;
    background:#fff8e8!important;
    color:#10284b!important;
    box-shadow:0 10px 28px rgba(16,40,75,.2)!important;
    font:800 13px/1 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
    visibility:visible!important;
    opacity:1!important;
    pointer-events:auto!important;
  }
  .mobile-cart-launcher .cart-icon{font-size:18px!important}
  .mobile-cart-launcher [data-cart-count]{
    display:inline-grid!important;
    place-items:center!important;
    min-width:20px!important;
    height:20px!important;
    padding:0 5px!important;
    border-radius:999px!important;
    background:#d2aa58!important;
    color:#10284b!important;
    font-size:11px!important;
  }
  .cart{
    display:none!important;
    top:auto!important;
    left:8px!important;
    right:8px!important;
    bottom:max(8px,env(safe-area-inset-bottom))!important;
    width:auto!important;
    max-width:none!important;
    max-height:78dvh!important;
    padding:16px!important;
    border-radius:20px!important;
  }
  .cart.open{display:block!important}
}


/* v20.6 purchase-flow clickability */
.product-card{position:relative!important}
.product-info{position:relative!important;z-index:2!important}
.product-info .btn,
.product-card .actions .btn,
.purchase-actions .btn{
  position:relative!important;
  z-index:5!important;
  pointer-events:auto!important;
  touch-action:manipulation!important;
}
.product-info .btn::before,
.product-info .btn::after,
.product-card .actions .btn::before,
.product-card .actions .btn::after{
  pointer-events:none!important;
}
@media(max-width:700px){
  .product-info .btn,
  .product-card .actions .btn{
    min-height:44px!important;
  }
}

/* v20.7 cart CTA hardening */
.product-card .product-info>a.btn.btn-gold,
.purchase-actions>a.btn.btn-gold{
  position:relative!important;
  z-index:2147483000!important;
  pointer-events:auto!important;
  touch-action:manipulation!important;
  -webkit-tap-highlight-color:rgba(0,0,0,.08)!important;
}
.product-card .product-info{position:relative!important;z-index:20!important}

/* v20.8 native cart link cleanup */
.cart-scrim,.cart,.mobile-cart-launcher{display:none!important;pointer-events:none!important}
.product-card .product-info>a.btn.btn-gold{
  display:flex!important;
  width:100%!important;
  min-height:46px!important;
  align-items:center!important;
  justify-content:center!important;
  position:relative!important;
  z-index:10!important;
  pointer-events:auto!important;
}

/* v20.9 native form cart */
.tshop-add-form{display:block!important;margin:10px 0 0!important;padding:0!important;position:relative!important;z-index:50!important}
.tshop-add-submit{
  width:100%!important;
  min-height:48px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  position:relative!important;
  z-index:51!important;
  pointer-events:auto!important;
  touch-action:manipulation!important;
  -webkit-appearance:none!important;
  appearance:none!important;
}
#purchaseCartForm{display:block!important;position:relative!important;z-index:50!important}
#purchaseCartForm .btn{width:100%!important;min-height:50px!important;pointer-events:auto!important}

/* v20.10 isolated native cart link */
.tshop-cart-wrap{
  position:relative!important;
  z-index:2147483600!important;
  margin-top:10px!important;
  pointer-events:auto!important;
}
.tshop-cart-direct{
  display:flex!important;
  width:100%!important;
  min-height:50px!important;
  align-items:center!important;
  justify-content:center!important;
  position:relative!important;
  z-index:2147483601!important;
  pointer-events:auto!important;
  touch-action:auto!important;
  -webkit-user-select:none!important;
  user-select:none!important;
}

/* v20.11 final mobile cart control */
.tshop-cart-force{
  position:relative!important;
  z-index:2147483646!important;
  display:flex!important;
  width:100%!important;
  min-height:52px!important;
  margin-top:10px!important;
  align-items:center!important;
  justify-content:center!important;
  pointer-events:auto!important;
  touch-action:manipulation!important;
  cursor:pointer!important;
  -webkit-appearance:none!important;
  appearance:none!important;
}
.product-card,
.product-info{
  pointer-events:auto!important;
}

/* v20.12 single native anchor cart card */
a.tshop-card-cart-link{
  display:flex!important;
  flex-direction:column!important;
  text-decoration:none!important;
  color:inherit!important;
  cursor:pointer!important;
  pointer-events:auto!important;
  touch-action:auto!important;
  position:relative!important;
  z-index:1!important;
}
a.tshop-card-cart-link *{
  pointer-events:none!important;
}
.tshop-card-cart-button{
  display:flex!important;
  width:100%!important;
  min-height:50px!important;
  margin-top:10px!important;
  align-items:center!important;
  justify-content:center!important;
}

/* v20.13 explicit tap-test link */
.tshop-test-link{
  display:flex!important;
  width:100%!important;
  min-height:52px!important;
  margin-top:10px!important;
  align-items:center!important;
  justify-content:center!important;
  position:relative!important;
  z-index:2147483646!important;
  pointer-events:auto!important;
  touch-action:auto!important;
}

/* v20.14 verified mobile Add to Cart */
.tshop-add-link{
  display:flex!important;
  width:100%!important;
  min-height:52px!important;
  margin-top:10px!important;
  align-items:center!important;
  justify-content:center!important;
  position:relative!important;
  z-index:20!important;
  pointer-events:auto!important;
  touch-action:auto!important;
  text-decoration:none!important;
}


/* v20.6 — restore original T-Shop color richness */
html,
body{
  background:
    radial-gradient(circle at 12% 10%,rgba(111,66,216,.16),transparent 28%),
    radial-gradient(circle at 86% 16%,rgba(33,199,255,.13),transparent 24%),
    radial-gradient(circle at 70% 78%,rgba(244,201,93,.10),transparent 22%),
    linear-gradient(180deg,#eef5ff 0%,#efe9ff 32%,#e8f6ff 66%,#f8efff 100%)!important;
}
.site-header{
  background:linear-gradient(90deg,rgba(235,244,255,.96),rgba(243,236,255,.96),rgba(255,246,226,.95))!important;
  border-bottom-color:rgba(87,70,150,.16)!important;
}
.round-btn,
.btn-light{
  background:linear-gradient(180deg,rgba(235,241,255,.96),rgba(244,238,255,.92))!important;
  border-color:rgba(111,66,216,.22)!important;
}
.section,
.section-soft,
.journal-section,
.category-store,
.all-products-section,
#collections.section-soft{
  background:
    radial-gradient(circle at 10% 20%,rgba(111,66,216,.09),transparent 26%),
    radial-gradient(circle at 90% 18%,rgba(33,199,255,.08),transparent 24%),
    linear-gradient(180deg,rgba(239,244,255,.97),rgba(244,238,255,.97) 52%,rgba(236,248,255,.97))!important;
}
.collection-card,
.product-card,
.journal-card,
.mockup-card,
.all-collection,
.info-card,
.step,
.sidebar-card,
.contact-card,
.form-card{
  background:
    linear-gradient(155deg,rgba(246,240,255,.94),rgba(232,246,255,.92) 58%,rgba(255,242,219,.84))!important;
  border-color:rgba(96,78,160,.16)!important;
}
.product-media,
.product-image{
  background:
    radial-gradient(circle at 30% 18%,rgba(255,255,255,.78),transparent 34%),
    linear-gradient(145deg,rgba(237,231,255,.96),rgba(227,244,255,.95) 58%,rgba(255,239,210,.92))!important;
}
.category-block{
  background:
    linear-gradient(145deg,rgba(242,236,255,.90),rgba(232,244,255,.90) 52%,rgba(255,243,215,.82))!important;
  border-color:rgba(96,78,160,.18)!important;
}
.shop-toolbar,
.all-products-section .shop-toolbar{
  background:linear-gradient(135deg,rgba(232,243,255,.95),rgba(244,235,255,.95),rgba(255,244,220,.92))!important;
  border-color:rgba(96,78,160,.16)!important;
}
.shop-toolbar input,
.shop-toolbar select,
.notice,
.chip{
  background:linear-gradient(180deg,rgba(235,241,255,.95),rgba(244,238,255,.92))!important;
  border-color:rgba(111,66,216,.22)!important;
  color:#243b71!important;
}
.chip.active{
  background:linear-gradient(135deg,#1f4ea3,#6b3fc0,#20b8f2)!important;
  color:#fff!important;
  border-color:transparent!important;
}
.trust{
  background:linear-gradient(90deg,rgba(231,244,255,.96),rgba(241,233,255,.96) 52%,rgba(255,242,216,.94))!important;
}
.story,
.created-mockups{
  background:linear-gradient(120deg,rgba(225,243,255,.96),rgba(240,232,255,.96),rgba(255,241,216,.92))!important;
}
.collections-hero,
.blog-hero,
.page-hero,
.about-hero{
  background:
    radial-gradient(circle at 82% 12%,rgba(111,66,216,.16),transparent 28%),
    radial-gradient(circle at 12% 18%,rgba(33,199,255,.13),transparent 26%),
    linear-gradient(135deg,#eaf5ff,#f0eaff 58%,#fff0d5)!important;
}
.footer{
  background:
    radial-gradient(circle at 82% 12%,rgba(111,66,216,.34),transparent 28%),
    radial-gradient(circle at 14% 0%,rgba(33,199,255,.18),transparent 24%),
    linear-gradient(135deg,#05152f,#08306b 54%,#51298c 100%)!important;
  color:#eef5ff!important;
  border-top-color:rgba(255,255,255,.12)!important;
}
.footer h3,.footer h4,.footer strong{color:#fff!important}
.footer a,.footer small,.footer-bottom{color:#dbe8ff!important}
.footer-bottom{border-color:rgba(255,255,255,.14)!important}

@media(max-width:700px){
  .nav-links{
    background:linear-gradient(180deg,#edf5ff,#f3ecff)!important;
  }
  .hero-approved-copy{
    background:linear-gradient(180deg,#eef6ff,#f3edff 60%,#fff1d9)!important;
  }
  .shop-hero-premium::after{
    background:linear-gradient(180deg,rgba(238,246,255,.04) 0%,rgba(237,241,255,.15) 42%,rgba(239,235,255,.91) 76%,#f4ecff 100%)!important;
  }
}
