:root {
  --bg: #f7f3ee;
  --paper: #fffdfa;
  --surface: rgba(255, 255, 255, 0.84);
  --surface-strong: rgba(255, 255, 255, 0.96);
  --surface-soft: rgba(250, 246, 241, 0.9);
  --text: #171410;
  --muted: #6c655f;
  --line: rgba(92, 71, 54, 0.14);
  --line-strong: rgba(92, 71, 54, 0.22);
  --bronze: #b98959;
  --bronze-dark: #684632;
  --bronze-soft: #e7d5bf;
  --success: #1c7f56;
  --danger: #a14334;
  --shadow-xs: 0 8px 18px rgba(45, 36, 25, 0.05);
  --shadow-sm: 0 16px 30px rgba(45, 36, 25, 0.07);
  --shadow: 0 22px 54px rgba(45, 36, 25, 0.1);
  --shadow-lg: 0 30px 80px rgba(45, 36, 25, 0.16);
  --radius-sm: 14px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 30px;
  --max: 1380px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(185, 137, 89, 0.09), transparent 28%),
    linear-gradient(180deg, #f7f3ee 0%, #fcfaf7 100%);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.modal-open,
body.mobile-drawer-open,
body.mega-menu-open {
  overflow: hidden;
}

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

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

svg {
  display: block;
}

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

button {
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid rgba(185, 137, 89, 0.55);
  outline-offset: 3px;
}

.container {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.section {
  padding: 72px 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 30px;
}

.section-head h1,
.section-head h2,
.checkout-head h2,
.cart-premium-head h2,
.account-hero h1,
.about-copy-card h1 {
  margin: 0 0 10px;
  font-size: clamp(32px, 4vw, 62px);
  line-height: 0.94;
  letter-spacing: -0.05em;
}

.section-head p,
.checkout-head p,
.cart-premium-head p,
.account-hero p,
.about-copy-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bronze-dark);
}

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

.price,
.premium-price,
.quick-view-price,
.cart-premium-line,
.summary-total,
.checkout-item-price {
  color: var(--bronze-dark);
  font-weight: 900;
  letter-spacing: -0.03em;
}

.flash {
  padding: 16px 18px;
  border-radius: var(--radius-md);
  margin-bottom: 18px;
  border: 1px solid transparent;
  box-shadow: var(--shadow-xs);
  line-height: 1.6;
}

.flash.ok {
  background: rgba(28, 127, 86, 0.1);
  border-color: rgba(28, 127, 86, 0.15);
  color: #15533b;
}

.flash.err {
  background: rgba(161, 67, 52, 0.08);
  border-color: rgba(161, 67, 52, 0.14);
  color: #7b3024;
}

.flash.warn {
  background: rgba(185, 137, 89, 0.1);
  border-color: rgba(185, 137, 89, 0.14);
  color: var(--bronze-dark);
}

.flash.info {
  background: rgba(79, 96, 120, 0.08);
  border-color: rgba(79, 96, 120, 0.12);
  color: #334153;
}

.btn,
.summary-btn-main,
.summary-btn-secondary,
.premium-btn-main,
.premium-btn-secondary,
.checkout-submit,
.quick-view-actions .btn,
.variant-add,
.variant-remove,
.quick-preview-btn,
.product-card-link-inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease,
    border-color 0.24s ease,
    background 0.24s ease,
    color 0.24s ease,
    opacity 0.24s ease;
  font-weight: 800;
  text-decoration: none;
}

.btn:hover,
.summary-btn-main:hover,
.summary-btn-secondary:hover,
.premium-btn-main:hover,
.premium-btn-secondary:hover,
.checkout-submit:hover,
.quick-view-actions .btn:hover,
.variant-add:hover,
.quick-preview-btn:hover,
.product-card-link-inline:hover {
  transform: translateY(-2px);
}

.btn,
.btn-bronze,
.summary-btn-main,
.premium-btn-main,
.checkout-submit,
.quick-view-actions .btn,
.variant-add {
  color: #fff;
  background: linear-gradient(135deg, #7b5338 0%, var(--bronze-dark) 100%);
  box-shadow: 0 18px 34px rgba(90, 61, 43, 0.18);
}

.btn-outline,
.summary-btn-secondary,
.premium-btn-secondary,
.product-card-link-inline {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.94);
}

.btn:disabled,
.checkout-submit:disabled,
.premium-btn-main:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.form-card,
.account-card,
.contact-card,
.contact-link-card,
.about-copy-card,
.about-media-card,
.admin-header-card,
.admin-table-card,
.preview-card,
.dashboard-card,
.kpi-card,
.checkout-form-card,
.checkout-summary,
.cart-premium-list,
.cart-premium-summary,
.premium-info-card,
.product-meta-card,
.product-rich-card,
.variant-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.form-card,
.account-card,
.about-copy-card,
.admin-table-card,
.dashboard-card,
.checkout-form-card,
.checkout-summary,
.cart-premium-list,
.cart-premium-summary,
.premium-info-card,
.product-rich-card,
.variant-box,
.contact-card,
.contact-link-card {
  padding: 28px;
}

.form-card {
  max-width: 720px;
}

.form-card h2,
.form-card h3,
.account-card h3,
.checkout-summary h3,
.cart-premium-summary h3,
.premium-info-card h3,
.variant-title,
.admin-header-card h1,
.dashboard-card h3,
.preview-card h3,
.contact-label,
.about-copy-card h2,
.product-rich-card h3 {
  margin: 0 0 14px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="url"],
input[type="file"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(185, 137, 89, 0.4);
  box-shadow: 0 0 0 4px rgba(185, 137, 89, 0.08);
}

textarea {
  min-height: 130px;
  resize: vertical;
}

input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--bronze-dark);
}

.auth-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.auth-link-strong {
  font-weight: 800;
  color: var(--bronze-dark);
}

.inline-help {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

.topbar {
  position: relative;
  z-index: 12;
  border-bottom: 1px solid rgba(92, 71, 54, 0.08);
  background: rgba(249, 244, 237, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.topbar .container {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

.glass-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 243, 238, 0.78);
  border-bottom: 1px solid rgba(92, 71, 54, 0.08);
  backdrop-filter: saturate(140%) blur(18px);
  -webkit-backdrop-filter: saturate(140%) blur(18px);
  box-shadow: 0 14px 36px rgba(45, 36, 25, 0.06);
}


.glass-header,
.header-wrap,
.header-top,
.header-bottom,
.brand,
.brand::before,
.brand-logo,
.brand img,
.brand.brand-has-logo,
.action-link,
.main-nav,
.nav-trigger,
.mega-menu {
  transition:
    padding 0.24s ease,
    gap 0.24s ease,
    min-height 0.24s ease,
    height 0.24s ease,
    width 0.24s ease,
    top 0.24s ease,
    box-shadow 0.24s ease,
    background 0.24s ease,
    border-color 0.24s ease,
    transform 0.24s ease;
}

body.header-scrolled .glass-header {
  background: rgba(247, 243, 238, 0.92);
  box-shadow: 0 10px 24px rgba(45, 36, 25, 0.08);
}

body.header-scrolled .header-wrap {
  gap: 8px;
  padding: 8px 0 10px;
}

body.header-scrolled .header-top {
  gap: 14px;
}

body.header-scrolled .brand {
  min-height: 116px;
}

body.header-scrolled .brand::before {
  inset: -8px;
}

body.header-scrolled .brand-logo,
body.header-scrolled .brand img {
  height: 104px;
  padding: 6px;
  box-shadow:
    0 12px 24px rgba(45, 36, 25, 0.13),
    0 0 0 6px rgba(185, 137, 89, 0.07);
}

.header-wrap {
  display: grid;
  gap: 14px;
  padding: 12px 0 16px;
}

.header-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
}

.header-bottom {
  display: flex;
  justify-content: center;
}

.mobile-menu-toggle {
  grid-column: 1;
  justify-self: start;
  width: 46px;
  height: 46px;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid rgba(92, 71, 54, 0.12);
  background: rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  box-shadow: var(--shadow-xs);
}

.mobile-menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
}

.brand {
  position: relative;
  grid-column: 2;
  justify-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 144px;
  isolation: isolate;
}

.brand-logo,
.brand img {
  height: 136px;
  max-height: none;
  width: auto;
  display: block;
  object-fit: contain;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.98);
  border: 2px solid rgba(185, 137, 89, 0.48);
  box-shadow:
    0 20px 38px rgba(45, 36, 25, 0.16),
    0 0 0 9px rgba(185, 137, 89, 0.09);
}

.brand::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(185, 137, 89, 0.12) 0%, rgba(185, 137, 89, 0.035) 58%, transparent 76%);
  z-index: -1;
  pointer-events: none;
}

.brand::after {
  display: none;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.logo-circle {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: radial-gradient(circle at top, #fff 0%, #e8dccf 100%);
  border: 2px solid rgba(185, 137, 89, 0.52);
  box-shadow: var(--shadow-sm);
  color: var(--bronze-dark);
  font-weight: 900;
  letter-spacing: 0.08em;
}

.brand-copy {
  display: grid;
  gap: 4px;
}

.brand-copy strong {
  font-size: 20px;
  line-height: 1;
  letter-spacing: -0.03em;
}

.brand-copy small {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (min-width: 769px) and (max-width: 1366px) {
  .header-wrap {
    gap: 12px;
    padding: 10px 0 14px;
  }

  .header-top {
    grid-template-columns: auto 1fr auto;
    gap: 16px;
  }

  .brand {
    justify-self: start;
    min-height: auto;
  }

  .brand::before,
  .brand.brand-has-logo::before {
    display: none;
  }

  .brand.brand-has-logo {
    min-width: 0;
    min-height: auto;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .brand.brand-has-logo .brand-logo,
  .brand.brand-has-logo img {
    height: clamp(96px, 10vw, 122px);
    width: auto;
    max-width: 100%;
    padding: 6px;
    background: rgba(255, 255, 255, 0.98);
    border: 2px solid rgba(185, 137, 89, 0.48);
    box-shadow:
      0 14px 28px rgba(45, 36, 25, 0.14),
      0 0 0 4px rgba(185, 137, 89, 0.07);
  }

  body.header-scrolled .brand.brand-has-logo {
    min-width: 0;
    min-height: auto;
    padding: 0;
    box-shadow: none;
  }

  body.header-scrolled .brand.brand-has-logo .brand-logo,
  body.header-scrolled .brand.brand-has-logo img {
    height: clamp(78px, 8vw, 98px);
    padding: 4px;
    box-shadow:
      0 10px 18px rgba(45, 36, 25, 0.13),
      0 0 0 3px rgba(185, 137, 89, 0.06);
  }

  .header-actions {
    gap: 8px;
  }

  .action-link {
    min-height: 42px;
    padding: 0 12px;
    font-size: 13px;
  }

  .main-nav {
    gap: 18px;
  }

  .nav-trigger {
    font-size: 13px;
  }
}

@media (max-width: 1366px) {
  .editorial-media,
  .about-media-card,
  .premium-main-image,
  .quick-view-media {
    display: grid;
    place-items: center;
    background: #f4efe8;
  }

  .editorial-media img,
  .about-media-card img,
  .premium-main-image img,
  .quick-view-media img {
    width: 100%;
    min-height: 0;
    height: auto;
    max-height: none;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    object-position: center center;
    background: #f4efe8;
  }
}



@media (min-width: 1367px) {
  .brand.brand-has-logo {
    min-width: 228px;
    min-height: 182px;
    padding: 8px 28px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.98);
    border: 2px solid rgba(185, 137, 89, 0.48);
    box-shadow:
      0 22px 42px rgba(45, 36, 25, 0.15),
      0 0 0 10px rgba(185, 137, 89, 0.08);
  }

  .brand.brand-has-logo::before {
    inset: -12px;
    background: radial-gradient(circle, rgba(185, 137, 89, 0.14) 0%, rgba(185, 137, 89, 0.045) 60%, transparent 78%);
  }

  .brand.brand-has-logo::after {
    display: none;
  }

  .brand.brand-has-logo .brand-logo,
  .brand.brand-has-logo img {
    height: 156px;
    width: auto;
    max-height: none;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  body.header-scrolled .brand.brand-has-logo {
    min-width: 196px;
    min-height: 144px;
    padding: 6px 22px;
    box-shadow:
      0 14px 28px rgba(45, 36, 25, 0.12),
      0 0 0 7px rgba(185, 137, 89, 0.06);
  }

  body.header-scrolled .brand.brand-has-logo::before {
    inset: -10px;
  }

  body.header-scrolled .brand.brand-has-logo .brand-logo,
  body.header-scrolled .brand.brand-has-logo img {
    height: 122px;
  }

  body.header-scrolled .action-link {
    min-height: 42px;
    padding: 0 14px;
  }

  body.header-scrolled .header-actions {
    gap: 8px;
  }

  body.header-scrolled .main-nav {
    gap: 22px;
  }

  body.header-scrolled .nav-trigger {
    font-size: 13px;
    padding-bottom: 6px;
  }
}

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

.action-link {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(92, 71, 54, 0.12);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-xs);
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.action-link svg {
  width: 16px;
  height: 16px;
}

.action-link:hover,
.brand:hover {
  transform: translateY(-1px);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 0 12px;
  overflow-x: auto;
  scrollbar-width: none;
}

.main-nav::-webkit-scrollbar {
  display: none;
}

.nav-trigger {
  position: relative;
  padding: 0 0 8px;
  border: none;
  background: transparent;
  color: #4c443d;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-trigger::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--bronze-dark), transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.nav-trigger.active,
.nav-trigger:hover {
  color: var(--text);
}

.nav-trigger.active::after,
.nav-trigger:hover::after {
  transform: scaleX(1);
}

.mega-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(19, 17, 15, 0.24);
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease;
  z-index: 16;
}

.mega-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.mega-menu {
  position: fixed;
  top: clamp(198px, 14vw, 236px);
  left: 50%;
  transform: translateX(-50%) translateY(18px);
  width: min(calc(100vw - 48px), 1280px);
  z-index: 17;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.24s ease, transform 0.24s ease, visibility 0.24s ease;
}

.mega-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}


body.header-scrolled .mega-menu {
  top: clamp(124px, 8vw, 144px);
}

.mega-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 420px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(92, 71, 54, 0.1);
  background: rgba(251, 249, 245, 0.96);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.mega-side,
.mega-content {
  position: relative;
  padding: 32px;
}

.mega-side {
  border-right: 1px solid rgba(92, 71, 54, 0.08);
  background: linear-gradient(180deg, rgba(247, 242, 234, 0.98), rgba(255, 255, 255, 0.82));
}

.mega-title {
  margin: 0 0 18px;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.close-btn,
.quick-view-close,
.mobile-drawer-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  border: 1px solid rgba(92, 71, 54, 0.12);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-xs);
}

.mega-list {
  display: grid;
  gap: 10px;
}

.mega-list button {
  width: 100%;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 16px;
  border-radius: 18px;
  border: 1px solid transparent;
  background: transparent;
  font-weight: 700;
  color: var(--text);
}

.mega-list button.active,
.mega-list button:hover {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(185, 137, 89, 0.16);
  box-shadow: var(--shadow-xs);
}

.collection-grid,
.catalog-grid,
.featured-strip,
.stat-grid,
.dashboard-grid,
.kpi-grid,
.product-meta-grid,
.product-rich-grid,
.about-page-grid,
.contact-grid,
.account-grid {
  display: grid;
  gap: 20px;
}

.collection-grid,
.catalog-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.featured-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.collection-card {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 12px;
  border-radius: 24px;
  border: 1px solid rgba(92, 71, 54, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 242, 234, 0.78));
  box-shadow: var(--shadow-xs);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.collection-card:hover,
.product-card:hover,
.strip-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 40px rgba(45, 36, 25, 0.12);
  border-color: rgba(185, 137, 89, 0.18);
}

.collection-card img {
  aspect-ratio: 1 / 1.08;
  width: 100%;
  object-fit: cover;
  border-radius: 18px;
}

.collection-card span {
  font-weight: 700;
  line-height: 1.4;
}

.collection-empty {
  display: grid;
  place-items: center;
  min-height: 200px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.86);
  border: 1px dashed rgba(92, 71, 54, 0.16);
  color: var(--muted);
}

.badge,
.product-card-badge,
.quick-view-badge,
.tiny-badge,
.cart-pill,
.product-status-chip,
.account-chip,
.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.badge,
.product-card-badge,
.quick-view-badge,
.account-chip,
.product-status-chip {
  background: rgba(185, 137, 89, 0.12);
  color: var(--bronze-dark);
  border: 1px solid rgba(185, 137, 89, 0.16);
}

.tiny-badge,
.cart-pill {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  color: var(--text);
}

.status-pill.ok {
  background: rgba(28, 127, 86, 0.1);
  color: #14543c;
  border: 1px solid rgba(28, 127, 86, 0.16);
}

.status-pill.warn {
  background: rgba(185, 137, 89, 0.12);
  color: var(--bronze-dark);
  border: 1px solid rgba(185, 137, 89, 0.16);
}

.product-card,
.strip-card {
  position: relative;
  display: grid;
  gap: 18px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(92, 71, 54, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 242, 234, 0.76));
  box-shadow: var(--shadow-sm);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.product-card-link {
  display: block;
}

.product-card-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  background: #f4eee6;
}

.product-card-image,
.product-card-hover {
  width: 100%;
  aspect-ratio: 1 / 1.14;
  object-fit: cover;
  transition: transform 0.5s ease, opacity 0.4s ease;
}

.product-card-hover {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.product-card:hover .product-card-image,
.strip-card:hover .product-card-image {
  transform: scale(1.04);
}

.product-card:hover .product-card-hover,
.strip-card:hover .product-card-hover {
  opacity: 1;
}

.product-card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
}

.product-card-body {
  display: grid;
  gap: 18px;
  padding: 0 20px 20px;
}

.product-card-copy {
  display: grid;
  gap: 8px;
}

.product-card-copy strong,
.strip-card strong {
  font-size: 20px;
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.product-card-copy span,
.strip-card span {
  color: var(--muted);
  line-height: 1.7;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.product-card-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.quick-preview-btn,
.product-card-link-inline {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 13px;
}

.quick-preview-btn {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  color: var(--text);
}

.strip-card .product-card-body {
  padding-bottom: 24px;
}

.hero.hero--wide {
  padding-top: 14px;
}

.hero-wide-wrap {
  position: relative;
}

.editorial-grid,
.about-page-grid,
.contact-grid,
.account-grid,
.cart-premium-shell,
.checkout-shell,
.premium-product-layout {
  display: grid;
  gap: 26px;
  align-items: start;
}

.editorial-grid,
.about-page-grid {
  grid-template-columns: 1fr 1fr;
}

.editorial-copy,
.editorial-media,
.about-copy-card,
.about-media-card {
  min-height: 100%;
}

.editorial-copy,
.about-copy-card {
  padding: 34px;
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.editorial-copy h2,
.about-copy-card h1 {
  margin: 0 0 16px;
}

.editorial-copy p,
.about-copy-card p {
  color: var(--muted);
  line-height: 1.9;
  margin: 0 0 14px;
}

.editorial-media,
.about-media-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(92, 71, 54, 0.08);
}

.editorial-media img,
.about-media-card img {
  width: 100%;
  min-height: 540px;
  object-fit: cover;
}

.contact-grid {
  gap: 14px;
}

.contact-card,
.contact-link-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: var(--radius-lg);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.contact-card:hover,
.contact-link-card:hover {
  transform: translateY(-2px);
  border-color: rgba(185, 137, 89, 0.18);
  box-shadow: var(--shadow-sm);
}

.contact-icon-box {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 16px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.03);
}

.contact-icon-phone,
.contact-icon-mail,
.contact-icon-home {
  background: #f6f1ea;
}

.contact-icon-whatsapp {
  background: #eefaf1;
}

.contact-icon-instagram {
  background: #fff0f6;
}

.contact-label {
  font-size: 15px;
}

.contact-value {
  color: var(--muted);
  line-height: 1.7;
  font-size: 14px;
}

.account-hero {
  padding: 30px 0 12px;
}

.status-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.account-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
}

.address-list {
  display: grid;
  gap: 14px;
  margin-bottom: 22px;
}

.address-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
}

.address-item.default {
  border-color: rgba(185, 137, 89, 0.28);
}

.address-actions {
  display: grid;
  gap: 10px;
}

.account-inner-card {
  margin-top: 18px;
}

.summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px dashed rgba(92, 71, 54, 0.16);
}

.summary-row:last-of-type {
  border-bottom: none;
}

.cart-premium-head,
.checkout-head {
  text-align: center;
  margin-bottom: 28px;
}

.cart-premium-shell {
  grid-template-columns: minmax(0, 1.2fr) 390px;
}

.cart-premium-list,
.cart-premium-summary,
.checkout-summary {
  position: sticky;
  top: 126px;
}

.cart-premium-list {
  position: static;
}

.cart-premium-item {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 242, 234, 0.72));
  border: 1px solid rgba(92, 71, 54, 0.08);
}

.cart-premium-item + .cart-premium-item {
  margin-top: 14px;
}

.cart-premium-thumb {
  width: 120px;
  height: 120px;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #fff;
}

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

.cart-premium-meta {
  display: grid;
  gap: 10px;
}

.cart-premium-meta h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.cart-premium-meta p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.cart-premium-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cart-premium-side {
  display: grid;
  gap: 12px;
  justify-items: end;
}

.cart-premium-line {
  font-size: 30px;
}

.cart-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(161, 67, 52, 0.14);
  background: #fff3ef;
  color: var(--danger);
  font-weight: 800;
}

.summary-note {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.75;
}

.summary-actions {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.cart-empty {
  padding: 56px 28px;
  text-align: center;
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.cart-empty h3 {
  margin: 0 0 10px;
  font-size: 32px;
  letter-spacing: -0.04em;
}

.cart-empty p {
  max-width: 580px;
  margin: 0 auto 20px;
  color: var(--muted);
  line-height: 1.8;
}

.checkout-stepper {
  display: none;
}

.checkout-shell {
  grid-template-columns: minmax(0, 1.15fr) 390px;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.checkout-field {
  display: grid;
  gap: 8px;
}

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

.checkout-items {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.checkout-item {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 242, 234, 0.7));
  border: 1px solid rgba(92, 71, 54, 0.08);
}

.checkout-item img {
  width: 62px;
  height: 62px;
  border-radius: 14px;
  object-fit: cover;
}

.checkout-item strong {
  display: block;
  margin-bottom: 4px;
}

.checkout-item span {
  color: var(--muted);
  font-size: 13px;
}

.checkout-mobile-actions {
  display: none;
}

.checkout-hint {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.premium-product-layout {
  grid-template-columns: minmax(0, 1.04fr) minmax(400px, 0.96fr);
}

.premium-gallery-shell {
  display: grid;
  gap: 16px;
}

.premium-main-image {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.premium-main-image img {
  width: 100%;
  aspect-ratio: 1 / 1.06;
  object-fit: cover;
  transition: transform 0.28s ease;
}

.premium-main-image img.is-zoomed {
  transform: scale(1.85);
}

.premium-thumbs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.premium-thumb {
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}

.premium-thumb.active {
  border-color: rgba(185, 137, 89, 0.32);
  box-shadow: 0 18px 30px rgba(90, 61, 43, 0.12);
}

.premium-thumb img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.premium-info-card {
  position: sticky;
  top: 118px;
}

.premium-category {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bronze-dark);
}

.premium-title {
  margin: 0 0 14px;
  font-size: clamp(38px, 4vw, 70px);
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.premium-short {
  margin: 0 0 18px;
  font-size: 17px;
  line-height: 1.85;
  color: var(--muted);
}

.premium-price {
  margin: 0 0 22px;
  font-size: clamp(28px, 3vw, 40px);
}

.product-status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 22px;
}

.product-status-chip.is-danger {
  background: rgba(161, 67, 52, 0.08);
  color: var(--danger);
  border-color: rgba(161, 67, 52, 0.16);
}

.variant-block {
  padding: 18px;
  margin-bottom: 18px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(252, 249, 245, 0.88);
}

.premium-info-card > .variant-block:first-of-type {
  margin-top: 22px;
}

.variant-title {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.variant-note {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

#activeSizeInfo {
  font-weight: 800;
  color: var(--text);
  letter-spacing: 0.01em;
}

.color-swatches,
.size-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.color-swatch {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 999px;
  border: 2px solid rgba(92, 71, 54, 0.14);
  box-shadow: var(--shadow-xs);
}

.color-swatch.active {
  border-color: var(--text);
  box-shadow: 0 16px 26px rgba(45, 36, 25, 0.14);
}

.size-pill {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  font-weight: 800;
}

.size-pill.active {
  background: var(--text);
  border-color: var(--text);
  color: #fff;
}

.size-pill.is-disabled,
.size-pill:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.premium-description {
  margin-top: 18px;
  color: var(--muted);
  line-height: 1.9;
}

.premium-buy-card {
  margin-top: 22px;
  padding: 22px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-xs);
}

.premium-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.product-meta-grid,
.product-rich-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px;
}

.product-meta-card,
.product-rich-card {
  padding: 22px;
}

.product-meta-card h4,
.product-rich-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.product-meta-card p,
.product-rich-card p,
.product-rich-card div {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumb span {
  color: rgba(92, 71, 54, 0.4);
}

.quick-view-modal {
  position: fixed;
  inset: 0;
  z-index: 32;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.quick-view-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.quick-view-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 15, 13, 0.44);
  backdrop-filter: blur(10px);
}

.quick-view-dialog {
  position: relative;
  width: min(calc(100vw - 32px), 920px);
  margin: min(9vh, 56px) auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(92, 71, 54, 0.08);
  background: rgba(251, 249, 245, 0.98);
  box-shadow: var(--shadow-lg);
}

.quick-view-media {
  background: #f3ede6;
}

.quick-view-media img {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
}

.quick-view-copy {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 32px;
}

.quick-view-copy h3 {
  margin: 0;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 0.94;
  letter-spacing: -0.05em;
}

.quick-view-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.quick-view-price {
  font-size: 32px;
}

.footer {
  margin-top: 44px;
  padding: 32px 0 56px;
  border-top: 1px solid rgba(92, 71, 54, 0.08);
  background: rgba(248, 244, 239, 0.75);
}

.footer-grid,
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-grid {
  padding-bottom: 18px;
}

.footer-brand {
  max-width: 480px;
}

.footer-brand strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.footer-brand p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.footer-meta,
.footer-links,
.footer-bottom {
  color: var(--muted);
  font-size: 14px;
}

.footer-meta,
.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

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

.mobile-quickbar,
.mobile-drawer,
.mobile-drawer-backdrop {
  display: none;
}

.admin-wrap {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  min-height: 100vh;
}

.admin-side {
  position: sticky;
  top: 0;
  align-self: start;
  min-height: 100vh;
  padding: 26px 22px;
  background: linear-gradient(180deg, #181410 0%, #221b16 100%);
  color: rgba(255, 255, 255, 0.8);
}

.admin-side h2 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.admin-side a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 16px;
  color: inherit;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.admin-side a.active,
.admin-side a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transform: translateX(3px);
}

.admin-main {
  padding: 30px;
}

.admin-header-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 22px;
}

.admin-header-card h1 {
  font-size: clamp(30px, 3vw, 48px);
  line-height: 0.94;
  letter-spacing: -0.05em;
}

.stat-grid,
.kpi-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat,
.kpi-card {
  padding: 22px;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.stat strong,
.kpi-card strong {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stat div,
.kpi-card span:last-child {
  font-size: 38px;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.dashboard-grid {
  grid-template-columns: minmax(0, 1.15fr) 360px;
}

.dashboard-card,
.preview-card {
  padding: 24px;
}

.dashboard-list {
  display: grid;
  gap: 12px;
}

.dashboard-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(92, 71, 54, 0.08);
}

.dashboard-item strong {
  display: block;
  margin-bottom: 4px;
}

.dashboard-item span {
  color: var(--muted);
  font-size: 14px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

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

.admin-section-card {
  padding: 24px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-sm);
}

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

.variant-box {
  padding: 22px;
}

.variant-row {
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(92, 71, 54, 0.08);
  background: rgba(255, 255, 255, 0.92);
}

.variant-row + .variant-row {
  margin-top: 14px;
}

.variant-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.variant-grid .span-2 {
  grid-column: span 2;
}

.variant-grid .span-4 {
  grid-column: 1 / -1;
}

.variant-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.variant-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.variant-remove {
  min-height: 42px;
  padding: 0 16px;
  background: #fff3ef;
  border-color: rgba(161, 67, 52, 0.14);
  color: var(--danger);
  box-shadow: none;
}

.variant-color-preview {
  height: 48px;
  padding: 0;
  border-radius: 16px;
}

.preview-stack {
  display: grid;
  gap: 16px;
}

.preview-card img {
  width: 100%;
  border-radius: 22px;
  aspect-ratio: 1 / 1.12;
  object-fit: cover;
  margin-bottom: 14px;
}

.preview-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 26px;
  letter-spacing: -0.03em;
}

.preview-card p {
  color: var(--muted);
  line-height: 1.7;
}

table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 22px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(92, 71, 54, 0.08);
  box-shadow: var(--shadow-sm);
}

thead th {
  padding: 16px 18px;
  text-align: left;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(247, 242, 234, 0.92);
  color: var(--muted);
}

tbody td {
  padding: 16px 18px;
  border-top: 1px solid rgba(92, 71, 54, 0.08);
  vertical-align: top;
}

tbody tr:hover {
  background: rgba(247, 242, 234, 0.44);
}


@media (max-width: 1024px) {
  .editorial-media,
  .about-media-card,
  .premium-main-image,
  .quick-view-media {
    background: #f4efe8;
  }

  .editorial-media img,
  .about-media-card img,
  .premium-main-image img,
  .quick-view-media img {
    width: 100%;
    min-height: 0;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    object-position: center center;
    background: #f4efe8;
  }
}

@media (max-width: 1180px) {
  .collection-grid,
  .catalog-grid,
  .featured-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .stat-grid,
  .kpi-grid,
  .product-meta-grid,
  .product-rich-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-wrap {
    grid-template-columns: 1fr;
  }

  .admin-side {
    position: relative;
    min-height: auto;
  }

  .dashboard-grid,
  .account-grid,
  .cart-premium-shell,
  .checkout-shell,
  .premium-product-layout,
  .editorial-grid,
  .about-page-grid {
    grid-template-columns: 1fr;
  }

  .premium-info-card,
  .cart-premium-summary,
  .checkout-summary {
    position: static;
    top: auto;
  }
}

@media (max-width: 900px) {
  .collection-grid,
  .catalog-grid,
  .featured-strip,
  .stat-grid,
  .kpi-grid,
  .product-meta-grid,
  .product-rich-grid,
  .variant-grid,
  .field-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quick-view-dialog {
    grid-template-columns: 1fr;
  }

  .quick-view-media img {
    min-height: 320px;
  }

  .mega-menu {
    top: clamp(160px, 20vw, 188px);
    width: min(calc(100vw - 28px), 1180px);
  }

  body.header-scrolled .mega-menu {
    top: 120px;
  }

  .mega-layout {
    grid-template-columns: 240px 1fr;
  }
}

/* --- admin and premium utility extensions --- */
.admin-split-grid,
.settings-section-grid,
.summary-grid,
.order-lines,
.auth-card-stack,
.meta-grid,
.banner-preview-grid {
  display: grid;
  gap: 18px;
}

.admin-split-grid,
.settings-section-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
}

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

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

.order-lines {
  margin-top: 18px;
}

.order-line {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  gap: 18px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(92, 71, 54, 0.08);
  background: rgba(255, 255, 255, 0.95);
}

.order-line + .order-line {
  margin-top: 14px;
}

.order-line-media img,
.thumb-preview img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  display: block;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}

.order-line-copy h4,
.auth-card-head h2 {
  margin: 0 0 8px;
}

.order-line-copy p {
  margin: 0 0 8px;
  color: var(--muted);
}

.order-line-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.order-line-price {
  text-align: right;
  min-width: 120px;
}

.order-line-price strong {
  display: block;
  font-size: 20px;
}

.order-line-price span {
  color: var(--muted);
  font-size: 13px;
}

.summary-item,
.meta-item,
.info-pill,
.auth-mini-card {
  padding: 18px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
}

.summary-item strong,
.meta-item strong,
.auth-mini-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.summary-item span,
.meta-item span,
.auth-mini-card span {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.meta-item p,
.summary-item p {
  margin: 0;
  color: var(--muted);
}

.thumb-preview {
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
}

.thumb-preview img {
  aspect-ratio: 1 / 1;
}

.field-hint,
.tiny-note {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.table-actions,
.admin-inline-actions,
.inline-form,
.banner-preview-grid,
.action-stack {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.inline-form {
  margin: 0;
}

.table-actions form,
.admin-inline-actions form {
  margin: 0;
}

.admin-table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.admin-table-scroll table {
  min-width: 960px;
}

.admin-product-listing {
  display: grid;
  gap: 6px;
}

.admin-product-listing-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}

.admin-product-actions {
  gap: 8px;
}

.admin-quick-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(92, 71, 54, 0.12);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-xs);
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease,
    color 0.22s ease;
}

.admin-quick-btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.admin-quick-btn--edit {
  color: var(--text);
}

.admin-quick-btn--feature {
  background: linear-gradient(135deg, #7b5338 0%, var(--bronze-dark) 100%);
  border-color: transparent;
  box-shadow: 0 14px 26px rgba(90, 61, 43, 0.18);
  color: #fff;
}

.admin-quick-btn--muted {
  background: rgba(247, 242, 234, 0.96);
  border-color: rgba(92, 71, 54, 0.12);
  color: var(--muted);
}

.admin-quick-btn--danger {
  background: rgba(161, 67, 52, 0.08);
  border-color: rgba(161, 67, 52, 0.18);
  color: var(--danger);
}

.admin-section-headline--list {
  margin-bottom: 18px;
}

.admin-table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.admin-product-listing {
  display: grid;
  gap: 6px;
  min-width: 210px;
}

.admin-product-listing strong {
  font-size: 16px;
  line-height: 1.35;
}

.admin-product-listing-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-product-listing-meta span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.admin-product-actions {
  min-width: 300px;
}

.admin-quick-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(92, 71, 54, 0.12);
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease, color 0.22s ease;
  box-shadow: 0 10px 24px rgba(66, 43, 26, 0.06);
  white-space: nowrap;
}

.admin-quick-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(66, 43, 26, 0.1);
}

.admin-quick-btn--edit {
  background: rgba(255, 255, 255, 0.98);
}

.admin-quick-btn--feature {
  background: linear-gradient(135deg, #7b5338 0%, var(--bronze-dark) 100%);
  border-color: transparent;
  color: #fff;
}

.admin-quick-btn--muted {
  background: rgba(247, 242, 234, 0.94);
  color: var(--bronze-dark);
}

.admin-quick-btn--danger {
  background: rgba(255, 244, 242, 0.98);
  border-color: rgba(161, 67, 52, 0.14);
  color: var(--danger);
}

.status-chip,
.admin-pill,
.info-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-chip.ok,
.admin-pill.ok,
.info-pill.ok {
  background: rgba(64, 146, 104, 0.14);
  color: #2d6b4d;
}

.status-chip.warn,
.admin-pill.warn,
.info-pill.warn {
  background: rgba(185, 137, 89, 0.14);
  color: #8e622e;
}

.status-chip.err,
.admin-pill.err,
.info-pill.err {
  background: rgba(161, 67, 52, 0.12);
  color: var(--danger);
}

.danger-card {
  border-color: rgba(161, 67, 52, 0.18);
  background: rgba(255, 244, 242, 0.96);
}

.auth-card-stack {
  max-width: 820px;
  margin: 0 auto;
}

.auth-card-head {
  text-align: center;
}

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

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

.cart-qty-form {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.cart-qty-input {
  width: 92px;
}

.cart-qty-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.empty-state-card {
  text-align: center;
}

.empty-state-card p {
  margin: 0;
  color: var(--muted);
}

/* --- admin product upload simplification --- */
.admin-body .admin-product-shell {
  display: grid;
  gap: 24px;
}

.admin-body .admin-product-form {
  display: grid;
  gap: 18px;
}

.admin-body .admin-section-headline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.admin-body .admin-section-headline h3 {
  margin: 6px 0 8px;
  font-size: clamp(24px, 2vw, 30px);
  letter-spacing: -0.04em;
}

.admin-body .admin-section-headline p {
  margin: 0;
  max-width: 760px;
}

.admin-body .admin-core-grid,
.admin-body .admin-media-grid,
.admin-body .admin-variant-grid {
  align-items: start;
}

.admin-body .admin-check-grid {
  display: grid;
  gap: 12px;
  align-content: start;
  padding-top: 6px;
}

.admin-body .check-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  line-height: 1.5;
}

.admin-body .check-row input {
  margin: 0;
}

.admin-body .admin-thumb-preview {
  margin-top: 14px;
  max-width: 240px;
}

.admin-body .admin-thumb-preview picture,
.admin-body .admin-thumb-preview img {
  display: block;
  width: 100%;
}

.admin-body .admin-variant-stack {
  display: grid;
  gap: 14px;
}

.admin-body .admin-variant-row {
  gap: 16px;
  padding: 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(92, 71, 54, 0.09);
}

.admin-body .variant-row-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.admin-body .variant-row-head strong {
  display: block;
  font-size: 22px;
  letter-spacing: -0.04em;
}

.admin-body .variant-kicker {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.admin-body .admin-variant-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.admin-body .media-manager {
  display: grid;
  gap: 12px;
}

.admin-body .media-manager.is-compact {
  gap: 10px;
}

.admin-body .media-order-list {
  display: grid;
  gap: 12px;
}

.admin-body .media-empty-state {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px dashed rgba(92, 71, 54, 0.16);
  color: var(--muted);
  background: rgba(247, 242, 234, 0.54);
}

.admin-body .media-card {
  display: grid;
  grid-template-columns: 44px 96px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(92, 71, 54, 0.08);
  box-shadow: 0 10px 24px rgba(66, 43, 26, 0.06);
}

.admin-body .media-card-index {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 900;
  color: var(--accent-strong);
  background: rgba(126, 92, 64, 0.12);
}

.admin-body .media-thumb {
  width: 96px;
  height: 96px;
  overflow: hidden;
  border-radius: 18px;
  background: #f4efe8;
}

.admin-body .media-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.admin-body .media-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.admin-body .media-copy strong {
  font-size: 16px;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-body .media-copy span,
.admin-body .media-copy em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.admin-body .media-card-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.admin-body .media-order-btn {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(92, 71, 54, 0.1);
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.admin-body .media-order-btn:disabled {
  opacity: 0.45;
  cursor: default;
}

.admin-body .media-order-btn.danger {
  color: var(--danger);
  background: #fff4f1;
  border-color: rgba(161, 67, 52, 0.14);
}

.admin-body .variant-add {
  min-height: 46px;
}

@media (max-width: 1120px) {
  .admin-body .admin-variant-grid,
  .admin-body .admin-media-grid,
  .admin-body .admin-core-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .admin-body .admin-main {
    padding: 22px 18px;
  }

  .admin-body .admin-section-card,
  .admin-body .variant-box {
    padding: 20px;
  }

  .admin-body .media-card {
    grid-template-columns: 40px 84px minmax(0, 1fr);
  }

  .admin-body .media-card-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .admin-product-actions {
    min-width: 260px;
  }
}

@media (max-width: 640px) {
  .admin-body .admin-variant-grid,
  .admin-body .admin-media-grid,
  .admin-body .admin-core-grid,
  .admin-body .field-grid {
    grid-template-columns: 1fr;
  }

  .admin-body .admin-section-headline,
  .admin-body .variant-row-head,
  .admin-body .variant-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-table-scroll table {
    min-width: 760px;
  }

  .admin-product-actions {
    gap: 6px;
  }

  .admin-quick-btn {
    min-height: 40px;
    padding: 0 14px;
    font-size: 12px;
  }

  .admin-body .admin-check-grid {
    padding-top: 0;
  }

  .admin-body .media-card {
    grid-template-columns: 1fr;
  }

  .admin-body .media-card-index {
    width: 38px;
    height: 38px;
  }

  .admin-body .media-thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .admin-body .media-card-actions {
    justify-content: stretch;
  }

  .admin-body .media-order-btn {
    flex: 1 1 0;
    justify-content: center;
  }

  .admin-product-actions {
    min-width: 220px;
  }

  .admin-quick-btn {
    width: 100%;
  }
}

/* v13 product media de-crop refinement */
.product-card-media {
  --card-media-pad: clamp(14px, 1.3vw, 18px);
  aspect-ratio: 1 / 1.08;
  display: grid;
  place-items: center;
  padding: 0;
  background: linear-gradient(180deg, #fbf8f4 0%, #f2ece4 100%);
}

.product-card-image,
.product-card-hover {
  display: block;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  padding: var(--card-media-pad);
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center center;
  background: transparent;
}

.product-card-hover {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.product-card:hover .product-card-image,
.strip-card:hover .product-card-image {
  transform: none;
}

.product-card:hover .product-card-hover,
.strip-card:hover .product-card-hover {
  transform: none;
}

.quick-view-media {
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #fbf8f4 0%, #f2ece4 100%);
}

.quick-view-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  box-sizing: border-box;
  padding: clamp(18px, 1.6vw, 24px);
  aspect-ratio: 1 / 1.05;
  object-fit: contain;
  object-position: center center;
}

.premium-gallery-shell {
  align-self: start;
}

.premium-main-image {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1.08;
  background: linear-gradient(180deg, #fcfaf7 0%, #f1ebe3 100%);
}

.premium-main-image img {
  display: block;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  padding: clamp(20px, 1.8vw, 28px);
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center center;
  background: transparent;
}

.premium-thumb {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  background: linear-gradient(180deg, #fbf8f4 0%, #f2ece4 100%);
}

.premium-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  padding: 8px;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center center;
}

/* v14 product media stabilization: fix hover bleed and rebalance de-crop */
.product-card-media {
  --card-media-pad: clamp(8px, 0.9vw, 12px);
  aspect-ratio: 1 / 1.34;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #fdfbf8 0%, #f4ede5 100%);
}

.product-card-image,
.product-card-hover {
  display: block;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  padding: var(--card-media-pad);
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center center;
  background: linear-gradient(180deg, #ffffff 0%, #fbf7f1 100%);
  transition: opacity 0.32s ease, transform 0.42s ease;
  backface-visibility: hidden;
  will-change: opacity, transform;
}

.product-card-hover {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  pointer-events: none;
}

.product-card-image {
  position: relative;
  z-index: 0;
  opacity: 1;
}

.product-card:hover .product-card-image,
.strip-card:hover .product-card-image {
  opacity: 0;
  transform: scale(1.01);
}

.product-card:hover .product-card-hover,
.strip-card:hover .product-card-hover {
  opacity: 1;
  transform: scale(1.01);
}

.quick-view-media {
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #fdfbf8 0%, #f4ede5 100%);
}

.quick-view-media img {
  display: block;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  padding: clamp(12px, 1.2vw, 18px);
  object-fit: contain;
  object-position: center center;
}

.premium-main-image {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1.28;
  background: linear-gradient(180deg, #fdfbf8 0%, #f3ece4 100%);
}

.premium-main-image img {
  display: block;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  padding: clamp(14px, 1.3vw, 20px);
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center center;
  background: transparent;
}

.premium-thumb {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  background: linear-gradient(180deg, #fdfbf8 0%, #f4ede5 100%);
}

.premium-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  padding: 6px;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center center;
}

/* v14 product media recovery: restore premium hover + softer detail framing */
.product-card-media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 1 / 1.16;
  padding: 0;
  background: linear-gradient(180deg, #f8f3ec 0%, #f2ece4 100%);
}

.product-card-image,
.product-card-hover {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center center;
  background: linear-gradient(180deg, #f8f3ec 0%, #f2ece4 100%);
  transition: opacity 0.32s ease, transform 0.42s ease;
}

.product-card-hover {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.product-card:hover .product-card-image,
.strip-card:hover .product-card-image {
  opacity: 0;
  transform: scale(1.02);
}

.product-card:hover .product-card-hover,
.strip-card:hover .product-card-hover {
  opacity: 1;
  transform: scale(1.02);
}

.quick-view-media {
  background: linear-gradient(180deg, #fbf8f4 0%, #f2ece4 100%);
}

.quick-view-media img {
  padding: clamp(16px, 1.4vw, 22px);
  aspect-ratio: 1 / 1.08;
  object-fit: contain;
  object-position: center center;
}

.premium-main-image {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1.14;
  background: linear-gradient(180deg, #fcfaf7 0%, #f2ece4 100%);
}

.premium-main-image img {
  display: block;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  padding: clamp(18px, 1.6vw, 24px);
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center center;
  background: transparent;
}

.premium-thumb {
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #fbf8f4 0%, #f2ece4 100%);
}

.premium-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  padding: 8px;
  box-sizing: border-box;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center center;
}

/* v14 product card hover stabilization */
.product-card-media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 1 / 1.14;
  padding: 0;
  background: linear-gradient(180deg, #fdfbf8 0%, #f4eee6 100%);
}

.product-card-image,
.product-card-hover {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  box-sizing: border-box;
  padding: clamp(10px, 0.95vw, 14px);
  object-fit: contain;
  object-position: center center;
  background: transparent;
  backface-visibility: hidden;
  transform: translateZ(0);
  transition: opacity 0.28s ease, transform 0.32s ease;
}

.product-card.has-hover-media .product-card-image,
.product-card.has-hover-media .product-card-hover,
.strip-card.has-hover-media .product-card-image,
.strip-card.has-hover-media .product-card-hover {
  position: absolute;
  inset: 0;
}

.product-card.has-hover-media .product-card-image,
.strip-card.has-hover-media .product-card-image {
  z-index: 1;
  opacity: 1;
}

.product-card.has-hover-media .product-card-hover,
.strip-card.has-hover-media .product-card-hover {
  z-index: 2;
  opacity: 0;
  pointer-events: none;
}

.product-card.has-hover-media:hover .product-card-image,
.strip-card.has-hover-media:hover .product-card-image {
  opacity: 0;
  transform: scale(1.01);
}

.product-card.has-hover-media:hover .product-card-hover,
.strip-card.has-hover-media:hover .product-card-hover {
  opacity: 1;
  transform: scale(1.01);
}

.product-card:not(.has-hover-media):hover .product-card-image,
.strip-card:not(.has-hover-media):hover .product-card-image {
  opacity: 1;
  transform: none;
}

.product-card-badge {
  z-index: 4;
}

.quick-view-media {
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #fdfbf8 0%, #f4eee6 100%);
}

.quick-view-media img {
  display: block;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  padding: 14px;
  object-fit: contain;
  object-position: center center;
  background: transparent;
}

.premium-main-image {
  display: grid;
  place-items: center;
  min-height: clamp(460px, 56vw, 820px);
  background: linear-gradient(180deg, #fdfbf8 0%, #f4eee6 100%);
}

.premium-main-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  box-sizing: border-box;
  padding: clamp(12px, 1vw, 18px);
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center center;
  background: transparent;
}

.premium-thumb img {
  box-sizing: border-box;
  padding: 6px;
  object-fit: contain;
  object-position: center center;
  background: linear-gradient(180deg, #fdfbf8 0%, #f4eee6 100%);
}

/* v14e final tuning after hover regression feedback */
.product-card-media {
  aspect-ratio: 1 / 1.24;
  background: linear-gradient(180deg, #fdfbf8 0%, #f4eee6 100%);
}

.product-card-image,
.product-card-hover {
  padding: clamp(6px, 0.6vw, 10px);
  object-fit: contain;
  object-position: center center;
}

.product-card.has-hover-media .product-card-image,
.product-card.has-hover-media .product-card-hover,
.strip-card.has-hover-media .product-card-image,
.strip-card.has-hover-media .product-card-hover {
  position: absolute;
  inset: 0;
}

.product-card.has-hover-media .product-card-image,
.strip-card.has-hover-media .product-card-image {
  opacity: 1;
}

.product-card.has-hover-media .product-card-hover,
.strip-card.has-hover-media .product-card-hover {
  opacity: 0;
}

.product-card.has-hover-media:hover .product-card-image,
.strip-card.has-hover-media:hover .product-card-image {
  opacity: 0;
  transform: scale(1.01);
}

.product-card.has-hover-media:hover .product-card-hover,
.strip-card.has-hover-media:hover .product-card-hover {
  opacity: 1;
  transform: scale(1.01);
}

.product-card:not(.has-hover-media):hover .product-card-image,
.strip-card:not(.has-hover-media):hover .product-card-image {
  opacity: 1;
  transform: none;
}

/* v15 home products CTA and category intro polish */
.home-products-section {
  position: relative;
}

.home-products-head,
.products-page-head,
.category-page-head {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.home-products-head {
  max-width: 880px;
  margin-bottom: 36px;
}

.home-products-head h2 {
  font-size: clamp(44px, 7vw, 92px);
  line-height: 0.88;
  letter-spacing: -0.075em;
}

.home-products-head p,
.products-page-head p,
.category-page-head p {
  max-width: 680px;
  margin-right: auto;
  margin-left: auto;
}

.home-products-actions {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.home-products-all-btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 28px;
  overflow: hidden;
  border-radius: 999px;
  border: 1px solid rgba(185, 137, 89, 0.28);
  color: #fff;
  background:
    radial-gradient(circle at 16% 0%, rgba(255, 255, 255, 0.26), transparent 34%),
    linear-gradient(135deg, #7b5338 0%, var(--bronze-dark) 100%);
  box-shadow: 0 20px 44px rgba(90, 61, 43, 0.22);
  font-weight: 900;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.home-products-all-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.3) 45%, transparent 72%);
  transform: translateX(-130%);
  transition: transform 0.55s ease;
}

.home-products-all-btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.28s ease;
}

.home-products-all-btn:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.34);
  box-shadow: 0 26px 56px rgba(90, 61, 43, 0.28);
}

.home-products-all-btn:hover::before {
  transform: translateX(130%);
}

.home-products-all-btn:hover svg {
  transform: translateX(4px);
}

.products-page-head {
  max-width: 820px;
  margin-bottom: 24px;
}

.catalog-category-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 auto 34px;
}

.catalog-category-links a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(92, 71, 54, 0.12);
  color: var(--text);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-xs);
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}

.catalog-category-links a:hover {
  transform: translateY(-2px);
  border-color: rgba(185, 137, 89, 0.24);
  background: rgba(255, 255, 255, 0.96);
}

.category-intro-card {
  max-width: 920px;
  margin: -8px auto 34px;
  padding: clamp(22px, 3vw, 34px);
  border-radius: 30px;
  border: 1px solid rgba(185, 137, 89, 0.16);
  background:
    radial-gradient(circle at top left, rgba(185, 137, 89, 0.13), transparent 36%),
    rgba(255, 255, 255, 0.76);
  box-shadow: 0 22px 56px rgba(45, 36, 25, 0.08);
  text-align: center;
}

.category-intro-card p {
  margin: 0;
  color: var(--text);
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.85;
  letter-spacing: -0.015em;
}

.admin-mini-note {
  display: grid;
  gap: 6px;
  margin: 16px 0 0;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(185, 137, 89, 0.14);
  background: rgba(247, 242, 234, 0.62);
}

.admin-mini-note strong {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-mini-note span {
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .home-products-head h2 {
    font-size: clamp(40px, 15vw, 68px);
  }

  .home-products-actions {
    margin-top: 24px;
  }

  .home-products-all-btn {
    width: min(100%, 360px);
    min-height: 52px;
    padding: 0 22px;
  }

  .catalog-category-links {
    justify-content: flex-start;
    flex-wrap: nowrap;
    margin-right: -20px;
    margin-left: -20px;
    padding: 0 20px 8px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .catalog-category-links::-webkit-scrollbar {
    display: none;
  }

  .catalog-category-links a {
    flex: 0 0 auto;
  }

  .category-intro-card {
    margin-bottom: 26px;
    border-radius: 24px;
    text-align: left;
  }
}

/* v16 mega menu scroll + product gallery zoom UX */
:root {
  --mega-menu-top: 198px;
}

.mega-menu {
  top: var(--mega-menu-top);
  width: min(calc(100vw - 48px), 1320px);
}

body.header-scrolled .mega-menu {
  top: var(--mega-menu-top);
}

.mega-layout {
  grid-template-columns: minmax(250px, 300px) minmax(0, 1fr);
  height: min(640px, calc(100dvh - var(--mega-menu-top) - 20px));
  min-height: min(380px, calc(100dvh - var(--mega-menu-top) - 20px));
  max-height: calc(100dvh - var(--mega-menu-top) - 20px);
  overflow: hidden;
  border: 1px solid rgba(92, 71, 54, 0.12);
  background:
    radial-gradient(circle at top left, rgba(185, 137, 89, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(255, 253, 249, 0.98), rgba(246, 239, 231, 0.94));
  box-shadow: 0 34px 90px rgba(29, 24, 18, 0.22);
}

@supports not (height: 100dvh) {
  .mega-layout {
    height: min(640px, calc(100vh - var(--mega-menu-top) - 20px));
    min-height: min(380px, calc(100vh - var(--mega-menu-top) - 20px));
    max-height: calc(100vh - var(--mega-menu-top) - 20px);
  }
}

.mega-side,
.mega-content {
  min-width: 0;
  min-height: 0;
  padding: clamp(22px, 2.4vw, 34px);
}

.mega-side {
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(180deg, rgba(246, 239, 231, 0.98), rgba(255, 255, 255, 0.72)),
    radial-gradient(circle at 0 0, rgba(185, 137, 89, 0.14), transparent 38%);
}

.mega-content {
  display: grid;
  grid-template-rows: auto auto auto minmax(0, 1fr) auto;
  gap: 10px;
  background: rgba(255, 255, 255, 0.44);
}

.mega-kicker {
  display: inline-flex;
  width: max-content;
  margin: 0 0 8px;
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid rgba(185, 137, 89, 0.16);
  color: var(--bronze-dark);
  background: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.mega-title {
  margin: 0;
  padding-right: 42px;
  font-size: clamp(22px, 2vw, 34px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.mega-side .mega-title {
  font-size: clamp(22px, 1.7vw, 28px);
}

.mega-side-note,
.mega-subtitle {
  margin: 10px 0 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.mega-list {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 2px 6px 6px 0;
  scrollbar-width: thin;
}

.mega-list button {
  min-height: 48px;
  padding: 0 14px;
  border-radius: 16px;
  text-align: left;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.mega-list button.active,
.mega-list button:hover {
  transform: translateX(3px);
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(185, 137, 89, 0.22);
  box-shadow: 0 14px 28px rgba(90, 61, 43, 0.1);
}

.mega-menu .collection-grid {
  min-height: 0;
  max-height: none;
  align-content: start;
  grid-template-columns: repeat(auto-fill, minmax(152px, 1fr));
  gap: 16px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 4px 10px 10px 2px;
  scrollbar-width: thin;
}

.mega-list::-webkit-scrollbar,
.mega-menu .collection-grid::-webkit-scrollbar {
  width: 7px;
}

.mega-list::-webkit-scrollbar-thumb,
.mega-menu .collection-grid::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(104, 70, 50, 0.22);
}

.mega-menu .collection-card {
  min-width: 0;
  gap: 10px;
  padding: 10px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 242, 235, 0.9));
}

.mega-menu .collection-card img {
  aspect-ratio: 1 / 1.06;
  padding: 8px;
  border-radius: 17px;
  object-fit: contain;
  background: linear-gradient(180deg, #fdfbf8 0%, #f3ece4 100%);
}

.mega-menu .collection-card span {
  min-height: 38px;
  font-size: 13px;
  line-height: 1.35;
}

.mega-action {
  display: flex;
  justify-content: flex-end;
  padding-top: 14px;
  border-top: 1px solid rgba(92, 71, 54, 0.09);
}

.mega-all-link {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 48px;
  padding: 0 22px;
  overflow: hidden;
  border-radius: 999px;
  border: 1px solid rgba(185, 137, 89, 0.28);
  color: #fff;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.26), transparent 34%),
    linear-gradient(135deg, #7b5338 0%, var(--bronze-dark) 100%);
  box-shadow: 0 18px 38px rgba(90, 61, 43, 0.22);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.mega-all-link::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.3) 46%, transparent 74%);
  transform: translateX(-130%);
  transition: transform 0.5s ease;
}

.mega-all-link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.24s ease;
}

.mega-all-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 46px rgba(90, 61, 43, 0.28);
}

.mega-all-link:hover::before {
  transform: translateX(130%);
}

.mega-all-link:hover svg {
  transform: translateX(4px);
}

@media (max-width: 980px) {
  .mega-menu {
    width: min(calc(100vw - 28px), 1120px);
  }

  .mega-layout {
    grid-template-columns: minmax(210px, 250px) minmax(0, 1fr);
  }

  .mega-menu .collection-grid {
    grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
    gap: 12px;
  }
}

.route-product .topbar .container {
  min-height: 34px;
  font-size: 11px;
}

.route-product .header-wrap {
  gap: 8px;
  padding: 8px 0 10px;
}

.route-product .header-top {
  gap: 12px;
}

.route-product .brand,
body.header-scrolled.route-product .brand {
  min-height: auto;
}

.route-product .brand::before {
  display: none;
}

.route-product .brand.brand-has-logo {
  min-width: 158px;
  min-height: 98px;
  padding: 4px 16px;
  box-shadow:
    0 14px 28px rgba(45, 36, 25, 0.11),
    0 0 0 5px rgba(185, 137, 89, 0.055);
}

.route-product .brand-logo,
.route-product .brand img,
.route-product .brand.brand-has-logo .brand-logo,
.route-product .brand.brand-has-logo img,
body.header-scrolled.route-product .brand-logo,
body.header-scrolled.route-product .brand img,
body.header-scrolled.route-product .brand.brand-has-logo .brand-logo,
body.header-scrolled.route-product .brand.brand-has-logo img {
  height: 86px;
  padding: 4px;
  box-shadow: none;
}

.route-product .main-nav {
  gap: 18px;
  padding: 0 8px;
}

.route-product .nav-trigger {
  padding-bottom: 5px;
  font-size: 12px;
  letter-spacing: 0.075em;
}

.route-product main.section {
  padding-top: 38px;
}

.route-product .breadcrumb {
  margin-bottom: 18px;
}

.gallery-open-hit {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.gallery-open-hit img,
.premium-main-image img {
  transform-origin: center center;
}

.premium-main-image img.is-zoomed {
  transform: none;
}

.premium-main-image img.is-click-zoomed {
  cursor: zoom-out;
}

.gallery-zoom-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: -2px;
  padding: 10px 12px;
  border-radius: 22px;
  border: 1px solid rgba(92, 71, 54, 0.1);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow-xs);
}

.gallery-open-btn,
.gallery-zoom-stepper button,
.product-gallery-viewer-controls button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(92, 71, 54, 0.12);
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
  box-shadow: 0 8px 18px rgba(45, 36, 25, 0.06);
  font-weight: 900;
}

.gallery-open-btn {
  padding: 0 16px;
  color: var(--bronze-dark);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 12px;
}

.gallery-zoom-stepper {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.gallery-zoom-stepper button,
.product-gallery-viewer-controls button {
  min-width: 40px;
  padding: 0 12px;
}

.product-gallery-viewer {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: clamp(16px, 3vw, 34px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

.product-gallery-viewer.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.product-gallery-viewer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 16, 14, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.product-gallery-viewer-dialog {
  position: relative;
  width: min(1120px, 100%);
  height: min(820px, calc(100dvh - 40px));
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  overflow: hidden;
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.16), transparent 32%),
    linear-gradient(180deg, rgba(253, 250, 246, 0.98), rgba(239, 231, 222, 0.96));
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.34);
}

.product-gallery-viewer-stage {
  min-height: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: clamp(18px, 3vw, 42px);
}

.product-gallery-viewer-stage img {
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center center;
  transform-origin: center center;
  transition: transform 0.24s ease;
}

.product-gallery-viewer-close,
.product-gallery-viewer-nav {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  border: 1px solid rgba(92, 71, 54, 0.14);
  background: rgba(255, 255, 255, 0.88);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

.product-gallery-viewer-close {
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: 16px;
  font-size: 24px;
}

.product-gallery-viewer-nav {
  top: 50%;
  width: 48px;
  height: 72px;
  border-radius: 999px;
  font-size: 42px;
  transform: translateY(-50%);
}

.product-gallery-viewer-nav.prev {
  left: 18px;
}

.product-gallery-viewer-nav.next {
  right: 18px;
}

.product-gallery-viewer-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  border-top: 1px solid rgba(92, 71, 54, 0.1);
  background: rgba(255, 255, 255, 0.58);
}

@media (max-width: 768px) {
  .gallery-zoom-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 10px;
  }

  .gallery-open-btn,
  .gallery-zoom-stepper {
    width: 100%;
  }

  .gallery-zoom-stepper button {
    flex: 1;
  }

  .product-gallery-viewer {
    padding: 10px;
  }

  .product-gallery-viewer-dialog {
    height: min(760px, calc(100dvh - 20px));
    border-radius: 26px;
  }

  .product-gallery-viewer-nav {
    width: 40px;
    height: 58px;
    font-size: 34px;
  }

  .product-gallery-viewer-nav.prev {
    left: 10px;
  }

  .product-gallery-viewer-nav.next {
    right: 10px;
  }

  .product-gallery-viewer-close {
    top: 10px;
    right: 10px;
  }
}


/* v17 product gallery fit fix: remove percentage reset dependency + contain modal images */
.gallery-zoom-stepper,
.product-gallery-viewer-controls {
  gap: 12px;
}

.gallery-zoom-stepper button,
.product-gallery-viewer-controls button {
  min-width: 42px;
  width: 42px;
  padding: 0;
  font-size: 17px;
  line-height: 1;
}

.product-gallery-viewer-dialog {
  width: min(1120px, calc(100vw - 72px));
  height: min(820px, calc(100dvh - 44px));
}

.product-gallery-viewer-stage {
  position: relative;
  overflow: auto;
  align-items: center;
  justify-items: center;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}

.product-gallery-viewer-stage img {
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 100% !important;
  margin: auto;
  object-fit: contain !important;
  object-position: center center !important;
  transform-origin: center center;
}

.product-gallery-viewer:not(.is-zoomed) .product-gallery-viewer-stage img {
  transform: none !important;
}

.product-gallery-viewer.is-zoomed .product-gallery-viewer-stage {
  cursor: grab;
}

@supports not (height: 100dvh) {
  .product-gallery-viewer-dialog {
    height: min(820px, calc(100vh - 44px));
  }
}

@media (max-width: 768px) {
  .product-gallery-viewer-dialog {
    width: calc(100vw - 18px);
    height: calc(100dvh - 18px);
    border-radius: 24px;
  }

  .product-gallery-viewer-stage {
    padding: 50px 12px 14px;
  }

  .product-gallery-viewer-controls {
    padding: 12px;
  }

  .product-gallery-viewer-controls button {
    width: 44px;
    min-width: 44px;
    min-height: 40px;
  }
}

@media (max-width: 768px) and (supports not (height: 100dvh)) {
  .product-gallery-viewer-dialog {
    height: calc(100vh - 18px);
  }
}

/* v18 admin product ordering controls */
.admin-list-tools,
.admin-list-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.admin-list-footer {
  margin-top: 18px;
}

.admin-order-save-form {
  display: none;
}

.admin-order-legend {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  margin: 0 0 14px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(185, 137, 89, 0.14);
  background: rgba(247, 242, 234, 0.72);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.admin-order-input {
  width: 92px;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 14px;
  text-align: center;
  font-weight: 900;
}

@media (max-width: 768px) {
  .admin-list-tools,
  .admin-list-footer {
    justify-content: stretch;
  }

  .admin-list-tools .admin-quick-btn,
  .admin-list-footer .admin-quick-btn {
    width: 100%;
  }

  .admin-order-legend {
    align-items: flex-start;
    width: 100%;
    min-height: auto;
    padding: 12px 14px;
    border-radius: 18px;
    line-height: 1.5;
  }
}

/* v21 scoped about / Biz Kimiz typography rollback
   Global gradient typography removed. Only the homepage Biz Kimiz block
   and about.php story card keep the refined premium structure. */
body:not(.admin-body) .editorial-copy,
body:not(.admin-body) .about-copy-card {
  position: relative;
  overflow: hidden;
  background: rgba(255, 253, 250, 0.94);
}

body:not(.admin-body) .editorial-copy .eyebrow,
body:not(.admin-body) .about-copy-card .eyebrow {
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  margin-bottom: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(185, 137, 89, 0.18);
  background: rgba(247, 242, 234, 0.72);
  color: var(--bronze-dark);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Arial, sans-serif;
  font-size: 11px;
  font-weight: 850;
  line-height: 1;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  -webkit-text-fill-color: currentColor;
  background-clip: border-box;
  -webkit-background-clip: border-box;
}

body:not(.admin-body) .editorial-copy h2,
body:not(.admin-body) .about-copy-card h1 {
  max-width: 720px;
  margin: 0 0 14px;
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Arial, sans-serif;
  font-size: clamp(28px, 3.1vw, 46px);
  font-weight: 760;
  line-height: 1.02;
  letter-spacing: -0.045em;
  text-wrap: balance;
  -webkit-text-fill-color: currentColor;
  background: none;
  background-clip: border-box;
  -webkit-background-clip: border-box;
}

body:not(.admin-body) .about-copy-card h1 {
  font-size: clamp(28px, 3vw, 44px);
}

body:not(.admin-body) .editorial-copy p,
body:not(.admin-body) .about-copy-card p {
  max-width: 66ch;
  margin: 0 0 13px;
  color: var(--muted);
  font-size: clamp(15px, 1vw, 17px);
  line-height: 1.82;
  letter-spacing: -0.004em;
}

body:not(.admin-body) .about-copy-card p + p,
body:not(.admin-body) .editorial-copy p + p {
  margin-top: 4px;
}

body:not(.admin-body) .editorial-copy .auth-actions,
body:not(.admin-body) .about-copy-card .auth-actions {
  margin-top: 20px;
}

/* 20260505 contact Google Maps fix */
.contact-map-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(0, 1.14fr);
  gap: 18px;
  align-items: stretch;
  margin-top: 24px;
  padding: 18px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(92, 71, 54, 0.12);
  background:
    radial-gradient(circle at top left, rgba(185, 137, 89, 0.18), transparent 34%),
    linear-gradient(135deg, rgba(255, 253, 250, 0.96), rgba(246, 240, 232, 0.86));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.contact-map-panel::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  pointer-events: none;
}

.contact-map-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 390px;
  padding: 28px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(92, 71, 54, 0.08);
}

.contact-map-copy h2 {
  margin: 0 0 12px;
  max-width: 420px;
  font-size: clamp(28px, 3vw, 46px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  color: var(--text);
}

.contact-map-address {
  max-width: 460px;
  margin: 0 0 22px;
  color: var(--muted);
  line-height: 1.85;
  font-weight: 650;
}

.contact-map-link {
  width: fit-content;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #7b5338 0%, var(--bronze-dark) 100%);
  box-shadow: 0 18px 34px rgba(90, 61, 43, 0.16);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}

.contact-map-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 42px rgba(90, 61, 43, 0.22);
  background: linear-gradient(135deg, var(--bronze) 0%, var(--bronze-dark) 100%);
}

.contact-map-link svg {
  width: 18px;
  height: 18px;
}

.contact-map-link path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-map-frame {
  position: relative;
  z-index: 1;
  min-height: 390px;
  border-radius: 24px;
  overflow: hidden;
  background: #efe7dd;
  border: 1px solid rgba(92, 71, 54, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.36);
}

.contact-map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 390px;
  border: 0;
  display: block;
  filter: saturate(0.88) contrast(0.98);
}

@media (max-width: 900px) {
  .contact-map-panel {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .contact-map-copy {
    min-height: auto;
    padding: 24px;
  }

  .contact-map-frame,
  .contact-map-frame iframe {
    min-height: 340px;
  }
}

/* v24 admin order operations + payment flow hotfix */
.admin-order-filter-form {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(160px, 1fr)) auto;
  gap: 14px;
  align-items: end;
}

.admin-order-filter-actions,
.admin-order-form-actions,
.admin-order-chips,
.admin-order-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-order-stack {
  display: grid;
  gap: 18px;
}

.admin-order-card {
  padding: clamp(20px, 2vw, 28px);
  border-radius: 30px;
  border: 1px solid rgba(92, 71, 54, 0.1);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 44px rgba(66, 43, 26, 0.08);
}

.admin-order-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(92, 71, 54, 0.08);
}

.admin-order-title h3 {
  margin: 6px 0 8px;
  font-size: clamp(24px, 2.2vw, 34px);
  letter-spacing: -0.045em;
}

.admin-order-meta {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.admin-order-chips {
  margin-top: 12px;
}

.admin-order-total {
  min-width: 180px;
  text-align: right;
}

.admin-order-total span,
.admin-order-info-box span,
.admin-order-section-title span,
.admin-order-log-values span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.admin-order-total strong {
  display: block;
  margin-top: 8px;
  font-size: clamp(24px, 2.6vw, 38px);
  letter-spacing: -0.06em;
}

.admin-order-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.admin-order-info-box,
.payment-card,
.payment-summary-card {
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(92, 71, 54, 0.08);
  background: rgba(255, 255, 255, 0.96);
}

.admin-order-info-box strong {
  display: block;
  margin: 7px 0 6px;
  font-size: 16px;
}

.admin-order-info-box p {
  margin: 7px 0 0;
  color: var(--muted);
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.admin-order-products {
  margin-top: 18px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(247, 242, 234, 0.62);
  border: 1px solid rgba(92, 71, 54, 0.08);
}

.admin-order-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.admin-order-section-title h4 {
  margin: 0;
  font-size: 20px;
  letter-spacing: -0.03em;
}

.admin-order-product-row,
.payment-item-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 14px;
  align-items: center;
  padding: 13px 0;
  border-top: 1px solid rgba(92, 71, 54, 0.08);
}

.admin-order-product-row:first-of-type,
.payment-item-row:first-child {
  border-top: 0;
}

.admin-order-product-row strong,
.payment-item-row strong {
  display: block;
  margin-bottom: 4px;
}

.admin-order-product-row span,
.payment-item-row span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.admin-order-product-row b,
.payment-item-row b {
  white-space: nowrap;
}

.admin-order-admin-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  margin-top: 18px;
}

.admin-order-update-form {
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(92, 71, 54, 0.08);
  background: rgba(255, 255, 255, 0.96);
}

.admin-order-delete-form {
  margin: 0;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(161, 67, 52, 0.14);
  background: rgba(255, 244, 242, 0.76);
}

.admin-order-update-form textarea {
  min-height: 90px;
}

.admin-order-log-list {
  display: grid;
  gap: 12px;
}

.admin-order-log-item {
  padding: 16px;
  border-radius: 22px;
  border: 1px solid rgba(92, 71, 54, 0.08);
  background: rgba(255, 255, 255, 0.96);
}

.admin-order-log-main {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.admin-order-log-main strong {
  display: block;
  margin-bottom: 4px;
  font-size: 16px;
}

.admin-order-log-main p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.admin-order-log-values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.admin-order-log-values div {
  padding: 12px;
  border-radius: 18px;
  background: rgba(247, 242, 234, 0.62);
}

.admin-order-log-values p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.payment-hero {
  padding: clamp(26px, 4vw, 46px);
  border-radius: 34px;
  border: 1px solid rgba(92, 71, 54, 0.1);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(247, 242, 234, 0.78));
  box-shadow: 0 18px 46px rgba(66, 43, 26, 0.08);
}

.payment-hero h1 {
  margin: 8px 0 10px;
  font-size: clamp(34px, 5vw, 66px);
  letter-spacing: -0.06em;
}

.payment-hero p {
  max-width: 720px;
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.8;
}

.payment-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.42fr);
  gap: 22px;
  align-items: start;
  margin-top: 24px;
}

.payment-methods {
  display: grid;
  gap: 16px;
}

.payment-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  padding: 22px;
}

.payment-card h3,
.payment-summary-card h3 {
  margin: 0 0 8px;
  font-size: 24px;
  letter-spacing: -0.035em;
}

.payment-card p {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.7;
}

.payment-card-success {
  border-color: rgba(64, 146, 104, 0.18);
  background: rgba(241, 250, 246, 0.94);
}

.payment-step-no {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: rgba(126, 92, 64, 0.12);
  color: var(--bronze-dark);
  font-weight: 900;
}

.payment-muted-box,
.payment-bank-box {
  padding: 16px;
  border-radius: 18px;
  background: rgba(247, 242, 234, 0.78);
  color: var(--muted);
  line-height: 1.75;
}

.payment-bank-box {
  margin-bottom: 14px;
  color: var(--text);
}

.payment-summary-card {
  position: sticky;
  top: 110px;
  padding: 22px;
}

.payment-items {
  margin-top: 14px;
  padding-top: 8px;
  border-top: 1px solid rgba(92, 71, 54, 0.08);
}

.payment-total-row {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(92, 71, 54, 0.12);
}

@media (max-width: 1180px) {
  .admin-order-filter-form,
  .admin-order-grid,
  .payment-shell {
    grid-template-columns: 1fr 1fr;
  }

  .admin-order-filter-actions,
  .payment-summary-card {
    grid-column: 1 / -1;
  }

  .payment-summary-card {
    position: static;
  }
}

@media (max-width: 760px) {
  .admin-order-filter-form,
  .admin-order-grid,
  .admin-order-admin-actions,
  .admin-order-log-values,
  .payment-shell,
  .payment-card {
    grid-template-columns: 1fr;
  }

  .admin-order-head {
    flex-direction: column;
  }

  .admin-order-total {
    text-align: left;
  }

  .admin-order-product-row,
  .payment-item-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .admin-order-filter-actions .btn,
  .admin-order-form-actions .btn,
  .admin-order-delete-form .admin-quick-btn,
  .payment-card .btn {
    width: 100%;
  }
}

/* Product detail image/video media support */
.product-main-media-shell,
.product-gallery-viewer-media-shell {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}

.premium-main-image .product-detail-media,
.premium-main-image video,
.premium-main-image img {
  width: 100%;
  aspect-ratio: 1 / 1.06;
  object-fit: cover;
  display: block;
}

.premium-main-image .product-detail-media--video {
  background: #111;
  cursor: default;
}

.premium-main-image .product-detail-media--image {
  cursor: zoom-in;
  transform-origin: center center;
  transition: transform 0.28s ease;
}

.gallery-zoom-toolbar.is-video-active .gallery-zoom-stepper {
  display: none;
}

.premium-thumb {
  position: relative;
}

.premium-thumb img,
.premium-thumb video {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.premium-thumb video {
  background: #111;
}

.thumb-play-badge,
.media-video-badge {
  position: absolute;
  left: 8px;
  bottom: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(18, 16, 14, 0.72);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  pointer-events: none;
}

.product-gallery-viewer-stage .product-gallery-viewer-media-shell {
  min-width: 0;
  min-height: 0;
}

.product-gallery-viewer-stage .product-detail-media--image,
.product-gallery-viewer-stage .product-detail-media--video,
.product-gallery-viewer-stage video,
.product-gallery-viewer-stage img {
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 100% !important;
  margin: auto;
  object-fit: contain !important;
  object-position: center center !important;
  transform-origin: center center;
}

.product-gallery-viewer-stage .product-detail-media--video {
  width: 100% !important;
  max-height: calc(100dvh - 160px) !important;
  background: #111;
  border-radius: 18px;
}

.product-gallery-viewer.is-video-active .product-gallery-viewer-controls {
  display: none;
}

.admin-body .media-thumb {
  position: relative;
}

.admin-body .media-thumb img,
.admin-body .media-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.admin-body .media-thumb video {
  background: #111;
}

@media (max-width: 768px) {
  .product-gallery-viewer-stage .product-detail-media--video {
    max-height: calc(100dvh - 132px) !important;
    border-radius: 14px;
  }
}

/* Footer creator credit */
.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  color: rgba(43, 32, 24, 0.68);
  font-size: 0.92rem;
}

.footer-credit-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-size: 0.95em;
  font-weight: 750;
  letter-spacing: 0.025em;
  text-transform: none;
  text-decoration: none;
  background: linear-gradient(120deg, #4a2b1c 0%, #8b5a36 45%, #c19257 72%, #5a321f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #8b5a36;
  text-shadow: 0 6px 18px rgba(139, 90, 54, 0.12);
}

.footer-credit-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(59, 36, 23, 0), rgba(200, 153, 93, 0.82), rgba(59, 36, 23, 0));
  transform: scaleX(0.52);
  opacity: 0.58;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.footer-credit-link:hover {
  filter: brightness(1.06);
}

.footer-credit-link:hover::after {
  transform: scaleX(0.82);
  opacity: 0.86;
}

/* Stock management fix */
.product-stock-status {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 10px 0 14px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  border: 1px solid rgba(64, 45, 32, .12);
  background: rgba(255,255,255,.72);
  color: var(--text);
}
.product-stock-status--ok {
  color: #31513a;
  border-color: rgba(49, 81, 58, .18);
  background: rgba(232, 241, 233, .88);
}
.product-stock-status--warning {
  color: #7a4a18;
  border-color: rgba(152, 99, 34, .22);
  background: rgba(255, 244, 225, .92);
}
.product-stock-status--danger {
  color: #8b1f1f;
  border-color: rgba(139, 31, 31, .22);
  background: rgba(255, 232, 232, .92);
}
.product-stock-status--neutral {
  color: rgba(47, 38, 31, .72);
}
.premium-btn-main:disabled,
.premium-btn-main[disabled] {
  cursor: not-allowed;
  opacity: .48;
  filter: grayscale(.2);
}
.admin-stock-input {
  max-width: 96px;
  text-align: center;
}
.admin-pill.err {
  background: rgba(139, 31, 31, .12);
  color: #8b1f1f;
  border-color: rgba(139, 31, 31, .22);
}
.admin-pill.warn {
  background: rgba(152, 99, 34, .12);
  color: #7a4a18;
  border-color: rgba(152, 99, 34, .22);
}
.admin-pill.ok {
  background: rgba(49, 81, 58, .12);
  color: #31513a;
  border-color: rgba(49, 81, 58, .22);
}
.product-card-stock-badge {
  top: auto;
  bottom: 14px;
  background: rgba(255,255,255,.92);
  color: #7a4a18;
  border: 1px solid rgba(152, 99, 34, .22);
}
.product-card-stock-badge.danger {
  color: #8b1f1f;
  border-color: rgba(139,31,31,.22);
}

/* v21 admin stock search */
.admin-stock-search {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(260px, 1.2fr);
  gap: 16px;
  align-items: end;
}

.admin-stock-search__copy {
  display: grid;
  gap: 6px;
}

.admin-stock-search__copy strong {
  color: var(--text);
  font-size: 15px;
  letter-spacing: -0.01em;
}

.admin-stock-search__controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.admin-stock-search__controls input[type="search"] {
  width: min(100%, 420px);
  min-height: 44px;
  padding: 0 15px;
  border-radius: 999px;
  border: 1px solid rgba(92, 71, 54, 0.14);
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
  font-weight: 700;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.admin-stock-search__controls input[type="search"]:focus {
  border-color: rgba(185, 137, 89, 0.38);
  box-shadow: 0 0 0 4px rgba(185, 137, 89, 0.1);
}

.admin-stock-search-result {
  margin: 14px 0 0;
}

@media (max-width: 768px) {
  .admin-stock-search {
    grid-template-columns: 1fr;
  }

  .admin-stock-search__controls {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: stretch;
  }

  .admin-stock-search__controls input[type="search"],
  .admin-stock-search__controls .admin-quick-btn {
    width: 100%;
  }
}

/* Admin product reports */
.admin-report-filter {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr)) auto auto;
  align-items: end;
  gap: 12px;
  margin: 0 0 22px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 36px rgba(33, 24, 18, 0.06);
}

.admin-report-filter .btn {
  min-height: 48px;
}

.admin-report-stats {
  margin-bottom: 22px;
}

.admin-report-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}

.admin-report-card {
  overflow: hidden;
}

.admin-report-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.admin-report-card-head h3 {
  margin-bottom: 0;
}

.admin-report-list {
  display: grid;
  gap: 12px;
}

.admin-report-row {
  display: grid;
  grid-template-columns: 34px 58px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(78, 55, 41, 0.09);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.7);
}

.admin-report-rank {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(87, 55, 38, 0.12), rgba(179, 126, 86, 0.12));
  color: var(--text);
  font-weight: 900;
  font-size: 13px;
}

.admin-report-thumb {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  overflow: hidden;
  background: #f4efe8;
  border: 1px solid rgba(78, 55, 41, 0.08);
}

.admin-report-thumb img,
.admin-report-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.admin-report-info {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.admin-report-info strong {
  display: block;
  color: var(--text);
  font-size: 14px;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-report-info span,
.admin-report-number span {
  color: var(--muted);
  font-size: 12px;
}

.admin-report-bar {
  height: 6px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(78, 55, 41, 0.08);
}

.admin-report-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(77, 46, 31, 0.84), rgba(184, 130, 86, 0.72));
}

.admin-report-number {
  text-align: right;
  min-width: 92px;
}

.admin-report-number strong {
  display: block;
  color: var(--text);
  font-size: 15px;
}

.admin-report-stock-card {
  margin-top: 22px;
}

@media (max-width: 980px) {
  .admin-report-grid,
  .admin-report-filter {
    grid-template-columns: 1fr;
  }

  .admin-report-filter .btn {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .admin-report-card-head,
  .admin-report-row {
    align-items: stretch;
  }

  .admin-report-card-head {
    flex-direction: column;
  }

  .admin-report-row {
    grid-template-columns: 30px 48px minmax(0, 1fr);
  }

  .admin-report-number {
    grid-column: 3 / 4;
    text-align: left;
  }

  .admin-report-thumb {
    width: 48px;
    height: 48px;
  }
}

/* v18 requested revisions: click-only menu, topbar hide, alternate logo, centered zoom modal */
body.topbar-hidden .topbar {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-100%);
  pointer-events: none;
}

.topbar {
  max-height: 42px;
  transition: max-height 0.24s ease, padding 0.24s ease, opacity 0.24s ease, transform 0.24s ease;
}

.brand-left-text {
  justify-self: start;
  gap: 14px;
  min-height: auto;
  text-decoration: none;
}

.brand-left-text::before {
  display: none;
}

.brand-left-text.brand-has-logo .brand-logo,
.brand-left-text.brand-has-logo img {
  height: 78px;
  padding: 5px;
  border-radius: 999px;
}

.brand-copy-inline {
  display: grid;
  gap: 4px;
  min-width: max-content;
}

.brand-copy-inline strong {
  color: var(--text);
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.brand-copy-inline small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body.header-scrolled .brand-left-text.brand-has-logo .brand-logo,
body.header-scrolled .brand-left-text.brand-has-logo img {
  height: 64px;
  padding: 4px;
}

@media (min-width: 769px) {
  .header-top:has(.brand-left-text) {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .header-top:has(.brand-left-text) .mobile-menu-toggle {
    grid-column: 1;
  }

  .header-top:has(.brand-left-text) .brand {
    grid-column: 1 / 3;
  }

  .header-top:has(.brand-left-text) .header-actions {
    grid-column: 3;
  }
}

.product-gallery-viewer-stage {
  justify-content: center;
  align-content: center;
}

.product-gallery-viewer-media-shell {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}

.product-gallery-viewer-stage .product-detail-media--image,
.product-gallery-viewer-stage .product-detail-media--video,
.product-gallery-viewer-stage img,
.product-gallery-viewer-stage video {
  margin: auto !important;
}

.product-gallery-viewer:not(.is-zoomed) .product-gallery-viewer-stage {
  overflow: hidden;
}

/* v19 logo option refinement: logo left, title centered */
.brand-left-text.brand-has-logo {
  min-width: 0 !important;
  min-height: 0 !important;
  width: auto;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  justify-self: start;
  gap: 0;
}

.brand-left-text.brand-has-logo::before,
.brand-left-text.brand-has-logo::after {
  display: none !important;
}

.brand-left-text.brand-has-logo .brand-logo,
.brand-left-text.brand-has-logo img {
  height: clamp(70px, 5.7vw, 96px) !important;
  width: auto;
  max-width: 140px;
  padding: 4px !important;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(185, 137, 89, 0.34);
  box-shadow: 0 12px 24px rgba(45, 36, 25, 0.11);
}

body.header-scrolled .brand-left-text.brand-has-logo .brand-logo,
body.header-scrolled .brand-left-text.brand-has-logo img {
  height: clamp(54px, 4.6vw, 72px) !important;
  padding: 3px !important;
}

.header-top:has(.brand-left-text) {
  position: relative;
  grid-template-columns: auto minmax(220px, 1fr) auto;
}

.header-top:has(.brand-left-text) .brand-left-text {
  grid-column: 1;
  z-index: 2;
}

.header-top:has(.brand-left-text) .brand-copy-inline {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  min-width: 0;
  width: max-content;
  max-width: min(42vw, 520px);
  text-align: center;
  pointer-events: none;
}

.header-top:has(.brand-left-text) .brand-copy-inline strong {
  display: block;
  font-size: clamp(24px, 2.1vw, 42px);
  line-height: 1.05;
  letter-spacing: -0.055em;
  white-space: nowrap;
}

.header-top:has(.brand-left-text) .brand-copy-inline small {
  display: block;
  margin-top: 4px;
}

.header-top:has(.brand-left-text) .header-actions {
  grid-column: 3;
  z-index: 3;
}

@media (max-width: 768px) {
  .header-top:has(.brand-left-text) {
    grid-template-columns: auto 1fr auto;
  }

  .header-top:has(.brand-left-text) .brand-left-text {
    grid-column: 2;
    justify-self: center;
  }

  .header-top:has(.brand-left-text) .brand-copy-inline {
    position: static;
    transform: none;
    max-width: 46vw;
    margin-left: 10px;
    text-align: left;
    pointer-events: auto;
  }

  .header-top:has(.brand-left-text) .brand-copy-inline strong {
    font-size: clamp(18px, 5.4vw, 24px);
    white-space: normal;
  }
}

.mega-list a {
  width: 100%;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 16px;
  border-radius: 18px;
  border: 1px solid transparent;
  background: transparent;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}

.mega-list a.active,
.mega-list a:hover,
.mega-list a:focus-visible {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(185, 137, 89, 0.16);
  box-shadow: var(--shadow-xs);
  outline: none;
}


/* v20 logo-left option: centered editable header title */
.header-top:has(.brand-left-text) {
  position: relative;
  grid-template-columns: auto minmax(220px, 1fr) auto;
}

.header-top:has(.brand-left-text) .brand-left-text {
  position: static;
  grid-column: 1;
  justify-self: start;
  z-index: 2;
}

.header-center-title {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  max-width: min(44vw, 560px);
  width: max-content;
  pointer-events: none;
  z-index: 1;
  color: var(--text);
  font-weight: 900;
  font-size: clamp(26px, 2.25vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.055em;
  text-align: center;
  white-space: nowrap;
}

.header-top:has(.brand-left-text) .brand-copy-inline {
  display: none !important;
}

@media (max-width: 768px) {
  .header-center-title {
    display: none;
  }
}

/* v21 scroll behavior: hide the full upper header/banner after scrolling */
.glass-header {
  max-height: 420px;
  overflow: visible;
  transition:
    max-height 0.26s ease,
    opacity 0.22s ease,
    transform 0.24s ease,
    padding 0.24s ease,
    box-shadow 0.24s ease,
    border-color 0.24s ease,
    background 0.24s ease;
}

body.site-header-hidden .glass-header {
  max-height: 0 !important;
  overflow: hidden !important;
  opacity: 0 !important;
  transform: translateY(-100%) !important;
  pointer-events: none !important;
  border-bottom-color: transparent !important;
  box-shadow: none !important;
}

body.site-header-hidden .header-wrap {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

body.site-header-hidden .mega-menu,
body.site-header-hidden .mega-backdrop {
  display: none !important;
}

/* v22 product description and header center title refinements */
.product-description-block {
  margin-top: 18px;
}

.product-description-block .premium-description {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.9;
}

.header-center-title {
  text-decoration: none;
  pointer-events: auto;
}

.header-center-title--obscura {
  background: linear-gradient(120deg, #4a2b1c 0%, #8b5a36 45%, #c19257 72%, #5a321f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #8b5a36;
  text-shadow: 0 6px 18px rgba(139, 90, 54, 0.12);
}

.header-center-title--obscura::after {
  content: '';
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: -6px;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(59, 36, 23, 0), rgba(200, 153, 93, 0.82), rgba(59, 36, 23, 0));
  transform: scaleX(0.52);
  opacity: 0.58;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.header-center-title--obscura:hover {
  filter: brightness(1.06);
}

.header-center-title--obscura:hover::after,
.header-center-title--obscura:focus-visible::after {
  transform: scaleX(0.82);
  opacity: 0.86;
}

/* Admin usability revamp */
.admin-wrap {
  grid-template-columns: 320px minmax(0, 1fr);
}

.admin-side {
  overflow-y: auto;
  padding: 24px 18px;
  background: linear-gradient(180deg, #181410 0%, #241b14 100%);
}

.admin-brand-block {
  padding: 14px 12px 18px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-brand-kicker,
.admin-nav-title {
  display: block;
  color: rgba(255, 255, 255, 0.56);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.admin-brand-block h2 {
  margin: 7px 0 8px;
  color: #fff;
  font-size: 25px;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.admin-brand-block p {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  line-height: 1.55;
}

.admin-view-site {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 40px !important;
  padding: 0 14px !important;
  border-radius: 999px !important;
  color: #221911 !important;
  background: #fff !important;
  font-weight: 900;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.admin-nav {
  display: grid;
  gap: 16px;
}

.admin-nav-group {
  display: grid;
  gap: 7px;
}

.admin-nav-title {
  padding: 0 12px 2px;
}

.admin-side .admin-nav-link {
  display: grid;
  align-items: center;
  min-height: 0;
  gap: 3px;
  padding: 11px 12px;
  border-radius: 15px;
  color: rgba(255, 255, 255, 0.82);
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.admin-side .admin-nav-link:hover,
.admin-side .admin-nav-link.active {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.11);
  transform: translateX(3px);
}

.admin-nav-label {
  font-size: 14px;
  font-weight: 900;
  line-height: 1.25;
}

.admin-nav-link small {
  color: rgba(255, 255, 255, 0.56);
  font-size: 12px;
  line-height: 1.35;
}

.admin-nav-link.active small,
.admin-nav-link:hover small {
  color: rgba(255, 255, 255, 0.76);
}

.admin-nav-group--exit {
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-header-card {
  padding: 24px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.admin-header-card h1 {
  margin-bottom: 4px;
}

.admin-help-card {
  margin-top: 12px;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(117, 83, 57, 0.08);
  border: 1px solid rgba(117, 83, 57, 0.14);
}

.admin-help-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 14px;
}

.admin-help-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.65;
}

.admin-help-card li + li {
  margin-top: 4px;
}

.admin-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.admin-guide-card {
  padding: 18px;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.admin-guide-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 15px;
}

.admin-guide-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 14px;
}

.admin-guide-card a {
  display: inline-flex;
  margin-top: 12px;
  font-weight: 900;
  color: var(--accent);
}

@media (max-width: 1024px) {
  .admin-wrap {
    grid-template-columns: 1fr;
  }

  .admin-side {
    position: relative;
    min-height: auto;
  }

  .admin-guide-grid {
    grid-template-columns: 1fr;
  }
}

/* v24 logo-left option: restore subtle gradient/aura around the logo */
.brand-left-text.brand-has-logo {
  position: relative !important;
  padding: 7px !important;
  border-radius: 999px !important;
  overflow: visible !important;
  isolation: isolate;
}

.brand-left-text.brand-has-logo::before {
  content: '' !important;
  display: block !important;
  position: absolute !important;
  inset: -9px !important;
  border-radius: 999px !important;
  pointer-events: none !important;
  z-index: -1 !important;
  opacity: 0.96 !important;
  background:
    radial-gradient(circle at 42% 34%, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.88) 42%, rgba(241, 221, 201, 0.74) 68%, rgba(185, 137, 89, 0.18) 100%),
    linear-gradient(135deg, rgba(250, 244, 235, 0.96), rgba(224, 190, 158, 0.42));
  border: 1px solid rgba(210, 166, 123, 0.42) !important;
  box-shadow:
    0 18px 38px rgba(45, 36, 25, 0.13),
    0 0 0 8px rgba(255, 255, 255, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.86) !important;
}

.brand-left-text.brand-has-logo .brand-logo,
.brand-left-text.brand-has-logo img {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.92) !important;
}


/* Admin banner video preview */
.thumb-preview video {
  display: block;
  width: 100%;
  max-height: 220px;
  border-radius: 18px;
  object-fit: contain;
  background: #f4efe8;
}

/* 20260516 admin cache management */
.cache-admin-card .muted {
  max-width: 760px;
}

.cache-action-form,
.cache-settings-form {
  display: grid;
  gap: 14px;
}

.cache-check-card,
.toggle-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(92, 71, 54, 0.1);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-xs);
}

.cache-check-card input,
.toggle-row input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--bronze-dark);
  flex: 0 0 auto;
}

.cache-check-card strong,
.toggle-row strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-weight: 900;
}

.cache-check-card small,
.toggle-row small,
.cache-settings-form label small {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.cache-run-form {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(92, 71, 54, 0.09);
}

@media (max-width: 768px) {
  .cache-check-card,
  .toggle-row {
    padding: 14px;
  }

  .cache-action-form .admin-quick-btn,
  .cache-settings-form .admin-quick-btn,
  .cache-run-form .admin-quick-btn {
    width: 100%;
  }
}

/* Admin: varyantları ayrı ürüne dönüştürme */
.admin-split-card {
    margin-top: 22px;
    border: 1px solid rgba(176, 130, 78, 0.22);
    background: linear-gradient(135deg, rgba(255,255,255,0.96), rgba(248,241,232,0.86));
}

.admin-split-summary {
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(176, 130, 78, 0.18);
    background: rgba(255, 255, 255, 0.76);
    display: grid;
    gap: 5px;
    color: #6f5b46;
}

.admin-split-summary strong {
    color: #382a1d;
}

.admin-split-summary--active {
    background: rgba(176, 130, 78, 0.10);
}

.admin-split-preview-table {
    margin-top: 16px;
}

.admin-split-confirm-form {
    margin-top: 18px;
    padding: 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px dashed rgba(176, 130, 78, 0.28);
}

.admin-split-checkbox {
    align-items: flex-start;
    font-weight: 700;
    color: #382a1d;
}

/* v32 admin product table sorting + compact mega menu all-products button */
.admin-sort-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: inherit;
  text-decoration: none;
  border-radius: 999px;
  padding: 5px 8px;
  margin: -5px -8px;
  transition: background 0.18s ease, color 0.18s ease;
}

.admin-sort-link:hover,
.admin-sort-link:focus-visible {
  color: var(--bronze-dark);
  background: rgba(132, 86, 58, 0.09);
  outline: none;
}

.mega-action {
  justify-content: flex-start !important;
  align-items: center;
  min-height: 0 !important;
  padding-top: 16px !important;
}

.mega-all-link {
  width: auto !important;
  min-width: 0 !important;
  max-width: max-content !important;
  height: auto !important;
  min-height: 48px !important;
  aspect-ratio: auto !important;
  padding: 0 24px !important;
  border-radius: 999px !important;
}

.mega-all-link::after {
  display: none !important;
}

@media (max-width: 760px) {
  .mega-action {
    justify-content: stretch !important;
  }

  .mega-all-link {
    width: 100% !important;
    max-width: none !important;
  }
}

/* v37 private QR catalog page + admin manager */
.private-catalog-page {
  background:
    radial-gradient(circle at top left, rgba(176, 130, 78, 0.13), transparent 34%),
    linear-gradient(180deg, #f8f2ec 0%, #fffaf5 38%, #f3eee8 100%);
}

.private-catalog-shell {
  min-height: 70vh;
}

.private-catalog-hero {
  padding: 48px 0 22px;
}

.private-catalog-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  align-items: stretch;
}

.private-catalog-hero-copy,
.private-catalog-hero-card,
.private-catalog-note,
.private-catalog-category,
.private-catalog-card,
.admin-catalog-manager,
.admin-catalog-link-box,
.admin-catalog-qr-box {
  border: 1px solid rgba(122, 83, 59, 0.14);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 22px 70px rgba(66, 42, 27, 0.09);
}

.private-catalog-hero-copy {
  border-radius: 32px;
  padding: clamp(28px, 5vw, 56px);
}

.private-catalog-hero-copy h1 {
  max-width: 850px;
  margin: 12px 0 14px;
  font-size: clamp(34px, 5vw, 68px);
  line-height: 0.96;
  letter-spacing: -0.055em;
  color: #16120f;
}

.private-catalog-hero-copy p {
  max-width: 760px;
  margin: 0;
  color: rgba(44, 32, 25, 0.72);
  font-size: 1.05rem;
  line-height: 1.7;
}

.private-catalog-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.private-catalog-stats span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(132, 86, 58, 0.10);
  color: #6f472d;
  font-weight: 800;
}

.private-catalog-stats strong {
  color: #16120f;
}

.private-catalog-hero-card {
  border-radius: 30px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(135deg, rgba(132, 86, 58, 0.93), rgba(176, 130, 78, 0.78)),
    rgba(132, 86, 58, 0.9);
  color: #fff;
}

.private-catalog-hero-card strong {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.private-catalog-hero-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
}

.private-catalog-note {
  border-radius: 24px;
  padding: 18px 22px;
  margin-bottom: 28px;
  color: rgba(44, 32, 25, 0.78);
  line-height: 1.65;
}

.private-catalog-category {
  border-radius: 32px;
  padding: clamp(18px, 3vw, 32px);
  margin-bottom: 28px;
}

.private-catalog-category-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(122, 83, 59, 0.12);
}

.private-catalog-category-head h2 {
  margin: 8px 0 0;
  font-size: clamp(26px, 3vw, 42px);
  letter-spacing: -0.04em;
  color: #16120f;
}

.private-catalog-category-head p {
  max-width: 700px;
  margin: 8px 0 0;
  color: rgba(44, 32, 25, 0.68);
  line-height: 1.6;
}

.private-catalog-category-head a,
.private-catalog-card-foot a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(122, 83, 59, 0.16);
  color: #16120f;
  text-decoration: none;
  font-weight: 900;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(45, 28, 17, 0.07);
}

.private-catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.private-catalog-card {
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.private-catalog-card-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  background: linear-gradient(180deg, #fbfaf8, #f3eee8);
  overflow: hidden;
}

.private-catalog-card-media span {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 250, 245, 0.92);
  border: 1px solid rgba(176, 130, 78, 0.22);
  color: #7a5136;
  font-weight: 900;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.private-catalog-card-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 12px;
}

.private-catalog-card-body {
  padding: 18px;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
}

.private-catalog-card-body h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.25;
  color: #16120f;
}

.private-catalog-card-body p {
  margin: 0;
  color: rgba(44, 32, 25, 0.64);
  line-height: 1.5;
  font-size: 0.94rem;
}

.private-catalog-card-foot {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.private-catalog-card-foot strong {
  color: #73452b;
  font-weight: 950;
}

.admin-catalog-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}

.admin-catalog-head h3 {
  margin-top: 8px;
}

.admin-catalog-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 18px;
  margin-top: 20px;
}

.admin-catalog-link-box,
.admin-catalog-qr-box {
  border-radius: 22px;
  padding: 18px;
}

.admin-catalog-link-box input {
  width: 100%;
  margin-top: 8px;
}

.admin-catalog-stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.admin-catalog-stat-row span {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(132, 86, 58, 0.08);
  color: #6f472d;
  font-weight: 800;
}

.admin-catalog-qr-box {
  text-align: center;
}

.admin-catalog-qr-box img {
  width: 100%;
  max-width: 220px;
  border-radius: 18px;
  background: #fff;
  padding: 10px;
}

.admin-catalog-qr-box a {
  display: inline-flex;
  margin-top: 10px;
  font-weight: 900;
  color: #73452b;
}

.admin-danger-zone {
  border-color: rgba(190, 80, 70, 0.22) !important;
  background: rgba(255, 246, 244, 0.72) !important;
}

.admin-btn.danger {
  background: #9a3e32;
  color: #fff;
}

@media (max-width: 1100px) {
  .private-catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .private-catalog-hero-inner,
  .admin-catalog-grid {
    grid-template-columns: 1fr;
  }

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

  .private-catalog-category-head,
  .admin-catalog-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .private-catalog-category-head a {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .private-catalog-hero {
    padding-top: 24px;
  }

  .private-catalog-hero-copy,
  .private-catalog-hero-card,
  .private-catalog-category {
    border-radius: 24px;
  }

  .private-catalog-grid {
    grid-template-columns: 1fr;
  }

  .private-catalog-card {
    border-radius: 22px;
  }

  .private-catalog-card-media {
    aspect-ratio: 1 / 1;
  }
}

/* v38 animated private catalog magazine reader */
.private-flip-catalog-page {
  overflow-x: hidden;
}

.private-flip-shell {
  min-height: 78vh;
}

.private-flip-hero {
  padding: clamp(26px, 4vw, 48px) 0 12px;
}

.private-flip-hero-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 22px;
}

.private-flip-hero h1 {
  max-width: 860px;
  margin: 10px 0 10px;
  color: #16120f;
  font-size: clamp(32px, 5vw, 64px);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.private-flip-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(44, 32, 25, 0.70);
  line-height: 1.7;
}

.private-flip-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  min-width: 260px;
}

.private-flip-hero-actions span,
.private-flip-counter,
.private-flip-mobile-hint {
  border: 1px solid rgba(122, 83, 59, 0.14);
  background: rgba(255, 255, 255, 0.78);
  color: #6f472d;
  box-shadow: 0 14px 34px rgba(66, 42, 27, 0.07);
}

.private-flip-hero-actions span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  font-weight: 900;
}

.private-flip-hero-actions strong {
  margin-right: 5px;
  color: #16120f;
}

.private-flip-catalog-section {
  padding: 18px 0 clamp(38px, 6vw, 72px);
}

.private-flip-toolbar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.private-flip-control,
.private-flip-edge {
  appearance: none;
  border: 1px solid rgba(122, 83, 59, 0.18);
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.92), rgba(255, 250, 245, 0.80)),
    linear-gradient(135deg, #fffaf5, #efe4d8);
  color: #7a4d31;
  box-shadow: 0 18px 34px rgba(66, 42, 27, 0.12);
  cursor: pointer;
  font-weight: 950;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.private-flip-control {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  font-size: 2rem;
  line-height: 1;
}

.private-flip-control:hover,
.private-flip-edge:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 44px rgba(66, 42, 27, 0.16);
}

.private-flip-control:disabled,
.private-flip-edge:disabled {
  opacity: 0.38;
  cursor: not-allowed;
  transform: none;
}

.private-flip-counter {
  min-width: 88px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 950;
}

.private-flip-reader {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 64px;
  gap: 12px;
  align-items: center;
}

.private-flip-edge {
  position: relative;
  z-index: 5;
  width: 58px;
  min-height: 120px;
  border-radius: 999px;
  font-size: 2.3rem;
}

.private-flip-book {
  position: relative;
  width: min(100%, 1060px);
  height: clamp(610px, 68vw, 760px);
  margin: 0 auto;
  perspective: 1900px;
  filter: drop-shadow(0 34px 70px rgba(45, 28, 17, 0.16));
}

.private-flip-page {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  pointer-events: none;
  transform: rotateY(0deg) translateZ(0);
  transform-origin: left center;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  transition: transform 0.55s cubic-bezier(.22,.61,.36,1), opacity 0.28s ease;
  z-index: 0;
}

.private-flip-page.is-active,
.private-flip-page.is-next-page,
.private-flip-page.is-prev-page {
  opacity: 1;
  pointer-events: auto;
}

.private-flip-page.is-active {
  z-index: 3;
}

.private-flip-page.is-next-page,
.private-flip-page.is-prev-page {
  z-index: 2;
}

.private-flip-book.is-turning-forward .private-flip-page.is-turning-out {
  transform: rotateY(-82deg) translateZ(12px);
  opacity: 0.62;
  pointer-events: none;
  z-index: 4;
}

.private-flip-book.is-turning-backward .private-flip-page {
  transform-origin: right center;
}

.private-flip-book.is-turning-backward .private-flip-page.is-turning-out {
  transform: rotateY(82deg) translateZ(12px);
  opacity: 0.62;
  pointer-events: none;
  z-index: 4;
}

.private-flip-page-inner {
  position: relative;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(122, 83, 59, 0.15);
  border-radius: 34px;
  background:
    linear-gradient(90deg, rgba(112, 78, 54, 0.09), transparent 4%, transparent 96%, rgba(112, 78, 54, 0.06)),
    radial-gradient(circle at 22% 18%, rgba(176, 130, 78, 0.13), transparent 34%),
    linear-gradient(135deg, #fffdf9 0%, #f8f2ec 52%, #fffaf5 100%);
  box-shadow:
    inset 18px 0 28px rgba(103, 68, 45, 0.055),
    inset -10px 0 22px rgba(255, 255, 255, 0.55);
  padding: clamp(22px, 3vw, 38px);
}

.private-flip-page-inner::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(98, 62, 41, 0.10), transparent 7%, transparent 94%, rgba(98, 62, 41, 0.055)),
    repeating-linear-gradient(0deg, rgba(122, 83, 59, 0.018), rgba(122, 83, 59, 0.018) 1px, transparent 1px, transparent 9px);
  opacity: 0.48;
}

.private-flip-page-cover .private-flip-page-inner,
.private-flip-page-back .private-flip-page-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.28), transparent 32%),
    linear-gradient(135deg, #84563a 0%, #b0824e 54%, #efdfcd 100%);
  color: #fff;
}

.private-flip-cover-mark {
  align-self: flex-start;
  padding: 11px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.16);
  font-weight: 950;
  letter-spacing: 0.04em;
}

.private-flip-cover-content {
  max-width: 760px;
  position: relative;
  z-index: 1;
}

.private-flip-cover-content h2,
.private-flip-back-content h2 {
  margin: 10px 0 14px;
  font-size: clamp(42px, 7vw, 88px);
  line-height: 0.88;
  letter-spacing: -0.07em;
}

.private-flip-cover-content p,
.private-flip-back-content p {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
  line-height: 1.65;
}

.private-flip-cover-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.private-flip-cover-stats span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 15px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.14);
  font-weight: 950;
}

.private-flip-note {
  position: relative;
  z-index: 1;
  max-width: 720px;
  border-radius: 24px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.6;
}

.private-flip-page-head {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(122, 83, 59, 0.12);
}

.private-flip-page-head h2 {
  margin: 8px 0 0;
  color: #16120f;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.private-flip-page-head p {
  max-width: 660px;
  margin: 9px 0 0;
  color: rgba(44, 32, 25, 0.64);
  line-height: 1.55;
}

.private-flip-page-head a,
.private-flip-product-foot a,
.private-flip-home-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 17px;
  border-radius: 999px;
  border: 1px solid rgba(122, 83, 59, 0.16);
  background: #fff;
  color: #16120f;
  text-decoration: none;
  font-weight: 950;
  box-shadow: 0 12px 24px rgba(45, 28, 17, 0.07);
  white-space: nowrap;
}

.private-flip-product-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.private-flip-product-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(122, 83, 59, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 38px rgba(66, 42, 27, 0.07);
}

.private-flip-product-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: linear-gradient(180deg, #fbfaf8, #f3eee8);
}

.private-flip-product-media span {
  position: absolute;
  z-index: 2;
  top: 10px;
  left: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 250, 245, 0.94);
  border: 1px solid rgba(176, 130, 78, 0.22);
  color: #7a5136;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.private-flip-product-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
}

.private-flip-product-body {
  min-height: 160px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.private-flip-product-body h3 {
  margin: 0;
  color: #16120f;
  font-size: 1rem;
  line-height: 1.25;
}

.private-flip-product-body p {
  margin: 0;
  color: rgba(44, 32, 25, 0.62);
  font-size: 0.88rem;
  line-height: 1.42;
}

.private-flip-product-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.private-flip-product-foot strong {
  color: #73452b;
  font-weight: 950;
  font-size: 0.94rem;
}

.private-flip-product-foot a {
  min-height: 34px;
  padding: 0 12px;
  font-size: 0.86rem;
}

.private-flip-page-number {
  position: absolute;
  z-index: 2;
  right: 24px;
  bottom: 18px;
  color: rgba(122, 83, 59, 0.52);
  font-weight: 950;
}

.private-flip-page-cover .private-flip-page-number,
.private-flip-page-back .private-flip-page-number {
  color: rgba(255, 255, 255, 0.68);
}

.private-flip-back-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: auto 0;
}

.private-flip-home-link {
  margin-top: 22px;
}

.private-flip-mobile-hint {
  display: none;
  margin-top: 14px;
  border-radius: 18px;
  padding: 12px 14px;
  text-align: center;
  font-weight: 850;
}

@media (max-width: 1080px) {
  .private-flip-reader {
    grid-template-columns: 52px minmax(0, 1fr) 52px;
  }

  .private-flip-edge {
    width: 48px;
    min-height: 96px;
  }

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

  .private-flip-book {
    height: clamp(760px, 105vw, 960px);
  }
}

@media (max-width: 760px) {
  .private-flip-hero-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .private-flip-hero-actions {
    justify-content: flex-start;
    min-width: 0;
  }

  .private-flip-reader {
    grid-template-columns: 1fr;
  }

  .private-flip-edge {
    position: absolute;
    top: 50%;
    z-index: 8;
    width: 44px;
    min-height: 74px;
    transform: translateY(-50%);
  }

  .private-flip-edge:hover {
    transform: translateY(-50%);
  }

  .private-flip-edge-prev {
    left: -4px;
  }

  .private-flip-edge-next {
    right: -4px;
  }

  .private-flip-book {
    height: min(820px, 128vh);
    min-height: 690px;
  }

  .private-flip-page-inner {
    border-radius: 26px;
    padding: 22px 18px 42px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .private-flip-product-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .private-flip-product-card {
    display: grid;
    grid-template-columns: 42% minmax(0, 1fr);
    border-radius: 22px;
  }

  .private-flip-product-media {
    aspect-ratio: auto;
    min-height: 190px;
  }

  .private-flip-product-body {
    min-height: 190px;
  }

  .private-flip-page-head {
    flex-direction: column;
  }

  .private-flip-page-head a {
    width: 100%;
  }

  .private-flip-mobile-hint {
    display: block;
  }
}

@media (max-width: 480px) {
  .private-flip-toolbar {
    margin-bottom: 12px;
  }

  .private-flip-book {
    min-height: 720px;
    height: 122vh;
  }

  .private-flip-product-card {
    grid-template-columns: 1fr;
  }

  .private-flip-product-media {
    aspect-ratio: 1 / 1;
    min-height: 0;
  }

  .private-flip-product-body {
    min-height: 0;
  }

  .private-flip-cover-content h2,
  .private-flip-back-content h2 {
    font-size: clamp(36px, 13vw, 58px);
  }
}

/* Private katalog: her sayfada tek ürün dergi görünümü */
.private-flip-product-grid-single {
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  min-height: min(560px, 62vh);
}

.private-flip-product-grid-single .private-flip-product-card {
  display: grid;
  grid-template-columns: minmax(320px, 54%) minmax(260px, 1fr);
  min-height: min(560px, 62vh);
  border-radius: 34px;
}

.private-flip-product-grid-single .private-flip-product-media {
  aspect-ratio: auto;
  min-height: min(560px, 62vh);
}

.private-flip-product-grid-single .private-flip-product-img {
  padding: clamp(18px, 3vw, 34px);
}

.private-flip-product-grid-single .private-flip-product-body {
  min-height: 0;
  padding: clamp(22px, 3.4vw, 44px);
  justify-content: center;
  gap: 18px;
}

.private-flip-product-grid-single .private-flip-product-body h3 {
  font-size: clamp(26px, 3.6vw, 54px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.private-flip-product-grid-single .private-flip-product-body p {
  max-width: 520px;
  font-size: clamp(0.98rem, 1.2vw, 1.15rem);
  line-height: 1.65;
}

.private-flip-product-grid-single .private-flip-product-foot {
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}

.private-flip-product-grid-single .private-flip-product-foot strong {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(176, 130, 78, 0.11);
  color: #73452b;
  font-size: clamp(1.02rem, 1.4vw, 1.3rem);
}

.private-flip-product-grid-single .private-flip-product-foot a {
  min-height: 46px;
  padding: 0 20px;
  font-size: 0.98rem;
}

@media (max-width: 1080px) {
  .private-flip-product-grid-single {
    min-height: 0;
  }

  .private-flip-product-grid-single .private-flip-product-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .private-flip-product-grid-single .private-flip-product-media {
    aspect-ratio: 16 / 11;
    min-height: 0;
  }
}

@media (max-width: 760px) {
  .private-flip-product-grid-single .private-flip-product-card {
    display: grid;
    grid-template-columns: 1fr;
    border-radius: 26px;
  }

  .private-flip-product-grid-single .private-flip-product-media {
    aspect-ratio: 1 / 1;
    min-height: 0;
  }

  .private-flip-product-grid-single .private-flip-product-body {
    padding: 20px;
    gap: 12px;
  }

  .private-flip-product-grid-single .private-flip-product-body h3 {
    font-size: clamp(25px, 9vw, 40px);
  }
}

/* Private katalog sade dergi tasarımı: her sayfa tek ürün */
.private-flip-minimal-catalog-page .private-flip-hero,
.private-flip-minimal-catalog-page .private-flip-mobile-hint,
.private-flip-minimal-catalog-page .private-flip-page-head,
.private-flip-minimal-catalog-page .private-flip-product-grid,
.private-flip-minimal-catalog-page .private-flip-cover-mark,
.private-flip-minimal-catalog-page .private-flip-cover-content,
.private-flip-minimal-catalog-page .private-flip-cover-stats,
.private-flip-minimal-catalog-page .private-flip-note,
.private-flip-minimal-catalog-page .private-flip-back-content {
  display: none !important;
}

.private-flip-minimal-shell .private-flip-catalog-section {
  padding-top: clamp(18px, 3vw, 34px);
}

.private-flip-minimal-book {
  height: clamp(640px, 72vw, 820px);
}

.private-flip-minimal-page-inner {
  padding: clamp(22px, 3.2vw, 42px);
  background:
    linear-gradient(90deg, rgba(112, 78, 54, 0.075), transparent 4%, transparent 96%, rgba(112, 78, 54, 0.055)),
    radial-gradient(circle at 50% 42%, rgba(176, 130, 78, 0.10), transparent 38%),
    linear-gradient(135deg, #fffdf9 0%, #f9f1e8 54%, #fffaf5 100%);
}

.private-flip-minimal-product-layout {
  position: relative;
  z-index: 1;
  height: 100%;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: clamp(16px, 2.2vw, 28px);
  text-align: center;
}

.private-flip-minimal-product-head h2 {
  margin: 0 auto;
  max-width: 900px;
  color: #16120f;
  font-size: clamp(28px, 4.3vw, 62px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.private-flip-minimal-product-media {
  width: 100%;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: clamp(24px, 3vw, 38px);
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.98), rgba(255, 250, 245, 0.62) 52%, rgba(244, 235, 225, 0.58)),
    linear-gradient(180deg, #fffaf5, #f4eee7);
  border: 1px solid rgba(122, 83, 59, 0.12);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.62),
    0 22px 48px rgba(66, 42, 27, 0.08);
  text-decoration: none;
}

.private-flip-minimal-product-img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  padding: clamp(18px, 3.6vw, 46px);
}

.private-flip-minimal-product-foot {
  display: grid;
  gap: 14px;
  justify-items: center;
}

.private-flip-minimal-product-foot strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  background: rgba(176, 130, 78, 0.12);
  border: 1px solid rgba(176, 130, 78, 0.20);
  color: #73452b;
  font-size: clamp(1.08rem, 1.8vw, 1.55rem);
  font-weight: 950;
  box-shadow: 0 16px 34px rgba(66, 42, 27, 0.07);
}

.private-flip-minimal-description-box {
  width: min(100%, 760px);
  min-height: clamp(74px, 9vw, 118px);
  border-radius: 24px;
  border: 1px dashed rgba(122, 83, 59, 0.28);
  background: rgba(255, 255, 255, 0.58);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 14px 34px rgba(66, 42, 27, 0.055);
}

.private-flip-minimal-catalog-page .private-flip-page-number {
  right: 24px;
  bottom: 16px;
  color: rgba(122, 83, 59, 0.42);
}

@media (max-width: 760px) {
  .private-flip-minimal-book {
    min-height: 700px;
    height: 112vh;
  }

  .private-flip-minimal-page-inner {
    padding: 20px 16px 42px;
  }

  .private-flip-minimal-product-layout {
    gap: 14px;
  }

  .private-flip-minimal-product-head h2 {
    font-size: clamp(26px, 9vw, 42px);
  }

  .private-flip-minimal-product-media {
    border-radius: 24px;
  }

  .private-flip-minimal-product-img {
    padding: 18px;
  }

  .private-flip-minimal-description-box {
    min-height: 88px;
    border-radius: 20px;
  }
}

@media (max-width: 480px) {
  .private-flip-minimal-book {
    min-height: 670px;
    height: 105vh;
  }

  .private-flip-minimal-product-foot strong {
    min-height: 44px;
    padding: 0 18px;
  }
}
