:root {
  --primary-maroon: #8B2C42;
  --primary-blue: #0066CC;
  --dark-blue: #003366;
  --accent-orange: #FF6B35;
  --light-gray: #f8f9fa;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  background-color: #fff;
  margin: 0;
  padding: 0;
}

/* Navbar */
.navbar {
  background-color: var(--primary-maroon);
  padding: 1rem 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand {
  font-weight: 700;
  color: white !important;
  font-size: 1.5rem;
}

.navbar-brand img {
  max-height: 40px;
  margin-right: 10px;
}

.navbar .nav-link {
  color: rgba(255,255,255,0.9) !important;
  margin: 0 10px;
  font-weight: 500;
}

.navbar .nav-link:hover {
  color: white !important;
}

.navbar .btn-login {
  background-color: var(--accent-orange);
  border: none;
}

.navbar .btn-login:hover {
  background-color: #FF5520;
}

/* Hero Banner - fixed height, never covers content */
.hero {
  background: linear-gradient(135deg, #8B2C42 0%, #0066CC 100%);
  color: #fff;
  text-align: center;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.hero::before, .hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
}
.hero::before { width: 260px; height: 260px; top: -60px; left: 6%; }
.hero::after  { width: 320px; height: 320px; bottom: -120px; right: 5%; }
.hero-inner { position: relative; z-index: 1; padding: 0 20px; max-width: 900px; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; margin-bottom: 12px; }
.hero-sub { font-size: clamp(1rem, 2vw, 1.35rem); opacity: .95; margin-bottom: 20px; }
.hero-divider { width: 120px; height: 3px; background: rgba(255,255,255,.6); margin: 0 auto 24px; }
.hero-btn {
  background: var(--accent-orange); color: #fff; font-weight: 700;
  padding: 12px 32px; border-radius: 30px; border: none;
}
.hero-btn:hover { background: #ff5520; color: #fff; }
.hero-note { margin: 14px 0 0; font-size: .95rem; opacity: .85; }
@media (max-width: 768px) { .hero { height: 300px; } }

/* Container - Product sections */
.container {
  position: relative;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Product Card Styles */
.product-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(139, 44, 66, 0.2);
}

.product-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background: #f5f5f5;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.badge-sale {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #FF6B35;
    color: white;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: bold;
}

.product-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-name {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin: 0 0 8px 0;
    line-height: 1.5;
    flex-grow: 1;
}

.product-code {
    font-size: 12px;
    color: #999;
    margin: 0 0 10px 0;
}

.product-price {
    margin-bottom: 10px;
}

.price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-maroon);
}

.price-original {
    font-size: 13px;
    color: #999;
    text-decoration: line-through;
    margin-right: 8px;
}

.price-special {
    font-size: 18px;
    font-weight: 700;
    color: #FF6B35;
}

.stock-available {
    display: inline-block;
    font-size: 12px;
    color: #27AE60;
    padding: 4px 8px;
    background: #e8f8f5;
    border-radius: 3px;
    margin-bottom: 12px;
    font-weight: 600;
}

.stock-unavailable {
    display: inline-block;
    font-size: 12px;
    color: #e74c3c;
    padding: 4px 8px;
    background: #fadbd8;
    border-radius: 3px;
    margin-bottom: 12px;
    font-weight: 600;
}

.product-actions {
    display: flex;
    gap: 8px;
    margin-top: auto;
}

.product-actions .btn {
    flex: 1;
    font-size: 13px;
    padding: 10px 8px;
    font-weight: 600;
}

/* Trust Section */
.trust-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
}

.trust-item {
    padding: 20px;
}

.trust-icon {
    font-size: 40px;
    margin-bottom: 10px;
}

/* nnick 2026-11-18 h3 (was h4): same look, Bootstrap h4 size */
.trust-item h3, .trust-item h4 {
    font-size: calc(1.275rem + .3vw);
    color: var(--primary-maroon);
    font-weight: 700;
    margin-bottom: 8px;
}

.trust-item p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

/* Section Titles */
.section-title {
    color: var(--primary-maroon);
    font-weight: 700;
    font-size: 28px;
    border-bottom: 3px solid var(--primary-blue);
    padding-bottom: 10px;
    display: inline-block;
}

/* Footer */
.footer {
  background-color: var(--dark-blue);
  color: white;
  padding: 40px 0 20px;
  margin-top: 60px;
}

.footer h5 {
  font-weight: 700;
  margin-bottom: 20px;
}
/* nnick 2026-11-18 footer titles: <p class="footer-h"> styled like the old <h5> (Bootstrap h5 size) */
footer .footer-h { font-size: 1.25rem; font-weight: 500; line-height: 1.2; margin-bottom: .5rem; }

.footer a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  display: block;
  margin: 5px 0;
  font-size: 14px;
}

.footer a:hover {
  color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .product-name {
        font-size: 12px;
    }
    
    .price {
        font-size: 14px;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .hero-svg {
        min-height: 200px;
    }
}

/* ===== Product card (classic RCRING layout) ===== */
.pcard {
  background: #fff;
  border: 1px solid #e3e6ea;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;   /* category labels sit over the photo */
  transition: box-shadow .2s ease, transform .2s ease;
}
.pcard:hover { box-shadow: 0 8px 22px rgba(0,0,0,.12); transform: translateY(-3px); }

.pcard-img {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  background: #fff;
  padding: 12px;
}
.pcard-img > img { width: 100%; height: 100%; object-fit: contain; }

.pcard-cats {
  position: absolute;
  top: 8px;
  right: 8px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
  max-width: 70%;
}
.pcard-cat {
  background: #17a2b8;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
  padding: 2px 8px;
  border-radius: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-decoration: none;
  max-width: 100%;
}

.pcard-body { padding: 10px 14px 12px; display: flex; flex-direction: column; flex-grow: 1; }

.pcard-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 28px; }
.pcard-brand img { max-height: 26px; max-width: 110px; object-fit: contain; }
.pcard-brand-text { font-weight: 800; color: #8B2C42; font-size: 14px; text-transform: uppercase; }
.pcard-code { color: #555; font-weight: 700; font-size: 13px; white-space: nowrap; }
/* nnick 2026-11-19 admin ID moved from next to the code (ran past the card border) to the right end of the stock line */
.pcard-stock .pid { margin-left: auto; }
/* nnick 2026-11-19 narrow cards: the brand logo shrinks so the product code is never cut at the card edge */
.pcard-brand { display: flex; align-items: center; min-width: 0; }
.pcard-brand img { min-width: 0; flex-shrink: 1; }
.pcard-code { flex-shrink: 0; }
/* nnick 2026-11-19 long product codes (13-16 / 17+ chars) use a smaller font, also on wide cards */
.pcard-code.is-long  { font-size: 11px; }
.pcard-code.is-xlong { font-size: 10px; letter-spacing: -.2px; }

.pcard-name {
  display: block;
  margin: 10px 0 8px;
  color: #222;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.6;
  text-decoration: none;
  min-height: 3.2em;
}
.pcard-name:hover { color: #0066CC; }

.pcard-stock { font-size: 13px; margin-bottom: 10px; }
.pcard-stock.in  { color: #1e9e3a; }
.pcard-stock.out { color: #d9342b; }

.pcard-price {
  margin-top: auto;
  border-top: 1px solid #e9ecef;
  padding-top: 10px;
  text-align: right;
  color: #1a8cff;
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
}
.pcard-old { font-size: 15px; color: #999; text-decoration: line-through; font-weight: 600; margin-right: 6px; }

.pcard-actions { display: flex; }
.pcard-add {
  flex: 1;
  border: 0;
  background: linear-gradient(#2a9fe0, #0b72b9);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  padding: 11px 8px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.pcard-add:hover { background: linear-gradient(#1f8fcf, #075f9c); }
.pcard-add:disabled { background: #b8c2cc; cursor: not-allowed; }
.pcard-wish {
  width: 30%;
  border: 0;
  border-left: 1px solid #e3e6ea;
  border-top: 1px solid #e3e6ea;
  background: #fff;
  color: #555;
}
.pcard-wish:hover { color: #8B2C42; background: #fafafa; }

/* ===== Homepage: use the full screen width ===== */
.home-wrap {
  max-width: 2400px;
  margin: 0 auto;
  padding-left: 3%;
  padding-right: 3%;
}

/* Cards scale with their width (bigger screen = bigger text/buttons) */
.pcard { container-type: inline-size; }
@container (min-width: 260px) {
  .pcard-name  { font-size: 15px; }
  .pcard-code, .pcard-stock { font-size: 14px; }
  .pcard-cat   { font-size: 12px; }
  .pcard-price { font-size: 32px; }
  .pcard-add   { font-size: 16px; padding: 13px 8px; }
  .pcard-brand img { max-height: 30px; max-width: 130px; }
}
@container (min-width: 340px) {
  .pcard-name  { font-size: 17px; }
  .pcard-price { font-size: 36px; }
  .pcard-add   { font-size: 17px; padding: 15px 8px; }
  .pcard-body  { padding: 12px 18px 14px; }
}

/* ===== Image zoom: hover on desktop, centre-of-screen on mobile ===== */
.pcard-img { overflow: hidden; }
.pcard-img > img { transition: transform .35s ease; transform-origin: center; }
.pcard-cats { z-index: 2; }
@media (hover: hover) {
  .pcard-img:hover > img { transform: scale(1.25); }
}
.pcard.is-focused .pcard-img > img,
.pcard-img:active > img { transform: scale(1.2); }

/* ===== Stock levels ===== */
.pcard-stock { display: flex; align-items: center; gap: 6px; font-weight: 600; }
.pcard-dot { width: 9px; height: 9px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.pcard-stock.in  { color: #1e9e3a; }
.pcard-stock.low { color: #e67e00; }
.pcard-stock.out { color: #d9342b; }

/* ===== Equal-height cards & names ===== */
.pcard { width: 100%; }
/* nnick 2026-12-03 wide windows: one more product card per row at each step so a card stays ~210-250px wide (was always
   6 from col-xl-2, ~400px on a 2500px window); this column set is used only by the product grids. The page stops
   growing at 2400px (.home-wrap), so 9 per row is the most needed. */
@media (min-width: 1750px) { .row > .col-xl-2.col-lg-3.col-md-4.col-6 { flex: 0 0 auto; width: 14.2857%; } }   /* 7 per row */
@media (min-width: 2000px) { .row > .col-xl-2.col-lg-3.col-md-4.col-6 { width: 12.5%; } }                       /* nnick 2026-12-03 8 per row */
@media (min-width: 2300px) { .row > .col-xl-2.col-lg-3.col-md-4.col-6 { width: 11.1111%; } }                    /* nnick 2026-12-03 9 per row */
.pcard-name {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
  height: 4.5em;          /* always exactly 3 lines */
  min-height: 0;
}

/* ===== Arriving Soon carousel ===== */
.arrive-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 5 * 1.5rem) / 6);   /* 6 visible on desktop */
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 2px 14px;
  scrollbar-width: thin;
}
.arrive-item { scroll-snap-align: start; display: flex; }
@media (max-width: 1199px) { .arrive-track { grid-auto-columns: calc((100% - 3 * 1.5rem) / 4); } }
@media (max-width: 991px)  { .arrive-track { grid-auto-columns: calc((100% - 2 * 1.5rem) / 3); } }
@media (max-width: 767px)  { .arrive-track { grid-auto-columns: calc((100% - 1.5rem) / 2); } }

.arrive-nav { display: flex; gap: 8px; }
.arrive-btn {
  width: 40px; height: 40px; border-radius: 50%;
  border: 2px solid #0b72b9; background: #fff; color: #0b72b9;
  font-size: 26px; line-height: 1; padding: 0 0 3px;
}
.arrive-btn:hover { background: #0b72b9; color: #fff; }

.pcard-stock.soon { color: #0b72b9; }
.pcard-soon-bar {
  flex: 1; text-align: center; font-weight: 800; font-size: 14px; letter-spacing: .5px;
  padding: 11px 8px; color: #fff; background: linear-gradient(#ff8a4c, #e8641f);
}

/* ===== Hidden (ProdActive = 0) — visible to admin only ===== */
.pcard { position: relative; }
.pcard-hidden { border: 2px dashed #d9342b; opacity: .85; }
.pcard-hidden .pcard-img > img { filter: grayscale(60%); }
.pcard-hidden-tag {
  position: absolute; top: 8px; left: 8px; z-index: 3;
  background: #d9342b; color: #fff; font-size: 11px; font-weight: 800;
  padding: 3px 8px; border-radius: 4px; letter-spacing: .3px;
}

/* ===== Arriving Soon brand tiles ===== */
.arrive-section .arrive-track { grid-auto-columns: calc((100% - 7 * 1.5rem) / 8); }   /* 8 logos visible */
@media (max-width: 1199px) { .arrive-section .arrive-track { grid-auto-columns: calc((100% - 4 * 1.5rem) / 5); } }
@media (max-width: 767px)  { .arrive-section .arrive-track { grid-auto-columns: calc((100% - 2 * 1.5rem) / 3); } }
.arrive-section:not(.is-carousel) .arrive-track { grid-auto-columns: minmax(180px, 260px); overflow: visible; }

.brand-tile {
  position: relative;
  width: 100%;
  background: #fff;
  border: 1px solid #e3e6ea;
  border-radius: 8px;
  padding: 18px 14px 12px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  min-height: 140px;
  text-decoration: none;
  transition: box-shadow .2s ease, transform .2s ease;
}
.brand-tile:hover { box-shadow: 0 8px 22px rgba(0,0,0,.12); transform: translateY(-3px); }
.brand-tile img { max-width: 85%; max-height: 70px; object-fit: contain; transition: transform .3s ease; }
.brand-tile:hover img { transform: scale(1.12); }
.brand-tile-name { font-weight: 800; color: #8B2C42; font-size: 18px; text-transform: uppercase; text-align: center; }
.brand-tile-count { font-size: 12px; color: #0b72b9; font-weight: 600; text-align: center; }

.brand-hidden { border: 2px dashed #d9342b; opacity: .85; }
.brand-hidden img { filter: grayscale(70%); }
.brand-hidden-tag {
  position: absolute; top: 6px; left: 6px;
  background: #d9342b; color: #fff; font-size: 10px; font-weight: 800;
  padding: 2px 6px; border-radius: 4px;
}

/* ===== Brand "Arriving Soon" page ===== */
.arrive-back { display: inline-block; margin-bottom: 16px; color: #0b72b9; text-decoration: none; font-weight: 600; }
.arrive-header { display: flex; align-items: center; gap: 20px; margin-bottom: 24px; flex-wrap: wrap; }
.arrive-header img { max-height: 70px; max-width: 200px; object-fit: contain; }
.admin-note {
  background: #fdecea; border: 1px solid #f5c2bd; color: #a12a20;
  padding: 10px 14px; border-radius: 6px; margin-bottom: 20px;
}

/* ===== Arriving page: breadcrumb + brand switcher ===== */
.arrive-crumbs { margin-bottom: 12px; font-size: 14px; }
.arrive-crumbs a { color: #0b72b9; text-decoration: none; }
.arrive-crumbs .active { color: #8B2C42; font-weight: 700; }
.arrive-brands {
  display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 12px; margin-bottom: 18px;
  scrollbar-width: thin;
}
.arrive-brand-pill {
  flex: 0 0 auto;
  display: flex; align-items: center; gap: 8px;
  border: 1px solid #dfe3e8; border-radius: 30px; background: #fff;
  padding: 6px 14px; text-decoration: none; color: #333; font-weight: 700; font-size: 13px;
  transition: border-color .2s, box-shadow .2s;
}
.arrive-brand-pill img { height: 22px; max-width: 90px; object-fit: contain; }
.arrive-brand-pill small { background: #eef4fa; color: #0b72b9; border-radius: 10px; padding: 1px 7px; font-weight: 700; }
.arrive-brand-pill:hover { border-color: #0b72b9; box-shadow: 0 2px 8px rgba(11,114,185,.15); }
.arrive-brand-pill.active { border: 2px solid #8B2C42; background: #fbf3f5; }
.arrive-brand-pill.hidden-brand { border-style: dashed; border-color: #d9342b; }
.arrive-brand-pill.hidden-brand img { filter: grayscale(70%); }

/* ===== Notify me (arriving products) ===== */
.notify-hint { color: #555; margin: -6px 0 18px; }
.pcard-notify {
  flex: 1; margin: 0; cursor: pointer; user-select: none; text-align: center;
  font-weight: 800; font-size: 14px; letter-spacing: .5px; padding: 11px 8px; color: #fff;
  background: linear-gradient(#ff8a4c, #e8641f);
}
.pcard-notify input { position: absolute; opacity: 0; pointer-events: none; }
.pcard-notify .on { display: none; }
.pcard-notify:has(input:checked) { background: linear-gradient(#34b45a, #1e9e3a); }
.pcard-notify:has(input:checked) .on { display: inline; }
.pcard-notify:has(input:checked) .off { display: none; }
.pcard:has(.notify-check:checked) { outline: 3px solid #1e9e3a; outline-offset: -1px; }

.notify-panel {
  position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%);
  z-index: 1050; width: min(960px, 94vw);
  background: #fff; border-radius: 12px; box-shadow: 0 10px 35px rgba(0,0,0,.25);
  border-top: 4px solid #0b72b9;
}
.notify-panel.is-admin { border-top-color: #8B2C42; background: #fffaf9; }
.notify-panel-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 12px 16px; }
.notify-badge { background: #8B2C42; color: #fff; font-weight: 800; font-size: 12px; padding: 3px 8px; border-radius: 4px; }
.notify-as { color: #555; font-size: 14px; }
.notify-email { flex: 1 1 220px; min-width: 0; padding: 9px 12px; border: 1px solid #cfd6dd; border-radius: 6px; }
.notify-link { background: none; border: 0; color: #0b72b9; font-weight: 600; padding: 0 4px; }
.notify-submit {
  margin-left: auto; border: 0; border-radius: 6px; padding: 10px 18px; font-weight: 800; color: #fff;
  background: linear-gradient(#2a9fe0, #0b72b9);
}
.notify-panel.is-admin .notify-submit { background: linear-gradient(#a8394f, #8B2C42); }
.notify-submit:disabled { opacity: .6; }
@media (max-width: 576px) { .notify-submit { width: 100%; margin-left: 0; } }
main:has(.notify-panel:not([hidden])) { padding-bottom: 120px !important; }

/* ===== Login page ===== */
.auth-page {
  min-height: calc(100vh - 140px);
  display: flex; align-items: center; justify-content: center;
  padding: 48px 16px;
  background: linear-gradient(135deg, rgba(139,44,66,.06), rgba(0,102,204,.06));
}
.auth-wrap { display: grid; grid-template-columns: 1.2fr 1fr; width: min(900px, 100%);
  border-radius: 14px; overflow: hidden; box-shadow: 0 14px 40px rgba(0,0,0,.12); background: #fff; }
.auth-card { padding: 40px; }
.auth-title { color: #8B2C42; font-weight: 800; font-size: 28px; margin-bottom: 6px; }
.auth-sub { color: #666; margin-bottom: 22px; }
.auth-error { background: #fdecea; border: 1px solid #f5c2bd; color: #a12a20; padding: 10px 14px; border-radius: 6px; margin-bottom: 18px; }
.auth-form label { font-weight: 600; font-size: 14px; margin-bottom: 6px; display: block; }
.auth-form input[type=email], .auth-form input[type=password], .auth-form input[type=text] {
  width: 100%; padding: 12px 14px; border: 1px solid #cfd6dd; border-radius: 8px; font-size: 15px; margin-bottom: 16px;
}
.auth-form input:focus { outline: none; border-color: #0b72b9; box-shadow: 0 0 0 3px rgba(11,114,185,.15); }
.auth-label-row { display: flex; justify-content: space-between; align-items: baseline; }
.auth-link { font-size: 13px; color: #0b72b9; text-decoration: none; }
.auth-pass { position: relative; }
.auth-pass input { padding-right: 46px !important; }
.auth-eye { position: absolute; right: 8px; top: 7px; border: 0; background: none; font-size: 18px; opacity: .6; }
.auth-eye:hover { opacity: 1; }
.auth-submit { width: 100%; border: 0; border-radius: 8px; padding: 13px; font-weight: 800; font-size: 16px; color: #fff;
  background: linear-gradient(#2a9fe0, #0b72b9); margin-top: 4px; }
.auth-submit:hover { background: linear-gradient(#1f8fcf, #075f9c); }
.auth-side { background: linear-gradient(135deg, #8B2C42, #0066CC); color: #fff; padding: 40px;
  display: flex; flex-direction: column; justify-content: center; }
.auth-side h2 { font-weight: 800; font-size: 22px; }
.auth-side p { opacity: .92; margin: 10px 0 22px; }
.auth-outline { align-self: flex-start; border: 2px solid #fff; color: #fff; border-radius: 8px; padding: 10px 22px;
  font-weight: 700; text-decoration: none; }
.auth-outline:hover { background: #fff; color: #8B2C42; }
@media (max-width: 767px) { .auth-wrap { grid-template-columns: 1fr; } .auth-card, .auth-side { padding: 28px 22px; } }

/* ===== Register page ===== */
.reg-wrap { width: min(1100px, 100%); grid-template-columns: 1.8fr 1fr; }
.reg-form fieldset { border: 0; padding: 0; margin: 0 0 8px; }
.reg-form legend { font-size: 15px; font-weight: 800; color: #0b72b9; margin-bottom: 10px; float: none; width: auto; }
.reg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.reg-field.wide { grid-column: 1 / -1; }
.reg-form select { width: 100%; padding: 12px 14px; border: 1px solid #cfd6dd; border-radius: 8px; font-size: 15px; margin-bottom: 16px; background: #fff; }
.reg-field.has-error input, .reg-field.has-error select, .reg-captcha.has-error input { border-color: #d9342b; }
.reg-err { display: block; color: #d9342b; margin: -10px 0 12px; font-size: 13px; }
.reg-checks { margin: 4px 0 16px; }
.reg-check { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 500 !important; margin-bottom: 10px; cursor: pointer; }
.reg-check input { margin-top: 4px; width: 17px; height: 17px; flex-shrink: 0; }
.reg-check.has-error { color: #d9342b; }
.reg-captcha input { max-width: 120px; }
.reg-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.reg-benefits { list-style: none; padding: 0; margin: 14px 0 18px; font-size: 16px; line-height: 2; }
@media (max-width: 767px) { .reg-grid { grid-template-columns: 1fr; } }

/* ===== Auth message pages (check email / activated) ===== */
.auth-msg { background: #fff; border-radius: 14px; box-shadow: 0 14px 40px rgba(0,0,0,.12);
  padding: 44px 36px; text-align: center; width: min(560px, 100%); }
.auth-msg-icon { font-size: 54px; margin-bottom: 10px; }
.auth-msg h1 { color: #8B2C42; font-weight: 800; font-size: 26px; }
.auth-msg p { color: #555; }
.auth-msg-btn { display: inline-block; width: auto; padding: 12px 34px; text-decoration: none; margin-top: 10px; }
.auth-dev { background: #fff8e1; border: 1px solid #ffe08a; border-radius: 8px; padding: 12px; margin: 16px 0; font-size: 13px; word-break: break-all; text-align: left; }

.reg-turnstile { margin: 6px 0 18px; min-height: 65px; }

/* Toast: "already subscribed" */
.alert-pink { background: #fde8ef; border: 1px solid #f7c6d6; color: #8B2C42; }

/* ===== Admin panels on product cards (Details / Status) ===== */
.pcard-admin { margin-top: 10px; padding-top: 8px; border-top: 1px solid #e9ecef; font-size: 13px; }
.pcard-admin-links { display: flex; justify-content: space-between; }
.pa-toggle { background: none; border: 0; padding: 2px 0; font-weight: 700; font-size: 13px; cursor: pointer; }
.pa-details { color: #17a2b8; }
.pa-status { color: #6c757d; }
.pa-toggle[aria-expanded="true"] span::before { content: "Hide "; }
/* nnick 2026-12-03 discount popup of the offer button: final price / saving / profit while typing */
.lo-modal { position: fixed; inset: 0; z-index: 10050; background: rgba(0,0,0,.45); display: flex; align-items: center; justify-content: center; padding: 16px; }
.lo-box { background: #fff; border-radius: 10px; box-shadow: 0 12px 40px rgba(0,0,0,.3); width: min(340px, 100%); padding: 18px 20px; font-size: 14px; }
.lo-title { font-weight: 800; font-size: 16px; color: #c2410c; }
.lo-prod { color: #555; font-size: 13px; margin: 2px 0 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lo-field { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-weight: 700; }
.lo-pct { width: 90px; padding: 6px 8px; border: 1px solid #ced4da; border-radius: 6px; font-size: 16px; font-weight: 700; text-align: right; }
.lo-calc { margin-top: 12px; border-top: 1px solid #e9ecef; padding-top: 8px; }
.lo-calc > div { display: flex; justify-content: space-between; padding: 3px 0; }
.lo-final b { font-size: 20px; color: #1a8cff; }
.lo-buy { color: #6c757d; border-bottom: 1px dashed #e9ecef; margin-bottom: 2px; }   /* nnick 2026-12-03 buy price row on top */
.lo-buy small { font-weight: 600; font-size: 11px; }
.lo-profit.is-low { color: #d9342b; }
.lo-err { color: #d9342b; font-size: 12px; margin-top: 6px; }
.lo-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 14px; }
.lo-actions button { padding: 6px 16px; border-radius: 6px; font-weight: 700; border: 1px solid #ced4da; background: #f8f9fa; cursor: pointer; }
.lo-actions .lo-ok { background: #c2410c; border-color: #c2410c; color: #fff; }
.lo-actions .lo-ok:disabled { opacity: .5; cursor: not-allowed; }
/* nnick 2026-12-03 admin button: product → last offers session (green once the product is in it) */
.pa-lastoffer { display: block; width: 100%; margin-top: 6px; padding: 3px 8px; border: 1px dashed #c2410c; border-radius: 6px;
  background: #fff7ed; color: #c2410c; font-size: 12px; font-weight: 700; cursor: pointer; text-align: center;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pa-lastoffer:hover:not(:disabled) { background: #ffedd5; }
.pa-lastoffer:disabled { opacity: .6; cursor: wait; }
.pa-lastoffer.is-in { border-style: solid; border-color: #198754; background: #e8f5ee; color: #198754; opacity: .85; cursor: default; }

.pa-panel { margin-top: 8px; border-radius: 6px; padding: 10px 12px; }
.pa-panel-details { background: #343a40; color: #fff; }
.pa-row { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.pa-profit { color: #ffc107; }
.pa-profit.low { color: #ff6b6b; }
.pa-sub { margin-top: 6px; padding-top: 6px; border-top: 1px solid #555; font-size: 12px; }
.pa-sub .pa-incart { color: #4cd964; }

.pa-panel-status { background: #f8f9fa; border: 1px solid #dee2e6; }
.pa-title { font-weight: 800; padding-bottom: 6px; margin-bottom: 8px; border-bottom: 1px solid #dee2e6; display: flex; justify-content: space-between; }
.pa-result { font-weight: 600; font-size: 12px; }
.pa-result.ok { color: #1e9e3a; } .pa-result.err { color: #d9342b; }
.pa-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 8px; align-items: end; }
.pa-field { display: flex; flex-direction: column; gap: 3px; margin: 0; }
.pa-field > span { font-size: 11px; color: #6c757d; }
.pa-qty { width: 100%; padding: 5px 6px; border: 1px solid #ced4da; border-radius: 5px; }
.pa-qty.saving { opacity: .6; }
.pa-cart { align-items: center; background: #fff; border: 1px solid #dee2e6; border-radius: 5px; padding: 3px 0; }
.pa-cart b { color: #1e9e3a; font-size: 15px; }
.pa-active { align-items: center; }
.pa-switch { appearance: none; width: 40px; height: 22px; border-radius: 11px; background: #ced4da; position: relative; cursor: pointer; transition: background .2s; }
.pa-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: left .2s; }
.pa-switch:checked { background: #0b72b9; }
.pa-switch:checked::after { left: 21px; }
.pcard.pcard-inactive { opacity: .6; border: 2px dashed #d9342b; }

/* ===== Price tags (offer reason / admin) ===== */
.pcard-tags { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px; margin: 4px 0 6px; }
.ptag { font-size: 11px; font-weight: 800; padding: 3px 7px; border-radius: 4px; line-height: 1.2; }
.ptag-admin { background: #ffc107; color: #c0001a; border: 1px solid #e0a800; }
.ptag-offer { background: #ffe1d6; color: #c2410c; border: 1px solid #ffbfa6; }
.ptag-until { background: #fff3cd; color: #856404; border: 1px solid #ffe08a; font-weight: 700; }
.ptag-info { background: #d1ecf1; color: #0c5460; border: 1px solid #bee5eb; }
.pcard-price.is-admin { color: #1a8cff; }
.pcard-novat { display: block; font-size: 11px; font-weight: 600; color: #888; margin-top: 2px; }
.pa-offer-row { margin-top: 6px; padding-top: 6px; border-top: 1px solid #555; font-size: 12px; }

/* ===== Product page ===== */
/* nnick 2026-12-03 picture column narrower (was 1.1fr / 1fr) → smaller product image */
.pp { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.pp-inactive .pp-main { border: 2px dashed #d9342b; }
.pp-gallery { position: sticky; top: 90px; }
.pp-main { position: relative; background: #fff; border: 1px solid #e3e6ea; border-radius: 10px; aspect-ratio: 1 / 1;
  display: flex; align-items: center; justify-content: center; overflow: hidden; cursor: zoom-in; }
.pp-main img { width: 100%; height: 100%; object-fit: contain; padding: 20px; transition: transform .35s ease; }
/* nnick 2026-12-03 no hover zoom on the product page main image (click still opens the full view) */
/* nnick 2026-12-03 many extra images → they wrap to more lines (was one scrolling row); thumbs 78px → 70px */
.pp-thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; padding-bottom: 4px; }
.pp-thumb { flex: 0 0 auto; width: 70px; height: 70px; border: 2px solid #e3e6ea; border-radius: 8px; background: #fff; padding: 4px; }
.pp-thumb img { width: 100%; height: 100%; object-fit: contain; }
.pp-thumb.active, .pp-thumb:hover { border-color: #0b72b9; }

.pp-brandrow { display: flex; justify-content: space-between; align-items: center; }
.pp-brand { max-height: 40px; max-width: 160px; object-fit: contain; }
.pp-code { font-weight: 800; color: #555; }
.pp-title { font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 800; color: #222; margin: 14px 0 10px; line-height: 1.3; }
.pp-tags { justify-content: flex-start; }
.pp-price { font-size: 40px; font-weight: 800; color: #1a8cff; margin: 8px 0 6px; line-height: 1.1; }
.pp-price .pcard-old { font-size: 20px; }
.pp-vat { display: block; font-size: 13px; font-weight: 600; color: #888; margin-top: 2px; }
.pp-stock { font-size: 15px; margin: 6px 0 16px; }
.pp-delivery { background: #eef6fc; border-radius: 8px; padding: 10px 14px; color: #0b5a8f; }

.pp-buy { display: flex; gap: 10px; align-items: stretch; flex-wrap: wrap; }
.pp-qty { display: flex; border: 1px solid #cfd6dd; border-radius: 8px; overflow: hidden; }
.pp-qty input { width: 56px; border: 0; text-align: center; font-weight: 700; font-size: 16px; -moz-appearance: textfield; }
.pp-qty input::-webkit-outer-spin-button, .pp-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pp-qty-btn { width: 40px; border: 0; background: #f1f3f5; font-size: 20px; font-weight: 700; }
.pp-qty-btn:hover { background: #e2e6ea; }
.pp-add { flex: 1 1 200px; border-radius: 8px; font-size: 16px; padding: 14px; }
.pp-wish { width: 56px; flex: 0 0 auto; border: 1px solid #cfd6dd !important; border-radius: 8px; }

.pp-notify { background: #fff7f0; border: 1px solid #ffd9bf; border-radius: 10px; padding: 14px; }
.pp-notify-title { font-weight: 800; color: #c2410c; margin-bottom: 10px; }
.pp-notify-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.pp-notify .notify-email { flex: 1 1 220px; }
.pp-notify .notify-submit { margin-left: 0; background: linear-gradient(#ff8a4c, #e8641f); }
.pp-wish-line { margin-top: 10px; background: none; border: 0; color: #8B2C42; font-weight: 700; padding: 0; }

.pp-facts { list-style: none; padding: 0; margin: 20px 0 0; color: #555; line-height: 1.9; border-top: 1px solid #e9ecef; padding-top: 14px; }
.pp-info .pcard-admin { margin-top: 18px; }

.pp-desc { margin-top: 44px; }
.pp-desc-body { background: #fff; border: 1px solid #e3e6ea; border-radius: 10px; padding: 22px; line-height: 1.7; overflow-x: auto; }
.pp-desc-body img { max-width: 100%; height: auto; }
.pp-desc-body table { max-width: 100%; }
.pp-special { margin-top: 18px; padding-top: 12px; border-top: 1px dashed #ddd; }

.pp-lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(0,0,0,.88); display: flex; align-items: center; justify-content: center; }
.pp-lightbox[hidden] { display: none; }
.pp-lightbox img { max-width: 92vw; max-height: 90vh; object-fit: contain; background: #fff; border-radius: 8px; }
.pp-lb-close { position: absolute; top: 14px; right: 20px; font-size: 40px; color: #fff; background: none; border: 0; line-height: 1; }

@media (max-width: 991px) { .pp { grid-template-columns: 1fr; gap: 24px; } .pp-gallery { position: static; } .pp-price { font-size: 34px; } }

/* ===== Header live search ===== */
.nav-search-item { flex-grow: 1; max-width: 420px; }
.nav-search { position: relative; width: 100%; }
.search-suggest {
  position: absolute; top: calc(100% + 6px); right: 0; width: min(560px, 92vw); z-index: 1100;
  background: #fff; border-radius: 10px; box-shadow: 0 14px 40px rgba(0,0,0,.22); overflow: hidden;
  max-height: 75vh; overflow-y: auto; color: #333;
}
.sg-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center;
  padding: 10px 12px; border-bottom: 1px solid #f0f2f4; text-decoration: none; color: inherit; }
.sg-item:hover, .sg-item.active { background: #f3f8fd; }
.sg-item.inactive { background: #fff5f5; }
.sg-img { width: 56px; height: 56px; object-fit: contain; background: #fff; border: 1px solid #eee; border-radius: 6px; }
.sg-name { font-weight: 700; font-size: 14px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sg-meta { font-size: 12px; color: #777; margin-top: 2px; }
.sg-meta .ptag { font-size: 10px; padding: 1px 5px; margin-left: 4px; }
.sg-admin { font-size: 11px; margin-top: 3px; color: #8B2C42; font-weight: 700; }
.sg-admin span { background: #343a40; color: #fff; border-radius: 3px; padding: 1px 5px; margin-right: 4px; font-weight: 600; }
.sg-right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.sg-old { font-size: 12px; color: #999; text-decoration: line-through; }
.sg-price { font-size: 17px; font-weight: 800; color: #1a8cff; white-space: nowrap; }
.sg-add { border: 0; border-radius: 6px; padding: 5px 10px; font-size: 12px; font-weight: 800; color: #fff; background: linear-gradient(#2a9fe0, #0b72b9); white-space: nowrap; }
.sg-add:disabled { background: #b8c2cc; }
.sg-foot { display: block; text-align: center; padding: 11px; font-weight: 700; color: #0b72b9; text-decoration: none; background: #f8f9fa; }
.sg-foot:hover, .sg-foot.active { background: #e9f2fb; }
.sg-empty { padding: 18px; text-align: center; color: #777; }
.sg-loading { padding: 14px; text-align: center; color: #999; font-size: 13px; }
@media (max-width: 991px) { .nav-search-item { max-width: none; margin: 8px 0; } .search-suggest { left: 0; right: auto; width: 100%; } }

/* ===== Search results page ===== */
.sr-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.sr-tools { display: flex; gap: 14px; align-items: center; }
.sr-stock { display: flex; gap: 6px; align-items: center; font-weight: 600; cursor: pointer; margin: 0; }
.sr-sort { padding: 8px 12px; border: 1px solid #cfd6dd; border-radius: 8px; background: #fff; }
.sr-empty { text-align: center; padding: 50px 20px; color: #555; }
.sr-empty-icon { font-size: 52px; }
.sr-tips { list-style: none; padding: 0; color: #777; line-height: 1.9; }
.sr-pages { display: flex; justify-content: center; gap: 6px; margin: 40px 0 10px; flex-wrap: wrap; }
.sr-page { min-width: 40px; padding: 8px 12px; border: 1px solid #dfe3e8; border-radius: 8px; text-align: center; text-decoration: none; color: #333; font-weight: 600; background: #fff; }
.sr-page:hover { border-color: #0b72b9; color: #0b72b9; }
.sr-page.active { background: #8B2C42; border-color: #8B2C42; color: #fff; }

/* ===== Search box grows while you use it ===== */
@media (min-width: 992px) {
  .nav-search-item {
    flex: 0 1 260px;
    max-width: 260px;
    transition: max-width .3s ease, flex-basis .3s ease;
  }
  /* focused, typing, or results open → wider */
  .nav-search-item:focus-within,
  .nav-search-item.is-open {
    flex-basis: 620px;
    max-width: 620px;
  }
  .navbar-search { transition: box-shadow .3s ease; }
  .nav-search-item:focus-within .navbar-search {
    box-shadow: 0 0 0 3px rgba(255,255,255,.35);
  }
  .search-suggest { width: 100%; min-width: 460px; }
}
@media (prefers-reduced-motion: reduce) {
  .nav-search-item, .navbar-search { transition: none; }
}

.sg-stock { font-size: 12px; margin: 3px 0 0; gap: 5px; }
.sg-stock .pcard-dot { width: 7px; height: 7px; }

/* ===== Navbar badges ===== */
.nav-count-link { position: relative; white-space: nowrap; }
.nav-badge { display: inline-block; min-width: 20px; padding: 1px 6px; margin-left: 3px; border-radius: 10px;
  background: #FF6B35; color: #fff; font-size: 11px; font-weight: 800; text-align: center; line-height: 1.5; }
.nav-badge.bump { animation: badgeBump .4s ease; }
@keyframes badgeBump { 50% { transform: scale(1.4); } }

/* ===== Wishlist ♥ state ===== */
.btn-wishlist.active { color: #d6336c !important; }
.pcard-wish.active { background: #fff0f5; }
.pp-wish-line.active { color: #d6336c; }

/* ===== Wishlist page ===== */
.wl-wrap { display: flex; flex-direction: column; width: 100%; }
.wl-wrap .pcard { flex: 1; }
.wl-meta { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: #888; padding: 6px 2px 0; }
.wl-remove { background: none; border: 0; color: #d9342b !important; font-weight: 700; font-size: 12px; padding: 0; }
.wl-item.removing { opacity: 0; transform: scale(.95); transition: all .3s ease; }
.wl-add-all { border: 0; border-radius: 8px; padding: 10px 18px; font-weight: 800; color: #fff; background: linear-gradient(#2a9fe0, #0b72b9); }

/* ===== Mini cart (navbar) ===== */
.nav-cart { position: relative; }
.mini-cart { position: absolute; right: 0; top: calc(100% + 8px); width: min(420px, 94vw); z-index: 1100;
  background: #fff; color: #333; border-radius: 12px; box-shadow: 0 14px 40px rgba(0,0,0,.22); overflow: hidden; }
.mc-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid #eef0f2; font-weight: 800; }
.mc-close { background: none; border: 0; font-size: 22px; line-height: 1; color: #888; }
.mc-list { max-height: 55vh; overflow-y: auto; }
.mc-empty { padding: 30px 16px; text-align: center; color: #777; }
.mc-loading { padding: 24px; text-align: center; color: #999; }
.mc-foot { padding: 12px 16px; border-top: 1px solid #eef0f2; background: #fafbfc; }
.mc-total { display: flex; justify-content: space-between; font-weight: 800; font-size: 17px; margin-bottom: 10px; }
.mc-btns { display: flex; gap: 8px; }
.mc-btns a { flex: 1; text-align: center; padding: 10px; border-radius: 8px; font-weight: 800; text-decoration: none; }
.mc-view { border: 2px solid #0b72b9; color: #0b72b9; }
.mc-checkout { background: linear-gradient(#2a9fe0, #0b72b9); color: #fff; }

/* one cart line (mini cart + cart page) */
.ci { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 12px 16px; border-bottom: 1px solid #f0f2f4; }
.ci.problem { background: #fff8f6; }
.ci-img { width: 64px; height: 64px; object-fit: contain; border: 1px solid #eee; border-radius: 8px; background: #fff; }
.ci-name { font-weight: 700; font-size: 14px; color: #222; text-decoration: none; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ci-name:hover { color: #0b72b9; }
.ci-meta { font-size: 12px; color: #888; margin: 2px 0 6px; }
.ci-meta .ptag { font-size: 10px; padding: 1px 5px; margin-left: 4px; }
.ci-warn { font-size: 12px; font-weight: 700; color: #d9342b; margin-top: 4px; }
.ci-warn.capped { color: #e67e00; }
.ci-right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.ci-line { font-weight: 800; color: #1a8cff; white-space: nowrap; }
.ci-unit { font-size: 11px; color: #888; white-space: nowrap; }
.ci-unit s { margin-right: 4px; }
.ci-remove { background: none; border: 0; color: #d9342b; font-size: 12px; font-weight: 700; padding: 0; }
.qty { display: inline-flex; border: 1px solid #cfd6dd; border-radius: 7px; overflow: hidden; }
.qty button { width: 28px; border: 0; background: #f1f3f5; font-weight: 800; font-size: 15px; line-height: 1; }
.qty button:hover:not(:disabled) { background: #e2e6ea; }
.qty button:disabled { opacity: .4; }
.qty input { width: 40px; border: 0; text-align: center; font-weight: 700; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cart-busy { opacity: .55; pointer-events: none; }

/* ===== Cart page ===== */
.cart-page { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.cart-lines { background: #fff; border: 1px solid #e3e6ea; border-radius: 12px; overflow: hidden; }
.cart-lines .ci { grid-template-columns: 96px 1fr auto auto; gap: 18px; padding: 16px 20px; }
.cart-lines .ci-img { width: 96px; height: 96px; }
.cart-lines .ci-name { font-size: 16px; }
.cart-lines .ci-right { min-width: 110px; }
.cart-lines .ci-line { font-size: 18px; }
.cart-lines-head { display: flex; justify-content: space-between; padding: 12px 20px; background: #f8f9fa; font-weight: 700; color: #555; }
.cart-clear { background: none; border: 0; color: #888; font-size: 13px; font-weight: 600; }
.cart-clear:hover { color: #d9342b; }
.cart-sum { position: sticky; top: 90px; background: #fff; border: 1px solid #e3e6ea; border-radius: 12px; padding: 20px; }
.cart-sum h2 { font-size: 18px; font-weight: 800; margin-bottom: 14px; }
.cs-row { display: flex; justify-content: space-between; margin-bottom: 8px; color: #555; }
.cs-total { display: flex; justify-content: space-between; font-size: 22px; font-weight: 800; color: #222; border-top: 1px solid #eee; padding-top: 12px; margin-top: 6px; }
.cs-note { font-size: 12px; color: #888; margin: 6px 0 16px; }
.cs-checkout { display: block; text-align: center; padding: 14px; border-radius: 10px; font-weight: 800; font-size: 16px; color: #fff; text-decoration: none; background: linear-gradient(#2a9fe0, #0b72b9); }
.cs-checkout.disabled { background: #b8c2cc; pointer-events: none; }
.cs-continue { display: block; text-align: center; margin-top: 12px; color: #0b72b9; font-weight: 600; text-decoration: none; }
.cart-notices { grid-column: 1 / -1; background: #fff8e1; border: 1px solid #ffe08a; color: #7a5b00; border-radius: 10px; padding: 10px 14px; }
.cart-notices p { margin: 0; }
.cart-empty { grid-column: 1 / -1; }
@media (max-width: 991px) {
  .cart-page { grid-template-columns: 1fr; }
  .cart-sum { position: static; }
  .cart-lines .ci { grid-template-columns: 72px 1fr auto; }
  .cart-lines .ci-img { width: 72px; height: 72px; }
  .cart-lines .ci .qty { grid-column: 2; justify-self: start; }
}

/* ===== Place order (cart summary) ===== */
.co-form { margin-top: 14px; border-top: 1px solid #eee; padding-top: 14px; }
.co-form label.co-lbl { display: block; font-weight: 700; font-size: 13px; margin-bottom: 5px; }
.co-form textarea { width: 100%; min-height: 70px; padding: 8px 10px; border: 1px solid #cfd6dd; border-radius: 8px; font-size: 14px; resize: vertical; }
.co-admin { background: #fffaf9; border: 1px dashed #8B2C42; border-radius: 10px; padding: 12px; margin-bottom: 12px; }
.co-admin-title { font-weight: 800; color: #8B2C42; font-size: 13px; margin-bottom: 8px; }
.co-buyer { position: relative; }
.co-buyer input { width: 100%; padding: 9px 10px; border: 1px solid #cfd6dd; border-radius: 8px; }
.co-buyer input:disabled { background: #f1f3f5; color: #555; }
.co-results { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 20; background: #fff; border-radius: 8px;
  box-shadow: 0 10px 28px rgba(0,0,0,.18); max-height: 260px; overflow-y: auto; }
.co-results button { display: block; width: 100%; text-align: left; border: 0; background: none; padding: 8px 12px; font-size: 13px; border-bottom: 1px solid #f2f2f2; }
.co-results button small { display: block; color: #888; }
.co-results button:hover, .co-results button.active { background: #f3f8fd; }
.co-results .co-none { padding: 10px 12px; color: #888; font-size: 13px; }
.co-support { display: flex; align-items: center; gap: 8px; margin: 10px 0 0; font-weight: 700; cursor: pointer; }
.co-place { width: 100%; border: 0; display: block; text-align: center; padding: 14px; border-radius: 10px; font-weight: 800; font-size: 16px;
  color: #fff; background: linear-gradient(#34b45a, #1e9e3a); margin-top: 12px; }
.co-place:disabled { background: #b8c2cc; }
.co-place.admin { background: linear-gradient(#a8394f, #8B2C42); }
.co-login { display: block; text-align: center; margin-top: 12px; padding: 12px; border-radius: 10px; font-weight: 800; color: #0b72b9; border: 2px solid #0b72b9; text-decoration: none; }
.co-hint { font-size: 12px; color: #888; margin-top: 8px; text-align: center; }

/* ===== Order placed page ===== */
.placed .placed-num { font-size: 16px; }
.placed .placed-num strong { font-size: 34px; color: #0b72b9; }
.placed-list { list-style: none; padding: 0; text-align: left; margin: 18px 0; line-height: 1.6; color: #555; }
.placed-list li { margin-bottom: 10px; }
.placed-pay { background: #fff8e1; border: 1px solid #ffe08a; border-radius: 8px; padding: 12px; margin-bottom: 18px; }
.placed-btns { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.placed-link { color: #0b72b9; font-weight: 700; text-decoration: none; }

/* ===== Checkout: shipping & payment ===== */
.co-checkout { margin-bottom: 12px; }
.co-checkout[hidden] { display: none; }
.co-group { border: 0; padding: 0; margin: 0 0 12px; }
.co-group legend { font-size: 14px; font-weight: 800; color: #0b72b9; margin-bottom: 6px; float: none; width: auto; }
.co-opt { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; padding: 10px; border: 1px solid #dfe3e8;
  border-radius: 8px; margin-bottom: 6px; cursor: pointer; transition: border-color .15s, background .15s; }
.co-opt:hover { border-color: #9cc5e8; }
.co-opt.checked { border-color: #0b72b9; background: #f3f8fd; }
.co-opt input { margin-top: 3px; }
.co-opt-text { display: flex; flex-direction: column; font-size: 13px; }
.co-opt-text small { color: #777; }
.co-opt-price { font-weight: 800; font-size: 13px; color: #1a8cff; white-space: nowrap; }
.co-bank { display: flex; flex-direction: column; margin-top: 4px; padding: 6px 8px; background: #eef6fc; border-radius: 6px; font-size: 12px; color: #0b5a8f; }
.co-sum { border-top: 1px solid #eee; padding-top: 10px; margin-top: 4px; }

.co-fees-note { font-size: 12px; color: #0b5a8f; background: #eef6fc; border-radius: 6px; padding: 8px 10px; margin: 8px 0 0; }

/* ===================== HEADER: sticky wrapper + claim ===================== */
.site-header { z-index: 1030; box-shadow: 0 2px 10px rgba(0,0,0,.12); }
.site-header .navbar { box-shadow: none; }
.brand-claim { margin-left: .6rem; font-weight: 800; color: #fff; font-size: 1.05rem; }
@media (max-width: 575px) { .brand-claim { display: none; } }

/* ===================== MEGA MENU (hover panels) ===================== */
.megabar { background: #fff; border-bottom: 1px solid #e6e8eb; position: relative; }
.mb-list { list-style: none; margin: 0 auto; padding: 0 2%; display: flex; flex-wrap: wrap; justify-content: center; max-width: 2400px; }
.mb-item { position: static; }
.mb-link { display: block; padding: 12px 16px; font-weight: 800; font-size: 14px; letter-spacing: .3px; text-transform: uppercase;
  color: #222; text-decoration: none; border-bottom: 3px solid transparent; transition: color .15s, border-color .15s; white-space: nowrap; }
.mb-item.open > .mb-link, .mb-link:hover, .mb-link:focus-visible { color: #8B2C42; border-bottom-color: #8B2C42; }
.mb-accent .mb-link { color: #0b72b9; }
.mb-hot .mb-link { color: #e8641f; }
.mb-panel { position: absolute; left: 0; right: 0; top: 100%; background: #fff; box-shadow: 0 18px 40px rgba(0,0,0,.16);
  border-top: 1px solid #eee; padding: 18px 3% 22px; max-height: 72vh; overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s ease, transform .18s ease, visibility .18s; z-index: 1040; }
.mb-item.open > .mb-panel { opacity: 1; visibility: visible; transform: none; }
.mb-panel-head { display: flex; justify-content: space-between; align-items: baseline; max-width: 1800px; margin: 0 auto 14px;
  font-size: 18px; font-weight: 800; color: #8B2C42; border-bottom: 2px solid #f0f1f3; padding-bottom: 8px; }
.mb-all { font-size: 13px; font-weight: 700; color: #0b72b9; text-decoration: none; }
.mb-grid { max-width: 1800px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 6px 22px; }
.mb-kind { display: flex; gap: 12px; align-items: flex-start; padding: 8px; border-radius: 8px; }
.mb-kind:hover { background: #f6f8fa; }
.mb-kind img, .mb-noicon { width: 44px; height: 44px; object-fit: contain; flex-shrink: 0; border-radius: 6px; background: #fff; }
.mb-noicon { display: flex; align-items: center; justify-content: center; background: #f1f3f5; color: #8B2C42; font-weight: 800; font-size: 18px; }
.mb-kind-title { display: block; font-weight: 800; color: #222; text-decoration: none; font-size: 14px; margin-bottom: 2px; }
.mb-kind-title:hover { color: #8B2C42; }
.mb-subs { font-size: 13px; line-height: 1.6; color: #888; }
.mb-subs a { color: #555; text-decoration: none; }
.mb-subs a:hover { color: #0b72b9; text-decoration: underline; }
/* nnick 2026-11-18 placeholder while the panel contents load (partials/mega-panels.ejs) */
.mb-loading { color: #8a9099; font-size: 14px; padding: 6px 0; }
.mb-brands { max-width: 1800px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.mb-brand { display: flex; align-items: center; justify-content: center; height: 64px; padding: 8px; border: 1px solid #eef0f2; border-radius: 8px; text-decoration: none; color: #8B2C42; font-weight: 800; font-size: 13px; text-align: center; }
.mb-brand:hover { border-color: #0b72b9; box-shadow: 0 4px 12px rgba(0,0,0,.08); }
.mb-brand img { max-width: 100%; max-height: 46px; object-fit: contain; }
/* ===== category menu on phones / small tablets — two styles (config/menu.js mobileStyle) ===== */
.mb-close, .mb-drawer-btn, .mb-drawer-head { display: none; }
.mb-backdrop { position: fixed; inset: 0; z-index: 1040; background: rgba(0,0,0,.4); }
.mb-backdrop[hidden] { display: none; }
html.mb-lock, html.mb-lock body { overflow: hidden; }
@media (max-width: 991px) {
  .mb-close { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 0; border-radius: 50%; background: #f1f3f5; font-size: 24px; line-height: 1; color: #555; margin-left: 8px; flex: 0 0 auto; }
  .mb-panel-head { align-items: center; }
  .mb-panel-head > span { flex: 1; }
  .mb-grid { grid-template-columns: 1fr; gap: 2px; }
  .mb-flat { grid-template-columns: 1fr 1fr; gap: 8px; }
  .mb-brands { grid-template-columns: repeat(3, 1fr); }
  .mb-kind { padding: 10px 6px; }
  .mb-subs { line-height: 2; }
  .mb-subs a { display: inline-block; padding: 2px 0; }

  /* --- style 1: SHEET — chips you swipe, the subcategories slide up from the bottom --- */
  .mb-m-sheet .mb-list { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; gap: 8px; padding: 10px 12px; scrollbar-width: none;
    -webkit-overflow-scrolling: touch; padding-right: 40px; }
  /* fade on the right edge = "swipe for more" (an overlay, so it never clips the bottom sheet) */
  .mb-m-sheet.megabar::after { content: ''; position: absolute; top: 0; right: 0; bottom: 0; width: 36px; pointer-events: none;
    background: linear-gradient(90deg, rgba(255,255,255,0), #fff); }
  .mb-m-sheet .mb-list::-webkit-scrollbar { display: none; }
  .mb-m-sheet .mb-link { white-space: nowrap; text-transform: none; letter-spacing: 0; font-size: 14px; font-weight: 700; padding: 8px 14px;
    border: 1px solid #dfe3e8; border-radius: 999px; background: #fff; color: #333; border-bottom-width: 1px; }
  .mb-m-sheet .mb-item.open > .mb-link { background: #8B2C42; border-color: #8B2C42; color: #fff; }
  .mb-m-sheet .mb-panel { position: fixed; left: 0; right: 0; bottom: 0; top: auto !important; z-index: 1050; max-height: 78vh; overflow-y: auto;
    border-radius: 18px 18px 0 0; padding: 8px 16px calc(16px + env(safe-area-inset-bottom)); transform: translateY(100%); transition: transform .22s ease, visibility .22s; }
  .mb-m-sheet .mb-item.open > .mb-panel { transform: none; }
  .mb-m-sheet .mb-panel::before { content: ''; display: block; width: 40px; height: 4px; border-radius: 2px; background: #d0d5da; margin: 2px auto 10px; }
  .mb-m-sheet .mb-panel-head { position: sticky; top: -8px; background: #fff; padding: 6px 0 10px; z-index: 1; margin-bottom: 6px; border-bottom: 1px solid #eef0f2; }

  /* --- style 2: DRAWER — one button, full-screen list, categories open in place --- */
  .mb-m-drawer .mb-drawer-btn { display: flex; align-items: center; gap: 10px; width: 100%; border: 0; background: #fff; padding: 11px 16px; font-weight: 800; font-size: 15px; color: #8B2C42; text-align: left; }
  .mb-m-drawer .mb-drawer-btn small { margin-left: auto; font-weight: 600; color: #8a9199; font-size: 12px; }
  .mb-m-drawer .mb-list { display: none; }
  .mb-m-drawer.drawer-open .mb-drawer-head { display: flex; align-items: center; justify-content: space-between; position: fixed; left: 0; right: 0; top: 0; z-index: 1051;
    background: #8B2C42; color: #fff; padding: 10px 16px; font-size: 17px; }
  .mb-m-drawer.drawer-open .mb-list { display: block; position: fixed; left: 0; right: 0; top: 58px; bottom: 0; z-index: 1050; background: #fff; overflow-y: auto;
    padding: 0 0 env(safe-area-inset-bottom); margin: 0; max-width: none; -webkit-overflow-scrolling: touch; }
  .mb-m-drawer .mb-item { border-bottom: 1px solid #eef0f2; }
  .mb-m-drawer .mb-link { display: flex; justify-content: space-between; align-items: center; padding: 15px 16px; font-size: 15px; text-transform: none; letter-spacing: 0; border-bottom: 0; color: #222; }
  .mb-m-drawer .mb-link::after { content: '+'; font-size: 22px; color: #0b72b9; font-weight: 400; }
  .mb-m-drawer .mb-item.open > .mb-link { color: #8B2C42; background: #fbf3f5; }
  .mb-m-drawer .mb-item.open > .mb-link::after { content: '−'; }
  .mb-m-drawer .mb-panel { position: static; display: none; box-shadow: none; opacity: 1; visibility: visible; transform: none; padding: 6px 16px 14px; max-height: none; background: #fcfcfd; }
  .mb-m-drawer .mb-item.open > .mb-panel { display: block; }
  .mb-m-drawer .mb-panel-head > span, .mb-m-drawer .mb-sheet-close { display: none; }
}

/* ===================== HOME HERO (slider + tiles) ===================== */
.hx { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); gap: 16px; margin-top: 18px; }
/* nnick 2026-11-18 home H1: one line over the slider and tiles, full width */
.hx-h1 { grid-column: 1 / -1; margin: 0 0 -6px; font-size: 1.15rem; font-weight: 800; color: #8B2C42; }
.hx-slider { position: relative; border-radius: 14px; overflow: hidden; min-height: 340px; background: #1d2a44; }
.hx-slide { position: absolute; inset: 0; display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 10px; padding: 34px 44px;
  color: #fff; text-decoration: none; opacity: 0; transition: opacity .6s ease; pointer-events: none; }
.hx-slide.active { opacity: 1; pointer-events: auto; }
.hx-slide.hx-new      { background: linear-gradient(120deg, #0b2f5c 0%, #0066CC 100%); }
.hx-slide.hx-offers   { background: linear-gradient(120deg, #6b1530 0%, #c0392b 55%, #FF6B35 100%); }
.hx-slide.hx-period   { background: linear-gradient(120deg, #111 0%, #8B2C42 60%, #FF6B35 100%); }
.hx-slide.hx-arriving { background: linear-gradient(120deg, #1f3b2d 0%, #12805c 100%); }
.hx-slide.hx-season   { background: linear-gradient(120deg, var(--so-a) 0%, var(--so-b) 100%); }   /* nnick 2026-11-19 seasonal offer slide, colours of the season (.so-<kind>) */
.hx-eyebrow { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase;
  background: rgba(255,255,255,.18); padding: 4px 10px; border-radius: 20px; margin-bottom: 14px; }
.hx-title { font-size: clamp(1.8rem, 3.4vw, 3.2rem); font-weight: 900; line-height: 1.05; margin: 0 0 10px; color: #fff; }
.hx-sub { font-size: clamp(1rem, 1.4vw, 1.25rem); opacity: .92; margin-bottom: 20px; }
.hx-cta { display: inline-block; background: #fff; color: #222; font-weight: 800; padding: 11px 22px; border-radius: 30px; }
.hx-slide:hover .hx-cta { background: #FF6B35; color: #fff; }
.hx-visual { position: relative; height: 100%; min-height: 240px; }
.hx-img { position: absolute; background: #fff; border-radius: 12px; object-fit: contain; padding: 10px; box-shadow: 0 14px 30px rgba(0,0,0,.35); }
.hx-img-0 { width: 58%; height: 72%; right: 6%; top: 8%; transform: rotate(3deg); z-index: 3; }
.hx-img-1 { width: 40%; height: 48%; left: 2%; top: 4%; transform: rotate(-6deg); z-index: 2; }
.hx-img-2 { width: 38%; height: 44%; left: 14%; bottom: 2%; transform: rotate(4deg); z-index: 1; }
.hx-logos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; height: 100%; align-content: center; }
.hx-logos img { background: #fff; border-radius: 10px; padding: 12px; width: 100%; height: 90px; object-fit: contain; }
.hx-dots { position: absolute; left: 44px; bottom: 18px; display: flex; gap: 8px; z-index: 5; }
.hx-dot { width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(255,255,255,.45); padding: 0; }
.hx-dot.active { background: #fff; width: 26px; border-radius: 6px; }
.hx-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 40px; height: 40px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.2); color: #fff; font-size: 26px; line-height: 1; opacity: 0; transition: opacity .2s; }
.hx-slider:hover .hx-arrow { opacity: 1; }
.hx-prev { left: 10px; } .hx-next { right: 10px; }
.hx-tiles { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; }
.hx-tile { border-radius: 14px; padding: 18px; color: #fff; text-decoration: none; display: flex; flex-direction: column; justify-content: flex-end;
  position: relative; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; min-height: 150px; }
.hx-tile:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(0,0,0,.18); color: #fff; }
.hx-tile-icon { position: absolute; top: 12px; right: 14px; font-size: 38px; opacity: .9; }
.hx-tile-title { font-size: 20px; font-weight: 900; line-height: 1.1; }
.hx-tile-sub { font-size: 13px; opacity: .9; margin-top: 4px; }
.hx-tile-new { background: linear-gradient(135deg, #0b72b9, #0b2f5c); }
.hx-tile-sale { background: linear-gradient(135deg, #FF6B35, #c0392b); }
.hx-tile-soon { background: linear-gradient(135deg, #12805c, #1f3b2d); }
.hx-tile-brands { background: linear-gradient(135deg, #8B2C42, #4a1222); }
@media (max-width: 1199px) { .hx { grid-template-columns: 1fr; } .hx-tiles { grid-template-columns: repeat(4, 1fr); grid-template-rows: none; } .hx-tile { min-height: 120px; } }
@media (max-width: 767px) {
  .hx-slider { min-height: 300px; }
  .hx-slide { grid-template-columns: 1fr; padding: 24px; }
  .hx-visual { display: none; }
  .hx-dots { left: 24px; }
  .hx-tiles { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) { .hx-slide { transition: none; } }

/* ===================== Home sections ===================== */
.sec-link { font-weight: 700; color: #0b72b9; text-decoration: none; white-space: nowrap; }
.sec-link:hover { text-decoration: underline; }
.offers-section .arrive-track { grid-auto-columns: calc((100% - 5 * 1.5rem) / 6); }
@media (max-width: 1199px) { .offers-section .arrive-track { grid-auto-columns: calc((100% - 3 * 1.5rem) / 4); } }
@media (max-width: 767px)  { .offers-section .arrive-track { grid-auto-columns: calc((100% - 1.5rem) / 2); } }
.brand-strip-tile { min-height: 110px; }
.brand-strip-tile img { max-height: 64px; filter: grayscale(30%); }
.brand-strip-tile:hover img { filter: none; }

/* ===================== Catalog listing ===================== */
.ls-title { display: flex; align-items: center; gap: 16px; }
.ls-logo { max-height: 56px; max-width: 160px; object-fit: contain; }
.ls-chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 12px; margin: -8px 0 18px; scrollbar-width: thin; }
.ls-chip { flex: 0 0 auto; display: flex; align-items: center; gap: 7px; border: 1px solid #dfe3e8; border-radius: 30px; padding: 6px 14px;
  background: #fff; color: #333; font-weight: 700; font-size: 13px; text-decoration: none; white-space: nowrap; }
.ls-chip img { width: 22px; height: 22px; object-fit: contain; }
.ls-chip:hover { border-color: #0b72b9; color: #0b72b9; }
.ls-chip.active { background: #8B2C42; border-color: #8B2C42; color: #fff; }
.brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }

/* collapsible section (admin offers) */
.sec-toggle { display: flex; align-items: center; gap: 10px; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
.sec-toggle-icon { font-size: 18px; color: #8B2C42; transition: transform .2s ease; }
.sec-toggle[aria-expanded="true"] .sec-toggle-icon { transform: rotate(90deg); }
.is-collapsed .arrive-track, .is-collapsed .sec-collapse-tools { display: none !important; }
.is-collapsed > div:first-child { margin-bottom: 0 !important; }

/* ===== Product page: "You may also need" carousel (right column) ===== */
.pp-related { margin-top: 26px; padding-top: 18px; border-top: 1px solid #e9ecef; }
.pp-related-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.pp-related-title { font-size: 18px; font-weight: 800; color: #8B2C42; margin: 0; }
.pp-related .arrive-btn { width: 34px; height: 34px; font-size: 22px; }
/* nnick 2026-12-03 smaller cards, more per view (was 3 / 2 per view, ~225-330px cards): 3 → 4 → 5 → 6 as the window widens */
.pp-related .arrive-track { grid-auto-columns: calc((100% - 2 * 1rem) / 3); gap: 1rem; }   /* 3 per view (992-1399px) */
@media (min-width: 1400px) { .pp-related .arrive-track { grid-auto-columns: calc((100% - 3 * 1rem) / 4); } }   /* nnick 2026-12-03 4 per view */
@media (min-width: 1800px) { .pp-related .arrive-track { grid-auto-columns: calc((100% - 4 * 1rem) / 5); } }   /* nnick 2026-12-03 5 per view */
@media (min-width: 2300px) { .pp-related .arrive-track { grid-auto-columns: calc((100% - 5 * 1rem) / 6); } }   /* nnick 2026-12-03 6 per view */
@media (max-width: 991px)  { .pp-related .arrive-track { grid-auto-columns: calc((100% - 3 * 1rem) / 4); } }   /* nnick 2026-12-03 full width under the picture: 4 per view (was 3) */
@media (max-width: 767px)  { .pp-related .arrive-track { grid-auto-columns: calc((100% - 2 * 1rem) / 3); } }   /* nnick 2026-12-03 3 per view */
@media (max-width: 575px)  { .pp-related .arrive-track { grid-auto-columns: calc((100% - 1rem) / 2); } }

/* ===== Infinite scroll ===== */
.inf-status { text-align: center; color: #777; padding: 26px 0 10px; font-size: 14px; }
.inf-status .inf-spinner { display: inline-block; width: 22px; height: 22px; border: 3px solid #dfe3e8; border-top-color: #8B2C42;
  border-radius: 50%; animation: infSpin .8s linear infinite; vertical-align: middle; margin-right: 8px; }
@keyframes infSpin { to { transform: rotate(360deg); } }
.inf-more { border: 2px solid #0b72b9; background: #fff; color: #0b72b9; font-weight: 800; border-radius: 30px; padding: 10px 26px; }
.inf-more:hover { background: #0b72b9; color: #fff; }
.inf-top { position: fixed; right: 18px; bottom: 18px; z-index: 1000; width: 46px; height: 46px; border-radius: 50%; border: 0;
  background: #8B2C42; color: #fff; font-size: 20px; box-shadow: 0 6px 16px rgba(0,0,0,.25); opacity: 0; pointer-events: none; transition: opacity .2s; }
.inf-top.show { opacity: 1; pointer-events: auto; }

/* flat categories (e.g. Car Kits): subcategories shown directly */
.mb-flat { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.mb-flat-item { align-items: center; text-decoration: none; border: 1px solid #eef0f2; }
.mb-flat-item:hover { border-color: #0b72b9; }
.mb-flat-item .mb-kind-title { margin: 0; }

/* Inactive products (admin only) */
.ptag-inactive { background: #d9342b; color: #fff; border: 1px solid #b52a22; display: inline-block; margin-top: 10px; }
.pcard.pcard-inactive { opacity: 1; }
.pcard.pcard-inactive .pcard-img > img { filter: grayscale(70%); opacity: .75; }
/* the INACTIVE tag is a strip above the picture, not a label on top of it, so it never covers
   the picture, the categories or the offer tags (same on phones) */
.pcard-hidden-tag.pcard-inactive-tag {
  position: static; display: block; border-radius: 0; text-align: center;
  padding: 4px 8px; font-size: 11px; line-height: 1.3; letter-spacing: .4px;
}
.sg-item.inactive .sg-name { color: #a12a20; }
.sg-inactive, .sg-meta .sg-inactive, .sg-admin .sg-inactive { background: #d9342b !important; color: #fff !important; border-color: #b52a22 !important; }

/* ===================== My account ===================== */
.acc-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.acc-quick { display: flex; gap: 10px; flex-wrap: wrap; }
.acc-chip { border: 1px solid #dfe3e8; border-radius: 30px; padding: 8px 16px; background: #fff; color: #333; text-decoration: none; font-weight: 600; }
.acc-chip b { margin-left: 4px; }
.acc-chip.owe b { color: #d9342b; } .acc-chip.credit b { color: #1e9e3a; }
.acc-flash { border-radius: 8px; padding: 10px 14px; margin-bottom: 16px; font-weight: 600; }
.acc-flash.ok { background: #e8f8ee; color: #1e7a3a; border: 1px solid #bfe6cc; }
.acc-flash.err { background: #fdecea; color: #a12a20; border: 1px solid #f5c2bd; }
.acc-tabs { display: flex; gap: 4px; border-bottom: 2px solid #e9ecef; margin-bottom: 20px; overflow-x: auto; }
.acc-tab { padding: 10px 16px; font-weight: 700; color: #555; text-decoration: none; border-bottom: 3px solid transparent; margin-bottom: -2px; white-space: nowrap; }
.acc-tab:hover { color: #8B2C42; }
.acc-tab.active { color: #8B2C42; border-bottom-color: #8B2C42; }
.acc-cols { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.order-cols { grid-template-columns: minmax(0, 1fr) 340px; }
.acc-card { background: #fff; border: 1px solid #e3e6ea; border-radius: 12px; padding: 22px; }
.acc-card h2 { font-size: 18px; font-weight: 800; color: #8B2C42; margin-bottom: 14px; }
.acc-card input:disabled { background: #f1f3f5; color: #666; }
.acc-table-wrap { overflow-x: auto; background: #fff; border: 1px solid #e3e6ea; border-radius: 12px; }
.acc-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.acc-table th { background: #f8f9fa; text-align: left; padding: 10px 14px; font-weight: 700; color: #555; white-space: nowrap; }
.acc-table td { padding: 10px 14px; border-top: 1px solid #f0f2f4; vertical-align: top; }
.acc-table .r { text-align: right; }
.acc-ord { font-weight: 800; color: #0b72b9; text-decoration: none; }
.acc-status { display: inline-block; padding: 3px 9px; border-radius: 12px; font-size: 12px; font-weight: 700; background: #eef4fa; color: #0b72b9; }
.acc-status.big { font-size: 14px; padding: 6px 14px; }
.acc-status.s4 { background: #e8f8ee; color: #1e7a3a; } .acc-status.s5 { background: #f1f3f5; color: #777; }
.acc-owe { color: #d9342b; }
.acc-balance { background: #fff; border: 1px solid #e3e6ea; border-radius: 12px; padding: 14px 18px; margin-bottom: 16px; font-size: 16px; }
.acc-balance.owe b { color: #d9342b; } .acc-balance.credit b { color: #1e9e3a; }
.amt-pay { color: #1e9e3a; font-weight: 700; } .amt-order { color: #d9342b; font-weight: 700; }
.acc-notes { background: #fff; border: 1px solid #e3e6ea; border-radius: 12px; overflow: hidden; }
.acc-note { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 12px 16px; border-bottom: 1px solid #f0f2f4; transition: opacity .3s; }
.acc-note img { width: 64px; height: 64px; object-fit: contain; border: 1px solid #eee; border-radius: 8px; background: #fff; }
.acc-note.removing { opacity: 0; }
.acc-comments, .acc-history { margin-top: 14px; padding-top: 12px; border-top: 1px dashed #ddd; font-size: 13px; color: #555; }
.acc-history span { color: #999; margin-right: 6px; }
@media (max-width: 991px) { .acc-cols, .order-cols { grid-template-columns: 1fr; } }

/* ===================== ADMIN ===================== */
.adm-nav .nav-link { font-weight: 700; }
.adm-menu { min-width: 300px; max-height: 70vh; overflow-y: auto; }
.adm-menu-wide { min-width: 360px; }
.adm-menu-head { font-size: 11px; color: #999; padding: 4px 16px 6px; text-transform: uppercase; letter-spacing: .5px; }
.adm-status { display: flex; justify-content: space-between; gap: 14px; }
.adm-count { font-size: 12px; color: #888; white-space: nowrap; }
.adm-count.has { color: #8B2C42; font-weight: 800; }
.adm-amt { font-weight: 700; white-space: nowrap; }
.adm-amt.owe { color: #d9342b; } .adm-amt.credit { color: #1e9e3a; }
.adm-table td, .adm-table th { font-size: 13px; }
.adm-comments { max-width: 280px; font-size: 12px; color: #666; }
.adm-cust { font-weight: 700; color: #222; text-decoration: none; }
.adm-cust:hover { color: #0b72b9; }
.adm-input { padding: 8px 12px; border: 1px solid #cfd6dd; border-radius: 8px; min-width: 260px; }
.adm-btn { border: 0; border-radius: 8px; padding: 8px 16px; font-weight: 800; color: #fff; background: #8B2C42; }
.adm-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.adm-sum { background: #fff; border: 1px solid #e3e6ea; border-radius: 10px; padding: 12px 16px; margin-bottom: 14px; }
.adm-h2 { font-size: 18px; font-weight: 800; color: #8B2C42; margin-bottom: 10px; }
.adm-row-off td { background: #fff6f6; }
.adm-warn { color: #e67e00; font-weight: 700; }
.adm-qty { width: 70px; padding: 4px 6px; border: 1px solid #ced4da; border-radius: 5px; text-align: right; }
.adm-prep { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.adm-prep-card { padding: 16px; }
.adm-pick { display: block; font-size: 13px; padding: 3px 0; cursor: pointer; }
.adm-pick input:checked + b { text-decoration: line-through; color: #999; }
/* nnick 2026-12-03 prepare orders: product thumbnail per line (zoomable), status group headings, age badge */
.adm-pick-img { width: 40px; height: 40px; object-fit: contain; vertical-align: middle; border: 1px solid #eee; border-radius: 6px; background: #fff; margin: 0 4px; }
.adm-prep-group { font-size: 16px; margin: 22px 0 10px; display: flex; align-items: center; gap: 8px; }
.adm-prep-group:first-of-type { margin-top: 8px; }
.adm-age { display: inline-block; padding: 1px 7px; border-radius: 10px; font-size: 11px; font-weight: 700; color: #fff; }
.adm-age.ok { background: #1e7a3a; } .adm-age.mid { background: #e0a800; color: #222; } .adm-age.old { background: #c0392b; }
.adm .acc-card select, .adm .acc-card textarea { width: 100%; padding: 9px 10px; border: 1px solid #cfd6dd; border-radius: 8px; margin-bottom: 14px; }

/* balance next to the user's name */
.nav-bal { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 10px; font-size: 12px; font-weight: 800; color: #fff; vertical-align: middle; }
.nav-bal.owe { background: #d9342b; }
.nav-bal.credit { background: #1e9e3a; }
.nav-bal-line b { margin-left: 4px; }

/* admin "new orders" toast */
.adm-toast { position: fixed; right: 20px; bottom: 20px; z-index: 2000; display: flex; align-items: center; gap: 12px;
  background: #fff; border-left: 5px solid #8B2C42; border-radius: 10px; box-shadow: 0 12px 30px rgba(0,0,0,.25);
  padding: 14px 16px; max-width: 360px; animation: admToastIn .35s ease; }
.adm-toast-icon { font-size: 28px; }
.adm-toast a { font-weight: 800; color: #8B2C42; text-decoration: none; }
.adm-toast small { display: block; color: #777; }
.adm-toast-close { border: 0; background: none; font-size: 22px; color: #999; line-height: 1; margin-left: auto; }
@keyframes admToastIn { from { transform: translateY(20px); opacity: 0; } to { transform: none; opacity: 1; } }

/* receive products */
.rcv-table input.adm-qty { width: 80px; }
.rcv-table input.rcv-money { width: 90px; }
.rcv-table tr.rcv-skip td { opacity: .5; }
.rcv-result { font-size: 12px; color: #555; min-width: 150px; }
/* price check */
.pc-stores { display: flex; flex-wrap: wrap; gap: 8px; }
.pc-result { margin-top: 12px; font-size: 14px; }
.pc-result .pc-price { font-size: 26px; font-weight: 800; color: #1a8cff; }
/* header customer search (Balance Status menu) */
.adm-cs { padding: 8px 12px 4px; position: relative; }
.adm-cs-input { width: 100%; min-width: 0; }
.adm-cs-results { margin-top: 6px; max-height: 300px; overflow-y: auto; }
.adm-cs-item { padding: 8px 4px; border-bottom: 1px solid #f0f2f4; }
.adm-cs-item b { display: block; font-size: 13px; }
.adm-cs-item small { color: #888; display: block; margin-bottom: 6px; }
.adm-cs-btns { display: flex; gap: 6px; }
.adm-cs-btns a { flex: 1; text-align: center; font-size: 12px; font-weight: 800; padding: 6px; border-radius: 6px; text-decoration: none; }
.adm-cs-pay { background: #1e9e3a; color: #fff; }
.adm-cs-orders { background: #eef4fa; color: #0b72b9; }
.adm-cs-none { color: #888; font-size: 13px; padding: 6px 4px; }

/* product page: bigger brand logo */
.pp-brand { max-height: 80px; max-width: 260px; }
.pp-brandrow .pcard-brand-text { font-size: 22px; }
@media (max-width: 575px) { .pp-brand { max-height: 60px; max-width: 200px; } }

.bal-tabs-off .acc-tab.active { border-bottom-color: transparent; color: #555; }
#bal-results.loading { opacity: .5; transition: opacity .15s; }

/* order actions */
.adm-actions { white-space: nowrap; }
.adm-next { border: 0; border-radius: 6px; padding: 4px 9px; font-size: 12px; font-weight: 800; color: #fff; background: #0b72b9; }
.adm-next:hover { background: #075f9c; }
.adm-del { border: 1px solid #f1c3be; border-radius: 6px; padding: 3px 8px; font-size: 13px; background: #fff; color: #d9342b; margin-left: 4px; }
.adm-del:hover { background: #d9342b; color: #fff; }
.adm-next.big, .adm-del.big { font-size: 14px; padding: 8px 14px; }
.adm-head-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

/* admin order: overview + useful links + tools */
.ov-grid { display: grid; grid-template-columns: repeat(6, 1fr); background: #fff; border: 1px solid #e3e6ea; border-radius: 12px; overflow: hidden; margin-bottom: 14px; }
.ov-box { grid-column: span 2; padding: 14px; text-align: center; border-right: 1px solid #eef0f2; border-bottom: 1px solid #eef0f2; background: #f8f9fa; display: flex; flex-direction: column; gap: 4px; }
.ov-box.ov-main { grid-column: span 3; background: #fff; }
.ov-box span { font-size: 11px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; color: #6c757d; }
.ov-box b { font-size: 20px; }
.ov-box.ov-main b { font-size: 26px; }
.ov-blue { color: #1a8cff; }
.ov-links { display: flex; border: 1px solid #dfe3e8; border-radius: 10px; overflow: hidden; margin-bottom: 20px; background: #fff; }
.ov-links a { flex: 1; text-align: center; padding: 10px; font-weight: 700; font-size: 14px; color: #444; text-decoration: none; border-right: 1px solid #eef0f2; }
.ov-links a:last-child { border-right: 0; }
.ov-links a:hover { background: #f3f8fd; color: #0b72b9; }
.ov-tools { grid-template-columns: 1fr 1fr; }
.sp-list { max-height: 260px; overflow-y: auto; border: 1px solid #eef0f2; border-radius: 8px; }
.sp-item { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 8px 10px; border-bottom: 1px solid #f3f4f6; margin: 0; cursor: pointer; font-size: 13px; }
.sp-item:hover { background: #f8fafc; }
.sp-item.in-order { background: #f3f8fd; }
@media (max-width: 991px) { .ov-grid { grid-template-columns: 1fr 1fr; } .ov-box, .ov-box.ov-main { grid-column: span 1; } .ov-tools { grid-template-columns: 1fr; } .ov-links { flex-wrap: wrap; } .ov-links a { flex: 1 1 45%; } }

/* admin order lines */
.ol-line { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; padding: 12px 16px; border-bottom: 1px solid #f0f2f4; align-items: start; }
.ol-line .ci-img { width: 64px; height: 64px; } /*fix image overlap*/
/* the photo must fill its grid column: .cart-lines sizes .ci-img at 96px (72px on mobile) */
.ol-line .ci-img { width: 64px; height: 64px; }
.ol-line.removed { background: #fff3f3; opacity: .6; }
.ol-line.removed .ol-main { text-decoration: line-through; }
.ol-line.changed { background: #fffbea; }
.ol-code { font-size: 12px; color: #666; margin-right: 6px; }
.ol-show { background: none; border: 0; color: #0b72b9; font-size: 12px; padding: 0 4px; }
.ol-info { margin-top: 10px; background: #f8f9fa; border-radius: 8px; padding: 10px 12px; font-size: 12px; }
.ol-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px 14px; }
.ol-grid span { display: block; color: #888; font-weight: 700; font-size: 11px; }
.ol-grid b { font-size: 13px; }
.ol-hist { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 10px; padding-top: 8px; border-top: 1px solid #e5e7eb; }
.ol-edit { display: flex; gap: 10px; align-items: flex-end; }
.ol-edit label { margin: 0; display: flex; flex-direction: column; font-size: 11px; color: #888; font-weight: 700; }
.ol-edit input.adm-qty { width: 72px; }
.ol-tot { display: flex; flex-direction: column; align-items: flex-end; min-width: 80px; font-size: 11px; color: #888; font-weight: 700; }
.ol-tot b { font-size: 15px; color: #1a8cff; }
.ol-rm { cursor: pointer; color: #d9342b !important; font-size: 15px !important; align-items: center; }
.ol-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; background: #f8f9fa; flex-wrap: wrap; }
.ol-save { width: auto; padding: 10px 24px; }
.ol-save:disabled { background: #b8c2cc; }
.ol-bulk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ol-bulk-grid label { margin: 0; display: flex; flex-direction: column; gap: 4px; font-weight: 700; font-size: 13px; }
.ol-bulk-grid small { color: #888; font-weight: 400; }
.ap-results { margin-top: 8px; max-height: 420px; overflow-y: auto; }
.ap-item { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; padding: 8px 4px; border-bottom: 1px solid #f0f2f4; }
.ap-item img { width: 48px; height: 48px; object-fit: contain; border: 1px solid #eee; border-radius: 6px; background: #fff; }
.ap-item .ap-meta { font-size: 12px; color: #777; }
.ap-item form { display: flex; gap: 6px; align-items: center; }
.ap-item.off { background: #fff6f6; }
@media (max-width: 991px) {
  .ol-line { grid-template-columns: 48px 1fr; } .ol-line .ci-img { width: 48px; height: 48px; } .ol-edit { grid-column: 1 / -1; flex-wrap: wrap; }
  .ol-grid { grid-template-columns: 1fr 1fr; } .ol-hist, .ol-bulk-grid { grid-template-columns: 1fr; }
}

/* order list groups (customer types) */
.og { background: #fff; border: 1px solid #e3e6ea; border-radius: 12px; margin-bottom: 12px; overflow: hidden; }
.og > summary { cursor: pointer; padding: 12px 16px; font-weight: 800; color: #8B2C42; background: #f8f9fa; list-style: none; display: flex; justify-content: space-between; }
.og > summary::-webkit-details-marker { display: none; }
.og > summary::before { content: '▸'; margin-right: 8px; transition: transform .2s; display: inline-block; }
.og[open] > summary::before { transform: rotate(90deg); }
.og > summary .og-name { flex: 1; }
.og-meta { font-weight: 600; color: #666; font-size: 13px; }
.og .acc-table-wrap { border: 0; border-radius: 0; }
.og-tools { text-align: right; margin-bottom: 8px; font-size: 13px; }
.og-btn { background: none; border: 0; padding: 0; }
/* action spacing */
.adm-del-col { width: 1%; padding-left: 28px !important; }
.adm-actions form + form { margin-left: 0; }
.adm-spacer { flex: 0 0 34px; }
.adm-head-actions .adm-del.big { margin-left: 0; }
/* order sidebar boxes */
.side-box { border: 1px solid #e3e6ea; border-radius: 10px; padding: 12px; margin: 14px 0; background: #fff; display: block; }
.side-support { border-color: #f0b429; background: #fffbea; }
.ov-side { grid-template-columns: 1fr 1fr; margin: 14px 0; }
.ov-side .ov-box, .ov-side .ov-box.ov-main { grid-column: span 1; padding: 10px 6px; }
.ov-side .ov-box b { font-size: 16px; }
.ov-side .ov-box.ov-main b { font-size: 20px; }
.ov-side .ov-box:last-child { grid-column: span 2; }

/* admin: new orders notice (top right, every page) */
.adm-notice { position: fixed; top: 128px; right: 18px; z-index: 1045; display: flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, #d9342b, #8B2C42); color: #fff !important; text-decoration: none; font-weight: 800;
  padding: 10px 12px 10px 14px; border-radius: 40px; box-shadow: 0 10px 28px rgba(217,52,43,.45); animation: admPulse 2s ease-in-out infinite; }
.adm-notice:hover { transform: translateY(-2px); }
.adm-notice-bell { font-size: 20px; animation: admRing 2s ease-in-out infinite; transform-origin: 50% 0; }
.adm-notice-count { background: #fff; color: #d9342b; border-radius: 14px; min-width: 28px; padding: 2px 8px; text-align: center; font-size: 16px; }
.adm-notice-text { font-size: 14px; }
.adm-notice-x { background: rgba(255,255,255,.2); border: 0; color: #fff; width: 24px; height: 24px; border-radius: 50%; line-height: 1; font-size: 16px; }
@keyframes admPulse { 0%, 100% { box-shadow: 0 10px 28px rgba(217,52,43,.45); } 50% { box-shadow: 0 10px 34px rgba(217,52,43,.8), 0 0 0 6px rgba(217,52,43,.15); } }
@keyframes admRing { 0%, 60%, 100% { transform: rotate(0); } 10%, 30% { transform: rotate(14deg); } 20%, 40% { transform: rotate(-14deg); } }
@media (prefers-reduced-motion: reduce) { .adm-notice, .adm-notice-bell { animation: none; } }
@media (max-width: 991px) { .adm-notice { top: auto; bottom: 16px; } }
.sr-admin { color: #8B2C42; }

/* useful links at the bottom of the order sidebar */
.ov-links-side { flex-direction: column; margin: 16px 0 0; }
.ov-links-side a { border-right: 0; border-bottom: 1px solid #eef0f2; text-align: left; padding: 10px 12px; }
.ov-links-side a:last-child { border-bottom: 0; }
.adm-notice.hiding { opacity: 0; transform: translateX(30px); transition: opacity .4s ease, transform .4s ease; }

.adm-notice { z-index: 1060; }
@media (max-width: 991px) { .adm-notice { top: auto !important; bottom: 16px; } }

/* mini cart: single centered "View cart" button */
.mc-btns { justify-content: center; }
.mc-btns .mc-view { flex: 0 1 220px; }

/* image viewer: never visible unless opened */
.pp-lightbox[hidden] { display: none !important; }
#pp-main-img { cursor: zoom-in; }

/* admin order: Order Normal / Order Cost */
.op-options { display: flex; gap: 10px; flex-wrap: wrap; }
.op-opt { flex: 1 1 220px; display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 2px solid #e3e6ea; border-radius: 10px; cursor: pointer; margin: 0; }
.op-opt:has(input:checked) { border-color: #0b72b9; background: #eef6fc; }
.op-opt input { margin-top: 4px; }
.op-opt span { display: flex; flex-direction: column; }
.op-opt small { color: #6c757d; font-size: 12px; }

/* admin orders list: customer-type shortcuts */
.og-jump { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 4px 0 10px; position: sticky; top: 70px; z-index: 5; background: #fff; padding: 6px 0; }
.og-jump-label { font-size: 13px; color: #6c757d; margin-right: 4px; }
.og-chip { border: 1px solid #cfd6dd; background: #fff; color: #333; border-radius: 999px; padding: 4px 12px; font-size: 13px; font-weight: 600; text-decoration: none; cursor: pointer; }
.og-chip small { color: #6c757d; font-weight: 700; margin-left: 2px; }
.og-chip:hover { border-color: #0b72b9; color: #0b72b9; }
.og-chip.active { background: #0b72b9; border-color: #0b72b9; color: #fff; }
.og-chip.active small { color: #dbeeff; }
details.og { scroll-margin-top: 130px; }

/* admin: "Email customer" checkbox */
.notify-chk { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #555; cursor: pointer; margin: 0 0 0 8px; white-space: nowrap; }
.notify-chk input { width: 16px; height: 16px; }
.side-box .notify-chk, .notify-chk.mt-1 { margin-left: 0; white-space: normal; }
/* admin order: Bulk adjustments closed until clicked */
details.ol-bulk > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; }
details.ol-bulk > summary::-webkit-details-marker { display: none; }
details.ol-bulk > summary h2 { margin: 0; flex: 1; }
details.ol-bulk > summary::after { content: '▸ show'; font-size: 13px; color: #0b72b9; font-weight: 700; white-space: nowrap; }
details.ol-bulk[open] > summary::after { content: '▾ hide'; }
details.ol-bulk[open] > summary { margin-bottom: 12px; }

/* ===== admin orders list: products quick look ===== */
.op-btn { border: 1px solid #cfd6dd; background: #fff; border-radius: 999px; padding: 3px 10px; font-size: 13px; font-weight: 700; color: #333; white-space: nowrap; cursor: pointer; }
.op-btn:hover, .op-btn[aria-expanded="true"] { border-color: #0b72b9; color: #0b72b9; background: #eef6fc; }
.op-btn span { font-size: 10px; }
.op-pop { position: fixed; z-index: 2100; width: 380px; max-width: calc(100vw - 16px); max-height: min(60vh, 460px); display: flex; flex-direction: column;
  background: #fff; border: 1px solid #dfe3e8; border-radius: 12px; box-shadow: 0 12px 32px rgba(0,0,0,.18); overflow: hidden; }
.op-pop[hidden], .op-backdrop[hidden] { display: none !important; }
.op-head { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-bottom: 1px solid #eef0f2; background: #f8f9fa; }
.op-count { color: #6c757d; font-size: 12px; flex: 1; }
.op-close { border: 0; background: none; font-size: 24px; line-height: 1; color: #888; padding: 0 4px; margin-left: auto; }
.op-list { overflow-y: auto; -webkit-overflow-scrolling: touch; }
.op-line { display: grid; grid-template-columns: 44px auto 1fr auto; gap: 8px; align-items: center; padding: 8px 12px; border-bottom: 1px solid #f3f4f6; }
.op-line img { width: 44px; height: 44px; object-fit: contain; background: #fff; border: 1px solid #eee; border-radius: 6px; }
.op-qty { font-weight: 800; color: #0b72b9; font-size: 14px; }
.op-name { font-size: 13px; font-weight: 600; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.op-meta { font-size: 11px; color: #888; }
.op-price { font-size: 13px; white-space: nowrap; }
.op-msg { padding: 16px; text-align: center; color: #6c757d; font-size: 14px; }
.op-open { display: block; text-align: center; padding: 10px; font-weight: 700; color: #0b72b9; text-decoration: none; border-top: 1px solid #eef0f2; }
.op-backdrop { position: fixed; inset: 0; z-index: 2090; background: rgba(0,0,0,.35); }
/* phones / touch: bottom panel, big tap targets */
.op-pop.is-sheet { left: 0 !important; right: 0; bottom: 0; top: auto !important; width: 100%; max-width: none; max-height: 75vh;
  border-radius: 16px 16px 0 0; padding-bottom: env(safe-area-inset-bottom); animation: opUp .18s ease-out; }
.op-pop.is-sheet .op-head { padding: 14px 16px; }
.op-pop.is-sheet .op-close { font-size: 30px; padding: 0 8px; }
.op-pop.is-sheet .op-line { grid-template-columns: 56px auto 1fr auto; padding: 10px 16px; }
.op-pop.is-sheet .op-line img { width: 56px; height: 56px; }
.op-pop.is-sheet .op-open { padding: 14px; font-size: 15px; }
@keyframes opUp { from { transform: translateY(30px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .op-pop.is-sheet { animation: none; } }

/* ===== admin orders list on phones: each order becomes a card ===== */
@media (max-width: 767px) {
  .adm-orders-table thead { display: none; }
  .adm-orders-table, .adm-orders-table tbody { display: block; }
  .adm-orders-table tr { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; padding: 12px 14px; border-top: 1px solid #e9ecef; }
  .adm-orders-table td { display: block; padding: 0; border: 0; text-align: left !important; font-size: 13px; }
  .adm-orders-table td::before { content: attr(data-label); display: block; font-size: 11px; color: #8a9199; text-transform: uppercase; letter-spacing: .03em; }
  .adm-orders-table td[data-label=""]::before { display: none; }
  .adm-orders-table td.adm-td-cust, .adm-orders-table td.adm-comments { grid-column: 1 / -1; }
  .adm-orders-table td.adm-comments.is-empty { display: none; }
  .adm-orders-table td.adm-actions { grid-column: 1 / 2; align-self: center; }
  .adm-orders-table td.adm-del-col { grid-column: 2 / 3; justify-self: end; align-self: center; }
  .adm-orders-table .acc-ord { font-size: 16px; font-weight: 800; }
  .adm-orders-table .adm-next, .adm-orders-table .adm-del, .op-btn { min-height: 38px; }
  .og-jump { top: 56px; overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
  .og-chip { flex: 0 0 auto; }
  .og-tools { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
  .og-tools .notify-chk { margin-left: 0 !important; }
}

/* admin order: customer balance (all orders) */
.cust-bal { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 8px; padding: 8px 10px; border-radius: 8px; font-size: 14px; }
.cust-bal small { color: inherit; opacity: .75; }
.cust-bal.owe { background: #fdecea; color: #b42318; }
.cust-bal.credit { background: #e8f5e9; color: #2e7d32; }
.cust-bal.zero { background: #f1f3f5; color: #444; }

/* admin order: pay this order / customer balance */
.pay-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.pay-choice { display: flex; gap: 8px; align-items: flex-start; padding: 8px 10px; border: 2px solid #e3e6ea; border-radius: 10px; cursor: pointer; margin: 0; background: #fff; }
.pay-choice:has(input:checked) { border-color: #0b72b9; background: #eef6fc; }
.pay-choice input { margin-top: 3px; width: 16px; height: 16px; flex: 0 0 auto; }
.pay-choice span { display: flex; flex-direction: column; line-height: 1.2; }
.pay-choice small { font-size: 11px; color: #6c757d; }
@media (max-width: 400px) { .pay-choices { grid-template-columns: 1fr; } }

/* admin order: contact the customer */
.ct-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.ct-mailto { text-decoration: none; display: inline-flex; align-items: center; min-height: 38px; }
#contact textarea { resize: vertical; min-height: 70px; }
@media (max-width: 575px) { .ct-actions .ct-mailto, #contact .adm-btn { width: 100%; justify-content: center; } }
#contact label[for="ct-msg"] { display: block; margin-top: 14px; padding-top: 12px; border-top: 1px solid #eef0f2; font-weight: 700; }
#contact .small { font-size: 12.5px; }

/* admin order: "Write an email" closed until clicked */
details.ct-box > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; }
details.ct-box > summary::-webkit-details-marker { display: none; }
details.ct-box > summary h2 { margin: 0; flex: 1; }
details.ct-box > summary::after { content: '▸ show'; font-size: 13px; color: #0b72b9; font-weight: 700; white-space: nowrap; }
details.ct-box[open] > summary::after { content: '▾ hide'; }
details.ct-box[open] > summary { margin-bottom: 12px; }

/* admin order: print */
.adm-print { display: inline-flex; align-items: center; gap: 6px; }
.adm-print .adm-btn { text-decoration: none; display: inline-flex; align-items: center; min-height: 38px; }
.adm-print-view { font-size: 13px; color: #0b72b9; text-decoration: none; }
.adm-print .adm-btn { background: #589E05; border-color: #589E05; color: #fff; }
.adm-print .adm-btn:hover, .adm-print .adm-btn:focus-visible { background: #4a8604; border-color: #4a8604; color: #fff; }

/* Arriving Soon: when all brand logos fit in one row → centered, no arrows (cycling only when they don't fit) */
#arriving-soon.is-fitting .arrive-track,
#arriving-soon:not(.is-carousel) .arrive-track { justify-content: center; }
#arriving-soon.is-fitting .arrive-nav { visibility: hidden; }

/* admin: customer search box (notify) */
.cust-wrap { position: relative; display: inline-block; flex: 1 1 240px; min-width: 200px; max-width: 360px; }
.cust-wrap .notify-email { width: 100%; box-sizing: border-box; max-width: 100%; }
.cust-suggest { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 1200; background: #fff; border: 1px solid #dfe3e8; border-radius: 10px;
  box-shadow: 0 10px 28px rgba(0,0,0,.16); max-height: 280px; overflow-y: auto; -webkit-overflow-scrolling: touch; min-width: 260px; }
.cust-suggest.up { top: auto; bottom: calc(100% + 6px); }
.cust-suggest[hidden] { display: none; }
.cust-item { display: flex; flex-direction: column; align-items: flex-start; width: 100%; text-align: left; border: 0; background: none; padding: 9px 12px; border-bottom: 1px solid #f1f3f5; cursor: pointer; }
.cust-item b { font-size: 13px; } .cust-item small { font-size: 12px; color: #6c757d; }
.cust-item:hover, .cust-item.active { background: #eef6fc; }
.cust-none { padding: 10px 12px; font-size: 13px; color: #6c757d; }
@media (max-width: 575px) { .cust-wrap { max-width: none; flex-basis: 100%; } .cust-item { padding: 12px; } }

/* customer: My orders on phones → cards (same as the admin list) */
@media (max-width: 767px) {
  .acc-orders-table thead { display: none; }
  .acc-orders-table, .acc-orders-table tbody { display: block; }
  .acc-orders-table tr { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; padding: 12px 14px; border-top: 1px solid #e9ecef; }
  .acc-orders-table td { display: block; padding: 0; border: 0; text-align: left !important; font-size: 14px; }
  .acc-orders-table td::before { content: attr(data-label); display: block; font-size: 11px; color: #8a9199; text-transform: uppercase; letter-spacing: .03em; }
  .acc-orders-table td[data-label=""]::before { display: none; }
  .acc-orders-table td.ao-status { grid-column: 1 / -1; }
  .acc-orders-table td.ao-more { grid-column: 1 / -1; text-align: right !important; }
  .acc-orders-table .acc-ord { font-size: 16px; font-weight: 800; }
  .acc-orders-table .op-btn { min-height: 38px; }
}

/* Best customers: top 10 by sales | top 10 by profit */
.best-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr)); gap: 20px; align-items: start; }
.best-h { font-size: 16px; font-weight: 800; color: #8B2C42; margin: 6px 0 8px; }
.best-h small { font-size: 12px; color: #6c757d; font-weight: 600; margin-left: 6px; }
@media (max-width: 575px) {
  .best-table thead { display: none; }
  .best-table, .best-table tbody { display: block; }
  .best-table tr { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 10px; padding: 10px 12px; border-top: 1px solid #e9ecef; }
  .best-table td { display: block; padding: 0; border: 0; text-align: left !important; font-size: 13px; }
  .best-table td::before { content: attr(data-label); display: block; font-size: 10px; color: #8a9199; text-transform: uppercase; white-space: nowrap; }
  .best-table td[data-label="#"] { display: none; }
  .best-table td.best-cust { grid-column: 1 / -1; font-weight: 700; font-size: 14px; }
  .best-table td.best-cust::before { display: none; }
  .best-table tbody { counter-reset: best; }
  .best-table td.best-cust a::before { counter-increment: best; content: counter(best) ". "; color: #0b72b9; font-weight: 800; }
}

/* ===== Transactions page (customer + admin) ===== */
.tx-page .sr-head { align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.tx-cust { flex: 0 1 360px; }
.tx-cust .cust-wrap { max-width: none; width: 100%; }
.tx-top { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 14px 0 10px; }
.tx-balance { margin: 0; flex: 0 1 auto; }
.tx-sums { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; }
.tx-filters { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; padding: 10px 0 14px; border-bottom: 1px solid #eef0f2; margin-bottom: 14px; }
.tx-chips, .tx-view { display: flex; flex-wrap: wrap; gap: 6px; }
.tx-month { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.tx-month .adm-btn.active { background: #0b72b9; border-color: #0b72b9; color: #fff; }
.tx-view { margin-left: auto; }
.tx-cols { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
.tx-table tr.tx-band td { background: #fffbea; }
.op-btn-sm { padding: 1px 7px; font-size: 12px; margin-left: 4px; }
.tx-group { background: #fff; border: 1px solid #e3e6ea; border-radius: 12px; margin-bottom: 10px; overflow: hidden; }
.tx-group-head { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; padding: 10px 14px; background: #f8f9fa; border-bottom: 1px solid #eef0f2; }
.tx-group-sum { margin-left: auto; font-size: 13px; }
.tx-line { display: grid; grid-template-columns: 150px 1fr auto; gap: 10px; padding: 8px 14px; border-top: 1px solid #f3f4f6; font-size: 14px; }
.tx-line:first-of-type { border-top: 0; }
.tx-search h2 { font-size: 16px; }
.tx-found { margin-top: 10px; max-height: 60vh; overflow-y: auto; }
.tx-found-item { display: flex; justify-content: space-between; gap: 10px; padding: 8px 4px; border-top: 1px solid #f1f3f5; text-decoration: none; color: inherit; font-size: 13px; }
.tx-found-item:hover { background: #eef6fc; }
.tx-found-item span:first-child { display: flex; flex-direction: column; }
.tx-found-item small { color: #6c757d; }
.tx-found-item .r { white-space: nowrap; text-align: right; }
@media (max-width: 991px) {
  .tx-cols { grid-template-columns: 1fr; }
  .tx-search { order: -1; }                     /* search first on small screens */
  .tx-view { margin-left: 0; }
}
@media (max-width: 767px) {
  .tx-chips { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; width: 100%; padding-bottom: 2px; }
  .tx-chips .og-chip { flex: 0 0 auto; }
  .tx-cust { flex-basis: 100%; }
  .tx-table thead { display: none; }
  .tx-table, .tx-table tbody { display: block; }
  .tx-table tr { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 10px 14px; border-top: 1px solid #e9ecef; }
  .tx-table td { display: block; padding: 0; border: 0; text-align: left !important; }
  .tx-table td[data-label="Date"] { grid-column: 1; font-size: 12px; color: #6c757d; }
  .tx-table td[data-label="Amount"] { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: 16px; text-align: right !important; }
  .tx-table td[data-label="Order"] { grid-column: 1; }
  .tx-table td[data-label="Type"] { grid-column: 1; font-size: 13px; }
  .tx-line { grid-template-columns: 1fr auto; }
  .tx-line span:nth-child(2) { display: none; }
  .tx-group-sum { margin-left: 0; flex-basis: 100%; }
}

/* ===== Information pages (about, contact, returns, terms, privacy) ===== */
.info-wrap { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px; align-items: start; max-width: 1100px; }
.info-nav { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 4px; background: #fff; border: 1px solid #e3e6ea; border-radius: 12px; padding: 8px; }
.info-nav a { padding: 9px 12px; border-radius: 8px; color: #333; text-decoration: none; font-weight: 600; font-size: 14px; }
.info-nav a:hover { background: #f1f5f9; }
.info-nav a.active { background: #8B2C42; color: #fff; }
.info-body { background: #fff; border: 1px solid #e3e6ea; border-radius: 12px; padding: 24px 28px; font-size: 15px; line-height: 1.65; }
.info-body h2 { font-size: 18px; font-weight: 800; color: #8B2C42; margin: 26px 0 8px; }
.info-lead { font-size: 17px; }
.info-list { padding-left: 1.2rem; } .info-list li { margin-bottom: 6px; }
.info-sign { font-style: italic; color: #555; }
.info-btn { display: inline-block; width: auto; padding: 10px 24px; text-decoration: none; }
.info-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin: 18px 0 10px; }
.info-card { display: flex; flex-direction: column; gap: 2px; padding: 16px; border: 1px solid #e3e6ea; border-radius: 12px; text-decoration: none; color: #222; transition: box-shadow .2s, border-color .2s; }
.info-card:hover { border-color: #0b72b9; box-shadow: 0 6px 18px rgba(11,114,185,.12); }
.info-card-ic { font-size: 26px; }
.info-card span:last-child { color: #0b72b9; font-size: 14px; word-break: break-all; }
.info-pay { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; background: #f8f9fa; border-radius: 12px; padding: 14px 16px; font-size: 14px; }
@media (max-width: 767px) {
  .info-wrap { grid-template-columns: 1fr; gap: 14px; }
  .info-nav { position: static; flex-direction: row; overflow-x: auto; -webkit-overflow-scrolling: touch; padding: 6px; }
  .info-nav a { flex: 0 0 auto; white-space: nowrap; }
  .info-body { padding: 18px 16px; }
  .info-pay { grid-template-columns: 1fr; }
}
/* FAQ accordion + info tables */
.faq { border: 1px solid #e3e6ea; border-radius: 12px; overflow: hidden; }
.faq details { border-top: 1px solid #eef0f2; }
.faq details:first-child { border-top: 0; }
.faq summary { cursor: pointer; padding: 13px 16px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 20px; line-height: 1; color: #0b72b9; }
.faq details[open] summary::after { content: '−'; }
.faq details[open] summary { color: #8B2C42; }
.faq details p { padding: 0 16px 14px; margin: 0; }
.info-table td, .info-table th { font-size: 14px; }

/* header search: never squeezed to a tiny box when the admin menus are shown */
@media (min-width: 992px) {
  .nav-search-item { min-width: 190px; }
  .navbar .brand-claim { white-space: nowrap; }
}
@media (min-width: 992px) and (max-width: 1399px) {
  .adm-nav .nav-link { padding-left: .45rem; padding-right: .45rem; }
  .navbar:has(.adm-nav) .brand-claim { display: none; }     /* admin on laptops: logo only, to make room */
}
/* header with the admin menus: everything stays on one line */
.navbar .nl-short { display: none; }
@media (min-width: 992px) and (max-width: 1599px) {
  .navbar:has(.adm-nav) .brand-claim { display: none; }          /* admin: logo only, to make room */
}
@media (min-width: 992px) and (max-width: 1279px) {
  .navbar .nl-full { display: none; } .navbar .nl-short { display: inline; }   /* Orders · Admin · Balance */
  .navbar .nl-hide-md { display: none; }                          /* Wishlist / Cart → icon + count */
  .navbar .nav-link { padding-left: .35rem; padding-right: .35rem; }
  .nav-search-item { min-width: 150px; }
}
@media (min-width: 992px) and (max-width: 1149px) {
  .navbar .adm-nav .nl-short { display: none; }                   /* very tight: admin menus as icons (name on hover) */
}

/* header search: clearly wider while you use it — the other items shrink to icons to make room */
@media (min-width: 992px) {
  .nav-search-item:focus-within, .nav-search-item.is-open { min-width: min(560px, 45vw); }
  .navbar:has(.nav-search-item:focus-within) .brand-claim,
  .navbar:has(.nav-search-item.is-open) .brand-claim { display: none; }
  .navbar:has(.nav-search-item:focus-within) .nl-full,
  .navbar:has(.nav-search-item.is-open) .nl-full,
  .navbar:has(.nav-search-item:focus-within) .nl-short,
  .navbar:has(.nav-search-item.is-open) .nl-short,
  .navbar:has(.nav-search-item:focus-within) .nl-hide-md,
  .navbar:has(.nav-search-item.is-open) .nl-hide-md { display: none; }
}
@media (min-width: 992px) and (max-width: 1149px) {
  .nav-search-item:focus-within, .nav-search-item.is-open { min-width: 30vw; }
  .navbar:has(.nav-search-item:focus-within) .nav-link { padding-left: .3rem; padding-right: .3rem; }
  .navbar:has(.nav-search-item:focus-within) .navbar-brand img,
  .navbar:has(.nav-search-item.is-open) .navbar-brand img { height: 36px !important; }
}

/* ===== /categories ===== */
.cat-jump { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 18px; }
.cat-sec { background: #fff; border: 1px solid #e3e6ea; border-radius: 14px; padding: 16px 18px; margin-bottom: 18px; scroll-margin-top: 100px; }
.cat-sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 12px; }
.cat-sec-head h2 { font-size: 20px; font-weight: 800; margin: 0; }
.cat-sec-head h2 a { color: #8B2C42; text-decoration: none; }
.cat-groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.cat-groups.is-flat { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.cat-group { border: 1px solid #eef0f2; border-radius: 10px; padding: 10px 12px; background: #fcfcfd; }
.cat-group-head { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #222; }
.cat-group-head img, .cat-group-head .mb-noicon { width: 40px; height: 40px; object-fit: contain; flex: 0 0 40px; }
.cat-group-head b { font-size: 14px; line-height: 1.25; }
.cat-group-head:hover b { color: #0b72b9; }
.cat-tile:hover { border-color: #0b72b9; box-shadow: 0 4px 12px rgba(11,114,185,.12); }
.cat-subs { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 8px; padding-left: 50px; font-size: 13px; }
.cat-subs a { color: #0b72b9; text-decoration: none; }
.cat-subs a:hover { text-decoration: underline; }
@media (max-width: 575px) {
  .cat-jump { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .cat-jump .og-chip { flex: 0 0 auto; }
  .cat-sec { padding: 14px; }
  .cat-groups, .cat-groups.is-flat { grid-template-columns: 1fr 1fr; gap: 8px; }
  .cat-groups:not(.is-flat) { grid-template-columns: 1fr; }
  .cat-subs { padding-left: 0; }
}
/* admin: ProdID, shown discreetly */
.pa-pid { float: right; font-size: 11px; color: #9aa1a9; font-family: Consolas, monospace; user-select: all; }
.ol-pid b { font-weight: 500; color: #9aa1a9; font-family: Consolas, monospace; user-select: all; }
.pid { font-size: 11px; color: #9aa1a9; font-weight: 400; font-family: Consolas, monospace; user-select: all; white-space: nowrap; }
/* admin: retail price panel (product page) */
.pa-panel-price { background: #fff8e8; border: 1px solid #f0d9a7; }
.pa-price-row { display: flex; gap: 8px; align-items: flex-end; margin: 6px 0; }
.pa-price-row .pa-field { flex: 1; }
.pa-price-input { box-sizing: border-box; width: 100%; padding: 6px 8px; border: 1px solid #ced4da; border-radius: 6px; font-weight: 700; font-size: 16px; }
.pa-price-save { background: #589E05; color: #fff; border: 0; border-radius: 6px; padding: 8px 16px; font-weight: 700; min-height: 38px; }
.pa-price-save:hover { background: #4a8604; }
.pa-price { color: #b45309; }
.pa-panel-price .pa-price-row .pa-field small { font-weight: 400; color: #888; }
.pa-special-input.is-on { border-color: #d9342b; color: #d9342b; }
.pa-low { color: #d9342b; }
@media (max-width: 420px) { .pa-price-row { flex-wrap: wrap; } .pa-price-row .pa-field { flex: 1 1 45%; } .pa-price-save { flex: 1 1 100%; } }
/* product page (admin): all offers set on the product */
.pp-adm-offers { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 13px; padding: 8px 10px; margin: 6px 0 10px; border: 1px dashed #cfd6dd; border-radius: 8px; background: #fafbfc; }
.pp-adm-offers.has { border-color: #f0b4b4; background: #fff6f6; }
.pao { border-radius: 999px; padding: 3px 10px; background: #fff; border: 1px solid #e0c3c3; color: #a12a2a; }
.pao.is-applied { background: #d9342b; border-color: #d9342b; color: #fff; }
.pao.is-off { opacity: .6; text-decoration: line-through; }
.pao-period { border-color: #f3c27a; color: #9a5b00; }
.pao-coupon { border-color: #9ec5fe; color: #0b5ed7; }
.pao-greek { border-color: #b8d8b8; color: #2e7d32; }
/* product card (admin): offer types set on the product */
.pcard-offtypes { display: inline-flex; flex-wrap: wrap; gap: 3px; }
.pot { font-size: 10px; font-weight: 700; border-radius: 4px; padding: 1px 5px; border: 1px solid #e0c3c3; color: #a12a2a; background: #fff; }
.pot.is-applied { background: #d9342b; border-color: #d9342b; color: #fff; }
.pot.is-off { opacity: .55; text-decoration: line-through; }

/* logo: white rounded background so the dark red lettering stands out on the dark red header */
.navbar-brand img { background: #fff; border-radius: 8px; padding: 3px 8px; box-shadow: 0 1px 3px rgba(0,0,0,.15); }
@media (max-width: 991px) { .megabar .mb-grid.mb-flat { grid-template-columns: 1fr 1fr; } .megabar .mb-flat-item { padding: 8px; } }
/* brand chips on results pages */
.ls-brand-chips { margin-top: -10px; }
.ls-brand img { width: 34px; height: 20px; object-fit: contain; }
.ls-chip small { font-size: 11px; color: #8a9199; font-weight: 700; }
.ls-chip.active small { color: #f3d9df; }

/* ===== brand picker (many brands) ===== */
.bf { position: relative; display: inline-flex; align-items: center; gap: 6px; margin: -6px 0 18px; }
.bf-btn { display: inline-flex; align-items: center; gap: 8px; border: 1px solid #dfe3e8; border-radius: 30px; background: #fff; padding: 6px 14px; font-size: 14px; color: #333; min-height: 38px; }
.bf-btn:hover, .bf.open .bf-btn { border-color: #0b72b9; }
.bf-btn.is-set { border-color: #8B2C42; background: #fbf3f5; }
.bf-btn img { width: 40px; height: 22px; object-fit: contain; }
.bf-btn small { color: #8a9199; }
.bf-caret { font-size: 11px; color: #888; }
.bf-clear { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: #f1f3f5; color: #555; text-decoration: none; font-size: 18px; }
.bf-pop { position: absolute; top: calc(100% + 6px); left: 0; z-index: 1060; width: 340px; max-width: calc(100vw - 24px); background: #fff; border: 1px solid #dfe3e8; border-radius: 12px; box-shadow: 0 14px 36px rgba(0,0,0,.18); overflow: hidden; }
.bf-pop[hidden] { display: none; }
.bf-head { display: flex; gap: 6px; padding: 10px; border-bottom: 1px solid #eef0f2; }
.bf-search { flex: 1; min-width: 0; border: 1px solid #ced4da; border-radius: 8px; padding: 8px 10px; font-size: 15px; }
.bf-close { border: 0; background: #f1f3f5; border-radius: 50%; width: 36px; height: 36px; font-size: 22px; line-height: 1; color: #555; }
.bf-list { max-height: 360px; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 4px 0; }
.bf-item { display: grid; grid-template-columns: 52px 1fr auto; gap: 10px; align-items: center; padding: 7px 12px; text-decoration: none; color: #222; font-size: 14px; }
.bf-item[hidden] { display: none; }
.bf-item:hover, .bf-item:focus { background: #eef6fc; outline: 0; }
.bf-item.active { background: #fbf3f5; color: #8B2C42; font-weight: 700; }
.bf-logo { display: flex; align-items: center; justify-content: center; height: 28px; }
.bf-logo img { max-width: 52px; max-height: 28px; object-fit: contain; }
.bf-all { font-size: 18px; color: #8a9199; }
.bf-item small { color: #8a9199; font-weight: 700; }
.bf-none { padding: 14px; text-align: center; color: #8a9199; font-size: 14px; }
.bf-backdrop { position: fixed; inset: 0; z-index: 1055; background: rgba(0,0,0,.4); }
@media (max-width: 767px) {
  .bf-pop { position: fixed; left: 0; right: 0; bottom: 0; top: auto; width: 100%; max-width: none; border-radius: 18px 18px 0 0; padding-bottom: env(safe-area-inset-bottom); }
  .bf-list { max-height: 60vh; }
  .bf-item { padding: 11px 16px; font-size: 15px; }
  .bf-search { font-size: 16px; }              /* 16px: iPhone doesn't zoom in */
}

/* ---------- Product page: brand logo → brand website ---------- */
.pp-brand-link { display: inline-flex; align-items: center; border-radius: 6px; transition: opacity .15s, box-shadow .15s; }
.pp-brand-link:hover, .pp-brand-link:focus-visible { opacity: .85; box-shadow: 0 0 0 3px rgba(13,110,253,.15); }
.pp-brand-link .pcard-brand-text::after { content: " ↗"; font-size: .7em; color: #6c757d; }

/* ---------- Product page: admin tabs (Other Sales / Profit / Clicks / Orders) ---------- */
.pp-tabs { flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; scrollbar-width: none; border-bottom: 1px solid #e3e6ea; }
.pp-tabs::-webkit-scrollbar { display: none; }
.pp-tabs .nav-link { white-space: nowrap; font-weight: 600; color: #555; min-height: 44px; }
.pp-tabs .nav-link.active { color: #111; }
.pp-tab-n { display: inline-block; min-width: 20px; padding: 0 6px; margin-left: 4px; border-radius: 10px; background: #eef1f4; font-size: 11px; line-height: 18px; text-align: center; color: #555; }
.pp-tab-content > .pp-desc-body { border-top-left-radius: 0; border-top: 0; }
.pp-adm-table { margin-bottom: 0; font-size: 14px; }
.pp-adm-table th { white-space: nowrap; color: #6c757d; font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .3px; }
.pp-adm-table td { vertical-align: middle; }
.pp-adm-year td { background: #fff8d6 !important; font-weight: 700; font-size: 12px; padding-top: 3px; padding-bottom: 3px; }
.pp-adm-total td { font-weight: 700; border-top: 2px solid #dee2e6; }
.pp-adm-badge { display: inline-block; min-width: 26px; padding: 2px 8px; border-radius: 12px; background: #212529; color: #fff; font-size: 12px; font-weight: 700; }
.pp-adm-low { color: #d9534f; font-weight: 700; }
.pp-adm-sponsored { color: #d9534f; font-size: 11px; }

/* Phones: each row becomes a small card with labels */
@media (max-width: 575px) {
  .pp-adm-tab { padding: 12px; }
  .pp-adm-table thead { display: none; }
  .pp-adm-table, .pp-adm-table tbody, .pp-adm-table tr, .pp-adm-table td { display: block; width: 100%; }
  .pp-adm-table tr { border: 1px solid #e3e6ea; border-radius: 8px; margin-bottom: 10px; padding: 6px 10px; }
  .pp-adm-table td { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border: 0; padding: 4px 0; text-align: right !important; }
  .pp-adm-table td[data-label]::before { content: attr(data-label); color: #6c757d; font-size: 12px; font-weight: 600; text-align: left; flex-shrink: 0; }
  .pp-adm-table td br { display: none; }
  .pp-adm-table td small { margin-left: 4px; }
  .pp-adm-year { border: 0 !important; padding: 0 !important; margin: 4px 0 6px !important; }
  .pp-adm-year td, .pp-adm-total td { justify-content: flex-start; border-radius: 6px; padding: 4px 8px; }
  .pp-adm-total { border-color: #212529 !important; }
}

/* nnick 2026-11-19 ===== Seasonal offers (page, front page block, badge on cards / product page) ===== */
.so-blackfriday { --so-a: #111; --so-b: #3a3a3a; --so-fg: #fff; --so-hi: #ffd60a; }
.so-christmas   { --so-a: #b3121f; --so-b: #0f6b3a; --so-fg: #fff; --so-hi: #ffe8a3; }
.so-summer      { --so-a: #ff9f1c; --so-b: #ff5e5b; --so-fg: #fff; --so-hi: #fff3b0; }
.so-easter      { --so-a: #8e6cd8; --so-b: #ec6fa8; --so-fg: #fff; --so-hi: #fff; }
.so-cyber       { --so-a: #0b72b9; --so-b: #6a1bb3; --so-fg: #fff; --so-hi: #8ff7ff; }
.so-other       { --so-a: #FF6B35; --so-b: #c0392b; --so-fg: #fff; --so-hi: #fff3b0; }
.so-banner { display: flex; align-items: center; gap: 18px; padding: 22px 26px; margin-bottom: 22px; border-radius: 14px;
  background: linear-gradient(120deg, var(--so-a), var(--so-b)); color: var(--so-fg); text-decoration: none; }
.so-banner:hover { color: var(--so-fg); }
.so-banner-icon { font-size: 46px; line-height: 1; }
.so-banner-text { flex: 1; min-width: 0; }
.so-title { font-size: 30px; font-weight: 900; margin: 0; letter-spacing: .5px; text-transform: uppercase; }
.so-sub { margin: 4px 0 0; opacity: .92; }
.so-sub b { color: var(--so-hi); }
.so-countdown span:not(:empty) { display: inline-block; white-space: nowrap; font-weight: 800; padding: 8px 14px; border-radius: 999px;
  background: rgba(255,255,255,.16); color: var(--so-hi); border: 1px solid rgba(255,255,255,.3); }
.so-banner-sm { padding: 16px 20px; margin-bottom: 8px; }
.so-banner-sm .so-title { font-size: 24px; }
@media (max-width: 575px) {
  .so-banner { flex-wrap: wrap; padding: 18px; gap: 12px; }
  .so-banner-icon { font-size: 34px; }
  .so-title, .so-banner-sm .so-title { font-size: 21px; }
  .so-countdown { width: 100%; }
}
.so-preview { background: #fff3cd; border: 1px solid #ffe08a; color: #856404; border-radius: 8px; padding: 10px 14px; margin-bottom: 16px; }
/* badge with the offer's name: over the card photo (bottom left), and under the title on the product page */
.so-badge { display: inline-block; max-width: calc(100% - 16px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-size: 11px; font-weight: 800; letter-spacing: .3px; text-transform: uppercase; padding: 4px 8px; border-radius: 4px;
  background: linear-gradient(120deg, var(--so-a), var(--so-b)); color: var(--so-fg); box-shadow: 0 2px 6px rgba(0,0,0,.18); }
.pcard-img .so-badge { position: absolute; left: 8px; bottom: 8px; z-index: 2; }
a.so-badge-pp { font-size: 13px; padding: 6px 12px; margin: 2px 0 10px; text-decoration: none; }
a.so-badge-pp:hover { color: var(--so-hi); }
/* nothing valid now */
.so-empty { max-width: 640px; margin: 30px auto 60px; text-align: center; background: #fff; border: 1px solid #e3e6ea; border-radius: 16px; padding: 44px 28px; }
.so-empty-icon { font-size: 64px; line-height: 1; margin-bottom: 14px; }
.so-empty-title { font-size: 28px; font-weight: 900; margin-bottom: 12px; }
.so-empty-next { font-size: 17px; background: #fff3cd; border-radius: 10px; padding: 10px 14px; display: inline-block; }
.so-empty-text { color: #6c757d; }
.so-empty-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }
.so-btn { padding: 10px 18px; border-radius: 8px; font-weight: 700; text-decoration: none; border: 1px solid #ced4da; color: #212529; }
.so-btn:hover { background: #f1f3f5; color: #212529; }
.so-btn-main { background: var(--accent-orange); border-color: var(--accent-orange); color: #fff; }
.so-btn-main:hover { background: #e85a28; color: #fff; }
.so-empty-admin { margin: 22px 0 0; font-size: 14px; }

/* nnick 2026-11-19 seasonal offers page: category + manufacturer filters */
.so-filters { margin: -6px 0 20px; display: flex; flex-direction: column; gap: 6px; }
.so-filters .ls-chips { margin: 0; }
.so-nomatch { background: #f8f9fa; border: 1px dashed #ced4da; border-radius: 8px; padding: 14px 16px; color: #495057; }
