body.bag-open {
  overflow: hidden;
}

/* Pastel commerce refresh */
:root {
  --cream: #fffaf5;
  --ink: #303832;
  --leaf: #557568;
  --lime: #dfe9b8;
  --rose: #f1c8be;
  --line: rgba(61, 77, 69, .14);
  --cotton-card: #fffefd;
  --cotton-mint: #deebe4;
}

body { background: #fffaf5; font-size: 16px; }

.cotton-header {
  position: sticky;
  top: 0;
  min-height: 84px;
  padding-block: 12px;
  background: rgba(255, 250, 245, .94);
  box-shadow: 0 8px 30px rgba(76, 83, 78, .06);
}

.header-actions { display: flex; align-items: center; justify-self: end; gap: 10px; }

.main-button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--cotton-mint);
  padding: 13px 18px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.bag-button { justify-self: auto; background: var(--cotton-card); border-color: var(--line); }
.cotton-flower {
  border: 1px solid rgba(112, 93, 66, .12);
  background: #fff6ef;
  box-shadow: 0 6px 18px rgba(112, 93, 66, .08);
}

.cotton-hero {
  width: min(1480px, calc(100% - 48px));
  min-height: 660px;
  margin: 28px auto 0;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: linear-gradient(145deg, #f9e5df, #fff4ea);
  box-shadow: 0 24px 70px rgba(95, 82, 75, .09);
}

.hero-copy { padding: 64px clamp(32px, 5vw, 78px); }

.hero-copy h1,
.collection h2,
.story h2 {
  font-size: clamp(44px, 4.8vw, 72px);
  line-height: 1.08;
  letter-spacing: -.052em;
}

.hero-description { margin: 26px 0; color: #5e6b64; font-size: 16px; }

.round-link {
  width: 220px;
  border: 0;
  border-radius: 999px;
  background: #fffaf5;
  padding: 8px 8px 8px 18px;
  box-shadow: 0 10px 30px rgba(82, 76, 70, .08);
}

.round-link span { background: var(--cotton-mint); }
.hero-photo { margin: 16px; border-radius: 22px; }
.hero-photo img { filter: saturate(.88) contrast(.96); }

.promise-strip {
  width: min(1380px, calc(100% - 48px));
  margin: 28px auto 0;
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  background: var(--cotton-mint);
}

.collection { width: min(1480px, 100%); margin-inline: auto; padding-block: 96px; }
.collection-heading { margin-bottom: 44px; }
.collection-heading h2 { font-size: clamp(38px, 4vw, 60px); }

.filter-row {
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.filter { min-width: 74px; background: var(--cotton-card); }
.filter.active { background: var(--leaf); color: #fff; }
.product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }

.product,
.product.feature,
.product.wide {
  grid-column: span 1;
  grid-row: auto;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--cotton-card);
  box-shadow: 0 14px 45px rgba(70, 82, 75, .07);
}

.product-photo,
.feature .product-photo,
.wide .product-photo {
  min-height: 0;
  aspect-ratio: 4 / 4.6;
  border-radius: 15px;
}

.product-info { padding: 18px 10px 14px; }
.product-info h3 { font-size: 21px; line-height: 1.3; }
.product-info strong { font-size: 16px; }

.add {
  border: 0;
  border-radius: 999px;
  background: var(--leaf);
  color: #fff;
  padding: 9px 13px;
}

.story {
  min-height: 520px;
  background: linear-gradient(120deg, #cbded4, #e5dfef);
  color: var(--ink);
}

.story-mark { color: rgba(85, 117, 104, .2); }
.story>p:last-child { color: #52635b; }
.bag { background: #fffaf5; }

.cotton-footer {
  min-height: auto;
  align-items: center;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-block: 42px;
}

.cotton-footer p {
  margin: 0;
  line-height: 1.5;
}

.footer-tagline { text-align: center; }
.footer-copyright { text-align: right; }

@media (max-width: 900px) {
  .cotton-header { grid-template-columns: 1fr auto; min-height: auto; }
  .header-actions { gap: 6px; }
  .main-button { padding: 11px 13px; }
  .cotton-nav {
    display: flex;
    grid-column: 1 / -1;
    gap: 22px;
    padding: 12px 2px 4px;
    overflow-x: auto;
    white-space: nowrap;
  }
  .cotton-hero {
    grid-template-columns: 1fr;
    width: min(100% - 24px, 680px);
    min-height: auto;
    margin-top: 12px;
    border-radius: 22px;
  }
  .hero-copy { min-height: auto; padding: 52px 24px 38px; }
  .hero-copy h1 { font-size: clamp(38px, 10vw, 54px); }
  .hero-photo { height: min(62vh, 560px); margin: 0 12px 12px; }
  .promise-strip { width: min(100% - 24px, 680px); margin-top: 14px; }
  .collection { padding: 70px 16px; }
  .collection-heading h2 { font-size: clamp(34px, 8vw, 48px); }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .product-info { display: block; }
  .product-info>div:last-child { margin-top: 14px; }
  .story h2 { font-size: clamp(36px, 9vw, 52px); }
  .cotton-footer {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 10px;
    padding-block: 34px;
  }
  .footer-tagline,
  .footer-copyright { text-align: left; }
}

@media (max-width: 560px) {
  body { font-size: 15px; }
  .cotton-wordmark { font-size: 12px; }
  .main-button, .bag-button, .cotton-nav { font-size: 12px; }
  .hero-copy { min-width: 0; padding: 42px 24px 32px; }
  .hero-copy h1 {
    max-width: 100%;
    font-size: clamp(32px, 9vw, 40px);
    overflow-wrap: anywhere;
    word-break: keep-all;
  }
  .hero-description { max-width: 100%; font-size: 14px; overflow-wrap: anywhere; }
  .product-grid { grid-template-columns: 1fr; }
  .product-photo,
  .feature .product-photo,
  .wide .product-photo { aspect-ratio: 4 / 4.8; }
  .product-info h3 { font-size: 20px; }
}
