:root {
  --bg: #3A2A22;
  --panel: #F7F6F4;
  --ink: #1B1B1B;
  --muted: #7A7670;
  --accent: #3F5FA8;
  --dl: #B08A12;
  --card: #FFFFFF;
  --pill: #D9C4A6;
  --stitle: #EBD9B4;
  --overlay: 0.2;
  --logoh: 64px;
  --ratio: 4 / 3;
  --talign: right;
  --bg-image: none;
  --sans: 'Lato', system-ui, sans-serif;
  --display: 'Poppins', system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background-color: var(--bg); background-image: var(--bg-image); background-size: cover; background-position: center; background-attachment: fixed;
  font-family: var(--sans); color: var(--ink); font-size: 14px; line-height: 1.5; min-height: 100vh; -webkit-font-smoothing: antialiased; top: 0 !important;
}
body::before { content: ""; position: fixed; inset: 0; background: #000; opacity: var(--overlay); pointer-events: none; z-index: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
[hidden] { display: none !important; }

iframe.skiptranslate, .goog-te-banner-frame { display: none !important; }
#goog-gt-tt, .goog-tooltip { display: none !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }

/* header */
.head { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 26px 20px 22px; }
.logo { display: block; color: #fff; font-family: var(--display); font-weight: 600; font-size: 30px; letter-spacing: 0.18em; text-transform: uppercase; }
.logo img { height: var(--logoh); width: auto; }
.navrow { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: stretch; width: 100%; max-width: 1180px; }
.menu { grid-column: 2; display: flex; gap: 2px; flex-wrap: wrap; justify-content: center; padding: 6px; border-radius: 999px; background: rgba(255,255,255,0.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.menu a { padding: 9px 22px; border-radius: 999px; font-size: 14px; color: #2a2a2a; transition: background .2s; }
.menu a:hover { background: rgba(255,255,255,0.6); }
.menu a.on { background: var(--pill); }
.lang { grid-column: 3; justify-self: end; position: relative; z-index: 20; display: flex; }
.lcur { display: flex; align-items: center; gap: 10px; padding: 0 18px; min-height: 40px; border-radius: 999px; background: rgba(255,255,255,0.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.lcur .car { width: 6px; height: 6px; border-right: 2px solid #2a2a2a; border-bottom: 2px solid #2a2a2a; transform: rotate(45deg) translate(-1px, -1px); }
.flag { width: 26px; height: 17px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0,0,0,0.15); flex: none; }
.lmenu { position: absolute; right: 0; top: calc(100% + 6px); min-width: 170px; padding: 6px; border-radius: 18px; background: rgba(255,255,255,0.97); box-shadow: 0 10px 30px rgba(0,0,0,0.25); }
.lmenu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; border-radius: 12px; font-size: 13px; color: #2a2a2a; text-align: left; }
.lmenu button:hover { background: rgba(0,0,0,0.06); }
.lmenu button.on { background: var(--pill); font-weight: 700; }

/* panel */
.shell { position: relative; z-index: 1; max-width: 1220px; margin: 0 auto; padding: 0 20px 20px; }
.panel { background: var(--panel); border-radius: 44px; padding: 26px; }
.cols { display: grid; grid-template-columns: minmax(0, 46fr) minmax(0, 54fr); gap: 26px; align-items: start; }

.filters { display: flex; background: var(--card); border-radius: 6px; border: 1px solid #ECEAE6; margin-bottom: 16px; }
.filters select { flex: 1; min-width: 0; appearance: none; -webkit-appearance: none; background-color: transparent; background-image: linear-gradient(45deg, transparent 50%, #777 50%), linear-gradient(135deg, #777 50%, transparent 50%); background-position: calc(100% - 15px) 52%, calc(100% - 10px) 52%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; border: 0; border-right: 1px solid #ECEAE6; padding: 10px 26px 10px 12px; font: inherit; font-size: 12px; color: var(--muted); cursor: pointer; outline: none; }
.filters select:last-of-type { border-right: 0; }
.filters select.set { color: var(--ink); font-weight: 700; }
.filters .clear { padding: 0 12px; font-size: 12px; color: var(--accent); border-left: 1px solid #ECEAE6; display: none; align-items: center; }
.filters .clear.on { display: flex; }

.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.card { background: var(--card); border-radius: 10px; padding: 14px 12px; text-align: center; border: 1px solid #F0EEEA; }
.name { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.35; }
.kind { font-size: 11px; color: var(--muted); min-height: 16px; margin-bottom: 8px; }
.media { position: relative; display: block; margin: 0 auto 10px; border-radius: 8px; overflow: hidden; background: #F2F0EC; }
.track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; aspect-ratio: var(--ratio); }
.track::-webkit-scrollbar { display: none; }
.track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; }
.nav { position: absolute; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,0.92); font-size: 15px; line-height: 28px; opacity: 0; transition: opacity .2s; }
.nav.p { left: 6px; }
.nav.n { right: 6px; }
.media:hover .nav, .nav:focus-visible { opacity: 1; }
.cdots { position: absolute; bottom: 7px; left: 0; right: 0; display: flex; gap: 5px; justify-content: center; pointer-events: none; }
.cdots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.6); }
.cdots i.on { background: #fff; width: 14px; border-radius: 3px; }
.swatches { display: flex; gap: 5px; justify-content: center; min-height: 12px; margin-bottom: 8px; }
.swatches i { width: 11px; height: 11px; border-radius: 50%; border: 1px solid rgba(0,0,0,0.15); }
.get { font-size: 13px; font-weight: 700; color: var(--dl); }
.get:hover { text-decoration: underline; }
.empty { text-align: center; color: var(--muted); padding: 40px 10px; }

.pager { display: flex; justify-content: center; align-items: center; gap: 6px; padding: 26px 0 4px; font-size: 13px; }
.pager a, .pager span { min-width: 28px; height: 28px; padding: 0 8px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; color: var(--muted); }
.pager a:hover { color: var(--ink); }
.pager span.cur { background: var(--accent); color: #fff; font-weight: 700; }

/* slide */
.slide { position: sticky; top: 20px; height: calc(100vh - 40px); min-height: 460px; max-height: 780px; border-radius: 34px; overflow: hidden; background: #8A5A3C; }
.s { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity .7s; cursor: default; }
.s.on { opacity: 1; z-index: 1; }
.s.link { cursor: pointer; }
.s .t { position: absolute; top: 9%; left: 8%; right: 8%; text-align: var(--talign); }
.s h2 { font-family: var(--display); font-weight: 700; font-size: clamp(44px, 6.2vw, 92px); line-height: 0.98; color: var(--stitle); }
.s p { margin-top: 14px; font-size: 15px; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,0.4); }
.ctl { position: absolute; left: 0; right: 0; bottom: 22px; z-index: 3; display: flex; justify-content: center; align-items: center; gap: 14px; }
.ctl button { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.88); font-size: 16px; }
.sdots { display: flex; gap: 6px; }
.sdots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.5); cursor: pointer; }
.sdots i.on { background: #fff; width: 22px; border-radius: 4px; }

/* footer */
.caption { position: relative; z-index: 1; text-align: center; color: #fff; font-family: var(--display); font-weight: 500; font-size: clamp(20px, 3vw, 30px); padding: 26px 20px 10px; }
.foot { position: relative; z-index: 1; text-align: center; font-size: 12px; color: rgba(255,255,255,0.75); padding: 6px 20px 30px; }
.foot a { margin: 0 10px; }
.foot a:hover { color: #fff; }

/* desktop: boxed, fixed to the screen */
@media (min-width: 961px) {
  html, body { height: 100%; }
  body { display: flex; flex-direction: column; height: 100vh; height: 100dvh; overflow: hidden; }
  .head { flex: 0 0 auto; gap: clamp(8px, 1.6vh, 18px); padding: clamp(10px, 2.2vh, 26px) 20px clamp(8px, 1.6vh, 20px); }
  .logo { font-size: clamp(20px, 3.6vh, 30px); }
  .logo img { height: min(var(--logoh), 9vh); }
  .menu a { padding: clamp(6px, 1.1vh, 9px) 22px; }
  .shell { flex: 1 1 auto; min-height: 0; width: 100%; padding-bottom: 0; }
  .panel { height: 100%; padding: clamp(14px, 2.6vh, 26px); overflow: hidden; }
  .cols { height: 100%; grid-template-rows: minmax(0, 1fr); align-items: stretch; }
  .left { display: flex; flex-direction: column; min-height: 0; }
  .filters { flex: 0 0 auto; }
  .grid { flex: 1 1 auto; min-height: 0; overflow-y: auto; align-content: start; padding-right: 6px; scrollbar-width: thin; }
  .empty { flex: 0 0 auto; }
  .pager { flex: 0 0 auto; padding: 12px 0 0; }
  .slide { position: relative; top: 0; height: 100%; min-height: 0; max-height: none; }
  .caption { flex: 0 0 auto; font-size: clamp(16px, 3.4vh, 28px); padding: clamp(6px, 1.6vh, 20px) 20px 0; }
  .foot { flex: 0 0 auto; padding: 2px 20px clamp(8px, 1.6vh, 18px); }
}

@media (max-width: 960px) {
  .cols { grid-template-columns: 1fr; }
  .slide { order: -1; position: relative; top: 0; height: 340px; min-height: 0; }
  .panel { padding: 16px; border-radius: 32px; }
  .navrow { grid-template-columns: 1fr; justify-items: center; gap: 10px; }
  .navrow .menu, .lang { grid-column: 1; justify-self: center; }
  .lmenu { right: auto; left: 50%; transform: translateX(-50%); }
}
@media (max-width: 520px) {
  .grid { gap: 10px; }
  .menu a { padding: 8px 14px; }
  .filters { flex-wrap: wrap; }
  .filters select { flex: 1 1 33%; }
}

/* product page */
.ptop { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; font-size: 13px; }
.back { color: var(--accent); font-weight: 700; }
.back:hover { text-decoration: underline; }
.pnav { display: flex; gap: 8px; }
.pn { padding: 7px 16px; border-radius: 999px; background: var(--card); border: 1px solid #ECEAE6; }
a.pn:hover { background: var(--pill); }
.pn.off { opacity: .4; }
.pcols { display: grid; grid-template-columns: minmax(0, 54fr) minmax(0, 46fr); gap: 26px; align-items: start; }
.gal { min-width: 0; }
.big { position: relative; border-radius: 18px; overflow: hidden; background: #F2F0EC; cursor: zoom-in; aspect-ratio: var(--pratio, 1 / 1); }
.big img { width: 100%; height: 100%; object-fit: cover; }
.gn { position: absolute; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.92); font-size: 20px; line-height: 38px; }
.gn.p { left: 12px; }
.gn.n { right: 12px; }
.gcount { position: absolute; right: 12px; bottom: 12px; padding: 3px 10px; border-radius: 999px; background: rgba(0,0,0,0.55); color: #fff; font-size: 12px; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.thumbs button { flex: 0 0 72px; height: 72px; border-radius: 10px; overflow: hidden; border: 2px solid transparent; background: #F2F0EC; opacity: .7; }
.thumbs button.on { border-color: var(--accent); opacity: 1; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.info { min-width: 0; background: var(--card); border: 1px solid #F0EEEA; border-radius: 18px; padding: 24px; }
.info h1 { font-family: var(--display); font-weight: 700; font-size: clamp(22px, 2.6vw, 32px); line-height: 1.15; }
.meta { color: var(--muted); margin: 6px 0 18px; }
.lab { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; }
.cols-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 999px; background: var(--panel); border: 1px solid #ECEAE6; font-size: 13px; }
.chip:hover { background: var(--pill); }
.chip i { width: 16px; height: 16px; border-radius: 50%; border: 1px solid rgba(0,0,0,0.15); }
.btns { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.btns a { padding: 11px 22px; border-radius: 999px; font-weight: 700; font-size: 14px; }
.btns .main { background: var(--dl); color: #fff; padding: 12px 34px; }
.btns .get2 { border: 1px solid var(--ink); }
.btns .get2:hover { background: var(--pill); }
.desc { margin-bottom: 20px; }
.more { display: flex; flex-direction: column; gap: 8px; padding-top: 16px; border-top: 1px solid #ECEAE6; }
.more a { color: var(--accent); }
.more a:hover { text-decoration: underline; }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,0.88); display: flex; align-items: center; justify-content: center; padding: 30px; cursor: zoom-out; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox button { position: absolute; top: 14px; right: 20px; color: #fff; font-size: 36px; line-height: 1; }
@media (min-width: 961px) {
  .panel { display: flex; flex-direction: column; }
  .ptop { flex: 0 0 auto; }
  .pcols { flex: 1 1 auto; min-height: 0; grid-template-rows: minmax(0, 1fr); align-items: stretch; }
  .gal { display: flex; flex-direction: column; min-height: 0; }
  .big { flex: 1 1 auto; min-height: 0; aspect-ratio: auto; }
  .thumbs { flex: 0 0 auto; }
  .info { overflow-y: auto; scrollbar-width: thin; }
}
@media (max-width: 960px) {
  .pcols { grid-template-columns: 1fr; }
}

/* prices */
.price { display: flex; justify-content: center; align-items: baseline; gap: 10px; margin: -2px 0 8px; font-size: 12px; }
.price .sim, .prices .sim { color: #2E7D4F; font-weight: 700; }
.price .real, .prices .real { color: var(--muted); }
.prices { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin: -8px 0 18px; }
.prices .sim { font-family: var(--display); font-size: 22px; }
.prices .real { font-size: 15px; }
.prices .store { color: var(--accent); font-size: 13px; }
.prices .store:hover { text-decoration: underline; }
