/* RABANNE, The Gallery — Lumas-inspired design system */

:root {
  --bg: #faf8f4;
  --surface: #ffffff;
  --ink: #121212;
  --ink-soft: #555;
  --ink-muted: #8a857c;
  --line: #e6e1d8;
  --cream: #f0e9db;
  --cream-hover: #e7ddc9;
  --green: #0a7d4f;
  --red: #b03030;
  --shadow-print: 0 14px 28px rgba(30, 25, 15, 0.18), 0 4px 8px rgba(30, 25, 15, 0.1);
  --font-sans: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  font-size: 15px;
  line-height: 1.5;
}

body.no-scroll { overflow: hidden; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }

.wrap { max-width: 1360px; margin: 0 auto; padding: 0 32px; }

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

#site-header { position: sticky; top: 0; z-index: 50; background: var(--surface); box-shadow: 0 1px 0 var(--line); }

.promo-bar {
  background: #0d0d0d; color: #fff;
  display: flex; align-items: center; justify-content: center; gap: 18px;
  font-size: 13px; letter-spacing: 0.03em; padding: 9px 44px; position: relative;
}
.promo-cta {
  background: none; border: 1px solid #fff; color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 6px 16px; transition: 0.2s;
}
.promo-cta:hover { background: #fff; color: #000; }
.promo-close {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: #fff; font-size: 20px; line-height: 1;
}

.header-main {
  max-width: 1360px; margin: 0 auto; padding: 18px 32px;
  display: flex; align-items: center; gap: 36px;
}

.brand { display: flex; flex-direction: column; line-height: 1; }
.brand-word {
  font-weight: 800; font-size: 27px; letter-spacing: 0.06em; position: relative; padding-right: 14px;
}
.brand-word.small { font-size: 21px; }
/* Brand mark: a miniature empty picture frame — gallery motif, not the Lumas corner. */
.brand-mark {
  position: absolute; top: -4px; right: 0; width: 9px; height: 9px;
  border: 2px solid currentColor;
}
.brand-sub {
  font-size: 10px; font-weight: 600; letter-spacing: 0.42em; text-transform: uppercase;
  color: var(--ink-muted); margin-top: 5px;
}

.main-nav { display: flex; gap: 26px; flex: 0 0 auto; }
.main-nav a {
  font-size: 15px; font-weight: 600; padding: 6px 0; border-bottom: 2px solid transparent;
}
.main-nav a:hover, .main-nav a.active { border-bottom-color: var(--ink); }

.header-tools { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.search input {
  background: #f3f0ea; border: none; padding: 10px 16px; width: 210px;
  font-size: 14px; font-family: inherit; outline: none; border-radius: 2px;
}
.search input:focus { background: #ece7dd; }

.icon-btn {
  background: none; border: none; position: relative; padding: 4px; color: var(--ink);
}
.icon-btn svg { width: 24px; height: 24px; }
.icon-btn .count {
  position: absolute; top: -3px; right: -5px; background: var(--ink); color: #fff;
  font-size: 10px; font-weight: 700; min-width: 16px; height: 16px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center; padding: 0 4px;
}
.icon-btn .count:empty { display: none; }

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

.hero {
  position: relative; height: 74vh; min-height: 480px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.hero .hero-media { position: absolute; inset: 0; }
.hero .hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero .hero-slide { opacity: 0; transition: opacity 1.8s ease; }
.hero .hero-slide.on { opacity: 1; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 40%, rgba(0,0,0,0.45));
}
.hero-content { position: relative; z-index: 2; text-align: center; padding: 0 20px; }
.hero-title {
  color: #fff; font-weight: 800; font-size: clamp(44px, 7.5vw, 96px);
  letter-spacing: 0.04em; text-transform: uppercase; line-height: 1.02;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.45);
}
.hero-sub {
  color: #fff; font-size: 16px; letter-spacing: 0.22em; text-transform: uppercase;
  margin-top: 14px; text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}
.btn-cream {
  display: inline-block; background: var(--cream); color: var(--ink); border: none;
  font-size: 13px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 17px 38px; margin-top: 34px; transition: 0.2s;
}
.btn-cream:hover { background: var(--cream-hover); }

/* ---------- editorial band ---------- */

.editorial { text-align: center; padding: 84px 24px 72px; }
.editorial h2 {
  font-family: var(--font-serif); font-weight: 500; font-size: clamp(38px, 5vw, 64px);
  letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.1;
}
.editorial blockquote {
  margin-top: 22px; font-size: clamp(18px, 2.2vw, 24px); font-weight: 400; color: var(--ink-soft);
}
.editorial cite { display: block; font-style: normal; margin-top: 8px; font-size: 15px; color: var(--ink-muted); }

/* ---------- section headers & rails ---------- */

.section { padding: 26px 0 64px; }
.section-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 20px;
  margin-bottom: 26px;
}
.section-head h3 { font-size: 20px; font-weight: 700; letter-spacing: 0.01em; }
.section-head .link {
  font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  border-bottom: 1px solid var(--ink); padding-bottom: 2px; white-space: nowrap;
}

.rail { position: relative; }
.rail-track {
  display: flex; gap: 26px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 18px 4px 26px; scrollbar-width: none;
}
.rail-track::-webkit-scrollbar { display: none; }
.rail-track .card { flex: 0 0 262px; scroll-snap-align: start; }

.rail-prev, .rail-next {
  position: absolute; top: 38%; transform: translateY(-50%); z-index: 5;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; font-size: 18px; box-shadow: 0 2px 10px rgba(0,0,0,0.12);
  transition: 0.15s;
}
.rail-prev { left: -18px; }
.rail-next { right: -18px; }
.rail-prev:hover, .rail-next:hover { background: var(--ink); color: #fff; }

/* ---------- cards ---------- */

.card { display: block; }
.card-media {
  position: relative; height: 300px; display: flex; align-items: center; justify-content: center;
  padding: 28px 12px 12px; /* top padding keeps the badge clear of the print */
}
.card-media img {
  max-height: 100%; max-width: 100%; object-fit: contain;
  box-shadow: var(--shadow-print); transition: transform 0.25s ease;
}
.card:hover .card-media img { transform: scale(1.025); }

.badge {
  position: absolute; top: 0; left: 4px; z-index: 2;
  font-size: 10px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink);
}
.badge-new { color: var(--green); }
.badge-last { color: var(--red); }

.card-caption { text-align: center; margin-top: 16px; }
.card-title { display: block; font-size: 15px; font-weight: 700; }
.artist-line {
  display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.14em;
  color: var(--ink-muted); margin-top: 3px;
}
.card-price { display: block; font-size: 13px; color: var(--ink-soft); margin-top: 6px; }

/* ---------- artfinder ---------- */

.artfinder {
  background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 72px 0 64px; text-align: center;
}
.artfinder h2 {
  font-family: var(--font-serif); font-size: clamp(30px, 4vw, 46px); font-weight: 500;
  margin-bottom: 48px;
}
.finder-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; text-align: left;
}
.finder-col { position: relative; padding-top: 8px; }
.finder-col .ghost-num {
  position: absolute; top: -34px; right: 6px; font-size: 88px; font-weight: 800;
  color: #f0ece3; z-index: 0; line-height: 1;
}
.finder-col h4 {
  font-size: 13px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  margin-bottom: 18px; position: relative; z-index: 1;
}
.chip-set { display: flex; flex-wrap: wrap; gap: 10px; position: relative; z-index: 1; }
.chip {
  border: 1px solid #cfc9bd; background: none; font-size: 13px; padding: 9px 16px;
  border-radius: 999px; transition: 0.15s; color: var(--ink);
}
.chip:hover { border-color: var(--ink); }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }

.btn-primary {
  display: inline-block; width: auto; background: var(--ink); color: #fff; border: none;
  font-size: 13px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 17px 44px; transition: 0.2s;
}
.btn-primary:hover { background: #333; }
.finder-cta { margin-top: 46px; }

/* ---------- promo tiles ---------- */

.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; padding: 64px 0 12px; }
.tile { position: relative; height: 420px; overflow: hidden; display: block; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.tile:hover img { transform: scale(1.04); }
.tile-caption {
  position: absolute; left: 28px; bottom: 28px; background: rgba(255, 255, 255, 0.94);
  padding: 22px 28px; max-width: 78%;
}
.tile-caption h4 { font-size: 20px; font-weight: 700; }
.tile-caption p { font-size: 13px; color: var(--ink-soft); margin-top: 6px; }
.tile-caption .link {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; border-bottom: 1px solid var(--ink); margin-top: 12px; padding-bottom: 2px;
}

/* ---------- collections ---------- */

.coll-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); gap: 18px;
}
.coll-card { position: relative; aspect-ratio: 4 / 5; overflow: hidden; display: block; background: #17140f; }
.coll-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease; opacity: 0.92;
}
.coll-card:hover img { transform: scale(1.05); }
.coll-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.72));
}
.coll-card-text { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 2; color: #fff; }
.coll-card-text h4 { font-family: var(--font-serif); font-size: 23px; font-weight: 500; line-height: 1.15; }
.coll-card-text span {
  display: block; font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase;
  margin-top: 6px; opacity: 0.75;
}
.coll-card.no-image { display: flex; align-items: center; justify-content: center; }
.coll-card.no-image .coll-card-text { position: static; text-align: center; padding: 0 14px; }

.coll-hero { background: #17140f; color: #fff; padding: 52px 0 58px; background-size: cover; background-position: center; }
.coll-hero .breadcrumb { color: rgba(255, 255, 255, 0.55); }
.coll-hero .breadcrumb a:hover { color: #fff; }
.coll-hero h1 { font-family: var(--font-serif); font-size: clamp(36px, 5vw, 60px); font-weight: 500; margin-top: 16px; }
.coll-tagline {
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65); margin-top: 10px;
}
.coll-desc { max-width: 640px; margin-top: 14px; font-size: 15.5px; color: rgba(255, 255, 255, 0.85); }

.coll-link { border-bottom: 1px solid var(--line); padding-bottom: 1px; }
.coll-link:hover { border-bottom-color: var(--ink); }

/* ---------- listing page ---------- */

.page-head { padding: 44px 0 8px; }
.breadcrumb { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); }
.breadcrumb a:hover { color: var(--ink); }
.page-head h1 {
  font-family: var(--font-serif); font-size: clamp(34px, 4.5vw, 54px); font-weight: 500;
  margin-top: 14px;
}
.page-head .result-count { color: var(--ink-muted); font-size: 15px; margin-top: 6px; }

.filter-bar {
  display: flex; flex-wrap: wrap; gap: 14px; align-items: center;
  padding: 26px 0 10px; border-bottom: 1px solid var(--line); margin-bottom: 34px;
}
.filter-bar select {
  appearance: none; -webkit-appearance: none;
  border: 1px solid #cfc9bd; background: var(--surface); border-radius: 999px;
  font-family: inherit; font-size: 13px; padding: 10px 38px 10px 18px; color: var(--ink);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6'><path d='M1 1l4 4 4-4' fill='none' stroke='black'/></svg>");
  background-repeat: no-repeat; background-position: right 16px center; cursor: pointer;
}
.filter-bar .spacer { flex: 1; }
.filter-clear {
  background: none; border: none; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-muted); text-decoration: underline;
}
.filter-clear:hover { color: var(--ink); }

.grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 44px 30px; padding-bottom: 90px;
}
.grid .card-media { height: 340px; }
.grid-empty { grid-column: 1 / -1; text-align: center; color: var(--ink-muted); padding: 80px 0; font-size: 17px; }

/* ---------- detail page ---------- */

.detail { display: grid; grid-template-columns: minmax(0, 7fr) minmax(340px, 5fr); gap: 64px; padding: 48px 0 80px; }
.detail-media { position: sticky; top: 140px; align-self: start; }
.detail-stage {
  display: flex; align-items: center; justify-content: center; min-height: 420px;
  padding: 28px;
}
.detail-stage img { max-height: 72vh; max-width: 100%; object-fit: contain; box-shadow: var(--shadow-print); }

.detail-info .badge { position: static; }
.detail-info .artist-line { font-size: 13px; margin-top: 14px; }
.detail-title {
  font-family: var(--font-serif); font-size: clamp(34px, 3.6vw, 50px); font-weight: 500; line-height: 1.08;
  margin-top: 6px;
}
.edition-line { font-size: 14px; color: var(--ink-soft); margin-top: 14px; }

.availability { margin-top: 20px; }
.availability .avail-track { height: 4px; background: #e9e4d9; border-radius: 2px; overflow: hidden; }
.availability .avail-fill { height: 100%; background: var(--ink); }
.availability .avail-label { font-size: 12px; color: var(--ink-muted); margin-top: 7px; letter-spacing: 0.04em; }
.availability.hot .avail-fill { background: var(--red); }
.availability.hot .avail-label { color: var(--red); }

.opt-group { margin-top: 30px; }
.opt-group h5 {
  font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 12px;
}
.opt-set { display: flex; flex-wrap: wrap; gap: 10px; }
.opt {
  border: 1px solid #cfc9bd; background: var(--surface); padding: 12px 16px; font-size: 13px;
  text-align: left; min-width: 128px; transition: 0.15s; color: var(--ink);
}
.opt small { display: block; color: var(--ink-muted); font-size: 12px; margin-top: 3px; }
.opt.on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.opt.on small { color: var(--ink-soft); }

.price-row { display: flex; align-items: baseline; gap: 14px; margin-top: 34px; }
.price-now { font-size: 30px; font-weight: 700; }
.price-note { font-size: 12px; color: var(--ink-muted); }

.buy-row { display: flex; gap: 12px; margin-top: 22px; }
.buy-row .btn-primary { flex: 1; text-align: center; }
.wish-btn {
  width: 54px; border: 1px solid #cfc9bd; background: var(--surface); color: var(--ink);
  display: flex; align-items: center; justify-content: center; transition: 0.15s;
}
.wish-btn svg { width: 22px; height: 22px; }
.wish-btn.wished { background: var(--ink); color: #fff; border-color: var(--ink); }

.trust-row { display: flex; gap: 22px; margin-top: 24px; flex-wrap: wrap; }
.trust-row span { font-size: 12px; color: var(--ink-muted); letter-spacing: 0.02em; }

.partner-links { display: flex; flex-direction: column; gap: 10px; }
.partner-link {
  display: flex; align-items: center; justify-content: space-between;
  border: 1px solid #cfc9bd; background: var(--surface); padding: 13px 16px;
  font-size: 13.5px; font-weight: 600; transition: 0.15s;
}
.partner-link::after { content: "↗"; color: var(--ink-muted); }
.partner-link:hover { border-color: var(--ink); }

.accordion { margin-top: 40px; border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-head {
  width: 100%; background: none; border: none; display: flex; justify-content: space-between;
  align-items: center; padding: 18px 2px; font-size: 14px; font-weight: 700; letter-spacing: 0.04em;
  color: var(--ink);
}
.acc-head::after { content: "+"; font-size: 20px; font-weight: 400; }
.acc-item.open .acc-head::after { content: "–"; }
.acc-body { display: none; padding: 0 2px 22px; font-size: 14.5px; line-height: 1.7; color: var(--ink-soft); }
.acc-item.open .acc-body { display: block; }

.related { padding-bottom: 90px; }

/* ---------- footer ---------- */

#site-footer { background: #f2eee7; border-top: 1px solid var(--line); margin-top: 40px; }
.footer-grid {
  max-width: 1360px; margin: 0 auto; padding: 62px 32px 48px;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.6fr; gap: 44px;
}
.footer-brand p { font-size: 13.5px; color: var(--ink-soft); margin-top: 16px; line-height: 1.7; max-width: 320px; }
.footer-col h4 {
  font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 16px;
}
.footer-col a { display: block; font-size: 14px; color: var(--ink-soft); padding: 5px 0; }
.footer-col a:hover { color: var(--ink); }
.footer-news { font-size: 13px; color: var(--ink-soft); margin-bottom: 14px; }
.newsletter { display: flex; }
.newsletter input {
  flex: 1; border: 1px solid #cfc9bd; border-right: none; background: #fff; padding: 12px 14px;
  font-family: inherit; font-size: 13px; outline: none;
}
.newsletter button {
  background: var(--ink); color: #fff; border: none; font-size: 12px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; padding: 0 20px;
}
.footer-legal {
  border-top: 1px solid var(--line); padding: 18px 32px; text-align: center;
  font-size: 12px; color: var(--ink-muted);
}

/* ---------- info pages ---------- */

.info-body { max-width: 680px; padding: 26px 0 90px; }
.info-body p { font-size: 16px; line-height: 1.8; color: var(--ink-soft); margin-bottom: 22px; }
.info-body p:first-child::first-line { color: var(--ink); }

/* ---------- signup modal ---------- */

#signup-modal { position: fixed; inset: 0; z-index: 110; display: none; }
#signup-modal.open { display: flex; align-items: center; justify-content: center; padding: 24px; }
.signup-backdrop { position: absolute; inset: 0; background: rgba(15, 12, 8, 0.6); }
.signup-panel {
  position: relative; background: var(--surface); width: min(460px, 100%);
  padding: 44px 42px 36px; text-align: center;
}
.signup-close {
  position: absolute; top: 12px; right: 16px; background: none; border: none;
  font-size: 26px; line-height: 1; color: var(--ink-muted); cursor: pointer;
}
.signup-close:hover { color: var(--ink); }
.signup-panel h3 { font-family: var(--font-serif); font-size: 30px; font-weight: 500; }
.signup-panel .signup-sub { font-size: 14.5px; color: var(--ink-soft); margin-top: 10px; }
.signup-panel form { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.signup-panel input[type="text"], .signup-panel input[type="email"] {
  border: 1px solid #cfc9bd; padding: 13px 14px; font-family: inherit; font-size: 14.5px;
  outline: none; text-align: center;
}
.signup-panel input:focus { border-color: var(--ink); }
.signup-hp { position: absolute; left: -9999px; opacity: 0; height: 0; }
.signup-note { font-size: 12px; color: var(--ink-muted); margin-top: 14px; }
.signup-success { padding: 30px 0 10px; }
.signup-success h3 { font-family: var(--font-serif); font-size: 28px; }
.signup-success p { font-size: 14.5px; color: var(--ink-soft); margin-top: 12px; }
.signup-code {
  display: inline-block; border: 1px dashed var(--ink); padding: 10px 26px;
  font-size: 20px !important; font-weight: 700; letter-spacing: 0.22em; color: var(--ink) !important;
  margin-top: 14px;
}

/* ---------- cart drawer ---------- */

#cart-drawer { position: fixed; inset: 0; z-index: 100; pointer-events: none; }
#cart-drawer .drawer-backdrop {
  position: absolute; inset: 0; background: rgba(0, 0, 0, 0.4); opacity: 0; transition: 0.25s;
}
#cart-drawer .drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 92vw); background: #fff;
  transform: translateX(100%); transition: 0.28s ease; display: flex; flex-direction: column;
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.2);
}
#cart-drawer.open { pointer-events: auto; }
#cart-drawer.open .drawer-backdrop { opacity: 1; }
#cart-drawer.open .drawer-panel { transform: translateX(0); }

.drawer-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 26px; border-bottom: 1px solid var(--line);
}
.drawer-head h3 { font-size: 17px; letter-spacing: 0.04em; }
.drawer-close { background: none; border: none; font-size: 26px; line-height: 1; }
.drawer-body { flex: 1; overflow-y: auto; padding: 20px 26px; }
.drawer-empty { text-align: center; color: var(--ink-muted); padding: 60px 0; line-height: 1.8; }
.drawer-item { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); position: relative; }
.drawer-item img { width: 72px; height: 90px; object-fit: contain; }
.drawer-item-info { display: flex; flex-direction: column; gap: 3px; font-size: 13.5px; }
.drawer-item-info .muted { color: var(--ink-muted); font-size: 12.5px; }
.drawer-price { font-weight: 700; margin-top: 4px; }
.drawer-remove { position: absolute; right: 0; top: 14px; background: none; border: none; font-size: 18px; color: var(--ink-muted); }
.drawer-foot { padding: 20px 26px 28px; border-top: 1px solid var(--line); }
.drawer-note { font-size: 12px; color: var(--ink-muted); margin-bottom: 12px; line-height: 1.5; }
.drawer-total { display: flex; justify-content: space-between; font-size: 16px; margin-bottom: 16px; }
.drawer-foot .btn-primary { width: 100%; }

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .header-main { flex-wrap: wrap; gap: 16px; }
  .main-nav { order: 3; width: 100%; overflow-x: auto; gap: 20px; }
  .search input { width: 150px; }
  .detail { grid-template-columns: 1fr; gap: 40px; }
  .detail-media { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .wrap { padding: 0 18px; }
  .finder-grid { grid-template-columns: 1fr; gap: 52px; }
  .tiles { grid-template-columns: 1fr; }
  .hero { height: 58vh; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 34px 20px; }
  .grid .card-media { height: 260px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .rail-prev, .rail-next { display: none; }
}
