/* Fierce By Dre — modern storefront */

:root {
  --black: #0a0a0a;
  --paper: #f7f5f0;
  --white: #ffffff;
  --orange: #e85a1c;
  --muted: #6b6560;
  --line: rgba(10, 10, 10, 0.12);
  --line-strong: rgba(10, 10, 10, 0.22);
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --header-h: 4.25rem;
  --promo-h: 2.25rem;
  --radius: 2px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--black);
  background:
    radial-gradient(ellipse 90% 50% at 50% -10%, rgba(232, 90, 28, 0.07), transparent 55%),
    linear-gradient(180deg, #faf8f4 0%, var(--paper) 40%, #f3f0ea 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
  color: inherit;
}

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

p {
  margin: 0 0 1rem;
}

address {
  font-style: normal;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 0.5rem;
}

.section-copy,
.lead {
  color: var(--muted);
  max-width: 36rem;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}

.text-link {
  font-size: 0.875rem;
  font-weight: 600;
  border-bottom: 1px solid var(--black);
  padding-bottom: 0.1rem;
  white-space: nowrap;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.text-link:hover {
  color: var(--orange);
  border-color: var(--orange);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.4rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--black);
  color: var(--paper);
}

.btn-primary:hover {
  background: var(--orange);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--black);
}

.btn-ghost:hover {
  border-color: var(--black);
  background: var(--white);
}

.btn-block {
  width: 100%;
}

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

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand img {
  height: 2.35rem;
  width: auto;
}

.nav-desktop {
  display: none;
  justify-content: center;
  gap: 1.5rem;
}

.nav-desktop a {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--muted);
  transition: color 0.2s var(--ease);
}

.nav-desktop a:hover {
  color: var(--black);
}

.bag-btn,
.nav-toggle,
.nav-close,
.icon-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}

.bag-btn {
  justify-self: end;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  color: var(--black);
}

.bag-icon {
  display: block;
}

.bag-count {
  position: absolute;
  top: 0.15rem;
  right: 0.05rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.1rem;
  height: 1.1rem;
  padding: 0 0.25rem;
  background: var(--orange);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1;
  border-radius: 999px;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  color: var(--black);
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 1.15rem;
  background: currentColor;
  border-radius: 1px;
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
  padding: 2.5rem;
}

.mobile-nav[hidden] {
  display: none !important;
}

.mobile-nav a {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 6vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.mobile-nav a:hover {
  color: var(--orange);
}

.nav-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.mobile-meta {
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 0.875rem;
}

.promo {
  border-bottom: 1px solid var(--line);
  background: var(--black);
  color: var(--paper);
  text-align: center;
  padding: 0.55rem 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.promo p {
  margin: 0;
}

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  box-sizing: border-box;
  min-height: calc(100vh - var(--header-h) - var(--promo-h));
  max-height: calc(100vh - var(--header-h) - var(--promo-h));
  min-height: calc(100svh - var(--header-h) - var(--promo-h));
  max-height: calc(100svh - var(--header-h) - var(--promo-h));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.25rem, 3.5vh, 2.5rem) 0;
  text-align: center;
  color: var(--black);
  background-color: var(--paper);
  background-image: url("../assets/hero-store.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78) 0%, rgba(255, 255, 255, 0.62) 45%, rgba(255, 255, 255, 0.82) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 100%;
}

.hero-logo {
  width: min(100%, 480px);
  height: auto;
  max-height: min(48vh, 380px);
  object-fit: contain;
  margin: 0 auto 1rem;
  filter: drop-shadow(0 10px 24px rgba(10, 10, 10, 0.12));
  animation: rise 0.8s var(--ease) both;
}

.hero-lead {
  font-size: clamp(0.98rem, 2vw, 1.15rem);
  color: var(--muted);
  max-width: 28rem;
  margin: 0 auto 1.15rem;
  animation: rise 0.8s var(--ease) 0.1s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  animation: rise 0.8s var(--ease) 0.18s both;
}

.hero .btn-primary {
  background: var(--black);
  color: var(--paper);
}

.hero .btn-primary:hover {
  background: var(--orange);
  color: var(--white);
}

.hero .btn-ghost {
  border-color: var(--line-strong);
  color: var(--black);
  background: rgba(255, 255, 255, 0.55);
}

.hero .btn-ghost:hover {
  background: var(--white);
  border-color: var(--black);
}

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

/* Categories */
.categories {
  padding: clamp(3.5rem, 9vw, 5.5rem) 0 clamp(3rem, 7vw, 4.5rem);
}

.categories-head {
  margin-bottom: 1.85rem;
}

.categories-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.category {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--black);
  color: var(--paper);
}

.category::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(10, 10, 10, 0.72) 100%);
  pointer-events: none;
}

.category img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.88;
  transition: transform 0.6s var(--ease), opacity 0.4s var(--ease);
}

.category:hover img {
  transform: scale(1.04);
  opacity: 1;
}

.category span {
  position: absolute;
  z-index: 1;
  left: 1.25rem;
  bottom: 1.15rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Shop */
.shop,
.featured,
.story,
.reviews,
.visit,
.newsletter {
  padding: clamp(3rem, 8vw, 5rem) 0;
  scroll-margin-top: calc(var(--header-h) + 0.75rem);
}

.categories {
  scroll-margin-top: calc(var(--header-h) + 0.75rem);
}

.shop {
  border-top: 1px solid var(--line);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.75rem;
}

.filter {
  appearance: none;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.filter:hover {
  border-color: var(--black);
}

.filter.is-active {
  background: var(--black);
  border-color: var(--black);
  color: var(--paper);
}

.product-grid,
.featured-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 0.75rem;
}

.product,
.look-item {
  appearance: none;
  background: none;
  border: none;
  padding: 0;
  text-align: left;
  cursor: pointer;
  animation: rise 0.55s var(--ease) both;
}

.product-media,
.look-item-media,
.modal-media,
.cart-line-thumb,
.story-aside {
  position: relative;
  overflow: hidden;
  background: #ebe7e0;
  aspect-ratio: 3 / 4;
}

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

.product-img-hover {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.product:hover .product-img-hover,
.look-item:hover .product-img-hover {
  opacity: 1;
}

.product-tag {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(247, 245, 240, 0.92);
  padding: 0.3rem 0.5rem;
}

.product-meta,
.look-item h3,
.look-item p {
  padding-top: 0.75rem;
}

.product-cat {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.product-meta h3,
.look-item h3 {
  font-size: 1rem;
  margin: 0 0 0.2rem;
}

.product-meta p,
.look-item p {
  margin: 0;
  font-weight: 600;
  font-size: 0.9rem;
}

.featured {
  background: rgba(255, 255, 255, 0.45);
  border-block: 1px solid var(--line);
}

.featured-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-bottom: 1.5rem;
  max-height: 4.5rem;
  overflow: auto;
}

.featured-nav a {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
  white-space: nowrap;
}

.featured-nav a:hover,
.featured-nav a.is-active {
  color: var(--orange);
}

.look-num {
  position: absolute;
  bottom: 0.65rem;
  right: 0.65rem;
  font-size: 0.7rem;
  font-weight: 600;
  background: rgba(247, 245, 240, 0.9);
  padding: 0.2rem 0.4rem;
}

/* Story */
.story-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.story-copy .lead {
  font-size: 1.15rem;
  color: var(--black);
  font-weight: 500;
}

.story-aside img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Reviews */
.reviews-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.score {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.15rem;
}

.score-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}

.score-stars {
  color: var(--orange);
  letter-spacing: 0.08em;
  font-size: 0.9rem;
}

.score-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.review-list {
  display: grid;
  gap: 1rem;
}

.review-list blockquote {
  margin: 0;
  padding: 1.35rem 1.4rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
}

.review-list p {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 0.85rem;
}

.review-list footer {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
}

/* Visit */
.visit {
  background: var(--black);
  color: var(--paper);
}

.visit .eyebrow {
  color: var(--orange);
}

.visit-grid {
  display: grid;
  gap: 2rem;
}

.visit-type,
.hours {
  color: rgba(247, 245, 240, 0.7);
}

.visit address {
  margin: 1rem 0;
  line-height: 1.7;
}

.phone {
  font-weight: 700;
  font-size: 1.1rem;
  border-bottom: 1px solid transparent;
}

.phone:hover {
  border-bottom-color: var(--orange);
  color: var(--orange);
}

.open {
  color: #7dce8a;
  font-weight: 600;
}

.visit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.visit .btn-primary {
  background: var(--orange);
  color: var(--white);
}

.visit .btn-primary:hover {
  background: var(--paper);
  color: var(--black);
}

.visit .btn-ghost {
  border-color: rgba(247, 245, 240, 0.35);
  color: var(--paper);
}

.visit .btn-ghost:hover {
  background: rgba(247, 245, 240, 0.08);
  border-color: var(--paper);
}

.visit-map {
  min-height: 280px;
  border: 1px solid rgba(247, 245, 240, 0.15);
  overflow: hidden;
}

.visit-map iframe {
  width: 100%;
  height: 100%;
  min-height: 280px;
  border: 0;
  filter: grayscale(0.2) contrast(1.05);
}

/* Newsletter */
.newsletter {
  text-align: center;
  border-bottom: 1px solid var(--line);
}

.newsletter-inner {
  max-width: 32rem;
}

.newsletter h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
}

.newsletter p {
  color: var(--muted);
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.newsletter-form input {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--white);
}

.newsletter-form input:focus {
  outline: 2px solid var(--orange);
  outline-offset: 1px;
}

.newsletter-thanks {
  margin-top: 1rem;
  font-weight: 600;
  color: var(--orange);
}

/* Footer */
.site-footer {
  padding: 3rem 0 2rem;
  background: #111;
  color: rgba(247, 245, 240, 0.75);
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-logo {
  height: 2.5rem;
  width: auto;
  filter: invert(1) brightness(1.05);
  margin-bottom: 0.75rem;
}

.footer-brand p {
  margin: 0;
  font-size: 0.875rem;
}

.footer-col h4 {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--paper);
  margin-bottom: 0.85rem;
}

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

.footer-col li + li {
  margin-top: 0.45rem;
}

.footer-col a {
  font-size: 0.9rem;
  transition: color 0.2s var(--ease);
}

.footer-col a:hover {
  color: var(--orange);
}

.footer-copy {
  margin: 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(247, 245, 240, 0.12);
  font-size: 0.8rem;
  color: rgba(247, 245, 240, 0.45);
}

/* Modal */
.modal,
.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
}

.modal[hidden],
.cart-drawer[hidden] {
  display: none !important;
}

.modal-backdrop,
.cart-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.45);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(100% - 1.5rem, 860px);
  max-height: min(92vh, 900px);
  margin: 4vh auto;
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: auto;
  display: grid;
}

.modal-panel .icon-close {
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  z-index: 2;
  font-size: 1.5rem;
  line-height: 1;
  width: 2.25rem;
  height: 2.25rem;
  background: rgba(247, 245, 240, 0.9);
}

.modal-media {
  aspect-ratio: 1;
}

.modal-body {
  padding: 1.5rem;
}

.modal-cat {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.35rem;
}

.modal-price {
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 0 0.75rem;
}

.modal-desc {
  color: var(--muted);
  font-size: 0.95rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
}

.field select,
.field input {
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--white);
}

/* Cart */
.cart-panel {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  width: min(100%, 400px);
  height: 100%;
  background: var(--paper);
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  animation: slideIn 0.35s var(--ease);
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
  }
  to {
    transform: none;
  }
}

.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 1.25rem;
  border-bottom: 1px solid var(--line);
}

.cart-head h2 {
  margin: 0;
  font-size: 1.2rem;
}

.cart-items {
  flex: 1;
  overflow: auto;
  padding: 1rem 1.25rem;
}

.cart-empty {
  color: var(--muted);
  margin: 1rem 0;
}

.cart-line {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 0.75rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}

.cart-line-thumb {
  aspect-ratio: 3 / 4;
}

.cart-line h4 {
  font-size: 0.9rem;
  margin: 0 0 0.2rem;
}

.cart-line p {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.cart-line-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
}

.qty-btn,
.remove-btn {
  appearance: none;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  width: 1.75rem;
  height: 1.75rem;
  cursor: pointer;
  font-size: 0.9rem;
}

.remove-btn {
  width: auto;
  padding: 0 0.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: none;
  color: var(--muted);
}

.cart-line-price {
  font-weight: 700;
  font-size: 0.9rem;
}

.cart-foot {
  padding: 1.15rem 1.25rem 1.5rem;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.55rem;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.cart-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0 0 0.5rem;
}

.toast {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 70;
  background: var(--black);
  color: var(--paper);
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius);
}

.toast[hidden] {
  display: none !important;
}

/* Tablet+ */
@media (min-width: 700px) {
  .nav-toggle {
    display: none;
  }

  .header-inner {
    grid-template-columns: auto 1fr auto;
  }

  .nav-desktop {
    display: flex;
  }

  .brand {
    justify-self: start;
  }

  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .category {
    aspect-ratio: 3 / 4;
  }

  .product-grid,
  .featured-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem 1rem;
  }

  .story-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
  }

  .review-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .visit-grid {
    grid-template-columns: 1fr 1.15fr;
    align-items: stretch;
  }

  .visit-map,
  .visit-map iframe {
    min-height: 100%;
    height: 100%;
  }

  .newsletter-form {
    flex-direction: row;
  }

  .newsletter-form input {
    flex: 1;
  }

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

  .modal-panel {
    grid-template-columns: 1fr 1fr;
  }

  .modal-media {
    aspect-ratio: auto;
    min-height: 100%;
  }
}

@media (min-width: 1000px) {
  .hero-logo {
    width: min(100%, 560px);
    max-height: min(52vh, 420px);
  }

  .product-grid,
  .featured-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 699px) {
  :root {
    --header-h: 3.75rem;
    --promo-h: 2.75rem;
  }

  .wrap {
    width: min(100% - 1.25rem, var(--max));
  }

  h2 {
    font-size: clamp(1.35rem, 6.5vw, 1.75rem);
  }

  .header-inner {
    grid-template-columns: 2.5rem 1fr 2.5rem;
    gap: 0.5rem;
    min-height: var(--header-h);
  }

  .brand {
    justify-self: center;
  }

  .brand img {
    height: 1.9rem;
  }

  .nav-toggle {
    width: 2.5rem;
    height: 2.5rem;
  }

  .bag-btn {
    width: 2.5rem;
    height: 2.5rem;
  }

  .promo {
    padding: 0.5rem 0.75rem;
    font-size: 0.65rem;
    letter-spacing: 0.01em;
    line-height: 1.4;
  }

  .promo p {
    white-space: normal;
  }

  .hero {
    min-height: calc(100svh - var(--header-h) - 2.75rem);
    max-height: none;
    padding: 1.5rem 0 1.75rem;
  }

  .hero-inner {
    width: min(100% - 1.25rem, var(--max));
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-logo {
    width: min(88vw, 300px);
    max-height: min(34vh, 260px);
    margin-bottom: 0.85rem;
  }

  .hero-lead {
    font-size: 0.95rem;
    max-width: 20rem;
    margin-bottom: 1rem;
    padding-inline: 0.25rem;
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
    gap: 0.6rem;
  }

  .hero-actions .btn {
    width: 100%;
    min-width: 0;
  }

  .categories {
    padding: 2.5rem 0 2.25rem;
  }

  .categories-head {
    margin-bottom: 1.25rem;
  }

  .categories-grid {
    gap: 0.65rem;
  }

  .category {
    aspect-ratio: 16 / 9;
  }

  .category span {
    left: 1rem;
    bottom: 0.9rem;
    font-size: 1.15rem;
  }

  .shop,
  .featured,
  .story,
  .reviews,
  .visit,
  .newsletter {
    padding: 2.5rem 0;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
  }

  .section-copy {
    font-size: 0.92rem;
  }

  .filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 0.4rem;
    margin: 0 -0.25rem 1.25rem;
    padding: 0.15rem 0.25rem 0.55rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .filters::-webkit-scrollbar {
    display: none;
  }

  .filter {
    flex: 0 0 auto;
    padding: 0.55rem 0.9rem;
    font-size: 0.78rem;
  }

  .product-grid,
  .featured-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 0.65rem;
  }

  .product-meta h3,
  .look-item h3 {
    font-size: 0.88rem;
  }

  .product-tag {
    font-size: 0.58rem;
    top: 0.45rem;
    left: 0.45rem;
    padding: 0.22rem 0.4rem;
  }

  .featured-nav {
    max-height: none;
    margin-bottom: 1.15rem;
    padding-bottom: 0.25rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .featured-nav::-webkit-scrollbar {
    display: none;
  }

  .score {
    align-items: flex-start;
  }

  .score-num {
    font-size: 2rem;
  }

  .review-list blockquote {
    padding: 1.1rem 1.15rem;
  }

  .review-list p {
    font-size: 0.98rem;
  }

  .visit-info h2 {
    font-size: 1.6rem;
  }

  .visit-actions {
    flex-direction: column;
  }

  .visit-actions .btn {
    width: 100%;
  }

  .visit-map,
  .visit-map iframe {
    min-height: 220px;
  }

  .newsletter-inner {
    padding-inline: 0.15rem;
  }

  .newsletter-form {
    gap: 0.55rem;
  }

  .newsletter-form .btn {
    width: 100%;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
    text-align: center;
  }

  .footer-logo {
    margin-inline: auto;
    height: 2.75rem;
  }

  .footer-col h4 {
    margin-bottom: 0.65rem;
  }

  .footer-copy {
    text-align: center;
    font-size: 0.75rem;
  }

  .mobile-nav {
    padding: 2rem 1.5rem;
    padding-top: max(2rem, env(safe-area-inset-top));
  }

  .mobile-nav a {
    font-size: clamp(1.5rem, 8vw, 2.1rem);
  }

  .modal {
    padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom);
  }

  .modal-panel {
    width: 100%;
    margin: 0;
    max-height: 100%;
    min-height: 100%;
    border: 0;
    border-radius: 0;
  }

  .modal-media {
    aspect-ratio: 1 / 1;
    max-height: 42vh;
  }

  .modal-body {
    padding: 1.15rem 1.15rem 1.75rem;
  }

  .cart-panel {
    width: 100%;
    padding-bottom: env(safe-area-inset-bottom);
  }

  .cart-line {
    grid-template-columns: 64px 1fr;
    grid-template-rows: auto auto;
  }

  .cart-line-price {
    grid-column: 2;
    justify-self: start;
  }

  .toast {
    left: 1rem;
    right: 1rem;
    bottom: max(1rem, env(safe-area-inset-bottom));
    width: auto;
    transform: none;
    text-align: center;
  }
}

@media (max-width: 380px) {
  .product-grid,
  .featured-grid {
    gap: 0.85rem 0.5rem;
  }

  .hero-logo {
    width: min(86vw, 260px);
    max-height: 30vh;
  }

  .btn {
    padding: 0.8rem 1.1rem;
    font-size: 0.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Design switcher */
.design-switch {
  position: fixed;
  z-index: 55;
  left: 1rem;
  bottom: 1rem;
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 1rem;
  background: var(--black);
  color: var(--paper);
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(10, 10, 10, 0.18);
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.design-switch:hover {
  background: var(--orange);
  color: var(--white);
  transform: translateY(-2px);
}

.design-switch-label::before {
  content: "Try ";
  font-weight: 600;
  opacity: 0.8;
}

@media (max-width: 699px) {
  .design-switch {
    left: 0.75rem;
    bottom: max(0.75rem, env(safe-area-inset-bottom));
    font-size: 0.72rem;
    padding: 0.6rem 0.85rem;
  }
}
