/* ============================================
   FLUO 플루오 — 카페24 초안 v2
   휴밀 톤(크림/세이지) + 싱파우밀 구조 블렌딩
   반려동물 비건 간식/사료 브랜드
   ============================================ */

/* ---------- 1. CSS Variables ---------- */
:root {
  /* 메인 톤 — 휴밀에서 가져온 sage + cream */
  --c-sage:       #8A9A6A;
  --c-sage-dark:  #6B7A4F;
  --c-sage-soft:  #DCE4CC;
  --c-sage-pale:  #EEF2E2;

  --c-cream:      #FAF6EC;     /* 베이스 배경 */
  --c-cream-warm: #F5EEDC;     /* 소프트 박스 */
  --c-cream-deep: #EDE3CB;     /* 강조 배경 */

  /* 플루오 로고 컬러 — 액센트로만 사용 */
  --c-pink:   #F4B8C8;          /* 톤다운된 핑크 */
  --c-yellow: #EFD27A;
  --c-sky:    #A8D4E0;
  --c-lime:   #C5D67A;

  /* alias */
  --c-primary:      var(--c-sage);
  --c-primary-dark: var(--c-sage-dark);
  --c-accent:       var(--c-pink);

  --c-bg:        var(--c-cream);
  --c-bg-alt:    #FFFFFF;
  --c-bg-soft:   var(--c-cream-warm);
  --c-text:      #2A2A28;
  --c-text-soft: #6E6B62;
  --c-line:      #E5DECC;
  --c-card:      #FFFFFF;

  /* 휴밀 톤은 덜 둥글게 */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-pill: 999px;

  /* 그림자 거의 안 쓰고 보더 위주 */
  --shadow-sm: 0 1px 2px rgba(43, 43, 40, 0.03);
  --shadow-md: 0 4px 12px rgba(43, 43, 40, 0.05);
  --shadow-lg: 0 12px 32px rgba(43, 43, 40, 0.08);

  --container: 1280px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- 2. Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.005em;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; transition: color var(--transition); }

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul { list-style: none; padding: 0; margin: 0; }

/* ---------- 3. Layout helpers ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* 휴밀 스타일: 더 넓은 섹션 여백 */
.section {
  padding: 120px 0;
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .container { padding: 0 20px; }
}

.section-head {
  text-align: center;
  margin-bottom: 64px;
}

.section-label {
  display: inline-block;
  color: var(--c-sage-dark);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  line-height: 1.3;
}

.section-sub {
  font-size: 15px;
  color: var(--c-text-soft);
  margin: 0;
  line-height: 1.7;
}

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 32px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--c-sage-dark);
  color: #fff;
}
.btn-primary:hover {
  background: var(--c-text);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--c-text);
  border: 1.5px solid var(--c-text);
}
.btn-outline:hover {
  background: var(--c-text);
  color: #fff;
}

.btn-arrow::after {
  content: '→';
  font-size: 15px;
  transition: transform var(--transition);
}
.btn-arrow:hover::after { transform: translateX(4px); }

/* ---------- 5. Top notice bar ---------- */
.notice-bar {
  background: var(--c-text);
  color: #fff;
  font-size: 12.5px;
  text-align: center;
  padding: 11px 16px;
  letter-spacing: 0.02em;
  font-weight: 400;
}
.notice-bar strong {
  color: var(--c-yellow);
  margin-right: 8px;
  letter-spacing: 0.1em;
  font-weight: 600;
}

/* ---------- 6. Header (2-row, SingPawMeal style) ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 236, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-line);
}

/* row 1: utility bar */
.header-utility {
  border-bottom: 1px solid var(--c-line);
  font-size: 12px;
  color: var(--c-text-soft);
}
.header-utility-inner {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: 38px;
  gap: 22px;
}
.header-utility a {
  position: relative;
  padding: 0 0 0 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.header-utility a:not(:first-child)::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 1px; height: 11px;
  background: var(--c-line);
}
.header-utility a:first-child { padding-left: 0; }
.header-utility a:hover { color: var(--c-sage-dark); }

/* row 2: main */
.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  height: 84px;
}

.header-logo img {
  height: 40px;
  width: auto;
}

.header-nav {
  display: flex;
  gap: 32px;
  flex: 1;
  margin-left: 32px;
}

.header-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--c-text);
  letter-spacing: -0.01em;
  position: relative;
  padding: 8px 0;
  white-space: nowrap;
}
.header-nav a:hover { color: var(--c-sage-dark); }
.header-nav a.active {
  color: var(--c-sage-dark);
  font-weight: 600;
}
.header-nav a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--c-sage-dark);
  border-radius: 2px;
}
.header-nav a .badge-leaf {
  margin-left: 3px;
  font-size: 12px;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 4px;
}
.header-tools a, .header-tools button {
  width: 42px; height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background var(--transition);
  position: relative;
}
.header-tools a:hover, .header-tools button:hover { background: var(--c-cream-warm); }
.header-tools svg { width: 20px; height: 20px; stroke: var(--c-text); }
.header-tools .cart-count {
  position: absolute;
  top: 4px; right: 4px;
  min-width: 18px; height: 18px;
  background: var(--c-sage-dark);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}

.header-burger {
  display: none;
  width: 42px; height: 42px;
  align-items: center;
  justify-content: center;
}
.header-burger svg { width: 22px; height: 22px; stroke: var(--c-text); }

@media (max-width: 1024px) {
  .header-utility { display: none; }
  .header-nav { display: none; }
  .header-burger { display: inline-flex; }
  .header-main { height: 68px; }
  .header-logo img { height: 32px; }
}

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(170deg, var(--c-cream) 0%, var(--c-cream-warm) 60%, var(--c-sage-pale) 100%);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 100px 0 120px;
}

.hero-text { max-width: 560px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--c-line);
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--c-sage-dark);
  margin-bottom: 28px;
  text-transform: uppercase;
}
.hero-badge::before {
  content: ''; width: 6px; height: 6px;
  background: var(--c-sage); border-radius: 50%;
}

.hero-title {
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin: 0 0 28px;
  color: var(--c-text);
}
.hero-title em {
  font-style: normal;
  font-weight: 700;
  color: var(--c-sage-dark);
  position: relative;
  display: inline-block;
}
.hero-title em::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 4px;
  height: 12px;
  background: var(--c-sage-soft);
  z-index: -1;
  opacity: 0.7;
}

.hero-desc {
  font-size: 16px;
  color: var(--c-text-soft);
  margin: 0 0 40px;
  line-height: 1.8;
}

.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-character {
  width: 100%;
  max-width: 440px;
  filter: drop-shadow(0 14px 30px rgba(106, 122, 79, 0.12));
  animation: float 5s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

/* 톤다운된 장식 도트 */
.hero-dot {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
  opacity: 0.5;
}
.hero-dot.d1 { width: 80px;  height: 80px;  background: var(--c-yellow); top: 8%;     left: 6%; }
.hero-dot.d2 { width: 60px;  height: 60px;  background: var(--c-sky);    bottom: 12%; left: 10%; opacity: 0.4;}
.hero-dot.d3 { width: 100px; height: 100px; background: var(--c-pink);   top: 16%;    right: 8%;  opacity: 0.35; }
.hero-dot.d4 { width: 50px;  height: 50px;  background: var(--c-lime);   bottom: 18%; right: 14%; }

@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    padding: 56px 0 72px;
    text-align: center;
  }
  .hero-text { margin: 0 auto; }
  .hero-character { max-width: 280px; margin: 0 auto; }
  .hero-ctas { justify-content: center; }
  .hero-dot { display: none; }
}

/* ---------- 8. Category Quick Links ---------- */
.cat {
  background: var(--c-bg-alt);
}
.cat-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.cat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 32px 16px;
  background: var(--c-cream);
  border-radius: var(--r-md);
  transition: all var(--transition);
  border: 1px solid transparent;
}
.cat-item:hover {
  transform: translateY(-3px);
  border-color: var(--c-line);
  background: var(--c-cream-warm);
}
.cat-icon {
  width: 60px; height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 28px;
}
.cat-icon.c1 { background: var(--c-sage-pale); }
.cat-icon.c2 { background: var(--c-cream-deep); }
.cat-icon.c3 { background: #E8EFE0; }
.cat-icon.c4 { background: #F0E5D2; }
.cat-icon.c5 { background: #DDE7CC; }

.cat-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--c-text);
  letter-spacing: -0.01em;
}
.cat-count {
  font-size: 11px;
  color: var(--c-text-soft);
  letter-spacing: 0.05em;
}

@media (max-width: 768px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .cat-item { padding: 20px 8px; gap: 12px; }
  .cat-icon { width: 48px; height: 48px; font-size: 24px; }
  .cat-name { font-size: 13px; }
}

/* ---------- 9. Products grid ---------- */
.products {
  background: var(--c-bg);
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.pcard {
  background: transparent;
  transition: all var(--transition);
}
.pcard:hover .pcard-thumb img { transform: scale(1.04); }
.pcard:hover .pcard-name { color: var(--c-sage-dark); }

.pcard-thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--c-cream-warm);
  border-radius: var(--r-md);
  margin-bottom: 18px;
}
.pcard-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.pcard-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 12px;
  background: var(--c-text);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  border-radius: var(--r-pill);
  letter-spacing: 0.08em;
}
.pcard-badge.new   { background: var(--c-sage); }
.pcard-badge.best  { background: var(--c-text); }
.pcard-badge.hit   { background: var(--c-pink); color: var(--c-text); }

.pcard-body {
  padding: 0 4px;
}
.pcard-cat {
  font-size: 11px;
  color: var(--c-text-soft);
  margin: 0 0 6px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.pcard-name {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 8px;
  line-height: 1.45;
  color: var(--c-text);
  letter-spacing: -0.01em;
  transition: color var(--transition);
}
.pcard-desc {
  font-size: 13px;
  color: var(--c-text-soft);
  margin: 0 0 14px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pcard-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.pcard-price {
  font-size: 16px;
  font-weight: 700;
  color: var(--c-text);
  letter-spacing: -0.01em;
}
.pcard-was {
  font-size: 13px;
  color: var(--c-text-soft);
  text-decoration: line-through;
}
.pcard-discount {
  font-size: 14px;
  font-weight: 700;
  color: #C0524A;     /* 깊은 적갈색 — 채도 낮은 빨강 */
  margin-right: 4px;
}

@media (max-width: 1024px) { .products-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px)  { .products-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }

/* ---------- 10. Brand Story ---------- */
.story {
  background: var(--c-cream-warm);
}
.story-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.story-image {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--r-lg);
  overflow: hidden;
}
.story-image img { width: 100%; height: 100%; object-fit: cover; }

.story-text { max-width: 480px; }
.story-text h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.3;
  margin: 0 0 24px;
}
.story-text h2 em {
  font-style: normal;
  color: var(--c-sage-dark);
}
.story-text p {
  font-size: 15.5px;
  color: var(--c-text-soft);
  line-height: 1.85;
  margin: 0 0 16px;
}
.story-checks {
  margin: 32px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-top: 1px solid var(--c-line);
  padding-top: 28px;
}
.story-checks li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14.5px;
  color: var(--c-text);
  font-weight: 500;
}
.story-checks li::before {
  content: '';
  flex-shrink: 0;
  width: 22px; height: 22px;
  background: var(--c-sage);
  border-radius: 50%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-size: 13px;
  background-repeat: no-repeat;
  background-position: center;
}

@media (max-width: 768px) {
  .story-inner { grid-template-columns: 1fr; gap: 40px; }
}

/* ---------- 11. Stores ---------- */
.stores {
  background: var(--c-bg-alt);
}
.stores-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  height: 580px;
}
.stores-tile {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
}
.stores-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.stores-tile:hover img { transform: scale(1.04); }
.stores-tile.t1 { grid-row: span 2; }
.stores-tile.t1 .stores-cap { font-size: 18px; padding: 8px 16px; }

.stores-cap {
  position: absolute;
  left: 16px; bottom: 16px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.94);
  border-radius: var(--r-pill);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--c-text);
  letter-spacing: -0.01em;
}

@media (max-width: 768px) {
  .stores-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 200px 200px 200px;
    height: auto;
  }
  .stores-tile.t1 { grid-row: span 1; grid-column: span 2; }
  .stores-tile.t1 .stores-cap { font-size: 14px; }
}

/* ---------- 12. Promo (정기배송) ---------- */
.promo {
  padding: 80px 0;
  background: var(--c-bg);
}
.promo-card {
  background: var(--c-sage-dark);
  border-radius: var(--r-lg);
  padding: 64px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: center;
  position: relative;
  overflow: hidden;
  color: #fff;
}
.promo-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 90% 110%, rgba(239, 210, 122, 0.25) 0%, transparent 45%),
    radial-gradient(circle at 10% 0%, rgba(244, 184, 200, 0.18) 0%, transparent 40%);
}
.promo-text { position: relative; z-index: 1; }
.promo-text small {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.promo-text h3 {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.3;
  color: #fff;
  margin: 0 0 16px;
}
.promo-text p {
  font-size: 15px;
  color: rgba(255,255,255,0.85);
  margin: 0 0 28px;
  line-height: 1.75;
}
.promo-text .btn {
  background: #fff;
  color: var(--c-sage-dark);
}
.promo-text .btn:hover {
  background: var(--c-cream);
  color: var(--c-text);
}

.promo-img {
  position: relative;
  z-index: 1;
  text-align: right;
}
.promo-img img {
  max-width: 280px;
  margin-left: auto;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.15));
}

@media (max-width: 768px) {
  .promo-card {
    grid-template-columns: 1fr;
    padding: 44px 32px;
    text-align: center;
  }
  .promo-img img { margin: 0 auto; max-width: 200px; }
}

/* ---------- 13. Footer ---------- */
.footer {
  background: var(--c-text);
  color: #B0ADA1;
  padding: 72px 0 32px;
  font-size: 13px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand img {
  height: 36px;
  margin-bottom: 20px;
  filter: brightness(0) invert(1) opacity(0.9);
}
.footer-brand p {
  margin: 0 0 22px;
  line-height: 1.75;
  color: #888577;
}
.footer-sns {
  display: flex; gap: 8px;
}
.footer-sns a {
  width: 36px; height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  transition: all var(--transition);
}
.footer-sns a:hover { background: var(--c-sage); }
.footer-sns svg { width: 17px; height: 17px; stroke: #fff; }

.footer-col h4 {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 18px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.footer-col li { margin-bottom: 11px; }
.footer-col a:hover { color: #fff; }

.footer-bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: #6E6B62;
}
.footer-bottom-info {
  line-height: 1.8;
}
.footer-bottom-info span { margin-right: 14px; }

@media (max-width: 768px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: span 2; }
}

/* ---------- 14. Mobile drawer ---------- */
.drawer {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  z-index: 100;
}
.drawer.open { opacity: 1; pointer-events: auto; }
.drawer-panel {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: min(320px, 80vw);
  background: var(--c-cream);
  padding: 24px;
  transform: translateX(100%);
  transition: transform 0.3s;
}
.drawer.open .drawer-panel { transform: translateX(0); }
.drawer-close {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  margin-left: auto;
}
.drawer-nav {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.drawer-nav a {
  padding: 14px 12px;
  border-radius: var(--r-sm);
  font-size: 15px;
  font-weight: 500;
}
.drawer-nav a:hover { background: var(--c-cream-warm); }


/* ============================================
   PAGE-SPECIFIC STYLES (sub pages)
   ============================================ */

/* ---------- Page Hero (sub) ---------- */
.page-hero {
  padding: 72px 0 48px;
  background: var(--c-cream-warm);
  text-align: center;
}
.page-hero .breadcrumb {
  font-size: 12px;
  color: var(--c-text-soft);
  letter-spacing: 0.05em;
  margin-bottom: 18px;
}
.page-hero .breadcrumb a:hover { color: var(--c-sage-dark); }
.page-hero .breadcrumb span { margin: 0 8px; opacity: 0.5; }
.page-hero h1 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0 0 14px;
  line-height: 1.3;
}
.page-hero p {
  font-size: 15px;
  color: var(--c-text-soft);
  margin: 0;
  line-height: 1.7;
}

/* ---------- Filter bar (category page) ---------- */
.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 28px 0;
  border-bottom: 1px solid var(--c-line);
  margin-bottom: 40px;
}
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.filter-tab {
  padding: 8px 18px;
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 500;
  color: var(--c-text-soft);
  border: 1px solid var(--c-line);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition);
}
.filter-tab:hover { color: var(--c-text); }
.filter-tab.active {
  background: var(--c-text);
  color: #fff;
  border-color: var(--c-text);
}
.filter-sort {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: var(--c-text-soft);
}
.filter-sort select {
  padding: 8px 30px 8px 14px;
  border: 1px solid var(--c-line);
  border-radius: var(--r-pill);
  background: #fff;
  font-size: 13px;
  font-family: inherit;
  color: var(--c-text);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232a2a28' stroke-width='2' stroke-linecap='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px;
}

/* ---------- Product Detail Page ---------- */
.pdp {
  padding: 60px 0 100px;
}
.pdp-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: flex-start;
}
.pdp-gallery {
  position: sticky;
  top: 140px;
}
.pdp-main-img {
  aspect-ratio: 1/1;
  background: var(--c-cream-warm);
  border-radius: var(--r-md);
  overflow: hidden;
  margin-bottom: 12px;
}
.pdp-main-img img { width: 100%; height: 100%; object-fit: cover; }
.pdp-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.pdp-thumb {
  aspect-ratio: 1/1;
  border-radius: var(--r-sm);
  overflow: hidden;
  background: var(--c-cream-warm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color var(--transition);
}
.pdp-thumb.active { border-color: var(--c-sage-dark); }
.pdp-thumb img { width: 100%; height: 100%; object-fit: cover; }

.pdp-info { padding-top: 8px; }
.pdp-cat {
  font-size: 12px;
  color: var(--c-sage-dark);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 14px;
}
.pdp-title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin: 0 0 12px;
}
.pdp-sub {
  font-size: 14px;
  color: var(--c-text-soft);
  margin: 0 0 28px;
  line-height: 1.7;
}
.pdp-rating {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  font-size: 13px;
  color: var(--c-text-soft);
}
.pdp-rating .stars { color: var(--c-yellow); font-size: 14px; letter-spacing: 1px; }

.pdp-price-block {
  padding: 24px 0;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  margin-bottom: 28px;
}
.pdp-discount-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 4px;
}
.pdp-discount {
  font-size: 22px;
  font-weight: 700;
  color: #C0524A;
}
.pdp-was { font-size: 14px; color: var(--c-text-soft); text-decoration: line-through; }
.pdp-price { font-size: 32px; font-weight: 700; letter-spacing: -0.02em; }
.pdp-price small { font-size: 14px; font-weight: 500; color: var(--c-text-soft); margin-left: 4px; }

.pdp-options {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}
.pdp-option-row {
  display: flex;
  align-items: center;
  gap: 14px;
}
.pdp-option-row label {
  width: 80px;
  font-size: 13px;
  color: var(--c-text-soft);
  font-weight: 500;
}
.pdp-option-row select {
  flex: 1;
  padding: 12px 36px 12px 16px;
  border: 1px solid var(--c-line);
  border-radius: var(--r-sm);
  font-family: inherit;
  font-size: 14px;
  background: #fff;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232a2a28' stroke-width='2' stroke-linecap='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px;
  cursor: pointer;
}
.pdp-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--c-line);
  border-radius: var(--r-sm);
  overflow: hidden;
}
.pdp-qty button {
  width: 38px; height: 38px;
  background: #fff;
  font-size: 16px;
  color: var(--c-text);
  transition: background var(--transition);
}
.pdp-qty button:hover { background: var(--c-cream-warm); }
.pdp-qty input {
  width: 50px; height: 38px;
  border: 0;
  border-left: 1px solid var(--c-line);
  border-right: 1px solid var(--c-line);
  text-align: center;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  background: #fff;
}
.pdp-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 18px 0;
  border-top: 1px dashed var(--c-line);
  border-bottom: 1px dashed var(--c-line);
  margin-bottom: 24px;
}
.pdp-total span:first-child { font-size: 14px; color: var(--c-text-soft); }
.pdp-total strong { font-size: 24px; letter-spacing: -0.02em; color: var(--c-sage-dark); }

.pdp-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.pdp-cta .btn {
  width: 100%;
  padding: 17px 24px;
  font-size: 15px;
}
.pdp-meta {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--c-line);
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
  color: var(--c-text-soft);
}
.pdp-meta div { display: flex; gap: 12px; align-items: center; }
.pdp-meta strong { color: var(--c-text); font-weight: 500; min-width: 80px; }

.pdp-tabs {
  margin-top: 96px;
  border-top: 1px solid var(--c-line);
}
.pdp-tabs-nav {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--c-line);
  position: sticky;
  top: 122px;
  background: var(--c-bg);
  z-index: 10;
}
.pdp-tabs-nav a {
  padding: 18px 28px;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-text-soft);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.pdp-tabs-nav a.active {
  color: var(--c-text);
  border-bottom-color: var(--c-sage-dark);
}
.pdp-tab-section { padding: 64px 0; border-bottom: 1px solid var(--c-line); }
.pdp-tab-section h3 {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 24px;
  letter-spacing: -0.015em;
}
.pdp-detail-img { margin: 24px auto; border-radius: var(--r-md); overflow: hidden; max-width: 720px; }
.pdp-detail-img img { width: 100%; height: auto; }

.pdp-spec-table {
  width: 100%;
  border-top: 1px solid var(--c-text);
  font-size: 14px;
}
.pdp-spec-table th, .pdp-spec-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--c-line);
  vertical-align: top;
}
.pdp-spec-table th {
  width: 180px;
  font-weight: 500;
  color: var(--c-text-soft);
  background: var(--c-cream-warm);
}

@media (max-width: 768px) {
  .pdp-grid { grid-template-columns: 1fr; gap: 32px; }
  .pdp-gallery { position: static; }
  .pdp-cta { grid-template-columns: 1fr; }
  .pdp-tabs-nav { overflow-x: auto; }
  .pdp-tabs-nav a { padding: 16px 18px; flex-shrink: 0; }
}

/* ---------- Stores Page ---------- */
.stores-search {
  display: flex;
  gap: 10px;
  max-width: 540px;
  margin: 0 auto 48px;
}
.stores-search input {
  flex: 1;
  padding: 14px 22px;
  border: 1px solid var(--c-line);
  border-radius: var(--r-pill);
  font-family: inherit;
  font-size: 14px;
  background: #fff;
}
.stores-search input:focus { outline: none; border-color: var(--c-sage-dark); }

.stores-map {
  aspect-ratio: 16/7;
  background: var(--c-cream-warm) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B0AD9F' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'><path d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/><circle cx='12' cy='10' r='3'/></svg>") center/64px no-repeat;
  border-radius: var(--r-md);
  margin-bottom: 56px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 24px;
}
.stores-map small {
  font-size: 12px;
  color: var(--c-text-soft);
  background: rgba(255,255,255,0.85);
  padding: 6px 14px;
  border-radius: var(--r-pill);
}

.stores-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.store-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: 28px;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  transition: border-color var(--transition);
}
.store-card:hover { border-color: var(--c-sage-dark); }
.store-card-img {
  aspect-ratio: 1/1;
  border-radius: var(--r-sm);
  overflow: hidden;
  background: var(--c-cream-warm);
}
.store-card-img img { width: 100%; height: 100%; object-fit: cover; }
.store-card-body h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.store-card-body .store-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  background: var(--c-sage-pale);
  color: var(--c-sage-dark);
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 10px;
}
.store-card-body p {
  margin: 0 0 6px;
  font-size: 13px;
  color: var(--c-text-soft);
  line-height: 1.55;
}
.store-card-body strong {
  font-weight: 500;
  color: var(--c-text);
  margin-right: 6px;
}

@media (max-width: 768px) {
  .stores-list { grid-template-columns: 1fr; }
  .store-card { grid-template-columns: 100px 1fr; padding: 18px; gap: 14px; }
}

/* ---------- Subscribe Page ---------- */
.sub-hero {
  padding: 96px 0;
  background: linear-gradient(135deg, var(--c-sage-pale) 0%, var(--c-cream-warm) 100%);
  text-align: center;
}
.sub-hero .badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--c-sage-dark);
  color: #fff;
  border-radius: var(--r-pill);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  margin-bottom: 20px;
}
.sub-hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 0 0 20px;
}
.sub-hero p {
  font-size: 16px;
  color: var(--c-text-soft);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.8;
}

.sub-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.sub-step {
  text-align: center;
  padding: 36px 24px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
}
.sub-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--c-sage-pale);
  color: var(--c-sage-dark);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: 0.05em;
}
.sub-step h4 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.sub-step p {
  font-size: 14px;
  color: var(--c-text-soft);
  margin: 0;
  line-height: 1.7;
}

.sub-benefits {
  background: var(--c-cream-warm);
}
.sub-benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.sub-benefit {
  text-align: center;
}
.sub-benefit-icon {
  font-size: 36px;
  margin-bottom: 16px;
}
.sub-benefit h5 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 8px;
}
.sub-benefit p {
  font-size: 13px;
  color: var(--c-text-soft);
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .sub-steps { grid-template-columns: 1fr; }
  .sub-benefits-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- Brand Page ---------- */
.brand-intro {
  padding: 100px 0;
  text-align: center;
  background: var(--c-cream-warm);
}
.brand-intro h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.4;
  max-width: 780px;
  margin: 0 auto 28px;
}
.brand-intro p {
  font-size: 16px;
  color: var(--c-text-soft);
  line-height: 1.9;
  max-width: 600px;
  margin: 0 auto;
}

.brand-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.brand-pillar {
  padding: 40px 28px;
  background: var(--c-cream);
  border-radius: var(--r-md);
  text-align: center;
}
.brand-pillar-num {
  font-size: 12px;
  color: var(--c-sage-dark);
  letter-spacing: 0.18em;
  font-weight: 600;
  margin-bottom: 14px;
}
.brand-pillar h4 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
}
.brand-pillar p {
  font-size: 14px;
  color: var(--c-text-soft);
  line-height: 1.75;
  margin: 0;
}

.brand-image-feature {
  position: relative;
  aspect-ratio: 16/8;
  border-radius: var(--r-lg);
  overflow: hidden;
  margin: 64px 0;
}
.brand-image-feature img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 768px) {
  .brand-pillars { grid-template-columns: 1fr; }
}

/* ---------- Cart Page ---------- */
.cart-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
}
.cart-list {
  border-top: 1px solid var(--c-text);
}
.cart-item {
  display: grid;
  grid-template-columns: 96px 1fr auto auto;
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid var(--c-line);
  align-items: center;
}
.cart-item-img {
  aspect-ratio: 1/1;
  border-radius: var(--r-sm);
  overflow: hidden;
  background: var(--c-cream-warm);
}
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info h4 {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 4px;
}
.cart-item-info small {
  font-size: 12px;
  color: var(--c-text-soft);
}
.cart-item-price {
  font-size: 15px;
  font-weight: 700;
  text-align: right;
}
.cart-item-remove {
  width: 32px; height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--c-text-soft);
}
.cart-item-remove:hover { background: var(--c-cream-warm); color: var(--c-text); }

.cart-summary {
  padding: 28px;
  background: var(--c-cream-warm);
  border-radius: var(--r-md);
  height: fit-content;
  position: sticky;
  top: 140px;
}
.cart-summary h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 20px;
  letter-spacing: -0.01em;
}
.cart-summary-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 14px;
}
.cart-summary-row.total {
  margin-top: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--c-line);
  font-size: 16px;
  font-weight: 700;
}
.cart-summary-row.total strong { color: var(--c-sage-dark); font-size: 22px; letter-spacing: -0.02em; }
.cart-summary .btn { width: 100%; margin-top: 20px; }

@media (max-width: 768px) {
  .cart-grid { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 80px 1fr; gap: 14px; }
  .cart-item-price, .cart-item-remove { grid-column: span 2; }
  .cart-summary { position: static; }
}
