/*
Theme Name: تاپ اپتیک
Theme URI: mailto:themamaad@gmail.com
Author: محمد شیردل
Author URI: mailto:themamaad@gmail.com
Description: Designed with bootstrap for woocommerce.
Version: 1.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: responsive, custom-design, rtl-language-support
Designed By: Mohamad Shirdel
Contact: 09998880661
E-Mail: themamaad@gmail.com
*/
:root {
  --font: "Yekan", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  --bg: #ffffff;
  --bg-soft: #f2f7fe;
  --bg-beige: #e1ecfb;
  --bg-dark: #2a3b66;
  --white: #fff;
  --black: #000;
  --ink: #0b2a6f;
  --ink-2: #2a3b66;
  --muted: #6b7a99;
  --line: #dce6f5;
  --accent: #f26b1d;
  --accent-soft: #fff0e6;
  --dark: #0a1d4d;
  --dark-2: #11296b;
  --danger: #b3261e;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --shadow: 0 8px 24px rgba(11, 42, 111, 0.07);
  --shadow-hover: 0 18px 40px rgba(0, 122, 255, 0.1);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --bottom-nav: 66px;
}

* { outline: 0 !important; box-shadow: none !important; -webkit-tap-highlight-color: transparent; }

html { overflow-x: clip; scroll-behavior: auto; }

@font-face { font-family: "Yekan"; src: url("fonts/YekanBakh-VF.woff2"); }

body {
  font-family: var(--font);
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--ink);
  background: var(--bg);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.is-locked { position: fixed; inset-inline: 0; width: 100%; overflow: hidden; }

a { color: inherit; text-decoration: none; transition: color 0.25s var(--ease), background-color 0.25s var(--ease), border-color 0.25s var(--ease); }
a:hover { color: var(--accent); }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4, h5, h6 { font-weight: 800; line-height: 1.55; color: var(--ink); }
p { margin-bottom: 0; }
ul { margin: 0; padding: 0; list-style: none; }
input, select, textarea { font-family: inherit; }
input[type="search"] { -webkit-appearance: none; appearance: none; }
i[class^="iconoir-"], i[class*=" iconoir-"] { display: inline-flex; line-height: 1; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.glasses { display: block; width: 100%; height: auto; }

.btn-ink, .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.7rem 1.4rem; border-radius: 999px; font-size: 0.8rem; font-weight: 600;
  border: 1px solid transparent;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn-ink { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-ink:hover { background: #2c2c2c; border-color: #2c2c2c; color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(18, 18, 18, 0.25); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }

.eyebrow { display: block; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.24em; color: var(--accent); margin-bottom: 0.3rem; }
.section { padding-top: 3.5rem; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.section-title { font-size: 1.45rem; margin: 0; }
.section-tools { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.link-more { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.85rem; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.link-more i { font-size: 1rem; transition: transform 0.25s var(--ease); }
.link-more:hover i { transform: translateX(-3px); }
.slider-arrows { display: none; gap: 0.4rem; }
.arrow-btn {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; color: var(--ink); display: grid; place-items: center; font-size: 1.1rem;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), opacity 0.25s var(--ease);
}
.arrow-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.arrow-btn:disabled { opacity: 0.3; pointer-events: none; }

.site-header { position: relative; z-index: 60; background: #fff; border-bottom: 1px solid var(--line); }
.header-top { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 1rem 0; }
.header-start { display: flex; align-items: center; gap: 2rem; flex: 1; min-width: 0; }
.logo { display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 800; font-size: 1.45rem; letter-spacing: 0.3em; color: var(--ink); line-height: 1; direction: ltr; flex-shrink: 0; flex-direction: row-reverse; }
.logo:hover { color: var(--ink); }
.logo-mark { width: 34px; height: 34px; border-radius: 10px; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 1.15rem; letter-spacing: 0; flex-shrink: 0; }
.search-box {
  display: flex; align-items: center; gap: 0.5rem; height: 46px; padding: 0 1rem;
  border-radius: 999px; background: var(--bg-soft); border: 1px solid transparent; width: 100%; max-width: 460px;
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.search-box:focus-within { background: #fff; border-color: var(--line); box-shadow: var(--shadow); }
.search-box i { font-size: 1.2rem; color: var(--muted); flex-shrink: 0; }
.search-box input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 0.88rem; color: var(--bg-dark); }
.search-box input::placeholder { color: var(--muted); }
.header-actions { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }
.action-link {
  position: relative; display: inline-flex; align-items: center; height: 44px; padding: 0 0.95rem;
  border-radius: 20px; border: 1px solid var(--line); background: #fff; color: var(--ink-2);
  font-size: 0.84rem; font-weight: 500;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.action-link:hover { background: var(--bg-soft); color: var(--ink); }
.action-link i { font-size: 1.25rem; }
.action-link span { display: inline-block; max-width: 0; overflow: hidden; white-space: nowrap; opacity: 0; transition: max-width 0.3s ease, opacity 0.3s ease; }
.action-link:hover span { max-width: 200px; opacity: 1; }
.action-link span.cart-badge { opacity: 1; font-size: 12px; }
.cart-badge {
  position: absolute; top: -6px; inset-inline-start: -4px; min-width: 20px; height: 20px;
  padding: 0 5px; border-radius: 999px; background: var(--accent); color: #fff;
  font-size: 0.66rem; font-weight: 700; display: grid; place-items: center; line-height: initial; border: 2px solid #fff;
}

.main-nav { position: relative; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line); }
.nav-list { display: flex; align-items: center; gap: 0.15rem; }
.nav-list > li { position: static; }
.nav-item { position: relative; display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.85rem 0.85rem; font-size: 0.9rem; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.nav-item i { font-size: 1rem; transition: transform 0.3s var(--ease); }
.nav-item::after { content: ""; position: absolute; bottom: -1px; inset-inline: 0.85rem; height: 2px; background: var(--ink); transform: scaleX(0); transform-origin: right center; transition: transform 0.3s var(--ease); }
.nav-list > li:hover > .nav-item::after, .nav-item.active::after { transform: scaleX(1); }
.nav-list > li:hover > .nav-item, .nav-item.active { color: var(--ink); }
.has-mega:hover .nav-item > i { transform: rotate(180deg); }
.nav-item.is-sale { color: var(--accent); }
.nav-item.is-sale::after { background: var(--accent); }
.nav-note { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.78rem; color: var(--muted); white-space: nowrap; }
.nav-note i { font-size: 1rem; color: var(--accent); }
.mega-menu {
  position: absolute; top: 100%; inset-inline: 0; z-index: 70;
  display: grid; grid-template-columns: repeat(3, 1fr) 1.25fr; gap: 2rem; padding: 2rem;
  background: #fff; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--r-lg) var(--r-lg);
  box-shadow: 0 30px 60px rgba(18, 18, 18, 0.08);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}
.has-mega:hover .mega-menu, .has-mega:focus-within .mega-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-col h4 { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 0.9rem; }
.mega-col ul { display: grid; gap: 0.45rem; }
.mega-col a { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.88rem; color: var(--ink-2); transition: color 0.25s var(--ease), padding 0.25s var(--ease); }
.mega-col a:hover { color: var(--ink); padding-inline-start: 0.25rem; }
.mega-promo { display: flex; flex-direction: column; gap: 0.4rem; padding: 1.5rem; border-radius: var(--r-md); background: var(--bg-soft); }
.mega-promo h5 { font-size: 1.05rem; margin: 0; }
.mega-promo p { font-size: 0.82rem; color: var(--muted); }
.mega-promo .glasses, .mega-promo .mega-img { max-width: 220px; margin: 0.75rem auto 0; }
.promo-cta { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.85rem; font-weight: 700; color: var(--ink); border-bottom: 1px solid currentColor; padding-bottom: 0.1rem; align-self: flex-start; }

.mobile-header { display: none; padding: 0.75rem 0; }
.mobile-row { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
.mobile-row + .mobile-row { margin-top: 0.75rem; }
.mobile-row .search-box { max-width: none; }
.icon-btn {
  width: 44px; height: 44px; border-radius: 14px; border: 1px solid var(--line);
  background: #fff; color: var(--ink); display: inline-grid; place-items: center; font-size: 1.35rem; flex-shrink: 0;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}
.icon-btn:hover { background: var(--bg-soft); }
.mobile-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; width: 100%; }
.mobile-action {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 0.4rem; height: 42px;
  border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink-2);
  font-size: 0.76rem; font-weight: 500; white-space: nowrap; min-width: 0;
}
.mobile-action i { font-size: 1.2rem; }

.overlay { position: fixed; inset: 0; z-index: 1090; background: rgba(18, 18, 18, 0.5); opacity: 0; visibility: hidden; transition: opacity 0.35s var(--ease), visibility 0.35s; }
.overlay.is-visible { opacity: 1; visibility: visible; }
.drawer { position: fixed; top: 0; bottom: 0; z-index: 1100; width: min(88%, 380px); height: 100vh; height: 100dvh; background: #fff; display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain; transition: transform 0.45s var(--ease); }
.drawer-right { right: 0; transform: translateX(100%); }
.drawer-left { left: 0; transform: translateX(-100%); }
.drawer.is-open { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); flex-shrink: 0; }
.drawer-head h3 { font-size: 1rem; margin: 0; }
.drawer-body { padding: 1.25rem; flex: 1; }
.drawer-foot { padding: 1rem 1.25rem calc(1rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fff; flex-shrink: 0; }
.side-links { display: grid; margin-top: 1.25rem; }
.side-links a { display: flex; align-items: center; justify-content: space-between; padding: 0.8rem 0.25rem; border-bottom: 1px solid var(--line); font-size: 0.95rem; font-weight: 500; color: var(--ink-2); }
.side-links a i { font-size: 1rem; color: var(--muted); }
.side-links a.active { color: var(--ink); font-weight: 700; }
.side-links a.is-sale { color: var(--accent); }
.side-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
.side-actions .mobile-action { flex-direction: column; height: auto; padding: 0.6rem 0.25rem; gap: 0.25rem; font-size: 0.72rem; }
.side-actions .mobile-action i { font-size: 1.3rem; }

.cart-items { display: grid; gap: 0.75rem; }
.cart-item { display: flex; align-items: center; gap: 0.75rem; padding: 0.65rem 0.8rem; border: 1px solid var(--line); border-radius: var(--r-sm); }
.cart-item-icon { border-radius: 12px; background: var(--bg-soft); color: var(--ink); display: grid; place-items: center; font-size: 1.3rem; flex-shrink: 0; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-info small { display: block; font-size: 0.66rem; letter-spacing: 0.12em; color: var(--muted); }
.cart-item-info strong { display: block; font-size: 0.88rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; width: 150px; }
.cart-item-info span { font-size: 0.78rem; color: var(--ink-2); }
.cart-remove { width: 32px; height: 32px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--muted); display: grid; place-items: center; font-size: 1rem; flex-shrink: 0; transition: color 0.25s var(--ease), border-color 0.25s var(--ease); }
.cart-remove:hover { color: var(--danger); border-color: var(--danger); }
.cart-empty { padding: 3rem 1rem; text-align: center; color: var(--muted); font-size: 0.9rem; }
.cart-empty i { display: flex; justify-content: center; font-size: 2.4rem; margin-bottom: 0.75rem; color: var(--ink); }
.cart-item-row .cart-qty { display: none; }
.cart-total { display: flex; align-items: center; justify-content: space-between; font-size: 0.9rem; margin-bottom: 0.75rem; }
.cart-total strong { font-size: 1rem; }

.bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; width: 100%; z-index: 1000; display: none;
  background: #fff; border-top: 1px solid var(--line); border-radius: 18px 18px 0 0;
  box-shadow: 0 -8px 24px rgba(18, 18, 18, 0.05);
  padding: 0.35rem 0.5rem calc(0.35rem + env(safe-area-inset-bottom));
}
.bottom-nav ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.bottom-nav a, .bottom-nav button {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.1rem; width: 100%; height: 54px; border: 0; background: transparent; color: var(--muted);
  font-size: 0.68rem; font-weight: 500; border-radius: 14px; transition: color 0.25s var(--ease);
}
.bottom-nav i { font-size: 1.45rem; transition: transform 0.3s var(--ease); }
.bottom-nav .active { color: var(--ink); font-weight: 700; }
.bottom-nav .active i { transform: translateY(-2px); }
.bottom-nav .active::before { content: ""; position: absolute; top: -0.35rem; width: 18px; height: 3px; border-radius: 0 0 4px 4px; background: var(--ink); }
.bottom-nav .cart-badge { top: 2px; inset-inline-start: calc(50% + 4px); }

.keen-slider { direction: ltr; }
.keen-slider__slide { direction: rtl; }
.slider-clip { overflow: hidden; margin: -12px -12px -36px; padding: 12px 12px 36px; }
.slider-clip .keen-slider, .slider-clip .keen-slider .keen-slider__slide { overflow: visible; }

.hero { padding-top: 1.25rem; }
.hero-slider { border-radius: var(--r-lg); }
.hero-slide { display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 2rem; min-height: 520px; height: 100%; padding: 3rem 4rem; }
.hero-content { max-width: 560px; }
.tone-light { background: var(--bg-beige); }
.tone-sand { background: #e4d6c3; }
.tone-dark { background: var(--dark); color: #fff; }
.tone-dark h1, .tone-dark h2 { color: #fff; }
.hero-eyebrow { display: inline-block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.3em; color: var(--accent); margin-bottom: 1rem; }
.tone-dark .hero-eyebrow { color: #cdb48f; }
.hero-title { font-size: clamp(1.75rem, 3.2vw, 3rem); font-weight: 800; line-height: 1.35; margin-bottom: 1rem; }
.hero-text { max-width: 440px; font-size: 0.95rem; color: var(--ink-2); margin-bottom: 1.75rem; }
.tone-dark .hero-text { color: rgba(255, 255, 255, 0.72); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.tone-dark .btn-ink { background: #fff; color: var(--ink); border-color: #fff; }
.tone-dark .btn-ink:hover { background: #ece6dc; border-color: #ece6dc; color: var(--ink); }
.tone-dark .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.tone-dark .btn-ghost:hover { border-color: #fff; color: #fff; }
.hero-visual { display: flex; align-items: center; justify-content: center; }
.hero-visual .glasses, .hero-visual .hero-img { max-width: 540px; filter: drop-shadow(0 30px 40px rgba(18, 18, 18, 0.18)); }
.tone-dark .hero-visual .glasses, .tone-dark .hero-visual .hero-img { filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.5)); }
.hero-dots { display: flex; justify-content: center; gap: 0.4rem; margin-top: 1rem; }
.hero-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: #d3cdc3; transition: width 0.3s var(--ease), background-color 0.3s var(--ease); }
.hero-dots button.active { width: 28px; background: var(--ink); }

.special { padding-top: 3rem; }
.special-inner { background: var(--dark); color: #fff; border-radius: var(--r-lg); padding: 2.5rem 2rem 2.25rem; }
.special-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; margin-bottom: 1.75rem; }
.special-head .eyebrow { color: #cdb48f; }
.special-head h2 { color: #fff; font-size: 1.6rem; margin: 0 0 0.25rem; }
.special-head p { font-size: 0.88rem; color: rgba(255, 255, 255, 0.65); max-width: 420px; }
.countdown-wrap { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.countdown-label { font-size: 0.78rem; color: rgba(255, 255, 255, 0.6); }
.countdown { display: flex; align-items: center; gap: 0.4rem; direction: ltr; }
.count-box { min-width: 62px; padding: 0.45rem 0.5rem; text-align: center; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 14px; }
.count-box b { display: block; font-size: 1.45rem; font-weight: 800; line-height: 1.3; font-variant-numeric: tabular-nums; }
.count-box span { font-size: 0.66rem; color: rgba(255, 255, 255, 0.55); }
.count-sep { font-size: 1.3rem; font-weight: 700; color: rgba(255, 255, 255, 0.4); padding-bottom: 1rem; }
.special-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; }
.special .arrow-btn { background: transparent; border-color: rgba(255, 255, 255, 0.2); color: #fff; }
.special .arrow-btn:hover { background: #fff; color: var(--ink); border-color: #fff; }
.special .link-more { color: rgba(255, 255, 255, 0.85); }
.special .link-more:hover { color: #fff; }

.product-card { position: relative; display: flex; flex-direction: column; min-width: 0; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease); }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: transparent; }
.product-media { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; padding: 1.25rem; background: var(--bg-soft); }
.product-link { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.product-media .glasses, .product-media .product-img { width: 82%; transition: transform 0.5s var(--ease); }
.product-card:hover .product-media .glasses, .product-card:hover .product-media .product-img { transform: scale(1.05); }
.badge-tag { position: absolute; top: 0.75rem; inset-inline-start: 0.75rem; z-index: 1; padding: 0.2rem 0.6rem; border-radius: 999px; background: var(--ink); color: #fff; font-size: 0.66rem; font-weight: 600; line-height: 1.7; white-space: nowrap; }
.badge-tag.is-sale { background: var(--accent); }
.badge-tag.is-light { background: #fff; color: var(--ink); }
.wish-btn { position: absolute; top: 0.6rem; inset-inline-end: 0.6rem; z-index: 1; width: 34px; height: 34px; border: 0; border-radius: 50%; background: #fff; color: var(--ink-2); display: grid; place-items: center; font-size: 1.05rem; box-shadow: var(--shadow); opacity: 0; transform: translateY(-4px); transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), color 0.25s var(--ease); }
.product-card:hover .wish-btn, .wish-btn.active { opacity: 1; transform: translateY(0); }
.wish-btn.active { color: var(--accent); }
@media (hover: none) { .wish-btn { opacity: 1; transform: none; } }
.product-body { display: flex; flex-direction: column; flex: 1; padding: 0.85rem 1rem 1rem; }
.product-brand { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.18em; color: var(--muted); }
.product-name { font-size: 0.92rem; font-weight: 600; line-height: 1.7; margin: 0.1rem 0 0; }
.product-name a { color: var(--ink); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.product-footer { display: flex; align-items: flex-end; justify-content: space-between; gap: 0.5rem; margin-top: auto; padding-top: 0.7rem; min-width: 0; }
.price-box { display: flex; flex-direction: column; min-width: 0; }
.price { font-size: 0.95rem; font-weight: 700; white-space: nowrap; }
.price small { font-size: 0.66rem; font-weight: 500; color: var(--muted); margin-inline-start: 0.2rem; }
.price-meta { display: flex; align-items: center; gap: 0.4rem; }
.old-price { font-size: 0.74rem; color: var(--muted); }
.discount { font-size: 0.64rem; font-weight: 700; color: var(--accent); background: var(--accent-soft); border-radius: 999px; padding: 0 0.4rem; line-height: 1.7; }
.add-btn { flex-shrink: 0; width: 38px; height: 38px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); display: grid; place-items: center; font-size: 1.2rem; transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease); }
.add-btn:hover, .add-btn.is-added { background: var(--ink); color: #fff; border-color: var(--ink); }
.product-card.is-dark { background: var(--dark-2); border-color: rgba(255, 255, 255, 0.08); }
.is-dark .product-media { background: #fff; }
.is-dark .product-name a, .is-dark .price { color: #fff; }
.is-dark .product-brand, .is-dark .old-price, .is-dark .price small { color: rgba(255, 255, 255, 0.5); }
.is-dark .add-btn { background: transparent; border-color: rgba(255, 255, 255, 0.18); color: #fff; }
.is-dark .add-btn:hover, .is-dark .add-btn.is-added { background: #fff; color: var(--ink); border-color: #fff; }
.is-dark .wish-btn { background: #333; color: #fff; box-shadow: none; }
.is-dark .discount { background: rgba(167, 129, 90, 0.2); color: #e2c69d; }

.promo-tile { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 230px; height: 100%; padding: 2rem; border-radius: var(--r-lg); overflow: hidden; background: var(--bg-soft); color: var(--ink); transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.promo-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); color: var(--ink); }
.promo-tile.is-dark { background: var(--dark); color: #fff; }
.promo-tile.is-dark:hover { color: #fff; }
.promo-tile.is-dark h3, .promo-tile.is-dark .promo-cta { color: #fff; }
.promo-tile h3 { font-size: 1.25rem; margin: 0.2rem 0 0.5rem; }
.promo-tile p { font-size: 0.85rem; color: var(--muted); max-width: 280px; margin-bottom: 1rem; }
.promo-tile.is-dark p { color: rgba(255, 255, 255, 0.65); }
.promo-tile .glasses, .promo-tile .promo-img { width: 42%; max-width: 240px; flex-shrink: 0; filter: drop-shadow(0 20px 24px rgba(18, 18, 18, 0.15)); }

.brand-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding: 1.75rem 0; margin-top: 3.5rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.brand-strip span { font-size: 1.1rem; font-weight: 700; letter-spacing: 0.3em; color: var(--ink); transition: color 0.25s var(--ease); background: #f7f5f1; display: block; text-align: center; }
.brand-strip .brand-logo:hover { background: var(--ink);}
.brand-strip .brand-logo:hover span {color:var(--white); }

.journal-card { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: #fff; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.journal-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.journal-media { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 9; padding: 1.5rem; background: var(--bg-soft); }
.journal-media.is-beige { background: var(--bg-beige); }
.journal-media.is-dark { background: var(--dark); }
.journal-media .glasses { width: 55%; max-width: 240px; }
.journal-body { padding: 1.1rem 1.25rem 1.25rem; }
.journal-body time { font-size: 0.72rem; color: var(--muted); }
.journal-body h3 { font-size: 1rem; margin: 0.35rem 0 0.4rem; }
.journal-body p { font-size: 0.84rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 0.75rem; }

.page-head { padding-top: 1.25rem; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; font-size: 0.78rem; color: var(--muted); margin-bottom: 1rem; }
.crumbs li { display: inline-flex; align-items: center; gap: 0.5rem; }
.crumbs li + li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: #cfc9c0; }
.crumbs a:hover { color: var(--ink); }
.crumbs li:last-child { color: var(--ink); font-weight: 500; }

.category-hero { display: grid; grid-template-columns: 1.2fr 0.8fr; align-items: center; gap: 2rem; padding: 2.5rem 3rem; border-radius: var(--r-lg); background: var(--bg-beige); overflow: hidden; }
.category-hero h1 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); margin: 0.25rem 0 0.75rem; }
.category-hero p { font-size: 0.92rem; color: var(--ink-2); max-width: 520px; }
.category-hero .glasses { max-width: 360px; margin: 0 auto; filter: drop-shadow(0 24px 30px rgba(18, 18, 18, 0.16)); }
.category-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.25rem; }
.category-tags a { padding: 0.35rem 0.9rem; border-radius: 999px; border: 1px solid rgba(18, 18, 18, 0.15); font-size: 0.8rem; font-weight: 500; color: var(--ink-2); background: rgba(255, 255, 255, 0.5); }
.category-tags a:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin: 1.75rem 0 1.25rem; }
.toolbar-count { font-size: 0.85rem; color: var(--muted); }
.toolbar-count b { color: var(--ink); }
.toolbar-tools { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.sort-wrap { position: relative; display: inline-flex; align-items: center; }
.sort-wrap > i { position: absolute; inset-inline-start: 0.9rem; pointer-events: none; font-size: 1rem; color: var(--muted); }
.sort-select { height: 42px; padding: 0 1rem; padding-inline-start: 2.4rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 0.84rem; color: var(--ink-2); outline: 0; appearance: none; -webkit-appearance: none; cursor: pointer; }
.sort-select:focus { border-color: var(--ink); }
.filter-toggle { display: none; align-items: center; gap: 0.4rem; height: 42px; padding: 0 1rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 0.84rem; font-weight: 600; color: var(--ink); }
.filter-toggle i { font-size: 1.1rem; }

.catalog { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 2rem; align-items: start; }
.filter-panel { position: sticky; top: 1rem; border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.25rem; background: #fff; }
.filter-panel .drawer-head { display: none; }
.filter-group + .filter-group { margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.filter-title { font-size: 0.88rem; font-weight: 700; margin-bottom: 0.7rem; }
.check { display: flex; align-items: center; gap: 0.55rem; padding: 0.25rem 0; font-size: 0.85rem; color: var(--ink-2); cursor: pointer; }
.check input { width: 17px; height: 17px; accent-color: var(--ink); margin: 0; flex-shrink: 0; }
.check span { flex: 1; }
.check small { font-size: 0.72rem; color: var(--muted); }
.swatches { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.swatch { width: 28px; height: 28px; padding: 0; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); cursor: pointer; transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease); }
.swatch:hover { transform: scale(1.08); }
.swatch.active { box-shadow: 0 0 0 2px var(--ink); }
input[type="range"].price-range { width: 100%; accent-color: var(--ink); margin: 0.4rem 0 0; }
.range-values { display: flex; justify-content: space-between; font-size: 0.78rem; color: var(--muted); margin-top: 0.35rem; }
.range-values b { color: var(--ink); }
.filter-actions { display: flex; gap: 0.5rem; margin-top: 1.25rem; }
.filter-actions .btn-ink, .filter-actions .btn-ghost { flex: 1; padding: 0.6rem 1rem; font-size: 0.85rem; }

.product-grid { display: grid; grid-template-columns: repeat(var(--grid-cols, 3), minmax(0, 1fr)); gap: 1.25rem; }
.pagination-bar { display: flex; justify-content: center; gap: 0.4rem; margin-top: 2.5rem; }
.page-btn { min-width: 40px; height: 40px; padding: 0 0.6rem; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink-2); display: inline-grid; place-items: center; font-size: 0.85rem; font-weight: 600; transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease); }
.page-btn:hover, .page-btn.active { background: var(--ink); color: #fff; border-color: var(--ink); }

.gallery { position: sticky; top: 1rem; }
.gallery-main { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; padding: 2rem; border-radius: var(--r-lg); background: var(--bg-soft); overflow: hidden; transition: background-color 0.45s var(--ease); }
.gallery-main.is-dark { background: var(--dark); }
.gallery-main .glasses { width: 84%; filter: drop-shadow(0 28px 32px rgba(18, 18, 18, 0.16)); transition: transform 0.55s var(--ease); }
.gallery-main .badge-tag { top: 1rem; inset-inline-start: 1rem; font-size: 0.72rem; padding: 0.3rem 0.75rem; }
.gallery-main .wish-btn { opacity: 1; transform: none; top: 1rem; inset-inline-end: 1rem; width: 40px; height: 40px; font-size: 1.2rem; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; margin-top: 0.75rem; }
.thumb { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; padding: 0.6rem; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--bg-soft); cursor: pointer; overflow: hidden; transition: border-color 0.25s var(--ease); }
.thumb.is-dark { background: var(--dark); }
.thumb .glasses { width: 80%; }
.thumb.active { border-color: var(--ink); }

.product-info .product-brand { font-size: 0.72rem; }
.product-title { font-size: clamp(1.4rem, 2.4vw, 2rem); margin: 0.25rem 0 0.6rem; }
.rating { display: flex; align-items: center; flex-wrap: wrap; gap: 0.6rem; font-size: 0.82rem; color: var(--muted); }
.stars { display: inline-flex; gap: 1px; color: var(--accent); font-size: 1rem; }
.rating b { color: var(--ink); font-size: 0.9rem; }
.rating a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line); }
.product-desc { font-size: 0.9rem; color: var(--ink-2); margin: 1.1rem 0 1.25rem; max-width: 520px; }
.price-block { display: flex; align-items: center; flex-wrap: wrap; gap: 0.75rem; padding: 1.1rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.price-now { font-size: 1.6rem; font-weight: 800; line-height: 1.3; }
.price-now small { font-size: 0.8rem; font-weight: 500; color: var(--muted); }
.price-block .old-price { font-size: 0.95rem; }
.price-block .discount { font-size: 0.78rem; padding: 0.15rem 0.6rem; background: var(--accent); color: #fff; }
.option-row { margin-top: 1.25rem; }
.option-label { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.6rem; }
.option-label span { font-weight: 400; color: var(--muted); }
.color-options { display: flex; gap: 0.6rem; }
.color-dot { width: 34px; height: 34px; padding: 0; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--line); cursor: pointer; transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease); }
.color-dot:hover { transform: scale(1.06); }
.color-dot.active { box-shadow: 0 0 0 2px var(--ink); }
.buy-row { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; margin-top: 1.5rem; }
.qty { display: inline-flex; align-items: center; height: 50px; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; flex-shrink: 0; }
.qty button { width: 46px; height: 100%; border: 0; background: transparent; color: var(--ink); font-size: 1.05rem; display: grid; place-items: center; transition: background-color 0.25s var(--ease); }
.qty button:hover { background: var(--bg-soft); }
.qty output { min-width: 38px; text-align: center; font-weight: 700; font-size: 0.95rem; }
.btn-cart { flex: 1; min-width: 200px; height: 50px; font-size: 0.95rem; }
.btn-cart.is-added { background: var(--accent); border-color: var(--accent); }
.benefits-inline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; margin-top: 1.5rem; }
.benefit-mini { display: flex; align-items: center; gap: 0.55rem; padding: 0.7rem 0.8rem; border: 1px solid var(--line); border-radius: var(--r-sm); font-size: 0.78rem; font-weight: 500; color: var(--ink-2); }
.benefit-mini i { font-size: 1.3rem; color: var(--accent); flex-shrink: 0; }

.tabs { margin-top: 3.5rem; }
.tabs-nav { display: flex; gap: 0.25rem; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs-nav::-webkit-scrollbar { display: none; }
.tab-btn { position: relative; flex-shrink: 0; padding: 0.85rem 1.1rem; border: 0; background: transparent; font-size: 0.92rem; font-weight: 600; color: var(--muted); transition: color 0.25s var(--ease); }
.tab-btn::after { content: ""; position: absolute; bottom: -1px; inset-inline: 0.5rem; height: 2px; background: var(--ink); transform: scaleX(0); transition: transform 0.3s var(--ease); }
.tab-btn.active { color: var(--ink); }
.tab-btn.active::after { transform: scaleX(1); }
.tab-pane { display: none; padding-top: 1.75rem; font-size: 0.9rem; color: var(--ink-2); }
.tab-pane.active { display: block; animation: fadeUp 0.45s var(--ease); }
.tab-pane p + p { margin-top: 0.75rem; }
.dots li { position: relative; padding-inline-start: 1rem; margin-bottom: 0.35rem; }
.dots li::before { content: ""; position: absolute; inset-inline-start: 0; top: 0.75em; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.spec-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.spec-table th { width: 34%; padding: 0.7rem 0; font-weight: 500; color: var(--muted); text-align: start; border-bottom: 1px solid var(--line); }
.spec-table td { padding: 0.7rem 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.review-summary { display: flex; align-items: center; gap: 1.25rem; padding: 1.25rem; border-radius: var(--r-md); background: var(--bg-soft); margin-bottom: 1rem; flex-wrap: wrap; }
.review-summary .big { font-size: 2.4rem; font-weight: 800; line-height: 1; color: var(--ink); }
.review { padding: 1.1rem 1.25rem; border: 1px solid var(--line); border-radius: var(--r-md); }
.review + .review { margin-top: 0.75rem; }
.review-head { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; margin-bottom: 0.5rem; flex-wrap: wrap; }
.review-head strong { font-size: 0.9rem; color: var(--ink); }
.review-head time { font-size: 0.74rem; color: var(--muted); }

@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.account-side { position: sticky; top: 1rem; padding: 1rem; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; }
.account-user { display: flex; align-items: center; gap: 0.75rem; padding: 0.5rem 0.5rem 1rem; margin-bottom: 0.5rem; border-bottom: 1px solid var(--line); }
.avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--bg-soft); color: var(--muted); display: grid; place-items: center; font-size: 1.4rem; flex-shrink: 0; }
.account-user strong { display: block; font-size: 0.92rem; }
.account-user span { font-size: 0.76rem; color: var(--muted); }
.account-menu { display: grid; gap: 0.15rem; }
.account-menu a { display: flex; align-items: center; gap: 0.7rem; padding: 0.7rem 0.8rem; border-radius: 12px; font-size: 0.9rem; font-weight: 500; color: var(--ink-2); }
.account-menu a i { font-size: 1.25rem; }
.account-menu a:hover, .account-menu a.active { background: var(--bg-soft); color: var(--ink); }
.account-menu a.logout { color: var(--danger); }
.account-menu a.logout:hover { background: #fbf0ef; color: var(--danger); }
.account-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.account-head h1 { font-size: 1.5rem; margin: 0; }
.status-pill { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.35rem 0.85rem; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 0.78rem; font-weight: 600; }
.status-pill i { font-size: 1rem; }
.login-card { max-width: 520px; padding: 2.5rem 2rem; border: 1px solid var(--line); border-radius: var(--r-lg); text-align: center; box-shadow: var(--shadow); background: #fff; }
.login-icon { width: 72px; height: 72px; margin: 0 auto 1.25rem; border-radius: 50%; background: var(--bg-soft); color: var(--ink); display: grid; place-items: center; font-size: 2rem; }
.login-card h2 { font-size: 1.25rem; margin-bottom: 0.4rem; }
.login-desc { font-size: 0.86rem; color: var(--muted); margin-bottom: 1.5rem; }
.form-field { text-align: start; margin-bottom: 0.9rem; }
.form-field label { display: block; font-size: 0.8rem; font-weight: 600; margin-bottom: 0.4rem; }
.form-input { width: 100%; height: 52px; padding: 0 1rem; border: 1px solid var(--line); border-radius: 14px; background: #fff; font-size: 1rem; letter-spacing: 0.06em; direction: ltr; text-align: center; outline: 0; transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.form-input:focus { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(18, 18, 18, 0.05); }
.form-input.is-invalid { border-color: var(--danger); }
.form-msg { min-height: 1.4rem; font-size: 0.78rem; margin-top: 0.5rem; color: var(--muted); }
.form-msg.is-error { color: var(--danger); }
.form-msg.is-success { color: #2e7d4f; }
.terms { font-size: 0.74rem; color: var(--muted); margin-top: 1rem; }
.terms a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.account-note { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; margin-top: 1.5rem; max-width: 520px; }
.note-box { padding: 1rem; border: 1px solid var(--line); border-radius: var(--r-md); text-align: center; font-size: 0.78rem; color: var(--ink-2); }
.note-box i { display: flex; justify-content: center; font-size: 1.5rem; margin-bottom: 0.4rem; color: var(--accent); }

.site-footer { margin-top: 4rem; background: var(--bg-soft); border-top: 1px solid var(--line); }
.footer-benefits-wrap { background: #fff; border-bottom: 1px solid var(--line); }
.footer-benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding: 1.75rem 0; }
.benefit-box { display: flex; align-items: center; gap: 0.85rem; min-width: 0; }
.benefit-icon { width: 52px; height: 52px; border-radius: 16px; background: var(--bg-soft); color: var(--ink); display: grid; place-items: center; font-size: 1.5rem; flex-shrink: 0; }
.benefit-box strong { display: block; font-size: 0.9rem; font-weight: 700; }
.benefit-box span { font-size: 0.76rem; color: var(--muted); }
.footer-main-wrap { padding: 3rem 0 2.5rem; }
.footer-main { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr 1.4fr; gap: 2rem; }
.footer-col { min-width: 0; }
.footer-col h4 { font-size: 0.95rem; margin-bottom: 1rem; }
.footer-col ul { display: grid; gap: 0.5rem; }
.footer-col ul a { font-size: 0.85rem; color: var(--ink-2); }
.footer-about p { font-size: 0.85rem; color: var(--muted); margin: 1rem 0 1.25rem; max-width: 320px; }
.social { display: flex; gap: 0.5rem; }
.social a { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); display: grid; place-items: center; font-size: 1.2rem; }
.social a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.contact-list li { display: flex; align-items: center; gap: 0.6rem; font-size: 0.85rem; color: var(--ink-2); }
.contact-list i { font-size: 1.2rem; color: var(--accent); flex-shrink: 0; }
.trust-badges { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem; margin-top: 1.1rem; }
.trust-badge { display: flex; flex-direction: column; align-items: center; gap: 0.3rem; padding: 0.7rem 0.5rem; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-size: 0.72rem; color: var(--muted); text-align: center; }
.trust-badge i { font-size: 1.5rem; color: var(--ink); }
.footer-wide-row { border-top: 1px solid var(--line); }
.footer-app { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.5rem 0; flex-wrap: wrap; }
.footer-app-info { display: flex; align-items: center; gap: 1rem; min-width: 0; }
.footer-app-info i { font-size: 2rem; color: var(--ink); flex-shrink: 0; }
.footer-app-info strong { display: block; font-size: 0.95rem; }
.footer-app-info span { font-size: 0.8rem; color: var(--muted); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem 1.5rem; padding: 1.25rem 0; font-size: 0.78rem; color: var(--muted); flex-wrap: wrap; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.footer-bottom a { color: var(--ink-2); }

@media (min-width: 992px) { .slider-arrows { display: flex; } }
@media (min-width: 1400px) { .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 1199.98px) {
  .hero-slide { padding: 2.5rem 3rem; min-height: 460px; }
  .nav-note { display: none; }
  .footer-main { grid-template-columns: repeat(4, 1fr); }
  .footer-about { grid-column: span 4; }
}
@media (max-width: 991.98px) {
  body { padding-bottom: calc(var(--bottom-nav) + env(safe-area-inset-bottom)); }
  .header-top, .main-nav { display: none; }
  .mobile-header, .bottom-nav { display: block; }
  .hero-slide { grid-template-columns: 1fr; min-height: 0; padding: 2rem 1.5rem 2.25rem; text-align: center; gap: 1rem; }
  .hero-visual { order: -1; }
  .hero-visual .glasses, .hero-visual .hero-img { max-width: 300px; }
  .hero-content { max-width: none; }
  .hero-text { margin-inline: auto; }
  .hero-cta { justify-content: center; }
  .section { padding-top: 2.5rem; }
  .special-inner { padding: 1.75rem 1.25rem 1.5rem; }
  .catalog { grid-template-columns: 1fr; }
  .filter-toggle { display: inline-flex; }
  .filter-panel { position: fixed; top: 0; bottom: 0; right: 0; z-index: 1100; width: min(88%, 380px); height: 100vh; height: 100dvh; border: 0; border-radius: 0; padding: 0; overflow-y: auto; overscroll-behavior: contain; transform: translateX(100%); transition: transform 0.45s var(--ease); }
  .filter-panel.is-open { transform: translateX(0); }
  .filter-panel .drawer-head { display: flex; }
  .filter-panel .filter-body { padding: 1.25rem 1.25rem calc(1.25rem + env(safe-area-inset-bottom)); }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
  .category-hero { grid-template-columns: 1fr; padding: 1.75rem 1.5rem; text-align: center; }
  .category-hero p { margin-inline: auto; }
  .category-tags { justify-content: center; }
  .category-hero .glasses { max-width: 240px; }
  .gallery { position: static; }
  .account-side { display: none; }
  .footer-benefits { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .footer-about, .footer-contact { grid-column: span 3; }
}
@media (max-width: 767.98px) {
  .footer-main { grid-template-columns: repeat(2, 1fr); }
  .footer-about, .footer-contact { grid-column: span 2; }
  .promo-tile { min-height: 0; padding: 1.5rem; }
  .brand-strip { justify-content: center; gap: 0.75rem 1.5rem; margin-top: 2.5rem; }
  .brand-strip span { font-size: 0.95rem; }
  .benefits-inline { grid-template-columns: 1fr; }
  .account-note { grid-template-columns: 1fr; }
  .tabs { margin-top: 2.5rem; }
}
@media (max-width: 575.98px) {
  .hero-title { font-size: 1.5rem; }
  .hero-slide { padding: 1.5rem 1.15rem 2rem; }
  .hero-visual .glasses, .hero-visual .hero-img { max-width: 240px; }
  .section-title { font-size: 1.2rem; }
  .product-body { padding: 0.7rem 0.75rem 0.8rem; }
  .price { font-size: 0.86rem; }
  .add-btn { width: 34px; height: 34px; border-radius: 10px; font-size: 1.05rem; }
  .count-box { min-width: 54px; padding: 0.35rem; }
  .count-box b { font-size: 1.2rem; }
  .special-head h2 { font-size: 1.3rem; }
  .footer-benefits { gap: 0.75rem; padding: 1.25rem 0; }
  .benefit-icon { width: 44px; height: 44px; font-size: 1.3rem; border-radius: 12px; }
  .benefit-box strong { font-size: 0.82rem; }
  .benefit-box span { font-size: 0.7rem; }
  .footer-app { justify-content: center; text-align: center; }
  .footer-app-info { flex-direction: column; text-align: center; }
  .footer-app .btn-ink { width: 100%; }
  .footer-bottom { justify-content: center; text-align: center; }
  .footer-bottom ul { justify-content: center; }
  .login-card { padding: 1.75rem 1.25rem; }
  .category-hero { padding: 1.5rem 1.15rem; }
  .toolbar-tools { width: 100%; justify-content: space-between; }
  .gallery-thumbs { gap: 0.5rem; }
  .price-now { font-size: 1.35rem; }
}
@media (max-width: 399.98px) {
  .price small { display: none; }
  .mobile-action { font-size: 0.7rem; gap: 0.3rem; }
  .logo { font-size: 1.25rem; }
  .footer-main { gap: 1.25rem 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

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

.cart-list { display: grid; gap: 0.75rem; }
.cart-row { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto auto; grid-template-areas: "thumb info qty total"; align-items: center; gap: 1rem; padding: 0.9rem 1rem; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; }
.cart-list, .cart-collaterals { transition: opacity 0.2s var(--ease); }
.cart-list.is-updating, .cart-collaterals.is-updating { opacity: 0.55; pointer-events: none; }
.woocommerce-cart-form .blockUI.blockOverlay, .cart-collaterals .blockUI.blockOverlay { background: transparent !important; opacity: 0 !important; }
.woocommerce-cart-form .blockUI.blockOverlay::before, .cart-collaterals .blockUI.blockOverlay::before { display: none !important; }
.wc-toasts { position: fixed; z-index: 1200; inset-inline: 0; bottom: 24px; display: grid; justify-items: center; gap: 0.5rem; padding-inline: 1rem; pointer-events: none; }
@media (max-width: 991.98px) { .wc-toasts { bottom: calc(var(--bottom-nav, 66px) + 12px); } }
.wc-toast { display: flex; align-items: center; gap: 0.65rem; width: min(100%, 440px); padding: 0.75rem 0.9rem; border-radius: var(--r-md); background: var(--dark); color: #fff; box-shadow: var(--shadow-hover); font-size: 0.86rem; line-height: 1.8; pointer-events: auto; opacity: 0; transform: translateY(12px); transition: opacity 0.25s var(--ease), transform 0.25s var(--ease); }
.wc-toast.is-in { opacity: 1; transform: none; }
.wc-toast-icon { flex: none; font-size: 1.3rem; }
.wc-toast.is-success .wc-toast-icon { color: #6fdc8c; }
.wc-toast.is-info .wc-toast-icon { color: #8fb8ff; }
.wc-toast.is-error .wc-toast-icon { color: #ff8a80; }
.wc-toast-body { flex: 1; min-width: 0; }
.wc-toast-body a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.wc-toast-body a.button, .wc-toast-body a.wc-forward { display: inline-block; margin-inline-start: 0.5rem; padding: 0.15rem 0.7rem; border-radius: 999px; background: rgba(255, 255, 255, 0.16); text-decoration: none; }
.wc-toast-close { flex: none; display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: rgba(255, 255, 255, 0.7); cursor: pointer; }
.wc-toast-close:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }
.woocommerce-notices-wrapper:empty { display: none; }
.cart-row-thumb { grid-area: thumb; }
.cart-row-info { grid-area: info; min-width: 0; }
.cart-row-qty { grid-area: qty; display: flex; align-items: center; gap: 0.5rem; }
.cart-row-total { grid-area: total; min-width: 110px; text-align: left; font-weight: 800; }
.cart-row-thumb img { display: block; width: 88px; height: 88px; object-fit: cover; border-radius: var(--r-sm); background: var(--bg-soft); }
.cart-row-name { font-weight: 700; font-size: 0.92rem; line-height: 1.8; }
.cart-row-name a { color: var(--ink); text-decoration: none; }
.cart-row-name dl.variation { margin: 0.25rem 0 0; font-size: 0.78rem; color: var(--muted); display: grid; grid-template-columns: auto 1fr; gap: 0 0.4rem; }
.cart-row-name dl.variation p { margin: 0; }
.cart-row-unit { margin-top: 0.15rem; font-size: 0.8rem; color: var(--muted); }
.backorder_notification { margin: 0.25rem 0 0; font-size: 0.78rem; color: var(--accent); }
.qty-stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 25px; background: #fff; overflow: hidden; }
.qty-stepper .quantity { margin: 0; }
.qty-stepper input.qty { height: 40px; padding: 0; border: none; background: transparent; text-align: center; font: inherit; font-weight: 700; -moz-appearance: textfield; appearance: textfield; }
.qty-stepper input.qty::-webkit-outer-spin-button, .qty-stepper input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-btn { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; background: transparent; color: var(--ink); font-size: 1.05rem; cursor: pointer; }
.qty-btn:hover { background: var(--bg-soft); }
.qty-btn .iconoir-trash { display: none; }
.qty-btn.is-remove { color: var(--danger); }
.qty-btn.is-remove .iconoir-trash { display: inline; }
.qty-btn.is-remove .iconoir-minus { display: none; }
.cart-row-remove { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; color: var(--danger); text-decoration: none; }
.cart-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem; margin-top: 1rem; }
.cart-actions .coupon { display: flex; gap: 0.5rem; flex: 1 1 280px; max-width: 420px; }
.cart-actions .coupon .input-text { flex: 1; min-width: 0; padding: 0.65rem 0.9rem; border: 1px solid var(--line); border-radius: var(--r-sm); font: inherit; }
@media (max-width: 640px) {
  .cart-row { grid-template-columns: 72px minmax(0, 1fr); grid-template-areas: "thumb info" "qty total"; gap: 0.75rem 0.9rem; padding: 0.8rem; }
  .cart-row-thumb img { width: 72px; height: 72px; }
  .cart-row-total { min-width: 0; }
}

.logo--image { letter-spacing: 0; }
.logo-img { display: block; width: auto; max-width: 180px; max-height: 44px; object-fit: contain; }
.drawer-head .logo-img, .site-footer .logo-img { max-height: 38px; }
.has-mega:hover .nav-item > i:not(.nav-arrow) { transform: none; }
.mega-col h4 a { display: inline; font-size: inherit; font-weight: inherit; letter-spacing: inherit; color: inherit; }
.mega-col h4 a:hover { color: var(--ink); padding: 0; }
.mega-col--plain ul { margin-top: 1.95rem; }
.mega-promo .mega-img { display: block; width: 100%; max-width: 220px; height: auto; margin: 0.75rem auto 0; object-fit: contain; }
.side-group { border-bottom: 1px solid var(--line); }
.side-group-head { display: flex; align-items: stretch; }
.side-group-head a { flex: 1; border-bottom: 0; }
.side-toggle { flex: 0 0 48px; display: grid; place-items: center; border: 0; background: transparent; color: var(--muted); font-size: 1.1rem; cursor: pointer; }
.side-toggle i { transition: transform 0.3s var(--ease); }
.side-group.is-open .side-toggle i { transform: rotate(180deg); }
.side-sub { display: grid; padding: 0 0.25rem 0.75rem; }
.side-sub[hidden] { display: none; }
.side-sub a { padding: 0.55rem 0.9rem 0.55rem 0.25rem; border-bottom: 0; font-size: 0.88rem; font-weight: 400; color: var(--ink-2); }
.side-sub a:hover { color: var(--ink); }
.side-sub-group { display: grid; margin-top: 0.4rem; }
.side-sub-title { padding: 0.5rem 0.25rem 0.2rem; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.06em; color: var(--muted); }
.side-sub-title a { padding: 0; font-size: inherit; font-weight: inherit; color: inherit; display: inline; }
.hero-visual .hero-img { display: block; width: 100%; max-width: 540px; max-height: 440px; height: auto; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(18, 18, 18, 0.18)); }
.tone-dark .hero-visual .hero-img { filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.5)); }
.hero-slide.no-image { grid-template-columns: 1fr; }
.hero-slide.no-image .hero-content { max-width: 680px; }
@media (max-width: 991.98px) {
  .hero-visual .hero-img { max-width: 300px; max-height: 260px; }
  .hero-slide.no-image .hero-content { margin-inline: auto; }
}
@media (max-width: 575.98px) {
  .hero-visual .hero-img { max-width: 240px; max-height: 210px; }
}
.product-media .product-img { display: block; width: 100%; height: 100%; max-height: 100%; object-fit: contain; transition: transform 0.5s var(--ease); }
.product-card:hover .product-media .product-img { transform: scale(1.05); }
.product-card .add-btn { text-decoration: none; }
.product-card .price small { margin-inline-start: 0.25rem; }
.promo-tile .promo-img { display: block; width: 42%; max-width: 240px; height: auto; max-height: 180px; object-fit: contain; flex-shrink: 0; filter: drop-shadow(0 20px 24px rgba(18, 18, 18, 0.15)); }
.brand-strip { display: block; }
.brand-strip .brand-slider { width: 100%; }
.brand-logo { display: flex; align-items: center; justify-content: center; height: 60px; padding: 0 0.5rem; color: var(--ink); }
.brand-logo .brand-img { display: block; width: auto; max-width: 100%; max-height: 44px; object-fit: contain; filter: grayscale(1); opacity: 0.6; transition: filter 0.25s var(--ease), opacity 0.25s var(--ease); }
.brand-logo:hover .brand-img { filter: none; opacity: 1; }
.brand-logo .brand-name { font-size: 1.1rem; font-weight: 700; letter-spacing: 0.3em; transition: color 0.25s var(--ease); }
.brand-logo:hover .brand-name { color: var(--ink); }
.journal-media { text-decoration: none; }
.journal-media.has-img { padding: 0; overflow: hidden; }
.journal-media.has-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.journal-media > i { font-size: 3rem; color: var(--ink); opacity: 0.8; }
.journal-media.is-dark > i { color: #fff; }
.journal-body h3 a { color: inherit; }
.footer-main { grid-template-columns: var(--footer-cols, 1.7fr 1fr 1fr 1fr 1.4fr); }
.footer-col .widget-title { font-size: 0.95rem; margin-bottom: 1rem; }
.footer-col .menu, .footer-col .product-categories { display: grid; gap: 0.5rem; padding: 0; margin: 0; list-style: none; }
.footer-col .product-categories ul { padding-inline-start: 0.9rem; margin-top: 0.4rem; list-style: none; }
.footer-col .count { margin-inline-start: 0.35rem; font-size: 0.75rem; color: var(--muted); }
.footer-col .sub-menu { display: grid; gap: 0.4rem; padding-inline-start: 0.9rem; margin-top: 0.4rem; list-style: none; }
.contact-list { display: grid; gap: 0.7rem; padding: 0; margin: 0; list-style: none; }
.contact-list a { color: inherit; }
.contact-list a:hover { color: var(--ink); }
.social a .social-img { display: block; width: 22px; height: 22px; object-fit: contain; }
.trust-badge { text-decoration: none; }
.trust-badge .badge-img { display: block; max-width: 100%; max-height: 72px; width: auto; height: auto; object-fit: contain; }
.trust-badge--code { align-items: center; justify-content: center; }
.trust-badge--code img { max-width: 100%; max-height: 80px; width: auto; height: auto; }
.footer-app-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.footer-bottom ul { padding: 0; margin: 0; list-style: none; }
.footer-bottom ul a { color: inherit; }
@media (max-width: 575.98px) {
  .footer-app-actions { width: 100%; }
  .footer-app-actions .btn-ink { flex: 1 1 100%; }
}
.page-wrap { padding-top: 2.5rem; padding-bottom: 3rem; }
.page-title { font-size: 1.6rem; font-weight: 800; margin-bottom: 1.25rem; }
.page-entry { margin-bottom: 2rem; }
.entry-title a { color: var(--ink); }
.entry-content > * + * { margin-top: 1rem; }
.entry-content img { max-width: 100%; height: auto; }
.nav-list > li.has-simple { position: relative; }
.mega-menu--simple { display: block; inset-inline: 0 auto; min-width: 230px; padding: 1rem 1.25rem; border-top: 1px solid var(--line); border-radius: var(--r-md); }
.mega-menu--simple .mega-col--plain ul { margin-top: 0; }
.brand-strip span.brand-logo, .brand-strip .brand-name { background: transparent; display: flex; text-align: center; }
.brand-strip .brand-name { display: block; }

.gallery-main .gallery-img { display: block; width: 100%; height: 100%; max-height: 100%; object-fit: contain; transition: opacity 0.3s var(--ease); }
.thumb .thumb-img { display: block; width: 100%; height: 100%; object-fit: contain; }
.price-from { align-self: center; margin-inline-end: 0.35rem; font-size: 0.85rem; color: var(--muted); }
.product-desc > * + * { margin-top: 0.6rem; }
.stock-note { display: flex; align-items: center; gap: 0.5rem; margin: 1rem 0 0; padding: 0.65rem 0.9rem; border-radius: var(--r-sm); background: #fff4e5; color: #8a4b00; font-size: 0.85rem; }
.stock-note.is-out { background: #fdecea; color: #8a1c14; }
.woocommerce-notices-wrapper { margin-bottom: 1rem; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; margin: 0 0 0.75rem; padding: 0.8rem 1rem; border-radius: var(--r-sm); background: var(--bg-soft); font-size: 0.9rem; list-style: none; }
.woocommerce-message { background: #e8f5e9; color: #1b5e20; }
.woocommerce-error { background: #fdecea; color: #8a1c14; }
.woocommerce-message .button { margin-inline-start: auto; padding: 0.35rem 1rem; border-radius: 999px; background: var(--ink); color: #fff; font-size: 0.8rem; text-decoration: none; }
.variations .option-row:first-child { margin-top: 1.25rem; }
.variations select { width: 100%; padding: 0.7rem 0.9rem; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; color: var(--ink); font: inherit; font-size: 0.9rem; }
.variations select:focus { outline: 2px solid var(--ink); outline-offset: 1px; }
.reset_variations { font-size: 0.78rem; color: var(--muted); text-decoration: underline; }
.single_variation { margin-top: 1rem; }
.single_variation .price { font-size: 1.25rem; font-weight: 700; }
.single_variation .price del { margin-inline-end: 0.5rem; font-size: 0.9rem; font-weight: 400; color: var(--muted); }
.single_variation .price ins { text-decoration: none; }
.single_variation .woocommerce-variation-availability p { margin: 0.4rem 0 0; font-size: 0.82rem; color: var(--muted); }
.single_add_to_cart_button.disabled, .single_add_to_cart_button:disabled { opacity: 0.45; cursor: not-allowed; }
.woocommerce-grouped-product-list { width: 100%; margin: 1rem 0; border-collapse: collapse; }
.woocommerce-grouped-product-list td { padding: 0.6rem 0.4rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
.woocommerce-grouped-product-list .quantity input { width: 64px; padding: 0.4rem; border: 1px solid var(--line); border-radius: var(--r-sm); text-align: center; }
.tab-pane .entry-content > * + * { margin-top: 0.9rem; }
.tab-pane .entry-content ul { padding-inline-start: 1.2rem; list-style: disc; }
.review-verified { display: inline-flex; align-items: center; gap: 0.2rem; padding: 0.1rem 0.55rem; border-radius: 999px; background: #e8f5e9; color: #1b5e20; font-size: 0.72rem; }
.review p { margin: 0.4rem 0 0; }
.review-note { margin: 1.25rem 0 0; padding: 0.9rem 1rem; border-radius: var(--r-sm); background: var(--bg-soft); color: var(--muted); font-size: 0.88rem; }
.review-form { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: grid; gap: 1rem; }
.review-form-title { margin: 1.75rem 0 0; font-size: 1.05rem; font-weight: 800; }
.review-form label { display: block; margin-bottom: 0.35rem; font-size: 0.85rem; font-weight: 600; }
.review-form label span, .rate-input legend span { color: #c0392b; }
.review-form input[type="text"], .review-form input[type="email"], .review-form textarea { width: 100%; padding: 0.7rem 0.9rem; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; font: inherit; font-size: 0.9rem; }
.review-form input:focus, .review-form textarea:focus { outline: 2px solid var(--ink); outline-offset: 1px; }
.review-form p { margin: 0; }
.review-form .comment-form-cookies-consent { display: flex; align-items: center; gap: 0.5rem; font-size: 0.82rem; }
.review-form .comment-form-cookies-consent label { margin: 0; font-weight: 400; }
.review-form .form-submit { margin-top: 0.25rem; }
.rate-input { margin: 0; padding: 0; border: 0; }
.rate-input legend { margin-bottom: 0.4rem; padding: 0; font-size: 0.85rem; font-weight: 600; }
.rate-stars { display: inline-flex; flex-direction: row-reverse; gap: 0.15rem; }
.rate-stars input { position: absolute; opacity: 0; pointer-events: none; }
.rate-stars label { margin: 0; font-size: 1.5rem; line-height: 1; color: #d6d0c4; cursor: pointer; transition: color 0.15s; }
.rate-stars input:checked + label, .rate-stars input:checked + label ~ label, .rate-stars label:hover, .rate-stars label:hover ~ label { color: #c9a24a; }
.rate-stars input:focus-visible + label { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 4px; }
.category-hero .cat-hero-img { display: block; width: 100%; max-width: 360px; max-height: 240px; margin: 0 auto; object-fit: contain; filter: drop-shadow(0 24px 30px rgba(18, 18, 18, 0.16)); }
.category-hero.no-image { grid-template-columns: 1fr; }
.category-hero.no-image p { max-width: 640px; }
.shop-form { margin: 0; }
.filter-link { display: flex; align-items: center; gap: 0.55rem; padding: 0.3rem 0; font-size: 0.85rem; color: var(--ink-2); text-decoration: none; }
.filter-link span { flex: 1; }
.filter-link small { font-size: 0.72rem; color: var(--muted); }
.filter-link:hover { color: var(--ink); }
.filter-link.active { color: var(--ink); font-weight: 700; }
.filter-link.active::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); order: -1; }
.filter-actions a.btn-ghost { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.page-btn.is-dots { pointer-events: none; border-color: transparent; background: transparent; }
.page-btn i { font-size: 1rem; }
.empty-state { display: grid; justify-items: center; gap: 0.6rem; padding: 3.5rem 1rem; border: 1px dashed var(--line); border-radius: var(--r-md); text-align: center; color: var(--muted); }
.empty-state > i { font-size: 2.2rem; color: var(--ink); opacity: 0.6; }
.empty-state h3 { margin: 0; font-size: 1.1rem; color: var(--ink); }
.empty-state p { margin: 0 0 0.6rem; font-size: 0.9rem; }
.variations .swatches { margin-top: 0.1rem; }
.variations .swatch { width: 32px; height: 32px; }
.variations .swatch.is-disabled { opacity: 0.3; pointer-events: none; }
.variation-select.is-swatch-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); border: 0; opacity: 0; pointer-events: none; }