:root {
  --headline: #171615;
  --body: #2c2825;
  --caption: #575757;
  --divider: #595959;
  --accent: #ffc800;
  --light: #f7f7f7;
  --cream: #f5eee0;
  --radius: 30px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: "Outfit", "Helvetica Neue", Arial, sans-serif;
  background: #fff;
  color: var(--body);
  padding: 0 40px;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ol { list-style: none; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 40px; right: 40px;
  z-index: 10;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border-bottom: 1px solid var(--divider);
  text-transform: uppercase;
  font-weight: 700;
}

.nav-bar { display: contents; }
.nav-items { margin-left: auto; order: 1; }
.cart-link {
  position: relative; order: 2;
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin-left: 24px;
  color: var(--headline);
}
.cart-count {
  position: absolute; top: 3px; right: 1px;
  min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 9px;
  background: var(--accent); color: var(--body);
  font-size: 11px; font-weight: 700; line-height: 18px; text-align: center;
}
.cart-count[hidden] { display: none; }
.menu-toggle { display: none; }

.logo {
  font-family: "Cinzel", serif;
  font-weight: 500;
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: 0.12em;
}

.nav-items {
  display: flex;
  gap: 40px;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: 0.02em;
}
.nav-items a:hover { text-decoration: underline; text-underline-offset: 6px; }

/* ---------- Hero ---------- */
.header {
  max-width: 1800px;
  margin: 0 auto;
  padding: 150px 40px 0;
}

/* Home page banner: a slideshow of the products */
.hero {
  position: relative;
  height: 570px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream);
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  display: block;
  opacity: 0; visibility: hidden;
  transition: opacity 0.9s ease, visibility 0s linear 0.9s;
}
.hero-slide.is-active { opacity: 1; visibility: visible; z-index: 1; transition-delay: 0s; }
.hero-slide picture { display: block; width: 100%; height: 100%; }
.hero-slide img { display: block; width: 100%; height: 100%; object-fit: cover; }

.hero-caption {
  position: absolute; left: 20px; bottom: 20px; z-index: 2;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 16px 9px;
  background: var(--accent); color: var(--body);
  border-radius: 4px;
  font-weight: 700; font-size: 14px; line-height: 1.4;
  letter-spacing: 0.02em; text-transform: uppercase;
}
/* the caption leaves quickly and arrives once the new photo has mostly faded in, so two captions never overlap */
.hero-slide .hero-caption { opacity: 0; transition: opacity 0.25s ease; }
.hero-slide.is-active .hero-caption { opacity: 1; transition-delay: 0.55s; }
.hero-price { font-weight: 500; }
.hero-cta::before { content: "\2192"; margin-right: 6px; }
.hero-slide:hover .hero-caption { filter: brightness(0.95); }

.hero-arrow {
  position: absolute; top: 50%; z-index: 3;
  display: grid; place-items: center;
  width: 48px; height: 48px; padding: 0;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.92); color: var(--headline);
  border: 0; border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.hero-arrow[hidden] { display: none; }
.hero-prev { left: 16px; }
.hero-next { right: 16px; }
.hero-arrow:hover { background: #fff; transform: translateY(-50%) scale(1.06); }
.hero-arrow:focus-visible { outline: 2px solid var(--headline); outline-offset: 2px; }

/* ---------- Intro / CTA sections ---------- */
.intro {
  max-width: 1500px;
  margin: 0 auto;
  padding: 120px 174px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}
.intro-cta { padding-top: 200px; padding-bottom: 200px; }

.intro-content {
  width: 740px; max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
  font-weight: 700;
}
.eyebrow {
  font-size: 14px; line-height: 1.4;
  letter-spacing: 0.02em; text-transform: uppercase;
  color: var(--caption);
}
.intro-title {
  font-size: 40px; line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--headline);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px 12px 6px;
  background: var(--accent);
  border-radius: 4px;
  font-weight: 700; font-size: 14px; line-height: 1.4;
  letter-spacing: 0.02em; text-transform: uppercase;
  color: var(--body);
  white-space: nowrap;
  transition: filter 0.15s;
}
.button img { margin-bottom: 3px; }
.button:hover { filter: brightness(0.95); }

/* ---------- Footer ---------- */
.footer { display: flex; justify-content: center; }
.footer-card {
  position: relative;
  display: block;
  width: 100%; max-width: 1500px;
  padding: 400px 30px 20px;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
  color: var(--light);
  cursor: pointer;
}
.footer-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 70% 0%;       /* keep the top of the mountain in view */
  transition: transform 0.6s ease;
}
.footer-card:hover .footer-img { transform: scale(1.03); }
.footer-contact { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 6px; transition: text-decoration-color 0.2s; }
.footer-card:hover .footer-contact, .footer-card:focus-visible .footer-contact { text-decoration-color: currentColor; }
.footer-card:focus-visible { outline: 3px solid var(--accent); outline-offset: -6px; }
.footer-card::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to bottom, rgba(10, 18, 22, 0) 35%, rgba(10, 18, 22, 0.82));
}
.footer-inner {
  position: relative; z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.monogram {
  font-family: "Caprasimo", serif;
  font-size: 117px; line-height: 0.92;
  letter-spacing: -0.03em;
}
.footer-row {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  font-weight: 500; font-size: 24px; line-height: 1.4;
  letter-spacing: -0.01em;
}

/* ---------- Gallery page ---------- */
.nav-items a.active { text-decoration: underline; text-underline-offset: 6px; }

.page-header {
  max-width: 1500px;
  margin: 0 auto;
  padding: 126px 0 80px;
}
.page-header h1 {
  font-weight: 700; font-size: 50px; line-height: 1.1;
  letter-spacing: -0.02em; text-transform: uppercase;
  color: var(--headline);
}

.g-section {
  max-width: 1500px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.g-label {
  flex: 0 0 170px;
  font-weight: 700; font-size: 14px; line-height: 1.4;
  letter-spacing: 0.02em; text-transform: uppercase;
  color: var(--caption);
}
.g-label-dark { flex-basis: 204px; color: var(--body); }

.g-collection { padding-bottom: 100px; }
.g-grid {
  flex: 1;
  min-width: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
  gap: 60px 20px;
}
.g-item { display: flex; flex-direction: column; gap: 15px; }
.g-info {
  display: flex; align-items: center; gap: 6px;
  font-weight: 700; line-height: 1.4; white-space: nowrap;
}
.g-name { font-size: 18px; text-transform: uppercase; color: var(--body); }
.g-price { font-size: 15px; letter-spacing: -0.025em; color: rgba(0, 0, 0, 0.6); }

.g-img { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 330 / 318; }
.g-img img, .g-module-img img { width: 100%; height: 100%; object-fit: cover; }
.g-tint::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.1);
}

.g-services { padding-top: 100px; }
.g-services-list { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 40px; }
.g-module {
  display: flex; align-items: flex-start; gap: 20px;
  padding: 30px 0;
  border-top: 1px solid var(--divider);
}
.g-module-text { flex: 1; min-width: 0; max-width: 500px; display: flex; flex-direction: column; gap: 24px; }
.g-module h3 {
  font-weight: 700; font-size: 50px; line-height: 1.1;
  letter-spacing: -0.02em; text-transform: uppercase;
  color: var(--headline);
}
.g-module p { font-size: 17px; line-height: 1.4; letter-spacing: -0.025em; }
.g-module-img {
  position: relative;
  flex: 1; min-width: 0;
  aspect-ratio: 488 / 421;
  border-radius: var(--radius);
  overflow: hidden;
}
.g-module-img-sm { border-radius: 15px; }

.intro-narrow { padding: 150px 40px; }
.intro-narrow .intro-content { width: 400px; }

/* ---------- Tablet + phone ---------- */
/* The menu collapses into a dropdown opened by the three-stripe button (top right). */
@media (max-width: 1100px) {
  html { scroll-padding-top: 100px; }
  .nav { flex-direction: column; align-items: stretch; height: auto; border-bottom: 0; }
  .nav-bar {
    display: flex; align-items: center; justify-content: space-between;
    height: 82px; border-bottom: 1px solid var(--divider);
  }
  .logo { margin-right: auto; }
  .nav-items { margin-left: 0; order: 0; }
  .cart-link { order: 0; margin-left: 0; margin-right: 6px; }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px; height: 40px;
    margin-right: -8px;
    padding: 0 8px;
    background: none;
    border: 0;
    cursor: pointer;
  }
  .menu-toggle span {
    display: block;
    height: 2px;
    background: var(--headline);
    transition: transform 0.28s ease, opacity 0.2s ease;
  }
  .nav.open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.open .menu-toggle span:nth-child(2) { opacity: 0; }
  .nav.open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* dropdown: fades and slides down; links follow one after another */
  .nav-items {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    padding: 0;
    background: #fff;
    border-bottom: 1px solid var(--divider);
    font-size: 14px;
    letter-spacing: 0.02em;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.28s ease, transform 0.28s ease, visibility 0s linear 0.28s;
  }
  .nav.open .nav-items {
    visibility: visible;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    transition-delay: 0s;
  }
  .nav-items a {
    padding: 16px 0;
    border-bottom: 1px solid #e4e4e4;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.25s ease, transform 0.25s ease;
  }
  .nav.open .nav-items a { opacity: 1; transform: none; }
  .nav.open .nav-items a:nth-child(1) { transition-delay: 0.05s; }
  .nav.open .nav-items a:nth-child(2) { transition-delay: 0.10s; }
  .nav.open .nav-items a:nth-child(3) { transition-delay: 0.15s; }
  .nav.open .nav-items a:nth-child(4) { transition-delay: 0.20s; }
  .nav-items a:last-child { border-bottom: 0; }

  .intro { padding: 100px 40px; }
  .intro-cta { padding-top: 140px; padding-bottom: 140px; }
  .intro-title { font-size: 34px; }
  .g-module h3 { font-size: 40px; }
  .hero { height: 460px; }
  .g-section { flex-direction: column; gap: 24px; }
  .g-label, .g-label-dark { flex-basis: auto; }
  .g-services { padding-top: 60px; }
  .intro-narrow { padding: 100px 40px; }
}

/* ---------- Phone ---------- */
@media (max-width: 600px) {
  body { padding: 0 16px; }
  html { scroll-padding-top: 80px; }
  .nav { left: 16px; right: 16px; }
  .nav-bar { height: 64px; }
  .logo { font-size: 22px; letter-spacing: 0.08em; }
  .header { padding: 100px 0 0; }
  .hero { height: 380px; }
  .hero-caption { left: 12px; bottom: 12px; gap: 8px; padding: 8px 12px 7px; font-size: 12px; }
  .hero-cta { display: none; }
  .hero-arrow { width: 38px; height: 38px; }
  .hero-prev { left: 8px; }
  .hero-next { right: 8px; }
  .intro { padding: 70px 8px; }
  .intro-cta { padding-top: 90px; padding-bottom: 90px; }
  .intro-title { font-size: 28px; }
  .g-module h3 { font-size: 30px; }
  .page-header { padding: 100px 0 40px; }
  .page-header h1 { font-size: 36px; }
  .g-collection { padding-bottom: 60px; }
  .g-grid { gap: 40px 16px; }
  .g-module { flex-direction: column; gap: 24px; }
  .g-module-text, .g-module-img { flex: none; width: 100%; max-width: none; }
  .intro-narrow { padding: 70px 8px; }
  .intro-narrow .intro-content { width: 100%; }
  .footer-card { padding-top: 260px; }
  .monogram { font-size: 72px; }
  .footer-row { font-size: 18px; }
}

/* ---------- Page transitions ---------- */
/* Everything except the menu bar fades in on arrival and fades out when a page link is clicked,
   so the logo and menu stay put while the page changes. */
@keyframes page-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}
body > :not(.nav):not(script) { animation: page-in 0.45s ease backwards; }
body > :not(.nav):not(script) { transition: opacity 0.25s ease, transform 0.25s ease; }
html.is-leaving body > :not(.nav):not(script) { opacity: 0; transform: translateY(-6px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body > :not(.nav):not(script) { animation: none; transition: none; }
  html.is-leaving body > :not(.nav):not(script) { transform: none; }
  .nav-items, .nav-items a, .menu-toggle span { transition: none !important; }
}

/* ---------- Shop: add to cart, cart page ---------- */
.g-add { align-self: flex-start; border: 0; cursor: pointer; font-family: inherit; }
.button-lg { width: 100%; padding: 14px 20px 12px; border: 0; cursor: pointer; font-family: inherit; }
.button:disabled { opacity: 0.6; cursor: default; }

.cart-wrap { max-width: 1500px; margin: 0 auto; padding-bottom: 140px; }
.cart-note {
  margin-bottom: 30px; padding: 14px 18px;
  background: #fff7d6; border-radius: 4px;
  font-weight: 500; color: var(--body);
}
.cart-empty { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; font-size: 20px; color: var(--body); }
.cart-error { margin-top: 14px; color: #b00020; font-weight: 500; }

.cart-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 60px; align-items: start; }
.cart-items { list-style: none; border-top: 1px solid var(--divider); }
.cart-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto 110px;
  gap: 20px; align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--divider);
}
.cart-thumb { width: 96px; height: 96px; object-fit: cover; border-radius: 15px; }
.cart-name { font-weight: 700; font-size: 18px; line-height: 1.4; text-transform: uppercase; color: var(--body); }
.cart-unit { font-size: 15px; color: rgba(0, 0, 0, 0.6); }
.cart-remove {
  margin-top: 6px; padding: 0;
  background: none; border: 0; cursor: pointer;
  font: inherit; font-size: 13px; text-decoration: underline; color: var(--caption);
}
.qty { display: inline-flex; align-items: center; border: 1px solid var(--divider); border-radius: 4px; }
.qty button { width: 36px; height: 36px; background: none; border: 0; font-size: 18px; cursor: pointer; color: var(--body); }
.qty button:disabled { opacity: 0.35; cursor: default; }
.qty span { min-width: 28px; text-align: center; font-weight: 700; }
.cart-line { font-weight: 700; text-align: right; color: var(--headline); }

.cart-summary {
  position: sticky; top: 110px;
  padding: 30px;
  border: 1px solid var(--divider); border-radius: var(--radius);
}
.cart-summary-title {
  margin-bottom: 20px;
  font-weight: 700; font-size: 14px; letter-spacing: 0.02em; text-transform: uppercase;
  color: var(--caption);
}
.cart-subtotal { display: flex; justify-content: space-between; font-size: 20px; color: var(--headline); }
.cart-fineprint { margin: 12px 0 24px; font-size: 14px; line-height: 1.4; color: var(--caption); }

@media (max-width: 1100px) {
  .cart-grid { grid-template-columns: 1fr; gap: 40px; }
  .cart-summary { position: static; }
}
@media (max-width: 600px) {
  .cart-row { grid-template-columns: 72px minmax(0, 1fr); gap: 14px 16px; }
  .cart-thumb { width: 72px; height: 72px; }
  .qty { grid-column: 2; justify-self: start; }
  .cart-line { grid-column: 2; text-align: left; }
  .cart-summary { padding: 22px; }
  .cart-wrap { padding-bottom: 80px; }
}

/* ---------- Product page ---------- */
a.g-img { display: block; }
.g-img img { transition: transform 0.4s ease; }
a.g-img:hover img { transform: scale(1.03); }
.g-name a:hover { text-decoration: underline; text-underline-offset: 4px; }

.product-wrap { max-width: 1500px; margin: 0 auto; padding: 126px 0 140px; }
.product-back {
  display: inline-block; margin-bottom: 30px;
  font-weight: 700; font-size: 14px; letter-spacing: 0.02em; text-transform: uppercase;
  color: var(--caption);
}
.product-back:hover { color: var(--headline); }
.product-back[hidden] { display: none; }

.product { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 56px; align-items: start; }

/* collage: one large photo with four close-ups beside it */
.collage { display: grid; gap: 12px; }
.collage-5 { grid-template-columns: repeat(4, 1fr); }
.collage-5 .collage-item:first-child { grid-column: 1 / span 2; grid-row: 1 / span 2; }
.collage-stack { grid-template-columns: repeat(var(--n, 1), 1fr); }
.collage-stack .collage-item:first-child { grid-column: 1 / -1; }
.collage-item {
  padding: 0; border: 0; cursor: zoom-in;
  aspect-ratio: 1;
  background: var(--cream);
  border-radius: 20px;
  overflow: hidden;
}
.collage-item:first-child { border-radius: var(--radius); }
.collage-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.collage-item:hover img { transform: scale(1.04); }

.product-info { display: flex; flex-direction: column; gap: 22px; padding-top: 6px; }
.product-title {
  font-weight: 700; font-size: 44px; line-height: 1.1;
  letter-spacing: -0.02em; text-transform: uppercase;
  color: var(--headline);
}
.product-price { font-weight: 700; font-size: 26px; color: var(--headline); }
.product-aud { margin: -14px 0 0; }
.product-desc { font-size: 17px; line-height: 1.55; letter-spacing: -0.01em; color: var(--body); }
.product-add { align-self: flex-start; width: auto; min-width: 280px; margin-top: 6px; }
.product-ship { font-size: 15px; line-height: 1.4; color: var(--caption); }
.product-details-title {
  margin-top: 10px; padding-top: 22px;
  border-top: 1px solid var(--divider);
  font-weight: 700; font-size: 14px; letter-spacing: 0.02em; text-transform: uppercase;
  color: var(--caption);
}
.product-details { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.product-details li { position: relative; padding-left: 20px; font-size: 16px; line-height: 1.45; color: var(--body); }
.product-details li::before {
  content: ""; position: absolute; left: 2px; top: 0.6em;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
}

.lightbox { margin: auto; border: 0; padding: 0; background: transparent; max-width: min(92vw, 1000px); overflow: visible; }
.lightbox::backdrop { background: rgba(0, 0, 0, 0.78); }
.lightbox img { display: block; max-width: 100%; max-height: 80vh; margin: 0 auto; border-radius: 20px; }
.lightbox-caption { margin-top: 14px; text-align: center; font-size: 14px; color: #fff; }

@media (max-width: 1100px) {
  .product { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 600px) {
  .product-wrap { padding: 100px 0 80px; }
  .product-title { font-size: 30px; }
  .product-add { width: 100%; }
  .collage { gap: 8px; }
  .collage-item { border-radius: 14px; }
}

/* ---------- Options (for example scents) ---------- */
.options { display: flex; flex-direction: column; gap: 12px; margin-top: 4px; }
.options-label {
  font-weight: 700; font-size: 14px; letter-spacing: 0.02em; text-transform: uppercase;
  color: var(--caption);
}
.options-chosen { color: var(--headline); }
.option-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.option {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 14px 8px 8px;
  background: var(--cream);               /* cream, not pure white */
  border: 2px solid transparent; border-radius: 14px;
  font: inherit; font-weight: 700; font-size: 15px; line-height: 1.25; text-align: left;
  color: var(--body); cursor: pointer;
  transition: border-color 0.15s ease;
}
.option:hover { border-color: rgba(0, 0, 0, 0.28); }
.option.is-selected { border-color: var(--headline); }
.option:focus-visible { outline: 2px solid var(--headline); outline-offset: 2px; }
.option-thumb { width: 52px; height: 52px; flex: none; border-radius: 10px; object-fit: cover; background: var(--cream); }
.options-hint { font-size: 14px; color: var(--caption); }
.options-hint[hidden] { display: none; }
.cart-option { font-size: 14px; color: var(--caption); }
.cart-thumb { background: var(--cream); }
a.g-add { text-decoration: none; }

@media (max-width: 480px) {
  .option-grid { grid-template-columns: 1fr; }
}

.g-empty { grid-column: 1 / -1; font-size: 20px; line-height: 1.4; color: var(--body); }
.g-label[hidden] { display: none; }

@media (prefers-reduced-motion: reduce) {
  .hero-slide, .hero-slide .hero-caption { transition: none; }
  .hero-slide.is-active .hero-caption { transition-delay: 0s; }
}

/* ---------- Smooth loading ---------- */
.fade-img { opacity: 0; transition: opacity 0.45s ease; }
.fade-img.is-loaded { opacity: 1; }
.g-img { background: var(--cream); }
.g-grid { min-height: 420px; }
.g-label { opacity: 0; transition: opacity 0.3s ease; }
.g-label.is-ready { opacity: 1; }

/* placeholders: the same shapes as the real content, so nothing jumps when it arrives */
.skel-line, .skel-photo, .g-skel .g-img { background: var(--cream); animation: skel-pulse 1.4s ease-in-out infinite; }
.skel-line { display: block; height: 18px; width: 70%; border-radius: 9px; }
.skel-title { height: 44px; width: 90%; border-radius: 12px; }
.skel-short { width: 30%; height: 26px; }
.skel-photo { aspect-ratio: 1; border-radius: var(--radius); }
.g-skel .g-info .skel-line { width: 55%; height: 20px; }
@keyframes skel-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.55; } }

@media (prefers-reduced-motion: reduce) {
  .fade-img, .g-label { transition: none; }
  .skel-line, .skel-photo, .g-skel .g-img { animation: none; }
}

/* ---------- Contact page (laid out like the About section of the design) ---------- */
.contact-section { padding-bottom: 140px; }
.contact-col { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 40px; align-items: flex-start; padding-bottom: 40px; }
.contact-lead {
  font-weight: 700; font-size: 40px; line-height: 1.1; letter-spacing: -0.025em;
  color: var(--headline);
}
.contact-text {
  max-width: 600px;
  font-weight: 500; font-size: 24px; line-height: 1.4; letter-spacing: -0.01em;
  color: var(--body);
}
.contact-box {
  width: 100%; max-width: 760px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px;
  padding: 36px 40px;
  background: var(--cream);
  border-radius: var(--radius);
}
.contact-label {
  margin-bottom: 8px;
  font-weight: 700; font-size: 14px; letter-spacing: 0.02em; text-transform: uppercase;
  color: var(--caption);
}
.contact-value {
  display: block;
  font-weight: 700; font-size: 24px; line-height: 1.3; letter-spacing: -0.01em;
  overflow-wrap: anywhere;
  color: var(--headline);
}
.contact-value:hover { text-decoration: underline; text-underline-offset: 5px; }
button.contact-value {
  padding: 0; background: none; border: 0;
  font-family: inherit; text-align: left; cursor: copy;
}
button.contact-value:focus-visible { outline: 2px solid var(--headline); outline-offset: 4px; border-radius: 4px; }
button.contact-value.is-copied { text-decoration: none; }
.copy-hint { grid-column: 1 / -1; font-size: 14px; line-height: 1.4; color: var(--caption); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 14px; }

@media (max-width: 1100px) {
  .contact-section { padding-bottom: 100px; }
  .contact-lead { font-size: 34px; }
  .contact-text { font-size: 20px; }
}
@media (max-width: 600px) {
  .contact-section { padding-bottom: 70px; }
  .contact-col { gap: 28px; }
  .contact-lead { font-size: 28px; }
  .contact-box { grid-template-columns: 1fr; gap: 22px; padding: 26px 22px; }
  .contact-value { font-size: 20px; }
}

/* ---------- Home page: product rows ("Best of ...") ---------- */
.shelves { max-width: 1500px; margin: 0 auto; padding: 90px 0 40px; min-height: 640px; }
.shelf { margin-bottom: 80px; }
.shelf-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 36px; }
.shelf-head h2 {
  font-weight: 500; font-size: 40px; line-height: 1.1; letter-spacing: -0.02em;
  color: #3a3a3a;
}
.shelf-all {
  display: inline-flex; align-items: center; gap: 14px;
  font-weight: 500; font-size: 20px; color: var(--headline);
}
.shelf-all-btn {
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: #ececec;
  transition: background 0.15s ease;
}
.shelf-all:hover .shelf-all-btn { background: #dcdcdc; }

.shelf-view { position: relative; --card-w: 280px; }
.shelf-track {
  display: flex; gap: 20px;
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.shelf-track::-webkit-scrollbar { display: none; }
.shelf-track:focus-visible { outline: 2px solid var(--headline); outline-offset: 4px; }

.card {
  flex: 0 0 calc((100% - 60px) / 4);
  min-width: 0;
  display: flex; flex-direction: column;
  scroll-snap-align: start;
  color: var(--headline);
}
.card-img {
  display: block; position: relative;
  aspect-ratio: 1;
  background: var(--cream);
  border-radius: 20px; overflow: hidden;
}
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-name { margin-top: 18px; font-size: 20px; line-height: 1.3; font-weight: 400; color: var(--headline); }
.card-price { margin-top: 8px; font-size: 18px; color: #666; }
.card:hover .card-name { text-decoration: underline; text-underline-offset: 4px; }

.shelf-arrow {
  position: absolute; z-index: 2;
  top: calc(var(--card-w) / 2); transform: translateY(-50%);
  display: grid; place-items: center;
  width: 52px; height: 52px; padding: 0;
  background: rgba(255, 255, 255, 0.95); color: var(--headline);
  border: 0; border-radius: 50%;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}
.shelf-arrow[hidden] { display: none; }
.shelf-prev { left: 14px; }
.shelf-next { right: 14px; }
.shelf-arrow:hover { background: #fff; }
.shelf-arrow:focus-visible { outline: 2px solid var(--headline); outline-offset: 2px; }

.shelf-bar { position: relative; height: 4px; margin-top: 34px; background: #cfcfcf; }
.shelf-bar[hidden] { display: none; }
.shelf-thumb { position: absolute; top: 0; bottom: 0; left: 0; width: 25%; background: #111; transition: left 0.12s linear; }

@media (max-width: 1100px) {
  .shelves { padding-top: 60px; }
  .shelf-head h2 { font-size: 34px; }
  .card { flex-basis: calc((100% - 40px) / 3); }
}
@media (max-width: 600px) {
  .shelves { padding-top: 40px; min-height: 520px; }
  .shelf { margin-bottom: 56px; }
  .shelf-head { margin-bottom: 22px; }
  .shelf-head h2 { font-size: 26px; }
  .shelf-all { font-size: 16px; gap: 10px; }
  .shelf-all-btn { width: 32px; height: 32px; }
  .card { flex-basis: 62%; }
  .card-name { font-size: 17px; }
  .card-price { font-size: 16px; }
  .shelf-arrow { display: none; }
  .shelf-bar { margin-top: 24px; }
}
@media (prefers-reduced-motion: reduce) { .shelf-thumb { transition: none; } }
