/* ===== STARK DAVETİYE - DESIGN SYSTEM ===== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --primary: #1F2937;
  --primary-dark: #111827;
  --primary-light: #E9D8AD;
  --primary-50: #FBF6EA;
  --accent: #C9A968;
  --accent-dark: #8A6A2E;
  --gold: #C9A968;
  --gold-light: #F6E8C5;
  --gray-900: #212121;
  --gray-800: #424242;
  --gray-700: #616161;
  --gray-600: #757575;
  --gray-500: #9E9E9E;
  --gray-400: #BDBDBD;
  --gray-300: #E0E0E0;
  --gray-200: #EEEEEE;
  --gray-100: #F5F5F5;
  --gray-50: #FAFAFA;
  --white: #FFFFFF;
  --success: #4CAF50;
  --warning: #FF9800;
  --danger: #F44336;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; }

/* ===== CORPORATE PAGE MESSAGES ===== */
body.page-message-open {
  overflow: hidden;
}

.page-message-modal {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, visibility 0.18s ease;
}

.page-message-modal[hidden] {
  display: none;
}

.page-message-modal.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.page-message-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.58);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.page-message-modal__dialog {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  width: min(100%, 460px);
  padding: 24px;
  border: 1px solid rgba(201, 169, 104, 0.42);
  border-radius: 10px;
  background: linear-gradient(180deg, #fff 0%, #fbf6ea 100%);
  box-shadow: 0 26px 70px rgba(17, 24, 39, 0.34);
  color: var(--gray-900);
  transform: translateY(12px) scale(0.98);
  transition: transform 0.18s ease;
}

.page-message-modal.is-visible .page-message-modal__dialog {
  transform: translateY(0) scale(1);
}

.page-message-modal__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary-dark);
  color: var(--accent);
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.18);
}

.page-message-modal__content {
  min-width: 0;
}

.page-message-modal__eyebrow {
  margin: 0 0 4px;
  color: var(--accent-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.page-message-modal h2 {
  margin: 0 0 8px;
  color: var(--primary-dark);
  font-family: var(--font-heading);
  font-size: 1.24rem;
  font-weight: 800;
  line-height: 1.25;
}

.page-message-modal p {
  margin: 0;
}

.page-message-modal #pageMessageText {
  color: var(--gray-700);
  font-size: 0.95rem;
  line-height: 1.65;
}

.page-message-modal__close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--gray-500);
  font-size: 1.35rem;
  line-height: 1;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.page-message-modal__close:hover,
.page-message-modal__close:focus-visible {
  background: rgba(17, 24, 39, 0.08);
  color: var(--primary-dark);
}

.page-message-modal__button {
  grid-column: 2 / 4;
  justify-self: end;
  min-width: 118px;
  min-height: 42px;
  padding: 10px 22px;
  border-radius: 6px;
  background: var(--primary-dark);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 12px 26px rgba(17, 24, 39, 0.22);
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.page-message-modal__button:hover,
.page-message-modal__button:focus-visible {
  background: var(--gray-900);
  transform: translateY(-1px);
  box-shadow: 0 15px 32px rgba(17, 24, 39, 0.28);
}

@media (max-width: 520px) {
  .page-message-modal {
    padding: 16px;
  }

  .page-message-modal__dialog {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    padding: 20px;
  }

  .page-message-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
  }

  .page-message-modal__button {
    grid-column: 1 / -1;
    justify-self: stretch;
  }
}

.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--gray-900);
  text-align: center;
  margin-bottom: 12px;
}
.section-subtitle {
  text-align: center;
  color: var(--gray-600);
  font-size: 1.05rem;
  margin-bottom: 50px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== TOP BAR ===== */
.top-bar {
  background: var(--primary-dark);
  color: var(--white);
  font-size: 0.82rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(201, 169, 104, 0.24);
}
.top-bar-inner,
.top-bar-left,
.top-bar-right {
  display: flex;
  align-items: center;
}
.top-bar-inner { justify-content: space-between; gap: 18px; }
.top-bar-left { gap: 20px; }
.top-bar-right { justify-content: flex-end; gap: 12px; }
.top-bar a { color: rgba(255,255,255,0.9); }
.top-bar a:hover { color: var(--accent); }
.top-bar-search {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 260px;
}
.top-bar-search input {
  width: 100%;
  height: 32px;
  padding: 6px 12px;
  border: 1px solid rgba(201, 169, 104, 0.28);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  outline: none;
}
.top-bar-search input::placeholder { color: rgba(255,255,255,0.62); }
.top-bar-search input:focus { border-color: var(--accent); background: rgba(255,255,255,0.12); }
.top-bar-search button,
.top-bar-action,
.top-bar-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 6px 12px;
  border: 1px solid rgba(201, 169, 104, 0.3);
  border-radius: var(--radius-full);
  color: rgba(255,255,255,0.9);
  font-weight: 700;
  font-size: 0.76rem;
  background: rgba(255,255,255,0.06);
}
.top-bar-search button:hover,
.top-bar-action:hover,
.top-bar-cart:hover {
  color: var(--primary-dark);
  background: var(--accent);
  border-color: var(--accent);
}
.top-bar-cart { position: relative; gap: 8px; }
.top-bar-language { position: relative; flex-shrink: 0; }
.top-bar-language-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 5px 10px;
  border: 1px solid rgba(201, 169, 104, 0.3);
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.06);
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1;
  transition: var(--transition);
}
.top-bar-language-trigger:hover,
.top-bar-language:focus-within .top-bar-language-trigger {
  background: rgba(201, 169, 104, 0.16);
  border-color: var(--accent);
}
.top-bar-language-flag,
.top-bar-language-option-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.top-bar-language-flag img,
.top-bar-language-option-flag img {
  width: 18px;
  height: 13px;
  display: block;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.18);
}
.top-bar-language-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 180px;
  padding: 8px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.16);
  display: none;
  z-index: 1200;
}
.top-bar-language:hover .top-bar-language-menu,
.top-bar-language:focus-within .top-bar-language-menu { display: block; }
.top-bar-language-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 8px;
  color: var(--gray-800) !important;
  font-size: 0.84rem;
  font-weight: 600;
  opacity: 1 !important;
}
.top-bar-language-option:hover,
.top-bar-language-option.is-active {
  background: var(--primary-50);
  color: var(--primary-dark) !important;
}
.top-bar-language-option-name { white-space: nowrap; }

/* ===== HEADER ===== */
.header {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}
.header.scrolled { box-shadow: var(--shadow-md); }
.site-header-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 34px;
  min-height: 84px;
  padding: 6px 0;
}
.header-logo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-align: center;
}
.header-logo img {
  width: 150px;
  max-width: 24vw;
  height: auto;
}
.header-logo span {
  color: var(--accent-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.site-nav ul {
  display: flex;
  align-items: center;
  gap: 10px;
}
.site-nav--left ul { justify-content: flex-end; }
.site-nav--right ul { justify-content: flex-start; }
.site-nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: var(--radius-full);
  color: var(--primary-dark);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.site-nav-link:hover,
.site-nav-link.is-active {
  color: var(--primary-dark);
  background: var(--primary-50);
  box-shadow: inset 0 0 0 1px rgba(201, 169, 104, 0.36);
}
.site-nav-dropdown { position: relative; }
.site-nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 240px;
  padding: 10px;
  background: var(--white);
  border: 1px solid rgba(31, 41, 55, 0.08);
  border-top: 3px solid var(--accent);
  border-radius: 16px;
  box-shadow: var(--shadow-xl);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 1100;
}
.site-nav-dropdown:hover .site-nav-dropdown-menu,
.site-nav-dropdown:focus-within .site-nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.site-nav-dropdown-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--gray-800);
  font-size: 0.88rem;
  font-weight: 700;
}
.site-nav-dropdown-menu a:hover,
.site-nav-dropdown-menu a.is-active {
  background: var(--primary-50);
  color: var(--primary-dark);
}
.cart-count {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--primary-dark);
  font-size: 0.65rem;
  font-weight: 800;
}
.mobile-menu-btn {
  display: none;
  color: var(--primary-dark);
  padding: 8px;
}
.main-nav { display: none; }
/* ===== HERO ===== */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-50) 0%, var(--white) 50%, var(--gold-light) 100%);
}
.hero-slider { position: relative; min-height: 520px; }
.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity 1s ease;
}
.hero-slide.active { opacity: 1; position: relative; }
.hero-content {
  max-width: 580px;
  padding: 60px 0;
}
.hero-badge {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
  animation: fadeInUp 0.6s ease;
}
.hero-title {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  color: var(--gray-900);
  line-height: 1.2;
  margin-bottom: 18px;
  animation: fadeInUp 0.6s ease 0.1s both;
}
.hero-title span { color: var(--primary); }
.hero-text {
  font-size: 1.1rem;
  color: var(--gray-600);
  margin-bottom: 35px;
  animation: fadeInUp 0.6s ease 0.2s both;
}
.hero-buttons {
  display: flex;
  gap: 15px;
  animation: fadeInUp 0.6s ease 0.3s both;
}
.hero-image {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 45%;
  max-width: 550px;
}
.hero-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}
.hero-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding-bottom: 30px;
}
.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gray-300);
  cursor: pointer;
  transition: var(--transition);
}
.hero-dot.active {
  background: var(--primary);
  width: 35px;
  border-radius: var(--radius-full);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 32px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  letter-spacing: 0.3px;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  box-shadow: 0 4px 15px rgba(31, 41, 55, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(31, 41, 55, 0.45);
}
.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-white {
  background: var(--white);
  color: var(--primary);
  box-shadow: var(--shadow-md);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-sm { padding: 9px 22px; font-size: 0.85rem; }
.btn-lg { padding: 16px 40px; font-size: 1.05rem; }

/* ===== TRUST BAR ===== */
.trust-bar {
  background: var(--white);
  padding: 30px 0;
  border-bottom: 1px solid var(--gray-200);
}
.trust-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 15px;
  border-radius: var(--radius-md);
  transition: var(--transition);
}
.trust-item:hover { background: var(--primary-50); transform: translateY(-2px); }
.trust-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary-50), var(--primary-light));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.trust-text h4 { font-size: 0.9rem; font-weight: 600; color: var(--gray-900); }
.trust-text p { font-size: 0.78rem; color: var(--gray-500); margin-top: 2px; }

/* ===== PRODUCT CARDS ===== */
.homepage-products-section {
  padding-top: 10px;
}
.homepage-filter-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}
.homepage-filter-dropdown {
  position: relative;
}
.homepage-display-controls {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}
.homepage-show-control {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--gray-300);
  background: var(--white);
  color: var(--gray-800);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  white-space: nowrap;
  flex: 0 0 auto;
}
.homepage-show-control label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-800);
  white-space: nowrap;
}
.homepage-show-control:hover,
.homepage-show-control:focus-within {
  border-color: rgba(31, 41, 55, 0.28);
  color: var(--primary-dark);
  background: var(--primary-50);
}
.homepage-filter-trigger,
.homepage-filter-clear {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--gray-300);
  background: var(--white);
  color: var(--gray-800);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition);
}
.homepage-filter-trigger:hover,
.homepage-filter-trigger.active,
.homepage-filter-clear:hover {
  border-color: rgba(31, 41, 55, 0.28);
  color: var(--primary-dark);
  background: var(--primary-50);
}
.homepage-show-select {
  min-height: 24px;
  min-width: 78px;
  padding: 0 26px 0 0;
  border: none;
  background-color: transparent;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 12px) calc(50% - 2px), calc(100% - 7px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  color: var(--gray-800);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
}
.homepage-show-select:hover,
.homepage-show-select:focus {
  color: var(--primary-dark);
  outline: none;
}
.homepage-view-toggle {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid #d7dee8;
  border-radius: 6px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  flex: 0 0 auto;
}
.homepage-view-btn {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  color: #1d4ed8;
  border: none;
  border-right: 1px solid #d7dee8;
  transition: var(--transition);
}
.homepage-view-btn:last-child {
  border-right: none;
}
.homepage-view-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.homepage-view-btn:hover:not(.active),
.homepage-view-btn:focus-visible:not(.active) {
  background: #f8fbff;
  color: #1e40af;
  outline: none;
}
.homepage-view-btn.active {
  background: #96a3b3;
  color: var(--white);
}
.homepage-filter-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  padding: 12px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  display: none;
  z-index: 20;
}
.homepage-filter-menu.open {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.homepage-filter-option {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--gray-700);
  cursor: pointer;
}
.homepage-filter-option input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
}
.homepage-filter-summary {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  margin-bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--primary-50);
  color: var(--primary-dark);
  font-size: 0.88rem;
  font-weight: 700;
}
.homepage-no-results {
  margin: 10px 0 18px;
  padding: 16px 18px;
  border: 1px dashed var(--gray-300);
  border-radius: 10px;
  background: var(--gray-50);
  color: var(--gray-600);
  text-align: center;
  font-weight: 600;
}
.homepage-infinite-status {
  width: fit-content;
  max-width: 100%;
  min-height: 42px;
  margin: 28px auto 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--gray-300);
  border-radius: 999px;
  background: var(--gray-50);
  color: var(--gray-600);
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}
.homepage-infinite-status[hidden],
.homepage-infinite-sentinel[hidden] {
  display: none;
}
.homepage-infinite-sentinel {
  width: 100%;
  height: 1px;
}
.products-grid {
  display: grid;
  gap: 24px;
  align-items: stretch;
}
.products-grid.homepage-products-view-dense {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.products-grid.homepage-products-view-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.products-grid.homepage-products-view-list {
  grid-template-columns: 1fr;
  gap: 18px;
}
.products-grid.homepage-products-view-list .product-card {
  display: grid;
  grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
  align-items: stretch;
}
.products-grid.homepage-products-view-list .product-card-image {
  aspect-ratio: auto;
  min-height: 240px;
  height: 100%;
}
.products-grid.homepage-products-view-list .product-card-image img {
  height: 100%;
}
.products-grid.homepage-products-view-list .product-card-body {
  padding: 24px;
}
.products-grid.homepage-products-view-list .product-card-category {
  min-height: 0;
  margin-bottom: 10px;
}
.products-grid.homepage-products-view-list .product-card-title {
  min-height: 0;
  font-size: 1.2rem;
  margin-bottom: 14px;
  -webkit-line-clamp: 3;
}
.products-grid.homepage-products-view-list .product-card-price {
  margin-top: auto;
}
.products-grid.homepage-products-view-list .product-quick-actions {
  left: auto;
  right: 16px;
  transform: translateY(20px);
}
.products-grid.homepage-products-view-list .product-card:hover .product-quick-actions {
  transform: translateY(0);
}
.product-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.homepage-products-section .product-card:hover {
  box-shadow:
    0 10px 18px rgba(15, 23, 42, 0.07),
    0 3px 8px rgba(15, 23, 42, 0.04),
    0 0 0 1px rgba(31, 41, 55, 0.035);
}
.product-card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--gray-100);
}
.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-card-image img { transform: scale(1.08); }
.product-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
}
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.badge-new { background: var(--primary); color: var(--white); }
.badge-sale { background: var(--success); color: var(--white); }
.product-quick-actions {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  display: flex;
  gap: 8px;
  opacity: 0;
  transition: all 0.3s ease;
}
.product-card:hover .product-quick-actions {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.quick-action-btn {
  width: 40px;
  height: 40px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  font-size: 1rem;
}
.quick-action-btn:hover {
  background: var(--primary);
  color: var(--white);
}
.product-card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-card-category {
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  min-height: 2.2em;
  line-height: 1.45;
}
.product-card-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--gray-900);
  margin-bottom: 10px;
  line-height: 1.3;
  transition: var(--transition);
  min-height: 2.7em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card:hover .product-card-title { color: var(--primary); }
.product-card-price {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  min-height: 28px;
  flex-wrap: wrap;
}
.price-current {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
}
.price-old {
  font-size: 0.9rem;
  color: var(--gray-400);
  text-decoration: line-through;
}

.product-subcategory-strip {
  background: linear-gradient(180deg, var(--white) 0%, #fff8fb 100%);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}
.product-subcategories-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.product-subcategory-card {
  background: var(--white);
  border: 1px solid rgba(31, 41, 55, 0.12);
  border-radius: 18px;
  padding: 20px;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.product-subcategory-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(31, 41, 55, 0.28);
}
.product-subcategory-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.product-subcategory-parent {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}
.product-subcategory-count {
  flex-shrink: 0;
  padding: 6px 10px;
  border-radius: var(--radius-full);
  background: var(--primary-50);
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 600;
}
.product-subcategory-card-body h3 {
  font-size: 1.2rem;
  line-height: 1.25;
  color: var(--gray-900);
  margin-bottom: 8px;
}
.product-subcategory-card-body p {
  color: var(--gray-600);
  font-size: 0.92rem;
  line-height: 1.55;
}
.product-subcategory-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
}
.product-subcategory-link::after {
  content: '›';
  font-size: 1rem;
  line-height: 1;
}

/* ===== HERO SLIDER ALTI KATEGORİ KARE KUTULARI ===== */
.hero-category-boxes {
  position: relative;
  z-index: 20;
  margin-top: -96px;
  margin-bottom: 54px;
}
.hero-category-boxes--no-overlap {
  margin-top: 42px;
}
.hero-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.hero-category-box {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--gray-100);
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}
.hero-category-box:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}
.hero-category-box img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.hero-category-box:hover img {
  transform: scale(1.06);
}
.hero-category-box-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.4rem;
}
.hero-category-box-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 38%, rgba(0, 0, 0, 0.68) 100%);
}
.hero-category-box-overlay h3 {
  margin: 0;
  color: #fff;
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}
.hero-category-box-overlay span {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.82rem;
  font-weight: 600;
}
@media (max-width: 768px) {
  .hero-category-boxes {
    margin-top: 22px;
  }
  .hero-category-grid {
    gap: 10px;
  }
  .hero-category-box {
    border-radius: 10px;
  }
  .hero-category-box-overlay {
    padding: 10px;
  }
  .hero-category-box-overlay h3 {
    font-size: 0.82rem;
  }
  .hero-category-box-overlay span {
    display: none;
  }
  .hero-category-box-icon {
    font-size: 2rem;
  }
}

/* ===== CATEGORY CARDS ===== */
.homepage-category-blocks {
  background: var(--gray-50);
  padding-top: 46px;
  padding-bottom: 54px;
}
.homepage-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.homepage-category-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(31, 41, 55, 0.10);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
}
.homepage-category-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(31, 41, 55, 0.22);
}
.homepage-category-card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
  display: grid;
  place-items: center;
  overflow: hidden;
}
.homepage-category-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.homepage-category-card:hover .homepage-category-card-media img {
  transform: scale(1.04);
}
.homepage-category-card-media span {
  font-size: 4rem;
  line-height: 1;
}
.homepage-category-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px;
}
.homepage-category-card-body h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  line-height: 1.25;
  color: var(--gray-900);
  margin-bottom: 10px;
}
.homepage-category-card-body p {
  color: var(--gray-600);
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.homepage-category-card-body span {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-size: 0.92rem;
  font-weight: 800;
}
.homepage-category-card-body span::after {
  content: '›';
  font-size: 1.05rem;
}
.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.category-card {
  background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  text-align: center;
  color: var(--white);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.category-card:hover::before { opacity: 1; }
.category-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-xl); }
.category-card > * { position: relative; z-index: 1; }
.category-emoji { font-size: 3rem; margin-bottom: 15px; }
.category-card h3 { font-family: var(--font-heading); font-size: 1.3rem; margin-bottom: 8px; }
.category-card p { font-size: 0.88rem; opacity: 0.85; }

/* ===== WHY US ===== */
.why-us { background: var(--gray-50); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.why-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 35px 25px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid transparent;
}
.why-card:hover {
  border-color: var(--primary-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.why-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--primary-50), var(--primary-light));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}
.why-card h3 { font-family: var(--font-heading); font-size: 1.1rem; margin-bottom: 10px; color: var(--gray-900); }
.why-card p { font-size: 0.88rem; color: var(--gray-600); line-height: 1.6; }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary), var(--accent));
  color: var(--white);
  text-align: center;
  padding: 70px 20px;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 { font-family: var(--font-heading); font-size: 2.5rem; margin-bottom: 15px; }
.cta-banner p { font-size: 1.1rem; opacity: 0.9; margin-bottom: 30px; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-section {
  position: relative;
  overflow: hidden;
  padding: 94px 20px;
  background:
    radial-gradient(640px 260px at 18% 0%, rgba(246, 232, 197, 0.2), transparent 72%),
    linear-gradient(135deg, var(--primary-dark), var(--accent-dark));
  text-align: center;
  color: var(--white);
}
.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.5;
}
.cta-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
}
.cta-content h2 {
  margin: 0 0 16px;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.14;
}
.cta-content p {
  max-width: 650px;
  margin: 0 auto 32px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
  line-height: 1.75;
}
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}
.cta-section .btn-primary {
  border: 0;
  background: linear-gradient(135deg, var(--gold-light), var(--accent));
  color: var(--primary-dark);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
}
.cta-section .btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}
.cta-section .btn-secondary:hover {
  border-color: var(--gold-light);
  background: rgba(255, 255, 255, 0.13);
  transform: translateY(-2px);
}

/* ===== PRODUCT DETAIL ===== */
.product-detail { padding: 14px 0 72px; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--gray-500);
  padding: 4px 0 10px;
}
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .separator { color: var(--gray-400); }
.subcategory-shell {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.subcategory-topbar {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 18px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  padding: 16px 18px;
}
.subcategory-view-toggle {
  display: inline-flex;
  gap: 10px;
}
.subcategory-view-btn {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gray-300);
  border-radius: 10px;
  color: var(--gray-700);
  text-decoration: none;
  background: #fff;
  font-size: 1.4rem;
}
.subcategory-view-btn.active {
  color: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(31, 41, 55, 0.08);
}
.subcategory-title-box h1 {
  margin: 0;
  font-size: 1.7rem;
  color: var(--gray-900);
}
.subcategory-title-box p {
  margin: 6px 0 0;
  color: var(--gray-500);
  font-size: 0.95rem;
}
.subcategory-sort-box,
.subcategory-show-box {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.subcategory-sort-box label,
.subcategory-show-box label {
  font-weight: 700;
  color: var(--gray-800);
}
.subcategory-sort-box select,
.subcategory-show-box select {
  min-width: 160px;
  padding: 11px 14px;
  border: 1px solid var(--gray-300);
  border-radius: 10px;
  background: #fff;
}
.subcategory-product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.subcategory-product-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.subcategory-product-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.subcategory-product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}
.subcategory-product-card.list-view {
  flex-direction: row;
  align-items: stretch;
}
.subcategory-product-image {
  background: #f8fafc;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.subcategory-product-card.list-view .subcategory-product-image {
  width: 280px;
  flex: 0 0 280px;
}
.subcategory-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.subcategory-product-body {
  display: flex;
  flex-direction: column;
  padding: 16px;
  gap: 12px;
  width: 100%;
}
.subcategory-product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.subcategory-product-meta span {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary);
  background: rgba(31, 41, 55, 0.08);
  border-radius: 999px;
  padding: 6px 10px;
}
.subcategory-product-body h3 {
  margin: 0;
  font-size: 1.15rem;
  color: var(--gray-900);
  line-height: 1.35;
}
.subcategory-product-price {
  display: flex;
  align-items: center;
  gap: 10px;
}
.subcategory-detail-btn {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: #3147a8;
  color: #fff;
  border-radius: 10px;
  padding: 12px 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}
.product-summary-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 6px 10px;
  margin-bottom: 10px;
}
.product-summary-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 14px;
  align-items: start;
}
.product-summary-main {
  min-width: 0;
}
.product-summary-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  margin-bottom: 0;
}
.product-summary-title {
  margin-bottom: 0;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.15;
}
.product-summary-aside {
  min-width: 0;
  display: flex;
  align-items: stretch;
  gap: 6px;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.product-summary-info-box,
.product-summary-total-wrap,
.product-summary-qty {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 6px 8px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.product-summary-info-box {
  min-width: 170px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.product-summary-total-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 170px;
  gap: 2px;
}
.product-summary-total-label {
  font-size: 0.78rem;
  color: var(--gray-500);
  font-weight: 600;
}
.product-summary-total-line {
  display: flex;
  align-items: center;
  gap: 6px;
}
.product-summary-unit-line {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
  white-space: nowrap;
}
.product-summary-qty {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 160px;
  gap: 3px;
}
.product-summary-qty-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray-700);
}
.product-summary-minimum {
  font-size: 0.72rem;
  color: var(--gray-500);
}
.product-gallery { position: sticky; top: 100px; }
.product-main-image {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 6px;
  overflow: hidden;
  background: var(--gray-100);
  margin-bottom: 15px;
  aspect-ratio: 1;
  cursor: zoom-in;
}
.product-main-image img { width: 100%; height: 100%; object-fit: cover; }
.product-image-modal-open { overflow: hidden; }
.product-image-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.product-image-modal[hidden] { display: none; }
.product-image-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.78);
}
.product-image-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(920px, calc(100vw - 28px));
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  border-radius: 12px;
  background: #fff;
  padding: 14px;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.36);
}
.product-image-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.74);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
.product-image-modal-stage {
  position: relative;
}
.product-image-modal-stage > img {
  display: block;
  width: 100%;
  max-height: min(72vh, 760px);
  object-fit: contain;
  object-position: center;
  border-radius: 8px;
  background: var(--gray-50);
}
.product-image-modal-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.72);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}
.product-image-modal-nav.is-prev { left: 12px; }
.product-image-modal-nav.is-next { right: 12px; }
.product-image-modal-nav[hidden] { display: none; }
.product-image-modal-thumbnails {
  display: flex;
  gap: 8px;
  padding: 10px 2px 0;
  overflow-x: auto;
}
.product-image-modal-thumbnails[hidden] { display: none; }
.product-image-modal-thumbnail {
  width: 68px;
  height: 68px;
  flex: 0 0 auto;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 6px;
  overflow: hidden;
  background: var(--gray-100);
  cursor: pointer;
}
.product-image-modal-thumbnail.active {
  border-color: var(--primary);
}
.product-image-modal-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-image-modal-share {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding-top: 12px;
}
.product-thumbnails { display: flex; gap: 10px; }
.product-thumbnail {
  width: 80px;
  height: 80px;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}
.product-thumbnail.active, .product-thumbnail:hover { border-color: var(--primary); }
.product-thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.product-info-section { padding-top: 0; }
.product-code { font-size: 0.82rem; color: var(--gray-500); margin-bottom: 8px; }
.product-detail-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--gray-900);
  margin-bottom: 15px;
  line-height: 1.3;
}
.product-rating { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; }
.stars { color: #FFC107; font-size: 1rem; }
.rating-count { font-size: 0.85rem; color: var(--gray-500); }
.product-price-section {
  background: var(--gray-50);
  padding: 20px;
  border-radius: var(--radius-md);
  margin-bottom: 25px;
}
.product-price-main {
  display: flex;
  align-items: baseline;
  gap: 15px;
}
.product-price-current { font-size: 2rem; font-weight: 700; color: var(--primary); }
.product-price-old { font-size: 1.2rem; color: var(--gray-400); text-decoration: line-through; }
.product-discount-badge {
  display: inline-block;
  background: var(--success);
  color: var(--white);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
}
.product-trust-badges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 25px;
}
.product-trust-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  font-size: 0.83rem;
  color: var(--gray-700);
}
.product-trust-badge .icon { font-size: 1.2rem; }
.quantity-selector {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}
.quantity-selector label { font-weight: 600; font-size: 0.9rem; }
.quantity-input {
  display: flex;
  align-items: center;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.quantity-btn {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--gray-700);
  background: var(--gray-50);
  transition: var(--transition);
}
.quantity-btn:hover { background: var(--primary); color: var(--white); }
.quantity-input input {
  width: 60px;
  height: 42px;
  text-align: center;
  border: none;
  font-weight: 600;
  font-size: 1rem;
}
.quantity-input input:focus { outline: none; }
.product-actions { display: flex; gap: 12px; margin-bottom: 16px; }
.product-actions .btn { flex: 1; }
.product-actions .btn.btn-lg {
  padding: 13px 28px;
  font-size: 1rem;
}
.product-actions .btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25d366;
  border: 1px solid #25d366;
  color: #fff;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.18);
}
.product-actions .btn-whatsapp:hover {
  background: #1fb759;
  border-color: #1fb759;
  color: #fff;
  transform: translateY(-1px);
}
.product-actions .btn-whatsapp .btn-icon {
  font-size: 1rem;
  line-height: 1;
}
.product-share {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin: -4px 0 16px;
}
.product-share > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 1px;
  align-items: center;
  text-align: center;
}
.product-share-label {
  font-size: 0.8rem;
  color: #0f172a;
  font-weight: 600;
  line-height: 1.2;
}
.product-share-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
}
.product-share-btn {
  position: relative;
  width: 58px;
  min-width: 58px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--gray-200);
  background: #fff;
  color: #334155;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, color 0.22s ease, background-color 0.22s ease;
}
.product-share-btn:hover,
.product-share-btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.1);
  outline: none;
}
.product-share-btn svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
  display: block;
}
.product-share-btn::before,
.product-share-btn::after {
  position: absolute;
  left: 50%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.product-share-btn::before {
  content: attr(data-label);
  bottom: calc(100% + 10px);
  transform: translateX(-50%) translateY(4px);
  padding: 6px 8px;
  border-radius: 7px;
  background: #0f172a;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.16);
}
.product-share-btn::after {
  content: '';
  bottom: calc(100% + 4px);
  transform: translateX(-50%) translateY(4px);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #0f172a;
}
.product-share-btn:hover::before,
.product-share-btn:hover::after,
.product-share-btn:focus-visible::before,
.product-share-btn:focus-visible::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.product-share-btn.is-instagram:hover,
.product-share-btn.is-instagram:focus-visible {
  color: #c13584;
  border-color: rgba(193, 53, 132, 0.28);
  background: rgba(193, 53, 132, 0.04);
}
.product-share-btn.is-instagram {
  color: #e1306c;
  border-color: rgba(225, 48, 108, 0.2);
}
.product-share-btn.is-facebook:hover,
.product-share-btn.is-facebook:focus-visible {
  color: #1877f2;
  border-color: rgba(24, 119, 242, 0.28);
  background: rgba(24, 119, 242, 0.04);
}
.product-share-btn.is-facebook {
  color: #1877f2;
  border-color: rgba(24, 119, 242, 0.2);
}
.product-share-btn.is-whatsapp:hover,
.product-share-btn.is-whatsapp:focus-visible {
  color: #25d366;
  border-color: rgba(37, 211, 102, 0.3);
  background: rgba(37, 211, 102, 0.05);
}
.product-share-btn.is-whatsapp {
  color: #25d366;
  border-color: rgba(37, 211, 102, 0.22);
}
.product-share-btn.is-linkedin:hover,
.product-share-btn.is-linkedin:focus-visible {
  color: #0a66c2;
  border-color: rgba(10, 102, 194, 0.28);
  background: rgba(10, 102, 194, 0.04);
}
.product-share-btn.is-linkedin {
  color: #0a66c2;
  border-color: rgba(10, 102, 194, 0.2);
}
.product-share-btn.is-x:hover,
.product-share-btn.is-x:focus-visible {
  color: #111827;
  border-color: rgba(17, 24, 39, 0.28);
  background: rgba(17, 24, 39, 0.04);
}
.product-share-btn.is-x {
  color: #111827;
  border-color: rgba(17, 24, 39, 0.18);
}
.product-share-btn.is-telegram:hover,
.product-share-btn.is-telegram:focus-visible {
  color: #229ed9;
  border-color: rgba(34, 158, 217, 0.28);
  background: rgba(34, 158, 217, 0.05);
}
.product-share-btn.is-telegram {
  color: #229ed9;
  border-color: rgba(34, 158, 217, 0.2);
}
.product-share-btn.is-pinterest:hover,
.product-share-btn.is-pinterest:focus-visible {
  color: #e60023;
  border-color: rgba(230, 0, 35, 0.28);
  background: rgba(230, 0, 35, 0.04);
}
.product-share-btn.is-pinterest {
  color: #e60023;
  border-color: rgba(230, 0, 35, 0.2);
}
.product-share-btn.is-mail:hover,
.product-share-btn.is-mail:focus-visible {
  color: #f59e0b;
  border-color: rgba(245, 158, 11, 0.3);
  background: rgba(245, 158, 11, 0.05);
}
.product-share-btn.is-mail {
  color: #f59e0b;
  border-color: rgba(245, 158, 11, 0.2);
}
.product-share-btn.is-copy:hover,
.product-share-btn.is-copy:focus-visible {
  color: #7c3aed;
  border-color: rgba(124, 58, 237, 0.28);
  background: rgba(124, 58, 237, 0.05);
}
.product-share-btn.is-copy {
  color: #7c3aed;
  border-color: rgba(124, 58, 237, 0.2);
}
.product-share-feedback {
  min-height: 0;
  font-size: 0.78rem;
  color: var(--gray-500);
  line-height: 1.2;
}

.product-info-section {
  --detail-ink: #111827;
  --detail-ink-soft: #1f2937;
  --detail-gold: #c9a968;
  --detail-gold-dark: #8a6a2e;
  --detail-cream: #fbf6ea;
  --detail-border: rgba(201, 169, 104, 0.34);
}

.product-info-section .product-printing-options {
  background: linear-gradient(180deg, #fff 0%, var(--detail-cream) 100%) !important;
  border: 1px solid var(--detail-border) !important;
  border-radius: 8px !important;
  padding: 12px !important;
  box-shadow: 0 18px 46px rgba(17, 24, 39, 0.09) !important;
}

.product-info-section .product-printing-options > h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 0 12px !important;
  padding: 2px 0 10px;
  border-bottom: 1px solid rgba(201, 169, 104, 0.28);
  color: var(--detail-ink) !important;
  font-size: 0.92rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.11em !important;
  text-transform: uppercase;
  -webkit-text-stroke: 0 !important;
}

.product-info-section .product-printing-options > h3::before,
.product-info-section .product-printing-options > h3::after {
  content: "";
  width: 36px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--detail-gold));
}

.product-info-section .product-printing-options > h3::after {
  background: linear-gradient(90deg, var(--detail-gold), transparent);
}

.product-info-section .groups-grid {
  gap: 9px !important;
}

.product-info-section .printing-group {
  overflow: hidden !important;
  border: 1px solid rgba(17, 24, 39, 0.12) !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: 0 8px 22px rgba(17, 24, 39, 0.055) !important;
}

.product-info-section .printing-group.is-open {
  overflow: visible !important;
  border-color: rgba(201, 169, 104, 0.48) !important;
  box-shadow: 0 14px 34px rgba(17, 24, 39, 0.09) !important;
  z-index: 20;
}

.product-info-section .printing-group:has(.printing-option-label:hover),
.product-info-section .printing-group:has(.printing-option-label:focus-within) {
  overflow: visible !important;
  z-index: 30;
}

.product-info-section .printing-group-toggle {
  min-height: 48px;
  padding: 10px 12px !important;
  background: linear-gradient(135deg, #fff 0%, #faf7ef 100%) !important;
  color: var(--detail-ink) !important;
}

.product-info-section .printing-group-title {
  font-size: 0.84rem !important;
  letter-spacing: 0.02em;
  color: var(--detail-ink) !important;
}

.product-info-section .printing-group-selected {
  color: #8a7a60 !important;
  font-size: 0.76rem !important;
}

.product-info-section .printing-group-chevron {
  background: var(--detail-ink) !important;
  color: #fff !important;
  border-color: var(--detail-ink) !important;
  box-shadow: 0 6px 16px rgba(17, 24, 39, 0.16);
}

.product-info-section .options-stack {
  gap: 6px !important;
  padding: 8px !important;
  background: #fff !important;
  border-top: 1px solid rgba(201, 169, 104, 0.24) !important;
}

.product-info-section .printing-option-label {
  min-height: 35px;
  padding: 7px 9px !important;
  border: 1px solid rgba(17, 24, 39, 0.13) !important;
  border-radius: 6px !important;
  background: #fff !important;
  box-shadow: none !important;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease !important;
}

.product-info-section .printing-option-label:hover,
.product-info-section .printing-option-label:focus-within {
  border-color: rgba(201, 169, 104, 0.72) !important;
  box-shadow: 0 8px 18px rgba(17, 24, 39, 0.07) !important;
  transform: translateY(-1px);
}

.product-info-section .printing-option-label:has(input[type="radio"]:checked) {
  border-color: var(--detail-gold) !important;
  background: linear-gradient(135deg, #fff 0%, var(--detail-cream) 100%) !important;
}

.product-info-section .printing-option-label input[type="radio"] {
  accent-color: var(--detail-ink) !important;
}

.product-info-section .option-price-label {
  color: var(--detail-ink) !important;
  font-weight: 800 !important;
}

.product-invitation-toggle {
  min-height: 50px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--detail-gold) 0%, #d8bd75 52%, var(--detail-gold-dark) 100%) !important;
  color: var(--detail-ink) !important;
  border: 1px solid rgba(138, 106, 46, 0.42) !important;
  border-radius: 8px !important;
  box-shadow: 0 14px 32px rgba(138, 106, 46, 0.2) !important;
}

.product-invitation-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(138, 106, 46, 0.28) !important;
}

.product-action-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  color: currentColor;
  font-size: 0.9rem;
  line-height: 1;
}

.product-invitation-toggle .product-action-icon {
  background: rgba(17, 24, 39, 0.1);
}

.product-invitation-toggle .toggle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-left: 2px;
  border-radius: 50%;
  background: rgba(17, 24, 39, 0.1);
  font-size: 1.15rem !important;
  font-weight: 800;
  line-height: 1 !important;
}

.product-actions {
  gap: 12px;
  margin-bottom: 14px;
}

.product-actions .btn.btn-lg {
  min-height: 55px;
  border-radius: 8px !important;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.product-actions .product-cart-action {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(201, 169, 104, 0.24);
  background: linear-gradient(135deg, var(--detail-ink) 0%, #2c2416 58%, var(--detail-gold-dark) 100%);
  color: #fff;
  box-shadow: 0 16px 34px rgba(17, 24, 39, 0.22), inset 0 1px 0 rgba(246, 232, 197, 0.12);
}

.product-actions .product-cart-action::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(201, 169, 104, 0.18), transparent);
  transform: translateX(-120%);
  transition: transform 0.55s ease;
}

.product-actions .product-cart-action:hover::after {
  transform: translateX(120%);
}

.product-actions .product-cart-action:hover {
  box-shadow: 0 20px 42px rgba(17, 24, 39, 0.3);
}

.product-actions .product-cart-action > span,
.product-actions .product-whatsapp-action > span {
  position: relative;
  z-index: 1;
}

.product-actions .product-whatsapp-action {
  background: linear-gradient(135deg, var(--detail-gold-dark) 0%, var(--detail-gold) 55%, var(--gold-light) 100%);
  border-color: rgba(201, 169, 104, 0.52);
  color: #fff;
  text-shadow: 0 1px 1px rgba(17, 24, 39, 0.22);
  box-shadow: 0 14px 30px rgba(138, 106, 46, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.product-actions .product-whatsapp-action:hover {
  background: linear-gradient(135deg, #7a5d25 0%, var(--detail-gold) 58%, #f9edcf 100%);
  border-color: rgba(201, 169, 104, 0.68);
  box-shadow: 0 18px 38px rgba(138, 106, 46, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.26);
}

.product-actions .product-whatsapp-action .product-action-icon {
  background: rgba(17, 24, 39, 0.16);
  font-size: 1.05rem;
}

.product-detail-quick-actions {
  position: static;
  opacity: 1;
  visibility: visible;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 16px;
}

.product-detail-quick-action-btn {
  min-width: 0;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(201, 169, 104, 0.28);
  border-radius: 7px;
  background: linear-gradient(135deg, var(--detail-ink) 0%, #241f17 70%, #342913 100%);
  color: var(--gold-light);
  font-family: var(--font-body);
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  box-shadow: 0 10px 22px rgba(17, 24, 39, 0.1), inset 0 1px 0 rgba(246, 232, 197, 0.08);
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.product-detail-quick-action-btn:hover,
.product-detail-quick-action-btn:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(201, 169, 104, 0.56);
  background: linear-gradient(135deg, #241f17 0%, #3a2e16 70%, var(--detail-gold-dark) 100%);
  color: #fff;
  box-shadow: 0 14px 28px rgba(17, 24, 39, 0.14), inset 0 1px 0 rgba(246, 232, 197, 0.12);
  outline: none;
}

.product-detail-quick-action-btn.is-active {
  border-color: rgba(201, 169, 104, 0.72);
  background: linear-gradient(135deg, var(--detail-gold-dark) 0%, var(--detail-gold) 100%);
  color: #fff;
  text-shadow: 0 1px 1px rgba(17, 24, 39, 0.18);
}

.product-detail-quick-action-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  min-width: 18px;
  color: currentColor;
  font-size: 0.98rem;
  line-height: 1;
}

.product-share {
  gap: 8px;
  margin: 0 0 18px;
  padding: 12px;
  border: 1px solid rgba(201, 169, 104, 0.24);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(251, 246, 234, 0.68), rgba(255, 255, 255, 0.92));
}

.product-share-label {
  color: var(--detail-ink);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

.product-share-list {
  gap: 8px;
}

.product-share-btn {
  width: 48px;
  min-width: 48px;
  height: 46px;
  border-color: rgba(17, 24, 39, 0.11);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 8px 18px rgba(17, 24, 39, 0.05);
}

.product-share-btn svg {
  width: 26px;
  height: 26px;
}

.product-share-btn:hover,
.product-share-btn:focus-visible {
  border-color: rgba(201, 169, 104, 0.58);
  box-shadow: 0 12px 24px rgba(17, 24, 39, 0.09);
}

body:has(.product-detail) .contact-hub {
  bottom: 30px;
}

@media (max-width: 820px) {
  .product-detail-grid > * {
    min-width: 0;
  }

  .product-gallery,
  .product-info-section {
    width: 100%;
  }

  .product-thumbnails {
    max-width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .product-thumbnail {
    flex: 0 0 80px;
  }

  body:has(.product-detail) .contact-hub {
    right: 12px;
    bottom: 16px;
  }

  body:has(.product-detail) .contact-hub-label {
    display: flex;
  }

  body:has(.product-detail) .contact-hub-toggle {
    width: 52px;
    height: 52px;
    min-height: 52px;
    border-radius: 50%;
  }
}
.product-description-text { font-size: 0.95rem; color: var(--gray-700); line-height: 1.8; }

/* ===== TABS ===== */
.product-tabs { margin-top: 60px; }
.tab-headers {
  display: flex;
  border-bottom: 2px solid var(--gray-200);
  gap: 0;
  overflow-x: auto;
}
.tab-header {
  padding: 14px 28px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gray-500);
  position: relative;
  white-space: nowrap;
  transition: var(--transition);
}
.tab-header:hover { color: var(--primary); }
.tab-header.active {
  color: var(--primary);
}
.tab-header.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary);
  border-radius: 3px 3px 0 0;
}
.tab-content { display: none; padding: 30px 0; }
.tab-content.active { display: block; animation: fadeIn 0.4s ease; }
.specs-table { width: 100%; }
.specs-table tr { border-bottom: 1px solid var(--gray-200); }
.specs-table td { padding: 12px 15px; font-size: 0.9rem; }
.specs-table td:first-child { font-weight: 600; color: var(--gray-900); width: 180px; }
.specs-table td:last-child { color: var(--gray-600); }

/* ===== RELATED PRODUCTS ===== */
.related-products { padding: 60px 0; background: var(--gray-50); }

/* ===== CATEGORY PAGE ===== */
.category-page { padding: 18px 0 72px; }
.category-layout { display: grid; grid-template-columns: 260px 1fr; gap: 30px; }
.category-sidebar {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 25px;
  box-shadow: var(--shadow-sm);
  height: fit-content;
  position: sticky;
  top: 100px;
}
.filter-group { margin-bottom: 25px; }
.filter-group h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-light);
}
.filter-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  cursor: pointer;
  font-size: 0.88rem;
  color: var(--gray-700);
  transition: var(--transition);
}
.filter-option:hover { color: var(--primary); }
.filter-option input[type="checkbox"] {
  accent-color: var(--primary);
  width: 16px;
  height: 16px;
}
.category-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  padding: 15px 20px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.category-count { font-size: 0.9rem; color: var(--gray-600); }
.category-sort select {
  padding: 8px 15px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--gray-700);
  cursor: pointer;
}

/* ===== CART ===== */
.cart-page {
  padding: 56px 0 96px;
  background:
    radial-gradient(760px 260px at 18% 0%, rgba(246, 232, 197, 0.32), transparent 70%),
    linear-gradient(180deg, #fbf6ea 0%, #fff 38%, #fbfbfb 100%);
}
.cart-page > .container {
  max-width: 1280px;
}
.cart-page > .container > .breadcrumb {
  margin-bottom: 18px;
  color: var(--gray-500);
  font-size: 0.88rem;
}
#emptyCart {
  width: min(100%, 680px);
  margin: 0 auto;
  border: 1px solid rgba(201, 169, 104, 0.24);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff 0%, #fffaf0 100%);
  box-shadow: 0 18px 46px rgba(17, 24, 39, 0.08);
}
#emptyCart .btn-primary {
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary-dark), var(--accent-dark));
  color: var(--white);
}
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 30px; align-items: start; }
.cart-table {
  background: var(--white);
  border: 1px solid rgba(201, 169, 104, 0.22);
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(17, 24, 39, 0.08);
  overflow: hidden;
}
.cart-table table { width: 100%; border-collapse: collapse; }
.cart-table th {
  background: linear-gradient(135deg, #21190c 0%, #2f2414 100%);
  padding: 17px 20px;
  text-align: left;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.cart-table td {
  padding: 22px 20px;
  border-bottom: 1px solid rgba(201, 169, 104, 0.12);
  vertical-align: middle;
}
.cart-product-info {
  display: flex;
  align-items: center;
  gap: 15px;
}
.cart-product-image {
  width: 76px;
  height: 76px;
  border: 1px solid rgba(201, 169, 104, 0.28);
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: #fbf6ea;
}
.cart-product-image img { width: 100%; height: 100%; object-fit: cover; }
.cart-product-name { font-weight: 800; color: var(--gray-900); font-size: 0.94rem; }
.cart-product-code-line {
  margin-top: 6px;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 700;
}
.cart-product-type-line {
  display: inline-flex;
  align-items: center;
  margin-top: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(201, 169, 104, 0.14);
  color: var(--accent-dark);
  font-size: 0.76rem;
  font-weight: 700;
}
.cart-remove {
  color: var(--gray-400);
  font-size: 1.2rem;
  transition: var(--transition);
}
.cart-remove:hover { color: var(--danger); }
.cart-invitation-section {
  margin-top: 24px;
  background: linear-gradient(180deg, #fff 0%, #fffaf0 100%);
  border: 1px solid rgba(201, 169, 104, 0.32);
  border-radius: 8px;
  padding: 22px;
  box-shadow: 0 18px 46px rgba(17, 24, 39, 0.08);
}
.cart-invitation-section-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
}
.cart-invitation-section-head h3 {
  margin: 0 0 4px;
  color: var(--accent-dark);
  font-size: 1.18rem;
  font-weight: 800;
}
.cart-invitation-section-head p {
  margin: 0;
  color: var(--gray-600);
  font-size: 0.88rem;
  line-height: 1.45;
}
.cart-invitation-migration-notice {
  margin-bottom: 14px;
  padding: 10px 12px;
  border-radius: 6px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #9a3412;
  font-size: 0.85rem;
  line-height: 1.45;
}
.cart-invitation-card-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cart-invitation-card {
  border-radius: 8px;
  border: 1px solid rgba(201, 169, 104, 0.2);
  background: #fff;
  padding: 16px;
}
.cart-invitation-card.is-complete {
  border-color: rgba(34, 197, 94, 0.34);
  box-shadow: 0 10px 24px rgba(34, 197, 94, 0.07);
}
.cart-invitation-card.is-incomplete {
  border-color: rgba(244, 63, 94, 0.28);
  box-shadow: 0 10px 24px rgba(244, 63, 94, 0.07);
}
.cart-invitation-card-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 10px;
}
.cart-invitation-product {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  min-width: 0;
}
.cart-invitation-product-image {
  width: 64px;
  height: 64px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(201, 169, 104, 0.26);
  flex-shrink: 0;
  background: #fbf6ea;
}
.cart-invitation-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cart-invitation-product-meta {
  min-width: 0;
}
.cart-invitation-product-meta h4 {
  margin: 6px 0 4px;
  color: #0f172a;
  font-size: 0.98rem;
  line-height: 1.32;
}
.cart-invitation-subline {
  color: #64748b;
  font-size: 0.78rem;
}
.cart-invitation-code-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.cart-invitation-code-badge,
.cart-invitation-type-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 5px;
  font-size: 0.68rem;
  font-weight: 700;
}
.cart-invitation-code-badge {
  background: rgba(201, 169, 104, 0.14);
  color: var(--accent-dark);
}
.cart-invitation-type-badge {
  background: rgba(246, 232, 197, 0.7);
  color: var(--primary-dark);
}
.cart-invitation-option-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}
.cart-invitation-option-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 6px;
  background: #fffaf0;
  border: 1px solid rgba(201, 169, 104, 0.22);
  color: #475569;
  font-size: 0.71rem;
}
.cart-invitation-card-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-end;
  flex-shrink: 0;
}
.cart-invitation-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 0.71rem;
  font-weight: 700;
}
.cart-invitation-status.is-complete {
  background: #dcfce7;
  color: #166534;
}
.cart-invitation-status.is-incomplete {
  background: #ffe4e6;
  color: #be123c;
}
.cart-invitation-edit-link {
  color: var(--accent-dark);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
}
.cart-invitation-edit-link:hover {
  color: var(--primary-dark);
}
.cart-invitation-error-box {
  margin-bottom: 10px;
  padding: 10px 12px;
  border-radius: 6px;
  background: #fff1f2;
  border: 1px solid #fecdd3;
  color: #9f1239;
  font-size: 0.84rem;
  line-height: 1.45;
}
.cart-invitation-error-box strong {
  display: block;
  margin-bottom: 6px;
}
.cart-invitation-error-box ul {
  margin: 0;
  padding-left: 18px;
}
.cart-invitation-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.cart-invitation-card-grid > div {
  border-radius: 8px !important;
}
.cart-invitation-empty-state {
  padding: 12px;
  border-radius: 6px;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  color: #475569;
  line-height: 1.45;
  font-size: 0.84rem;
}
.cart-invitation-confirm {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 16px;
  padding: 12px 14px;
  background: #fffaf0;
  border: 1px solid rgba(201, 169, 104, 0.38);
  border-radius: 8px;
  cursor: pointer;
}
.cart-invitation-confirm.is-disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.cart-invitation-confirm input {
  margin-top: 2px;
  accent-color: var(--accent-dark);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.cart-invitation-confirm span {
  color: #7c5a1f;
  font-size: 0.85rem;
  line-height: 1.45;
}
.cart-summary {
  background: linear-gradient(180deg, #fff 0%, #fffaf0 100%);
  border: 1px solid rgba(201, 169, 104, 0.24);
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(17, 24, 39, 0.08);
  padding: 30px;
  height: fit-content;
  position: sticky;
  top: 132px;
}
.cart-summary h3 {
  font-family: var(--font-heading);
  font-size: 1.36rem;
  margin-bottom: 25px;
  color: var(--gray-900);
}
.cart-summary-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  font-size: 0.9rem;
  color: var(--gray-600);
  border-bottom: 1px solid rgba(201, 169, 104, 0.14);
}
.cart-summary-total {
  display: flex;
  justify-content: space-between;
  padding: 18px 0 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gray-900);
}
.cart-summary .btn { width: 100%; margin-top: 20px; }
.cart-summary .btn-primary {
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary-dark), var(--accent-dark));
  color: var(--white);
  box-shadow: 0 16px 34px rgba(17, 24, 39, 0.22);
}
.cart-summary .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(17, 24, 39, 0.28);
}

@media (max-width: 992px) {
  .cart-invitation-card-header {
    flex-direction: column;
  }
  .cart-invitation-card-actions {
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .cart-invitation-section {
    padding: 16px;
  }
  .cart-invitation-card {
    padding: 14px;
  }
  .cart-invitation-card-grid {
    grid-template-columns: 1fr;
  }
  .cart-invitation-product {
    flex-direction: column;
  }
  .cart-invitation-product-image {
    width: 100%;
    height: 140px;
  }
}

/* ===== FOOTER ===== */
.footer {
  background: #0d0d0d;
  color: rgba(255,255,255,0.72);
  padding: 64px 0 22px;
}
.footer .container {
  max-width: 1320px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.footer-main {
  display: grid;
  grid-template-columns: minmax(240px, 1.35fr) repeat(3, minmax(150px, 0.8fr)) minmax(250px, 1.1fr);
  gap: 42px;
  align-items: start;
  padding-bottom: 46px;
}
.footer-brand-panel {
  max-width: 360px;
  text-align: center;
}
.footer-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.footer-logo img {
  width: 150px;
  max-height: 112px;
  object-fit: contain;
}
.footer-brand-panel p,
.footer-newsletter p {
  margin: 0;
  color: rgba(255,255,255,0.58);
  font-size: 0.95rem;
  line-height: 1.75;
}
.footer-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-links li { margin-bottom: 11px; }
.footer-links a {
  display: inline-flex;
  color: rgba(255,255,255,0.58);
  font-size: 0.95rem;
  line-height: 1.45;
  transition: var(--transition);
}
.footer-links a:hover {
  color: var(--gold-light);
  transform: translateX(4px);
}
.footer-social {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
}
.footer-social a,
.footer-contact-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(201, 169, 104, 0.36);
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  color: var(--gold-light);
  transition: var(--transition);
}
.footer-social svg,
.footer-contact-icon svg,
.footer-newsletter-form button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.footer-social a:hover {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--primary-dark);
  transform: translateY(-3px);
}
.footer-newsletter-form {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}
.footer-newsletter-form input {
  min-width: 0;
  height: 52px;
  flex: 1;
  padding: 0 18px;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 8px;
  outline: none;
  background: rgba(255,255,255,0.11);
  color: var(--white);
}
.footer-newsletter-form input::placeholder {
  color: rgba(255,255,255,0.42);
}
.footer-newsletter-form input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,169,104,0.15);
}
.footer-newsletter-form button {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--gold), var(--accent-dark));
  color: var(--primary-dark);
  transition: var(--transition);
}
.footer-newsletter-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(201,169,104,0.24);
}
.footer-contact-strip {
  display: grid;
  grid-template-columns: minmax(280px, 1.55fr) repeat(3, minmax(170px, 1fr));
  gap: 28px;
  padding: 34px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
}
.footer-contact-item span:last-child {
  min-width: 0;
  color: rgba(255,255,255,0.62);
  font-size: 0.92rem;
  line-height: 1.55;
}
.footer-contact-item strong {
  display: block;
  margin-bottom: 3px;
  color: var(--white);
  font-size: 0.9rem;
}
.footer-contact-item a {
  color: rgba(255,255,255,0.68);
}
.footer-contact-item a:hover {
  color: var(--gold-light);
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0 18px;
  color: rgba(255,255,255,0.56);
  font-size: 0.9rem;
}
.footer-bottom p {
  margin: 0;
}
.footer-bottom a {
  color: rgba(255,255,255,0.66);
}
.footer-bottom a:hover {
  color: var(--gold-light);
}
.footer-legal-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 18px;
}
.footer-payments {
  width: fit-content;
  max-width: 100%;
  min-height: 52px;
  margin: 0 auto;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 36px rgba(0,0,0,0.22);
}
.footer-payments span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 3px 9px;
  border-radius: 6px;
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}
.footer-payments span:first-child {
  color: #2563eb;
  text-transform: none;
}
.footer-payments span:nth-child(2) {
  color: #dc2626;
}
.footer-payments span:nth-child(3) {
  color: #1d4ed8;
}
.footer-payments span:nth-child(4) {
  color: #38bdf8;
}
.footer-payments span:nth-child(5) {
  color: #334155;
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.6rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition);
  animation: pulse-green 2s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); }

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  right: 30px;
  bottom: 104px;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: var(--white);
  font-size: 1.2rem;
  box-shadow: 0 10px 30px rgba(138, 106, 46, 0.36);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover,
.back-to-top:focus-visible {
  transform: scale(1.1);
  box-shadow: 0 14px 42px rgba(138, 106, 46, 0.45);
  outline: none;
}

.back-to-top i {
  animation: backToTopBounce 2s ease-in-out infinite;
}

@keyframes backToTopBounce {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

/* ===== CONTACT HUB (şube / iletişim) ===== */
.contact-hub-overlay {
  display: none !important;
}

.contact-hub {
  position: fixed;
  right: 30px;
  bottom: 30px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 0;
  font-family: var(--font-body);
  --contact-hub-deep: var(--primary-dark);
  --contact-hub-mid: var(--primary);
  --contact-hub-accent: var(--accent-dark);
  --contact-hub-gold: var(--accent);
  --contact-hub-soft: var(--primary-50);
}

.contact-hub-panel {
  position: absolute;
  right: 0;
  bottom: 75px;
  width: 370px;
  max-height: 520px;
  border: none;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--contact-hub-deep), var(--contact-hub-accent));
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(20px) scale(0.95);
  transform-origin: bottom right;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.contact-hub.is-open .contact-hub-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.contact-hub-panel-inner {
  display: flex;
  flex-direction: column;
  min-height: 0;
  max-height: inherit;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
}

.contact-hub-header {
  position: relative;
  padding: 20px 58px 20px 22px;
  background: linear-gradient(135deg, var(--contact-hub-deep), var(--contact-hub-accent));
  color: var(--white);
  border-radius: 16px 16px 0 0;
}
.contact-hub-close--corner {
  position: absolute;
  top: 17px;
  right: 18px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}
.contact-hub-close--corner:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}
.contact-hub-title {
  margin: 0;
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.25;
}
.contact-hub-sub {
  display: block;
  margin: 3px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.contact-hub-body {
  flex: 1;
  min-height: 0;
  max-height: 420px;
  padding: 8px 0;
  overflow-y: auto;
  background: var(--white);
  border-radius: 0 0 16px 16px;
  scrollbar-width: auto;
  scrollbar-color: #999 #f0f0f0;
}

.contact-hub-body::-webkit-scrollbar {
  width: 8px;
}

.contact-hub-body::-webkit-scrollbar-track {
  background: #f0f0f0;
  border-radius: 8px;
}

.contact-hub-body::-webkit-scrollbar-thumb {
  background: #999;
  border-radius: 8px;
}

.contact-hub-body::-webkit-scrollbar-thumb:hover {
  background: #777;
}

.contact-hub-branch + .contact-hub-branch {
  border-top: 1px solid #f0f0f0;
}

.contact-hub-branch-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border: none;
  background: var(--white);
  cursor: pointer;
  text-align: left;
  transition: background 0.2s ease, color 0.2s ease;
}
.contact-hub-branch-trigger:hover {
  background: var(--contact-hub-soft);
  color: var(--contact-hub-accent);
}
.contact-hub-branch-static {
  cursor: default;
}
.contact-hub-branch-static:hover {
  background: var(--white);
  color: inherit;
}

.contact-hub-branch-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--contact-hub-accent);
  background: rgba(201, 169, 104, 0.14);
}

.contact-hub-branch-title {
  flex: 1;
  color: #333;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.35;
}

.contact-hub-branch-chevron {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  position: relative;
}
.contact-hub-branch-chevron::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-right: 2px solid var(--gray-400);
  border-bottom: 2px solid var(--gray-400);
  transform: rotate(45deg);
  transition: transform 0.22s ease;
}
.contact-hub-branch-trigger[aria-expanded="true"] .contact-hub-branch-chevron::after {
  transform: rotate(-135deg);
  margin-top: 6px;
}

.contact-hub-branch-panel {
  padding: 0 20px 18px 68px;
  background: #fafafa;
  font-size: 0.86rem;
  color: #555;
  line-height: 1.55;
}
.contact-hub-branch-panel p {
  margin: 0 0 8px;
}
.contact-hub-branch-panel p:last-of-type {
  margin-bottom: 10px;
}
.contact-hub-map-link {
  display: inline-block;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--contact-hub-accent);
}
.contact-hub-map-link:hover {
  color: var(--contact-hub-deep);
}

.contact-hub-fab {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0;
}

.contact-hub-label {
  position: absolute;
  right: 68px;
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 10px 20px;
  border-radius: 30px;
  background: linear-gradient(135deg, var(--contact-hub-deep) 0%, var(--contact-hub-mid) 52%, var(--contact-hub-accent) 100%);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  line-height: 1.2;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(40px);
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.28);
  animation: contactHubTooltipSlideIn 6s ease 1s forwards;
  transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s ease;
}

.contact-hub-label::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -6px;
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 7px solid var(--contact-hub-accent);
  transform: translateY(-50%);
}

.contact-hub-fab:hover .contact-hub-label,
.contact-hub-fab:focus-within .contact-hub-label {
  opacity: 1;
  transform: translateX(0);
  animation: none;
}

.contact-hub.is-open .contact-hub-label {
  opacity: 0;
  transform: translateX(40px);
  animation: none;
}

@keyframes contactHubTooltipSlideIn {
  0% {
    opacity: 0;
    transform: translateX(40px);
  }

  8.33%,
  91.66% {
    opacity: 1;
    transform: translateX(0);
  }

  100% {
    opacity: 0;
    transform: translateX(40px);
  }
}

.contact-hub-toggle {
  position: relative;
  z-index: 10;
  width: 60px;
  height: 60px;
  min-height: 60px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--contact-hub-gold) 0%, var(--contact-hub-accent) 100%);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 10px 30px rgba(138, 106, 46, 0.36);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.22s ease;
}
.contact-hub-toggle:hover,
.contact-hub-toggle:focus-visible {
  transform: scale(1.1);
  box-shadow: 0 14px 42px rgba(138, 106, 46, 0.45);
  outline: none;
}
.contact-hub.is-open .contact-hub-toggle {
  background: var(--contact-hub-mid);
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.32);
}
.contact-hub-toggle-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-hub-toggle-icon--close {
  display: none;
  font-size: 1.25rem;
  line-height: 1;
}
.contact-hub.is-open .contact-hub-toggle-icon--open {
  display: none;
}
.contact-hub.is-open .contact-hub-toggle-icon--close {
  display: flex;
}

body.contact-hub-no-scroll {
  overflow: hidden;
}

@media (max-width: 520px) {
  .back-to-top {
    right: 12px;
    bottom: 80px;
    width: 44px;
    height: 44px;
    font-size: 0.9rem;
  }

  .contact-hub {
    right: 12px;
    bottom: 16px;
  }
  .contact-hub-label {
    right: 60px;
    min-height: 36px;
    padding: 8px 14px;
    font-size: 0.78rem;
  }
  .contact-hub-toggle {
    width: 52px;
    height: 52px;
    min-height: 52px;
    font-size: 1.3rem;
  }
  .contact-hub-panel {
    right: -6px;
    bottom: 65px;
    width: calc(100vw - 24px);
    max-height: 65vh;
  }
}

@supports (padding-bottom: env(safe-area-inset-bottom)) {
  @media (max-width: 520px) {
    .contact-hub {
      bottom: calc(16px + env(safe-area-inset-bottom));
    }

    .back-to-top {
      bottom: calc(80px + env(safe-area-inset-bottom));
    }
  }
}

/* ===== CORPORATE STATIC PAGES ===== */
.corporate-page-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 230px;
  padding: 82px 20px 26px;
  overflow: hidden;
  background:
    radial-gradient(760px 320px at 18% 0%, rgba(246, 232, 197, 0.28), transparent 72%),
    radial-gradient(760px 360px at 82% 10%, rgba(201, 169, 104, 0.24), transparent 68%),
    radial-gradient(680px 280px at 50% 100%, rgba(138, 106, 46, 0.18), transparent 76%),
    linear-gradient(135deg, #2a2112 0%, #1f170c 42%, #1a140b 70%, #17120a 100%);
  color: var(--white);
}
.corporate-page-hero.corporate-page-hero--compact {
  min-height: 180px;
  padding-top: 62px;
  padding-bottom: 16px;
}
.corporate-page-hero--compact .corporate-page-title {
  font-size: clamp(1.85rem, 3.3vw, 2.9rem);
}
.corporate-page-hero--compact .corporate-page-subtitle {
  font-size: 0.92rem;
}
.corporate-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(246, 232, 197, 0.065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 232, 197, 0.055) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.95), transparent 86%);
}
.corporate-page-hero::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -210px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(201, 169, 104, 0.34);
  border-radius: 50%;
}
.corporate-page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 940px;
  text-align: center;
}
.corporate-page-hero .breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  padding: 7px 16px;
  border: 1px solid rgba(201, 169, 104, 0.32);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
}
.corporate-page-hero .breadcrumb a {
  color: var(--gold-light);
}
.corporate-page-title {
  margin: 0 0 10px;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.2vw, 3.35rem);
  font-weight: 800;
  line-height: 1.08;
}
.corporate-page-title span {
  color: var(--gold-light);
}
.corporate-page-subtitle {
  max-width: 780px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.98rem;
  line-height: 1.5;
}
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 8px 18px;
  border: 1px solid rgba(201, 169, 104, 0.28);
  border-radius: var(--radius-full);
  background: rgba(201, 169, 104, 0.1);
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.section-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.about-story-section,
.about-proof-section,
.about-values-section,
.contact-section,
.quick-links-section {
  padding: 94px 20px;
}
.about-story-section,
.quick-links-section {
  background: var(--gray-50);
}
.about-proof-section,
.contact-section {
  background: var(--primary-dark);
}
.about-values-section {
  background: var(--white);
}
.about-values-section--dark {
  background: var(--primary-dark);
}
.about-values-section--dark .section-title {
  color: var(--white);
}
.about-values-section--dark .section-subtitle {
  color: rgba(255, 255, 255, 0.68);
}
.about-values-section--dark .section-badge {
  border-color: rgba(201, 169, 104, 0.28);
  background: rgba(255, 255, 255, 0.06);
  color: var(--gold-light);
}
.about-story-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: 58px;
  max-width: 1240px;
  margin: 0 auto;
  align-items: center;
}
.about-story-grid-reverse .about-story-image {
  order: 2;
}
.about-story-image {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 28px 70px rgba(17, 24, 39, 0.2);
}
.about-story-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(17, 24, 39, 0.28));
}
.about-story-image img {
  width: 100%;
  aspect-ratio: 1 / 0.78;
  object-fit: cover;
}
.about-story-content h2,
.contact-info h2,
.contact-form-wrapper h2 {
  margin: 0 0 18px;
  color: var(--gray-900);
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.16;
}
.about-story-content p,
.contact-info > p,
.contact-form-wrapper > p {
  margin: 0 0 18px;
  color: var(--gray-600);
  font-size: 1rem;
  line-height: 1.82;
}
.about-proof-section .about-story-content h2,
.about-proof-section .about-story-content p,
.contact-section .contact-info h2,
.contact-section .contact-info > p {
  color: var(--white);
}
.about-proof-section .about-story-content p,
.contact-section .contact-info > p {
  color: rgba(255, 255, 255, 0.72);
}
.about-story-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
  padding-top: 26px;
  border-top: 1px solid rgba(201, 169, 104, 0.28);
}
.about-story-stat {
  padding: 18px 14px;
  border: 1px solid rgba(201, 169, 104, 0.2);
  border-radius: 8px;
  background: var(--white);
  text-align: center;
}
.about-story-stat strong {
  display: block;
  color: var(--accent-dark);
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1;
}
.about-story-stat span {
  display: block;
  margin-top: 8px;
  color: var(--gray-600);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}
.about-values-grid,
.quick-links-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  max-width: 1240px;
  margin: 0 auto;
}
.about-value-card,
.quick-link-card {
  display: block;
  color: inherit;
  text-decoration: none;
  padding: 30px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.about-value-card:hover,
.quick-link-card:hover {
  border-color: rgba(201, 169, 104, 0.45);
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}
.about-value-icon,
.about-feature-icon,
.contact-icon,
.quick-link-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary-dark), var(--accent-dark));
  color: var(--gold-light);
  font-size: 1.25rem;
}
.about-value-card h3,
.quick-link-card h3 {
  margin: 22px 0 10px;
  color: var(--gray-900);
  font-size: 1.12rem;
}
.about-value-card p,
.quick-link-card p {
  margin: 0;
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.7;
}
.about-values-section--dark .about-value-card {
  border-color: rgba(201, 169, 104, 0.18);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: none;
}
.about-values-section--dark .about-value-card:hover {
  border-color: rgba(201, 169, 104, 0.52);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.2);
}
.about-values-section--dark .about-value-card h3 {
  color: var(--white);
}
.about-values-section--dark .about-value-card p {
  color: rgba(255, 255, 255, 0.68);
}
.about-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}
.about-feature-card {
  display: flex;
  gap: 16px;
  padding: 20px;
  border: 1px solid rgba(201, 169, 104, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}
.about-feature-card h4 {
  margin: 0 0 6px;
  color: var(--white);
  font-size: 1rem;
}
.about-feature-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
  line-height: 1.55;
}
.contact-grid {
  grid-template-columns: 1fr 1.12fr;
  align-items: start;
}
.contact-items {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-item {
  display: flex;
  gap: 18px;
  padding: 22px;
  border: 1px solid rgba(201, 169, 104, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  transition: var(--transition);
}
.contact-item:hover {
  border-color: rgba(201, 169, 104, 0.5);
  background: rgba(255, 255, 255, 0.09);
  transform: translateX(6px);
}
.contact-item-link {
  text-decoration: none;
}
.contact-icon-whatsapp {
  background: rgba(37, 211, 102, 0.15);
  color: #25d366;
}
.contact-details h3 {
  margin: 0 0 6px;
  color: var(--white);
  font-size: 1rem;
}
.contact-details p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
  line-height: 1.55;
}
.contact-details a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: var(--transition);
}
.contact-details a:hover,
.contact-item-link:hover .contact-details p {
  color: var(--gold-light);
}
.contact-legal-info {
  margin-top: 22px;
  padding: 22px;
  border: 1px solid rgba(201, 169, 104, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}
.contact-legal-info h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--white);
  font-size: 1rem;
}
.contact-legal-info h3 i {
  color: var(--gold-light);
}
.contact-legal-grid {
  display: grid;
  gap: 10px;
}
.contact-legal-row {
  display: grid;
  gap: 5px;
  padding: 12px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.18);
}
.contact-legal-row span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.78rem;
}
.contact-legal-row strong,
.contact-legal-row a {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.9rem;
  line-height: 1.5;
  word-break: break-word;
}
.contact-legal-row a {
  text-decoration: none;
}
.social-links {
  margin-top: 28px;
}
.social-links h3 {
  margin: 0 0 15px;
  color: var(--white);
  font-size: 1rem;
}
.social-icons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(201, 169, 104, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.08rem;
  text-decoration: none;
  transition: var(--transition);
}
.social-icon:hover {
  border-color: rgba(201, 169, 104, 0.52);
  background: rgba(201, 169, 104, 0.16);
  color: var(--gold-light);
  transform: translateY(-4px);
}
.contact-form-wrapper {
  padding: 42px;
  border: 1px solid rgba(201, 169, 104, 0.26);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.18);
}
.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--gray-800);
  font-size: 0.88rem;
  font-weight: 700;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  background: var(--gray-50);
  color: var(--gray-900);
  font-size: 0.95rem;
  transition: var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
  outline: none;
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(201, 169, 104, 0.16);
}
.form-group textarea {
  min-height: 142px;
  resize: vertical;
}
.captcha-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.captcha-row img {
  height: 42px;
  min-width: 96px;
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  cursor: pointer;
}
.captcha-row input {
  max-width: 180px;
}
.form-group small {
  display: block;
  margin-top: 7px;
  color: var(--gray-500);
  font-size: 0.8rem;
}
.form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary-dark), var(--accent-dark));
  color: var(--white);
  font-weight: 800;
  transition: var(--transition);
}
.form-submit:hover {
  box-shadow: 0 16px 34px rgba(17, 24, 39, 0.22);
  transform: translateY(-2px);
}
.contact-alert {
  display: grid;
  gap: 4px;
  margin-bottom: 20px;
  padding: 15px 16px;
  border-radius: 8px;
  font-size: 0.95rem;
}
.contact-alert-success {
  background: #def7ec;
  color: #03543f;
}
.contact-alert-error {
  background: #fde8e8;
  color: #9b1c1c;
}
.quick-links-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.quick-link-card span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--accent-dark);
  font-weight: 800;
}
.contact-map-section {
  height: 420px;
  overflow: hidden;
  background: var(--gray-100);
}
.contact-map-section iframe {
  display: block;
  width: 100%;
  height: 100%;
}
.checkout-page {
  padding: 14px 0 72px;
  background: var(--gray-50);
  min-height: 70vh;
}

/* ===== FONT LIBRARY ===== */
.font-library-page {
  padding-bottom: 90px;
}
.font-library-hero {
  margin-bottom: 32px;
}
.font-library-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}
.font-library-header h2 {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  color: var(--gray-900);
  margin-bottom: 8px;
}
.font-library-header p {
  margin: 0;
  color: var(--gray-600);
  font-size: 0.98rem;
}
.font-library-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.font-library-card {
  background: var(--white);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  border: 1px solid #edf2f7;
  transition: var(--transition);
  padding: 4px 0 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 178px;
}
.font-library-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.font-library-image-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-bottom: 4px;
}
.font-library-image-trigger {
  width: 100%;
  max-width: none;
  height: 118px;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 0;
  background: linear-gradient(135deg, #fdf2f8, #f8fafc);
  cursor: zoom-in;
  overflow: hidden;
  transition: var(--transition);
}
.font-library-image-trigger:hover {
  border-color: rgba(31, 41, 55, 0.25);
  box-shadow: 0 8px 18px rgba(31, 41, 55, 0.12);
}
.font-library-image {
  width: 100%;
  height: 100%;
  border-radius: 18px;
  display: block;
  object-fit: cover;
}
.font-library-image-fallback {
  width: 100%;
  height: 118px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary);
  background: linear-gradient(135deg, #fdf2f8, #f8fafc);
  border: 1px solid #e2e8f0;
  border-radius: 18px;
}
.font-library-copy {
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  padding: 0 8px;
}
.font-library-copy h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--gray-900);
  margin-bottom: 0;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.font-library-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 100%;
  margin-top: 8px;
  padding: 0 8px;
}
.font-library-download {
  min-width: 92px;
  text-align: center;
  padding: 8px 12px;
  font-size: 0.8rem;
  justify-content: center;
  white-space: nowrap;
}
.font-preview-open {
  overflow: hidden;
}
.font-preview-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
}
.font-preview-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.72);
}
.font-preview-dialog {
  position: relative;
  z-index: 100000;
  width: min(92vw, 760px);
  margin: 6vh auto 0;
  background: #fff;
  border-radius: 22px;
  padding: 18px;
  box-shadow: 0 26px 80px rgba(15, 23, 42, 0.28);
}
.font-preview-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.08);
  color: var(--gray-900);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}
.font-preview-title {
  margin: 0 46px 14px 0;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--gray-900);
}
.font-preview-dialog img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 16px;
  background: #f8fafc;
}
.font-empty-state {
  background: linear-gradient(135deg, #fff1f2, #ffffff);
  border: 1px solid #ffe4e6;
  border-radius: 24px;
  padding: 48px 32px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.font-empty-icon {
  width: 88px;
  height: 88px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  color: var(--primary);
  font-size: 2.6rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}
.font-empty-state h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--gray-900);
  margin-bottom: 10px;
}
.font-empty-state p {
  margin: 0 auto;
  max-width: 520px;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(25px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse-green {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6); }
}
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .products-grid.homepage-products-view-dense { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .products-grid.homepage-products-view-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product-subcategories-grid { grid-template-columns: repeat(3, 1fr); }
  .subcategory-product-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-title { font-size: 2.5rem; }
  .hero-image { width: 40%; }
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand-panel { text-align: left; }
  .footer-social { justify-content: flex-start; }
  .footer-contact-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-layout { grid-template-columns: 1fr; }
  .category-sidebar { display: none; }
  .font-library-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .site-header-grid { gap: 22px; }
  .site-nav-link { padding: 9px 10px; font-size: 0.78rem; }
  .header-logo img { width: 146px; }
}
@media (max-width: 768px) {
  .top-bar-inner { align-items: flex-start; flex-direction: column; }
  .top-bar-right { width: 100%; justify-content: space-between; flex-wrap: wrap; }
  .top-bar-search { min-width: min(100%, 280px); }
  .site-header-grid { grid-template-columns: 44px 1fr 44px; min-height: 72px; gap: 10px; }
  .site-nav { display: none; }
  .header-logo { grid-column: 2; }
  .header-logo img { max-width: 148px; width: 40vw; }
  .header-logo span { font-size: 0.62rem; letter-spacing: 0.12em; }
  .mobile-menu-btn { display: inline-flex; align-items: center; justify-content: center; grid-column: 1; grid-row: 1; }
  .main-nav { display: none; background: var(--primary-dark); padding: 10px 0 14px; }
  .main-nav.open { display: block; }
  .nav-list { display: flex; flex-direction: column; gap: 6px; padding: 0; }
  .nav-link {
    display: flex;
    padding: 12px 16px;
    border-radius: 10px;
    color: var(--white);
    background: rgba(255,255,255,0.07);
    font-weight: 700;
  }
  .nav-link:hover,
  .nav-link.active { background: var(--accent); color: var(--primary-dark); }
  .hero-slide { flex-direction: column; text-align: center; }
  .hero-content { padding: 40px 20px; }
  .hero-title { font-size: 2rem; }
  .hero-image { position: relative; width: 100%; transform: none; display: none; }
  .hero-buttons { justify-content: center; }
  .trust-items { grid-template-columns: repeat(2, 1fr); }
  .homepage-filter-bar {
    gap: 10px;
  }
  .homepage-filter-dropdown,
  .homepage-filter-trigger,
  .homepage-filter-clear {
    width: 100%;
  }
  .homepage-display-controls {
    width: 100%;
    margin-left: 0;
    justify-content: flex-end;
  }
  .homepage-show-control {
    width: auto;
    max-width: 100%;
    justify-content: space-between;
  }
  .homepage-show-select {
    width: auto;
  }
  .homepage-view-toggle {
    flex-shrink: 0;
  }
  .homepage-filter-menu {
    position: static;
    min-width: 0;
    margin-top: 8px;
  }
  .products-grid.homepage-products-view-dense { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
  .products-grid.homepage-products-view-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
  .products-grid.homepage-products-view-list .product-card {
    grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
  }
  .product-subcategories-grid { grid-template-columns: repeat(2, 1fr); }
  .product-subcategory-card { min-height: 170px; }
  .homepage-category-grid { grid-template-columns: 1fr; }
  .homepage-category-card { min-height: 0; }
  .subcategory-topbar { grid-template-columns: 1fr 1fr; }
  .subcategory-title-box { grid-column: 1 / -1; }
  .subcategory-product-grid { grid-template-columns: repeat(2, 1fr); }
  .subcategory-product-card.list-view { flex-direction: column; }
  .subcategory-product-card.list-view .subcategory-product-image {
    width: 100%;
    flex-basis: auto;
  }
  .categories-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .corporate-page-hero {
    min-height: 210px;
    padding: 76px 18px 24px;
  }
  .corporate-page-hero.corporate-page-hero--compact {
    min-height: 170px;
    padding-top: 58px;
    padding-bottom: 16px;
  }
  .about-story-section,
  .about-proof-section,
  .about-values-section,
  .contact-section,
  .quick-links-section,
  .cta-section {
    padding: 64px 18px;
  }
  .about-story-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .about-story-grid-reverse .about-story-image {
    order: 0;
  }
  .about-story-stats,
  .about-values-grid,
  .quick-links-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .about-feature-grid,
  .form-row {
    grid-template-columns: 1fr;
  }
  .contact-form-wrapper {
    padding: 28px 20px;
  }
  .cta-buttons {
    gap: 12px;
  }
  .font-library-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .font-library-header {
    align-items: flex-start;
  }
  .font-library-card {
    min-height: 170px;
  }
  .font-library-image-trigger,
  .font-library-image,
  .font-library-image-fallback {
    width: 100%;
    height: 108px;
  }
  .font-preview-dialog {
    width: min(94vw, 620px);
    margin-top: 4vh;
  }
  .product-detail-grid { grid-template-columns: 1fr; gap: 30px; }
  .product-gallery { position: static; }
  .product-summary-layout {
    grid-template-columns: 1fr;
  }
  .product-summary-aside,
  .product-summary-total-wrap,
  .product-summary-qty {
    min-width: 0;
    align-items: flex-start;
  }
  .product-summary-aside {
    width: 100%;
  }
  .product-summary-info-box,
  .product-summary-total-wrap,
  .product-summary-qty {
    width: 100%;
  }
  .product-summary-unit-line {
    justify-content: flex-start;
    white-space: normal;
  }
  .cart-layout { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 30px; }
  .footer-brand-panel { max-width: none; text-align: center; }
  .footer-social { justify-content: center; }
  .footer-contact-strip { grid-template-columns: 1fr; gap: 20px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .footer-legal-links { justify-content: flex-start; }
  .section { padding: 50px 0; }
  .section-title { font-size: 1.8rem; }
  .cta-banner h2 { font-size: 1.8rem; }
}
@media (max-width: 480px) {
  .footer {
    padding-top: 46px;
  }
  .footer-newsletter-form {
    align-items: stretch;
    flex-direction: column;
  }
  .footer-newsletter-form button {
    width: 100%;
  }
  .footer-payments {
    width: 100%;
  }
  .homepage-filter-bar {
    margin-bottom: 14px;
  }
  .homepage-display-controls {
    justify-content: space-between;
    gap: 8px;
  }
  .homepage-show-control {
    padding: 10px 12px;
  }
  .homepage-view-btn {
    width: 40px;
    height: 40px;
  }
  .homepage-infinite-status {
    width: 100%;
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.85rem;
  }
  .products-grid.homepage-products-view-dense,
  .products-grid.homepage-products-view-grid { grid-template-columns: 1fr; }
  .products-grid.homepage-products-view-list .product-card {
    grid-template-columns: 1fr;
  }
  .products-grid.homepage-products-view-list .product-card-image {
    min-height: 220px;
  }
  .product-subcategories-grid { grid-template-columns: 1fr; }
  .subcategory-topbar { grid-template-columns: 1fr; }
  .subcategory-sort-box,
  .subcategory-show-box {
    width: 100%;
  }
  .subcategory-sort-box select,
  .subcategory-show-box select {
    width: 100%;
    min-width: 0;
  }
  .subcategory-product-grid { grid-template-columns: 1fr; }
  .trust-items { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .corporate-page-hero {
    min-height: 190px;
    padding-top: 68px;
    padding-bottom: 20px;
  }
  .corporate-page-hero.corporate-page-hero--compact {
    min-height: 165px;
    padding-top: 56px;
    padding-bottom: 14px;
  }
  .corporate-page-hero .breadcrumb {
    width: 100%;
    justify-content: center;
    margin-bottom: 10px;
  }
  .about-story-stats,
  .about-values-grid,
  .quick-links-grid {
    grid-template-columns: 1fr;
  }
  .about-story-image img {
    aspect-ratio: 1 / 0.9;
  }
  .about-value-card,
  .quick-link-card,
  .about-feature-card,
  .contact-item {
    padding: 20px;
  }
  .cta-buttons {
    align-items: stretch;
    flex-direction: column;
  }
  .cta-buttons .btn {
    width: 100%;
  }
  .captcha-row {
    align-items: stretch;
    flex-direction: column;
  }
  .captcha-row input {
    max-width: none;
  }
  .font-library-grid { grid-template-columns: 1fr; }
  .font-library-header h2 {
    font-size: 1.55rem;
  }
  .font-library-card {
    padding: 4px 0 8px;
    min-height: 164px;
  }
  .font-library-image-trigger,
  .font-library-image,
  .font-library-image-fallback {
    width: 100%;
    height: 96px;
    border-radius: 14px;
  }
  .font-library-download {
    min-width: 90px;
    width: auto;
  }
  .font-preview-dialog {
    padding: 14px;
  }
  .font-empty-state {
    padding: 36px 22px;
  }
  .hero-title { font-size: 1.7rem; }
  .hero-buttons { flex-direction: column; }
  .product-actions { flex-direction: column; }
  .product-detail-quick-actions {
    grid-template-columns: 1fr;
  }
  .product-detail-quick-action-btn {
    justify-content: center;
    width: 100%;
  }
  .product-share {
    margin-top: -2px;
    align-items: center;
  }
  .product-share-list {
    gap: 10px;
  }
  .product-share-btn {
    width: 54px;
    min-width: 54px;
    height: 50px;
  }
  .product-share-btn svg {
    width: 28px;
    height: 28px;
  }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--gray-400); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* ===== STARK MENU STYLE HEADER / FOOTER OVERRIDES ===== */
:root {
  --fixed-header-offset: 118px;
  --menu-font: var(--font-heading);
}

html {
  scroll-padding-top: var(--fixed-header-offset);
}

body > main {
  padding-top: var(--fixed-header-offset);
}

body > header#header {
  --menu-black: #0a0a0a;
  --menu-dark: #141414;
  --menu-grey: #2a2a2a;
  --menu-text: #f5f5f5;
  --menu-muted: #b8b8b8;
  --menu-burgundy: #c9a968;
  --menu-burgundy-light: #f6e8c5;
  --menu-gold: #d4af37;
  --menu-transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  padding: 20px 60px;
  background: rgba(10, 10, 10, 0.7);
  border-bottom: 2px solid rgba(201, 169, 104, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: none;
  transition: var(--menu-transition);
}

body > header#header.scrolled {
  padding: 15px 60px;
  background: rgba(10, 10, 10, 0.95);
  border-bottom-color: rgba(201, 169, 104, 0.68);
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
}

body > header#header .nav-container {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1760px;
  margin: 0 auto;
  position: relative;
}

body > header#header .logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin: 0 clamp(42px, 4vw, 72px);
  position: relative;
  z-index: 1001;
}

body > header#header .logo-img {
  width: auto;
  height: 78px;
  filter: brightness(1.45) drop-shadow(0 0 8px rgba(212, 175, 55, 0.35));
  transition: var(--menu-transition);
}

body > header#header.scrolled .logo-img {
  height: 62px;
}

body > header#header .nav-links {
  display: flex;
  align-items: center;
  gap: clamp(24px, 2vw, 38px);
  flex: 1;
}

body > header#header .nav-left {
  justify-content: flex-end;
  padding-right: 4px;
}

body > header#header .nav-right-wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 15px;
  flex: 1;
}

body > header#header .nav-right {
  justify-content: flex-start;
  flex-shrink: 0;
  padding-left: 4px;
}

body > header#header .nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 0;
  padding: 8px 14px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--menu-font);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  line-height: 1.3;
  text-transform: uppercase;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  white-space: nowrap;
  transition: var(--menu-transition);
}

body > header#header .nav-link::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: 0;
  left: 14px;
  height: 2px;
  background: linear-gradient(90deg, #8a6a2e 0%, #c9a968 48%, #f6e8c5 100%);
  opacity: 0;
  transform: scaleX(0);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

body > header#header .nav-link:hover,
body > header#header .nav-link.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

body > header#header .nav-link:hover::after,
body > header#header .nav-link.active::after {
  opacity: 1;
  transform: scaleX(1);
}

body > header#header .nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  position: relative;
  z-index: 1001;
}

body > header#header .search-toggle-btn,
body > header#header .cart-icon-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--menu-muted);
  font-size: 16px;
  transition: var(--menu-transition);
}

body > header#header .search-toggle-btn:hover,
body > header#header .cart-icon-link:hover {
  color: var(--menu-gold);
  transform: scale(1.1);
}

body > header#header .cart-badge {
  position: absolute;
  top: 0;
  right: -2px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  width: auto;
  height: 18px;
  padding: 0 5px;
  border: 2px solid var(--menu-black);
  border-radius: 999px;
  background: var(--menu-burgundy);
  color: #fff;
  font-family: var(--menu-font);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}

body > header#header .cart-badge[hidden] {
  display: none !important;
}

body > header#header .auth-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-family: var(--menu-font);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: var(--menu-transition);
}

body > header#header .auth-btn:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.2);
}

body > header#header .lang-switcher,
body > header#header .nav-item-dropdown {
  position: relative;
  z-index: 1002;
  flex-shrink: 0;
}

body > header#header .lang-switcher-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--menu-font);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: var(--transition);
}

body > header#header .lang-switcher-btn:hover {
  border-color: var(--menu-burgundy);
  background: rgba(114, 47, 55, 0.15);
}

body > header#header .lang-switcher-btn .fa-globe,
body > header#header .lang-option .fa-check {
  color: var(--menu-gold);
}

body > header#header .lang-arrow,
body > header#header .dropdown-arrow {
  font-size: 0.6rem;
  transition: transform 0.3s ease;
}

body > header#header .lang-switcher.open .lang-arrow,
body > header#header .nav-item-dropdown.active .dropdown-arrow {
  transform: rotate(180deg);
}

body > header#header .lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  z-index: 2000;
  width: 220px;
  max-width: calc(100vw - 32px);
  padding: 6px;
  border: 1px solid rgba(114, 47, 55, 0.3);
  border-radius: var(--radius-md);
  background: rgba(20, 20, 20, 0.95);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -8px);
  transition: all 0.25s ease;
}

body > header#header .lang-switcher.open .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

body > header#header .lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 14px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--menu-font);
  font-size: 0.85rem;
  font-weight: 500;
}

body > header#header .lang-option:hover,
body > header#header .lang-option.active {
  background: rgba(114, 47, 55, 0.25);
  color: #fff;
}

body > header#header .lang-flag {
  display: inline-flex;
  width: 22px;
  flex: 0 0 22px;
}

body > header#header .lang-flag img {
  width: 20px;
  height: 15px;
  border-radius: 2px;
  object-fit: cover;
}

body > header#header .lang-name {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
}

body > header#header .mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 9999;
  width: 720px;
  max-width: 90vw;
  margin-top: 0;
  padding-top: 15px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 16px;
  background: rgba(15, 15, 15, 0.98);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%);
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

body > header#header .mega-menu::before {
  content: "";
  position: absolute;
  top: -20px;
  right: 0;
  left: 0;
  height: 25px;
}

body > header#header .nav-item-dropdown:hover .mega-menu,
body > header#header .nav-item-dropdown:focus-within .mega-menu,
body > header#header .nav-item-dropdown.active .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body > header#header .mega-menu-categories {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding: 20px;
}

body > header#header .mega-category-title {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 10px 12px;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.84);
  font-family: var(--menu-font);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.2px;
  transition: var(--transition);
}

body > header#header .mega-category-title:hover,
body > header#header .mega-category-title.active {
  background: rgba(114, 47, 55, 0.25);
  color: #fff;
}

body > header#header .mega-category-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 10px;
  color: var(--menu-gold);
  background: rgba(255, 255, 255, 0.04);
  flex-shrink: 0;
}

body > header#header .mega-arrow {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.72rem;
}

body > header#header .mega-menu-footer {
  display: flex;
  justify-content: center;
  padding: 14px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

body > header#header .mega-view-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--menu-gold);
  font-family: var(--menu-font);
  font-size: 0.86rem;
  font-weight: 700;
}

body > header#header .mobile-menu-btn {
  display: none;
  position: relative;
  z-index: 1002;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 10px;
}

body > header#header .mobile-menu-btn span {
  position: absolute;
  display: block;
  width: 24px;
  height: 2px;
  background: var(--menu-text);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

body > header#header .mobile-menu-btn span:nth-child(1) { top: 13px; }
body > header#header .mobile-menu-btn span:nth-child(2) { top: 21px; }
body > header#header .mobile-menu-btn span:nth-child(3) { top: 29px; }
body > header#header .mobile-menu-btn.active span:nth-child(1) { top: 21px; transform: rotate(45deg); }
body > header#header .mobile-menu-btn.active span:nth-child(2) { opacity: 0; transform: translateX(-20px); }
body > header#header .mobile-menu-btn.active span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

body > header#header .mobile-right-links {
  display: none;
}

.search-overlay {
  --menu-gold: #d4af37;
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding-top: 15vh;
  background: rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-overlay.active {
  display: flex;
  opacity: 1;
  visibility: visible;
}

.search-overlay-inner {
  position: relative;
  width: 90%;
  max-width: 640px;
  transform: translateY(-30px) scale(0.97);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-overlay.active .search-overlay-inner {
  transform: translateY(0) scale(1);
}

.search-close {
  position: absolute;
  top: -60px;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  background: #2a2a2a;
  color: #b8b8b8;
  font-size: 22px;
  line-height: 1;
  transition: var(--transition);
}

.search-close:hover {
  background: #722f37;
  color: #fff;
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid #2a2a2a;
  border-radius: 20px;
  background: rgba(30, 30, 30, 0.95);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
}

.search-box:focus-within {
  border-color: rgba(114, 47, 55, 0.5);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6), 0 0 0 3px rgba(114, 47, 55, 0.15);
}

.search-box-icon {
  position: absolute;
  left: 22px;
  color: #888;
  font-size: 17px;
}

.search-box input {
  width: 100%;
  padding: 18px 24px 18px 54px;
  border: 0;
  outline: none;
  background: transparent;
  color: #f5f5f5;
  font-family: var(--menu-font);
  font-size: 16px;
}

.search-box input::placeholder {
  color: #888;
}

.search-results {
  display: none;
  width: 100%;
  max-height: min(62vh, 540px);
  margin-top: 14px;
  overflow-y: auto;
  border: 1px solid rgba(114, 47, 55, 0.28);
  border-radius: 16px;
  background: rgba(20, 20, 20, 0.97);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.48);
}

.search-results.active {
  display: block;
}

.search-results-section {
  padding: 10px;
}

.search-results-section + .search-results-section {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.search-results-title {
  padding: 5px 8px 9px;
  color: var(--menu-gold);
  font-family: var(--menu-font);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.search-result-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 64px;
  padding: 8px;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.9);
}

.search-result-item:hover {
  background: rgba(114, 47, 55, 0.22);
  color: #fff;
}

.search-result-image,
.search-result-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  overflow: hidden;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--menu-gold);
  flex-shrink: 0;
}

.search-result-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.search-result-text {
  min-width: 0;
}

.search-result-text strong,
.search-result-text small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-result-text strong {
  color: #fff;
  font-size: 0.92rem;
  line-height: 1.35;
}

.search-result-text small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.76rem;
  line-height: 1.3;
}

.search-result-price {
  color: var(--menu-gold);
  font-size: 0.86rem;
  font-weight: 700;
  white-space: nowrap;
}

.search-results-empty {
  padding: 18px;
  color: rgba(255, 255, 255, 0.68);
  text-align: center;
}

.search-all-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin: 0 10px 10px;
  border-radius: 12px;
  background: rgba(114, 47, 55, 0.28);
  color: #fff;
  font-weight: 700;
}

.search-all-link:hover {
  background: rgba(114, 47, 55, 0.48);
}

.stark-menu-footer {
  --menu-black: #130f08;
  --menu-dark: #241d12;
  --menu-grey: #3a2f1f;
  --menu-text: #f5f5f5;
  --menu-muted: #b8b8b8;
  --menu-burgundy: var(--gold);
  --menu-burgundy-light: var(--gold-light);
  --footer-gold-dark: #8a6a2e;
  --footer-gold: #c9a968;
  --footer-cream: #f6e8c5;
  position: relative;
  overflow: hidden;
  padding: 80px 60px 30px;
  border-top: 1px solid rgba(201, 169, 104, 0.28);
  background:
    radial-gradient(980px 420px at 18% -45px, rgba(246, 232, 197, 0.24), transparent 70%),
    radial-gradient(920px 360px at 82% 8%, rgba(201, 169, 104, 0.24), transparent 66%),
    radial-gradient(1200px 360px at 50% 100%, rgba(201, 169, 104, 0.2), transparent 72%),
    linear-gradient(180deg, #21190c 0%, #191207 34%, #231806 68%, #151006 100%);
  color: var(--menu-text);
  font-family: "Montserrat", var(--font-body);
}

.stark-menu-footer::before,
.stark-menu-footer::after {
  content: "";
  position: absolute;
  left: -8%;
  right: -8%;
  pointer-events: none;
}

.stark-menu-footer::before {
  top: 0;
  height: 250px;
  background:
    radial-gradient(62% 145px at 22% 0, rgba(246, 232, 197, 0.26), transparent 74%),
    radial-gradient(50% 160px at 72% 14px, rgba(201, 169, 104, 0.26), transparent 76%),
    linear-gradient(180deg, rgba(201, 169, 104, 0.16), transparent 78%);
  clip-path: polygon(0 0, 100% 0, 100% 52%, 86% 62%, 68% 53%, 50% 68%, 32% 55%, 14% 65%, 0 54%);
  opacity: 0.9;
}

.stark-menu-footer::after {
  bottom: 0;
  height: 250px;
  background:
    linear-gradient(90deg, transparent 0%, rgba(201, 169, 104, 0.15) 18%, rgba(246, 232, 197, 0.2) 50%, rgba(138, 106, 46, 0.16) 78%, transparent 100%),
    linear-gradient(180deg, transparent 0%, rgba(201, 169, 104, 0.12) 56%, rgba(246, 232, 197, 0.14) 100%);
  clip-path: polygon(0 46%, 12% 38%, 27% 48%, 42% 34%, 58% 49%, 74% 36%, 88% 46%, 100% 36%, 100% 100%, 0 100%);
}

.stark-menu-footer .footer-container {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
}

.stark-menu-footer .footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 50px;
}

.stark-menu-footer .footer-brand {
  text-align: center;
}

.stark-menu-footer .footer-brand .logo {
  display: flex;
  justify-content: center;
  margin: 0 0 10px;
}

.stark-menu-footer .footer-logo-img {
  display: block;
  width: auto;
  height: 150px;
  margin: 0 auto 10px;
  object-fit: contain;
  filter: brightness(1.45) drop-shadow(0 0 6px rgba(212, 175, 55, 0.3));
}

.stark-menu-footer .footer-brand p,
.stark-menu-footer .footer-newsletter-text {
  margin: 0 0 25px;
  color: var(--menu-muted);
  font-size: 0.9rem;
  line-height: 1.8;
  text-align: center;
}

.stark-menu-footer .footer-title {
  margin: 0 0 25px;
  color: var(--footer-cream);
  font-family: "Montserrat", var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.2;
}

.stark-menu-footer .footer-links {
  list-style: none;
}

.stark-menu-footer .footer-links li {
  margin-bottom: 12px;
}

.stark-menu-footer .footer-links a {
  display: inline-block;
  color: var(--menu-muted);
  font-size: 0.95rem;
  transition: var(--transition);
}

.stark-menu-footer .footer-links a:hover {
  color: var(--footer-cream);
  transform: translateX(5px);
}

.stark-menu-footer .footer-social {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.stark-menu-footer .social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border: 1px solid rgba(201, 169, 104, 0.22);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.82), rgba(52, 41, 19, 0.72));
  color: var(--footer-cream);
  transition: var(--transition);
}

.stark-menu-footer .social-link:hover {
  border-color: rgba(201, 169, 104, 0.62);
  background: linear-gradient(135deg, var(--footer-gold-dark) 0%, var(--footer-gold) 58%, var(--footer-cream) 100%);
  color: var(--menu-text);
}

.stark-menu-footer .newsletter-form {
  margin-top: 20px;
}

.stark-menu-footer .newsletter-form .form-group {
  display: flex;
  gap: 10px;
}

.stark-menu-footer .newsletter-form input {
  flex: 1;
  min-width: 0;
  padding: 12px 20px;
  border: 1px solid rgba(201, 169, 104, 0.22);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--menu-text);
}

.stark-menu-footer .newsletter-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  padding: 12px 20px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--footer-gold-dark) 0%, var(--footer-gold) 58%, var(--footer-cream) 100%);
  color: var(--menu-text);
  box-shadow: 0 12px 24px rgba(138, 106, 46, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.stark-menu-footer .footer-contact-row {
  margin-bottom: 30px;
  padding: 40px 0;
  border-top: 1px solid rgba(201, 169, 104, 0.24);
  border-bottom: 1px solid rgba(201, 169, 104, 0.24);
  background: linear-gradient(90deg, transparent 0%, rgba(201, 169, 104, 0.045) 24%, rgba(246, 232, 197, 0.055) 50%, rgba(201, 169, 104, 0.045) 76%, transparent 100%);
}

.stark-menu-footer .footer-contact-row .footer-title {
  margin-bottom: 30px;
  text-align: center;
}

.stark-menu-footer .footer-contact-grid {
  display: flex;
  justify-content: center;
  gap: 60px;
}

.stark-menu-footer .footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  min-width: 200px;
}

.stark-menu-footer .footer-contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(201, 169, 104, 0.42);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.82), rgba(52, 41, 19, 0.72));
  color: var(--footer-cream);
  flex-shrink: 0;
}

.stark-menu-footer .footer-contact-text h4 {
  margin: 0 0 5px;
  color: var(--menu-text);
  font-family: "Montserrat", var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
}

.stark-menu-footer .footer-contact-text p {
  margin: 0;
  color: var(--menu-muted);
  font-size: 0.9rem;
}

.stark-menu-footer .footer-contact-text a {
  color: var(--menu-muted);
}

.stark-menu-footer .footer-contact-text a:hover {
  color: var(--footer-cream);
}

.stark-menu-footer .footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-top: 30px;
  border-top: 1px solid rgba(201, 169, 104, 0.24);
}

.stark-menu-footer .footer-copyright,
.stark-menu-footer .footer-bottom-links a {
  color: var(--menu-muted);
  font-size: 0.9rem;
}

.stark-menu-footer .footer-copyright a,
.stark-menu-footer .footer-bottom-links a:hover {
  color: var(--footer-cream);
}

.stark-menu-footer .footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 30px;
}

.stark-menu-footer .footer-payment-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(201, 169, 104, 0.18);
}

.stark-menu-footer .footer-payment-band {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  width: min(100%, 520px);
  min-height: 52px;
  padding: 10px 16px;
  border-radius: 7px;
  border: 1px solid rgba(201, 169, 104, 0.28);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, #fbf6ea 100%);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.stark-menu-footer .footer-payment-band span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 3px 9px;
  border-radius: 6px;
  color: #111827;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.stark-menu-footer .footer-payment-band span:first-child {
  color: #2563eb;
  text-transform: none;
}

.stark-menu-footer .footer-payment-band span:nth-child(2) { color: #dc2626; }
.stark-menu-footer .footer-payment-band span:nth-child(3) { color: #1d4ed8; }
.stark-menu-footer .footer-payment-band span:nth-child(4) { color: #38bdf8; }
.stark-menu-footer .footer-payment-band span:nth-child(5) { color: #334155; }

@media (max-width: 1280px) {
  :root {
    --fixed-header-offset: 96px;
  }

  body > header#header {
    padding: 15px 30px;
  }

  body > header#header.scrolled {
    padding: 10px 30px;
  }

  body > header#header .nav-links {
    gap: 14px;
  }

  body > header#header .nav-link {
    padding: 8px 8px;
    font-size: 0.8rem;
    letter-spacing: 0.8px;
  }

  body > header#header .logo {
    margin: 0 26px;
  }

  body > header#header .logo-img {
    height: 66px;
  }
}

@media (max-width: 992px) {
  :root {
    --fixed-header-offset: 79px;
  }

  body > header#header,
  body > header#header.scrolled {
    padding: 12px 16px;
  }

  body > header#header .nav-container {
    width: 100%;
    justify-content: space-between;
  }

  body > header#header .logo {
    order: 1;
    margin: 0;
  }

  body > header#header .logo-img {
    height: 55px;
  }

  body > header#header.scrolled .logo-img {
    height: 45px;
  }

  body > header#header .nav-actions {
    order: 2;
    margin-left: auto;
  }

  body > header#header .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    width: 100%;
    height: 100vh;
    padding: 100px 30px 30px;
    overflow-y: auto;
    flex: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }

  body > header#header .nav-right {
    display: none;
  }

  body > header#header .nav-left.mobile-open {
    display: flex;
  }

  body > header#header .mobile-right-links {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  body > header#header .nav-link,
  body > header#header .lang-switcher {
    width: 100%;
  }

  body > header#header .nav-link {
    justify-content: flex-start;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    font-size: 1rem;
  }

  body > header#header .nav-link::after {
    right: 0;
    left: 0;
  }

  body > header#header .lang-switcher {
    margin-bottom: 18px;
  }

  body > header#header .lang-dropdown {
    position: static;
    width: 100%;
    max-width: none;
    margin-top: 10px;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }

  body > header#header .lang-switcher.open .lang-dropdown {
    display: block;
    transform: none;
  }

  body > header#header .mega-menu {
    position: static;
    width: 100%;
    max-width: 100%;
    max-height: 0;
    padding-top: 0;
    overflow: hidden;
    border-radius: 0;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    transition: max-height 0.3s ease;
  }

  body > header#header .nav-item-dropdown.active .mega-menu {
    max-height: 430px;
    overflow-y: auto;
  }

  body > header#header .mega-menu-categories {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  body > header#header .mobile-menu-btn {
    display: flex;
    order: 3;
  }

  body > header#header .auth-btn span {
    display: none;
  }

  body > header#header .auth-btn {
    width: 40px;
    padding: 0;
    justify-content: center;
  }

  .stark-menu-footer {
    padding: 60px 30px 90px;
  }

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

  .stark-menu-footer .footer-contact-grid {
    flex-wrap: wrap;
    gap: 30px;
  }

  .stark-menu-footer .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .stark-menu-footer .footer-bottom-links {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  body > header#header .search-toggle-btn,
  body > header#header .cart-icon-link,
  body > header#header .auth-btn {
    width: 36px;
    height: 36px;
  }

  .stark-menu-footer .footer-contact-grid {
    flex-direction: column;
    align-items: center;
    gap: 25px;
  }

  .stark-menu-footer .footer-contact-item {
    width: min(100%, 320px);
    min-width: 0;
  }

  .stark-menu-footer .newsletter-form .form-group {
    flex-direction: column;
  }

  .search-overlay {
    padding: 96px 16px 24px;
  }

  .search-overlay-inner {
    width: 100%;
  }

  .search-box input {
    padding-right: 18px;
    font-size: 15px;
  }

  .search-result-item {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .search-result-price {
    grid-column: 2;
    justify-self: start;
    margin-top: -6px;
  }
}
