:root {
  --paper: #fbf8f1;
  --cream: #f4ebdc;
  --ink: #2e2925;
  --muted: #756b62;
  --gold: #b58b35;
  --rose: #b96d76;
  --sage: #5f7b62;
  --line: rgba(46, 41, 37, 0.12);
  --shadow: 0 18px 45px rgba(46, 41, 37, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

img {
  display: block;
  max-width: 100%;
}

.offer-page { padding-top: 68px; }
.nav { position: fixed; z-index: 20; top: 0; right: 0; left: 0; border-bottom: 1px solid rgba(255,255,255,.26); background: rgba(46,41,37,.94); backdrop-filter: blur(14px); }
.nav-inner { position: relative; display: flex; width: min(1180px, calc(100% - 32px)); min-height: 68px; margin: 0 auto; align-items: center; justify-content: space-between; gap: 20px; }
.nav .brand { min-width: 0; color: #fff; font-weight: 700; }
.nav .brand > div > span { display: block; color: rgba(255,255,255,.72); font-size: 12px; font-weight: 500; }
.nav-links { display: flex; align-items: center; gap: 22px; color: rgba(255,255,255,.88); font-size: 14px; }
.nav-links a:hover { color: #fff; }
.nav-links a.nav-highlight { min-height: 40px; padding: 0 14px; border-radius: 999px; color: #fff; background: var(--rose); font-weight: 800; }
.nav-links a.nav-highlight:hover { background: #a65d67; }
.catalog-menu { position: relative; }
.catalog-menu-toggle { display: inline-flex; padding: 8px 0; align-items: center; gap: 7px; border: 0; color: inherit; background: transparent; cursor: pointer; font: inherit; }
.catalog-menu-toggle::after { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; content: ""; transform: translateY(-2px) rotate(45deg); transition: transform 180ms ease; }
.catalog-menu-toggle[aria-expanded="true"]::after { transform: translateY(2px) rotate(225deg); }
.catalog-menu-panel { position: fixed; top: 78px; left: 50%; display: none; width: min(720px, calc(100vw - 32px)); max-height: calc(100vh - 104px); padding: 18px; overflow-y: auto; border: 1px solid rgba(255,255,255,.2); border-radius: 18px; color: var(--ink); background: rgba(251,248,241,.98); box-shadow: 0 22px 55px rgba(27,22,19,.32); transform: translateX(-50%); }
.catalog-menu-panel.is-open { display: block; }
.catalog-menu-heading { margin: 0 0 12px; color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.catalog-menu-panel details { border-top: 1px solid var(--line); }
.catalog-menu-panel details:last-child { border-bottom: 1px solid var(--line); }
.catalog-menu-panel summary { position: relative; padding: 13px 34px 13px 4px; cursor: pointer; font-weight: 750; list-style: none; }
.catalog-menu-panel summary::-webkit-details-marker { display: none; }
.catalog-menu-panel summary::after { position: absolute; top: 50%; right: 6px; color: var(--rose); content: "+"; font-size: 21px; transform: translateY(-52%); }
.catalog-menu-panel details[open] summary::after { content: "−"; }
.catalog-menu-content { display: grid; padding: 0 4px 16px; grid-template-columns: minmax(0,.95fr) minmax(0,1.45fr); gap: 18px; color: var(--muted); font-size: 13px; }
.catalog-menu-content p, .catalog-menu-content ul { margin: 0; }
.catalog-menu-content ul { padding-left: 19px; }
.catalog-page-link { display: inline-flex; min-height: 36px; padding: 0 14px; grid-column: 2; align-items: center; justify-self: start; border-radius: 999px; color: #fff; background: var(--sage); font-size: 12px; font-weight: 800; }
.nav-cta { display: inline-flex; min-height: 42px; padding: 0 18px; align-items: center; justify-content: center; border-radius: 999px; color: var(--ink); background: #f4d98b; font-weight: 700; }
.menu-toggle { display: none; width: 42px; height: 42px; padding: 0; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; color: #fff; background: rgba(255,255,255,.1); }
.menu-toggle-lines, .menu-toggle-lines::before, .menu-toggle-lines::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; content: ""; }
.menu-toggle-lines { position: relative; }
.menu-toggle-lines::before, .menu-toggle-lines::after { position: absolute; left: 0; }
.menu-toggle-lines::before { transform: translateY(-6px); }
.menu-toggle-lines::after { transform: translateY(6px); }

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(46, 41, 37, 0.94);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  width: min(1120px, calc(100% - 32px));
  min-height: 70px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #fff;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
}

.brand-mark img {
  width: 84%;
  height: 84%;
  object-fit: contain;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-nav a,
.category-switcher summary {
  display: inline-flex;
  min-height: 40px;
  padding: 0 14px;
  align-items: center;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88);
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
}

.header-nav a:hover,
.category-switcher summary:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.header-nav .nav-cta {
  color: #fff;
  background: var(--rose);
}

.header-nav .nav-cta:hover {
  background: #a65d67;
}

.category-switcher {
  position: relative;
}

.category-switcher summary {
  list-style: none;
}

.category-switcher summary::-webkit-details-marker {
  display: none;
}

.category-switcher summary::after {
  margin-left: 8px;
  content: "▾";
}

.category-switcher[open] summary::after {
  content: "▴";
}

.category-list {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(330px, calc(100vw - 24px));
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 15px;
  color: var(--ink);
  background: rgba(251, 248, 241, 0.99);
  box-shadow: var(--shadow);
}

.category-list a {
  display: block;
  min-height: auto;
  padding: 9px 11px;
  border-radius: 9px;
  color: var(--ink);
  font-size: 13px;
}

.category-list a:hover,
.category-list a[aria-current="page"] {
  color: var(--ink);
  background: var(--cream);
}

.hero {
  padding: 18px 0 16px;
  background:
    radial-gradient(circle at 82% 12%, rgba(244, 217, 139, 0.42), transparent 30%),
    linear-gradient(135deg, #51463e, #2e2925);
  color: #fff;
}

.container {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 10px;
  color: #f4d98b;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 500;
  line-height: 1.03;
}

.hero-description {
  max-width: 720px;
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(13px, 1.4vw, 15px);
}

.content-layout {
  display: grid;
  padding: 52px 0 76px;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.8fr);
  align-items: start;
  gap: 34px;
}
.content-layout.no-subcategories { grid-template-columns: 1fr; }
.content-layout.menu-in-header { grid-template-columns: 1fr; }

.subcategory-menu {
  position: sticky;
  top: 94px;
  max-height: calc(100vh - 112px);
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(46, 41, 37, 0.08);
}

.subcategory-menu summary {
  position: relative;
  padding: 16px 46px 16px 18px;
  cursor: pointer;
  font-weight: 850;
  list-style: none;
}
.offer-tree-title { margin: 0; padding: 16px 18px; border-bottom: 1px solid var(--line); font-size: 16px; }
.offer-tree { padding: 8px 10px 12px; }
.offer-tree details { border-bottom: 1px solid var(--line); }
.offer-tree details:last-child { border-bottom: 0; }
.offer-tree summary { padding: 10px 28px 10px 8px; font-size: 14px; }
.offer-tree summary::after { right: 8px; }
.offer-tree .tree-children { padding: 0 4px 9px 12px; border-left: 2px solid var(--cream); }
.offer-tree .tree-category-link { color: var(--rose); font-weight: 800; }
.offer-tree details.is-current > summary { color: var(--ink); background: var(--cream); border-radius: 8px; }
.offer-tree a[aria-current="page"] { color: var(--ink); background: var(--cream); font-weight: 800; }

.subcategory-menu summary::-webkit-details-marker {
  display: none;
}

.subcategory-menu summary::after {
  position: absolute;
  top: 50%;
  right: 18px;
  content: "+";
  color: var(--rose);
  font-size: 22px;
  font-weight: 400;
  transform: translateY(-50%);
}

.subcategory-menu[open] summary::after {
  content: "−";
}

.subcategory-links {
  padding: 0 10px 12px;
}

.subcategory-links a {
  display: block;
  padding: 9px 10px;
  border-radius: 9px;
  color: var(--muted);
  font-size: 14px;
}

.subcategory-links a:hover {
  color: var(--ink);
  background: var(--cream);
}

.subcategory-sections {
  display: grid;
  gap: 18px;
}

.category-empty {
  padding: 28px;
  grid-column: 1 / -1;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--muted);
  background: #fff;
  text-align: center;
}

.subcategory-card {
  scroll-margin-top: 92px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(46, 41, 37, 0.07);
}

.subcategory-number {
  display: inline-flex;
  min-width: 34px;
  height: 34px;
  margin-bottom: 15px;
  padding: 0 10px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  background: var(--rose);
  font-size: 13px;
  font-weight: 850;
}

.subcategory-card h2 {
  margin: 0 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(25px, 4vw, 34px);
  font-weight: 500;
  line-height: 1.15;
}

.subcategory-card p {
  margin: 0;
  color: var(--muted);
}
.offer-gallery { display: grid; margin-top: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.offer-gallery.category-gallery { margin: 0 0 22px; grid-column: 1 / -1; }
.offer-image { overflow: hidden; margin: 0; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.offer-image-button { display: block; width: 100%; padding: 0; overflow: hidden; border: 0; background: var(--cream); cursor: zoom-in; }
.offer-image img { width: 100%; object-fit: cover; transition: transform 180ms ease; }
.offer-image.is-portrait img { aspect-ratio: 9 / 16; }
.offer-image.is-landscape img { aspect-ratio: 16 / 9; }
.offer-image-button:hover img, .offer-image-button:focus-visible img { transform: scale(1.045); }
.offer-image-button:focus-visible { outline: 3px solid var(--rose); outline-offset: -3px; }
.offer-image figcaption { padding: 10px 12px; color: var(--muted); font-size: 13px; }
.offer-description-toggle { display: -webkit-box; width: 100%; padding: 0; overflow: hidden; border: 0; color: inherit; background: transparent; font: inherit; line-height: 1.45; text-align: left; cursor: pointer; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.offer-image figcaption.is-expanded .offer-description-toggle { display: block; overflow: visible; }
.offer-description-toggle:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; }
.lightbox-open { overflow: hidden; }
.image-lightbox[hidden] { display: none; }
.image-lightbox { position: fixed; z-index: 1000; inset: 0; display: flex; padding: 24px 72px; align-items: center; justify-content: center; color: #fff; background: rgba(20, 17, 15, .72); touch-action: none; overscroll-behavior: contain; }
.lightbox-content { display: flex; max-width: 92vw; max-height: 81vh; margin: 0; overflow: hidden; align-items: center; flex-direction: column; border: 1px solid rgba(255,255,255,.28); border-radius: 14px; background: #fff; box-shadow: 0 22px 80px rgba(0,0,0,.55); transition: width 180ms ease; }
.lightbox-viewport { display: flex; width: 100%; flex: 0 0 auto; overflow: hidden; align-items: center; justify-content: center; background: transparent; }
.lightbox-content img { display: block; width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; touch-action: none; transform-origin: center; will-change: transform; }
.lightbox-viewport.is-zoomed { cursor: grab; }
.lightbox-viewport.is-dragging { cursor: grabbing; }
.image-lightbox.is-zoomed .lightbox-viewport { position: fixed; z-index: 1; inset: 0; width: 100vw; height: 100vh; overflow: visible; border-radius: 0; background: transparent; aspect-ratio: auto !important; }
.image-lightbox.is-zoomed .lightbox-content img { width: var(--base-image-width); height: var(--base-image-height); max-width: none; max-height: none; object-fit: fill; }
.lightbox-close, .lightbox-nav { position: fixed; z-index: 2; display: grid; width: 48px; height: 48px; padding: 0; place-items: center; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; color: #fff; background: rgba(0,0,0,.38); cursor: pointer; line-height: 1; }
.lightbox-nav[hidden] { display: none; }
.lightbox-close:hover, .lightbox-nav:hover, .lightbox-close:focus-visible, .lightbox-nav:focus-visible { background: rgba(185,109,118,.9); outline: none; }
.lightbox-close { z-index: 2; top: 14px; right: 16px; font-size: 34px; }
.lightbox-nav { top: 50%; transform: translateY(-50%); font-size: 46px; }
.lightbox-previous { left: 16px; }
.lightbox-next { right: 16px; }

.card-link {
  display: inline-flex;
  min-height: 42px;
  margin-top: 18px;
  padding: 0 17px;
  align-items: center;
  border-radius: 999px;
  color: #fff;
  background: var(--sage);
  font-size: 14px;
  font-weight: 800;
}

.card-link:hover {
  background: #4e6952;
}

.site-footer {
  padding: 28px 0;
  color: rgba(255, 255, 255, 0.64);
  background: var(--ink);
  font-size: 14px;
}

@media (max-width: 920px) {
  .nav-links { display: none; position: absolute; top: calc(100% + 10px); right: 0; width: min(360px, calc(100vw - 24px)); padding: 10px; flex-direction: column; align-items: stretch; gap: 4px; border: 1px solid rgba(255,255,255,.24); border-radius: 16px; background: rgba(46,41,37,.96); box-shadow: 0 18px 40px rgba(27,22,19,.28); }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 11px 13px; border-radius: 10px; }
  .catalog-menu-toggle { width: 100%; padding: 11px 13px; justify-content: space-between; border-radius: 10px; }
  .catalog-menu-panel { position: static; width: 100%; max-height: 58vh; margin: 4px 0 8px; padding: 12px; transform: none; }
  .catalog-menu-content { grid-template-columns: 1fr; gap: 10px; }
  .catalog-page-link { grid-column: 1; }
  .menu-toggle { display: inline-flex; }
  .nav-links .subcategory-menu { position: static; width: 100%; max-height: 58vh; margin: 4px 0 8px; overflow-y: auto; border-radius: 12px; color: var(--ink); background: var(--paper); }
  .nav-links .offer-tree-title { color: var(--ink); }
}

@media (max-width: 760px) {
  .nav-inner { width: min(100% - 24px, 1180px); gap: 8px; }
  .nav-cta { display: none; }
  .nav .brand > div > span { display: none; }
  .header-inner {
    width: min(100% - 24px, 1120px);
    gap: 8px;
  }

  .brand > span:last-child {
    display: none;
  }

  .header-nav {
    gap: 2px;
  }

  .header-nav a,
  .category-switcher summary {
    padding: 0 10px;
    font-size: 12px;
  }

  .category-list {
    position: fixed;
    top: 66px;
    right: 12px;
    max-height: calc(100vh - 82px);
    overflow-y: auto;
  }

  .hero {
    padding: 15px 0 13px;
  }

  .content-layout {
    padding: 30px 0 54px;
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .nav-links .subcategory-menu { position: static; top: auto; max-height: 58vh; }

  .subcategory-card {
    padding: 22px;
  }
  .offer-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .offer-image figcaption { padding: 8px 9px; font-size: 11px; }
  .offer-description-toggle { display: -webkit-box; max-height: 2.9em; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .offer-image figcaption.is-expanded .offer-description-toggle { display: block; max-height: none; overflow: visible; -webkit-line-clamp: initial; }
  .image-lightbox { padding: 54px 10px 78px; }
  .lightbox-content { max-width: calc(100vw - 20px); max-height: 81svh; border-radius: 11px; }
  .lightbox-nav { top: auto; bottom: 17px; width: 50px; height: 50px; transform: none; }
  .lightbox-previous { left: calc(50% - 62px); }
  .lightbox-next { right: calc(50% - 62px); }
}
