/* ==========================================================================
   Cotton Trend — homepage
   Neutral, editorial layout for the baby collection. Product markup keeps
   the WooCommerce loop classes so it maps onto the theme later.
   ========================================================================== */

:root {
  --ink: #16191C;
  --ink-2: #33393E;
  --muted: #6E7479;
  --stone: #F3F1ED;
  --stone-2: #E9E6E0;
  --line: #E4E1DB;
  --paper: #FFFFFF;
  --sale: #B9412F;

  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --container: 1360px;
  --gutter: clamp(16px, 3.5vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 15.5px/1.65 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.screen-reader-text:focus { position: fixed !important; top: 8px; left: 8px; width: auto; height: auto; clip: auto; z-index: 999; background: #fff; padding: 10px 16px; }
.container { width: min(100% - var(--gutter) * 2, var(--container)); margin-inline: auto; }
.icon { width: 22px; height: 22px; flex: none; }

/* Type scale */
.display { font-weight: 600; letter-spacing: -0.035em; line-height: 1.06; }
.eyebrow { font-size: 13px; font-weight: 500; color: var(--muted); }

/* Buttons and links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 30px;
  font-weight: 500; font-size: 15px; border: 1px solid var(--ink); border-radius: 999px; transition: background-color .2s, color .2s;
}
.btn .icon { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover .icon { transform: translateX(3px); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--ink-2); }
.btn--line:hover { background: var(--ink); color: #fff; }
.u-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; padding-bottom: 3px; border-bottom: 1px solid currentColor; transition: gap .2s; }
.u-link:hover { gap: 12px; }
.u-link .icon { width: 17px; height: 17px; }

/* ---------- Top bar ---------- */
.topbar { background: var(--ink); color: rgba(255,255,255,.88); font-size: 13px; }
.topbar .container { display: flex; justify-content: center; gap: 24px; min-height: 38px; align-items: center; text-align: center; }
.topbar b { color: #fff; font-weight: 500; }
.topbar__side { display: none; gap: 20px; color: rgba(255,255,255,.7); }
.topbar__side a:hover { color: #fff; }
@media (min-width: 1024px) { .topbar .container { justify-content: space-between; } .topbar__side { display: flex; } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 74px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; justify-self: center; }
.brand img { width: 36px; height: 36px; }
.brand__name { font-size: 20px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; white-space: nowrap; }
.nav-toggle { justify-self: start; display: grid; place-items: center; width: 44px; height: 44px; }
.primary-nav { display: none; }
.menu { display: flex; gap: 6px; }
.menu > li { position: relative; }
.menu > li > a { display: flex; align-items: center; gap: 4px; padding: 25px 12px; font-size: 15px; position: relative; }
.menu > li > a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 18px; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.menu > li > a:hover::after, .menu > li:focus-within > a::after, .menu > .current-menu-item > a::after { transform: scaleX(1); }
.menu .chev { width: 15px; height: 15px; transition: transform .2s; }
.menu-item-has-children:hover .chev { transform: rotate(180deg); }
.sub-menu {
  position: absolute; top: 100%; left: -16px; width: 440px; padding: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 50px -30px rgba(0,0,0,.25);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s;
}
.menu-item-has-children:hover .sub-menu, .menu-item-has-children:focus-within .sub-menu { opacity: 1; visibility: visible; transform: none; }
.sub-menu a { display: grid; gap: 10px; font-weight: 500; }
.sub-menu img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.sub-menu small { display: block; font-weight: 400; color: var(--muted); font-size: 13px; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 2px; }
.icon-btn { position: relative; display: grid; place-items: center; width: 42px; height: 42px; }
.icon-btn:hover { opacity: .65; }
.icon-btn .icon { width: 21px; height: 21px; stroke-width: 1.6; }
.icon-btn.hide-sm { display: none; }
.cart-count { position: absolute; top: 5px; right: 3px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 10px; font-weight: 600; display: grid; place-items: center; line-height: 1; }
.cart-count.bump { animation: bump .35s ease; }
@keyframes bump { 50% { transform: scale(1.3); } }
@media (min-width: 1100px) {
  .header-inner { grid-template-columns: auto 1fr auto; }
  .nav-toggle { display: none; }
  .brand { justify-self: start; }
  .primary-nav { display: block; justify-self: center; }
  .icon-btn.hide-sm { display: grid; }
}
@media (max-width: 480px) {
  .brand__name { font-size: 19px; }
  .brand img { width: 30px; height: 30px; }
  .header-inner { min-height: 62px; gap: 4px; }
  .header-actions .icon-btn:first-child { display: none; }
}

/* Drawer */
.drawer { position: fixed; inset: 0; z-index: 100; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(22,25,28,.45); opacity: 0; transition: opacity .25s; }
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer__panel { position: absolute; inset: 0 auto 0 0; width: min(88vw, 380px); background: #fff; padding: 20px 24px; overflow-y: auto; transform: translateX(-100%); transition: transform .3s ease; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.drawer .menu { flex-direction: column; gap: 0; }
.drawer .menu > li { border-bottom: 1px solid var(--line); }
.drawer .menu > li > a { padding: 18px 0; font-size: 22px; }
.drawer .menu > li > a::after { display: none; }
.drawer .menu-item-has-children { display: grid; grid-template-columns: 1fr auto; align-items: center; }
.drawer .sub-menu { grid-column: 1 / -1; position: static; width: auto; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 18px; display: none; }
.drawer .menu-item-has-children.is-open .sub-menu { display: grid; }
.drawer .menu-item-has-children.is-open .chev { transform: rotate(180deg); }

/* ---------- Hero: 50 / 50 ---------- */
.hero { display: grid; background: var(--stone); }
.hero__copy { display: flex; flex-direction: column; justify-content: center; gap: 26px; padding: 48px var(--gutter); }
.hero__meta { display: flex; gap: 10px; align-items: center; font-size: 13px; font-weight: 500; color: var(--muted); }
.hero__meta i { width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.hero__title { font-size: clamp(44px, 5vw, 80px); max-width: 11ch; }
.hero__text { font-size: 18px; max-width: 42ch; color: var(--ink-2); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.essentials { margin-top: 10px; }
.essentials .eyebrow { margin-bottom: 14px; }
.essentials ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 520px; }
.essentials a { display: grid; gap: 10px; font-size: 13px; color: var(--muted); }
.essentials figure { margin: 0; overflow: hidden; background: #fff; }
.essentials img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .5s; }
.essentials a:hover img { transform: scale(1.05); }
.essentials b { display: block; font-size: 14px; font-weight: 500; color: var(--ink); }
.hero__media { position: relative; min-height: 64vh; overflow: hidden; }
.hero__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
@media (min-width: 960px) {
  .hero { grid-template-columns: 1fr 1fr; min-height: calc(100vh - 112px); max-height: 880px; }
  .hero__copy { padding: 56px clamp(40px, 5vw, 96px) 56px var(--gutter); }
  .hero__media { min-height: 0; }
}

/* Service strip */
.service { border-bottom: 1px solid var(--line); }
.service ul { display: grid; grid-template-columns: repeat(2, 1fr); }
.service li { display: flex; gap: 12px; align-items: center; padding: 20px 14px; font-size: 14px; }
.service .icon { width: 24px; height: 24px; stroke-width: 1.5; color: var(--ink-2); }
.service b { display: block; font-weight: 500; }
.service span { color: var(--muted); font-size: 13px; }
@media (min-width: 900px) { .service ul { grid-template-columns: repeat(4, 1fr); } .service li { justify-content: center; border-right: 1px solid var(--line); } .service li:last-child { border-right: 0; } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 8vw, 120px); }
.section--stone { background: var(--stone); }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 44px); }
.sec-head h2 { font-size: clamp(34px, 3.8vw, 54px); }
.sec-head p { color: var(--muted); max-width: 46ch; margin-top: 10px; }

/* Collections */
.collections { display: grid; gap: 16px; }
.coll { display: block; }
.coll__media { overflow: hidden; background: var(--stone); }
.coll__img { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.coll:hover .coll__img { transform: scale(1.04); }
.coll__info { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 16px; }
.coll__info h3 { font-size: 24px; letter-spacing: -0.01em; }
.coll__info span { color: var(--muted); font-size: 14px; }
.coll__go { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; flex: none; transition: background-color .2s, color .2s, border-color .2s; }
.coll__go .icon { width: 18px; height: 18px; }
.coll:hover .coll__go { background: var(--ink); color: #fff; border-color: var(--ink); }
@media (min-width: 900px) { .collections { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

/* ---------- Products (WooCommerce loop) ---------- */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tab { padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; color: var(--ink-2); transition: background-color .2s, color .2s, border-color .2s; }
.tab:hover { border-color: var(--ink); }
.tab[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
ul.products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px 14px; }
@media (min-width: 900px) { ul.products { grid-template-columns: repeat(4, 1fr); gap: 52px 22px; } }
ul.products li.product { position: relative; display: flex; flex-direction: column; }
ul.products li.product[hidden] { display: none; }
.ct-media { position: relative; overflow: hidden; background: var(--stone); }
.ct-media img { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
li.product:hover .ct-media img { transform: scale(1.04); }
ul.products li.product .onsale, .ct-new { position: absolute; top: 12px; left: 12px; z-index: 2; font-size: 12px; font-weight: 500; padding: 4px 10px; border-radius: 999px; }
ul.products li.product .onsale { background: var(--sale); color: #fff; }
.ct-new { background: #fff; color: var(--ink); }
.ct-wish { position: absolute; top: 8px; right: 8px; z-index: 2; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.92); }
.ct-wish .icon { width: 17px; height: 17px; }
.ct-wish[aria-pressed="true"] path { fill: currentColor; }
ul.products li.product .add_to_cart_button {
  position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 2; min-height: 44px; display: flex; align-items: center; justify-content: center; gap: 8px;
  background: #fff; color: var(--ink); font-weight: 500; font-size: 14px; border-radius: 999px; transform: translateY(calc(100% + 12px)); transition: transform .3s cubic-bezier(.2,.7,.2,1), background-color .2s, color .2s;
}
ul.products li.product .add_to_cart_button .icon { width: 17px; height: 17px; }
ul.products li.product:hover .add_to_cart_button, ul.products li.product .add_to_cart_button:focus-visible { transform: none; }
ul.products li.product .add_to_cart_button:hover, ul.products li.product .add_to_cart_button.added { background: var(--ink); color: #fff; }
ul.products li.product .add_to_cart_button.added { transform: none; }
@media (hover: none), (max-width: 899px) {
  ul.products li.product .add_to_cart_button { left: auto; width: 40px; min-height: 40px; transform: none; }
  ul.products li.product .add_to_cart_button span { display: none; }
}
ul.products li.product .woocommerce-LoopProduct-link { display: block; padding-top: 14px; }
.ct-cat { font-size: 13px; color: var(--muted); }
ul.products li.product .woocommerce-loop-product__title { font-size: 15px; font-weight: 500; margin: 2px 0 6px; line-height: 1.35; }
.ct-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
ul.products li.product .price { display: flex; gap: 8px; align-items: baseline; font-weight: 500; }
ul.products li.product .price del { color: var(--muted); font-weight: 400; font-size: 14px; }
ul.products li.product .price ins { text-decoration: none; }
ul.products li.product .price ins.is-sale { color: var(--sale); }
.ct-swatches { display: flex; gap: 4px; }
.ct-swatches i { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.view-all { text-align: center; margin-top: clamp(40px, 5vw, 60px); }

/* ---------- Shop by age ---------- */
.ages { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.age { display: block; }
.age__media { overflow: hidden; border-radius: 50% 50% 0 0 / 34% 34% 0 0; background: var(--stone-2); }
.age img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.age:hover img { transform: scale(1.05); }
.age__info { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; gap: 8px; }
.age__info b { font-weight: 500; font-size: 18px; }
.age__info span { color: var(--muted); font-size: 13px; }
@media (min-width: 900px) { .ages { grid-template-columns: repeat(4, 1fr); gap: 22px; } }

/* ---------- Two-up stories ---------- */
.duo { display: grid; gap: 16px; }
.story { position: relative; overflow: hidden; color: #fff; display: block; }
.story img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.story:hover img { transform: scale(1.03); }
.story__copy { position: absolute; inset: auto 0 0 0; padding: clamp(24px, 3vw, 40px); background: linear-gradient(to top, rgba(0,0,0,.55), transparent); display: grid; gap: 8px; justify-items: start; }
.story__copy .eyebrow { color: rgba(255,255,255,.8); }
.story__copy h3 { font-size: clamp(30px, 3vw, 44px); letter-spacing: -0.02em; line-height: 1.05; }
.story__copy p { max-width: 36ch; opacity: .9; }
.story__copy .u-link { margin-top: 8px; }
@media (min-width: 900px) { .duo { grid-template-columns: 1fr 1fr; gap: 24px; } .story img { aspect-ratio: 5 / 6; } }

/* ---------- Our cotton ---------- */
.cotton { display: grid; gap: clamp(32px, 5vw, 80px); align-items: center; }
.cotton__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.cotton h2 { font-size: clamp(34px, 3.8vw, 54px); margin-top: 10px; }
.cotton > div > p { color: var(--ink-2); font-size: 17px; max-width: 46ch; margin-top: 18px; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: 36px; border-top: 1px solid var(--line); }
.facts li { padding: 22px 16px 22px 0; border-bottom: 1px solid var(--line); }
.facts b { display: block; font-size: clamp(28px, 2.8vw, 38px); font-weight: 600; line-height: 1.1; letter-spacing: -0.02em; }
.facts span { color: var(--muted); font-size: 14px; }
@media (min-width: 960px) { .cotton { grid-template-columns: 1fr 1fr; } }

/* ---------- Lookbook ---------- */
.look { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.look a { overflow: hidden; display: block; }
.look img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .8s, opacity .3s; }
.look a:hover img { transform: scale(1.05); opacity: .9; }
@media (min-width: 900px) { .look { grid-template-columns: repeat(6, 1fr); } }

/* ---------- Newsletter ---------- */
.news { background: var(--stone); }
.news .container { display: grid; gap: 28px; align-items: end; padding-block: clamp(56px, 7vw, 96px); }
.news h2 { font-size: clamp(32px, 3.6vw, 50px); max-width: 16ch; }
.news p { margin-top: 12px; max-width: 42ch; color: var(--ink-2); }
.news-form { display: flex; border-bottom: 1px solid var(--ink); }
.news-form input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 16px 0; font: inherit; font-size: 17px; }
.news-form input::placeholder { color: var(--muted); }
.news-form input:focus { outline: none; }
.news-form:focus-within { border-bottom-width: 2px; }
.news-form button { font-weight: 500; display: flex; align-items: center; gap: 8px; padding-left: 16px; }
.news small { display: block; margin-top: 12px; color: var(--muted); font-size: 13px; }
@media (min-width: 900px) { .news .container { grid-template-columns: 1fr 1fr; gap: 64px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.7); }
.footer-grid { display: grid; gap: 36px; grid-template-columns: 1fr 1fr; padding-block: 72px 48px; }
.footer-brand { grid-column: 1 / -1; }
.footer-brand .brand { justify-self: start; }
.footer-brand .brand__name { color: #fff; }
.footer-brand p { margin-top: 18px; max-width: 34ch; }
.footer-grid h4 { color: #fff; font-size: 14px; font-weight: 500; margin-bottom: 16px; }
.footer-grid li + li { margin-top: 10px; }
.footer-grid a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { width: 18px; height: 18px; margin-top: 3px; color: rgba(255,255,255,.55); }
.socials { display: flex; gap: 8px; margin-top: 24px; }
.socials a { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; display: grid; place-items: center; color: #fff; transition: background-color .2s, color .2s; }
.socials a:hover { background: #fff; color: var(--ink); }
.socials svg { width: 17px; height: 17px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.3fr; } .footer-brand { grid-column: auto; } }
.footer-word { font-size: clamp(56px, 14vw, 220px); font-weight: 700; line-height: .82; letter-spacing: -0.06em; color: rgba(255,255,255,.07); text-align: center; white-space: nowrap; overflow: hidden; padding-bottom: .05em; user-select: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); }
.footer-bottom .container { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; padding-block: 20px; font-size: 13px; }
.pay { display: flex; gap: 6px; flex-wrap: wrap; }
.pay span { border: 1px solid rgba(255,255,255,.22); border-radius: 4px; padding: 3px 10px; font-size: 12px; color: #fff; }

/* Live chat, toast */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 65; display: inline-flex; align-items: center; height: 56px; padding: 0 15px; border-radius: 999px; background: linear-gradient(135deg, #2BD46A 0%, #1FAF5A 100%); color: #fff; -webkit-tap-highlight-color: transparent; box-shadow: 0 12px 28px rgba(31,175,90,.38), 0 2px 6px rgba(16,24,20,.16); transition: transform .22s ease, box-shadow .22s ease; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; animation: wa-pulse 2.6s ease-out infinite; }
.wa-float .icon { width: 26px; height: 26px; }
.wa-float__label { max-width: 0; opacity: 0; overflow: hidden; white-space: nowrap; font-size: 14px; font-weight: 600; letter-spacing: -.01em; transition: max-width .28s ease, opacity .2s ease, margin-left .28s ease; }
.wa-float:hover, .wa-float:focus-visible { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(31,175,90,.46), 0 3px 8px rgba(16,24,20,.18); }
.wa-float:hover .wa-float__label, .wa-float:focus-visible .wa-float__label { max-width: 90px; opacity: 1; margin-left: 8px; }
@keyframes wa-pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.45); } 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }
@media (max-width: 600px) { .wa-float { height: 50px; padding: 0 14px; } .wa-float__label { max-width: 90px; opacity: 1; margin-left: 7px; } }
.toast { position: fixed; left: 50%; bottom: 24px; translate: -50% 0; z-index: 200; background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 999px; display: flex; gap: 10px; align-items: center; opacity: 0; transform: translateY(12px); transition: opacity .2s, transform .2s; pointer-events: none; }
.toast.show { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Brand tagline */
.brand__tag { display: block; font-size: 11px; font-weight: 500; letter-spacing: .02em; color: var(--muted); margin-top: 4px; }
@media (max-width: 480px) { .brand__tag { display: none; } }

/* Hero copy follows the container's left edge on wide screens */
@media (min-width: 960px) {
  .hero__copy { padding-left: max(var(--gutter), calc((100vw - var(--container)) / 2)); }
}

/* ---------- Newsletter card (replaces the flat band) ---------- */
.news { background: transparent; padding-block: clamp(48px, 7vw, 96px); }
.news .container { display: block; padding-block: 0; }
.news-card { display: grid; background: var(--stone); border-radius: 12px; overflow: hidden; }
.news-card__media { position: relative; min-height: 300px; }
.news-card__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.coupon {
  position: absolute; left: 24px; bottom: 24px; display: grid; gap: 2px; padding: 16px 22px 16px 26px;
  background: #fff; border-radius: 10px; box-shadow: 0 20px 40px -20px rgba(0,0,0,.45);
  -webkit-mask: radial-gradient(circle 9px at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat,
                radial-gradient(circle 9px at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle 9px at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat,
                radial-gradient(circle 9px at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat;
  transform: rotate(-3deg);
}
.coupon__label { font-size: 12px; font-weight: 500; color: var(--muted); }
.coupon b { font-size: 30px; font-weight: 800; letter-spacing: -0.04em; line-height: 1.1; }
.coupon__code { margin-top: 6px; padding-top: 8px; border-top: 1.5px dashed var(--line); font-size: 12px; font-weight: 700; letter-spacing: .12em; }
.news-card__body { padding: clamp(28px, 4.5vw, 64px); display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.news-card__body h2 { font-size: clamp(30px, 3.4vw, 48px); max-width: 14ch; margin: 0; }
.news-card__body > p { color: var(--ink-2); max-width: 44ch; margin: 0; }
.news-perks { display: grid; gap: 8px; margin: 4px 0 6px; font-size: 14.5px; color: var(--ink-2); }
.news-perks li { display: flex; gap: 10px; align-items: center; }
.news-perks .icon { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: var(--ink); color: #fff; }
.news-card .news-form { display: flex; gap: 6px; max-width: 520px; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 999px; transition: border-color .2s, box-shadow .2s; }
.news-card .news-form:focus-within { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(22,25,28,.08); border-bottom-width: 1px; }
.news-card .news-form input { padding: 0 14px; font-size: 15px; }
.news-card .news-form .btn { min-height: 46px; padding: 0 22px; white-space: nowrap; }
.news-card .news-form.is-done .btn { background: #2F7A55; border-color: #2F7A55; }
.news-card small { margin: 0; color: var(--muted); font-size: 12.5px; }
@media (min-width: 900px) { .news-card { grid-template-columns: 1fr 1.1fr; } .news-card__media { min-height: 460px; } }
@media (max-width: 520px) {
  .news-card .news-form { flex-direction: column; border-radius: 14px; }
  .news-card .news-form input { min-height: 46px; }
  .news-card .news-form .btn { width: 100%; }
  .coupon { left: 16px; bottom: 16px; padding: 12px 18px 12px 22px; }
  .coupon b { font-size: 24px; }
}

/* ---------- Our cotton journey ---------- */
.journey { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 0; position: relative; }
.jr-step { position: relative; display: grid; grid-template-columns: 64px 1fr; column-gap: 18px; padding-bottom: 28px; }
.jr-step::before { content: ""; position: absolute; left: 31px; top: 70px; bottom: 6px; border-left: 2px dashed #CFCAC0; }
.jr-step:last-child::before { display: none; }
.jr-step__art { grid-row: 1 / span 5; width: 64px; height: 64px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 0 0 6px var(--stone); color: var(--ink); transition: background-color .25s, color .25s, transform .25s; }
.jr-step__art svg { width: 36px; height: 36px; }
.jr-step:hover .jr-step__art { background: var(--ink); color: #fff; transform: translateY(-3px); }
.jr-step__n { font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: .04em; }
.jr-step h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.02em; margin-top: 2px; }
.jr-step__sub { font-size: 13px; font-weight: 600; color: var(--ink-2); margin-top: 2px; }
.jr-step p:not(.jr-step__sub) { color: var(--muted); font-size: 14px; margin-top: 8px; max-width: 34ch; }
.jr-fact { justify-self: start; margin-top: 12px; font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: 999px; background: #fff; border: 1px solid var(--line); }
@media (min-width: 1000px) {
  .journey { grid-template-columns: repeat(6, 1fr); gap: 22px; }
  .jr-step { grid-template-columns: 1fr; padding-bottom: 0; align-content: start; }
  .jr-step__art { grid-row: auto; margin-bottom: 18px; }
  .jr-step::before { left: 76px; right: -14px; top: 31px; bottom: auto; border-left: 0; border-top: 2px dashed #CFCAC0; }
  .jr-step p:not(.jr-step__sub) { max-width: none; }
}

.cotton-proof { display: grid; gap: 28px; margin-top: clamp(40px, 6vw, 72px); background: #fff; border-radius: 14px; padding: clamp(18px, 3vw, 32px); align-items: center; }
.cotton-proof__media { position: relative; margin: 0; border-radius: 10px; overflow: hidden; }
.cotton-proof__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.cotton-proof__media figcaption { position: absolute; left: 16px; bottom: 16px; background: rgba(255,255,255,.94); border-radius: 999px; padding: 8px 16px; font-size: 13px; }
.cotton-proof__media figcaption b { font-weight: 800; }
.cotton-proof__body h3 { font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -0.03em; margin-bottom: 16px; }
.cmp-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.cmp-table th, .cmp-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.cmp-table thead th { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.cmp-table thead th:nth-child(2) { color: var(--ink); }
.cmp-table tbody th { font-weight: 500; }
.cmp-table tbody tr:last-child > * { border-bottom: 0; }
.cmp-table td:nth-child(2) { background: var(--stone); }
.cmp { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.cmp--yes { background: #E3F0E8; color: #2F7A55; }
.cmp--no { background: #F6E3DF; color: var(--sale); }
.cotton-promises { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.cotton-promises li { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; }
.cotton-promises .icon { width: 20px; height: 20px; padding: 4px; border-radius: 50%; background: var(--ink); color: #fff; margin-top: 1px; }
.cotton-promises b { display: block; font-weight: 600; }
.cotton-promises span { color: var(--muted); font-size: 13px; }
@media (min-width: 960px) { .cotton-proof { grid-template-columns: .9fr 1.1fr; gap: 44px; } }
@media (max-width: 480px) { .cotton-promises { grid-template-columns: 1fr; } .cmp-table th, .cmp-table td { padding: 10px; } }

/* ---------- Footer (light) ---------- */
.ft { background: var(--stone); color: var(--ink-2); border-top: 1px solid var(--line); margin-top: 0; }
.ft .footer-word, .ft .footer-grid { display: none; }
.ft-top { display: grid; gap: 8px; padding-block: clamp(44px, 6vw, 72px) 28px; }
.ft-brand { display: grid; gap: 16px; align-content: start; padding-bottom: 20px; }
.ft-brand .brand { justify-self: start; }
.ft-brand .brand__name { color: var(--ink); }
.ft-brand > p { max-width: 36ch; font-size: 14.5px; }
.ft-help { display: grid; gap: 10px; max-width: 360px; }
.ft-help a { display: flex; gap: 12px; align-items: center; padding: 12px 16px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-size: 12.5px; color: var(--muted); transition: border-color .2s, transform .2s; }
.ft-help a:hover { border-color: var(--ink); transform: translateY(-1px); }
.ft-help a .icon { width: 22px; height: 22px; flex: none; color: var(--ink); }
.ft-help__wa .icon { color: #1FAF5A !important; }
.ft-help b { display: block; font-size: 14px; font-weight: 600; color: var(--ink); }
.ft-col { border-top: 1px solid var(--stone-2); }
.ft-col summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font-size: 15px; font-weight: 700; color: var(--ink); cursor: pointer; }
.ft-col summary::-webkit-details-marker { display: none; }
.ft-col__chev .icon { width: 16px; height: 16px; transition: transform .2s; }
.ft-col[open] .ft-col__chev .icon { transform: rotate(180deg); }
.ft-col ul { display: grid; gap: 10px; padding-bottom: 18px; font-size: 14.5px; }
.ft-col a { transition: color .15s; }
.ft-col a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.ft-contact li { display: flex; gap: 10px; align-items: flex-start; }
.ft-contact .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--muted); flex: none; }
.ft-socials { margin: 4px 0 18px; }
.ft .socials a { border-color: var(--line); background: #fff; color: var(--ink); }
.ft .socials a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
@media (min-width: 1000px) {
  .ft-top { grid-template-columns: 1.5fr repeat(4, 1fr); gap: 32px; }
  .ft-col { border-top: 0; }
  .ft-col summary { pointer-events: none; padding-top: 4px; }
  .ft-col__chev { display: none; }
}

.ft-mid { display: flex; flex-wrap: wrap; gap: 16px 40px; padding-block: 22px; border-top: 1px solid var(--stone-2); }
.ft-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ft-badges__label { font-size: 13px; font-weight: 600; color: var(--muted); }
.ft-badges ul { display: flex; flex-wrap: wrap; gap: 6px; }
.ft-badges li { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 5px 10px; font-size: 12px; font-weight: 700; color: var(--ink-2); }

.ft-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 20px 28px; border-top: 1px solid var(--stone-2); font-size: 13px; color: var(--muted); }
.ft-bottom ul { display: flex; flex-wrap: wrap; gap: 18px; }
.ft-bottom a:hover { color: var(--ink); }
