:root {
      --paper: #fbf7ef;
      --cream: #f0e6d7;
      --ink: #201713;
      --muted: #70645c;
      --line: rgba(32, 23, 19, 0.14);
      --wine: #651319;
      --gold: #b08a4c;
      --cellar: #2a1715;
      --night: #17110f;
      --white: #fffaf2;
    }

    * { box-sizing: border-box; }
    [hidden] { display: none !important; }
    body {
      margin: 0;
      color: var(--ink);
      background: var(--paper);
      font-family: "Tenor Sans", "Helvetica Neue", Arial, sans-serif;
      letter-spacing: 0;
    }
    img { display: block; width: 100%; height: auto; }
    a { color: inherit; text-decoration: none; }
    .wrap { width: min(calc(100% - 64px), 1200px); margin-inline: auto; }

    .topbar {
      position: absolute;
      inset: 0 0 auto;
      z-index: 10;
      padding: 28px 0;
      color: var(--white);
    }
    .topbar-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 32px;
      width: min(calc(100% - 64px), 1200px);
      margin-inline: auto;
    }
    .brand { display: grid; gap: 4px; min-width: max-content; }
    .brand strong { font-family: "Tenor Sans", "Helvetica Neue", Arial, sans-serif; font-size: 26px; font-weight: 500; line-height: 1; }
    .brand span { color: rgba(255, 250, 242, 0.72); font-size: 13px; }
    .menu { display: flex; align-items: center; gap: 24px; color: rgba(255, 250, 242, 0.84); font-size: 14px; font-weight: 650; }
    .menu a { padding: 8px 0; border-bottom: 1px solid transparent; }
    .menu a:hover, .menu a.active { color: var(--white); border-color: var(--gold); }

    .mobile-menu { display: none; position: relative; }
    .mobile-menu input { position: absolute; opacity: 0; pointer-events: none; }
    .menu-toggle {
      display: inline-grid;
      place-items: center;
      width: 46px;
      height: 46px;
      border: 1px solid rgba(255, 250, 242, 0.36);
      border-radius: 4px;
      background: rgba(255, 250, 242, 0.06);
      cursor: pointer;
    }
    .menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
      display: block;
      width: 20px;
      height: 2px;
      background: var(--white);
      content: "";
    }
    .menu-toggle span { position: relative; }
    .menu-toggle span::before { position: absolute; top: -7px; }
    .menu-toggle span::after { position: absolute; top: 7px; }
    .mobile-panel {
      position: absolute;
      top: 58px;
      right: 0;
      width: min(320px, calc(100vw - 32px));
      display: grid;
      gap: 2px;
      padding: 12px;
      border: 1px solid rgba(255, 250, 242, 0.16);
      border-radius: 8px;
      background: rgba(23, 17, 15, 0.96);
      box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
      opacity: 0;
      transform: translateY(-8px);
      pointer-events: none;
      transition: opacity 180ms ease, transform 180ms ease;
    }
    .mobile-panel a { padding: 13px 12px; border-radius: 4px; color: rgba(255, 250, 242, 0.84); font-weight: 700; }
    .mobile-panel a:hover { color: var(--white); background: rgba(255, 250, 242, 0.08); }
    .mobile-menu input:checked ~ .mobile-panel { opacity: 1; transform: translateY(0); pointer-events: auto; }

    .hero {
      position: relative;
      min-height: 28svh;
      display: grid;
      align-items: end;
      padding: 104px 0 28px;
      color: var(--white);
      isolation: isolate;
    }
    .hero::before {
      content: "";
      position: absolute;
      inset: 0;
      z-index: -2;
      background:
        linear-gradient(90deg, rgba(17, 11, 9, 0.88), rgba(17, 11, 9, 0.48), rgba(17, 11, 9, 0.2)),
        url("../images/archeus-club-vinoteka.webp") center / cover;
    }
    .hero-copy { max-width: 720px; }
    .eyebrow {
      margin: 0 0 16px;
      color: var(--gold);
      font-size: 12px;
      font-weight: 800;
      text-transform: uppercase;
    }
    h1, h2, h3 { margin: 0; font-family: "Tenor Sans", "Helvetica Neue", Arial, sans-serif; font-weight: 500; line-height: 1.06; letter-spacing: 0; }
    h1 { font-size: clamp(40px, 5vw, 64px); }
    h2 { color: var(--wine); font-size: clamp(30px, 4vw, 48px); }
    h3 { font-size: 28px; }
    .lead { margin: 22px 0 0; max-width: 620px; color: rgba(255, 250, 242, 0.82); font-size: 20px; line-height: 1.55; }
    .section { padding: clamp(70px, 8vw, 110px) 0; }
    .hero + .section { padding-top: clamp(26px, 3vw, 38px); }
    .cream { background: var(--cream); }

    .catalog-layout {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 320px;
      gap: 34px;
      align-items: start;
    }
    .screen-reader-text {
      position: absolute;
      width: 1px;
      height: 1px;
      overflow: hidden;
      clip: rect(1px, 1px, 1px, 1px);
      white-space: nowrap;
    }
    .filter-disclosure {
      margin: -12px 0 26px;
      border-bottom: 1px solid var(--line);
    }
    .filter-disclosure summary {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      min-height: 40px;
      margin-bottom: 8px;
      color: var(--gold);
      font-size: 12px;
      font-weight: 800;
      text-transform: uppercase;
      list-style: none;
      cursor: pointer;
    }
    .filter-disclosure summary::-webkit-details-marker {
      display: none;
    }
    .filter-disclosure summary i {
      font-size: 10px;
      transition: transform 160ms ease;
    }
    .filter-disclosure[open] summary i {
      transform: rotate(180deg);
    }
    .wine-filters {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      align-items: center;
      margin: 0 0 18px;
      padding: 12px;
      border: 1px solid var(--line);
      border-radius: 8px;
      background: rgba(255, 250, 242, 0.48);
    }
    .filter-field {
      position: relative;
      display: block;
      min-width: 118px;
    }
    .filter-field input,
    .filter-field select {
      width: 100%;
      min-height: 36px;
      padding: 8px 11px;
      border: 1px solid var(--line);
      border-radius: 4px;
      color: var(--ink);
      background: var(--paper);
      font: inherit;
      font-size: 13px;
      font-weight: 700;
    }
    .filter-field select {
      cursor: pointer;
    }
    .filter-field input:focus,
    .filter-field select:focus {
      outline: 2px solid rgba(176, 138, 76, 0.28);
      border-color: rgba(176, 138, 76, 0.62);
    }
    .filter-actions {
      display: flex;
      align-items: center;
    }
    .filter-reset {
      min-height: 36px;
      padding: 8px 4px;
      border: 0;
      border-bottom: 1px solid transparent;
      border-radius: 0;
      color: var(--muted);
      background: transparent;
      font: inherit;
      font-size: 12px;
      font-weight: 800;
      cursor: pointer;
    }
    .filter-reset:hover {
      color: var(--wine);
      border-color: rgba(101, 19, 25, 0.32);
    }
    .filter-empty {
      margin: 28px 0 0;
      padding: 20px;
      border: 1px solid var(--line);
      border-radius: 8px;
      color: var(--muted);
      background: rgba(255, 250, 242, 0.5);
      font-weight: 700;
    }

    .winery-browser {
      margin: 18px 0 30px;
    }
    .country-group {
      padding: 8px 0 4px;
    }
    .country-group + .country-group {
      margin-top: 44px;
    }
    .country-heading {
      display: flex;
      align-items: end;
      justify-content: flex-start;
      gap: 20px;
      padding-bottom: 16px;
      border-bottom: 1px solid var(--line);
    }
    .country-heading h2 {
      font-size: clamp(26px, 3.1vw, 40px);
      text-align: left;
    }
    .winery-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 12px;
      margin-top: 16px;
    }
    .winery-choice {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      width: 100%;
      min-height: 52px;
      padding: 12px 15px;
      border: 1px solid var(--line);
      border-radius: 8px;
      color: var(--ink);
      background: rgba(255, 250, 242, 0.56);
      font: inherit;
      text-align: left;
      cursor: pointer;
      transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
    }
    .winery-choice span {
      color: var(--wine);
      font-family: "Tenor Sans", "Helvetica Neue", Arial, sans-serif;
      font-size: clamp(19px, 2vw, 25px);
      line-height: 1.1;
    }
    .winery-choice strong {
      flex: 0 0 auto;
      color: var(--gold);
      font-size: 12px;
      font-weight: 800;
      text-transform: uppercase;
    }
    .winery-choice:hover,
    .winery-choice.is-active {
      border-color: rgba(176, 138, 76, 0.48);
      background: var(--white);
      transform: translateY(-1px);
    }
    .wine-selection {
      margin: 16px 0 20px;
      padding-bottom: 18px;
      border-bottom: 1px solid var(--line);
    }
    .wine-selection-head {
      display: flex;
      align-items: end;
      justify-content: space-between;
      gap: 18px;
    }
    .wine-selection-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      justify-content: flex-end;
    }
    .wine-selection .eyebrow {
      margin-bottom: 8px;
    }
    .wine-selection h2 {
      font-size: clamp(28px, 3.4vw, 42px);
    }
    .wine-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 20px;
      margin-top: 20px;
    }
    .wine-card {
      overflow: hidden;
      border: 1px solid var(--line);
      border-radius: 8px;
      background: var(--paper);
    }
    .wine-card > img {
      height: 320px;
      padding: 18px;
      object-fit: contain;
      object-position: center;
      background: var(--white);
    }
    .wine-card .body { padding: 24px; }
    .meta { display: inline-flex; color: var(--gold); font-size: 12px; font-weight: 800; text-transform: uppercase; }
    .meta:hover { color: var(--wine); }
    .wine-card h3 { margin-top: 10px; color: var(--ink); }
    .wine-card p { margin: 12px 0 22px; color: var(--muted); line-height: 1.56; }
    .actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
    .button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 42px;
      padding: 11px 15px;
      border: 1px solid transparent;
      border-radius: 4px;
      font-size: 14px;
      font-weight: 700;
    }
    .button.primary { color: var(--white); background: var(--wine); }
    .button.light { color: var(--wine); border-color: var(--line); background: transparent; }
    .share { display: inline-flex; gap: 8px; margin-left: auto; }
    .share a {
      display: inline-grid;
      place-items: center;
      width: 34px;
      height: 34px;
      border: 1px solid var(--line);
      border-radius: 4px;
      color: var(--muted);
      font-size: 12px;
      font-weight: 800;
      transition: border-color 160ms ease, color 160ms ease, background 160ms ease, transform 160ms ease;
    }
    .share a:hover { border-color: var(--gold); color: var(--wine); background: rgba(255, 250, 242, 0.72); transform: translateY(-1px); }
    .share i { font-size: 14px; }

    .stock-wine-list {
      margin-top: 28px;
      padding-top: 24px;
      border-top: 1px solid var(--line);
    }
    .stock-wine-list h3 {
      margin-bottom: 14px;
      color: var(--wine);
      font-size: clamp(24px, 2.6vw, 32px);
    }
    .stock-wine-rows {
      display: grid;
      gap: 10px;
    }
    .stock-wine-row {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 18px;
      align-items: center;
      padding: 15px 0;
      border-bottom: 1px solid var(--line);
    }
    .stock-wine-row strong {
      display: block;
      color: var(--ink);
      font-size: 17px;
      line-height: 1.35;
    }
    .stock-wine-row span {
      display: block;
      margin-top: 5px;
      color: var(--muted);
      font-size: 13px;
      font-weight: 700;
    }
    .stock-wine-row .button {
      min-width: 160px;
      white-space: nowrap;
    }
    .stock-wine-row .button:hover {
      border-color: rgba(101, 19, 25, 0.28);
      background: rgba(255, 250, 242, 0.7);
    }

    .order-box {
      position: sticky;
      top: 24px;
      scroll-margin-top: 24px;
      padding: 24px;
      border: 1px solid var(--line);
      border-radius: 8px;
      background: var(--cellar);
      color: var(--white);
    }
    .order-box h2 { color: var(--white); font-size: 30px; }
    .order-box p { color: rgba(255, 250, 242, 0.72); line-height: 1.55; }
    .order-return-link {
      display: inline-flex;
      align-items: center;
      width: fit-content;
      max-width: 100%;
      margin: 12px 0 18px;
      padding: 10px 12px;
      border: 1px solid rgba(255, 250, 242, 0.24);
      border-radius: 4px;
      color: rgba(255, 250, 242, 0.9);
      font-size: 14px;
      font-weight: 800;
      line-height: 1.25;
      overflow-wrap: anywhere;
      transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
    }
    .order-return-link:visited { color: rgba(255, 250, 242, 0.9); }
    .order-return-link:hover,
    .order-return-link:focus-visible {
      background: rgba(255, 250, 242, 0.08);
      border-color: rgba(176, 138, 76, 0.5);
      color: var(--white);
    }
    .order-form { display: grid; gap: 10px; margin-top: 16px; }
    .order-lines {
      display: grid;
      gap: 10px;
      margin: 8px 0 6px;
      padding: 14px 0;
      border-top: 1px solid rgba(255, 250, 242, 0.14);
      border-bottom: 1px solid rgba(255, 250, 242, 0.14);
    }
    .order-box .order-empty {
      margin: 0;
      color: rgba(255, 250, 242, 0.55);
      font-size: 14px;
    }
    .order-box .order-warning {
      margin: 0;
      padding: 10px 12px;
      border: 1px solid rgba(176, 138, 76, 0.42);
      border-radius: 4px;
      color: var(--white);
      background: rgba(176, 138, 76, 0.12);
      font-size: 13px;
      font-weight: 700;
    }
    .order-box .order-status {
      margin: 0;
      padding: 10px 12px;
      border-radius: 4px;
      font-size: 13px;
      font-weight: 700;
      line-height: 1.45;
    }
    .order-box .order-status.is-success {
      border: 1px solid rgba(176, 138, 76, 0.42);
      color: var(--white);
      background: rgba(176, 138, 76, 0.16);
    }
    .order-box .order-status.is-error {
      border: 1px solid rgba(255, 250, 242, 0.2);
      color: #fff1f1;
      background: rgba(124, 17, 28, 0.34);
    }
    .order-box button[disabled] {
      cursor: progress;
      opacity: 0.72;
    }
    .order-line {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      gap: 8px;
      padding: 12px 0;
      color: rgba(255, 250, 242, 0.82);
    }
    .order-line + .order-line { border-top: 1px solid rgba(255, 250, 242, 0.1); }
    .order-line__name {
      display: block;
      min-width: 0;
      max-width: 100%;
      color: rgba(255, 250, 242, 0.9);
      font-size: 14px;
      font-weight: 700;
      line-height: 1.25;
      hyphens: auto;
      overflow-wrap: anywhere;
      word-break: normal;
    }
    .order-line__controls {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 8px;
      min-width: 0;
    }
    .order-line__qty {
      display: grid;
      grid-template-columns: auto auto;
      gap: 6px;
      align-items: center;
      color: rgba(255, 250, 242, 0.62);
      font-size: 13px;
      font-weight: 700;
    }
    .order-box .order-line__qty input {
      width: 58px;
      min-height: 38px;
      margin: 0;
      padding: 8px;
      text-align: center;
    }
    .order-line button {
      display: grid;
      width: 34px;
      height: 34px;
      place-items: center;
      padding: 0;
      border: 1px solid rgba(255, 250, 242, 0.2);
      border-radius: 4px;
      color: rgba(255, 250, 242, 0.72);
      background: rgba(255, 250, 242, 0.06);
      cursor: pointer;
      flex: 0 0 34px;
    }
    .order-line button:hover {
      color: var(--white);
      border-color: var(--gold);
    }
    .order-stock-picker {
      display: grid;
      gap: 9px;
      margin: 18px 0 16px;
      padding: 12px 0 14px;
      border-top: 1px solid rgba(255, 250, 242, 0.1);
      border-bottom: 1px solid rgba(255, 250, 242, 0.1);
    }
    .order-stock-picker label {
      color: var(--gold);
      font-size: 12px;
      font-weight: 800;
      text-transform: uppercase;
    }
    .order-stock-picker__row {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 8px;
      align-items: stretch;
    }
    .order-box input, .order-box textarea {
      width: 100%;
      margin-top: 10px;
      padding: 12px;
      border: 1px solid rgba(255, 250, 242, 0.2);
      border-radius: 4px;
      color: var(--white);
      background: rgba(255, 250, 242, 0.06);
      font: inherit;
    }
    .order-box .order-stock-picker input {
      min-height: 44px;
      margin-top: 0;
      font-size: 14px;
    }
    .order-box .order-stock-picker .button {
      width: auto;
      min-height: 44px;
      margin-top: 0;
      padding: 0 14px;
      color: rgba(255, 250, 242, 0.88);
      border-color: rgba(255, 250, 242, 0.2);
      background: rgba(255, 250, 242, 0.06);
      white-space: nowrap;
    }
    .order-box .order-stock-picker .button:hover {
      color: var(--white);
      border-color: var(--gold);
      background: rgba(176, 138, 76, 0.12);
    }
    .order-box textarea { min-height: 86px; resize: vertical; }
    .order-box .honeypot {
      position: absolute;
      left: -9999px;
      width: 1px;
      height: 1px;
      margin: 0;
      padding: 0;
      border: 0;
      opacity: 0;
      pointer-events: none;
    }
    .captcha-box {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      margin-top: 2px;
      padding: 12px;
      border: 1px solid rgba(255, 250, 242, 0.18);
      border-radius: 4px;
      color: rgba(255, 250, 242, 0.82);
      background: rgba(255, 250, 242, 0.05);
    }
    .captcha-box label {
      display: inline-flex;
      align-items: center;
      gap: 9px;
      font-weight: 700;
    }
    .captcha-box input {
      width: auto;
      margin: 0;
      accent-color: var(--wine);
    }
    .captcha-box span {
      color: rgba(255, 250, 242, 0.56);
      font-size: 12px;
      font-weight: 700;
    }
    .order-box .button { width: 100%; margin-top: 2px; cursor: pointer; }
    .order-box .order-stock-picker .button { width: auto; margin-top: 0; }

    .archive-band {
      display: grid;
      grid-template-columns: minmax(0, 0.55fr) minmax(300px, 0.45fr);
      gap: clamp(32px, 6vw, 80px);
      align-items: center;
    }
    .archive-band img { min-height: 440px; object-fit: cover; border-radius: 8px; }
    .archive-band p { color: var(--muted); font-size: 17px; line-height: 1.65; }

    .footer { padding: 0; color: rgba(255, 250, 242, 0.68); background: var(--night); font-size: 14px; }
    .footer-main { display: grid; grid-template-columns: minmax(220px, 1.1fr) minmax(230px, 1fr) minmax(260px, 1fr); gap: clamp(30px, 5vw, 70px); padding: 44px 0 30px; }
    .footer-brand { display: grid; align-content: start; gap: 10px; }
    .footer-brand strong { color: var(--white); font-family: "Tenor Sans", "Helvetica Neue", Arial, sans-serif; font-size: 23px; font-weight: 500; }
    .footer-brand span, .footer-bottom { color: rgba(255, 250, 242, 0.56); }
    .footer-title { display: block; margin-bottom: 14px; color: var(--gold); font-size: 12px; font-weight: 800; text-transform: uppercase; }
    .footer-contact, .footer-links, .footer-nav { display: grid; align-content: start; }
    .footer-contact { gap: 10px; }
    .footer-contact a { display: inline-flex; align-items: center; gap: 10px; }
    .footer-contact i { width: 16px; color: var(--gold); font-size: 13px; text-align: center; }
    .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 22px; }
    .footer a:hover { color: var(--white); }
    .footer-social { display: flex; gap: 8px; margin-top: 18px; }
    .footer-social a { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid rgba(255, 250, 242, 0.16); border-radius: 4px; color: rgba(255, 250, 242, 0.72); transition: border-color 160ms ease, color 160ms ease, background 160ms ease, transform 160ms ease; }
    .footer-social a:hover { color: var(--white); border-color: rgba(176, 138, 76, 0.48); background: rgba(255, 250, 242, 0.06); transform: translateY(-1px); }
    .footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding: 17px 0 20px; border-top: 1px solid rgba(255, 250, 242, 0.1); font-size: 13px; }
    .footer-credit a { color: rgba(255, 250, 242, 0.78); font-weight: 750; }

    @media (max-width: 980px) {
      .menu { display: none; }
      .mobile-menu { display: block; }
      .catalog-layout, .archive-band { grid-template-columns: 1fr; }
      .footer-main { grid-template-columns: 1fr; }
      .filter-disclosure { margin-top: 0; }
      .order-box { position: static; }
    }
    @media (max-width: 680px) {
      .wrap, .topbar-inner { width: min(calc(100% - 32px), 1200px); }
      .hero {
        min-height: 32svh;
        padding: 104px 0 28px;
      }
      .hero + .section {
        padding-top: 28px;
      }
      .country-heading,
      .wine-selection-head {
        display: grid;
        align-items: start;
      }
      .winery-grid { grid-template-columns: 1fr; }
      .wine-selection-actions,
      .wine-selection-head .button { width: 100%; }
      .wine-selection-actions { justify-content: stretch; }
      .wine-grid { grid-template-columns: 1fr; }
      .wine-card > img { height: 300px; }
      .wine-filters { align-items: stretch; }
      .filter-field { width: 100%; }
      .filter-reset { width: auto; }
      .actions .button { width: 100%; }
      .share { margin-left: 0; }
      .stock-wine-row {
        grid-template-columns: 1fr;
        gap: 10px;
      }
      .stock-wine-row .button {
        width: 100%;
      }
      .order-line__controls { justify-content: flex-start; }
      .order-line__name { font-size: 13px; }
    }

body.admin-bar .topbar { top: 32px; }
@media (max-width: 782px) { body.admin-bar .topbar { top: 46px; } }
