/* ============================================
   Tom Baggu Bags — Shared Stylesheet
   Premium minimal fashion UI
   ============================================ */

/* --- CSS Variables --- */
:root {
  --color-black: #0a0a0a;
  --color-white: #faf9f7;
  --color-cream: #f5f0e8;
  --color-beige: #e8dfd0;
  --color-muted: #6b6560;
  --color-accent: #8b6914;
  --color-accent-light: #c9a227;
  --font-display: "Cormorant Garamond", "Georgia", serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --radius-sm: 4px;
  --radius-md: 8px;
  --shadow-soft: 0 20px 50px rgba(10, 10, 10, 0.08);
  --shadow-card: 0 8px 30px rgba(10, 10, 10, 0.06);
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --header-height: 4.25rem;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-black);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 var(--space-sm);
}

p {
  margin: 0 0 var(--space-sm);
}

/* --- Typography utilities --- */
.display-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.section-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.section-heading {
  font-size: 2rem;
  margin-bottom: var(--space-lg);
}

.banner-strip__text {
  margin: 0;
  font-size: 1.1rem;
  opacity: 0.95;
}

.banner-strip__cta {
  margin-top: var(--space-md);
}

.footer-connect-note {
  font-size: 0.85rem;
  opacity: 0.8;
  margin-bottom: var(--space-sm);
}

/* --- Layout --- */
.container {
  width: min(1200px, 92vw);
  margin-inline: auto;
}

.section {
  padding: var(--space-xl) 0;
}

.section--cream {
  background: var(--color-cream);
}

.section--dark {
  background: var(--color-black);
  color: var(--color-white);
}

.section--dark .section-label {
  color: var(--color-accent-light);
}

/* --- Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 249, 247, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-beige);
  transition: box-shadow var(--transition);
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-soft);
}

.page-home .site-header {
  background: rgba(249, 243, 238, 0.94);
  border-bottom-color: rgba(166, 139, 119, 0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  gap: var(--space-md);
}

.logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.logo span {
  color: var(--color-accent);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: var(--space-xs);
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-black);
  transition: var(--transition);
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  align-items: center;
}

.nav-list a {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: relative;
  padding: var(--space-xs) 0;
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--color-accent);
  transition: width var(--transition);
}

.nav-list a:hover::after,
.nav-list a[aria-current="page"]::after {
  width: 100%;
}

.nav-list a[aria-current="page"] {
  color: var(--color-accent);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: transform var(--transition), background var(--transition),
    color var(--transition), box-shadow var(--transition);
}

.btn--primary {
  background: var(--color-black);
  color: var(--color-white);
}

.btn--primary:hover {
  background: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.btn--outline {
  border: 1px solid var(--color-black);
  color: var(--color-black);
  background: transparent;
}

.btn--outline:hover {
  background: var(--color-black);
  color: var(--color-white);
}

.btn--light {
  background: var(--color-white);
  color: var(--color-black);
}

.btn--light:hover {
  background: var(--color-accent-light);
  color: var(--color-black);
}

/* --- Hero (editorial split — reference-inspired) --- */
.hero--editorial {
  --hero-cream: #f9f3ee;
  --hero-tan: #a68b77;
  --hero-ink: #221f1e;
  --hero-body: #666666;
  background: var(--hero-cream);
  padding: clamp(2.75rem, 7vw, 5.5rem) 0 clamp(3rem, 8vw, 6rem);
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.hero__copy {
  max-width: 34rem;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--hero-ink);
  margin: 0 0 var(--space-lg);
}

.hero__eyebrow-line {
  display: inline-block;
  width: 2rem;
  height: 1px;
  background: var(--hero-tan);
  flex-shrink: 0;
}

.hero__eyebrow--bottom {
  margin: var(--space-xl) 0 0;
  margin-bottom: 0;
}

.hero__headline {
  font-family: "Playfair Display", var(--font-display), Georgia, serif;
  font-weight: 600;
  font-size: clamp(2.65rem, 5.2vw, 4.15rem);
  line-height: 1.08;
  color: var(--hero-ink);
  margin: 0 0 var(--space-md);
  letter-spacing: -0.02em;
}

.hero__headline-line {
  display: block;
}

.hero__headline-line--accent {
  color: var(--hero-tan);
  font-weight: 500;
}

.hero__headline-line--accent em {
  font-style: italic;
  font-weight: 500;
}

.hero__deck {
  font-family: var(--font-body);
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--hero-body);
  margin: 0 0 var(--space-lg);
  max-width: 32rem;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.btn--pill {
  border-radius: 999px;
  padding: 1rem 1.85rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: transform var(--transition), box-shadow var(--transition),
    background var(--transition), color var(--transition), border-color var(--transition);
}

.btn--pill-primary {
  background: var(--hero-ink);
  color: #fdfcfa;
  border: 1px solid var(--hero-ink);
  box-shadow: 0 14px 36px rgba(34, 31, 30, 0.18);
}

.btn--pill-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(34, 31, 30, 0.22);
  background: #2e2a28;
}

.btn--pill-ghost {
  background: transparent;
  color: var(--hero-ink);
  border: 1px solid var(--hero-ink);
}

.btn--pill-ghost:hover {
  background: rgba(34, 31, 30, 0.06);
  transform: translateY(-2px);
}

.hero__figure {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 520px;
}

.hero__squircle {
  border-radius: clamp(2.25rem, 6vw, 3.5rem);
  overflow: hidden;
  aspect-ratio: 1 / 1.12;
  box-shadow: 0 28px 60px rgba(34, 31, 30, 0.12), 0 8px 24px rgba(34, 31, 30, 0.06);
  background: #e8dfd6;
}

.hero__squircle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.02);
  animation: heroSquircleZoom 20s ease-in-out infinite alternate;
}

.hero__badge {
  position: absolute;
  z-index: 2;
  background: #fff;
  padding: 1rem 1.25rem 1.1rem;
  border-radius: 1rem;
  box-shadow: 0 16px 40px rgba(34, 31, 30, 0.1), 0 4px 12px rgba(34, 31, 30, 0.06);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  text-align: center;
  min-width: 8.5rem;
  animation: heroBadgeFloat 5s ease-in-out infinite;
}

.hero__badge--tr {
  top: 6%;
  right: -4%;
  animation-delay: 0s;
}

.hero__badge--bl {
  bottom: 10%;
  left: -6%;
  animation-delay: 1.2s;
}

.hero__badge-stat {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--hero-tan);
  line-height: 1.1;
}

.hero__badge-label {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hero-ink);
}

.hero__fade {
  opacity: 0;
  animation: fadeInUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero__fade--1 {
  animation-delay: 0.05s;
}
.hero__fade--2 {
  animation-delay: 0.12s;
}
.hero__fade--3 {
  animation-delay: 0.2s;
}
.hero__fade--4 {
  animation-delay: 0.28s;
}
.hero__fade--5 {
  animation-delay: 0.36s;
}
.hero__fade--6 {
  animation-delay: 0.42s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroSquircleZoom {
  from {
    transform: scale(1.02);
  }
  to {
    transform: scale(1.08);
  }
}

@keyframes heroBadgeFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@media (max-width: 960px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .hero__figure {
    justify-self: center;
    max-width: 420px;
  }

  .hero__badge--tr {
    right: 2%;
  }

  .hero__badge--bl {
    left: 2%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__squircle img {
    animation: none;
    transform: none;
  }

  .hero__badge {
    animation: none;
  }

  .hero__fade {
    animation: none;
    opacity: 1;
  }
}

/* --- Category cards --- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.category-card {
  position: relative;
  min-height: 320px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.category-card:hover img {
  transform: scale(1.06);
}

.category-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 10, 10, 0.75),
    transparent 55%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-lg);
  color: var(--color-white);
}

.category-card__overlay h3 {
  font-size: 1.75rem;
  margin-bottom: var(--space-xs);
}

.category-card__overlay p {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-bottom: var(--space-md);
}

/* --- Product grid --- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-lg);
}

.product-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
  border: 1px solid rgba(232, 223, 208, 0.8);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-soft);
}

.product-card__image {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--color-beige);
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.product-card:hover .product-card__image img {
  transform: scale(1.05);
}

.product-card__body {
  padding: var(--space-md);
}

.product-card__category {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-muted);
  margin-bottom: 0.35rem;
}

.product-card__name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.product-card__price {
  font-weight: 600;
  color: var(--color-accent);
  font-size: 1.05rem;
}

/* --- Why us --- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.why-item {
  padding: var(--space-lg);
  background: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-beige);
  transition: border-color var(--transition), transform var(--transition);
}

.why-item:hover {
  border-color: var(--color-accent);
  transform: translateY(-4px);
}

.why-item h3 {
  font-size: 1.35rem;
  margin-bottom: var(--space-sm);
}

.why-item p {
  color: var(--color-muted);
  margin: 0;
  font-size: 0.95rem;
}

/* --- Banner strip --- */
.banner-strip {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-white);
  overflow: hidden;
}

.banner-strip__bg {
  position: absolute;
  inset: 0;
}

.banner-strip__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-strip__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.55);
}

.banner-strip .container {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.banner-strip h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: var(--space-md);
}

/* --- Page hero (inner pages) --- */
.page-hero {
  padding: var(--space-xl) 0 var(--space-lg);
  background: linear-gradient(180deg, var(--color-cream) 0%, var(--color-white) 100%);
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.page-hero p {
  color: var(--color-muted);
  max-width: 520px;
  margin-inline: auto;
}

/* --- Shop filters --- */
.shop-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
  margin-bottom: var(--space-lg);
}

.filter-btn {
  padding: 0.6rem 1.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--color-black);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.is-active {
  background: var(--color-black);
  color: var(--color-white);
}

/* --- About / Contact content --- */
.prose {
  max-width: 720px;
  margin-inline: auto;
}

.prose h2 {
  margin-top: var(--space-lg);
  font-size: 1.75rem;
}

.prose--narrow {
  max-width: 640px;
}

.prose-figure {
  margin: 0 0 var(--space-lg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.contact-card {
  background: var(--color-cream);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-beige);
}

.contact-card h2 {
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
}

.contact-list dt {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-muted);
  margin-top: var(--space-md);
}

.contact-list dd {
  margin: 0.25rem 0 0;
  font-weight: 500;
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  letter-spacing: 0.04em;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-beige);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  background: var(--color-white);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-accent);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

/* --- Legal pages --- */
.legal-content {
  max-width: 800px;
  margin-inline: auto;
  padding-bottom: var(--space-2xl);
}

.legal-content h2 {
  font-size: 1.35rem;
  margin-top: var(--space-lg);
}

.legal-content ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin-bottom: var(--space-sm);
}

.legal-content li {
  margin-bottom: 0.35rem;
}

/* --- Footer --- */
.site-footer {
  background: var(--color-black);
  color: var(--color-white);
  padding: var(--space-xl) 0 var(--space-lg);
  margin-top: var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.footer-brand .logo {
  margin-bottom: var(--space-sm);
  color: var(--color-white);
}

.footer-brand p {
  color: rgba(250, 249, 247, 0.7);
  font-size: 0.9rem;
  max-width: 280px;
}

.footer-col h3 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-accent-light);
  margin-bottom: var(--space-md);
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: rgba(250, 249, 247, 0.85);
  padding: 0.35rem 0;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--color-accent-light);
}

.social-row {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.social-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(250, 249, 247, 0.25);
  border-radius: 50%;
  padding: 0;
  transition: background var(--transition), border-color var(--transition);
}

.social-row a:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-white);
}

.social-row svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-bottom {
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(250, 249, 247, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(250, 249, 247, 0.55);
}

.footer-bottom a {
  color: rgba(250, 249, 247, 0.7);
}

.footer-bottom a:hover {
  color: var(--color-accent-light);
}

/* --- Modals --- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.65);
  backdrop-filter: blur(4px);
}

.modal__dialog {
  position: relative;
  z-index: 1;
  background: var(--color-white);
  border-radius: var(--radius-md);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-soft);
  transform: translateY(20px) scale(0.98);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal.is-open .modal__dialog {
  transform: translateY(0) scale(1);
}

.modal__close {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-black);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  line-height: 1;
  transition: background var(--transition);
}

.modal__close:hover {
  background: var(--color-accent);
}

.modal-product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.modal-product__image {
  background: var(--color-beige);
  min-height: 320px;
}

.modal-product__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 360px;
}

.modal-product__info {
  padding: var(--space-xl) var(--space-lg);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.modal-product__info .section-label {
  margin-bottom: 0.5rem;
}

.modal-product__info h2 {
  font-size: 2rem;
  margin-bottom: var(--space-sm);
}

.modal-product__price {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: var(--space-md);
}

.modal-product__info p {
  color: var(--color-muted);
  margin-bottom: var(--space-lg);
}

.modal-order .modal__dialog {
  max-width: 440px;
  text-align: center;
  padding: var(--space-xl);
}

.modal-order h2 {
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
}

.modal-order p {
  color: var(--color-muted);
  margin-bottom: var(--space-lg);
}

/* --- Utilities --- */
.text-center {
  text-align: center;
}

.mt-lg {
  margin-top: var(--space-lg);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- Scroll reveal (JS toggles .is-visible) --- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 960px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .modal-product {
    grid-template-columns: 1fr;
  }

  .modal-product__image img {
    min-height: 280px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-beige);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }

  .nav.is-open {
    max-height: 320px;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    padding: var(--space-md);
    gap: var(--space-sm);
  }

  .category-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

body.modal-open {
  overflow: hidden;
}
