:root {
  --hdd-red: #d91231;
  --hdd-red-dark: #a80720;
  --hdd-ink: #151414;
  --hdd-paper: #f6f3ef;
  --hdd-white: #fff;
  --hdd-muted: #706b68;
  --hdd-line: #e6ded8;
}

body.hdd-menu-page {
  margin: 0 !important;
  background: #ebe6e1;
}

body.hdd-menu-page .hdd-menu {
  min-height: 100vh;
}

.hdd-menu,
.hdd-menu * { box-sizing: border-box; }

.hdd-menu {
  width: min(100%, 1180px);
  margin: 0 auto;
  color: var(--hdd-ink);
  background: var(--hdd-paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

.hdd-menu button,
.hdd-menu input { font: inherit; }

.hdd-menu .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hdd-hero {
  position: relative;
  overflow: hidden;
  padding: 30px 20px 28px;
  text-align: center;
  color: var(--hdd-white);
  background:
    radial-gradient(circle at 80% 15%, rgba(217, 18, 49, .35), transparent 35%),
    linear-gradient(145deg, #090909, #1b1717 66%, #300810);
}

.hdd-hero::after {
  position: absolute;
  right: -80px;
  bottom: -120px;
  width: 240px;
  height: 240px;
  border: 36px solid rgba(217, 18, 49, .15);
  border-radius: 50%;
  content: "";
}

.hdd-logo {
  display: block;
  width: min(520px, 86vw);
  height: auto;
  margin: 0 auto 22px;
  border-radius: 4px;
}

.hdd-eyebrow {
  margin: 0 0 7px;
  color: #ff5970;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .18em;
}

.hdd-hero h1 {
  margin: 0;
  color: var(--hdd-white);
  font-size: clamp(28px, 6vw, 52px);
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: 1.04;
}

.hdd-slogan {
  margin: 10px 0 20px;
  color: #ddd4d4;
  font-size: clamp(15px, 3vw, 20px);
}

.hdd-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
}

.hdd-actions a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  color: var(--hdd-white);
  background: rgba(255,255,255,.08);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.hdd-actions a:first-child { border-color: var(--hdd-red); background: var(--hdd-red); }
.hdd-actions a { transition: transform .18s ease, background-color .18s ease, border-color .18s ease; }
.hdd-actions a:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.52); background: rgba(255,255,255,.14); }
.hdd-actions a:first-child:hover { background: #ec1538; }
.hdd-actions a:focus-visible,
.hdd-tabs button:focus-visible,
.hdd-variants button:focus-visible,
.hdd-details summary:focus-visible,
.hdd-search input:focus-visible,
.hdd-search-clear:focus-visible,
.hdd-to-top:focus-visible { outline: 3px solid #ffbf47; outline-offset: 3px; }

.hdd-controls {
  position: sticky;
  z-index: 5;
  top: 0;
  padding: 14px 14px 10px;
  border-bottom: 1px solid var(--hdd-line);
  background: rgba(246, 243, 239, .96);
  backdrop-filter: blur(10px);
}

.admin-bar .hdd-controls { top: 32px; }
.hdd-search-wrap { position: relative; }
.hdd-search { display: block; }
.hdd-search-icon { position: absolute; top: 50%; left: 15px; color: #7d7570; font-size: 24px; line-height: 1; transform: translateY(-54%); pointer-events: none; }
.hdd-search input {
  width: 100%;
  min-height: 48px;
  padding: 11px 88px 11px 44px;
  border: 1px solid #d8d0ca;
  border-radius: 14px;
  color: var(--hdd-ink);
  background: var(--hdd-white);
  box-shadow: 0 5px 20px rgba(30, 22, 20, .05);
}
.hdd-search input::placeholder { color: #918985; opacity: 1; }
.hdd-search input:focus { border-color: #b8aaa1; box-shadow: 0 0 0 3px rgba(217,18,49,.1), 0 7px 22px rgba(30,22,20,.06); outline: 0; }
.hdd-search-clear { position: absolute; top: 50%; right: 8px; min-height: 34px; padding: 5px 10px; border: 0; border-radius: 9px; color: var(--hdd-red-dark); background: #fff0f2; font-size: 12px; font-weight: 850; cursor: pointer; transform: translateY(-50%); }
.hdd-search-clear[hidden] { display: none; }

.hdd-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin-top: 10px;
  padding: 2px 0 4px;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}
.hdd-tabs::-webkit-scrollbar { display: none; }

.hdd-tabs button {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid #d8d0ca;
  border-radius: 999px;
  color: #49413d;
  background: var(--hdd-white);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  scroll-snap-align: center;
  transition: color .16s ease, background-color .16s ease, border-color .16s ease, transform .16s ease;
}

.hdd-tabs button:hover { border-color: #baa9a1; transform: translateY(-1px); }
.hdd-tabs button small { margin-left: 5px; padding: 2px 6px; border-radius: 999px; color: #6c625d; background: #eee9e5; font-size: 10px; }
.hdd-tabs button.is-active small { color: #fff; background: rgba(255,255,255,.2); }

.hdd-tabs button.is-active { border-color: var(--hdd-red); color: var(--hdd-white); background: var(--hdd-red); }
.hdd-results { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 28px; padding: 7px 2px 0; color: var(--hdd-muted); font-size: 12px; }
.hdd-results strong { color: var(--hdd-ink); font-size: 13px; }
.hdd-results span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.hdd-sections { padding: 12px 14px 42px; }
.hdd-section { scroll-margin-top: 124px; padding-top: 26px; }

.hdd-section-heading { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.hdd-section-heading span { width: 7px; height: 31px; border-radius: 999px; background: var(--hdd-red); }
.hdd-section-heading h2 { margin: 0; color: var(--hdd-ink); font-size: clamp(22px, 4vw, 30px); font-weight: 900; letter-spacing: -.025em; }

.hdd-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }

.hdd-card {
  overflow: hidden;
  border: 1px solid var(--hdd-line);
  border-radius: 18px;
  background: var(--hdd-white);
  box-shadow: 0 10px 26px rgba(34, 25, 22, .055);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.hdd-card:hover { border-color: #d8cdc6; box-shadow: 0 14px 34px rgba(34,25,22,.09); transform: translateY(-2px); }

.hdd-card[hidden],
.hdd-section[hidden] { display: none !important; }
.hdd-card.is-sold-out { opacity: .68; }
.hdd-card-media { aspect-ratio: 16/9; overflow: hidden; background: #e9e2dc; }
.hdd-card-media img { width: 100%; height: 100%; object-fit: cover; }
.hdd-card-body { padding: 17px; }
.hdd-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.hdd-card h3 { margin: 0; color: var(--hdd-ink); font-size: 18px; font-weight: 900; line-height: 1.25; }
.hdd-sold-out { flex: 0 0 auto; padding: 4px 8px; border-radius: 999px; color: var(--hdd-white); background: #6e6865; font-size: 11px; font-weight: 900; text-transform: uppercase; }
.hdd-description { margin: 8px 0 0; color: var(--hdd-muted); font-size: 14px; }

.hdd-price-wrap { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: 16px; padding-top: 14px; border-top: 1px solid #eee8e4; }
.hdd-price-wrap span { color: var(--hdd-muted); font-size: 12px; font-weight: 700; }
.hdd-price-wrap strong { color: var(--hdd-red-dark); font-size: 22px; font-weight: 950; white-space: nowrap; }
.hdd-details { margin-top: 10px; }
.hdd-details summary { width: fit-content; color: var(--hdd-red-dark); font-size: 13px; font-weight: 850; cursor: pointer; }
.hdd-details summary::marker { color: var(--hdd-red); }
.hdd-variants { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 11px; }
.hdd-variants button { display: flex; min-width: 0; min-height: 54px; flex-direction: column; align-items: flex-start; justify-content: center; padding: 8px 10px; border: 1px solid #ddd4ce; border-radius: 11px; color: var(--hdd-ink); background: #fbf9f7; cursor: pointer; }
.hdd-variants button span { color: var(--hdd-muted); font-size: 12px; }
.hdd-variants button strong { font-size: 14px; }
.hdd-variants button.is-selected { border-color: var(--hdd-red); box-shadow: 0 0 0 1px var(--hdd-red); background: #fff6f7; }
.hdd-variants button:disabled { cursor: not-allowed; }
.hdd-empty { padding: 42px 12px; text-align: center; color: var(--hdd-muted); }

.hdd-footer { padding: 28px 18px 36px; text-align: center; color: #d9d1d1; background: var(--hdd-ink); }
.hdd-footer strong { color: var(--hdd-white); }
.hdd-footer p { margin: 6px 0 0; font-size: 13px; }
.hdd-to-top { position: fixed; z-index: 20; right: max(16px, calc((100vw - 1180px) / 2 + 18px)); bottom: 18px; width: 48px; height: 48px; border: 0; border-radius: 50%; color: #fff; background: var(--hdd-red); box-shadow: 0 10px 30px rgba(82,8,21,.3); font-size: 24px; font-weight: 900; cursor: pointer; opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .18s ease, transform .18s ease; }
.hdd-to-top.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }

@media (min-width: 700px) {
  .hdd-hero { padding: 40px 34px 36px; }
  .hdd-controls { padding: 16px 26px 12px; }
  .hdd-sections { padding: 14px 26px 58px; }
  .hdd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}

@media (max-width: 699px) {
  .hdd-hero { padding: 22px 16px 23px; }
  .hdd-logo { width: min(390px, 88vw); margin-bottom: 16px; }
  .hdd-slogan { margin-bottom: 16px; }
  .hdd-actions { gap: 7px; }
  .hdd-actions a { min-height: 42px; padding: 9px 13px; font-size: 13px; }
  .hdd-controls { padding-inline: 12px; }
  .admin-bar .hdd-controls { top: 46px; }
  .hdd-sections { padding-inline: 12px; }
  .hdd-section { padding-top: 22px; }
  .hdd-card-body { padding: 15px; }
  .hdd-to-top { right: 14px; bottom: 14px; }
}

@media (min-width: 1020px) {
  .hdd-menu { margin-block: 30px; overflow: hidden; border-radius: 24px; box-shadow: 0 28px 80px rgba(25, 16, 13, .16); }
  body.hdd-menu-page .hdd-menu { margin-block: 0; border-radius: 0; }
  .hdd-controls { top: 10px; margin: 0 24px; border: 1px solid var(--hdd-line); border-radius: 18px; }
  .hdd-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  .hdd-menu * { scroll-behavior: auto !important; transition: none !important; }
}

