/* Silver Vibes - catalogue site. Colours and type follow the Shopify "Whisper" (Dawn) theme. */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/montserrat-latin-400-normal.woff2) format('woff2');
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/montserrat-latin-500-normal.woff2) format('woff2');
}

:root {
  --lavender: #b7a8e4;
  --lavender-deep: #8b77cf;
  --grey: #ecedee;
  --ink: #121212;
  --text: rgba(18, 18, 18, 0.78);
  --muted: rgba(18, 18, 18, 0.6);
  --line: rgba(18, 18, 18, 0.12);
  --page: 1600px;
  --gutter: 16px;
  --header-h: 60px;
}
@media (min-width: 750px) {
  :root { --gutter: 40px; --header-h: 68px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: Montserrat, 'Helvetica Neue', Arial, sans-serif;
  font-size: 15px;
  line-height: 1.75;
  letter-spacing: 0.04em;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 3px; }
h1, h2, h3 { color: var(--ink); font-weight: 400; letter-spacing: 0.06em; line-height: 1.3; margin: 0 0 0.6em; }
h1 { font-size: clamp(24px, 3vw, 34px); }
h2 { font-size: clamp(19px, 2vw, 24px); }
h3 { font-size: 15px; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.page-width { max-width: var(--page); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.narrow { max-width: 760px; padding-top: 48px; padding-bottom: 72px; }
.center { text-align: center; }
.small { font-size: 13px; color: var(--muted); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; color: var(--ink); padding: 8px 14px; }
.skip-link:focus { left: 8px; }

/* ---------------------------------------------------------------- buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 30px;
  background: var(--lavender); color: #fff;
  border: 0; border-radius: 4px;
  font: inherit; font-size: 13px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}
.button:hover { background: var(--lavender-deep); }
.button svg { width: 18px; height: 18px; flex: none; }
.button-secondary { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(18, 18, 18, 0.55); }
.button-secondary:hover { background: #fff; box-shadow: inset 0 0 0 2px var(--ink); }

/* ---------------------------------------------------------------- announcement + header */
.announcement { background: var(--grey); color: var(--ink); text-align: center; padding: 9px var(--gutter); }
.announcement p { margin: 0; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }

.site-header { position: sticky; top: 0; z-index: 30; background: var(--lavender); color: #fff; }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: var(--header-h); }
.header-left { display: flex; align-items: center; }
.logo { display: block; padding: 6px 0; }
.logo img { width: 150px; height: auto; }
@media (min-width: 990px) { .logo img { width: 180px; } }
.header-icons { display: flex; justify-content: flex-end; }
.header-icons a, .icon-button, .menu-drawer summary {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; color: inherit; background: none; border: 0; padding: 0; cursor: pointer;
}
.header-icons svg, .icon-button svg, .menu-drawer summary svg { width: 21px; height: 21px; }

.header-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 26px; }
.header-nav a, .header-nav summary { color: #fff; font-size: 14px; letter-spacing: 0.06em; text-decoration: none; cursor: pointer; }
.header-nav a:hover, .header-nav summary:hover { text-decoration: underline; }
.dropdown { position: relative; }
.dropdown summary { display: flex; align-items: center; gap: 7px; list-style: none; padding: 10px 0; }
.dropdown summary::-webkit-details-marker, .menu-drawer summary::-webkit-details-marker { display: none; }
.caret { width: 10px; height: 6px; transition: transform 0.2s; }
.dropdown[open] .caret { transform: rotate(180deg); }
.dropdown ul {
  position: absolute; top: calc(100% + 11px); left: -20px; z-index: 5;
  min-width: 210px; margin: 0; padding: 14px 0; list-style: none;
  background: #fff; border: 1px solid var(--line);
}
.dropdown ul a { display: block; padding: 7px 22px; color: var(--ink); }

.menu-drawer { display: none; }
.drawer {
  position: fixed; inset: 0; z-index: 60; overflow-y: auto;
  background: #fff; color: var(--ink); padding: 8px var(--gutter) 32px;
}
.drawer-top { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h);
  border-bottom: 1px solid var(--line); margin-bottom: 12px; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; }
.drawer ul { list-style: none; margin: 0; padding: 0; }
.drawer li a { display: block; padding: 11px 0; font-size: 18px; text-decoration: none; }
.drawer-label { margin-top: 18px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.drawer-contact { margin-top: 28px; font-size: 14px; color: var(--muted); }
@media (max-width: 989px) {
  .header-nav { display: none; }
  .menu-drawer { display: block; }
  body:has(.menu-drawer[open]) { overflow: hidden; }
}

/* ---------------------------------------------------------------- home */
.hero { position: relative; }
.hero-media { display: grid; grid-template-columns: 1fr 1fr; }
.hero-media img { width: 100%; height: min(90vh, 70vw); object-fit: cover; }
.hero-media img:first-child { object-position: 40% 30%; }
.hero-button { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); white-space: nowrap; }
@media (max-width: 749px) {
  .hero-media img { height: 72vw; }
  .hero-button { position: static; transform: none; display: flex; margin: 16px var(--gutter) 0; }
}

.banner { position: relative; }
.banner img { width: 100%; height: min(80vh, 56vw); object-fit: cover; }
.banner::after { content: ''; position: absolute; inset: 0; background: rgba(18, 18, 18, 0.28); pointer-events: none; }
.banner-content { position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; justify-content: center; }
@media (max-width: 749px) {
  .banner { margin-top: 16px; }
  .banner img { height: 105vw; }
}

.tagline { text-align: center; padding-top: 34px; padding-bottom: 34px; }
.tagline p { margin: 0; color: var(--muted); font-size: 15px; letter-spacing: 0.05em; }
.featured { padding-bottom: 56px; }
.featured .center { margin-top: 36px; }

/* ---------------------------------------------------------------- product cards */
.product-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 8px; }
@media (min-width: 750px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 12px; } }
@media (min-width: 990px) { .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.product-grid.full-bleed { gap: 30px 4px; }
.product-grid.full-bleed .card-title, .product-grid.full-bleed .card-price { padding-left: 12px; padding-right: 12px; }
.card a { display: block; text-decoration: none; }
.card-media { position: relative; overflow: hidden; aspect-ratio: 5 / 7; background: var(--grey); }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.4s ease, transform 0.6s ease; }
.card-media img.alt { opacity: 0; }
@media (hover: hover) {
  .card a:hover .card-media img.alt { opacity: 1; }
  .card a:hover .card-media img:first-child { transform: scale(1.03); }
  .card a:hover .card-title { text-decoration: underline; }
}
.card-title { margin: 12px 0 2px; font-size: 13px; letter-spacing: 0.08em; }
.card-price { margin: 0; font-size: 14px; }
.badge {
  position: absolute; left: 10px; top: 10px; z-index: 2;
  background: var(--grey); color: var(--ink); border-radius: 40px;
  padding: 3px 12px; font-size: 12px; letter-spacing: 0.05em;
}
.hide-sold .is-sold-out { display: none; }

/* ---------------------------------------------------------------- collections */
.collection { padding-bottom: 72px; }
.collection-head { padding-top: 36px; padding-bottom: 8px; }
.chips { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips a {
  display: inline-block; padding: 6px 15px; border: 1px solid var(--line); border-radius: 40px;
  color: var(--ink); font-size: 13px; text-decoration: none;
}
.chips a:hover { border-color: var(--ink); }
.chips a[aria-current="page"] { background: var(--lavender); border-color: var(--lavender); color: #fff; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 22px; font-size: 13px; color: var(--muted); }
.toggle { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.toggle input { width: 16px; height: 16px; accent-color: var(--lavender-deep); }

.collection-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
@media (min-width: 990px) { .collection-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 20px; } }
.collection-card a { display: block; text-decoration: none; }
.collection-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 10px; }
.collection-card h2 { display: flex; align-items: center; gap: 10px; margin: 14px 0 0; font-size: 16px; }
.collection-card p { margin: 0; font-size: 13px; color: var(--muted); }
.arrow { width: 14px; height: 10px; transition: transform 0.2s; }
.collection-card a:hover .arrow { transform: translateX(4px); }

/* ---------------------------------------------------------------- product page */
.breadcrumbs { padding-top: 20px; font-size: 12px; letter-spacing: 0.06em; color: var(--muted); }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.product { display: grid; gap: 28px; padding: 16px 0 56px; }
@media (min-width: 990px) {
  .product { grid-template-columns: minmax(0, 620px) minmax(0, 1fr); gap: 64px; }
  .product-info { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
}
.gallery { min-width: 0; }
.gallery-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track figure { flex: 0 0 100%; margin: 0; scroll-snap-align: start; aspect-ratio: 5 / 7; background: var(--grey); }
.gallery-track img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.thumbs button { width: 64px; padding: 0; border: 1px solid transparent; background: var(--grey); cursor: pointer; aspect-ratio: 5 / 7; }
.thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button[aria-current="true"] { border-color: var(--ink); }
.slide-count { margin: 6px 0 0; font-size: 12px; color: var(--muted); }
@media (min-width: 750px) { .slide-count { display: none; } }
.product-info { max-width: 560px; }
.product-info h1 { margin-bottom: 8px; font-size: clamp(24px, 2.6vw, 32px); }
.price { margin: 0 0 10px; color: var(--ink); font-size: 18px; letter-spacing: 0.06em; }
.stock { display: inline-block; margin: 0 0 14px; padding: 3px 12px; border-radius: 40px; font-size: 12px; letter-spacing: 0.05em; }
.stock.is-sold { background: var(--grey); color: var(--ink); }
.stock.is-available { background: #efebfa; color: #4b3a8f; }
.options { margin: 0 0 8px; }
.options div { display: flex; gap: 10px; font-size: 14px; }
.options dt { color: var(--ink); }
.options dt::after { content: ':'; }
.options dd { margin: 0; }
.enquire { display: grid; gap: 10px; max-width: 440px; margin: 22px 0 26px; }
.note { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.rte h2 { margin-top: 1.6em; font-size: 18px; }
.rte h3 { margin: 1.4em 0 0.4em; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; }
.rte ul { margin: 0 0 1em; padding-left: 1.2em; }
.rte li { margin: 0.2em 0; }
.related { padding: 8px 0 72px; border-top: 1px solid var(--line); }
.related h2 { margin: 40px 0 24px; }

/* ---------------------------------------------------------------- about */
.multirow .row { display: grid; align-items: center; }
.row-media img { width: 100%; aspect-ratio: 5 / 7; max-height: 92vh; object-fit: cover; }
.row-text { padding: 40px var(--gutter) 56px; max-width: 640px; }
.row-text h2 { font-size: clamp(20px, 2.2vw, 26px); letter-spacing: 0.1em; }
@media (min-width: 750px) {
  .multirow .row { grid-template-columns: 1fr 1fr; }
  .multirow .row:nth-child(even) .row-media { order: 2; }
  .row-text { padding: 48px clamp(32px, 6vw, 96px); justify-self: center; }
}

/* ---------------------------------------------------------------- contact */
.contact-cards { display: grid; gap: 12px; margin: 28px 0 36px; }
@media (min-width: 750px) { .contact-cards { grid-template-columns: 1fr 1fr; } }
.contact-card {
  display: flex; align-items: center; gap: 16px; padding: 20px 22px;
  border: 1px solid var(--line); border-radius: 10px; text-decoration: none; color: var(--ink);
  transition: border-color 0.2s;
}
.contact-card:hover { border-color: var(--lavender-deep); }
.contact-card svg { width: 28px; height: 28px; flex: none; color: var(--lavender-deep); }
.contact-card span { display: grid; line-height: 1.5; }
.contact-card strong { font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; font-size: 12px; color: var(--muted); }
.not-found { padding-top: 80px; padding-bottom: 96px; }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--grey); color: var(--ink); padding: 48px 0 28px; font-size: 14px; }
.footer-grid { display: grid; gap: 30px; }
@media (min-width: 750px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer h2 { margin: 0 0 12px; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; }
.site-footer p { margin: 0 0 6px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 6px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.socials { display: flex; gap: 6px; margin-left: -10px !important; }
.socials a { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; }
.socials svg { width: 22px; height: 22px; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
