/* =========================================================
   Сребърна Перла — публичен стил
   Тъмна тема #131318 + злато. Mobile-first, WCAG 2.2 AA.
   ========================================================= */

:root {
  --bg: #131318;
  --bg-2: #17171e;
  --bg-3: #1d1d26;
  --surface: #16161d;
  --surface-2: #1b1b23;
  --text: #f4f0e8;
  --muted: #aaa59c;
  --muted-2: #7e7a73;
  --gold: #c9a961;
  --gold-light: #e8d6a8;
  --gold-dark: #9d8148;
  --gold-soft: rgba(201, 169, 97, 0.14);
  --line: rgba(201, 169, 97, 0.2);
  --line-soft: rgba(244, 240, 232, 0.1);
  --danger: #e08a8a;
  --success: #8fbf9f;
  --warning: #e0c07a;
  --radius: 4px;
  --radius-lg: 10px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --shadow-soft: 0 8px 30px rgba(0, 0, 0, 0.22);
  --header-h: 78px;
  --container: 1280px;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(201, 169, 97, 0.07), transparent 60%),
    radial-gradient(900px 500px at 0% 20%, rgba(201, 169, 97, 0.04), transparent 55%),
    var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.no-scroll {
  overflow: hidden;
}

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

a {
  color: var(--gold-light);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--gold);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0.6em;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: 0.01em;
  color: var(--text);
}

h1 {
  font-size: clamp(2.1rem, 4.6vw, 4.1rem);
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.5rem);
}

h3 {
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
}

p {
  margin: 0 0 1em;
}

ul,
ol {
  margin: 0 0 1em;
  padding-left: 1.2em;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

::selection {
  background: var(--gold);
  color: #14140f;
}

:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
  border-radius: 2px;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 1rem;
  z-index: 3000;
  padding: 0.8rem 1.2rem;
  background: var(--gold);
  color: #14140f;
  font-weight: 600;
  border-radius: var(--radius);
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 1rem;
  color: #14140f;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.narrow {
  width: min(100% - 2.5rem, 840px);
  margin-inline: auto;
}

.center {
  text-align: center;
}

.ic {
  width: 1.2em;
  height: 1.2em;
  flex: 0 0 auto;
  vertical-align: -0.18em;
}

.ic.spin {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ---------- Копчета ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  min-height: 46px;
  padding: 0.75rem 1.45rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.2;
  text-align: center;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn .ic {
  transition: transform 0.25s var(--ease);
}

.btn:hover .ic {
  transform: translateX(3px);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 55%, var(--gold-dark));
  border-color: var(--gold);
  color: #15140f;
  box-shadow: 0 8px 24px rgba(201, 169, 97, 0.18);
}

.btn-gold:hover {
  color: #15140f;
  box-shadow: 0 12px 32px rgba(201, 169, 97, 0.28);
}

.btn-outline {
  border-color: var(--line);
  color: var(--gold-light);
  background: rgba(201, 169, 97, 0.03);
}

.btn-outline:hover {
  background: var(--gold-soft);
  border-color: var(--gold);
  color: var(--gold-light);
}

.btn-ghost {
  border-color: rgba(244, 240, 232, 0.35);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--text);
  background: rgba(244, 240, 232, 0.08);
  color: var(--text);
}

.btn-dark {
  background: var(--bg);
  border-color: var(--line-soft);
  color: var(--text);
}

.btn-dark:hover {
  background: #0d0d11;
  color: var(--gold-light);
}

.btn-sm {
  min-height: 38px;
  padding: 0.55rem 1rem;
  font-size: 0.72rem;
}

.btn-lg {
  min-height: 54px;
  padding: 1rem 1.8rem;
}

.btn-block {
  width: 100%;
}

.btn[disabled],
.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.icon-btn:hover {
  background: var(--gold-soft);
  border-color: var(--line);
  color: var(--gold-light);
}

.icon-btn.danger:hover {
  background: rgba(224, 138, 138, 0.12);
  border-color: rgba(224, 138, 138, 0.35);
  color: var(--danger);
}

.icon-btn .ic {
  width: 1.35rem;
  height: 1.35rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  color: var(--gold-light);
  font-size: 0.9rem;
  border-bottom: 1px solid transparent;
}

.text-link:hover {
  border-bottom-color: var(--gold);
}

/* ---------- Форми ---------- */
.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.1rem;
  min-width: 0;
}

.field > label,
.field > legend,
.field-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

fieldset.field {
  border: 0;
  padding: 0;
  margin: 0 0 1.1rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.025);
  color: var(--text);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted-2);
  opacity: 1;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: var(--line);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--gold);
  background: rgba(201, 169, 97, 0.05);
  box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.12);
  outline: none;
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: rgba(224, 138, 138, 0.7);
}

.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 2.4rem;
}

.field select option {
  background: var(--bg-2);
  color: var(--text);
}

.field small,
.form-note small {
  color: var(--muted-2);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.field-row .field {
  margin-bottom: 0;
}

.field-full {
  grid-column: 1 / -1;
}

.req {
  color: var(--gold);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1.1rem;
}

.form-grid .field-full {
  grid-column: 1 / -1;
}

.check {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
  cursor: pointer;
}

.check input {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  margin: 0.15rem 0 0;
  accent-color: var(--gold);
}

.check.small {
  font-size: 0.78rem;
}

.check.has-error {
  color: var(--danger);
}

.check a {
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.field-error {
  margin: 0.15rem 0 0;
  color: var(--danger);
  font-size: 0.78rem;
}

.form-message {
  min-height: 1.2em;
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  color: var(--gold-light);
}

.form-message.error {
  color: var(--danger);
}

.form-note {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.form-note .ic {
  color: var(--gold);
  margin-top: 0.15em;
}

.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.hidden-form {
  display: none;
}

/* ---------- Известия ---------- */
.alert {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  padding: 1rem 1.1rem;
  margin: 0 0 1.25rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.92rem;
}

.alert .ic {
  margin-top: 0.15em;
  color: var(--gold);
}

.alert p:last-child {
  margin-bottom: 0;
}

.alert-success {
  border-color: rgba(143, 191, 159, 0.35);
  background: rgba(143, 191, 159, 0.08);
}

.alert-success .ic {
  color: var(--success);
}

.alert-danger {
  border-color: rgba(224, 138, 138, 0.35);
  background: rgba(224, 138, 138, 0.08);
}

.alert-danger .ic {
  color: var(--danger);
}

.alert-warning {
  border-color: rgba(224, 192, 122, 0.35);
  background: rgba(224, 192, 122, 0.08);
}

.alert-info {
  border-color: var(--line);
  background: var(--gold-soft);
}

.toast-region {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 2500;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  width: min(360px, calc(100vw - 2.5rem));
  pointer-events: none;
}

.toast {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #1d1d25;
  box-shadow: var(--shadow);
  color: var(--text);
  font-size: 0.88rem;
  animation: toast-in 0.3s var(--ease);
  pointer-events: auto;
}

.toast.success .ic { color: var(--success); }
.toast.error .ic { color: var(--danger); }

@keyframes toast-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Секции ---------- */
.section {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0));
  border-block: 1px solid rgba(244, 240, 232, 0.05);
}

.section-head {
  max-width: 680px;
  margin: 0 auto clamp(2rem, 4vw, 3.2rem);
  text-align: center;
}

.section-head h2 {
  margin-bottom: 0.5rem;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.section-head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: none;
  text-align: left;
}

.section-head--row > div {
  max-width: 640px;
}

.kicker {
  margin: 0 0 0.7rem;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.page-head {
  padding: clamp(2.6rem, 6vw, 5rem) 0 clamp(1.6rem, 3vw, 2.6rem);
  border-bottom: 1px solid rgba(244, 240, 232, 0.06);
  background:
    radial-gradient(700px 260px at 50% 0%, rgba(201, 169, 97, 0.09), transparent 70%),
    var(--bg-2);
}

.page-head--compact {
  padding-block: clamp(1.8rem, 4vw, 3rem);
}

.page-head h1 {
  margin-bottom: 0.35rem;
}

.page-head .page-lead {
  max-width: 720px;
  color: var(--muted);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.1rem;
  color: var(--muted-2);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
}

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

.breadcrumbs a:hover {
  color: var(--gold-light);
}

.breadcrumbs .sep {
  color: var(--gold-dark);
}

.breadcrumbs [aria-current="page"] {
  color: var(--gold-light);
}

/* ---------- Хедър ---------- */
.announce {
  background: linear-gradient(90deg, #1c1a16, #241f16, #1c1a16);
  border-bottom: 1px solid var(--line);
  color: var(--gold-light);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-align: center;
}

.announce .container {
  padding: 0.55rem 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(19, 19, 24, 0.9);
  border-bottom: 1px solid rgba(244, 240, 232, 0.07);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.site-header.scrolled {
  background: rgba(19, 19, 24, 0.97);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 0.7rem;
  flex: 0 0 auto;
  color: var(--text);
  line-height: 1;
}

.brand-mark {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand .logo {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: linear-gradient(120deg, var(--gold-light), var(--gold) 55%, var(--gold-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand small {
  margin-top: 0.35rem;
  color: var(--muted-2);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.main-nav {
  margin-left: auto;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(0.6rem, 1.8vw, 1.7rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav a {
  position: relative;
  display: inline-block;
  padding: 0.35rem 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.25s var(--ease);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--gold-light);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  flex: 0 0 auto;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin: 0 0.3rem;
  padding: 0.3rem 0.55rem;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}

.lang-switch a {
  color: var(--muted-2);
  padding: 0.1rem 0.2rem;
}

.lang-switch a.active,
.lang-switch a:hover {
  color: var(--gold-light);
}

.lang-switch span {
  color: var(--muted-2);
}

.cart-btn {
  position: relative;
}

.cart-btn .count {
  position: absolute;
  top: 2px;
  right: 1px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--gold);
  color: #15140f;
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 17px;
  text-align: center;
}

.nav-toggle {
  display: none;
}

.search-panel {
  border-top: 1px solid var(--line-soft);
  background: var(--bg-2);
}

.search-panel[hidden] {
  display: none;
}

.search-panel-form {
  display: flex;
  gap: 0.7rem;
  padding: 1rem 0;
}

.search-panel-form input {
  flex: 1;
  min-height: 46px;
  padding: 0.7rem 1rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

/* ---------- Мобилна навигация ---------- */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
}

.mobile-nav.open {
  display: block;
}

.mobile-nav::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 8, 0.7);
  backdrop-filter: blur(4px);
}

.mobile-nav .panel {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  width: min(420px, 92vw);
  height: 100%;
  padding: 1.3rem 1.4rem 2rem;
  overflow-y: auto;
  background: var(--bg-2);
  border-left: 1px solid var(--line);
  box-shadow: var(--shadow);
  animation: panel-in 0.3s var(--ease);
}

@keyframes panel-in {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

.mobile-nav .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.panel-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
}

.mobile-nav nav ul {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.mobile-nav nav li {
  border-bottom: 1px solid rgba(244, 240, 232, 0.06);
}

.mobile-nav nav a {
  display: block;
  padding: 0.9rem 0.2rem;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.mobile-nav nav a:hover,
.mobile-nav nav a[aria-current="page"] {
  color: var(--gold-light);
}

.mobile-secondary {
  display: grid;
  gap: 0.6rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line-soft);
}

.mobile-secondary a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.mobile-nav .info {
  margin-top: auto;
  padding-top: 1.5rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.mobile-nav .info p {
  margin-bottom: 0.4rem;
}

/* ---------- Начална: hero ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(560px, 82vh, 820px);
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  transform: scale(1.02);
  animation: hero-zoom 18s ease-out forwards;
}

@keyframes hero-zoom {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(15, 15, 19, 0.94) 0%, rgba(15, 15, 19, 0.72) 42%, rgba(15, 15, 19, 0.25) 75%, rgba(15, 15, 19, 0.45) 100%),
    linear-gradient(0deg, rgba(15, 15, 19, 0.9), transparent 45%);
}

.hero-inner {
  padding: clamp(3rem, 8vw, 6rem) 0;
}

.hero h1 {
  max-width: 13ch;
  margin-bottom: 1rem;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.35);
}

.hero-lead {
  max-width: 54ch;
  color: rgba(244, 240, 232, 0.78);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  margin: clamp(2.2rem, 5vw, 3.4rem) 0 0;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(244, 240, 232, 0.16);
}

.hero-facts div {
  display: flex;
  flex-direction: column-reverse;
}

.hero-facts dt {
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-facts dd {
  margin: 0 0 0.15rem;
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--gold-light);
}

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: linear-gradient(90deg, #191712, #201c14, #191712);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-group {
  display: flex;
  flex: 0 0 auto;
}

.marquee-group span {
  display: inline-flex;
  align-items: center;
  gap: 1.4rem;
  padding: 0.8rem 1.6rem;
  color: var(--gold-light);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee-group span::after {
  content: "✦";
  color: var(--gold-dark);
  font-size: 0.7rem;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Категории ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.cat-card {
  position: relative;
  display: block;
  min-height: 250px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--bg-3);
}

.cat-card img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
  transition: transform 0.7s var(--ease), filter 0.4s var(--ease);
}

.cat-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10, 10, 14, 0.82), rgba(10, 10, 14, 0.05) 62%);
  transition: background 0.35s var(--ease);
}

.cat-name {
  position: absolute;
  left: 1.2rem;
  right: 1.2rem;
  bottom: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.28rem;
}

.cat-name .ic {
  transition: transform 0.3s var(--ease);
}

.cat-card:hover img {
  transform: scale(1.06);
}

.cat-card:hover .cat-shade {
  background: linear-gradient(0deg, rgba(10, 10, 14, 0.9), rgba(10, 10, 14, 0.15) 70%);
}

.cat-card:hover .cat-name {
  color: var(--gold-light);
}

.cat-card:hover .cat-name .ic {
  transform: translateX(4px);
}

/* ---------- Продуктова карта ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2vw, 1.6rem);
}

.pcard {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(244, 240, 232, 0.07);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0));
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.pcard:hover {
  transform: translateY(-4px);
  border-color: var(--line);
  box-shadow: var(--shadow-soft);
}

.pcard-media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--bg-3);
  border-radius: var(--radius) var(--radius) 0 0;
}

.pcard-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.pcard:hover .pcard-media img {
  transform: scale(1.05);
}

.pcard-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10, 10, 14, 0.5), transparent 40%);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.pcard:hover .pcard-shade {
  opacity: 1;
}

.badges {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0.15rem 0.5rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(19, 19, 24, 0.82);
  color: var(--gold-light);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}

.badge-gold {
  background: var(--gold);
  border-color: var(--gold);
  color: #15140f;
}

.badge-danger {
  background: rgba(224, 138, 138, 0.9);
  border-color: rgba(224, 138, 138, 0.9);
  color: #2a1111;
}

.badge-muted {
  color: var(--muted);
  border-color: var(--line-soft);
}

.quick-add-form {
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.7rem;
  margin: 0;
  transform: translateY(8px);
  opacity: 0;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.pcard:hover .quick-add-form,
.pcard:focus-within .quick-add-form {
  opacity: 1;
  transform: translateY(0);
}

.quick-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  min-height: 40px;
  padding: 0.5rem 0.7rem;
  border: 1px solid rgba(201, 169, 97, 0.4);
  border-radius: 2px;
  background: rgba(19, 19, 24, 0.86);
  color: var(--gold-light);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.quick-add:hover {
  background: var(--gold);
  color: #15140f;
}

a.quick-add {
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.7rem;
  width: auto;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), background 0.2s var(--ease);
}

.pcard:hover a.quick-add,
.pcard:focus-within a.quick-add {
  opacity: 1;
  transform: translateY(0);
}

.pcard-body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.9rem 0.95rem 1.05rem;
}

.pcard-cat {
  color: var(--muted-2);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pcard-title {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0;
}

.pcard-title a {
  color: var(--text);
}

.pcard-title a:hover {
  color: var(--gold-light);
}

.pcard-price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-top: 0.25rem;
  color: var(--gold-light);
  font-size: 0.95rem;
}

.pcard-price b {
  font-weight: 600;
}

.pcard-price s {
  color: var(--muted-2);
  font-size: 0.8rem;
}

/* ---------- Предимства ---------- */
.features {
  padding: clamp(3rem, 6vw, 5rem) 0;
  border-block: 1px solid rgba(244, 240, 232, 0.05);
  background: var(--bg-2);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

.feature {
  padding: 1.5rem 1.3rem;
  border: 1px solid rgba(244, 240, 232, 0.06);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.015);
  text-align: center;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 0.9rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold);
  background: var(--gold-soft);
}

.feature-icon .ic {
  width: 1.5rem;
  height: 1.5rem;
}

.feature h3 {
  margin-bottom: 0.4rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.6;
}

/* ---------- Ателие ---------- */
.craft-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.craft-media {
  position: relative;
}

.craft-media::before {
  content: "";
  position: absolute;
  inset: 1rem -1rem -1rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  pointer-events: none;
}

.craft-media img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
}

.craft-copy h2 {
  margin-bottom: 1rem;
}

.craft-copy p {
  color: var(--muted);
}

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.4rem, 4vw, 3rem);
  margin: 1.8rem 0;
  padding: 1.3rem 0;
  border-block: 1px solid rgba(244, 240, 232, 0.08);
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat b {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
  color: var(--gold-light);
  line-height: 1;
}

.stat span {
  margin-top: 0.3rem;
  color: var(--muted-2);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ---------- Отзиви ---------- */
.quotes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.quote {
  display: flex;
  flex-direction: column;
  padding: 1.6rem;
  border: 1px solid rgba(244, 240, 232, 0.07);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent);
}

.quote h3 {
  margin: 0.6rem 0 0.3rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
}

.quote blockquote {
  margin: 0 0 1.2rem;
  padding: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.quote blockquote p {
  margin: 0;
}

.quote footer {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--line-soft);
}

.quote-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.quote footer div {
  display: flex;
  flex-direction: column;
  font-size: 0.8rem;
}

.quote footer b {
  color: var(--text);
  font-weight: 600;
}

.quote footer a,
.quote footer span {
  color: var(--muted-2);
  font-size: 0.75rem;
}

.stars {
  display: inline-flex;
  gap: 0.1em;
  color: var(--gold);
  letter-spacing: 0.06em;
  font-size: 0.95rem;
  line-height: 1;
}

.stars .off {
  color: rgba(201, 169, 97, 0.25);
}

/* ---------- Бюлетин ---------- */
.newsletter {
  background:
    radial-gradient(800px 300px at 50% 0%, rgba(201, 169, 97, 0.14), transparent 70%),
    var(--bg-2);
  border-block: 1px solid var(--line);
}

.newsletter-box {
  max-width: 720px;
  text-align: center;
}

.newsletter-box h2 {
  margin-bottom: 0.6rem;
}

.newsletter-box > p {
  color: var(--muted);
}

.newsletter-form {
  max-width: 560px;
  margin: 1.5rem auto 0;
  text-align: left;
}

.newsletter-row {
  display: flex;
  gap: 0.5rem;
}

.newsletter-row input {
  flex: 1;
  min-height: 50px;
  padding: 0.7rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
}

.newsletter-form .check {
  margin-top: 0.7rem;
}

.newsletter-form--footer {
  margin: 0;
}

.newsletter-form--footer input[type="email"] {
  width: 100%;
  min-height: 46px;
  margin-bottom: 0.6rem;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.newsletter-form--footer .btn {
  margin-top: 0.2rem;
}

/* ---------- SEO текст ---------- */
.seo-text {
  padding-top: clamp(2.5rem, 5vw, 4rem);
}

.seo-text-inner {
  max-width: 900px;
}

.seo-text h2 {
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
}

.seo-text p {
  color: var(--muted);
  font-size: 0.9rem;
}

/* ---------- Футър ---------- */
.site-footer {
  padding-top: clamp(3rem, 6vw, 4.5rem);
  border-top: 1px solid var(--line);
  background: #101014;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding-bottom: 2.5rem;
}

.footer-brand p {
  margin: 1rem 0 0.4rem;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.65;
}

.footer-years {
  color: var(--muted-2) !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.04em;
}

.site-footer h4 {
  margin-bottom: 0.9rem;
  color: var(--gold-light);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer ul li {
  margin-bottom: 0.45rem;
}

.site-footer ul a {
  color: var(--muted);
  font-size: 0.84rem;
}

.site-footer ul a:hover {
  color: var(--gold-light);
}

.footer-contact li {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  color: var(--muted);
  font-size: 0.84rem;
}

.footer-contact .ic {
  margin-top: 0.2em;
  color: var(--gold);
}

.footer-contact span,
.footer-contact a {
  color: var(--muted);
}

.socials {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-soft);
  border-radius: 50%;
  color: var(--muted);
}

.socials a:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  background: var(--gold-soft);
}

.footer-newsletter-text {
  color: var(--muted);
  font-size: 0.84rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.3rem 0;
  border-top: 1px solid rgba(244, 240, 232, 0.06);
  color: var(--muted-2);
  font-size: 0.75rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-pay {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.footer-pay span {
  padding: 0.25rem 0.55rem;
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  font-size: 0.65rem;
  letter-spacing: 0.04em;
}

.footer-legal {
  padding: 0.5rem 0 1.6rem;
  color: var(--muted-2);
  font-size: 0.72rem;
}

.footer-legal p {
  margin-bottom: 0.4rem;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

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

.to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(19, 19, 24, 0.9);
  color: var(--gold-light);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), background 0.2s var(--ease);
  backdrop-filter: blur(8px);
}

.to-top.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.to-top:hover {
  background: var(--gold);
  color: #15140f;
}

/* ---------- Бисквитки ---------- */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 2200;
  max-width: 980px;
  margin-inline: auto;
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(23, 23, 30, 0.98);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-inner h2 {
  margin-bottom: 0.25rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.cookie-inner p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.cookie-inner a {
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-actions {
  display: flex;
  gap: 0.5rem;
}

/* ---------- Магазин ---------- */
.shop-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.shop-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
  padding: 1.2rem;
  border: 1px solid rgba(244, 240, 232, 0.07);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.018);
}

.filter-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.filter-head h2 {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.filter-clear {
  font-size: 0.72rem;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.filters .field:last-of-type {
  margin-bottom: 1.2rem;
}

.filter-links {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.filter-links a {
  padding: 0.35rem 0.5rem;
  border-radius: 2px;
  color: var(--muted);
  font-size: 0.82rem;
}

.filter-links a:hover {
  color: var(--gold-light);
  background: var(--gold-soft);
}

.filter-links a.active {
  color: var(--gold-light);
  background: var(--gold-soft);
}

.shop-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 1.3rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(244, 240, 232, 0.07);
}

.results-count {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.toolbar-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sort-inline {
  color: var(--muted-2);
  font-size: 0.78rem;
}

.toolbar-right select {
  min-height: 38px;
  padding: 0.35rem 2rem 0.35rem 0.7rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-size: 0.8rem;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 14px) 50%, calc(100% - 9px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.shop-main .product-grid {
  grid-template-columns: repeat(3, 1fr);
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem;
  margin-top: 2.4rem;
}

.page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 0.6rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.82rem;
}

a.page-link:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}

.page-link.current {
  background: var(--gold);
  border-color: var(--gold);
  color: #15140f;
  font-weight: 600;
}

.page-link.disabled {
  opacity: 0.35;
}

.page-dots {
  display: inline-flex;
  align-items: center;
  padding: 0 0.3rem;
  color: var(--muted-2);
}

/* ---------- Празно състояние ---------- */
.empty {
  max-width: 620px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3.5rem) 1.5rem;
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.018);
  text-align: center;
}

.empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 1rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold);
  background: var(--gold-soft);
}

.empty-icon .ic {
  width: 1.7rem;
  height: 1.7rem;
}

.empty h1,
.empty h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
}

.empty p {
  color: var(--muted);
}

.empty .btn {
  margin-top: 0.8rem;
}

.empty-note {
  padding: 1.5rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  color: var(--muted);
  text-align: center;
}

/* ---------- Продукт ---------- */
.product-breadcrumbs {
  padding-top: 1.3rem;
}

.product-section {
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.8rem, 5vw, 4.5rem);
  align-items: start;
}

.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  position: sticky;
  top: calc(var(--header-h) + 1.2rem);
}

.gallery-main {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--bg-3);
  aspect-ratio: 4 / 5;
  cursor: zoom-in;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}

.gallery-main.zoomed {
  cursor: zoom-out;
}

.gallery-main.zoomed img {
  transform: scale(1.65);
}

.zoom-hint {
  position: absolute;
  right: 0.8rem;
  bottom: 0.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 40px;
  height: 40px;
  padding: 0 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(19, 19, 24, 0.82);
  color: var(--gold-light);
  backdrop-filter: blur(4px);
}

.zoom-hint:hover {
  background: var(--gold);
  color: #15140f;
}

.gallery-thumbs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.2rem;
  scrollbar-width: thin;
}

.gallery-thumb {
  flex: 0 0 74px;
  height: 92px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  background: var(--bg-3);
  opacity: 0.65;
  transition: opacity 0.2s var(--ease), border-color 0.2s var(--ease);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumb:hover,
.gallery-thumb.active {
  opacity: 1;
  border-color: var(--gold);
}

.product-info h1 {
  margin-bottom: 0.4rem;
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
}

.product-cat {
  display: inline-block;
  margin-bottom: 0.6rem;
  color: var(--gold);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.product-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.7rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.product-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.7rem;
  margin: 0.4rem 0 1rem;
}

.price-current {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  color: var(--gold-light);
}

.price-old {
  color: var(--muted-2);
  font-size: 0.95rem;
}

.price-save {
  padding: 0.15rem 0.45rem;
  border-radius: 2px;
  background: rgba(224, 138, 138, 0.16);
  color: var(--danger);
  font-size: 0.72rem;
  font-weight: 600;
}

.product-short {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

.stock-line {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 1rem 0;
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  font-size: 0.82rem;
}

.stock-line .ic {
  width: 1rem;
  height: 1rem;
}

.stock-line.in {
  color: var(--success);
  border-color: rgba(143, 191, 159, 0.3);
  background: rgba(143, 191, 159, 0.06);
}

.stock-line.low {
  color: var(--warning);
  border-color: rgba(224, 192, 122, 0.3);
  background: rgba(224, 192, 122, 0.06);
}

.stock-line.out {
  color: var(--danger);
  border-color: rgba(224, 138, 138, 0.3);
  background: rgba(224, 138, 138, 0.06);
}

.product-form {
  margin: 1.2rem 0;
}

.product-buy {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: stretch;
}

.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
}

.qty button {
  width: 42px;
  height: 100%;
  min-height: 46px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1;
}

.qty button:hover {
  color: var(--gold-light);
  background: var(--gold-soft);
}

.qty input {
  width: 46px;
  min-height: 46px;
  border: 0;
  background: transparent;
  color: var(--text);
  text-align: center;
  -moz-appearance: textfield;
}

.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.qty--sm button {
  width: 30px;
  min-height: 36px;
}

.qty--sm input {
  width: 36px;
  min-height: 36px;
  font-size: 0.85rem;
}

.product-buy .btn {
  flex: 1;
  min-width: 200px;
}

.product-info > .text-link {
  margin: 0.1rem 0 1.2rem;
}

.trust-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  margin: 1.2rem 0;
  padding: 1rem 0;
  border-block: 1px solid rgba(244, 240, 232, 0.07);
  list-style: none;
}

.trust-list li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.7rem;
  text-align: center;
}

.trust-list .ic {
  color: var(--gold);
  width: 1.25rem;
  height: 1.25rem;
}

.product-specs {
  margin: 1.2rem 0 0;
}

.product-specs div {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(244, 240, 232, 0.06);
  font-size: 0.84rem;
}

.product-specs dt {
  color: var(--muted-2);
}

.product-specs dd {
  margin: 0;
  color: var(--text);
}

.product-details-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.rich-text {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.75;
}

.rich-text h1,
.rich-text h2,
.rich-text h3,
.rich-text h4 {
  margin-top: 1.5em;
  color: var(--text);
}

.rich-text h2:first-child,
.rich-text h3:first-child {
  margin-top: 0;
}

.rich-text p,
.rich-text ul,
.rich-text ol {
  margin-bottom: 1.1em;
}

.rich-text strong {
  color: var(--text);
}

.rich-text a {
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rich-text blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.3rem;
  border-left: 2px solid var(--gold);
  background: rgba(201, 169, 97, 0.05);
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.rich-text table {
  width: 100%;
  margin: 1.2rem 0;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.rich-text th,
.rich-text td {
  padding: 0.6rem 0.7rem;
  border: 1px solid var(--line-soft);
  text-align: left;
  vertical-align: top;
}

.rich-text th {
  background: rgba(201, 169, 97, 0.08);
  color: var(--gold-light);
  font-weight: 600;
}

.rich-text img {
  margin: 1rem 0;
  border-radius: var(--radius);
}

.details-aside {
  display: grid;
  gap: 1rem;
}

.info-box {
  padding: 1.2rem 1.3rem;
  border: 1px solid rgba(244, 240, 232, 0.07);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.018);
}

.info-box h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gold-light);
}

.info-box h3 .ic {
  color: var(--gold);
}

.info-box p {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.info-box p + p {
  margin-top: 0.6rem;
}

.rating-line {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 26px;
  padding: 0 0.4rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--gold-light);
  font-family: var(--font-body);
  font-size: 0.72rem;
  vertical-align: middle;
}

.reviews-list {
  display: grid;
  gap: 1rem;
}

.review {
  padding: 1.3rem 1.4rem;
  border: 1px solid rgba(244, 240, 232, 0.07);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.018);
}

.review header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.7rem;
}

.review header div {
  display: flex;
  flex-direction: column;
}

.review header b {
  font-size: 0.9rem;
  font-weight: 600;
}

.review time {
  color: var(--muted-2);
  font-size: 0.72rem;
}

.review h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
}

.review p {
  margin: 0 0 0.6rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.verified {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--success);
  font-size: 0.72rem;
}

.verified .ic {
  width: 0.95rem;
  height: 0.95rem;
}

.review-product {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-right: 0.8rem;
  color: var(--gold-light);
  font-size: 0.75rem;
}

/* ---------- Количка ---------- */
.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.8fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.free-shipping-bar {
  margin-bottom: 1.2rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(201, 169, 97, 0.05);
}

.free-shipping-bar p {
  margin: 0 0 0.5rem;
  color: var(--gold-light);
  font-size: 0.8rem;
}

.free-shipping-bar.reached {
  border-color: rgba(143, 191, 159, 0.3);
  background: rgba(143, 191, 159, 0.07);
}

.free-shipping-bar.reached p {
  color: var(--success);
}

.progress {
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(244, 240, 232, 0.12);
}

.progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
  transition: width 0.4s var(--ease);
}

.cart-table-wrap {
  overflow-x: auto;
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.cart-table th {
  padding: 0 0.6rem 0.7rem;
  border-bottom: 1px solid var(--line-soft);
  color: var(--muted-2);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-align: left;
  text-transform: uppercase;
}

.cart-table th:nth-child(2),
.cart-table th:nth-child(4),
.cart-table td:nth-child(2),
.cart-table td:nth-child(4) {
  text-align: right;
}

.cart-table td {
  padding: 1rem 0.6rem;
  border-bottom: 1px solid rgba(244, 240, 232, 0.06);
  vertical-align: middle;
}

.cart-product {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.cart-thumb {
  flex: 0 0 68px;
  width: 68px;
  height: 85px;
  overflow: hidden;
  border-radius: 2px;
  background: var(--bg-3);
}

.cart-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-product > div {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.cart-name {
  color: var(--text);
  font-weight: 500;
  line-height: 1.35;
}

.cart-name:hover {
  color: var(--gold-light);
}

.cart-size,
.cart-cat {
  color: var(--muted-2);
  font-size: 0.72rem;
}

.cart-line {
  color: var(--gold-light);
}

.cart-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.7rem;
  margin-top: 1.2rem;
}

.cart-summary {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(201, 169, 97, 0.07), rgba(255, 255, 255, 0.015));
}

.cart-summary h2 {
  margin-bottom: 1rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.cart-summary dl,
.summary-totals {
  margin: 0 0 1rem;
}

.cart-summary dl > div,
.summary-totals > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.4rem 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.cart-summary dd,
.summary-totals dd {
  margin: 0;
  color: var(--text);
}

.summary-total {
  margin-top: 0.5rem;
  padding-top: 0.8rem !important;
  border-top: 1px solid var(--line);
  color: var(--text) !important;
  font-size: 1rem !important;
}

.summary-total dd {
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.summary-note {
  color: var(--muted-2);
  font-size: 0.72rem;
  line-height: 1.6;
}

.summary-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 0.7rem;
}

.summary-badges span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.summary-badges .ic {
  color: var(--gold);
  width: 1rem;
  height: 1rem;
}

/* ---------- Чекаут ---------- */
.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.8fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.form-card {
  margin: 0 0 1.2rem;
  padding: 1.4rem;
  border: 1px solid rgba(244, 240, 232, 0.07);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.018);
}

.form-card legend {
  padding: 0 0.4rem;
  color: var(--gold-light);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.form-card legend span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-right: 0.35rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold);
  font-size: 0.7rem;
}

.form-card--consent {
  padding-top: 1.2rem;
}

.choice-list {
  display: grid;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
}

.choice {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.choice:hover {
  border-color: var(--line);
}

.choice:has(input:checked) {
  border-color: var(--gold);
  background: var(--gold-soft);
}

.choice input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
}

.choice-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.1rem;
}

.choice-title {
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 500;
}

.choice-desc {
  color: var(--muted-2);
  font-size: 0.75rem;
}

.choice-price {
  flex: 0 0 auto;
  color: var(--gold-light);
  font-size: 0.85rem;
  font-weight: 500;
}

.choice-note {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  margin: 0.6rem 0 0;
  color: var(--muted-2);
  font-size: 0.76rem;
}

.choice-note .ic {
  color: var(--gold);
  margin-top: 0.15em;
}

.checkout-summary {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(201, 169, 97, 0.07), rgba(255, 255, 255, 0.015));
}

.checkout-summary h2 {
  margin-bottom: 1rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.checkout-trust {
  display: grid;
  gap: 0.45rem;
  margin: 1rem 0 1.1rem;
  padding: 0;
  list-style: none;
}
.checkout-trust li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.8rem;
  color: var(--muted);
}
.checkout-trust svg {
  flex: none;
  width: 18px;
  height: 18px;
  color: var(--gold-light);
}

.summary-items {
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.summary-items li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(244, 240, 232, 0.06);
}

.summary-items img {
  flex: 0 0 48px;
  width: 48px;
  height: 60px;
  object-fit: cover;
  border-radius: 2px;
}

.summary-items div {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.summary-items span {
  font-size: 0.82rem;
  line-height: 1.35;
}

.summary-items small {
  color: var(--muted-2);
  font-size: 0.72rem;
}

.summary-items b {
  color: var(--gold-light);
  font-size: 0.82rem;
  font-weight: 500;
}

/* ---------- Успешна поръчка / PayPal ---------- */
.success-section {
  min-height: 60vh;
}

.success-card,
.paypal-card {
  padding: clamp(1.6rem, 4vw, 2.8rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(600px 240px at 50% 0%, rgba(201, 169, 97, 0.1), transparent 70%),
    rgba(255, 255, 255, 0.018);
  text-align: center;
}

.success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  margin-bottom: 1.1rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold);
  background: var(--gold-soft);
}

.success-icon .ic {
  width: 1.9rem;
  height: 1.9rem;
}

.success-lead {
  color: var(--muted);
}

.success-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin: 1.6rem 0;
  padding: 1.1rem 0;
  border-block: 1px solid var(--line-soft);
  text-align: left;
}

.success-meta dt {
  color: var(--muted-2);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.success-meta dd {
  margin: 0.2rem 0 0;
  color: var(--text);
  font-size: 0.95rem;
}

.success-meta dd b {
  color: var(--gold-light);
}

.success-email {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.success-email .ic {
  color: var(--gold);
}

.success-items {
  margin: 1.4rem 0;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line-soft);
  text-align: left;
}

.success-items h2 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.success-items ul {
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.success-items li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(244, 240, 232, 0.05);
  color: var(--muted);
  font-size: 0.85rem;
}

.success-items dl {
  margin: 0;
}

.success-items dl > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.3rem 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.success-items dd {
  margin: 0;
  color: var(--text);
}

.success-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 1.4rem;
}

.paypal-mark {
  display: inline-block;
  margin-bottom: 0.8rem;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #003087, #009cde);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.02em;
}

.paypal-card .success-meta {
  text-align: left;
}

/* ---------- Контакти ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.8rem, 5vw, 4rem);
  align-items: start;
}

.contact-info h2,
.contact-form-wrap h2 {
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
}

.contact-list {
  margin: 1.2rem 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(244, 240, 232, 0.06);
}

.contact-list .ic {
  margin-top: 0.15rem;
  color: var(--gold);
  width: 1.2rem;
  height: 1.2rem;
}

.contact-list div {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.contact-list span {
  color: var(--muted-2);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-list b,
.contact-list a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.9rem;
}

.contact-list a:hover {
  color: var(--gold-light);
}

.contact-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.2rem 0;
}

.contact-note {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  padding: 1rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--gold-soft);
  color: var(--muted);
  font-size: 0.82rem;
}

.contact-note p {
  margin: 0;
}

.contact-note .ic {
  color: var(--gold);
  margin-top: 0.15em;
}

.contact-form-wrap {
  padding: clamp(1.3rem, 3vw, 2rem);
  border: 1px solid rgba(244, 240, 232, 0.07);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.018);
}

/* ---------- Правни / информационни страници ---------- */
.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: clamp(1.8rem, 5vw, 4rem);
  align-items: start;
}

.legal-text {
  min-width: 0;
  max-width: 76ch;
}

.legal-text h2 {
  margin-top: 2rem;
  font-size: clamp(1.25rem, 2.1vw, 1.6rem);
}

.legal-text h3 {
  margin-top: 1.5rem;
}

.legal-text ul,
.legal-text ol {
  padding-left: 1.4em;
}

.legal-text li {
  margin-bottom: 0.4rem;
}

.legal-form {
  margin: 1.5rem 0;
  padding: 1.2rem;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: rgba(201, 169, 97, 0.04);
}

.updated-note {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line-soft);
  color: var(--muted-2);
  font-size: 0.75rem;
}

.page-aside {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
  display: grid;
  gap: 1rem;
}

.aside-nav,
.aside-cta {
  padding: 1.2rem;
  border: 1px solid rgba(244, 240, 232, 0.07);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.018);
}

.aside-nav h2,
.aside-cta h2 {
  margin-bottom: 0.7rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.aside-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.aside-nav li {
  border-bottom: 1px solid rgba(244, 240, 232, 0.05);
}

.aside-nav a {
  display: block;
  padding: 0.45rem 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.aside-nav a:hover {
  color: var(--gold-light);
}

.aside-cta p {
  color: var(--muted);
  font-size: 0.82rem;
}

/* ---------- Отзиви ---------- */
.reviews-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.85fr);
  gap: clamp(1.8rem, 4vw, 3rem);
  align-items: start;
}

.rating-overview {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1rem;
  padding: 0.6rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--gold-soft);
  font-size: 0.85rem;
}

.rating-overview b {
  color: var(--gold-light);
}

.rating-overview span {
  color: var(--muted);
}

.review-form-wrap {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
  padding: clamp(1.3rem, 3vw, 1.8rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(201, 169, 97, 0.06), rgba(255, 255, 255, 0.015));
}

.review-form-wrap h2 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
}

.rating-field legend {
  margin-bottom: 0.4rem;
}

.rating-input {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 0.15rem;
}

.rating-input input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.rating-input label {
  color: rgba(201, 169, 97, 0.28);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.15s var(--ease), transform 0.15s var(--ease);
}

.rating-input label:hover,
.rating-input label:hover ~ label,
.rating-input input:checked ~ label {
  color: var(--gold);
}

.rating-input label:hover {
  transform: scale(1.1);
}

.rating-input input:focus-visible + label {
  outline: 2px solid var(--gold-light);
  outline-offset: 2px;
}

/* ---------- Бюлетин страница ---------- */
.newsletter-card {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(500px 220px at 50% 0%, rgba(201, 169, 97, 0.12), transparent 70%),
    rgba(255, 255, 255, 0.018);
  text-align: center;
}

.newsletter-card > p {
  max-width: 52ch;
  margin-inline: auto;
  color: var(--muted);
}

.newsletter-card .newsletter-form {
  max-width: 480px;
}

.newsletter-card .field {
  text-align: left;
}

/* ---------- 404 ---------- */
.error-section {
  min-height: 62vh;
  display: flex;
  align-items: center;
}

.error-code {
  margin: 0;
  color: transparent;
  font-family: var(--font-display);
  font-size: clamp(5rem, 16vw, 11rem);
  font-weight: 700;
  line-height: 1;
  -webkit-text-stroke: 1px var(--line);
  letter-spacing: 0.04em;
}

.error-search {
  display: flex;
  gap: 0.5rem;
  max-width: 480px;
  margin: 1.5rem auto;
}

.error-search input {
  flex: 1;
  min-height: 48px;
  padding: 0.7rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.error-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}

/* ---------- Анимации при скрол ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .main-nav ul {
    gap: 0.9rem;
  }

  .main-nav a {
    font-size: 0.72rem;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1.2fr;
  }

  .footer-grid > div:last-child {
    grid-column: 1 / -1;
    max-width: 460px;
  }

  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .shop-main .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-layout {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 68px;
  }

  .container,
  .narrow {
    width: min(100% - 2rem, var(--container));
  }

  .main-nav {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header-inner {
    gap: 0.5rem;
  }

  .brand {
    gap: 0.5rem;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
  }

  .brand .logo {
    font-size: 1.4rem;
  }

  .lang-switch {
    margin: 0 0.1rem;
    padding: 0.25rem 0.45rem;
    font-size: 0.62rem;
  }

  .hero {
    min-height: 70vh;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(15, 15, 19, 0.95) 0%, rgba(15, 15, 19, 0.55) 60%, rgba(15, 15, 19, 0.35) 100%);
  }

  .hero h1 {
    max-width: 16ch;
  }

  .cat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .craft-grid {
    grid-template-columns: 1fr;
  }

  .craft-media {
    max-width: 520px;
  }

  .craft-media::before {
    inset: 0.8rem -0.8rem -0.8rem 0.8rem;
  }

  .quotes-grid {
    grid-template-columns: 1fr;
    max-width: 640px;
    margin-inline: auto;
  }

  .section-head--row {
    flex-direction: column;
    align-items: flex-start;
  }

  .shop-layout {
    grid-template-columns: 1fr;
  }

  .shop-sidebar {
    position: static;
  }

  .filters {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 1rem;
  }

  .filters .field:first-child,
  .filters .filter-links,
  .filters .btn {
    grid-column: 1 / -1;
  }

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

  .product-gallery {
    position: static;
    max-width: 620px;
    margin-inline: auto;
  }

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

  .cart-layout,
  .checkout-layout,
  .contact-layout,
  .reviews-layout {
    grid-template-columns: 1fr;
  }

  .cart-summary,
  .checkout-summary,
  .review-form-wrap,
  .page-aside {
    position: static;
  }

  .page-layout {
    grid-template-columns: 1fr;
  }

  .page-aside {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid > div:last-child {
    grid-column: auto;
    max-width: none;
  }
}

@media (max-width: 720px) {
  .section {
    padding: 3rem 0;
  }

  .hero {
    min-height: clamp(460px, 68vh, 600px);
  }

  @supports (height: 100svh) {
    .hero {
      min-height: clamp(460px, 68svh, 600px);
    }
  }

  .hero-bg {
    object-position: 60% center;
  }

  .hero-facts {
    gap: 1.3rem;
  }

  .hero-facts dd {
    font-size: 1.25rem;
  }

  .cat-grid {
    grid-template-columns: 1fr;
  }

  .cat-card {
    min-height: 200px;
  }

  .cat-card img {
    min-height: 200px;
  }

  .product-grid,
  .shop-main .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pcard-title {
    font-size: 0.88rem;
  }

  .quick-add-form {
    position: static;
    padding: 0 0.8rem 0.8rem;
    opacity: 1;
    transform: none;
  }

  .pcard-media {
    border-radius: var(--radius) var(--radius) 0 0;
  }

  a.quick-add {
    position: static;
    margin: 0 0.8rem 0.8rem;
    opacity: 1;
    transform: none;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

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

  .newsletter-row {
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-actions {
    justify-content: stretch;
  }

  .cookie-actions .btn {
    flex: 1;
  }

  .cart-table thead {
    display: none;
  }

  .cart-table,
  .cart-table tbody,
  .cart-table tr,
  .cart-table td {
    display: block;
    width: 100%;
  }

  .cart-table tr {
    position: relative;
    padding: 1rem 0 1.4rem;
    border-bottom: 1px solid var(--line-soft);
  }

  .cart-table td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.25rem 0;
    border: 0;
    text-align: right;
  }

  .cart-table td[data-label]::before {
    content: attr(data-label);
    color: var(--muted-2);
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .cart-product {
    justify-content: flex-start;
    text-align: left;
  }

  .cart-table td:last-child {
    position: absolute;
    top: 0.5rem;
    right: 0;
    width: auto;
    padding: 0;
  }

  .product-specs div {
    grid-template-columns: 1fr;
    gap: 0.1rem;
  }

  .trust-list {
    gap: 0.3rem;
  }

  .product-buy .btn {
    min-width: 0;
    width: 100%;
  }

  .page-aside {
    grid-template-columns: 1fr;
  }

  .success-card,
  .paypal-card {
    padding: 1.4rem;
  }

  .success-meta {
    grid-template-columns: 1fr 1fr;
  }

  .error-search {
    flex-direction: column;
  }

  .rating-input label {
    font-size: 1.6rem;
  }

  .to-top {
    right: 1rem;
    bottom: 1rem;
  }

  .toast-region {
    right: 1rem;
    bottom: 1rem;
    width: calc(100vw - 2rem);
  }
}

/* Хоризонтален скрол за широки таблици в правните страници. */
.table-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* На най-малките екрани скриваме подзаглавието на логото, за да не
   избутва действието на хедъра извън екрана (особено при EN текста). */
@media (max-width: 380px) {
  .brand .logo {
    font-size: 1.3rem;
  }

  .brand {
    gap: 0.4rem;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .brand small {
    display: none;
  }
}

@media (max-width: 480px) {
  .product-grid,
  .shop-main .product-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin-inline: auto;
  }

  .filters {
    grid-template-columns: 1fr;
  }

  .filters .field:first-child,
  .filters .filter-links,
  .filters .btn {
    grid-column: auto;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .header-actions {
    gap: 0;
  }

  .lang-switch {
    display: none;
  }

  .cart-actions {
    flex-direction: column;
  }

  .cart-actions .btn {
    width: 100%;
  }

  .checkout-summary {
    padding: 1.1rem;
  }

  .success-meta {
    grid-template-columns: 1fr;
  }

  .pagination .page-link {
    min-width: 36px;
    height: 36px;
  }
}

/* Малки телефони: по-компактно лого, за да не избутва действията в EN. */
@media (min-width: 381px) and (max-width: 480px) {
  .brand {
    gap: 0.4rem;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .brand small {
    font-size: 0.5rem;
    letter-spacing: 0.14em;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .marquee-track {
    animation: none;
  }
}

@media print {
  .site-header,
  .site-footer,
  .announce,
  .to-top,
  .cookie-banner,
  .toast-region,
  .newsletter,
  .shop-sidebar,
  .btn {
    display: none !important;
  }

  body {
    background: #fff;
    color: #111;
  }

  a {
    color: #111;
    text-decoration: underline;
  }
}

/* =========================================================
   2026 UX/CRO подобрения — начало и продуктова страница
   ========================================================= */
:root {
  --muted-2: #9a958c;
}

/* Reveal: съдържанието е видимо и без JavaScript. */
.reveal {
  opacity: 1;
  transform: none;
}
html.js .reveal:not(.visible) {
  opacity: 0;
  transform: translateY(16px);
}

/* Touch targets — минимум 44×44 px. */
.icon-btn {
  min-width: 44px;
  min-height: 44px;
}
.btn-sm,
.quick-add {
  min-height: 44px;
}
.qty button {
  width: 44px;
}
.qty--sm button,
.qty--sm input {
  width: 44px;
  min-height: 44px;
}
.zoom-hint {
  min-width: 44px;
  height: 44px;
}
.brand {
  min-height: 44px;
  justify-content: center;
}
.mobile-nav nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
}
.lang-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  min-height: 32px;
}

/* ---------- Trust bar под hero ---------- */
.trust-bar {
  border-block: 1px solid var(--line-soft);
  background: var(--bg-2);
}
.trust-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  padding-block: 1.1rem;
}
.trust-bar-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}
.trust-bar-item .ic {
  flex: none;
  width: 24px;
  height: 24px;
  color: var(--gold);
}
.trust-bar-item b {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.3;
}
.trust-bar-item span {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.4;
}

/* ---------- Категории: брой изделия ---------- */
.cat-info {
  position: absolute;
  right: 1.2rem;
  bottom: 1.1rem;
  left: 1.2rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.cat-info .cat-name {
  position: static;
  right: auto;
  bottom: auto;
  left: auto;
}
.cat-count {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}
.cat-card:hover .cat-count {
  color: var(--gold-light);
}

/* ---------- Отзиви: празно състояние с покана ---------- */
.review-invite {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--surface), var(--bg-2));
}
.review-invite-copy h3 {
  margin-bottom: 0.5rem;
}
.review-invite-copy p {
  color: var(--muted);
}
.check-list,
.newsletter-benefits,
.buy-assurance,
.product-benefits {
  margin: 0;
  padding: 0;
  list-style: none;
}
.check-list {
  display: grid;
  gap: 0.45rem;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.check-list .ic {
  flex: none;
  margin-top: 0.2rem;
  color: var(--gold);
}
.review-invite-card {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg);
  text-align: center;
}
.review-invite-stars {
  color: var(--gold);
  font-size: 1.6rem;
  letter-spacing: 0.18em;
}
.review-invite-card p {
  margin: 0.5rem 0 1rem;
  color: var(--muted);
}
.review-invite-card small {
  display: block;
  margin-top: 0.7rem;
  color: var(--muted);
}
.review-empty {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.4rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--bg-2);
}
.review-empty h3 {
  margin-bottom: 0.25rem;
}
.review-empty p {
  margin: 0;
  color: var(--muted);
}

/* ---------- Newsletter ползи ---------- */
.newsletter-benefits {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 1.4rem;
  margin: 0 0 1.2rem;
  color: var(--muted);
  font-size: 0.88rem;
}
.newsletter-benefits li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.newsletter-benefits .ic {
  color: var(--gold);
}

/* ---------- Продуктова страница ---------- */
.price-note {
  margin: -0.35rem 0 0.9rem;
  color: var(--muted);
  font-size: 0.82rem;
}
.stock-note {
  margin-left: 0.5rem;
  color: var(--muted);
  font-size: 0.8rem;
}
.buy-assurance {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.1rem;
  margin: 0.9rem 0 1.1rem;
  color: var(--muted);
  font-size: 0.82rem;
}
.buy-assurance li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.buy-assurance .ic {
  color: var(--gold);
}
.personalise-note {
  margin: 1.1rem 0;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--bg-2);
}
.personalise-note p {
  margin: 0.25rem 0 0.5rem;
  color: var(--muted);
  font-size: 0.88rem;
}
.personalise-note .text-link {
  font-size: 0.88rem;
}
.gallery-note {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0.6rem 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}
.gallery-note .ic {
  color: var(--gold);
}
.zoom-hint span {
  margin-left: 0.35rem;
  font-size: 0.75rem;
}
.product-benefits {
  display: grid;
  gap: 0.55rem;
  margin: 1.2rem 0 0;
}
.product-benefits li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.product-benefits .ic {
  flex: none;
  color: var(--gold);
}

/* Sticky add-to-cart — само на малки екрани. */
.sticky-buy {
  display: none;
}
@media (max-width: 720px) {
  body.sticky-buy-visible {
    padding-bottom: 5.5rem;
  }
  .sticky-buy.is-visible {
    position: fixed;
    right: 0.75rem;
    bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
    left: 0.75rem;
    z-index: 95;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    padding: 0.6rem 0.7rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(19, 19, 24, 0.96);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
  }
  .sticky-buy-price b {
    display: block;
    font-size: 1rem;
  }
  .sticky-buy-price span {
    display: block;
    color: var(--muted);
    font-size: 0.72rem;
  }
  .sticky-buy .btn {
    flex: none;
    min-height: 44px;
    padding-inline: 0.9rem;
  }
}

@media (max-width: 900px) {
  .trust-bar-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem 1.2rem;
  }
  .review-invite {
    grid-template-columns: 1fr;
  }
}

/* Cross-sell в количката */
.cart-crosssell {
  margin-top: clamp(2rem, 5vw, 3.5rem);
  padding-top: 2rem;
  border-top: 1px solid var(--line-soft);
}
.cart-crosssell h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  font-weight: 500;
  margin-bottom: 1.2rem;
}
.crosssell-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.crosssell-card {
  display: grid;
  gap: 0.55rem;
  color: inherit;
}
.crosssell-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid var(--line-soft);
  background: var(--bg-3);
}
.crosssell-card span {
  font-size: 0.88rem;
  line-height: 1.4;
  color: var(--text);
}
.crosssell-card b {
  color: var(--gold-light);
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .crosssell-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .trust-bar-grid {
    grid-template-columns: 1fr;
  }
  .review-empty {
    flex-direction: column;
    align-items: flex-start;
  }
  .crosssell-grid {
    grid-template-columns: 1fr;
    max-width: 22rem;
  }
}
