/* Gumeri Store — modern UI layer.
   Loaded after the theme (style.min.css + per-page purecss) and restyles it; no theme file is changed.
   Sizes are in px on purpose: the theme sets html { font-size: 62.5% }. */

:root {
    --g-primary: #0841ae;
    --g-primary-hover: #0a52d6;
    --g-primary-soft: #eaf0fc;
    --g-accent: #f97316;
    --g-ink: #0f172a;
    --g-text: #334155;
    --g-muted: #64748b;
    --g-line: #e5e8ee;
    --g-surface: #f5f6f8;
    --g-card: #ffffff;
    --g-danger: #dc2626;
    --g-success: #15803d;
    --g-radius-sm: 10px;
    --g-radius: 14px;
    --g-radius-lg: 20px;
    --g-shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);
    --g-shadow: 0 10px 30px -12px rgba(15, 23, 42, .18);
    --g-ring: 0 0 0 4px rgba(8, 65, 174, .14);
    --g-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif;
}

/* ---------- Base ---------- */

body {
    font-family: var(--g-font);
    color: var(--g-text);
    background: #fff;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6,
.title, .product-title, .widget-title, .banner-title, .page-title {
    font-family: var(--g-font);
    color: var(--g-ink);
    letter-spacing: -.01em;
}

main.main > .container > h1,
.page-title {
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 700;
    letter-spacing: -.025em;
    line-height: 1.15;
    margin: 4px 0 24px;
}

a { transition: color .15s ease; }

::selection { background: var(--g-primary); color: #fff; }

:focus-visible {
    outline: 2px solid var(--g-primary);
    outline-offset: 2px;
}

hr, .product-divider { border-color: var(--g-line); }

/* The theme's "Compare Products" bar is not used by the store. */
.compare-popup, .compare-popup-overlay { display: none !important; }

/* ---------- Header ---------- */

.header {
    position: sticky;
    top: 0;
    z-index: 1040;
    /* Solid on purpose: a backdrop-filter here would make the header the containing block
       of the fixed cart drawer and break it. */
    background: #fff;
    border-bottom: 1px solid var(--g-line);
    margin-bottom: 28px !important;
}

.header .header-middle {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    border: 0;
    background: transparent;
}

.header .logo img,
.header-middle .logo img {
    height: 60px !important;
    width: auto;
    padding: 0;
    display: block;
}

.header-middle .header-left { flex: 1; align-items: center; }
.header-middle .logo { margin-right: 28px; flex: none; }

/* Search */
.header-search.hs-round {
    flex: 1;
    max-width: 620px;
    height: 48px;
    background: var(--g-surface);
    border: 1px solid transparent;
    border-radius: 999px;
    overflow: visible;
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.header-search.hs-round:focus-within {
    background: #fff;
    border-color: var(--g-primary);
    box-shadow: var(--g-ring);
}

.header-search .dropdown {
    flex: 1;
    min-width: 0;
    border: 0 !important;
    display: block;
}

.header-search.hs-round .form-control,
.header-search.hs-round.hs-expanded .form-control {
    height: 46px;
    min-width: 0;
    width: 100%;
    border: 0 !important;
    background: transparent;
    box-shadow: none;
    padding: 0 8px 0 22px;
    font-family: var(--g-font);
    font-size: 15px;
    color: var(--g-ink);
    border-radius: 999px 0 0 999px;
}

.header-search .form-control::placeholder { color: #94a3b8; }

.header-search.hs-round .btn-search {
    width: 48px;
    min-width: 48px;
    height: 46px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--g-muted);
    font-size: 19px;
    border-radius: 0 999px 999px 0;
}

.header-search.hs-round .btn-search:hover { color: var(--g-primary); }

/* Live search results */
.header-search .dropdown-content {
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    width: 100% !important;
    min-width: 100%;
    margin-left: 0 !important;
    background: #fff;
    border: 1px solid var(--g-line);
    border-radius: var(--g-radius);
    box-shadow: var(--g-shadow);
    padding: 6px;
    max-height: 70vh;
    overflow-y: auto;
}

.header-search .dropdown-content:empty,
.header-search .dropdown-content.htmx-indicator { display: none !important; }

.header-search .dropdown .dropdown-content a {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 14px;
    color: var(--g-ink);
}

.header-search .dropdown .dropdown-content a:hover {
    background: var(--g-surface);
    color: var(--g-primary);
}

/* Phone + cart */
.header-call { border: 0 !important; margin-right: 8px; padding-right: 0; }
.header-call::after, .header-right .divider { display: none; }

.header-call .w-icon-call {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--g-primary-soft);
    color: var(--g-primary);
    font-size: 19px;
    margin-right: 10px;
}

.header-call .phone-number {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0;
    color: var(--g-ink);
}

.header-call .phone-number:hover { color: var(--g-primary); }

.cart-dropdown > a.cart-toggle {
    padding: 8px 14px;
    border-radius: 999px;
    color: var(--g-ink);
    transition: background .15s ease;
}

.cart-dropdown > a.cart-toggle:hover { background: var(--g-surface); color: var(--g-primary); }

.cart-dropdown .cart-count {
    background: var(--g-accent);
    font-weight: 700;
    box-shadow: 0 0 0 2px #fff;
}

.cart-dropdown .cart-label { font-size: 12px; color: var(--g-muted); }

/* Category bar */
.header-bottom {
    background: transparent;
    border-top: 1px solid var(--g-line);
    border-bottom: 0 !important;
}

.header-bottom .inner-wrap { padding: 8px 0; }

.category-dropdown.has-border,
.category-dropdown { border: 0 !important; }

.category-dropdown > a.category-toggle {
    width: auto;
    min-width: 0;
    height: 40px;
    padding: 0 18px;
    border: 0 !important;
    border-radius: 999px;
    background: var(--g-primary);
    color: #fff !important;
    font-family: var(--g-font);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: background .15s ease;
}

.category-dropdown > a.category-toggle:hover,
.category-dropdown.show > a.category-toggle { background: var(--g-primary-hover); }

.category-dropdown > a.category-toggle i { margin: 0; font-size: 17px; }
.category-dropdown > a.category-toggle::after { margin-left: 4px; color: inherit; }

.category-dropdown .dropdown-box {
    min-width: 280px;
    margin-top: 8px;
    padding: 8px;
    border: 1px solid var(--g-line);
    border-radius: var(--g-radius);
    box-shadow: var(--g-shadow);
    background: #fff;
}

.category-dropdown .dropdown-box::before,
.category-dropdown .dropdown-box::after { display: none; }

.category-menu > li > a {
    padding: 10px 14px;
    border: 0;
    border-radius: 8px;
    font-size: 15px !important;
    color: var(--g-text);
}

.category-menu > li:hover > a,
.category-menu > li > a:hover {
    background: var(--g-surface);
    color: var(--g-primary);
}

/* Sticky clone the theme adds around the category bar */
.header-bottom.fixed {
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 6px 20px -12px rgba(15, 23, 42, .25);
}

.mobile-menu-toggle { color: var(--g-ink); }

/* ---------- Buttons ---------- */

.btn {
    font-family: var(--g-font);
    border-radius: 999px;
    letter-spacing: 0;
    text-transform: none;
    font-weight: 600;
    font-size: 14px;
    transition: background .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease, transform .1s ease;
}

.btn.btn-rounded { border-radius: 999px; }

.btn:active { transform: translateY(1px); }

.btn.btn-primary,
.btn.btn-checkout,
.btn.btn-dark:not(.btn-outline):not(.btn-link),
.product-single .btn-cart,
.btn.real-cart-button {
    background: var(--g-primary);
    border-color: var(--g-primary);
    color: #fff;
}

.btn.btn-primary:hover, .btn.btn-primary:focus,
.btn.btn-checkout:hover, .btn.btn-checkout:focus,
.btn.btn-dark:not(.btn-outline):not(.btn-link):hover,
.btn.btn-dark:not(.btn-outline):not(.btn-link):focus,
.product-single .btn-cart:hover,
.btn.real-cart-button:hover {
    background: var(--g-primary-hover);
    border-color: var(--g-primary-hover);
    color: #fff;
    box-shadow: 0 8px 20px -8px rgba(8, 65, 174, .55);
}

.btn.btn-dark.btn-outline,
.btn.btn-secondary.btn-outline,
.btn.btn-default {
    background: #fff;
    border: 1px solid var(--g-line);
    color: var(--g-ink);
}

.btn.btn-dark.btn-outline:hover,
.btn.btn-secondary.btn-outline:hover,
.btn.btn-default:hover {
    background: var(--g-surface);
    border-color: #cbd5e1;
    color: var(--g-primary);
}

.btn:disabled, .btn.disabled {
    opacity: .55;
    box-shadow: none !important;
    cursor: not-allowed;
}

.btn.btn-search, .btn.btn-close, .btn.btn-link { box-shadow: none; }

/* ---------- Forms ---------- */

.form-control,
select.form-control,
textarea.form-control {
    font-family: var(--g-font);
    font-size: 15px;
    color: var(--g-ink);
    background-color: #fff;
    border: 1px solid #d5dae3;
    border-radius: var(--g-radius-sm);
    transition: border-color .15s ease, box-shadow .15s ease;
}

.form-control:focus,
select.form-control:focus,
textarea.form-control:focus {
    border-color: var(--g-primary);
    box-shadow: var(--g-ring);
    outline: 0;
}

.form-control:disabled { background-color: var(--g-surface) !important; color: var(--g-muted); }

.form-group label { color: var(--g-ink); font-weight: 600; font-size: 14px; }

.text-danger, .field-validation-error { color: var(--g-danger) !important; font-size: 13px; }

input[type="checkbox"].form-checkbox,
input[type="checkbox"].form-check-input,
input[type="radio"].form-check-input {
    accent-color: var(--g-primary);
    cursor: pointer;
}

/* ---------- Product cards ---------- */

.product-wrapper { row-gap: 20px; }

.product-wrap { margin-bottom: 0; }

.product-wrap > .product,
.swiper-slide > .product,
.product.product-simple {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: var(--g-card);
    border: 1px solid var(--g-line);
    border-radius: var(--g-radius);
    overflow: hidden;
    text-align: left !important;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.product-wrap > .product:hover,
.swiper-slide > .product:hover,
.product.product-simple:hover {
    transform: translateY(-3px);
    border-color: #d5dae3;
    box-shadow: var(--g-shadow);
}

.product-wrap .product .product-media,
.swiper-slide > .product .product-media {
    margin: 0;
    background: var(--g-surface);
    overflow: hidden;
}

.product-wrap .product .product-media > a,
.swiper-slide > .product .product-media > a { display: block; }

.product-wrap .product .product-media img,
.swiper-slide > .product .product-media img {
    width: 100%;
    height: auto;
    aspect-ratio: 300 / 338;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: transform .35s ease;
}

.product-wrap .product:hover .product-media img,
.swiper-slide > .product:hover .product-media img { transform: scale(1.04); }

/* Colour dots on a card: always visible, quiet */
.product .product-action-horizontal.mini-horizontal-bar {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
    box-shadow: none;
    padding: 12px 15px 0;
    min-height: 0;
}

.product .mini-horizontal-bar .product-variations {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 6px;
    width: 100%;
}

.product .mini-circle {
    display: block;
    flex: none;
    box-sizing: border-box;
    width: 14px !important;
    height: 14px !important;
    min-width: 0;
    padding: 0;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    /* one hairline outside the colour, so white and pastel dots stay visible without ringing dark ones */
    box-shadow: 0 0 0 1px rgba(15, 23, 42, .16);
}

.product-wrap .product .product-details,
.swiper-slide > .product .product-details {
    padding: 12px 14px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product .product-name {
    font-family: var(--g-font);
    font-size: 14.5px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0;
    color: var(--g-ink);
    margin: 0 0 10px;
    white-space: normal;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.product .product-name a { color: inherit; }
.product .product-name a:hover { color: var(--g-primary); }

.product .product-pa-wrapper { margin-top: auto; }

.product .product-price,
.product-price {
    font-family: var(--g-font);
    font-weight: 700;
    letter-spacing: -.01em;
    color: var(--g-ink);
}

.product-wrap .product .product-price,
.swiper-slide > .product .product-price { font-size: 17px; margin: 0; }

.product-price .new-price { color: inherit; text-decoration: none; }

.product-price .old-price {
    margin-left: 8px;
    font-size: .8em;
    font-weight: 500;
    color: #94a3b8;
}

.product-price .old-price ~ *, .product-price ins.new-price:not(:only-child) { color: var(--g-danger); }

/* ---------- Listing page: filters + toolbar ---------- */

.shop-content .toolbox {
    padding: 0 0 16px;
    margin: 0;
    background: transparent;
    border: 0;
}

.toolbox .toolbox-sort select.form-control,
.toolbox-sort .form-control {
    height: 42px;
    min-width: 170px;
    padding: 0 38px 0 16px;
    border: 1px solid var(--g-line);
    border-radius: 999px;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--g-ink);
    -webkit-appearance: none;
    appearance: none;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%230f172a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 16px center;
}

.toolbox-sort.select-box::before, .toolbox-sort.select-box::after { display: none; }

.shop-sidebar .filter-actions {
    padding: 0 0 12px;
    margin-bottom: 4px;
    border: 0;
}

.shop-sidebar .filter-actions label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--g-muted);
}

.shop-sidebar .widget {
    border: 1px solid var(--g-line);
    border-radius: var(--g-radius);
    padding: 14px 16px;
    margin-bottom: 14px;
    background: #fff;
}

.shop-sidebar .widget .widget-title {
    font-size: 15px;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
    padding: 0 0 10px;
    margin: 0 0 10px;
    border-bottom: 1px solid var(--g-line);
}

.shop-sidebar .widget .widget-body { padding: 0; margin: 0; }

.shop-sidebar .filter-items > li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 0;
    margin: 0 !important;
    border: 0;
    font-size: 15px;
}

.shop-sidebar .filter-items > li::before,
.shop-sidebar .filter-items > li > a::before { display: none; }

.shop-sidebar .filter-items .form-checkbox {
    width: 18px !important;
    height: 18px !important;
    margin: 0;
    flex: none;
}

.shop-sidebar .filter-items label {
    font-size: 14.5px !important;
    font-weight: 400;
    color: var(--g-text);
    padding: 0 !important;
    margin: 0;
    cursor: pointer;
}

.shop-sidebar .filter-items label:hover { color: var(--g-primary); }

.shop-sidebar .accordion .card {
    border: 0;
    background: transparent;
    margin: 6px 0 0;
}

.shop-sidebar .accordion .card-header {
    background: var(--g-surface);
    border: 0;
    border-radius: var(--g-radius-sm);
    font-size: 14px;
    font-weight: 600;
    text-transform: none;
}

.shop-sidebar .accordion .card-header a {
    padding: 10px 14px !important;
    color: var(--g-ink);
    font-size: 14px;
    font-weight: 600;
    text-transform: none;
}

.shop-sidebar .accordion .card-header a:hover { color: var(--g-primary); }
.shop-sidebar .accordion .card-body { padding: 8px 2px 0; border: 0; }

/* ---------- Product page ---------- */

.product-single .product-gallery .product-single-swiper,
.product-gallery .product-image {
    border-radius: var(--g-radius-lg);
    overflow: hidden;
    background: var(--g-surface);
}

.product-gallery .product-image img { mix-blend-mode: multiply; }

.product-gallery .product-thumbs-wrap { margin-top: 12px; }

.product-gallery .product-thumb {
    border-radius: var(--g-radius-sm);
    overflow: hidden;
    background: var(--g-surface);
    cursor: pointer;
}

.product-gallery .product-thumb::before {
    border: 2px solid transparent;
    border-radius: var(--g-radius-sm);
    transition: border-color .15s ease;
}

.product-gallery .product-thumb.active::before,
.product-gallery .product-thumb:hover::before { border-color: var(--g-primary); }

.product-gallery .product-thumb img { mix-blend-mode: multiply; }

.product-single .product-title {
    font-size: clamp(22px, 2.3vw, 30px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.02em;
    margin-bottom: 10px;
}

.product-single .product-meta { font-size: 13.5px; color: var(--g-muted); }
.product-single .product-meta a, .product-single .product-meta span { color: var(--g-text); }
.product-single .product-meta a:hover { color: var(--g-primary); }

.product-single .product-price {
    font-size: 32px;
    margin: 4px 0 12px;
    line-height: 1.1;
}

.product-single .product-short-desc {
    font-size: 15px;
    line-height: 1.65;
    color: var(--g-text);
}

.product-single .product-form.product-variation-form {
    display: block;
}

.product-single .product-form.product-variation-form > label {
    display: block;
    max-width: none !important;
    margin-bottom: 10px !important;
    font-size: 14px;
    color: var(--g-ink);
}

/* Colour swatches */
.product-single .product-variations { flex-wrap: wrap; row-gap: 10px; }

.product-single .product-variations .color {
    width: 32px;
    height: 32px;
    padding: 0;
    margin: 0 10px 0 0 !important;
    border-radius: 50%;
    border: 0 !important;
    box-shadow: 0 0 0 1px rgba(15, 23, 42, .16);
    cursor: pointer;
    transition: box-shadow .15s ease, transform .15s ease;
}

.product-single .product-variations .color:hover { transform: scale(1.08); }

.product-single .product-variations .color.active {
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--g-primary);
}

.product-single .product-variations .color::before,
.product-single .product-variations .color::after { display: none; }

/* Size / model options */
.product-single .product-variations .size {
    width: auto;
    min-width: 44px;
    height: 40px;
    padding: 0 14px;
    margin: 0 8px 0 0 !important;
    border: 1px solid #d5dae3;
    border-radius: var(--g-radius-sm);
    background: #fff;
    color: var(--g-ink);
    font-family: var(--g-font);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease, color .15s ease;
}

.product-single .product-variations .size:hover { border-color: var(--g-primary); color: var(--g-primary); }

.product-single .product-variations .size.active {
    border-color: var(--g-primary);
    background: var(--g-primary);
    color: #fff;
}

/* Quantity + add to cart */
#AddToCartContainer .product-form {
    display: flex;
    align-items: stretch;
    gap: 12px;
    flex-wrap: wrap;
}

#AddToCartContainer .product-qty-form { margin: 0; flex: none; }
#AddToCartContainer .form-group { margin: 0; }

#AddToCartContainer select.form-control {
    height: 52px;
    min-width: 150px;
    padding: 0 36px 0 16px;
    border-radius: var(--g-radius);
    font-size: 15px;
    font-weight: 500;
    color: var(--g-ink);
}

#AddToCartContainer .btn,
.product-single .btn-cart {
    flex: 1;
    min-width: 180px;
    max-width: none;
    height: 52px;
    padding: 0 24px;
    border-radius: var(--g-radius);
    font-size: 16px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

#AddToCartContainer .btn i { margin: 0; font-size: 20px; }

/* Quantity / brand / model selects on product pages (incl. the hydrogel page) */
.product-single select.form-control {
    min-height: 48px;
    padding: 0 36px 0 16px;
    border-radius: var(--g-radius);
    font-size: 15px;
    color: var(--g-ink);
    -webkit-appearance: none;
    appearance: none;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%230f172a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 14px center;
}

.product-single .product-qty-form select.form-control { min-width: 170px; }

.product-single .product-form .btn-cart,
.product-single .product-form .btn.btn-primary {
    min-height: 48px;
    border-radius: var(--g-radius);
    font-size: 16px;
    font-weight: 700;
}

/* Tabs / description */
.product-tabs .nav-tabs,
.tab-nav-underline { border-bottom: 1px solid var(--g-line); }

.product-tabs .nav-link {
    font-family: var(--g-font);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
    color: var(--g-muted);
    padding: 14px 0;
}

.product-tabs .nav-link.active, .product-tabs .nav-link:hover { color: var(--g-ink); }

.product-tabs .tab-content,
.product-tabs .tab-pane { font-size: 15px; line-height: 1.7; color: var(--g-text); }

/* Info boxes (delivery, pay on delivery …) */
.icon-box-wrapper, .widget-icon-box, .icon-box-side-wrapper {
    border: 1px solid var(--g-line) !important;
    border-radius: var(--g-radius);
    background: #fff;
    box-shadow: none;
}

.icon-box .icon-box-icon { color: var(--g-primary); }

.icon-box .icon-box-title {
    font-family: var(--g-font);
    font-size: 14.5px;
    font-weight: 700;
    letter-spacing: 0;
    color: var(--g-ink);
}

.icon-box p { font-size: 13px; color: var(--g-muted); }

/* Section headings ("Още продукти" …) */
.title-link-wrapper {
    border-bottom: 1px solid var(--g-line);
    padding-bottom: 12px;
    margin-bottom: 20px;
}

.title-link-wrapper::after { display: none; }

.title-link-wrapper .title,
h2.title, h4.title {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -.01em;
    text-transform: none;
    padding: 0;
}

.title-link-wrapper a {
    font-size: 14px;
    font-weight: 600;
    color: var(--g-primary);
}

/* Promo banners (hydrogel) */
.category-wrapper .banner-title {
    font-family: var(--g-font);
    font-size: clamp(19px, 1.9vw, 26px);
    font-weight: 700;
    letter-spacing: -.02em !important;
    margin-bottom: 6px !important;
}

.category-wrapper .banner-price-info { font-size: 13px; letter-spacing: .04em; color: var(--g-text) !important; }
.category-wrapper .banner-divider { background: var(--g-line) !important; }
.category-wrapper .btn.btn-link { color: var(--g-primary); font-weight: 700; }
.category-wrapper .btn.btn-link::after { background: var(--g-primary); }

/* the wrappers carry a heavy inline shadow */
.category-wrapper [style*="box-shadow"] {
    box-shadow: none !important;
    border: 1px solid var(--g-line);
    border-radius: var(--g-radius-lg);
    overflow: hidden;
    transition: box-shadow .2s ease, transform .2s ease;
}

.category-wrapper [style*="box-shadow"]:hover { box-shadow: var(--g-shadow) !important; transform: translateY(-2px); }

.banner.div-background-image-hydrogel,
.category-banner, .banner-fixed.br-sm {
    border-radius: var(--g-radius-lg);
    overflow: hidden;
}

/* ---------- Home ---------- */

.intro-section { margin-bottom: 32px; }

.intro-section .intro-slide { background-color: #fff !important; }

.intro-section .slide-image img { border-radius: var(--g-radius-lg); }

.intro-section .banner-content { max-width: 440px; }

.intro-section .banner-subtitle {
    font-family: var(--g-font);
    font-size: 13px;
    letter-spacing: .12em;
    color: var(--g-muted);
}

.intro-section .banner-title {
    font-family: var(--g-font);
    font-size: clamp(26px, 2.9vw, 40px);
    font-weight: 800;
    letter-spacing: -.03em !important;
    line-height: 1.12;
}

.intro-section .btn.btn-outline {
    padding: 14px 28px;
    font-size: 15px;
    background: var(--g-ink);
    border: 1px solid var(--g-ink);
    color: #fff;
}

.intro-section .btn.btn-outline:hover {
    background: var(--g-primary);
    border-color: var(--g-primary);
    color: #fff;
}

.text-primary { color: var(--g-primary) !important; }
.text-secondary { color: var(--g-accent) !important; }

.swiper-pagination .swiper-pagination-bullet { background: #cbd5e1; opacity: 1; }
.swiper-pagination .swiper-pagination-bullet-active { background: var(--g-primary); }

.swiper-theme .swiper-button-next,
.swiper-theme .swiper-button-prev {
    width: 40px;
    height: 40px;
    border: 1px solid var(--g-line);
    border-radius: 50%;
    background: #fff;
    color: var(--g-ink);
    font-size: 18px;
    box-shadow: var(--g-shadow-sm);
}

.swiper-theme .swiper-button-next:hover,
.swiper-theme .swiper-button-prev:hover {
    background: var(--g-primary);
    border-color: var(--g-primary);
    color: #fff;
}

/* ---------- Cart, checkout, orders ---------- */

.breadcrumb {
    font-size: 13px;
    color: var(--g-muted);
    padding: 4px 0 16px;
}

.shop-breadcrumb li, .shop-breadcrumb li a {
    font-family: var(--g-font);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    color: #94a3b8;
}

.shop-breadcrumb li.active, .shop-breadcrumb li.active a,
.shop-breadcrumb li.passed a { color: var(--g-ink); }

.shop-table { border-collapse: separate; border-spacing: 0; }

.shop-table th {
    font-family: var(--g-font);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--g-muted);
    border-bottom: 1px solid var(--g-line);
    padding-top: 10px;
    padding-bottom: 10px;
}

.shop-table td {
    border-bottom: 1px solid var(--g-line);
    font-size: 15px;
    color: var(--g-ink);
    vertical-align: middle;
}

.shop-table .product-thumbnail img,
.shop-table .product-thumbnail figure {
    border-radius: var(--g-radius-sm);
    background: var(--g-surface);
}

.shop-table .product-name a { color: var(--g-ink); font-weight: 500; }
.shop-table .product-name a:hover { color: var(--g-primary); }
.shop-table .product-subtotal, .shop-table .amount { font-weight: 700; }

.shop-table .btn-close,
.product-cart .btn-close {
    width: 24px;
    height: 24px;
    padding: 0;
    border: 1px solid var(--g-line);
    border-radius: 50%;
    background: #fff;
    color: var(--g-muted);
    font-size: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.shop-table .btn-close:hover,
.product-cart .btn-close:hover {
    border-color: var(--g-danger);
    color: var(--g-danger);
    background: #fff;
}

.cart-table .input-group .form-control { height: 42px; text-align: center; }

.cart-summary,
.order-summary-wrapper .order-summary,
.order-summary,
.order-details-wrapper,
.coupon {
    border: 1px solid var(--g-line) !important;
    border-radius: var(--g-radius);
    background: #fff;
}

.cart-summary, .order-summary, .order-details-wrapper { padding: 22px 24px; }
.coupon { padding: 20px 24px; }

.cart-summary .cart-title,
.order-summary-wrapper > .title,
.billing-title,
.order-details-wrapper > .title,
.coupon-title {
    font-family: var(--g-font);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: var(--g-ink);
}

.cart-summary .order-total,
.order-table .order-total,
.order-table tr.total td, .order-table tr.total th {
    font-size: 18px;
    font-weight: 700;
    color: var(--g-ink);
}

.cart-summary .btn,
.place-order .btn {
    height: 52px;
    border-radius: var(--g-radius);
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.order-table td, .order-table th {
    font-size: 14.5px;
    border-color: var(--g-line);
}

.main .form-control-md:not([type="checkbox"]):not([type="radio"]) {
    min-height: 46px;
}

.main .form-check {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 6px;
    padding-bottom: 6px;
}

.main .form-check .form-check-input { position: static; margin: 0; width: 18px; height: 18px; flex: none; }
.main .form-check .form-check-label { margin: 0; font-weight: 500; cursor: pointer; }

.order-success {
    border: 1px solid #bbf7d0;
    background: #f0fdf4;
    color: var(--g-success) !important;
    border-radius: var(--g-radius);
    padding: 18px 20px;
    font-size: 17px;
}

.order-success i { border-color: currentColor; color: inherit; }

.order-view {
    border: 1px solid var(--g-line);
    border-radius: var(--g-radius);
    background: var(--g-surface);
}

/* Cart drawer */
.cart-offcanvas .dropdown-box {
    font-family: var(--g-font);
    box-shadow: -20px 0 50px -20px rgba(15, 23, 42, .3);
}

.cart-offcanvas .cart-header { border-bottom: 1px solid var(--g-line); padding-bottom: 16px; }

.cart-offcanvas .cart-header .btn-close,
.cart-offcanvas .cart-header span { font-size: 15px; font-weight: 700; text-transform: none; letter-spacing: 0; color: var(--g-ink); }

.cart-offcanvas .product-cart { border-bottom: 1px solid var(--g-line); }
.cart-offcanvas .product-cart .product-media { border-radius: var(--g-radius-sm); overflow: hidden; background: var(--g-surface); }
.cart-offcanvas .product-cart .product-name { font-size: 14px; font-weight: 500; }
.cart-offcanvas .product-cart .product-price { font-size: 15px; }
.cart-offcanvas .cart-total { border: 0; font-size: 16px; }
.cart-offcanvas .cart-total .price { font-weight: 700; color: var(--g-ink); }
.cart-offcanvas .cart-action .btn { border-radius: var(--g-radius-sm); padding: 13px 10px; }

/* "Added to cart" toast */
.minipopup-box {
    border: 1px solid var(--g-line);
    border-radius: var(--g-radius);
    box-shadow: var(--g-shadow);
    font-family: var(--g-font);
}

.minipopup-box .product-action .btn { border-radius: var(--g-radius-sm); }

/* ---------- Account ---------- */

.page-header {
    background: var(--g-surface) !important;
    border-radius: var(--g-radius-lg);
    height: auto;
    padding: 36px 20px;
    margin-bottom: 24px;
}

.page-header .page-title { margin: 0; color: var(--g-ink); }

.tab-vertical .nav-tabs {
    border: 1px solid var(--g-line);
    border-radius: var(--g-radius);
    padding: 8px;
    background: #fff;
}

.tab-vertical .nav-tabs .nav-item { border: 0; }

.tab-vertical .nav-tabs .nav-link {
    font-family: var(--g-font);
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    color: var(--g-text);
}

.tab-vertical .nav-tabs .nav-link::after { display: none; }

.tab-vertical .nav-tabs .nav-link.active,
.tab-vertical .nav-tabs .nav-link:hover {
    background: var(--g-primary-soft);
    color: var(--g-primary);
}

.account-orders-table td, .account-orders-table th { padding-left: 12px; padding-right: 12px; }

/* ---------- Brand / model lists ---------- */

.brand-col1 .brand-wrap, .brand-wrap {
    border: 1px solid var(--g-line);
    border-radius: var(--g-radius);
    background: #fff;
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.brand-wrap:hover {
    border-color: var(--g-primary);
    box-shadow: var(--g-shadow);
    transform: translateY(-2px);
}

/* Brand / model index (/tags/list) */
.content-title-section .title {
    font-size: clamp(24px, 2.6vw, 32px);
    font-weight: 700;
    letter-spacing: -.02em;
}

.content-title-section .description { font-size: 15px; color: var(--g-muted); }

.page-content.faq section > h4.title {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 0;
    border-radius: var(--g-radius-sm);
    background: var(--g-primary-soft);
    color: var(--g-primary);
    font-size: 17px;
    margin-bottom: 14px !important;
}

.page-content.faq section > h4.title::after,
.page-content.faq section > h4.title::before { display: none; }

.page-content.faq section .row > [class*="col-"] > a {
    display: block;
    padding: 7px 10px;
    margin: 0 -10px;
    border-radius: 8px;
    font-size: 14.5px;
    color: var(--g-text);
}

.page-content.faq section .row > [class*="col-"] > a:hover {
    background: var(--g-surface);
    color: var(--g-primary);
}

/* ---------- Footer ---------- */

.footer {
    font-family: var(--g-font);
    background: var(--g-ink);
    color: #cbd5e1;
    margin-top: 56px;
}

.footer .footer-top {
    padding: 48px 0 28px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.footer .logo-footer img {
    height: 72px !important;
    width: auto;
    margin-bottom: 18px;
}

.footer .widget-about-title {
    font-size: 14px !important;
    font-weight: 400;
    color: #94a3b8 !important;
    margin-bottom: 4px;
}

.footer .widget-about-call {
    font-size: 22px !important;
    font-weight: 700;
    letter-spacing: 0;
    color: #fff !important;
}

.footer .widget-about-call:hover { color: #93b4ff !important; }

.footer .widget-title {
    font-family: var(--g-font);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: 14px;
}

.footer .widget-body li { margin-bottom: 8px; }

.footer .widget-body a,
.footer .widget-body li a {
    font-size: 15px;
    color: #e2e8f0;
}

.footer .widget-body a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.footer .social-icons { margin-top: 16px; }

.footer .social-icon {
    width: 38px;
    height: 38px;
    line-height: 36px;
    border: 1px solid rgba(255, 255, 255, .18) !important;
    border-radius: 50%;
    background: transparent !important;
    color: #e2e8f0 !important;
    font-size: 16px;
    margin-right: 8px;
    transition: background .15s ease, border-color .15s ease;
}

.footer .social-icon:hover {
    background: var(--g-primary) !important;
    border-color: var(--g-primary) !important;
    color: #fff !important;
}

.footer .footer-bottom {
    border: 0;
    padding: 20px 0 28px;
}

.footer .footer-bottom .copyright,
.footer .footer-bottom p { font-size: 13px; color: #94a3b8; }

/* Scroll-to-top */
.scroll-top {
    border-radius: 50%;
    background: var(--g-ink);
    color: #fff;
    border: 0;
    box-shadow: var(--g-shadow);
}

.scroll-top:hover { background: var(--g-primary); color: #fff; }

/* ---------- Mobile menu / sidebar drawers ---------- */

/* While a drawer is open the sticky header must sit under its overlay. */
body.mmenu-active .header,
body.sidebar-active .header { z-index: 0; }

.mobile-menu-container { font-family: var(--g-font); background: var(--g-ink); }

.mobile-menu-container .nav-link,
.mobile-menu-container .nav-tabs .nav-link {
    text-transform: none;
    letter-spacing: 0;
    font-size: 15px;
    font-weight: 700;
    color: #fff !important;
    border-color: rgba(255, 255, 255, .25);
}

.mobile-menu,
.mobile-menu li,
.mobile-menu li a { background: transparent !important; }

.mobile-menu li a {
    border-color: rgba(255, 255, 255, .08);
    padding-top: 14px;
    padding-bottom: 14px;
    color: #e2e8f0;
}

.mobile-menu li a:hover { color: #fff; }

.header-search .dropdown .dropdown-content a { font-family: var(--g-font); }

/* ---------- Loading indicator ---------- */

.lds-ring div { border-color: var(--g-primary) transparent transparent transparent; }

/* ---------- Small screens ---------- */

@media (max-width: 991px) {
    .header .logo img,
    .header-middle .logo img { height: 48px !important; padding: 0 !important; }

    .header-middle .logo { margin: 0 auto 0 12px !important; width: auto !important; padding: 0 !important; }

    .header { margin-bottom: 18px !important; }

    .shop-sidebar .sidebar-content { background: #fff; padding: 20px 16px; }
}

@media (max-width: 767px) {
    .mobile-container-div { padding: 0 0 10px; margin: 0 !important; }

    .mobile-container-div .header-search.hs-round {
        max-width: none !important;
        width: 100%;
        height: 44px;
    }

    .mobile-container-div .header-search .dropdown { width: auto !important; }

    .mobile-container-div .header-search.hs-round .form-control { height: 42px; font-size: 16px; }
    .mobile-container-div .header-search.hs-round .btn-search { height: 42px; }

    .header-bottom { display: none; }

    .product-wrapper { row-gap: 12px; }

    .product-wrap .product .product-details,
    .swiper-slide > .product .product-details { padding: 10px 10px 12px; }

    .product .product-name { font-size: 13.5px; margin-bottom: 8px; }
    .product-wrap .product .product-price { font-size: 16px; }
    .product .product-action-horizontal.mini-horizontal-bar { padding: 8px 10px 0; }
    .product .mini-circle { width: 12px !important; height: 12px !important; }

    .product-single .product-price { font-size: 28px; }

    #AddToCartContainer .product-form { gap: 10px; }
    #AddToCartContainer select.form-control { min-width: 0; width: 100%; }
    #AddToCartContainer .product-qty-form { flex: 1 1 100%; }
    #AddToCartContainer .product-qty-form .form-group { width: 100%; }

    /* hero text sits on top of the photo on phones: give it a readable backing */
    .intro-section .banner-content {
        max-width: 78%;
        padding: 14px 16px;
        border-radius: var(--g-radius);
        background: rgba(255, 255, 255, .88);
    }

    .intro-section .banner-subtitle { font-size: 11px; }
    .intro-section .btn.btn-outline { padding: 11px 20px; font-size: 14px; }
    #AddToCartContainer .btn { flex: 1 1 100%; }

    .footer { margin-top: 36px; }
    .footer .footer-top { padding-top: 32px; }

    .cart-summary, .order-summary, .coupon { padding: 18px 16px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation-duration: .01ms !important; }
}

/* ---------- Loading & entrance animations ---------- */

@keyframes g-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes g-fade-up { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes g-pop { from { opacity: 0; transform: translateY(-6px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes g-shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@keyframes g-progress { 0% { transform: translateX(-100%); } 60% { transform: translateX(-12%); } 100% { transform: translateX(-4%); } }
@keyframes g-spin { to { transform: rotate(360deg); } }

/* Page content eases in on every navigation */
main.main > .container,
main.main > .intro-section { animation: g-fade .35s ease backwards; }

/* Product cards rise in, lightly staggered; cards appended by infinite scroll animate the same way */
.product-wrapper > .product-wrap { animation: g-fade-up .45s cubic-bezier(.2, .7, .2, 1) backwards; }
.product-wrapper > .product-wrap:nth-child(4n+2) { animation-delay: .05s; }
.product-wrapper > .product-wrap:nth-child(4n+3) { animation-delay: .1s; }
.product-wrapper > .product-wrap:nth-child(4n+4) { animation-delay: .15s; }

/* Content swapped in by a request: filters, product variant, sidebar, cart, search results */
#featuresBaseContainer > *,
#contentSubjectToReload > *,
.cart-dropdown > .dropdown-box > *,
.minipopup-box { animation: g-fade .3s ease backwards; }

.header-search .dropdown-content:not(.htmx-indicator),
.category-dropdown.show .dropdown-box { animation: g-pop .18s ease backwards; }

/* Image placeholders shimmer until the picture has arrived (class set by js/modern.js) */
.g-img-loading {
    background-image: linear-gradient(100deg, var(--g-surface) 30%, #eceef2 50%, var(--g-surface) 70%) !important;
    background-size: 200% 100% !important;
    animation: g-shimmer 1.3s linear infinite;
}

.g-img-loading img { opacity: 0; }

.product-media img,
.product-image img,
.product-thumb img,
.slide-image img { transition: opacity .35s ease, transform .35s ease; }

/* While a request is replacing a region, dim it instead of letting it freeze */
.g-busy {
    opacity: .45;
    pointer-events: none;
    transition: opacity .15s ease;
}

#productsBaseContainer, #contentSubjectToReload, #featuresBaseContainer { transition: opacity .2s ease; }

/* Thin progress bar at the very top during background requests */
.g-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 10000;
    pointer-events: none;
    opacity: 0;
    transition: opacity .25s ease .1s;
    overflow: hidden;
}

.g-progress::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--g-primary), #4f8cff);
    transform: translateX(-100%);
}

.g-progress.is-active { opacity: 1; transition-delay: 0s; }
.g-progress.is-active::before { animation: g-progress 8s cubic-bezier(.1, .7, .1, 1) forwards; }
.g-progress.is-done::before { transform: none; transition: transform .2s ease; }

/* Spinners */
.lds-ring { display: inline-block; width: 28px; height: 28px; position: relative; }

.lds-ring div {
    position: absolute;
    inset: 0;
    border: 3px solid transparent;
    border-top-color: var(--g-primary);
    border-radius: 50%;
    animation: g-spin .8s linear infinite;
    margin: 0;
    width: auto;
    height: auto;
}

.lds-ring div:nth-child(n+2) { display: none; }

/* Buttons show they were pressed while the next page loads */
.btn.g-pending { opacity: .75; pointer-events: none; }
.btn.g-pending::after {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-left: 10px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    vertical-align: -2px;
    animation: g-spin .7s linear infinite;
    position: static;
    background: none;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    main.main > .container, main.main > .intro-section, .product-wrapper > .product-wrap,
    #featuresBaseContainer > *, #contentSubjectToReload > *, .g-img-loading { animation: none !important; }
    .g-img-loading img { opacity: 1; }
}

/* ---------- Attention hints on the product page ----------
   The theme "beats" unselected options, the quantity box and the Add button every half second.
   Keep the hint, but make it a slow, barely-there breath. */

@keyframes g-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
@keyframes g-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(8, 65, 174, 0); }
    50% { box-shadow: 0 0 0 6px rgba(8, 65, 174, .14); }
}

.default-animation,
.default-animation-small {
    animation: none;
    transform-origin: center;
}

/* colour / size options that still need choosing */
.product-single .product-variations .default-animation,
.product-single .product-variations .default-animation-small {
    animation: g-breathe 2.8s ease-in-out infinite;
}

.product-single .product-variations .default-animation:nth-child(2n),
.product-single .product-variations .default-animation-small:nth-child(2n) { animation-delay: .35s; }

.product-single .product-variations .default-animation:hover,
.product-single .product-variations .default-animation-small:hover { animation-play-state: paused; }

/* the Add button gets a soft halo instead of changing size; form fields stay still */
.btn.default-animation,
.btn.default-animation-small { animation: g-glow 2.8s ease-in-out infinite; }

.btn.default-animation:hover,
.btn.default-animation-small:hover { animation: none; }

@media (prefers-reduced-motion: reduce) {
    .default-animation, .default-animation-small { animation: none !important; }
}

/* ---------- Alignment pass: product page, cart, checkout ---------- */

/* Quantity + Add: same height, real gap, nothing overflowing its box */
#AddToCartContainer .product-form { align-items: stretch; gap: 12px; margin: 0; }

#AddToCartContainer .product-qty-form {
    flex: none;
    width: auto;
    max-width: none;
    height: auto;
    margin: 0;
    padding: 0;
    border: 0;
}

#AddToCartContainer .product-qty-form .form-group { height: 52px; margin: 0; }

#AddToCartContainer select.form-control {
    width: 170px;
    min-width: 0;
    height: 52px;
    min-height: 0;
    margin: 0;
}

#AddToCartContainer .btn,
#AddToCartContainer .btn.real-cart-button { height: 52px; min-height: 0; margin: 0; }

.product-single .product-form { margin-bottom: 0; }
.product-single .product-form.product-variation-form { margin-bottom: 20px; }

/* Description / specification blocks */
.product-tabs { margin-top: 36px; margin-bottom: 0; }
.product-tabs .product-tabs { margin-top: 28px; }

.product-tabs .nav-tabs { margin: 0; }
.product-tabs .nav-item { margin: 0 28px 0 0; }
.product-tabs .nav-link { padding: 0 0 12px; }

.product-tabs > .tab-content { padding: 18px 0 0; border: 0; }
.product-tabs .tab-pane { padding: 0; }
.product-tabs .tab-pane > .row { margin-bottom: 0 !important; }
.product-tabs .tab-pane p:last-child { margin-bottom: 0; }

.product-tabs ul.list-none { margin: 0; padding: 0; }

.product-tabs ul.list-none > li {
    display: flex;
    align-items: baseline;
    gap: 16px;
    margin: 0;
    padding: 11px 0;
    border-bottom: 1px solid var(--g-line);
}

.product-tabs ul.list-none > li:last-child { border-bottom: 0; }

.product-tabs ul.list-none > li > label {
    flex: 0 0 210px;
    max-width: 45%;
    margin: 0;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--g-ink);
}

.product-tabs ul.list-none > li > p { flex: 1; margin: 0; font-size: 14.5px; color: var(--g-text); }

/* "More products" */
.related-product-section { margin: 40px 0 28px !important; }

.title-link-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0 0 12px;
    margin: 0 0 20px !important;
}

.title-link-wrapper .title { margin: 0; line-height: 1.3; }
.title-link-wrapper .btn.btn-link { padding: 0; margin: 0; line-height: 1.3; }

.related-product-section .swiper-slide.product {
    height: auto;
    display: flex;
    flex-direction: column;
    background: var(--g-card);
    border: 1px solid var(--g-line);
    border-radius: var(--g-radius);
    overflow: hidden;
    text-align: left;
    transition: box-shadow .2s ease, border-color .2s ease;
}

.related-product-section .swiper-slide.product:hover { border-color: #d5dae3; box-shadow: var(--g-shadow); }

.related-product-section .swiper-slide.product .product-media { margin: 0; background: var(--g-surface); }

.related-product-section .swiper-slide.product .product-media img {
    width: 100%;
    height: auto;
    aspect-ratio: 300 / 338;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.related-product-section .swiper-slide.product .product-details {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 12px 14px 16px;
}

.related-product-section .swiper-slide.product .product-price { font-size: 17px; margin: 0; }

.category-wrapper { margin-top: 8px; }

/* Cart / checkout: breadcrumb steps */
.breadcrumb-nav { margin: 0; padding: 0; border: 0; background: transparent; }
.breadcrumb-nav .container { padding-top: 0; padding-bottom: 0; }

.breadcrumb.shop-breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4px 0 24px;
    margin: 0;
}

/* Checkout: both columns start at the same line */
.page-content .billing-title,
.order-summary-wrapper > .title {
    margin: 0 0 14px !important;
    padding: 0 !important;
    line-height: 1.3;
}

.page-content .billing-title:not(:first-child) { margin-top: 12px !important; }

.order-summary-wrapper { margin: 0; padding: 0; border: 0; }

.main .form-group { margin-bottom: 14px; }
.main .form-group > label, .main .form-group label:not(.form-check-label) { display: block; margin-bottom: 6px; line-height: 1.3; }

/* Order summary table */
.order-table { width: 100%; }
.order-table th { padding: 0 0 12px; text-align: left; font-size: 15px; color: var(--g-ink); border-bottom: 1px solid var(--g-line); }
.order-table td { padding: 12px 0; vertical-align: top; }

.order-table td.product-name,
.order-table td:first-child { white-space: normal !important; padding-right: 16px; line-height: 1.45; }

.order-table td.product-name .fa-times { font-size: 10px; margin: 0 4px 0 6px; color: var(--g-muted); }
.order-table td.product-name .product-quantity { font-weight: 700; color: var(--g-ink); }

.order-table td.product-total,
.order-table td:last-child {
    white-space: nowrap !important;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.order-table tr.cart-subtotal td { padding-top: 14px; border-top: 1px solid var(--g-line); font-size: 15px; }
.order-table tr.cart-subtotal + tr.cart-subtotal td { border-top: 0; padding-top: 0; }

.place-order { padding-top: 16px !important; }

/* Cart drawer line: "2 × 8.99 €" */
.cart-offcanvas .product-cart .price-box { display: flex; align-items: baseline; gap: 6px; }
.cart-offcanvas .product-cart .product-quantity { font-weight: 600; color: var(--g-text); }
.cart-offcanvas .product-cart .product-quantity::after { content: "×"; margin-left: 6px; color: var(--g-muted); font-weight: 400; }

/* ---------- Fixes: category menu hover bridge, hero slide visibility ---------- */

/* The menu sits 8px under its button; an invisible bridge keeps it open while the pointer crosses the gap. */
.category-dropdown .dropdown-box::before {
    content: "";
    display: block !important;
    position: absolute;
    left: 0;
    right: 0;
    top: -14px;
    height: 14px;
    border: 0;
    background: transparent;
    transform: none;
}

/* Hero text and picture must never sit invisible waiting for the theme's entrance animation:
   keep them opaque and let only the movement animate. */
.intro-section .swiper-slide .slide-animate { opacity: 1 !important; }
.intro-section .swiper-slide:not(.swiper-slide-active) .slide-animate { opacity: 0 !important; transition: opacity .25s ease; }
.intro-section .g-img-loading img { opacity: 1; }

/* ---------- Search inside long filter lists ---------- */

.g-filter-search {
    position: relative;
    margin: 0 0 10px;
}

.g-filter-search input {
    width: 100%;
    height: 38px;
    padding: 0 12px 0 34px;
    border: 1px solid var(--g-line);
    border-radius: 999px;
    background: var(--g-surface);
    font-family: var(--g-font);
    font-size: 14px;
    color: var(--g-ink);
    outline: 0;
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.g-filter-search input:focus { background: #fff; border-color: var(--g-primary); box-shadow: var(--g-ring); }
.g-filter-search input::placeholder { color: #94a3b8; }
.g-filter-search input::-webkit-search-cancel-button { cursor: pointer; }

.g-filter-search::before {
    content: "";
    position: absolute;
    left: 12px;
    top: 50%;
    width: 14px;
    height: 14px;
    transform: translateY(-50%);
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.6-3.6'/%3E%3C/svg%3E") center / contain no-repeat;
    pointer-events: none;
}

.g-filter-empty { display: none; padding: 6px 0 2px; font-size: 13.5px; color: var(--g-muted); }
.widget.g-searching .g-filter-empty.is-shown { display: block; }
.widget.g-searching .accordion .card-header { display: none; }
.widget.g-searching .accordion .card-body { display: block !important; height: auto !important; padding-top: 0; }
.widget.g-searching li.mt-3 { margin: 0 !important; padding: 0; display: block; }
.shop-sidebar .filter-items li.g-hidden, .shop-sidebar .accordion ol li.g-hidden { display: none !important; }

.shop-sidebar .accordion ol > li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 0;
}

.shop-sidebar .accordion ol .form-checkbox { width: 18px !important; height: 18px !important; margin: 0; flex: none; }
.shop-sidebar .accordion ol label { font-size: 14.5px !important; padding: 0 !important; margin: 0; cursor: pointer; color: var(--g-text); }
.shop-sidebar .accordion .card-body { max-height: 320px; overflow-y: auto; }

/* ---------- Brand / model index: letter navigation ---------- */

.g-index-tools {
    position: sticky;
    top: 132px;
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 14px 0;
    margin: 0 0 18px;
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid var(--g-line);
}

.g-index-tools .g-filter-search { max-width: 420px; margin: 0; }
.g-index-tools .g-filter-search input { height: 44px; font-size: 15px; padding-left: 40px; }
.g-index-tools .g-filter-search::before { left: 15px; width: 16px; height: 16px; }

.g-letters { display: flex; flex-wrap: wrap; gap: 8px; }

.g-letter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--g-line);
    border-radius: var(--g-radius-sm);
    background: #fff;
    color: var(--g-ink);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease, color .15s ease, transform .15s ease, box-shadow .15s ease;
}

.g-letter small { font-size: 11px; font-weight: 600; color: var(--g-muted); }
.g-letter:hover { border-color: var(--g-primary); color: var(--g-primary); transform: translateY(-1px); }
.g-letter.is-active { background: var(--g-primary); border-color: var(--g-primary); color: #fff; }
.g-letter.is-active small { color: rgba(255, 255, 255, .8); }

/* "Zoomed out": only the letters, as a grid of tiles */
.g-index.g-mode-grid .g-letter-section,
.g-index.g-mode-grid .g-index-tools .g-filter-search { display: none; }

.g-index.g-mode-grid .g-index-tools { position: static; border: 0; padding-top: 4px; }

.g-index.g-mode-grid .g-letters {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
    gap: 14px;
}

.g-index.g-mode-grid .g-letter {
    flex-direction: column;
    height: 104px;
    border-radius: var(--g-radius);
    font-size: 30px;
    animation: g-fade-up .35s cubic-bezier(.2, .7, .2, 1) backwards;
}

.g-index.g-mode-grid .g-letter small { font-size: 12px; }
.g-index.g-mode-grid .g-letter:hover { box-shadow: var(--g-shadow); transform: translateY(-3px); }
.g-index.g-mode-grid .g-letter[data-letter=""] { font-size: 16px; }

.g-index.g-mode-one .g-letter-section:not(.is-current) { display: none; }
.g-letter-section.is-current, .g-letter-section.g-in { animation: g-fade-up .3s ease backwards; }
.g-letter-section.g-hidden, .g-letter-section .row > .g-hidden { display: none !important; }

.page-content.faq section > h4.title { padding: 0; background: transparent; }

.page-content.faq section > h4.title > .g-letter-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 44px;
    height: 44px;
    padding: 0 14px;
    border-radius: var(--g-radius-sm);
    background: var(--g-primary-soft);
    color: var(--g-primary);
    font-size: 18px;
    font-weight: 700;
    transition: background .15s ease, color .15s ease, transform .15s ease;
}

.page-content.faq section > h4.title > .g-letter-back::after {
    content: "";
    width: 14px;
    height: 14px;
    opacity: .7;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230841ae'%3E%3Crect x='3' y='3' width='7' height='7' rx='1.5'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1.5'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1.5'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.page-content.faq section > h4.title > .g-letter-back:hover { background: var(--g-primary); color: #fff; transform: scale(1.04); }
.page-content.faq section > h4.title > .g-letter-back:hover::after { filter: brightness(0) invert(1); opacity: 1; }

.g-index-empty { display: none; padding: 24px 0; font-size: 15px; color: var(--g-muted); }
.g-index-empty.is-shown { display: block; }

@media (max-width: 991px) { .g-index-tools { top: 70px; } }
@media (max-width: 767px) {
    .g-index-tools { top: 112px; padding: 10px 0; }
    .g-index:not(.g-mode-grid) .g-letters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
    .g-index:not(.g-mode-grid) .g-letters::-webkit-scrollbar { display: none; }
    .g-index:not(.g-mode-grid) .g-letter { flex: none; }
    .g-index.g-mode-grid .g-letters { grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 10px; }
    .g-index.g-mode-grid .g-letter { height: 80px; font-size: 24px; }
}

/* ---------- Design pass 2: motion and polish ---------- */

/* Cross-fade between pages where the browser supports it */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: g-fade .18s ease reverse both; }
::view-transition-new(root) { animation: g-fade .26s ease both; }

/* Header gains a shadow once the page is scrolled */
.header { transition: box-shadow .25s ease; }
html.g-scrolled .header { box-shadow: 0 10px 30px -18px rgba(15, 23, 42, .35); }

/* Scroll reveal (class added by js/modern.js, so nothing is hidden without it) */
.g-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.g-reveal.is-in { opacity: 1; transform: none; }

/* Buttons: arrow nudges forward, press feels physical */
.btn i[class*="arrow-right"] { display: inline-block; transition: transform .2s ease; }
.btn:hover i[class*="arrow-right"] { transform: translateX(4px); }
.btn i[class*="arrow-left"] { display: inline-block; transition: transform .2s ease; }
.btn:hover i[class*="arrow-left"] { transform: translateX(-4px); }
.btn:active { transform: translateY(1px) scale(.985); }

/* Section headings get a short accent bar */
main.main > .container > h1,
main.main > .container > h2.title,
.content-title-section .title { position: relative; }

.title-link-wrapper .title { position: relative; padding-left: 14px; }

.title-link-wrapper .title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 4px;
    height: 18px;
    transform: translateY(-50%);
    border-radius: 2px;
    background: linear-gradient(180deg, var(--g-primary), #4f8cff);
}

/* Service highlights */
.icon-box-wrapper .icon-box,
.widget-icon-box .icon-box { transition: transform .2s ease; }

.icon-box-wrapper .icon-box:hover,
.widget-icon-box .icon-box:hover { transform: translateY(-2px); }

.icon-box .icon-box-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--g-primary-soft);
    color: var(--g-primary) !important;
    font-size: 24px;
    margin-right: 14px;
    transition: background .2s ease, color .2s ease;
}

.icon-box:hover .icon-box-icon { background: var(--g-primary); color: #fff !important; }
.icon-box .icon-box-icon i { font-size: inherit; margin: 0; }

/* Product card: price accent and quiet "view" affordance */
.product-wrap > .product .product-price,
.related-product-section .swiper-slide.product .product-price { color: var(--g-primary); }

.product-wrap > .product .product-media::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 3px;
    background: linear-gradient(90deg, var(--g-primary), #4f8cff);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s ease;
}

.product-wrap > .product .product-media { position: relative; }
.product-wrap > .product:hover .product-media::after { transform: scaleX(1); }

/* Hero: soft stage behind the slides, floating picture */
.intro-section .swiper-container { border-radius: 0; }

@keyframes g-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.intro-section .swiper-slide-active .slide-image img { animation: g-float 7s ease-in-out infinite; }

.intro-section .banner-title span { position: relative; white-space: nowrap; }

/* Cart badge pops when the number changes */
@keyframes g-badge-pop { 0% { transform: scale(1); } 40% { transform: scale(1.45); } 100% { transform: scale(1); } }
.cart-count.g-bump { animation: g-badge-pop .45s cubic-bezier(.2, .9, .3, 1.4); }

/* Category menu rows slide in */
.category-dropdown.show .category-menu > li,
.category-dropdown:hover .category-menu > li { animation: g-fade-up .25s ease backwards; }
.category-menu > li:nth-child(2) { animation-delay: .03s !important; }
.category-menu > li:nth-child(3) { animation-delay: .06s !important; }
.category-menu > li:nth-child(4) { animation-delay: .09s !important; }
.category-menu > li:nth-child(n+5) { animation-delay: .12s !important; }
.category-menu > li > a { transition: background .15s ease, color .15s ease, padding-left .15s ease; }
.category-menu > li > a:hover { padding-left: 18px; }

/* Footer links: underline grows from the left */
.footer .widget-body li a {
    background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
    transition: background-size .25s ease, color .15s ease;
    padding-bottom: 2px;
}

.footer .widget-body li a:hover { background-size: 100% 1px; text-decoration: none; }

/* Inputs lift their label colour on focus */
.form-group:focus-within > label { color: var(--g-primary); transition: color .15s ease; }

/* Checkbox tick eases in */
input[type="checkbox"].form-checkbox { transition: transform .12s ease; }
input[type="checkbox"].form-checkbox:active { transform: scale(.88); }

/* Scroll-to-top eases */
.scroll-top { transition: transform .2s ease, background .2s ease, opacity .25s ease; }
.scroll-top:hover { transform: translateY(-3px); }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .g-reveal { opacity: 1; transform: none; }
    .intro-section .swiper-slide-active .slide-image img { animation: none; }
    ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

/* small alignment fixes */
.cart-table td p { margin: 0; }
.related-product-section .swiper-container { padding: 1px 1px 6px; margin: -1px -1px 0; }
.shop-sidebar .accordion ol { margin: 0; }
.shop-sidebar .accordion ol > li { line-height: 1.4; min-height: 0; height: auto; margin: 0; border: 0; }
.shop-sidebar .accordion ol > li label { line-height: 1.4; }
.shop-sidebar .accordion .card-body { line-height: 1.4; }

/* The dot row lives inside the image box, which clips at its edge: keep the dots clear of that edge. */
.product .product-action-horizontal.mini-horizontal-bar { padding: 12px 15px 6px; background: var(--g-card); }
.product .mini-horizontal-bar .product-variations { min-height: 16px; padding: 1px 0; overflow: visible; }
.product-wrap .product .product-media + .product-details { padding-top: 6px; }

@media (max-width: 767px) {
    .product .product-action-horizontal.mini-horizontal-bar { padding: 9px 10px 5px; }
}

/* Grey stage only behind the photo; the dot row and anything below it stay on the card's white. */
.product-wrap .product .product-media { background: var(--g-card); }
.product-wrap .product .product-media > a { background: var(--g-surface); }
.product .product-action-horizontal.mini-horizontal-bar { margin: 0; border-radius: 0; width: 100%; left: auto; right: auto; bottom: auto; }


/* ---------- Filters: "see more" expands in place, full width, same rows as the list above ---------- */

.shop-sidebar .filter-items .form-checkbox,
.shop-sidebar .accordion ol .form-checkbox { min-height: 0 !important; padding: 0; border-radius: 4px; }

.shop-sidebar .filter-items > li.mt-3 { display: block; margin: 8px 0 0 !important; padding: 0; }

.shop-sidebar .accordion,
.shop-sidebar .accordion .card { display: block; width: 100%; overflow: visible; background: transparent; border: 0; box-shadow: none; }

.shop-sidebar .accordion .card-header { display: block; width: 100%; padding: 0; background: transparent; }

.shop-sidebar .accordion .card-header a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 9px 14px !important;
    border-radius: var(--g-radius-sm);
    background: var(--g-surface);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--g-primary);
    transition: background .15s ease;
}

.shop-sidebar .accordion .card-header a:hover { background: var(--g-primary-soft); color: var(--g-primary); }

/* one chevron of our own; it turns when the list is open */
.shop-sidebar .accordion .card-header a::before { display: none; }

.shop-sidebar .accordion .card-header a::after {
    content: "";
    position: static;
    flex: none;
    width: 10px;
    height: 10px;
    margin-left: 10px;
    border: 0;
    transform: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%230841ae' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") center / contain no-repeat;
    transition: transform .2s ease;
}

.shop-sidebar .accordion .card-header a.collapse::after { transform: rotate(180deg); }

.shop-sidebar .accordion .card-body {
    width: 100%;
    max-height: 300px;
    margin: 6px 0 0;
    padding: 2px 6px 2px 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
    background: transparent;
    border: 0;
}

.shop-sidebar .accordion .card-body::-webkit-scrollbar { width: 6px; }
.shop-sidebar .accordion .card-body::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }
.shop-sidebar .accordion .card-body::-webkit-scrollbar-track { background: transparent; }

.shop-sidebar .accordion ol > li,
.shop-sidebar .filter-items > li { min-height: 0; line-height: 1.4; padding: 5px 0; }

.shop-sidebar .accordion ol > li label,
.shop-sidebar .filter-items > li label { padding: 0 !important; line-height: 1.4; }

/* ---------- Spinners: one calm speed everywhere ---------- */
.lds-ring div { animation: g-spin 1.5s cubic-bezier(.5, .15, .5, .85) infinite !important; }
.btn.g-pending::after { animation-duration: 1.3s; }
.fa-spin, .fa-spinner.fa-spin, .button-spinner i { animation-duration: 1.6s !important; animation-timing-function: linear; }
.loading::after, .loading::before,
.w-loading, .w-loading::after,
.load-more-overlay.loading::after,
.product-loading-overlay::after,
.htmx-indicator .loader, .loader { animation-duration: 1.4s !important; }
.loading:not(.load-more-overlay), .load-more-overlay.loading::after { animation-duration: 1.4s !important; }
