:root {
  --bg: #ffffff;
  --bg-soft: rgba(255, 255, 255, 0.72);
  --ink: #141414;
  --muted: #5a5a5a;
  --line: rgba(0, 0, 0, 0.1);
  --line-strong: rgba(0, 0, 0, 0.2);
  --card: rgba(255, 255, 255, 0.9);
  --accent: #b18322;
  --accent-soft: rgba(177, 131, 34, 0.12);
  --accent-deep: #1a1a1a;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.1);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 16px;
  --font-display: "Cormorant Garamond", serif;
  --font-body: "Manrope", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(0, 0, 0, 0.025), transparent 26%),
    radial-gradient(circle at 85% 15%, rgba(0, 0, 0, 0.02), transparent 22%),
    radial-gradient(circle at bottom right, rgba(0, 0, 0, 0.03), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #f5f5f5 100%);
}

body.dialog-open {
  overflow: hidden;
}

body.filters-open {
  overflow: hidden;
}

button,
input,
select {
  font: inherit;
}

.top-bar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(251, 247, 241, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.top-bar-inner {
  width: min(1440px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
}

.burger-toggle {
  appearance: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.85);
  border-radius: 12px;
  width: 42px;
  height: 42px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  flex-shrink: 0;
}

.burger-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

.top-bar-brand {
  appearance: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0;
}

.brand-mark {
  display: block;
  width: auto;
  height: 30px;
  object-fit: contain;
}

.brand-copy {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
}

.brand-copy span {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.page-shell {
  width: min(1440px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 48px;
}

.hero {
  margin-bottom: 24px;
}

.hero-copy {
  position: relative;
  padding: 40px 36px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 247, 247, 0.9));
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  text-align: center;
}

.hero-brand-lockup {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}

.hero-brand-logo {
  display: block;
  width: min(320px, 68vw);
  max-width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 14px 24px rgba(45, 27, 18, 0.12));
}

.hero-segment-control {
  justify-content: center;
  margin-top: 22px;
}

.hero-segment-btn {
  min-width: 108px;
  padding-inline: 18px;
  font-size: 0.94rem;
  font-weight: 700;
}

.eyebrow,
.toolbar-label {
  margin: 0 0 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.74rem;
  color: var(--muted);
}

.hero h1,
.toolbar h2,
.dialog-body h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1;
}

.hero h1 {
  font-size: clamp(2.35rem, 4.8vw, 4.45rem);
  max-width: none;
}

.hero-text {
  max-width: 62ch;
  font-size: 1.04rem;
  line-height: 1.65;
  color: var(--muted);
  margin: 18px auto 0;
}

.hero-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: min(880px, 100%);
  margin: 24px auto 0;
}

.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid rgba(177, 131, 34, 0.24);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(250, 246, 237, 0.82));
  color: #2b2418;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.25;
  box-shadow: 0 12px 30px rgba(177, 131, 34, 0.08);
}

.trust-item i {
  color: var(--accent);
  font-size: 1rem;
  flex: 0 0 auto;
}

.chip,
.product-status,
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 9px 13px;
  font-size: 0.84rem;
}

.overview-panel {
  margin-bottom: 24px;
  padding: 24px 28px 28px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 247, 247, 0.82));
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.overview-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.overview-label {
  margin: 0 0 8px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.74rem;
  color: var(--muted);
}

.overview-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.1vw, 2.5rem);
  line-height: 1.02;
}

.overview-text {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.overview-back {
  appearance: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  cursor: pointer;
}

.overview-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.overview-item {
  appearance: none;
  width: 100%;
  display: grid;
  gap: 8px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  text-align: left;
  background: rgba(255, 255, 255, 0.76);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.overview-item:hover,
.overview-item:focus-visible,
.overview-back:hover,
.overview-back:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.08);
  border-color: var(--line-strong);
}

.overview-item-title {
  font-size: 1.05rem;
  font-weight: 700;
}

.overview-item-meta {
  color: var(--muted);
  font-size: 0.9rem;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 24px;
}

.filters-sticky {
  position: sticky;
  top: 18px;
  padding: 22px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(247, 247, 247, 0.82));
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  max-height: calc(100vh - 36px);
  overflow-y: auto;
}

.filters-mobile-head {
  display: none;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.filters-mobile-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.4rem;
}

.filters-close {
  appearance: none;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.85);
  color: var(--ink);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}

.search-box,
.sort-box {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.88rem;
}

.search-box input,
.sort-box select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--ink);
}

.list-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 16px;
  margin-bottom: 14px;
}

.search-box-inline {
  flex: 1 1 260px;
  min-width: 0;
  margin-bottom: 0;
}

.quick-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  font-size: 0.88rem;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}

.quick-toggle input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  cursor: pointer;
}

.family-toggle {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  color: var(--muted);
  border-radius: 999px;
  padding: 9px 15px;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 10px;
  transition: transform 160ms ease;
}

.shortcut-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.shortcut-actions .family-toggle {
  margin-bottom: 0;
  flex: 0 1 auto;
}

.family-toggle svg {
  transition: transform 200ms ease;
}

.family-toggle.is-open svg {
  transform: rotate(180deg);
}

.family-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.family-shortcuts.hidden {
  display: none;
}

.family-chip {
  appearance: none;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  color: var(--muted);
  border-radius: 999px;
  padding: 8px 15px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.family-chip:hover,
.family-chip:focus-visible {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.95);
}

.family-chip.is-active {
  background: linear-gradient(135deg, #1a1a1a, #b18322);
  color: #fff6ed;
  border-color: transparent;
}

.results-count-line {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.84rem;
}

.filters-mobile-extra {
  display: none;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.view-toggle {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  gap: 4px;
  background: rgba(255, 255, 255, 0.7);
}

.view-toggle-btn {
  appearance: none;
  border: 0;
  background: transparent;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
}

.view-toggle-btn.is-active {
  background: linear-gradient(135deg, #1a1a1a, #b18322);
  color: #fff6ed;
}

.catalog-list.is-text .product-visual,
.catalog-list.is-text .product-badges {
  display: none;
}

.catalog-list.is-text .product-row-button {
  grid-template-columns: minmax(0, 1fr);
  padding: 14px 18px 8px;
  gap: 10px;
}

.catalog-list.is-text .product-side {
  display: none;
}

.catalog-list.is-text .product-title {
  font-size: 1.3rem;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.catalog-list.is-text .product-brandline {
  margin-bottom: 2px;
}

.catalog-list.is-text .product-meta {
  margin-top: 4px;
}

.catalog-list.is-text .product-note-wrap {
  padding: 0 18px 14px;
}

.product-price-inline {
  display: none;
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent-deep);
}

.catalog-list.is-text .product-price-inline {
  display: block;
}

.filter-search {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 14px;
  margin-bottom: 12px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--ink);
  font-size: 0.86rem;
}

.filter-group-label {
  margin: 14px 0 8px;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  width: 100%;
}

.filter-group-label:first-child {
  margin-top: 0;
}

.filter-block + .filter-block {
  margin-top: 20px;
}

.filter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.filter-head h2 {
  font-size: 1.12rem;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
}

.filter-block-genre {
  padding-bottom: 18px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--line);
}

.filter-list-plain {
  gap: 20px;
}

.filter-list-plain .filter-choice span {
  border: 0;
  background: transparent;
  padding: 4px 2px;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  border-radius: 0;
}

.filter-list-plain .filter-choice input:checked + span {
  background: transparent;
  color: var(--ink);
  border-bottom-color: var(--accent);
}

.filter-count {
  margin-left: 4px;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.8em;
}

.filter-choice input:checked + span .filter-count {
  color: rgba(255, 246, 237, 0.75);
}

.filter-more-link {
  display: inline-flex;
  margin-top: 10px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
}

.filter-more-link:hover {
  text-decoration: underline;
}

.filter-clear {
  border: 0;
  background: transparent;
  color: var(--accent);
  cursor: pointer;
  padding: 0;
}

.filter-list,
.active-filters,
.dialog-tags,
.dialog-meta,
.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-list-grouped {
  gap: 8px 10px;
}

.catalog-panel {
  padding: 28px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 247, 247, 0.82));
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.toolbar h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.75rem);
}

.toolbar-note {
  margin: 10px 0 0;
  max-width: 48ch;
  color: var(--muted);
  line-height: 1.6;
}

.toolbar-right {
  min-width: 220px;
}

.active-filters {
  position: sticky;
  top: 8px;
  z-index: 20;
  min-height: 0;
  margin-bottom: 8px;
  transition: padding 160ms ease, margin 160ms ease;
}

.active-filters.has-filters {
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.07);
  margin-bottom: 22px;
}

.chip {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.88);
  color: var(--muted);
}

.chip button {
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  padding: 0;
  font-size: 1rem;
  line-height: 1;
}

.catalog-list {
  display: grid;
  gap: 16px;
}

.catalog-list.is-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.catalog-list.is-grid .product-row {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.catalog-list.is-grid .product-row-button {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: stretch;
  padding: 0;
  gap: 0;
}

.catalog-list.is-grid .product-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 20px 20px 0 0;
}

.catalog-list.is-grid .product-main {
  padding: 12px 14px 6px;
}

.catalog-list.is-grid .product-badges,
.catalog-list.is-grid .product-meta,
.catalog-list.is-grid .product-status {
  display: none;
}

.catalog-list.is-grid .product-brand {
  font-size: 0.78rem;
  margin-bottom: 2px;
}

.catalog-list.is-grid .product-title {
  font-size: 1rem;
  margin: 0 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.catalog-list.is-grid .product-price-inline {
  display: block;
  margin: 0 0 12px;
  font-size: 0.96rem;
}

.catalog-list.is-grid .product-note-wrap {
  display: block;
  padding: 0 14px 14px;
}

.catalog-list.is-grid .product-note-toggle {
  width: 100%;
  justify-content: center;
  padding: 9px 12px;
  font-size: 0.78rem;
}

.catalog-list.is-grid .product-note-detail {
  margin-top: 10px;
  padding: 12px 14px;
}

.catalog-list.is-grid .product-side {
  display: none;
}

.pagination-bar {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.pagination-bar.is-visible {
  display: flex;
}

.pagination-numbers {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}

.pagination-number {
  appearance: none;
  min-width: 38px;
  height: 38px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--ink);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.88rem;
}

.pagination-number:hover {
  border-color: var(--line-strong);
}

.pagination-number.is-active {
  background: linear-gradient(135deg, #1a1a1a, #b18322);
  color: #fff6ed;
  border-color: transparent;
}

.pagination-ellipsis {
  color: var(--muted);
  padding: 0 4px;
}

.pagination-arrow {
  appearance: none;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.8);
  color: var(--ink);
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  flex-shrink: 0;
}

.pagination-arrow:hover:not(:disabled) {
  border-color: var(--line-strong);
}

.pagination-arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

@media (max-width: 480px) {
  .catalog-list.is-grid {
    gap: 10px;
  }

  .catalog-list.is-grid .product-title {
    font-size: 0.92rem;
  }
}

.load-more-bar {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 20px;
  padding: 14px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, #1f1712, #6d4b2a);
  color: #fff6ed;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.load-more-bar.is-visible {
  display: flex;
}

.load-more-count {
  font-size: 0.86rem;
  opacity: 0.85;
}

.load-more-action {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.12);
  color: #fff6ed;
  border-radius: 999px;
  padding: 10px 20px;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  flex-shrink: 0;
}

.load-more-action:hover {
  background: rgba(255, 255, 255, 0.22);
}

.filter-more-btn {
  appearance: none;
  width: 100%;
  margin-top: 10px;
  border: 1px dashed var(--line-strong);
  background: transparent;
  color: var(--accent);
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}

.picker-dialog {
  width: min(560px, calc(100% - 24px));
  padding: 0;
  border: 0;
  border-radius: 26px;
  overflow: hidden;
  background: transparent;
}

.picker-dialog::backdrop {
  background: rgba(22, 14, 10, 0.6);
  backdrop-filter: blur(8px);
}

.picker-card {
  background: var(--bg);
  padding: 24px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
}

.picker-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.picker-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.22rem;
  line-height: 1.08;
}

.picker-list {
  overflow-y: auto;
  padding-right: 4px;
  align-content: start;
}

.skeleton-list {
  display: grid;
  gap: 16px;
  margin-bottom: 16px;
}

.skeleton-row {
  height: 120px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.5) 25%, rgba(255, 255, 255, 0.9) 37%, rgba(255, 255, 255, 0.5) 63%);
  background-size: 400% 100%;
  animation: skeleton-shimmer 1.4s ease infinite;
}

@keyframes skeleton-shimmer {
  0% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0 50%;
  }
}

.product-row {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(247, 247, 247, 0.88));
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.product-row:hover,
.product-row:focus-within {
  transform: translateY(-2px);
  box-shadow: 0 24px 36px rgba(0, 0, 0, 0.12);
  border-color: var(--line-strong);
}

.product-row-button {
  width: 100%;
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr) 160px;
  gap: 20px;
  align-items: start;
  padding: 20px 22px 10px;
  text-align: left;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
}

.product-row-button:hover,
.product-row-button:focus-visible {
  outline: none;
}

.product-badges {
  position: absolute;
  top: 8px;
  left: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
}

.product-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
  white-space: nowrap;
}

.product-badges:empty,
.dialog-badges:empty {
  display: none;
}

.badge-new {
  background: linear-gradient(135deg, #2f6f52, #4c9b74);
}

.badge-best {
  background: linear-gradient(135deg, #9b6031, #c98a4b);
}

.badge-discontinued {
  background: linear-gradient(135deg, #4a3b52, #6e5a78);
}

.product-visual {
  position: relative;
  width: 116px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(43, 28, 19, 0.96), rgba(124, 78, 42, 0.94));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.product-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  padding: 10px;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.92);
}

.product-logo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  padding: 16px;
  background: rgba(255, 255, 255, 0.92);
}

.product-monogram {
  width: 100%;
  height: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 22px;
  color: #fff4e8;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.product-brandline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 8px;
}

.product-brand,
.product-volume,
.product-price {
  margin: 0;
}

.product-brand,
.product-volume {
  color: var(--muted);
  font-size: 0.88rem;
}

.product-title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.56rem;
  line-height: 1.06;
  font-weight: 600;
}

.product-side {
  text-align: right;
  display: grid;
  gap: 12px;
  align-content: start;
  padding-top: 2px;
}

.product-price {
  font-size: 1.22rem;
  font-weight: 700;
}

.product-status {
  background: rgba(35, 24, 16, 0.72);
  color: #fff8ef;
}

.product-status[data-status="soon"] {
  background: rgba(163, 114, 47, 0.8);
}

.product-status[data-status="out"] {
  background: rgba(90, 71, 56, 0.84);
}

.badge {
  padding: 7px 10px;
  background: var(--accent-soft);
  color: #5c3f22;
}

.product-note-wrap {
  padding: 0 22px 18px calc(22px + 116px + 20px);
}

.product-note-toggle {
  appearance: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--accent-deep);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}

.product-note-detail {
  margin-top: 12px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 251, 246, 0.82);
  color: var(--muted);
  line-height: 1.6;
}

.product-note-detail h1,
.product-note-detail h2,
.product-note-detail h3,
.product-note-detail h4,
.dialog-note h1,
.dialog-note h2,
.dialog-note h3,
.dialog-note h4 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 1rem;
}

.product-note-detail p,
.dialog-note p {
  margin: 0 0 10px;
}

.product-note-detail ul,
.product-note-detail ol,
.dialog-note ul,
.dialog-note ol {
  margin: 0 0 12px 18px;
  padding: 0;
}

.product-note-detail li,
.dialog-note li {
  margin-bottom: 6px;
}

.product-meta {
  margin-top: 6px;
}

.empty-state {
  padding: 44px 18px 24px;
  text-align: center;
  color: var(--muted);
}

.empty-state button,
.primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 18px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, opacity 180ms ease;
}

.empty-state button,
.primary-link {
  background: linear-gradient(135deg, #1f1712, #6d4b2a);
  color: #fff6ed;
}

.empty-state button:hover,
.primary-link:hover {
  transform: translateY(-1px);
}

.product-dialog {
  width: min(760px, calc(100% - 24px));
  max-height: calc(100vh - 36px);
  max-height: calc(100dvh - 36px);
  padding: 0;
  border: 0;
  border-radius: 30px;
  overflow: hidden;
  background: transparent;
}

.product-dialog::backdrop {
  background: rgba(22, 14, 10, 0.64);
  backdrop-filter: blur(10px);
}

.dialog-card {
  position: relative;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(247, 247, 247, 0.96));
  backdrop-filter: blur(16px);
  max-height: calc(100vh - 36px);
  max-height: calc(100dvh - 36px);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.dialog-visual {
  position: relative;
  width: 100%;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  padding: 52px 20px 16px;
  background: transparent;
}

.dialog-image {
  width: auto;
  height: auto;
  max-width: min(100%, 300px);
  max-height: 280px;
  object-fit: contain;
  padding: 12px;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.92);
  display: block;
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(41, 27, 18, 0.12);
}

.dialog-logo {
  width: auto;
  height: auto;
  max-width: min(100%, 300px);
  max-height: 280px;
  object-fit: contain;
  padding: 18px;
  background: rgba(255, 255, 255, 0.92);
  display: block;
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(41, 27, 18, 0.12);
}

.dialog-monogram {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff4e8;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.dialog-badges {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  gap: 6px;
  z-index: 2;
}

.dialog-quick-actions {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-right: 42px;
}

.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 18px;
  border: 1px solid var(--line-strong);
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, opacity 180ms ease, border-color 180ms ease;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
}

.secondary-link:hover {
  transform: translateY(-1px);
  border-color: var(--accent);
}

.dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 0;
  background: rgba(20, 20, 20, 0.72);
  color: #fff;
  cursor: pointer;
  font-size: 1.4rem;
}

.dialog-body {
  padding: 22px 28px 24px;
}

.dialog-brand,
.dialog-note {
  color: var(--muted);
}

.dialog-brand {
  margin: 0 0 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.76rem;
}

.dialog-body h3 {
  font-size: clamp(2rem, 3.7vw, 2.75rem);
  margin-bottom: 16px;
}

.dialog-note {
  margin: 18px 0;
  line-height: 1.65;
}

.dialog-actions {
  margin-top: 24px;
}

.hidden {
  display: none !important;
}

.filter-choice {
  display: inline-flex;
  align-items: center;
}

.filter-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.filter-choice span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.76);
  color: var(--muted);
  border-radius: 999px;
  padding: 10px 13px;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.filter-choice input:checked + span {
  background: linear-gradient(135deg, #1a1a1a, #b18322);
  color: #fff6ed;
  border-color: transparent;
}

.filters-fab {
  display: none;
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translate(-50%, 0);
  z-index: 70;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #1f1712, #6d4b2a);
  color: #fff6ed;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
  cursor: pointer;
  transition: transform 220ms ease, opacity 220ms ease;
}

.filters-fab.is-hidden {
  transform: translate(-50%, 140%);
  opacity: 0;
  pointer-events: none;
}

.filters-fab-count {
  position: absolute;
  top: -4px;
  right: -4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: #fff6ed;
  color: #2c1f15;
  font-size: 0.7rem;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.filters-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(22, 14, 10, 0.5);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.filters-backdrop.is-visible {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

.nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: min(340px, 86vw);
  z-index: 90;
  background: var(--bg);
  box-shadow: 24px 0 60px rgba(0, 0, 0, 0.18);
  transform: translateX(-100%);
  transition: transform 260ms ease;
  overflow-y: auto;
  padding: 22px 20px calc(28px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
}

.nav-drawer.is-open {
  transform: translateX(0);
}

.nav-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.nav-drawer-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.22rem;
  line-height: 1.08;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.nav-link {
  appearance: none;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 13px 12px;
  border-radius: 14px;
  font-size: 1.02rem;
  color: var(--ink);
  cursor: pointer;
  transition: background 160ms ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  background: rgba(155, 96, 49, 0.1);
}

.nav-drawer-foot {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.nav-external {
  display: inline-flex;
  color: var(--accent);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
}

.site-footer {
  margin-top: 40px;
  padding: 40px 0 28px;
  border-top: 1px solid var(--line);
}

.footer-inner {
  width: min(1440px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.footer-col {
  text-align: center;
}

.footer-col h3 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.12;
}

.footer-col p,
.footer-col li {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  justify-items: center;
  gap: 8px;
}

.footer-col a {
  color: var(--muted);
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-link {
  display: inline-flex;
  margin-top: 8px;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.footer-social {
  width: min(1440px, calc(100% - 32px));
  margin: 28px auto 0;
}

.social-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.social-list a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 600;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.social-list a:hover,
.social-list a:focus-visible {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.95);
}

.social-list i {
  font-size: 1.05rem;
  color: var(--accent);
}

.footer-bottom {
  width: min(1440px, calc(100% - 32px));
  margin: 28px auto 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
  text-align: center;
}

.footer-bottom a {
  color: var(--muted);
}

@media (max-width: 1080px) {
  .catalog-layout {
    grid-template-columns: 1fr;
  }

  .overview-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filters-mobile-head {
    display: flex;
  }

  .filters-panel {
    position: fixed;
    inset: 0;
    z-index: 85;
    transform: translateY(100%);
    transition: transform 260ms ease;
    overflow-y: auto;
    background: var(--bg);
    padding: 20px 16px calc(100px + env(safe-area-inset-bottom));
  }

  .filters-panel.is-open {
    transform: translateY(0);
  }

  .filters-sticky {
    position: static;
    box-shadow: none;
    background: transparent;
    padding: 0;
    max-height: none;
    overflow-y: visible;
  }

  .filters-fab {
    display: inline-flex;
  }

  .filters-mobile-extra {
    display: grid;
  }
}

@media (max-width: 820px) {
  .product-row-button {
    grid-template-columns: 92px 1fr;
  }

  .product-side {
    grid-column: 2;
    text-align: left;
    grid-auto-flow: column;
    justify-content: start;
  }

  .product-visual {
    width: 92px;
  }

  .product-note-wrap {
    padding: 0 22px 18px calc(22px + 92px + 20px);
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .overview-head {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-segment-control {
    width: 100%;
  }

  .hero-segment-btn {
    flex: 1;
    min-width: 0;
    padding-inline: 10px;
    font-size: 0.82rem;
  }

  .hero-trust {
    grid-template-columns: 1fr;
  }

  .trust-item {
    justify-content: flex-start;
    min-height: 48px;
  }

  .overview-list {
    grid-template-columns: 1fr;
  }

  .toolbar {
    display: none;
  }

  .list-controls {
    align-items: center;
  }

  .search-box-inline {
    flex: 1 1 140px;
  }

  .view-toggle {
    flex: 0 0 auto;
    height: 44px;
    align-items: center;
  }

  .view-toggle-btn {
    width: 36px;
    height: 36px;
  }

  .quick-toggle {
    display: none;
  }

  .product-row-button {
    grid-template-columns: 1fr;
  }

  .product-visual,
  .product-side {
    grid-column: auto;
  }

  .product-visual {
    width: 100%;
    max-width: 148px;
  }

  .product-side {
    gap: 8px;
  }

  .product-note-wrap {
    padding: 0 18px 14px;
  }

  .shortcut-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, max-content));
    gap: 10px;
    align-items: start;
  }
}

@media (max-width: 520px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 20px, 1440px);
    padding-top: 18px;
  }

  .hero-copy,
  .overview-panel,
  .filters-sticky,
  .catalog-panel {
    padding: 20px;
    border-radius: 22px;
  }

  .hero h1 {
    font-size: clamp(1.82rem, 7vw, 2.45rem);
  }

  .brand-mark {
    height: 24px;
  }

  .brand-copy {
    gap: 6px;
    font-size: 1rem;
  }

  .brand-copy span {
    font-size: 0.62rem;
    letter-spacing: 0.12em;
  }

  .hero-brand-logo {
    width: min(250px, 78vw);
  }

  .toolbar {
    display: none;
  }

  .dialog-body {
    padding: 22px 18px 20px;
  }

  .product-dialog {
    width: min(100%, calc(100% - 16px));
    max-height: calc(100vh - 28px);
    max-height: calc(100dvh - 28px);
  }

  .dialog-card {
    max-height: calc(100vh - 28px);
    max-height: calc(100dvh - 28px);
  }

  .dialog-visual {
    min-height: 168px;
    padding: 44px 14px 0;
  }

  .dialog-image,
  .dialog-logo {
    max-width: min(100%, 190px);
    max-height: 190px;
  }
}
