:root {
  --violet: #534696;
  --violet-dark: #43367f;
  --violet-deep: #3a2e72;
  --lime: #d8eb3a;
  --lime-2: #c6d92a;
  --sky: #5ec4f3;
  --sky-2: #8fd8f8;
  --ink: #241f3d;
  --muted: #6c6786;
  --line: #ece8f5;
  --soft: #f7f5fc;
  --sale: #ef4b5b;
  --new: #1aa36a;
  --hot: #534696;
  --star: #f5b301;
  --danger: #b42318;
  --shadow: 0 14px 36px rgba(60, 45, 120, 0.1);
  --max: 1240px;
  --header: 78px;
}

[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Nunito, "Trebuchet MS", "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--violet); text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { line-height: 1.2; letter-spacing: -0.03em; }
p { margin: 0 0 12px; }

.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); border: 0;
}
.noscript {
  background: var(--lime);
  color: var(--ink);
  text-align: center;
  padding: 10px 16px;
  font-weight: 800;
}

.site-header {
  background: var(--violet);
  position: sticky;
  top: 0;
  z-index: 30;
  box-shadow: 0 8px 24px rgba(36, 24, 80, 0.16);
}
.header-inner {
  min-height: var(--header);
  display: flex;
  align-items: center;
  gap: 18px;
}
.logo { display: flex; align-items: center; gap: 10px; min-width: max-content; }
.logo img { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; }
.logo-word {
  font-family: Pacifico, cursive;
  color: #fff;
  font-size: 28px;
  letter-spacing: 0;
  line-height: 1;
}
.main-nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.main-nav a {
  color: #fff;
  font-weight: 800;
  padding: 8px 12px;
  border-radius: 999px;
}
.main-nav a:hover, .main-nav a.active { background: rgba(255, 255, 255, 0.16); }
.header-tools { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.search-form {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 999px;
  padding: 4px 4px 4px 14px;
  min-width: 210px;
}
.search-form input {
  border: 0; outline: 0; width: 150px; background: transparent; padding: 8px 0;
}
.search-form button, .icon-btn, .nav-toggle, .share-btn, .wish-btn {
  border: 0; background: transparent; cursor: pointer;
}
.search-form button, .icon-btn, .nav-toggle {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; color: var(--violet); position: relative;
}
.icon-btn, .nav-toggle { color: #fff; }
.icon-btn:hover, .nav-toggle:hover { background: rgba(255, 255, 255, 0.14); }
.search-form button:hover { background: var(--soft); }
.icon-btn svg, .search-form svg, .nav-toggle svg, .wish-btn svg, .share-btn svg {
  width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linejoin: round; stroke-linecap: round;
}
.count {
  position: absolute; top: 2px; right: 0;
  min-width: 18px; height: 18px; padding: 0 4px;
  border-radius: 99px; background: var(--lime); color: var(--ink);
  font-size: 11px; font-weight: 800; display: grid; place-items: center;
}
.nav-toggle, .search-form-mobile { display: none; }

.hero {
  background: linear-gradient(180deg, #8fd8f8 0%, #5ec4f3 48%, #49b6ee 100%);
  padding: 28px 0 36px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 270px minmax(240px, 1fr) minmax(280px, 1.05fr);
  gap: 28px;
  align-items: center;
}
.dept-card, .filter-card, .form-card, .summary, .blog-card, .value-card, .order-card, .prose, .product-card, .deal-card {
  background: #fff;
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.dept-card { padding: 16px; }
.dept-card h2 { margin: 4px 8px 10px; font-size: 18px; }
.dept-card a {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 10px; border-radius: 12px; color: var(--ink); font-weight: 800;
}
.dept-card a:hover { background: #f3efff; color: var(--violet); }
.dept-ico {
  width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center;
  background: #f3efff; color: var(--violet); flex: none;
}
.dept-ico svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.hero-copy h1 { margin: 8px 0 12px; font-size: clamp(40px, 5vw, 64px); color: #fff; }
.hero-copy p { color: #f4fbff; font-size: 17px; max-width: 460px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  font-size: 12px; color: var(--violet); margin: 0 0 8px;
}
.eyebrow.light, .sale-copy .eyebrow { color: var(--lime); }
.hero-visual { position: relative; }
.hero-visual img {
  width: 100%; height: 430px; object-fit: cover; object-position: 70% center;
  border-radius: 30px 80px 30px 80px;
  box-shadow: 0 18px 40px rgba(20, 70, 110, 0.18);
}
.choice-badge {
  position: absolute; left: 6%; bottom: 14%;
  width: 96px; height: 96px; border-radius: 50%;
  background: var(--lime); color: var(--ink);
  display: grid; place-items: center; text-align: center;
  font-weight: 800; transform: rotate(-12deg);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.section { padding: 72px 0; }
.section-head { text-align: center; margin-bottom: 28px; }
.section-head h2, .page-hero h1, .prose h1, .form-card h1, .thanks-panel h1, .empty-panel h1 {
  margin: 0;
  font-size: clamp(30px, 4vw, 40px);
  color: #2a2550;
}
.section-head p { color: var(--muted); max-width: 620px; margin: 8px auto 0; }

.cat-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.cat-tile { text-align: center; color: var(--ink); }
.cat-photo {
  width: 148px; height: 148px; margin: 0 auto 12px; border-radius: 28px;
  display: grid; place-items: center; background: var(--tint, #f4f1ff);
  transition: transform 0.2s ease;
}
.cat-tile:hover .cat-photo { transform: translateY(-4px); }
.cat-photo img { width: 116px; height: 116px; object-fit: cover; border-radius: 22px; }
.cat-tile strong { display: block; }
.cat-tile small { color: var(--muted); font-weight: 700; }

.tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.tab, .btn {
  border: 0; cursor: pointer; border-radius: 999px; font-weight: 800;
}
.tab {
  background: #fff; color: var(--violet); border: 1px solid #ddd7f0; padding: 8px 16px;
}
.tab.is-on, .tab:hover { background: var(--violet); color: #fff; border-color: var(--violet); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; text-decoration: none; transition: 0.2s transform, 0.2s background;
}
.btn:hover { transform: translateY(-1px); }
.btn-purple { background: var(--violet); color: #fff; }
.btn-purple:hover { background: var(--violet-dark); }
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-lime:hover { background: var(--lime-2); }
.btn-white { background: #fff; color: var(--violet); border: 1px solid #e4def3; }
.btn-sm { padding: 8px 12px; font-size: 14px; }
.btn:focus-visible, .tab:focus-visible, .icon-btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--lime); outline-offset: 2px;
}

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.product-card { overflow: hidden; box-shadow: none; border: 1px solid #f0ecf7; }
.product-card:hover { box-shadow: var(--shadow); }
.thumb { position: relative; background: var(--soft); aspect-ratio: 1; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.badge {
  position: absolute; top: 12px; left: 12px;
  color: #fff; font-size: 12px; font-weight: 800;
  border-radius: 999px; padding: 4px 9px;
}
.badge-sale { background: var(--sale); }
.badge-new { background: var(--new); }
.badge-hot { background: var(--hot); }
.wish-btn {
  position: absolute; top: 10px; right: 10px;
  width: 36px; height: 36px; border-radius: 50%; background: #fff; color: var(--violet);
  display: grid; place-items: center;
}
.wish-btn.is-on { background: var(--sale); color: #fff; }
.wish-btn.is-on svg { fill: currentColor; }
.wish-btn.static { position: static; border: 1px solid var(--line); }
.card-actions {
  position: absolute; left: 12px; right: 12px; bottom: 12px;
  display: flex; gap: 8px; opacity: 0; transform: translateY(6px); transition: 0.2s ease;
}
.product-card:hover .card-actions, .product-card:focus-within .card-actions { opacity: 1; transform: none; }
.info { padding: 14px 14px 16px; }
.info h3 { margin: 2px 0 6px; font-size: 16px; letter-spacing: 0; }
.info h3 a { color: var(--ink); }
.cat-label { margin: 0; color: var(--violet); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; }
.meta { display: flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 700; }
.stars { display: inline-flex; gap: 2px; }
.stars svg { width: 14px; height: 14px; fill: #e3dfec; }
.stars svg.on { fill: var(--star); }
.price { font-weight: 800; color: var(--violet); font-size: 18px; margin: 6px 0 0; }
.price-old, .meta s, .mini-row s { color: #9a96ad; text-decoration: line-through; font-weight: 700; margin-left: 8px; font-size: 14px; }
.price-lg { font-size: 32px; }

.sale-split, .mid-banner {
  display: grid; grid-template-columns: 1.15fr 0.85fr; border-radius: 28px; overflow: hidden;
  background: var(--violet); min-height: 420px;
}
.sale-photo img, .mid-banner img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.sale-copy, .mid-copy { color: #fff; padding: 42px 36px; display: flex; flex-direction: column; justify-content: center; }
.sale-copy h2, .mid-copy h2 { margin: 0 0 8px; font-size: clamp(36px, 4vw, 52px); color: #fff; }
.sale-copy p, .mid-copy p { color: #efeaff; }
.sale-total { font-size: 18px; }
.mini-row {
  display: grid; grid-template-columns: 72px 1fr; gap: 12px; align-items: center;
  background: rgba(255, 255, 255, 0.1); border-radius: 16px; padding: 8px; margin: 8px 0; color: #fff;
}
.sale-copy .mini-row strong, .sale-copy .mini-row em { color: #fff; }
.mini-row img { width: 72px; height: 72px; object-fit: cover; border-radius: 12px; }
.mini-row strong { display: block; color: var(--ink); font-size: 15px; }
.mini-row em { font-style: normal; font-weight: 800; color: var(--violet); }
.mini-list .mini-row { background: #fff; border: 1px solid var(--line); }
.mid-banner { grid-template-columns: 0.9fr 1.1fr; margin-top: 8px; }
.mid-copy .btn { align-self: flex-start; margin-top: 8px; }

.deal-grid, .trio, .blog-grid, .split, .checkout-layout, .cart-layout, .shop-layout, .detail-columns, .about-grid {
  display: grid; gap: 22px;
}
.deal-grid { grid-template-columns: 1.2fr 0.8fr; }
.deal-card { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 16px; }
.deal-main { grid-template-columns: 240px 1fr; }
.deal-photo img { width: 100%; height: 100%; min-height: 180px; object-fit: cover; border-radius: 16px; }
.deal-card h3 { margin: 0 0 8px; }
.deal-card h3 a { color: var(--ink); }
.countdown { display: flex; gap: 8px; margin: 12px 0; }
.countdown span {
  background: var(--violet); color: #fff; border-radius: 12px; min-width: 64px; text-align: center; padding: 8px 4px;
}
.countdown b { display: block; font-size: 20px; }
.countdown small { font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; }
.stock-meta { display: flex; justify-content: space-between; font-size: 14px; font-weight: 800; color: var(--muted); }
.stock-bar { height: 8px; background: #ece9f6; border-radius: 99px; margin: 6px 0 14px; overflow: hidden; }
.stock-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--lime), var(--violet)); }

.trio { grid-template-columns: repeat(3, 1fr); align-items: start; }
.trio h3 {
  margin: 0 0 14px; padding-bottom: 8px; border-bottom: 3px solid var(--violet); font-size: 26px;
}
.trio .mini-row + .mini-row { margin-top: 10px; }

.blog-grid { grid-template-columns: 1.3fr 0.7fr; }
.blog-side { display: grid; gap: 18px; }
.blog-card { overflow: hidden; color: inherit; display: flex; flex-direction: column; }
.blog-card img { width: 100%; height: 220px; object-fit: cover; }
.blog-feature img { height: 320px; }
.blog-card div, .blog-body { padding: 18px 18px 20px; }
.blog-card h3 { margin: 6px 0; font-size: 22px; }
.blog-card h3 a, .blog-card { color: var(--ink); }
.kicker { color: var(--violet); font-weight: 800; font-size: 13px; margin: 0; }

.site-footer { background: var(--violet); color: #f4f0ff; padding-top: 48px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 0.7fr 0.8fr 1.1fr; gap: 28px; }
.site-footer h2 { color: #fff; font-size: 18px; margin: 0 0 12px; }
.site-footer p, .site-footer a { color: #efeaff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 6px 0; }
.site-footer a:hover { color: var(--lime); }
.footer-logo { margin-bottom: 12px; }
.share-row { display: flex; gap: 8px; margin: 12px 0; }
.share-btn {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.12); color: #fff; font-weight: 800;
}
.share-btn:hover { background: var(--lime); color: var(--ink); }
.footer-news label { font-weight: 800; display: block; margin-bottom: 6px; }
.news-row { display: flex; gap: 8px; background: #fff; border-radius: 999px; padding: 4px; }
.news-row input { border: 0; outline: 0; flex: 1; min-width: 0; padding: 8px 12px; border-radius: 999px; }
.footer-news .btn { padding: 10px 16px; }
.form-note { min-height: 1.2em; font-weight: 800; color: var(--lime); }
.footer-bottom {
  margin-top: 28px; border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 16px 0 22px;
}
.footer-bottom nav { display: flex; gap: 16px; flex-wrap: wrap; }

.page-hero {
  background: linear-gradient(100deg, #62c7f4 0%, #6d5dcc 52%, #534696 100%);
  color: #fff; padding: 36px 0 32px;
}
.page-hero h1 { color: #fff; }
.crumbs, .crumbs a { color: #fff; font-weight: 800; }
.page-section { padding: 36px 0 72px; }
.shop-layout { grid-template-columns: 270px 1fr; align-items: start; }
.filter-card, .form-card, .summary, .prose { padding: 22px; }
.filter-card h2, .summary h2 { margin-top: 0; }
.filters { display: grid; gap: 12px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label, .check { font-weight: 800; }
.field span { font-weight: 700; color: var(--muted); }
input[type="text"], input[type="email"], input[type="search"], input[type="number"], select, textarea {
  width: 100%; border: 1px solid #ddd7ee; border-radius: 14px; padding: 12px 12px; background: #fff;
}
textarea { resize: vertical; }
.range-row { display: flex; justify-content: space-between; font-weight: 800; color: var(--violet); }
input[type="range"] { width: 100%; accent-color: var(--violet); }
.check { display: flex; gap: 8px; align-items: flex-start; font-weight: 700; }
.check input { margin-top: 4px; }
.shop-bar { display: flex; justify-content: space-between; gap: 12px; align-items: end; margin-bottom: 16px; }
.shop-bar .field { margin: 0; min-width: 220px; }
.is-error input, .is-error select, .is-error textarea, fieldset.is-error { border-color: var(--danger); background: #fff6f5; }
.error-text { color: var(--danger); font-size: 13px; font-weight: 800; margin: 4px 0 0; }
.fine, .empty-copy { color: var(--muted); }

.product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 28px; }
.product-photo { background: var(--soft); border-radius: 28px; overflow: hidden; }
.product-photo img { width: 100%; height: 520px; object-fit: cover; }
.product-info h1 { margin: 6px 0 8px; font-size: clamp(32px, 4vw, 44px); }
.buy-row { display: flex; gap: 10px; align-items: end; flex-wrap: wrap; margin: 16px 0; }
.qty-field { margin: 0; width: 110px; }
.spec-list { list-style: none; padding: 0; margin: 16px 0; }
.spec-list li, .totals li {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 8px 0; border-bottom: 1px solid var(--line);
}
.detail-columns { grid-template-columns: 1.4fr 0.8fr; }
.detail-columns article, .about-copy, .blog-body { background: #fff; }
blockquote {
  margin: 0 0 12px; padding: 12px 14px; background: var(--soft); border-radius: 16px; border-left: 4px solid var(--lime);
}
blockquote cite { color: var(--muted); font-style: normal; font-weight: 800; }

.cart-layout, .checkout-layout { grid-template-columns: 1.4fr 0.7fr; align-items: start; }
.cart-line {
  display: grid; grid-template-columns: 96px 1fr auto auto; gap: 14px; align-items: center;
  padding: 12px 0; border-bottom: 1px solid var(--line);
}
.cart-line img { width: 96px; height: 96px; object-fit: cover; border-radius: 16px; }
.cart-line h2 { font-size: 18px; margin: 0 0 4px; }
.cart-line input { width: 76px; }
.cart-line button { background: none; border: 0; color: var(--danger); font-weight: 800; cursor: pointer; padding: 0; }
.summary p, .summary .btn, .form-card .btn { width: 100%; }
.summary .btn + .btn { margin-top: 8px; }
.total-line { display: flex; justify-content: space-between; font-size: 18px; }
.totals { list-style: none; padding: 0; margin: 0 0 12px; }
.empty-panel, .thanks-panel {
  background: #fff; border-radius: 28px; padding: 48px 28px; text-align: center;
  box-shadow: var(--shadow); max-width: 760px; margin: 0 auto;
}
.thanks-panel h1 { font-size: clamp(28px, 4vw, 40px); }
.success-banner {
  background: #f4fbe3; border: 1px solid #d7ec8a; border-radius: 18px; padding: 16px 18px; font-weight: 800;
}

.about-grid { grid-template-columns: 1.1fr 0.9fr; align-items: center; }
.about-grid img, .article-hero { width: 100%; border-radius: 28px; object-fit: cover; max-height: 460px; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 22px; }
.value-card { padding: 18px; box-shadow: none; border: 1px solid var(--line); }
.value-card h3 { margin-top: 0; }
.prose { max-width: 900px; margin: 0 auto; }
.prose h2 { margin: 28px 0 8px; font-size: 26px; }
.prose h3 { margin: 18px 0 6px; }
.prose ul, .prose ol { margin: 0 0 14px; padding-left: 18px; }
.toc { background: var(--soft); border-radius: 16px; padding: 12px 16px 12px 32px; }
.article-layout { display: grid; grid-template-columns: 1fr 280px; gap: 28px; align-items: start; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 16px; position: sticky; top: 96px; }
.order-card { padding: 18px; margin-bottom: 14px; }
.checks { border: 1px solid var(--line); border-radius: 16px; margin: 0 0 14px; padding: 12px 14px 4px; }
.checks label { display: flex; gap: 8px; margin-bottom: 8px; font-weight: 700; }

.drawer-backdrop { position: fixed; inset: 0; background: rgba(28, 20, 58, 0.45); z-index: 40; }
.drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(400px, 100%);
  background: #fff; z-index: 41; display: flex; flex-direction: column;
  box-shadow: -12px 0 30px rgba(0, 0, 0, 0.12);
}
.drawer-head, .drawer-foot { display: flex; justify-content: space-between; gap: 8px; align-items: center; padding: 16px; }
.drawer-head h2 { margin: 0; }
.drawer-head button, .drawer-line button { border: 0; background: var(--soft); width: 36px; height: 36px; border-radius: 50%; cursor: pointer; }
.drawer-body { overflow: auto; padding: 0 16px; flex: 1; }
.drawer-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 10px; align-items: center; margin-bottom: 12px; }
.drawer-line img { width: 64px; height: 64px; object-fit: cover; border-radius: 12px; }
.drawer-foot { border-top: 1px solid var(--line); display: grid; }
.drawer-foot p { display: flex; justify-content: space-between; margin: 0; }
.toast {
  position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%) translateY(20px);
  background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 999px;
  opacity: 0; pointer-events: none; transition: 0.2s ease; z-index: 50; font-weight: 800;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
body.drawer-open { overflow: hidden; }

@media (hover: none) {
  .card-actions { position: static; opacity: 1; transform: none; padding: 0 12px 12px; }
}

.product-grid > .empty-copy { grid-column: 1 / -1; }
.logo img { background: var(--violet); }

@media (max-width: 1180px) {
  .hero-grid, .cat-grid, .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-grid { grid-template-columns: 1fr 1fr; }
  .dept-card { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
  .dept-card h2 { grid-column: 1 / -1; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .search-form { display: none; }
  .nav-toggle { display: grid; margin-left: auto; }
  .header-tools { margin-left: 0; }
  .main-nav {
    display: none; position: absolute; top: calc(100% + 8px); left: 0; right: 0;
    background: #fff; border-radius: 20px; flex-direction: column; align-items: stretch;
    padding: 12px; box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; z-index: 40; }
  .main-nav a { color: var(--ink); }
  .main-nav a.active, .main-nav a:hover { background: #f3efff; }
  .search-form-mobile { display: block; padding: 0; background: transparent; min-width: 0; }
  .search-form-mobile input { width: 100%; background: var(--soft); border-radius: 12px; padding: 10px 12px; }
  .header-inner { position: relative; }
}

@media (max-width: 860px) {
  .sale-split, .mid-banner, .deal-grid, .trio, .blog-grid, .shop-layout, .product-layout,
  .detail-columns, .cart-layout, .checkout-layout, .about-grid, .article-layout, .value-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid, .dept-card { grid-template-columns: 1fr 1fr; }
  .deal-card, .deal-main, .cart-line { grid-template-columns: 96px 1fr; }
  .cart-line label, .cart-line strong { grid-column: 2; }
  .product-photo img, .hero-visual img { height: 280px; }
  .side-card { position: static; }
  .shop-bar { flex-direction: column; align-items: stretch; }
}

@media (max-width: 560px) {
  .container { width: min(var(--max), calc(100% - 28px)); }
  .product-grid, .dept-card, .cat-grid { grid-template-columns: 1fr; }
  .cat-photo { width: 100%; height: 180px; }
  .cat-photo img { width: 140px; height: 140px; }
  .logo-word { font-size: 22px; }
  .buy-row .btn { width: 100%; }
}

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