:root {
    --primary-color: #0077ff;
    --secondary-color: #005b93;
    --accent-color: #00000000;
    --accent-color1: #f90000;
    --bg-light: #0f1d2d;
    --text-dark: #ffffff;
    --white1: #7DF9FF;
    --white: #000000;
    --whitetest: #ff0000;
}

/* ===== HEADER: safe override μόνο για το text logo ===== */

#topHeader{
  position: relative;
  display: flex;
  align-items: center;
  min-height: 64px;
  padding: 10px 14px;
  box-sizing: border-box;
}

#topHeader .language-dropdown{
  position: relative;
  z-index: 5;
  flex: 0 0 auto;
}

/* Το logo-text πάει ΔΕΞΙΑ και μένει εκεί */
#topHeader > .text-logo{
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;

  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0;

  margin: 0 !important;
  padding: 0;
  width: auto;
  max-width: calc(100% - 110px);

  text-decoration: none !important;
  white-space: nowrap;
  line-height: 1;
  text-align: right;
  user-select: none;
  -webkit-tap-highlight-color: transparent;

  font-family: "Segoe UI", "Trebuchet MS", "Arial Black", Arial, sans-serif;
  font-size: clamp(22px, 3.2vw, 34px);
  font-weight: 900;
  letter-spacing: -0.6px;
}

/* Βασικό effect */
#topHeader > .text-logo .text-logo-main,
#topHeader > .text-logo .text-logo-dot{
  display: inline-block;
  color: transparent;
  background: linear-gradient(90deg, #ffffff 0%, #74d7ff 22%, #00b7ff 45%, #6f86ff 70%, #ffffff 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow:
    0 0 10px rgba(0, 183, 255, 0.18),
    0 0 22px rgba(111, 134, 255, 0.10);
  animation: marketcyShine 5.5s linear infinite;
  transition: transform .22s ease, filter .22s ease, opacity .22s ease;
}

#topHeader > .text-logo .text-logo-dot{
  opacity: .96;
}

/* Glow line από κάτω */
#topHeader > .text-logo::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(0,183,255,.95), rgba(111,134,255,.95), transparent);
  transform: scaleX(.38);
  transform-origin: right center;
  opacity: .9;
  transition: transform .25s ease, opacity .25s ease;
}

/* Hover μόνο για desktop/tablet */
#topHeader > .text-logo:hover .text-logo-main,
#topHeader > .text-logo:hover .text-logo-dot{
  transform: translateY(-1px);
  filter: brightness(1.08);
}

#topHeader > .text-logo:hover::after{
  transform: scaleX(1);
  opacity: 1;
}

@keyframes marketcyShine{
  0%   { background-position: 0% center; }
  100% { background-position: 220% center; }
}

/* ===== Mobile tuning ===== */
@media (max-width: 768px){
  #topHeader{
    min-height: 58px;
    padding: 8px 12px;
  }

  #topHeader > .text-logo{
    right: 12px;
    max-width: calc(100% - 96px);
    font-size: clamp(18px, 5.3vw, 28px);
    letter-spacing: -0.4px;
  }

  #topHeader > .text-logo::after{
    bottom: -5px;
  }
}

@media (max-width: 480px){
  #topHeader{
    min-height: 54px;
    padding: 8px 10px;
  }

  #topHeader > .text-logo{
    right: 10px;
    max-width: calc(100% - 90px);
    font-size: clamp(16px, 5.8vw, 24px);
    letter-spacing: -0.3px;
  }
}

body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    background: linear-gradient(to right, var(--secondary-color), var(--accent-color));
    color: #ffffff;
}

/* Horizontal "pills" scrollbar */
.scrollbar{
  /* theme */
  --sb-bg: rgb(255 255 255 / 25%);
  --sb-border: rgb(0 0 0);
  --pill-bg: rgb(157 157 157);
  --pill-bg-hover: rgba(0, 136, 255, .22);
  --pill-bg-active: rgba(0, 136, 255, .30);
  --pill-text: #00d0ff;
  --pill-text-hover: #bff6ff;
  --pill-ring: rgba(0, 208, 255, .35);
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;     /* iOS momentum */
  overscroll-behavior-x: contain;        /* avoid page bounce */
  scroll-behavior: smooth;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--sb-bg);
  border: 1px solid var(--sb-border);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0,0,0,.22);

  /* optional: nicer snapping */
  scroll-snap-type: x mandatory;
}

/* Optional: keep scrollbar neat (not fully hidden) */
.scrollbar{
  scrollbar-width: thin; /* Firefox */
  scrollbar-color: rgba(255,255,255,.25) transparent;
}
.scrollbar::-webkit-scrollbar{ height: 10px; }
.scrollbar::-webkit-scrollbar-track{ background: transparent; }
.scrollbar::-webkit-scrollbar-thumb{
  background: rgba(255,255,255,.22);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

.scrollbar button{
  flex: 0 0 auto;
  scroll-snap-align: start;

  font-size: 14px;
  line-height: 1;
  padding: 10px 12px;          /* FIX: όχι "10px 00px" */
  margin: 0;                   /* μην το πολεμάς με margins, έχεις gap */
  border-radius: 999px;

  border: 1px solid rgba(255,255,255,.10);
  background: var(--pill-bg);
  color: var(--pill-text);
  font-weight: 700;
  letter-spacing: .2px;

  cursor: pointer;
  user-select: none;
  white-space: nowrap;

  box-shadow: 0 6px 14px rgba(0,0,0,.18);
  transition: transform .14s ease, background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
  outline: none;
}

.scrollbar button:hover{
  background: var(--pill-bg-hover);
  color: var(--pill-text-hover);
  border-color: rgba(0, 208, 255, .25);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0,0,0,.24);
}

.scrollbar button:active{
  background: var(--pill-bg-active);
  transform: translateY(0);
  box-shadow: 0 6px 14px rgba(0,0,0,.18);
}

/* keyboard accessibility */
.scrollbar button:focus-visible{
  box-shadow: 0 0 0 4px var(--pill-ring), 0 10px 22px rgba(0,0,0,.24);
  border-color: rgba(0, 208, 255, .35);
}

/* "selected" state — βάλε class .is-active στο κουμπί που είναι selected */
.scrollbar button.is-active{
  background: rgba(0, 208, 255, .22);
  color: #eaffff;
  border-color: rgba(0, 208, 255, .45);
  box-shadow: 0 0 0 3px rgba(0, 208, 255, .18), 0 10px 22px rgba(0,0,0,.24);
}

@media (max-width: 576px){
  .scrollbar{
    gap: 8px;
    padding: 8px 10px;
    border-radius: 10px;
  }
  .scrollbar button{
    font-size: 13px;
    padding: 9px 11px;
  }
}
.scrollbar button:hover, .scrollbar button:focus {
    background: linear-gradient(135deg, #00bfff, #0077ff);
    color: white;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 187, 255, 0.4);
    border-color: #00d0ff;
}

.scrollbar button.active {
    background: linear-gradient(135deg, #00f2ff, #0077ff);
    color: white;
    font-weight: bold;
    border-color: #00f2ff;
    box-shadow: 0 0 12px rgba(0, 255, 255, 0.6);
}

#breadcrumbs {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
    color: #f0f0f0;
    font-size: 13px;
    font-weight: 500;
    padding: 10px 16px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    border-radius: 0 0 10px 10px;
}

#breadcrumbs a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
}

#breadcrumbs a:hover {
    color: #00d0ff;
    text-decoration: underline;
}

#products {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 25px;
}

.scrollbar::-webkit-scrollbar {
    height: 8px;
}

.scrollbar::-webkit-scrollbar-thumb {
    background: #505050;
    border-radius: 3px;
}

.card {
    background: linear-gradient(135deg, var(--white), #2c3e50);
    color: var(--text-dark);
    border-radius: var(--card-radius);
    box-shadow: 0 8px 16px var(--shadow-color);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    padding: 35px;
    position: relative;
}

.card:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 24px rgba(0, 122, 255, 0.3);
}

.card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 15px;
    transition: transform 0.4s ease;
}

.card:hover img {
    transform: scale(1.05);
}

.card h3 {
    font-size: 22px;
    margin: 6px 0 10px;
    font-weight: bold;
    text-align: left;
}

.card p {
    font-size: 14px;
    margin-bottom: 10px;
    opacity: 0.85;
}

.card a, .card button {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 14px;
    border-radius: 8px;
    background: #003067e8;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

.card a:hover, .card button:hover {
    background: #207bac;
    box-shadow: 0 4px 10px rgba(0, 122, 255, 0.3);
}

@media (max-width: 768px) {
    .card {
        width: 100%;
    }
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 10px;
    box-sizing: border-box;
}

.modal-content {
    background: white;
    padding: 20px;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 10px;
    position: relative;
    color: black;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
    box-sizing: border-box;
}

.modal-content .btn {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 12px;
    border: none;
    background: #4a148c;
    color: white;
    border-radius: 6px;
    text-decoration: none;
    cursor: pointer;
}

.modal-img {
    width: 70%;
    height: auto;
    object-fit: contain;
}

@media (min-width: 768px) {
    .modal-img {
        max-width: 200px;
        margin-bottom: 15px;
        display: block;
    }
}

.close-account {
    position: absolute;
    top: 10px;
    right: 12px;
    cursor: pointer;
    font-size: 18px;
    color: #666;
}

.btn-cart {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 16px;
    margin-top: 8px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-cart:hover {
    background-color: #45a049;
    transform: scale(1.05);
}

.review-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    padding: 10px;
    box-sizing: border-box;
}


.review-modal-content {
    background: white;
    padding: 20px;
    width: 100%;
    max-width: 320px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 12px;
    position: relative;
    color: black;
    box-shadow: 0 0 15px rgba(0,0,0,0.4);
    box-sizing: border-box;
}

.review-close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #e91e63;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 18px;
    cursor: pointer;
}

.variant-wrapper {
    position: relative;
    width: 100%;
    margin-top: 15px;
}

.variant-select {
    width: 100%;
    padding: 12px 16px;
    border: none;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    backdrop-filter: blur(8px);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15);
    appearance: none;
    cursor: pointer;
    transition: all 0.3s ease;
    background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 18px;
    padding-right: 3rem;
}

.variant-select:hover {
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 2px #00aaff;
}

.variant-select:focus {
    outline: none;
    background: rgba(0, 170, 255, 0.1);
    box-shadow: 0 0 0 2px #00aaff;
}

.variant-select option {
    background-color: #1a1a1a;
    color: #fff;
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate(-50%, 40px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

@media (min-width: 768px) {
    .review-modal-content {
        max-width: 500px;
    }
}

.category-title {
    font-size: 18px;
    font-weight: 600;
    color: #ffe7e7;
    padding: 6px 14px;
    border-left: 4px solid #0076ff;
    /* var(--primary-color), royal blue */
    background-color: rgba(255, 255, 255, 0.03);
    text-shadow: 0 0 4px rgba(0, 119, 255, 0.6);
    margin-bottom: 14px;
    border-radius: 40px;
    letter-spacing: 0.3px;
}

.no-more-products {
    display: none;
    text-align: center;
    padding: 15px;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    font-style: italic;
    text-shadow: 0 0 4px #e91e63, 0 0 8px #ff4081;
    background: #2c2c2c;
    border-radius: 8px;
    max-width: 300px;
    animation: fadeIn 0.6s ease;
    margin: 50px auto 100px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stock-status {
    font-size: 13px;
    font-weight: bold;
    margin-top: 3px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.stock-status .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.in-stock .dot {
    background-color: #28a745;
}

.low-stock .dot {
    background-color: #ffc107;
}

.out-of-stock .dot {
    background-color: #dc3545;
}

/* ====== Theme tokens ====== */
:root {
    --overlay: rgba(0,0,0,.6);
    --surface: #ffffff;
    --text: #0f172a;
    --muted: #64748b;
    --card: #f8fafc;
    --ring: #2563eb;
    --shadow: 0 10px 30px rgba(0,0,0,.18);
}

@media (prefers-color-scheme: dark) {
    :root {
        --overlay: rgba(0,0,0,.7);
        --surface: #0b1220;
        --text: #e5e7eb;
        --muted: #94a3b8;
        --card: #111827;
        --ring: #60a5fa;
        --shadow: 0 16px 40px rgba(0,0,0,.45);
    }
}

/* ====== Overlay ====== */
#storePicker {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--overlay);
    /* bottom sheet layout */
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0 env(safe-area-inset-right) calc(8px + env(safe-area-inset-bottom)) env(safe-area-inset-left);
}

body.store-picker-open {
    overflow: hidden;
}

#storePicker .modal-content {
    width: min(720px, 100%);
    max-height: calc(100vh - 80px - env(safe-area-inset-top));
    background: var(--surface);
    color: var(--text);
    border-radius: 16px 16px 0 0;
    /* rounded top = bottom sheet */
    box-shadow: var(--shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: sheet-in .26s cubic-bezier(.2,.9,.2,1) both;
}

@media (min-width: 900px) {
    #storePicker {
        align-items: center;
        padding-bottom: env(safe-area-inset-bottom);
    }

    #storePicker .modal-content {
        border-radius: 16px;
        max-height: min(86vh, 720px);
    }
}

#storePicker .modal-content h3 {
    position: sticky;
    top: 0;
    margin: 0;
    padding: 16px 20px;
    background: inherit;
    z-index: 1;
    font-size: 1.1rem;
    font-weight: 700;
    border-bottom: 1px solid rgba(148,163,184,.25);
}

#storePicker .modal-content::before {
    content: "";
    align-self: center;
    width: 44px;
    height: 4px;
    background: rgba(148,163,184,.6);
    border-radius: 999px;
    margin: 10px 0 4px;
}

#storeList {
    padding: 12px;
    overflow: auto;
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr;
}

@media (min-width: 600px) {
    #storeList {
        grid-template-columns: repeat(2, minmax(0,1fr));
        padding: 16px;
        gap: 14px;
    }
}

@media (min-width: 1100px) {
    #storeList {
        grid-template-columns: repeat(3, minmax(0,1fr));
    }
}

.store-card {
    background: var(--card);
    border: 1px solid rgba(148,163,184,.25);
    border-radius: 12px;
    padding: 14px 16px;
    min-height: 64px;
    /* touch target */
    display: flex;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

.store-card h3 {
    margin: 0;
    font-size: 1rem;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: .2px;
    color: var(--text);
}

.store-card p {
    margin: 0;
    font-size: .9rem;
    color: var(--muted);
}

/* Hover/Focus states (desktop + a11y) */
@media (hover: hover) {
    .store-card:hover {
        transform: translateY(-2px);
        border-color: var(--ring);
        box-shadow: 0 8px 20px rgba(37,99,235,.25);
    }
}

.store-card:focus-visible {
    outline: 3px solid var(--ring);
    outline-offset: 2px;
}

.store-card[data-busy="true"] {
    position: relative;
}

.store-card[data-busy="true"]::after {
    content: "Busy";
    position: absolute;
    top: 10px;
    right: 12px;
    font-size: .75rem;
    padding: 2px 8px;
    border-radius: 999px;
    background: #f97316;
    color: #fff;
}

/* ====== Animations ====== */
@keyframes sheet-in {
    from {
        transform: translateY(24px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    #storePicker .modal-content {
        animation: none;
    }

    .store-card {
        transition: none;
    }
}

/* Modal wrapper */
#storePicker {
    position: fixed;
    inset: 0;
    display: none;
    justify-content: center;
    align-items: center;
    background: rgba(0,0,0,0.7);
    z-index: 9999;
}

body.store-picker-open {
    overflow: hidden;
}

.store-card {
    display: block;
    width: 90%;
    max-width: 420px;
    margin: 10px auto;
    padding: 15px 20px;
    border-radius: 12px;
    border: none;
    background: #0a192f;
    color: #fff;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
}

.store-card:hover {
    background: #112240;
    transform: translateY(-2px);
}

.store-card h3 {
    font-size: 1.1rem;
    margin: 0 0 5px;
    font-weight: 600;
}

.store-card p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
}

.cat-toggle {
    border: 0;
    border-radius: 999px;
    padding: 8px 12px;
    font-weight: 700;
    font-size: 13px;
    line-height: 1;
    box-shadow: 0 2px 8px rgba(0,0,0,.25);
    cursor: pointer;
}

.cat-toggle[aria-expanded="true"] {
    background: #15d1ff;
    color: #042337;
}

.cat-toggle[aria-expanded="false"] {
    background: #0b7faa;
    color: #e8fbff;
}

.cat-summary {
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: .9;
    cursor: pointer;
}

body.cat-collapsed #mainCategories, body.cat-collapsed #subcategories, body.cat-collapsed #subSubcategoriesDiv {
    display: none !important;
}

body.cat-collapsed #catSummary {
    display: block !important;
}

@media (max-width: 768px) {
    #products {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        padding: 8px 10px 16px !important;
    }

    .card.product {
        padding: 8px !important;
        border-radius: 14px !important;
        box-shadow: 0 2px 10px rgba(0,0,0,.12);
    }

    .card.product .modal-img {
        width: 100% !important;
        aspect-ratio: 1 / 1;
        object-fit: cover !important;
        border-radius: 10px;
        display: block;
    }

    @media (max-width: 768px) {
  .card.product h3 {
    font-size: 13px !important;
    line-height: 1.25;
    margin: 6px 0 4px !important;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;

    /* ✅ FIX για long SKU/URL */
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
    min-width: 0;

    min-height: calc(1.25em * 2);
  }
}

    .card.product .rating {
        font-size: 12px !important;
        opacity: .9;
        margin-bottom: 4px;
    }

    .card.product .summary {
        display: none !important;
    }

    .card.product .price {
        font-weight: 700;
        font-size: 14px !important;
        margin: 4px 0 6px !important;
    }

    .card.product .btn, .card.product .btn-cart {
        display: block;
        width: 100%;
        padding: 6px 8px !important;
        font-size: 12px !important;
        line-height: 1.1;
        border-radius: 10px;
    }

    .card.product .btn + .btn-cart {
        margin-top: 6px;
    }

    .card.product .favorite-icon {
        /* top: 8px !important; */
        right: 8px !important;
        transform: none !important;
        nt; */
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    #products {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 10px !important;
    }
}

@media (max-width: 360px) {
    #products {
        gap: 8px !important;
    }

    .card.product {
        padding: 6px !important;
        min-width: 0;
    }

    .card.product h3 {
        font-size: 12px !important;
        -webkit-line-clamp: 2;
    }

    .card.product .btn, .card.product .btn-cart {
        padding: 6px !important;
        font-size: 11px !important;
    }
}

@media (orientation: landscape) and (max-height: 420px) {
    #products {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 10px !important;
    }
}

.card.product {
    min-width: 0;
}


:root {
    --chip-bg: #0f1b2d;
    --chip-fg: #e9f0ff;
    --chip-border: #28384f;
    --chip-hover-bg: #14243b;
    --chip-active-bg: #1677ff;
    --chip-active-fg: #ffffff;
    --chip-shadow: 0 2px 10px rgba(0,0,0,.15);
    --chip-radius: 9999px;
}

.scrollbar {
    display: flex;
    gap: .6rem;
    padding: 8px 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
}

.scrollbar::-webkit-scrollbar {
    height: 0;
}

.category-button, #subcategories .scrollbar button, #subSubcategoriesDiv .scrollbar button {
    scroll-snap-align: start;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .55rem .9rem;
    border-radius: var(--chip-radius);
    border: 1px solid var(--chip-border);
    background: var(--chip-bg);
    color: var(--chip-fg);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: .2px;
    white-space: nowrap;
    box-shadow: var(--chip-shadow);
    transition: background .2s, color .2s, border-color .2s, transform .06s;
}

.category-button img {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    object-fit: cover;
}

/* Hover / Active / Focus */
.category-button:hover, #subcategories .scrollbar button:hover, #subSubcategoriesDiv .scrollbar button:hover {
    background: var(--chip-hover-bg);
}

.category-button.active, #subcategories .scrollbar button.active, #subSubcategoriesDiv .scrollbar button.active {
    background: var(--chip-active-bg);
    color: var(--chip-active-fg);
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(22,119,255,.35);
}

.category-button:active, #subcategories .scrollbar button:active, #subSubcategoriesDiv .scrollbar button:active {
    transform: translateY(1px) scale(.99);
}

.category-button:focus-visible, #subcategories .scrollbar button:focus-visible, #subSubcategoriesDiv .scrollbar button:focus-visible {
    outline: 2px solid #5ab0ff;
    outline-offset: 2px;
}

.category-title {
    text-shadow: none !important;
}

/* Mobile compact */
@media (max-width: 768px) {
    .category-button, #subcategories .scrollbar button, #subSubcategoriesDiv .scrollbar button {
        padding:.45rem .75rem;
        font-size: 14px;
    }

    .category-button img {
        width: 22px;
        height: 22px;
    }
}

#catBarHeader .cat-toggle {
    background: transparent;
    border: none;
    color: var(--chip-fg);
    padding: .35rem .8rem;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
}

body.cat-collapsed #mainCategories, body.cat-collapsed #subcategories, body.cat-collapsed #subSubcategoriesDiv {
    display: none !important;
}

/* ================================
   ================================ */
.card.product .btn, .card.product .btn-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .5rem .75rem;
    border-radius: 10px;
    border: 1px solid var(--chip-border);
    font-weight: 700;
}

.card.product .btn {
    background: #10233a;
    color: #eaf3ff;
}

.card.product .btn:hover {
    filter: brightness(1.05);
}

.card.product .btn-cart {
    background: #000000;
    border-color: #ffffff;
    color: #fff;
}

.card.product .btn-cart:hover {
    filter: brightness(1.07);
}

#catBarHeader {
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .75rem;
    padding: .35rem .75rem;
    background: linear-gradient(180deg, rgba(0,0,0,.30), rgba(0,0,0,0));
    backdrop-filter: blur(4px);
    overflow: visible;
}

#catCollapseBtn {
    --glow-color: #00f2ff;
    --glow-spread-color: rgba(0, 242, 255, .35);
    --enhanced-glow-color: #c9f4ff;
    --btn-color: var(--primary-color);
    border: .18em solid var(--glow-color);
    color: var(--enhanced-glow-color);
    background: linear-gradient(135deg, var(--btn-color), #00bfff);
    border-radius: 999px;
    padding: .5em 1.4em;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    position: relative;
    isolation: isolate;
    outline: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    cursor: pointer;
    box-shadow: 0 0 .7em .15em var(--glow-color), 0 0 2.4em .8em var(--glow-spread-color), inset 0 0 .45em .12em var(--glow-color);
    text-shadow: 0 0 .35em var(--glow-color);
    transition: transform .15s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}

#catCollapseBtn::after {
    pointer-events: none;
    content: "";
    position: absolute;
    top: 120%;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--glow-spread-color);
    filter: blur(1.6em);
    opacity: .35;
    transform: perspective(1.5em) rotateX(35deg) scale(1,.6);
    z-index: -1;
}

#catCollapseBtn:hover {
    color: #042337;
    background: linear-gradient(135deg, #00f2ff, #00bfff);
    box-shadow: 0 0 .9em .2em var(--glow-color), 0 0 2.8em 1em var(--glow-spread-color), inset 0 0 .55em .18em var(--glow-color);
    transform: translateY(-1px);
}

#catCollapseBtn:active {
    transform: translateY(0);
    box-shadow: 0 0 .6em .18em var(--glow-color), 0 0 2.1em .9em var(--glow-spread-color), inset 0 0 .45em .18em var(--glow-color);
}

@media (max-width: 420px) {
    #catCollapseBtn {
        padding: .45em 1.1em;
        font-size: 13px;
        border-width: .16em;
    }
}

#catCollapseBtn::after {
    pointer-events: none;
    content: "";
    position: absolute;
    top: 120%;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--glow-spread-color);
    filter: blur(2em);
    opacity: .7;
    transform: perspective(1.5em) rotateX(35deg) scale(1,.6);
    z-index: -1;
}

#catCollapseBtn:hover {
    color: var(--btn-color);
    background-color: var(--glow-color);
    box-shadow: 0 0 1em .25em var(--glow-color), 0 0 4em 2em var(--glow-spread-color), inset 0 0 .75em .25em var(--glow-color);
    transform: translateY(-1px);
}

#catCollapseBtn:active {
    box-shadow: 0 0 .6em .25em var(--glow-color), 0 0 2.5em 2em var(--glow-spread-color), inset 0 0 .5em .25em var(--glow-color);
    transform: translateY(0);
}

@media (max-width: 420px) {
    #catCollapseBtn {
        padding: .5em 1em;
        font-size: 13px;
        border-width: .22em;
    }
}

body.cat-collapsed #catCollapseBtn {
    --glow-color: #82e7ff;
    --glow-spread-color: rgba(130,231,255,.5);
    --enhanced-glow-color: #c9f4ff;
    --btn-color: #073d52;
}

#catCollapseBtn {
    --glow-color: #EADFFF;
    --glow-spread-color: rgba(176,136,255,.35);
    --enhanced-glow-color: #F6F1FF;
    --btn-color: #8A77C9;
    border-width: .18em;
    box-shadow: 0 0 .6em .15em var(--glow-color), 0 0 2em .6em var(--glow-spread-color), inset 0 0 .45em .15em var(--glow-color);
    text-shadow: 0 0 .35em var(--glow-color);
}

#catCollapseBtn::after {
    opacity: .35;
    filter: blur(1.5em);
}

#catCollapseBtn:hover {
    box-shadow: 0 0 .8em .2em var(--glow-color), 0 0 2.2em 1em var(--glow-spread-color), inset 0 0 .55em .2em var(--glow-color);
}

#catCollapseBtn {
    --glow-color: #ffffff;
    --glow-spread-color: rgb(0 242 255 / 35%);
    --enhanced-glow-color: #000000;
    --btn-color: var(--primary-color);
    border: .18em solid var(--glow-color);
    color: var(--enhanced-glow-color);
    background: linear-gradient(135deg, var(--btn-color), #232a2c);
    border-radius: 999px;
    padding: .5em 1.4em;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    position: relative;
    isolation: isolate;
    outline: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    cursor: pointer;
    box-shadow: 0 0 .1em .1em var(--glow-color), 0 0 1.1em .1em var(--glow-spread-color), inset 0 0 .15em .1em var(--glow-color);
    text-shadow: 0 0 10.35em var(--glow-color);
    transition: transform .15s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}

#catCollapseBtn::after {
    pointer-events: none;
    content: "";
    position: absolute;
    top: 120%;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--glow-spread-color);
    filter: blur(1.6em);
    opacity: .35;
    transform: perspective(1.5em) rotateX(35deg) scale(1,.6);
    z-index: -1;
}

#catCollapseBtn:hover {
    color: #000000;
    background: linear-gradient(135deg, #5d5d5d, #ffffff);
    box-shadow: 0 0 12.1em 0.1em #0009ff, 0 0 16.8em 1em var(--glow-spread-color), inset 0 0 .55em .18em #000000;
    transform: translateY(-1px);
}

#catCollapseBtn:active {
    transform: translateY(0);
    box-shadow: 0 0 .6em .18em var(--glow-color), 0 0 2.1em .9em var(--glow-spread-color), inset 0 0 .45em .18em var(--glow-color);
}

@media (max-width: 480px) {
    #catCollapseBtn {
        padding: .45em 1.1em;
        font-size: 13px;
        border-width: .16em;
    }
}

body.cat-collapsed #catCollapseBtn {
    --glow-color: #82e7ff;
    --glow-spread-color: rgba(130,231,255,.5);
    --enhanced-glow-color: #c9f4ff;
    --btn-color: #073d52;
}

.pm-desc-block {
    margin: 0 0 0.9rem 0;
    font-size: 1rem;
}

.pm-desc {
    margin-top: .25rem;
    line-height: 1.5;
    max-height: 4.5em;
    overflow: hidden;
    position: relative;
}

.pm-desc::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2em;
    background: linear-gradient( to bottom, rgba(32,42,59,0), rgba(32,42,59,1) );
    pointer-events: none;
}

.pm-desc.expanded {
    max-height: none;
}

.pm-desc.expanded::after {
    display: none;
}

.pm-desc-toggle {
    margin-top: .35rem;
    border: none;
    background: none;
    color: #394449;
    font-size: .9rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
}

.pm-desc-toggle:hover {
    text-decoration: underline;
}


#catBarHeader {
    position: static !important;
    top: auto !important;
    z-index: 30;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .75rem;
    padding: .35rem .75rem .25rem;
    background: linear-gradient(180deg, rgba(0,0,0,.30), rgba(0,0,0,0));
    backdrop-filter: blur(4px);
    overflow: visible;
}

#catCollapseBtn {
    --glow-color: #0b0431;
    --glow-spread-color: rgba(0, 242, 255, .35);
    --enhanced-glow-color: #c9f4ff;
    --btn-color: var(--primary-color);
    border: .18em solid var(--glow-color);
    color: var(--enhanced-glow-color);
    background: linear-gradient(135deg, var(--btn-color), #00bfff);
    border-radius: 999px;
    padding: .5em 1.4em;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    position: relative;
    isolation: isolate;
    outline: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    cursor: pointer;
    box-shadow: 0 0 .7em .15em var(--glow-color), 0 0 2.4em .8em var(--glow-spread-color), inset 0 0 .45em .12em var(--glow-color);
    text-shadow: 0 0 .35em var(--glow-color);
    transition: transform .15s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}

#catCollapseBtn::after {
    pointer-events: none;
    content: "";
    position: absolute;
    top: 120%;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--glow-spread-color);
    filter: blur(1.6em);
    opacity: .35;
    transform: perspective(1.5em) rotateX(35deg) scale(1,.6);
    z-index: -1;
}

#catCollapseBtn:hover {
    color: #042337;
    background: linear-gradient(135deg, #00f2ff, #00bfff);
    box-shadow: 0 0 .9em .2em var(--glow-color), 0 0 2.8em 1em var(--glow-spread-color), inset 0 0 .55em .18em var(--glow-color);
    transform: translateY(-1px);
}

#catCollapseBtn:active {
    transform: translateY(0);
    box-shadow: 0 0 .6em .18em var(--glow-color), 0 0 2.1em .9em var(--glow-spread-color), inset 0 0 .45em .18em var(--glow-color);
}

@media (max-width: 480px) {
    #catCollapseBtn {
        padding: .45em 1.1em;
        font-size: 13px;
        border-width: .16em;
    }
}

body.cat-collapsed #catCollapseBtn {
    --glow-color: #82e7ff;
    --glow-spread-color: rgba(130,231,255,.5);
    --enhanced-glow-color: #c9f4ff;
    --btn-color: #073d52;
}

.btn-login-required {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 10px;
    border: 1px solid var(--chip-border);
    background: #10233a;
    color: #eaf3ff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: background .2s ease, transform .1s ease, box-shadow .2s ease;
}

.btn-login-required:hover {
    background: #16314f;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0,0,0,.25);
}

@media (max-width: 768px) {
    html, body {
        margin: 0;
        padding: 0;
    }

    #products {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
        padding: 8px 8px 16px 8px !important;
        /* ÃƒÅ½Ã‚Â¯ÃƒÅ½Ã‚Â´ÃƒÅ½Ã‚Â¹ÃƒÅ½Ã‚Â¿ left/right */
        box-sizing: border-box;
        justify-content: stretch !important;
        align-content: start !important;
    }

    /* ÃƒÅ½Ã‚Â£ÃƒÅ½Ã‚Â²ÃƒÅ½Ã‚Â®ÃƒÅ½Ã‚Â½ÃƒÅ½Ã‚Â¿ÃƒÂÃ¢â‚¬Â¦ÃƒÅ½Ã‚Â¼ÃƒÅ½Ã‚Âµ ÃƒÂÃ…â€™,ÃƒÂÃ¢â‚¬Å¾ÃƒÅ½Ã‚Â¹ width/margin ÃƒÅ½Ã‚Â¼ÃƒÂÃ¢â€šÂ¬ÃƒÅ½Ã‚Â¿ÃƒÂÃ‚ÂÃƒÅ½Ã‚ÂµÃƒÅ½Ã‚Â¯ ÃƒÅ½Ã‚Â½ÃƒÅ½Ã‚Â± ÃƒÂÃ†â€™ÃƒÂÃ¢â‚¬Å¾ÃƒÂÃ‚ÂÃƒÅ½Ã‚Â±ÃƒÅ½Ã‚Â²ÃƒÂÃ…Â½ÃƒÅ½Ã‚Â½ÃƒÅ½Ã‚ÂµÃƒÅ½Ã‚Â¹ ÃƒÂÃ¢â‚¬Å¾ÃƒÅ½Ã‚Â¹ÃƒÂÃ¢â‚¬Å¡ ÃƒÅ½Ã‚ÂºÃƒÅ½Ã‚Â¬ÃƒÂÃ‚ÂÃƒÂÃ¢â‚¬Å¾ÃƒÅ½Ã‚ÂµÃƒÂÃ¢â‚¬Å¡ */
    #products .card, #products .card.product {
        box-sizing: border-box;
        width: auto !important;
        margin: 0 !important;
        padding: 8px !important;
        border-radius: 14px !important;
    }
}

@media (max-width: 768px) {
    .card.product .btn, .card.product .btn-cart {
        display: inline-flex !important;
        width: auto !important;
        min-width: 0;
    }
}

.category-block {
    margin: 0 !important;
    padding: 0 !important;
    height: auto !important;
    /* ÃÂÃŽÂ¯ÃŽÂ¾ÃŽÂµ Ãâ€žÃŽÂ¿ ÃÂÃË†ÃŽÂ¿Ãâ€š */
    min-height: 0 !important;
}

#subcategories .category-block, #subSubcategoriesDiv .category-block {
    margin: 0 !important;
    padding: 0 !important;
    height: auto !important;
    min-height: 0 !important;
}

#subcategories, #subSubcategoriesDiv {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    height: auto !important;
    min-height: 0 !important;
}

#mainCategories .category-button, #subcategories .category-button, #subSubcategoriesDiv .category-button {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    min-height: 30px !important;
    height: auto !important;
    line-height: 1.1 !important;
}

/* === Î¡Î¥Î˜ÎœÎ™Î£Î™ÎœÎŸ ÎšÎ•ÎÎŸ ÎœÎ•Î¤Î‘ÎžÎ¥ ÎšÎ‘Î¤Î—Î“ÎŸÎ¡Î™Î©Î === */
/* 1) ÎŸÏÎ¯Î¶Î¿Ï…Î¼Îµ Î­Î½Î± variable Î³Î¹Î± Ï„Î¿ ÎºÎ±Ï„Î±ÎºÏŒÏÏ…Ï†Î¿ ÎºÎµÎ½ÏŒ */
:root {
    --cat-gap-y: 2px;
    /* Î‘Î›Î›Î‘Î–Î•Î™Î£ ÎœÎŸÎÎŸ Î‘Î¥Î¤ÎŸ (0pxâ€“8px ÎºÏ„Î») */
}

/* 2) ÎœÎ·Î´ÎµÎ½Î¯Î¶Î¿Ï…Î¼Îµ extra margin/padding Ï„Î¿Ï… container */
body[data-page="eshop"] .category-block {
    margin: 0 !important;
    padding: 0 !important;
}

/* 3) Î¤Î¿ <hr> Î´Î¯Î½ÎµÎ¹ ÎœÎŸÎÎŸ Ï„Î¿ ÎºÎµÎ½ÏŒ, Ï‡Ï‰ÏÎ¯Ï‚ Î½Î± Ï†Î±Î¯Î½ÎµÏ„Î±Î¹ Î³ÏÎ±Î¼Î¼Î® */
body[data-page="eshop"] .category-block > hr {
    margin: var(--cat-gap-y) 0 !important;
    /* ÎµÏ€Î¬Î½Ï‰/ÎºÎ¬Ï„Ï‰ ÎºÎµÎ½ÏŒ */
    padding: 0 !important;
    border: 0 !important;
    /* Î½Î± Î¼Î·Î½ Ï†Î±Î¯Î½ÎµÏ„Î±Î¹ Î³ÏÎ±Î¼Î¼Î® */
    height: 0 !important;
}

/* Î”ÎµÎ¯Î¾Îµ Ï„Î¿ bell ÎœÎŸÎÎŸ ÏŒÏ„Î±Î½ Ï„Î¿ body Î­Ï‡ÎµÎ¹ at-top */
body:not(.at-top) .onesignal-bell-launcher, body:not(.at-top) .onesignal-bell-launcher-button {
    display: none !important;
}

/* Î ÏÎ¿Î±Î¹ÏÎµÏ„Î¹ÎºÎ¬: ÏŒÏ„Î±Î½ ÎµÎ¯Î¼Î±ÏƒÏ„Îµ ÏƒÏ„Î·Î½ ÎºÎ¿ÏÏ…Ï†Î®, ÏƒÎ¹Î³Î¿Ï…ÏÎ­ÏˆÎ¿Ï… ÏŒÏ„Î¹ Ï†Î±Î¯Î½ÎµÏ„Î±Î¹ */
body.at-top .onesignal-bell-launcher, body.at-top .onesignal-bell-launcher-button {
    display: block !important;
}

/* === DESKTOP VIEW: 3 Ï€ÏÎ¿ÏŠÏŒÎ½Ï„Î± Î±Î½Î¬ ÏƒÎµÎ¹ÏÎ¬ === */
@media (min-width: 1025px) {
    #products {
        display: grid !important;
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
        gap: 20px !important;
        justify-content: center !important;
        padding: 25px !important;
    }

    .card.product, .card {
        width: 100% !important;
        margin: 0 !important;
        padding: 20px;
        box-sizing: border-box;
    }
}



.sr-only{
  position:absolute !important;
  width:1px !important;
  height:1px !important;
  padding:0 !important;
  margin:-1px !important;
  overflow:hidden !important;
  clip:rect(0,0,0,0) !important;
  white-space:nowrap !important;
  border:0 !important;
}





@media (max-width: 768px){
  :root { --bottom-nav-h: 80px; } /* Î¾ÎµÎºÎ¯Î½Î± 80, ÏŒÏ‡Î¹ 110 */

  #sentinel{
    height: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom, 0px)) !important;
  }
}

/* ==== PSI / CLS / LCP production fixes v11 ==== */
#products{
  align-items:start !important;
  content-visibility:auto;
  contain-intrinsic-size: 1200px;
}
#products .card,
#products .card.product{
  min-height: 420px;
  contain: layout paint style;
}
@media (min-width: 769px){
  #products .card,
  #products .card.product{
    min-height: 470px;
  }
}
.product-image-wrapper{
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
}
.product-image-wrapper img,
.product-image-wrapper{
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
}

.product-image-wrapper .modal-img{
  display: block !important;
  max-width: 100% !important;
  max-height: 100% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  object-position: center center !important;
  margin: 0 auto !important;
}
.card.product h3{
  min-height: 10.2em;
  line-height: 1.3500;
  margin:15px 0 10px;
  padding: 12px 14px;
  border: 1px solid #c45151;
  border-left: 4px solid #d4af37;
  border-radius: 20px;
  background: linear-gradient(180deg, #042d71 0%, #000000 100%);
  box-sizing: border-box;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  transition: all .18s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card.product h3:hover{
  background: #ff0000;
  border-color: #d8d8d8;
  transform: translateY(-1px);
}
.card.product .summary{
  min-height: 3.6em;
}
.card.product .price,
.card.product .eta,
.card.product .rating{
  min-height: 1.5em;
}
#noMoreProducts,
.no-more-products[hidden]{
  display:none !important;
}
.btn-more-category{
  min-height: 44px;
}
img[width][height]{
  height:auto;
}
@media (prefers-reduced-motion: reduce){
  .card,
  .card img,
  .scrollbar button,
  .category-button,
  .btn-more-category,
  .see-more,
  .see-more-group div{
    transition:none !important;
    animation:none !important;
    transform:none !important;
  }
}