/* Magyar Market Hub — Physical goods e-commerce */
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,500;12..96,700;12..96,800&family=Figtree:wght@400;500;600;700&display=swap');

:root {
  --ink: #15201c;
  --ink-soft: #2a3b34;
  --moss: #3f6b55;
  --moss-deep: #2d5240;
  --leaf: #5a8f72;
  --sand: #f3eee6;
  --sand-deep: #e5ddd0;
  --cream: #faf7f2;
  --paper: #ffffff;
  --accent: #c4782a;
  --accent-hover: #a8631c;
  --muted: #5c6b63;
  --line: rgba(21, 32, 28, 0.1);
  --ok: #2d7a4f;
  --danger: #a33b2c;
  --radius: 4px;
  --shadow: 0 12px 40px rgba(21, 32, 28, 0.08);
  --font-display: 'Bricolage Grotesque', Georgia, serif;
  --font-body: 'Figtree', system-ui, sans-serif;
  --max: 1180px;
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(90, 143, 114, 0.12), transparent 50%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(196, 120, 42, 0.08), transparent 45%),
    linear-gradient(180deg, var(--cream) 0%, var(--sand) 100%);
  background-attachment: fixed;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a {
  color: var(--moss-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  height: var(--header-h);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
}

.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.03em;
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.logo span {
  color: var(--moss);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav a:hover,
.nav a.active {
  color: var(--moss);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--ink);
  color: var(--cream);
  border: none;
  padding: 0.55rem 1rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}

.cart-btn:hover {
  background: var(--moss-deep);
  color: var(--cream);
}

.cart-count {
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  min-width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
}

/* Hero */
.hero {
  position: relative;
  min-height: 380px;
  height: clamp(380px, 42vh, 480px);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(105deg, rgba(21, 32, 28, 0.82) 0%, rgba(21, 32, 28, 0.4) 48%, rgba(21, 32, 28, 0.18) 100%),
    url('../images/hero.jpg') center / cover no-repeat;
  animation: heroZoom 18s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

.hero-content {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 2.5rem 0 2.75rem;
  color: var(--cream);
  max-width: 640px;
  margin-left: max(1rem, calc((100% - var(--max)) / 2));
  animation: fadeUp 0.9s ease both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 0.75rem;
  line-height: 0.95;
}

.hero h1 {
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 500;
  color: rgba(250, 247, 242, 0.92);
  margin-bottom: 1rem;
  max-width: 28ch;
}

.hero p {
  font-size: 1.05rem;
  color: rgba(250, 247, 242, 0.78);
  margin-bottom: 1.75rem;
  max-width: 42ch;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
  box-shadow: 0 8px 24px rgba(196, 120, 42, 0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--cream);
  border: 1.5px solid rgba(250, 247, 242, 0.45);
}

.btn-secondary:hover {
  background: rgba(250, 247, 242, 0.1);
  color: var(--cream);
}

.btn-dark {
  background: var(--ink);
  color: var(--cream);
}

.btn-dark:hover {
  background: var(--moss-deep);
  color: var(--cream);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}

.btn-outline:hover {
  background: var(--ink);
  color: var(--cream);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section-head {
  margin-bottom: 2.25rem;
  max-width: 40rem;
}

.section-head h2 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  margin-bottom: 0.5rem;
}

.section-head p {
  color: var(--muted);
  font-size: 1.05rem;
}

/* Filters */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.filter-btn {
  background: transparent;
  border: 1px solid var(--line);
  padding: 0.45rem 1rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

/* Product grid — interaction containers */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: cardIn 0.6s ease both;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

@keyframes cardIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.product-card:nth-child(1) { animation-delay: 0.05s; }
.product-card:nth-child(2) { animation-delay: 0.1s; }
.product-card:nth-child(3) { animation-delay: 0.15s; }
.product-card:nth-child(4) { animation-delay: 0.2s; }
.product-card:nth-child(5) { animation-delay: 0.25s; }
.product-card:nth-child(6) { animation-delay: 0.3s; }
.product-card:nth-child(7) { animation-delay: 0.35s; }
.product-card:nth-child(8) { animation-delay: 0.4s; }

.product-card__img {
  aspect-ratio: 1;
  background: var(--sand-deep);
  overflow: hidden;
  position: relative;
}

.product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-card__img img {
  transform: scale(1.04);
}

.product-card__body {
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.35rem;
}

.product-card__cat {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--moss);
  font-weight: 600;
}

.product-card__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
}

.product-card__title:hover {
  color: var(--moss);
}

.product-card__price {
  font-weight: 700;
  font-size: 1.1rem;
  margin-top: auto;
  padding-top: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.stock {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ok);
}

.stock.out {
  color: var(--danger);
}

/* How it works */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  counter-reset: step;
}

.step {
  position: relative;
  padding-top: 0.5rem;
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(63, 107, 85, 0.2);
  display: block;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.step h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.step p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Disclaimer banner */
.disclaimer {
  background: var(--ink);
  color: rgba(250, 247, 242, 0.9);
  padding: 1.25rem 0;
  font-size: 0.9rem;
  border-top: 3px solid var(--moss);
}

.disclaimer p {
  max-width: 70ch;
}

/* Page hero (inner pages) */
.page-hero {
  padding: 3rem 0 2rem;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(63, 107, 85, 0.08), transparent 60%);
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 0.5rem;
}

.page-hero p {
  color: var(--muted);
  max-width: 50ch;
  font-size: 1.05rem;
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--moss);
}

/* Product detail */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  padding: 3rem 0;
  align-items: start;
}

.gallery {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.gallery-main {
  aspect-ratio: 1;
  background: var(--sand-deep);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumbs {
  display: flex;
  gap: 0.5rem;
}

.gallery-thumbs button {
  width: 72px;
  height: 72px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  background: var(--sand-deep);
  opacity: 0.7;
  transition: opacity 0.2s, border-color 0.2s;
}

.gallery-thumbs button.active,
.gallery-thumbs button:hover {
  opacity: 1;
  border-color: var(--moss);
}

.gallery-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info .cat {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--moss);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.product-info h1 {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  margin-bottom: 0.75rem;
}

.product-info .price-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.product-info .price {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 700;
}

.product-info .desc {
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
}

.specs {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.specs h3 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.specs dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.4rem 1.25rem;
  font-size: 0.925rem;
}

.specs dt {
  color: var(--muted);
  font-weight: 500;
}

.specs dd {
  font-weight: 600;
}

.qty-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.qty-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.qty-control button {
  width: 40px;
  height: 40px;
  border: none;
  background: var(--sand);
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
}

.qty-control input {
  width: 48px;
  height: 40px;
  border: none;
  text-align: center;
  font-family: var(--font-body);
  font-weight: 600;
  background: var(--paper);
}

.product-notice {
  background: rgba(63, 107, 85, 0.08);
  border-left: 3px solid var(--moss);
  padding: 1rem 1.15rem;
  margin: 1.5rem 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.shipping-info {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--muted);
}

.shipping-info h4 {
  font-size: 0.95rem;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.shipping-info ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.shipping-info li::before {
  content: "– ";
  color: var(--moss);
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  padding: 3rem 0;
}

.about-content h2 {
  font-size: 1.75rem;
  margin: 1.75rem 0 0.75rem;
}

.about-content p {
  color: var(--ink-soft);
  margin-bottom: 1rem;
}

.contact-box {
  background: var(--ink);
  color: var(--cream);
  padding: 2rem;
  border-radius: var(--radius);
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}

.contact-box h2 {
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
}

.contact-box dl {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-box dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(250, 247, 242, 0.55);
  margin-bottom: 0.2rem;
}

.contact-box dd {
  font-weight: 500;
}

.contact-box a {
  color: var(--cream);
}

.map-note {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(250, 247, 242, 0.15);
  font-size: 0.85rem;
  color: rgba(250, 247, 242, 0.65);
}

/* Legal pages */
.legal {
  padding: 3rem 0 4rem;
  max-width: 720px;
}

.legal h2 {
  font-size: 1.35rem;
  margin: 2rem 0 0.75rem;
}

.legal h3 {
  font-size: 1.1rem;
  margin: 1.5rem 0 0.5rem;
}

.legal p,
.legal li {
  color: var(--ink-soft);
  margin-bottom: 0.75rem;
}

.legal ul,
.legal ol {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.legal .updated {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

/* Cart */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2rem;
  padding: 3rem 0;
  align-items: start;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-item {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  align-items: center;
}

.cart-item img {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--sand-deep);
}

.cart-item h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.cart-item .meta {
  font-size: 0.85rem;
  color: var(--muted);
}

.cart-item .remove {
  background: none;
  border: none;
  color: var(--danger);
  cursor: pointer;
  font-size: 0.8rem;
  font-family: var(--font-body);
  text-decoration: underline;
  margin-top: 0.35rem;
}

.cart-summary {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}

.cart-summary h2 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.65rem;
  font-size: 0.95rem;
}

.summary-row.total {
  font-weight: 700;
  font-size: 1.15rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
  margin-top: 0.5rem;
}

.cart-empty {
  text-align: center;
  padding: 4rem 1rem;
}

.cart-empty h2 {
  margin-bottom: 0.75rem;
}

.cart-empty p {
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.order-form {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.order-form label {
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.order-form input,
.order-form textarea,
.order-form select {
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--cream);
}

.order-form textarea {
  min-height: 80px;
  resize: vertical;
}

.form-success {
  display: none;
  background: rgba(45, 122, 79, 0.1);
  border: 1px solid var(--ok);
  color: var(--ok);
  padding: 1rem;
  border-radius: var(--radius);
  margin-top: 1rem;
  font-size: 0.9rem;
}

.form-success.show {
  display: block;
}

/* Footer */
.site-footer {
  margin-top: auto;
  background: var(--ink);
  color: rgba(250, 247, 242, 0.85);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--cream);
  margin-bottom: 0.75rem;
}

.footer-brand span {
  color: var(--leaf);
}

.site-footer p {
  font-size: 0.9rem;
  color: rgba(250, 247, 242, 0.65);
  line-height: 1.55;
}

.site-footer h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(250, 247, 242, 0.45);
  margin-bottom: 1rem;
  font-weight: 600;
}

.site-footer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.site-footer a {
  color: rgba(250, 247, 242, 0.8);
  text-decoration: none;
  font-size: 0.9rem;
}

.site-footer a:hover {
  color: var(--accent);
}

.footer-badges {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(250, 247, 242, 0.1);
  border-bottom: 1px solid rgba(250, 247, 242, 0.1);
  margin-bottom: 1.5rem;
}

.footer-badge {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(250, 247, 242, 0.75);
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(250, 247, 242, 0.12);
  border-radius: var(--radius);
  text-align: center;
  line-height: 1.35;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
  color: rgba(250, 247, 242, 0.5);
}

.age-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--cream);
  border: 1.5px solid rgba(250, 247, 242, 0.35);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius);
  font-size: 0.85rem;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--ink);
  color: var(--cream);
  padding: 1.25rem;
  border-top: 2px solid var(--moss);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-inner p {
  flex: 1;
  min-width: 240px;
  font-size: 0.9rem;
  color: rgba(250, 247, 242, 0.8);
}

.cookie-inner a {
  color: var(--leaf);
}

/* Toast */
.toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: var(--ink);
  color: var(--cream);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  z-index: 300;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  box-shadow: var(--shadow);
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
  .menu-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 0;
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s, opacity 0.3s;
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    padding: 0.85rem 0.5rem;
    border-bottom: 1px solid var(--line);
  }

  .product-detail,
  .about-grid,
  .cart-layout {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-badges {
    grid-template-columns: 1fr 1fr;
  }

  .contact-box {
    position: static;
  }

  .hero {
    min-height: 320px;
    height: clamp(320px, 38vh, 420px);
  }

  .hero-content {
    padding: 2.25rem 0 2.5rem;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-badges {
    grid-template-columns: 1fr;
  }

  .cart-item {
    grid-template-columns: 72px 1fr;
  }

  .cart-item .item-total {
    grid-column: 2;
  }

  .hero {
    min-height: 300px;
    height: 340px;
  }

  .hero-content {
    padding: 1.75rem 0 2rem;
  }

  .hero-brand {
    font-size: clamp(2rem, 9vw, 2.6rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
