/* QIZI Design System — premium Georgian wine-house + harvest */
:root {
  --wine:        #4F1520;
  --wine-soft:   #6B2430;
  --olive:       #3A4A35;
  --olive-soft:  #4F5F48;
  --ink:         #15120F;
  --ink-2:       #241F1A;
  --ink-soft:    #5A554E;
  --ink-mute:    #8A847A;
  --paper:       #E4E0D6;
  --surface:     #F0ECE4;
  --bg:          #EDE9E1;
  --bg-2:        #E4E0D6;
  --bg-3:        #D8D3C8;
  --bg-warm:     #E4E0D6;
  --text:        #15120F;
  --text-dim:    #5A554E;
  --accent:      #4F1520;
  --accent-2:    #3A1018;
  --accent-soft: rgba(79, 21, 32, 0.08);
  --gold:        #8A7348;
  --gold-dim:    rgba(138, 115, 72, 0.14);
  --line:        #C9C5BB;
  --line-soft:   #D8D4CB;
  --muted:       #6E6860;
  --success:     #3A4A35;
  --radius:      6px;
  --radius-sm:   4px;
  --radius-md:   8px;
  --font:        'Noto Sans Georgian', system-ui, sans-serif;
  --font-display:'Noto Serif Georgian', 'Noto Sans Georgian', Georgia, serif;
  --mono:        'JetBrains Mono', ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background:
    linear-gradient(180deg, rgba(79, 21, 32, 0.04) 0%, transparent 260px),
    linear-gradient(135deg, rgba(58, 74, 53, 0.05) 0%, transparent 40%),
    var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3, .qz-display {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

/* LANG SWITCHER */
.lang-switch { display: flex; gap: 4px; }
.lang-switch button,
.topstrip-right a,
.drawer-lang button {
  padding: 4px 10px;
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  border: 1px solid transparent;
  background: transparent;
  color: inherit;
  cursor: pointer;
  opacity: .55;
  transition: opacity .25s ease, border-color .25s ease;
}
.lang-switch button.active,
.topstrip-right a.active,
.drawer-lang button.active {
  opacity: 1;
  border-color: rgba(255, 255, 255, .25);
}
.lang-switch button:hover,
.topstrip-right a:hover { opacity: 1; }

/* SHARED NAV */
.qz-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(240, 236, 228, .92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
  padding: 0 24px;
  display: flex;
  align-items: center;
  height: 64px;
  gap: 24px;
  transition: background .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.qz-nav.is-scrolled {
  background: rgba(240, 236, 228, .98);
  box-shadow: 0 8px 28px rgba(21, 18, 15, .06);
}
.qz-nav__logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
}
.qz-nav__logo span { color: var(--wine); letter-spacing: 0; }
.qz-nav__links {
  display: flex;
  gap: 4px;
  flex: 1;
  list-style: none;
  align-items: center;
}
.qz-nav__links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: color .2s ease, background .2s ease;
}
.qz-nav__links a:hover {
  color: var(--ink);
  background: rgba(58, 74, 53, .06);
}
.qz-nav__links a.active {
  color: var(--wine);
  background: var(--accent-soft);
  font-weight: 600;
}
.qz-nav__mobile-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.qz-nav__mobile-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink-soft);
  border-radius: 2px;
}
.qz-nav__search-slot {
  flex: 1;
  max-width: 420px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .qz-nav { padding: 0 16px; gap: 12px; }
  .qz-nav__search-slot { display: none; }
  .qz-nav__links { display: none; }
  .qz-nav__links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    padding: 16px;
    gap: 4px;
    z-index: 99;
  }
  .qz-nav__mobile-btn { display: flex; }
}

/* COMMERCE HEADER (catalog + PDP) */
.qz-commerce-top {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 11px;
  padding: 9px 0;
}
.qz-commerce-top__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.qz-commerce-top__left {
  display: flex;
  gap: 24px;
  opacity: .78;
  flex-wrap: wrap;
}
.qz-commerce-top__left a {
  color: inherit;
  transition: opacity .2s;
}
.qz-commerce-top__left a:hover { opacity: 1; }
.qz-commerce-top__right {
  display: flex;
  gap: 6px;
  align-items: center;
}
.qz-commerce-top__right button {
  padding: 3px 8px;
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  border: 1px solid transparent;
  background: transparent;
  color: inherit;
  cursor: pointer;
  opacity: .55;
  transition: opacity .2s, border-color .2s;
}
.qz-commerce-top__right button.active,
.qz-commerce-top__right button:hover {
  opacity: 1;
  border-color: rgba(255, 255, 255, .22);
}

.qz-commerce-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(240, 236, 228, .94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.qz-commerce-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 14px 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.qz-commerce-header__logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}
.qz-commerce-header__logo span { color: var(--wine); letter-spacing: 0; }

.qz-search {
  display: flex;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}
.qz-search input {
  width: 100%;
  padding: 11px 16px 11px 40px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%238A847A'%3E%3Cpath d='M11.5 10.5l3.5 3.5-1 1-3.5-3.5a5.5 5.5 0 1 1 1-1zM6 10a4 4 0 1 0 0-8 4 4 0 0 0 0 8z'/%3E%3C/svg%3E") 14px center no-repeat;
  font-size: 14px;
  font-family: inherit;
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.qz-search input:focus {
  outline: none;
  border-color: var(--olive);
  box-shadow: 0 0 0 3px rgba(58, 74, 53, .1);
}
.qz-search input::placeholder { color: var(--ink-mute); }

.qz-commerce-header__cart {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
  white-space: nowrap;
}
.qz-commerce-header__cart:hover {
  border-color: var(--olive-soft);
  box-shadow: 0 4px 14px rgba(21, 18, 15, .06);
}
.qz-cart-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--wine);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  line-height: 1;
  position: relative;
}
.qz-cart-badge,
[data-cart-count] {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--olive);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
}
.qz-commerce-header__cart [data-cart-count] {
  position: static;
  min-width: 20px;
  height: 20px;
  background: var(--wine);
}

.qz-commerce-nav {
  border-bottom: 1px solid var(--line-soft);
  background: var(--surface);
}
.qz-commerce-nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  gap: 4px;
  overflow-x: auto;
}
.qz-commerce-nav a {
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.qz-commerce-nav a:hover { color: var(--ink); }
.qz-commerce-nav a.active {
  color: var(--wine);
  border-bottom-color: var(--wine);
  font-weight: 600;
}

@media (max-width: 768px) {
  .qz-commerce-top__left span:not(:first-child) { display: none; }
  .qz-commerce-header__inner {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    padding: 12px 16px;
    gap: 12px;
  }
  .qz-commerce-header__logo { grid-row: 1; }
  .qz-commerce-header__cart {
    grid-row: 1;
    grid-column: 2;
    justify-self: end;
    padding: 6px 10px;
  }
  .qz-commerce-header__cart span:not(.qz-cart-icon):not([data-cart-count]) { display: none; }
  .qz-search {
    grid-column: 1 / -1;
    max-width: none;
  }
}

/* PRODUCT PURCHASE CARD */
.qz-product-card {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 22px;
  box-shadow: 0 8px 28px rgba(21, 18, 15, .05);
}
.qz-product-card__sku {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 6px;
}
.qz-product-card__price {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}
.qz-product-card__price small {
  font-family: var(--font);
  font-size: 13px;
  color: var(--muted);
  font-weight: 400;
}
.qz-product-card__stock {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 18px;
}
.qz-product-card__stock.ok { color: var(--olive); }
.qz-product-card__stock.no { color: var(--wine); }
.qz-product-card__qty {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.qz-product-card__qty label {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}
.qz-product-card__qty-ctrl {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-2);
}
.qz-product-card__qty-ctrl button {
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  color: var(--ink);
  font-size: 18px;
  cursor: pointer;
  transition: background .15s;
}
.qz-product-card__qty-ctrl button:hover { background: rgba(58, 74, 53, .08); }
.qz-product-card__qty-ctrl span {
  min-width: 36px;
  text-align: center;
  font-weight: 600;
  font-size: 15px;
}
.qz-product-card__buy {
  width: 100%;
  padding: 14px 18px;
  border: none;
  border-radius: 10px;
  background: var(--wine);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  font-family: inherit;
  cursor: pointer;
  transition: background .2s, transform .15s;
}
.qz-product-card__buy:hover:not(:disabled) {
  background: var(--wine-soft);
  transform: translateY(-1px);
}
.qz-product-card__buy:disabled {
  background: var(--line);
  color: var(--muted);
  cursor: not-allowed;
}

/* PDP LAYOUT */
.qz-pdp-page {
  padding: 24px 0 72px;
  background:
    radial-gradient(ellipse 70% 40% at 100% 0%, rgba(79, 21, 32, .04), transparent 55%),
    var(--surface);
  min-height: 70vh;
}
.qz-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
}
.qz-breadcrumbs a { color: var(--ink-soft); transition: color .2s; }
.qz-breadcrumbs a:hover { color: var(--wine); }
.qz-breadcrumbs span.sep { opacity: .45; }

.qz-pdp-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .qz-pdp-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) 300px;
    align-items: start;
  }
}
@media (min-width: 1100px) {
  .qz-pdp-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 320px; }
}

.qz-gallery__main {
  aspect-ratio: 1;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qz-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.qz-gallery__thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.qz-gallery__thumb {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  border: 2px solid transparent;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
}
.qz-gallery__thumb.active { border-color: var(--wine); }
.qz-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.qz-pdp-info__cat {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--olive);
  margin-bottom: 8px;
  font-weight: 600;
}
.qz-pdp-info__title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.2;
}
.qz-pdp-info__meta {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 20px;
}

.qz-accordion {
  border-top: 1px solid var(--line-soft);
}
.qz-accordion__item { border-bottom: 1px solid var(--line-soft); }
.qz-accordion__head {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}
.qz-accordion__head span.icon {
  color: var(--muted);
  font-size: 18px;
  transition: transform .2s;
}
.qz-accordion__item.open .qz-accordion__head span.icon { transform: rotate(45deg); }
.qz-accordion__body {
  display: none;
  padding: 0 0 16px;
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.6;
}
.qz-accordion__item.open .qz-accordion__body { display: block; }

.qz-related {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line-soft);
}
.qz-related h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--ink);
}
.qz-related__grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}
.qz-related__card {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.qz-related__card:hover {
  border-color: var(--olive-soft);
  box-shadow: 0 6px 20px rgba(21, 18, 15, .06);
}
.qz-related__img {
  aspect-ratio: 1;
  object-fit: cover;
  width: 100%;
  background: var(--paper);
}
.qz-related__body { padding: 12px; }
.qz-related__name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
  line-height: 1.35;
}
.qz-related__price {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--wine);
}

.qz-pdp-empty,
.qz-pdp-loading {
  text-align: center;
  padding: 64px 24px;
  color: var(--muted);
}
.qz-pdp-empty a {
  color: var(--wine);
  font-weight: 600;
}

/* FOOTER */
.qz-footer {
  border-top: 1px solid rgba(234, 231, 224, .12);
  padding: 48px 24px 32px;
  background: var(--ink);
  color: rgba(234, 231, 224, .55);
  font-size: 13px;
}
.qz-footer a {
  color: rgba(234, 231, 224, .85);
  transition: color .2s;
}
.qz-footer a:hover { color: #C4B18A; }
.qz-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 32px;
}
.qz-footer__logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 12px;
}
.qz-footer__logo span { color: #C4A8AE; }
.qz-footer__col h4 {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: rgba(234, 231, 224, .4);
  margin-bottom: 14px;
}
.qz-footer__col ul { list-style: none; }
.qz-footer__col li { margin-bottom: 8px; }
.qz-footer__bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(234, 231, 224, .1);
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(234, 231, 224, .35);
}
@media (max-width: 768px) {
  .qz-footer__grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .qz-footer__bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* CATALOG */
.qz-catalog-page {
  padding: 40px 0 80px;
  min-height: 80vh;
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(79, 21, 32, .05), transparent 55%),
    radial-gradient(ellipse 60% 40% at 0% 20%, rgba(58, 74, 53, .06), transparent 50%),
    var(--surface);
}
.qz-catalog-page h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  color: var(--ink);
}
.qz-catalog-page .subtitle {
  color: var(--muted);
  margin-bottom: 28px;
  font-size: 15px;
  max-width: 42ch;
}
.search {
  width: 100%;
  padding: 14px 18px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 14px;
  margin-bottom: 14px;
  font-family: inherit;
  transition: border-color .2s, box-shadow .2s;
}
.search:focus {
  outline: none;
  border-color: var(--olive);
  box-shadow: 0 0 0 3px rgba(58, 74, 53, .12);
}
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.chip {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  cursor: pointer;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  transition: all .2s ease;
}
.chip.active,
.chip:hover {
  background: transparent;
  border-color: var(--wine);
  color: var(--wine);
  font-weight: 600;
}
.grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .grid { grid-template-columns: 1fr 1fr 1fr; } }

.card {
  background: transparent;
  border: 1px solid var(--line-soft);
  border-radius: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color .25s ease;
}
.card:hover {
  border-color: var(--olive-soft);
  transform: none;
}
.card-img {
  aspect-ratio: 1;
  object-fit: cover;
  width: 100%;
  background: var(--paper);
}
.card-body {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line-soft);
}
.cat-badge {
  align-self: flex-start;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 3px 0;
  border-radius: 0;
  background: transparent;
  color: var(--olive);
  margin-bottom: 8px;
  font-weight: 600;
  font-family: var(--mono);
  border-bottom: 1px solid rgba(58, 74, 53, .35);
}
.prod-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 2px;
  color: var(--ink);
}
.prod-sku {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 8px;
  font-family: var(--mono);
}
.prod-desc {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 10px;
  line-height: 1.45;
}
.stock-ok {
  font-size: 12px;
  color: var(--olive);
  margin-bottom: 12px;
  font-weight: 500;
}
.stock-no {
  font-size: 12px;
  color: var(--wine);
  margin-bottom: 12px;
  font-weight: 500;
}
.card-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
}
.price {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
}
.price small {
  font-family: var(--font);
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
}
.btn-add {
  padding: 10px 18px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  background: var(--wine);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  font-family: inherit;
  transition: background .2s ease, transform .15s ease;
}
.btn-add:hover:not(:disabled) {
  background: var(--wine-soft);
  transform: translateY(-1px);
}
.prod-name a {
  color: inherit;
  transition: color .2s;
}
.prod-name a:hover { color: var(--wine); }
.btn-add--ghost {
  background: #fff;
  color: var(--ink-soft);
  border: 1px solid var(--line);
}
.btn-add--ghost:hover:not(:disabled) {
  background: var(--bg-2);
  color: var(--ink);
  transform: none;
}
.cart-btn {
  position: fixed;
  top: 76px;
  right: 20px;
  z-index: 40;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 10px 16px;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 4px 18px rgba(21, 18, 15, .08);
  font-family: inherit;
}
.cart-badge {
  background: var(--wine);
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 1px 7px;
  font-size: 12px;
  margin-left: 6px;
}

/* TOAST */
.qizi-toast-root {
  position: fixed;
  bottom: 90px;
  right: 24px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}
.qizi-toast {
  background: var(--ink);
  color: #fff;
  padding: 14px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .3s, transform .3s;
  max-width: 320px;
}
.qizi-toast.show { opacity: 1; transform: translateY(0); }
.qizi-toast--error { background: var(--wine); }
.qizi-toast--success { background: var(--olive); }

/* LOADING */
.catalog-loading {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.skeleton-card {
  background: #fff;
  border: 1px solid var(--line-soft);
  overflow: hidden;
  animation: pulse 1.4s ease infinite;
}
.skeleton-img { aspect-ratio: 1; background: var(--paper); }
.skeleton-body { padding: 16px; }
.skeleton-line {
  height: 12px;
  background: var(--paper);
  border-radius: 4px;
  margin-bottom: 8px;
}
.skeleton-line.short { width: 60%; }
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .55; }
}
.product-loading,
.product-empty {
  text-align: center;
  padding: 48px;
  color: var(--ink-soft);
  grid-column: 1 / -1;
}

/* PDF DOWNLOADS (shared helpers) */
.download-item { cursor: pointer; }
.download-item[href] {
  text-decoration: none;
  color: inherit;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid var(--line-soft);
  transition: padding-left .15s;
}
.download-item[href]:hover { padding-left: 4px; }
