:root {
  --bg: #070707;
  --surface: #0f0f0f;
  --card: #141414;
  --text: #f5f2f0;
  --muted: #bdb8af;
  --border: rgba(255, 255, 255, 0.08);
  --accent: #f25f4c;
  --accent-soft: #ff8f6b;
  --glow: rgba(242, 95, 76, 0.15);
  --hero-bg: linear-gradient(180deg, rgba(7, 7, 7, 0.5), rgba(7, 7, 7, 0.7)),
    url('assets/images/editorial-dress.jpg');
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
}

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

select {
  font-family: inherit;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--card);
  color: var(--text);
  padding: 0.9rem 1rem;
}

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

main {
  display: block;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.section {
  padding: 4rem 1.25rem;
}

.section + .section {
  border-top: 1px solid var(--border);
}

.layout {
  max-width: 1280px;
  margin: 0 auto;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 1rem 1.25rem;
  background: rgba(7, 7, 7, 0.85);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-header.sticky {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.65);
}

.brand {
  font-weight: 600;
  letter-spacing: 0.2rem;
  text-transform: uppercase;
  font-size: 1rem;
  white-space: nowrap;
}

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

.primary-nav {
  display: flex;
  gap: 1rem;
  font-size: 0.95rem;
}

.primary-nav a {
  padding: 0.35rem 0.25rem;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease;
}

.primary-nav a:hover {
  border-color: var(--accent);
}

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

.icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  position: relative;
}

.icon-btn:hover {
  background: rgba(242, 95, 76, 0.15);
  transform: translateY(-1px);
}

.icon-btn svg {
  width: 18px;
  height: 18px;
}

.cart-badge {
  position: absolute;
  top: 4px;
  right: 6px;
  min-width: 16px;
  text-align: center;
  font-size: 0.6rem;
  border-radius: 999px;
  background: var(--accent);
  color: #080808;
  padding: 2px 5px;
  font-weight: 600;
}

.nav-drawer-toggle {
  display: none;
  border: none;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.nav-drawer-toggle svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 768px) {
  .primary-nav,
  .desktop-only {
    display: none;
  }

  .nav-drawer-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

@media (min-width: 769px) {
  .mobile-only {
    display: none;
  }
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 998;
}

.drawer-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 80vw);
  height: 100vh;
  background: #080808;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  padding: 2rem 1.5rem;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-drawer.active {
  transform: translateX(0);
}

.mobile-drawer nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-drawer nav a {
  letter-spacing: 0.15rem;
  text-transform: uppercase;
}

.mobile-drawer .drawer-cta {
  margin-top: auto;
}

 .hero {
  position: relative;
  background: var(--accent);
  color: var(--text);
  padding: 6rem 1.25rem;
  margin: 0;
  min-height: clamp(520px, 90vh, 820px);
  background-image: var(--hero-bg);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 7, 7, 0.1), rgba(7, 7, 7, 0.8));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-eyebrow {
  letter-spacing: 0.4rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--muted);
}

.hero h1 {
  font-family: "Georgia", "Times New Roman", serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin: 0.5rem 0;
}

.hero p {
  max-width: 540px;
  color: var(--muted);
}

.cta-row {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.button {
  border-radius: 999px;
  padding: 0.9rem 1.6rem;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.2rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.primary-btn {
  background: var(--accent);
  color: #080808;
  box-shadow: 0 10px 30px rgba(242, 95, 76, 0.4);
}

.secondary-btn {
  border: 1px solid var(--border);
  color: var(--text);
  background: transparent;
}

.button:hover {
  transform: translateY(-2px);
}

.hero-trust {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2rem;
  color: var(--muted);
}

.shop-by-section {
  background: var(--surface);
}

.edit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
}

.category-card {
  position: relative;
  min-height: 240px;
  border-radius: 1.25rem;
  overflow: hidden;
  background: var(--card);
  transition: transform 0.4s ease;
}

.category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 7, 7, 0.2), rgba(7, 7, 7, 0.85));
}

.category-card .category-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  z-index: 1;
}

.category-card h3 {
  margin: 0;
  font-size: 1.3rem;
}

.category-card span {
  font-size: 0.75rem;
  letter-spacing: 0.3rem;
}

.category-card:hover {
  transform: translateY(-6px) scale(1.01);
}

.category-card[data-bg] {
  background: var(--card);
  background-size: cover;
  background-position: center;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: var(--card);
  border-radius: 1.25rem;
  overflow: hidden;
  position: relative;
  border: 1px solid transparent;
  transition: border 0.2s ease, transform 0.3s ease;
}

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

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

.product-card .product-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.product-card h3 {
  margin: 0;
  font-size: 1.1rem;
}

.product-card .price {
  color: var(--muted);
  font-size: 0.95rem;
}

.product-card .card-actions {
  margin-top: 0.7rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-card .card-actions button {
  font-size: 0.7rem;
  letter-spacing: 0.2rem;
  padding: 0.55rem 0.9rem;
}

.quick-view {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  z-index: 1100;
}

.quick-view.active {
  display: flex;
}

.quick-view .modal {
  background: var(--surface);
  border-radius: 1.5rem;
  overflow: hidden;
  max-width: 900px;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.quick-view img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.quick-view .modal-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.quick-view .modal-body h3 {
  margin: 0;
  font-size: 1.8rem;
}

.quick-view .close-btn {
  align-self: flex-end;
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 0.9rem;
  letter-spacing: 0.3rem;
  cursor: pointer;
}

.lookbook-grid {
  column-count: 3;
  column-gap: 1rem;
}

.lookbook-grid figure {
  background: var(--card);
  margin: 0 0 1rem;
  border-radius: 1rem;
  overflow: hidden;
  break-inside: avoid;
  position: relative;
}

.lookbook-grid button {
  border: none;
  padding: 0;
  border-radius: 1rem;
  background: transparent;
  color: inherit;
  text-align: left;
  width: 100%;
  display: block;
}

.lookbook-grid img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.look-caption {
  display: block;
  padding: 0.85rem 1rem;
  font-size: 0.85rem;
  letter-spacing: 0.2rem;
  text-transform: uppercase;
  color: var(--muted);
}

.teaser-media img {
  width: 100%;
  border-radius: 1.25rem;
  height: 360px;
  object-fit: cover;
  border: 1px solid var(--border);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem;
}

.testimonial-card {
  background: var(--card);
  padding: 1.5rem;
  border-radius: 1.25rem;
  border: 1px solid var(--border);
}

.newsletter {
  background: var(--surface);
  padding: 3rem 1.25rem;
}

.newsletter form {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.newsletter input {
  flex: 1;
  min-width: 220px;
  padding: 0.95rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
}

.newsletter button {
  border-radius: 999px;
  border: none;
  padding: 0.95rem 1.5rem;
  background: var(--accent);
  color: #080808;
  text-transform: uppercase;
  letter-spacing: 0.3rem;
  cursor: pointer;
}

input,
textarea {
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--card);
  color: var(--text);
  padding: 0.9rem 1rem;
  font-family: inherit;
}

textarea {
  resize: vertical;
  min-height: 140px;
}

.map-placeholder {
  margin-top: 2rem;
  padding: 3rem;
  border-radius: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  text-transform: uppercase;
  letter-spacing: 0.3rem;
  text-align: center;
}

.contact-grid {
  align-items: stretch;
  justify-content: space-between;
}

.contact-form {
  flex: 1;
  min-width: 260px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
}

.contact-info {
  flex: 1;
  min-width: 220px;
}

@media (max-width: 992px) {
  .contact-grid {
    flex-direction: column;
  }
}

section ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem;
  letter-spacing: 0.2rem;
  color: var(--muted);
}

section ul li {
  margin-bottom: 0.25rem;
}

section ul li::before {
  content: '•';
  color: var(--accent);
  margin-right: 0.5rem;
}

.filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 1.8rem;
}

.filters select {
  width: 100%;
}

.pagination {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.pagination .button {
  min-width: 48px;
}

.product-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.product-meta .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--border);
}

.product-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.product-details {
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: var(--card);
  border-radius: 1.25rem;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.gallery-main img {
  height: 420px;
  object-fit: cover;
  border-radius: 1.5rem;
}

.gallery-thumbs {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.gallery-thumbs button {
  border: none;
  background: transparent;
  padding: 0;
  flex: 0 0 90px;
}

.gallery-thumbs img {
  height: 90px;
  width: 90px;
  object-fit: cover;
  border-radius: 0.9rem;
  opacity: 0.7;
}

.gallery-thumbs button.active img {
  border: 2px solid var(--accent);
  opacity: 1;
}

.quantity-stepper {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.2rem 0.75rem;
}

.quantity-stepper button {
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 1.2rem;
  cursor: pointer;
}

.quantity-stepper input {
  width: 60px;
  text-align: center;
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 1rem;
}

.accordion {
  border-top: 1px solid var(--border);
  margin-top: 2rem;
}

.accordion button {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--text);
  padding: 1rem 0;
  text-align: left;
  font-size: 1rem;
  letter-spacing: 0.2rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion .panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion .panel.open {
  max-height: 200px;
  padding-bottom: 1rem;
}

.assist-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.lookbook-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1200;
}

.lookbook-lightbox.active {
  display: flex;
}

.lookbook-lightbox img {
  max-width: 85vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 1.5rem;
}

.footer {
  padding: 2.5rem 1.25rem;
  background: #050505;
  border-top: 1px solid var(--border);
}

.footer .layout {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
}

.footer nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer small {
  color: var(--muted);
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
}

.cart-row {
  border-bottom: 1px solid var(--border);
}

.cart-row td {
  padding: 1rem 0;
}

.quantity-input {
  width: 70px;
  padding: 0.4rem;
  border-radius: 0.6rem;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  text-align: center;
}

.cart-actions button {
  background: none;
  border: 1px solid var(--border);
  padding: 0.5rem 1rem;
  border-radius: 0.8rem;
  color: var(--text);
  cursor: pointer;
}

.subtotal-row {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
  font-size: 1.1rem;
}

.toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: var(--card);
  padding: 1rem 1.5rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 1300;
}

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

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 992px) {
  .lookbook-grid {
    column-count: 2;
  }

  .gallery-main img {
    height: 300px;
  }
}

@media (max-width: 768px) {
  .lookbook-grid {
    column-count: 1;
  }

  .hero {
    padding: 3rem 1rem;
  }

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

  .hero h1 {
    font-size: clamp(2.2rem, 10vw, 3rem);
  }
}

@media (max-width: 480px) {
  .hero-trust {
    font-size: 0.7rem;
  }

  .cta-row {
    flex-direction: column;
    align-items: flex-start;
  }
}
