
/* =========================================================
   AURENAR — SHARED STOREFRONT STYLESHEET
   Direction: Dark editorial / premium experimental streetwear
   Responsive: Mobile, tablet and desktop
   ========================================================= */

:root {
  color-scheme: dark;
  --background: #0b0b0c;
  --surface: #121214;
  --surface-raised: #19191c;
  --surface-soft: #202024;
  --text: #f2f0ec;
  --muted: #a09da0;
  --subtle: #777378;
  --border: rgba(242, 240, 236, .14);
  --border-strong: rgba(242, 240, 236, .25);
  --accent: #85313b;
  --accent-hover: #a3434e;
  --silver: #c7c5c2;
  --heading-font: "Cormorant Garamond", Georgia, serif;
  --body-font: "Inter", Arial, sans-serif;
  --page-width: 1600px;
  --header-height: 76px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: var(--body-font);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body,
button,
input,
select,
textarea {
  font-family: var(--body-font);
}

button,
input,
select,
textarea {
  font-size: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

button {
  color: inherit;
}

button,
input,
select,
textarea {
  max-width: 100%;
}

button {
  cursor: pointer;
}

button:disabled {
  opacity: .48;
  cursor: not-allowed;
}

img,
picture,
video,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

[hidden] {
  display: none !important;
}

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

::selection {
  background: #85313b;
  color: #fff;
}

/* ---------- Shared utilities ---------- */

.container,
.page-container {
  width: min(1280px, calc(100% - 64px));
  margin-inline: auto;
}

.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;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 2.4px;
  line-height: 1.7;
  text-transform: uppercase;
}

.page-title {
  margin: 0 0 14px;
  font-family: var(--heading-font);
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.8px;
}

.page-description {
  max-width: 620px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
}

.section-title {
  margin: 0;
  font-family: var(--heading-font);
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 400;
  line-height: 1.05;
}

.section-label {
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

/* ---------- Announcement bar ---------- */

.announcement {
  min-height: 31px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7px 14px;
  background: #171416;
  color: #e7dfe0;
  text-align: center;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 1.5px;
  line-height: 1.5;
  text-transform: uppercase;
}

/* ---------- Main header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  min-height: var(--header-height);
  background: rgba(11, 11, 12, .94);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.header-inner {
  width: min(var(--page-width), 100%);
  min-height: var(--header-height);
  margin-inline: auto;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.logo,
.wordmark,
.footer-brand {
  color: var(--text);
  font-family: var(--heading-font);
  font-size: clamp(25px, 3vw, 36px);
  font-weight: 600;
  letter-spacing: 5px;
  line-height: 1;
  white-space: nowrap;
}

.brand,
.logo,
.wordmark {
  flex: 0 0 auto;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2.5vw, 34px);
}

.desktop-nav a {
  position: relative;
  padding: 10px 0;
  color: #d2ced0;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: color .2s ease;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 1px;
  background: var(--silver);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}

.desktop-nav a:hover,
.desktop-nav a.active {
  color: #fff;
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.icon-button,
.icon-action,
.menu-toggle,
.menu-button {
  position: relative;
  min-width: 36px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: color .2s ease;
}

.icon-button:hover,
.icon-action:hover,
.menu-toggle:hover,
.menu-button:hover {
  color: var(--silver);
}

.icon-button svg,
.icon-action svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bag-count,
#bagCount,
.count {
  position: absolute;
  top: 0;
  right: -3px;
  min-width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  padding: 0 4px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 9px;
  line-height: 1;
}

.menu-toggle {
  display: none;
}

/* ---------- Mobile navigation ---------- */

.mobile-nav,
.mobile-menu {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  z-index: 110;
  display: none;
  max-height: calc(100dvh - 105px);
  padding: 10px 22px 22px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #111113;
  border-bottom: 1px solid var(--border-strong);
  box-shadow: 0 18px 35px rgba(0, 0, 0, .42);
}

.mobile-nav.open,
.mobile-menu.open,
.mobile-nav:not([hidden]),
.mobile-menu:not([hidden]) {
  display: block;
}

.mobile-nav a,
.mobile-menu a {
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 14px 2px;
  border-bottom: 1px solid var(--border);
  color: #eee9e8;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  line-height: 1.6;
  overflow-wrap: anywhere;
  text-transform: uppercase;
  white-space: normal;
}

.mobile-nav a:hover,
.mobile-menu a:hover {
  color: #d18a91;
}

.mobile-nav a:last-child,
.mobile-menu a:last-child {
  border-bottom: 0;
}

/* ---------- Search panel ---------- */

.search-panel {
  position: relative;
  z-index: 40;
  padding: 24px 5%;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.search-panel label {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.search-row {
  width: min(720px, 100%);
  display: flex;
  align-items: stretch;
  gap: 10px;
}

.search-row input,
.newsletter-form input,
.search-wrap input,
.checkout-form input,
.auth-form input,
.checkout-form select,
.checkout-form textarea {
  min-width: 0;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 0;
  background: #151517;
  color: var(--text);
}

.search-row input,
.newsletter-form input {
  flex: 1;
}

input::placeholder,
textarea::placeholder {
  color: #777378;
  opacity: 1;
}

.search-row button,
.newsletter-form button {
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid var(--text);
  background: var(--text);
  color: #101012;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.4px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}

.search-row button:hover,
.newsletter-form button:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

#searchMessage,
#newsletterMessage {
  color: var(--muted);
  font-size: 11px;
}

/* ---------- Buttons and links ---------- */

.button,
.primary-btn,
.secondary-btn,
.primary-button,
.secondary-button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 0;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.3px;
  line-height: 1.3;
  text-align: center;
  text-transform: uppercase;
  transition:
    background .22s ease,
    color .22s ease,
    border-color .22s ease,
    transform .22s ease;
  cursor: pointer;
}

.button-dark,
.primary-btn,
.primary-button {
  border-color: #e9e6e2;
  background: #e9e6e2;
  color: #111113;
}

.button-dark:hover,
.primary-btn:hover,
.primary-button:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.button-light,
.secondary-btn,
.secondary-button {
  border-color: var(--border-strong);
  background: transparent;
  color: var(--text);
}

.button-light:hover,
.secondary-btn:hover,
.secondary-button:hover {
  border-color: var(--silver);
  background: rgba(255, 255, 255, .07);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid currentColor;
  color: var(--text);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  transition: color .2s ease;
}

.text-link:hover {
  color: #c58b91;
}

/* ---------- Homepage hero ---------- */

.hero {
  position: relative;
  width: 100%;
  max-width: var(--page-width);
  min-height: clamp(480px, 59vw, 760px);
  display: flex;
  align-items: center;
  margin: 0 auto;
  overflow: hidden;
  isolation: isolate;
  background: #171619;
}

.hero-image {
  position: absolute;
  z-index: -2;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1.01);
}

.hero-image::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 5, 6, .82), rgba(5, 5, 6, .36) 48%, rgba(5, 5, 6, .08)),
    linear-gradient(0deg, rgba(5, 5, 6, .35), transparent 55%);
  content: "";
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(600px, 75%);
  margin-left: 8%;
  padding: 80px 0;
  color: #fff;
}

.hero h1,
.editorial h2 {
  margin: 0;
  font-family: var(--heading-font);
  font-size: clamp(64px, 9vw, 118px);
  font-weight: 400;
  line-height: .88;
  letter-spacing: -1.5px;
}

.hero h1 em,
.editorial h2 em {
  font-weight: 400;
}

.hero-description {
  max-width: 370px;
  margin: 25px 0 28px;
  color: rgba(255, 255, 255, .82);
  font-size: 12px;
  line-height: 1.9;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-index {
  position: absolute;
  right: 24px;
  bottom: 20px;
  z-index: 3;
  color: rgba(255, 255, 255, .75);
  font-size: 8px;
  letter-spacing: 2px;
}

/* ---------- Collection sections ---------- */

.collection-section {
  width: 100%;
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 90px 6%;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.section-heading .eyebrow {
  margin-bottom: 10px;
}

.section-heading h2,
.newsletter h2 {
  margin: 0;
  font-family: var(--heading-font);
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 400;
  line-height: 1.05;
}

.section-note {
  max-width: 300px;
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.collection-card {
  min-width: 0;
  display: block;
}

.collection-art {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
  background-color: #242326;
  background-position: center;
  background-size: cover;
  color: #fff;
  transition: filter .35s ease;
}

.collection-art::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, .52), transparent 72%);
  content: "";
}

.collection-card:hover .collection-art {
  filter: brightness(.88);
}

.men-art {
  background-position: center 30%;
  background-size: cover;
}

.women-art {
  background-position: center 28%;
  background-size: cover;
}

.collection-number {
  position: absolute;
  top: 18px;
  left: 20px;
  color: rgba(255, 255, 255, .8);
  font-size: 9px;
  letter-spacing: 2px;
}

.collection-word {
  position: relative;
  z-index: 2;
  font-family: var(--heading-font);
  font-size: clamp(50px, 8vw, 105px);
  font-weight: 400;
  letter-spacing: 3px;
  text-align: center;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .35);
  transition: transform .35s var(--ease);
}

.collection-card:hover .collection-word {
  transform: translateY(-5px);
}

.collection-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.collection-caption h3 {
  margin: 0;
  font-family: var(--heading-font);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.2;
}

.collection-caption p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 10px;
}

.collection-caption > span {
  font-size: 21px;
  transition: transform .2s ease;
}

.collection-card:hover .collection-caption > span {
  transform: translate(4px, -3px);
}

/* ---------- Editorial feature ---------- */

.editorial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 450px;
  background: #171619;
}

.editorial-copy {
  align-self: center;
  padding: 70px 12%;
}

.editorial-copy .eyebrow {
  color: #aaa4a5;
}

.editorial h2 {
  font-size: clamp(58px, 7vw, 90px);
}

.editorial-copy > p:not(.eyebrow) {
  max-width: 350px;
  margin: 24px 0;
  color: #bdb8b8;
  font-size: 12px;
  line-height: 1.9;
}

.editorial-art {
  position: relative;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #282326;
  background-position: center;
  background-size: cover;
  color: #fff;
  text-align: center;
}

.editorial-art::before {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .25);
  content: "";
}

.editorial-art span,
.editorial-art p {
  position: relative;
  z-index: 1;
}

.editorial-art span {
  font-family: var(--heading-font);
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 500;
  letter-spacing: 5px;
}

.editorial-art p {
  font-size: 8px;
  letter-spacing: 3px;
}

/* ---------- Product grids and cards ---------- */

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 16px;
}

.product-card {
  position: relative;
  min-width: 0;
}

.product-card a {
  display: block;
}

.product-image,
.product-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: #19191b;
}

.product-image {
  position: relative;
  overflow: hidden;
}

.product-card img {
  transition: transform .45s var(--ease);
}

.product-card:hover img {
  transform: scale(1.035);
}

.product-name {
  margin: 12px 0 4px;
  color: var(--text);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .2px;
}

.product-price {
  margin: 0;
  color: #e6e2df;
  font-size: 12px;
  font-weight: 500;
}

.product-category {
  margin: 4px 0;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: .8px;
  text-transform: uppercase;
}

.wishlist-button {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 5;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  background: rgba(15, 15, 16, .76);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background .2s ease, color .2s ease;
}

.wishlist-button:hover,
.wishlist-button.active,
.wishlist-button[aria-pressed="true"] {
  background: #fff;
  color: #8c303b;
}

/* ---------- General page layouts ---------- */

.page-container {
  padding-top: 48px;
  padding-bottom: 85px;
}

.page-header {
  margin-bottom: 36px;
}

.page-header .page-description {
  margin-top: 12px;
}

.page-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.page-toolbar select,
.filter-select {
  min-height: 40px;
  padding: 8px 30px 8px 12px;
  border: 1px solid var(--border-strong);
  border-radius: 0;
  background: var(--surface);
  color: var(--text);
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-button,
.filter-chip {
  min-height: 36px;
  padding: 8px 13px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: .2s ease;
}

.filter-button:hover,
.filter-button.active,
.filter-chip:hover,
.filter-chip.active {
  border-color: var(--text);
  color: var(--text);
}

.empty-state,
.form-message {
  padding: 22px 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

/* ---------- Newsletter ---------- */

.newsletter {
  padding: 80px 20px 88px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.newsletter .eyebrow {
  margin-bottom: 12px;
}

.newsletter h2 {
  font-size: clamp(40px, 5vw, 60px);
}

.newsletter > p:not(.eyebrow) {
  margin: 14px 0 25px;
  color: var(--muted);
  font-size: 11px;
}

.newsletter-form {
  width: min(480px, 100%);
  display: flex;
  margin: 0 auto;
}

.newsletter-form input {
  border-right: 0;
}

.newsletter-form button {
  white-space: nowrap;
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 52px 20px 26px;
  background: #080809;
  border-top: 1px solid var(--border);
  color: var(--text);
  text-align: center;
}

.footer-brand {
  display: inline-block;
  font-size: 30px;
}

.site-footer > p {
  margin: 10px 0 26px;
  color: var(--muted);
  font-size: 10px;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 25px;
  margin-bottom: 30px;
}

.footer-links a {
  color: #c7c2c2;
  font-size: 9px;
  letter-spacing: 1px;
  transition: color .2s ease;
}

.footer-links a:hover {
  color: #fff;
}

.site-footer small {
  color: #777276;
  font-size: 9px;
}

/* ---------- Drawers, overlay and toast ---------- */

.overlay,
#overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, .68);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .28s ease, visibility .28s ease;
}

.overlay.open,
#overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.drawer,
#bagDrawer,
#accountDrawer,
#searchDrawer,
#checkoutDrawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: auto;
  z-index: 1001;
  width: min(470px, 100%);
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  overflow-y: auto;
  background: #111113;
  color: var(--text);
  border-left: 1px solid var(--border);
  box-shadow: -16px 0 45px rgba(0, 0, 0, .35);
  transform: translateX(105%);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition:
    transform .3s var(--ease),
    opacity .3s ease,
    visibility .3s ease;
}

.drawer.open,
#bagDrawer.open,
#accountDrawer.open,
#searchDrawer.open,
#checkoutDrawer.open {
  transform: translateX(0);
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.drawer--wide {
  width: min(540px, 100%);
}

.drawer--checkout {
  width: min(570px, 100%);
}

.drawer-head {
  min-height: 72px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--border);
}

.drawer-head h2 {
  margin: 0;
  font-family: var(--heading-font);
  font-size: 30px;
  font-weight: 500;
}

.close-btn {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  font-size: 25px;
  cursor: pointer;
}

.close-btn:hover {
  border-color: var(--silver);
}

.drawer-body,
.search-wrap {
  min-height: 0;
  flex: 1 1 auto;
  padding: 22px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.drawer-foot {
  flex: 0 0 auto;
  margin-top: auto;
  padding: 20px 22px;
  border-top: 1px solid var(--border);
  background: #111113;
}

.search-wrap input,
.checkout-form input,
.auth-form input,
.checkout-form select,
.checkout-form textarea {
  width: 100%;
  background: #19191c;
  border-color: var(--border-strong);
  color: var(--text);
}

.search-result {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
}

.search-result img {
  width: 58px;
  height: 72px;
  flex: 0 0 auto;
  object-fit: cover;
}

.checkout-form,
.auth-form {
  display: grid;
  gap: 14px;
}

.checkout-form textarea {
  min-height: 90px;
  resize: vertical;
}

.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.primary-btn,
.secondary-btn {
  width: 100%;
}

.toast {
  position: fixed;
  z-index: 1200;
  right: 18px;
  bottom: 22px;
  max-width: min(420px, calc(100% - 36px));
  padding: 13px 18px;
  border: 1px solid var(--border-strong);
  background: #e9e6e2;
  color: #111113;
  font-size: 11px;
  line-height: 1.5;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: .22s ease;
}

.toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

body.drawer-open {
  overflow: hidden;
}

/* ---------- Form controls ---------- */

input,
select,
textarea {
  max-width: 100%;
  border-radius: 0;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--silver);
  outline: none;
}

input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--accent);
}

select option {
  background: #151517;
  color: var(--text);
}

/* ---------- Tablet ---------- */

@media (max-width: 1050px) {
  .header-inner {
    gap: 14px;
    padding-inline: 3%;
  }

  .brand,
  .logo,
  .wordmark {
    font-size: 28px;
    letter-spacing: 4px;
  }

  .desktop-nav {
    gap: 13px;
  }

  .desktop-nav a {
    font-size: 8px;
    letter-spacing: 1px;
  }

  .header-actions {
    gap: 5px;
  }

  .collection-art {
    min-height: 340px;
  }

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

/* ---------- Mobile ---------- */

@media (max-width: 720px) {
  :root {
    --header-height: 66px;
  }

  html {
    scroll-padding-top: 72px;
  }

  .container,
  .page-container {
    width: calc(100% - 30px);
  }

  .announcement {
    min-height: 28px;
    padding: 5px 8px;
    font-size: 8px;
    letter-spacing: .8px;
  }

  .site-header {
    min-height: var(--header-height);
  }

  .header-inner {
    min-height: var(--header-height);
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    gap: 5px;
    padding: 0 12px;
  }

  .menu-toggle {
    grid-column: 1;
    display: inline-flex;
    font-size: 21px;
  }

  .brand,
  .logo,
  .wordmark {
    grid-column: 2;
    justify-self: center;
    font-size: 24px;
    letter-spacing: 3px;
  }

  .desktop-nav {
    display: none;
  }

  .header-actions {
    grid-column: 3;
    gap: 2px;
  }

  .header-actions .icon-button,
  .header-actions .icon-action {
    min-width: 28px;
    min-height: 34px;
    font-size: 18px;
  }

  .header-actions a[aria-label="My account"] {
    display: none;
  }

  .mobile-nav,
  .mobile-menu {
    max-height: calc(100dvh - 90px);
    padding: 8px 18px 18px;
  }

  .mobile-nav a,
  .mobile-menu a {
    min-height: 48px;
    padding: 14px 2px;
    font-size: 10px;
    letter-spacing: 1.3px;
    white-space: normal;
  }

  .search-panel {
    padding: 18px 15px;
  }

  .search-row {
    flex-wrap: wrap;
  }

  .search-row input {
    flex-basis: 100%;
  }

  .search-row button {
    flex: 1;
  }

  .hero {
    min-height: 570px;
    align-items: flex-end;
  }

  .hero-content {
    width: 100%;
    margin: 0;
    padding: 42px 22px 58px;
  }

  .hero h1 {
    font-size: clamp(66px, 16vw, 94px);
  }

  .hero-description {
    max-width: 310px;
    margin: 20px 0 24px;
    font-size: 11px;
  }

  .hero-buttons {
    gap: 8px;
  }

  .button {
    min-height: 44px;
    padding: 12px 14px;
    font-size: 8px;
  }

  .hero-index {
    right: 14px;
    bottom: 12px;
    font-size: 7px;
  }

  .collection-section {
    padding: 58px 15px 65px;
  }

  .section-heading {
    display: block;
    margin-bottom: 22px;
  }

  .section-heading h2 {
    font-size: 40px;
  }

  .section-note {
    max-width: 300px;
    margin-top: 12px;
    font-size: 10px;
  }

  .collection-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .collection-art {
    min-height: 245px;
  }

  .collection-number {
    top: 11px;
    left: 10px;
    font-size: 7px;
  }

  .collection-word {
    font-size: clamp(29px, 8vw, 49px);
    letter-spacing: 1px;
  }

  .collection-caption {
    align-items: flex-start;
    gap: 5px;
    padding: 12px 0;
  }

  .collection-caption h3 {
    font-size: 23px;
  }

  .collection-caption p {
    font-size: 9px;
    line-height: 1.5;
  }

  .collection-caption > span {
    font-size: 17px;
  }

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

  .editorial-copy {
    padding: 55px 23px;
  }

  .editorial h2 {
    font-size: 68px;
  }

  .editorial-art {
    min-height: 300px;
  }

  .editorial-art span {
    font-size: 36px;
    letter-spacing: 4px;
  }

  .newsletter {
    padding: 58px 16px 64px;
  }

  .newsletter h2 {
    font-size: 40px;
  }

  .newsletter-form input {
    padding: 12px 10px;
    font-size: 11px;
  }

  .newsletter-form button {
    padding: 12px 10px;
    font-size: 8px;
  }

  .site-footer {
    padding: 38px 15px 23px;
  }

  .footer-links {
    gap: 13px 18px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 23px 10px;
  }

  .page-container {
    padding-top: 30px;
    padding-bottom: 58px;
  }

  .page-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .drawer,
  #bagDrawer,
  #accountDrawer,
  #searchDrawer,
  #checkoutDrawer {
    width: 100%;
  }

  .drawer-head {
    min-height: 64px;
    padding: 13px 17px;
  }

  .drawer-body,
  .search-wrap {
    padding: 17px;
  }

  .drawer-foot {
    padding: 16px 17px;
  }
}

/* ---------- Small phones ---------- */

@media (max-width: 380px) {
  .header-inner {
    padding-inline: 8px;
  }

  .brand,
  .logo,
  .wordmark {
    font-size: 21px;
    letter-spacing: 2px;
  }

  .header-actions {
    gap: 0;
  }

  .header-actions .icon-button,
  .header-actions .icon-action {
    min-width: 25px;
    font-size: 17px;
  }

  .hero {
    min-height: 520px;
  }

  .hero-content {
    padding-right: 16px;
    padding-left: 16px;
  }

  .hero-buttons {
    gap: 6px;
  }

  .button {
    padding-inline: 10px;
  }

  .collection-art {
    min-height: 210px;
  }

  .collection-word {
    font-size: 28px;
  }

  .collection-caption h3 {
    font-size: 21px;
  }

  .newsletter-form {
    flex-direction: column;
    gap: 8px;
  }

  .newsletter-form input {
    border-right: 1px solid var(--border-strong);
  }

  .newsletter-form button {
    min-height: 44px;
  }

  .two-col {
    grid-template-columns: 1fr;
  }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
