﻿:root{--red:#c91724;--red-dark:#94111a;--red-soft:#fff1f2;--ink:#1f2328;--muted:#667085;--line:#e5e7eb;--bg:#f6f7f9;--paper:#fff;--green:#128c4a;--shadow:0 18px 46px rgba(16,24,40,.08);font-family:"Microsoft YaHei","PingFang SC",Arial,sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink)}a{color:inherit}button,input,select,textarea{font:inherit}textarea{min-height:92px;resize:vertical}.app-header{position:sticky;top:0;z-index:30;background:rgba(255,255,255,.94);border-bottom:1px solid var(--line);backdrop-filter:blur(14px)}.header-inner{max-width:1280px;min-height:72px;margin:0 auto;padding:0 24px;display:grid;grid-template-columns:minmax(260px,1fr) auto auto;gap:16px;align-items:center}.brand{display:inline-flex;align-items:center;gap:12px;text-decoration:none;min-width:0}.brand-mark{width:44px;height:44px;border-radius:8px;display:grid;place-items:center;background:var(--red);color:#fff;font-weight:900}.brand strong,.brand small{display:block}.brand strong{line-height:1.1}.brand small{margin-top:3px;color:var(--muted)}.main-nav,.language-switch,.hero-actions,.catalog-tools,.form-actions{display:flex;align-items:center;gap:8px}.main-nav a,.language-switch button,.btn{min-height:40px;border-radius:8px;border:1px solid transparent;text-decoration:none;padding:9px 12px;cursor:pointer;background:transparent;color:var(--muted)}.main-nav a.active,.language-switch button.active{background:var(--red);color:#fff}.main-nav a:hover,.language-switch button:hover,.btn.secondary:hover{background:var(--red-soft);color:var(--red-dark)}.language-switch{border:1px solid var(--line);border-radius:10px;overflow:hidden;gap:0;background:#fff}.language-switch button{border-radius:0;min-width:44px}main{max-width:1280px;margin:0 auto;padding:0 24px 52px}.view{display:none}.view.active{display:block}.side-toggle{position:fixed;left:18px;top:92px;z-index:26;width:42px;height:42px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);box-shadow:var(--shadow);cursor:pointer}.client-shell{display:grid;grid-template-columns:240px minmax(0,1fr);gap:24px;align-items:start}.client-sidebar{position:sticky;top:92px;margin-top:28px;background:#fff;border:1px solid var(--line);border-radius:8px;box-shadow:var(--shadow);padding:16px;display:grid;gap:8px;transition:transform .18s,opacity .18s}.client-sidebar.collapsed{transform:translateX(-112%);opacity:0;pointer-events:none}.sidebar-title{padding:8px 8px 12px;border-bottom:1px solid var(--line);margin-bottom:4px}.sidebar-title strong,.sidebar-title span{display:block}.sidebar-title span{color:var(--muted);font-size:13px}.client-sidebar a{padding:10px 12px;border-radius:8px;text-decoration:none;color:var(--ink);font-weight:800}.client-sidebar a:hover{background:var(--red-soft);color:var(--red-dark)}.client-content{min-width:0}.hero-band{display:grid;grid-template-columns:minmax(0,1fr) 410px;gap:20px;align-items:stretch;margin-top:28px}.hero-copy,.card,.store-panel{background:var(--paper);border:1px solid var(--line);border-radius:8px;box-shadow:var(--shadow)}.hero-copy{padding:36px}.eyebrow{margin:0 0 8px;color:var(--red);font-weight:900;font-size:13px;text-transform:uppercase;letter-spacing:0}h1,h2,h3{letter-spacing:0}h1{margin:0 0 14px;font-size:clamp(34px,4.6vw,56px);line-height:1.05}h2{margin:0;font-size:24px;line-height:1.22}h3{margin:0}.hero-copy p:not(.eyebrow),.muted{color:var(--muted)}.hero-copy p:not(.eyebrow){max-width:680px;font-size:17px;line-height:1.7}.btn{display:inline-flex;align-items:center;justify-content:center;font-weight:800}.btn.primary{background:var(--red);color:#fff}.btn.whatsapp,.whatsapp{background:var(--green);color:#fff}.btn.secondary{border-color:var(--line);background:#fff;color:var(--ink)}.btn.danger{background:#fff5f5;color:var(--red-dark);border-color:#fecdd3}.btn.subtle{box-shadow:none}.btn.full{width:100%;margin-top:14px}.store-panel{padding:20px;display:grid;gap:16px}.lens-packshot{min-height:230px;border-radius:8px;padding:24px;display:grid;align-content:end;background:linear-gradient(135deg,rgba(148,17,26,.96),rgba(201,23,36,.9)),radial-gradient(circle at 75% 20%,rgba(255,255,255,.55) 0 58px,transparent 60px),linear-gradient(90deg,rgba(255,255,255,.12),transparent);color:#fff;position:relative;overflow:hidden}.lens-packshot:before{content:"";position:absolute;right:28px;top:28px;width:120px;height:120px;border:16px solid rgba(255,255,255,.72);border-radius:50%;box-shadow:0 0 0 28px rgba(255,255,255,.14)}.lens-packshot span,.lens-packshot strong,.lens-packshot small{position:relative;z-index:1;display:block}.lens-packshot span{font-size:13px;font-weight:900;letter-spacing:0}.lens-packshot strong{font-size:30px}.lens-packshot small{color:rgba(255,255,255,.84)}dl{margin:0;display:grid;gap:12px}dt{font-weight:900}dd{margin:3px 0 0;color:var(--muted);line-height:1.5}.content-section{margin-top:32px}.section-title-row{display:flex;justify-content:space-between;align-items:end;gap:16px;margin-bottom:16px}.section-title-row.compact{margin-bottom:12px}.lens-controls{padding:18px;display:grid;grid-template-columns:260px minmax(0,1fr);gap:18px;align-items:end;margin-bottom:18px}.lens-controls label{display:grid;gap:7px;color:var(--muted);font-size:13px;font-weight:800}.lens-controls select,label input,label select,label textarea{border:1px solid var(--line);border-radius:8px;background:#fff;min-height:42px;padding:10px 12px;min-width:0}.category-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.category-tabs button{border:1px solid var(--line);background:#fff;border-radius:8px;padding:10px 12px;cursor:pointer;font-weight:900}.category-tabs button.active{background:var(--red);color:#fff;border-color:var(--red)}.lens-section-list{display:grid;gap:18px}.lens-price-section{padding:20px;box-shadow:none}.lens-price-section h2{margin-bottom:12px}.collection-note{border-left:4px solid var(--red);background:var(--red-soft);padding:12px 14px;border-radius:8px;margin-bottom:12px;color:var(--ink);line-height:1.7}.collection-note p{margin:0 0 10px}.collection-note p:last-child{margin-bottom:0}.table-scroll{overflow-x:auto}.price-table,table{width:100%;border-collapse:collapse;font-size:15px}th,td{border-bottom:1px solid var(--line);padding:13px 10px;text-align:left;vertical-align:top}th{color:var(--red-dark);background:var(--red-soft);font-weight:900}.price-table td strong{display:block}.price-table td small{display:block;color:var(--muted);margin-top:4px}.price-note{font-weight:900;margin:18px 0;color:var(--ink)}.contact-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:18px}.contact-card{padding:22px}.quiet-map{min-height:240px;display:grid;align-content:end;background:linear-gradient(135deg,#fff,#fff4f5);color:var(--red-dark)}.quiet-map strong{font-size:30px}.quiet-map span{color:var(--muted)}
.login-layout{min-height:calc(100vh - 128px);display:grid;place-items:center;padding:36px 0}.login-card{width:min(460px,100%);padding:28px;display:grid;gap:14px}.login-card h1{font-size:34px;margin-bottom:0}.login-card p{margin:0}.login-error{color:var(--red-dark)}.admin-layout{display:grid;grid-template-columns:310px minmax(0,1fr);gap:18px;align-items:start;margin-top:28px}.admin-sidebar{position:sticky;top:92px;padding:20px}.admin-stats{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:16px 0}.stat{border:1px solid var(--line);border-radius:8px;padding:12px;background:#fbfbfc}.stat strong{display:block;font-size:22px}.stat span{color:var(--muted);font-size:13px}.button-stack{display:grid;gap:8px}.file-button input{display:none}.admin-main{display:grid;gap:18px}.table-card,.admin-form{padding:20px}tbody tr{cursor:pointer}tbody tr:hover,tbody tr.active{background:#fff8f8}.badge{display:inline-flex;align-items:center;min-height:24px;border-radius:999px;padding:2px 9px;font-size:12px;font-weight:900;background:#ecfdf3;color:#087443}.badge.inactive{background:#f2f4f7;color:#475467}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.form-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}label{display:grid;gap:6px;color:var(--muted);font-size:13px;font-weight:700}label span{color:var(--ink)}.wide-label{margin-top:12px}.form-status{min-height:22px;margin:10px 0 0;color:var(--green);font-weight:800}.order-board{display:grid;gap:12px}.order-card{padding:18px;border:1px solid var(--line);border-radius:8px;background:#fff;display:grid;grid-template-columns:1fr auto;gap:14px;box-shadow:var(--shadow)}.order-card h3{margin-bottom:5px}.order-card p{margin:4px 0;color:var(--muted)}.order-actions{display:grid;gap:8px;align-content:start;min-width:160px}.empty-state{border:1px dashed #cbd5e1;border-radius:8px;padding:28px;background:#fff;text-align:center}.empty-state p{margin-bottom:0;color:var(--muted)}.hero-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
@media (max-width:980px){.header-inner{grid-template-columns:1fr;padding:12px 16px}.main-nav{display:none}main{padding:0 16px 42px}.client-shell{grid-template-columns:1fr}.client-sidebar{position:fixed;left:16px;top:86px;width:min(260px,calc(100vw - 32px));z-index:25;margin-top:0}.client-sidebar.collapsed{transform:translateX(-115%)}.hero-band,.contact-layout,.admin-layout{grid-template-columns:1fr}.lens-controls{grid-template-columns:1fr}.admin-sidebar{position:static}.form-grid,.form-grid.three{grid-template-columns:1fr}.section-title-row{align-items:start;flex-direction:column}.hero-copy{padding:24px}.order-card{grid-template-columns:1fr}}

.client-section{display:none}.client-section.active{display:block}.client-sidebar a.active{background:var(--red);color:#fff}.logo-showcase{align-content:start}.logo-frame{min-height:250px;border:1px solid var(--line);border-radius:8px;background:#fff;display:grid;place-items:center;padding:28px}.logo-frame img{max-width:100%;max-height:220px;object-fit:contain}.feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.feature-card{padding:20px;box-shadow:none}.feature-card strong{display:block;color:var(--red-dark);font-size:18px;margin-bottom:8px}.feature-card p{margin:0;color:var(--muted);line-height:1.65}.home-note{padding:22px 24px;box-shadow:none}.home-note h2{margin:0 0 8px}.home-note p{margin:0;line-height:1.7}.home-hero{min-height:calc(100vh - 132px);align-items:start;grid-template-columns:minmax(0,1.08fr) minmax(320px,.92fr);grid-template-areas:"copy poster" "panel panel"}.home-hero .hero-copy,.home-hero .store-panel,.home-hero .hero-poster{align-self:start}.home-hero .hero-copy{grid-area:copy}.home-hero .hero-poster{grid-area:poster}.home-hero .logo-showcase{grid-area:panel}

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

.hero-signboard-frame {
  margin: 0 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  display: grid;
  place-items: center;
  padding: 20px;
  min-height: 220px;
}

.hero-signboard-frame img {
  max-width: 100%;
  max-height: 220px;
  object-fit: contain;
}

.hero-poster {
  padding: 10px;
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
}

.poster-carousel {
  width: 100%;
  aspect-ratio: 4 / 5;
  position: relative;
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}

.poster-carousel.dragging {
  cursor: grabbing;
}

.poster-slide {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .45s ease;
}

.poster-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.hero-poster img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 6px;
  pointer-events: none;
  user-select: none;
}

.poster-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(229, 231, 235, .92);
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  color: var(--ink);
  display: grid;
  place-items: center;
  padding: 0;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  box-shadow: 0 10px 26px rgba(16, 24, 40, .14);
}

.poster-arrow:hover {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

.poster-arrow-prev {
  left: 18px;
}

.poster-arrow-next {
  right: 18px;
}

.poster-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  display: flex;
  justify-content: center;
  gap: 8px;
  pointer-events: none;
}

.poster-dots button {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  background: rgba(31, 35, 40, .28);
  cursor: pointer;
  pointer-events: auto;
}

.poster-dots button.active {
  width: 24px;
  border-radius: 999px;
  background: var(--red);
}

@media (max-width: 560px) {
  .poster-arrow {
    width: 34px;
    height: 34px;
    font-size: 26px;
  }

  .poster-arrow-prev {
    left: 14px;
  }

  .poster-arrow-next {
    right: 14px;
  }
}

.hero-info-panel {
  grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
  align-items: start;
  gap: 18px 24px;
}

.hero-info-panel .store-panel-header {
  align-content: start;
}

.hero-info-panel dl {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.hero-info-panel dl > div {
  padding: 14px 16px;
  border: 1px solid rgba(201, 23, 36, .12);
  border-radius: 8px;
  background: #fff8f8;
}

.store-panel-header {
  display: grid;
  gap: 6px;
}

.store-panel-header p {
  margin: 0;
}
@media (max-width:980px){.feature-grid{grid-template-columns:1fr}.home-hero{min-height:auto;grid-template-columns:1fr;grid-template-areas:"poster" "copy" "panel"}.logo-frame{min-height:190px}.logo-frame img{max-height:170px}.hero-info-panel{grid-template-columns:1fr}.hero-info-panel dl{grid-template-columns:1fr}}

.filter-groups {
  display: grid;
  gap: 14px;
}

.filter-group {
  display: grid;
}

/* Contact lens product cards and option detail view */
.lens-product-section {
  margin-top: 22px;
}

.lens-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.lens-section-heading h3 {
  margin: 0;
  font-size: 1.15rem;
}

.lens-section-heading span {
  color: var(--muted);
  font-size: .9rem;
}

.series-guide-card {
  margin: 0 0 18px;
  padding: 18px 20px;
  box-shadow: none;
}

.series-guide-head h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}

.series-guide-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.series-guide-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.series-guide-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff6f6;
  border: 1px solid rgba(180, 24, 24, .18);
  color: var(--red-dark);
  font-size: .84rem;
  font-weight: 800;
}

.lens-card-row {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 2px 2px 14px;
  scroll-snap-type: x proximity;
}

.lens-product-card {
  flex: 0 0 292px;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  padding: 14px;
  scroll-snap-align: start;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
  contain: layout paint;
}

.catalog-hidden {
  display: none !important;
}

.lens-product-card:hover,
.lens-product-card.active {
  border-color: var(--red);
  box-shadow: 0 12px 32px rgba(180, 24, 24, .12);
  transform: translateY(-2px);
}

.lens-card-main {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  width: 100%;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.product-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

.product-image-slot {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px dashed rgba(180, 24, 24, .35);
  border-radius: 8px;
  background: linear-gradient(135deg, #fff, #fff5f5);
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: .9rem;
  overflow: hidden;
}

.product-image-slot.has-image {
  border-style: solid;
  background: #fff;
}

.product-image-slot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}

.product-image-slot.image-contain img {
  object-fit: contain;
}

.product-image-slot.image-cover img {
  object-fit: cover;
}

.lens-product-card .product-image-slot.card-packshot img {
  object-position: center center;
}

.lens-product-card .product-image-slot.card-packshot:is(
  .packshot-bauschlomb-soflens-59,
  .packshot-bauschlomb-soflens-38,
  .packshot-bauschlomb-purevision-2-hd,
  .packshot-bauschlomb-ultra,
  .packshot-bauschlomb-soflens-daily-disposable,
  .packshot-bauschlomb-biotrue-oneday,
  .packshot-bauschlomb-ultra-one-day,
  .packshot-bauschlomb-soflens-toric,
  .packshot-bauschlomb-ultra-astigmatism,
  .packshot-bauschlomb-soflens-daily-disposable-astigmatism,
  .packshot-bauschlomb-soflens-multifocal,
  .packshot-bauschlomb-purevision-2-presbyopia,
  .packshot-bauschlomb-ultra-presbyopia
) img {
  width: 110%;
  height: 110%;
  margin: auto;
  object-fit: contain;
  transform: translate(-10px, 10px);
}

.lens-product-card .product-image-slot.card-packshot.packshot-maxvue-airsoft-1day-hd img {
  width: 90%;
  height: 90%;
  margin: auto;
  object-fit: contain;
  transform: translate(0, -20px);
}

.lens-product-card .product-image-slot.card-packshot.brand-packshot-alcon:not(.category-packshot-define-beauty) img {
  width: 90%;
  height: 90%;
  margin: auto;
  object-fit: contain;
}

.lens-product-card .product-image-slot.card-packshot.packshot-alcon-air-optix-colors img {
  width: 90%;
  height: 90%;
  margin: auto;
  object-fit: contain;
  transform: translateY(30px);
}

.lens-product-card .product-image-slot.card-packshot.packshot-eyewoot-little-black-skirt img {
  width: 100%;
  height: 100%;
  margin: auto;
  object-fit: contain;
  transform: translate(0, -20px);
}

.lens-product-card .product-image-slot.card-packshot.packshot-alcon-freshlook-illuminate img {
  width: 90%;
  height: 90%;
  margin: auto;
  object-fit: contain;
  transform: translateY(40px);
}

.lens-product-card .product-image-slot.card-packshot.packshot-alcon-freshlook-contact-lenses img {
  width: 100%;
  height: 100%;
  margin: auto;
  object-fit: contain;
  transform: translateY(0px);
}

.lens-product-card .product-image-slot.card-packshot.packshot-alcon-freshlook-cc-lens img {
  width: 100%;
  height: 100%;
  margin: auto;
  object-fit: contain;
  transform: translateY(10px);
}

.lens-product-card .product-image-slot.card-packshot.packshot-lacelle-core img {
  width: 100%;
  height: 100%;
  margin: auto;
  object-fit: contain;
  transform: translate(0, 0);
}

.lens-product-card .product-image-slot.card-packshot.packshot-lacelle-grace-daily img {
  width: 110%;
  height: 110%;
  margin: auto;
  object-fit: contain;
  transform: translate(-15px, 20px);
}

.product-image-slot.blincon-box-image img {
  width: 86%;
  height: 86%;
  margin: auto;
  object-fit: contain;
}

.lens-product-card .product-image-slot.card-packshot:is(.packshot-blincon-beauty-series-monthly, .packshot-blincon-vivi-series-monthly, .packshot-blincon-w-series-monthly) img {
  width: 86%;
  height: 86%;
  margin: auto;
  object-fit: contain;
  transform: translateY(0);
}

.lens-product-card .product-image-slot.card-packshot:is(.packshot-blincon-sweetie-series-monthly, .packshot-blincon-bb-series-monthly) img {
  width: 86%;
  height: 86%;
  margin: auto;
  object-fit: contain;
  transform: translateY(0);
}

.lens-product-card .product-image-slot.card-packshot.packshot-blincon-cc-natural-series-monthly img {
  width: 86%;
  height: 86%;
  margin: auto;
  object-fit: contain;
  transform: translateY(0);
}

.lens-product-card .product-image-slot.card-packshot.packshot-blincon-blossom img {
  width: 86%;
  height: 86%;
  margin: auto;
  object-fit: contain;
  transform: translateY(-10px)
}

.lens-product-card .product-image-slot.card-packshot.packshot-blincon-four-seasons img {
  width: 86%;
  height: 86%;
  margin: auto;
  object-fit: contain;
  transform: translateY(0);
}

.lens-product-card .product-image-slot.card-packshot.packshot-blincon-classic-jazzy-elegance img {
  width: 86%;
  height: 86%;
  margin: auto;
  object-fit: contain;
  transform: translateY(20px)
}

.lens-product-card .product-image-slot.card-packshot.packshot-blincon-bb-series-monthly img {
  width: 86%;
  height: 86%;
  margin: auto;
  object-fit: contain;
  transform: translateY(0);
}

.lens-product-card .product-image-slot.card-packshot.packshot-blincon-sweetie-series-monthly img {
  width: 86%;
  height: 86%;
  margin: auto;
  object-fit: contain;
  transform: translateY(0);
}

.lens-product-card .product-image-slot.card-packshot.packshot-blincon-w-series-monthly img {
  width: 86%;
  height: 86%;
  margin: auto;
  object-fit: contain;
  transform: translateY(0);
}

.lens-product-card .product-image-slot.card-packshot.packshot-blincon-beauty-series-monthly img {
  width: 86%;
  height: 86%;
  margin: auto;
  object-fit: contain;
  transform: translateY(0);
}

.lens-product-card .product-image-slot.card-packshot.packshot-blincon-vivi-series-monthly img {
  width: 86%;
  height: 86%;
  margin: auto;
  object-fit: contain;
  transform: translateY(0);
}

.detail-media .product-image-slot.color-preview-image {
  background: #fff;
  padding: 18px;
}

.detail-media .product-image-slot.color-preview-image img {
  width: 88%;
  height: 88%;
  margin: auto;
  display: block;
  justify-self: center;
  align-self: center;
  object-position: center center;
  border-radius: 6px;
}

.detail-media .product-image-slot.color-preview-image.large-color-preview img {
  width: 100%;
  height: 100%;
}

.detail-media .product-image-slot.color-preview-image.color-product-acuvue-define img {
  width: 88%;
  height: 88%;
  margin: auto;
  object-fit: contain;
  transform: translate(0, -25px);
}

.detail-media .product-image-slot.color-preview-image.color-product-alcon-air-optix-colors img {
  width: 88%;
  height: 88%;
  margin: auto;
  object-fit: contain;
  transform: translate(0, -20px);
}

.detail-media .product-image-slot.color-preview-image:is(.color-product-alcon-freshlook-contact-lenses, .color-product-alcon-freshlook-illuminate) img {
  width: 88%;
  height: 88%;
  margin: auto;
  object-fit: contain;
  transform: translate(0, -20px);
}

.detail-media .product-image-slot.color-preview-image:is(.color-product-lacelle-core, .color-product-lacelle-grace-daily) img {
  width: 88%;
  height: 88%;
  margin: auto;
  object-fit: contain;
  transform: translate(0, -20px);
}

.detail-media .product-image-slot.color-preview-image.color-product-blincon-blossom img {
  width: 100%;
  height: 100%;
  margin: auto;
  object-fit: contain;
  transform: translateX(10px);
  transform: translateY(-30px);
}

.detail-media .product-image-slot.color-preview-image.color-product-blincon-four-seasons img {
  width: 100%;
  height: 100%;
  margin: auto;
  object-fit: contain;
  transform: translateY(-20px)
}

.detail-media .product-image-slot.color-preview-image.color-product-blincon-classic-jazzy-elegance img {
  width: 110%;
  height: 110%;
  margin: auto;
  object-fit: contain;
  transform: translateY(-50px);
}

.detail-media .product-image-slot.color-preview-image.color-product-blincon-bb-series-monthly img {
  width: 100%;
  height: 100%;
  margin: auto;
  object-fit: contain;
  transform: translateY(-10px);
}

.detail-media .product-image-slot.color-preview-image.color-product-blincon-sweetie-series-monthly img {
  width: 100%;
  height: 100%;
  margin: auto;
  object-fit: contain;
  transform: translateY(-10px);
}

.detail-media .product-image-slot.color-preview-image.color-product-blincon-cc-natural-series-monthly img {
  width: 80%;
  height: 80%;
  margin: auto;
  object-fit: contain;
  transform: translateY(-10px);
}

.detail-media .product-image-slot.color-preview-image.color-product-blincon-w-series-monthly img {
  width: 110%;
  height: 110%;
  margin: auto;
  object-fit: contain;
  transform: translateY(-50px);
}

.detail-media .product-image-slot.color-preview-image.color-product-blincon-beauty-series-monthly img {
  width: 100%;
  height: 100%;
  margin: auto;
  object-fit: contain;
  transform: translateY(-10px);
}

.detail-media .product-image-slot.color-preview-image.color-product-blincon-vivi-series-monthly img {
  width: 110%;
  height: 110%;
  margin: auto;
  object-fit: contain;
  transform: translateY(-50px);
}

.is-hidden {
  display: none !important;
}

.all-brand-layout {
  display: grid;
  gap: 14px;
}

.all-brand-section {
  margin-top: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 14px;
}

.all-brand-heading {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 0 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
}

.all-brand-heading strong,
.all-brand-heading small {
  display: block;
}

.all-brand-heading strong {
  color: var(--red);
  font-size: 1.15rem;
}

.all-brand-heading small {
  margin-top: 4px;
  color: var(--muted);
  font-size: .88rem;
  font-weight: 600;
}

.all-brand-heading b {
  display: none;
  color: var(--ink);
  font-size: 1rem;
}

.all-brand-section .lens-card-row {
  padding-bottom: 8px;
  max-height: 760px;
  opacity: 1;
  transform: translateY(0);
  transition: max-height .32s ease, opacity .24s ease, transform .32s ease, padding .32s ease;
}

.all-brand-section:not(.expanded) .lens-card-row {
  max-height: 0;
  opacity: 0;
  transform: translateY(-8px);
  padding-top: 0;
  padding-bottom: 0;
  overflow: hidden;
  pointer-events: none;
}

body.filter-modal-open {
  overflow: hidden;
}

.catalog-eyebrow-title {
  font-size: 20px;
  line-height: 1.2;
}

.category-filter-inline,
.series-filter-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  width: fit-content;
  max-width: 100%;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(16, 24, 40, .06);
}

.series-filter-inline {
  align-items: center;
}

.category-filter-inline button,
.series-filter-inline button {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--red-dark);
  padding: 10px 16px;
  min-height: 40px;
  transition: background-color .16s ease, color .16s ease, box-shadow .16s ease;
}

.category-filter-inline button.active,
.series-filter-inline button.active {
  background: var(--red);
  color: #fff;
  box-shadow: 0 8px 18px rgba(201, 23, 36, .2);
}

.category-filter-inline button:hover,
.series-filter-inline button:hover {
  background: var(--red-soft);
  color: var(--red-dark);
}

.category-filter-inline button.active:hover,
.series-filter-inline button.active:hover {
  background: var(--red);
  color: #fff;
}

.series-more-button {
  margin-left: 0;
}

.series-more-button span {
  display: inline-block;
  margin-left: 4px;
}

.series-more-drawer {
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.series-more-column {
  display: grid;
  align-content: start;
  gap: 8px;
  border-right: 1px solid var(--line);
  padding-right: 14px;
}

.series-more-column:last-child {
  border-right: 0;
  padding-right: 0;
}

.series-more-column strong {
  color: var(--ink);
}

.series-more-column button,
.mobile-filter-list button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 8px 0;
  text-align: left;
  cursor: pointer;
}

.series-more-column button::before,
.mobile-filter-list button::before {
  content: "";
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  border-radius: 50%;
  border: 1px solid #98a2b3;
}

.series-more-column button.active,
.mobile-filter-list button.active {
  color: var(--red);
  font-weight: 900;
}

.series-more-column button.active::before,
.mobile-filter-list button.active::before {
  border-color: var(--red);
  box-shadow: inset 0 0 0 3px #fff;
  background: var(--red);
}

.series-more-column button span,
.mobile-filter-list button span {
  flex: 1 1 auto;
}

.series-more-column button small,
.mobile-filter-list button small {
  color: var(--muted);
}

.mobile-filter-actions,
.mobile-filter-backdrop,
.mobile-filter-sheet {
  display: none;
}

.product-category-pill {
  display: inline-flex;
  align-self: flex-start;
  border: 1px solid rgba(180, 24, 24, .22);
  color: var(--red);
  background: #fff7f7;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: .78rem;
  line-height: 1.2;
  flex-wrap: wrap;
}

.lens-product-card strong {
  font-size: 1rem;
  line-height: 1.35;
}

.lens-product-card p {
  min-height: 68px;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: .9rem;
}

.product-card-meta {
  color: var(--ink);
  font-size: .88rem;
}

.product-card-price {
  margin-top: auto;
  color: var(--red);
  font-weight: 800;
}

.btn.mini {
  width: fit-content;
  min-height: 34px;
  padding: 7px 10px;
  font-size: .86rem;
}

.lens-detail-panel {
  display: grid;
  grid-template-columns: minmax(220px, 340px) minmax(0, 1fr);
  gap: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 18px;
  margin: 20px 0 24px;
  box-shadow: 0 16px 42px rgba(17, 24, 39, .08);
}

.lens-detail-panel.detail-opening {
  animation: detailPanelEnter .62s cubic-bezier(.2, .8, .2, 1) both;
  transform-origin: top center;
}

.lens-detail-panel.detail-opening .detail-media {
  animation: detailChildEnter .68s cubic-bezier(.2, .8, .2, 1) .08s both;
}

.lens-detail-panel.detail-opening .detail-content {
  animation: detailChildEnter .7s cubic-bezier(.2, .8, .2, 1) .14s both;
}

.lens-detail-panel.detail-closing {
  animation: detailPanelExit .5s cubic-bezier(.4, 0, .2, 1) both;
  pointer-events: none;
  transform-origin: top center;
}

@keyframes detailPanelEnter {
  from {
    opacity: 0;
    transform: translateY(18px) scale(.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes detailPanelExit {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateY(8px) scale(.99);
  }
}

@keyframes detailChildEnter {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes sheetEnter {
  from {
    opacity: 0;
    transform: translate(-50%, calc(-50% + 18px)) scale(.98);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

.detail-media .product-image-slot {
  aspect-ratio: 4 / 3;
}

.detail-media .product-image-slot.detail-packshot-maxvue-airsoft-1day-hd img {
  width: 90%;
  height: 90%;
  margin: auto;
  object-fit: contain;
  transform: translate(0, 0);
}

.detail-content {
  min-width: 0;
}

.detail-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.detail-title-row h3 {
  margin: 4px 0 0;
  font-size: 1.45rem;
}

.icon-close {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  color: var(--muted);
  font-size: 1.1rem;
}

.detail-summary,
.detail-notes,
.microcopy,
.selected-line {
  color: var(--muted);
  line-height: 1.55;
}

.detail-notes {
  border-left: 3px solid rgba(180, 24, 24, .25);
  padding-left: 10px;
  font-size: .92rem;
}

.detail-points {
  display: grid;
  gap: 10px;
  margin: 14px 0 4px;
}

.detail-point {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fbfbfc;
}

.detail-point strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: .92rem;
}

.detail-point p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: .92rem;
}

.detail-option-block {
  margin-top: 18px;
}

.detail-option-block > strong {
  display: block;
  margin-bottom: 10px;
}

.eye-power-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

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

.eye-card {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(180, 24, 24, .16);
  border-radius: 8px;
  background: #fff8f8;
}

.eye-card > strong {
  color: var(--red-dark);
}

.eye-field {
  gap: 5px;
}

.eye-field select {
  width: 100%;
}

.vision-type-grid .option-pill {
  min-width: 150px;
  align-items: center;
  text-align: center;
}

.option-grid,
.color-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.option-pill,
.color-option {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 10px 12px;
  cursor: pointer;
}

.option-pill {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 168px;
  text-align: left;
}

.option-pill b {
  color: var(--red);
}

.option-pill.active,
.color-option.active {
  border-color: var(--red);
  background: #fff5f5;
  box-shadow: inset 0 0 0 1px var(--red);
}

.quantity-custom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
}

.quantity-custom-row.only-custom {
  margin-top: 0;
}

.quantity-custom-row > span {
  color: var(--muted);
  font-size: .9rem;
  font-weight: 700;
}

.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.qty-step-btn {
  width: 42px;
  min-height: 42px;
  border: 0;
  background: #fff;
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
}

.qty-step-btn:hover {
  background: #fff5f5;
  color: var(--red);
}

.qty-input {
  width: 64px;
  min-height: 42px;
  border: 0;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  text-align: center;
  font-weight: 800;
  color: var(--ink);
  background: #fff;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.qty-input[type="number"] {
  -moz-appearance: textfield;
}

.color-group {
  margin-top: 10px;
}

.color-group > span {
  display: block;
  color: var(--muted);
  font-size: .86rem;
  margin-bottom: 8px;
}

.color-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .9rem;
}

.color-option i {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, .16);
}

.price-summary {
  margin-top: 20px;
  border-radius: 8px;
  background: #1f2937;
  color: #fff;
  padding: 16px;
}

.price-summary dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  margin: 12px 0 16px;
}

.price-summary dt {
  color: rgba(255, 255, 255, .68);
  font-size: .8rem;
}

.price-summary dd {
  margin: 3px 0 0;
  font-weight: 700;
}

.price-was {
  color: rgba(255, 255, 255, .62);
  text-decoration: line-through;
}

.original-price-line {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.promo-total {
  color: #fff;
  font-size: 1.08rem;
}

.promo-save,
.promo-save-inline {
  color: #86efac;
}

.promo-save-inline {
  font-size: .82rem;
  font-weight: 800;
  white-space: nowrap;
}

.availability-note {
  margin: -2px 0 14px;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .78);
  font-size: .86rem;
  line-height: 1.45;
}

.admin-form textarea[name="variants"],
.admin-form textarea[name="colors"],
.admin-form textarea[name="notes"] {
  font-family: Consolas, Monaco, monospace;
  font-size: .86rem;
  line-height: 1.45;
}

@media (max-width: 780px) {
  .lens-product-card {
    flex-basis: 82vw;
  }

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

  .price-summary dl {
    grid-template-columns: 1fr;
  }

  .eye-power-grid {
    grid-template-columns: 1fr;
  }

  .eye-power-head {
    align-items: stretch;
    flex-direction: column;
  }

  .quantity-custom-row {
    flex-direction: column;
    align-items: stretch;
  }

  .qty-stepper {
    width: 100%;
  }

  .qty-input {
    flex: 1 1 auto;
  }
}


.admin-stats > div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fbfbfc;
}

.admin-stats > div strong,
.admin-product-count strong {
  display: block;
  font-size: 22px;
}

.admin-stats > div span {
  color: var(--muted);
  font-size: 13px;
}

tbody tr.selected {
  background: #fff8f8;
}

/* Sidebar collapse behavior */
.client-shell {
  transition: grid-template-columns .62s cubic-bezier(.2, .8, .2, 1), gap .62s cubic-bezier(.2, .8, .2, 1);
}

.client-shell.sidebar-collapsed {
  grid-template-columns: 0 minmax(0, 1fr);
  gap: 0;
}

.client-shell.sidebar-collapsed .client-sidebar {
  min-width: 0;
  overflow: hidden;
  transform: translateX(-34px) scale(.96);
  opacity: 0;
  pointer-events: none;
}

.side-toggle[aria-expanded="true"] {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
  transform: rotate(90deg);
}

@media (max-width: 980px) {
  .client-sidebar.collapsed {
    display: grid;
    transform: translateX(-115%);
    opacity: 0;
    pointer-events: none;
  }

  .client-shell.sidebar-collapsed {
    grid-template-columns: 1fr;
  }
}

/* Client mobile first pass */
@media (max-width: 980px) {
  .side-toggle {
    top: 82px;
    left: 14px;
  }

  .client-shell:not(.sidebar-collapsed) .side-toggle {
    top: 88px;
    left: calc(min(292px, calc(100vw - 28px)) - 28px);
    z-index: 26;
  }

  .client-shell {
    display: block;
  }

  .client-shell:not(.sidebar-collapsed)::before {
    display: none;
  }

  .client-shell .client-sidebar {
    position: fixed;
    top: 76px;
    left: 14px;
    z-index: 25;
    width: min(292px, calc(100vw - 28px));
    max-height: calc(100vh - 96px);
    overflow-y: auto;
    margin-top: 0;
    transform: translateX(0) scale(1);
    transform-origin: left center;
    opacity: 1;
  }

  .client-shell.sidebar-collapsed .client-sidebar,
  .client-sidebar.collapsed {
    display: grid;
    transform: translateX(-128%) scale(.94);
    opacity: 0;
    pointer-events: none;
  }

  .client-content {
    width: 100%;
  }

  .home-hero {
    gap: 14px;
    margin-top: 22px;
  }

  .home-hero .hero-copy {
    padding: 22px 18px;
  }

  .home-hero h1 {
    font-size: 31px;
    line-height: 1.08;
  }

  .home-hero .hero-copy p:not(.eyebrow) {
    font-size: 15px;
    line-height: 1.58;
  }

  .logo-showcase {
    padding: 14px;
  }

  .hero-signboard-frame {
    min-height: 150px;
    padding: 16px;
  }

  .hero-signboard-frame img {
    max-height: 128px;
  }

  .logo-frame {
    min-height: 150px;
    padding: 16px;
  }

  .logo-frame img {
    max-height: 128px;
  }

  .feature-grid {
    gap: 12px;
  }

  .feature-card {
    padding: 16px;
  }

  .content-section {
    margin-top: 24px;
  }

  .lens-card-row {
    display: grid;
    grid-template-columns: 1fr;
    overflow: visible;
    gap: 14px;
    padding: 0;
  }

  .lens-product-card {
    width: 100%;
    min-height: 0;
    flex: none;
    padding: 14px;
  }

  .lens-product-card p {
    min-height: 0;
  }

  .product-image-slot {
    aspect-ratio: 4 / 3;
  }

  .lens-detail-panel {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 14px;
  }

  .detail-title-row h3 {
    font-size: 1.25rem;
  }

  .option-grid,
  .color-options {
    gap: 8px;
  }

  .option-pill {
    width: 100%;
    min-width: 0;
  }

  .color-option {
    flex: 1 1 calc(50% - 8px);
    justify-content: flex-start;
    min-height: 42px;
  }
}

@media (max-width: 560px) {
  .header-inner {
    gap: 10px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand strong {
    font-size: 14px;
  }

  .brand small {
    font-size: 12px;
  }

  main {
    padding: 0 12px 34px;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .section-title-row h2 {
    font-size: 21px;
  }

  .lens-controls {
    padding: 14px;
  }

  .category-tabs button {
    flex: 1 1 100%;
  }

  .price-summary {
    padding: 14px;
  }
}

/* Header menu placement */
.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

@media (max-width: 980px) {
  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
  }

  .brand {
    min-width: 0;
  }

  .header-actions {
    grid-column: 2;
    grid-row: 1;
    gap: 8px;
  }

  .header-actions .language-switch button {
    min-width: 38px;
    min-height: 38px;
    padding: 7px 9px;
  }

  .header-actions .side-toggle {
    position: static;
    width: 38px;
    height: 38px;
    min-height: 38px;
    box-shadow: none;
    flex: 0 0 auto;
  }
}

@media (max-width: 430px) {
  .header-inner {
    padding: 10px 12px;
  }

  .header-actions {
    gap: 6px;
  }

  .header-actions .language-switch button {
    min-width: 34px;
    min-height: 36px;
    padding: 6px 7px;
    font-size: 13px;
  }

  .header-actions .side-toggle {
    width: 36px;
    height: 36px;
    min-height: 36px;
  }
}

/* Contact shop photo */
.shop-photo-card {
  padding: 0;
  overflow: hidden;
  min-height: 0;
  background: #fff;
  display: grid;
  align-content: stretch;
}

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

.shop-photo-caption {
  padding: 16px 18px 18px;
  background: #fff;
}

.shop-photo-caption strong,
.shop-photo-caption span {
  display: block;
}

.shop-photo-caption strong {
  color: var(--red-dark);
  font-size: 28px;
  line-height: 1.1;
}

.shop-photo-caption span {
  margin-top: 4px;
  color: var(--muted);
}

@media (max-width: 980px) {
  .shop-photo-caption strong {
    font-size: 24px;
  }
}

/* Mobile contact shop image sizing */
@media (max-width: 980px) {
  .contact-photo-card {
    order: -1;
  }

  .contact-info-card {
    order: 1;
  }

  .shop-photo-card img {
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
    object-position: center top;
  }
}

@media (max-width: 430px) {
  .shop-photo-card img {
    height: auto;
  }
}

/* Header logo image */
.brand-mark {
  width: 56px;
  height: 56px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Lens filter layout */
.lens-controls {
  position: relative;
  grid-template-columns: 1fr;
  align-items: stretch;
  gap: 16px;
}

.filter-row {
  display: grid;
  gap: 18px;
}

.filter-row-primary {
  grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
  align-items: start;
}

.filter-field,
.filter-group {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.filter-group strong {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.filter-brand-field {
  align-self: start;
}

.filter-brand-field select {
  width: 100%;
}

.brand-card-dropdown {
  position: relative;
  display: none;
}

.brand-card-trigger {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  font-weight: 900;
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease, color .18s ease;
}

.brand-card-trigger b {
  color: var(--red);
  font-size: 1.2rem;
  line-height: 1;
  transition: transform .2s ease;
}

.brand-card-dropdown.open .brand-card-trigger {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(201, 23, 36, .08);
}

.brand-card-dropdown.open .brand-card-trigger b {
  transform: rotate(180deg);
}

.brand-card-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 18;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(17, 24, 39, .16);
  overflow: hidden;
  opacity: 0;
  transform: translateY(-6px) scale(.98);
  transform-origin: top center;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}

.brand-card-dropdown.open .brand-card-menu {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.brand-card-option {
  width: 100%;
  min-height: 62px;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.brand-card-option:last-child {
  border-bottom: 0;
}

.brand-card-option:hover,
.brand-card-option.active {
  background: #fff5f5;
}

.brand-card-logo {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(201, 23, 36, .28);
  border-radius: 8px;
  background: #fff;
  color: var(--red);
  display: grid;
  place-items: center;
  font-size: .78rem;
  font-weight: 900;
}

.brand-card-logo.has-image {
  padding: 5px;
  overflow: hidden;
}

.brand-card-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.brand-card-copy {
  min-width: 0;
}

.brand-card-copy strong,
.brand-card-copy small {
  display: block;
}

.brand-card-copy strong {
  color: var(--ink);
  font-size: .98rem;
  line-height: 1.25;
}

.brand-card-copy small {
  margin-top: 3px;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.35;
}

.brand-card-check {
  color: var(--red);
  font-weight: 900;
  font-size: 1.2rem;
  text-align: center;
}

@media (min-width: 981px) {
  .filter-brand-field select {
    display: none;
  }

  .brand-card-dropdown {
    display: block;
  }
}

.filter-series-group,
.filter-replacement-group,
.filter-category-group,
.lens-section-list,
.lens-product-section,
.lens-price-section {
  min-width: 0;
}

.lens-section-list,
.lens-product-section {
  overflow: hidden;
}

.filter-series-group,
.filter-replacement-group {
  align-content: start;
}

#seriesTabs,
#replacementTabs {
  justify-content: flex-start;
  align-items: flex-start;
  flex-wrap: wrap;
  overflow: visible;
  margin-top: 0;
  padding-bottom: 0;
}

#seriesTabs button {
  flex: 0 0 auto;
  white-space: nowrap;
}

.filter-category-group {
  position: relative;
  z-index: 0;
  margin-top: 2px;
}

.filter-category-group #categoryTabs {
  margin-top: 0;
}

.lens-card-row {
  display: flex;
  flex-wrap: nowrap;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scrollbar-gutter: stable both-edges;
}

.lens-product-card {
  flex: 0 0 292px;
}

@media (max-width: 980px) {
  .category-filter-inline,
  .series-filter-inline,
  .series-more-drawer,
  .filter-series-group > strong,
  .filter-replacement-group > strong,
  .filter-category-group > strong {
    display: none;
  }

  .mobile-filter-actions {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    gap: 4px;
    width: 100%;
    padding: 6px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(16, 24, 40, .06);
  }

  .mobile-filter-actions button {
    flex: 0 0 min(178px, 58vw);
    min-height: 52px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--red-dark);
    font-weight: 900;
    text-align: left;
    padding: 8px 14px;
  }

  .mobile-filter-actions button:hover,
  .mobile-filter-actions button:focus-visible {
    background: var(--red-soft);
    color: var(--red-dark);
  }

  .filter-summary-button span,
  .filter-summary-button strong {
    display: block;
    line-height: 1.2;
  }

  .filter-summary-button span {
    color: var(--muted);
    font-size: .78rem;
    margin-bottom: 5px;
  }

  .filter-summary-button strong {
    color: var(--ink);
    font-size: .95rem;
  }

  .mobile-filter-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 80;
    background: rgba(15, 23, 42, .28);
  }

  .mobile-filter-sheet {
    display: grid;
    position: fixed;
    left: 50%;
    top: 50%;
    width: min(440px, calc(100vw - 32px));
    z-index: 81;
    max-height: min(76vh, 620px);
    overflow: auto;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .22);
    padding: 16px;
    transform: translate(-50%, -50%);
    animation: sheetEnter .22s cubic-bezier(.2, .8, .2, 1) both;
  }

  .sheet-handle {
    display: none;
  }

  .mobile-filter-sheet-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
  }

  .mobile-filter-sheet-head strong {
    font-size: 1.05rem;
  }

  .mobile-filter-sheet-head button {
    width: 34px;
    min-height: 34px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
  }

  .mobile-filter-search input {
    width: 100%;
    margin-bottom: 10px;
  }

  .mobile-filter-list {
    display: grid;
    gap: 2px;
  }

  .mobile-filter-group {
    border-top: 1px solid var(--line);
    padding-top: 10px;
    margin-top: 8px;
  }

  .mobile-filter-group > strong {
    display: block;
    color: var(--ink);
    margin-bottom: 4px;
  }

  .mobile-filter-actions-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 16px;
  }

  .all-brand-layout {
    gap: 10px;
  }

  .all-brand-section {
    padding: 0;
    overflow: hidden;
  }

  .all-brand-heading {
    min-height: 58px;
    padding: 12px 14px;
  }

  .all-brand-heading b {
    display: block;
    transition: transform .18s ease;
  }

  .all-brand-section.expanded .all-brand-heading b {
    transform: rotate(180deg);
  }

  .all-brand-section .lens-card-row {
    padding: 0 14px 14px;
  }

  .all-brand-section.expanded .lens-card-row {
    max-height: min(860px, calc(100vh - 180px));
    grid-template-columns: 1fr;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior-y: auto;
    padding-right: 10px;
    scrollbar-gutter: stable;
  }

  .all-brand-section:not(.expanded) .lens-card-row {
    padding: 0 14px;
  }

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

  #seriesTabs {
    flex-wrap: wrap;
    overflow: visible;
    padding-bottom: 0;
  }

  .lens-card-row {
    display: grid;
    flex-wrap: initial;
    overflow: visible;
    scrollbar-gutter: auto;
  }

  .lens-product-card {
    width: 100%;
    flex: none;
  }

  .lens-product-card .product-image-slot.card-packshot.packshot-lacelle-core img {
    width: 100%;
    height: 100%;
    transform: translate(0, 0);
  }
}

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

@media (max-width: 560px) {
  .lens-detail-panel.detail-opening {
    animation-duration: .56s;
  }

  @keyframes detailPanelEnter {
    from {
      opacity: 0;
      transform: translateY(10px) scale(.992);
    }
    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .lens-detail-panel.detail-opening,
  .lens-detail-panel.detail-closing,
  .lens-detail-panel.detail-opening .detail-media,
  .lens-detail-panel.detail-opening .detail-content {
    animation: none;
  }
}

/* Interaction motion polish */
.client-section.active {
  animation: sectionEnter .22s cubic-bezier(.2, .8, .2, 1) both;
}

.language-switch button,
.category-tabs button,
.client-sidebar a,
.side-toggle {
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.language-switch button:active,
.category-tabs button:active,
.side-toggle:active {
  transform: translateY(1px);
}

.client-sidebar {
  transition: transform .62s cubic-bezier(.2, .8, .2, 1), opacity .48s ease, box-shadow .48s ease;
}

.language-updating .client-content,
.language-updating .admin-main,
.language-updating .order-board {
  animation: languageRefresh .22s cubic-bezier(.2, .8, .2, 1) both;
}

@keyframes sectionEnter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes languageRefresh {
  from {
    opacity: .72;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  body.mobile-menu-open {
    overflow: hidden;
  }

  body.mobile-menu-open::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 24;
    background: rgba(15, 23, 42, .24);
    animation: menuOverlayEnter .32s ease both;
  }

  .client-sidebar {
    transform: translateX(0);
    opacity: 1;
    will-change: transform, opacity;
    transition: transform .62s cubic-bezier(.2, .8, .2, 1), opacity .48s ease, box-shadow .48s ease;
  }

  .client-sidebar:not(.collapsed) {
    box-shadow: 0 24px 70px rgba(15, 23, 42, .22);
  }

  .client-sidebar.collapsed {
    transform: translateX(calc(-100% - 22px));
    opacity: 0;
  }
}

@keyframes menuOverlayEnter {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .client-section.active,
  .language-updating .client-content,
  .language-updating .admin-main,
  .language-updating .order-board,
  body.mobile-menu-open::after {
    animation: none;
  }

  .language-switch button,
  .category-tabs button,
  .client-sidebar,
  .client-sidebar a,
  .side-toggle {
    transition: none;
  }
}
