:root {
  --bg: #050607;
  --bg-soft: #090b0d;
  --surface: #0d1012;
  --surface-2: #121518;
  --surface-3: #171b1f;
  --line: rgba(214, 159, 52, 0.27);
  --line-strong: rgba(228, 174, 66, 0.58);
  --gold: #d8a23a;
  --gold-light: #f0c86a;
  --gold-pale: #f8df9a;
  --amber: #a96313;
  --text: #f4efe5;
  --muted: #aaa397;
  --success: #50b768;
  --danger: #e36a65;
  --shadow: 0 20px 55px rgba(0, 0, 0, 0.42);
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 78% 5%, rgba(160, 91, 10, 0.09), transparent 27%),
    radial-gradient(circle at 12% 32%, rgba(216, 162, 58, 0.045), transparent 25%),
    var(--bg);
  font-family: Tahoma, Arial, sans-serif;
  line-height: 1.75;
  direction: rtl;
  -webkit-font-smoothing: antialiased;
}

body.no-scroll {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

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

::selection {
  color: #181009;
  background: var(--gold-light);
}

.container {
  width: min(calc(100% - 36px), var(--container));
  margin-inline: auto;
}

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

.section {
  padding-block: 76px;
}

.section--tight {
  padding-block: 42px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 7px;
  color: var(--gold-light);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.section-kicker::before {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--gold);
}

.section-title {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.45rem);
  line-height: 1.3;
  color: var(--gold-pale);
}

.section-copy {
  max-width: 600px;
  margin: 8px 0 0;
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-light);
  font-weight: 700;
}

.text-link:hover {
  color: #fff1c7;
}

.icon {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.icon--solid {
  fill: currentColor;
  stroke: none;
}

.btn {
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 800;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

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

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.btn--gold {
  color: #1a1209;
  background: linear-gradient(135deg, #f0cb6f, #c88b25);
  box-shadow: 0 12px 30px rgba(197, 135, 31, 0.22);
}

.btn--gold:hover {
  background: linear-gradient(135deg, #f8d984, #d49a32);
}

.btn--outline {
  color: var(--gold-light);
  background: rgba(8, 10, 11, 0.75);
  border-color: var(--line-strong);
}

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

.btn--ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(255, 255, 255, 0.1);
}

.btn--block {
  width: 100%;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 26px;
  padding: 2px 10px;
  border-radius: 999px;
  color: #1b1208;
  background: linear-gradient(135deg, #f4d27d, #c88926);
  font-size: 0.72rem;
  font-weight: 800;
}

/* Header */
.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  background: rgba(4, 5, 6, 0.93);
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(18px);
}

.header-main {
  min-height: 82px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 22px;
}

.brand {
  grid-column: 2;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-self: center;
}

.brand img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(216, 162, 58, 0.14));
}

.brand__text {
  display: grid;
  gap: 0;
  line-height: 1.3;
}

.brand__text strong {
  color: var(--gold-light);
  font-size: clamp(1rem, 2vw, 1.45rem);
  white-space: nowrap;
}

.brand__text span {
  color: #dcb55e;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  direction: ltr;
  text-align: right;
}

.header-actions {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 7px;
}

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

.icon-btn:hover {
  color: var(--gold-light);
  background: rgba(216, 162, 58, 0.07);
  border-color: var(--line);
}

.cart-count {
  position: absolute;
  top: 0;
  left: -2px;
  min-width: 18px;
  height: 18px;
  padding-inline: 4px;
  display: grid;
  place-items: center;
  color: #130e07;
  background: var(--gold-light);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 900;
}

.menu-toggle {
  display: none;
}

.site-nav {
  border-top: 1px solid rgba(255, 255, 255, 0.045);
}

.nav-list {
  min-height: 46px;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 4vw, 58px);
}

.nav-list a {
  position: relative;
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  color: #d6d0c6;
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

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

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

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

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background:
    linear-gradient(90deg, rgba(4, 5, 6, 0.18), rgba(4, 5, 6, 0.98) 70%),
    radial-gradient(circle at 26% 35%, rgba(190, 111, 17, 0.13), transparent 35%),
    #070809;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  pointer-events: none;
  background: linear-gradient(transparent, rgba(4, 5, 6, 0.94));
}

.hero-grid {
  position: relative;
  z-index: 1;
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.35fr);
  align-items: center;
  gap: 20px;
}

.hero-copy {
  padding-block: 64px 90px;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--gold-light);
  font-weight: 800;
}

.hero-label::before {
  content: "";
  width: 38px;
  height: 1px;
  background: var(--gold);
}

.hero h1 {
  max-width: 600px;
  margin: 0 0 18px;
  color: #f7dfa1;
  font-size: clamp(2.75rem, 6vw, 5.25rem);
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.hero p {
  max-width: 530px;
  margin: 0 0 30px;
  color: #d2ccc1;
  font-size: clamp(1rem, 2vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-trust {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-size: 0.86rem;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-trust .icon {
  width: 18px;
  color: var(--gold-light);
}

.hero-visual {
  position: relative;
  align-self: stretch;
  min-height: 500px;
  overflow: hidden;
  margin-inline-start: -70px;
}

.hero-visual::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 55%, #070809 100%);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.05) contrast(1.03);
}

/* Categories */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.category-card {
  position: relative;
  min-height: 235px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.018);
  isolation: isolate;
}

.category-card::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 6, 7, 0.14), rgba(5, 6, 7, 0.95) 88%);
}

.category-card::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 -80px 90px rgba(0, 0, 0, 0.72);
  pointer-events: none;
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease, filter 0.45s ease;
}

.category-card:hover img {
  transform: scale(1.065);
  filter: saturate(1.15);
}

.category-content {
  position: absolute;
  z-index: 3;
  inset: auto 18px 18px;
}

.category-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 9px;
  display: grid;
  place-items: center;
  color: var(--gold-light);
  background: rgba(9, 10, 11, 0.74);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  backdrop-filter: blur(8px);
}

.category-content h3 {
  margin: 0;
  color: #fff0c2;
  font-size: 1.12rem;
}

.category-content p {
  margin: 2px 0 0;
  color: #d4cec4;
  font-size: 0.84rem;
}

/* Products */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
}

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

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

.product-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: linear-gradient(180deg, #111416, #0a0c0e);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.28);
}

.product-card__media {
  position: relative;
  aspect-ratio: 1.22 / 1;
  overflow: hidden;
  background: #0b0d0e;
}

.product-card__media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  background: linear-gradient(transparent, #0d0f11);
  pointer-events: none;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .product-card__media img {
  transform: scale(1.04);
}

.product-badge {
  position: absolute;
  z-index: 3;
  top: 12px;
  right: 12px;
}

.product-fav {
  position: absolute;
  z-index: 3;
  top: 10px;
  left: 10px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #efe8dc;
  background: rgba(5, 6, 7, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  backdrop-filter: blur(8px);
}

.product-fav:hover,
.product-fav.active {
  color: var(--gold-light);
  border-color: var(--line-strong);
}

.product-card__body {
  padding: 16px;
}

.product-category {
  color: var(--gold);
  font-size: 0.75rem;
}

.product-title {
  margin: 3px 0 6px;
  color: #fff0c7;
  font-size: 1.04rem;
  line-height: 1.45;
}

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

.rating {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #8f897f;
  font-size: 0.75rem;
}

.stars {
  color: #f2b93f;
  letter-spacing: 1px;
  direction: ltr;
}

.product-price-row {
  margin: 10px 0 13px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.product-price {
  color: #fff3d2;
  font-size: 1.08rem;
  font-weight: 900;
}

.product-old-price {
  color: #78736b;
  font-size: 0.75rem;
  text-decoration: line-through;
}

.product-card__actions {
  display: grid;
  grid-template-columns: 1fr 42px;
  gap: 8px;
}

.product-card__actions .btn {
  min-height: 42px;
  padding-inline: 12px;
  font-size: 0.84rem;
}

.quick-view {
  width: 42px;
  min-height: 42px;
  padding: 0;
  display: grid;
  place-items: center;
  color: var(--gold-light);
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
}

.quick-view:hover {
  color: #161008;
  background: var(--gold-light);
}

.product-grid.list-view .product-card {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
}

.product-grid.list-view .product-card__media {
  height: 100%;
  aspect-ratio: auto;
}

.product-grid.list-view .product-card__body {
  align-self: center;
}

/* Benefits */
.benefits {
  border-block: 1px solid rgba(255, 255, 255, 0.055);
  background: linear-gradient(180deg, rgba(16, 18, 20, 0.92), rgba(8, 10, 11, 0.92));
}

.benefit-grid {
  min-height: 122px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
}

.benefit-item {
  min-height: 70px;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 15px;
  border-left: 1px solid rgba(255, 255, 255, 0.075);
}

.benefit-item:last-child {
  border-left: 0;
}

.benefit-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--gold-light);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
}

.benefit-item h3 {
  margin: 0;
  color: #f5dc98;
  font-size: 0.98rem;
}

.benefit-item p {
  margin: 1px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.55;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.testimonial {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(20, 23, 26, 0.98), rgba(9, 11, 12, 0.98));
}

.testimonial__top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}

.avatar {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  color: #1d1308;
  background: linear-gradient(135deg, #f4d37f, #b8751c);
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  font-weight: 900;
}

.testimonial h3 {
  margin: 0;
  color: #f7e5b0;
  font-size: 0.98rem;
}

.testimonial small {
  color: var(--muted);
}

.testimonial p {
  margin: 0 0 14px;
  color: #d5cfc5;
  font-size: 0.9rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.065);
  background: #070809;
}

.footer-main {
  padding-block: 54px 40px;
  display: grid;
  grid-template-columns: 1.25fr 0.8fr 0.8fr 1.05fr;
  gap: 38px;
}

.footer-brand .brand {
  grid-column: auto;
  justify-self: start;
  margin-bottom: 15px;
}

.footer-brand p,
.footer-col p {
  color: var(--muted);
  font-size: 0.85rem;
}

.footer-col h3 {
  margin: 0 0 13px;
  color: var(--gold-light);
  font-size: 1rem;
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 7px;
}

.footer-links a {
  color: #b7b0a5;
  font-size: 0.84rem;
}

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

.socials {
  display: flex;
  gap: 8px;
  margin-top: 15px;
}

.socials a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #d9d2c7;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

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

.newsletter-form {
  display: grid;
  gap: 9px;
  margin-top: 14px;
}

.form-control {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  color: var(--text);
  background: #0d0f11;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

textarea.form-control {
  min-height: 110px;
  padding-block: 12px;
  resize: vertical;
}

.form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(216, 162, 58, 0.09);
}

.form-control::placeholder {
  color: #777269;
}

.footer-bottom {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.055);
  color: #928c82;
  font-size: 0.76rem;
}

.payment-logos {
  display: flex;
  align-items: center;
  gap: 12px;
  direction: ltr;
}

.payment-chip {
  min-height: 27px;
  padding: 2px 9px;
  display: inline-flex;
  align-items: center;
  color: #eee9df;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 800;
}

/* Page banner */
.page-banner {
  min-height: 190px;
  display: grid;
  place-items: center;
  text-align: center;
  background:
    linear-gradient(rgba(4, 5, 6, 0.35), rgba(4, 5, 6, 0.93)),
    url("../images/catalog-banner.png") center / cover no-repeat;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.page-banner h1 {
  margin: 0;
  color: var(--gold-pale);
  font-size: clamp(2.2rem, 5vw, 3.75rem);
}

.page-banner p {
  margin: 5px 0 0;
  color: #d2ccc2;
}

.breadcrumbs {
  padding-block: 18px;
  color: #89837a;
  font-size: 0.82rem;
}

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

/* Shop */
.shop-layout {
  padding-bottom: 70px;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.filters {
  position: sticky;
  top: 150px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #111416, #0a0c0e);
}

.filters-head {
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--gold-light);
  border-bottom: 1px solid rgba(255, 255, 255, 0.065);
}

.filters-head [data-close-filters] {
  display: none;
}

.filters-section {
  padding: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.filters-section:last-child {
  border-bottom: 0;
}

.filters-section h3 {
  margin: 0 0 12px;
  color: #f0d68d;
  font-size: 0.95rem;
}

.check-list {
  display: grid;
  gap: 9px;
}

.check-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #bbb4a9;
  font-size: 0.84rem;
}

.check-row label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.check-row input {
  accent-color: var(--gold);
}

.range-row {
  display: grid;
  gap: 8px;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--gold);
}

.price-range-labels {
  display: flex;
  justify-content: space-between;
  color: #948e84;
  font-size: 0.76rem;
}

.rating-filter {
  display: grid;
  gap: 7px;
}

.rating-option {
  width: 100%;
  padding: 7px 8px;
  display: flex;
  justify-content: space-between;
  color: #d3ccc1;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 7px;
}

.rating-option:hover,
.rating-option.active {
  background: rgba(216, 162, 58, 0.07);
  border-color: var(--line);
}

.shop-toolbar {
  margin-bottom: 14px;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto;
  gap: 10px;
}

.search-box {
  position: relative;
}

.search-box .form-control {
  padding-left: 45px;
}

.search-box .icon {
  position: absolute;
  top: 50%;
  left: 14px;
  color: var(--gold-light);
  transform: translateY(-50%);
}

.select-control {
  min-width: 175px;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--gold) 50%),
    linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position:
    calc(14px) calc(50% - 2px),
    calc(9px) calc(50% - 2px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-left: 28px;
}

.view-switch {
  display: flex;
  gap: 7px;
}

.view-switch button {
  width: 48px;
  min-height: 48px;
  display: grid;
  place-items: center;
  color: #aaa39a;
  background: #0d0f11;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9px;
}

.view-switch button.active,
.view-switch button:hover {
  color: #171008;
  background: var(--gold-light);
  border-color: var(--gold-light);
}

.category-chips {
  margin-bottom: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  min-height: 40px;
  padding: 0 15px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #c5beb3;
  background: #0d0f11;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9px;
}

.chip:hover,
.chip.active {
  color: #1a1108;
  background: var(--gold-light);
  border-color: var(--gold-light);
}

.shop-result-meta {
  margin: 5px 0 18px;
  color: #8f887e;
  font-size: 0.82rem;
}

.empty-state {
  min-height: 320px;
  padding: 40px;
  display: grid;
  place-items: center;
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
}

.pagination {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  gap: 7px;
}

.pagination button,
.pagination a {
  min-width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: #c6bfb5;
  background: #0d0f11;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

.pagination .active,
.pagination button:hover,
.pagination a:hover {
  color: #1b1208;
  background: var(--gold-light);
  border-color: var(--gold-light);
}

.filters-toggle-mobile {
  display: none;
}

/* Product detail */
.product-detail {
  padding-bottom: 35px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: start;
}

.product-info,
.product-gallery,
.product-tabs,
.product-facts {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #111416, #090b0d);
}

.product-info {
  padding: 30px;
}

.product-info h1 {
  margin: 5px 0 2px;
  color: #f7e0a1;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.3;
}

.product-subtitle {
  color: #bfb8ad;
}

.product-description {
  margin-block: 14px;
  color: #aaa49a;
  font-size: 0.92rem;
}

.stock {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--success);
  font-size: 0.88rem;
}

.stock::before {
  content: "";
  width: 8px;
  height: 8px;
  background: currentColor;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(80, 183, 104, 0.08);
}

.detail-price {
  margin-block: 12px 2px;
  color: #f5d57c;
  font-size: 2rem;
  font-weight: 900;
}

.tax-note {
  color: #7f7a72;
  font-size: 0.75rem;
}

.option-label {
  margin: 22px 0 9px;
  color: #d8d0c4;
  font-size: 0.88rem;
  font-weight: 700;
}

.size-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.size-option {
  min-height: 62px;
  padding: 8px;
  color: #cac3b8;
  background: #0b0d0f;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9px;
}

.size-option span {
  display: block;
  color: #8c867e;
  font-size: 0.75rem;
}

.size-option.active,
.size-option:hover {
  color: #f5d67d;
  border-color: var(--gold);
  background: rgba(216, 162, 58, 0.06);
}

.buy-row {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 10px;
}

.qty-control {
  min-height: 50px;
  display: grid;
  grid-template-columns: 38px 1fr 38px;
  align-items: center;
  overflow: hidden;
  color: var(--text);
  background: #0b0d0f;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 9px;
}

.qty-control button {
  height: 100%;
  color: var(--gold-light);
  background: transparent;
  border: 0;
  font-size: 1.3rem;
}

.qty-control button:hover {
  background: rgba(216, 162, 58, 0.08);
}

.qty-control span {
  text-align: center;
}

.buy-now {
  margin-top: 9px;
}

.product-gallery {
  padding: 14px;
}

.main-product-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.33 / 1;
  border-radius: 12px;
  background: #080a0b;
}

.main-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-badge {
  position: absolute;
  top: 14px;
  right: 14px;
}

.thumbnails {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.thumbnail {
  padding: 0;
  aspect-ratio: 1 / 0.85;
  overflow: hidden;
  background: #090b0d;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

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

.thumbnail.active,
.thumbnail:hover {
  border-color: var(--gold);
}

.product-perks {
  margin-block: 18px 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.product-perk {
  min-height: 82px;
  padding: 13px;
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 12px;
  background: #0b0d0f;
}

.product-perk .icon {
  color: var(--gold-light);
}

.product-perk strong {
  display: block;
  color: #ead28d;
  font-size: 0.86rem;
}

.product-perk small {
  color: #8c867e;
}

.product-lower-grid {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 18px;
}

.product-facts,
.product-tabs {
  padding: 24px;
}

.product-facts ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 13px;
}

.product-facts li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #9e988f;
  font-size: 0.84rem;
}

.product-facts strong {
  color: #ded7cc;
  font-weight: 700;
}

.tabs-nav {
  display: flex;
  gap: 24px;
  margin-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tab-btn {
  position: relative;
  min-height: 48px;
  padding: 0 2px;
  color: #aaa49b;
  background: transparent;
  border: 0;
}

.tab-btn::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  width: 0;
  height: 2px;
  background: var(--gold);
}

.tab-btn.active {
  color: var(--gold-light);
}

.tab-btn.active::after {
  width: 100%;
}

.tab-panel {
  display: none;
  color: #b5aea4;
  font-size: 0.9rem;
}

.tab-panel.active {
  display: block;
}

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

.check-points li::before {
  content: "✓";
  margin-left: 8px;
  color: var(--gold-light);
  font-weight: 900;
}

/* Checkout */
.checkout-stepper {
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: #8d877e;
}

.step {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.step-num {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

.step.active {
  color: var(--gold-light);
  font-weight: 800;
}

.step.active .step-num {
  color: #171008;
  background: var(--gold-light);
  border-color: var(--gold-light);
}

.step-line {
  width: 70px;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.75fr);
  gap: 20px;
  align-items: start;
}

.checkout-card {
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #111416, #090b0d);
}

.checkout-card + .checkout-card {
  margin-top: 18px;
}

.card-title-row {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.card-title-row h2 {
  margin: 0;
  color: var(--gold-light);
  font-size: 1.25rem;
}

.card-title-row .icon {
  color: var(--gold-light);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.field {
  display: grid;
  gap: 7px;
}

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

.field label {
  color: #d4cdc2;
  font-size: 0.84rem;
}

.required {
  color: var(--danger);
}

.shipping-options,
.payment-options {
  display: grid;
  gap: 10px;
}

.shipping-option,
.payment-option {
  position: relative;
}

.shipping-option input,
.payment-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.shipping-option label,
.payment-option label {
  min-height: 74px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: #c9c2b7;
  background: #0b0d0f;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  cursor: pointer;
}

.shipping-option input:checked + label,
.payment-option input:checked + label {
  color: #f0d68f;
  border-color: var(--gold);
  background: rgba(216, 162, 58, 0.055);
}

.shipping-option strong,
.payment-option strong {
  display: block;
}

.shipping-option small,
.payment-option small {
  display: block;
  color: #888279;
}

.payment-options {
  grid-template-columns: repeat(4, 1fr);
}

.payment-option label {
  min-height: 135px;
  padding: 16px 12px;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.payment-option .icon {
  width: 30px;
  height: 30px;
  color: var(--gold-light);
}

.coupon-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.order-summary {
  position: sticky;
  top: 150px;
}

.summary-items {
  display: grid;
  gap: 13px;
}

.summary-item {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding-bottom: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.summary-item img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.summary-item h3 {
  margin: 0;
  color: #ead59a;
  font-size: 0.84rem;
}

.summary-item small {
  color: #8e887f;
}

.summary-item-price {
  color: #f2e4bd;
  font-size: 0.82rem;
  white-space: nowrap;
}

.summary-totals {
  margin-top: 16px;
  display: grid;
  gap: 10px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #aaa49b;
  font-size: 0.88rem;
}

.summary-row.discount {
  color: var(--success);
}

.summary-row.total {
  margin-top: 5px;
  padding-top: 14px;
  color: var(--gold-light);
  border-top: 1px solid var(--line);
  font-size: 1.17rem;
  font-weight: 900;
}

.summary-note {
  margin: 2px 0 0;
  color: #7f7a72;
  font-size: 0.72rem;
}

/* Cart drawer */
.overlay {
  position: fixed;
  z-index: 1990;
  inset: 0;
  visibility: hidden;
  opacity: 0;
  background: rgba(0, 0, 0, 0.67);
  backdrop-filter: blur(3px);
  transition: visibility 0.25s ease, opacity 0.25s ease;
}

.overlay.open {
  visibility: visible;
  opacity: 1;
}

.cart-drawer {
  position: fixed;
  z-index: 2000;
  top: 0;
  left: 0;
  width: min(430px, 92vw);
  height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  transform: translateX(-105%);
  background: #0a0c0e;
  border-right: 1px solid var(--line);
  box-shadow: 25px 0 70px rgba(0, 0, 0, 0.45);
  transition: transform 0.32s ease;
}

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

.cart-head {
  min-height: 72px;
  padding-inline: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.075);
}

.cart-head h2 {
  margin: 0;
  color: var(--gold-light);
  font-size: 1.2rem;
}

.cart-body {
  overflow-y: auto;
  padding: 18px;
}

.cart-items {
  display: grid;
  gap: 12px;
}

.cart-item {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 11px;
  background: #101315;
}

.cart-item img {
  width: 74px;
  height: 74px;
  object-fit: cover;
  border-radius: 8px;
}

.cart-item h3 {
  margin: 0 0 2px;
  color: #f0dda5;
  font-size: 0.86rem;
}

.cart-item-price {
  color: var(--gold-light);
  font-size: 0.8rem;
}

.cart-item .qty-control {
  width: 102px;
  min-height: 34px;
  margin-top: 7px;
  grid-template-columns: 30px 1fr 30px;
}

.remove-item {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #9d958b;
  background: transparent;
  border: 0;
  border-radius: 7px;
}

.remove-item:hover {
  color: var(--danger);
  background: rgba(227, 106, 101, 0.08);
}

.cart-empty {
  min-height: 55vh;
  display: grid;
  place-items: center;
  text-align: center;
  color: #8e887f;
}

.cart-empty .icon {
  width: 58px;
  height: 58px;
  margin-inline: auto;
  color: var(--gold);
}

.cart-footer {
  padding: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.075);
  background: #090b0d;
}

.cart-subtotal {
  margin-bottom: 13px;
  display: flex;
  justify-content: space-between;
  color: #d7d0c5;
}

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

.cart-footer-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

/* Modal + toast */
.modal {
  position: fixed;
  z-index: 2200;
  inset: 0;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
}

.modal.open {
  display: grid;
}

.modal-card {
  width: min(500px, 100%);
  padding: 34px;
  text-align: center;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background: linear-gradient(180deg, #15191c, #090b0d);
  box-shadow: var(--shadow);
}

.modal-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 15px;
  display: grid;
  place-items: center;
  color: #171008;
  background: var(--gold-light);
  border-radius: 50%;
}

.modal-icon .icon {
  width: 36px;
  height: 36px;
}

.modal-card h2 {
  margin: 0;
  color: #f6df9f;
}

.modal-card p {
  color: #aaa49a;
}

.toast-wrap {
  position: fixed;
  z-index: 2300;
  right: 20px;
  bottom: 20px;
  display: grid;
  gap: 8px;
  pointer-events: none;
}

.toast {
  min-width: 260px;
  max-width: 360px;
  padding: 13px 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ece6db;
  background: #15191c;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  box-shadow: var(--shadow);
  animation: toast-in 0.28s ease both;
}

.toast.success .icon {
  color: var(--success);
}

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

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

/* Responsive */
@media (max-width: 1050px) {
  .hero-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  }

  .hero-visual {
    margin-inline-start: -30px;
  }

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

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

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

  .footer-main .footer-col:last-child {
    grid-column: 1 / -1;
  }

  .shop-layout {
    grid-template-columns: 240px minmax(0, 1fr);
  }

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

@media (max-width: 860px) {
  .header-main {
    min-height: 72px;
    grid-template-columns: auto 1fr auto;
  }

  .brand {
    grid-column: 2;
  }

  .brand img {
    width: 50px;
    height: 50px;
  }

  .header-actions {
    grid-column: 3;
  }

  .header-actions .icon-btn:not(.cart-button) {
    display: none;
  }

  .menu-toggle {
    display: inline-grid;
    grid-column: 1;
    justify-self: start;
  }

  .site-nav {
    position: fixed;
    z-index: 1300;
    top: 72px;
    right: 0;
    width: min(340px, 88vw);
    height: calc(100vh - 72px);
    transform: translateX(105%);
    background: #090b0d;
    border-left: 1px solid var(--line);
    transition: transform 0.28s ease;
  }

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

  .nav-list {
    min-height: auto;
    padding: 20px;
    display: grid;
    justify-content: stretch;
    gap: 3px;
  }

  .nav-list a {
    min-height: 48px;
    padding-inline: 12px;
    border-radius: 8px;
  }

  .nav-list a:hover,
  .nav-list a.active {
    background: rgba(216, 162, 58, 0.07);
  }

  .nav-list a::after {
    display: none;
  }

  .hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-block: 60px 20px;
  }

  .hero-visual {
    min-height: 340px;
    margin: 0 -18px;
  }

  .hero-visual::before {
    background: linear-gradient(180deg, #070809 0, transparent 30%, #070809 100%);
  }

  .benefit-grid {
    grid-template-columns: repeat(2, 1fr);
    padding-block: 10px;
  }

  .benefit-item {
    border-left: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.065);
  }

  .benefit-item:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

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

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

  .filters-head [data-close-filters] {
    display: inline-grid;
  }

  .filters {
    position: fixed;
    z-index: 1600;
    top: 0;
    right: 0;
    width: min(350px, 90vw);
    height: 100vh;
    overflow-y: auto;
    transform: translateX(105%);
    border-radius: 0;
    transition: transform 0.28s ease;
  }

  .filters.open {
    transform: translateX(0);
  }

  .filters-toggle-mobile {
    display: inline-flex;
  }

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

  .shop-toolbar .select-control {
    grid-column: 1 / 2;
  }

  .shop-toolbar .view-switch {
    grid-column: 2;
    grid-row: 1;
  }

  .shop-toolbar .search-box {
    grid-column: 1 / -1;
    grid-row: 2;
  }

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

  .product-info {
    grid-row: 2;
  }

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

  .product-facts {
    order: 2;
  }

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

  .order-summary {
    position: static;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .section {
    padding-block: 54px;
  }

  .brand__text strong {
    font-size: 0.94rem;
  }

  .brand__text span {
    font-size: 0.62rem;
  }

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

  .hero-visual {
    min-height: 280px;
  }

  .category-grid,
  .product-grid,
  .product-grid.product-grid--shop {
    grid-template-columns: 1fr;
  }

  .category-card {
    min-height: 250px;
  }

  .product-grid.list-view .product-card {
    grid-template-columns: 120px minmax(0, 1fr);
  }

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

  .benefit-item,
  .benefit-item:nth-last-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.065);
  }

  .benefit-item:last-child {
    border-bottom: 0;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 30px 20px;
  }

  .footer-brand,
  .footer-main .footer-col:last-child {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    padding-block: 18px;
    flex-direction: column;
    align-items: flex-start;
  }

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

  .shop-toolbar .select-control,
  .shop-toolbar .view-switch,
  .shop-toolbar .search-box {
    grid-column: 1;
    grid-row: auto;
  }

  .shop-toolbar .view-switch {
    justify-content: flex-start;
  }

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

  .tabs-nav {
    overflow-x: auto;
    gap: 18px;
  }

  .tab-btn {
    white-space: nowrap;
  }

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

  .field--full {
    grid-column: auto;
  }

  .payment-options {
    grid-template-columns: 1fr 1fr;
  }

  .checkout-stepper {
    gap: 8px;
  }

  .step span:not(.step-num) {
    display: none;
  }

  .step-line {
    width: 32px;
  }

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

@media (max-width: 480px) {
  .brand img {
    width: 44px;
    height: 44px;
  }

  .brand__text strong {
    font-size: 0.82rem;
  }

  .brand__text span {
    letter-spacing: 0.08em;
  }

  .header-main {
    gap: 8px;
  }

  .hero-actions {
    display: grid;
  }

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

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

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

  .footer-brand,
  .footer-main .footer-col:last-child {
    grid-column: auto;
  }

  .size-options {
    grid-template-columns: 1fr;
  }

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

  .payment-options {
    grid-template-columns: 1fr;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* === PHP / bilingual production build additions === */
html[dir="ltr"] body { direction: ltr; }
html[dir="ltr"] .section-kicker::before { order: 0; }
html[dir="ltr"] .text-link .icon,
html[dir="ltr"] .hero-actions .icon { transform: scaleX(-1); }
html[dir="ltr"] .cart-drawer { right: auto; left: 0; transform: translateX(-105%); }
html[dir="ltr"] .cart-drawer.open { transform: translateX(0); }
html[dir="ltr"] .product-badge { right: auto; left: 14px; }
html[dir="ltr"] .adult-badge { left: auto; right: 14px; }

.language-switch {
  min-width: 42px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  background: rgba(255,255,255,.025);
  font-weight: 800;
  font-size: .78rem;
}
.language-switch:hover { border-color: var(--gold-light); color: #fff2c8; }
.admin-shortcut { display: inline-flex; }

.flash-stack { padding-top: 16px; }
.flash { min-height: 48px; padding: 12px 16px; border-radius: 12px; display: flex; align-items: center; gap: 10px; border: 1px solid; background: rgba(12,15,17,.96); box-shadow: var(--shadow); }
.flash + .flash { margin-top: 8px; }
.flash--success { color: #c9f7d2; border-color: rgba(80,183,104,.45); }
.flash--error { color: #ffd0cd; border-color: rgba(227,106,101,.45); }
.flash--warning { color: #ffe3a2; border-color: rgba(216,162,58,.45); }
.flash--info { color: #d9e8ff; border-color: rgba(108,157,220,.45); }
.flash .icon { width: 19px; height: 19px; }

.remove-inline-form { margin: 0; }
.cart-item small { color: var(--muted); }
.cart-drawer .cart-footer { position: relative; }

.adult-badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #1b1208;
  background: linear-gradient(135deg, #f4d27d, #c88926);
  border: 2px solid rgba(0,0,0,.35);
  font-size: .72rem;
  font-weight: 900;
}

.product-card__actions form { flex: 1; }
.product-card__actions form .btn { width: 100%; }
.product-card__actions .btn:disabled { color: var(--muted); }

.page-banner {
  min-height: 240px;
  display: grid;
  place-items: center;
  text-align: center;
  background:
    linear-gradient(90deg, rgba(5,6,7,.94), rgba(5,6,7,.62), rgba(5,6,7,.94)),
    url("../images/catalog-banner.png") center/cover no-repeat;
  border-bottom: 1px solid var(--line);
}
.page-banner h1 { margin: 0; color: var(--gold-pale); font-size: clamp(2rem, 5vw, 3.6rem); }
.page-banner p { margin: 8px 0 0; color: var(--muted); }

.shop-layout form.filters { align-self: start; }
.filter-form-actions { display: grid; gap: 10px; }
.filter-price-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.filter-price-inputs input { min-width: 0; }
.shop-toolbar form { display: contents; }
.shop-toolbar .search-box { min-width: 230px; }
.shop-result-meta { color: var(--muted); margin: 16px 0; }

.pagination a, .pagination span {
  width: 42px;
  height: 42px;
  border-radius: 9px;
  border: 1px solid rgba(255,255,255,.09);
  display: grid;
  place-items: center;
  color: var(--muted);
  background: var(--surface);
}
.pagination a:hover, .pagination .active { color: #171008; border-color: var(--gold); background: linear-gradient(135deg,#f0cb6f,#c88b25); }

.product-description { white-space: pre-line; }
.product-meta-list { display: grid; gap: 8px; margin: 18px 0; color: var(--muted); }
.product-meta-list strong { color: var(--text); }
.adult-warning {
  margin: 18px 0;
  padding: 14px 16px;
  border: 1px solid rgba(216,162,58,.42);
  border-radius: 12px;
  color: #ffe5ad;
  background: rgba(143,82,15,.12);
}
.rich-copy { white-space: pre-line; color: var(--muted); }
.rich-copy strong { color: var(--text); }

.cart-page-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(280px, .75fr); gap: 24px; align-items: start; }
.cart-table-card, .cart-summary-card, .content-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(18,21,24,.96), rgba(8,10,11,.96));
  box-shadow: var(--shadow);
}
.cart-table-card { overflow: hidden; }
.cart-line { display: grid; grid-template-columns: 90px minmax(0,1fr) 130px 120px 42px; gap: 18px; align-items: center; padding: 18px; border-bottom: 1px solid rgba(255,255,255,.07); }
.cart-line:last-child { border-bottom: 0; }
.cart-line img { width: 90px; height: 90px; border-radius: 12px; object-fit: contain; background: #0b0d0f; }
.cart-line h3 { margin: 0 0 4px; color: var(--gold-pale); }
.cart-line small { color: var(--muted); }
.cart-line-price { font-weight: 800; color: var(--gold-light); }
.cart-line-total { font-weight: 900; }
.cart-summary-card { padding: 24px; position: sticky; top: 122px; }
.cart-summary-card h2 { margin-top: 0; color: var(--gold-pale); }
.cart-summary-card .summary-row { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.07); }
.cart-summary-card .summary-row.total { border-bottom: 0; font-size: 1.15rem; }
.qty-control input { width: 54px; height: 38px; border: 0; color: var(--text); text-align: center; background: transparent; appearance: textfield; }
.qty-control input::-webkit-inner-spin-button { appearance: none; }

.checkout-notice { margin-bottom: 20px; }
.checkout-card .field-error { color: #ffaaa5; font-size: .8rem; }
.checkout-card input[type="checkbox"] { accent-color: var(--gold); }
.adult-confirm-row { display: flex; gap: 10px; align-items: flex-start; padding: 14px; border: 1px solid var(--line); border-radius: 12px; color: var(--muted); }
.payment-option label { height: 100%; }
.payment-hint { margin-top: 12px; color: var(--muted); font-size: .84rem; }

.success-page { min-height: 62vh; display: grid; place-items: center; padding-block: 70px; }
.success-card { width: min(100%, 620px); padding: 42px; border: 1px solid var(--line-strong); border-radius: 22px; text-align: center; background: linear-gradient(145deg, #111416, #07090a); box-shadow: var(--shadow); }
.success-icon { width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; color: #171008; background: linear-gradient(135deg,#f0cb6f,#c88b25); }
.success-icon .icon { width: 36px; height: 36px; }
.success-card h1 { color: var(--gold-pale); }
.success-number { padding: 12px 18px; margin: 22px 0; border-radius: 10px; display: inline-flex; gap: 10px; background: rgba(216,162,58,.12); border: 1px solid var(--line); }

.content-page { padding-block: 64px; }
.content-card { padding: clamp(24px, 5vw, 52px); }
.content-card h1 { margin-top: 0; color: var(--gold-pale); }
.content-card h2 { color: var(--gold-light); margin-top: 28px; }
.content-card p, .content-card li { color: var(--muted); }

.installer-body { min-height: 100vh; padding: 35px 0; background: radial-gradient(circle at 50% 0, rgba(216,162,58,.12), transparent 35%), #050607; }
.installer-shell { width: min(calc(100% - 28px), 880px); margin: auto; }
.installer-brand { margin-bottom: 22px; justify-content: center; }
.installer-card { padding: clamp(22px,4vw,42px); border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(145deg,#111416,#080a0b); box-shadow: var(--shadow); }
.installer-card h1 { margin-top: 0; color: var(--gold-pale); }
.installer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.installer-card .field--full { grid-column: 1/-1; }
.installer-help { padding: 14px 16px; border-radius: 12px; background: rgba(216,162,58,.08); color: var(--muted); border: 1px solid var(--line); }
.installer-success { text-align: center; }

.not-found { min-height: 55vh; display: grid; place-items: center; text-align: center; }
.not-found h1 { font-size: clamp(4rem,12vw,8rem); line-height: 1; color: var(--gold); margin: 0; }

@media (max-width: 900px) {
  .cart-page-grid { grid-template-columns: 1fr; }
  .cart-summary-card { position: static; }
  .cart-line { grid-template-columns: 72px minmax(0,1fr) 110px 42px; }
  .cart-line img { width:72px;height:72px; }
  .cart-line-total { display:none; }
  .admin-shortcut { display:none; }
}
@media (max-width: 680px) {
  .language-switch { height: 34px; min-width: 36px; padding:0 7px; }
  .cart-line { grid-template-columns: 62px minmax(0,1fr) 36px; gap:10px; }
  .cart-line img { width:62px;height:62px; }
  .cart-line .qty-control { grid-column: 2/3; }
  .cart-line-price { display:none; }
  .installer-grid { grid-template-columns: 1fr; }
  .installer-card .field--full { grid-column:auto; }
  .success-card { padding:28px 20px; }
}

/* V3 — floating WhatsApp contact */
.floating-whatsapp{position:fixed;z-index:90;right:22px;bottom:22px;display:flex;align-items:center;gap:9px;padding:13px 17px;border-radius:999px;background:#1fa855;color:#fff!important;text-decoration:none;font-weight:800;box-shadow:0 14px 34px rgba(0,0,0,.35);border:1px solid rgba(255,255,255,.18)}
html[dir="rtl"] .floating-whatsapp{right:auto;left:22px}.floating-whatsapp:hover{transform:translateY(-2px)}
@media(max-width:640px){.floating-whatsapp{right:14px;bottom:14px;padding:12px 14px}html[dir="rtl"] .floating-whatsapp{left:14px;right:auto}.floating-whatsapp span{display:none}}

/* V4 — real ratings only */
.rating--empty{color:var(--muted);font-size:.78rem;letter-spacing:0}
