/* =====================================================
   Vip Optika — Storefront CSS
   Design tokens live in tokens.css — edit values there.
   ===================================================== */

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--white);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =====================
   HEADER
   ===================== */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .container {
  display: flex;
  align-items: center;
  height: 64px;
  gap: 0;
}

.logo {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--green);
  letter-spacing: .01em;
  flex-shrink: 0;
  margin-right: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.site-nav a {
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 400;
  color: var(--text);
  transition: color .15s, background .15s;
  white-space: nowrap;
}

.site-nav a:hover, .site-nav a.active {
  color: var(--green);
  background: var(--cream);
}

.header-wa {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: 20px;
  padding: 8px 16px;
  border: 1.5px solid var(--green);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  color: var(--green);
  flex-shrink: 0;
  transition: background .15s, color .15s;
}

.header-wa:hover {
  background: var(--green);
  color: var(--white);
}

.header-wa svg { flex-shrink: 0; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--green);
  margin-left: auto;
  padding: 4px;
}

/* =====================
   HERO — split layout
   ===================== */
.hero {
  background: var(--cream);
  min-height: 480px;
  display: flex;
}

.hero-left {
  flex: 0 0 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 48px 64px 0;
  padding-left: calc((100vw - 1200px) / 2 + 20px);
  background: var(--cream);
}

.hero-left h1 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 700;
  color: var(--green);
  line-height: 1.2;
  margin-bottom: 28px;
  max-width: 400px;
}

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

.btn-hero-primary {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  padding: 13px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 15px;
  transition: background .15s;
}

.btn-hero-primary:hover { background: var(--green-mid); }

.btn-hero-outline {
  display: inline-block;
  background: transparent;
  color: var(--green);
  padding: 12px 28px;
  border-radius: 6px;
  border: 1.5px solid var(--green);
  font-weight: 500;
  font-size: 15px;
  transition: background .15s, color .15s;
}

.btn-hero-outline:hover { background: var(--green); color: var(--white); }

.hero-right {
  flex: 0 0 50%;
  position: relative;
  overflow: hidden;
  min-height: 420px;
}

.hero-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-right-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--green-mid) 0%, var(--green) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
}

/* =====================
   PAGE HERO
   ===================== */
.page-hero {
  background: var(--cream);
  padding: 24px 0 20px;
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(24px, 4vw, 36px);
  color: var(--green);
  margin-bottom: 10px;
}

.page-hero p { color: var(--text-muted); font-size: 16px; }

/* =====================
   CATEGORY CARDS
   ===================== */
.section-categories { padding: 48px 0; }

.category-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.category-card {
  border-radius: 10px;
  overflow: hidden;
  display: block;
  position: relative;
  transition: transform .2s, box-shadow .2s;
  background: var(--cream-dark);
}

.category-card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(0,0,0,.12); }

.category-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.category-card-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  background: var(--cream-dark);
}

.category-card-label {
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  background: var(--white);
}

/* =====================
   FEATURED PRODUCTS
   ===================== */
.section-featured {
  padding: 56px 0;
  background: var(--white);
  border-top: 1px solid var(--border);
}

.section-featured .section-heading {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 28px;
}

.product-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px 0;
}

/* Category page grid — 4 col */
.section-products { padding: 48px 0; }

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

/* =====================
   PRODUCT CARD (new minimal design)
   ===================== */
.product-card {
  background: var(--white);
  border-bottom: 1px dashed var(--border);
  padding: 0 10px 12px;
  overflow: hidden;
}

.product-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}


.product-card-img-wrap {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--cream);
}

.product-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}

.product-card:hover .product-card-img-wrap img { transform: scale(1.03); }

/* Lente Kontakti: white background + 20px space around the photo (like lentekontakti.al) */
.product-card--lente-kontakti .product-card-img-wrap {
  background: #fff;
  padding: 20px;
}

.product-card--lente-kontakti .product-card-img-wrap img { object-fit: contain; }

.product-card-no-img {
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  background: var(--cream-dark);
}

.product-card-footer {
  padding: 12px 14px 6px;
}

.product-card-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

.product-card-bottom {
  display: flex;
  flex-wrap: wrap; /* narrow cards (mobile): buttons drop below the price instead of overflowing */
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 14px 14px;
}

.product-card-price {
  font-size: 16px;
  font-weight: 700;
  color: var(--green);
  white-space: nowrap;
}

.product-card-cta {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

/* Card buttons — compact 2-button layout */
.btn-card {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 8px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity .2s;
  color: #fff;
  white-space: nowrap;
}

.btn-card--wa      { background: var(--wa); }
.btn-card--virtual { background: var(--green); }
.btn-card--cart    { background: var(--green); }

.btn-card:hover { opacity: .88; }

/* Product detail buttons — full-size 3-button group */
.product-detail-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.btn-detail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity .2s;
  color: #fff;
}

.btn-detail--wa      { background: var(--wa); }
.btn-detail--cart    { background: var(--green); }
.btn-detail--virtual { background: var(--green-mid); }

.btn-detail:hover { opacity: .88; }

/* =====================
   SERVICE TILES
   ===================== */
.section-services {
  padding: 0;
}

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

.service-tile {
  display: flex;
  align-items: stretch;
  min-height: 260px;
  background: var(--sage-bg);
  overflow: hidden;
}

.service-tile:first-child {
  border-right: 1px solid var(--border);
}

.service-tile-text {
  flex: 1;
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.service-tile-text h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--green);
}

.service-tile-text p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.btn-tile-outline {
  display: inline-block;
  padding: 10px 22px;
  border: 1.5px solid var(--green);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--green);
  width: fit-content;
  transition: background .15s, color .15s;
}

.btn-tile-outline:hover { background: var(--green); color: var(--white); }

.service-tile-img {
  flex: 0 0 220px;
  overflow: hidden;
}

.service-tile-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

.service-tile-img-placeholder {
  width: 100%;
  height: 100%;
  background: var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 52px;
}

/* =====================
   BUTTONS (global)
   ===================== */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--wa);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 15px;
  transition: background .15s;
}

.btn-whatsapp:hover { background: var(--wa-dark); }

.btn-secondary-pill {
  display: inline-block;
  background: transparent;
  color: var(--green);
  padding: 10px 22px;
  border-radius: 50px;
  border: 1.5px solid var(--green);
  font-weight: 500;
  font-size: 14px;
  transition: background .15s, color .15s;
}

.btn-secondary-pill:hover { background: var(--green); color: var(--white); }

/* =====================
   EMPTY STATE
   ===================== */
.empty-state {
  text-align: center;
  padding: 64px 0;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

/* =====================
   INFO PAGES
   ===================== */
.page-wrapper {
  padding: 56px 0 80px;
  background: var(--white);
}

.page-header {
  padding-bottom: 24px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.page-header h1 {
  font-family: var(--font-serif);
  font-size: var(--text-3xl);
  font-weight: var(--weight-bold);
  color: var(--green);
  line-height: var(--leading-tight);
}

.page-body {
  max-width: 760px;
}

.prose p { margin-bottom: 16px; line-height: var(--leading-loose); color: var(--text); }
.prose h2 { font-family: var(--font-serif); font-size: var(--text-xl); font-weight: var(--weight-semi); color: var(--green); margin: 32px 0 12px; }
.prose h3 { font-size: var(--text-lg); font-weight: var(--weight-semi); color: var(--text); margin: 24px 0 8px; }
.prose ul, .prose ol { margin: 0 0 16px 20px; }
.prose li { margin-bottom: 6px; line-height: var(--leading-normal); }
.prose strong { font-weight: var(--weight-semi); }
.prose a { color: var(--green); text-decoration: underline; }
.prose a:hover { color: var(--green-mid); }

/* =====================
   FOOTER — 4 columns
   ===================== */
.site-footer {
  background: var(--green);
  color: rgba(255,255,255,.85);
  padding: 56px 0 0;
  border-top: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.footer-col-heading {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.45);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links li {
  font-size: 14px;
  line-height: 1.4;
}

.footer-links a {
  color: rgba(255,255,255,.75);
  transition: color .15s;
}

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

.footer-links span { color: rgba(255,255,255,.75); }

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.footer-contact svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: rgba(255,255,255,.45);
}

.footer-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--wa);
  color: var(--white) !important;
  padding: 9px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  transition: background .15s;
}

.footer-wa-btn:hover { background: var(--wa-dark); }

.footer-social {
  display: flex;
  gap: 16px;
}
.footer-social-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(255,255,255,.65);
  text-decoration: none;
  transition: color .2s;
}
.footer-social-link:hover { color: #fff; }
.footer-social-link svg { flex-shrink: 0; }

.footer-bottom {
  padding: 20px 0;
  font-size: 12px;
  color: rgba(255,255,255,.35);
  text-align: center;
}

/* =====================
   PRODUCT DETAIL PAGE
   ===================== */
.product-detail-breadcrumb {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  background: var(--cream);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.breadcrumb a { color: var(--green); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb-sep { color: var(--border); }
.breadcrumb span:last-child { color: var(--text); font-weight: 500; }

.product-detail-section {
  padding: 56px 0 80px;
}

.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.product-detail-img-wrap {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
  aspect-ratio: 4/3;
}

.product-detail-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-detail-no-img {
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  background: var(--cream-dark);
  border-radius: 10px;
  border: 1px solid var(--border);
}

.product-detail-info-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.product-detail-category {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--green);
}

.product-detail-name {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
}

.product-detail-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--green);
  letter-spacing: -.01em;
}

.product-detail-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
  padding-top: 4px;
  border-top: 1px solid var(--border);
}

.product-detail-attrs {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.attrs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.attrs-table tr:not(:last-child) td {
  border-bottom: 1px solid var(--border);
}

.attrs-key {
  padding: 10px 14px;
  color: var(--text-muted);
  width: 45%;
  vertical-align: top;
}

.attrs-val {
  padding: 10px 14px;
  color: var(--text);
  font-weight: 500;
}

.product-detail-back {
  display: inline-block;
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  margin-top: 4px;
  transition: color .15s;
}

.product-detail-back:hover { color: var(--green); }

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 1024px) {
  .hero-left {
    padding-left: 20px;
  }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }

  .site-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 8px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,.1);
  }

  .site-nav.open { display: flex; }
  .site-nav a { border-radius: 0; padding: 12px 20px; font-size: 15px; }
  .header-wa { display: none; }
  .site-header { position: relative; }

  /* Hero stacks vertically */
  .hero { flex-direction: column; }
  .hero-left {
    padding: 40px 20px;
    flex: none;
  }
  .hero-left h1 { max-width: 100%; }
  .hero-right { flex: none; min-height: 260px; }

  .category-cards { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px 0; }
  .product-grid-3 { grid-template-columns: repeat(2, 1fr); gap: 12px 0; }

  .service-tiles { grid-template-columns: 1fr; }
  .service-tile:first-child { border-right: none; border-bottom: 1px solid var(--border); }
  .service-tile-img { flex: 0 0 140px; }

  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .product-detail-layout { grid-template-columns: 1fr; gap: 32px; }
  .product-detail-name { font-size: 1.5rem; }
}

@media (max-width: 480px) {
  .category-cards { grid-template-columns: 1fr; }
  .product-grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* =============================================================
   Filter Sidebar — Category pages with lentekontakti.al redirect
   ============================================================= */

/* Layout: sidebar + main */
.section-products--with-filters { padding: 32px 0 56px; }

.category-layout {
  display: grid;
  grid-template-columns: 252px 1fr;
  gap: 32px;
  align-items: start;
}

/* Category grid: 2 per row up to 1200px, 3 from 1201–1740px, 4 from 1741px */
.product-grid--3col {
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 1201px) {
  .product-grid--3col { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1741px) {
  .product-grid--3col { grid-template-columns: repeat(4, 1fr); }
}

/* ---- Sidebar ---- */
.filter-sidebar {
  position: sticky;
  top: 88px;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  font-family: var(--font-sans);
}

.filter-sidebar-inner { padding: 20px; }

.filter-sidebar-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.filter-sidebar-title {
  flex: 1;
  font-size: var(--text-sm);
  font-weight: var(--weight-semi);
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
}

.filter-clear-btn {
  background: none;
  border: none;
  font-size: var(--text-xs);
  color: var(--text-muted);
  cursor: pointer;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  transition: color .15s, background .15s;
}
.filter-clear-btn:hover { color: var(--danger); background: var(--error-bg); }

.filter-close-btn {
  display: none;
  background: none;
  border: none;
  font-size: 18px;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  padding: 2px 4px;
}

/* Active tags */
.filter-active-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.filter-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--green);
  color: var(--white);
  font-size: var(--text-xs);
  padding: 3px 8px 3px 10px;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
}

.filter-tag-remove {
  background: none;
  border: none;
  color: rgba(255,255,255,.7);
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  padding: 0;
  margin-left: 2px;
}
.filter-tag-remove:hover { color: var(--white); }

/* Groups */
.filter-group {
  border-bottom: 1px solid var(--border);
  padding: 4px 0;
}
.filter-group:last-of-type { border-bottom: none; }

.filter-group-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  padding: 10px 0;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: var(--weight-semi);
  color: var(--text);
  cursor: pointer;
  text-align: left;
}
.filter-group-toggle:hover { color: var(--green); }

.filter-chevron {
  flex-shrink: 0;
  transition: transform .2s;
  color: var(--text-muted);
}
.filter-group-toggle[aria-expanded="false"] .filter-chevron {
  transform: rotate(-90deg);
}

.filter-group-body {
  overflow: hidden;
  transition: max-height .25s ease;
}
.filter-group-toggle[aria-expanded="false"] + .filter-group-body {
  display: none;
}

/* Search within group */
.filter-search-wrap { margin-bottom: 8px; }

.filter-search {
  width: 100%;
  padding: 6px 10px;
  font-size: var(--text-sm);
  font-family: var(--font-sans);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--cream);
  color: var(--text);
  outline: none;
  box-sizing: border-box;
}
.filter-search:focus { border-color: var(--green); background: var(--white); }

/* Options */
.filter-options {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 10px;
  max-height: 220px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 6px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background .12s;
  font-size: var(--text-sm);
  color: var(--text);
  user-select: none;
}
.filter-option:hover { background: var(--cream); }
.filter-option:has(.filter-radio:checked) {
  background: var(--sage-bg);
  color: var(--green);
  font-weight: var(--weight-medium);
}

.filter-radio { display: none; }

.filter-option-icon { font-size: 15px; line-height: 1; }

.filter-option-shape { width: 40px; height: 17px; object-fit: contain; flex-shrink: 0; }
.filter-option-shape--gjinia { height: 26px; }

.filter-option-label { flex: 1; line-height: 1.3; }

.filter-option[hidden] { display: none; }

/* CTA */
.filter-cta {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.btn-filter-redirect {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 11px 16px;
  background: var(--green);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: var(--weight-semi);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: background .15s, transform .1s;
  box-sizing: border-box;
}
.btn-filter-redirect:hover { background: var(--green-mid); transform: translateY(-1px); }
.btn-filter-redirect:active { transform: translateY(0); }

.filter-cta-note {
  margin: 8px 0 0;
  text-align: center;
  font-size: var(--text-xs);
  color: var(--text-muted);
}

/* Empty state */
.filter-main-empty {
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  color: var(--text-muted);
}

.filter-main-empty-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 40px 24px;
  text-align: center;
}

.filter-main-empty-title {
  font-family: var(--font-sans);
  font-size: var(--text-md);
  font-weight: var(--weight-medium);
  color: var(--text);
  margin: 0;
}

.filter-main-empty-sub {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin: 0;
}

/* Mobile filter bar */
.filter-mobile-bar {
  display: none;
  position: sticky;
  top: 64px;
  z-index: 90;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 10px 16px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.filter-mobile-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 7px 14px;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--text);
  cursor: pointer;
  transition: background .15s;
}
.filter-mobile-toggle:hover { background: var(--cream-dark); }
.filter-mobile-toggle.is-active {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}

.badge {
  background: var(--green);
  color: var(--white);
  font-size: 10px;
  font-weight: var(--weight-bold);
  min-width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}
.filter-mobile-toggle.is-active .badge { background: var(--white); color: var(--green); }

.filter-mobile-redirect {
  flex: 1;
  font-size: var(--text-sm);
}

/* Overlay */
.filter-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 199;
  backdrop-filter: blur(2px);
}
.filter-overlay.is-open { display: block; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .category-layout { grid-template-columns: 220px 1fr; gap: 24px; }
  .product-grid--3col { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .filter-mobile-bar { display: flex; }
  .section-products--with-filters { padding: 16px 0 48px; }

  .category-layout {
    display: block;
  }

  .filter-main { margin-top: 0; }

  .filter-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(320px, 90vw);
    max-height: 100vh;
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    transform: translateX(-110%);
    transition: transform .28s cubic-bezier(.4,0,.2,1);
    z-index: 200;
    border: none;
    box-shadow: 4px 0 32px rgba(0,0,0,.18);
  }

  .filter-sidebar.is-open {
    transform: translateX(0);
  }

  .filter-close-btn { display: block; }

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


.category-gender-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(8px, 2vw, 20px);
    margin: 0 0 16px;
}

.category-gender-card {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: clamp(100px, 15vw, 200px);
    overflow: hidden;
    padding: clamp(10px, 3vw, 44px);
    border-radius: 8px;
    background: #1e3a2f;
    color: #fff;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(17px, 3.4vw, 44px);
    text-decoration: none;
}

.category-gender-card img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
}

.category-gender-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgb(12 37 27 / 90%), rgb(12 37 27 / 35%) 72%, transparent);
}

.category-gender-card:focus-visible {
    outline: 2px solid #1e3a2f;
    outline-offset: 3px;
}


/* Lens brand logos above the Lente Kontakti grid */
.category-brand-logos {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 20px;
}

.category-brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 84px;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: border-color .15s;
}

.category-brand-logo:hover { border-color: var(--green, #1E3A2F); }

.category-brand-logo img {
  max-width: 120px;
  max-height: 40px;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Very wide / square logos need their own size to look balanced */
.category-brand-logo--bausch-and-lomb { padding-left: 8px; padding-right: 8px; }
.category-brand-logo--bausch-and-lomb img { max-width: 243.75px; } /* 243.75px wide = 19.5px tall */
.category-brand-logo--carl-zeiss img { max-height: 54px; }

@media (max-width: 768px) {
  .category-brand-logos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .category-brand-logo { height: 64px; padding: 10px; }
  /* Very wide logo: take 2 columns so it stays readable (rows become 2 + 3) */
  .category-brand-logo--bausch-and-lomb { grid-column: span 2; }
}

/* Homepage eyewear brand logos: 2 rows of 7 on desktop */
.section-brands {
  padding: 8px 0 48px;
}

.section-brands .section-heading {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 24px;
}

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

.brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 88px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: border-color .15s;
}

.brand-logo:hover { border-color: var(--green); }

/* --logo-w comes from the controller so all logos cover a similar area */
.brand-logo img {
  width: var(--logo-w, 110px);
  max-width: 100%;
  height: auto;
  max-height: 100%; /* tall logos (Ray-Ban) never spill out of a short box */
  object-fit: contain;
}

@media (max-width: 1024px) {
  .brand-logo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .section-brands .section-heading { font-size: 22px; margin-bottom: 16px; }
  .brand-logo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .brand-logo { height: 64px; padding: 8px; }
  .brand-logo img { width: calc(var(--logo-w, 110px) * .7); }
}

/* Phones: 2 per row so the wide logos (Marc Jacobs, D&G, Beckham) get room to stay readable */
@media (max-width: 480px) {
  .brand-logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand-logo img { width: var(--logo-w, 110px); }
}

/* Homepage "Marka të përzgjedhura": 2 campaign banners side by side */
.section-brand-banners {
  padding: 8px 0 48px;
}

.section-brand-banners .section-heading {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 24px;
}

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

.brand-banner {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  text-decoration: none;
  color: var(--text);
  transition: border-color .15s;
}

.brand-banner:hover { border-color: var(--green); }

.brand-banner img {
  width: 100%;
  height: auto;
  aspect-ratio: 560 / 300;
  object-fit: cover;
  display: block;
}

.brand-banner-body {
  padding: 18px 20px 20px;
}

.brand-banner-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 6px;
}

.brand-banner-text {
  font-size: 15px;
  color: var(--text-muted);
  margin: 0 0 14px;
}

.brand-banner-cta {
  font-size: 14px;
  font-weight: 600;
  color: var(--green);
}

.brand-banner:hover .brand-banner-cta { text-decoration: underline; }

@media (max-width: 768px) {
  .section-brand-banners .section-heading { font-size: 22px; margin-bottom: 16px; }
  .brand-banners { grid-template-columns: 1fr; gap: 14px; }
  .brand-banner-title { font-size: 19px; }
}

/* Logo shown as icon + name (Essilor: only the icon is available) */
.brand-logo { gap: 10px; }
.brand-logo-text {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .01em;
  color: #0b4ea2; /* Essilor blue */
  white-space: nowrap;
}

@media (max-width: 768px) {
  .brand-logo { gap: 6px; }
  .brand-logo-text { font-size: 16px; }
}

/* =====================
   XHAMA — lens guide tables (/xhama)
   ===================== */
.section-lens-guide {
  padding: 8px 0 56px;
}

.lens-guide {
  width: 100%;
}

.lens-guide-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin: 0 0 16px;
  padding: 0 20px;
}

.lens-guide-block summary {
  cursor: pointer;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--green);
  padding: 16px 0;
  list-style-position: inside;
}

.lens-guide-intro {
  margin: 0 0 12px;
  font-size: 15px;
  color: var(--text-muted);
}

.lens-guide-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: var(--leading-snug);
  margin: 0 0 20px;
}

.lens-guide-table th {
  text-align: left;
  background: var(--green);
  color: var(--white);
  font-weight: var(--weight-semi);
  padding: 10px 12px;
}

.lens-guide-table th:first-child { width: 30%; }

.lens-guide-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.lens-guide-table tbody tr:nth-child(even) { background: var(--cream); }
.lens-guide-table tbody tr:last-child td { border-bottom: none; }
.lens-guide-table td.is-strong { font-weight: var(--weight-semi); color: var(--text); }

.lens-guide-note {
  font-size: 15px;
  color: var(--text-muted);
  margin-top: 8px;
}

.lens-guide-note a {
  color: var(--green);
  font-weight: var(--weight-semi);
  text-decoration: underline;
}

@media (max-width: 600px) {
  .lens-guide-block { padding: 0 12px; }
  .lens-guide-block summary { font-size: 18px; }
  .lens-guide-table { font-size: 14px; }
  .lens-guide-table th, .lens-guide-table td { padding: 8px; }
}

/* ============================================================
   XHAMA CATEGORY PAGE — product cards
   ============================================================ */
.xhama-brand-intro {
    padding: 2.5rem 0 2rem;
    border-bottom: 1px solid #e5e0d8;
}

.xhama-brand-essilor {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.xhama-brand-essilor-logo-wrap {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-shrink: 0;
}

.xhama-brand-essilor-icon {
    height: 40px;
    width: auto;
}

.xhama-brand-essilor-name {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: #1E3A2F;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.xhama-brand-essilor-desc {
    font-size: 15px;
    color: #555;
    line-height: 1.65;
    margin: 0;
    border-left: 2px solid #1E3A2F;
    padding-left: 1.25rem;
}

/* ── Xhama steps (Variant C, Essilor) ── */
.xhama-guide-bar {
    background: #EDF7FC;
    border-radius: 10px;
    padding: 1rem 1.25rem;
    margin-bottom: 2rem;
}
.xhama-guide-bar-heading {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 15px;
    font-weight: 400;
    color: #010E3D;
    margin-bottom: .75rem;
    padding-bottom: .75rem;
    border-bottom: 1px solid rgba(0,136,206,.15);
}
.xhama-steps {
    display: flex;
    align-items: stretch;
    gap: 6px;
}
.xhama-step {
    flex: 1;
    border-radius: 6px;
    padding: 10px 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    transition: background .25s;
}
.xhama-step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
    margin-top: 1px;
    transition: background .25s, color .25s;
}
.xhama-step-txt { display: flex; flex-direction: column; gap: 2px; }
.xhama-step-lbl { font-size: 12px; font-weight: 500; }
.xhama-step-sub { font-size: 10px; }

.xhama-step--done { background: rgba(1,14,61,.07); }
.xhama-step--done .xhama-step-num { background: #010E3D; color: #fff; }
.xhama-step--done .xhama-step-lbl { color: #010E3D; }
.xhama-step--done .xhama-step-sub { color: #0D52A0; }

.xhama-step--active { background: #0088CE; }
.xhama-step--active .xhama-step-num { background: rgba(255,255,255,.2); color: #fff; }
.xhama-step--active .xhama-step-lbl { color: #fff; }
.xhama-step--active .xhama-step-sub { color: rgba(255,255,255,.8); }

.xhama-step--pending { background: rgba(0,136,206,.06); }
.xhama-step--pending .xhama-step-num { background: transparent; color: #8BBDD4; border: 1.5px solid #BEE0F0; }
.xhama-step--pending .xhama-step-lbl { color: #8BBDD4; }
.xhama-step--pending .xhama-step-sub { color: #BEE0F0; }

@media (max-width: 600px) {
    .xhama-guide-bar { padding: 10px 12px; }
    .xhama-steps { gap: 4px; }
    .xhama-step  { padding: 8px 10px; gap: 8px; }
    .xhama-step-num { width: 24px; height: 24px; font-size: 11px; }
    .xhama-step-lbl { font-size: 11px; }
    .xhama-step-sub { font-size: 9px; }
}

.xhama-cta-bottom {
    padding: 2.5rem 0 3.5rem;
    text-align: center;
}

.xhama-cta-bottom-text {
    font-size: 16px;
    color: #555;
    margin: 0;
}

.xhama-wa-link {
    color: #25D366;
    font-weight: 500;
    text-decoration: none;
}

.xhama-wa-link:hover { text-decoration: underline; }

.xhama-products-section {
    padding: 2.5rem 0 3rem;
}

.xhama-products-group {
    margin-bottom: 2rem;
}

.xhama-group-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0.75rem;
}

.xhama-group-heading-text {
    display: flex;
    align-items: baseline;
    gap: 10px;
    white-space: nowrap;
}

.xhama-group-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #010E3D;
}

.xhama-group-subtitle {
    font-size: 12px;
    font-weight: 400;
    color: #5A6675;
    letter-spacing: 0;
    text-transform: none;
}

.xhama-group-line {
    flex: 1;
    height: 1px;
    background: #e5e0d8;
}

.xhama-products-grid {
    display: grid;
    gap: 10px;
}

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

.xhama-card {
    display: block;
    text-decoration: none;
    background: #EDF7FC;
    border: 1px solid #cce7f5;
    border-radius: 12px;
    padding: 1.1rem;
    transition: border-color 0.15s;
}

.xhama-card:hover { border-color: #0088CE; }

.xhama-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.xhama-card-category {
    font-family: 'Inter', sans-serif;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.09em;
    color: #0D52A0;
    text-transform: uppercase;
}

.xhama-price-indicator { font-size: 13px; letter-spacing: 1px; }
.xhama-price-indicator .active  { color: #0D52A0; }
.xhama-price-indicator .muted   { color: #0D52A0; opacity: 0.2; }

.xhama-card-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: #010E3D;
    margin-bottom: 0.2rem;
    font-family: 'Playfair Display', Georgia, serif;
    line-height: 1.2;
}

.xhama-card-desc {
    font-size: 12px;
    color: #5A6675;
    line-height: 1.4;
    margin-bottom: 0.6rem;
}

.xhama-card-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.xhama-card-benefits li {
    font-size: 11.5px;
    color: #3a4a5c;
    padding-left: 1.1em;
    position: relative;
    line-height: 1.4;
}

.xhama-card-benefits li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #0088CE;
    opacity: 0.6;
}

.xhama-card-footer-link {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
    margin-top: 10px;
    padding-top: 8px;
    border-top: 0.5px solid #cce7f5;
    font-size: 12px;
    font-weight: 500;
    color: #0D52A0;
}

.xhama-card:hover .xhama-card-footer-link {
    color: #0088CE;
}

@media (max-width: 768px) {
    .xhama-grid-3,
    .xhama-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .xhama-group-heading-text { white-space: normal; }
}

@media (max-width: 480px) {
    .xhama-grid-3,
    .xhama-grid-4 { grid-template-columns: 1fr; }
}

/* ============================================================
   XHAMA PRODUCT PAGE
   ============================================================ */
.xhama-breadcrumb {
    font-size: 12px;
    color: #999;
    margin: 1.5rem 0 1.25rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.xhama-breadcrumb a { color: #999; text-decoration: none; }
.xhama-breadcrumb a:hover { color: #1E3A2F; }

.xhama-product-hero {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
    align-items: start;
}

.xhama-product-image {
    background-color: #1E3A2F;
    background-size: cover;
    background-position: center center;
    border: none;
    border-radius: 12px;
    padding: 0;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    min-height: 200px;
    overflow: hidden;
    position: relative;
}
.xhama-product-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,24,18,0.85) 0%, rgba(10,24,18,0.5) 40%, rgba(10,24,18,0.15) 100%);
    pointer-events: none;
}

.xhama-product-image-inner {
    text-align: left;
    padding: 2rem 2.5rem;
    position: relative;
    z-index: 1;
    width: 100%;
}

.xhama-product-image-brand {
    display: block;
    font-size: 11px;
    color: rgba(255,255,255,0.5);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    font-family: 'Inter', sans-serif;
}

.xhama-product-image-name {
    display: block;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: #fff;
    font-family: 'Playfair Display', Georgia, serif;
    line-height: 1.1;
    margin-top: 0.5rem;
}

.xhama-product-brand-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 0.4rem;
}

.xhama-product-brand-logo {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.xhama-product-brand-name {
    font-size: 15px;
    font-weight: 500;
    color: #1a3a6e;
    font-family: 'Playfair Display', serif;
}

.xhama-product-brand-sep {
    color: #ccc;
    font-size: 13px;
}

.xhama-product-brand-cat {
    font-size: 11px;
    color: #5A6675;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.xhama-product-title {
    font-size: 28px;
    font-weight: 500;
    color: #1A1A1A;
    margin: 0 0 0.75rem;
    font-family: 'Playfair Display', Georgia, serif;
}

.xhama-product-desc {
    font-size: 14px;
    color: #555;
    line-height: 1.65;
    margin: 0 0 1rem;
}

.xhama-product-price-row {
    font-size: 13px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
}

.xhama-options-wrap {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2rem;
}

.xhama-options-title {
    font-size: 15px;
    font-weight: 500;
    color: #010E3D;
    margin: 0 0 0.3rem;
    font-family: inherit;
}

.xhama-options-hint {
    font-size: 13px;
    color: #888;
    margin: 0 0 1rem;
}

.xhama-option-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.xhama-option-btn {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #EDF7FC;
    border: 1px solid #cce7f5;
    border-radius: 10px;
    padding: 0.9rem 1rem;
    cursor: pointer;
    transition: border-color 0.15s;
}

.xhama-option-btn.selected { border: 2px solid #0D52A0; }
.xhama-option-btn:hover:not(.selected) { border-color: #0D52A0; }

.xhama-option-check {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 1.5px solid #cce7f5;
    flex-shrink: 0;
    margin-top: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, border-color 0.15s;
}

.xhama-option-btn.selected .xhama-option-check {
    background: #0D52A0;
    border-color: #0D52A0;
}

.xhama-option-body { flex: 1; min-width: 0; }

.xhama-option-name-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin-bottom: 2px;
}

.xhama-option-name {
    font-weight: 500;
    font-size: 13px;
    color: #010E3D;
}

.xhama-crizal-price { font-size: 11px; letter-spacing: 0.5px; }

.xhama-option-desc {
    font-size: 12px;
    color: #5A6675;
}

.xhama-option-ideal {
    font-size: 11px;
    color: #8aaac8;
    margin-top: 4px;
}

.xhama-option-ideal span {
    color: #0D52A0;
    font-weight: 600;
}

/* Index grid */
.xhama-index-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}

.xhama-index-btn {
    position: relative;
    background: #EDF7FC;
    border: 1px solid #cce7f5;
    border-radius: 10px;
    padding: 0.5rem 0.5rem;
    cursor: pointer;
    text-align: center;
    transition: border-color 0.15s;
}

.xhama-index-btn.selected { border: 2px solid #0D52A0; }
.xhama-index-btn:hover:not(.selected) { border-color: #0D52A0; }

.xhama-index-check {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1.5px solid #cce7f5;
    background: #EDF7FC;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, border-color 0.15s;
}
.xhama-index-btn.selected .xhama-index-check {
    background: #0D52A0;
    border-color: #0D52A0;
}

.xhama-lens-svg {
    display: block;
    margin: 0 auto 4px;
    width: 48px;
    height: 36px;
}

.xhama-index-val        { font-weight: 500; font-size: 14px; color: #010E3D; margin-bottom: 1px; }
.xhama-index-label      { font-size: 11px; color: #5A6675; margin-bottom: 2px; }
.xhama-index-range-name { font-size: 11px; font-weight: 500; color: #0D52A0; text-align: center; line-height: 1.3; margin-bottom: 3px; }
.xhama-index-range-num  { font-size: 9px; color: #8aaac8; font-weight: 400; }
.xhama-index-fit {
    font-size: 10px;
    color: #8aaac8;
    text-align: center;
    line-height: 1.4;
    border-top: 0.5px solid #cce7f5;
    padding-top: 5px;
    margin-top: 2px;
}
.xhama-index-fit span { color: #0D52A0; font-weight: 600; }

/* CTA box */
.xhama-cta-box {
    background: #EDF7FC;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.xhama-cta-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.xhama-cta-text strong {
    font-size: 13px;
    color: #010E3D;
    font-weight: 500;
}

.xhama-cta-text span {
    font-size: 12px;
    color: #010E3D;
    opacity: 0.7;
}

@media (max-width: 768px) {
    .xhama-product-hero { grid-template-columns: 1fr; }
    .xhama-option-grid  { grid-template-columns: 1fr; }
    .xhama-index-grid   { grid-template-columns: repeat(2, 1fr); }
    .xhama-cta-box      { flex-direction: column; align-items: flex-start; }
}

/* ── Vizita Optike — CTA box ── */
.section-service-cta { padding: 40px 0; background: var(--cream); }
.service-cta-box {
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}
.service-icon { font-size: 36px; line-height: 1; }
.service-cta-box h2 {
    font-family: var(--font-serif);
    font-size: 26px;
    color: var(--green);
    line-height: 1.2;
}
.service-cta-box p { font-size: 16px; color: var(--text-muted); }
.btn-whatsapp-lg { font-size: 16px; padding: 14px 28px; border-radius: 8px; }

/* ── Vizita Optike — Intro ── */
.section-vizita-intro {
    padding: 48px 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
}
.vizita-intro-wrap {
    display: flex;
    align-items: flex-start;
    gap: 64px;
}
.vizita-features-col { flex: 1; }
.vizita-heading {
    font-family: var(--font-serif);
    font-size: 22px;
    color: var(--green);
    margin-bottom: 20px;
}
.vizita-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.vizita-features li {
    padding-left: 20px;
    position: relative;
    font-size: 16px;
    line-height: 1.5;
}
.vizita-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: .6em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
}
.vizita-price-col { flex-shrink: 0; }
.vizita-price-box {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: var(--cream);
    border: 1.5px solid var(--green);
    border-radius: 12px;
    padding: 20px 28px;
    text-align: center;
    min-width: 210px;
}
.vizita-price-amount {
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 700;
    color: var(--green);
    line-height: 1;
}
.vizita-price-note {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ── Vizita Optike — Specialists ── */
.section-specialists {
    padding: 48px 0 64px;
    background: var(--cream);
}
.section-specialists .vizita-heading { margin-bottom: 28px; }
.specialists-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.specialist-card {
    background: var(--white);
    border-radius: 12px;
    border: 1px solid var(--border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.specialist-photo {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}
.specialist-photo-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: var(--cream-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}
.specialist-initials {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--green);
    color: var(--white);
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: .05em;
}
.specialist-photo-hint { font-size: 12px; color: var(--text-muted); letter-spacing: .02em; }
.specialist-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}
.specialist-meta {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}
.specialist-name {
    font-family: var(--font-serif);
    font-size: 20px;
    color: var(--green);
    line-height: 1.2;
}
.specialist-role {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .08em;
}
.specialist-bio { font-size: 15px; line-height: 1.65; }
.specialist-avail {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.4;
    padding-top: 12px;
    border-top: 1px solid var(--border);
    margin-top: auto;
}
.specialist-avail svg { flex-shrink: 0; margin-top: 1px; }

@media (max-width: 768px) {
    .vizita-intro-wrap { flex-direction: column; gap: 32px; }
    .vizita-price-box  { text-align: left; min-width: 0; width: 100%; }
    .specialists-grid  { grid-template-columns: 1fr; }
}
