/* ==================================================================
   331.today 購物超級 BLOG 系統 — 全站共用樣式
   風格：東方美學 × 現代簡約 ｜ 字型：思源黑體 Noto Sans TC
   ================================================================== */

:root {
  /* 色票 */
  --bg: #faf9f6;
  --bg-soft: #f4f1ea;
  --bg-card: #ffffff;
  --ink: #1c1917;
  --ink-soft: #57534e;
  --ink-mute: #8a8378;
  --line: #e6e0d4;
  --brand: #9a7b4f;      /* 金棕 */
  --brand-deep: #7c5f38;
  --brand-soft: #efe6d6;
  --accent: #b45309;     /* 暖褐 */
  --ok: #3f7d4e;
  --danger: #b3402e;
  --white: #ffffff;

  /* 字型 */
  --font: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;

  /* 尺寸 */
  --header-h: 68px;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 2px 10px rgba(28,25,23,.06);
  --shadow-lg: 0 12px 32px rgba(28,25,23,.10);
  --container: 1200px;
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }
input, select, textarea { font-family: inherit; font-size: 1rem; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ===== Header / 整合導航 ===== */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(250,249,246,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--container); margin: 0 auto;
  height: var(--header-h); padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 8px;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  color: #fff; font-weight: 700; font-size: 16px;
  display: grid; place-items: center; letter-spacing: -1px;
}
.brand-name { font-weight: 700; font-size: 1.05rem; letter-spacing: .02em; }
.brand-name small { display: block; font-size: .62rem; font-weight: 500; color: var(--ink-mute); letter-spacing: .18em; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  position: relative; padding: 8px 13px; font-size: .95rem; font-weight: 500;
  color: var(--ink-soft); border-radius: var(--radius-sm); transition: .18s;
}
.main-nav a:hover { color: var(--ink); background: var(--bg-soft); }
.main-nav a.active { color: var(--brand-deep); font-weight: 700; }
.main-nav a.active::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 3px;
  height: 2px; background: var(--brand); border-radius: 2px;
}
.header-actions { display: flex; align-items: center; gap: 10px; }

/* 購物車按鈕 + 徽章 */
.cart-btn { position: relative; display: grid; place-items: center; }
.cart-btn .icon-wrap {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; color: var(--ink);
  border: 1px solid var(--line); background: var(--white); transition: .18s;
}
.cart-btn:hover .icon-wrap { border-color: var(--brand); color: var(--brand-deep); }
.cart-badge {
  position: absolute; top: -4px; right: -6px; min-width: 20px; height: 20px;
  padding: 0 5px; border-radius: 20px; background: var(--accent); color: #fff;
  font-size: .72rem; font-weight: 700; line-height: 20px; text-align: center;
  display: none;
}
.cart-badge.show { display: block; }

/* 漢堡選單（行動） */
.nav-toggle { display: none; }

/* ===== Hero ===== */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(154,123,79,.18), transparent 60%),
    linear-gradient(180deg, var(--bg-soft), var(--bg));
  padding: 84px 0 64px;
}
.hero-inner { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--brand-deep); font-weight: 700; font-size: .85rem;
  letter-spacing: .22em; margin-bottom: 18px;
}
.hero-eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--brand); }
.hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.18; font-weight: 700; letter-spacing: .01em; }
.hero h1 .accent { color: var(--brand-deep); }
.hero-sub { margin-top: 16px; max-width: 560px; color: var(--ink-soft); font-size: 1.06rem; }
.hero-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }

/* ===== 按鈕 ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: var(--radius); font-weight: 700; font-size: .95rem;
  transition: .18s; border: 1px solid transparent;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #000; transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.btn-brand { background: linear-gradient(135deg, var(--brand), var(--brand-deep)); color: #fff; }
.btn-brand:hover { filter: brightness(1.05); transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.btn-ghost { background: var(--white); border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-deep); }
.btn-line { background: #06c755; color: #fff; }
.btn-line:hover { filter: brightness(1.05); transform: translateY(-1px); }
.btn-lg { padding: 15px 30px; font-size: 1.02rem; }
.btn-sm { padding: 8px 14px; font-size: .86rem; border-radius: 8px; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none !important; }

/* ===== 區塊標題 ===== */
.section { padding: 64px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 30px; }
.section-head h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; letter-spacing: .01em; }
.section-head p { color: var(--ink-mute); font-size: .95rem; }
.section-link { color: var(--brand-deep); font-weight: 700; font-size: .92rem; white-space: nowrap; }
.section-link:hover { text-decoration: underline; }

/* ===== 商品卡片 ===== */
.product-grid {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.product-card {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: .2s; display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.product-media { position: relative; aspect-ratio: 1/1; background: var(--bg-soft); overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.product-card:hover .product-media img { transform: scale(1.05); }
.product-tag {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  background: var(--ink); color: #fff; font-size: .72rem; font-weight: 700;
  padding: 3px 9px; border-radius: 20px; letter-spacing: .05em;
}
.product-tag.tag-sale { background: var(--accent); }
.product-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-cat { font-size: .74rem; color: var(--brand-deep); font-weight: 700; letter-spacing: .08em; }
.product-title { font-size: 1rem; font-weight: 700; line-height: 1.4; min-height: 2.8em; }
.product-desc { font-size: .84rem; color: var(--ink-mute); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: 10px; }
.product-price { font-weight: 800; color: var(--brand-deep); }
.product-price .cur { font-size: .78rem; font-weight: 600; margin-right: 2px; }
.product-price .orig { font-size: .8rem; color: var(--ink-mute); text-decoration: line-through; font-weight: 500; margin-left: 8px; }

/* 加入購物車小按鈕 */
.btn-add {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--bg-soft); display: grid; place-items: center; color: var(--ink); transition: .18s;
}
.btn-add:hover { background: var(--brand); color: #fff; }

/* ===== 分類 chip ===== */
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  padding: 8px 16px; border-radius: 30px; background: var(--white);
  border: 1px solid var(--line); font-size: .9rem; font-weight: 500; color: var(--ink-soft);
  transition: .16s; cursor: pointer;
}
.chip:hover { border-color: var(--brand); color: var(--brand-deep); }
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ===== 部落格卡片 ===== */
.blog-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.blog-card {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: .2s; display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-card .blog-media { aspect-ratio: 16/9; background: var(--bg-soft); overflow: hidden; }
.blog-card .blog-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.blog-card:hover .blog-media img { transform: scale(1.05); }
.blog-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.blog-meta { display: flex; align-items: center; gap: 10px; font-size: .78rem; color: var(--ink-mute); }
.blog-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--line); }
.blog-title { font-size: 1.08rem; font-weight: 700; line-height: 1.45; }
.blog-title:hover { color: var(--brand-deep); }
.blog-excerpt { font-size: .88rem; color: var(--ink-soft); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ===== 工具列 / 排序 ===== */
.toolbar {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  margin: 22px 0; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.result-count { font-weight: 700; color: var(--ink); }
.result-count span { color: var(--brand-deep); }
.select {
  padding: 9px 34px 9px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--white); color: var(--ink); font-size: .92rem; cursor: pointer; appearance: auto;
}

/* ===== 分頁 ===== */
.pagination { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 40px; flex-wrap: wrap; }
.page-btn {
  min-width: 40px; height: 40px; padding: 0 12px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: var(--white); font-weight: 600; font-size: .92rem;
  display: grid; place-items: center; transition: .15s;
}
.page-btn:hover:not(:disabled):not(.active) { border-color: var(--brand); color: var(--brand-deep); }
.page-btn.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.page-btn:disabled { opacity: .4; cursor: not-allowed; }
.page-info { margin-left: 10px; color: var(--ink-mute); font-size: .88rem; }

/* ===== 空狀態 ===== */
.empty-state { text-align: center; padding: 70px 20px; color: var(--ink-mute); }
.empty-state .icon { font-size: 3rem; margin-bottom: 14px; }
.empty-state p { margin-bottom: 20px; }

/* ===== 商品詳情頁 ===== */
.pd-shell { max-width: 1160px; margin: 0 auto; padding: 40px 20px 70px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: .86rem; color: var(--ink-mute); margin-bottom: 26px; }
.breadcrumb a:hover { color: var(--brand-deep); }
.breadcrumb .sep { color: var(--line); }
.pd-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px; }
.pd-gallery .pd-main-img {
  aspect-ratio: 1/1; border-radius: var(--radius); overflow: hidden;
  background: var(--bg-soft); border: 1px solid var(--line);
}
.pd-gallery .pd-main-img img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.pd-thumbs img {
  width: 72px; height: 72px; object-fit: cover; border-radius: var(--radius-sm);
  border: 2px solid var(--line); cursor: pointer; opacity: .7; transition: .15s;
}
.pd-thumbs img.on, .pd-thumbs img:hover { opacity: 1; border-color: var(--brand); }
.pd-info h1 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; line-height: 1.3; }
.pd-info .pd-cat { display: inline-block; margin: 14px 0 6px; color: var(--brand-deep); font-weight: 700; font-size: .84rem; letter-spacing: .1em; }
.pd-price { display: flex; align-items: baseline; gap: 12px; margin: 14px 0 6px; }
.pd-price .now { font-size: 2rem; font-weight: 800; color: var(--brand-deep); }
.pd-price .cur { font-size: 1rem; }
.pd-price .was { font-size: 1.05rem; color: var(--ink-mute); text-decoration: line-through; }
.pd-sku { font-size: .82rem; color: var(--ink-mute); margin-bottom: 18px; }
.pd-desc { color: var(--ink-soft); line-height: 1.9; margin-bottom: 26px; }
.pd-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 30px; }
.pd-specs { margin: 0 0 28px; border-top: 1px solid var(--line); padding-top: 18px; }
.pd-specs h4 { font-size: .95rem; color: var(--ink-soft); margin: 0 0 6px; }
.pd-specs ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 18px; }
.pd-specs li { display: flex; justify-content: space-between; gap: 12px; font-size: .88rem; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.pd-specs li span { color: var(--ink-mute); }
.pd-specs li b { color: var(--ink-soft); font-weight: 600; text-align: right; }
@media (max-width: 480px) { .pd-specs ul { grid-template-columns: 1fr; } }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; background: var(--white); }
.qty button { width: 42px; height: 46px; font-size: 1.2rem; color: var(--ink-soft); }
.qty button:hover { background: var(--bg-soft); }
.qty input { width: 52px; height: 46px; text-align: center; border: none; border-left: 1px solid var(--line); border-right: 1px solid var(--line); font-weight: 700; }
.pd-feats { display: grid; gap: 10px; border-top: 1px solid var(--line); padding-top: 22px; }
.pd-feat { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--ink-soft); }
.pd-feat .ico { color: var(--brand-deep); font-weight: 700; }

/* ===== 購物車頁 ===== */
.cart-shell { max-width: 1000px; margin: 0 auto; padding: 40px 20px 70px; }
.cart-shell h1 { font-size: 1.8rem; font-weight: 800; margin-bottom: 8px; }
.cart-sub { color: var(--ink-mute); margin-bottom: 28px; }
.cart-list { display: flex; flex-direction: column; gap: 14px; }
.cart-item {
  display: grid; grid-template-columns: 92px 1fr auto; gap: 18px; align-items: center;
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px;
}
.cart-item img { width: 92px; height: 92px; object-fit: cover; border-radius: var(--radius-sm); }
.ci-title { font-weight: 700; }
.ci-cat { font-size: .78rem; color: var(--brand-deep); margin-bottom: 6px; }
.ci-price { font-weight: 700; color: var(--brand-deep); margin-top: 6px; }
.ci-right { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.ci-remove { color: var(--ink-mute); font-size: .82rem; }
.ci-remove:hover { color: var(--danger); }
.cart-summary {
  margin-top: 26px; background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px;
}
.cs-row { display: flex; justify-content: space-between; padding: 8px 0; color: var(--ink-soft); }
.cs-row.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 16px; font-weight: 800; color: var(--ink); font-size: 1.15rem; }
.cs-row.total span:last-child { color: var(--brand-deep); }
.cart-actions { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }

/* ===== 結帳頁 ===== */
.co-shell { max-width: 900px; margin: 0 auto; padding: 40px 20px 70px; }
.co-shell h1 { font-size: 1.8rem; font-weight: 800; margin-bottom: 8px; }
.co-sub { color: var(--ink-mute); margin-bottom: 30px; }
.co-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: start; }
.co-form { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.co-form h2 { font-size: 1.1rem; font-weight: 800; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .86rem; font-weight: 700; margin-bottom: 6px; color: var(--ink-soft); }
.field label .req { color: var(--danger); }
.field input, .field textarea, .field select {
  width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--white); color: var(--ink); transition: .15s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(154,123,79,.12); }
.field textarea { min-height: 88px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.co-note { margin-top: 18px; padding: 14px; background: var(--bg-soft); border-radius: var(--radius-sm); font-size: .86rem; color: var(--ink-soft); }
.co-summary { position: sticky; top: calc(var(--header-h) + 20px); background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.co-summary h2 { font-size: 1.05rem; font-weight: 800; margin-bottom: 14px; }
.co-line { display: flex; justify-content: space-between; gap: 10px; font-size: .9rem; padding: 6px 0; color: var(--ink-soft); }
.co-line span:last-child { color: var(--ink); font-weight: 600; }
.co-summary .cs-row.total { margin-top: 14px; }

/* ===== 部落格文章 ===== */
.article-shell { max-width: 800px; margin: 0 auto; padding: 44px 20px 80px; }
.article-head { text-align: center; margin-bottom: 34px; }
.article-head .cat-badge {
  display: inline-block; padding: 5px 14px; border-radius: 20px;
  background: var(--brand-soft); color: var(--brand-deep); font-size: .8rem; font-weight: 700; margin-bottom: 16px;
}
.article-head h1 { font-size: clamp(1.7rem, 4vw, 2.5rem); font-weight: 800; line-height: 1.32; letter-spacing: .01em; }
.article-meta { margin-top: 16px; display: flex; justify-content: center; gap: 14px; color: var(--ink-mute); font-size: .86rem; flex-wrap: wrap; }
.article-cover { border-radius: var(--radius); overflow: hidden; margin-bottom: 30px; aspect-ratio: 16/9; background: var(--bg-soft); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-body { font-size: 1.04rem; color: var(--ink-soft); line-height: 2.05; }
.article-body h2 { font-size: 1.45rem; font-weight: 800; color: var(--ink); margin: 40px 0 14px; letter-spacing: .01em; }
.article-body h3 { font-size: 1.18rem; font-weight: 800; color: var(--ink); margin: 30px 0 12px; }
.article-body p { margin-bottom: 18px; }
.article-body ul, .article-body ol { margin: 0 0 20px 24px; }
.article-body li { margin-bottom: 8px; }
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body blockquote {
  border-left: 3px solid var(--brand); background: var(--bg-soft); padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 24px 0; color: var(--ink);
}
.article-body img { border-radius: var(--radius); margin: 20px 0; }
.article-body a { color: var(--brand-deep); text-decoration: underline; }
.article-toc {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 24px; margin: 0 0 30px;
}
.article-toc h2 { font-size: 1.05rem !important; margin: 0 0 12px !important; }
.article-toc ol { margin: 0 0 0 18px !important; }
.article-toc li { margin-bottom: 6px; }
.article-toc a { color: var(--ink-soft); }
.article-toc a:hover { color: var(--brand-deep); }
.article-cta {
  margin-top: 40px; background: linear-gradient(135deg, var(--bg-soft), var(--brand-soft));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; text-align: center;
}
.article-cta h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 8px; }
.article-cta p { color: var(--ink-soft); margin-bottom: 18px; }

/* ===== Footer ===== */
.site-footer { background: #16130f; color: #b8b2a6; margin-top: 40px; }
.footer-inner { max-width: var(--container); margin: 0 auto; padding: 48px 20px 30px; }
.footer-cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; margin-bottom: 34px; }
.footer-cols h3 { color: #fff; font-size: .95rem; font-weight: 700; margin-bottom: 14px; letter-spacing: .05em; }
.footer-cols a { display: block; padding: 4px 0; font-size: .9rem; transition: .15s; }
.footer-cols a:hover { color: #fff; }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { font-size: .9rem; margin-top: 10px; max-width: 320px; color: #9a9286; }
.footer-bottom { border-top: 1px solid #2a261f; padding-top: 20px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .84rem; color: #7a7468; }

/* ===== 響應式 ===== */
@media (max-width: 900px) {
  .pd-grid { grid-template-columns: 1fr; gap: 30px; }
  .co-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-toggle { display: grid; place-items: center; width: 42px; height: 42px; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch;
    background: var(--bg); padding: 10px; border-bottom: 1px solid var(--line); gap: 2px;
    transform: translateY(-120%); transition: .25s; box-shadow: var(--shadow-lg);
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { padding: 14px 16px; font-size: 1rem; }
  .main-nav a.active::after { display: none; }
  .footer-cols { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 72px 1fr; }
  .cart-item img { width: 72px; height: 72px; }
  .ci-right { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; }
}
