/* ==========================================================
   pages.css — inner pages: product list, category, product page, 404
   ========================================================== */

/* Header is solid on inner pages (no hero behind it) */
.page-inner .header,
.page-inner .header.is-scrolled {
  position: sticky; top: 0; background: rgba(255,255,255,.96);
  backdrop-filter: saturate(1.6) blur(12px); -webkit-backdrop-filter: saturate(1.6) blur(12px);
  box-shadow: 0 10px 30px -22px rgba(10,25,50,.45); animation: none;
}
.page-inner .header .header__inner { height: 76px; }
.page-inner .logo__light { opacity: 0; }
.page-inner .logo__dark { opacity: 1; }
.page-inner .nav__link { color: var(--deep); }
.page-inner .nav__link:hover, .page-inner .nav__link.is-active { color: var(--primary); }
.page-inner .icon-btn { border-color: var(--line); background: #fff; color: var(--deep); }
.page-inner .icon-btn:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.page-inner .nav-toggle { border-color: var(--line); }
.page-inner .nav-toggle span { background: var(--deep); }

/* Page hero band */
.page-hero {
  position: relative; overflow: hidden; color: rgba(255,255,255,.8); padding: 54px 0 58px;
  background:
    radial-gradient(700px 300px at 85% 0%, color-mix(in srgb, var(--primary) 70%, transparent), transparent 70%),
    linear-gradient(160deg, var(--deep) 30%, var(--deep-2));
}
.page-hero--slim { padding: 22px 0; }
.page-hero__inner { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(30px, 3.6vw, 48px); margin: 10px 0 8px; }
.page-hero p { margin: 0; max-width: 70ch; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; }
.crumbs a { color: rgba(255,255,255,.75); }
.crumbs a:hover { color: var(--accent); }
.crumbs span { color: rgba(255,255,255,.45); }
.crumbs [aria-current] { color: #fff; }

/* Listing layout */
.listing { padding-top: 56px; }
.listing__grid { display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: start; }
.listing__side { position: sticky; top: 100px; display: grid; gap: 22px; }
.listing__main { min-width: 0; }

.side-search { display: flex; background: #fff; border: 1.5px solid var(--line); border-radius: 14px; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.side-search:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 18%, transparent); }
.side-search input { flex: 1; min-width: 0; border: 0; padding: 12px 14px; font: inherit; outline: none; }
.side-search button { border: 0; background: var(--primary); color: #fff; padding: 0 16px; }
.side-search--wide { max-width: 520px; margin: 24px auto; }

.side-cats { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 10px; }
.side-cats h2 { font-size: 16px; margin: 8px 10px 10px; }
.side-cats a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; color: var(--ink); font-weight: 600; font-size: 15px; transition: background .2s, color .2s; }
.side-cats a:hover { background: var(--tint); color: var(--primary); }
.side-cats a.is-active { background: var(--primary); color: #fff; }
.side-cats .ico { width: 22px; height: 22px; flex: 0 0 22px; color: var(--primary); }
.side-cats a.is-active .ico { color: #fff; }
.side-cats a span:not(.ico) { flex: 1; line-height: 1.3; }
.side-cats small { font-size: 12px; font-weight: 600; color: var(--muted); background: var(--tint); padding: 2px 8px; border-radius: 999px; }
.side-cats a.is-active small { background: rgba(255,255,255,.2); color: #fff; }

.side-doc { display: grid; gap: 4px; padding: 20px; border-radius: var(--r-md); color: #fff; background: linear-gradient(150deg, var(--primary), var(--deep)); }
.side-doc:hover { color: #fff; }
.side-doc strong { font-family: var(--font-display); font-stretch: 112%; font-size: 18px; }
.side-doc span { font-size: 14px; color: rgba(255,255,255,.8); }
.side-doc em { font-style: normal; font-weight: 700; margin-top: 8px; align-self: start; background: var(--accent); color: var(--on-accent); padding: 5px 14px; border-radius: 999px; width: max-content; }

/* Product grid (server-rendered cards) */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.product-grid--4 { grid-template-columns: repeat(4, 1fr); }
.product-grid .product { position: relative; }
.product-grid .product__media { display: grid; }
.product__name a { color: inherit; }
.product__name a:hover { color: var(--primary); }

.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 44px; }
.pager a, .pager span { min-width: 44px; height: 44px; padding: 0 14px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); background: #fff; font-weight: 600; color: var(--ink); }
.pager a:hover { border-color: var(--primary); color: var(--primary); }
.pager .is-current { background: var(--primary); border-color: var(--primary); color: #fff; }

.empty { text-align: center; padding: 60px 20px; background: var(--tint); border-radius: var(--r-lg); }
.empty--404 { background: none; max-width: 720px; }
.empty p { color: var(--muted); }

/* Product page */
.pdp { padding-top: 50px; }
.pdp__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.pdp__gallery { position: sticky; top: 100px; }
.pdp__main { position: relative; aspect-ratio: 1; border-radius: var(--r-lg); display: grid; place-items: center; overflow: hidden; background: linear-gradient(145deg, var(--tint), var(--tint-2)); color: var(--primary); }
.pdp__main img { width: 100%; height: 100%; object-fit: contain; padding: 18px; mix-blend-mode: multiply; transition: transform .5s var(--ease); }
.pdp__main:hover img { transform: scale(1.06); }
.pdp__main .ico { width: 40%; height: 40%; }
.pdp__thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.pdp__thumbs button { width: 76px; height: 76px; padding: 4px; border-radius: 12px; border: 2px solid var(--line); background: var(--tint); }
.pdp__thumbs button.is-active { border-color: var(--primary); }
.pdp__thumbs img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }

.pdp__cat { display: inline-block; font-weight: 600; font-size: 14px; color: var(--primary); background: var(--tint); padding: 5px 14px; border-radius: 999px; }
.pdp__info h1 { font-size: clamp(28px, 3vw, 40px); margin: 14px 0 10px; }
.pdp__sku { color: var(--muted); }
.pdp__sku strong { color: var(--deep); font-family: var(--font-display); font-stretch: 112%; }
.pdp__short { color: var(--ink); margin-bottom: 8px; }
.pdp__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 22px; }
.pdp__trust { display: grid; gap: 10px; margin-bottom: 26px; }
.pdp__trust li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--deep); }
.pdp__trust li::before { content: ""; width: 22px; height: 22px; flex: 0 0 22px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12l4 4 8-8' fill='none' stroke='%23000' stroke-width='3' stroke-opacity='.75'/%3E%3C/svg%3E") center / 14px no-repeat; }
.pdp__doc { display: grid; grid-template-columns: 48px 1fr auto; gap: 14px; align-items: center; padding: 16px 18px; border-radius: var(--r-md); background: var(--deep); color: #fff; }
.pdp__doc:hover { color: #fff; background: var(--deep-2); }
.pdp__doc small { display: block; color: rgba(255,255,255,.65); }
.pdp__doc em { font-style: normal; font-weight: 700; background: var(--accent); color: var(--on-accent); padding: 6px 14px; border-radius: 999px; }
.pdp__desc { margin-top: 60px; padding-top: 40px; border-top: 1px solid var(--line); }
.pdp__desc h2 { font-size: 26px; }

/* Rich text from WordPress / editor */
.rich { color: var(--ink); }
.rich p { margin: 0 0 .9em; }
.rich ul { list-style: disc; padding-left: 1.3em; margin: 0 0 1em; }
.rich ol { list-style: decimal; padding-left: 1.3em; margin: 0 0 1em; }
.rich img { border-radius: 10px; margin: 10px 0; }
.rich table { width: 100%; border-collapse: collapse; margin: 14px 0 20px; font-size: 15px; display: block; overflow-x: auto; }
.rich th, .rich td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; vertical-align: top; }
.rich tr:nth-child(odd) td { background: var(--tint); }
.rich th { background: var(--deep); color: #fff; }

.related .head { margin-bottom: 34px; }

@media (max-width: 1100px) {
  .product-grid--4 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
  .listing__grid { grid-template-columns: 1fr; }
  .listing__side { position: static; }
  .side-cats { display: flex; gap: 6px; overflow-x: auto; padding: 8px; scrollbar-width: none; }
  .side-cats h2 { display: none; }
  .side-cats a { flex: 0 0 auto; white-space: nowrap; }
  .side-doc { display: none; }
  .pdp__grid { grid-template-columns: 1fr; gap: 34px; }
  .pdp__gallery { position: static; }
  .product-grid, .product-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .product-grid, .product-grid--4 { grid-template-columns: 1fr 1fr; gap: 12px; }
  .product-grid .product__body { padding: 14px; }
  .product-grid .product__name { font-size: 15px; }
  .product-grid .product__summary { display: none; }
  .product-grid .product__add { padding: 9px 10px; font-size: 13px; }
  .page-hero { padding: 36px 0 40px; }
}

/* Search dropdown links, enquiry drawer extras, spam trap */
.search__item { text-decoration: none; }
.search__thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 3px; }
.search__all { display: block; text-align: center; padding: 12px; margin-top: 4px; border-top: 1px solid var(--line); font-weight: 600; }
.qv__sku { color: var(--muted); }
.drawer__items .search__thumb { overflow: hidden; }
.drawer__items .name a { color: var(--deep); }
.drawer__items .name small { display: block; color: var(--muted); font-weight: 400; font-size: 13px; }
.drawer__items .qty input { width: 64px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; font: inherit; text-align: center; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* ---------- Google reviews ---------- */
.g-score { display: grid; grid-template-columns: auto auto; column-gap: 12px; align-items: center; }
.g-score strong { grid-row: span 2; font-family: var(--font-display); font-stretch: 112%; font-size: 46px; line-height: 1; color: var(--deep); }
.g-score span:last-child { color: var(--muted); font-size: 14px; }
.stars { color: #FBBC05; letter-spacing: 2px; font-size: 18px; }
.stars i { font-style: normal; color: var(--line); }
.reviews__slider { padding: 6px 4px 10px; margin: 0 -4px; }
.g-review { height: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; display: flex; flex-direction: column; gap: 10px; transition: transform .4s var(--ease), box-shadow .4s; }
.g-review:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.g-review__top { display: flex; align-items: center; gap: 12px; }
.g-review__top > span:nth-child(2) { flex: 1; line-height: 1.25; }
.g-review__top strong { display: block; color: var(--deep); }
.g-review__top small { color: var(--muted); font-size: 13px; }
.g-review__av { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; background: var(--primary); color: #fff; display: grid; place-items: center; flex: 0 0 44px; }
.g-review__av img { width: 100%; height: 100%; object-fit: cover; }
.g-review p { margin: 0; color: var(--ink); font-size: 15.5px; }
.reviews__foot { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 28px; }

/* ---------- Gallery ---------- */
.gal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gal-item { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--r-md); overflow: hidden; background: var(--tint); }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gal-item:hover img { transform: scale(1.08); }
.gal-item span { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 12px; color: #fff; font-weight: 600; font-size: 14px; background: linear-gradient(transparent, rgba(0,0,0,.65)); opacity: 0; transform: translateY(8px); transition: .35s var(--ease); }
.gal-item:hover span, .gal-item:focus span { opacity: 1; transform: none; }
.gal-grid--home .gal-item:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.pill-tabs--links { display: inline-flex; margin-bottom: 28px; }
.pill-tabs--links a { padding: 9px 18px; border-radius: 999px; font-weight: 600; color: var(--muted); }
.pill-tabs--links a:hover { color: var(--primary); }
.pill-tabs--links a[aria-current] { background: var(--primary); color: #fff; }
.pill-tabs--links small { opacity: .7; }

.lb { position: fixed; inset: 0; z-index: 300; background: rgba(5,12,25,.92); display: flex; align-items: center; justify-content: center; padding: 50px 70px; animation: fadeIn .25s; }
.lb figure { margin: 0; max-width: 100%; max-height: 100%; text-align: center; }
.lb img { max-width: 100%; max-height: calc(100vh - 140px); border-radius: 10px; box-shadow: 0 30px 60px rgba(0,0,0,.5); }
.lb figcaption { display: flex; justify-content: space-between; gap: 20px; color: rgba(255,255,255,.85); margin-top: 12px; font-size: 15px; }
.lb button { position: absolute; border: 0; background: rgba(255,255,255,.12); color: #fff; width: 52px; height: 52px; border-radius: 50%; font-size: 30px; line-height: 1; cursor: pointer; }
.lb button:hover { background: var(--accent); color: var(--on-accent); }
.lb__close { top: 18px; right: 18px; }
.lb__prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb__next { right: 14px; top: 50%; transform: translateY(-50%); }

/* ---------- Blog article ---------- */
.article { max-width: 820px; }
.article__img { width: 100%; max-height: 460px; object-fit: contain; background: var(--tint); border-radius: var(--r-lg); margin-bottom: 28px; }
.article .rich { font-size: 17.5px; }
.article .rich h2 { font-size: 26px; margin-top: 1.4em; }
.article__cta { display: grid; gap: 8px; justify-items: start; margin-top: 40px; padding: 26px; border-radius: var(--r-md); background: var(--tint); border-left: 4px solid var(--accent); }
.article__cta strong { font-family: var(--font-display); font-stretch: 112%; font-size: 20px; color: var(--deep); }
.article-head h1 { max-width: 24ch; }
.post__h { font-size: 21px; }
.post__h a { color: var(--deep); }

/* ---------- Social icons ---------- */
.topbar .social { display: flex; gap: 6px; }
.social__link { width: 30px; height: 30px; border-radius: 50%; display: inline-grid; place-items: center; color: #fff; transition: background .25s, color .25s, transform .25s; }
.social__link:hover { background: var(--accent); color: var(--on-accent); transform: translateY(-2px); }
.footer__social { display: flex; gap: 8px; margin-top: 16px; }
.footer__social .social__link { width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.2); color: #fff; }

@media (max-width: 900px) {
  .gal-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .lb { padding: 50px 10px; }
  .lb__prev, .lb__next { top: auto; bottom: 14px; transform: none; }
}

/* ---------- Buy online: product page ---------- */
.pdp__buy { margin: 22px 0 6px; padding: 20px; border-radius: var(--r-md); border: 2px solid var(--primary); background: var(--tint); }
.pdp__price strong { font-family: var(--font-display); font-stretch: 112%; font-size: 34px; color: var(--deep); line-height: 1; }
.pdp__price span { display: block; color: var(--muted); font-size: 14px; margin-top: 4px; }
.pdp__buyrow { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 16px 0 8px; }
.pdp__buy small { color: var(--muted); }
.pdp__buy + .pdp__actions { margin-top: 14px; }
.co__qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; overflow: hidden; }
.co__qty button { width: 38px; height: 42px; border: 0; background: none; font-size: 18px; color: var(--deep); }
.co__qty button:hover { background: var(--tint); }
.co__qty input { width: 46px; border: 0; text-align: center; font: inherit; font-weight: 700; -moz-appearance: textfield; }
.co__qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.product__price { margin: -8px 0 14px; font-size: 14px; color: var(--muted); }
.product__price strong { font-size: 18px; color: var(--deep); }
.product__price a { font-weight: 700; margin-left: 6px; }

/* ---------- Checkout ---------- */
.checkout { padding-top: 40px; }
.co { display: grid; grid-template-columns: 1fr 420px; gap: 28px; align-items: start; }
.co__card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 26px; margin-bottom: 22px; }
.co__card h2 { font-size: 20px; display: flex; align-items: center; gap: 10px; }
.co__card h2 span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: #fff; font-size: 15px; }
.co__main .cf-field { margin-bottom: 14px; }
.co__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.co__row--3 { grid-template-columns: 1.2fr 1fr 1fr; }
.co__methods { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 14px 0 18px; }
.co__method { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; padding: 14px 16px; border: 2px solid var(--line); border-radius: 14px; cursor: pointer; transition: border-color .2s, background .2s; }
.co__method input { grid-row: span 2; width: 18px; height: 18px; accent-color: var(--primary); margin-top: 3px; }
.co__method small { color: var(--muted); }
.co__method.is-on { border-color: var(--primary); background: var(--tint); }
.co__qr { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; padding: 16px; background: var(--tint); border-radius: 14px; }
.co__qr img { width: 200px; height: 200px; object-fit: contain; background: #fff; border-radius: 10px; padding: 8px; }
.co__qr p { margin: 0 0 8px; }
.co__qr-missing { padding: 30px 20px; border: 2px dashed var(--line); border-radius: 12px; color: var(--muted); text-align: center; }
.co__bank { width: 100%; border-collapse: collapse; margin-bottom: 16px; background: var(--tint); border-radius: 12px; overflow: hidden; }
.co__bank th, .co__bank td { padding: 9px 14px; text-align: left; border-bottom: 1px solid #fff; }
.co__bank th { width: 40%; color: var(--muted); font-weight: 600; }
.co__side { position: sticky; top: 96px; }
.co__lines li { display: grid; grid-template-columns: 52px 1fr auto; grid-template-areas: "img name rm" "img qty lt"; gap: 6px 12px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: center; }
.co__lines .search__thumb { grid-area: img; overflow: hidden; }
.co__lname { grid-area: name; font-weight: 600; line-height: 1.3; font-size: 15px; }
.co__lname a { color: var(--deep); }
.co__lname small { display: block; font-weight: 400; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.co__lines .co__qty { grid-area: qty; justify-self: start; }
.co__lines .co__qty button { height: 34px; width: 32px; }
.co__lt { grid-area: lt; text-align: right; }
.co__rm { grid-area: rm; border: 0; background: none; font-size: 22px; color: var(--muted); line-height: 1; }
.co__rm:hover { color: #C0281B; }
.co__totals { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin: 18px 0; }
.co__totals dt { color: var(--muted); }
.co__totals dd { margin: 0; text-align: right; font-weight: 600; }
.co__totals .co__grand { font-family: var(--font-display); font-stretch: 112%; font-size: 22px; color: var(--deep); padding-top: 10px; border-top: 2px solid var(--line); }
.co__note { font-size: 13px; color: var(--muted); text-align: center; margin: 12px 0 0; }

/* ---------- Order status ---------- */
.order-view { max-width: 1000px; }
.track { display: grid; grid-template-columns: repeat(5, 1fr); margin: 0 0 30px; counter-reset: t; }
.track li { position: relative; text-align: center; font-size: 14px; font-weight: 600; color: var(--muted); }
.track li span { width: 40px; height: 40px; margin: 0 auto 8px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--line); position: relative; z-index: 1; }
.track li::before { content: ""; position: absolute; top: 20px; left: -50%; right: 50%; height: 2px; background: var(--line); }
.track li:first-child::before { display: none; }
.track li.is-done span, .track li.is-current span { background: var(--primary); border-color: var(--primary); color: #fff; }
.track li.is-done::before, .track li.is-current::before { background: var(--primary); }
.track li.is-current { color: var(--deep); }
.track li.is-current span { box-shadow: 0 0 0 6px color-mix(in srgb, var(--primary) 20%, transparent); }
.order-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 22px; margin-top: 26px; }
.order-table { width: 100%; border-collapse: collapse; }
.order-table th, .order-table td { padding: 10px 6px; border-bottom: 1px solid var(--line); text-align: left; }
.order-table th:not(:first-child), .order-table td:not(:first-child) { text-align: right; }
.order-table small { display: block; color: var(--muted); }
.adm-note { padding: 14px 18px; border-radius: 12px; background: var(--tint); font-weight: 600; margin-bottom: 20px; }

@media (max-width: 1024px) {
  .co { grid-template-columns: 1fr; }
  .co__side { position: static; order: -1; }
  .order-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .co__row, .co__row--3, .co__methods { grid-template-columns: 1fr; }
  .co__card { padding: 18px; }
  .track li { font-size: 11px; }
}

/* ---------- About & Contact pages ---------- */
.page-body h2 { font-size: clamp(26px, 2.6vw, 36px); }
.page-body h3 { font-size: 20px; margin-top: 1.2em; }
.page-body p, .page-body li { color: var(--muted); }
.page-about .about__text .page-body p:first-of-type { font-size: 19px; color: var(--deep); }
.gal-item--doc { aspect-ratio: 3 / 4; background: #fff; border: 1px solid var(--line); }
.gal-item--doc img { object-fit: contain; padding: 10px; }

.contact { padding-top: 60px; }
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: start; }
.contact__cards { display: grid; gap: 14px; margin: 22px 0 24px; }
.contact__cards li { display: flex; gap: 16px; align-items: flex-start; padding: 18px; background: var(--tint); border-radius: var(--r-md); transition: transform .3s var(--ease), box-shadow .3s; }
.contact__cards li:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); }
.contact__ic { width: 48px; height: 48px; flex: 0 0 48px; border-radius: 14px; display: grid; place-items: center; background: var(--primary); color: #fff; }
.contact__cards strong { display: block; color: var(--deep); font-family: var(--font-display); font-stretch: 112%; }
.contact__cards div > span { color: var(--muted); line-height: 1.55; }
.contact__cards .contact__ic { color: #fff; }
.contact__cards a { color: var(--ink); font-weight: 600; }
.contact__cards a:hover { color: var(--primary); }
.contact__quick { display: flex; gap: 12px; flex-wrap: wrap; }
.contact__social { display: flex; align-items: center; gap: 8px; margin-top: 22px; color: var(--muted); font-weight: 600; }
.contact__social .social__link { color: var(--primary); border: 1px solid var(--line); width: 38px; height: 38px; }
.contact__social .social__link:hover { color: var(--on-accent); }
.contact__form { position: sticky; top: 96px; margin: 0; }
.contact__form .cf-field { margin-bottom: 14px; }
.contact__map { line-height: 0; }
.contact__map iframe { width: 100%; height: 420px; border: 0; filter: saturate(.9); }

@media (max-width: 1024px) {
  .contact__grid { grid-template-columns: 1fr; gap: 36px; }
  .contact__form { position: static; }
}

/* ---------- Product options (attributes) ---------- */
.opts { margin: 18px 0 6px; padding: 18px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; display: grid; gap: 14px; }
.opts__label { display: block; font-weight: 600; color: var(--deep); margin-bottom: 8px; font-size: 15px; }
.opts__val { color: var(--primary); font-weight: 700; }
.opts__pills { display: flex; flex-wrap: wrap; gap: 8px; }
.opts__pills button { padding: 8px 16px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; font-weight: 600; color: var(--ink); transition: border-color .2s, background .2s, color .2s, transform .15s; }
.opts__pills button:hover { border-color: var(--primary); color: var(--primary); }
.opts__pills button[aria-checked="true"] { background: var(--primary); border-color: var(--primary); color: #fff; }
.opts__pills button:active { transform: scale(.96); }
.opts__group.is-missing .opts__pills button { border-color: #C0281B; animation: shake .35s; }
.opts__group.is-missing .opts__val { color: #C0281B; }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.opts__hint { margin: 0; font-size: 13.5px; color: var(--muted); }
.opts__picked { display: none; border-top: 1px dashed var(--line); padding-top: 10px; }
.opts__picked li { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 14.5px; animation: pop .3s var(--ease); }
.opts__picked li span:nth-child(2) { flex: 1; font-weight: 600; color: var(--deep); }
.opts__picked button { border: 0; background: none; font-size: 20px; line-height: 1; color: var(--muted); }
.opts__picked button:hover { color: #C0281B; }
.opts__tag { font-size: 11px; font-weight: 700; text-transform: none; padding: 2px 8px; border-radius: 999px; background: var(--tint); color: var(--primary-dark); }
.opts__tag--cart { background: var(--accent); color: var(--on-accent); }
.opt-line { display: block; font-style: normal; font-size: 12.5px; font-weight: 600; color: var(--primary); margin-top: 2px; }
.qv__opts { font-size: 14px; color: var(--muted); }
a.product__add { text-decoration: none; }

/* ---------- Blinking Buy Online link (top bar) ---------- */
.topbar .buy-blink { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; font-weight: 700;
  background: var(--warm); color: #1a1200; animation: buyBlink 1.4s ease-in-out infinite; }
.topbar .buy-blink:hover { color: #1a1200; animation-play-state: paused; filter: brightness(1.05); }
.topbar .buy-blink.is-here { animation: none; box-shadow: 0 0 0 2px #fff; }
@keyframes buyBlink {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 color-mix(in srgb, var(--warm) 70%, transparent); }
  50% { opacity: .55; box-shadow: 0 0 0 6px color-mix(in srgb, var(--warm) 0%, transparent); }
}
@media (prefers-reduced-motion: reduce) { .topbar .buy-blink { animation: none !important; } }
.side-cats__buy { color: var(--primary-dark) !important; background: color-mix(in srgb, var(--warm) 25%, transparent); }
.side-cats__buy.is-active { background: var(--primary); color: #fff !important; }

/* ---------- Catalogues page ---------- */
.cat-books { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.cat-book { display: flex; flex-direction: column; color: var(--ink); text-decoration: none; }
.cat-book__cover { position: relative; aspect-ratio: 3 / 4; border-radius: 6px 14px 14px 6px; overflow: hidden; background: var(--tint);
  box-shadow: inset 6px 0 10px -6px rgba(0,0,0,.35), 0 18px 36px -18px rgba(10,25,50,.45); transition: transform .45s var(--ease), box-shadow .45s; }
.cat-book__cover img { width: 100%; height: 100%; object-fit: cover; }
.cat-book:hover .cat-book__cover { transform: translateY(-8px) rotate(-1.5deg); box-shadow: inset 6px 0 10px -6px rgba(0,0,0,.35), 0 30px 50px -22px rgba(10,25,50,.55); }
.cat-book__cover--plain { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 16px; padding: 20px; text-align: center;
  background: linear-gradient(160deg, var(--primary), var(--deep)); color: #fff; }
.cat-book__cover--plain .ico { width: 70px; height: 70px; color: var(--accent); }
.cat-book__cover--plain b { font-family: var(--font-display); font-stretch: 112%; font-size: 20px; line-height: 1.2; }
.cat-book__pdf { position: absolute; top: 12px; right: 12px; background: #fff; color: #C0281B; font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 6px; }
.cat-book__title { font-family: var(--font-display); font-stretch: 112%; font-weight: 700; font-size: 17px; color: var(--deep); margin-top: 14px; }
.cat-book__note { font-size: 14px; color: var(--muted); }
.cat-book__dl { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-weight: 700; color: var(--primary); }
.cat-book:hover .cat-book__dl { color: var(--primary-dark); }
.cat-docs { margin-top: 70px; max-width: 760px; }
.downloads__list--light a { color: var(--ink); border-bottom-color: var(--line); }
.downloads__list--light small { color: var(--muted); }
.downloads__list--light .downloads__pdf { background: var(--tint); color: #C0281B; }
.downloads__list--light .downloads__arrow { border-color: var(--line); color: var(--primary); }

/* home slider: catalogue with a cover photo */
.catalogue--cover a { padding: 0; background: #fff; }
.catalogue--cover a::before, .catalogue--cover a::after { display: none; }
.catalogue--cover img { width: 100%; height: 72%; object-fit: cover; }
.catalogue--cover .catalogue__name { margin: 12px 18px 0; font-size: 18px; }
.catalogue--cover .catalogue__dl { margin: 6px 18px 0; }

@media (max-width: 1024px) { .cat-books { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .cat-books { grid-template-columns: repeat(2, 1fr); gap: 16px; } .topbar__info li:first-child a { font-size: 13px; } }
@media (max-width: 640px) {
  .topbar__inner { gap: 8px; }
  .topbar ul { gap: 10px; }
  .topbar a, .topbar li { white-space: nowrap; font-size: 13px; }
  .topbar .buy-blink { padding: 3px 10px; }
  .topbar .social { gap: 0; }
  .topbar .social__link { width: 26px; height: 26px; }
}
@media (max-width: 380px) { .topbar__info svg { display: none; } }

/* ---------- Customer accounts ---------- */
.icon-btn--acct { overflow: hidden; }
.icon-btn--acct img { width: 100%; height: 100%; object-fit: cover; }
.icon-btn--acct b { font-family: var(--font-display); font-size: 16px; }
.icon-btn--acct.is-in { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }

.note { padding: 13px 16px; border-radius: 12px; margin-bottom: 16px; font-weight: 600; }
.note--success { background: #E6F6EF; color: #12704F; }
.note--error { background: #FDECEA; color: #B42318; }
.note--info { background: var(--tint); color: var(--primary-dark); }
.note a { font-weight: 700; }
.small { font-size: 13.5px; }
.muted { color: var(--muted); }
.cf-help { color: var(--muted); font-size: 13px; }

.auth { padding-top: 56px; }
.auth__card { max-width: 480px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 34px; box-shadow: var(--shadow); }
.auth__card h1 { font-size: 28px; }
.auth__social { display: grid; gap: 10px; margin: 18px 0 8px; }
.soc-btn { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 13px; border-radius: 12px; font-weight: 700; border: 1.5px solid var(--line); color: var(--ink); background: #fff; transition: border-color .2s, transform .15s, box-shadow .2s; }
.soc-btn:hover { border-color: var(--primary); color: var(--ink); box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.soc-btn--facebook { background: #1877F2; border-color: #1877F2; color: #fff; }
.soc-btn--facebook:hover { color: #fff; border-color: #1464d8; background: #1464d8; }
.auth__or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; margin: 18px 0; }
.auth__or::before, .auth__or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth__tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 5px; background: var(--tint); border-radius: 999px; margin-bottom: 20px; }
.auth__tabs a { text-align: center; padding: 9px; border-radius: 999px; font-weight: 700; color: var(--muted); }
.auth__tabs a[aria-selected="true"] { background: #fff; color: var(--primary); box-shadow: var(--shadow-sm); }
.auth__form { display: grid; gap: 14px; }
.auth__forgot { margin: -6px 0 0; text-align: right; font-size: 14px; }

.acc { padding-top: 40px; }
.acc__grid { display: grid; grid-template-columns: 270px 1fr; gap: 32px; align-items: start; }
.acc__side { position: sticky; top: 96px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px; }
.acc__me { display: flex; gap: 12px; align-items: center; padding: 6px 6px 16px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.acc__me strong { display: block; color: var(--deep); line-height: 1.2; }
.acc__me small { color: var(--muted); font-size: 12.5px; word-break: break-all; }
.acc__av { width: 48px; height: 48px; flex: 0 0 48px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--primary); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 20px; }
.acc__av img { width: 100%; height: 100%; object-fit: cover; }
.acc__av--lg { width: 84px; height: 84px; flex-basis: 84px; font-size: 32px; }
.acc__nav { display: grid; gap: 2px; }
.acc__nav a { padding: 10px 12px; border-radius: 10px; font-weight: 600; color: var(--ink); }
.acc__nav a:hover { background: var(--tint); color: var(--primary); }
.acc__nav a.is-active { background: var(--primary); color: #fff; }
.acc__nav .acc__out { color: #B42318; margin-top: 6px; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; }
.acc__main { min-width: 0; }
.acc__h { font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 18px; }
.acc__card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; margin-bottom: 20px; }
.acc__card h2 { font-size: 18px; }
.acc__cardhead { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.acc__cardhead h2, .acc__cardhead h1 { margin-bottom: 10px; }
.acc__two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.acc__two p { color: var(--ink); margin: 0; }
.acc__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 20px; }
.acc__stats a { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px; color: var(--ink); transition: transform .25s var(--ease), box-shadow .25s; }
.acc__stats a:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); color: var(--ink); }
.acc__stats strong { display: block; font-family: var(--font-display); font-stretch: 112%; font-size: 32px; color: var(--primary); line-height: 1; }
.acc__stats span { color: var(--muted); font-weight: 600; }
.acc__photo { display: flex; gap: 18px; align-items: center; margin-bottom: 10px; }
.acc__orders { display: grid; gap: 10px; }
.acc-order { display: grid; grid-template-columns: 1fr auto auto; grid-template-areas: "ref status total" "track track track"; gap: 4px 16px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); transition: border-color .2s, background .2s; }
.acc-order:hover { border-color: var(--primary); background: var(--tint); color: var(--ink); }
.acc-order__ref { grid-area: ref; }
.acc-order__ref strong { display: block; color: var(--deep); }
.acc-order__ref small { color: var(--muted); }
.acc-order__status { grid-area: status; }
.acc-order__total { grid-area: total; font-family: var(--font-display); font-stretch: 112%; }
.acc-order__track { grid-area: track; font-size: 13px; color: var(--primary); font-weight: 600; }
.st { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 700; background: var(--tint); color: var(--primary-dark); white-space: nowrap; }
.st--pending_verification { background: #FFF4E5; color: #B54708; }
.st--confirmed, .st--processing { background: #E8F1FB; color: #244C88; }
.st--shipped { background: color-mix(in srgb, var(--accent) 25%, #fff); color: var(--deep); }
.st--delivered { background: #E6F6EF; color: #12704F; }
.st--cancelled, .st--payment_rejected { background: #FDECEA; color: #B42318; }
.linked { display: grid; gap: 8px; margin: 0 0 8px; }
.linked li { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font-weight: 600; }

.addr { border: 0; padding: 0; margin: 0 0 18px; }
.addr legend { font-family: var(--font-display); font-stretch: 112%; font-weight: 700; color: var(--deep); font-size: 16px; margin-bottom: 10px; }
.addr .cf-field { margin-bottom: 12px; }
.check-line { display: flex; gap: 10px; align-items: center; font-weight: 600; margin-bottom: 12px; cursor: pointer; }
.check-line input { width: 18px; height: 18px; accent-color: var(--primary); }
.co__who { background: var(--tint); padding: 10px 14px; border-radius: 10px; font-size: 14.5px; }

.ship-box { border: 2px solid var(--accent); background: color-mix(in srgb, var(--accent) 8%, #fff); border-radius: var(--r-md); padding: 20px; margin: 0 0 20px; }
.ship-box__head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; color: var(--primary); margin-bottom: 10px; }
.ship-box__head strong { font-family: var(--font-display); font-stretch: 112%; font-size: 19px; color: var(--deep); }
.ship-box__head span { color: var(--muted); font-size: 14px; margin-left: auto; }
.ship-box dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0 0 14px; }
.ship-box dt { color: var(--muted); }
.ship-box dd { margin: 0; font-weight: 600; }
.ship-box__id { font-family: ui-monospace, Consolas, monospace; font-size: 16px; letter-spacing: .03em; }
.ship-box__copy { border: 1px solid var(--line); background: #fff; border-radius: 6px; font-size: 12px; padding: 2px 8px; margin-left: 6px; }
.ship-box__hint, .ship-box__note { margin: 8px 0 0; font-size: 13.5px; color: var(--muted); }

@media (max-width: 960px) {
  .acc__grid { grid-template-columns: 1fr; }
  .acc__side { position: static; }
  .acc__nav { grid-template-columns: repeat(2, 1fr); }
  .acc__nav .acc__out { border-top: 0; margin-top: 0; }
}
@media (max-width: 640px) {
  .acc__two, .acc__stats { grid-template-columns: 1fr; }
  .acc-order { grid-template-columns: 1fr auto; grid-template-areas: "ref total" "status status" "track track"; }
  .acc-order__status { justify-self: start; }
  .auth__card { padding: 24px 18px; }
}

/* ---------- Captcha & attachment fields ---------- */
.captcha__row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.captcha__img { width: 170px; height: 56px; border-radius: 10px; border: 1px solid var(--line); background: var(--tint); }
.captcha__new { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--primary); display: grid; place-items: center; transition: transform .3s, background .2s; }
.captcha__new:hover { background: var(--tint); transform: rotate(-90deg); }
.captcha__row input { flex: 1; min-width: 120px; max-width: 200px; text-transform: uppercase; letter-spacing: .25em; font-weight: 700; }
.cf-field.is-invalid .captcha__row input { border-color: #C0281B; }
.file-field input[type=file] { padding: 9px; background: #fff; border: 1.5px dashed var(--line); border-radius: 12px; width: 100%; font-size: 14px; }
.file-field input[type=file]:hover { border-color: var(--primary); }
.opt { font-weight: 400; color: var(--muted); }
.enquiry-form .cf-field { gap: 5px; }
.enquiry-form .captcha__row input { padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; }
.enquiry-form .cf-error { display: none; font-size: 13px; color: #C0281B; font-weight: 600; }
.enquiry-form .cf-field.is-invalid .cf-error { display: block; }
.enquiry-form .file-field > label, .enquiry-form .captcha > label { display: block; }

/* Product photo: click to enlarge */
#pdpMain img { cursor: zoom-in; }
.pdp__zoom { position: absolute; right: 14px; bottom: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: var(--deep); display: grid; place-items: center; box-shadow: var(--shadow-sm); transition: background .2s, color .2s, transform .2s; }
.pdp__zoom:hover { background: var(--primary); color: #fff; transform: scale(1.06); }
.pdp__hsn { margin-left: 14px; padding-left: 14px; border-left: 1px solid var(--line); }
.opts__pills small { display: block; font-size: 11px; font-weight: 600; opacity: .7; margin-top: 1px; }
.opts__group--variant .opts__pills button { text-align: left; line-height: 1.25; }
.lb img { background: #fff; }

/* ---------- "Not listed?" box ---------- */
.not-listed { max-width: 560px; margin: 10px auto; text-align: center; padding: 34px 30px 26px; border-radius: 26px; border: 1px solid var(--line);
  background: linear-gradient(180deg, #fff, var(--tint)); box-shadow: var(--shadow-sm); }
.not-listed__art { width: 220px; height: auto; margin: 0 auto 8px; display: block; }
.not-listed__text { font-size: 19px; line-height: 1.5; color: var(--ink); margin: 0 auto 22px; max-width: 30ch; }
.not-listed__text strong { color: var(--primary-dark); }
.not-listed__btn { padding: 15px 44px; font-size: 18px; box-shadow: 0 12px 24px -12px var(--primary); }
.not-listed__call { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); text-align: left; }
.not-listed__ic { width: 50px; height: 50px; flex: 0 0 50px; border-radius: 50%; display: grid; place-items: center; background: var(--tint-2); color: var(--primary); }
.not-listed__call small { display: block; color: var(--muted); font-size: 14px; }
.not-listed__call a { font-family: var(--font-display); font-stretch: 112%; font-weight: 700; font-size: 19px; color: var(--primary-dark); }
.not-listed__call i { font-style: normal; color: var(--muted); margin: 0 10px; }
.empty__lead { text-align: center; color: var(--muted); font-size: 17px; margin-bottom: 18px; }
.not-listed--mini { box-shadow: none; border: 0; background: var(--tint); border-radius: 12px; padding: 16px; margin: 0; max-width: none; }
.not-listed--mini .search__empty { padding: 0 0 6px; }
.not-listed--mini .not-listed__text { font-size: 15px; margin-bottom: 12px; max-width: none; }
.not-listed__mini-call { margin: 10px 0 0; font-size: 14px; color: var(--muted); }
.not-listed__mini-call a { font-weight: 700; }
@media (max-width: 560px) {
  .not-listed { padding: 26px 18px 20px; }
  .not-listed__text { font-size: 17px; }
  .not-listed__call { flex-direction: column; text-align: center; }
  .not-listed__call a { font-size: 17px; }
}

/* ---------- Variant list (from the Cat. No. table) ---------- */
.opts__group--list .opts__pills { display: grid; gap: 8px; }
.opts__group--list .opts__pills button { display: grid; grid-template-columns: minmax(110px, auto) 1fr auto; gap: 14px; align-items: center; text-align: left; padding: 11px 14px; }
.vr__code { font-family: ui-monospace, Consolas, monospace; font-weight: 700; font-size: 14px; }
.vr__label { font-weight: 600; }
.vr__price { font-family: var(--font-display); font-stretch: 112%; font-weight: 700; }
.opts__group--list button[aria-checked="true"] .vr__price { color: #fff; }
.opts__group--list button::before { content: ""; position: absolute; }
.opts__group--list .opts__pills button { position: relative; padding-left: 40px; }
.opts__group--list .opts__pills button::after { content: ""; position: absolute; left: 13px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 4px; border: 2px solid var(--line); background: #fff; }
.opts__group--list .opts__pills button[aria-checked="true"]::after { border-color: #fff; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12l4 4 8-8' fill='none' stroke='%23000' stroke-width='3'/%3E%3C/svg%3E") center / 12px no-repeat; }
@media (max-width: 560px) { .opts__group--list .opts__pills button { grid-template-columns: 1fr auto; } .vr__code { grid-column: 1 / -1; } }

/* ---------- Login / sign-up page ---------- */
.auth2 { padding: 48px 0 80px; background: radial-gradient(900px 400px at 85% 0%, var(--tint-2), transparent 70%), var(--tint); }
.auth2__grid { display: grid; grid-template-columns: 1fr 1.05fr; max-width: 1040px; margin: 0 auto; border-radius: 28px; overflow: hidden; background: #fff; box-shadow: 0 40px 80px -40px rgba(10,25,50,.45); }
.auth2__brand { position: relative; overflow: hidden; padding: 46px 42px; color: rgba(255,255,255,.85);
  background: linear-gradient(155deg, var(--primary) 0%, var(--primary-dark) 45%, var(--deep) 100%); display: flex; flex-direction: column; }
.auth2__brand h2 { color: #fff; font-size: 30px; margin: 30px 0 10px; }
.auth2__logo { width: 160px; height: auto; position: relative; }
.auth2__perks { display: grid; gap: 16px; margin: 26px 0 30px; position: relative; }
.auth2__perks li { display: flex; gap: 14px; align-items: flex-start; }
.auth2__perks li > span { width: 42px; height: 42px; flex: 0 0 42px; border-radius: 12px; display: grid; place-items: center; font-size: 20px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); }
.auth2__perks strong { display: block; color: #fff; font-family: var(--font-display); font-stretch: 112%; }
.auth2__perks small { color: rgba(255,255,255,.7); font-size: 14px; }
.auth2__help { margin-top: auto; font-size: 14px; position: relative; }
.auth2__help a { color: var(--accent); font-weight: 700; }
.auth2__bubbles i { position: absolute; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.25); background: color-mix(in srgb, var(--accent) 18%, transparent); animation: bubbleUp 9s linear infinite; }
.auth2__bubbles i:nth-child(1) { width: 26px; height: 26px; left: 70%; bottom: -30px; }
.auth2__bubbles i:nth-child(2) { width: 14px; height: 14px; left: 82%; bottom: -30px; animation-delay: 2s; }
.auth2__bubbles i:nth-child(3) { width: 40px; height: 40px; left: 58%; bottom: -50px; animation-delay: 4s; }
.auth2__bubbles i:nth-child(4) { width: 18px; height: 18px; left: 88%; bottom: -30px; animation-delay: 6s; }
.auth2__bubbles i:nth-child(5) { width: 10px; height: 10px; left: 76%; bottom: -30px; animation-delay: 7.5s; }
@keyframes bubbleUp { to { transform: translateY(-640px); opacity: 0; } }
.auth2__panel { padding: 46px 46px 40px; }
.auth2__panel h1 { font-size: 30px; margin-bottom: 6px; }
.auth2__panel > .muted { margin-bottom: 20px; }
.auth2__form .cf-field { position: relative; }
.auth2__form .cf-field input { padding: 13px 14px 13px 44px; font-size: 16px; border-radius: 12px; }
.auth2__form .cf-field.has-toggle input { padding-right: 70px; }
.auth2__form .ic::before { content: ""; position: absolute; left: 14px; top: 39px; width: 18px; height: 18px; background: var(--muted); opacity: .8;
  -webkit-mask: var(--ic) center / contain no-repeat; mask: var(--ic) center / contain no-repeat; }
.ic--mail { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3' y='5' width='18' height='14' rx='2' fill='none' stroke='%23000' stroke-width='2'/%3E%3Cpath d='M3 7l9 6 9-6' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E"); }
.ic--lock { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='4' y='10' width='16' height='11' rx='2' fill='none' stroke='%23000' stroke-width='2'/%3E%3Cpath d='M8 10V7a4 4 0 0 1 8 0v3' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E"); }
.ic--user { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='8' r='4' fill='none' stroke='%23000' stroke-width='2'/%3E%3Cpath d='M4 21a8 8 0 0 1 16 0' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E"); }
.ic--phone { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 4h4l2 5-2.5 1.5a11 11 0 0 0 5 5L15 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E"); }
.auth2__form .cf-field:focus-within::before { background: var(--primary); opacity: 1; }
.pw-toggle { position: absolute; right: 8px; top: 31px; padding: 6px 10px; border: 0; border-radius: 8px; background: var(--tint); color: var(--primary); font-weight: 700; font-size: 13px; }
.pw-toggle:hover { background: var(--tint-2); }
.auth2__submit { padding: 15px; font-size: 16px; margin-top: 4px; }
.auth2__switch { text-align: center; color: var(--muted); margin: 6px 0 0; font-size: 15px; }
.auth2__switch a { font-weight: 700; }
@media (max-width: 860px) {
  .auth2 { padding: 24px 0 60px; }
  .auth2__grid { grid-template-columns: 1fr; border-radius: 20px; }
  .auth2__brand { padding: 28px 24px; }
  .auth2__brand h2 { font-size: 24px; margin-top: 18px; }
  .auth2__perks { grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0 8px; }
  .auth2__perks small, .auth2__help { display: none; }
  .auth2__panel { padding: 28px 22px 30px; }
}
.inv-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.inv-row p { margin: 0; }

/* ---------- Variant rows with their own quantity ---------- */
.vr { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.vr__head, .vr__row { display: grid; grid-template-columns: minmax(110px, auto) 1fr auto auto; gap: 12px; align-items: center; padding: 8px 12px; }
.vr__head { background: var(--tint); font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; padding: 9px 12px; }
.vr__h-qty { text-align: center; min-width: 118px; }
.vr__h-price { text-align: right; }
.vr__row { border-top: 1px solid var(--line); transition: background .2s; }
.vr__row:nth-child(even) { background: #FBFCFE; }
.vr__row.is-on { background: color-mix(in srgb, var(--accent) 12%, #fff); box-shadow: inset 3px 0 0 var(--primary); }
.vr__row .vr__code, .vr__row .vr__label, .vr__row .vr__price { cursor: pointer; }
.vr__row .vr__code { font-family: ui-monospace, Consolas, monospace; font-weight: 700; font-size: 13.5px; color: var(--deep); }
.vr__row .vr__label { font-weight: 600; color: var(--ink); }
.vr__row .vr__price { font-family: var(--font-display); font-stretch: 112%; font-weight: 700; text-align: right; white-space: nowrap; }
.vr__row .vr__price small { font-family: inherit; color: var(--muted); font-weight: 600; font-size: 13px; }
.vr__qty { justify-self: center; }
.vr__qty button { width: 34px; height: 34px; }
.vr__qty input { width: 46px; }
.vr__row.is-on .vr__qty { border-color: var(--primary); }
.vr__sum { margin: 0; padding: 10px 12px; border-top: 1px solid var(--line); font-weight: 700; color: var(--primary); font-size: 14px; }
.vr__sum:empty { display: none; }
.opts.is-missing .vr, .vr.is-missing { border-color: #C0281B; animation: shake .35s; }
@media (max-width: 560px) {
  .vr__head { display: none; }
  .vr__row { grid-template-columns: 1fr auto; grid-template-areas: "code price" "label qty"; gap: 2px 10px; padding: 10px 12px; }
  .vr__row .vr__code { grid-area: code; }
  .vr__row .vr__label { grid-area: label; }
  .vr__row .vr__price { grid-area: price; }
  .vr__row .vr__qty { grid-area: qty; justify-self: end; }
  .vr__row:not(:has(.vr__price)) { grid-template-areas: "code qty" "label qty"; }
}

/* Search: sizes / options that matched */
.search__match { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; font-style: normal; }
.search__match span { font-size: 11.5px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 18%, #fff); color: var(--deep); }
.product__match { margin: -4px 0 10px; font-size: 13px; color: var(--muted); }
.product__match b { display: inline-block; padding: 1px 7px; margin: 1px 0; border-radius: 999px; background: color-mix(in srgb, var(--accent) 18%, #fff); color: var(--deep); font-size: 12px; }

/* ================= About Us page (sections from Admin → About & Contact pages → About Us) ================= */
.ap-hero h1 { max-width: 22ch; }
.ap-hero__tag { font-family: var(--font-display); font-stretch: 112%; font-size: clamp(18px, 2vw, 24px); font-weight: 700; color: var(--accent) !important; margin-top: 6px; }

.ap-intro__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.ap-intro__text p { color: var(--muted); font-size: 17px; line-height: 1.75; margin: 0 0 18px; }
.ap-intro__text p.lead { font-size: clamp(19px, 1.7vw, 23px); line-height: 1.55; color: var(--deep); font-weight: 600; padding-left: 18px; border-left: 4px solid var(--accent); }
.ap-intro__media { position: relative; }
.ap-intro__media .about__frame { aspect-ratio: 4 / 5; }
.ap-badge { position: absolute; left: -28px; bottom: 34px; max-width: 220px; }

.ap-two { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.ap-two p { font-size: 17px; line-height: 1.75; color: var(--muted); }
.ap-who .ap-two > div:first-child p:first-of-type { font-size: 20px; color: var(--deep); font-weight: 600; line-height: 1.5; }
.ap-range { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow-sm); }
.ap-range h3 { font-size: 17px; margin: 0 0 16px; color: var(--deep); }
.ap-range ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.ap-range li { padding: 8px 14px; border-radius: 999px; background: var(--tint); border: 1px solid var(--line); font-weight: 600; font-size: 14px; color: var(--deep); transition: background .2s, color .2s, transform .2s; }
.ap-range li:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }
.ap-range__link { font-weight: 700; }

.ap-mfg { background: var(--deep); color: rgba(255,255,255,.82); position: relative; overflow: hidden; }
.ap-mfg::before { content: ""; position: absolute; right: -160px; top: -160px; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%); }
.ap-mfg .ap-two p { color: rgba(255,255,255,.8); }
.ap-mfg .ap-two > div:first-child p:first-of-type { color: #fff; font-size: 21px; font-weight: 600; line-height: 1.5; }
.ap-flow { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 12px; counter-reset: s; }
.ap-flow li { position: relative; display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  color: #fff; font-family: var(--font-display); font-stretch: 112%; font-weight: 700; font-size: 17px; transition: background .25s, transform .25s; }
.ap-flow li:hover { background: rgba(255,255,255,.11); transform: translateX(6px); }
.ap-flow li span { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); font-size: 14px; }
.ap-flow li:not(:last-child)::after { content: ""; position: absolute; left: 37px; bottom: -13px; width: 2px; height: 14px; background: var(--accent); opacity: .6; }
.ap-mfg__note { padding: 16px 18px; border-left: 3px solid var(--accent); background: rgba(255,255,255,.05); border-radius: 0 12px 12px 0; font-size: 15.5px !important; }

.ap-world__lead { font-size: 19px; color: var(--deep); font-weight: 600; max-width: 60ch; line-height: 1.55; }
.ap-world__sub { font-weight: 700; color: var(--muted); margin: -20px 0 18px; }
.ap-regions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ap-region { position: relative; padding: 28px 26px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s; }
.ap-region::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--primary), var(--accent)); }
.ap-region:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.ap-region__ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--tint); color: var(--primary); margin-bottom: 14px; }
.ap-region h3 { font-size: 22px; margin: 0 0 8px; }
.ap-region p { color: var(--muted); margin: 0; line-height: 1.65; }
.ap-world__more { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 30px; }
.ap-world__more p { margin: 0; color: var(--muted); font-size: 16.5px; line-height: 1.7; padding: 18px 20px; background: var(--tint); border-radius: 14px; }

.ap-pair__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.ap-card { background: #fff; border-radius: var(--r-lg); padding: 34px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.ap-card__ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--primary); color: #fff; margin-bottom: 18px; }
.ap-card h2 { font-size: clamp(22px, 2vw, 28px); margin: 0 0 14px; }
.ap-card p { color: var(--muted); line-height: 1.7; margin: 0 0 12px; }
.ap-card p:first-of-type { color: var(--deep); font-weight: 600; }
.ap-card__link { font-weight: 700; }

.ap-timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; position: relative; }
.ap-timeline::before { content: ""; position: absolute; left: calc(100% / 6); right: calc(100% / 6); top: 27px; height: 3px; background: linear-gradient(90deg, var(--primary), var(--accent)); border-radius: 2px; }
.ap-timeline li { position: relative; text-align: center; padding: 0 10px; }
.ap-timeline__dot { position: relative; z-index: 1; width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--deep); color: #fff;
  font-family: var(--font-display); font-weight: 800; font-size: 20px; box-shadow: 0 0 0 7px #fff, 0 0 0 9px var(--line); }
.ap-timeline li:last-child .ap-timeline__dot { background: var(--accent); color: var(--on-accent); }
.ap-timeline h3 { font-size: 19px; margin: 0 0 8px; color: var(--deep); }
.ap-timeline p { color: var(--muted); line-height: 1.65; margin: 0; }

.ap-vm { background: linear-gradient(180deg, #fff 0%, var(--tint) 100%); }
.ap-vm__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.ap-vm__card { position: relative; padding: 36px; border-radius: var(--r-lg); color: rgba(255,255,255,.85); background: var(--deep); overflow: hidden; }
.ap-vm__card:last-child { background: var(--primary); }
.ap-vm__card::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 200px; height: 200px; border-radius: 50%; border: 30px solid rgba(255,255,255,.06); }
.ap-vm__card > span { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: rgba(255,255,255,.12); color: var(--accent); margin-bottom: 18px; }
.ap-vm__card:last-child > span { color: #fff; }
.ap-vm__card h2 { color: #fff; font-size: 28px; margin: 0 0 12px; }
.ap-vm__card p { margin: 0; font-size: 17px; line-height: 1.7; }

.ap-why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ap-why__card { background: #fff; border-radius: var(--r-md); padding: 26px 22px; border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.ap-why__card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--primary); }
.ap-why__ico { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--tint); color: var(--primary); margin-bottom: 14px; transition: background .3s, color .3s; }
.ap-why__card:hover .ap-why__ico { background: var(--primary); color: #fff; }
.ap-why__card h3 { font-size: 17.5px; margin: 0 0 6px; color: var(--deep); }
.ap-why__card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }

.ap-closing { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--deep), var(--primary-dark)); color: #fff; padding: 84px 0; text-align: center; }
.ap-closing__inner { position: relative; }
.ap-closing h2 { color: #fff; font-size: clamp(26px, 3.4vw, 44px); max-width: 24ch; margin: 0 auto 12px; }
.ap-closing p { color: var(--accent); font-family: var(--font-display); font-stretch: 112%; font-weight: 700; font-size: clamp(17px, 1.8vw, 22px); margin: 0 0 28px; }
.ap-closing__btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 1024px) {
  .ap-intro__grid, .ap-two { grid-template-columns: 1fr; gap: 40px; }
  .ap-intro__media { max-width: 520px; }
  .ap-badge { left: auto; right: 16px; }
  .ap-why__grid { grid-template-columns: repeat(2, 1fr); }
  .ap-why__grid .ap-why__card:last-child:nth-child(odd) { grid-column: span 2; }
}
@media (max-width: 760px) {
  .ap-regions, .ap-pair__grid, .ap-vm__grid, .ap-world__more { grid-template-columns: 1fr; }
  .ap-timeline { grid-template-columns: 1fr; gap: 22px; }
  .ap-timeline::before { left: 27px; right: auto; top: 10px; bottom: 10px; width: 3px; height: auto; background: linear-gradient(180deg, var(--primary), var(--accent)); }
  .ap-timeline li { display: grid; grid-template-columns: 56px 1fr; gap: 4px 16px; text-align: left; padding: 0; }
  .ap-timeline__dot { margin: 0; grid-row: span 2; }
  .ap-card, .ap-vm__card { padding: 26px 22px; }
  .ap-world__sub { margin-top: -30px; }
}
@media (max-width: 480px) {
  .ap-why__grid { grid-template-columns: 1fr; }
  .ap-why__grid .ap-why__card:last-child:nth-child(odd) { grid-column: auto; }
  .ap-intro__text p, .ap-two p { font-size: 16px; }
  .ap-closing { padding: 60px 0; }
}

.ap-h { font-size: clamp(26px, 2.6vw, 36px); margin: 0 0 18px; }
.ap-h--light { color: #fff; }
.ap-world .head { max-width: 760px; }

/* Pasted formatting: old-style align / valign attributes from other sites */
.rich [align="center"] { text-align: center; } .rich [align="right"] { text-align: right; } .rich [align="justify"] { text-align: justify; }
.rich td[valign="middle"], .rich th[valign="middle"] { vertical-align: middle; }
.rich img[style*="float"], .rich img { max-width: 100%; height: auto; }
