/* Scoped rules from the KALA reference index.html/style.css. Native controls remain platform-owned. */
html:has(body.template-index) { font-size:16px; }
body.template-index { --container:1200px; }
.template-index *{ box-sizing: border-box; }
html:has(body.template-index){ scroll-behavior: smooth; }
body.template-index{
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 400 var(--body-font-size,15px)/1.65 var(--font-body), sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.template-index.nav-open{ overflow: hidden; }
.template-index img{ max-width: 100%; display: block; }
.template-index a{ color: inherit; text-decoration: none; }
.template-index button,.template-index input,.template-index select,.template-index textarea{ font: inherit; }
.template-index button{ color: inherit; }
.template-index h1,.template-index h2,.template-index h3,.template-index h4,.template-index p{ margin-top: 0; }
.template-index h1,.template-index h2,.template-index h3,.template-index h4{
  font-family: var(--font-heading), sans-serif;
  line-height: 1.14;
  letter-spacing: -.035em;
}
.template-index h1{ font-size: clamp(2.35rem, 5.3vw, 5rem); }
.template-index h2{ font-size: clamp(1.75rem, 3.5vw, 3rem); }
.template-index h3{ font-size: 1.18rem; }
.template-index .container{ width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.template-index .section{ padding: 84px 0; }
.template-index .section-sm{ padding: 52px 0; }
.template-index .eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 13px;
  color: var(--green-2);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.template-index .eyebrow::before{ content: ""; width: 24px; height: 1px; background: currentColor; }
.template-index .muted{ color: var(--muted); }
.template-index .text-center{ text-align: center; }
.template-index .sr-only{
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.template-index .announcement{
  padding: 8px 20px;
  color: #fff;
  background: var(--green);
  font-size: .78rem;
  text-align: center;
  letter-spacing: .02em;
}
.template-index .site-header{
  position: sticky; z-index: 50; top: 0;
  background: rgba(255, 253, 249, .94);
  border-bottom: 1px solid rgba(221, 217, 208, .75);
  backdrop-filter: blur(14px);
}
.template-index .nav-wrap{
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; height: 74px; gap: 20px;
}
.template-index .logo{
  font: 800 1.55rem/1 var(--font-heading), sans-serif;
  letter-spacing: .18em;
}
.template-index .logo small{ display: block; margin-top: 5px; font: 600 .47rem/1 var(--font-body); letter-spacing: .24em; color: var(--muted); }
.template-index .desktop-nav{ display: flex; align-items: center; gap: 28px; }
.template-index .desktop-nav a{ position: relative; padding: 26px 0; font-weight: 600; font-size: .9rem; }
.template-index .desktop-nav a::after{
  content: ""; position: absolute; left: 0; right: 100%; bottom: 18px;
  height: 2px; background: var(--green); transition: .25s;
}
.template-index .desktop-nav a:hover::after,.template-index .desktop-nav a.active::after{ right: 0; }
.template-index .nav-actions{ display: flex; justify-content: flex-end; align-items: center; gap: 8px; }
.template-index .nav-wrap .nav-actions{ justify-self: end; min-width: max-content; }
.template-index .icon-btn{
  position: relative; display: inline-grid; place-items: center; width: 42px; height: 42px;
  border: 0; border-radius: 50%; background: transparent; cursor: pointer; transition: .2s;
}
.template-index .icon-btn:hover{ background: var(--cream); }
.template-index .icon-btn svg{ width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.template-index .cart-count{
  position: absolute; top: 3px; right: 1px; min-width: 17px; height: 17px;
  padding: 0 4px; border-radius: 99px; background: var(--terra); color: #fff;
  font-size: .62rem; line-height: 17px; text-align: center;
}
.template-index .menu-btn{ display: none; }
.template-index .btn{
  display: inline-flex; justify-content: center; align-items: center; gap: 9px;
  min-height: 48px; padding: 0 23px; border: 1px solid var(--green);
  border-radius: 999px; background: var(--green); color: #fff;
  font-weight: 700; cursor: pointer; transition: transform .2s, background .2s, color .2s;
}
.template-index .btn:hover{ transform: translateY(-2px); background: var(--green-2); }
.template-index .btn-light{ border-color: #fff; background: #fff; color: var(--ink); }
.template-index .btn-outline{ background: transparent; color: var(--green); }
.template-index .btn-outline:hover{ color: #fff; }
.template-index .btn-link{ padding: 0; min-height: auto; border: 0; border-radius: 0; background: none; color: var(--ink); border-bottom: 1px solid; }
.template-index .btn-link:hover{ background: none; color: var(--green-2); transform: none; }
.template-index .btn-block{ width: 100%; }
.template-index .drawer-actions .btn{ min-height: 40px; padding: 9px 16px; font-size: .82rem; }
.template-index .field{ margin-bottom: 17px; }
.template-index .field label{ display: block; margin-bottom: 7px; font-size: .82rem; font-weight: 700; }
.template-index .input,.template-index .select,.template-index .textarea{
  width: 100%; height: 50px; padding: 0 15px; border: 1px solid var(--line);
  border-radius: 10px; color: var(--ink); background: #fff; outline: 0; transition: .2s;
}
.template-index .textarea{ height: 112px; padding-top: 13px; resize: vertical; }
.template-index .input:focus,.template-index .select:focus,.template-index .textarea:focus{ border-color: var(--green-2); box-shadow: 0 0 0 3px rgba(41,95,67,.1); }
.template-index .form-row{ display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.template-index .check{ display: flex; align-items: flex-start; gap: 9px; font-size: .85rem; }
.template-index .check input{ accent-color: var(--green); margin-top: 5px; }
.template-index .hero{
  position: relative; min-height: 690px; display: grid; align-items: center;
  background: #e8dfd0 var(--hero-image,url("hero-kala.png")) center/cover no-repeat;
  overflow: hidden;
}
.template-index .hero::after{
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(244,237,225,.97) 0%, rgba(244,237,225,.76) 34%, rgba(244,237,225,0) 62%);
}
.template-index .hero-content{ position: relative; z-index: 1; width: min(560px, 52%); padding: 70px 0; }
.template-index .hero h1{ margin-bottom: 22px; }
.template-index .hero h1 em{ color: var(--terra); font-style: normal; }
.template-index .hero p{ max-width: 490px; margin-bottom: 31px; color: #4c514b; font-size: 1.05rem; }
.template-index .hero-actions{ display: flex; gap: 11px; flex-wrap: wrap; }
.template-index .micro-proof{ display: flex; gap: 21px; margin-top: 30px; color: #4b544c; font-size: .78rem; font-weight: 600; }
.template-index .micro-proof span::before{ content: "✓"; margin-right: 6px; color: var(--success); font-weight: 800; }
.template-index .usp-strip{ border-block: 1px solid var(--line); background: #fff; }
.template-index .usp-grid{ display: grid; grid-template-columns: repeat(var(--usp-columns, 4), 1fr); }
.template-index .usp{
  display: flex; align-items: center; gap: 13px; padding: 24px 28px;
  border-right: 1px solid var(--line);
}
.template-index .usp:last-child{ border: 0; }
.template-index .usp-icon{ display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; font-size: 1.35rem; color: var(--accent, var(--ink)); }
.template-index .usp-icon svg{ width: 34px; height: 34px; stroke-width: 1.6; }
.template-index .usp strong,.template-index .usp span{ display: block; }
.template-index .usp strong{ font-size: .82rem; }
.template-index .usp span{ color: var(--muted); font-size: .73rem; }
.template-index .section-head{ display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 32px; }
.template-index .section-head p{ max-width: 530px; margin-bottom: 0; color: var(--muted); }
.template-index .product-grid{ display: grid; grid-template-columns: repeat(var(--product-grid-columns,4), minmax(0,1fr)); gap: 18px; }
.template-index .product-card{ position: relative; min-width: 0; }
.template-index .product-media{
  position: relative; display: block; width: 100%; overflow: hidden; aspect-ratio: var(--product-image-aspect,4/5); margin-bottom: 15px;
  border-radius: var(--radius); background-color: var(--cream);
}
.template-index .sprite{
  position: absolute; inset: 0; background-image: url("catalog-kala.png");
  background-size: 300% 200%; background-repeat: no-repeat; transition: transform .55s ease;
}
.template-index .product-card:hover .sprite{ transform: scale(1.035); }
.template-index .sprite-1{ background-position: 0 0; }
.template-index .sprite-2{ background-position: 50% 0; }
.template-index .sprite-3{ background-position: 100% 0; }
.template-index .sprite-4{ background-position: 0 100%; }
.template-index .sprite-5{ background-position: 50% 100%; }
.template-index .sprite-6{ background-position: 100% 100%; }
.template-index .badge{
  position: absolute; z-index: 2; top: 13px; left: 13px; padding: 5px 10px;
  border-radius: 999px; color: #fff; background: var(--terra); font-size: .67rem; font-weight: 800; text-transform: uppercase;
}
.template-index .wishlist{
  position: absolute; z-index: 2; top: 11px; right: 11px; display: grid; place-items: center;
  width: 38px; height: 38px; border: 0; border-radius: 50%; color: var(--ink); background: rgba(255,255,255,.9); cursor: pointer;
}
.template-index .wishlist.active{ color: var(--terra); }
.template-index .quick-add{
  position: absolute; z-index: 2; left: 13px; right: 13px; bottom: 13px;
  min-height: 43px; border: 0; border-radius: 999px; color: var(--ink); background: rgba(255,255,255,.94);
  font-weight: 700; opacity: 0; transform: translateY(8px); cursor: pointer; transition: .25s;
}
.template-index .product-card:hover .quick-add{ opacity: 1; transform: none; }
.template-index .product-card h3{ margin: 0 0 4px; font-size: .98rem; letter-spacing: -.015em; }
.template-index .product-meta{ display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.template-index .price{ font-weight: 800; }
.template-index .price del{ margin-left: 6px; color: #999; font-size: .78rem; font-weight: 400; }
.template-index .rating{ color: #b77c18; font-size: .75rem; white-space: nowrap; }
.template-index .swatches{ display: flex; gap: 5px; margin-top: 9px; }
.template-index .swatch{ width: 13px; height: 13px; border: 2px solid #fff; border-radius: 50%; box-shadow: 0 0 0 1px #c7c4bd; }
.template-index .category-grid{ display: grid; grid-template-columns: 1.12fr .88fr; gap: 24px; }
.template-index .category-stack{ display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.template-index .category-card{
  position: relative; min-height: 530px; padding: 30px; display: flex; align-items: end;
  overflow: hidden; border-radius: 24px; color: #fff; background: var(--green);
}
.template-index .category-stack .category-card{ min-height: 253px; }
.template-index .category-card::before{
  content: ""; position: absolute; inset: 0; background-image: url("hero-kala.png");
  background-size: cover; background-position: 73% center; filter: saturate(.8); transition: .6s;
}
.template-index .category-stack .category-card:first-child::before{ background-image: url("catalog-kala.png"); background-size: 300% 200%; background-position: 0 0; }
.template-index .category-stack .category-card:last-child::before{ background-image: url("catalog-kala.png"); background-size: 300% 200%; background-position: 100% 100%; }
.template-index .category-card::after{ content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11,25,17,.72), transparent 58%); }
.template-index .category-card:hover::before{ transform: scale(1.04); }
.template-index .category-copy{ position: relative; z-index: 2; }
.template-index .category-copy h3{ margin-bottom: 7px; font-size: 1.65rem; }
.template-index .category-copy a{ border-bottom: 1px solid rgba(255,255,255,.7); font-weight: 700; }
.template-index .story-band{ padding: 88px 0; color: #fff; background: var(--green); }
.template-index .story-inner{ display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 70px; }
.template-index .story-visual{ overflow: hidden; aspect-ratio: 4/3; border-radius: 26px; background: url("hero-kala.png") 76% center/cover; }
.template-index .story-copy p{ color: rgba(255,255,255,.76); }
.template-index .stats{ display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin: 28px 0 33px; }
.template-index .stat strong{ display: block; font: 800 1.7rem var(--font-heading); }
.template-index .stat span{ color: rgba(255,255,255,.65); font-size: .75rem; }
.template-index .review-grid{ display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.template-index .review-card{ padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.template-index .review-card .stars{ color: #bf7b14; letter-spacing: .13em; }
.template-index .review-card blockquote{ margin: 16px 0 23px; font-size: .97rem; }
.template-index .reviewer{ display: flex; align-items: center; gap: 11px; }
.template-index .avatar{ width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--green-2); font-weight: 800; font-size: .82rem; }
.template-index .avatar--image{ overflow: hidden; background: #efe9df; }
.template-index .avatar--image img{ width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
.template-index .reviewer > div span{ display: block; color: var(--muted); font-size: .72rem; }
.template-index .newsletter{ padding: 55px 0; background: #e9dfcf; }
.template-index .newsletter-inner{ display: flex; justify-content: space-between; align-items: center; gap: 35px; }
.template-index .newsletter h2{ margin-bottom: 8px; font-size: 1.75rem; }
.template-index .newsletter p{ margin: 0; color: var(--muted); }
.template-index .subscribe{ display: flex; width: min(100%, 430px); }
.template-index .subscribe .input{ border-radius: 999px 0 0 999px; border-right: 0; background: #fff; }
.template-index .subscribe .btn{ border-radius: 0 999px 999px 0; }
.template-index .site-footer{ padding-top: 65px; color: #eeeeee; background: #0b0b0b; }
.template-index .footer-grid{ display: grid; grid-template-columns: 1.5fr repeat(3,1fr); gap: 50px; padding-bottom: 45px; }
.template-index .footer-brand p{ max-width: 310px; margin: 18px 0; color: rgba(255,255,255,.62); }
.template-index .footer-title{ margin-bottom: 17px; color: #fff; font-size: .85rem; letter-spacing: .05em; }
.template-index .footer-links a{ display: block; margin: 9px 0; color: rgba(255,255,255,.65); font-size: .86rem; }
.template-index .footer-links a:hover{ color: #fff; }
.template-index .socials{ display: flex; gap: 8px; }
.template-index .socials a{ display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; font-size: .7rem; }
.template-index .footer-bottom{ display: flex; justify-content: space-between; gap: 20px; padding: 19px 0; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.5); font-size: .73rem; }
.template-index .page-hero{ padding: 65px 0 44px; background: var(--cream); }
.template-index .page-hero h1{ margin-bottom: 12px; font-size: clamp(2.2rem,4vw,3.8rem); }
.template-index .breadcrumbs{ margin-bottom: 16px; color: var(--muted); font-size: .77rem; }
.template-index .breadcrumbs a:hover{ color: var(--ink); }
.template-index .breadcrumbs span{ margin: 0 8px; }
.template-index .toolbar{ display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 25px; }
.template-index .filter-chips{ display: flex; flex-wrap: wrap; gap: 8px; }
.template-index .chip{ padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; cursor: pointer; font-weight: 600; font-size: .78rem; }
.template-index .chip.active,.template-index .chip:hover{ border-color: var(--green); color: #fff; background: var(--green); }
.template-index .sort-select{ width: auto; min-width: 180px; height: 42px; }
.template-index .pagination{ display: flex; justify-content: center; gap: 7px; margin-top: 45px; }
.template-index .page-num{ display: grid; place-items: center; width: 41px; height: 41px; border: 1px solid var(--line); border-radius: 50%; font-weight: 700; }
.template-index .page-num.active,.template-index .page-num:hover{ color: #fff; border-color: var(--green); background: var(--green); }
.template-index .product-layout{ display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; align-items: start; }
.template-index .product-gallery{ display: grid; grid-template-columns: 78px 1fr; gap: 15px; }
.template-index .thumbs{ display: flex; flex-direction: column; gap: 10px; }
.template-index .thumb{ position: relative; aspect-ratio: var(--product-image-aspect,4/5); overflow: hidden; border: 2px solid transparent; border-radius: 10px; background: var(--cream); cursor: pointer; }
.template-index .thumb.active{ border-color: var(--green); }
.template-index .product-main-image{ position: sticky; top: 100px; overflow: hidden; aspect-ratio: var(--product-image-aspect,4/5); border-radius: 22px; background: var(--cream); }
.template-index .product-info{ padding-top: 6px; }
.template-index .product-info h1{ margin: 8px 0 14px; font-size: clamp(2rem, 4vw, 3.2rem); }
.template-index .product-rating{ display: flex; gap: 10px; align-items: center; color: var(--muted); font-size: .82rem; }
.template-index .product-rating .stars{ color: #b77c18; }
.template-index .product-price{ margin: 18px 0; font: 800 1.55rem var(--font-heading); }
.template-index .product-price del{ margin-left: 8px; color: #aaa; font-size: .95rem; }
.template-index .sale-note{ display: inline-block; margin-left: 8px; padding: 4px 8px; border-radius: 5px; color: var(--danger); background: #fff0ed; font-size: .72rem; }
.template-index .product-copy{ color: var(--muted); }
.template-index .option-group{ margin-top: 25px; }
.template-index .option-head{ display: flex; justify-content: space-between; margin-bottom: 10px; font-size: .82rem; font-weight: 700; }
.template-index .color-options,.template-index .size-options{ display: flex; flex-wrap: wrap; gap: 9px; }
.template-index .color-option{ width: 31px; height: 31px; border: 4px solid #fff; border-radius: 50%; box-shadow: 0 0 0 1px var(--line); cursor: pointer; }
.template-index .color-option.active{ box-shadow: 0 0 0 2px var(--ink); }
.template-index .size-option{ min-width: 48px; height: 42px; border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; }
.template-index .size-option.active,.template-index .size-option:hover{ color: #fff; border-color: var(--green); background: var(--green); }
.template-index .buy-row{ display: grid; grid-template-columns: 115px 1fr; gap: 11px; margin: 27px 0 13px; }
.template-index .quantity{ display: grid; grid-template-columns: 34px 1fr 34px; align-items: center; border: 1px solid var(--line); border-radius: 999px; }
.template-index .quantity button{ border: 0; background: none; cursor: pointer; }
.template-index .quantity input{ width: 100%; border: 0; text-align: center; outline: 0; background: none; }
.template-index .stock{ margin: 12px 0; color: var(--success); font-size: .8rem; font-weight: 700; }
.template-index .stock::before{ content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(36,122,75,.12); }
.template-index .product-benefits{ display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 25px 0; }
.template-index .product-benefit{ padding: 13px; border-radius: 10px; background: var(--cream); font-size: .76rem; }
.template-index .accordion{ border-top: 1px solid var(--line); }
.template-index .accordion-item{ border-bottom: 1px solid var(--line); }
.template-index .accordion-btn{ width: 100%; display: flex; justify-content: space-between; padding: 18px 0; border: 0; background: none; font-weight: 700; cursor: pointer; }
.template-index .accordion-content{ display: none; padding: 0 0 18px; color: var(--muted); font-size: .85rem; }
.template-index .accordion-item.open .accordion-content{ display: block; }
.template-index .cart-layout{ display: grid; grid-template-columns: 1fr 390px; gap: 50px; align-items: start; }
.template-index .cart-list{ border-top: 1px solid var(--line); }
.template-index .cart-item{ display: grid; grid-template-columns: 125px 1fr auto; gap: 22px; padding: 23px 0; border-bottom: 1px solid var(--line); }
.template-index .cart-image{ position: relative; overflow: hidden; aspect-ratio: 4/5; border-radius: 12px; background: var(--cream); }
.template-index .cart-item h3{ margin: 5px 0; }
.template-index .cart-item .quantity{ width: 110px; height: 39px; margin-top: 14px; }
.template-index .remove{ border: 0; background: none; color: var(--muted); text-decoration: underline; cursor: pointer; }
.template-index .cart-price{ text-align: right; font-weight: 800; }
.template-index .summary-card{ position: sticky; top: 110px; padding: 28px; border-radius: 18px; background: var(--cream); }
.template-index .summary-card h2{ font-size: 1.35rem; }
.template-index .summary-line{ display: flex; justify-content: space-between; gap: 15px; margin: 13px 0; font-size: .86rem; }
.template-index .summary-total{ margin: 20px 0; padding-top: 18px; border-top: 1px solid var(--line); font-size: 1.05rem; font-weight: 800; }
.template-index .promo{ display: flex; margin: 20px 0; }
.template-index .promo .input{ height: 44px; border-radius: 8px 0 0 8px; }
.template-index .promo button{ border: 0; padding: 0 14px; border-radius: 0 8px 8px 0; color: #fff; background: var(--green); font-weight: 700; }
.template-index .secure-note{ margin: 13px 0 0; color: var(--muted); font-size: .72rem; text-align: center; }
.template-index .featured-article{ display: grid; grid-template-columns: 1.15fr .85fr; gap: 0; overflow: hidden; border-radius: 24px; background: var(--cream); }
.template-index .featured-image{ min-height: 440px; background: url("hero-kala.png") center/cover; }
.template-index .featured-copy{ padding: 55px; align-self: center; }
.template-index .post-meta{ margin-bottom: 13px; color: var(--terra); font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.template-index .article-grid{ display: grid; grid-template-columns: repeat(3,1fr); gap: 27px; }
.template-index .article-card{ border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.template-index .article-image{ height: 235px; background-image: url("catalog-kala.png"); background-size: 300% 200%; }
.template-index .article-copy{ padding: 23px; }
.template-index .article-copy h3{ font-size: 1.15rem; }
.template-index .article-copy p{ color: var(--muted); font-size: .84rem; }
.template-index .article-wrap{ display: grid; grid-template-columns: minmax(0,760px) 250px; justify-content: center; gap: 65px; }
.template-index .article-header{ max-width: 850px; margin: 0 auto 40px; text-align: center; }
.template-index .article-header h1{ font-size: clamp(2.25rem,5vw,4.4rem); }
.template-index .article-cover{ height: min(58vw, 620px); margin-bottom: 55px; border-radius: 25px; background: url("hero-kala.png") center/cover; }
.template-index .article-body{ font-size: 1.03rem; line-height: 1.85; }
.template-index .article-body h2{ margin-top: 42px; font-size: 1.75rem; }
.template-index .article-body blockquote{ margin: 35px 0; padding: 25px 30px; border-left: 4px solid var(--terra); background: var(--cream); font: 700 1.25rem/1.55 var(--font-heading); }
.template-index .article-aside{ position: sticky; top: 110px; align-self: start; padding-left: 25px; border-left: 1px solid var(--line); }
.template-index .toc a{ display: block; padding: 7px 0; color: var(--muted); font-size: .8rem; }
.template-index .share{ display: flex; gap: 8px; margin-top: 22px; }
.template-index .checkout-page{ min-height: 100vh; background: #f8f6f1; }
.template-index .checkout-header{ padding: 24px 0; border-bottom: 1px solid var(--line); background: #fff; }
.template-index .checkout-header .container{ display: flex; justify-content: space-between; align-items: center; }
.template-index .checkout-steps{ display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: .75rem; }
.template-index .checkout-steps b{ color: var(--green); }
.template-index .checkout-layout{ display: grid; grid-template-columns: 1fr 430px; gap: 55px; padding: 55px 0 80px; align-items: start; }
.template-index .checkout-section{ padding: 28px; margin-bottom: 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.template-index .checkout-section h2{ margin-bottom: 22px; font-size: 1.25rem; }
.template-index .payment-option{ display: flex; align-items: center; gap: 13px; padding: 15px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.template-index .payment-option + .payment-option{ margin-top: 9px; }
.template-index .payment-option:has(input:checked){ border-color: var(--green); background: #f6faf7; }
.template-index .payment-option input{ accent-color: var(--green); }
.template-index .checkout-summary{ position: sticky; top: 30px; padding: 28px; border-radius: 18px; background: #ede7dc; }
.template-index .mini-item{ display: grid; grid-template-columns: 64px 1fr auto; gap: 13px; align-items: center; margin: 17px 0; }
.template-index .mini-image{ position: relative; overflow: hidden; aspect-ratio: 1; border-radius: 9px; background: #fff; }
.template-index .mini-item h3{ margin: 0; font-size: .82rem; }
.template-index .mini-item span{ color: var(--muted); font-size: .72rem; }
.template-index .account-shell{ display: grid; grid-template-columns: 235px 1fr; gap: 55px; align-items: start; }
.template-index .account-nav{ position: sticky; top: 110px; padding: 18px; border: 1px solid var(--line); border-radius: 15px; }
.template-index .account-user{ padding: 8px 8px 20px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.template-index .account-user strong,.template-index .account-user span{ display: block; }
.template-index .account-user span{ color: var(--muted); font-size: .76rem; }
.template-index .account-nav a{ display: flex; align-items: center; gap: 9px; padding: 11px 12px; border-radius: 8px; font-weight: 600; font-size: .84rem; }
.template-index .account-nav a.active,.template-index .account-nav a:hover{ color: var(--green); background: var(--cream); }
.template-index .account-content h1{ margin-bottom: 8px; font-size: 2.15rem; }
.template-index .account-content > p{ color: var(--muted); }
.template-index .metric-grid{ display: grid; grid-template-columns: repeat(3,1fr); gap: 15px; margin: 28px 0; }
.template-index .metric-card{ padding: 22px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.template-index .metric-card span{ display: block; color: var(--muted); font-size: .76rem; }
.template-index .metric-card strong{ font: 800 1.55rem var(--font-heading); }
.template-index .panel{ margin-top: 20px; padding: 26px; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.template-index .panel-head{ display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.template-index .panel h2{ margin: 0; font-size: 1.2rem; }
.template-index .order-table{ width: 100%; border-collapse: collapse; }
.template-index .order-table th,.template-index .order-table td{ padding: 14px 10px; border-bottom: 1px solid var(--line); text-align: left; font-size: .8rem; }
.template-index .order-table th{ color: var(--muted); font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; }
.template-index .status{ display: inline-block; padding: 5px 9px; border-radius: 99px; background: #eaf5ee; color: var(--success); font-size: .68rem; font-weight: 700; }
.template-index .status.process{ color: #91620e; background: #fff4d9; }
.template-index .address-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.template-index .address-card{ position: relative; padding: 22px; border: 1px solid var(--line); border-radius: 13px; }
.template-index .address-card h3{ margin-bottom: 5px; }
.template-index .address-card p{ margin: 0; color: var(--muted); font-size: .82rem; }
.template-index .address-card .badge{ position: static; display: inline-block; margin-bottom: 12px; background: var(--green); }
.template-index .address-actions{ display: flex; gap: 13px; margin-top: 14px; font-size: .76rem; font-weight: 700; }
.template-index .profile-form{ max-width: 650px; }
.template-index .toast{
  position: fixed; z-index: 100; right: 24px; bottom: 24px; display: flex; align-items: center; gap: 11px;
  padding: 14px 18px; border-radius: 10px; color: #fff; background: var(--green);
  box-shadow: var(--shadow); opacity: 0; transform: translateY(20px); pointer-events: none; transition: .3s;
}
.template-index .toast.show{ opacity: 1; transform: none; }

.template-index .shipping-progress{ padding: 16px 24px; border-bottom: 1px solid var(--line); }
.template-index .shipping-progress p{ margin-bottom: 8px; font-size: .78rem; text-align: center; }
.template-index .progress-track{ overflow: hidden; height: 6px; border-radius: 99px; background: var(--sand); }
.template-index .progress-bar{ height: 100%; border-radius: inherit; background: var(--green-2); transition: width .3s; }
@media (max-width: 980px){.template-index .desktop-nav{ display: none; }
.template-index .nav-wrap{ grid-template-columns: 1fr auto; }
.template-index .nav-wrap > .logo{ justify-self: start; }
.template-index .menu-btn{ display: inline-grid; }
.template-index .nav-actions .account-icon{ display: none; }
.template-index .hero{ min-height: 650px; background-position: 62% center; }
.template-index .hero::after{ background: linear-gradient(90deg, rgba(244,237,225,.97), rgba(244,237,225,.62) 60%, rgba(244,237,225,.18)); }
.template-index .hero-content{ width: 64%; }
.template-index .usp-grid{ grid-template-columns: 1fr 1fr; }
.template-index .usp:nth-child(2){ border-right: 0; }
.template-index .usp:nth-child(-n+2){ border-bottom: 1px solid var(--line); }
.template-index .product-grid{ grid-template-columns: repeat(2,1fr); }
.template-index .story-inner,.template-index .product-layout,.template-index .cart-layout,.template-index .checkout-layout{ grid-template-columns: 1fr; }
.template-index .product-layout{ gap: 35px; }
.template-index .product-main-image{ position: relative; top: 0; }
.template-index .cart-layout,.template-index .checkout-layout{ gap: 28px; }
.template-index .summary-card,.template-index .checkout-summary{ position: static; }
.template-index .article-grid{ grid-template-columns: 1fr 1fr; }
.template-index .article-wrap{ grid-template-columns: minmax(0,760px); }
.template-index .article-aside{ display: none; }
.template-index .account-shell{ grid-template-columns: 190px 1fr; gap: 28px; }
}
@media (max-width: 680px){.template-index .container{ width: min(calc(100% - 28px), var(--container)); }
.template-index .section{ padding: 60px 0; }
.template-index .section-sm{ padding: 38px 0; }
.template-index .announcement{ font-size: .68rem; }
.template-index .announcement{ overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.template-index .nav-wrap{ height: 65px; }
.template-index .hero{ min-height: 660px; align-items: end; background-position: 66% center; }
.template-index .hero::after{ background: linear-gradient(0deg, rgba(244,237,225,.99) 0%, rgba(244,237,225,.84) 40%, rgba(244,237,225,.02) 75%); }
.template-index .hero-content{ width: 100%; padding: 220px 0 42px; }
.template-index .hero h1{ font-size: 2.55rem; }
.template-index .hero p{ font-size: .94rem; }
.template-index .hero-actions .btn{ flex: 1; }
.template-index .micro-proof{ gap: 10px; flex-wrap: wrap; }
.template-index .usp-grid{ grid-template-columns: 1fr 1fr; }
.template-index .usp{ padding: 16px 10px; gap: 7px; }
.template-index .usp-icon{ font-size: 1rem; }
.template-index .usp-icon svg{ width: 26px; height: 26px; }
.template-index .section-head{ display: block; }
.template-index .section-head .btn-link{ margin-top: 15px; }
.template-index .product-grid{ gap: 16px 12px; }
.template-index .product-media{ border-radius: 12px; }
.template-index .quick-add{ display: none; }
.template-index .product-card h3{ font-size: .84rem; }
.template-index .product-meta{ display: block; }
.template-index .rating{ display: block; margin-top: 3px; }
.template-index .category-grid{ grid-template-columns: 1fr; }
.template-index .category-card{ min-height: 380px; }
.template-index .category-stack{ gap: 12px; }
.template-index .category-stack .category-card{ min-height: 220px; padding: 18px; }
.template-index .category-copy h3{ font-size: 1.25rem; }
.template-index .story-inner{ gap: 35px; }
.template-index .story-visual{ order: -1; }
.template-index .review-grid,.template-index .article-grid{ grid-template-columns: 1fr; }
.template-index .newsletter-inner{ display: block; }
.template-index .subscribe{ margin-top: 20px; }
.template-index .footer-grid{ grid-template-columns: 1fr 1fr; gap: 32px 20px; }
.template-index .footer-brand{ grid-column: 1/-1; }
.template-index .footer-bottom{ display: block; }
.template-index .footer-bottom span{ display: block; margin-top: 5px; }
.template-index .toolbar{ display: block; }
.template-index .sort-select{ width: 100%; margin-top: 16px; }
.template-index .product-gallery{ grid-template-columns: 1fr; }
.template-index .thumbs{ order: 2; flex-direction: row; }
.template-index .thumb{ width: 64px; }
.template-index .buy-row{ grid-template-columns: 100px 1fr; }
.template-index .product-benefits{ grid-template-columns: 1fr; }
.template-index .cart-item{ grid-template-columns: 90px 1fr; gap: 14px; }
.template-index .cart-price{ grid-column: 2; text-align: left; }
.template-index .featured-article{ grid-template-columns: 1fr; }
.template-index .featured-image{ min-height: 300px; }
.template-index .featured-copy{ padding: 30px 23px; }
.template-index .article-cover{ height: 390px; margin-bottom: 35px; }
.template-index .article-body{ font-size: .95rem; }
.template-index .checkout-steps{ display: none; }
.template-index .checkout-layout{ padding-top: 28px; }
.template-index .checkout-section,.template-index .checkout-summary{ padding: 21px; }
.template-index .form-row{ grid-template-columns: 1fr; gap: 0; }
.template-index .account-shell{ grid-template-columns: 1fr; }
.template-index .account-nav{ position: static; display: flex; overflow-x: auto; padding: 7px; }
.template-index .account-user{ display: none; }
.template-index .account-nav a{ flex: 0 0 auto; white-space: nowrap; }
.template-index .metric-grid{ grid-template-columns: 1fr; }
.template-index .panel{ padding: 20px 15px; overflow-x: auto; }
.template-index .order-table{ min-width: 620px; }
.template-index .address-grid{ grid-template-columns: 1fr; }
.template-index .toast{ left: 14px; right: 14px; bottom: 14px; }

.template-index .shipping-progress{ padding-left: 18px; padding-right: 18px; }
}
@media (prefers-reduced-motion: reduce){.template-index *,.template-index *::before,.template-index *::after{ scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

.template-index .section-flush { padding-top:0; }
.template-index .story-eyebrow { color:#d9b7a8; }
.template-index .home-newsletter-form { width:min(100%,430px);flex-shrink:1; }
.template-index .home-newsletter .subscribe { gap:0;flex-wrap:wrap; }
.template-index .home-newsletter .subscribe .input { min-width:0;flex:1 1 0; }
.template-index .home-newsletter .subscribe .btn { flex:0 0 auto; }
.template-index .product-media .product-card-link { display:block;width:100%;height:100%; }
.template-index .product-card-img { width:100%;height:100%;object-fit:cover; }
.template-index .category-card.has-custom-image::before { background-image:var(--category-image);background-size:cover;background-position:center; }
.template-index .site-header .nav-wrap { min-height:74px;padding-block:0;height:74px; }
.template-index .site-header .logo { gap:0;font-size:1.55rem; }
.template-index .site-header .logo small { display:block; }
@media(max-width:680px){.template-index .site-header .nav-wrap { min-height:65px;height:65px; }.template-index .home-newsletter-form { width:100%; }.template-index .category-stack { grid-template-columns:1fr 1fr; }}

.template-index .announcement { background:var(--announcement-bg,var(--green));color:var(--announcement-fg,#fff); }
.template-index .announcement__inner { min-height:0; }
.template-index .product-meta .price { font-size:inherit; }


/* Clear inherited universal-theme properties that are absent in the reference. */
html:root:root:has(body.template-index) { font-size:16px; }
.template-index .container { padding-inline:0; }
.template-index .hero { padding:0; }
.template-index h1,.template-index h2,.template-index h3,.template-index h4 { font-weight:700; }
.template-index .hero-actions { margin-bottom:0; }
.template-index .section-head { flex-wrap:nowrap; }
.template-index .section-head h2 { margin:0 0 .83em; }
.template-index .product-card { border:0;background:transparent;box-shadow:none;overflow:visible;border-radius:0; }
.template-index .product-meta { padding:0; }
.template-index .product-meta .price { margin-top:0; }
.template-index .home-newsletter { display:block;border-radius:0;max-width:none;margin:0; }
.template-index .site-footer { margin-top:0; }
.template-index .site-footer .logo { display:inline; }
.template-index .site-footer .logo small { color:#b8c3ba; }
.template-index .category-stack .category-card.has-custom-image::before { background-image:var(--category-image);background-size:cover;background-position:center; }
@media(max-width:680px){.template-index .section-head { display:block; }}

.template-index .btn { font-size:var(--body-font-size,15px); }
.template-index .story-copy h2 { margin-bottom:.83em; }
.template-index .home-newsletter { border:0; }
.template-index .home-newsletter p { max-width:none; }
.template-index .footer-links { display:block;gap:normal; }
.template-index .footer-brand p { font-size:inherit; }
.template-index .footer-platform { display:none; }

.template-index .btn { letter-spacing:normal; }
.template-index .section-head { flex-direction:row;text-align:left; }
.template-index .site-footer { border-top:0; }
.template-index .footer-payments { display:block; }

.template-index .footer-bottom .footer-platform { display:none; }

/* Keep merchant color controls effective over the reference's generic anchor styles. */
.template-index .desktop-nav a,.template-index .desktop-nav summary { color:var(--menu-color); }
.template-index .desktop-nav a:hover,.template-index .desktop-nav summary:hover { color:var(--menu-hover); }
.template-index main :is(.text-link,.btn-link,.prose a,.share-row a) { color:var(--link-color); }
.template-index main :is(.text-link,.btn-link,.prose a,.share-row a):hover { color:var(--link-hover); }
/* Native drawers retain their platform stacking and layout rules. */

html:root .template-index .category-copy h3 { color:inherit; }
.template-index .category-copy a { color:inherit; }

.template-index .announcement { font-weight:400; }

/* Categories List section: four tiles per row on the homepage. */
.template-index .category-grid.category-grid--four { grid-template-columns:repeat(4, minmax(0,1fr)); gap:20px; }
.template-index .category-grid--four .category-card { min-height:340px; padding:22px; border-radius:18px; }
.template-index .category-grid--four .category-copy strong { font-size:1.05rem; }
@media (max-width:980px) {
  .template-index .category-grid.category-grid--four { grid-template-columns:repeat(2, minmax(0,1fr)); }
  .template-index .category-grid--four .category-card { min-height:280px; }
}
@media (max-width:680px) {
  .template-index .category-grid.category-grid--four { gap:12px; }
  .template-index .category-grid--four .category-card { min-height:220px; padding:16px; border-radius:14px; }
}
