@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Montserrat:wght@500;600;700&display=swap");

:root {
  --bg: #ffffff;
  --surface: #f7f7f7;
  --surface-strong: #f1f1f1;
  --text: #111111;
  --muted: #6b7280;
  --border: #e5e7eb;
  --button: #111111;
  --button-hover: #262626;
  --max-width: 1280px;
  --radius: 0;
  --shadow: 0 10px 30px rgba(17, 17, 17, 0.06);
  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.25rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4.5rem;
  --space-9: 6rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  min-width: 320px;
  overflow-x: hidden;
}

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

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

button {
  cursor: pointer;
  border: 0;
  background: none;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  background: var(--bg);
  padding: 0.9rem 1rem;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--text);
}

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

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

p {
  margin: 0;
}

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

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

.section {
  padding: clamp(3.5rem, 6vw, 5.25rem) 0;
}

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

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.6rem);
}

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

.btn,
.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.85rem 1.4rem;
  border: 1px solid var(--text);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

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

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--button-hover);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
}

.btn-secondary:hover,
.btn-secondary:focus-visible,
.button-link:hover,
.button-link:focus-visible {
  background: var(--text);
  color: #fff;
}

.button-link {
  width: 100%;
}

.text-link {
  position: relative;
  width: fit-content;
  color: var(--text);
}

.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.18rem;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.text-link:hover::after,
.text-link:focus-visible::after {
  transform: scaleX(1);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.25rem;
  min-height: 5rem;
}

.logo {
  font-family: "Montserrat", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.desktop-nav ul,
.header-actions,
.mobile-header-actions,
.footer-links,
.footer-meta,
.product-meta,
.sale-pricing,
.info-list,
.summary-line,
.cart-item-meta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.desktop-nav {
  justify-self: center;
}

.desktop-nav ul {
  flex-wrap: nowrap;
  justify-content: center;
}

.desktop-nav a,
.header-actions a,
.mobile-header-actions a,
.mobile-nav-panel a {
  font-size: 0.95rem;
  white-space: nowrap;
}

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

.desktop-nav a.active,
.desktop-nav a:hover,
.header-actions a:hover,
.mobile-nav-panel a:hover,
.footer-links a:hover {
  color: var(--text);
}

.header-actions {
  gap: 1rem;
}

.search-form {
  position: relative;
}

.search-form input {
  min-width: 14rem;
  padding-block: 0.7rem;
}

.mobile-only {
  display: none;
}

.mobile-nav-panel {
  display: none;
  border-top: 1px solid var(--border);
  background: #fff;
}

.mobile-nav-panel.is-open {
  display: block;
}

.mobile-nav-content {
  padding: 1rem 0 1.5rem;
}

.mobile-nav-content nav ul {
  display: grid;
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.page-hero {
  padding: clamp(6rem, 10vw, 8rem) 0 3rem;
}

.hero {
  position: relative;
  min-height: 80vh;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  color: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17, 17, 17, 0.54), rgba(17, 17, 17, 0.18));
}

.hero-content {
  position: relative;
  display: flex;
  align-items: end;
  min-height: 80vh;
  padding: 5rem 0;
}

.hero-copy {
  max-width: 40rem;
}

.hero-copy h1 {
  font-size: clamp(2.8rem, 6vw, 5.75rem);
  margin-bottom: 1rem;
}

.hero-copy p {
  max-width: 34rem;
  margin-bottom: 1.75rem;
  color: rgba(255, 255, 255, 0.86);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.editorial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.editorial-card,
.category-card,
.collection-card,
.product-card,
.sale-card,
.deal-card,
.about-visual,
.support-card,
.value-card,
.contact-card,
.cart-card,
.summary-card,
.filter-panel {
  background: #fff;
  border: 1px solid var(--border);
}

.editorial-media,
.category-card-media,
.collection-banner,
.collection-feature-media,
.mini-product-media,
.product-card-media,
.product-gallery-main,
.product-gallery-thumb,
.cart-item-media,
.about-visual,
.support-card-media {
  position: relative;
}

.editorial-image,
.category-card img,
.collection-banner img,
.collection-feature-media img,
.mini-product-media img,
.product-card img,
.sale-card img,
.deal-card img,
.about-visual img,
.support-card img,
.product-gallery-main img,
.product-gallery-thumb img,
.cart-item-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.editorial-card {
  display: grid;
  grid-template-rows: auto 1fr;
}

.editorial-media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.editorial-copy,
.product-card-body,
.sale-card-body,
.deal-card-body,
.contact-card,
.support-card-body,
.value-card,
.cart-card,
.summary-card {
  padding: 1.25rem;
}

.editorial-copy p,
.product-card-body p,
.sale-card-body p,
.deal-card-body p,
.support-card-body p,
.value-card p,
.cart-meta p,
.policy-copy,
.contact-copy,
.product-description,
.summary-note {
  color: var(--muted);
}

.editorial-copy,
.product-card-body,
.sale-card-body,
.deal-card-body,
.support-card-body {
  display: grid;
  gap: 0.8rem;
  align-content: start;
}

.product-grid,
.sale-grid,
.deals-grid,
.category-grid,
.values-grid,
.related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.product-grid.compact,
.related-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-card-media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--surface);
}

.product-card,
.sale-card,
.deal-card,
.category-card,
.support-card {
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
}

.product-card-body .button-link,
.sale-card-body .button-link,
.deal-card-body .button-link {
  margin-top: auto;
}

.product-meta {
  justify-content: space-between;
  gap: 0.8rem;
  color: var(--muted);
  font-size: 0.92rem;
  flex-wrap: wrap;
}

.price {
  color: var(--text);
  font-weight: 600;
}

.collection-stack {
  display: grid;
  gap: 1.5rem;
}

.collection-banner {
  position: relative;
  min-height: clamp(22rem, 42vw, 31rem);
  overflow: hidden;
  border: 1px solid var(--border);
}

.collection-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17, 17, 17, 0.4), rgba(17, 17, 17, 0.12));
}

.collection-copy {
  position: absolute;
  inset: auto auto 2rem 2rem;
  max-width: 28rem;
  color: #fff;
  z-index: 1;
}

.collection-copy p {
  margin: 0.8rem 0 1rem;
  color: rgba(255, 255, 255, 0.85);
}

.collection-banner-basics img {
  object-position: center 38%;
}

.collection-banner-weekend img {
  object-position: center 22%;
}

.newsletter {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: center;
  border: 1px solid var(--border);
  padding: 2rem;
}

.newsletter-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.8rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 4rem 0 1.5rem;
  background: #fff;
}

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

.footer-column {
  display: grid;
  align-content: start;
  gap: 0.9rem;
}

.footer-title {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-column a,
.footer-column p,
.footer-meta {
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-meta {
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.shop-layout {
  display: grid;
  grid-template-columns: 18rem 1fr;
  gap: 2rem;
}

.filter-panel {
  position: sticky;
  top: 6rem;
  align-self: start;
  padding: 1.25rem;
}

.filter-group {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.filter-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.filter-options {
  display: grid;
  gap: 0.7rem;
}

.filter-options label,
.size-options label,
.quantity-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.filter-options input[type="checkbox"],
.size-options input[type="radio"] {
  width: 1rem;
  height: 1rem;
  margin: 0;
}

.shop-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

.toolbar-actions {
  display: flex;
  gap: 0.8rem;
  align-items: center;
}

.mobile-filter-toggle {
  display: none;
}

.mobile-filter-drawer {
  display: none;
  position: fixed;
  inset: 5rem 0 0 0;
  z-index: 35;
  background: rgba(17, 17, 17, 0.45);
}

.mobile-filter-drawer.is-open {
  display: grid;
}

.drawer-panel {
  margin-top: auto;
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 1.25rem 1rem 1.5rem;
  max-height: calc(100vh - 5rem);
  overflow: auto;
}

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

.category-card {
  display: grid;
}

.category-card-media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.category-card-body {
  display: grid;
  gap: 0.75rem;
  padding: 1.25rem;
}

.collections-hero,
.deals-hero,
.contact-hero,
.about-hero {
  background: var(--surface);
}

.collections-layout {
  display: grid;
  gap: 2rem;
}

.collection-feature {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

.collection-feature.reverse {
  grid-template-columns: 1fr 1.1fr;
}

.collection-feature-media {
  min-height: 32rem;
  overflow: hidden;
  border: 1px solid var(--border);
}

.collection-feature-copy {
  display: grid;
  align-content: center;
  gap: 1rem;
}

.mini-product-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.mini-product {
  display: grid;
  gap: 0.75rem;
}

.mini-product-media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--border);
}

.product-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
}

.product-gallery {
  display: grid;
  gap: 1rem;
}

.product-gallery-main {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
}

.product-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.product-gallery-thumb {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
}

.product-panel {
  display: grid;
  align-content: start;
  gap: 1.5rem;
}

.product-price {
  font-size: 1.5rem;
  font-weight: 700;
}

.size-options {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.quantity-selector {
  display: inline-grid;
  grid-template-columns: repeat(3, auto);
  border: 1px solid var(--border);
  width: fit-content;
}

.quantity-selector button,
.quantity-selector span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  min-height: 3rem;
}

.quantity-selector button {
  background: var(--surface);
}

.detail-list {
  display: grid;
  gap: 0.75rem;
  color: var(--muted);
}

.about-grid,
.contact-grid,
.cart-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.about-visual {
  overflow: hidden;
}

.about-visual.tall {
  min-height: 36rem;
}

.about-copy {
  display: grid;
  gap: 1.5rem;
}

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

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.support-card {
  display: grid;
}

.support-card-media {
  aspect-ratio: 5 / 4;
  overflow: hidden;
}

.form-grid {
  display: grid;
  gap: 1rem;
}

.form-status {
  min-height: 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.form-status.is-error {
  color: #991b1b;
}

.form-status.is-success {
  color: #166534;
}

.contact-points {
  display: grid;
  gap: 1rem;
}

.contact-point {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

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

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

.cart-item-media {
  aspect-ratio: 4 / 5;
  background: var(--surface);
  overflow: hidden;
}

.cart-item-meta {
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.cart-item-actions {
  display: grid;
  align-content: space-between;
  justify-items: end;
}

.summary-card {
  display: grid;
  gap: 1rem;
  align-content: start;
  position: sticky;
  top: 6rem;
}

.summary-line {
  justify-content: space-between;
  gap: 1rem;
}

.summary-line.total {
  font-weight: 700;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.empty-state {
  padding: 1.5rem 0;
  color: var(--muted);
}

.is-hidden {
  display: none !important;
}

@media (max-width: 1100px) {
  .desktop-nav,
  .header-actions {
    display: none;
  }

  .mobile-only {
    display: flex;
  }

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

.mobile-header-actions {
  gap: 1rem;
}

.icon-button,
.icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid transparent;
  color: var(--text);
}

.icon-button:hover,
.icon-link:hover,
.icon-button:focus-visible,
.icon-link:focus-visible {
  border-color: var(--border);
}

.hamburger-icon {
  position: relative;
  width: 1.2rem;
  height: 0.8rem;
  display: inline-block;
}

.hamburger-icon::before,
.hamburger-icon::after,
.hamburger-icon span {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
}

.hamburger-icon::before {
  top: 0;
}

.hamburger-icon span {
  top: calc(50% - 0.75px);
}

.hamburger-icon::after {
  bottom: 0;
}

.cart-icon {
  position: relative;
  width: 1.2rem;
  height: 1rem;
  display: inline-block;
  border: 1.5px solid currentColor;
  border-top: 0;
}

.cart-icon::before {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: -0.42rem;
  width: 0.75rem;
  height: 0.45rem;
  border: 1.5px solid currentColor;
  border-bottom: 0;
  border-radius: 0.6rem 0.6rem 0 0;
}

.cart-badge {
  position: absolute;
  top: -0.35rem;
  right: -0.55rem;
  min-width: 1.1rem;
  height: 1.1rem;
  padding: 0 0.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--text);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1;
}

  .editorial-grid,
  .product-grid,
  .sale-grid,
  .deals-grid,
  .values-grid,
  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid,
  .about-grid,
  .contact-grid,
  .cart-layout {
    grid-template-columns: 1fr;
  }

  .shop-layout {
    grid-template-columns: 1fr;
  }

  .filter-panel.desktop-filter {
    display: none;
  }

  .mobile-filter-toggle {
    display: inline-flex;
  }

  .collection-feature,
  .collection-feature.reverse,
  .newsletter {
    grid-template-columns: 1fr;
  }

  .collection-copy {
    max-width: 24rem;
  }

  .product-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .hero,
  .hero-content {
    min-height: 560px;
  }

  .section {
    padding: 3.5rem 0;
  }

  .section-header,
  .shop-toolbar,
  .footer-meta {
    align-items: start;
    flex-direction: column;
  }

  .category-grid,
  .support-grid,
  .mini-product-row {
    grid-template-columns: 1fr;
  }

  .collection-banner {
    min-height: 22rem;
  }

  .newsletter-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 1.25rem), var(--max-width));
  }

  .header-inner {
    min-height: 4.5rem;
  }

  .mobile-header-actions {
    gap: 0.75rem;
  }

  .hero-copy h1 {
    font-size: clamp(2.2rem, 9vw, 3.6rem);
  }

  .collection-copy {
    inset: auto 1.25rem 1.25rem 1.25rem;
    max-width: none;
  }

  .collection-copy h2 {
    font-size: clamp(1.8rem, 7vw, 2.4rem);
  }

  .editorial-grid,
  .product-grid,
  .sale-grid,
  .deals-grid,
  .values-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .product-grid.compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .cart-item-actions {
    justify-items: start;
    gap: 1rem;
  }
}

@media (max-width: 420px) {
  .logo {
    font-size: 1rem;
  }

  .mobile-header-actions a,
  .mobile-header-actions button {
    font-size: 0.92rem;
  }

  .product-grid.compact {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .toolbar-actions {
    width: 100%;
  }

  .toolbar-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .collection-banner {
    min-height: 19rem;
  }

  .collection-copy p {
    font-size: 0.95rem;
  }
}
