/* =============================================================================
   Mobishop Diamond — storefront stylesheet.
   Base look after shop.com: an airy off-white page, soft round tiles, a pill
   search, a floating side rail and one big rounded banner. A few ideas from
   startech24: the promise row, category blocks with tabs, "Kurse …" prices.
   Motion is quiet on purpose: things fade and slide a little, nothing spins,
   lifts or bounces on hover.
   Brand colours come from the logo (maroon + red); the admin theme editor can
   override --accent, --sale, --topbar and --r (printed in head.php).
   ============================================================================= */

/* Archivo (headings) and Onest (text): both SIL Open Font License, latin subset */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url('../fonts/archivo-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/onest-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/geist-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --accent: #461a27;          /* brand maroon */
  --sale: #e3060c;            /* brand red */
  --topbar: #461a27;
  --logo-bg: #461a27;         /* the logo's own maroon: stays put when the theme colour changes */
  --accent-soft: #f6eef0;
  --ink: #131316;
  --text: #2e2e34;
  --muted: #6e6e77;
  --line: #ebebee;
  --line-2: #dadade;
  --tile: #f2f2f4;            /* product photo tiles */
  --tile-2: #eaeaee;          /* tiles on hover */
  --bg: #fafafa;
  --ok: #14803d;
  --warn: #b25d00;
  --wa: #25d366;
  --r: 20px;                  /* cards (theme editor) */
  --r-lg: calc(var(--r) + 8px);
  --r-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(19, 19, 22, .05), 0 2px 8px rgba(19, 19, 22, .04);
  --shadow: 0 8px 28px rgba(19, 19, 22, .09);
  --shadow-lg: 0 20px 50px rgba(19, 19, 22, .16);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: 'Onest', 'Geist', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-head: 'Archivo', 'Onest', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --container: 1480px;
  --rail: 0px;                /* room kept free for the floating side rail (set from 1400px up) */
  /* the red outline of the logo, used as a small mark before section titles */
  --mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 230 160'%3E%3Cpath d='M53 43 79 17h101l40 40-90 93-35-36 35 23 77-80-30-31H81z'/%3E%3C/svg%3E");
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.5; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 750; letter-spacing: -.02em; }
h1 { font-size: clamp(26px, 2.2vw + 14px, 36px); }
h2 { font-size: clamp(21px, 1vw + 15px, 25px); }
h3 { font-size: 17px; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
.ico-sprite { display: none; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.lead { font-size: 16px; }

.bi { display: inline-flex; width: 1em; height: 1em; flex: none; }
.bi svg { width: 100%; height: 100%; fill: currentColor; }

/* 3D icons (assets/img/3d/, from 3dicons.co) */
.i3d { display: block; flex: none; object-fit: contain; }

.container { width: 100%; max-width: calc(var(--container) + var(--rail)); margin: 0 auto; padding: 0 20px 0 calc(20px + var(--rail)); }
.page { padding-top: 12px; padding-bottom: 24px; }

/* ---------------------------------------------------------------- motion */
/* Elements with data-reveal fade up once they scroll into view (site.js adds .is-in). */
.js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent; font-weight: 650; font-size: 14.5px; white-space: nowrap; transition: background .15s, border-color .15s, color .15s, filter .15s; }
.btn .bi { font-size: 1.05em; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-lg { height: 52px; padding: 0 26px; font-size: 15.5px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { filter: brightness(1.18); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2b2b30; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #f1f1f4; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { filter: brightness(.94); }

.icon-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 999px; border: 0; background: transparent; color: var(--ink); font-size: 19px; transition: background .15s; }
.icon-btn:hover { background: var(--tile); }
.icon-btn--outline { border: 1px solid var(--line-2); width: 52px; height: 52px; background: #fff; }

/* ------------------------------------------- announcement bar (optional) */
.topbar { background: var(--topbar); color: #f3dfe3; text-align: center; font-size: 12.5px; font-weight: 550; }
.topbar p { margin: 0; padding: 8px 16px; }
.topbar-links { display: none; }
@media (min-width: 900px) {
  .topbar.has-links { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
  .topbar.has-links p { grid-column: 2; }
  .topbar-links { display: flex; justify-self: end; gap: 18px; padding: 0 20px; }
  .topbar-links a { color: inherit; opacity: .85; text-decoration: none; }
  .topbar-links a:hover { opacity: 1; text-decoration: underline; }
}
.page-extra { margin-top: 28px; }

/* ----------------------------------------------------------------- header */
/* like shop.com: no band and no line, the header sits on the page background; once scrolled a light blur keeps it readable */
.site-header { position: sticky; top: 0; z-index: 40; background: transparent; transition: background .25s, box-shadow .25s, backdrop-filter .25s; }
.site-header.is-scrolled { background: color-mix(in srgb, var(--bg) 72%, transparent); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px); box-shadow: 0 10px 30px rgba(19, 19, 22, .06); }
.header-inner { display: grid; grid-template-columns: 1fr minmax(0, 620px) 1fr; align-items: center; gap: 20px; height: 56px; padding: 0 20px; }
.header-inner .logo { justify-self: start; }
.header-inner .actions { justify-self: end; }

.logo { display: inline-flex; align-items: center; gap: 10px; flex: none; color: var(--ink); }
.logo-word { display: flex; flex-direction: column; font-size: 19px; font-weight: 600; line-height: 1; letter-spacing: -.01em; text-transform: uppercase; }
.logo-word b { font-size: 9.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--sale); margin-top: 3px; }
.logo--light { color: #fff; }
.site-header .logo-mark { width: 36px; height: 36px; box-shadow: 0 3px 8px rgba(70, 26, 39, .2); }

/* the logo tile; logo3d.js draws the 3D mark on the canvas and adds .is-3d */
.logo-mark { position: relative; display: block; flex: none; width: var(--s, 46px); height: var(--s, 46px); border-radius: 28%; background: var(--logo-bg); overflow: hidden; box-shadow: 0 6px 16px rgba(70, 26, 39, .22); }
.logo-mark img { width: 100%; height: 100%; object-fit: cover; transition: opacity .5s; }
.logo-mark canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; opacity: 0; transition: opacity .5s; }
.logo-mark.is-3d img { opacity: 0; }
.logo-mark.is-3d canvas { opacity: 1; }
.logo-mark--hero { width: 100%; height: 100%; border-radius: 0; background: none; box-shadow: none; overflow: visible; }
/* until the 3D mark is ready the flat tile shows; its edges are faded out so no square is visible on the slide */
.logo-mark--hero img { object-fit: contain; -webkit-mask-image: radial-gradient(closest-side, #000 62%, transparent 96%); mask-image: radial-gradient(closest-side, #000 62%, transparent 96%); }
@media (pointer: fine) { .logo-mark--hero canvas { cursor: grab; } .logo-mark--hero canvas:active { cursor: grabbing; } }

.searchbar { position: relative; width: 100%; max-width: 620px; margin: 0 auto; }
.searchbar > .bi { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 15px; pointer-events: none; }
.searchbar input { width: 100%; height: 40px; border: 1px solid transparent; border-radius: 999px; background: #fff; padding: 0 18px 0 42px; outline: none; font-size: 14.5px; box-shadow: 0 1px 3px rgba(19, 19, 22, .06), 0 6px 18px rgba(19, 19, 22, .05); transition: box-shadow .2s, border-color .2s; }
.searchbar input:focus { border-color: color-mix(in srgb, var(--accent) 40%, transparent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 9%, transparent), 0 10px 30px rgba(19, 19, 22, .08); }
.searchbar input::placeholder { color: #9a9aa2; }
.searchbar input::-webkit-search-cancel-button { display: none; }
.suggest { position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); padding: 8px; z-index: 50; max-height: 70vh; overflow: auto; }
.suggest a { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 16px; }
.suggest a:hover, .suggest a[aria-selected="true"] { background: var(--tile); }
.suggest img { width: 48px; height: 48px; border-radius: 12px; background: var(--tile); object-fit: contain; }
.suggest .s-name { flex: 1; min-width: 0; font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.suggest .s-name small { display: block; color: var(--muted); font-weight: 500; }
.suggest .s-price { font-weight: 750; color: var(--ink); }
.suggest .s-all { justify-content: center; color: var(--accent); font-weight: 700; }
.suggest .s-empty { padding: 16px; color: var(--muted); text-align: center; }

.actions { display: flex; align-items: center; gap: 8px; flex: none; }
.action { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 40px; min-width: 40px; justify-content: center; padding: 0 10px; border-radius: 999px; background: #fff; box-shadow: var(--shadow-sm); color: var(--ink); font-size: 17px; transition: background .15s; }
.action:hover { background: #f1f1f4; }
.action b { font-size: 13.5px; font-weight: 750; }
.action-cart { padding: 0 14px 0 12px; background: var(--accent); color: #fff; box-shadow: none; transition: filter .15s; }
.action-cart:hover { background: var(--accent); filter: brightness(1.18); }
.badge-count { position: absolute; top: -4px; right: -4px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 99px; background: var(--sale); color: #fff; font-style: normal; font-size: 10.5px; font-weight: 800; display: grid; place-items: center; box-shadow: 0 0 0 2px #fff; }
.badge-count.bump { animation: bump .4s var(--ease); }
@keyframes bump { 40% { transform: scale(1.3); } }
.action-cart .badge-count { left: 22px; right: auto; }

/* category chips (circle icon + label) */
.catnav { display: flex; gap: 2px; padding-bottom: 10px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; justify-content: center; }
.catnav::-webkit-scrollbar { display: none; }
.catnav-item { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 4px; border-radius: 999px; border: 0; background: transparent; font-weight: 600; font-size: 14px; color: var(--ink); white-space: nowrap; transition: background .15s; }
.catnav-item:hover { background: #f1f1f4; }
.catnav-item.is-on { background: #fff; box-shadow: var(--shadow-sm); }
.catnav-ico { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--tile); color: var(--accent); font-size: 15px; flex: none; }
.catnav-ico .i3d { width: 25px; height: 25px; }
.catnav-sale { color: var(--sale); }
.catnav-sale .catnav-ico { background: color-mix(in srgb, var(--sale) 12%, #fff); color: var(--sale); }
.catnav-all { padding: 0 6px; }
.catnav-all .catnav-ico { background: var(--tile); color: var(--ink); }

/* floating side rail (wide screens); the page keeps --rail free on the left for it */
.rail { display: none; }
@media (min-width: 1400px) {
  :root { --rail: 84px; }
  .rail { position: fixed; left: 22px; top: 50%; transform: translateY(-50%); z-index: 45; display: flex; flex-direction: column; gap: 14px; }
  .rail-pill { display: flex; flex-direction: column; gap: 6px; padding: 8px; border-radius: 999px; background: #fff; box-shadow: var(--shadow); }
  .rail-pill a, .rail-pill button { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; color: #55555c; font-size: 19px; transition: background .15s, color .15s; }
  .rail-pill a:hover, .rail-pill button:hover { background: var(--tile); color: var(--ink); }
  .rail-pill .is-on, .rail-pill .is-on:hover { background: var(--accent); color: #fff; }
  .rail-pill .badge-count { top: 2px; right: 2px; }
  .rail [data-tip]::after { content: attr(data-tip); position: absolute; left: calc(100% + 14px); top: 50%; transform: translateY(-50%); padding: 6px 10px; border-radius: 8px; background: var(--ink); color: #fff; font-size: 12.5px; font-weight: 600; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .15s; }
  .rail [data-tip]:hover::after { opacity: 1; }
}

/* bottom tab bar (phones) */
.tabbar { display: none; }

/* categories sheet */
.drawer { position: fixed; inset: 0; z-index: 80; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(19, 19, 22, .45); animation: fade .2s; }
@keyframes fade { from { opacity: 0; } }
.drawer-panel { position: absolute; top: 12px; bottom: 12px; left: 12px; width: min(560px, calc(100vw - 24px)); background: #fff; border-radius: var(--r-lg); overflow: auto; box-shadow: var(--shadow-lg); animation: sheet-in .3s var(--ease); }
@keyframes sheet-in { from { transform: translateX(-24px); opacity: 0; } }
.drawer-head { position: sticky; top: 0; display: flex; justify-content: space-between; align-items: center; padding: 18px 18px 12px 24px; background: #fff; z-index: 1; }
.drawer-head b { font-size: 22px; font-weight: 750; letter-spacing: -.02em; color: var(--ink); }
.drawer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 4px 18px 10px; }
.drawer-cat { display: flex; flex-direction: column; gap: 2px; padding: 14px; border-radius: 18px; background: var(--bg); }
.drawer-cat-head { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.drawer-cat a:not(.drawer-cat-head) { padding: 4px 0 4px 42px; color: var(--muted); font-size: 14px; }
.drawer-cat a:hover { color: var(--accent); }
.drawer-sub { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 18px 22px; }
.drawer-sub a { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 999px; background: var(--tile); font-weight: 600; font-size: 14px; }
.drawer-sub a:hover { background: var(--tile-2); }
.drawer-sale, .drawer-sale:hover { background: var(--sale) !important; color: #fff; }

/* ------------------------------------------------------------------- hero */
.hero { padding-top: 6px; }
/* never taller than what is left under the header, so the banner fits on short laptop screens */
.slider { position: relative; height: clamp(340px, min(30vw, 100vh - 180px), 460px); border-radius: var(--r-lg); overflow: hidden; background: #e9e6e7; isolation: isolate; }
.slide { position: absolute; inset: 0; display: flex; align-items: center; padding: 36px 52px; opacity: 0; visibility: hidden; transition: opacity .7s var(--ease), visibility .7s; }
.slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.slide-bg { position: absolute; inset: 0; z-index: -1; }
.slide-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
/* readable text over photos */
.slide--photo.slide--dark::before { content: ''; position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, rgba(20, 8, 12, .8) 0%, rgba(20, 8, 12, .45) 45%, rgba(20, 8, 12, 0) 75%); }
.slide--photo.slide--light::before { content: ''; position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, rgba(255, 255, 255, .94) 0%, rgba(255, 255, 255, .6) 40%, rgba(255, 255, 255, 0) 64%); }
.slide:not(.slide--photo).slide--dark { background: var(--accent); }
.slide:not(.slide--photo).slide--red { background: var(--sale); }
.slide-copy { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; max-width: 560px; }
/* the first banner's text is visible at once (it is the LCP element); later slides slide their text in */
.slider.is-played .slide-copy > * { opacity: 0; transform: translateY(14px); }
.slider.is-played .slide.is-active .slide-copy > * { animation: rise .6s var(--ease) forwards; }
.slider.is-played .slide.is-active .slide-copy > :nth-child(2) { animation-delay: .06s; }
.slider.is-played .slide.is-active .slide-copy > :nth-child(3) { animation-delay: .12s; }
.slider.is-played .slide.is-active .slide-copy > :nth-child(4) { animation-delay: .18s; }
@keyframes rise { to { opacity: 1; transform: none; } }
.slide-kicker { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sale); margin-bottom: 12px; }
.slide-title { display: block; font-size: clamp(30px, 3.5vw, 54px); font-weight: 800; line-height: 1.02; letter-spacing: -.035em; margin: 0 0 14px; color: var(--ink); text-wrap: balance; }
.slide-text { display: block; font-size: 16.5px; max-width: 460px; margin: 0 0 22px; color: #3a3a40; }
.slide--dark .slide-title, .slide--dark .slide-text { color: #fff; }
.slide--dark .slide-text { opacity: .88; }
.slide--dark .slide-kicker { color: #ffb3b6; }
.slide--dark .btn-primary { background: #fff; color: var(--ink); }
.slide--dark .btn-primary:hover { filter: none; background: #eeeef1; }
.slide-foot { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.slide-price { font-size: 14px; color: var(--muted); }
.slide-price b { font-size: 22px; color: var(--ink); margin-left: 4px; }
.slide--dark .slide-price, .slide--dark .slide-price b { color: #fff; }

/* the shop's own slide: open-now status and address on the left; on the right a scene with the
   logo in 3D and the 3D icons of what the shop sells around it (they drift a little with the mouse) */
.slide--brand { background: var(--logo-bg) !important; }
.slide--brand .slide-copy { max-width: min(560px, 44%); }
.slide--brand::before { content: ''; position: absolute; right: -4%; top: -34%; width: 64%; aspect-ratio: 230 / 160; background: rgba(255, 255, 255, .035); -webkit-mask: var(--mark) center / contain no-repeat; mask: var(--mark) center / contain no-repeat; pointer-events: none; }
.slide--brand::after { content: ''; position: absolute; inset: 0; background: radial-gradient(closest-side at 73% 50%, rgba(255, 255, 255, .11), rgba(255, 255, 255, 0)); pointer-events: none; }
.slide-scene { position: absolute; z-index: 1; top: 0; bottom: 0; right: 0; width: min(54%, 760px); }
.slide-logo { position: absolute; left: 50%; top: 50%; height: 76%; aspect-ratio: 1; transform: translate(-50%, -50%); }
.scene-item { position: absolute; left: var(--x); top: var(--y); height: var(--s); aspect-ratio: 1; transform: translate(calc(var(--mx, 0) * var(--d) * 1px), calc(var(--my, 0) * var(--d) * 1px)); transition: transform .6s var(--ease); }
.scene-item img { width: 100%; height: 100%; filter: drop-shadow(0 16px 18px rgba(0, 0, 0, .3)); }
.scene-item--a { --x: 3%;  --y: 9%;  --s: 31%; --d: 16; }   /* phone */
.scene-item--b { --x: 75%; --y: 4%;  --s: 28%; --d: 24; }   /* headphones */
.scene-item--c { --x: 0%;  --y: 58%; --s: 28%; --d: 26; }   /* camera */
.scene-item--d { --x: 80%; --y: 42%; --s: 25%; --d: 14; }   /* watch */
.scene-item--e { --x: 29%; --y: 77%; --s: 19%; --d: 32; }   /* gaming */
.scene-item--f { --x: 41%; --y: 1%;  --s: 17%; --d: 30; }   /* accessories */
.open-status { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 13px; border-radius: 99px; background: rgba(255, 255, 255, .12); color: #fff; font-size: 13px; font-weight: 600; margin-bottom: 14px; }
.open-status i { width: 8px; height: 8px; border-radius: 50%; background: #ff9a9e; }
.open-status.is-open i { background: #4ade80; animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, .55); } 70%, 100% { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); } }
.slide-where { display: inline-flex; align-items: center; gap: 7px; color: #f1dade; font-weight: 600; font-size: 14.5px; }
.slide-where:hover { color: #fff; text-decoration: underline; }

/* arrows + dots; the active dot stretches into a bar that fills until the next slide */
.slider-ctl { position: absolute; right: 26px; bottom: 26px; z-index: 3; display: flex; align-items: center; gap: 2px; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, .86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.slider-arrow { width: 34px; height: 34px; border: 0; border-radius: 50%; background: transparent; color: var(--ink); display: grid; place-items: center; font-size: 12px; transition: background .15s; }
.slider-arrow:hover { background: rgba(19, 19, 22, .08); }
.slider-dots { display: flex; gap: 6px; padding: 0 6px; }
.slider-dots button { position: relative; width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: rgba(19, 19, 22, .22); overflow: hidden; transition: width .35s var(--ease); }
.slider-dots button[aria-current="true"] { width: 30px; }
.slider-dots i { position: absolute; inset: 0; width: 0; background: var(--ink); border-radius: inherit; }
.slider-dots button[aria-current="true"] i { animation: fill 6.5s linear forwards; }
.slider.is-paused .slider-dots i { animation-play-state: paused; }
@keyframes fill { to { width: 100%; } }

/* the four promises */
.trust-home { padding-top: 16px; }
.trust-foot { margin-top: 24px; }
.trust-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-radius: var(--r); background: #fff; box-shadow: var(--shadow-sm); overflow: hidden; }
.trust-row a { display: flex; align-items: center; gap: 14px; padding: 16px 20px; transition: background .15s; }
.trust-row a + a { box-shadow: -1px 0 0 var(--line); }
.trust-row a:hover { background: #f6f6f8; }
.trust-row a > .bi:first-child { font-size: 22px; color: var(--accent); }
.trust-row .i3d { width: 40px; height: 40px; }
.trust-row span { flex: 1; min-width: 0; font-size: 13px; color: var(--muted); line-height: 1.35; }
.trust-row b { display: block; color: var(--ink); font-size: 14.5px; font-weight: 650; }
.trust-row a > .bi:last-child { font-size: 11px; color: #b9b9c1; }

/* -------------------------------------------------------------- sections */
.section { padding-top: 48px; }
.section--flush { padding-top: 48px; }
.section--alt { background: #fff; padding-bottom: 48px; margin-top: 48px; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.section-head h2 { display: flex; align-items: center; gap: 10px; margin: 0; }
.section-head h2::before { content: ''; flex: none; width: 24px; height: 17px; background: var(--sale); -webkit-mask: var(--mark) center / contain no-repeat; mask: var(--mark) center / contain no-repeat; }
.section-tools { display: flex; align-items: center; gap: 8px; }
.link-more { display: inline-flex; align-items: center; gap: 5px; height: 38px; padding: 0 6px; font-weight: 650; font-size: 14px; color: var(--ink); white-space: nowrap; }
.link-more .bi { font-size: 11px; }
.link-more:hover { text-decoration: underline; }
.rail-btn { width: 38px; height: 38px; border-radius: 50%; border: 0; background: #fff; box-shadow: var(--shadow-sm); display: grid; place-items: center; color: var(--ink); font-size: 13px; transition: background .15s, opacity .15s; }
.rail-btn:hover:not(:disabled) { background: #f1f1f4; }
.rail-btn:disabled { opacity: .35; cursor: default; }

/* categories as circles */
.cat-circles { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 10px; }
.cat-circle { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.cat-circle span { display: grid; place-items: center; width: 100%; max-width: 112px; aspect-ratio: 1; border-radius: 50%; background: var(--tile); color: var(--ink); font-size: 30px; transition: background .2s; }
.cat-circle .i3d { width: 64%; height: auto; filter: drop-shadow(0 8px 10px rgba(19, 19, 22, .14)); }
.cat-circle b { font-size: 13.5px; font-weight: 600; color: var(--ink); line-height: 1.25; }
.cat-circle:hover span { background: var(--tile-2); }
.cat-circle--sale span { background: color-mix(in srgb, var(--sale) 10%, #fff); color: var(--sale); }
.cat-circle--sale:hover span { background: color-mix(in srgb, var(--sale) 18%, #fff); }

/* product rows scroll sideways (arrows in the section head) */
/* overflow-y is hidden on purpose: with overflow-x alone the row would also scroll up and down
   by a few pixels and swallow the mouse wheel — the page is the only thing that scrolls vertically */
.prod-row { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 16px) / 5); gap: 16px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.js .prod-row [data-reveal] { transform: none; }   /* cards in a row only fade in */
.prod-row::-webkit-scrollbar { display: none; }
.prod-row > * { scroll-snap-align: start; }

/* a category block: coloured panel + its products, with subcategory tabs */
.showcase { display: grid; grid-template-columns: 290px minmax(0, 1fr); border-radius: var(--r-lg); background: #f0f0f3; overflow: hidden; }
.showcase-panel { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 28px 26px 26px; background: var(--accent); color: rgba(255, 255, 255, .86); }
.showcase--red .showcase-panel { background: var(--sale); }
.showcase--dark .showcase-panel { background: var(--ink); }
.showcase-kicker { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .85; }
.showcase-panel b { font-size: 27px; line-height: 1.08; letter-spacing: -.025em; color: #fff; font-weight: 800; }
.showcase-text { font-size: 14.5px; margin-bottom: 8px; }
.showcase-panel .btn { height: 40px; padding: 0 16px; font-size: 14px; margin-bottom: 22px; }
.showcase-panel img { margin-top: auto; width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--r-sm); }
.showcase-main { min-width: 0; display: flex; flex-direction: column; gap: 14px; padding: 18px; }
.showcase-tabs { display: flex; gap: 8px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.showcase-tabs::-webkit-scrollbar { display: none; }
.showcase-tabs button { height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: #fff; font-weight: 600; font-size: 14px; color: var(--ink); white-space: nowrap; transition: background .15s, color .15s; }
.showcase-tabs button:hover { background: #f8f8fa; }
.showcase-tabs button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.showcase .prod-row { grid-auto-columns: calc((100% - 3 * 14px) / 4); gap: 14px; }
.showcase .pcard { padding: 8px 8px 14px; border-radius: var(--r); background: #fff; }
.showcase .pcard-media { border-radius: calc(var(--r) - 6px); }
.showcase .pcard-body { padding: 10px 6px 0; }

.strip-banner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 32px 36px; border-radius: var(--r-lg); background: var(--accent); color: #f1dade; }
.strip-banner b { display: block; color: #fff; font-size: 22px; letter-spacing: -.02em; margin-bottom: 4px; }

/* promo: personalised phone cases */
.promo { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 24px; min-height: 340px; padding: 0 56px; border-radius: var(--r-lg); background: var(--accent); color: rgba(255, 255, 255, .86); overflow: hidden; }
.promo-copy { display: flex; flex-direction: column; align-items: flex-start; padding: 44px 0; }
.promo-kicker { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #ffb3b6; margin-bottom: 12px; }
.promo-title { display: block; font-size: clamp(28px, 3.2vw, 44px); font-weight: 800; letter-spacing: -.03em; line-height: 1.04; color: #fff; margin-bottom: 14px; }
.promo-text { display: block; font-size: 16.5px; max-width: 420px; margin-bottom: 26px; }
.promo-media { display: flex; align-items: flex-end; justify-content: center; gap: 18px; align-self: stretch; padding-top: 30px; }
.promo-img { width: 42%; max-width: 230px; border-radius: 18px 18px 0 0; }
.promo-img--2 { margin-bottom: -40px; }   /* sits a step lower than the first */

/* store visit */
.store { display: grid; grid-template-columns: 1.15fr 1fr; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-sm); overflow: hidden; }
.store-photo { min-height: 100%; }
.store-photo img { width: 100%; height: 100%; object-fit: cover; }
.store-copy { padding: 44px 48px; }
.store-copy .promo-kicker { color: var(--sale); }
.store-text { color: var(--muted); font-size: 16px; }
.store-facts { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 14px; }
.store-facts li { display: flex; gap: 14px; align-items: flex-start; }
.store-facts .bi { width: 40px; height: 40px; padding: 11px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); }
.store-facts b { display: block; color: var(--ink); font-size: 14px; }
.store-facts span { color: var(--muted); }
.store-facts a { color: var(--ink); font-weight: 600; }
.store-facts a:hover { text-decoration: underline; }
.store-cta { display: flex; gap: 10px; flex-wrap: wrap; }

/* brand marquee */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 45s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; gap: 14px; padding-right: 14px; }
.marquee-group a { display: grid; place-items: center; height: 64px; padding: 0 34px; font-weight: 750; font-size: 18px; letter-spacing: -.02em; color: #3d3d44; transition: color .15s, opacity .15s; }
.marquee-group a:hover .brand-logo { opacity: .6; }
.brand-logo { display: block; max-width: none; transition: opacity .15s; }
.brand-word { font-weight: 800; letter-spacing: -.02em; color: var(--ink); white-space: nowrap; }
.marquee-group a:hover { color: var(--sale); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* --------------------------------------------------------- product card */
.prod-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 16px; }
.pcard { position: relative; display: flex; flex-direction: column; min-width: 0; }
.pcard-media { position: relative; aspect-ratio: 1; border-radius: var(--r); background: var(--tile); overflow: hidden; transition: background .2s; }
.pcard-media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .5s var(--ease); }
.pcard:hover .pcard-media { background: var(--tile-2); }
.pcard:hover .pcard-media img { transform: scale(1.03); }
.noimg { display: grid; place-items: center; width: 100%; height: 100%; color: #cdcdd5; font-size: 54px; }
/* a product without a photo: its category's 3D icon, smaller than a real photo would be */
.pcard-media .noimg img { width: 42%; height: auto; mix-blend-mode: normal; filter: drop-shadow(0 10px 12px rgba(19, 19, 22, .13)); }
.pcard-off { position: absolute; top: 12px; left: 12px; z-index: 2; display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 99px; background: var(--sale); color: #fff; font-size: 12px; font-weight: 750; }
.pcard-badges { position: absolute; left: 12px; bottom: 12px; z-index: 2; display: flex; flex-wrap: wrap; gap: 5px; max-width: calc(100% - 70px); }
.tag { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 99px; font-size: 12px; font-weight: 650; white-space: nowrap; }
.tag--hot { background: var(--accent); color: #fff; }
.tag--new { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.tag--sale { background: var(--sale); color: #fff; }
.pcard-fav, .pcard-add { position: absolute; z-index: 3; display: grid; place-items: center; border: 0; border-radius: 50%; background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(19, 19, 22, .1); opacity: 0; transition: opacity .2s, color .15s, filter .15s; }
.pcard-fav { top: 10px; right: 10px; width: 36px; height: 36px; font-size: 16px; }
.pcard-add { right: 10px; bottom: 10px; width: 42px; height: 42px; font-size: 17px; background: var(--accent); color: #fff; }
.pcard:hover .pcard-fav, .pcard:hover .pcard-add, .pcard-fav[aria-pressed="true"], .pcard-fav:focus-visible, .pcard-add:focus-visible { opacity: 1; }
.pcard-fav:hover { color: var(--sale); }
.pcard-add:hover { filter: brightness(1.2); }
.pcard-add:disabled { background: #c9c9cf; cursor: not-allowed; filter: none; }
[data-fav] .bi-heart-fill, [data-fav][aria-pressed="true"] .bi-heart { display: none; }
[data-fav][aria-pressed="true"] .bi-heart-fill { display: inline-flex; color: var(--sale); }
.pcard-body { display: flex; flex-direction: column; gap: 2px; padding: 12px 4px 0; }
.pcard-brand { font-size: 12.5px; color: var(--muted); font-weight: 550; }
.pcard-title { color: var(--ink); font-weight: 600; font-size: 14.5px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard-title::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.pcard:hover .pcard-title { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.price { display: flex; flex-direction: column; }
.price b { font-size: 16.5px; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
.price.is-sale b { color: var(--sale); }
.price-was { font-size: 12.5px; color: var(--muted); }
.price-was s { margin-right: 3px; }
.price-save { white-space: nowrap; font-size: .82em; opacity: .9; }
.pcard-price { margin-top: 4px; }
.stock { font-size: 12.5px; color: var(--ok); font-weight: 550; }
.stock--low { color: var(--warn); }
.stock--out { color: var(--muted); }
.pcard .stock { display: none; }
.pcard .stock--low { display: block; }

/* --------------------------------------------------------- breadcrumbs */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 16px; padding: 0; font-size: 13px; color: var(--muted); }
.crumbs li:not(:last-child)::after { content: '/'; margin-left: 6px; color: #c4c4ca; }
.crumbs a:hover { color: var(--accent); }
.crumbs [aria-current] { color: var(--ink); font-weight: 550; }

/* ------------------------------------------------------------- catalog */
.cat-head { margin-bottom: 14px; }
.cat-head h1 { margin-bottom: 4px; }
.cat-head p { margin: 0; }
.chips { display: flex; gap: 8px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; margin-bottom: 20px; padding: 2px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px; border-radius: 999px; background: #fff; box-shadow: var(--shadow-sm); font-weight: 600; font-size: 14px; white-space: nowrap; transition: background .15s, color .15s; }
.chip small { color: var(--muted); }
.chip:hover { background: #f1f1f4; }
.chip.is-on { background: var(--ink); color: #fff; }
.chip.is-on small { color: #b9b9c1; }

.catalog { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 28px; align-items: start; }
.filters { position: sticky; top: 76px; padding: 18px; border-radius: var(--r); background: #fff; box-shadow: var(--shadow-sm); }
.filters-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.filters-head b { font-size: 17px; color: var(--ink); }
.filters-close { display: none; }
.filter-box { border: 0; border-top: 1px solid var(--line); padding: 14px 0; margin: 0; }
.filter-box legend { float: left; width: 100%; padding: 0; margin-bottom: 10px; font-weight: 700; color: var(--ink); }
.filter-box legend + * { clear: both; }
.filter-link { display: flex; justify-content: space-between; padding: 6px 0; }
.filter-link small { color: var(--muted); }
.filter-link:hover { color: var(--accent); }
.price-range { display: flex; align-items: center; gap: 8px; }
.price-range input { width: 100%; height: 42px; border: 1px solid var(--line-2); border-radius: 12px; padding: 0 12px; background: var(--bg); }
.check { display: flex; align-items: center; gap: 10px; padding: 4px 0; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
.filters-actions { display: grid; gap: 8px; border-top: 1px solid var(--line); padding-top: 14px; }
.toolbar { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.filters-open { display: none; }
.sort { margin-left: auto; display: flex; align-items: center; gap: 8px; color: var(--muted); }
.sort select { height: 42px; border: 0; border-radius: 999px; padding: 0 16px; background: #fff; box-shadow: var(--shadow-sm); color: var(--ink); font-weight: 600; }
.catalog-main .prod-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (min-width: 1340px) {
  .prod-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .catalog-main .prod-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 32px; }
.pager a { display: grid; place-items: center; min-width: 42px; height: 42px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); font-weight: 700; }
.pager a.is-on { background: var(--ink); color: #fff; }

.empty { text-align: center; padding: 56px 20px; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-sm); }
.empty > .bi { font-size: 40px; color: var(--accent); margin-bottom: 10px; }
.empty p { color: var(--muted); }
.empty--page { background: transparent; box-shadow: none; padding: 48px 20px 24px; }
.empty-code { display: block; font-size: 96px; font-weight: 900; line-height: 1; letter-spacing: -.05em; color: var(--accent); margin-bottom: 8px; }
.empty-search { display: flex; gap: 8px; max-width: 440px; margin: 0 auto 14px; }
.empty-search input { flex: 1; min-width: 0; height: 48px; border: 0; border-radius: 999px; padding: 0 20px; background: #fff; box-shadow: var(--shadow); }

/* ----------------------------------------------------------- product page */
/* 1. the sheet (photos + buying)  2. sticky section links  3. details with the shop's card beside them  4. help + rows */
.pdp-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.pdp-top .crumbs ol { margin: 0; }
.code-chip { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px; border: 0; border-radius: 99px; background: transparent; color: var(--muted); font-size: 13px; white-space: nowrap; transition: background .15s; }
.code-chip b { color: var(--ink); font-weight: 600; }
.code-chip:hover { background: var(--tile); }

/* --stage: the photo is a square as tall as the screen allows, so the price and the cart button stay in view beside it */
.pdp { --stage: clamp(340px, min(100vh - 204px, 40vw), 620px); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 40px; align-items: start; padding: 20px; border-radius: 30px; background: #fff; box-shadow: var(--shadow-sm); }
.pdp-left { position: sticky; top: 72px; width: calc(var(--stage) + 96px); }
.pdp-gallery { display: grid; gap: 12px; }
.pdp-gallery.has-thumbs { grid-template-columns: 84px minmax(0, 1fr); }
.pdp-thumbs { display: flex; flex-direction: column; gap: 10px; max-height: var(--stage); overflow: hidden; }
.pdp-thumb { flex: none; width: 84px; height: 84px; padding: 0; border: 0; border-radius: 18px; background: var(--tile); overflow: hidden; opacity: .62; transition: opacity .15s; }
.pdp-thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.pdp-thumb:hover { opacity: 1; }
.pdp-thumb[aria-current="true"] { opacity: 1; outline: 2px solid var(--ink); outline-offset: -2px; }
.pdp-photo { position: relative; height: var(--stage); border-radius: 22px; background: var(--tile); overflow: hidden; }
.pdp-photo > img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; cursor: zoom-in; }
.pdp-nophoto { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 24px; }
.pdp-nophoto .i3d { width: min(40%, 230px); height: auto; filter: drop-shadow(0 18px 20px rgba(19, 19, 22, .14)); }
.pdp-nophoto small { display: inline-flex; align-items: center; height: 30px; padding: 0 14px; border-radius: 99px; background: #fff; color: var(--muted); font-size: 12.5px; font-weight: 550; box-shadow: var(--shadow-sm); }
.pdp-flags { position: absolute; top: 16px; left: 16px; display: flex; gap: 6px; }
.pdp-flags .tag { height: 28px; padding: 0 12px; font-size: 13px; }
.pdp-zoom, .pdp-step { position: absolute; display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%; background: #fff; color: var(--ink); font-size: 15px; box-shadow: var(--shadow-sm); transition: background .15s, opacity .15s; }
.pdp-zoom { top: 14px; right: 14px; }
.pdp-zoom:hover, .pdp-step:hover { background: #f1f1f4; }
.pdp-step { top: 50%; margin-top: -21px; opacity: 0; }
.pdp-step--prev { left: 14px; }
.pdp-step--next { right: 14px; }
.pdp-photo:hover .pdp-step, .pdp-step:focus-visible { opacity: 1; }
@media (hover: none) { .pdp-step { opacity: 1; } }
.pdp-count { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 4px; height: 28px; padding: 0 12px; border-radius: 99px; background: rgba(19, 19, 22, .6); color: #fff; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.pdp-count b { font-weight: 650; }

/* the first four specifications, under the photo */
.pdp-facts { list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 10px; margin: 12px 0 0; padding: 0; }
.pdp-facts li { display: flex; flex-direction: column; gap: 3px; min-width: 0; padding: 12px 14px; border-radius: 16px; background: #f7f7f9; }
.pdp-facts span { font-size: 12px; color: var(--muted); }
.pdp-facts b { font-size: 14px; line-height: 1.25; font-weight: 650; color: var(--ink); overflow-wrap: anywhere; }

.buybox { min-width: 0; padding: 8px 12px 8px 0; }
.buybox-head { display: flex; align-items: center; gap: 14px; min-height: 44px; margin-bottom: 12px; }
.buybox-brand { display: inline-flex; align-items: center; transition: opacity .15s; }
.buybox-brand:hover { opacity: .65; }
.buybox-brand .brand-word { font-size: 17px; }
.buybox-cat { padding-left: 14px; border-left: 1px solid var(--line-2); font-size: 13.5px; color: var(--muted); }
.buybox-cat:hover { color: var(--accent); }
.buybox-tools { display: flex; gap: 8px; margin-left: auto; }
.buybox-tools .icon-btn { width: 44px; height: 44px; font-size: 17px; }
.buybox h1 { margin: 0 0 8px; font-size: clamp(24px, 1.2vw + 14px, 34px); line-height: 1.16; letter-spacing: -.025em; }
.pdp-short { max-width: 62ch; margin: 0 0 18px; color: var(--muted); font-size: 15.5px; }

.pdp-price { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; margin-bottom: 18px; padding: 16px 20px; border-radius: 20px; background: #f7f7f9; }
.pdp-price p { margin: 0; }
.pdp-amount { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.pdp-now { font-size: 40px; font-weight: 800; line-height: 1; letter-spacing: -.035em; color: var(--ink); }
.pdp-amount s { font-size: 17px; font-weight: 550; color: var(--muted); }
.pdp-price .pdp-vat { margin-top: 7px; font-size: 12.5px; color: var(--muted); }
.pdp-vat b { font-weight: 650; color: var(--sale); }
.pdp-avail { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; font-size: 13.5px; color: var(--muted); }
.pdp-avail .stock { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 650; }
.pdp-avail .stock::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }

.variant { border: 0; padding: 0; margin: 0 0 16px; }
.variant legend { font-size: 14px; color: var(--muted); margin-bottom: 8px; padding: 0; }
.variant legend b { color: var(--ink); }
.variant-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.variant-opts label { cursor: pointer; }
.variant-opts input { position: absolute; opacity: 0; pointer-events: none; }
.variant-opts span { display: inline-flex; align-items: center; height: 42px; padding: 0 16px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line-2); font-weight: 600; font-size: 14px; transition: box-shadow .15s; }
.variant-opts label:hover span { box-shadow: inset 0 0 0 1px var(--ink); }
.variant-opts input:checked + span { box-shadow: inset 0 0 0 2px var(--ink); }
.variant-opts input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.pdp-actions { display: flex; gap: 10px; margin: 4px 0 10px; }
.pdp-actions .btn { height: 54px; }
.pdp-actions .btn-dark { flex: 1.7; }
.pdp-actions .btn-primary { flex: 1; }
.qty { display: inline-flex; align-items: center; height: 54px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line-2); padding: 0 4px; flex: none; }
.qty button { width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; display: grid; place-items: center; font-size: 13px; }
.qty button:hover { background: var(--tile); }
.qty input { width: 38px; border: 0; text-align: center; font-weight: 700; background: transparent; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty--sm { height: 40px; }
.qty--sm button { width: 32px; height: 32px; }
.qty--sm input { width: 30px; }
/* ordering with a WhatsApp message: a quiet row, not a second big button */
.pdp-wa { display: flex; align-items: center; gap: 12px; height: 50px; padding: 0 18px; border-radius: 999px; background: #eaf8ef; color: #0c5c2c; font-size: 14.5px; transition: background .15s; }
.pdp-wa:hover { background: #dbf2e3; }
.pdp-wa span { flex: 1; min-width: 0; }
.pdp-wa b { font-weight: 700; }
.pdp-wa > .bi:first-child { font-size: 19px; color: #1faa52; }
.pdp-wa > .bi:last-child { font-size: 12px; opacity: .55; }

/* delivery / warranty / payment / pick-up */
.pdp-perks { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); }
.pdp-perks a { display: flex; align-items: center; gap: 12px; height: 100%; padding: 12px 14px; border-radius: 18px; background: #f7f7f9; font-size: 13px; line-height: 1.35; color: var(--muted); transition: background .15s; }
.pdp-perks a:hover { background: #efeff2; }
.pdp-perks .i3d { flex: none; width: 40px; height: 40px; }
.pdp-perks span { min-width: 0; }
.pdp-perks b { display: block; font-size: 14.5px; font-weight: 650; color: var(--ink); }

/* section links: stay under the header; with .is-buy they also show the price and the cart button */
.pdp-nav { position: sticky; top: 64px; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; margin-top: 28px; padding: 8px; border-radius: 999px; background: #fff; box-shadow: var(--shadow-sm); transition: box-shadow .2s; }
.pdp-nav.is-stuck { box-shadow: var(--shadow); }
.pdp-nav-links { display: flex; gap: 4px; min-width: 0; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.pdp-nav-links::-webkit-scrollbar { display: none; }
.pdp-nav-links a { display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border-radius: 999px; font-size: 14.5px; font-weight: 600; color: var(--text); white-space: nowrap; transition: background .15s, color .15s; }
.pdp-nav-links a:hover { background: var(--tile); }
.pdp-nav-links a.is-on { background: var(--ink); color: #fff; }
.pdp-nav-buy { display: flex; align-items: center; gap: 12px; flex: none; opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
.pdp-nav.is-buy .pdp-nav-buy { opacity: 1; visibility: visible; }
.pdp-nav-img { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--tile); overflow: hidden; }
.pdp-nav-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.pdp-nav-img .i3d { width: 28px; height: 28px; mix-blend-mode: normal; }
.pdp-nav-text { display: flex; flex-direction: column; min-width: 0; max-width: 280px; line-height: 1.25; }
.pdp-nav-text small { font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pdp-nav-text b { font-size: 15.5px; color: var(--ink); }
.pdp-nav-buy .btn { height: 40px; padding: 0 18px; font-size: 14px; }

/* details on the left, the shop on the right */
.pdp-body { display: grid; grid-template-columns: minmax(0, 1fr) 372px; gap: 44px; align-items: start; }
.pdp-sec { padding-top: 44px; scroll-margin-top: 92px; }
.pdp-sec > h2 { font-size: clamp(21px, .8vw + 14px, 26px); letter-spacing: -.02em; margin-bottom: 16px; }
.pdp-desc { max-width: 78ch; margin: 0; font-size: 16px; line-height: 1.7; color: #3a3a40; }
.spec-list { margin: 0; border-radius: var(--r); background: #fff; box-shadow: var(--shadow-sm); overflow: hidden; }
.spec-list div { display: grid; grid-template-columns: minmax(130px, 270px) minmax(0, 1fr); gap: 16px; padding: 13px 22px; }
.spec-list div:nth-child(odd) { background: #f8f8fa; }
.spec-list dt { color: var(--muted); }
.spec-list dd { margin: 0; font-weight: 600; color: var(--ink); }
.info-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.info-card { display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: var(--r); background: #fff; box-shadow: var(--shadow-sm); font-size: 14px; line-height: 1.5; color: var(--muted); }
.info-card .i3d { width: 52px; height: 52px; margin-bottom: 6px; }
.info-card b { font-size: 16px; color: var(--ink); }
.info-card:hover b { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; }
.faq { display: grid; gap: 10px; }
.faq details { border-radius: var(--r); background: #fff; box-shadow: var(--shadow-sm); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; font-weight: 650; color: var(--ink); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .bi { font-size: 13px; color: var(--muted); transition: transform .2s; }
.faq details[open] summary .bi { transform: rotate(180deg); }
.faq p { margin: 0; padding: 0 22px 20px; max-width: 900px; color: #3a3a40; }

/* the last box of the side column follows the reader down the page */
.pdp-aside { align-self: stretch; display: flex; flex-direction: column; gap: 16px; padding-top: 44px; }
.pdp-aside > :last-child { position: sticky; top: 136px; }
.shop-card { border-radius: 24px; background: #fff; box-shadow: var(--shadow-sm); overflow: hidden; }
.shop-card-photo { display: block; width: 100%; height: 168px; object-fit: cover; }
.shop-card-body { padding: 18px 20px 20px; }
.shop-card-name { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 4px 10px; margin: 0 0 12px; }
.shop-card-name b { font-size: 17px; letter-spacing: -.01em; color: var(--ink); }
.shop-open { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.shop-open::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #c4c4cc; }
.shop-open.is-open { color: var(--ok); }
.shop-open.is-open::before { background: #22c55e; }
.shop-card ul { list-style: none; display: grid; gap: 9px; margin: 0 0 16px; padding: 0; font-size: 14px; color: var(--text); }
.shop-card li { display: flex; align-items: center; gap: 10px; }
.shop-card li .bi { flex: none; font-size: 15px; color: var(--muted); }
.shop-card li a:hover { text-decoration: underline; text-underline-offset: 3px; }
.shop-card-btns { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.shop-card-btns .btn { padding: 0 16px; }

/* compact product rows: "more from this brand", "recently viewed" */
.mini-box { padding: 16px 10px 10px; border-radius: 24px; background: #fff; box-shadow: var(--shadow-sm); }
.mini-box-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 0 10px 8px; }
.mini-box-head b { font-size: 16px; letter-spacing: -.01em; color: var(--ink); }
.mini-box-head a { font-size: 13px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.mini-box-head a:hover { color: var(--accent); }
.mini { display: flex; align-items: center; gap: 12px; padding: 8px 10px 8px 8px; border-radius: 16px; transition: background .15s; }
.mini:hover { background: #f5f5f7; }
.mini-img { display: grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: 14px; background: var(--tile); overflow: hidden; }
.mini-img > img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.mini-img .noimg { font-size: 22px; }
.mini-img .noimg img { width: 38px; height: 38px; filter: none; mix-blend-mode: normal; }
.mini-text { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; font-size: 13.5px; line-height: 1.3; color: var(--text); }
.mini-text > span { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.mini-text b { font-size: 14.5px; color: var(--ink); }
.mini-text s { margin-left: 6px; font-size: 12.5px; font-weight: 500; color: var(--muted); }
.mini > .bi { flex: none; font-size: 11px; color: #b9b9c1; }
.mini-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.mini-grid .mini { padding: 10px 12px 10px 10px; border-radius: 18px; background: #fff; box-shadow: var(--shadow-sm); }
.mini-grid .mini:hover { background: #f7f7f9; }

.help-bar { display: flex; align-items: center; gap: 16px; margin-top: 48px; padding: 22px 26px; border-radius: var(--r); background: #f0f0f3; }
.help-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 19px; flex: none; }
.help-bar > span:nth-child(2) { flex: 1; min-width: 0; color: var(--muted); font-size: 14px; }
.help-bar b { display: block; color: var(--ink); font-size: 17px; letter-spacing: -.01em; }

/* photo viewer */
.lightbox { padding: 0; border: 0; background: transparent; max-width: 96vw; max-height: 96vh; overflow: visible; }
.lightbox::backdrop { background: rgba(19, 19, 22, .82); }
.lightbox img { display: block; max-width: 92vw; max-height: 92vh; border-radius: var(--r); background: #fff; }
.lightbox .icon-btn { position: fixed; top: 16px; right: 16px; background: #fff; }

.buybar { display: none; }

/* ------------------------------------------------------------------ dropdown */
/* Every <select> gets this look (built by site.js). The native element stays in the form, hidden,
   so values, validation and change events keep working; without JS it is simply the native select. */
.dd { position: relative; }
.dd-native { position: absolute; left: 0; bottom: 0; width: 100%; height: 1px !important; min-height: 0 !important; padding: 0 !important; opacity: 0; pointer-events: none; }
.dd-btn { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 50px; padding: 0 14px 0 16px; border: 0; border-radius: 14px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink); font-weight: 500; text-align: left; transition: box-shadow .15s, background .15s; }
.dd-btn:hover { box-shadow: inset 0 0 0 1px #b4b4bd; }
.dd-btn:focus-visible, .dd.is-open .dd-btn { outline: none; background: #fff; box-shadow: inset 0 0 0 2px var(--ink); }
.dd-btn.is-placeholder .dd-value { color: var(--muted); font-weight: 400; }
.dd-value { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dd-btn .bi { flex: none; font-size: 12px; color: var(--muted); transition: transform .2s; }
.dd.is-open .dd-btn .bi { transform: rotate(180deg); }
.dd-list { position: absolute; z-index: 45; top: calc(100% + 6px); left: 0; min-width: 100%; max-height: 300px; margin: 0; padding: 6px; list-style: none; border-radius: 16px; background: #fff; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(19, 19, 22, .06); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; animation: dd-in .14s var(--ease); }
.dd--up .dd-list { top: auto; bottom: calc(100% + 6px); }
.dd--right .dd-list { left: auto; right: 0; }
.dd-opt { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 42px; padding: 0 12px; border-radius: 10px; font-size: 14.5px; font-weight: 500; color: var(--text); white-space: nowrap; cursor: pointer; }
.dd-opt .bi { flex: none; font-size: 14px; color: var(--sale); visibility: hidden; }
.dd-opt[aria-selected="true"] { font-weight: 650; color: var(--ink); }
.dd-opt[aria-selected="true"] .bi { visibility: visible; }
.dd-opt.is-active { background: var(--tile); }
.field.is-invalid .dd-btn { box-shadow: inset 0 0 0 2px var(--sale); }
@keyframes dd-in { from { opacity: 0; transform: translateY(-4px); } }
/* the pill version, in the catalog toolbar */
.sort .dd-btn { width: auto; min-height: 42px; padding: 0 14px 0 18px; border-radius: 999px; background: #fff; box-shadow: var(--shadow-sm); font-weight: 600; }
.sort .dd-btn:hover { box-shadow: var(--shadow-sm), 0 0 0 1px var(--line-2); }
.sort .dd-btn:focus-visible, .sort .dd.is-open .dd-btn { box-shadow: var(--shadow-sm), 0 0 0 2px var(--ink); }

/* ------------------------------------------------------------ cart / checkout */
.cart, .checkout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; }
.cart-skeleton { height: 180px; border-radius: var(--r); background: var(--tile); }
.cart-line { display: grid; grid-template-columns: 104px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 14px; margin-bottom: 12px; border-radius: var(--r); background: #fff; box-shadow: var(--shadow-sm); }
.cart-line-img { width: 104px; height: 104px; border-radius: 16px; background: var(--tile); overflow: hidden; }
.cart-line-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.cart-line-name { font-weight: 700; color: var(--ink); }
.cart-line-name:hover { text-decoration: underline; }
.cart-line-var { display: block; font-size: 13px; color: var(--muted); margin: 2px 0 10px; }
.cart-line-ctl { display: flex; align-items: center; gap: 14px; }
.cart-line-rm { border: 0; background: none; color: var(--muted); display: inline-flex; align-items: center; gap: 5px; font-size: 13px; padding: 0; }
.cart-line-rm:hover { color: var(--sale); }
.cart-line-total { text-align: right; padding-right: 6px; }
.cart-line-total b { display: block; font-size: 17px; color: var(--ink); }
.cart-line-total small { color: var(--muted); }

.summary { position: sticky; top: 76px; border-radius: var(--r-lg); padding: 24px; background: #fff; box-shadow: var(--shadow); }
.summary h2 { font-size: 19px; }
.summary dl { margin: 0 0 12px; }
.summary dl div { display: flex; justify-content: space-between; padding: 8px 0; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; font-weight: 650; color: var(--ink); }
.summary-total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 14px !important; }
.summary-total dt { color: var(--ink); font-weight: 700; }
.summary-total dd { font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.free-note { font-size: 13.5px; padding: 12px 14px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); font-weight: 550; }
.free-note:empty { display: none; }
.summary .btn { margin-top: 8px; }
.summary-perks { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; font-size: 13px; color: var(--muted); }
.summary-perks li { display: flex; gap: 8px; align-items: center; }
.summary-perks .bi { color: var(--ok); }

.mini-lines { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 12px; max-height: 320px; overflow: auto; }
.mini-lines li { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; font-size: 13.5px; }
.mini-lines img { width: 56px; height: 56px; border-radius: 14px; background: var(--tile); object-fit: contain; }
.mini-lines b { color: var(--ink); }
.mini-lines small { display: block; color: var(--muted); }

.panel { border-radius: var(--r-lg); padding: 26px; background: #fff; box-shadow: var(--shadow-sm); margin-bottom: 16px; }
.panel h2 { display: flex; align-items: center; gap: 12px; font-size: 19px; margin-bottom: 18px; }
.step { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 13px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--wide { grid-column: 1 / -1; }
.field > span { font-size: 13.5px; font-weight: 650; color: var(--ink); }
.field small { color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; border: 0; border-radius: 14px; padding: 12px 16px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow .15s, background .15s; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; box-shadow: inset 0 0 0 2px var(--ink); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { box-shadow: inset 0 0 0 2px var(--sale); }
.choice-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.choice { cursor: pointer; }
.choice input { position: absolute; opacity: 0; }
.choice > span { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; padding: 16px; border-radius: 16px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line-2); height: 100%; transition: box-shadow .15s, background .15s; }
.choice .bi { grid-row: span 2; font-size: 22px; color: var(--muted); }
.choice b { color: var(--ink); }
.choice small { color: var(--muted); font-size: 12.5px; }
.choice input:checked + span { box-shadow: inset 0 0 0 2px var(--ink); background: #fff; }
.choice input:checked + span .bi { color: var(--accent); }
.choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.choice input:disabled + span { opacity: .45; cursor: not-allowed; }
.check--terms { margin: 4px 0 6px; }
.check--terms a { color: var(--accent); text-decoration: underline; }
.form-error { color: var(--sale); font-weight: 650; font-size: 13.5px; margin: 6px 0; }

.done { text-align: center; padding: 56px 20px; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow); }
.done--inline { padding: 24px 10px; box-shadow: none; }
.done-ico { font-size: 56px; color: var(--ok); display: inline-flex; margin-bottom: 10px; }
.done-actions { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 18px; }

/* ---------------------------------------------------------- service page */
.page-hero { padding-top: 8px; }
.page-hero-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; border-radius: var(--r-lg); padding: 28px 40px 40px; background: var(--accent); color: #f1dade; }
.page-hero .crumbs ol, .page-hero .crumbs [aria-current] { color: #e4bfc6; }
.page-hero .crumbs a:hover { color: #fff; }
.page-hero h1 { color: #fff; max-width: 680px; margin-top: 18px; font-size: clamp(30px, 3vw + 14px, 48px); letter-spacing: -.03em; }
.page-hero p { max-width: 560px; font-size: 16.5px; }
.page-hero-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.page-hero .btn-primary { background: #fff; color: var(--ink); }
.page-hero .btn-primary:hover { filter: none; background: #eeeef1; }
.hero-stats { display: grid; gap: 10px; list-style: none; padding: 0; margin: 0; flex: none; }
.hero-stats li { padding: 14px 22px; border-radius: 18px; background: rgba(255, 255, 255, .1); }
.hero-stats b { display: block; color: #fff; font-size: 22px; letter-spacing: -.02em; }
.hero-stats span { font-size: 13px; }
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.service { display: flex; flex-direction: column; padding: 24px; border-radius: var(--r); background: #fff; box-shadow: var(--shadow-sm); }
.service-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: 22px; margin-bottom: 14px; }
.service p { color: var(--muted); font-size: 14px; flex: 1; }
.service-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; }
.service-foot b { color: var(--ink); font-size: 16px; }
.service-foot span { display: inline-flex; gap: 5px; align-items: center; color: var(--muted); }
.service-form-wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
.section--alt .panel { background: var(--bg); }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 22px 0 0; display: grid; gap: 16px; }
.steps li { counter-increment: s; position: relative; padding-left: 56px; color: var(--muted); }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 800; }
.steps b { display: block; color: var(--ink); }

/* -------------------------------------------------------- contact / prose */
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 22px 0; }
.contact-card { display: flex; flex-direction: column; gap: 2px; padding: 24px; border-radius: var(--r); background: #fff; box-shadow: var(--shadow-sm); transition: box-shadow .2s; }
.contact-card .bi { width: 46px; height: 46px; padding: 12px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); margin-bottom: 12px; }
.contact-card b { color: var(--ink); }
.contact-card span { color: var(--muted); }
a.contact-card:hover { box-shadow: var(--shadow); }
.contact-card--wa .bi { background: #e3f9ea; color: #16a34a; }
.map-link { display: flex; align-items: center; gap: 16px; padding: 22px 26px; border-radius: var(--r); background: var(--accent); color: #f1dade; transition: filter .15s; }
.map-link:hover { filter: brightness(1.15); }
.map-link .bi { font-size: 22px; }
.map-link span { flex: 1; }
.map-link b { display: block; color: #fff; }
.prose { max-width: 820px; font-size: 15.5px; }
.prose h2 { margin-top: 1.6em; scroll-margin-top: 76px; }
.prose p { color: #3a3a40; }

/* ----------------------------------------------------------------- footer */
.sfoot { position: relative; margin: 32px 12px 12px; border-radius: var(--r-lg); background: var(--accent); color: #e4c5cb; overflow: hidden; }
.sfoot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 32px; padding-top: 56px; padding-bottom: 24px; }
.sfoot-about p { margin: 18px 0; max-width: 320px; font-size: 14.5px; }
.sfoot .logo-mark { box-shadow: 0 0 0 1px rgba(255, 255, 255, .14); }
.sfoot-social { display: flex; gap: 8px; }
.sfoot-social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; font-size: 17px; transition: background .15s; }
.sfoot-social a:hover { background: var(--sale); }
.sfoot-col { display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; }
.sfoot-col h2 { font-size: 14px; letter-spacing: .04em; color: #fff; margin-bottom: 6px; }
.sfoot-col a:hover { color: #fff; }
.sfoot-contact > a, .sfoot-contact > span { display: flex; gap: 10px; align-items: flex-start; }
.sfoot-contact .bi { margin-top: 3px; color: #ff8a8e; }
.sfoot-word { font-size: clamp(36px, 8.6vw, 150px); font-weight: 900; letter-spacing: -.05em; line-height: .8; color: rgba(255, 255, 255, .06); white-space: nowrap; text-align: center; user-select: none; margin-top: 10px; }
.sfoot-bottom { border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; }
.sfoot-bottom-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 18px; }
.sfoot-bottom-inner { padding-right: 92px; }
.sfoot-legal { display: flex; gap: 20px; flex-wrap: wrap; }
.sfoot-legal a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.whatsapp-float { position: fixed; right: 20px; bottom: 20px; z-index: 30; width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; font-size: 27px; box-shadow: 0 8px 22px rgba(37, 211, 102, .4); transition: filter .15s; }
.whatsapp-float:hover { filter: brightness(1.07); }

.toast { position: fixed; left: 50%; bottom: 26px; z-index: 90; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; max-width: calc(100vw - 32px); padding: 10px 10px 10px 18px; border-radius: 999px; background: var(--ink); color: #fff; box-shadow: var(--shadow-lg); font-weight: 600; font-size: 14px; animation: toast-in .3s var(--ease); }
.toast .bi { color: #5fd38d; font-size: 18px; }
.toast a { padding: 8px 14px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 700; white-space: nowrap; }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 12px); } }

/* ------------------------------------------------------------- responsive */
@media (max-width: 1200px) {
  .pdp { gap: 28px; }
  .pdp-body { grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; }
  .mini-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .prod-row { grid-auto-columns: calc((100% - 3 * 16px) / 4); }
  .showcase { grid-template-columns: 250px minmax(0, 1fr); }
  .showcase .prod-row { grid-auto-columns: calc((100% - 2 * 14px) / 3); }
  .prod-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catnav { justify-content: flex-start; }
}

@media (max-width: 980px) {
  .container { padding: 0 18px; }
  .header-inner { grid-template-columns: 1fr auto; height: auto; padding: 8px 18px; gap: 8px 12px; }
  .searchbar { grid-column: 1 / -1; grid-row: 2; max-width: none; }
  .searchbar input { height: 40px; }
  .actions { margin-left: auto; }
  .action-cart b { display: none; }
  .action-cart { padding: 0 14px; }
  .catnav { padding-bottom: 10px; }
  .slide { padding: 30px 32px; }
  .slide-scene { width: 50%; }
  .slide--brand .slide-copy { max-width: 48%; }
  .scene-item--e, .scene-item--f { display: none; }
  .trust-row { grid-template-columns: 1fr 1fr; }
  .trust-row a + a { box-shadow: none; }
  .trust-row a:nth-child(even) { box-shadow: -1px 0 0 var(--line); }
  .trust-row a:nth-child(n+3) { border-top: 1px solid var(--line); }
  .cat-circles { display: flex; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; margin-right: -18px; padding-right: 18px; }
  .cat-circles::-webkit-scrollbar { display: none; }
  .cat-circle { flex: 0 0 88px; }
  .showcase { grid-template-columns: minmax(0, 1fr); }
  .showcase-panel { display: grid; grid-template-columns: minmax(0, 1fr) 120px; column-gap: 16px; align-items: center; padding: 22px; }
  .showcase-panel > * { grid-column: 1; }
  .showcase-panel img { grid-column: 2; grid-row: 1 / span 4; margin: 0; aspect-ratio: 1; }
  .showcase-panel .btn { margin-bottom: 0; justify-self: start; }
  .showcase .prod-row { grid-auto-columns: calc((100% - 2 * 14px) / 3); }
  .catalog { grid-template-columns: minmax(0, 1fr); }
  .filters { position: fixed; inset: 12px auto 12px 12px; z-index: 85; width: min(340px, calc(100vw - 24px)); padding: 20px; overflow: auto; transform: translateX(-110%); transition: transform .3s var(--ease); box-shadow: var(--shadow-lg); border-radius: var(--r-lg); }
  .filters.is-open { transform: none; }
  .filters-close, .filters-open { display: inline-flex; }
  .pdp { grid-template-columns: minmax(0, 1fr); gap: 22px; padding: 14px; border-radius: 26px; }
  .pdp-left { position: static; width: auto; }
  .pdp-gallery.has-thumbs { grid-template-columns: minmax(0, 1fr); }
  .pdp-thumbs { order: 2; flex-direction: row; max-height: none; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
  .pdp-thumb { width: 68px; height: 68px; border-radius: 14px; }
  .pdp-photo { height: auto; aspect-ratio: 1; max-height: 560px; }
  .pdp-photo:has(.pdp-nophoto) { aspect-ratio: 3 / 2; }
  .buybox { padding: 0 4px 6px; }
  .pdp-nav { position: static; }
  .pdp-nav-buy { display: none; }
  .pdp-body { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .pdp-aside { padding-top: 32px; }
  .pdp-aside > :last-child { position: static; }
  .mini-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .help-bar { flex-wrap: wrap; }
  .cart, .checkout { grid-template-columns: minmax(0, 1fr); }
  .summary { position: static; }
  .promo { grid-template-columns: minmax(0, 1fr); padding: 0 28px; gap: 0; }
  .promo-copy { padding: 36px 0 0; }
  .store { grid-template-columns: minmax(0, 1fr); }
  .store-photo { aspect-ratio: 16 / 10; }
  .store-copy { padding: 30px 26px; }
  .sfoot-grid { grid-template-columns: 1fr 1fr; }
  .service-form-wrap { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .page-hero-inner { flex-direction: column; align-items: stretch; padding: 24px 26px 30px; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr 1fr; }

  /* phones and tablets get the app-style bottom tab bar */
  .tabbar { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 60; display: grid; grid-template-columns: repeat(5, 1fr); padding: 6px; border-radius: 26px; background: rgba(255, 255, 255, .94); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 10px 34px rgba(19, 19, 22, .16); }
  .tabbar a, .tabbar button { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 7px 0 6px; border: 0; border-radius: 20px; background: transparent; color: #5c5c64; font-size: 20px; }
  .tabbar span { font-size: 10.5px; font-weight: 650; }
  .tabbar .is-on { color: var(--accent); background: var(--accent-soft); }
  .tabbar .badge-count { top: 2px; right: calc(50% - 22px); }
  body { padding-bottom: 92px; }
  .whatsapp-float { bottom: 100px; }
  .toast { bottom: 104px; }
  .buybar { position: fixed; left: 10px; right: 10px; bottom: calc(86px + env(safe-area-inset-bottom)); z-index: 55; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 18px; border-radius: 22px; background: #fff; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity .25s, transform .3s var(--ease), visibility .25s; }
  .buybar.is-on { opacity: 1; visibility: visible; transform: none; }
  .buybar div { min-width: 0; }
  .buybar small { display: block; color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .buybar b { color: var(--ink); font-size: 17px; }
  body:has(.buybar.is-on) .whatsapp-float { opacity: 0; pointer-events: none; }
  /* no hover on touch: the card buttons are always there */
  .pcard-fav, .pcard-add { opacity: 1; }
}

@media (max-width: 680px) {
  body { font-size: 14.5px; }
  .container { padding: 0 14px; }
  .header-inner { padding-left: 14px; padding-right: 14px; }
  .logo-word { font-size: 18px; }
  .logo-word b { font-size: 9px; }
  .catnav-item { height: 40px; font-size: 13.5px; }
  .catnav-ico { width: 30px; height: 30px; font-size: 13px; }
  .catnav-ico .i3d { width: 23px; height: 23px; }
  .slider { height: 552px; border-radius: 24px; }   /* 15% taller than before (480px) */
  .slide { align-items: flex-end; padding: 26px 22px 70px; }
  .slide--brand .slide-copy { max-width: none; }
  .slide-scene { left: 0; width: 100%; bottom: auto; height: 168px; }
  .slide-logo { height: 88%; }
  .scene-item--a { --x: 6%;  --y: 12%; --s: 42%; }
  .scene-item--b { --x: 74%; --y: 8%;  --s: 38%; }
  .scene-item--c { --x: 22%; --y: 62%; --s: 30%; }
  .scene-item--d { --x: 66%; --y: 58%; --s: 31%; }
  .slide--photo.slide--light::before { background: linear-gradient(0deg, rgba(255, 255, 255, .97) 0%, rgba(255, 255, 255, .86) 42%, rgba(255, 255, 255, 0) 72%); }
  .slide--photo.slide--dark::before { background: linear-gradient(0deg, rgba(20, 8, 12, .88) 0%, rgba(20, 8, 12, .5) 48%, rgba(20, 8, 12, 0) 78%); }
  .slide-bg img { object-position: center; }
  .slide-title { font-size: 34px; }
  .slide-text { font-size: 15px; margin-bottom: 20px; }
  .slide-price { display: none; }
  .slide-foot { gap: 14px; }
  .slide--brand::before { display: none; }
  .slide--brand::after { background: radial-gradient(closest-side at 50% 22%, rgba(255, 255, 255, .11), rgba(255, 255, 255, 0)); }
  .open-status { margin-bottom: 12px; }
  .slider-ctl { right: 50%; bottom: 18px; transform: translateX(50%); }
  .slider-arrow { display: none; }
  .slider-dots { padding: 6px 8px; }
  .trust-row a { padding: 12px 14px; gap: 10px; }
  .trust-row .i3d { width: 34px; height: 34px; }
  .trust-row a > .bi:last-child { display: none; }
  .trust-row b { font-size: 13.5px; }
  .trust-row span { font-size: 12px; }
  .section { padding-top: 36px; }
  .section-head h2 { font-size: 20px; }
  .section-head h2::before { width: 20px; height: 14px; }
  .rail-btn { display: none; }
  .cat-circles { margin-right: -14px; padding-right: 14px; gap: 8px; }
  .cat-circle { flex-basis: 76px; }
  .cat-circle span { font-size: 24px; }
  .cat-circle b { font-size: 12.5px; }
  .prod-row, .showcase .prod-row { grid-auto-columns: 46%; gap: 12px; }
  .prod-row { margin-right: -14px; padding-right: 14px; }
  .showcase { border-radius: 24px; }
  .showcase-main { padding: 14px; }
  .showcase-panel { grid-template-columns: minmax(0, 1fr) 96px; padding: 20px; }
  .showcase-panel b { font-size: 22px; }
  .showcase-text { display: none; }
  .prod-grid, .catalog-main .prod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
  .pcard-add { width: 38px; height: 38px; }
  .pcard-title { font-size: 13.5px; }
  .price b { font-size: 15.5px; }
  .noimg { font-size: 44px; }
  .strip-banner { flex-direction: column; align-items: flex-start; padding: 26px; }
  .promo { padding: 0 22px; min-height: 0; }
  .promo-img { width: 46%; }
  .marquee-group a { height: 52px; padding: 0 22px; font-size: 16px; }
  .marquee .brand-logo { transform: scale(.86); }
  .toolbar { flex-wrap: wrap; }
  .sort > span { display: none; }
  .pdp-top .code-chip { display: none; }
  .pdp { margin: 0 -6px; padding: 10px; border-radius: 22px; }
  .pdp-photo { border-radius: 16px; }
  .buybox h1 { font-size: 23px; }
  .pdp-now { font-size: 32px; }
  .pdp-price { padding: 14px 16px; }
  .pdp-avail { flex-direction: row; align-items: center; gap: 12px; }
  .pdp-actions { flex-wrap: wrap; }
  .pdp-actions .btn-dark { flex: 1 1 0; padding: 0 14px; }
  .pdp-actions .btn-primary { flex: 1 1 100%; }
  .pdp-wa { font-size: 13.5px; }
  .pdp-perks { grid-template-columns: minmax(0, 1fr); }
  .pdp-facts { grid-auto-flow: row; grid-template-columns: 1fr 1fr; }
  .pdp-nav { margin-top: 20px; border-radius: 20px; }
  .pdp-nav-links a { padding: 0 14px; font-size: 14px; }
  .pdp-sec { padding-top: 36px; }
  .spec-list div { grid-template-columns: 1fr 1fr; padding: 12px 16px; }
  .info-cards { grid-template-columns: minmax(0, 1fr); }
  .mini-grid { grid-template-columns: minmax(0, 1fr); }
  .dd-list { max-height: 260px; }
  .faq summary { padding: 16px 18px; }
  .faq p { padding: 0 18px 18px; }
  .help-bar { padding: 20px 18px; }
  .help-bar .btn { flex: 1; }
  .cart-line { grid-template-columns: 80px minmax(0, 1fr); }
  .cart-line-img { width: 80px; height: 80px; }
  .cart-line-total { grid-column: 2; text-align: left; }
  .form-grid, .choice-list { grid-template-columns: minmax(0, 1fr); }
  .service-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-stats li { padding: 10px 12px; }
  .hero-stats b { font-size: 17px; }
  .trust-foot { margin-top: 20px; }
  .sfoot { margin: 24px 8px 8px; }
  .sfoot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 16px; padding-top: 40px; }
  .sfoot-contact { grid-column: 1 / -1; }
  .sfoot-contact a span { overflow-wrap: anywhere; }
  .pcard-badges { max-width: calc(100% - 56px); }
  .pcard-badges .tag { height: 22px; padding: 0 8px; font-size: 11px; }
  .sfoot-about { grid-column: 1 / -1; }
  .whatsapp-float { width: 42px; height: 42px; font-size: 20px; right: 12px; bottom: 92px; box-shadow: 0 4px 12px rgba(37, 211, 102, .35); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}

/* coupon at checkout */
.coupon { display: flex; gap: 8px; margin: 4px 0 6px; }
.coupon input { flex: 1; min-width: 0; height: 44px; border: 0; border-radius: 999px; padding: 0 16px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line-2); text-transform: uppercase; }
.coupon input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--ink); background: #fff; }
.coupon .btn { height: 44px; }
.coupon-msg { margin: 0 0 10px; font-size: 13px; color: var(--sale); }
.coupon-msg.is-ok { color: var(--ok); }

/* small phones (≤ 380px): product page header row and shop card buttons fit the width */
@media (max-width: 380px) {
  .buybox-head { gap: 10px; }
  .buybox-cat { min-width: 0; padding-left: 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .buybox-tools { gap: 6px; flex-shrink: 0; }
  .buybox-tools .icon-btn { width: 40px; height: 40px; }
  .shop-card-btns { grid-template-columns: minmax(0, 1fr); }
}

/* product without a photo in the cart, checkout summary and search suggestions: its category's 3D icon on a tile */
img[src*="/img/3d/"]:not(.i3d) { object-fit: contain; padding: 14%; background: var(--tile); box-sizing: border-box; }

/* -----------------------------------------------------------------------------
   Page changes without the white flash: the browser keeps the old page on screen,
   then fades/slides the new one in. Header, rail and tab bar stay still; a product
   photo grows from its card into the product page. Browsers without support
   (older Firefox) simply open the page as before.
   ----------------------------------------------------------------------------- */
@view-transition { navigation: auto; }
.site-header { view-transition-name: site-header; }
.rail { view-transition-name: site-rail; }
.tabbar { view-transition-name: site-tabbar; }
.whatsapp-float { view-transition-name: site-wa; }
.pdp-photo [data-main], .pdp-photo .pdp-nophoto .i3d { view-transition-name: prod-photo; }
.vt-card .pdp-photo [data-main], .vt-card .pdp-photo .pdp-nophoto .i3d { view-transition-name: none; }

::view-transition-old(root) { animation: vt-out .16s ease-in both; }
::view-transition-new(root) { animation: vt-in .3s cubic-bezier(.2, .7, .2, 1) both; }
::view-transition-group(prod-photo) { animation-duration: .34s; animation-timing-function: cubic-bezier(.2, .7, .2, 1); }
::view-transition-old(prod-photo), ::view-transition-new(prod-photo) { height: 100%; object-fit: contain; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(10px); } }

@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
}
/* first slide with the phones photo: maroon on the text side, the photo shows on the right */
.slide--brand.slide--photo::before { right: 0; top: 0; width: auto; aspect-ratio: auto; -webkit-mask: none; mask: none; inset: 0; z-index: 0;
  background: linear-gradient(90deg, var(--logo-bg) 0%, rgba(70, 26, 39, .92) 22%, rgba(70, 26, 39, .4) 42%, rgba(70, 26, 39, 0) 58%); }
.slide--brand.slide--photo::after { display: none; }
.slide--brand.slide--photo .slide-bg img { object-position: 100% 50%; }
@media (max-width: 680px) {
  .slide--brand.slide--photo::before { display: block; background: linear-gradient(0deg, var(--logo-bg) 0%, rgba(70, 26, 39, .95) 44%, rgba(70, 26, 39, .3) 66%, rgba(70, 26, 39, 0) 82%); }
  .slide--brand.slide--photo .slide-bg { left: 0; }
  .slide--brand.slide--photo .slide-bg img { object-position: center top; }
}
/* hero titles: heavy and tight, like shop.com */
.hero .slide-title { font-weight: 800; letter-spacing: -.035em; line-height: 1; }

/* "Çka kryejmë" band under the hero: text + call to action on the left, the services on the right */
.work { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px; align-items: center; padding: 30px; border-radius: var(--r); background: #fff; box-shadow: var(--shadow-sm); }
.work-kicker { display: block; margin-bottom: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sale); }
.work-copy h2 { margin: 0 0 8px; font-size: clamp(24px, 2.4vw, 34px); font-weight: 800; letter-spacing: -.03em; line-height: 1.08; }
.work-copy p { margin: 0 0 20px; color: var(--muted); font-size: 15.5px; }
.work-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.work-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.work-list li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.work-list a { display: flex; align-items: center; gap: 14px; height: 100%; padding: 14px 16px; border-radius: calc(var(--r) - 6px); background: var(--tile); transition: background .15s; }
.work-list a:hover { background: #ececf0; }
.work-list .i3d { flex: none; width: 48px; height: 48px; }
.work-list span { min-width: 0; font-size: 13px; line-height: 1.35; color: var(--muted); }
.work-list b { display: block; font-size: 15px; font-weight: 650; color: var(--ink); }
@media (max-width: 900px) {
  .work { grid-template-columns: minmax(0, 1fr); padding: 22px; }
}
@media (max-width: 480px) {
  .work { padding: 18px; }
  .work-list { grid-template-columns: minmax(0, 1fr); }
  .work-cta .btn { flex: 1; justify-content: center; }
}
/* home: "Të rekomanduara" grid; the category circles above it are the filter */
.home-cats { margin-bottom: 24px; }
button.cat-circle { padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; }
.home-cats .cat-circle span { transition: background .2s, box-shadow .2s; }
.home-cats .cat-circle[aria-pressed="true"] span { background: color-mix(in srgb, var(--accent) 10%, #fff); box-shadow: inset 0 0 0 2px var(--accent); }
.home-cats .cat-circle[aria-pressed="true"] b { color: var(--accent); }
.home-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px 16px; }
.home-grid-item[hidden] { display: none; }
.home-grid-more { display: flex; justify-content: center; margin-top: 26px; }
@media (max-width: 1200px) { .home-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 900px)  { .home-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 680px)  { .home-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 10px; } }/* category filter circles at half size (user: "zvogloj ikonat për 50%") */
.home-cats .cat-circle { gap: 8px; }
.home-cats .cat-circle span { max-width: 56px; }
.home-cats .cat-circle .i3d { width: 66%; filter: drop-shadow(0 4px 6px rgba(19, 19, 22, .14)); }
.home-cats .cat-circle b { font-size: 13px; }
.home-cats .cat-circle[aria-pressed="true"] span { box-shadow: inset 0 0 0 1.5px var(--accent); }
@media (max-width: 900px) { .home-cats .cat-circle { flex-basis: 72px; } }
@media (max-width: 680px) { .home-cats .cat-circle { flex-basis: 66px; } .home-cats .cat-circle b { font-size: 12px; } }

/* the category's own photo (uploaded in admin), a 3:1 banner above the title */
.cat-banner { margin: 0 0 20px; aspect-ratio: 3 / 1; border-radius: var(--r-lg); overflow: hidden; background: #f1eff0; }
.cat-banner img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 680px) { .cat-banner { aspect-ratio: 2 / 1; margin-bottom: 14px; border-radius: 18px; } }

/* catalog: count + sort on the title line */
.cat-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; }
.cat-head > div:first-child { min-width: 0; }
.cat-head .toolbar { flex: 0 1 auto; margin: 0 0 4px; margin-left: auto; }
@media (max-width: 680px) {
  .cat-head .toolbar { flex: 1 1 100%; margin-left: 0; }
}.toolbar .sort { flex-shrink: 0; }
.toolbar .sort .dd-value { white-space: nowrap; }
@media (max-width: 680px) { .cat-head .toolbar { row-gap: 10px; } }

/* -----------------------------------------------------------------------------
   Contact page
   ----------------------------------------------------------------------------- */
.ct-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); overflow: hidden; border-radius: 28px; background: var(--logo-bg); color: #fff; margin-bottom: 22px; }
.ct-hero-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 14px; padding: 44px 48px; }
.ct-hero-copy .open-status { margin: 0; }
.ct-hero h1 { margin: 0; color: #fff; font-size: clamp(34px, 4vw, 56px); font-weight: 800; letter-spacing: -.035em; line-height: 1; }
.ct-hero-copy p { margin: 0; max-width: 520px; color: rgba(255, 255, 255, .82); font-size: 16px; }
.ct-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.btn-ghost-light { background: rgba(255, 255, 255, .1); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .18); }
.ct-hero-photo { margin: 0; min-height: 100%; }
.ct-hero-photo img { display: block; width: 100%; height: 100%; min-height: 320px; object-fit: cover; }

.ct-side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.ct-card { margin: 0; padding: 24px; }
.ct-card h2 { margin: 0 0 4px; font-size: 22px; letter-spacing: -.02em; }
.ct-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.open-status--soft { margin: 0; height: 28px; background: #f3f3f5; color: var(--muted); font-size: 12.5px; }
.open-status--soft i { background: #c9c9cf; }
.open-status--soft.is-open { background: #e8f7ee; color: #15803d; }
.open-status--soft.is-open i { background: #22c55e; }
.ct-hours { margin: 0; }
.ct-hours div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 12px; border-radius: 10px; font-size: 14.5px; }
.ct-hours dt { color: var(--ink); }
.ct-hours dd { margin: 0; color: var(--muted); font-variant-numeric: tabular-nums; }
.ct-hours small { margin-left: 6px; padding: 1px 7px; border-radius: 99px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; }
.ct-hours .is-today { background: var(--tile); font-weight: 650; }
.ct-hours .is-today dd { color: var(--ink); }

.ct-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.ct-list a { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 14px; transition: background .15s; }
.ct-list a:hover { background: var(--tile); }
.ct-list span:last-child { min-width: 0; }
.ct-list small { display: block; color: var(--muted); font-size: 12.5px; }
.ct-list b { display: block; color: var(--ink); font-weight: 650; overflow-wrap: anywhere; }
.ct-ico { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 9%, #fff); color: var(--accent); font-size: 18px; }
.ct-ico--wa { background: #e3f9ea; color: #16a34a; }
.ct-social { display: flex; gap: 6px; }
.ct-social a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--tile); color: var(--ink); font-size: 17px; transition: background .15s; }
.ct-social a:hover { background: var(--tile-2); }

.ct-map { position: relative; margin-top: 22px; overflow: hidden; border-radius: 28px; background: var(--tile); box-shadow: var(--shadow-sm); }
.ct-map iframe { display: block; width: 100%; height: 420px; border: 0; }
.ct-map-card { position: absolute; left: 18px; bottom: 18px; display: flex; align-items: center; gap: 12px; max-width: calc(100% - 36px); padding: 12px 16px 12px 12px; border-radius: 18px; background: #fff; box-shadow: var(--shadow); font-size: 13.5px; color: var(--muted); }
.ct-map-card b { display: block; color: var(--ink); font-size: 15px; }
.ct-map-card > .bi:last-child { color: var(--ink); }

@media (max-width: 1000px) {
  .ct-hero { grid-template-columns: minmax(0, 1fr); }
  .ct-hero-photo img { min-height: 0; max-height: 300px; }
}
@media (max-width: 680px) {
  .ct-hero { border-radius: 22px; }
  .ct-hero-copy { padding: 26px 22px; }
  .ct-actions .btn { flex: 1 1 100%; justify-content: center; }
  .ct-side { grid-template-columns: minmax(0, 1fr); }
  .ct-card { padding: 20px; }
  .ct-map iframe { height: 340px; }
}
/* ------------------------------------------------------------ large screens
   ≥1600px: the page uses the width (like shop.com): wider column, taller hero,
   bigger search and category chips, 6 products per row. Smaller screens unchanged. */
@media (min-width: 1600px) {
  :root { --container: 1700px; --rail: 96px; }
  .header-inner { grid-template-columns: 1fr minmax(0, 680px) 1fr; height: 96px; padding: 0 28px; }
  .searchbar { max-width: 680px; }
  .searchbar > .bi { left: 20px; font-size: 17px; }
  .searchbar input { height: 62px; padding: 0 24px 0 52px; font-size: 16.5px; box-shadow: 0 2px 6px rgba(19, 19, 22, .05), 0 10px 30px rgba(19, 19, 22, .07); }
  .action { height: 46px; min-width: 46px; font-size: 18px; }
  .action b { font-size: 14.5px; }
  .catnav { gap: 8px; padding: 2px 0 20px; }
  .catnav-item { height: 48px; gap: 10px; padding: 0 16px 0 4px; font-size: 16px; }
  .catnav-ico { width: 40px; height: 40px; }
  .catnav-ico .i3d { width: 30px; height: 30px; }
  .rail { left: 26px; }
  .rail-pill a, .rail-pill button { width: 50px; height: 50px; font-size: 20px; }
  .slider { height: clamp(460px, min(34vw, 100vh - 200px), 700px); border-radius: 32px; }
  .slide { padding: 48px 64px; }
  .slide-copy { max-width: 720px; }
  .hero .slide-title { font-size: clamp(54px, 4.2vw, 84px); }
  .slide-text { font-size: 18.5px; max-width: 560px; }
  .home-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 28px 18px; }
}

/* side rail like shop.com: filled icons in a soft grey; the current page dark on a light circle */
@media (min-width: 1400px) {
  .rail-pill { padding: 10px 8px; gap: 10px; box-shadow: 0 2px 6px rgba(19, 19, 22, .04), 0 10px 30px rgba(19, 19, 22, .07); }
  .rail-pill a, .rail-pill button { color: #a9a6ba; font-size: 21px; }
  .rail-pill a:hover, .rail-pill button:hover { background: var(--tile); color: var(--ink); }
  .rail-pill .is-on, .rail-pill .is-on:hover { background: var(--tile); color: var(--ink); }
}

/* page background like shop.com: #fafafa with soft blurred colour glows (fixed, behind everything) */
body { position: relative; isolation: isolate; }
body::before { content: ''; position: fixed; inset: -10vmax; z-index: -1; pointer-events: none;
  background:
    radial-gradient(38vmax 30vmax at 8% 12%, rgba(175, 81, 95, .10), transparent 70%),
    radial-gradient(42vmax 34vmax at 92% 6%, rgba(150, 140, 230, .10), transparent 70%),
    radial-gradient(46vmax 36vmax at 85% 92%, rgba(255, 170, 150, .09), transparent 70%),
    radial-gradient(40vmax 32vmax at 6% 88%, rgba(140, 180, 240, .08), transparent 70%);
  filter: blur(30px); }

/* laptops / smaller desktops (981–1599px): the search sits lower, with room above and below it */
@media (min-width: 981px) and (max-width: 1599px) {
  .header-inner { height: 84px; }
  .searchbar input { height: 50px; padding: 0 20px 0 46px; font-size: 15px; }
  .searchbar > .bi { left: 18px; }
  .catnav { padding: 4px 0 16px; }
}

/* the small logo (header / footer): the 3D canvas replaces the flat tile at once, no fade */
.logo-mark:not(.logo-mark--hero) img, .logo-mark:not(.logo-mark--hero) canvas { transition: none; }

/* phones / tablets: more room in the header (logo row, search, category chips) */
@media (max-width: 980px) {
  .header-inner { padding: 16px 16px 8px; gap: 16px 12px; }
  .searchbar input { height: 46px; font-size: 15px; padding-left: 44px; }
  .catnav { gap: 6px; padding: 10px 14px 14px; scroll-padding-inline: 14px; }
  .hero { padding-top: 4px; }
}

/* phones / tablets: search is an icon (before the heart); tapping it opens the bar */
.action-search { display: none; border: 0; }
@media (max-width: 980px) {
  .action-search { display: inline-flex; }
  .site-header.is-search-open .action-search { background: var(--accent); color: #fff; }
  .header-inner { row-gap: 0; }
  .searchbar { max-height: 0; margin-top: 0; opacity: 0; visibility: hidden; transform: translateY(-8px); pointer-events: none;
    transition: max-height .35s var(--ease), margin-top .35s var(--ease), opacity .25s ease, transform .35s var(--ease), visibility 0s linear .35s; }
  .site-header.is-search-open .searchbar { max-height: 64px; margin-top: 14px; opacity: 1; visibility: visible; transform: none; pointer-events: auto;
    transition: max-height .35s var(--ease), margin-top .35s var(--ease), opacity .25s ease .05s, transform .35s var(--ease), visibility 0s; }
}
/* phones: room between the slider and the trust row; the footer's last line breathes and clears the WhatsApp button */
@media (max-width: 980px) {
  .trust-home { padding-top: 14px; }
  .sfoot-bottom-inner { padding-top: 16px; padding-bottom: 26px; padding-right: 76px; row-gap: 10px; }
  .sfoot-legal { gap: 8px 18px; }
}

/* headings, titles and the logo in Archivo, a little wide; everything else (text, buttons, prices) in Onest */
h1, h2, h3, .slide-title, .promo-title, .showcase-panel b, .drawer-head b, .logo-word {
  font-family: var(--font-head); font-stretch: 112%; letter-spacing: -.015em;
}
.hero .slide-title { font-weight: 800; letter-spacing: -.025em; }
.logo-word { font-stretch: 118%; letter-spacing: 0; }
.logo-word b { font-family: var(--font); font-stretch: 100%; }
/* ---------------------------------------------------------- /kategorite */
.cats-page { padding-top: 8px; }
.cats-title { margin: 6px 0 22px; text-align: center; font-size: clamp(32px, 4vw, 52px); font-weight: 800; }
.cats-feature { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cfeat { position: relative; display: flex; align-items: flex-end; min-height: 200px; padding: 26px 28px; border-radius: 26px; overflow: hidden; color: #fff;
  background: radial-gradient(120% 140% at 85% 20%, #6b2a3d 0%, var(--accent) 55%, #2a0f17 100%); box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s; }
.cfeat--sale { background: radial-gradient(120% 140% at 85% 20%, #ff5a4f 0%, var(--sale) 50%, #8f0408 100%); }
.cfeat span { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 4px; max-width: 62%; }
.cfeat b { font-family: var(--font-head); font-stretch: 112%; font-size: clamp(22px, 2.2vw, 30px); font-weight: 800; letter-spacing: -.015em; line-height: 1.05; }
.cfeat small { font-size: 14px; opacity: .85; }
.cfeat .i3d { position: absolute; right: 64px; top: 50%; width: 150px; height: 150px; transform: translateY(-50%) rotate(-6deg); filter: drop-shadow(0 18px 22px rgba(0, 0, 0, .3)); transition: transform .35s var(--ease); }
.cfeat-go { position: absolute; right: 22px; bottom: 22px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .18); backdrop-filter: blur(6px); font-style: normal; font-size: 16px; }
.cfeat:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.cfeat:hover .i3d { transform: translateY(-50%) rotate(0deg) scale(1.05); }

.cats-sub { margin: 34px 0 14px; font-size: clamp(20px, 2vw, 26px); }
.ctiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.ctile { position: relative; display: flex; flex-direction: column; gap: 2px; aspect-ratio: 1.38; padding: 16px 18px; border-radius: 22px; overflow: hidden; color: #fff;
  background: linear-gradient(150deg, var(--c2) 0%, var(--c1) 62%); box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s; }
.ctile b { position: relative; z-index: 1; font-family: var(--font-head); font-stretch: 108%; font-size: 18px; font-weight: 750; letter-spacing: -.01em; line-height: 1.15; }
.ctile small { position: relative; z-index: 1; font-size: 12.5px; opacity: .85; }
.ctile-ico { position: absolute; right: -6%; bottom: -10%; width: 66%; aspect-ratio: 1; }
.ctile-ico .i3d { width: 100%; height: 100%; filter: drop-shadow(0 14px 16px rgba(0, 0, 0, .28)); transform: rotate(-8deg); transition: transform .35s var(--ease); }
.ctile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.ctile:hover .ctile-ico .i3d { transform: rotate(0deg) scale(1.06); }

.cats-row { margin-top: 38px; }
.cats-kids { display: flex; gap: 8px; flex-wrap: wrap; margin: -6px 0 14px; }
.cats-kids a { padding: 7px 14px; border-radius: 999px; background: #fff; box-shadow: var(--shadow-sm); font-size: 13.5px; font-weight: 600; color: var(--ink); transition: background .15s; }
.cats-kids a:hover { background: var(--tile); }

@media (max-width: 1300px) { .ctiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 900px)  { .ctiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } .cfeat { min-height: 170px; } .cfeat .i3d { width: 120px; height: 120px; right: 50px; } }
@media (max-width: 680px)  {
  .cats-feature { grid-template-columns: 1fr; }
  .cfeat { min-height: 140px; padding: 20px 22px; border-radius: 22px; }
  .cfeat .i3d { width: 104px; height: 104px; right: 54px; }
  .ctiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .ctile { border-radius: 18px; padding: 14px; }
  .ctile b { font-size: 16px; }
  .cats-title { margin-bottom: 16px; }
}
/* phones: the bottom bar matches the desktop side rail — filled icons in a soft grey, the current page dark on a light circle */
@media (max-width: 980px) {
  .tabbar a, .tabbar button { color: #a9a6ba; }
  .tabbar span { color: #6e6a84; }
  .tabbar a:active, .tabbar button:active { color: var(--ink); }
  .tabbar .is-on { color: var(--ink); background: var(--tile); }
  .tabbar .is-on span { color: var(--ink); }
}

/* phones: on dark photo banners the shade rises from the bottom (the text sits there), not from the left */
@media (max-width: 680px) {
  .slide--photo.slide--dark:not(.slide--brand)::before { background: linear-gradient(0deg, rgba(12, 5, 8, .94) 0%, rgba(12, 5, 8, .8) 40%, rgba(12, 5, 8, 0) 66%); }
}

/* --------------------------------------------------- cart panel (right) */
html.cd-open { overflow: hidden; }
.cdrawer { position: fixed; inset: 0; z-index: 95; }
.cdrawer-bg { position: absolute; inset: 0; background: rgba(19, 19, 22, .42); opacity: 0; transition: opacity .3s ease; }
.cdrawer-panel { position: absolute; top: 10px; right: 10px; bottom: 10px; width: min(440px, calc(100vw - 20px)); display: flex; flex-direction: column; background: #fff; border-radius: 26px; box-shadow: var(--shadow-lg);
  transform: translateX(calc(100% + 24px)); transition: transform .38s var(--ease); overflow: hidden; }
.cdrawer.is-open .cdrawer-bg { opacity: 1; }
.cdrawer.is-open .cdrawer-panel { transform: none; }
.cd-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 18px 14px 22px; border-bottom: 1px solid var(--line); }
.cd-head h2 { margin: 0; font-size: 22px; }
.cd-head h2 span { color: var(--muted); font-weight: 600; }
.cd-x { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--tile); color: var(--ink); font-size: 15px; }
.cd-x:hover { background: var(--tile-2); }
.cd-body { flex: 1; overflow-y: auto; padding: 14px 22px; overscroll-behavior: contain; }
.cd-free { margin-bottom: 6px; }
.cd-free p { margin: 0 0 8px; font-size: 13.5px; color: var(--text); }
.cd-free p .bi { color: #1a8f4e; }
.cd-bar { height: 6px; border-radius: 99px; background: var(--tile); overflow: hidden; }
.cd-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--accent), var(--sale)); transition: width .4s var(--ease); }
.cd-line { position: relative; display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cd-line-img { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 16px; background: var(--tile); overflow: hidden; }
.cd-line-img img { width: 100%; height: 100%; object-fit: contain; }
.cd-noimg { display: grid; place-items: center; width: 100%; height: 100%; }
.cd-noimg img { width: 70%; height: 70%; object-fit: contain; }
.cd-line-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cd-line-name { font-weight: 650; color: var(--ink); line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cd-line-var { font-size: 12.5px; color: var(--muted); }
.cd-line-price b { color: var(--ink); }
.cd-line-price s { font-size: 12.5px; color: var(--muted); margin-left: 4px; }
.cd-qty { display: inline-flex; align-items: center; gap: 2px; margin-top: 6px; width: max-content; padding: 3px; border-radius: 999px; background: var(--tile); }
.cd-qty button { display: grid; place-items: center; width: 30px; height: 30px; border: 0; border-radius: 50%; background: #fff; color: var(--ink); font-size: 12px; box-shadow: var(--shadow-sm); }
.cd-qty button:disabled { opacity: .4; }
.cd-qty span { min-width: 26px; text-align: center; font-weight: 700; font-size: 14px; }
.cd-rm { align-self: start; display: grid; place-items: center; width: 30px; height: 30px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); font-size: 12px; }
.cd-rm:hover { background: var(--tile); color: var(--sale); }
.cd-recs { margin: 18px -22px 4px; padding: 16px 22px 18px; background: #faf7f8; }
.cd-recs h3 { margin: 0 0 10px; font-size: 15px; }
.cd-recs-row { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; }
.cd-rec { flex: 0 0 140px; display: flex; flex-direction: column; gap: 6px; padding: 8px; border-radius: 16px; background: #fff; box-shadow: var(--shadow-sm); scroll-snap-align: start; }
.cd-rec a { display: flex; flex-direction: column; gap: 6px; }
.cd-rec a > img, .cd-rec .cd-noimg { width: 100%; height: 100px; border-radius: 12px; background: var(--tile); object-fit: contain; }
.cd-rec a span { font-size: 12.5px; font-weight: 600; color: var(--ink); line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cd-rec-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.cd-rec-foot b { font-size: 13.5px; color: var(--ink); }
.cd-rec-foot button { display: grid; place-items: center; width: 30px; height: 30px; border: 0; border-radius: 50%; background: var(--accent); color: #fff; font-size: 12px; }
.cd-foot { padding: 14px 22px 18px; border-top: 1px solid var(--line); background: #fff; }
.cd-sum { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); padding: 2px 0; }
.cd-sum b { color: var(--ink); font-weight: 650; }
.cd-total { margin-top: 6px; padding-top: 8px; border-top: 1px dashed var(--line); font-size: 17px; color: var(--ink); }
.cd-total b { font-size: 19px; font-weight: 800; }
.cd-go { width: 100%; justify-content: center; margin-top: 12px; }
.cd-all { display: block; margin-top: 10px; text-align: center; font-weight: 600; font-size: 14px; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.cd-trust { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 10px 0 0; font-size: 12.5px; color: var(--muted); }
.cd-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 60vh; text-align: center; color: var(--muted); }
.cd-empty > .bi { font-size: 44px; color: var(--ink); opacity: .2; margin-bottom: 6px; }
.cd-empty b { color: var(--ink); font-size: 18px; }
.cd-empty .btn { margin-top: 14px; }
@media (max-width: 680px) {
  .cdrawer-panel { top: 0; right: 0; bottom: 0; width: 100vw; border-radius: 0; }
  .cd-body { padding: 12px 16px; }
  .cd-recs { margin: 16px -16px 4px; padding: 14px 16px 16px; }
  .cd-foot { padding: 12px 16px calc(14px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) { .cdrawer-panel, .cdrawer-bg { transition: none; } }
/* the heart on product cards is always visible (not only on hover) */
.pcard-fav { opacity: 1; }

/* product cards: discount and "E re" side by side at the top left; the cart button only on hover (desktop), never on phones */
.pcard-tl { position: absolute; top: 12px; left: 12px; z-index: 2; display: flex; gap: 6px; align-items: center; max-width: calc(100% - 64px); }
.pcard-tl .pcard-off { position: static; }
.pcard-tl .tag { height: 24px; }
.pcard-add { opacity: 0; }
.pcard:hover .pcard-add, .pcard-add:focus-visible { opacity: 1; }
@media (hover: none), (max-width: 980px) { .pcard-add { display: none; } }

/* product card price: new price and the crossed-out old one on one line, the saving under them */
.price-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 8px; }
.price-old { font-size: 13.5px; color: var(--muted); font-weight: 500; }
.price .price-save { margin-top: 1px; font-size: 12px; color: var(--muted); opacity: 1; }

/* section titles: a small faceted diamond (the logo outline read as a broken heart at this size) */
.section-head h2::before { width: 18px; height: 16px;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 16'%3E%3Cpath d='M4.2 0h9.6L18 5.2 9 16 0 5.2z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 16'%3E%3Cpath d='M4.2 0h9.6L18 5.2 9 16 0 5.2z'/%3E%3C/svg%3E") center / contain no-repeat;
  background: linear-gradient(160deg, #ff4b52 0%, var(--sale) 45%, #a3040a 100%); }

/* 3D icons come alive on hover: a quick turn, a lift and a little pop (like shop.com's chips) */
@keyframes i3d-play {
  0%   { transform: none; }
  30%  { transform: translateY(-4px) rotate(-12deg) scale(1.16); }
  55%  { transform: translateY(-4px) rotate(9deg) scale(1.14); }
  78%  { transform: translateY(-3px) rotate(-4deg) scale(1.11); }
  100% { transform: translateY(-2px) rotate(0) scale(1.1); }
}
.catnav-item:hover .i3d, .cat-circle:hover .i3d, .home-cats button:hover .i3d, .work-list a:hover .i3d, .trust-row a:hover .i3d,
.drawer-cat-head:hover .i3d, .ctile:hover .ctile-ico .i3d {
  animation: i3d-play .65s var(--ease) forwards;
}
@media (prefers-reduced-motion: reduce) {
  .catnav-item:hover .i3d, .cat-circle:hover .i3d, .home-cats button:hover .i3d, .work-list a:hover .i3d, .trust-row a:hover .i3d, .ctile:hover .ctile-ico .i3d { animation: none; }
}

/* product page: the photo column stays in view below the (taller) header while the details scroll;
   with several photos the thumbnails sit under the photo as a sliding strip */
.pdp-left { top: 100px; width: var(--stage); }
@media (min-width: 1600px) { .pdp-left { top: 112px; } }
.pdp-gallery.has-thumbs { grid-template-columns: minmax(0, 1fr); }
.pdp-strip { position: relative; display: flex; align-items: center; min-width: 0; }
.pdp-strip .pdp-thumbs { flex: 1; flex-direction: row; gap: 10px; max-height: none; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; scroll-snap-type: x proximity; padding: 2px; }
.pdp-strip .pdp-thumbs::-webkit-scrollbar { display: none; }
.pdp-strip .pdp-thumb { width: 76px; height: 76px; border-radius: 16px; scroll-snap-align: start; }
.pdp-strip-arrow { position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 32px; height: 32px; margin-top: -16px; border: 0; border-radius: 50%; background: #fff; color: var(--ink); font-size: 12px; box-shadow: var(--shadow); }
.pdp-strip-arrow:not(.pdp-strip-arrow--next) { left: -6px; }
.pdp-strip-arrow--next { right: -6px; }
.pdp-strip-arrow[hidden] { display: none; }
@media (max-width: 980px) { .pdp-left { width: auto; } .pdp-strip .pdp-thumb { width: 64px; height: 64px; border-radius: 14px; } }
/* 3D icons: six different, smooth hover motions, handed out in turn so neighbours never move alike */
@keyframes i3d-swing  { 0% { transform: none; } 20% { transform: translateY(-3px) rotate(-14deg) scale(1.1); } 45% { transform: translateY(-3px) rotate(10deg) scale(1.12); } 68% { transform: translateY(-3px) rotate(-5deg) scale(1.11); } 85% { transform: translateY(-3px) rotate(2deg) scale(1.1); } 100% { transform: translateY(-3px) rotate(0) scale(1.1); } }
@keyframes i3d-bounce { 0% { transform: none; } 25% { transform: translateY(-12px) scale(1.08, 1.14); } 45% { transform: translateY(0) scale(1.14, .94); } 62% { transform: translateY(-7px) scale(1.06, 1.1); } 80% { transform: translateY(-1px) scale(1.1, 1.04); } 100% { transform: translateY(-3px) scale(1.1); } }
@keyframes i3d-flip   { 0% { transform: perspective(300px) rotateY(0); } 60% { transform: perspective(300px) translateY(-4px) rotateY(200deg) scale(1.12); } 100% { transform: perspective(300px) translateY(-3px) rotateY(360deg) scale(1.1); } }
@keyframes i3d-wobble { 0% { transform: none; } 18% { transform: translate(-6px, -2px) rotate(-7deg) scale(1.08); } 38% { transform: translate(5px, -3px) rotate(6deg) scale(1.1); } 58% { transform: translate(-3px, -3px) rotate(-3deg) scale(1.1); } 78% { transform: translate(2px, -3px) rotate(1deg) scale(1.1); } 100% { transform: translateY(-3px) scale(1.1); } }
@keyframes i3d-spin   { 0% { transform: rotate(0) scale(1); } 70% { transform: translateY(-4px) rotate(372deg) scale(1.13); } 100% { transform: translateY(-3px) rotate(360deg) scale(1.1); } }
@keyframes i3d-beat   { 0% { transform: scale(1); } 22% { transform: translateY(-2px) scale(1.2); } 40% { transform: translateY(-2px) scale(1.04); } 60% { transform: translateY(-3px) scale(1.16); } 80% { transform: translateY(-3px) scale(1.07); } 100% { transform: translateY(-3px) scale(1.1); } }

.catnav-item:nth-child(6n+1):hover .i3d, .cat-circle:nth-child(6n+1):hover .i3d, .work-list li:nth-child(6n+1) a:hover .i3d, .trust-row a:nth-child(6n+1):hover .i3d, .ctile:nth-child(6n+1):hover .ctile-ico .i3d { animation: i3d-swing .95s cubic-bezier(.45, .05, .25, 1) forwards; }
.catnav-item:nth-child(6n+2):hover .i3d, .cat-circle:nth-child(6n+2):hover .i3d, .work-list li:nth-child(6n+2) a:hover .i3d, .trust-row a:nth-child(6n+2):hover .i3d, .ctile:nth-child(6n+2):hover .ctile-ico .i3d { animation: i3d-bounce .9s cubic-bezier(.45, .05, .25, 1) forwards; }
.catnav-item:nth-child(6n+3):hover .i3d, .cat-circle:nth-child(6n+3):hover .i3d, .work-list li:nth-child(6n+3) a:hover .i3d, .trust-row a:nth-child(6n+3):hover .i3d, .ctile:nth-child(6n+3):hover .ctile-ico .i3d { animation: i3d-flip 1s cubic-bezier(.4, .1, .2, 1) forwards; }
.catnav-item:nth-child(6n+4):hover .i3d, .cat-circle:nth-child(6n+4):hover .i3d, .work-list li:nth-child(6n+4) a:hover .i3d, .trust-row a:nth-child(6n+4):hover .i3d, .ctile:nth-child(6n+4):hover .ctile-ico .i3d { animation: i3d-wobble .95s cubic-bezier(.45, .05, .25, 1) forwards; }
.catnav-item:nth-child(6n+5):hover .i3d, .cat-circle:nth-child(6n+5):hover .i3d, .work-list li:nth-child(6n+5) a:hover .i3d, .trust-row a:nth-child(6n+5):hover .i3d, .ctile:nth-child(6n+5):hover .ctile-ico .i3d { animation: i3d-spin 1s cubic-bezier(.4, .1, .2, 1) forwards; }
.catnav-item:nth-child(6n+6):hover .i3d, .cat-circle:nth-child(6n+6):hover .i3d, .work-list li:nth-child(6n+6) a:hover .i3d, .trust-row a:nth-child(6n+6):hover .i3d, .ctile:nth-child(6n+6):hover .ctile-ico .i3d { animation: i3d-beat .9s cubic-bezier(.45, .05, .25, 1) forwards; }
@media (prefers-reduced-motion: reduce) { .i3d { animation: none !important; } }

/* the main specifications now sit in the right column (under the perks), so the photo column is the shorter one and stays put */
.buybox .pdp-facts { margin-top: 14px; }

/* product page: the details sit in the right column under the buy box; the photo column stays put beside them */
.pdp-details { margin-top: 8px; }
.pdp-details .pdp-sec { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.pdp-details .pdp-sec h2 { font-size: 22px; margin-bottom: 14px; }
.pdp-details .info-cards { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.pdp-shopwrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); align-items: start; }
.pdp-shopwrap > * { position: static; }
/* product photos sit on white (no grey behind them); a hairline edge keeps the box shape on the light page */
.pcard-media, .pdp-photo, .pdp-thumb, .suggest img, .pdp-nav-img, .mini-img, .cart-line-img, .cd-line-img, .cd-rec a > img, .cd-rec .cd-noimg {
  background: #fff; box-shadow: inset 0 0 0 1px var(--line);
}
.pcard:hover .pcard-media { background: #fff; box-shadow: inset 0 0 0 1px var(--line), 0 10px 26px rgba(19, 19, 22, .07); }

/* section titles with their own 3D icon (instead of the red diamond) */
.section-head h2.has-ico::before { display: none; }
.section-head h2.has-ico .i3d { width: 34px; height: 34px; margin-right: 2px; filter: drop-shadow(0 4px 6px rgba(19, 19, 22, .14)); }

/* the hero slider 15% lower everywhere (client: "pak më të vogël") */
.slider { height: clamp(290px, min(25.5vw, (100vh - 180px) * .85), 391px); }
@media (min-width: 1600px) { .slider { height: clamp(391px, min(29vw, (100vh - 200px) * .85), 595px); } }
@media (max-width: 680px)  { .slider { height: 470px; } }

/* once the page scrolls, the sticky header gets compact (smoothly): lower bar, smaller search and logo */
.header-inner { transition: height .3s var(--ease), padding .3s var(--ease); }
.searchbar input, .site-header .logo-mark, .logo-word, .action { transition: height .3s var(--ease), width .3s var(--ease), font-size .3s var(--ease), min-width .3s var(--ease); }
.site-header.is-scrolled .header-inner { height: 64px; }
.site-header.is-scrolled .searchbar input { height: 44px; font-size: 14.5px; }
.site-header.is-scrolled .logo-mark { width: 32px; height: 32px; }
.site-header.is-scrolled .logo-word { font-size: 16px; }
.site-header.is-scrolled .action { height: 40px; min-width: 40px; }
@media (min-width: 1600px) {
  .site-header.is-scrolled .header-inner { height: 70px; }
  .site-header.is-scrolled .searchbar input { height: 48px; font-size: 15px; }
}
@media (max-width: 980px) {
  .site-header.is-scrolled .header-inner { height: auto; padding-top: 8px; padding-bottom: 8px; }
  .site-header.is-scrolled .searchbar input { height: 42px; }
  .site-header.is-scrolled .action { height: 38px; min-width: 38px; }
}

/* home "Na vizitoni": 3D icons, fact cards, a live chip on the photo, buttons with motion */
.store-photo { position: relative; overflow: hidden; }
.store-photo img { transition: transform 1.2s var(--ease); }
.store:hover .store-photo img { transform: scale(1.05); }
.store-live { position: absolute; left: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); color: var(--ink); font-size: 13.5px; font-weight: 650; box-shadow: var(--shadow); }
.store-live i { width: 9px; height: 9px; border-radius: 50%; background: #9a9aa2; }
.store-live.is-open i { background: #1fae5b; box-shadow: 0 0 0 0 rgba(31, 174, 91, .5); animation: live-pulse 1.8s ease-out infinite; }
@keyframes live-pulse { 70% { box-shadow: 0 0 0 9px rgba(31, 174, 91, 0); } 100% { box-shadow: 0 0 0 0 rgba(31, 174, 91, 0); } }
.store-kicker { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 8px; color: var(--sale); font-size: 13px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.store-kicker .i3d { width: 22px; height: 22px; }
.store-facts { gap: 10px; margin: 22px 0 26px; }
.store-facts li > a, .store-facts li > div { display: flex; align-items: center; gap: 14px; padding: 12px 16px 12px 12px; border-radius: 18px; background: #f7f6f8;
  transition: transform .25s var(--ease), background .25s, box-shadow .25s; }
.store-facts li > a:hover { transform: translateY(-2px); background: #fff; box-shadow: var(--shadow); }
.store-facts .i3d { width: 44px; height: 44px; flex: none; filter: drop-shadow(0 6px 8px rgba(19, 19, 22, .14)); }
.store-facts span { flex: 1; min-width: 0; color: var(--muted); }
.store-facts b { display: block; color: var(--ink); font-size: 14px; }
.store-facts li > a > .bi { color: var(--muted); font-size: 14px; transition: transform .25s var(--ease), color .2s; }
.store-facts li > a:hover > .bi { transform: translateX(4px); color: var(--ink); }
.store-facts li:nth-child(1) a:hover .i3d { animation: i3d-bounce .9s cubic-bezier(.45, .05, .25, 1) forwards; }
.store-facts li:nth-child(2):hover .i3d { animation: i3d-swing .95s cubic-bezier(.45, .05, .25, 1) forwards; }
.store-facts li:nth-child(3) a:hover .i3d { animation: i3d-wobble .95s cubic-bezier(.45, .05, .25, 1) forwards; }
.store-cta .btn { transition: transform .25s var(--ease), box-shadow .25s, background .2s, color .2s, border-color .2s; }
.store-cta .btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(70, 26, 39, .22); }
.store-go .bi:last-child { transition: transform .25s var(--ease); }
.store-go:hover .bi:last-child { transform: translateX(4px); }
.store-go:hover .bi:first-child { animation: pin-hop .7s var(--ease); }
@keyframes pin-hop { 30% { transform: translateY(-4px); } 55% { transform: translateY(1px); } 75% { transform: translateY(-2px); } }
.store-wa:hover { background: #1fae5b; border-color: #1fae5b; color: #fff; box-shadow: 0 12px 26px rgba(31, 174, 91, .3); }
@media (prefers-reduced-motion: reduce) { .store:hover .store-photo img, .store-cta .btn:hover { transform: none; } .store-live.is-open i { animation: none; } }.store-facts li { display: block; }
.store-facts { margin-bottom: 0; }

/* "Çka kryejmë" buttons: lift, a shine across the main one, the arrow slides; WhatsApp fills green */
.work-cta .btn { position: relative; overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s, background .25s, color .25s, border-color .25s; }
.work-cta .btn:hover { transform: translateY(-2px); }
.work-cta .btn-primary:hover { box-shadow: 0 12px 26px rgba(70, 26, 39, .28); }
.work-cta .btn-primary::after { content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .28), transparent); transform: skewX(-18deg); pointer-events: none; }
.work-cta .btn-primary:hover::after { animation: btn-shine .8s var(--ease); }
@keyframes btn-shine { to { left: 130%; } }
.work-cta .btn-primary .bi { transition: transform .25s var(--ease); }
.work-cta .btn-primary:hover .bi { transform: translateX(4px); }
.work-cta .btn-ghost:hover { background: #1fae5b; border-color: #1fae5b; color: #fff; box-shadow: 0 12px 26px rgba(31, 174, 91, .3); }
.work-cta .btn-ghost:hover .bi { animation: wa-hop .6s var(--ease); }
@keyframes wa-hop { 35% { transform: translateY(-3px) rotate(-10deg); } 70% { transform: translateY(0) rotate(6deg); } }
@media (prefers-reduced-motion: reduce) { .work-cta .btn:hover { transform: none; } .work-cta .btn:hover::after, .work-cta .btn:hover .bi { animation: none; } }

/* card: "kurse X €" and "Vetëm N copë" side by side */
.pcard-meta { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 10px; row-gap: 2px; margin-top: 1px; }
.pcard-meta .price-save { font-size: 12px; color: var(--muted); opacity: 1; }
.pcard-meta .stock--low { display: inline; }
.pcard-meta .stock { font-size: 12px; }
/* card: "4 copë" with a pulsing dot */
.pcard-meta .stock--low { display: inline-flex; align-items: center; gap: 6px; }
.stock-pulse { position: relative; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.stock-pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: currentColor; animation: stock-pulse 1.6s ease-out infinite; }
@keyframes stock-pulse { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(2.8); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .stock-pulse::after { animation: none; } }
.pcard-meta { justify-content: space-between; }
/* card: the "N copë" text itself pulses (no dot) */
.pcard-meta .stock--low { animation: stock-beat 1.6s ease-in-out infinite; transform-origin: right center; }
@keyframes stock-beat { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .55; transform: scale(1.06); } }
@media (prefers-reduced-motion: reduce) { .pcard-meta .stock--low { animation: none; } }

/* ---- a little smaller everywhere (client: "zvogloj edhe pak krejt"), most on the product page and checkout ---- */
body { font-size: 14.5px; }
.pcard-title { font-size: 14px; }
.btn-lg { height: 48px; padding: 0 22px; font-size: 14.5px; }
.pdp-facts b { font-size: 13.5px; }
.buybox-brand .brand-word { font-size: 15px; }
.buybox-cat { font-size: 13px; }
.buybox-tools .icon-btn { width: 40px; height: 40px; font-size: 15px; }
.buybox h1 { font-size: clamp(21px, .9vw + 12px, 27px); margin-bottom: 6px; }
.pdp-short { font-size: 14px; margin-bottom: 14px; }
.pdp-now { font-size: 31px; }
.pdp-amount s { font-size: 15px; }
.pdp-price .pdp-vat { font-size: 12px; }
.pdp-avail { font-size: 12.5px; }
.pdp-avail .stock { font-size: 13px; }
.pdp-actions .btn { height: 48px; font-size: 14.5px; }
.qty { height: 48px; }
.qty button { width: 36px; height: 36px; }
.pdp-wa { height: 44px; font-size: 13.5px; }
.pdp-wa > .bi:first-child { font-size: 17px; }
.pdp-perks a { font-size: 12.5px; padding: 10px 12px; }
.pdp-perks b { font-size: 13.5px; }
.pdp-sec > h2, .pdp-details .pdp-sec h2 { font-size: 19px; margin-bottom: 12px; }
.pdp-desc { font-size: 14.5px; line-height: 1.65; }
.pdp-nav-text b { font-size: 14.5px; }
/* checkout */
.page > h1 { font-size: clamp(24px, 1.2vw + 14px, 30px); }
.panel h2 { font-size: 17px; margin-bottom: 14px; }
.step { width: 26px; height: 26px; font-size: 12px; }
.field > span { font-size: 13px; }
.field input, .field select, .field textarea { min-height: 44px; padding: 10px 14px; font-size: 14px; }
.choice .bi { font-size: 19px; }
.choice small { font-size: 12px; }
.mini-lines li { font-size: 13px; }
.summary-total dd { font-size: 20px; }
@media (max-width: 980px) {
  .buybox h1 { font-size: 20px; }
  .pdp-now { font-size: 27px; }
  .pcard-title { font-size: 13px; }
}
/* card low stock: red, in a soft red pill whose ring pulses outwards (the text itself stays still) */
.pcard-meta .stock--low { animation: stock-ring 1.8s ease-out infinite; transform: none; color: var(--sale); font-weight: 650;
  padding: 1px 8px; border-radius: 999px; background: rgba(220, 20, 40, .08); box-shadow: 0 0 0 0 rgba(220, 20, 40, .35); }
@keyframes stock-ring { 0% { box-shadow: 0 0 0 0 rgba(220, 20, 40, .35); } 70%, 100% { box-shadow: 0 0 0 7px rgba(220, 20, 40, 0); } }
@media (prefers-reduced-motion: reduce) { .pcard-meta .stock--low { animation: none; } }
/* product page: a narrower right column (centred beside the photo) and smaller buttons */
@media (min-width: 981px) {
  .pdp { grid-template-columns: auto minmax(0, 560px); justify-content: center; gap: 56px; }
}
@media (min-width: 1600px) {
  .pdp { grid-template-columns: auto minmax(0, 600px); gap: 72px; }
}
.pdp-actions { gap: 8px; }
.pdp-actions .btn { height: 42px; padding: 0 16px; font-size: 13.5px; }
.qty { height: 42px; padding: 0 3px; }
.qty button { width: 32px; height: 32px; font-size: 12px; }
.qty input { width: 30px; font-size: 14px; }
.pdp-wa { height: 40px; font-size: 13px; padding: 0 16px; }
/* product page: low stock in red, its dot pulsing like the cards */
.pdp-avail .stock--low { color: var(--sale); }
.pdp-avail .stock--low::before { animation: stock-ring 1.8s ease-out infinite; }
@media (prefers-reduced-motion: reduce) { .pdp-avail .stock--low::before { animation: none; } }

/* product page: photos changing by themselves fade softly */
.pdp-photo [data-main] { transition: opacity .18s ease; }
.pdp-photo [data-main].is-swap { opacity: 0; }

/* =============================================================================
   Category bar: each icon acts out what it is on hover (loops while the mouse stays)
   phone rings · laptop opens · tablet turns · camera flashes · watch ticks ·
   headphones play to a beat · accessories bag bounces · controller rumbles · offer zaps
   ============================================================================= */
.catnav-ico { position: relative; }
.catnav-ico::before, .catnav-ico::after { content: none; position: absolute; pointer-events: none; }
.catnav-item[data-anim]:hover .i3d { animation: none; }

/* Oferta: an electric zap */
@keyframes ca-zap { 0%, 100% { transform: none; filter: none; } 8% { transform: translate(-1px, -2px) rotate(-8deg) scale(1.15); filter: brightness(1.4); }
  14% { transform: translate(1px, -1px) rotate(6deg) scale(1.12); filter: none; } 20% { transform: translate(-1px, -2px) rotate(-4deg) scale(1.16); filter: brightness(1.5); } 30%, 70% { transform: translateY(-1px) scale(1.08); filter: none; } }
@keyframes ca-glow { 0%, 100% { opacity: 0; transform: scale(.8); } 10%, 22% { opacity: 1; transform: scale(1.15); } 40% { opacity: 0; transform: scale(1.35); } }
.catnav-item[data-anim="flash"]:hover .i3d { animation: ca-zap 1.4s ease-in-out infinite; }
.catnav-item[data-anim="flash"]:hover .catnav-ico::after { content: ""; inset: -3px; border-radius: 50%; box-shadow: 0 0 12px 2px rgba(255, 170, 0, .55); animation: ca-glow 1.4s ease-out infinite; }

/* Telefona: it rings — a buzz, then waves go out */
@keyframes ca-ring { 0%, 50%, 100% { transform: none; } 4%, 12%, 20%, 28%, 36% { transform: rotate(-13deg) scale(1.08); } 8%, 16%, 24%, 32%, 40% { transform: rotate(13deg) scale(1.08); } 45% { transform: rotate(0) scale(1.05); } }
@keyframes ca-wave { 0% { opacity: .6; transform: scale(.9); } 100% { opacity: 0; transform: scale(1.55); } }
.catnav-item[data-anim="phone"]:hover .i3d { animation: ca-ring 1.5s ease-in-out infinite; }
.catnav-item[data-anim="phone"]:hover .catnav-ico::before, .catnav-item[data-anim="phone"]:hover .catnav-ico::after { content: ""; inset: 0; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--accent) 55%, transparent); animation: ca-wave 1.5s ease-out infinite; }
.catnav-item[data-anim="phone"]:hover .catnav-ico::after { animation-delay: .25s; }

/* Laptopë: the lid opens from the hinge, the screen lights up */
@keyframes ca-open { 0% { transform: perspective(80px) rotateX(-70deg) scale(.95); filter: brightness(.8); }
  45% { transform: perspective(80px) rotateX(8deg) scale(1.1); filter: brightness(1.25); } 65%, 100% { transform: perspective(80px) rotateX(0) scale(1.08); filter: none; } }
@keyframes ca-sweep { 0%, 35% { transform: translateX(-140%) skewX(-20deg); } 75%, 100% { transform: translateX(260%) skewX(-20deg); } }
.catnav-item[data-anim="laptop"]:hover .i3d { transform-origin: 50% 85%; animation: ca-open 1.8s var(--ease) infinite; }
.catnav-item[data-anim="laptop"]:hover .catnav-ico { overflow: hidden; }
.catnav-item[data-anim="laptop"]:hover .catnav-ico::after { content: ""; top: 0; bottom: 0; left: 0; width: 45%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .75), transparent); animation: ca-sweep 1.8s ease-in-out infinite; }

/* Tabletë: turns to landscape and back */
@keyframes ca-turn { 0%, 100% { transform: none; } 30%, 60% { transform: rotate(-90deg) scale(1.08); } 85% { transform: rotate(6deg) scale(1.04); } }
.catnav-item[data-anim="tablet"]:hover .i3d { animation: ca-turn 2s var(--ease) infinite; }

/* Kamera: the shutter clicks and the flash fires */
@keyframes ca-shot { 0%, 100% { transform: none; } 10% { transform: scale(.88, .84) translateY(1px); } 18% { transform: scale(1.14); filter: brightness(1.35); } 32% { transform: scale(1.06); filter: none; } }
@keyframes ca-flash { 0%, 14% { opacity: 0; transform: scale(.4); } 18% { opacity: 1; transform: scale(1.1); } 45%, 100% { opacity: 0; transform: scale(1.7); } }
.catnav-item[data-anim="camera"]:hover .i3d { animation: ca-shot 1.6s ease-out infinite; }
.catnav-item[data-anim="camera"]:hover .catnav-ico::after { content: ""; inset: -4px; border-radius: 50%; background: radial-gradient(circle at 62% 30%, #fff 0 18%, rgba(255, 255, 255, .85) 30%, rgba(255, 255, 255, 0) 65%); animation: ca-flash 1.6s ease-out infinite; }

/* Ora inteligjente: the second hand ticks round the dial */
@keyframes ca-tick { to { transform: rotate(360deg); } }
@keyframes ca-wrist { 0%, 100% { transform: rotate(-6deg) scale(1.08); } 50% { transform: rotate(6deg) scale(1.08); } }
.catnav-item[data-anim="smartwatch"]:hover .i3d { animation: ca-wrist 2.4s ease-in-out infinite; }
.catnav-item[data-anim="smartwatch"]:hover .catnav-ico::after { content: ""; left: calc(50% - 1px); top: 24%; width: 2px; height: 26%; border-radius: 2px; background: var(--sale);
  transform-origin: 50% 100%; box-shadow: 0 0 0 .5px #fff; animation: ca-tick 2.4s steps(12) infinite; }
.catnav-item[data-anim="smartwatch"]:hover .catnav-ico::before { content: ""; left: calc(50% - 2px); top: calc(50% - 2px); width: 4px; height: 4px; border-radius: 50%; background: var(--sale); z-index: 1; }

/* Audio: nodding to the beat, sound coming out of both sides */
@keyframes ca-beat { 0%, 50%, 100% { transform: scale(1.06); } 12%, 62% { transform: scale(1.18) translateY(-1px); } 25%, 75% { transform: scale(1.04) rotate(-5deg); } 37%, 87% { transform: scale(1.04) rotate(5deg); } }
@keyframes ca-sound { 0% { opacity: .8; transform: scale(.85); } 100% { opacity: 0; transform: scale(1.45); } }
.catnav-item[data-anim="headphones"]:hover .i3d { animation: ca-beat 1.1s ease-in-out infinite; }
.catnav-item[data-anim="headphones"]:hover .catnav-ico::before, .catnav-item[data-anim="headphones"]:hover .catnav-ico::after { content: ""; inset: 2px; border-radius: 50%;
  border: 2px solid transparent; border-left-color: color-mix(in srgb, var(--accent) 60%, transparent); border-right-color: color-mix(in srgb, var(--accent) 60%, transparent); animation: ca-sound .55s ease-out infinite; }
.catnav-item[data-anim="headphones"]:hover .catnav-ico::after { animation-delay: .27s; }

/* Aksesorë: the bag drops in and bounces */
@keyframes ca-bounce { 0%, 100% { transform: none; } 15% { transform: translateY(-7px) rotate(-6deg); } 30% { transform: translateY(0) scale(1.14, .86); } 42% { transform: translateY(-3px) scale(.96, 1.06) rotate(4deg); } 54% { transform: scale(1.06, .95); } 66% { transform: scale(1.04); } }
.catnav-item[data-anim="plug"]:hover .i3d { transform-origin: 50% 100%; animation: ca-bounce 1.3s ease-out infinite; }

/* Gaming: a rumble, then steering left and right */
@keyframes ca-rumble { 0%, 100% { transform: none; } 3%, 9%, 15%, 21% { transform: translate(-1.5px, 1px) rotate(-3deg) scale(1.1); } 6%, 12%, 18%, 24% { transform: translate(1.5px, -1px) rotate(3deg) scale(1.1); }
  42% { transform: rotate(-16deg) scale(1.1); } 62% { transform: rotate(14deg) scale(1.1); } 80% { transform: rotate(-3deg) scale(1.07); } }
.catnav-item[data-anim="controller"]:hover .i3d { animation: ca-rumble 1.8s ease-in-out infinite; }

/* all categories: the four squares turn */
.catnav-all .catnav-ico .bi { transition: transform .45s var(--ease); }
.catnav-item[data-anim="grid"]:hover .catnav-ico .bi { transform: rotate(90deg) scale(1.1); }

@media (prefers-reduced-motion: reduce) {
  .catnav-item[data-anim]:hover .i3d { animation: none; }
  .catnav-item[data-anim]:hover .catnav-ico::before, .catnav-item[data-anim]:hover .catnav-ico::after { content: none; }
}
/* cart drawer: everything a size smaller so more fits on screen */
.cd-head { padding: 12px 14px 10px 18px; }
.cd-head h2 { font-size: 18px; }
.cd-x { width: 34px; height: 34px; font-size: 13px; }
.cd-body { padding: 10px 18px; }
.cd-free p { margin-bottom: 6px; font-size: 12.5px; }
.cd-bar { height: 5px; }
.cd-line { grid-template-columns: 60px minmax(0, 1fr) auto; gap: 12px; padding: 10px 0; }
.cd-line-img { width: 60px; height: 60px; border-radius: 12px; }
.cd-line-name { font-size: 13.5px; }
.cd-line-var { font-size: 12px; }
.cd-line-price { font-size: 13.5px; }
.cd-line-price s { font-size: 12px; }
.cd-qty { margin-top: 4px; padding: 2px; }
.cd-qty button { width: 26px; height: 26px; font-size: 11px; }
.cd-qty span { min-width: 22px; font-size: 13px; }
.cd-rm { width: 26px; height: 26px; font-size: 11px; }
.cd-recs { margin: 12px -18px 2px; padding: 12px 18px 14px; }
.cd-recs h3 { margin-bottom: 8px; font-size: 13.5px; }
.cd-recs-row { gap: 8px; }
.cd-rec { flex-basis: 112px; gap: 4px; padding: 6px; border-radius: 13px; }
.cd-rec a { gap: 4px; }
.cd-rec a > img, .cd-rec .cd-noimg { height: 76px; border-radius: 10px; }
.cd-rec a span { font-size: 11.5px; }
.cd-rec-foot b { font-size: 12.5px; }
.cd-rec-foot button { width: 26px; height: 26px; font-size: 11px; }
.cd-foot { padding: 10px 18px 12px; }
.cd-sum { font-size: 13px; padding: 1px 0; }
.cd-total { margin-top: 4px; padding-top: 6px; font-size: 15px; }
.cd-total b { font-size: 17px; }
.cd-go { height: 44px; margin-top: 10px; font-size: 14px; }
.cd-all { margin-top: 8px; font-size: 13px; }
.cd-trust { margin-top: 8px; font-size: 11.5px; }
@media (max-width: 680px) { .cd-body { padding: 10px 14px; } .cd-recs { margin: 12px -14px 2px; padding: 12px 14px 14px; } .cd-foot { padding: 10px 14px calc(12px + env(safe-area-inset-bottom)); } }

/* cart drawer foot: tighter totals, a smaller button, "Shiko shportën" and the trust note on one line */
.cd-foot { padding-top: 8px; padding-bottom: 10px; }
.cd-sum { font-size: 12.5px; padding: 0; }
.cd-total { margin-top: 3px; padding-top: 5px; font-size: 14px; }
.cd-total b { font-size: 16px; }
.cd-go { height: 40px; margin-top: 8px; font-size: 13.5px; }
.cd-links { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; }
.cd-links .cd-all { margin: 0; font-size: 12.5px; white-space: nowrap; }
.cd-links .cd-trust { margin: 0; font-size: 11.5px; white-space: nowrap; }

/* product card price: price and the "-20%" pill on one line, the old price crossed out under it */
.pcard-pr { display: flex; flex-direction: column; gap: 1px; margin-top: 4px; }
.pcard-pr-row { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; }
.pcard-pr-row b { font-size: 17px; font-weight: 800; color: var(--ink); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.pcard-pct { display: inline-flex; align-items: center; height: 20px; padding: 0 6px; border-radius: 6px; background: color-mix(in srgb, var(--sale) 10%, #fff); color: var(--sale); font-size: 12px; font-weight: 700; }
.pcard-was { font-size: 13px; color: var(--muted); font-weight: 500; }
@media (max-width: 980px) { .pcard-pr-row b { font-size: 15.5px; } .pcard-pct { height: 18px; font-size: 11px; } .pcard-was { font-size: 12px; } }
/* =============================================================================
   Product card as one white box (marketplace style): photo and text inside a
   bordered card, heart at the bottom right of the photo, "E re" top right,
   plain title, big price with the -% pill, old price under it.
   ============================================================================= */
.pcard { background: #fff; border: 1px solid #ececf0; border-radius: 14px; padding: 12px 12px 14px; transition: box-shadow .2s, border-color .2s; }
.pcard:hover { border-color: #e2e2e8; box-shadow: 0 10px 28px rgba(19, 19, 22, .08); }
.pcard .pcard-media, .pcard:hover .pcard-media { background: #fff; box-shadow: none; border-radius: 10px; }
.pcard:hover .pcard-media img { transform: scale(1.04); }
.pcard-tl { left: auto; right: 10px; top: 10px; }
.pcard-tl .tag--new { height: 22px; padding: 0 8px; border-radius: 6px; background: #eef3ff; color: #2f55d4; font-size: 11.5px; font-weight: 600; font-style: italic; box-shadow: none; }
.pcard-fav { top: auto; bottom: 8px; right: 8px; width: 36px; height: 36px; box-shadow: 0 1px 6px rgba(19, 19, 22, .12); }
.pcard-add { bottom: 52px; right: 8px; width: 36px; height: 36px; font-size: 15px; }
.pcard-body { padding: 12px 2px 0; gap: 4px; }
.pcard-title { font-weight: 500; font-size: 14.5px; line-height: 1.4; min-height: 2.8em; }
.pcard:hover .pcard-title { text-decoration: none; }
.pcard-pr { margin-top: 2px; }
.pcard-pr-row b { font-size: 19px; font-weight: 750; }
.pcard-pct { height: 20px; padding: 0 6px; border-radius: 5px; background: #fff0e8; color: #e4471c; font-size: 12px; font-weight: 600; }
.pcard-was { font-size: 13px; color: #8a8a94; }
@media (max-width: 980px) {
  .pcard { padding: 8px 8px 10px; border-radius: 12px; }
  .pcard-title { font-size: 13px; }
  .pcard-pr-row b { font-size: 16px; }
  .pcard-fav { width: 32px; height: 32px; font-size: 14px; }
}
/* card a size smaller: the photo breathes inside its box, smaller title and price */
.pcard .pcard-media img { padding: 7%; box-sizing: border-box; }
.pcard .pcard-media .noimg img { padding: 0; }
.pcard-title { font-size: 13.5px; line-height: 1.38; min-height: 2.76em; }
.pcard-pr-row b { font-size: 17px; }
.pcard-pct { height: 19px; font-size: 11.5px; }
.pcard-was { font-size: 12.5px; }
.pcard-fav { width: 32px; height: 32px; font-size: 14px; }
.pcard-add { width: 32px; height: 32px; bottom: 46px; font-size: 14px; }
@media (max-width: 980px) { .pcard-title { font-size: 12.5px; } .pcard-pr-row b { font-size: 15px; } .pcard-pct { height: 17px; font-size: 10.5px; } .pcard-was { font-size: 11.5px; } }
/* cards: the price follows the title (no blank line for short titles); every card in a row has the same height */
.pcard-title { min-height: 0; }
.pcard { height: 100%; box-sizing: border-box; }
.pcard-body { flex: 1; }
.home-grid, .product-grid, .pgrid, .grid-products, .row-scroll, .showcase-row { align-items: stretch; }
/* "E re" on cards in the shop's wine colour (as the footer / first banner), white text */
.pcard-tl .tag--new { background: var(--accent); color: #fff; font-style: normal; font-weight: 650; letter-spacing: .02em; border-radius: 6px; box-shadow: 0 2px 6px color-mix(in srgb, var(--accent) 30%, transparent); }
/* "E re": the shop's heading font (as the logo), upright, small caps-like */
.pcard-tl .tag--new { font-family: var(--font-head); font-style: normal; font-weight: 700; font-stretch: 112%; font-size: 10.5px; text-transform: uppercase; letter-spacing: .08em; height: 22px; padding: 0 9px; }
/* discount at the top left of the photo, in the heading font like "E re" */
.pcard-disc { position: absolute; top: 10px; left: 10px; z-index: 2; display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; background: var(--sale); color: #fff; font-family: var(--font-head); font-stretch: 112%; font-size: 11px; font-weight: 700; letter-spacing: .02em; }
/* card price: normal-width digits (no tabular gaps), tighter letters, less space around it */
.pcard-pr-row b, .pcard .price b { font-variant-numeric: normal; font-feature-settings: normal; letter-spacing: -.025em; font-weight: 750; }
.pcard-body { gap: 2px; padding-top: 10px; }
.pcard-pr { margin-top: 0; gap: 0; }
.pcard-was { letter-spacing: -.01em; line-height: 1.3; }
/* card price and old price side by side on one line */
.pcard-pr { flex-direction: row; align-items: baseline; flex-wrap: wrap; column-gap: 8px; row-gap: 0; }

/* Cart page: free delivery progress */
.free-note { display: flex; flex-direction: column; gap: 8px; }
.free-note .bi { color: #1a8f4e; }
.free-note .cd-bar { display: block; background: #fff; }
.free-note .cd-bar i { display: block; }

/* Empty cart panel: free delivery hint */
.cd-empty-free { display: inline-flex; align-items: center; gap: 7px; margin-top: 12px; padding: 8px 14px; border-radius: 99px; background: var(--accent-soft); color: var(--accent); font-size: 13.5px; font-weight: 550; }
.cd-empty .cd-empty-free b { font-size: inherit; color: inherit; }
.cd-empty-free .bi { font-size: 16px; }

/* Mobile: no page-change animation (the toolbar resizing made the slide-in look like a shake); the browser still keeps the old page until the new one paints */
@media (max-width: 820px) {
  @view-transition { navigation: none; }
}

/* Checkout coupon: field and button the same height and shape as the other fields */
.summary .coupon { align-items: stretch; }
.summary .coupon input, .summary .coupon .btn { height: 46px; min-height: 46px; margin: 0; border-radius: 12px; box-sizing: border-box; }
.summary .coupon .btn { flex: none; padding: 0 18px; }
.summary .coupon input::placeholder { text-transform: none; }
