:root {
  --ivory: #faf7f3;
  --blush: #e8bfc4;
  --rose: #b97882;
  --rose-deep: #9a5d68;
  --charcoal: #2d2927;
  --beige: #ede4dc;
  --white: #ffffff;
  --muted: #6f6763;
  --line: rgba(45, 41, 39, 0.1);
  --shadow: 0 18px 40px rgba(45, 41, 39, 0.08);
  --shadow-soft: 0 8px 24px rgba(45, 41, 39, 0.06);
  --radius: 16px;
  --radius-sm: 10px;
  --header-h: 78px;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Outfit", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--charcoal);
  background: var(--ivory);
  line-height: 1.6;
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

[hidden] {
  display: none !important;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

button {
  cursor: pointer;
}

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.6em;
  letter-spacing: 0.01em;
}

p {
  margin: 0 0 1em;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.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;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  background: var(--charcoal);
  color: var(--white);
  padding: 10px 16px;
  z-index: 1000;
  border-radius: 8px;
}

.skip-link:focus {
  top: 16px;
}

:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 3px;
}

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--rose);
  font-weight: 500;
  margin-bottom: 12px;
}

.eyebrow.light {
  color: rgba(250, 247, 243, 0.8);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--rose);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--rose-deep);
}

.btn-secondary {
  background: transparent;
  border-color: var(--rose);
  color: var(--charcoal);
}

.btn-secondary:hover {
  background: var(--blush);
  border-color: var(--blush);
}

.btn-light {
  background: var(--ivory);
  color: var(--charcoal);
}

.btn-light:hover {
  background: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--muted);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--charcoal);
  color: var(--charcoal);
}

.btn-block {
  width: 100%;
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.text-btn {
  background: none;
  border: 0;
  color: var(--rose);
  font-size: 0.9rem;
  padding: 8px;
}

.icon-btn {
  position: relative;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--charcoal);
  transition: background 0.2s ease;
}

.icon-btn:hover {
  background: var(--beige);
}

.icon-btn svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.badge {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--rose);
  color: var(--white);
  font-size: 0.62rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(250, 247, 243, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-soft);
}

.header-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  letter-spacing: 0.32em;
  font-weight: 600;
  justify-self: start;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 28px;
}

.nav-links a {
  font-size: 0.92rem;
  position: relative;
  padding: 6px 0;
}

.nav-links a::after,
.mobile-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--rose);
  transition: width 0.25s var(--ease);
}

.nav-links a:hover::after,
.mobile-links a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 2px;
  justify-self: end;
}

.menu-toggle {
  display: none;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--charcoal);
  position: relative;
  border-radius: 2px;
}

.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  left: 0;
}

.hamburger::before { top: -6px; }
.hamburger::after { top: 6px; }

.mobile-nav {
  position: fixed;
  inset: 0 auto 0 0;
  width: min(320px, 86vw);
  background: var(--white);
  z-index: 260;
  padding: 20px 24px 40px;
  box-shadow: var(--shadow);
  transform: translateX(-100%);
  transition: transform 0.35s var(--ease);
}

.mobile-nav.is-open {
  transform: translateX(0);
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}

.mobile-links {
  display: grid;
  gap: 6px;
}

.mobile-links a {
  display: inline-block;
  font-size: 1.15rem;
  padding: 12px 0;
  position: relative;
}

.nav-overlay,
.drawer-overlay,
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(45, 41, 39, 0.38);
  z-index: 240;
}

.drawer-overlay { z-index: 280; }
.modal-overlay {
  z-index: 360;
  display: grid;
  place-items: center;
  padding: 24px;
}

.search-panel {
  position: sticky;
  top: var(--header-h);
  z-index: 90;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.search-form {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
}

.search-form svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--muted);
  stroke-width: 1.6;
  flex-shrink: 0;
}

.search-form input {
  flex: 1;
  border: 0;
  background: transparent;
  font-size: 1rem;
  color: var(--charcoal);
  outline: none;
  min-height: 40px;
}

/* Hero */
.hero {
  position: relative;
  padding: 48px 0 72px;
  overflow: hidden;
}

.hero-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 50% 60% at 85% 20%, rgba(232, 191, 196, 0.45), transparent 60%),
    radial-gradient(ellipse 40% 50% at 8% 80%, rgba(237, 228, 220, 0.9), transparent 60%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(3rem, 5.4vw, 5.2rem);
  margin-bottom: 18px;
}

.lead {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 34em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}

.hero-frame {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--beige);
  aspect-ratio: 3 / 4;
}

.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

/* Features */
.features {
  background: var(--white);
  border-block: 1px solid var(--line);
  padding: 28px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-item {
  text-align: center;
  padding: 12px 10px;
}

.feature-item h2 {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  margin: 8px 0 4px;
}

.feature-item p {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0;
}

.feature-icon {
  width: 46px;
  height: 46px;
  margin: 0 auto;
  border: 1px solid var(--blush);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--rose);
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Sections */
.shop,
.bestsellers,
.about,
.how,
.reviews,
.contact {
  padding: 88px 0;
  scroll-margin-top: 86px;
}

.section-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 40px;
}

.section-header h2 {
  font-size: clamp(2.1rem, 3vw, 3rem);
}

.section-header p:last-child {
  color: var(--muted);
  margin: 0;
}

.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-btn {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--charcoal);
  border-radius: 999px;
  padding: 8px 16px;
  min-height: 40px;
  font-size: 0.85rem;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.filter-btn:hover,
.filter-btn.is-active {
  background: var(--rose);
  border-color: var(--rose);
  color: var(--white);
}

.sort-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--muted);
}

.sort-wrap select {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  padding: 8px 14px;
  min-height: 40px;
  color: var(--charcoal);
}

.results-meta {
  font-size: 0.85rem;
  color: var(--muted);
  min-height: 1.4em;
  margin-bottom: 18px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid transparent;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--beige);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}

.product-card:hover .card-media img {
  transform: scale(1.07);
}

.card-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  background: var(--ivory);
  color: var(--charcoal);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
}

.wish-btn {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--charcoal);
  display: grid;
  place-items: center;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.wish-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

.wish-btn.is-active {
  color: var(--rose);
}

.wish-btn.is-active svg {
  fill: currentColor;
}

.wish-btn:hover {
  transform: scale(1.06);
}

.quick-view-btn {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%) translateY(8px);
  opacity: 0;
  border: 0;
  background: var(--white);
  color: var(--charcoal);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.product-card:hover .quick-view-btn,
.product-card:focus-within .quick-view-btn {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.card-body {
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.card-body h3 {
  font-size: 1.25rem;
  margin: 0;
}

.card-desc {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.price {
  font-weight: 500;
}

.stars {
  color: var(--rose);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  margin: 0;
}

.stars .count {
  color: var(--muted);
  margin-left: 4px;
}

.add-btn {
  margin-top: auto;
  width: 100%;
  min-height: 42px;
  border-radius: 999px;
  border: 1px solid var(--rose);
  background: transparent;
  color: var(--charcoal);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  transition: background 0.2s ease, color 0.2s ease;
}

.add-btn:hover {
  background: var(--rose);
  color: var(--white);
}

.empty-state {
  text-align: center;
  padding: 56px 16px;
  color: var(--muted);
  background: var(--white);
  border-radius: var(--radius);
}

/* Promo */
.promo {
  background:
    radial-gradient(ellipse at 20% 0%, rgba(255, 255, 255, 0.12), transparent 50%),
    var(--rose);
  color: var(--ivory);
  padding: 92px 0;
  text-align: center;
}

.promo h2 {
  font-size: clamp(2.4rem, 4vw, 4rem);
  color: var(--white);
}

.promo p {
  font-size: 1.15rem;
  margin-bottom: 24px;
}

/* About */
.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-media {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.about-copy p {
  color: var(--muted);
}

.about-copy .btn {
  margin-top: 8px;
}

/* How */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  counter-reset: none;
}

.step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.step-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--rose);
  margin-bottom: 10px;
}

.step h3 {
  font-size: 1.4rem;
}

.step p {
  color: var(--muted);
  margin: 0;
}

/* Reviews */
.reviews {
  background: var(--white);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.review-card {
  background: var(--ivory);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-soft);
}

.review-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.review-top h3 {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  margin: 0;
}

.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.review-card > p {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0;
}

/* Newsletter */
.newsletter {
  padding: 80px 0;
  background: var(--beige);
  text-align: center;
}

.newsletter h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.newsletter-inner p {
  color: var(--muted);
}

.newsletter-form,
.contact-form {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 560px;
  margin: 20px auto 0;
}

.newsletter-form input {
  flex: 1;
  min-width: 220px;
  min-height: 48px;
  border-radius: 999px;
  border: 1px solid var(--line);
  padding: 0 18px;
  background: var(--white);
  color: var(--charcoal);
}

.form-message {
  min-height: 1.4em;
  margin: 12px 0 0;
  font-size: 0.92rem;
  color: var(--rose-deep);
}

.form-message.is-success {
  color: #5c7a5a;
}

.form-message.is-error {
  color: #8a3d3d;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.contact-details {
  margin-top: 20px;
  display: grid;
  gap: 10px;
}

.contact-details strong {
  display: inline-block;
  width: 72px;
  color: var(--charcoal);
}

.contact-details li {
  color: var(--muted);
}

.contact-form {
  display: grid;
  gap: 14px;
  margin: 0;
  max-width: none;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-size: 0.85rem;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  background: var(--white);
  color: var(--charcoal);
  resize: vertical;
}

/* Footer */
.site-footer {
  background: var(--charcoal);
  color: #f3ece6;
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 48px;
}

.site-footer .logo {
  color: var(--ivory);
  display: inline-block;
  margin-bottom: 12px;
}

.site-footer p,
.site-footer a {
  color: rgba(250, 247, 243, 0.72);
  font-size: 0.92rem;
}

.site-footer h2 {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ivory);
}

.site-footer li {
  margin-bottom: 8px;
}

.site-footer a:hover {
  color: var(--white);
}

.socials {
  display: flex;
  gap: 10px;
}

.socials a {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(250, 247, 243, 0.2);
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.socials svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

.footer-bottom {
  border-top: 1px solid rgba(250, 247, 243, 0.1);
  text-align: center;
  padding: 18px 16px;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.82rem;
}

/* Drawers */
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(420px, 100%);
  height: 100%;
  background: var(--white);
  z-index: 300;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
  box-shadow: var(--shadow);
}

.drawer.is-open {
  transform: translateX(0);
}

.drawer-header,
.drawer-footer {
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
}

.drawer-footer {
  border-bottom: 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.drawer-header h2 {
  margin: 0;
  font-size: 1.7rem;
}

.drawer-body {
  flex: 1;
  overflow: auto;
  padding: 12px 22px 24px;
}

.cart-row,
.wish-row {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}

.cart-row img,
.wish-row img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 10px;
}

.cart-row h3,
.wish-row h3 {
  font-size: 1.05rem;
  margin: 0 0 4px;
}

.line-price {
  font-size: 0.9rem;
  color: var(--muted);
}

.remove-btn {
  background: none;
  border: 0;
  color: var(--muted);
  font-size: 0.8rem;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}

.qty-control button {
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  font-size: 1.05rem;
}

.qty-control input {
  width: 36px;
  border: 0;
  text-align: center;
  background: transparent;
  color: var(--charcoal);
  -moz-appearance: textfield;
}

.qty-control input::-webkit-outer-spin-button,
.qty-control input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.totals p {
  display: flex;
  justify-content: space-between;
  margin: 0 0 8px;
  color: var(--muted);
}

.totals .total {
  color: var(--charcoal);
  font-size: 1.05rem;
  font-weight: 500;
  margin-top: 8px;
}

.shipping-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0 0 14px;
}

.drawer-empty {
  text-align: center;
  color: var(--muted);
  padding: 48px 12px;
}

.wish-row .btn {
  min-height: 36px;
  padding: 0 12px;
  font-size: 0.78rem;
}

/* Modal */
.modal {
  width: min(920px, 100%);
  max-height: 90vh;
  overflow: auto;
  background: var(--white);
  border-radius: 20px;
  position: relative;
  padding: 28px;
  box-shadow: var(--shadow);
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
}

.modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.modal-media {
  border-radius: 16px;
  overflow: hidden;
  background: var(--beige);
}

.modal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.modal-copy h2 {
  font-size: 2.2rem;
  margin-bottom: 6px;
}

.modal-price {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.modal-meta {
  display: grid;
  gap: 6px;
  margin: 16px 0 20px;
  font-size: 0.92rem;
}

.modal-meta strong {
  display: inline-block;
  width: 70px;
}

.qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.qty-label {
  font-size: 0.9rem;
}

/* Toasts */
.toasts {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 500;
  display: grid;
  gap: 8px;
}

.toast {
  background: var(--charcoal);
  color: var(--ivory);
  padding: 12px 16px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  min-width: 220px;
  animation: toast-in 0.3s var(--ease);
}

@keyframes toast-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Responsive */
@media (max-width: 1100px) {
  .product-grid,
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .hero-grid,
  .about-grid,
  .contact-grid,
  .modal-grid,
  .features-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 24px;
  }

  .hero-media {
    order: -1;
  }

  .hero-frame {
    aspect-ratio: 4 / 3;
    max-height: 460px;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .nav-desktop {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .header-inner {
    grid-template-columns: auto 1fr auto;
  }

  .logo {
    justify-self: center;
  }
}

@media (max-width: 700px) {
  .filters {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }

  .filter-btn {
    flex-shrink: 0;
  }

  .product-grid,
  .reviews-grid,
  .bestsellers-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .shop,
  .bestsellers,
  .about,
  .how,
  .reviews,
  .contact {
    padding: 64px 0;
  }

  .container {
    width: min(1180px, calc(100% - 32px));
  }

  .quick-view-btn {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }

  .hero h1 {
    font-size: 2.6rem;
  }

  .hero-actions .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .card-body {
    padding: 12px;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .modal {
    padding: 18px 16px 24px;
    max-height: 92vh;
  }

  .toasts {
    left: 12px;
    right: 12px;
  }

  .toast {
    min-width: 0;
  }
}
