/* =========================================================
   JOMI’ELLE — GLOBAL
========================================================= */

:root {
  --paper: #fcfaf7;
  --ivory: #f5efea;
  --blush: #e8c9c8;
  --rose: #c98f91;
  --charcoal: #252323;
  --muted: #77716d;
  --line: #ded8d3;
  --white: #ffffff;

 --display: "Playfair Display", Georgia, serif;
--sans: "Lato", Arial, sans-serif;

  --max-width: 1440px;
  --header-height: 78px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--charcoal);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.6;
}

body.no-scroll {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
}

::selection {
  background: var(--blush);
  color: var(--charcoal);
}


/* =========================================================
   TYPOGRAPHY
========================================================= */

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

.display {
  font-family: var(--display);
  font-weight: 400;
}

.eyebrow {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  line-height: 1.4;
}


/* =========================================================
   ANNOUNCEMENT
========================================================= */

.announcement-bar {
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--line);
  background: var(--ivory);
}

.announcement-bar p {
  margin: 0;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(252, 250, 247, 0.96);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  width: min(100%, var(--max-width));
  height: var(--header-height);
  margin: 0 auto;
  padding: 0 32px;

  display: grid;
  grid-template-columns: 330px 1fr auto;
  align-items: center;
  gap: 30px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: max-content;
}

.brand-monogram {
  width: 36px;
  height: 36px;

  display: grid;
  place-items: center;

  border: 1px solid var(--charcoal);

  font-family: var(--display);
  font-size: 15px;
  letter-spacing: 0.08em;
}

.brand-name {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.19em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2.2vw, 34px);
}

.desktop-nav a {
  position: relative;
  padding: 8px 0;

  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;

  color: var(--muted);

  transition:
    color 180ms ease;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 3px;

  height: 1px;

  background: var(--charcoal);

  transition: right 180ms ease;
}

.desktop-nav a:hover,
.desktop-nav a.active {
  color: var(--charcoal);
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
  right: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-action {
  position: relative;

  border: 0;
  padding: 5px 0;

  background: transparent;
  color: var(--charcoal);

  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.header-action::after {
  content: "";
  position: absolute;

  left: 0;
  right: 100%;
  bottom: 0;

  height: 1px;
  background: var(--charcoal);

  transition: right 180ms ease;
}

.header-action:hover::after {
  right: 0;
}

.bag-action {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

#bagCount {
  min-width: 14px;
  height: 14px;

  display: inline-grid;
  place-items: center;

  border-radius: 50%;

  background: var(--charcoal);
  color: white;

  font-size: 8px;
  line-height: 1;
}


/* =========================================================
   MOBILE NAV
========================================================= */

.mobile-menu-button {
  display: none;

  width: 34px;
  height: 34px;

  border: 0;
  background: transparent;

  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.mobile-menu-button span {
  width: 20px;
  height: 1px;
  background: var(--charcoal);
}

.mobile-nav {
  display: none;
}


/* =========================================================
   GENERIC LAYOUT
========================================================= */

.page {
  width: 100%;
}

.section {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 100px 32px;
}

.section-tight {
  padding-top: 65px;
  padding-bottom: 65px;
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;

  margin-bottom: 40px;
}

.section-title {
  margin: 0;

  font-family: var(--display);
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 400;
  line-height: 0.95;
}

.section-description {
  max-width: 400px;

  margin: 0;

  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}


/* =========================================================
   BUTTONS
========================================================= */

.primary-button {
  width: 100%;
  min-height: 48px;

  border: 1px solid var(--charcoal);

  background: var(--charcoal);
  color: white;

  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;

  transition:
    background 180ms ease,
    color 180ms ease;
}

.primary-button:hover {
  background: transparent;
  color: var(--charcoal);
}

.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 46px;
  padding: 0 22px;

  border: 1px solid var(--charcoal);

  background: transparent;
  color: var(--charcoal);

  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;

  transition:
    background 180ms ease,
    color 180ms ease;
}

.secondary-button:hover {
  background: var(--charcoal);
  color: white;
}


/* =========================================================
   HERO
========================================================= */

.hero {
  width: 100%;
  min-height: calc(100vh - 108px);

  display: grid;
  grid-template-columns: 0.95fr 1.05fr;

  background: var(--ivory);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: clamp(45px, 8vw, 120px);
}

.hero-title {
  max-width: 680px;

  margin: 0 0 28px;

  font-family: var(--display);
  font-size: clamp(62px, 8vw, 118px);
  font-weight: 400;
  line-height: 0.82;
  letter-spacing: -0.035em;
}

.hero-description {
  max-width: 410px;

  margin-bottom: 34px;

  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-image {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  background: #dfd4cf;
}

.hero-image img {
  height: 100%;
  min-height: 650px;
  object-fit: cover;
  object-position: center;
}

.hero-image-note {
  position: absolute;
  right: 22px;
  bottom: 20px;

  padding: 8px 10px;

  background: rgba(252, 250, 247, 0.9);

  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}


/* =========================================================
   EDITORIAL INTRO
========================================================= */

.editorial-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;

  align-items: end;
}

.editorial-intro h2 {
  max-width: 650px;

  margin: 0;

  font-family: var(--display);
  font-size: clamp(44px, 6vw, 78px);
  font-weight: 400;
  line-height: 0.95;
}

.editorial-intro p {
  max-width: 430px;

  margin: 0;

  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}


/* =========================================================
   CATEGORY GRID
========================================================= */

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.category-card {
  position: relative;
  min-height: 470px;
  overflow: hidden;

  background: var(--ivory);
}

.category-card img {
  height: 100%;
  object-fit: cover;

  transition:
    transform 700ms cubic-bezier(0.2, 0.65, 0.25, 1);
}

.category-card:hover img {
  transform: scale(1.035);
}

.category-card-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;

  padding: 28px;

  background: linear-gradient(
    to top,
    rgba(37, 35, 35, 0.58),
    transparent
  );

  color: white;
}

.category-card-content h3 {
  margin: 0 0 4px;

  font-family: var(--display);
  font-size: 32px;
  font-weight: 400;
}

.category-card-content span {
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}


/* =========================================================
   PRODUCT GRID
========================================================= */

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 16px;
  row-gap: 54px;
}

.product-card {
  min-width: 0;
}

.product-image-wrap {
  position: relative;
  overflow: hidden;

  aspect-ratio: 0.78;

  background: var(--ivory);
}

.product-image-wrap img {
  height: 100%;
  object-fit: cover;

  transition:
    transform 600ms cubic-bezier(0.2, 0.65, 0.25, 1);
}

.product-card:hover .product-image-wrap img {
  transform: scale(1.025);
}

.product-quick-view {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;

  min-height: 44px;

  border: 1px solid var(--charcoal);

  background: rgba(252, 250, 247, 0.94);

  color: var(--charcoal);

  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;

  opacity: 0;
  transform: translateY(8px);

  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.product-card:hover .product-quick-view,
.product-card:focus-within .product-quick-view {
  opacity: 1;
  transform: translateY(0);
}

.product-info {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;

  padding-top: 15px;
}

.product-name {
  margin: 0 0 4px;

  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.product-meta {
  margin: 0;

  color: var(--muted);

  font-size: 10px;
  line-height: 1.6;
}

.product-price {
  font-size: 11px;
  font-weight: 600;
}


/* =========================================================
   FEATURE EDITORIAL
========================================================= */

.feature-editorial {
  display: grid;
  grid-template-columns: 1fr 1fr;

  min-height: 650px;

  background: var(--ivory);
}

.feature-editorial-image {
  min-height: 650px;
  overflow: hidden;
}

.feature-editorial-image img {
  height: 100%;
  object-fit: cover;
}

.feature-editorial-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: clamp(40px, 7vw, 100px);
}

.feature-editorial-copy h2 {
  margin: 0 0 25px;

  font-family: var(--display);
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 400;
  line-height: 0.9;
}

.feature-editorial-copy p {
  max-width: 420px;

  margin-bottom: 30px;

  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}


/* =========================================================
   SOCIAL / COMMUNITY
========================================================= */

.community-header {
  display: flex;
  align-items: end;
  justify-content: space-between;

  margin-bottom: 40px;
}

.community-header h2 {
  margin: 0;

  font-family: var(--display);
  font-size: clamp(45px, 6vw, 75px);
  font-weight: 400;
  line-height: 0.9;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.social-card {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);

  padding: 25px 0;
}

.social-card span {
  display: block;
  margin-bottom: 16px;

  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.13em;
}

.social-card p {
  margin: 0;

  color: var(--muted);

  font-family: var(--display);
  font-size: 25px;
  line-height: 1.1;
}


/* =========================================================
   NEWSLETTER
========================================================= */

.newsletter {
  background: var(--blush);
}

.newsletter-inner {
  max-width: 850px;
  margin: 0 auto;
  text-align: center;
}

.newsletter h2 {
  margin: 0 0 18px;

  font-family: var(--display);
  font-size: clamp(48px, 7vw, 86px);
  font-weight: 400;
  line-height: 0.9;
}

.newsletter p {
  max-width: 450px;
  margin: 0 auto 28px;

  color: #635757;

  font-size: 12px;
  line-height: 1.8;
}

.newsletter-form {
  display: flex;
  max-width: 550px;
  margin: 0 auto;
}

.newsletter-form input {
  min-width: 0;
  flex: 1;

  border: 1px solid rgba(37, 35, 35, 0.4);
  border-right: 0;

  padding: 0 16px;

  background: rgba(255,255,255,0.55);

  outline: none;
}

.newsletter-form button {
  width: 150px;

  border: 1px solid var(--charcoal);

  background: var(--charcoal);
  color: white;

  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}


/* =========================================================
   SHOP PAGE
========================================================= */

.shop-hero {
  padding: 90px 32px 55px;
  border-bottom: 1px solid var(--line);
}

.shop-hero-inner {
  width: min(100%, var(--max-width));
  margin: 0 auto;
}

.shop-hero h1 {
  max-width: 900px;

  margin: 0 0 20px;

  font-family: var(--display);
  font-size: clamp(62px, 9vw, 125px);
  font-weight: 400;
  line-height: 0.82;
  letter-spacing: -0.04em;
}

.shop-hero p {
  max-width: 470px;

  margin: 0;

  color: var(--muted);

  font-size: 13px;
  line-height: 1.9;
}

.shop-controls {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 25px 32px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  border-bottom: 1px solid var(--line);
}

.filter-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.filter-link {
  border: 0;
  padding: 0;

  background: transparent;

  color: var(--muted);

  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.filter-link.active,
.filter-link:hover {
  color: var(--charcoal);
}


/* =========================================================
   STORY
========================================================= */

.story-hero {
  min-height: 65vh;

  display: grid;
  place-items: center;

  padding: 100px 32px;

  text-align: center;
}

.story-hero h1 {
  max-width: 1000px;

  margin: 0 auto 30px;

  font-family: var(--display);
  font-size: clamp(65px, 10vw, 140px);
  font-weight: 400;
  line-height: 0.78;
  letter-spacing: -0.04em;
}

.story-hero p {
  max-width: 500px;
  margin: 0 auto;

  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.story-block {
  min-height: 500px;

  padding: clamp(40px, 7vw, 100px);

  border-top: 1px solid var(--line);
}

.story-block:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.story-block h2 {
  margin: 0 0 25px;

  font-family: var(--display);
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 400;
  line-height: 0.9;
}

.story-block p {
  max-width: 480px;

  margin: 0;

  color: var(--muted);
  font-size: 13px;
  line-height: 1.95;
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--charcoal);
  color: white;
}

.footer-main {
  width: min(100%, var(--max-width));
  margin: 0 auto;

  padding: 70px 32px;

  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: 45px;
}

.footer-brand {
  max-width: 260px;
}

.footer-monogram {
  width: 44px;
  height: 44px;

  display: grid;
  place-items: center;

  margin-bottom: 20px;

  border: 1px solid rgba(255,255,255,0.55);

  font-family: var(--display);
  font-size: 17px;
}

.footer-brand p {
  color: rgba(255,255,255,0.58);

  font-size: 11px;
  line-height: 1.8;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}

.footer-column h3 {
  margin: 0 0 10px;

  color: white;

  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.footer-column a,
.footer-column button {
  border: 0;
  padding: 0;

  background: transparent;

  color: rgba(255,255,255,0.56);

  font-size: 10px;

  transition: color 160ms ease;
}

.footer-column a:hover,
.footer-column button:hover {
  color: white;
}

.footer-bottom {
  width: min(100%, var(--max-width));
  margin: 0 auto;

  padding: 20px 32px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  border-top: 1px solid rgba(255,255,255,0.14);

  color: rgba(255,255,255,0.42);

  font-size: 9px;
  letter-spacing: 0.06em;
}

.footer-bottom p {
  margin: 0;
}


/* =========================================================
   DRAWER
========================================================= */

.bag-drawer {
  position: fixed;
  inset: 0;
  z-index: 500;

  visibility: hidden;
  pointer-events: none;
}

.bag-drawer.open {
  visibility: visible;
  pointer-events: auto;
}

.drawer-overlay {
  position: absolute;
  inset: 0;

  background: rgba(37,35,35,0.35);

  opacity: 0;
  transition: opacity 250ms ease;
}

.bag-drawer.open .drawer-overlay {
  opacity: 1;
}

.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;

  width: min(100%, 500px);
  height: 100%;

  display: flex;
  flex-direction: column;

  background: var(--paper);

  transform: translateX(100%);

  transition: transform 350ms cubic-bezier(0.2,0.7,0.2,1);
}

.bag-drawer.open .drawer-panel {
  transform: translateX(0);
}

.drawer-header {
  min-height: 100px;

  padding: 28px 30px;

  display: flex;
  align-items: flex-start;
  justify-content: space-between;

  border-bottom: 1px solid var(--line);
}

.drawer-header h2 {
  margin: 0;

  font-family: var(--display);
  font-size: 32px;
  font-weight: 400;
}

.drawer-close,
.dialog-close {
  width: 34px;
  height: 34px;

  border: 1px solid var(--line);

  background: transparent;

  font-size: 20px;
  line-height: 1;

  transition:
    background 160ms ease,
    color 160ms ease;
}

.drawer-close:hover,
.dialog-close:hover {
  background: var(--charcoal);
  color: white;
}

.bag-items {
  flex: 1;

  overflow-y: auto;

  padding: 20px 30px;
}

.empty-bag {
  min-height: 300px;

  display: grid;
  place-items: center;

  color: var(--muted);

  text-align: center;
}

.bag-item {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 15px;

  padding: 18px 0;

  border-bottom: 1px solid var(--line);
}

.bag-item-image {
  aspect-ratio: 0.8;
  overflow: hidden;
  background: var(--ivory);
}

.bag-item-image img {
  height: 100%;
  object-fit: cover;
}

.bag-item-name {
  margin: 0 0 5px;

  font-size: 11px;
  font-weight: 600;
}

.bag-item-meta {
  margin: 0;

  color: var(--muted);

  font-size: 9px;
  line-height: 1.7;
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 8px;

  margin-top: 14px;
}

.quantity-controls button {
  width: 24px;
  height: 24px;

  border: 1px solid var(--line);

  background: transparent;

  font-size: 12px;
}

.quantity-controls span {
  min-width: 15px;

  text-align: center;

  font-size: 10px;
}

.remove-item {
  border: 0;
  padding: 0;

  background: transparent;

  color: var(--muted);

  font-size: 9px;
  text-decoration: underline;
}

.bag-item-price {
  font-size: 10px;
  font-weight: 600;
}

.bag-footer {
  padding: 25px 30px 30px;
  border-top: 1px solid var(--line);
}

.bag-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;

  margin-bottom: 8px;

  font-size: 11px;
}

.bag-note {
  margin-bottom: 18px;

  color: var(--muted);

  font-size: 9px;
}


/* =========================================================
   DIALOGS
========================================================= */

.site-dialog {
  width: min(900px, calc(100% - 30px));

  padding: 0;

  border: 1px solid var(--line);

  background: var(--paper);

  color: var(--charcoal);

  box-shadow: 0 30px 80px rgba(0,0,0,0.18);
}

.site-dialog::backdrop {
  background: rgba(37,35,35,0.4);
}

.small-dialog {
  width: min(500px, calc(100% - 30px));
}

.dialog-inner {
  padding: 30px;
}

.dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;

  margin-bottom: 35px;
}

.dialog-header .eyebrow {
  margin: 0;
}

#searchForm label {
  display: block;
  margin-bottom: 9px;

  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.search-input-wrap {
  display: flex;
}

.search-input-wrap input {
  flex: 1;
  min-width: 0;

  border: 1px solid var(--charcoal);
  border-right: 0;

  padding: 0 15px;

  background: white;

  outline: none;
}

.search-input-wrap button {
  width: 110px;

  border: 1px solid var(--charcoal);

  background: var(--charcoal);
  color: white;

  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.search-results {
  margin-top: 30px;
}

.search-result {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 15px;

  padding: 13px 0;

  border-bottom: 1px solid var(--line);
}

.search-result-image {
  width: 70px;
  height: 85px;

  overflow: hidden;

  background: var(--ivory);
}

.search-result-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.search-result h3 {
  margin: 0 0 3px;

  font-size: 11px;
  font-weight: 600;
}

.search-result p {
  margin: 0;

  color: var(--muted);

  font-size: 9px;
}

.search-result-price {
  font-size: 10px;
  font-weight: 600;
}

.account-content h2 {
  margin: 0 0 15px;

  font-family: var(--display);
  font-size: 48px;
  font-weight: 400;
  line-height: 0.9;
}

.account-content p {
  margin-bottom: 30px;

  color: var(--muted);

  font-size: 12px;
  line-height: 1.8;
}


/* =========================================================
   PRODUCT DIALOG
========================================================= */

.product-dialog {
  width: min(1100px, calc(100% - 30px));
}

.product-dialog-inner {
  position: relative;
}

.product-dialog-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 5;
}

.product-detail {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
}

.product-detail-image {
  min-height: 650px;

  background: var(--ivory);
}

.product-detail-image img {
  height: 100%;
  object-fit: cover;
}

.product-detail-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: 60px;
}

.product-detail-copy h2 {
  margin: 0 0 10px;

  font-family: var(--display);
  font-size: clamp(45px, 5vw, 70px);
  font-weight: 400;
  line-height: 0.88;
}

.detail-price {
  margin-bottom: 28px;

  font-size: 13px;
  font-weight: 600;
}

.detail-description {
  max-width: 400px;

  margin-bottom: 25px;

  color: var(--muted);

  font-size: 12px;
  line-height: 1.9;
}

.detail-option {
  margin-bottom: 24px;
}

.detail-option-label {
  display: block;
  margin-bottom: 10px;

  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.size-options {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.size-button {
  min-width: 43px;
  height: 38px;

  border: 1px solid var(--line);

  background: transparent;

  font-size: 9px;
}

.size-button.active,
.size-button:hover {
  border-color: var(--charcoal);
}

.detail-quantity {
  display: flex;
  align-items: center;
  gap: 10px;

  margin-bottom: 20px;
}

.detail-quantity button {
  width: 34px;
  height: 34px;

  border: 1px solid var(--line);

  background: transparent;
}

.detail-quantity span {
  width: 25px;

  text-align: center;

  font-size: 11px;
}


/* =========================================================
   TOAST
========================================================= */

.toast {
  position: fixed;
  left: 50%;
  bottom: 25px;
  z-index: 1000;

  padding: 13px 18px;

  background: var(--charcoal);
  color: white;

  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;

  opacity: 0;
  transform: translate(-50%, 15px);
  pointer-events: none;

  transition:
    opacity 200ms ease,
    transform 200ms ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}


/* =========================================================
   FADE-IN
========================================================= */

.reveal {
  opacity: 0;
  transform: translateY(20px);

  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


/* =========================================================
   FOCUS
========================================================= */

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 4px;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {

  .header-inner {
    grid-template-columns: auto 1fr auto;
    gap: 20px;
  }

  .desktop-nav {
    gap: 15px;
  }

  .desktop-nav a {
    font-size: 9px;
  }

  .header-actions {
    gap: 13px;
  }

  .account-action {
    display: none;
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .category-card {
    min-height: 500px;
  }

  .footer-main {
    grid-template-columns: 1.5fr repeat(2, 1fr);
  }

  .footer-column:nth-child(4),
  .footer-column:nth-child(5) {
    margin-top: 25px;
  }
}


@media (max-width: 800px) {

  :root {
    --header-height: 65px;
  }

  .announcement-bar {
    min-height: 27px;
  }

  .announcement-bar p {
    font-size: 8px;
  }

  .header-inner {
    height: var(--header-height);

    display: grid;
    grid-template-columns: 34px 1fr auto;

    padding: 0 18px;
  }

  .mobile-menu-button {
    display: flex;
  }

  .desktop-nav {
    display: none;
  }

  .brand-mark {
    justify-self: center;
  }

  .brand-name {
    font-size: 10px;
  }

  .brand-monogram {
    width: 31px;
    height: 31px;
    font-size: 13px;
  }

  .header-actions {
    gap: 12px;
  }

  .header-action {
    font-size: 0;
  }

  .header-action::before {
    display: block;

    font-size: 9px;
    letter-spacing: 0.1em;
  }

  #searchButton::before {
    content: "SEARCH";
  }

  #bagButton::before {
    content: "BAG";
  }

  .mobile-nav {
    display: flex;
    flex-direction: column;

    max-height: 0;
    overflow: hidden;

    background: var(--paper);

    transition: max-height 300ms ease;
  }

  .mobile-nav.open {
    max-height: 500px;
    border-top: 1px solid var(--line);
  }

  .mobile-nav a {
    padding: 17px 20px;

    border-bottom: 1px solid var(--line);

    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.13em;
    text-transform: uppercase;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    min-height: 470px;
    padding: 65px 25px;
  }

  .hero-title {
    font-size: clamp(65px, 19vw, 105px);
  }

  .hero-image {
    min-height: 620px;
  }

  .hero-image img {
    min-height: 620px;
  }

  .section {
    padding: 70px 20px;
  }

  .section-header {
    display: block;
    margin-bottom: 30px;
  }

  .section-description {
    margin-top: 18px;
  }

  .editorial-intro {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .category-grid {
    grid-template-columns: 1fr 1fr;
    gap: 7px;
  }

  .category-card {
    min-height: 360px;
  }

  .category-card-content {
    padding: 18px;
  }

  .category-card-content h3 {
    font-size: 27px;
  }

  .product-grid {
    grid-template-columns: 1fr 1fr;
    gap: 35px 8px;
  }

  .product-info {
    display: block;
  }

  .product-price {
    margin-top: 6px;
  }

  .product-quick-view {
    opacity: 1;
    transform: none;

    left: 8px;
    right: 8px;
    bottom: 8px;

    min-height: 38px;
  }

  .feature-editorial {
    grid-template-columns: 1fr;
  }

  .feature-editorial-image {
    min-height: 550px;
  }

  .feature-editorial-copy {
    min-height: 450px;
    padding: 55px 25px;
  }

  .social-grid {
    grid-template-columns: 1fr;
  }

  .newsletter-form {
    display: grid;
    grid-template-columns: 1fr;
  }

  .newsletter-form input {
    min-height: 48px;
    border-right: 1px solid rgba(37,35,35,0.4);
    border-bottom: 0;
  }

  .newsletter-form button {
    width: 100%;
    min-height: 48px;
  }

  .shop-hero {
    padding: 65px 20px 40px;
  }

  .shop-controls {
    padding: 18px 20px;

    display: block;
  }

  .filter-links {
    gap: 13px;
  }

  .story-hero {
    min-height: 70vh;
    padding: 80px 20px;
  }

  .story-grid {
    grid-template-columns: 1fr;
  }

  .story-block {
    min-height: 400px;
    padding: 60px 25px;
  }

  .story-block:nth-child(odd) {
    border-right: 0;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 40px 25px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    padding: 18px 20px;

    display: block;
  }

  .footer-bottom p + p {
    margin-top: 7px;
  }

  .product-detail {
    grid-template-columns: 1fr;
  }

  .product-detail-image {
    min-height: 500px;
  }

  .product-detail-copy {
    padding: 45px 25px;
  }

}


@media (max-width: 480px) {

  .category-grid {
    grid-template-columns: 1fr;
  }

  .category-card {
    min-height: 500px;
  }

  .product-grid {
    grid-template-columns: 1fr 1fr;
  }

  .product-image-wrap {
    aspect-ratio: 0.7;
  }

  .product-name {
    font-size: 10px;
  }

  .product-meta,
  .product-price {
    font-size: 9px;
  }

  .hero-copy {
    min-height: 430px;
  }

  .hero-image {
    min-height: 540px;
  }

  .hero-image img {
    min-height: 540px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .bag-item {
    grid-template-columns: 75px 1fr auto;
  }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@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;
    scroll-behavior: auto !important;
  }

}

/* =========================================================
   LOGIN / ACCOUNT
========================================================= */

.header-left {
  display: flex;
  align-items: center;
  gap: 22px;
  min-width: 0;
}

.auth-action {
  padding-left: 22px;
  border-left: 1px solid var(--line);
  max-width: 130px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mobile-auth {
  display: none;
}

.auth-tabs {
  display: flex;
  gap: 24px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.auth-tabs button {
  border: 0;
  border-bottom: 1px solid transparent;
  margin-bottom: -1px;
  padding: 0 0 11px;
  background: transparent;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.auth-tabs button.active {
  border-bottom-color: var(--charcoal);
  color: var(--charcoal);
}

.auth-field {
  margin-bottom: 16px;
}

.auth-field label {
  display: block;
  margin-bottom: 8px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.auth-field input,
.auth-field select,
.auth-field textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  padding: 10px 14px;
  background: white;
  color: var(--charcoal);
  font: inherit;
  font-size: 13px;
  outline: none;
  border-radius: 0;
}

.auth-field textarea {
  resize: vertical;
}

.auth-field input:focus,
.auth-field select:focus,
.auth-field textarea:focus {
  border-color: var(--charcoal);
}

.auth-message {
  margin: 0 0 16px;
  padding: 11px 14px;
  background: var(--ivory);
  color: var(--charcoal);
  font-size: 11px;
  line-height: 1.6;
}

.auth-message.error {
  background: #f6e3e2;
  color: #8c3b3d;
}

.auth-message[hidden] {
  display: none;
}

.auth-link {
  display: block;
  margin: 16px auto 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.account-content .auth-intro {
  margin-bottom: 22px;
}

.account-who {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--charcoal);
  word-break: break-all;
}

.account-badge {
  display: inline-block;
  margin-bottom: 22px;
  padding: 4px 9px;
  background: var(--charcoal);
  color: white;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.account-actions {
  display: grid;
  gap: 10px;
}

.account-actions .secondary-button {
  width: 100%;
  justify-content: center;
}


/* =========================================================
   ADMIN
========================================================= */

.admin-root {
  max-width: 980px;
  margin: 0 auto;
}

.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.admin-muted {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.admin-locked {
  padding: 50px 20px;
  text-align: center;
}

.admin-locked p {
  margin: 12px 0 22px;
  color: var(--muted);
  font-size: 13px;
}

.admin-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.admin-item.is-hidden {
  opacity: 0.55;
}

.admin-item-image {
  width: 64px;
  height: 78px;
  overflow: hidden;
  background: var(--ivory);
}

.admin-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-item-info h3 {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 600;
}

.admin-item-info p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
}

.admin-status {
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.admin-item-actions {
  display: flex;
  gap: 8px;
}

.admin-item-actions button {
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--charcoal);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.admin-item-actions button:hover {
  border-color: var(--charcoal);
}

.admin-item-actions button.danger:hover {
  border-color: #8c3b3d;
  color: #8c3b3d;
}

.admin-form {
  max-height: calc(100vh - 40px);
  overflow-y: auto;
}

.admin-form .dialog-header {
  margin-bottom: 24px;
}

.admin-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.admin-hint {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 10px;
}

.admin-check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 12px;
}

@media (max-width: 800px) {

  .header-left .auth-action {
    display: none;
  }

  .header-left {
    justify-self: center;
  }

  .mobile-auth {
    display: block;
    width: 100%;
    border: 0;
    border-bottom: 1px solid var(--line);
    padding: 17px 20px;
    background: transparent;
    text-align: left;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.13em;
    text-transform: uppercase;
  }

  .admin-item {
    grid-template-columns: 54px 1fr;
  }

  .admin-item-actions {
    grid-column: 1 / -1;
  }

  .admin-row {
    grid-template-columns: 1fr;
  }

}


/* =========================================================
   CHECKOUT & ORDERS
========================================================= */

.checkout-form {
  max-height: calc(100vh - 40px);
  overflow-y: auto;
}

.checkout-summary {
  margin-bottom: 26px;
  padding: 16px 18px;
  background: var(--ivory);
}

.checkout-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 7px 0;
  font-size: 12px;
}

.checkout-line small {
  margin-left: 6px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.checkout-total {
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
}

.checkout-heading {
  margin: 0 0 16px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.checkout-secure {
  margin: 14px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.06em;
}

.checkout-title {
  margin: 18px 0 8px;
  font-weight: 400;
  font-size: 34px;
  line-height: 1.1;
}

.checkout-ref {
  margin: 0 0 22px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.admin-tabs {
  margin-bottom: 26px;
}

.admin-select {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: white;
  color: var(--charcoal);
  font: inherit;
  font-size: 11px;
  border-radius: 0;
}

.admin-empty {
  padding: 40px 0;
  text-align: center;
}

.order-card {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}

.order-head,
.order-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.order-head {
  margin-bottom: 8px;
}

.order-customer {
  margin: 0 0 4px;
  font-weight: 600;
}

.order-contact {
  display: flex;
  gap: 18px;
  margin: 0 0 8px;
}

.order-contact a {
  color: var(--charcoal);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-underline-offset: 3px;
}

.order-location {
  margin: 0 0 10px;
  color: var(--muted);
  line-height: 1.6;
  white-space: pre-line;
}

.order-lines {
  margin: 0 0 14px;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.my-orders {
  margin-bottom: 22px;
}

.my-order {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
}

.my-order small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
  text-transform: capitalize;
}

.my-order-right {
  text-align: right;
}
