/* ===========================================================================
   Renmo theme — design system (tokens + chrome + components)
   Magenta accent + navy CTA · Hanken Grotesk · rounded card system.
   Grows as templates are added (home/shop/product/cart/blog).
   =========================================================================== */

:root {
  --accent:#e21b86; --accent-strong:#c8146f; --accent-ink:#bd1467;
  --accent-tint:#fdebf4; --accent-tint-2:#fef5f9; --accent-line:#f4c2dc;
  --navy:#0c0043; --navy-strong:#08002e;
  --ink:#14181c; --ink-2:#2c323c; --ink-3:#545c66;
  --line:#e7eaee; --line-2:#eef1f4; --field:#fcfdfe;
  --bg:#fdf4f9; --card:#ffffff;
  --r-xl: 14px; --r-lg: 12px; --r-md: 10px; --r-sm: 8px;
  --shadow-card:0 30px 70px -34px rgba(18,28,40,.30), 0 6px 18px -10px rgba(18,28,40,.10);
  --shadow-pop:0 24px 48px -18px rgba(18,28,40,.26);
  --shadow-sm:0 4px 14px -8px rgba(18,28,40,.22);
  --ease:cubic-bezier(.22,.61,.36,1);
  --fs:"Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  --wrap: 1320px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; font-family: var(--fs); color: var(--ink); background: var(--bg);
  background-image: radial-gradient(58% 42% at 8% -2%, rgba(226,27,134,.07), transparent 60%), radial-gradient(50% 40% at 100% 4%, rgba(80,120,200,.05), transparent 60%);
  background-attachment: fixed; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
h1,h2,h3,h4 { margin: 0; letter-spacing: -.02em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* WP admin bar offset for the sticky header */
body.admin-bar .hdr { top: 32px; }
@media screen and (max-width: 782px) { body.admin-bar .hdr { top: 46px; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 14px 24px; border-radius: var(--r-md); border: 0; cursor: pointer; font: inherit; font-weight: 800; font-size: 15px; letter-spacing: -.01em; text-decoration: none; transition: transform .15s var(--ease), box-shadow .2s, background .2s, color .2s, border-color .2s; }
.btn svg { width: 20px; height: 20px; }
.btn--primary { color: #fff; background: var(--navy); box-shadow: 0 14px 26px -14px rgba(24,26,48,.8), inset 0 1px 0 rgba(255,255,255,.12); }
.btn--primary:hover { background: var(--navy-strong); box-shadow: 0 18px 32px -14px rgba(24,26,48,.9); }
.btn--primary:hover svg { transform: translateX(3px); }
.btn--primary svg { transition: transform .2s var(--ease); }
.btn--ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--line); }
.btn--ghost:hover { border-color: #cfd5db; background: #fbfcfd; }
.btn--light { color: var(--navy); background: #fff; box-shadow: var(--shadow-sm); }
.btn--light:hover { transform: translateY(-1px); box-shadow: var(--shadow-pop); }
.btn--light svg { transition: transform .2s var(--ease); } .btn--light:hover svg { transform: translateX(3px); }
.btn--block { width: 100%; }
.btn:active { transform: translateY(1px); }

/* =========================================================================
   TOP BAR + HEADER
   ========================================================================= */
.topbar { background: var(--navy); color: #eef0f6; font-size: 13px; }
.topbar__in { display: flex; align-items: center; justify-content: center; gap: 9px; padding: 9px 24px; margin: 0 auto; }
.topbar svg { width: 16px; height: 16px; color: var(--accent); flex: none; }
.topbar b { color: #fff; font-weight: 700; }
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.82); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); transition: box-shadow .25s, background .25s; }
.hdr.is-stuck { box-shadow: 0 10px 30px -20px rgba(18,28,40,.4); background: rgba(255,255,255,.92); }
.hdr__in { display: flex; align-items: center; gap: 22px; height: 70px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
/* Logo as a CSS background on a <span> — sidesteps Jetpack Photon (which served a
   512×512 SQUARE crop of the <img>, hiding the "Renmo" wordmark) and `.hdr img`
   squish rules. 1700×643 ⇒ 96×36. Footer recolours it white via .logo--light. */
.logo__img { display: block; width: 112px; height: 42px; background: url(../img/renmo_logo.png) left center / contain no-repeat; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: 6px; }
.nav__link { display: inline-flex; align-items: center; gap: 5px; padding: 9px 14px; border-radius: 10px; font-weight: 700; font-size: 14.5px; color: var(--ink-2); text-decoration: none; background: none; border: 0; cursor: pointer; font-family: inherit; transition: color .15s, background .15s; }
.nav__link svg { width: 16px; height: 16px; transition: transform .2s; }
.nav__link:hover { color: var(--ink); background: #f4f6f8; }
.nav__link.is-active { color: var(--accent-ink); background: var(--accent-tint); }
.nav__group { position: relative; }
.nav__group.is-open .nav__toggle svg { transform: rotate(180deg); }
.nav__menu { position: absolute; top: calc(100% + 8px); left: 0; min-width: 230px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-pop); padding: 7px; display: none; flex-direction: column; gap: 2px; }
.nav__group.is-open .nav__menu { display: flex; animation: pop .18s var(--ease) both; }
@keyframes pop { from { opacity: 0; transform: translateY(-6px); } }
.nav__menu a { padding: 10px 12px; border-radius: 9px; font-size: 14px; font-weight: 600; color: var(--ink-2); text-decoration: none; }
.nav__menu a:hover { background: var(--accent-tint-2); color: var(--accent-ink); }
.hdr__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.iconbtn { position: relative; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 11px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; text-decoration: none; transition: border-color .15s, background .15s, color .15s; }
.iconbtn svg { width: 20px; height: 20px; }
.iconbtn:hover, .iconbtn.is-active { border-color: var(--accent-line); color: var(--accent-ink); background: var(--accent-tint-2); }
.iconbtn__badge { position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 7px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; border: 2px solid #fff; }
.langs { display: flex; align-items: center; gap: 6px; }
.lang { width: 34px; height: 23px; padding: 0; border: 1.5px solid var(--line); border-radius: 5px; background: #fff; cursor: pointer; overflow: hidden; display: block; opacity: .5; transition: opacity .16s, border-color .16s, transform .16s, box-shadow .16s; }
.lang svg { width: 100%; height: 100%; display: block; }
.lang:hover { opacity: 1; border-color: #cfd5db; transform: translateY(-1px); }
.lang.is-active { opacity: 1; border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-tint); }
.burger { display: none; width: 42px; height: 42px; border-radius: 11px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.burger span { width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .2s var(--ease), opacity .2s; }
.burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.searchbar { border-top: 1px solid var(--line-2); background: #fff; }
.searchbar__in { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px 24px; margin: 0; }
.searchbar svg { width: 21px; height: 21px; color: var(--accent); flex: none; }
.searchbar input { flex: 1; border: 0; outline: none; font: inherit; font-size: 16px; font-weight: 600; background: transparent; color: var(--ink); }
.searchbar input::placeholder { color: var(--ink-3); font-weight: 500; }
.searchbar input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; display: none; } /* the drawer's close button is the clear affordance — avoid a redundant native X */
.searchbar__close { width: 36px; height: 36px; border-radius: 9px; border: 0; background: #f3f4f6; cursor: pointer; display: grid; place-items: center; }
.searchbar__close svg { width: 18px; height: 18px; color: var(--ink-2); }
.searchbar__close:hover { background: #e7eaef; }
/* desktop inline search bar + live results */
.iconbtn--search { display: none; }
.hdr__search { position: relative; flex: 0 1 440px; min-width: 0; margin-left: 4px; } /* always-on desktop search */
.hsearch { display: flex; align-items: center; gap: 9px; height: 42px; padding: 0 14px; background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-md); transition: border-color .15s, box-shadow .15s; }
.hsearch:focus-within { border-color: var(--accent-line); box-shadow: 0 0 0 3px var(--accent-tint); outline: none !important; }
.hsearch__input { flex: 1; min-width: 0; border: 0; outline: none; -webkit-appearance: none; appearance: none; background: transparent; font: inherit; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.hdr__search .hsearch__input:focus, .hdr__search .hsearch__input:focus-visible { outline: none !important; box-shadow: none !important; }
.hsearch__input::placeholder { color: var(--ink-3); font-weight: 500; }
.hsearch__input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; display: none; }
.hsearch__lead { flex: none; width: 19px; height: 19px; display: grid; place-items: center; }
.hsearch__ico { width: 19px; height: 19px; color: var(--ink-3); }
.hsearch__spin { display: none; width: 17px; height: 17px; border: 2px solid var(--accent-tint); border-top-color: var(--accent); border-radius: 50%; animation: hspin .6s linear infinite; }
@keyframes hspin { to { transform: rotate(360deg); } }
.hsearch.is-loading .hsearch__ico { display: none; }
.hsearch.is-loading .hsearch__spin { display: block; }
.hsearch__clear { flex: none; width: 26px; height: 26px; display: grid; place-items: center; padding: 0; border: 0; background: none; color: var(--ink-3); border-radius: var(--r-sm); cursor: pointer; transition: color .15s, background .15s; }
.hsearch__clear:hover { color: var(--ink); background: #f1f3f6; }
.hsearch__clear svg { width: 15px; height: 15px; }
.hsearch__clear[hidden] { display: none; }
.livesearch { position: absolute; top: calc(100% + 9px); left: 0; right: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-pop); padding: 6px; max-height: min(70vh, 470px); overflow-y: auto; z-index: 60; }
.livesearch[hidden] { display: none; }
.livesearch__item { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: var(--r-sm); text-decoration: none; color: inherit; }
.livesearch__item:hover { background: var(--accent-tint-2); }
.livesearch__thumb { width: 46px; height: 46px; flex: none; border-radius: var(--r-sm); background: #f4f6f8; display: grid; place-items: center; overflow: hidden; }
.livesearch__thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.livesearch__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.livesearch__cat { font-size: 10.5px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; color: var(--accent-ink); }
.livesearch__name { font-size: 14px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.livesearch__price { font-size: 14px; font-weight: 800; color: var(--ink); white-space: nowrap; flex: none; }
.livesearch__empty { padding: 18px 12px; text-align: center; color: var(--ink-3); font-size: 14px; font-weight: 600; }
/* mobile search-drawer variant: sit flush under the bar, full-width, square top corners */
.livesearch--bar { top: 100%; margin-top: 1px; border-top-left-radius: 0; border-top-right-radius: 0; box-shadow: var(--shadow-card); }
.msheet { position: fixed; inset: 0 0 0 auto; z-index: 60; width: min(320px, 86vw); background: #fff; box-shadow: var(--shadow-pop); padding: 84px 18px 24px; transform: translateX(100%); transition: transform .28s var(--ease); }
.msheet.is-open { transform: none; }
.msheet__nav { display: flex; flex-direction: column; gap: 4px; }
.msheet__nav a { padding: 14px 16px; border-radius: 12px; font-weight: 700; font-size: 16px; color: var(--ink); text-decoration: none; }
.msheet__nav a:hover { background: #f4f6f8; }
.msheet__nav a.is-active { background: var(--accent-tint); color: var(--accent-ink); }
/* collapsible submenu group (e.g. "Info"): a top-level item that has children */
.msheet__group { display: flex; flex-direction: column; }
.msheet__grouptoggle { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; padding: 14px 16px; border: 0; border-radius: 12px; background: transparent; font: inherit; font-weight: 700; font-size: 16px; color: var(--ink); text-align: left; cursor: pointer; -webkit-appearance: none; appearance: none; }
.msheet__grouptoggle:hover { background: #f4f6f8; }
.msheet__grouptoggle svg { width: 20px; height: 20px; flex: none; color: var(--ink-3); transition: transform .2s var(--ease); }
.msheet__group.is-open .msheet__grouptoggle svg { transform: rotate(180deg); }
.msheet__sub { display: flex; flex-direction: column; gap: 2px; overflow: hidden; max-height: 0; transition: max-height .28s var(--ease); }
.msheet__group.is-open .msheet__sub { max-height: 60vh; }
.msheet__sub a { padding: 12px 16px 12px 32px; border-radius: 12px; font-weight: 600; font-size: 15px; color: var(--ink-2); text-decoration: none; }
.msheet__sub a:hover { background: #f4f6f8; }
.msheet__sub a.is-active { background: var(--accent-tint); color: var(--accent-ink); }
.scrim { position: fixed; inset: 0; z-index: 55; background: rgba(15,17,36,.34); backdrop-filter: blur(2px); opacity: 0; transition: opacity .25s; }
.scrim.is-on { opacity: 1; }

/* =========================================================================
   HERO
   ========================================================================= */
.hero { padding: 46px 0 18px; position: relative; z-index: 5; }
.hero__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: center; }
.hero__copy { animation: rise .7s var(--ease) both; position: relative; z-index: 2; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px 10px 15px; border-radius: 10px; background: #fff; border: 1px solid var(--accent-line); color: var(--accent-ink); font-size: 13.5px; font-weight: 700; box-shadow: var(--shadow-sm); }
.eyebrow__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-tint); animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(226,27,134,.08); } }
.kicker { display: inline-block; color: var(--accent-ink); font-weight: 800; font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 8px; }
.hero__title { margin: 18px 0 14px; font-size: clamp(34px, 5vw, 56px); line-height: 1.04; font-weight: 800; }
.hero__title .hl { color: #f33993; white-space: nowrap; }
.hero__sub { margin: 0 0 24px; max-width: 50ch; color: var(--ink-2); font-size: 17px; line-height: 1.55; }
.herosearch { position: relative; display: flex; align-items: center; gap: 10px; background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-md); padding: 7px 7px 7px 16px; box-shadow: var(--shadow-sm); max-width: 520px; transition: border-color .18s, box-shadow .18s; }
.herosearch:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-tint); }
.herosearch svg { width: 21px; height: 21px; color: var(--ink-3); flex: none; }
.herosearch input { flex: 1; border: 0; outline: none; font: inherit; font-size: 16px; font-weight: 600; background: transparent; }
.herosearch input::placeholder { color: var(--ink-3); font-weight: 500; }
.herosearch button { padding: 11px 22px; border: 0; border-radius: 10px; background: var(--accent); color: #fff; font: inherit; font-weight: 800; font-size: 14.5px; cursor: pointer; transition: background .18s; }
.herosearch button:hover { background: var(--accent-strong); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 0; }
.hero__trust { list-style: none; margin: 30px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); display: flex; gap: 38px; }
.hero__trust b { display: block; font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.hero__trust span { color: var(--ink-2); font-size: 13px; }
.hero__locs { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 26px; }
.hero__locs li { display: inline-flex; align-items: center; gap: 7px; font-size: 14.5px; font-weight: 700; color: var(--ink); }
.hero__locs svg { width: 19px; height: 19px; color: var(--accent); flex: none; }
.pcard__per { font-size: 14px; font-weight: 600; color: var(--ink-3); white-space: nowrap; }
/* hero campaign carousel */
.hero__carousel { animation: rise .8s .08s var(--ease) both; position: relative; z-index: 1; }
/* hero campaign slider (scroll-snap) */
.carousel { position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-card); aspect-ratio: 4/3.1; }
/* Native horizontal scroll-snap track: the browser lays out and clips slides at exact device
   pixels, so — unlike a transform-driven track — there is never a sub-pixel seam or
   adjacent-slide bleed at the edges, at any window width or zoom. Bonus: real touch-swipe.
   The scrollbar is visually hidden; JS drives the arrows/dots/autoplay via scrollTo(). */
.carousel__track { display: flex; height: 100%; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch; }
.carousel__track::-webkit-scrollbar { width: 0; height: 0; display: none; }
/* Slides over-cover the frame by 4px and centre-snap: any sub-pixel scroll residual (incl.
   mid-resize) is absorbed by the overhang, so a neighbouring slide can never show at the edge.
   The definite flex-basis also stops the slide collapsing to the image's intrinsic width. */
.slide { flex: 0 0 calc(100% + 4px); height: 100%; position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: 28px 32px; scroll-snap-align: center; scroll-snap-stop: always; }
.slide--a { background: linear-gradient(150deg, #e6f4e9, #c2e6cb); }
.slide--b { background: linear-gradient(150deg, #e8f1fc, #cee1f7); }
.slide--c { background: linear-gradient(150deg, #fdeaf3, #f7d1e4); }
.slide__badge { position: absolute; top: 24px; left: 32px; padding: 7px 14px; border-radius: var(--r-sm); background: var(--accent); color: #fff; font-size: 12.5px; font-weight: 800; }
.slide__h { font-size: clamp(22px, 2.2vw, 30px); font-weight: 800; line-height: 1.12; color: var(--ink); max-width: 15ch; }
.slide__list { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.slide__list li { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 700; color: var(--ink); }
.slide__list svg { width: 19px; height: 19px; color: var(--accent); flex: none; }
/* image-only hero slides (Customizer-managed) */
.slide--img { padding: 0; background: linear-gradient(135deg, #fdf1f8, #f8f4fb); display: grid; place-items: center; }
.slide--img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.carousel__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); box-shadow: var(--shadow-sm); display: grid; place-items: center; color: var(--ink); cursor: pointer; opacity: 0; transition: opacity .2s; z-index: 2; }
.carousel:hover .carousel__nav { opacity: 1; }
.carousel__nav svg { width: 20px; height: 20px; }
.carousel__nav--prev { left: 12px; } .carousel__nav--next { right: 12px; }
.carousel__dots { position: absolute; bottom: 16px; right: 20px; display: flex; gap: 7px; z-index: 2; }
.carousel__dot { width: 8px; height: 8px; border-radius: 50%; border: 0; background: rgba(20,24,28,.22); cursor: pointer; padding: 0; transition: background .2s, width .2s; }
.carousel__dot.is-on { background: var(--accent); width: 20px; border-radius: 4px; }
/* Keep the mobile ratio identical to desktop: the campaign banners are authored at
   ~4/3.1 (1422x1106) with baked-in text, so a wider 16/10 mobile frame cropped them
   top/bottom. Matching desktop shows the full banner on phones too. */
@media (max-width: 860px) { .carousel { aspect-ratio: 4/3.1; } }
.hero__show { position: relative; animation: rise .8s .08s var(--ease) both; }
.showcard { position: relative; background: var(--card); border-radius: var(--r-xl); box-shadow: var(--shadow-card); padding: 16px; overflow: hidden; }
.showcard__media { border-radius: var(--r-lg); padding: 24px; display: grid; place-items: center; aspect-ratio: 4/3.2; }
.showcard__photo { height: 100%; width: auto; max-width: 100%; object-fit: contain; filter: drop-shadow(0 18px 24px rgba(20,30,45,.20)); }
.showcard__tag { position: absolute; top: 26px; left: 26px; z-index: 2; padding: 6px 12px; border-radius: 8px; background: var(--accent); color: #fff; font-size: 11.5px; font-weight: 800; letter-spacing: .02em; box-shadow: var(--shadow-sm); }
.showcard__fav { position: absolute; top: 24px; right: 24px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 0; background: #fff; box-shadow: var(--shadow-sm); display: grid; place-items: center; color: var(--ink-3); cursor: pointer; transition: color .18s, transform .18s; }
.showcard__fav svg { width: 20px; height: 20px; }
.showcard__fav:hover { color: var(--accent); transform: scale(1.06); }
.showcard__fav.is-on { color: var(--accent); } .showcard__fav.is-on svg path { fill: var(--accent); }
.showcard__body { padding: 16px 10px 8px; }
.showcard__body h3 { font-size: 17px; font-weight: 800; line-height: 1.25; }
.showcard__body h3 a { color: inherit; text-decoration: none; }
.showcard__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }
.price { font-size: 15px; font-weight: 800; color: var(--ink); white-space: nowrap; }
.price i { font-style: normal; color: var(--ink-3); font-weight: 600; font-size: 12.5px; }
.price em { font-style: normal; color: var(--ink-2); font-weight: 600; font-size: 13px; }
.btn--mini { padding: 9px 16px; font-size: 13px; border-radius: 10px; color: #fff; background: var(--navy); }
.btn--mini:hover { background: var(--accent); }
.chip { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 7px; padding: 9px 13px; border-radius: 10px; background: #fff; box-shadow: var(--shadow-pop); font-size: 12.5px; font-weight: 700; }
.chip svg { width: 16px; height: 16px; flex: none; }
.chip--a { left: -22px; top: 34%; color: var(--ink); } .chip--a svg { color: var(--accent); }
.chip--b { right: -14px; bottom: 16%; color: var(--ink); } .chip--b svg { color: #1f9d5e; }

/* =========================================================================
   VALUE PROPS
   ========================================================================= */
/* brand banner grid (replaced the old value-props strip) */
.banners { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 26px; }
.banner { background: linear-gradient(135deg, #fdf1f8, #f8f4fb); border: 1px solid var(--line-2); border-radius: var(--r-xl); box-shadow: var(--shadow-sm); overflow: hidden; aspect-ratio: 2.05 / 1; display: grid; place-items: center; }
.banner img { width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 720px) { .banners { grid-template-columns: 1fr; gap: 14px; } }
.props { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 26px; }
.prop { display: flex; align-items: center; gap: 14px; padding: 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); transition: transform .18s var(--ease), box-shadow .2s; }
.prop:hover { transform: translateY(-3px); box-shadow: var(--shadow-pop); }
.prop__ic { width: 46px; height: 46px; flex: none; border-radius: 13px; display: grid; place-items: center; color: var(--accent); background: var(--accent-tint); }
.prop__ic svg { width: 23px; height: 23px; }
.prop h3 { font-size: 15px; font-weight: 800; }
.prop p { margin: 3px 0 0; color: var(--ink-2); font-size: 13px; line-height: 1.4; }

/* =========================================================================
   SECTION SCAFFOLD + CARDS
   ========================================================================= */
.section { padding: 54px 24px 0; }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.section__head--center { justify-content: center; text-align: center; }
.section__title { font-size: clamp(26px, 3vw, 34px); font-weight: 800; }
.seeall { display: inline-flex; align-items: center; gap: 7px; color: var(--accent-ink); font-weight: 800; font-size: 14.5px; text-decoration: none; white-space: nowrap; }
.seeall svg { width: 19px; height: 19px; transition: transform .2s var(--ease); }
.seeall:hover svg { transform: translateX(3px); }
.media--a { background: #eaf3ff; color: #2f6fd0; } .media--b { background: #fdf0e8; color: #d4763a; }
.media--c { background: var(--accent-tint); color: var(--accent-ink); } .media--d { background: #f0eefe; color: #6a59d6; }
.media--e { background: #eafaf1; color: #1f9d5e; } .media--f { background: #fff3f8; color: #d6398a; }
.media--g { background: #eef6f6; color: #2b8a8a; }

/* categories */
/* category cards — name top-left, product photo bottom-right, coloured top
   accent, circular arrow bottom-right (image grid, see screenshot) */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cat { position: relative; display: block; min-height: 196px; padding: 22px 22px 18px; background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--line-2); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .18s var(--ease), box-shadow .22s; }
.cat:hover { box-shadow: var(--shadow-pop); } /* no lift, no border change */
.cat__name { position: relative; z-index: 2; display: block; max-width: 56%; font-weight: 800; font-size: 19px; line-height: 1.22; letter-spacing: -.01em; }
.cat__photo { position: absolute; left: 50%; top: 12px; bottom: 14px; transform: translateX(-50%); width: 62%; height: auto; object-fit: contain; object-position: center; pointer-events: none; transition: transform .2s var(--ease); }
.cat picture { display: contents; } /* wrapper is transparent to layout; the absolute .cat__photo positions against .cat */
.cat:hover .cat__photo { transform: translateX(-50%) scale(1.05); }
.cat__ic { position: absolute; top: 20px; right: 20px; width: 60px; height: 60px; border-radius: var(--r-lg); display: grid; place-items: center; overflow: hidden; }
.cat__ic svg { width: 32px; height: 32px; }
.cat__ic img { width: 100%; height: 100%; object-fit: cover; }
.cat__go { position: absolute; right: 16px; bottom: 16px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: grid; place-items: center; transition: background .16s, color .16s, border-color .16s; }
.cat__go svg { width: 18px; height: 18px; }
.cat:hover .cat__go { background: var(--navy); color: #fff; border-color: var(--navy); }
.cat--1 { border-top-color: #3b82f6; } .cat--2 { border-top-color: #e21b86; }
.cat--3 { border-top-color: #1f9d5e; } .cat--4 { border-top-color: #ef8a3c; }
.cat--5 { border-top-color: #7c5cd6; } .cat--6 { border-top-color: #e84e8a; }
.cat--7 { border-top-color: #1ba3a3; } .cat--8 { border-top-color: #3b82f6; }
.cat--9 { border-top-color: #e84e8a; } .cat--10 { border-top-color: #4caf50; }
/* per-card photo nudges */
.cat--1 .cat__photo { object-position: center 70%; top: 27px; bottom: -1px; } /* 15px lower */
.cat--2 .cat__photo { object-position: center 70%; top: 19px; bottom: 7px; } /* 7px lower */
.cat--5 .cat__photo { object-position: 66% center; left: calc(50% + 15px); } /* +15px right */
@media (max-width: 980px) { .cats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .cats { grid-template-columns: 1fr; } }

/* product card grid */
.filters { display: flex; flex-wrap: wrap; gap: 9px; margin: -6px 0 22px; }
.filter { padding: 9px 16px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; font: inherit; font-weight: 700; font-size: 13.5px; color: var(--ink-2); cursor: pointer; transition: all .16s var(--ease); text-decoration: none; }
.filter:hover { border-color: #cfd5db; color: var(--ink); }
.filter.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pcard { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .22s, border-color .2s; }
.pcard:hover { box-shadow: var(--shadow-card); border-color: var(--accent-line); }
.pcard__media { position: relative; aspect-ratio: 16/10; display: grid; place-items: center; padding: 10px; text-decoration: none; color: inherit; background: #fff; overflow: hidden; }
.pcard__media .ill { width: 64%; max-width: 150px; filter: drop-shadow(0 14px 16px rgba(20,30,45,.12)); transition: transform .25s var(--ease); }
.pcard__img { position: absolute; inset: 14px; width: auto; height: auto; max-width: calc(100% - 28px); max-height: calc(100% - 28px); margin: auto; object-fit: contain; transition: opacity .22s var(--ease); mix-blend-mode: multiply; }
.pcard:hover .pcard__media .ill { transform: scale(1.05) translateY(-2px); }
/* hover: swap to the product's second photo (when it has one) */
.pcard__img--alt { opacity: 0; }
.pcard:has(.pcard__img--alt):hover .pcard__img { opacity: 0; }
.pcard:has(.pcard__img--alt):hover .pcard__img--alt { opacity: 1; }
.pcard__price-chip { position: absolute; left: 14px; bottom: 14px; padding: 6px 12px; border-radius: 9px; background: #fff; box-shadow: var(--shadow-sm); font-size: 12.5px; font-weight: 800; color: var(--ink); }
.pcard__price-chip .amount, .pcard__price-chip bdi { font-weight: 800; }
.pcard__price-chip del { display: none; }
.pcard__fav { position: absolute; right: 12px; top: 12px; z-index: 2; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); box-shadow: var(--shadow-sm); display: grid; place-items: center; color: var(--ink-3); cursor: pointer; transition: color .18s, transform .18s; }
.pcard__fav svg { width: 18px; height: 18px; }
.pcard__fav:hover { color: var(--accent); transform: scale(1.08); }
.pcard__fav.is-on { color: var(--accent); } .pcard__fav.is-on svg path { fill: var(--accent); }
.pcard__body { display: flex; flex-direction: column; flex: 1; padding: 4px 16px 16px; }
.pcard__cat { color: var(--accent-ink); font-size: 13px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; }
.pcard__name { margin: 6px 0 0; font-size: 17px; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard__name a { color: inherit; text-decoration: none; }
.pcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 14px; }
.pcard__price { font-size: 20px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.pcard__price .amount, .pcard__price bdi { font-weight: 800; }
.pcard__add { width: 40px; height: 40px; flex: none; border-radius: 11px; border: 0; background: var(--navy); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .18s, transform .15s; text-decoration: none; }
.pcard__add svg { width: 20px; height: 20px; }
.pcard__add:hover { background: var(--accent); }
.pcard__add:active { transform: scale(.94); }

/* =========================================================================
   HOW IT WORKS + BAND
   ========================================================================= */
.how { margin-top: 60px; padding: 60px 0; background: radial-gradient(60% 80% at 50% 0%, var(--accent-tint-2), transparent 70%); }
.steps { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.hstep { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 22px 24px; box-shadow: var(--shadow-sm); transition: transform .18s var(--ease), box-shadow .2s; }
.hstep:hover { transform: translateY(-3px); box-shadow: var(--shadow-pop); }
.hstep__num { position: absolute; top: -14px; left: 22px; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; font-size: 15px; display: grid; place-items: center; box-shadow: 0 8px 16px -8px rgba(226,27,134,.7); }
.hstep__ic { width: 50px; height: 50px; border-radius: 14px; background: var(--accent-tint); color: var(--accent-ink); display: grid; place-items: center; margin: 8px 0 16px; }
.hstep__ic svg { width: 25px; height: 25px; }
.hstep h3 { font-size: 16.5px; font-weight: 800; }
.hstep p { margin: 8px 0 0; color: var(--ink-2); font-size: 13.5px; line-height: 1.5; }
.band { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; margin: 60px 0 0; padding: 38px 44px; border-radius: var(--r-xl); color: #fff; background: linear-gradient(115deg, var(--navy) 0%, #221a3a 55%, #3a1430 100%); box-shadow: var(--shadow-card); overflow: hidden; position: relative; }
.band::before { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(226,27,134,.4), transparent 70%); }
.band__copy { position: relative; max-width: 60ch; }
.band__copy h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; }
.band__copy p { margin: 10px 0 22px; color: #c8cbe0; font-size: 16px; line-height: 1.5; }
.band__copy p b { color: #fff; }
.band__art { position: relative; }
.band__art svg { width: 220px; height: auto; }

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer { margin-top: 70px; background: var(--navy); color: #c8cbe0; padding: 56px 0 26px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.logo--light .logo__img { filter: brightness(0) invert(1); }
.footer__tag { margin: 16px 0 18px; max-width: 40ch; font-size: 14px; line-height: 1.6; color: #9aa0bf; }
.footer__contact { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.footer__contact a { display: inline-flex; align-items: center; gap: 9px; color: #e7e9f3; text-decoration: none; font-weight: 600; font-size: 14px; }
.footer__contact svg { width: 18px; height: 18px; color: var(--accent); flex: none; }
.footer__contact a:hover { color: #fff; }
.socials { display: flex; gap: 10px; }
.socials a { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; color: #c8cbe0; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); transition: background .18s, color .18s, transform .18s; }
.socials svg { width: 20px; height: 20px; }
.socials a:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }
.footer__col h4 { font-size: 13px; font-weight: 800; color: #fff; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 14px; }
.footer__col a { display: block; padding: 6px 0; color: #9aa0bf; text-decoration: none; font-size: 14px; font-weight: 500; transition: color .15s, padding .15s; }
.footer__col a:hover { color: #fff; padding-left: 3px; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; color: #8a90b0; }
.footer__bottom .pays { display: flex; gap: 8px; flex-wrap: wrap; }
.footer__bottom .pay { padding: 5px 11px; border-radius: 7px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.08); font-size: 12px; font-weight: 700; color: #d7d9e8; }
.footer__langs { display: flex; gap: 4px; }
.footer__langs a { padding: 5px 11px; border-radius: 8px; text-decoration: none; font-weight: 700; font-size: 13px; color: #9aa0bf; }
.footer__langs a:hover { color: #fff; background: rgba(255,255,255,.07); }
.footer__langs a.is-active { color: #fff; background: var(--accent); }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1040px) {
  .hero__grid { grid-template-columns: 1fr; gap: 34px; }
  .hero__show { max-width: 460px; }
  .props { grid-template-columns: repeat(2, 1fr); }
  .cats { grid-template-columns: repeat(3, 1fr); }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 860px) {
  .nav { display: none; } .langs { display: none; } .burger { display: flex; }
  .hdr__search { display: none; } .iconbtn--search { display: grid; } .hdr__actions { margin-left: auto; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .band { grid-template-columns: 1fr; text-align: left; }
  .band__art { display: none; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .hero { padding: 30px 0 8px; }
  .hero__trust { gap: 24px; }
  .props { grid-template-columns: 1fr; }
  .cats { grid-template-columns: repeat(2, 1fr); }
  /* category cards: drop the photo into the lower half so it stops crowding the
     name at the top on the narrow mobile cards */
  .cat { min-height: 208px; padding-bottom: 14px; }
  .cat__name { max-width: 70%; font-size: 18px; }
  .cats .cat .cat__photo { top: auto; bottom: 20px; left: 50%; height: 54%; width: 62%; object-position: center bottom; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .section { padding-top: 40px; }
  .chip--a { left: 6px; } .chip--b { right: 6px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 380px) { .grid, .cats { grid-template-columns: 1fr; } }

/* =========================================================================
   CONTENT BASICS (index / page / single / search / archive)
   ========================================================================= */
.page-head { padding: 30px 0 6px; }
.page-head .kicker { margin-bottom: 8px; }
.page-head__title { font-size: clamp(26px, 3.6vw, 40px); font-weight: 800; }
.page-head__sub { margin: 10px 0 0; max-width: 60ch; color: var(--ink-2); font-size: 16px; line-height: 1.55; }
.crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding-top: 22px; font-size: 13px; font-weight: 600; color: var(--ink-3); }
.crumbs a { color: var(--ink-2); text-decoration: none; } .crumbs a:hover { color: var(--accent-ink); }
.content { padding: 20px 0 10px; }
.prose-basic { max-width: 760px; font-size: 16.5px; line-height: 1.7; color: var(--ink-2); }
.prose-basic > *:first-child { margin-top: 0; }
.prose-basic h2 { color: var(--ink); font-size: 23px; font-weight: 800; margin: 32px 0 12px; }
.prose-basic h3 { color: var(--ink); font-size: 18px; font-weight: 800; margin: 24px 0 10px; }
/* Product descriptions use h6 for their section titles (Tooteinfo, Kohaletoimetamine…).
   Without these the browser default (~0.67em) renders them smaller than body text. */
.prose-basic h4 { color: var(--ink); font-size: 17px; font-weight: 800; margin: 24px 0 10px; }
.prose-basic h5, .prose-basic h6 { color: var(--ink); font-size: 16.5px; font-weight: 800; margin: 22px 0 8px; }
.prose-basic p { margin: 0 0 16px; }
.prose-basic a { color: var(--accent-ink); font-weight: 700; }
.prose-basic strong { color: var(--ink); font-weight: 800; }
.prose-basic img { border-radius: var(--r-md); margin: 14px 0; height: auto; }
.prose-basic ul, .prose-basic ol { margin: 0 0 18px; padding-left: 22px; }
.prose-basic li { margin-bottom: 7px; }
.prose-basic blockquote { margin: 26px 0; padding: 6px 0 6px 22px; border-left: 4px solid var(--accent); font-size: 19px; font-weight: 700; color: var(--ink); font-style: italic; }
.postlist { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.postcard { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); text-decoration: none; color: inherit; transition: transform .2s var(--ease), box-shadow .22s, border-color .2s; }
.postcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: var(--accent-line); }
.postcard__thumb { aspect-ratio: 16/9; background: var(--accent-tint-2); overflow: hidden; }
.postcard__thumb img { width: 100%; height: 100%; object-fit: cover; }
.postcard__body { padding: 16px 18px 18px; }
.postcard__date { color: var(--ink-3); font-size: 12px; font-weight: 700; }
.postcard h3 { font-size: 16.5px; font-weight: 800; line-height: 1.3; margin: 7px 0 8px; }
.postcard p { color: var(--ink-2); font-size: 13.5px; line-height: 1.5; margin: 0; }
.single { padding: 8px 0 10px; }
.single__title { font-size: clamp(28px, 4vw, 42px); font-weight: 800; line-height: 1.1; margin-bottom: 14px; }
.single__meta { color: var(--ink-2); font-size: 13.5px; font-weight: 600; margin-bottom: 22px; }
.single__thumb { border-radius: var(--r-xl); overflow: hidden; margin-bottom: 26px; box-shadow: var(--shadow-sm); }
.single__thumb img { width: 100%; display: block; }
.pagination { display: flex; gap: 10px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }
.pagination .page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 13px; border-radius: var(--r-md); border: 1px solid var(--line); background: #fff; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 14.5px; box-shadow: var(--shadow-sm); }
.pagination .page-numbers.current { background: var(--navy); color: #fff; border-color: var(--navy); }
.pagination .page-numbers:hover:not(.current) { border-color: var(--accent-line); color: var(--accent-ink); }
@media (max-width: 860px) { .postlist { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .postlist { grid-template-columns: 1fr; } }

/* =========================================================================
   SHOP ARCHIVE (woocommerce/archive-product.php)
   ========================================================================= */
.shoparchive { padding-bottom: 12px; }
.shop { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 28px; align-items: start; margin-top: 26px; }
.shop-side { position: sticky; top: 92px; }
.shop-side__box { max-height: calc(100vh - 106px); overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.shop-side__box::-webkit-scrollbar { width: 6px; }
.shop-side__box::-webkit-scrollbar-track { background: transparent; }
.shop-side__box::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }
.shop-side__box::-webkit-scrollbar-thumb:hover { background: #cfd5db; }
@media (min-width: 901px) { .shop-side .catlist { overflow-x: hidden; } }
.shop-side__box { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); padding: 18px; }
.shop-side__box h2 { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-2); margin-bottom: 10px; }
.catlist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; }
.catlist li { min-width: 0; }
.catlist a { display: flex; align-items: center; gap: 11px; padding: 7px 9px; border-radius: var(--r-md); color: var(--ink-2); text-decoration: none; font-weight: 700; font-size: 14px; min-width: 0; transition: background .15s, color .15s; }
.catlist__ic { width: 32px; height: 32px; border-radius: var(--r-sm); background: #f4f6f8; color: var(--ink-2); display: grid; place-items: center; flex: none; transition: background .15s, color .15s; }
.catlist__ic svg { width: 17px; height: 17px; }
.catlist__t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.catlist em { margin-left: auto; font-style: normal; background: var(--line-2); color: var(--ink-2); border-radius: var(--r-sm); padding: 2px 8px; font-size: 11.5px; font-weight: 800; flex: none; }
.catlist a:hover { background: var(--accent-tint-2); color: var(--accent-ink); }
.catlist a:hover .catlist__ic { background: #fff; color: var(--accent-ink); }
.catlist a.is-active { background: var(--accent-tint); color: var(--accent-ink); }
.catlist a.is-active .catlist__ic { background: var(--accent); color: #fff; }
.catlist a.is-active em { background: #fff; color: var(--accent-ink); }
/* mobile: categories become a horizontal chip row */
@media (max-width: 900px) {
  .shop-side__box { padding: 12px; }
  .shop-side__box h2 { display: none; }
  .catlist { display: flex; overflow-x: auto; gap: 8px; padding-bottom: 4px; scrollbar-width: thin; scrollbar-color: var(--accent-line) var(--line-2); }
  .catlist li { flex: none; }
  .catlist a { border: 1.5px solid var(--line); background: #fff; padding: 7px 12px; }
  .catlist a.is-active { border-color: var(--accent); }
  .catlist__ic { width: 22px; height: 22px; background: transparent !important; }
  .catlist em { display: none; }
}
.shop-content { min-width: 0; }
.shop-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.woocommerce-result-count { margin: 0; color: var(--ink-2); font-size: 14px; font-weight: 600; }
.woocommerce-ordering { margin: 0; }
.woocommerce-ordering select, .shop-toolbar select {
  appearance: none; -webkit-appearance: none; border: 1.5px solid var(--line); border-radius: 10px; background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23939ba6' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 16px;
  padding: 10px 38px 10px 14px; font: inherit; font-weight: 700; font-size: 13.5px; color: var(--ink); cursor: pointer;
}
.woocommerce-ordering select:hover { border-color: #cfd5db; }
.shoparchive .grid { grid-template-columns: repeat(3, 1fr); }
.shoparchive .empty { text-align: center; padding: 56px 20px; }
.shoparchive .empty svg { width: 40px; height: 40px; color: var(--ink-3); margin: 0 auto 14px; }
.shoparchive .empty p { font-size: 15px; color: var(--ink-2); margin: 0 0 16px; }
/* Woo pagination — must out-specify woocommerce.css core rules, which draw
   the <ul> as one bordered box with li separators (.woocommerce nav... ul) */
nav.woocommerce-pagination { margin-top: 34px; }
.woocommerce nav.woocommerce-pagination ul.page-numbers,
nav.woocommerce-pagination ul.page-numbers { display: flex; gap: 10px; justify-content: center; align-items: center; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; border: 0 !important; background: none; white-space: normal; }
.woocommerce nav.woocommerce-pagination ul li,
nav.woocommerce-pagination ul li { border: 0 !important; margin: 0; padding: 0; display: block; overflow: visible; background: none; }
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span,
nav.woocommerce-pagination ul li a,
nav.woocommerce-pagination ul li span { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 13px; margin: 0; border-radius: var(--r-md); border: 1px solid var(--line); background: #fff; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 14.5px; line-height: 1; box-shadow: var(--shadow-sm); transition: border-color .15s, color .15s, transform .15s; }
.woocommerce nav.woocommerce-pagination ul li span.current,
nav.woocommerce-pagination ul li span.current { background: var(--navy); border-color: var(--navy); color: #fff; }
.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li a:focus,
nav.woocommerce-pagination ul li a:hover { border-color: var(--accent-line); color: var(--accent-ink); background: #fff; transform: translateY(-1px); }
@media (max-width: 900px) { .shop { grid-template-columns: minmax(0, 1fr); } .shop-side { position: static; } .shoparchive .grid { grid-template-columns: repeat(2, 1fr); }
  /* minmax(0,1fr) (hard 0 track minimum) so the grid/flex chain can't be inflated
     past the viewport by a card's min-content (the aspect-ratio media miscomputed it
     to ~1634px, spilling the whole page sideways) */
  .shop, .shop-side, .shop-content, .grid, .pcard { min-width: 0; }
  .shop-content .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .shoparchive .grid { grid-template-columns: 1fr 1fr; gap: 12px; } .shop-content .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
@media (max-width: 380px) { .shoparchive .grid { grid-template-columns: 1fr; } }

/* =========================================================================
   SINGLE PRODUCT (woocommerce/single-product.php) — shell; booking via plugin
   ========================================================================= */
.singleprod { padding-bottom: 12px; }
/* ===== product overview (2-col) + full-width order flow ===== */
.prodwrap { padding-top: 14px; }
.prodtop { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 20px; align-items: start; }
.prodtop__main { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.prodtop__side { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.prodcard { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-sm); padding: 24px 26px; }
.prodcard--media { padding: 24px; }
.prodcard__t { font-size: 16px; font-weight: 800; letter-spacing: -.01em; margin: 0 0 16px; }
.product__stage { position: relative; flex: 1; min-width: 0; background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-lg); display: grid; place-items: center; aspect-ratio: 4/3.4; overflow: hidden; cursor: zoom-in; }
.zoombtn { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 8px 13px; border-radius: var(--r-md); border: 1px solid var(--line); background: rgba(255,255,255,.92); font: inherit; font-size: 12.5px; font-weight: 700; color: var(--ink-2); cursor: pointer; box-shadow: var(--shadow-sm); transition: color .15s, border-color .15s; }
.zoombtn svg { width: 15px; height: 15px; }
.zoombtn:hover { color: var(--accent-ink); border-color: var(--accent-line); }
.prose-mini { color: var(--ink-2); font-size: 15px; line-height: 1.62; }
.prose-mini p { margin: 0 0 10px; } .prose-mini p:last-child { margin-bottom: 0; }
.prose-mini a { color: var(--accent-ink); font-weight: 700; text-decoration: none; }
.prose-mini a:hover { text-decoration: underline; }
.flow { margin-top: 26px; display: flex; flex-direction: column; gap: 22px; }
/* order-flow intro heading (top of step 1) */
.flow__head { margin: 4px 0 22px; padding-bottom: 20px; border-bottom: 1px solid var(--line-2); }
.flow__title { margin: 0; font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; letter-spacing: -.02em; display: flex; align-items: center; gap: 11px; }
.flow__title svg { width: 30px; height: 30px; color: var(--accent); flex: none; }
.flow__sub { margin: 9px 0 0; color: var(--ink-2); font-size: 15px; }
.flow .step__head { margin-bottom: 16px; }
/* delivery toggle: hide pickup points + show note on delivery (CSS only) */
.seg__note { display: none; align-items: flex-start; gap: 7px; margin: 12px 0 0; font-size: 13px; font-weight: 600; line-height: 1.5; color: var(--accent-ink); }
.seg__note svg { flex: 0 0 auto; margin-top: 2px; }
.step:has(.seg__btn[data-method="delivery"].is-active) .seg__note--delivery { display: flex; }
.step:has(.seg__btn[data-method="pickup"].is-active) .seg__note--pickup { display: flex; }
.step:has(.seg__btn[data-method="delivery"].is-active) .locs,
.step:has(.seg__btn[data-method="delivery"].is-active) .locs__head { display: none; }
/* return calendar locked until start chosen */
.periodcol--end { position: relative; }
.periodcol--end.is-locked .cal, .periodcol--end.is-locked .timechips, .periodcol--end.is-locked .periodcol__time { opacity: .35; pointer-events: none; filter: grayscale(.6); }
.periodcol__lock { display: none; }
.periodcol--end.is-locked .periodcol__lock { display: grid; place-items: center; position: absolute; left: 0; right: 0; top: 40px; bottom: 0; margin: 0; text-align: center; font-size: 13px; font-weight: 700; color: var(--ink-2); background: rgba(253,252,254,.62); border-radius: var(--r-md); padding: 16px; }
/* extras: read-more + modal */
.extra__more { display: inline; background: none; border: 0; padding: 0; margin-left: 4px; font: inherit; font-size: 11.5px; font-weight: 700; color: var(--accent-ink); cursor: pointer; text-decoration: underline; }
.extra__moretext { display: none; }
.emodal { position: fixed; inset: 0; z-index: 80; display: flex; align-items: center; justify-content: center; padding: 20px; }
.emodal__scrim { position: absolute; inset: 0; background: rgba(12,0,67,.45); }
.emodal__box { position: relative; background: #fff; border-radius: var(--r-xl); box-shadow: var(--shadow-card); max-width: 460px; width: 100%; padding: 28px 30px; animation: pop .18s var(--ease) both; }
.emodal__x { position: absolute; right: 12px; top: 12px; width: 34px; height: 34px; border-radius: 9px; border: 0; background: #f3f4f6; cursor: pointer; display: grid; place-items: center; color: var(--ink-2); }
.emodal__x svg { width: 18px; height: 18px; }
.emodal__body strong { display: block; font-size: 17px; font-weight: 800; margin-bottom: 8px; }
.emodal__body p { margin: 0; color: var(--ink-2); font-size: 14px; line-height: 1.6; }
.spec__h { font-size: 16px; font-weight: 800; margin: 26px 0 12px; }

/* Product videos (bottom of the description tab). The thumbnail is a button; the
   YouTube iframe is inserted only on click, so nothing loads until the user asks. */
.pvideos { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; max-width: 760px; margin: 0 0 6px; }
.pvideo { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; border-radius: var(--r-md); overflow: hidden; background: #0d0d12; cursor: pointer; }
.pvideo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s var(--ease), opacity .2s; }
.pvideo:hover img, .pvideo:focus-visible img { transform: scale(1.04); opacity: .85; }
.pvideo__play { position: absolute; inset: 0; margin: auto; width: 60px; height: 60px; border-radius: 50%; background: var(--accent, #d10a6b); box-shadow: 0 10px 26px rgba(0,0,0,.38); transition: transform .2s var(--ease); }
.pvideo:hover .pvideo__play { transform: scale(1.08); }
.pvideo__play::after { content: ""; position: absolute; top: 50%; left: 54%; transform: translate(-50%, -50%); border-style: solid; border-width: 10px 0 10px 17px; border-color: transparent transparent transparent #fff; }
.pvideo--playing { cursor: default; }
.pvideo--playing iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 640px) { .pvideos { grid-template-columns: 1fr; } }
.steps-list { margin: 0; padding-left: 22px; font-size: 15.5px; line-height: 1.7; color: var(--ink-2); } /* usage placeholder list */
.steps-list li { margin-bottom: 7px; }
.tab-note { margin-top: 16px; font-size: 12.5px; color: var(--ink-3); font-style: italic; }
@media (max-width: 920px) { .prodtop { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .product__media { flex-direction: column-reverse; } .product__thumbs { flex-direction: row; flex-wrap: wrap; } .product__stage { aspect-ratio: 16/10; } }

.config-wrap { padding-top: 10px; }
.config { background: var(--card); border-radius: var(--r-xl); box-shadow: var(--shadow-card); overflow: clip; }
.config__grid { display: grid; grid-template-columns: minmax(300px, 400px) minmax(0, 1fr); }
.product { padding: 30px; border-right: 1px solid var(--line-2); background: linear-gradient(180deg,#fff,#fcfdfe); }
.product__title { font-size: clamp(20px, 1.9vw, 25px); line-height: 1.2; font-weight: 800; letter-spacing: -.02em; margin: 0 0 18px; }
.product__media { display: flex; gap: 14px; align-items: stretch; }
.product__main { position: absolute; inset: 0; margin: auto; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: opacity .2s var(--ease); }
.product__thumbs { display: flex; flex-direction: column; gap: 10px; flex: none; }
.pthumb { width: 62px; height: 62px; border-radius: var(--r-sm); background: #fff; border: 1.5px solid var(--line); box-shadow: var(--shadow-sm); cursor: pointer; overflow: hidden; padding: 6px; flex: none; transition: border-color .15s, transform .15s, box-shadow .15s; }
.pthumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.pthumb:hover { transform: translateY(-1px); border-color: #cfd5db; }
.pthumb.is-active { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-tint); }
/* product image lightbox (click stage to enlarge) */
.imgzoom { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 4vmin; background: rgba(8,0,46,.82); backdrop-filter: blur(3px); cursor: zoom-out; }
.imgzoom[hidden] { display: none; }
.imgzoom__img { max-width: min(94vw, 1000px); max-height: 88vh; width: auto; height: auto; object-fit: contain; background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-card); }
.imgzoom__x { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border-radius: var(--r-md); border: 0; background: rgba(255,255,255,.16); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .15s; }
.imgzoom__x:hover { background: rgba(255,255,255,.28); }
.imgzoom__x svg { width: 22px; height: 22px; }
.desc { margin: 22px 0; padding: 18px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; }
.desc__t { margin: 0 0 8px; font-size: 15px; font-weight: 800; letter-spacing: -.01em; }
.desc__p { margin: 0; color: var(--ink-2); font-size: 13.5px; line-height: 1.55; }
.features { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.feature { display: grid; grid-template-columns: 40px 1fr; gap: 13px; align-items: start; }
.feature__ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: var(--accent); background: var(--accent-tint); }
.feature__ic svg { width: 21px; height: 21px; }
.feature__t { margin: 1px 0 3px; font-weight: 700; font-size: 14.5px; letter-spacing: -.01em; }
.feature__d { margin: 0; color: var(--ink-2); font-size: 13px; line-height: 1.45; }

/* right column — booking area (plugin injection point) */
.main { padding: 28px 30px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.pill-cat { align-self: flex-start; padding: 5px 12px; border-radius: 8px; background: var(--navy); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .02em; text-decoration: none; }
.pill-cat:hover { background: var(--accent); }
.buybox__title { font-size: clamp(20px, 2.2vw, 26px); line-height: 1.18; font-weight: 800; }
.rating { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13.5px; }
.stars { display: inline-flex; gap: 1px; color: #f5b81e; } .stars svg { width: 17px; height: 17px; }
.rating b { font-weight: 800; } .rating__count { color: var(--ink-2); }
.rating__stock { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; color: #1f9d5e; font-weight: 700; font-size: 12.5px; }
.rating__stock .dot { width: 8px; height: 8px; border-radius: 50%; background: #1f9d5e; box-shadow: 0 0 0 3px rgba(31,157,94,.16); }
.price-lead { font-size: 15px; font-weight: 700; color: var(--ink-2); }
.price-lead .amount, .price-lead bdi { color: var(--accent-ink); font-weight: 800; font-size: 22px; letter-spacing: -.02em; }
.booking { display: flex; flex-direction: column; gap: 16px; }
.booking-ph { border: 1.5px dashed var(--accent-line); border-radius: var(--r-lg); padding: 22px; background: var(--accent-tint-2); }
.booking-ph__h { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 15px; color: var(--ink); }
.booking-ph__h svg { width: 20px; height: 20px; color: var(--accent-ink); }
.booking-ph p { margin: 10px 0 0; color: var(--ink-2); font-size: 13.5px; line-height: 1.55; }
.booking-ph__stub { margin-top: 16px; display: grid; gap: 8px; }
.booking-ph__bar { height: 44px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--accent-line); opacity: .6; }
.booking-ph__bar--cta { height: 52px; background: var(--navy); border: 0; opacity: .35; }
.secure { display: inline-flex; align-items: center; gap: 7px; color: var(--ink-2); font-size: 12.5px; font-weight: 600; }
.secure svg { width: 15px; height: 15px; }

/* ---- order configurator (static visual; rental plugin powers it later) ---- */
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-sm); padding: 24px 26px; }
.block__title { margin: 0 0 14px; font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.prices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 11px; }
.price { border: 1px solid var(--line); border-radius: var(--r-md); padding: 13px 14px; background: var(--field); display: flex; flex-direction: column; gap: 8px; }
.price__cal { display: inline-flex; align-items: center; gap: 7px; color: var(--ink-2); font-size: 12.5px; font-weight: 600; }
.price__cal svg { width: 16px; height: 16px; color: var(--accent); flex: none; }
.price__val { font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
/* variants: one row, narrow cards; extra ones scroll horizontally (slider) */
.variants { display: flex; flex-wrap: nowrap; gap: 12px; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 6px; scrollbar-width: thin; scrollbar-color: var(--accent-line) var(--line-2); }
.variants::-webkit-scrollbar { height: 6px; }
.variants::-webkit-scrollbar-track { background: var(--line-2); border-radius: 3px; }
.variants::-webkit-scrollbar-thumb { background: var(--accent-line); border-radius: 3px; }
.variant { position: relative; flex: 1 0 0; min-width: 164px; max-width: 250px; scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 3px; padding: 14px 12px; border: 1.5px solid var(--line); border-radius: var(--r-md); text-decoration: none; color: inherit; transition: border-color .18s, box-shadow .18s, background .18s; }
.variant:hover { border-color: #cfd5db; }
.variant__radio { position: absolute; top: 10px; left: 10px; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #cdd3da; display: grid; place-items: center; background: rgba(255,255,255,.85); }
.variant__radio::after { content: ""; width: 11px; height: 11px; border-radius: 50%; background: var(--accent); transform: scale(0); transition: transform .18s var(--ease); }
.variant__media { width: 100%; height: 92px; border-radius: var(--r-sm); background: #f4f7fa; display: grid; place-items: center; margin-bottom: 8px; }
.variant__media svg { width: 72%; max-width: 150px; height: auto; }
.variant__media { position: relative; overflow: hidden; }
.variant__media img { position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); object-fit: contain; mix-blend-mode: multiply; }
.variant__name { font-weight: 700; font-size: 13px; line-height: 1.3; letter-spacing: -.01em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.variant__price { color: var(--ink-2); font-size: 12.5px; font-weight: 600; }
.variant__btn { width: 100%; margin-top: 10px; padding: 9px 10px; border-radius: 10px; font-size: 12.5px; font-weight: 700; background: #f1f3f6; color: var(--ink); border: 1px solid var(--line); transition: background .15s; }
.variant:hover .variant__btn:not(.variant__btn--current) { background: #e7eaef; }
.variant__btn--current { background: var(--navy); color: #fff; border-color: var(--navy); }
.variant.is-selected { border-color: var(--accent); background: var(--accent-tint-2); box-shadow: inset 0 0 0 1px var(--accent); }
.variant.is-selected .variant__radio { border-color: var(--accent); }
.variant.is-selected .variant__radio::after { transform: scale(1); }
.step__head { display: flex; align-items: center; gap: 11px; margin-bottom: 15px; }
.step__num { width: 26px; height: 26px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--accent); color: #fff; font-weight: 800; font-size: 13.5px; }
.step__head h2 { margin: 0; font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.seg { display: flex; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.seg__btn { display: inline-flex; align-items: center; gap: 9px; padding: 11px 17px; font: inherit; font-weight: 700; font-size: 14px; color: var(--ink-2); background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-md); cursor: pointer; transition: all .18s var(--ease); }
.seg__btn svg { width: 19px; height: 19px; }
.seg__price { font-size: 12.5px; font-weight: 700; color: var(--accent-ink); padding-left: 2px; }
.seg__btn:hover { border-color: #cfd5db; color: var(--ink); }
.seg__btn.is-active { color: var(--accent-ink); border-color: var(--accent); background: var(--accent-tint-2); box-shadow: inset 0 0 0 1px var(--accent); }
.locs__head { margin: 0 0 11px; font-size: 14.5px; font-weight: 800; letter-spacing: -.01em; color: var(--ink); } /* pickup-points heading */
.locs { display: grid; grid-template-columns: 1fr; gap: 10px; }
.loc { position: relative; display: flex; align-items: center; gap: 11px; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: var(--r-md); cursor: pointer; transition: border-color .18s, background .18s, box-shadow .18s; }
.loc:hover { border-color: #cfd5db; }
.loc input { position: absolute; opacity: 0; pointer-events: none; }
.loc__radio { width: 20px; height: 20px; flex: none; border-radius: 50%; border: 2px solid #cdd3da; display: grid; place-items: center; transition: border-color .18s; }
.loc__radio::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); transform: scale(0); transition: transform .18s var(--ease); }
.loc__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.loc__name { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; }
.loc__pin { width: 16px; height: 16px; color: var(--ink-3); flex: none; }
.loc__meta { color: var(--ink-2); font-size: 12.5px; }
/* first-available indication (replaces the old magenta "next day" hint) */
.loc__badge { margin-left: auto; flex: none; align-self: center; font-size: 11.5px; font-weight: 700; line-height: 1.1; padding: 5px 9px; border-radius: 7px; white-space: nowrap; }
.loc__badge--now { background: #e7f6ec; color: #18793a; }
.loc__badge--later { background: #fdeedd; color: #ac5a04; }
.seg__avail { display: inline-block; margin-left: 7px; font-size: 10.5px; font-weight: 800; line-height: 1; padding: 3px 7px; border-radius: 6px; vertical-align: middle; }
.seg__avail--now { background: #e7f6ec; color: #18793a; }
.seg__avail--later { background: #fdeedd; color: #ac5a04; }
/* selected = magenta outline on white (no pink-on-pink wash) */
.loc.is-selected { border-color: var(--accent); background: #fff; box-shadow: inset 0 0 0 1px var(--accent); }
.loc.is-selected .loc__radio { border-color: var(--accent); }
.loc.is-selected .loc__radio::after { transform: scale(1); }
.loc.is-selected .loc__pin { color: var(--accent-ink); }
/* "Millal on ese saadaval?" — per-day pickup schedule for the chosen point */
.availsched { margin-top: 16px; }
.availsched__t { margin: 0 0 4px; font-size: 15px; font-weight: 800; letter-spacing: -.01em; color: var(--ink); }
.availsched__sub { margin: 0 0 12px; color: var(--ink-2); font-size: 12.5px; }
.availsched__card { border: 1.5px solid var(--line); border-radius: var(--r-md); padding: 14px 16px; }
.availsched__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-bottom: 12px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.availsched__head strong { font-size: 15px; }
.availsched__rb { font-size: 12px; font-weight: 600; color: #ac5a04; background: #fdeedd; padding: 4px 10px; border-radius: 7px; }
.availsched__rb b { color: #ac5a04; }
.availsched__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; }
.availsched__row + .availsched__row { border-top: 1px solid var(--line-2, #f0f1f3); }
.availsched__day { font-weight: 700; font-size: 14px; }
.availsched__time { color: var(--ink-3); font-size: 13px; }
.availsched__time b { color: var(--ink); font-weight: 700; }
.hint { display: flex; align-items: center; gap: 8px; margin: 13px 0 0; color: var(--ink-2); font-size: 13px; }
.hint svg { width: 17px; height: 17px; color: var(--ink-3); flex: none; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { position: relative; display: flex; align-items: center; gap: 10px; padding: 0 14px; height: 50px; border: 1.5px solid var(--line); border-radius: var(--r-md); background: var(--field); cursor: pointer; transition: border-color .18s, box-shadow .18s, background .18s; }
.field:hover { border-color: #cfd5db; }
.field:focus-within { border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px var(--accent-tint); }
.field__ic { width: 19px; height: 19px; color: var(--ink-3); flex: none; }
.field__chev { width: 18px; height: 18px; color: var(--ink-3); margin-left: auto; flex: none; }
.field input, .field select { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0 40px 0 44px; border: 0; background: transparent; font: inherit; font-weight: 600; color: var(--ink); cursor: pointer; -webkit-appearance: none; appearance: none; outline: none; }
.field input[type="date"]::-webkit-calendar-picker-indicator { opacity: 0; cursor: pointer; }
.field:not(.has-value) input[type="date"], .field:not(.has-value) input[type="date"]::-webkit-datetime-edit { color: transparent; }
.field.has-value input[type="date"], .field.has-value input[type="date"]::-webkit-datetime-edit { color: var(--ink); }
.field__ph { position: absolute; left: 44px; top: 50%; transform: translateY(-50%); color: var(--ink-3); font-weight: 600; font-size: 14px; pointer-events: none; transition: opacity .12s; }
.field.has-value .field__ph, .field:focus-within .field__ph { opacity: 0; }
.extras { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.extra { position: relative; display: grid; grid-template-columns: 22px 42px 1fr auto; column-gap: 10px; row-gap: 4px; align-items: center; padding: 11px 12px; border: 1.5px solid var(--line); border-radius: var(--r-md); cursor: pointer; transition: border-color .18s, background .18s, box-shadow .18s; }
.extra:hover { border-color: #cfd5db; }
.extra input { position: absolute; opacity: 0; pointer-events: none; }
.extra__check { grid-column: 1; grid-row: 1 / span 2; align-self: center; width: 22px; height: 22px; border-radius: 7px; border: 2px solid #cdd3da; display: grid; place-items: center; transition: all .16s var(--ease); }
.extra__check::after { content: ""; width: 11px; height: 6px; margin-top: -2px; border-left: 2.4px solid #fff; border-bottom: 2.4px solid #fff; transform: rotate(-45deg) scale(0); transition: transform .16s var(--ease); }
.extra__thumb { grid-column: 2; grid-row: 1 / span 2; align-self: center; width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; }
.extra__thumb svg { width: 23px; height: 23px; }
.extra__thumb--img { background: #fff; border: 1px solid var(--line-2); }
.extra__thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 3px; border-radius: inherit; }
.extra__zoom { cursor: zoom-in; }
.extra.is-unavailable { position: relative; }
.extra.is-unavailable .extra__thumb, .extra.is-unavailable .extra__body, .extra.is-unavailable .extra__check { opacity: .45; }
.extra.is-unavailable .extra__price, .extra.is-unavailable .extra__add, .extra.is-unavailable .stepper { visibility: hidden; }
.extra__na { display: none; }
.extra__stockhint { grid-column: 1 / -1; margin-top: 4px; font-size: 11.5px; font-weight: 600; color: var(--muted, #8a8490); }
.extra.is-unavailable .extra__stockhint { display: none; }
.stepper__btn[disabled] { opacity: .35; cursor: not-allowed; }
.extra.is-unavailable .extra__na { display: inline-flex; align-items: center; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; color: #b3231f; background: #fbe9e8; padding: 3px 9px; border-radius: 6px; }
.renmo-lb { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 24px; background: rgba(15,17,36,.72); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.renmo-lb[hidden] { display: none; }
.renmo-lb img { max-width: min(92vw, 620px); max-height: 86vh; border-radius: 14px; background: #fff; box-shadow: 0 24px 64px -14px rgba(0,0,0,.55); object-fit: contain; }
.renmo-lb__x { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.94); color: #111; font-size: 26px; line-height: 1; cursor: pointer; display: grid; place-items: center; box-shadow: var(--shadow-sm); }
body.renmo-lb-open { overflow: hidden; }
.extra__thumb--a { background: #eaf3ff; color: #2f6fd0; }
.extra__thumb--b { background: #fdf0e8; color: #d4763a; }
.extra__thumb--c { background: #eafaf1; color: #1f9d5e; }
.extra__thumb--d { background: #f0eefe; color: #6a59d6; }
.extra__body { grid-column: 3; grid-row: 1 / span 2; align-self: center; min-width: 0; }
.extra__name { display: block; font-weight: 700; font-size: 14px; letter-spacing: -.01em; }
.extra__desc { display: block; color: var(--ink-2); font-size: 11.5px; line-height: 1.35; margin-top: 2px; }
.extra__price { grid-column: 4; grid-row: 1; justify-self: end; font-weight: 700; font-size: 13.5px; white-space: nowrap; }
.extra .stepper { grid-column: 4; grid-row: 2; justify-self: end; }
.extra__add { grid-column: 4; grid-row: 2; justify-self: end; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: var(--accent-ink); border: 1.5px solid var(--accent-line); background: #fff; transition: all .18s var(--ease); }
.extra__add svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.extra:hover .extra__add { background: var(--accent-tint); }
.extra.is-on { border-color: var(--accent); background: var(--accent-tint-2); box-shadow: inset 0 0 0 1px var(--accent); }
.extra.is-on .extra__check { border-color: var(--accent); background: var(--accent); }
.extra.is-on .extra__check::after { transform: rotate(-45deg) scale(1); }
.extra.is-on .extra__add { background: var(--accent); border-color: var(--accent); color: #fff; }
.extra.is-on .extra__add svg { transform: rotate(45deg); }
.stepper { display: inline-flex; align-items: stretch; border: 1.5px solid var(--line); border-radius: 9px; overflow: hidden; background: #fff; }
.stepper__btn { width: 28px; border: 0; background: #f3f4f6; font: inherit; font-size: 17px; line-height: 1; color: var(--ink); cursor: pointer; transition: background .14s; }
.stepper__btn:hover { background: #e7eaef; }
.stepper__val { min-width: 26px; display: grid; place-items: center; font-weight: 800; font-size: 14px; font-variant-numeric: tabular-nums; }
.extra.is-on .stepper { border-color: var(--accent); }
.extra.is-on .stepper__btn { color: var(--accent-ink); }
/* qty extras: full-width stepper at the bottom with big − / + tap targets */
.extra[data-qty] .extra__check, .extra[data-qty] .extra__thumb, .extra[data-qty] .extra__body { grid-row: 1; }
.extra[data-qty] .extra__price { grid-row: 1; align-self: center; }
.extra[data-qty] .stepper { grid-column: 1 / -1; grid-row: 2; display: flex; width: 100%; margin-top: 10px; border-radius: var(--r-md); }
.extra[data-qty] .stepper__btn { flex: 1; height: 46px; font-size: 24px; }
.extra[data-qty] .stepper__val { flex: 0 0 72px; font-size: 16px; }

/* step 2 — inline calendar (always visible) + visible time chips */
.cal { border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px 16px 16px; background: var(--field); max-width: 460px; }
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cal__month { font-weight: 800; font-size: 15px; letter-spacing: -.01em; }
.cal__nav { width: 34px; height: 34px; border-radius: 9px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; display: grid; place-items: center; color: var(--ink-2); transition: border-color .15s, color .15s, background .15s; }
.cal__nav:hover { border-color: var(--accent-line); color: var(--accent-ink); background: var(--accent-tint-2); }
.cal__nav svg { width: 18px; height: 18px; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal__dow { text-align: center; font-size: 11px; font-weight: 800; color: var(--ink-3); text-transform: uppercase; padding-bottom: 4px; }
.cal__day { aspect-ratio: 1; border: 0; background: #fff; border-radius: 9px; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink); cursor: pointer; display: grid; place-items: center; transition: background .12s, color .12s; }
.cal__day--empty { background: transparent; cursor: default; }
.cal__day:hover:not(:disabled):not(.cal__day--empty) { background: var(--accent-tint); color: var(--accent-ink); }
.cal__day.is-today { box-shadow: inset 0 0 0 1.5px var(--accent-line); }
.cal__day.is-in { background: var(--accent-tint); color: var(--accent-ink); }
.cal__day.is-start, .cal__day.is-end { background: var(--accent); color: #fff; }
.cal__day:disabled, .cal__day.is-past { color: var(--ink-3); opacity: .35; cursor: default; pointer-events: none; }
.cal__day.is-booked { color: var(--ink-3); opacity: 1; cursor: not-allowed; background: #f4f5f7; text-decoration: line-through; text-decoration-thickness: 1.5px; pointer-events: none; }
.times { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin-top: 14px; }
.timecol { min-width: 0; }
.times__label { display: block; font-size: 12.5px; font-weight: 700; color: var(--ink-2); margin-bottom: 8px; }
.timechips { display: grid; grid-template-columns: repeat(auto-fill, minmax(56px, 1fr)); gap: 6px; min-width: 0; }
.tchip { padding: 9px 6px; border: 1.5px solid var(--line); border-radius: 9px; background: #fff; font: inherit; font-size: 13.5px; font-weight: 700; color: var(--ink-2); cursor: pointer; text-align: center; transition: border-color .14s, color .14s, background .14s; }
.tchip:hover { border-color: #cfd5db; color: var(--ink); }
.tchip.is-on { background: var(--accent-tint-2); border-color: var(--accent); color: var(--accent-ink); box-shadow: inset 0 0 0 1px var(--accent); }
.tchip:disabled, .tchip.is-disabled { opacity: .3; cursor: not-allowed; background: #f6f7f9; box-shadow: none; pointer-events: none; }
.tchip:disabled:hover, .tchip.is-disabled:hover { border-color: var(--line); color: var(--ink-2); }
@media (max-width: 560px) { .times { grid-template-columns: 1fr; } }
/* step 2 — two separate date+time pickers (pickup | return) */
.period { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.periodcol { min-width: 0; }
.periodcol__t { display: block; font-size: 13.5px; font-weight: 800; color: var(--ink); margin-bottom: 10px; }
.periodcol__time { display: block; font-size: 12.5px; font-weight: 700; color: var(--ink-2); margin: 14px 0 8px; }
.periodcol .cal { max-width: none; }
@media (max-width: 720px) { .period { grid-template-columns: 1fr; gap: 22px; } .periodcol .cal { max-width: 460px; } }
/* desktop: time selection to the RIGHT of each calendar (so it's seen without scrolling); mobile/tablet keep the stacked layout */
@media (min-width: 1025px) {
  .periodcol { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 20px; align-items: start; }
  .periodcol__t { grid-column: 1 / -1; }
  .periodcol .cal { grid-column: 1; grid-row: 2 / span 2; }
  .periodcol__time { grid-column: 2; grid-row: 2; margin: 0 0 8px; }
  .periodcol .timechips { grid-column: 2; grid-row: 3; }
}
.bar { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; padding: 22px 30px; border: 1px solid var(--line); border-radius: var(--r-xl); background: linear-gradient(180deg,#fff,#fdf4f8); box-shadow: var(--shadow-sm); }
.bar__total { display: flex; flex-direction: column; gap: 2px; }
.bar__total-label { color: var(--ink-2); font-size: 13px; font-weight: 600; }
.bar__total-val { font-size: 31px; font-weight: 800; color: var(--accent-ink); letter-spacing: -.02em; }
.bar__total-vat { color: var(--ink-3); font-size: 12px; }
.bar__picks { min-width: 0; }
.bar__picks-label { display: block; color: var(--ink-3); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.picks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 20px; }
.pick { position: relative; display: flex; align-items: center; gap: 9px; }
.pick svg { width: 19px; height: 19px; color: var(--ink-3); flex: none; }
.pick span { display: flex; flex-direction: column; line-height: 1.2; }
.pick b { font-weight: 700; font-size: 13px; }
.pick i { font-style: normal; color: var(--ink-2); font-size: 11px; margin-top: 1px; }
.pick--badge svg { color: var(--accent); }
.pick__badge { position: absolute; top: -6px; left: 11px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--accent); color: #fff; font-size: 10px; font-weight: 800; display: grid; place-items: center; }
.bar__cta { display: flex; flex-direction: column; align-items: center; gap: 9px; }
.cta { display: inline-flex; align-items: center; gap: 11px; padding: 19px 42px; font: inherit; font-weight: 800; font-size: 17px; letter-spacing: -.01em; color: #fff; background: var(--navy); border: 0; border-radius: var(--r-lg); cursor: pointer; box-shadow: 0 16px 30px -14px rgba(24,26,48,.85), inset 0 1px 0 rgba(255,255,255,.12); transition: transform .15s var(--ease), box-shadow .2s, background .2s; }
.cta svg { width: 21px; height: 21px; transition: transform .2s var(--ease); }
.cta:hover { background: var(--navy-strong); box-shadow: 0 18px 32px -14px rgba(24,26,48,.9); }
.cta:hover svg { transform: translateX(3px); }
.cta:active { transform: translateY(1px); }
@media (max-width: 1000px) {
  .prices { grid-template-columns: repeat(2, 1fr); }
  .bar { grid-template-columns: 1fr; gap: 18px; }
  .bar__cta { align-items: stretch; }
  .cta { justify-content: center; }
}
@media (max-width: 560px) {
  .variants, .locs, .fields, .extras { grid-template-columns: 1fr; }
}

/* detail tabs */
.details { margin-top: 22px; background: var(--card); border-radius: var(--r-xl); box-shadow: var(--shadow-card); overflow: clip; }
.tabs { display: flex; gap: 20px; padding: 4px 28px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.tab { flex: 0 0 auto; padding: 16px 4px; margin-bottom: -1px; font: inherit; font-weight: 700; font-size: 15px; color: var(--ink-2); background: transparent; border: 0; border-bottom: 2.5px solid transparent; border-radius: 0; cursor: pointer; transition: color .15s, border-color .15s; }
.tab:hover { color: var(--ink); }
.tab.is-active { color: var(--accent-ink); border-bottom-color: var(--accent); }
.tabpane { display: none; padding: 26px 32px 30px; animation: fade .4s var(--ease) both; }
.tabpane.is-active { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } }
.tabpane .prose-basic { max-width: 760px; }
.tabpane .prose-basic:has(.elementor) { max-width: none; }
.tabpane .prose-basic .elementor-section, .tabpane .prose-basic .elementor-container, .tabpane .prose-basic .elementor-column, .tabpane .prose-basic .elementor-widget-wrap { max-width: none !important; width: 100% !important; flex: 1 1 100% !important; }
.tabpane .prose-basic .elementor-container { display: block !important; }
.tabpane .elementor-widget-wrap, .tabpane .elementor-section, .tabpane .elementor-container, .tabpane .elementor-column { padding: 0 !important; }
.spec, .woocommerce-product-attributes { width: 100%; border-collapse: collapse; margin: 0; }
.spec > div, .woocommerce-product-attributes tr { display: flex; justify-content: space-between; gap: 16px; padding: 0; border-bottom: 1px solid var(--line-2); }
.woocommerce-product-attributes th, .woocommerce-product-attributes td { padding: 13px 0; text-align: left; }
.spec dt, .woocommerce-product-attributes th { color: var(--ink-2); font-size: 14px; font-weight: 600; }
.spec dd, .woocommerce-product-attributes td { margin: 0; font-weight: 700; font-size: 14px; text-align: right; }
.woocommerce-product-attributes td p { margin: 0; }
.faq { border-bottom: 1px solid var(--line-2); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; padding: 15px 0; font-weight: 700; font-size: 17px; line-height: 1.45; gap: 16px; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 20px; font-weight: 700; transition: transform .2s; }
.faq[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 0 0 18px; color: var(--ink-2); font-size: 16px; line-height: 1.75; }

@media (max-width: 1000px) {
  .config__grid { grid-template-columns: 1fr; }
  .product { border-right: 0; border-bottom: 1px solid var(--line-2); }
  .product__media { aspect-ratio: 16/9; }
}
@media (max-width: 560px) {
  .product, .main { padding-left: 20px; padding-right: 20px; }
  /* mobile gallery: drop the container aspect-ratio (from the <=1000px rule) — with the thumbs
     stacked below (column-reverse) it squashed the flex:1 main-image stage to ~0 height, so the
     main photo didn't show. Let the stage size by its own 16/10 ratio instead. */
  .product__media { aspect-ratio: auto; }
  .product__stage { flex: 0 0 auto; width: 100%; }
  /* thumbs as a compact horizontal strip under the main image (the row rule in the earlier
     <=560 block is otherwise overridden by the later base `.product__thumbs` column rule) */
  .product__thumbs { flex-direction: row; flex-wrap: wrap; }
  /* product tabs: a clean vertical list instead of a horizontal-scroll strip */
  .tabs { flex-direction: column; align-items: stretch; gap: 0; padding: 0; overflow: visible; border-bottom: 0; }
  .tab { width: 100%; text-align: left; margin: 0; padding: 13px 14px; border: 0; border-bottom: 1px solid var(--line-2); border-left: 3px solid transparent; border-radius: 0; }
  .tab:last-child { border-bottom: 0; }
  .tab.is-active { color: var(--accent-ink); border-left-color: var(--accent); background: var(--accent-tint-2); }
}

/* =========================================================================
   PAGE + WOOCOMMERCE CART / CHECKOUT / ACCOUNT (classic markup, brand-styled)
   Generic chrome only — rental line-item details come from the rental plugin.
   ========================================================================= */
.pagewrap { padding-bottom: 16px; }
.pagewrap--woo .content { max-width: none; }
.pagewrap .page-links { margin-top: 16px; font-weight: 700; }
/* content pages (Info, Renditingimused, …): white card; narrow for plain prose,
   full width for Elementor-built pages (flattened like the product tabs) */
.page-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-sm); padding: clamp(24px, 4vw, 44px); margin-top: 16px; }
.pagewrap .page-card.prose-basic { max-width: 880px; }
.page-card--builder { max-width: none; padding: clamp(18px, 3vw, 36px); }
.pagewrap .art-grid { margin-top: 16px; }
/* 404 */
.err404 { padding: 56px 24px 70px; }
.err404__card { position: relative; overflow: hidden; max-width: 760px; margin: 0 auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-sm); padding: clamp(40px, 6vw, 70px) clamp(24px, 5vw, 60px); text-align: center; }
.err404__arcs { position: absolute; width: 240px; height: 240px; border-radius: 50%; border: 26px solid var(--accent); opacity: .14; pointer-events: none; }
.err404__arcs::after { content: ""; position: absolute; inset: 28px; border-radius: 50%; border: 18px solid var(--accent); }
.err404__arcs--tl { top: -130px; left: -130px; }
.err404__arcs--br { bottom: -130px; right: -130px; }
.err404__code { display: block; font-size: clamp(64px, 11vw, 110px); font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--navy); }
.err404__code::after { content: ""; display: block; width: 64px; height: 5px; border-radius: 3px; background: var(--accent); margin: 18px auto 0; }
.err404__title { margin: 22px 0 0; font-size: clamp(20px, 3vw, 26px); font-weight: 800; letter-spacing: -.02em; }
.err404__sub { margin: 10px auto 26px; max-width: 46ch; color: var(--ink-2); font-size: 15.5px; line-height: 1.6; }
.err404__search { display: flex; align-items: center; gap: 9px; max-width: 440px; margin: 0 auto 22px; padding: 0 6px 0 14px; height: 52px; background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-md); transition: border-color .15s, box-shadow .15s; }
.err404__search:focus-within { border-color: var(--accent-line); box-shadow: 0 0 0 3px var(--accent-tint); }
.err404__search svg { width: 19px; height: 19px; color: var(--ink-3); flex: none; }
.err404__search input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font: inherit; font-size: 15px; font-weight: 600; color: var(--ink); }
.err404__search button { flex: none; height: 40px; padding: 0 20px; border: 0; border-radius: var(--r-sm); background: var(--accent); color: #fff; font: inherit; font-weight: 800; font-size: 14px; cursor: pointer; transition: background .15s; }
.err404__search button:hover { background: var(--accent-strong); }
.err404__links { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* info page (page-renmost) */
.infogrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 18px; }
.infocard { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); padding: 26px 24px; transition: transform .18s var(--ease), box-shadow .2s; }
.infocard:hover { transform: translateY(-3px); box-shadow: var(--shadow-pop); }
.infocard__ic { width: 64px; height: 64px; border-radius: var(--r-md); background: var(--accent-tint-2); border: 1px solid var(--accent-line); display: grid; place-items: center; margin-bottom: 16px; }
.infocard__ic img { width: 38px; height: 38px; object-fit: contain; }
.infocard h2 { font-size: 17px; font-weight: 800; letter-spacing: -.01em; margin: 0 0 8px; }
.infocard p { margin: 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.6; }
.ipoints { margin-top: 26px; }
.ipoints__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: stretch; }
.ipoints__list { display: flex; flex-direction: column; gap: 14px; }
.ipoint { background: var(--card); border: 1.5px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); padding: 18px 20px; display: flex; gap: 14px; flex: 1; cursor: pointer; transition: border-color .18s, background .18s; }
.ipoint:hover { border-color: var(--accent-line); }
.ipoint.is-active { border-color: var(--accent); background: var(--accent-tint-2); box-shadow: inset 0 0 0 1px var(--accent), var(--shadow-sm); }
.ipoint:focus-visible { outline: 3px solid var(--accent-tint); }
.ipoint svg { width: 22px; height: 22px; color: var(--accent); flex: none; margin-top: 2px; }
.ipoint h3 { margin: 0 0 3px; font-size: 15.5px; font-weight: 800; letter-spacing: -.01em; }
.ipoint a { color: var(--accent-ink); font-weight: 700; text-decoration: none; font-size: 14px; }
.ipoint a:hover { text-decoration: underline; }
.ipoint p { margin: 6px 0 0; color: var(--ink-2); font-size: 13.5px; line-height: 1.55; }
.ipoints__photo { margin: 0; border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); background: #fff; }
.ipoints__photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity .25s var(--ease); }
.ipoints__map { margin: 18px 0 0; border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); background: #fff; }
.ipoints__map iframe { display: block; width: 100%; height: 440px; border: 0; }
@media (max-width: 560px) { .ipoints__map iframe { height: 320px; } }
.infocontact { margin-top: 56px; }
.band--contact { grid-template-columns: 1fr; }
.band--contact .band__copy p { color: #c8cbe0; }
.band__arcs { position: absolute; width: 260px; height: 260px; border-radius: 50%; border: 26px solid var(--accent); opacity: .22; pointer-events: none; }
.band__arcs::after { content: ""; position: absolute; inset: 30px; border-radius: 50%; border: 18px solid var(--accent); }
.band__arcs--tl { top: -140px; left: -120px; }
.band__arcs--br { bottom: -150px; right: -110px; }
.infofaq { margin-top: 56px; }
.infofaq__card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-sm); padding: 10px 26px; }
.infofaq__card .faq:last-child { border-bottom: 0; }
.infohow { margin-top: 56px; } /* info page: features last */
.infohow .infogrid { margin-top: 0; }
.contactrows { display: flex; flex-direction: column; gap: 9px; margin: 16px 0 22px; }
.contactrows a { color: #e7e9f3; font-size: 15.5px; font-weight: 700; text-decoration: none; display: inline-flex; gap: 10px; align-items: center; transition: color .15s; }
.contactrows a:hover { color: #fff; }
.contactrows svg { width: 18px; height: 18px; color: var(--accent); flex: none; }
.band__art--contact { display: flex; align-items: center; justify-content: center; }
.band__art--contact img { max-height: 270px; width: auto; }
@media (max-width: 900px) { .infogrid { grid-template-columns: 1fr 1fr; } .ipoints__grid { grid-template-columns: 1fr; } .band--contact { grid-template-columns: 1fr; } .band__art--contact { display: none; } }
@media (max-width: 560px) { .infogrid { grid-template-columns: 1fr; } }

/* Woo notices */
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-noreviews {
  border-radius: var(--r-md); border: 1px solid var(--line); background: #fff; padding: 14px 16px;
  font-size: 14px; font-weight: 600; box-shadow: var(--shadow-sm); list-style: none; margin: 0 0 18px; display: flex; align-items: center; gap: 10px;
}
/* drop core Font-Awesome notice icons (absolute → they overlap our text); the
   empty-cart card re-adds its own icon with higher specificity below */
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before, .woocommerce-noreviews::before { content: none; }
.woocommerce-message { border-color: #bfe6cf; background: #eafaf1; color: #1f8a54; }
.woocommerce-error { border-color: var(--accent-line); background: var(--accent-tint-2); color: var(--accent-ink); }
.woocommerce-info { border-color: var(--accent-line); background: var(--accent-tint-2); color: var(--accent-ink); }
.woocommerce-message a, .woocommerce-info a, .woocommerce-error a { color: inherit; font-weight: 800; text-decoration: underline; }
.woocommerce-message .button, .woocommerce-info .button { margin-left: auto; }

/* Woo buttons → brand */
.woocommerce .button, .woocommerce button.button, .woocommerce input.button, .woocommerce a.button, .woocommerce #respond input#submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; background: #f1f3f6 !important; color: var(--ink) !important;
  border: 1.5px solid var(--line); border-radius: var(--r-md); padding: 13px 22px; font: inherit; font-weight: 800; font-size: 14.5px;
  letter-spacing: -.01em; cursor: pointer; box-shadow: none; text-transform: none; text-decoration: none; transition: background .18s, border-color .18s, transform .15s, box-shadow .2s;
}
.woocommerce .button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover, .woocommerce a.button:hover { background: #e7eaef; border-color: #cfd5db; color: var(--ink); }
.woocommerce .button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt, .woocommerce #place_order,
.woocommerce .checkout-button, .woocommerce .wc-proceed-to-checkout .button {
  background: var(--navy) !important; color: #fff !important; border-color: var(--navy) !important; box-shadow: 0 14px 26px -14px rgba(24,26,48,.8);
}
.woocommerce .button.alt:hover, .woocommerce #place_order:hover, .woocommerce .checkout-button:hover { background: var(--navy-strong) !important; border-color: var(--navy-strong) !important; color: #fff !important; }
.woocommerce .button:active { transform: translateY(1px); }

/* empty cart — single centered state card (icon stacked above text) */
.woocommerce-cart .wc-empty-cart-message { max-width: 560px; margin: 30px auto 0; }
.woocommerce-cart .cart-empty.woocommerce-info { display: grid !important; justify-items: center; gap: 4px; max-width: 560px; margin: 30px auto 0; background: var(--card); border: 1px solid var(--line) !important; border-radius: var(--r-xl); box-shadow: var(--shadow-sm); padding: 48px 32px 42px; font-size: 19px; font-weight: 700; color: var(--ink); text-align: center; }
.woocommerce-cart .cart-empty.woocommerce-info::before { content: ""; position: static !important; width: 74px; height: 74px; border-radius: 50%; margin: 0 auto 14px; background-color: var(--accent-tint); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23bd1467' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 7h14l-1.3 10a2 2 0 01-2 1.8H8.3a2 2 0 01-2-1.8L5 7z'/%3E%3Cpath d='M9 7a3 3 0 016 0'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; background-size: 34px; }
.woocommerce .return-to-shop { margin: 20px 0 30px; text-align: center; }
.woocommerce .return-to-shop .button { font-size: 15.5px; padding: 15px 26px; }

/* ---- CART ---- */
/* 2-col layout ONLY when the cart has items; empty state stays single-column */
.woocommerce-cart .content > .woocommerce:has(.woocommerce-cart-form) { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; }
.woocommerce-cart-form { grid-column: 1; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); padding: 8px 28px 22px; }
.woocommerce table.shop_table { border: 0; border-radius: 0; margin: 0; width: 100%; }
table.cart thead th { text-transform: uppercase; font-size: 13px; letter-spacing: .04em; color: var(--ink-3); font-weight: 800; padding: 18px 10px; border-bottom: 1px solid var(--line); text-align: left; }
table.cart tbody td { padding: 22px 10px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
table.cart .product-remove a.remove { width: 28px; height: 28px; border-radius: 8px; background: #f3f4f6; color: var(--ink-2) !important; display: grid; place-items: center; font-size: 18px; line-height: 1; text-decoration: none; }
table.cart .product-remove a.remove:hover { background: var(--accent-tint); color: var(--accent-ink) !important; }
table.cart .product-thumbnail img { width: 92px; height: 92px; object-fit: contain; border-radius: var(--r-md); background: #f6f8fb; padding: 8px; mix-blend-mode: multiply; }
/* align the product cell to the card's content edge so the image lines up with
   the coupon/actions row below (drop the first visible cell's extra inset) */
.woocommerce-cart table.cart td.product-thumbnail, .woocommerce-cart table.cart th.product-thumbnail { padding-left: 0; }
.woocommerce-cart table.cart td.actions { padding-left: 0; padding-right: 0; }
table.cart td.product-name a { color: var(--ink); font-weight: 700; text-decoration: none; font-size: 17.5px; line-height: 1.4; letter-spacing: -.01em; }
table.cart td.product-name a:hover { color: var(--accent-ink); }
table.cart .product-price { font-weight: 700; font-size: 16px; color: var(--ink-2); }
table.cart .product-subtotal { font-weight: 800; font-size: 18px; color: var(--ink); }
table.cart dl.variation, table.cart .wc-item-meta { font-size: 14px; color: var(--ink-2); margin: 8px 0 0; }
/* rental booking details block (cart line) — icon rows: period / pickup / extras */
.renmo-cm { display: grid; gap: 13px; margin: 13px 0 2px; }
.renmo-cm__row { display: grid; grid-template-columns: 22px 1fr; column-gap: 11px; row-gap: 1px; align-items: center; }
.renmo-cm__row > svg { grid-column: 1; grid-row: 1; width: 20px; height: 20px; color: var(--accent-ink); }
.renmo-cm__row > b { grid-column: 2; grid-row: 1; font-size: 12px; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .04em; }
.renmo-cm__row > i { grid-column: 2; grid-row: 2; font-style: normal; font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.4; }
/* Cart remove button — compact outlined magenta, overriding the LIM
   "renmo-shop-tweaks" full-width red bar (higher specificity + !important so it
   wins regardless of load order). BRIDGE: LIM retires with RnB; re-home the
   button into the theme (woocommerce_cart_item_remove_link) when LIM is gone. */
.woocommerce-cart tr.renmo-cart-remove-row .renmo-cart-remove-wrap { display: flex; justify-content: flex-end; margin: 16px 0 10px !important; }
.woocommerce-cart .renmo-cart-remove {
  width: auto !important; display: inline-flex !important; align-items: center; gap: 8px !important;
  padding: 9px 16px !important; border-radius: 10px !important;
  background: #fff !important; color: var(--accent-ink) !important;
  border: 1.5px solid var(--accent-line) !important; font-size: 14px !important; font-weight: 700 !important;
}
.woocommerce-cart .renmo-cart-remove:hover, .woocommerce-cart .renmo-cart-remove:focus-visible {
  background: var(--accent-tint) !important; color: var(--accent-strong) !important; border-color: var(--accent) !important;
}
.woocommerce-cart .renmo-cart-remove__icon {
  width: 16px; height: 16px; font-size: 0 !important; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 7h14M10 7V5h4v2M6.5 7l.7 12a1 1 0 001 1h7.6a1 1 0 001-1l.7-12M10 11v5M14 11v5'/%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 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 7h14M10 7V5h4v2M6.5 7l.7 12a1 1 0 001 1h7.6a1 1 0 001-1l.7-12M10 11v5M14 11v5'/%3E%3C/svg%3E") center/contain no-repeat;
}
/* Cart remove button re-homed into the theme (woocommerce_cart_item_remove_link),
   independent of LIM — a compact outlined magenta "Eemalda" button + trash icon. */
.woocommerce-cart td.product-remove { width: 1%; white-space: nowrap; padding-left: 0; }
.woocommerce-cart td.product-remove a.renmo-remove {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 10px;
  background: #fff; color: var(--accent-ink) !important; border: 1.5px solid var(--accent-line);
  font-size: 13.5px; font-weight: 700; line-height: 1; text-decoration: none; white-space: nowrap;
  transition: background .15s, color .15s, border-color .15s;
}
.woocommerce-cart td.product-remove a.renmo-remove:hover,
.woocommerce-cart td.product-remove a.renmo-remove:focus-visible { background: var(--accent-tint); color: var(--accent-strong) !important; border-color: var(--accent); }
.renmo-remove__icon { width: 15px; height: 15px; flex: none; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 7h14M10 7V5h4v2M6.5 7l.7 12a1 1 0 001 1h7.6a1 1 0 001-1l.7-12M10 11v5M14 11v5'/%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 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 7h14M10 7V5h4v2M6.5 7l.7 12a1 1 0 001 1h7.6a1 1 0 001-1l.7-12M10 11v5M14 11v5'/%3E%3C/svg%3E") center/contain no-repeat; }

.woocommerce .quantity input.qty { width: 74px; height: 50px; border: 1.5px solid var(--line); border-radius: 10px; text-align: center; font: inherit; font-size: 16px; font-weight: 800; font-variant-numeric: tabular-nums; background: #fff; }
table.cart .actions { padding: 36px 0 24px; }
table.cart .actions .coupon { display: flex; gap: 10px; align-items: center; width: 100%; max-width: 600px; }
.woocommerce .coupon input#coupon_code { flex: 1 1 auto; height: 54px; border: 1.5px solid var(--line); border-radius: 10px; padding: 0 18px; font: inherit; font-size: 16px; font-weight: 600; min-width: 260px; }
.woocommerce-cart table.cart .actions .button { font-size: 15px; padding: 14px 22px; } /* larger cart type */
.woocommerce .coupon input#coupon_code:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-tint); }
/* rental model: period-based, qty always 1 → drop quantity + redundant unit-price
   columns (line subtotal is the single price), and the pointless "update cart" */
.woocommerce-cart table.cart th.product-quantity, .woocommerce-cart table.cart td.product-quantity,
.woocommerce-cart table.cart th.product-price, .woocommerce-cart table.cart td.product-price { display: none; }
.woocommerce-cart .actions button[name="update_cart"], .woocommerce-cart .actions input[name="update_cart"] { display: none; }
.woocommerce-checkout-review-order-table .product-quantity { display: none; }

.cart-collaterals { grid-column: 2; position: sticky; top: 96px; }
.woocommerce-cart .cart-collaterals .cart_totals,
.cart-collaterals .cart_totals { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-card); padding: 26px; float: none !important; width: 100% !important; }
.cart_totals h2 { font-size: 20px; font-weight: 800; letter-spacing: -.01em; margin-bottom: 16px; }
.cart_totals table.shop_table th, .cart_totals table.shop_table td { padding: 13px 0; border-top: 1px solid var(--line-2); font-size: 16px; text-align: left; }
.cart_totals table.shop_table td { text-align: right; font-weight: 700; }
.cart_totals .order-total th { font-size: 19px; font-weight: 800; }
.cart_totals .order-total td .amount, .cart_totals .order-total .amount { color: var(--accent-ink); font-weight: 800; font-size: 26px; letter-spacing: -.02em; }
/* WC/a plugin tints the total row with a faint rgba(0,0,0,.024) band — drop it so the sum
   sits on the plain white totals card */
.cart_totals table.shop_table td, .cart_totals table.shop_table th { background: transparent !important; }
.wc-proceed-to-checkout { padding: 18px 0 0; }
.wc-proceed-to-checkout .checkout-button { width: 100%; }
.cart-collaterals .cross-sells { grid-column: 1 / -1; }
.woocommerce-cart .cross-sells { margin-top: 28px; }

/* ---- CHECKOUT (enlarged, rental-adapted to match cart) ---- */
.woocommerce-checkout form.checkout.processing { opacity: .6; }
.woocommerce-checkout .content form.checkout { display: grid; grid-template-columns: 1fr 380px; gap: 28px; align-items: start; }
#customer_details { grid-column: 1; display: grid; gap: 18px; }
#customer_details .col-1, #customer_details .col-2 { width: auto; float: none; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); padding: 26px 28px; }
#customer_details h3 { font-size: 19px; font-weight: 800; letter-spacing: -.01em; margin-bottom: 16px; }
#order_review_heading { display: none; } /* folded into the order_review card as its title */
#order_review { grid-column: 2; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-card); padding: 26px; }
#order_review::before { content: "Sinu tellimus"; display: block; font-size: 20px; font-weight: 800; letter-spacing: -.01em; color: var(--ink); margin: 0 0 16px; }
.woocommerce form .form-row { margin: 0 0 14px; padding: 0; }
.woocommerce form .form-row label { font-size: 15.5px; font-weight: 700; color: var(--ink-2); margin-bottom: 7px; display: block; }
.woocommerce form .form-row .required { color: var(--accent); border: 0; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce-checkout input[type="text"], .woocommerce-checkout input[type="email"], .woocommerce-checkout input[type="tel"], .woocommerce-checkout textarea, .select2-container .select2-selection--single {
  width: 100%; min-height: 52px; height: 52px; border: 1.5px solid var(--line); border-radius: var(--r-md); background: var(--field); padding: 0 16px; font: inherit; font-size: 17px; font-weight: 600; color: var(--ink); transition: border-color .15s, box-shadow .15s, background .15s;
}
.woocommerce form .form-row textarea { height: auto; min-height: 90px; padding: 12px 14px; }
/* the checkout "comments" field is a plugin-added billing_ textarea that ignores the shared
   field style above (dark border, radius 4px, white bg) — force it to match the text inputs */
.woocommerce-checkout .form-row .woocommerce-input-wrapper textarea,
.woocommerce-checkout .form-row textarea.input-text {
  border: 1.5px solid var(--line) !important; border-radius: var(--r-md) !important;
  background: var(--field) !important; color: var(--ink) !important;
  font-size: 17px !important; font-weight: 600 !important; padding: 12px 16px !important;
}
.woocommerce form .form-row input.input-text:focus, .woocommerce form .form-row textarea:focus, .woocommerce-checkout select:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px var(--accent-tint); }
.select2-container--default .select2-selection--single { height: 52px !important; display: flex; align-items: center; }
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 50px; }

.woocommerce-checkout-review-order-table { border: 0; }
.woocommerce-checkout-review-order-table th, .woocommerce-checkout-review-order-table td { padding: 13px 0; border-top: 1px solid var(--line-2); font-size: 16px; }
.woocommerce-checkout-review-order-table .cart-subtotal th, .woocommerce-checkout-review-order-table .order-total th { font-weight: 800; }
.woocommerce-checkout-review-order-table .order-total th { font-size: 19px; }
.woocommerce-checkout-review-order-table .order-total .amount { color: var(--accent-ink); font-weight: 800; font-size: 26px; letter-spacing: -.02em; }
.woocommerce-checkout-review-order-table .product-name { color: var(--ink); font-weight: 700; font-size: 16.5px; }
.woocommerce-checkout-review-order-table .product-name dl.variation, .woocommerce-checkout-review-order-table .product-name .wc-item-meta { font-size: 13.5px; color: var(--ink-2); margin: 6px 0 0; }
/* line meta: align key | value instead of the indented dt/dd default */
.woocommerce-checkout-review-order-table .product-name dl.variation { display: grid; grid-template-columns: auto 1fr; gap: 3px 10px; }
.woocommerce-checkout-review-order-table .product-name dl.variation dt { margin: 0; font-weight: 600; }
.woocommerce-checkout-review-order-table .product-name dl.variation dd { margin: 0; }
.woocommerce-checkout-review-order-table .product-name dl.variation dd p { margin: 0; }
/* checkout review: rich rental summary (period timeline + rows, no icons) */
.renmo-co { margin: 3px 0 2px; font-size: 15.5px; line-height: 1.5; color: var(--ink-2); }
/* product thumbnail + name header (the checkout plugin's own name span is hidden) */
.woocommerce-checkout-review-order-table .cqoc_container { position: relative; }
/* flush the line content (image/name/details + totals labels) with the divider lines */
.woocommerce-checkout-review-order-table tr > :first-child { padding-left: 0 !important; }
/* collapse the template's stray &nbsp;/whitespace nodes that pushed content down */
.cqoc_container:has(.renmo-co) { font-size: 0; line-height: 0; }
.cqoc_container:has(.renmo-co) > .cqoc_product_name { display: none; }
.renmo-co__head { display: block; margin-bottom: 14px; }
.renmo-co__thumb { display: block; width: 150px; max-width: 100%; border-radius: 12px; overflow: hidden; background: #fff; border: 1px solid var(--line); }
.renmo-co__thumb img { width: 100%; height: auto; display: block; }
.renmo-co__name { display: block; margin-top: 11px; font-weight: 700; font-size: 17.5px; line-height: 1.3; color: var(--ink); }
/* CART: use the .renmo-co block's own stacked head (image on top, name below) on ALL widths;
   hide WC's separate thumbnail cell + product-title link so the name sits under the image,
   full width, exactly like the checkout review — never beside the image. */
.woocommerce-cart table.cart td.product-thumbnail { display: none; }
.woocommerce-cart table.cart td.product-name > a { display: none; }
/* the cart forces its line-item images to ~32px (WC/theme rule); let the .renmo-co head
   thumbnail fill its 150px box like the checkout does */
.woocommerce-cart .renmo-co__thumb img { width: 100% !important; height: auto !important; }
/* remove × hidden on checkout (item removal stays available on the cart page) */
.woocommerce-checkout-review-order-table .cqoc_container a.remove { display: none; }
/* single-column order review: break out of table-layout so the product block is
   full width with the price stacked under it; column header dropped, totals kept as rows */
.woocommerce-checkout-review-order-table { display: block; }
.woocommerce-checkout-review-order-table thead { display: none; }
.woocommerce-checkout-review-order-table tbody { display: block; }
.woocommerce-checkout-review-order-table tbody tr.cart_item { display: block; }
.woocommerce-checkout-review-order-table tbody tr.cart_item > td { display: block; width: 100%; }
.woocommerce-checkout-review-order-table tbody tr.cart_item > td.product-total { display: none; }
.woocommerce-checkout-review-order-table tfoot { display: block; border-top: 1px solid var(--line-2); margin-top: 14px; padding-top: 12px; }
.woocommerce-checkout-review-order-table tfoot tr { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; }
.woocommerce-checkout-review-order-table tfoot tr > * { display: block; width: auto; }
.woocommerce-checkout-review-order-table tfoot tr td { text-align: right; }
/* totals dividers: the rows are flex (label | value) with a gap, so a border-top on
   the th/td (from line 1071) breaks into two segments across the gap. Draw the divider
   on the flex row instead so it stays one continuous line, only above the final total. */
.woocommerce-checkout-review-order-table tfoot tr th,
.woocommerce-checkout-review-order-table tfoot tr td { border-top: 0 !important; }
.woocommerce-checkout-review-order-table tfoot tr.order-total { border-top: 1px solid var(--line-2); padding-top: 12px; margin-top: 4px; }
.renmo-co__lbl { display: block; font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); margin-bottom: 7px; }
.renmo-co__tl { list-style: none; margin: 0 0 11px; padding: 0 0 0 18px; position: relative; }
.renmo-co__tl::before { content: ""; position: absolute; left: 4px; top: 8px; bottom: 8px; width: 2px; background: var(--accent-line, #f3c6dd); }
.renmo-co__pt { position: relative; line-height: 1.35; }
.renmo-co__pt + .renmo-co__pt { margin-top: 9px; }
.renmo-co__pt::before { content: ""; position: absolute; left: -18px; top: 4px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 2px #fff; }
.renmo-co__d { font-weight: 700; color: var(--ink); }
.renmo-co__t { color: var(--ink-2); margin-left: 8px; }
.renmo-co__t em { font-style: normal; color: var(--ink-3); }
.renmo-co__rows { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 5px 14px; padding-top: 11px; border-top: 1px solid var(--line-2); }
.renmo-co__row { display: contents; }
.renmo-co__rows dt { margin: 0; font-weight: 600; color: var(--ink-2); }
.renmo-co__rows dd { margin: 0; color: var(--ink); }
.woocommerce-checkout #payment { background: transparent; border-radius: 0; margin-top: 16px; }
.woocommerce-checkout #payment ul.payment_methods { list-style: none; margin: 0 0 16px; padding: 0; border: 0; display: grid; gap: 10px; }
.woocommerce-checkout #payment ul.payment_methods li { border: 1.5px solid var(--line); border-radius: var(--r-md); padding: 14px 16px; background: #fff; transition: border-color .18s, background .18s; }
.woocommerce-checkout #payment ul.payment_methods li:hover { border-color: var(--accent-line); }
.woocommerce-checkout #payment ul.payment_methods li label { font-weight: 700; font-size: 15.5px; margin: 0; display: inline; }
.woocommerce-checkout #payment ul.payment_methods li input[type="radio"] { accent-color: var(--accent); margin-right: 8px; }
.woocommerce-checkout #payment div.payment_box { background: var(--accent-tint-2); border-radius: var(--r-sm); margin-top: 10px; padding: 12px 14px; font-size: 13px; color: var(--ink-2); }
.woocommerce-checkout #payment div.payment_box::before { display: none; }
.woocommerce-checkout #payment .form-row.place-order { margin-top: 16px; padding: 0; }
.woocommerce-checkout #place_order { width: 100%; font-size: 18px; padding: 18px; } /* larger checkout type */
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper { margin-bottom: 16px; font-size: 14px; color: var(--ink-2); }
.woocommerce-checkout .woocommerce-privacy-policy-text { font-size: 13px; color: var(--ink-3); }
/* checkout intro copy (AWCFE paragraph field) — readable prose like content pages */
.woocommerce-checkout .awcfe_paragraph_field { font-size: 15.5px; line-height: 1.75; color: var(--ink-2); margin: 0; }
.woocommerce-checkout .awcfe_paragraph_field strong { color: var(--ink); font-weight: 800; }
.woocommerce-checkout .form-row:has(.awcfe_paragraph_field) { margin: 0 0 22px; padding-bottom: 20px; border-bottom: 1px solid var(--line-2); }
/* checkout extras: coupon form, sticky summary, checkboxes */
form.checkout_coupon.woocommerce-form-coupon { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); padding: 18px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; max-width: 580px; margin: 0 0 20px; }
form.checkout_coupon.woocommerce-form-coupon p { margin: 0; }
form.checkout_coupon .form-row { margin: 0; }
#order_review { position: sticky; top: 96px; }
.woocommerce input[type="checkbox"], .woocommerce input[type="radio"] { accent-color: var(--accent); width: 17px; height: 17px; }
.woocommerce-checkout #ship-to-different-address { font-size: 15.5px; }
.woocommerce-checkout #ship-to-different-address label { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; margin: 0; cursor: pointer; }

/* ---- MY ACCOUNT (sidebar nav + content card; login/register columns) ---- */
.woocommerce-account .woocommerce { display: block; }
/* logged-in: sidebar nav | content card */
.woocommerce-account *:has(> .woocommerce-MyAccount-navigation) { display: grid !important; grid-template-columns: 262px minmax(0, 1fr); gap: 24px; align-items: start; }
/* Woo's clearfix ::before/::after (display:table) become grid ITEMS and steal
   the first cell — kill them and place nav/content explicitly */
.woocommerce-account *:has(> .woocommerce-MyAccount-navigation)::before,
.woocommerce-account *:has(> .woocommerce-MyAccount-navigation)::after { content: none !important; display: none !important; }
.woocommerce-account .woocommerce-MyAccount-navigation { grid-column: 1; grid-row: 1; float: none !important; width: auto !important; }
.woocommerce-account .woocommerce-MyAccount-content { grid-column: 2; grid-row: 1; float: none !important; width: auto !important; }
.woocommerce-MyAccount-navigation { position: sticky; top: 96px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); padding: 10px; }
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.woocommerce-account .woocommerce-MyAccount-navigation li a { display: flex; align-items: center; gap: 11px; padding: 11px 12px; border: 0; border-radius: var(--r-sm); background: none; color: var(--ink-2); text-decoration: none; font-weight: 700; font-size: 14px; transition: background .15s, color .15s; }
.woocommerce-account .woocommerce-MyAccount-navigation li a::before { content: ""; width: 18px; height: 18px; flex: none; background: currentColor; -webkit-mask: var(--nav-ic) center / contain no-repeat; mask: var(--nav-ic) center / contain no-repeat; }
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover { background: var(--accent-tint-2); color: var(--accent-ink); }
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { background: var(--accent-tint); color: var(--accent-ink); }
.woocommerce-MyAccount-navigation-link--dashboard a { --nav-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11l9-8 9 8'/%3E%3Cpath d='M5 9.5V20h14V9.5'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--orders a { --nav-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 8l-9-5-9 5 9 5 9-5z'/%3E%3Cpath d='M3 8v8l9 5 9-5V8'/%3E%3Cpath d='M12 13v8'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--downloads a { --nav-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12'/%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3Cpath d='M4 21h16'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--edit-address a { --nav-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s7-5.6 7-11a7 7 0 10-14 0c0 5.4 7 11 7 11z'/%3E%3Cpath d='M12 12.6a2.6 2.6 0 100-5.2 2.6 2.6 0 000 5.2z'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--payment-methods a { --nav-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='6' width='18' height='13' rx='2.5'/%3E%3Cpath d='M3 10.5h18'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--edit-account a { --nav-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8.5' r='3.6'/%3E%3Cpath d='M5 20.5a7 7 0 0114 0'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--customer-logout a { --nav-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 12H3'/%3E%3Cpath d='M10 8l-4 4 4 4'/%3E%3Cpath d='M10 4h9a1 1 0 011 1v14a1 1 0 01-1 1h-9'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-content { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); padding: 26px 28px; min-width: 0; font-size: 15px; color: var(--ink-2); }
.woocommerce-MyAccount-content > h2, .woocommerce-MyAccount-content h3 { color: var(--ink); font-size: 18px; font-weight: 800; margin: 0 0 14px; }
.woocommerce-MyAccount-content a:not(.button) { color: var(--accent-ink); font-weight: 700; }
.woocommerce-MyAccount-content fieldset { border: 0; margin: 22px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line-2); }
.woocommerce-MyAccount-content legend { font-weight: 800; color: var(--ink); padding-right: 10px; }
/* orders & generic account tables */
.woocommerce-MyAccount-content table.shop_table { border: 0; width: 100%; }
.woocommerce-MyAccount-content table.shop_table thead th { text-transform: uppercase; font-size: 11.5px; letter-spacing: .05em; color: var(--ink-3); font-weight: 800; padding: 12px 8px; border-bottom: 1px solid var(--line); text-align: left; }
.woocommerce-MyAccount-content table.shop_table td { padding: 14px 8px; border-bottom: 1px solid var(--line-2); font-size: 14px; vertical-align: middle; }
.woocommerce-MyAccount-content table.shop_table .button { padding: 9px 14px; font-size: 13px; margin: 0; }
/* orders list: actions stacked, styled like the rest of the site.
   NOTE: a staging-only inline style (id="renmo-orders-table-buttons-inline-css",
   not in this repo — likely a Code Snippet) forces `margin:0 !important` on these
   buttons at specificity (0,3,0) (".woocommerce-orders-table .cell-order-actions
   .button"), which zeroed our gap regardless of source order. Our override below
   uses 4 class-selectors (0,4,0) to win on specificity, not just !important. */
.woocommerce-orders-table th:last-child, .woocommerce-orders-table td:last-child { width: 156px; }
/* WC core (woocommerce-smallscreen.css) zebra-stripes every even order row
   (tr:nth-child(2n) td { background: rgba(0,0,0,.025) }) on the stacked mobile
   view — reads as a stray grey band against our white card. Kill it. */
.woocommerce-orders-table tr:nth-child(2n) td { background-color: transparent !important; }
.woocommerce-orders-table__cell-order-actions .button { display: flex; justify-content: center; width: 100%; max-width: 140px; }
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions .button { margin: 0 0 6px !important; border-radius: var(--r-md) !important; }
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions .button:last-child { margin-bottom: 0 !important; }
/* gap between the "Toimingud" label (WC's data-title ::before) and the buttons */
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions::before { margin-bottom: 10px !important; }
@media (max-width: 768px) {
  /* stacked orders table: actions cell + its buttons span the full row width
     (the desktop 156px column + 140px button cap left them in the left half) */
  .woocommerce-orders-table th:last-child, .woocommerce-orders-table td:last-child { width: auto; }
  .woocommerce-orders-table__cell-order-actions { text-align: left; }
  .woocommerce-orders-table__cell-order-actions .button { max-width: none; }
  /* each order is one stacked tr (display:block via WC) — space them apart on mobile */
  .woocommerce-orders-table tbody tr { margin-top: 50px; }
  .woocommerce-orders-table tbody tr:first-child { margin-top: 0; }
}
.woocommerce .woocommerce-orders-table__cell-order-actions a.button.view { background: var(--navy) !important; color: #fff !important; border-color: var(--navy) !important; }
.woocommerce .woocommerce-orders-table__cell-order-actions a.button.view:hover { background: var(--navy-strong) !important; }
.woocommerce .woocommerce-orders-table__cell-order-actions a.button.pay { background: var(--accent) !important; color: #fff !important; border-color: var(--accent) !important; }
.woocommerce .woocommerce-orders-table__cell-order-actions a.button.pay:hover { background: var(--accent-strong) !important; }

.woocommerce .woocommerce-orders-table__cell-order-actions a.button.cancel { color: #c2333f !important; }
/* account: order detail view (view-order) */
.vorder__back { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 16px; font-size: 13.5px; font-weight: 700; color: var(--ink-2); text-decoration: none; transition: color .15s; }
.vorder__back svg { width: 16px; height: 16px; }
.vorder__back:hover { color: var(--accent-ink); }
.vorder__head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding-bottom: 18px; border-bottom: 1px solid var(--line-2); }
.vorder__title { margin: 0; font-size: 20px; font-weight: 800; letter-spacing: -.01em; color: var(--ink); }
.vorder__date { display: block; margin-top: 3px; color: var(--ink-3); font-size: 13px; font-weight: 600; }
.vorder__head .ostatus { font-size: 13px; }
.vorder__actions { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.vorder__actions .button { padding: 10px 16px; font-size: 13.5px; }
.woocommerce .vorder__actions a.vorder-act--pay { background: var(--navy) !important; color: #fff !important; border-color: var(--navy) !important; }
.woocommerce .vorder__actions a.vorder-act--pay:hover { background: var(--navy-strong) !important; }
.woocommerce .vorder__actions a.vorder-act--cancel { color: #c2333f !important; }
/* invoice plugin injects duplicate buttons — header actions already cover them */
table.order_details tfoot tr:has(a.button) { display: none; }
.woocommerce-customer-details > a.button, .woocommerce-customer-details > p > a.button { display: none; }
.woocommerce-order-details .order-again { margin: 16px 0 0; }
.vorder__notes-title { font-size: 16px; font-weight: 800; margin: 20px 0 10px; }
.woocommerce-OrderUpdates { list-style: none; margin: 0; padding: 0; }
.woocommerce-OrderUpdate { background: var(--field); border: 1px solid var(--line-2); border-radius: var(--r-md); padding: 12px 16px; margin-bottom: 10px; font-size: 14px; }
.woocommerce-OrderUpdate-meta { margin: 0 0 4px; font-size: 12px; color: var(--ink-3); font-weight: 700; }
.woocommerce-MyAccount-content > p mark { background: none; color: var(--ink); font-weight: 800; padding: 0; }
.woocommerce-MyAccount-content > p mark.order-status { background: var(--accent-tint); color: var(--accent-ink); padding: 3px 10px; border-radius: var(--r-sm); font-size: 13.5px; }
.woocommerce-order-details, .woocommerce-customer-details { margin-top: 20px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); padding: 22px 26px; }
.woocommerce-order-details__title, .woocommerce-customer-details h2 { font-size: 17px; font-weight: 800; margin: 0 0 12px; color: var(--ink); }
table.order_details { border: 0; width: 100%; margin: 0; }
table.order_details thead th { text-transform: uppercase; font-size: 11.5px; letter-spacing: .05em; color: var(--ink-3); font-weight: 800; padding: 12px 8px; border-bottom: 1px solid var(--line); text-align: left; }
table.order_details tbody td, table.order_details tbody th { padding: 14px 8px; border-bottom: 1px solid var(--line-2); font-size: 14px; vertical-align: top; text-align: left; }
table.order_details tbody .product-name a { color: var(--ink); font-weight: 700; text-decoration: none; }
table.order_details tbody .product-name a:hover { color: var(--accent-ink); }
table.order_details tfoot th, table.order_details tfoot td { padding: 10px 8px; font-size: 14px; border-bottom: 1px solid var(--line-2); text-align: left; }
table.order_details tfoot tr:last-child th, table.order_details tfoot tr:last-child td { border-bottom: 0; font-weight: 800; font-size: 15.5px; }
table.order_details tfoot tr:last-child .amount { color: var(--accent-ink); font-size: 18px; letter-spacing: -.02em; }
/* VAT note "(sisaldab X KM)" — regular, not the big coloured total */
.includes_tax { display: inline-block; margin-top: 3px; font-size: 12.5px; font-weight: 400; color: var(--ink-2); letter-spacing: 0; }
.includes_tax .amount { font-size: 12.5px !important; font-weight: 400 !important; color: var(--ink-2) !important; letter-spacing: 0 !important; }
.wc-item-meta { list-style: none; margin: 8px 0 0; padding: 0; font-size: 12.5px; color: var(--ink-2); }
.wc-item-meta li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; margin: 4px 0; }
/* the value is wpautop'd into a <p>; the theme's default p top-margin pushed it
   below its label ("date/warehouse slipped down") — reset it so it sits inline */
.wc-item-meta li p { margin: 0; }
.wc-item-meta .wc-item-meta-label { font-weight: 700; flex: 0 0 auto; }
.woocommerce-customer-details address { font-style: normal; line-height: 1.65; color: var(--ink-2); padding: 0; font-size: 14px; }
.woocommerce-customer-details .woocommerce-customer-details--phone, .woocommerce-customer-details .woocommerce-customer-details--email { margin: 6px 0 0; padding-left: 0; }
/* order status pills */
.ostatus { display: inline-block; padding: 5px 11px; border-radius: var(--r-sm); font-size: 12.5px; font-weight: 800; background: #eef1f4; color: var(--ink-2); white-space: nowrap; }
.ostatus--completed { background: #e6f4e9; color: #1f8a54; }
.ostatus--processing { background: #e8f1fc; color: #2f6fd0; }
.ostatus--on-hold { background: #fdf0e8; color: #d4763a; }
.ostatus--cancelled, .ostatus--failed { background: #fdecef; color: #c2333f; }
.ostatus--refunded { background: #f0eefe; color: #6a59d6; }
/* addresses: two cards */
.woocommerce-account .woocommerce-Addresses { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; width: 100%; }
.woocommerce-account .woocommerce-Addresses::before, .woocommerce-account .woocommerce-Addresses::after { content: none !important; display: none !important; }
.woocommerce-account .woocommerce-Addresses .col-1 { grid-column: 1; grid-row: 1; }
.woocommerce-account .woocommerce-Addresses .col-2 { grid-column: 2; grid-row: 1; }
.woocommerce-account .woocommerce-Addresses .col-1, .woocommerce-account .woocommerce-Addresses .col-2 { width: auto; float: none; max-width: none; border: 1px solid var(--line-2); border-radius: var(--r-md); padding: 18px; background: var(--field); }
.woocommerce-account .woocommerce-Address-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; width: 100%; }
.woocommerce-account .woocommerce-Address-title h2, .woocommerce-account .woocommerce-Address-title h3 { margin: 0; font-size: 16px; font-weight: 800; letter-spacing: -.01em; text-align: left; }
.woocommerce-account .woocommerce-Address-title .edit { margin-left: auto; font-size: 13px; font-weight: 700; white-space: nowrap; }
.woocommerce-account .woocommerce-Address address { text-align: left; font-size: 14px; }
.woocommerce-account address { font-style: normal; line-height: 1.6; color: var(--ink-2); }
/* login / register (anonymous) — two columns of cards */
.woocommerce-account #customer_login { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; width: 100%; max-width: none; margin: 8px 0 30px; }
.woocommerce-account #customer_login::before, .woocommerce-account #customer_login::after { content: none !important; display: none !important; }
.woocommerce-account #customer_login .col-1 { grid-column: 1; grid-row: 1; }
.woocommerce-account #customer_login .col-2 { grid-column: 2; grid-row: 1; }
.woocommerce-account button[name="save_address"], .woocommerce-account button[name="save_account_details"] { background: var(--navy) !important; color: #fff !important; border-color: var(--navy) !important; }
.woocommerce-account button[name="save_address"]:hover, .woocommerce-account button[name="save_account_details"]:hover { background: var(--navy-strong) !important; }
.woocommerce-account #customer_login .col-1, .woocommerce-account #customer_login .col-2 { width: auto; float: none; max-width: none; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); padding: 26px 28px; }
.woocommerce-account #customer_login h2 { font-size: 19px; font-weight: 800; margin: 0 0 18px; }
.woocommerce-form-login, .woocommerce-form-register,
.woocommerce form.login, .woocommerce form.register { background: none; border: 0 !important; box-shadow: none; padding: 0 !important; margin: 0 !important; max-width: none; } /* kill woo's inner form frame */
.woocommerce-form-login .woocommerce-form-login__rememberme { display: flex; align-items: center; gap: 9px; margin: 0 0 14px; font-size: 14px; font-weight: 600; cursor: pointer; }
.woocommerce .woocommerce-form-login button.woocommerce-form-login__submit, .woocommerce .woocommerce-form-register button.woocommerce-form-register__submit { width: 100%; background: var(--navy) !important; color: #fff !important; border-color: var(--navy) !important; }
.woocommerce .woocommerce-form-login button.woocommerce-form-login__submit:hover, .woocommerce .woocommerce-form-register button.woocommerce-form-register__submit:hover { background: var(--navy-strong) !important; }
.woocommerce-account .lost_password { margin: 12px 0 0; font-size: 13.5px; text-align: center; }
.woocommerce-account .lost_password a { color: var(--accent-ink); font-weight: 700; }
.woocommerce-ResetPassword { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); padding: 26px; max-width: 520px; margin: 8px auto 30px; }

@media (max-width: 900px) {
  /* cart: collapse the 2-col (form + 360px totals) layout. Must match the desktop
     rule's :has() specificity (line ~972). minmax(0,1fr) + resetting the items'
     grid-column stops the totals (grid-column:2) spawning an implicit 2nd column;
     the coupon row wraps instead of spilling sideways */
  .woocommerce-cart .content > .woocommerce:has(.woocommerce-cart-form) { grid-template-columns: minmax(0, 1fr); }
  .woocommerce-cart .content > .woocommerce:has(.woocommerce-cart-form) > * { grid-column: 1; min-width: 0; }
  .woocommerce-cart .coupon { flex-wrap: wrap; }
  .woocommerce-cart .coupon input { flex: 1 1 140px; min-width: 0; width: auto; }
  .woocommerce-checkout .content form.checkout { grid-template-columns: 1fr; }
  #customer_details, #order_review_heading, #order_review { grid-column: 1; grid-row: auto; }
  #order_review { position: static; }
  .woocommerce-account *:has(> .woocommerce-MyAccount-navigation) { grid-template-columns: minmax(0, 1fr); }
  /* content is grid-column:2 by default → it spawns an implicit 2nd column even
     after collapsing the template; pull it into column 1 so nav + content stack */
  .woocommerce-account .woocommerce-MyAccount-content { grid-column: 1; grid-row: auto; }
  .woocommerce-MyAccount-navigation { position: static; }
  .woocommerce-account #customer_login { grid-template-columns: 1fr; }
  /* Addresses: drop the 2-col grid entirely. Collapsing grid-template-columns
     alone isn't enough — .col-2 is pinned to grid-column:2 and would spawn an
     implicit 2nd column, keeping the two cards side by side. display:block makes
     them stack full-width and neutralises the grid placement. */
  .woocommerce-account .woocommerce-Addresses { display: block; }
  .woocommerce-account .woocommerce-Addresses .col-1,
  .woocommerce-account .woocommerce-Addresses .col-2 { margin: 0 0 16px; }
}
@media (max-width: 600px) {
  /* stack the cart line-items table on phones — otherwise the ~398px table spills */
  .woocommerce-cart table.cart, .woocommerce-cart table.cart tbody, .woocommerce-cart table.cart tr { display: block; width: 100%; }
  .woocommerce-cart table.cart thead { display: none; }
  .woocommerce-cart table.cart td { display: block; width: auto; min-width: 0; text-align: left; padding-left: 0; padding-right: 0; }
  /* drop WooCommerce's stacked "Label: " ::before (the redundant colons/labels);
     !important to beat WC's higher-specificity smallscreen rule */
  .woocommerce-cart table.cart td::before { content: none !important; }
  /* (The stacked .renmo-co head + hidden WC thumbnail/title are set at base level for all
     widths; nothing thumbnail-related is needed here.) */
  /* left-align to match the checkout block; !important beats WC's smallscreen
     `table.shop_table_responsive tr td { text-align:right }` */
  .woocommerce-cart table.cart td.product-name, .woocommerce-cart table.cart td.product-subtotal { text-align: left !important; }
  /* cart TOTALS table: WooCommerce's responsive td::before prints "Label: " (attr(data-title)+": ").
     Keep the label (desktop shows it too) but drop the stray colon the user flagged. */
  .woocommerce-cart .cart_totals td::before { content: attr(data-title) !important; }
  /* coupon: stack full width on phones — input flush to the edges + full-width apply button */
  .woocommerce-cart table.cart .actions .coupon { display: block; max-width: none; }
  .woocommerce-cart table.cart .actions .coupon input#coupon_code { display: block; width: 100%; min-width: 0; margin: 0; box-sizing: border-box; }
  .woocommerce-cart table.cart .actions .coupon .button { display: block; width: 100% !important; margin: 10px 0 0; box-sizing: border-box; }
}

/* =========================================================================
   SINGLE POST / ARTICLE (single.php) — styled to /article/ mockup
   ========================================================================= */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 70; background: transparent; pointer-events: none; }
body.admin-bar .progress { top: 32px; }
@media screen and (max-width: 782px) { body.admin-bar .progress { top: 46px; } }
.progress span { display: block; height: 100%; width: 0; background: var(--accent); }
.singlepost { padding-bottom: 12px; }
.art-main { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 40px 44px; box-shadow: var(--shadow-sm); }
.art-head { margin-bottom: 26px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.art-head .pill-cat { display: block; width: fit-content; margin-bottom: 18px; }
.art-title { font-size: clamp(28px, 4.2vw, 44px); font-weight: 800; line-height: 1.08; margin: 0 0 14px; }
.art-lead { font-size: 18px; color: var(--ink-2); line-height: 1.55; max-width: 62ch; margin: 0 0 18px; }
.art-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; color: var(--ink-2); font-size: 13.5px; font-weight: 600; }
.art-meta svg { width: 15px; height: 15px; vertical-align: -3px; color: var(--ink-3); }
.art-meta__dot { color: var(--ink-3); }
.art-author { display: inline-flex; align-items: center; gap: 8px; }
.art-author__av { width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; font-size: 12px; display: grid; place-items: center; text-transform: uppercase; }
.art-hero { margin: 22px 0 4px; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line-2); background: var(--accent-tint-2); }
.art-hero img { width: 100%; height: auto; display: block; max-height: 460px; object-fit: cover; }
.art-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 30px; align-items: start; padding-top: 30px; }
.art-grid .prose-basic { max-width: none; font-size: 18.5px; }
.art-grid .prose-basic h2 { scroll-margin-top: 96px; font-size: 27px; }
.art-side { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 18px; }

/* ---- LOGIN (Smart-ID / ID-card via eID Easy) ----
   Single-purpose screen: one centred column, no TOC/CTA rail. eID Easy prints
   three plain <div>s (not links) with stable ids, so they're styled into real
   buttons here and re-ordered Smart-ID → ID-kaart → Mobiil-ID via flex order. */
.art-grid--solo { grid-template-columns: minmax(0, 1fr); max-width: 620px; margin-inline: auto; }
/* No visible title or breadcrumb on the login screen. The h1 stays in the markup
   but screen-reader-only, so the page still has a heading for assistive tech and
   search engines rather than none at all. */
.pagewrap--login .crumbs { display: none; }
.pagewrap--login .page-head { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.pagewrap--login .art-grid { padding-top: 48px; }
.renmo-eid-login #smartid-login-block { display: flex; flex-direction: column; align-items: stretch; gap: 14px; max-width: 440px; margin: 22px auto 8px; padding: 18px; border: 1px solid var(--line); border-radius: var(--r-lg); }
.renmo-eid-login #smartid-smartid-login { order: 1; }
.renmo-eid-login #smartid-id-login { order: 2; }
.renmo-eid-login #smartid-mid-login { order: 3; }
.renmo-eid-login .login-button { width: 100%; min-height: 74px; display: flex; align-items: center; justify-content: center; padding: 14px 20px; margin: 0; background-color: var(--card); background-repeat: no-repeat; background-position: center; background-size: auto 32px; border: 1px solid var(--line); border-radius: var(--r-md); cursor: pointer; transition: border-color .15s, box-shadow .15s, transform .06s; }
/* Renmo's own provider marks, bundled in the theme so a plugin update can't swap
   them. The plugin's <img> is hidden and the mark painted as a background, sized
   by height (the three source files have different aspect ratios). */
.renmo-eid-login .login-button img.login-middle-w { display: none; }
.renmo-eid-login #smartid-smartid-login { background-image: url('../img/eid/smart_id_title.png'); }
.renmo-eid-login #smartid-id-login { background-image: url('../img/eid/id_title.png'); }
.renmo-eid-login #smartid-mid-login { background-image: url('../img/eid/mobile_id_title.png'); }
.renmo-eid-login .login-button:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); }
.renmo-eid-login .login-button:active { transform: translateY(1px); }
.toc { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 20px; box-shadow: var(--shadow-sm); }
.toc[hidden] { display: none; }
.toc__t { font-size: 16px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-2); margin-bottom: 14px; }
.toc__link { display: block; padding: 10px 0 10px 16px; border-left: 2px solid var(--line); color: var(--ink-2); text-decoration: none; font-size: 19px; font-weight: 600; transition: color .15s, border-color .15s; }
.toc__link:hover { color: var(--accent-ink); }
.toc__link.is-active { color: var(--accent-ink); border-color: var(--accent); }
.ctacard { background: var(--navy); color: #fff; border-radius: 12px; padding: 22px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden; }
.ctacard::before { content: ""; position: absolute; right: -40px; top: -40px; width: 150px; height: 150px; border-radius: 50%; background: radial-gradient(circle, rgba(226,27,134,.45), transparent 70%); }
.ctacard h3 { font-size: 23px; font-weight: 800; position: relative; }
.ctacard p { margin: 8px 0 16px; color: #c8cbe0; font-size: 17px; line-height: 1.55; position: relative; }
.ctacard .btn { position: relative; }
.share { display: flex; align-items: center; gap: 10px; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 700; color: var(--ink-2); }
.share a { width: 38px; height: 38px; border-radius: 11px; border: 1.5px solid var(--line); display: grid; place-items: center; color: var(--ink-2); transition: all .16s var(--ease); }
.share a svg { width: 19px; height: 19px; }
.share a:hover { border-color: var(--accent); color: var(--accent-ink); background: var(--accent-tint-2); }
@media (max-width: 960px) {
  .art-main { padding: 26px 20px; }
  .art-grid { grid-template-columns: 1fr; gap: 30px; }
  .art-side { position: static; flex-direction: row; flex-wrap: wrap; }
  .toc, .ctacard { flex: 1 1 280px; }
}
@media (max-width: 560px) {
  /* Sisukord (ToC) above the body text on phones; the CTA card stays below it.
     `display: contents` dissolves the .art-side wrapper so the ToC and CTA become
     direct grid items of .art-grid — then `order` can lift the ToC above .art-main
     (which it can't while nested inside a single .art-side grid cell). */
  .art-side { display: contents; }
  .art-grid .toc { order: -1; }
}

@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto; } }
