:root {
    --ink-900: #282729;
    --ink-800: #3a383b;
    --ink-muted: #8a827a;
    --outline-color: #a58e80;

    --primary-color: var(--ink-900);
    --accent-color: var(--ink-800);
    --brand-color: var(--ink-900);
    --nav-link-color: #b09b8f;
    --link-color: var(--ink-900);

    --surface-base: #ffffff;
    --text-inverse: #ffffff;

    --required-color: #ff0000;

    --status-warning: #faa732;
    --status-danger: #ce0000;
    --status-danger-text: #d81e05;
    --status-success: #5bb75b;
    --status-success-text: #3c763d;
    --status-success-bg: #dff0d8;
    --status-success-border: #d6e9c6;

    --rating-star: #ffcc00;
    --rating-star-dim: #e69500;
    --price-strike-color: #ef3434;

    --button-info-hover-bg: #df5c39;

    --border-muted: #eeeeee;
    --border-strong: #8a8a90;
    --focus-border: #80bdff;
    --shadow-text-strong: #000000;
    --background-light: #f8f6f2;
    --background-medium: #e2dcd3;
    --background-soft: #ebe8e2;
    --border-width: 0.07143rem;
    --border-style: solid;
    --border-color: #d6d0c4;
    --border-soft: #efeae1;

    --text-color: var(--ink-900);
    --text-light: var(--background-light);
    --text-medium: var(--background-medium);

    --surface-inverse: var(--ink-900);
    --divider-inverse: var(--ink-800);

    --button-primary-bg: var(--ink-900);
    --button-primary-border: var(--ink-900);
    --button-primary-hover: var(--ink-800);

    --button-outline-color: var(--text-color);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --ease-crema: cubic-bezier(0.165, 0.84, 0.44, 1);

    /* ── Semantic colors ── */
    --error-red: #dc2626;
    --success-green: #16a34a;
    --text-muted: #928b83;

    /* ── Type scale (actual usage audit) ──
       14px × 68 | 13px × 57 | 15px × 38 | 12px × 31 | 11px × 27
       body = 15px (--font-lg) ── */
    --font-2xs: 10px; /* micro labels (5×) */
    --font-xs: 11px; /* captions, badges (27×) */
    --font-sm: 12px; /* small labels, meta (31×) */
    --font-base: 13px; /* secondary text, addresses (57×) */
    --font-md: 14px; /* UI default: buttons, nav, controls, footer (68×) */
    --font-lg: 15px; /* body text = html body default (38×) */
    --font-para: 16px; /* paragraph / tab navigation (1×) */
    --font-xl: 18px; /* sub-headings (4×) */
    --font-2xl: 20px; /* section headings (3×) */
    --font-3xl: 24px; /* page titles (12×) */
    --font-4xl: 28px; /* hero h1 (16×) */

    /* ── Breakpoints (reference only — can't use var() in @media) ──
       xs:  max-width  575px   mobile portrait
       sm:  max-width  767px   mobile landscape / phablet
       md:  max-width  991px   tablet
       lg:  max-width 1199px   small desktop
       xl:  min-width 1200px   desktop
       xxl: min-width 1600px   wide desktop
       ── */
}

/* ── Accessibility ───────────────────────────────── */
/* Enhanced skip-nav visible state (Bootstrap .sr-only handles hidden) */
.sr-only-focusable:active,
.sr-only-focusable:focus {
    position: fixed;
    top: 0;
    left: 0;
    width: auto;
    height: auto;
    padding: 0.75rem 1.5rem;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
    background: var(--ink-900);
    color: var(--text-inverse);
    font-size: var(--font-md);
    font-weight: 600;
    z-index: 100000;
    text-decoration: none;
    outline: 2px solid var(--outline-color);
    outline-offset: 2px;
}

/* Global focus-visible indicator */
:focus-visible {
    outline: 2px solid var(--outline-color);
    outline-offset: 2px;
}

/* ── Sticky footer layout ── */
body.theme-base {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
}
/* Main content container: grow to fill space, push footer down */
body.theme-base > .container,
body.theme-base > main > .container {
    flex: 1 0 auto;
    padding-bottom: 40px;
}
/* Home page: no bottom padding (slider touches footer) */
body.theme-base.common-home > .container {
    padding-bottom: 0;
}

html {
    overflow-x: hidden;
    width: 100%;
}

html body {
    font-family: "Poppins", "Inter", sans-serif;
    font-weight: 400;
    font-size: var(--font-lg);
    color: var(--text-color);
    line-height: 1.5;
    width: 100%;
    overflow-x: hidden;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-color);
}
/* default font size */
/*
.fa,
.fa-brands,
.fa-solid,
.fa-regular {
    font-size: 1.5rem;
}
*/
/* ── Crema type scale ── */
h1 {
    text-align: center;
    font-size: var(--font-4xl);
    font-weight: 600 !important;
    color: var(--ink-900);
    letter-spacing: -0.3px;
    margin: 0 0 24px;
}
h2 {
    font-size: var(--font-3xl);
    font-weight: 600;
    letter-spacing: -0.2px;
}
h3 {
    font-size: var(--font-2xl);
    font-weight: 600;
    letter-spacing: -0.2px;
}
h4 {
    font-size: var(--font-xl);
    font-weight: 600;
}
h5 {
    font-size: var(--font-lg);
    font-weight: 600;
}
h6 {
    font-size: var(--font-md);
    font-weight: 600;
}
/* ── Crema links: warm monochrome ── */
a {
    color: var(--link-color);
    text-decoration: none;
    transition: color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
a:hover {
    color: var(--accent-color);
    text-decoration: none;
}
legend {
    font-weight: 400;
    width: 75%;
    display: block;
    padding: 7px 0 7px 15px;
    margin-bottom: 15px;
    line-height: inherit;
    background-color: var(--background-soft);
    border: 0;
}
label {
    font-size: var(--font-md);
    margin-bottom: 0;
    font-weight: 600;
}
select.form-control,
textarea.form-control,
input[type="text"].form-control,
input[type="password"].form-control,
input[type="datetime"].form-control,
input[type="datetime-local"].form-control,
input[type="date"].form-control,
input[type="month"].form-control,
input[type="time"].form-control,
input[type="week"].form-control,
input[type="number"].form-control,
input[type="email"].form-control,
input[type="url"].form-control,
input[type="search"].form-control,
input[type="tel"].form-control,
input[type="color"].form-control {
    font-size: var(--font-md);
    height: 44px;
    box-sizing: border-box;
}
.input-group input,
.input-group select {
    font-size: var(--font-base);
    height: 44px;
    box-sizing: border-box;
}
.input-group .dropdown-menu,
.input-group .popover {
    font-size: var(--font-base);
}
.input-group .input-group-addon {
    font-size: var(--font-base);
    height: 44px;
    line-height: 44px;
    box-sizing: border-box;
    background-color: var(--background-light);
    border: none;
}

/* Fix some bootstrap issues */
span.hidden-xs,
span.hidden-sm,
span.hidden-md,
span.hidden-lg {
    display: inline;
    vertical-align: middle;
    font-size: var(--font-md);
}
/* ── Product tabs · Crema underline 2026 ── */
.nav-tabs {
    display: flex;
    justify-content: center;
    gap: 0;
    border-bottom: 1px solid var(--border-soft);
    margin: 0;
    padding: 0;
    list-style: none;
}
div.required .control-label:before {
    content: "* ";
    color: var(--required-color);
    font-weight: 600;
}
/* Gradent to all drop down menus */
.dropdown-menu > li > a {
    color: var(--button-primary-bg);
    transition:
        color 0.3s ease,
        opacity 0.3s ease;
}
.dropdown-menu > li > a:focus,
.dropdown-menu > li > a:hover {
    text-decoration: none;
    background-color: var(--background-light);
    color: var(--button-primary-hover);
}
/* top */
#top {
    background-color: var(--background-medium);
    margin: 0;
}
#top .container {
    padding: 30px 0 0;
}
#top #form-currency .currency-select,
#top #form-language .language-select {
    text-align: left;
    padding: 0 1px;
    outline: none;
    border: none;
}
#top #form-language .language-select {
    color: var(--button-primary-bg);
    background-color: transparent;
    transition: color 0.3s ease;
}
#top #form-currency .currency-select:hover,
#top #form-language .language-select:hover {
    text-shadow: none;
    background-color: var(--background-light);
    color: var(--button-primary-hover);
    outline: none;
    border: none;
}
#top #form-language .language-select:focus {
    background-color: var(--background-light);
    color: var(--button-primary-hover);
}
#top .btn-link,
#top-links li,
#top-links a {
    color: var(--text-color);
    text-decoration: none;
    background-color: transparent;
    border-color: none;
    outline: none;
}
#top .btn-link:hover,
#top-links a:hover {
    color: var(--link-color);
}
#top-links .dropdown-menu a {
    text-shadow: none;
    font-size: 15px;
}
#top-links .dropdown-menu a:hover {
    color: var(--text-light);
}
#top .btn-link strong {
    font-size: 13px;
    line-height: 14px;
}
#top-links {
    display: flex;
    gap: 15px;
    align-items: center;
}
#top-links .fa,
#top-links .fa-brands,
#top-links .fa-solid,
#top-links .fa-regular {
    font-size: 2rem;
    padding-top: 4px;
    padding-right: 3px;
    line-height: 1;
}
#top-links img {
    vertical-align: -webkit-baseline-middle;
}
/* modern action bar */
.site-header {
    background-color: var(--background-medium);
}

/* ── Tablet + Desktop: shared supermenu theme overrides (≥768px) ── */
@media (min-width: 768px) {
    /* Strip supermenu wrapper backgrounds for transparent inline look */
    .header-menu > div,
    .header-menu > div > div[style] {
        background-color: transparent !important;
    }
    .header-menu .container {
        background-color: transparent !important;
    }
    #supermenu {
        background-color: transparent !important;
        padding: 0 4px !important;
    }
    #supermenu ul li a.tll {
        color: var(--text-color) !important;
    }
    #supermenu ul li.sep .item-sep {
        background-color: var(--border-color) !important;
    }
}

/* ── Tablet (768–1099px): menu in normal flow below header ── */
@media (min-width: 768px) and (max-width: 1099px) {
    .site-header > .header-menu {
        position: static;
    }
    /* Let supermenu JS handle mobile trigger naturally */
    #supermenu.respsmall a.mobile-trigger {
        font-size: 20px;
        color: var(--text-color) !important;
        background: none !important;
        text-shadow: none !important;
        padding: 10px 12px !important;
    }
    body #supermenu ul li a.tll {
        padding: 10px 12px !important;
        font-size: var(--font-sm) !important; /* 12px */
    }
}

/* ── Desktop (≥1100px): single-row header  [Logo] [Menu] [Icons] ── */
@media (min-width: 1100px) {
    .site-header {
        position: relative;
    }
    /* Logo + icons row — in normal flow, determines header height.
       Must NOT create a stacking context (no z-index) so the menu below can show through */
    .site-header > .header-top {
        position: relative;
        z-index: auto !important;
        background-color: transparent !important;
        pointer-events: none; /* let mouse events fall through to menu */
    }
    .header-top .container {
        background-color: transparent !important;
        pointer-events: none;
    }
    .header-top__inner {
        pointer-events: none;
    }
    .header-top__logo,
    .header-top__actions {
        position: relative;
        z-index: 3;
        pointer-events: auto; /* restore clicks on logo & icons */
    }
    .header-top__actions {
        flex: 0 0 auto !important; /* shrink-wrap; !important beats base rule at line ~394 */
    }
    .header-top__inner {
        justify-content: space-between; /* push logo left, icons right */
    }
    /* Menu — absolutely positioned to overlay, centered vertically */
    .site-header > .header-menu {
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        transform: translateY(-50%);
        z-index: 2;
        background-color: transparent;
        padding: 0;
        margin: 0;
        pointer-events: auto; /* menu must be clickable/hoverable */
    }
    #supermenu ul li a.tll {
        padding-top: 8px !important;
        padding-bottom: 8px !important;
    }

    /* Force desktop layout even if supermenu JS adds respsmall */
    #supermenu a.mobile-trigger {
        display: none !important;
    }
    #supermenu.respsmall > ul {
        visibility: visible !important;
        height: auto !important;
        overflow: visible !important;
    }
    #supermenu.respsmall ul li.tlli {
        display: inline-block !important;
    }
    #supermenu.respsmall ul li.tlli.sep {
        border-top: none !important;
        height: auto !important;
    }
}

/* Mobile: keep menu in normal flow below header */
@media (max-width: 767px) {
    .site-header > .header-menu {
        position: static;
    }
}

.header-top {
    background-color: transparent;
    border-bottom: none;
    padding: 6px 0;
}

.header-top__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.header-top__logo {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}
.header-top__logo img {
    max-height: 60px;
    width: auto;
}
.header-top #logo {
    margin: 0;
}
.header-top #logo img {
    max-width: 100%;
    margin-top: 0;
    display: block;
}
.header-top__actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: flex-end;
    flex: 1 1 auto;
}

.header-top__actions #language-action {
    /* margin-left: 1rem; */
}

/* Overlay/backdrop for header action dropdowns (account/language) */
.header-top__actions .action-overlay {
    position: fixed;
    inset: 0;
    /*  background: rgba(0, 0, 0, 0.7); */
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    visibility: hidden;
    pointer-events: none !important;
    transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1990;
}

.header-top__actions .language-action.open .action-overlay,
.header-top__actions .account-action.open .action-overlay,
.header-top__actions #cart.open .action-overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto !important;
}

.header-top__actions .language-action.open .dropdown-menu,
.header-top__actions .account-action.open > .dropdown-menu,
.header-top__actions #cart.open > .dropdown-menu {
    position: fixed;
    top: 70px;
    left: 50%;
    right: auto;
    transform: translate(-50%, 0);
    margin-top: 0;
    z-index: 2000;
    width: calc(95%);
    max-width: 480px;
    max-height: calc(100vh - 110px);
    overflow: auto;
    background: var(--surface-base);
    border: var(--border-width) var(--border-style) var(--border-color);
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.header-top__actions #cart.open > .dropdown-menu {
    max-width: 600px;
}

.header-top__actions .cart-action {
    flex: 0 0 auto;
}

.header-top__actions .cart-action #cart {
    width: auto;
}

.header-top__actions #cart .dropdown-menu li > div {
    min-width: 0;
}

.header-top__actions .language-action.open .dropdown-menu.dropdown-menu-right,
.header-top__actions .account-action.open > .dropdown-menu.dropdown-menu-right,
.header-top__actions #cart.open > .dropdown-menu.dropdown-menu-right,
.header-top__actions #cart.open > .dropdown-menu.pull-right {
    right: auto;
}

.search-action {
    position: relative;
}
.action-icon {
    width: 4.1rem;
    height: 4.1rem;
    padding: 0;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    font-size: 0;
    transition: border-color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    line-height: 1;
    cursor: pointer;
}
.action-icon svg {
    width: 24px;
    height: 24px;
    display: block;
    flex-shrink: 0;
}
.action-icon i {
    font-size: 1.35rem;
    line-height: 1;
}

.btn .fa,
.btn .fa-brands,
.btn .fa-solid,
.btn .fa-regular {
    line-height: 1;
}
.action-icon:hover {
    border-color: var(--text-color);
}
.action-icon:focus {
    outline: none;
    box-shadow: none;
}

/* Prevent any browser/Bootstrap focus ring on header action icons */
.header-top__actions .action-icon:focus,
.header-top__actions .action-icon:focus-visible,
.header-top__actions .action-icon:active {
    outline: none;
    box-shadow: none;
}
.header-top .search-popup {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    padding: 70px 0 15px 0;
    /* background: rgba(0, 0, 0, 0.7); */
    background: rgba(0, 0, 0, 0.55);
    border-radius: 0;
    box-shadow: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    pointer-events: none;
    transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 2000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.header-top .search-action.is-open .search-popup {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.header-top .search-popup__inner {
    width: 100%;
    max-width: 700px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-top .search-popup__inner #search {
    flex: 1 1 auto;
    max-width: none;
    margin: 0;
}

.header-top .search-popup__close {
    height: 4.1rem;
    width: 4.1rem;
    flex: 0 0 4.1rem;
    border: 0;
    background: transparent;
    color: var(--text-inverse);
    font-size: 24px;
    line-height: 1;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0.5;
}

.header-top .search-popup__close:hover,
.header-top .search-popup__close:focus {
    opacity: 1;
    outline: none;
    box-shadow: none;
}

.header-top .search-popup #search {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

.header-top .search-popup .input-group {
    width: 100%;
}

.header-top .search-popup #search.input-group {
    display: flex;
    align-items: stretch;
    background: var(--surface-base);
    border-radius: 50px;
    overflow: hidden;
    box-shadow: none;
}

.header-top .search-popup #search .input-lg {
    float: none;
}

.header-top .search-popup #search .btn-lg {
    float: none;
}

.header-top .search-popup #search.input-group .form-control {
    flex: 1 1 auto;
    width: auto;
}

.header-top .search-popup #search.input-group .input-group-btn {
    width: auto;
    display: flex !important;
    float: none !important;
}

.header-top .search-popup select,
.header-top .search-popup .form-control {
    height: 44px;
    border: 0;
    box-shadow: none;
}

.header-top .search-popup select {
    padding: 10px;
    border-radius: 50px 0 0 50px;
}

.header-top .search-popup .form-control {
    padding: 0 10px;
    border-radius: 0;
}

/* When we don't have a category <select>, make the input the left rounded edge */
.header-top .search-popup #search .form-control:first-child {
    border-radius: 50px 0 0 50px;
}

/* Legacy search btn overrides removed — see search popup redesign section below */
.header-top__actions .dropdown-menu {
    min-width: 220px;
    border-radius: 8px;
    padding: 12px;
    background: var(--surface-base);
    border: var(--border-width) var(--border-style) var(--border-color);
    margin-top: 8px;
    font-family: inherit;
    font-size: 15px;
    line-height: 1.4;
    opacity: 0;
    transform: translateY(-12px);
    pointer-events: none;
    transition: var(--transition);
    z-index: 1100;
}

.header-top__actions .open > .dropdown-menu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Language dropdown-menu lives inside a <form>, so it won't be a direct child of the `.open` element */
.header-top__actions .language-action.open .dropdown-menu {
    opacity: 1;
    transform: translate(-50%, 0);
    pointer-events: auto;
    display: block;
}

/* Ensure language popup is centered (beats `.dropdown-menu-right` and any later overrides) */
.header-top .header-top__actions #language-action.open > .dropdown-menu {
    position: fixed;
    top: 70px;
    left: 50% !important;
    right: auto !important;
    transform: translate(-50%, 0) !important;
}
.language-action {
    position: relative;
}
.language-form {
    margin: 0;
    display: inline-block;
}
.language-form .action-icon {
    border-radius: 50%;
}
.language-option {
    width: 100%;
    border: none;
    background: transparent;
    min-height: 44px;
    padding: 14px 16px;
    border-radius: 8px;
    text-align: left;
    font-family: inherit;
    font-size: 15px;
    font-weight: 400;
    color: var(--ink-900);
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    transition: background-color 0.15s ease;
}
.language-option img {
    width: 32px;
    height: auto;
}
/* Legacy language button colors — neutralized; .lang-option (Crema) handles styling */
.language-action .dropdown-menu li button,
#language-action .dropdown-menu li button {
    color: inherit;
    background-color: transparent;
    transition: background-color 0.15s ease;
}
.language-action .dropdown-menu li button:focus,
.language-action .dropdown-menu li button:hover,
#language-action .dropdown-menu li button:focus,
#language-action .dropdown-menu li button:hover {
    background-color: var(--background-light);
    color: inherit;
}
.language-form .dropdown-toggle::after {
    display: none;
}
.header-menu {
    background-color: transparent;
    padding: 0;
    margin: 0;
}
.header-menu #menu {
    margin-top: 0;
}
.header-menu #menu .nav > li > a {
    font-size: 1.2rem;
    letter-spacing: 0.1em;
}
.cart-action {
    position: relative;
}
/* ── Cart dropdown positioning ── */
.header-top .cart-action #cart .dropdown-menu {
    background: var(--surface-base);
    border: var(--border-width) var(--border-style) var(--border-color);
    border-radius: 8px;
    padding: 0;
    margin-top: 8px;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
    z-index: 1100;
}
.header-top .cart-action #cart.open .dropdown-menu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.header-top .header-top__actions .cart-action #cart.open > .dropdown-menu {
    position: fixed;
    top: 70px;
    left: 50% !important;
    right: auto !important;
    transform: translate(-50%, 0) !important;
    margin-top: 0 !important;
    width: 600px;
    max-width: calc(100% - 32px);
    min-width: 0;
    max-height: calc(100vh - 110px);
    overflow: auto;
    z-index: 2000;
    display: block;
}
.cart-action #cart-total {
    position: absolute;
    top: -4px;
    right: -4px;
    color: var(--text-color);
    background: var(--surface-base);
    border: 1px solid var(--border-color);
    border-radius: 999px;
    height: 20px;
    min-width: 20px;
    line-height: 20px;
    padding: 0 5px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.02em;
    white-space: nowrap;
    text-align: center;
}

/* Hide badge when empty (0 items) */
.cart-action #cart-total:empty {
    display: none;
}
@media (max-width: 767px) {
    .header-top {
        padding: 8px 0;
    }
    .header-top__actions {
        flex-wrap: wrap;
        gap: 1rem;
    }
    .header-top__inner {
        flex-wrap: wrap;
    }
    .header-top .search-popup {
        padding: 16px;
    }
    .header-top__logo img {
        max-height: 50px;
    }
    .header-top #logo img {
        width: 80%;
        margin-bottom: 10px;
    }
}
/* search wrap */
.search-wrap {
    margin-top: 3px;
    text-align: center;
    z-index: 999;
}
.search-wrap button i {
    font-size: 20px;
}
.search-wrap button,
#cart > button,
.acc-section button {
    background: none;
    border: none;
    color: var(--text-color);
    padding: 0;
    box-shadow: none;
    z-index: 999;
}
/* logo */
#logo img {
    text-align: center;
    width: 190px;
    margin-top: 5px;
}
.logo,
.logo2 {
    color: var(--brand-color);
}

.logo {
    font-size: 3rem;
    margin-top: -12px;
}

.logo2 {
    font-size: 1.37rem;
    margin-top: -4px;
}

.logo a {
    color: var(--brand-color) !important;
    text-decoration: none !important;
}
.logo2 {
    font-weight: 400;
    text-decoration: none !important;
    letter-spacing: 0.35px;
}
/* search */
#search {
    display: compact;
}
#search .input-lg {
    line-height: 20px;
    float: right;
}
#search .btn-lg {
    background-color: var(--background-medium) !important;
    background-image: none !important;
    border: var(--border-width) var(--border-style) var(--border-color) !important;
    padding: 0 !important;
    min-width: 0 !important;
    height: 44px !important;
    font-size: 0 !important;
}

/* legacy cart rules — cleaned */
/* menu */
#menu {
    background-color: var(--surface-inverse);
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    -khtml-border-radius: 0px;
    border-radius: 0px;
    padding: 0px 4px;
    border-bottom: 0px;
    overflow-x: auto;
    overflow-y: hidden;
}
#menu .nav > li > a {
    font-size: 1.1rem;
    text-transform: uppercase;
    color: var(--nav-link-color);
    line-height: 1.4rem;
    text-decoration: none;
    display: block;
    padding: 12px 10px 12px 10px;
    z-index: 6;
    position: relative;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
    word-wrap: break-word;
    max-width: none;
    min-width: 100px;
    text-align: center;
    white-space: normal;
}
#menu .nav > li > a:hover,
#menu .nav > li.open > a {
    color: var(--text-light);
    font-weight: normal;
    font-size: 1.1rem;
    clear: both;
    background-color: var(--surface-inverse);
    -webkit-transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    -moz-transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    -o-transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
#menu .dropdown-menu {
    padding-bottom: 0;
    border-top: none;
}
#menu .dropdown-inner {
    display: table;
}
#menu .dropdown-inner ul {
    display: table-cell;
}
#menu .dropdown-inner a {
    min-width: 280px;
    max-width: 100%;
    display: block;
    padding: 1px 10px 1px 10px;
    clear: both;
    color: var(--text-color);
    font-size: 1.4rem;
    font-weight: normal;
    line-height: 1.3;
    -webkit-transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    -moz-transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    -o-transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
#menu .dropdown-inner li a:hover {
    color: var(--accent-color);
}
#menu .see-all {
    display: block;
    padding: 5px 10px 3px 10px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase !important;
    color: var(--text-color);
}
#menu .see-all:hover,
#menu .see-all:focus {
    text-decoration: none;
    color: var(--accent-color);
}
#menu #category {
    float: left;
    padding-left: 15px;
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 40px;
    color: var(--text-light);
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}
#menu .btn-navbar {
    font-size: 1.5rem;
    font-stretch: expanded;
    color: var(--text-light);
    padding: 0;
    margin: 0 5px;
    float: right;
    background-color: var(--surface-inverse);
}
#menu .btn-navbar:hover,
#menu .btn-navbar:focus,
#menu .btn-navbar:active,
#menu .btn-navbar.disabled,
#menu .btn-navbar[disabled] {
    color: var(--text-light);
    background-color: var(--surface-inverse);
}
@media (min-width: 768px) {
    #menu .dropdown:hover .dropdown-menu {
        display: block;
    }
}
@media (max-width: 767px) {
    #menu {
        -webkit-border-radius: 6px;
        border-radius: 6px;
    }
    #menu div.dropdown-inner > ul.list-unstyled {
        display: block;
    }
    #menu div.dropdown-menu {
        margin-left: 0 !important;
        padding-bottom: 10px;
        background-color: rgba(0, 0, 0, 0.1);
    }
    #menu .dropdown-inner {
        display: block;
    }
    #menu .dropdown-inner a {
        width: 100%;
        color: var(--text-light);
        font-size: 1.4rem;
        padding: 4px;
    }
    #menu .dropdown-menu a:hover,
    #menu .dropdown-menu ul li a:hover {
        color: var(--accent-color);
    }
    #menu .see-all {
        margin-top: 0;
        border: none;
        border-radius: 0;
        color: var(--text-color);
    }
}
/* content */
#content {
    min-height: 0;
}

/* Home page: prevent large empty area when content is short (e.g. only slider). */
body.common-home #content {
    min-height: 0;
}
#product-category #content,
#product-product #tab-description,
#information-information #content {
    font-size: var(--font-lg);
}
#product-product #tab-description {
    padding: 0 15px 15px 0;
}

/* Information pages — normalize body text for consistency */
#information-information #content p,
#information-information #content li {
    font-size: var(--font-lg);
    line-height: 1.6;
    color: var(--ink-900);
}

/* Category sort block: add top spacing to match the default 15px bottom margin */
#product-category .pull-right .form-group.input-group {
    margin-top: 15px;
}

/* Category subcategory links */
#product-category .category-list {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
    /* display: flex; */
    flex-wrap: wrap;
    gap: 6px 16px;
}
#product-category .category-list li a {
    font-size: 14px;
    color: var(--ink-900);
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
#product-category .category-list li a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* ── Footer 2026 ── */
footer {
    font-size: var(--font-md);
    font-weight: 400;
    line-height: 1.6;
    margin-top: auto;
    padding: 56px 0 0 0;
    background-color: var(--surface-inverse);
    color: var(--text-medium);
    letter-spacing: 0.01em;
}
footer a {
    color: var(--text-medium);
    text-decoration: none;
    transition:
        color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        opacity 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
footer a:hover {
    color: var(--text-light);
    text-decoration: none;
}
.footer-container {
    max-width: 1200px;
}

/* Nav columns grid */
.footer-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    padding-bottom: 40px;
}
.footer-col {
}
.footer-heading {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-light);
    margin: 0 0 16px 0;
    padding: 0;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 10px;
}
.footer-links li:last-child {
    margin-bottom: 0;
}
.footer-links a {
    font-size: var(--font-md);
    opacity: 0.7;
    transition:
        opacity 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.footer-links a:hover {
    opacity: 1;
    color: var(--text-light);
}

/* Contact bar */
.footer-contact-bar {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-wrap: wrap;
}
.footer-contact-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: var(--font-md);
    color: var(--text-medium);
    opacity: 0.75;
    transition: opacity 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    will-change: opacity;
}
.footer-contact-item:hover {
    opacity: 1;
}
.footer-contact-item svg {
    flex-shrink: 0;
    opacity: 0.6;
}
.footer-contact-item a {
    color: var(--text-medium);
}
.footer-contact-item a:hover {
    color: var(--text-light);
}
/* Social icons */
.footer-social {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
}
.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: var(--text-medium);
    opacity: 0.6;
    transition:
        opacity 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    will-change: opacity;
}
.footer-social-link svg {
    display: block;
}
.footer-social-link:hover {
    opacity: 1;
    color: var(--text-light);
}

/* Our Stores */
.footer-stores {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 0;
    flex-wrap: wrap;
}
.footer-stores-icon {
    flex-shrink: 0;
    color: var(--text-medium);
    opacity: 0.35;
}
.footer-store-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-medium);
    opacity: 0.7;
    transition:
        opacity 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-decoration: none;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    will-change: opacity;
}
.footer-store-link svg {
    flex-shrink: 0;
    opacity: 0.5;
}
.footer-store-link:hover {
    color: var(--text-light);
    opacity: 1;
    text-decoration: none;
}

/* Copyright bottom */
.footer-bottom {
    padding: 20px 0 28px;
    text-align: left;
}
.footer-copyright {
    font-size: 12px;
    color: var(--text-medium);
    opacity: 0.45;
    letter-spacing: 0.02em;
}
.footer-copyright a {
    color: var(--text-medium);
}
.footer-copyright a:hover {
    color: var(--text-light);
    opacity: 1;
}
.footer-recaptcha-notice {
    margin-top: 8px;
    font-size: 9px;
    color: var(--text-medium);
    opacity: 0.5;
    line-height: 1.5;
}
.footer-recaptcha-notice a {
    color: var(--text-medium);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.footer-recaptcha-notice a:hover {
    color: var(--text-light);
}

/* Footer responsive */
@media (max-width: 991px) {
    .footer-nav {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px 32px;
    }
    /* Swap: Account → bottom-left, Special Offers → bottom-right */
    .footer-col:nth-child(3) {
        order: 2;
    }
    .footer-col:nth-child(4) {
        order: 1;
    }
}

/* Force sswrap to contain the carousel properly */
[id^="sswrap"] {
    width: 100% !important;
    overflow: hidden !important;
    display: block !important;
    position: relative !important;
}

/* Global Owl Carousel Fixes (All Screens) */
.owl-carousel.owl-advs .owl-wrapper-outer {
    height: auto !important; /* Let content dictate height */
    width: 100% !important;
    overflow: hidden !important; /* Hide scrollbars, rely on JS or touch events */
    position: relative !important;
}

.owl-carousel.owl-advs .owl-item img {
    width: 100% !important;
    height: auto !important; /* Scale proportionally */
    min-width: 0 !important;
    max-width: none !important;
    max-height: none !important;
    display: block !important;
    transform: none !important;
    animation: none !important;
}

.owl-carousel.owl-advs .owl-wrapper {
    display: flex !important;
    width: auto !important;
    min-width: 100%;
    height: 100% !important;
    box-sizing: border-box !important;
}

.owl-carousel.owl-advs .owl-item {
    float: none !important;
    width: 100% !important;
    height: 100% !important;
    flex: 0 0 100% !important;
}

.owl-carousel.owl-advs .owl-item > div,
.owl-carousel.owl-advs .owl-item .item,
.owl-carousel.owl-advs .owl-item .adv_slide,
.owl-carousel.owl-advs .owl-item .adv_slide_ss,
.owl-carousel.owl-advs .owl-item .advs_content_wrapper {
    height: 100% !important;
    width: 100% !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* Global Owl Carousel Button Overrides */
.owl-carousel.owl-advs .owl-buttons .owl-prev,
.owl-carousel.owl-advs .owl-nav .owl-prev,
.owl-carousel.owl-advs .owl-buttons .owl-next,
.owl-carousel.owl-advs .owl-nav .owl-next {
    border-color: var(--text-muted) !important;
}

@media (max-width: 575px) {
    /* 1. Main container: Force full width and specific height */
    .owl-carousel.owl-advs {
        display: block !important;
        width: 100% !important;
        opacity: 1 !important; /* Ensure it's visible */
        min-height: 0 !important;
        aspect-ratio: auto !important;
    }

    /* Main container: Ensure relative positioning for absolute children controls */
    /* And ensure touch-action allows horizontal scrolling if we use CSS scroll-snap */
    .owl-carousel.owl-advs {
        display: block !important;
        width: 100% !important;
        opacity: 1 !important; /* Ensure it's visible */
        min-height: 0 !important;
        position: relative !important;
        touch-action: pan-y pinch-zoom; /* Allow vertical scroll, hijack horizontal if needed, but we used auto overflow */
    }

    /* 2. Outer wrapper: Define the viewport window */
    .owl-carousel.owl-advs .owl-wrapper-outer {
        height: auto !important; /* Let content dictate height */
        width: 100% !important;
        overflow: hidden !important; /* Rely on JS for swiping */
        position: relative !important;
        /* scroll-behavior: smooth;  Remove smooth scrolling since we rely on JS */
    }

    /* 3. Slider strip: Use Flex + Scroll Snap to override broken JS layout */
    /* WARNING: 'transform: none' disables JS navigation. */
    /* To fix buttons, we must allow transform on desktop/when JS works, OR accept that buttons won't work with this CSS hack. */
    /* However, Owl v1 uses `left` or `transform`. If we force display flex, we might break the float-based layout Owl uses. */
    /* The trade-off: On mobile, native swipe is better. On desktop, buttons are needed. */
    /* Let's try to KEEP transform active but ensure flex layout works with it. */

    .owl-carousel.owl-advs .owl-wrapper {
        display: flex !important;
        width: auto !important; /* Allow it to be wider than container */
        min-width: 100%;
        height: 100% !important;
        margin-left: 0 !important;
        box-sizing: border-box !important;

        /* Ensure hardware acceleration */
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
    }

    /* 4. Individual slides */
    .owl-carousel.owl-advs .owl-item {
        float: none !important;
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        height: 100% !important;
        flex: 0 0 100% !important;
    }

    /* 5. Reset all inner containers to prevent push-down or fixed sizing */
    .owl-carousel.owl-advs .owl-item > div,
    .owl-carousel.owl-advs .owl-item .item,
    .owl-carousel.owl-advs .owl-item .adv_slide,
    .owl-carousel.owl-advs .owl-item .adv_slide_ss,
    .owl-carousel.owl-advs .owl-item .advs_content_wrapper {
        height: 100% !important;
        width: 100% !important;
        max-height: none !important;
        min-height: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        border: none !important;
        background: transparent !important;
        box-shadow: none !important;
        display: flex !important;
        flex-direction: column; /* Stack content vertically */
        justify-content: center; /* Center content vertically */
        align-items: center; /* Center content horizontally */
    }

    /* CRITICAL: Hide the vertical alignment helper that pushes content down */
    .owl-carousel.owl-advs .owl-item .adv_aligner {
        display: none !important;
    }

    /* 6. Layout columns reset */
    .owl-carousel.owl-advs .owl-item .advs_left_side,
    .owl-carousel.owl-advs .owl-item .advs_right_side {
        width: 100% !important;
        display: block !important;
        float: none !important;
        padding: 0 !important;
        margin: 0 !important;
        max-height: none !important; /* Override inline styles */
        min-height: 0 !important; /* Override inline styles */
        height: auto !important;
        text-align: center !important;
    }

    /* Hide right side if empty or effectively empty */
    .owl-carousel.owl-advs .owl-item .advs_right_side:empty {
        display: none !important;
    }

    /* 7. Images: Fit inside without crop */
    .owl-carousel.owl-advs .owl-item img {
        width: 100% !important;
        height: auto !important; /* Scale proportionally */
        min-width: 0 !important;
        max-width: none !important;
        max-height: none !important;

        display: block !important;
        transform: none !important;
        animation: none !important;
    }

    /* 8. Text scaling fix: Override relative % sizes with safe fixed units */
    /* Use high specificity selectors to ensure we beat the module CSS AND custom themes */
    /* Targeting multiple ID patterns (sswrap, advs_slider) to gain priority */

    /* Base text size reset */
    html body .owl-carousel.owl-advs .owl-item .adv_slide,
    html body .owl-carousel.owl-advs.xs_slid .adv_slide,
    html body .owl-carousel.owl-advs.sm_slid .adv_slide,
    html body .owl-carousel.owl-advs.md_slid .adv_slide,
    html body [id^="sswrap"] .owl-carousel .adv_slide {
        font-size: 12px !important;
    }

    /* Title/Name - prevent 300% scaling */
    html body .owl-carousel.owl-advs .ads_name,
    html body .owl-carousel.owl-advs.xs_slid .adv_slide .ads_name,
    html body .owl-carousel.owl-advs.sm_slid .adv_slide .ads_name,
    html body .owl-carousel.owl-advs .owl-item .ads_name,
    html body [id^="sswrap"] .owl-carousel .adv_slide .ads_name {
        font-size: 18px !important;
        line-height: 1.2 !important;
        margin-bottom: 4px !important;
    }

    /* Description */
    html body .owl-carousel.owl-advs .advs_desription,
    html body .owl-carousel.owl-advs.xs_slid .adv_slide .advs_desription,
    html body .owl-carousel.owl-advs .owl-item .advs_desription,
    html body [id^="sswrap"] .owl-carousel .adv_slide .advs_desription {
        font-size: 13px !important;
        line-height: 1.3 !important;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        margin-bottom: 8px !important;
    }

    /* Price - kill the 200-350% sizing */
    html body .owl-carousel.owl-advs .advs_price,
    html body .owl-carousel.owl-advs .price,
    html body .owl-carousel.owl-advs .special-price,
    html body .owl-carousel.owl-advs.xs_slid .adv_slide .advs_price,
    html body .owl-carousel.owl-advs .owl-item .advs_price,
    html body [id^="sswrap"] .owl-carousel .adv_slide .advs_price {
        font-size: 16px !important;
        line-height: 1.2 !important;
        margin-bottom: 8px !important;
    }

    /* Countdown - often 200% */
    html body .owl-carousel.owl-advs .countdown-amount {
        font-size: 14px !important;
    }

    /* Buttons */
    html body .owl-carousel.owl-advs .advs_action_button a,
    html body .owl-carousel.owl-advs .advs_action_button button,
    html body .owl-carousel.owl-advs.xs_slid .adv_slide .advs_action_button a,
    html body [id^="sswrap"] .owl-carousel .adv_slide .advs_action_button a,
    html
        body
        [id^="sswrap"]
        .owl-carousel
        .adv_slide
        .advs_action_button
        button {
        font-size: 12px !important;
        padding: 6px 14px !important;
        white-space: nowrap;
    }

    /* Badges - reset absolute 200% size for mobile */
    html body .owl-carousel.owl-advs .advs_title_badge,
    html body .owl-carousel.owl-advs .advs_special_badge,
    html body .owl-carousel.owl-advs.xs_slid .adv_slide .advs_title_badge,
    html body .owl-carousel.owl-advs.xs_slid .adv_slide .advs_special_badge,
    html body [id^="sswrap"] .owl-carousel .adv_slide .advs_title_badge,
    html body [id^="sswrap"] .owl-carousel .adv_slide .advs_special_badge {
        font-size: 100% !important; /* Reset to normal relative size */
        padding: 4px 8px !important;
    }

    body.common-home footer {
        margin-top: 0;
    }

    /* FORCE VISIBLE NAVIGATION ON MOBILE */
    .owl-carousel.owl-advs .owl-buttons div,
    .owl-carousel.owl-advs .owl-nav div {
        opacity: 0.8 !important; /* Always visible without hover */
        width: 20px !important; /* Smaller arrows */
        height: 20px !important;
        margin-top: -10px !important;
        border-width: 0 1px 1px 0 !important; /* Thinner arrow lines (1px) */
        padding: 6px !important; /* Adjust size based on padding since it's a rotated box */
        border-style: solid !important;
        transform: rotate(-45deg);
        border-radius: 0 !important;
    }

    .owl-carousel.owl-advs .owl-buttons .owl-prev,
    .owl-carousel.owl-advs .owl-nav .owl-prev {
        left: 16px !important;
        border-color: var(--text-color) !important;
        transform: rotate(135deg) !important; /* Point LEFT */
    }

    .owl-carousel.owl-advs .owl-buttons .owl-next,
    .owl-carousel.owl-advs .owl-nav .owl-next {
        right: 16px !important;
        border-color: var(--text-color) !important;
        transform: rotate(-45deg) !important; /* Point RIGHT */
    }
    footer {
        padding: 40px 0 0 0;
    }
    .footer-nav {
        grid-template-columns: 1fr 1fr;
        gap: 24px 20px;
        padding-bottom: 32px;
    }
    .footer-heading {
        font-size: 11px;
        margin-bottom: 12px;
    }
    .footer-links a {
        font-size: 13px;
    }
    .footer-links li {
        margin-bottom: 8px;
    }
    .footer-contact-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        padding: 20px 0;
    }
    .footer-social {
        margin-left: 0;
        margin-top: 4px;
    }
    .footer-stores {
        gap: 10px;
        padding: 16px 0;
    }
    .footer-bottom {
        text-align: left;
        padding: 18px 0 24px;
    }
    .footer-recaptcha-notice {
        margin-top: 6px;
    }
}
/* breadcrumb */
.breadcrumb {
    margin: 12px 0 24px 0;
    padding: 0;
    background-color: transparent !important;
    border-radius: 0;
    font-size: 12px;
    text-transform: none;
    letter-spacing: normal;
}
.breadcrumb > li:first-child {
    display: none;
}
.breadcrumb > li + li:nth-child(2):before {
    display: none;
}
.breadcrumb i {
    display: none;
}
.breadcrumb > li {
    font-size: 12px;
    font-weight: 400;
    line-height: 1;
    color: rgba(0, 0, 0, 0.35);
    position: relative;
    white-space: pre-wrap;
}
.breadcrumb > li a {
    color: rgba(0, 0, 0, 0.35);
    text-decoration: none;
    transition: color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.breadcrumb > li + li:before {
    content: "›";
    padding: 0 8px;
    color: rgba(0, 0, 0, 0.2);
    font-size: 13px;
}
.breadcrumb > li:after {
    display: none;
}
.breadcrumb > li a:hover {
    color: var(--ink-900);
}
.breadcrumb > li:last-child {
    color: rgba(0, 0, 0, 0.55);
}

/* Kategorijų H1 — centruotas viršuje (atitinka return-heading h2) */
#product-category h1,
#product-search h1,
#product-special h1,
#product-manufacturer h1 {
    text-align: center;
    font-size: 28px;
    font-weight: 600;
    color: var(--ink-900);
    letter-spacing: -0.3px;
    margin: 0 0 24px;
}

/* H1 — centruotas viršuje informaciniuose puslapiuose */
#information-information h1 {
    text-align: center;
    font-size: 28px;
    font-weight: 600;
    color: var(--ink-900);
    letter-spacing: -0.3px;
    margin: 0 0 24px;
}
/* Contact h1 — rodomas per .contact-page-header */
#information-contact h1 {
    text-align: center;
    font-size: 28px;
    font-weight: 600;
    color: var(--ink-900);
    letter-spacing: -0.3px;
    margin: 0 0 24px;
}

/* Minimalistinis rūšiavimas ir filtravimas */
#product-category .input-group-addon,
#product-search .input-group-addon,
#product-manufacturer .input-group-addon,
#product-special .input-group-addon {
    background-color: transparent;
    border: none;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    padding-left: 0;
}

#product-category select.form-control,
#product-search select.form-control,
#product-manufacturer select.form-control,
#product-special select.form-control {
    border: none;
    border-bottom: 0.07143rem solid var(--border-color);
    border-radius: 0;
    background-color: transparent;
    box-shadow: none;
    font-size: 12px;
    height: 44px;
    padding: 0 25px 0 5px;
    color: var(--ink-900);
    cursor: pointer;
    background-position: right 5px center;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3E%3Cpath fill='%23888' d='M0 2l4 4 4-4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
}

/* ── Sort control · compact select ────────────────── */
.sort-control {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
}
.sort-control__select {
    font-family: inherit;
    font-size: 12px;
    font-weight: 400;
    color: var(--ink-900);
    background: transparent;
    border: var(--border-width) var(--border-style) var(--border-color);
    border-radius: 6px;
    height: 36px;
    padding: 0 32px 0 14px;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3E%3Cpath fill='%23888' d='M0 2l4 4 4-4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    transition: border-color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    outline: none;
}
.sort-control__select:hover {
    border-color: var(--border-strong);
}
.sort-control__select:focus {
    border-color: var(--border-strong);
    outline: none;
    box-shadow: none;
}
.sort-control__select:focus-visible {
    border-color: var(--ink-900);
}

#product-category select.form-control:focus,
#product-search select.form-control:focus,
#product-manufacturer select.form-control:focus,
#product-special select.form-control:focus {
    border-bottom-color: var(--ink-900);
}

/* Suderiname atstumus viršuje, kai H1 paslėptas */
#product-category .pull-right .sort-control,
#product-search .pull-right .sort-control,
#product-manufacturer .pull-right .sort-control,
#product-special .pull-right .sort-control {
    margin-top: 5px;
    margin-bottom: 30px;
}

/* ── Pagination · premium 2026 ────────────────────── */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 32px 0 16px;
    margin: 0;
    list-style: none;
    background: transparent;
}
.pagination > li > a,
.pagination > li > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 6px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: var(--ink-muted);
    font-family: inherit;
    font-size: var(--font-md);
    font-weight: 600;
    letter-spacing: normal;
    text-decoration: none;
    transition:
        color 0.3s ease,
        background-color 0.3s ease;
    -webkit-user-select: none;
    user-select: none;
}
.pagination > li > a:hover,
.pagination > li > a:focus,
.pagination > li > span:hover {
    background: transparent;
    color: var(--ink-900);
    text-decoration: none !important;
}
.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover {
    background: transparent;
    color: var(--ink-900);
    font-weight: 600;
    pointer-events: none;
}
.pagination > .disabled > a,
.pagination > .disabled > span {
    color: var(--border-color);
    opacity: 0.35;
    pointer-events: none;
    transform: none;
}
@media (max-width: 575px) {
    .pagination {
        gap: 4px;
        padding: 24px 0 12px;
    }
    .pagination > li > a,
    .pagination > li > span {
        min-width: 38px;
        height: 38px;
        font-size: var(--font-sm);
    }
}
.buttons {
    margin: 1em 0;
}

/* § Buttons · premium 2026 — unified system
   Sizes: xs 32 / sm 36 / md 44 / lg 48
   Radius: 8px (rect) · 50% (icon-circle)
   Hover : gradient-fill .4s cubic-bezier  */
.btn {
    height: 44px;
    min-height: 0;
    min-width: 10rem;
    padding: 0 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    box-sizing: border-box;
    font-size: var(--font-md);
    font-weight: 600;
    border: 1px solid var(--button-primary-border);
    border-radius: 8px;
}
/* Neutralise generic Bootstrap .btn:hover/.btn:active — they set
   color:#333, background-image:none, box-shadow:inset… */
.btn:hover {
    color: var(--text-inverse);
}
.btn:active,
.btn.active {
    background-image: linear-gradient(
        var(--button-primary-hover),
        var(--button-primary-hover)
    );
    box-shadow: none;
    outline: 0;
}
.btn.btn-block {
    display: flex;
}
.btn-xs {
    font-size: 12px;
    height: 32px;
    min-width: 0;
    padding: 0 14px;
    line-height: 1;
}
.btn-sm {
    font-size: var(--font-base);
    height: 36px;
    min-width: 0;
    padding: 0 18px;
}
.btn-lg {
    font-size: var(--font-lg);
    height: 48px;
    padding: 0 32px;
}
.btn-group > .btn,
.btn-group > .dropdown-menu,
.btn-group > .popover {
    font-size: var(--font-md);
}
.btn-group > .btn-xs {
    font-size: var(--font-sm);
}
.btn-group > .btn-sm {
    font-size: var(--font-base);
}
.btn-group > .btn-lg {
    font-size: var(--font-lg);
}
.btn-default {
    text-shadow: none;
    line-height: 1;
}
.btn-primary,
button.btn-primary,
input[type="submit"].btn-primary,
input[type="button"].btn-primary {
    background-color: var(--button-primary-bg);
    border-color: var(--button-primary-border);
    color: var(--text-inverse);
    text-shadow: none;
    line-height: 1;
    font-size: var(--font-md);
    font-weight: 600;

    /* Ascaso hover: gradient fills from bottom */
    background-image: linear-gradient(
        var(--button-primary-hover),
        var(--button-primary-hover)
    );
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 100% 0%;
    transition:
        background-size 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        border-color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.btn-primary:hover,
button.btn-primary:hover,
input[type="submit"].btn-primary:hover,
input[type="button"].btn-primary:hover {
    background-color: var(--button-primary-bg);
    background-size: 100% 100%;
    border-color: var(--button-primary-hover);
    color: var(--text-inverse);
    box-shadow: none;
}

.btn-primary:active,
.btn-primary.active,
.btn-primary.disabled,
.btn-primary[disabled] {
    background-color: var(--button-primary-hover);
    border-color: var(--button-primary-hover);
    background-image: linear-gradient(
        var(--button-primary-hover),
        var(--button-primary-hover)
    );
    background-size: 100% 100%;
    color: var(--text-inverse);
    box-shadow: none;
}

/* Secondary / outline button — same as primary */
.btn-outline,
.btn-default {
    background-color: var(--button-primary-bg);
    border: 1px solid var(--button-primary-border);
    color: var(--text-inverse);
    font-size: var(--font-md);
    font-weight: 600;

    background-image: linear-gradient(
        var(--button-primary-hover),
        var(--button-primary-hover)
    );
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 100% 0%;
    transition:
        background-size 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        border-color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.btn-outline:hover,
.btn-default:hover {
    background-color: var(--button-primary-bg);
    background-size: 100% 100%;
    border-color: var(--button-primary-hover);
    color: var(--text-inverse);
    box-shadow: none;
}
.btn-outline:active,
.btn-outline.active,
.btn-default:active,
.btn-default.active {
    background-color: var(--button-primary-hover);
    border-color: var(--button-primary-hover);
    background-image: linear-gradient(
        var(--button-primary-hover),
        var(--button-primary-hover)
    );
    background-size: 100% 100%;
    color: var(--text-inverse);
    box-shadow: none;
}
.btn-warning {
    color: var(--text-inverse);
    text-shadow: none;
    background-color: var(--button-primary-bg);
    border-color: var(--button-primary-border);
    line-height: 1;
    background-image: linear-gradient(
        var(--button-primary-hover),
        var(--button-primary-hover)
    );
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 100% 0%;
    transition:
        background-size 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        border-color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.btn-warning:hover,
.btn-warning:active,
.btn-warning.active {
    background-color: var(--button-primary-bg);
    background-size: 100% 100%;
    background-image: linear-gradient(
        var(--button-primary-hover),
        var(--button-primary-hover)
    );
    border-color: var(--button-primary-hover);
    color: var(--text-inverse);
    box-shadow: none;
}
.btn-warning.disabled,
.btn-warning[disabled] {
    background-color: var(--button-primary-hover);
    border-color: var(--button-primary-hover);
    background-size: 100% 100%;
}
.btn-danger {
    color: var(--text-inverse);
    text-shadow: none;
    background-color: var(--button-primary-bg);
    border-color: var(--button-primary-border);
    line-height: 1;
    background-image: linear-gradient(
        var(--button-primary-hover),
        var(--button-primary-hover)
    );
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 100% 0%;
    transition:
        background-size 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        border-color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.btn-danger:hover,
.btn-danger:active,
.btn-danger.active {
    background-color: var(--button-primary-bg);
    background-size: 100% 100%;
    background-image: linear-gradient(
        var(--button-primary-hover),
        var(--button-primary-hover)
    );
    border-color: var(--button-primary-hover);
    color: var(--text-inverse);
    box-shadow: none;
}
.btn-danger.disabled,
.btn-danger[disabled] {
    background-color: var(--button-primary-hover);
    border-color: var(--button-primary-hover);
    background-size: 100% 100%;
}
.btn-success {
    color: var(--text-inverse);
    text-shadow: none;
    background-color: var(--button-primary-bg);
    border-color: var(--button-primary-border);
    line-height: 1;
    background-image: linear-gradient(
        var(--button-primary-hover),
        var(--button-primary-hover)
    );
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 100% 0%;
    transition:
        background-size 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        border-color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.btn-success:hover,
.btn-success:active,
.btn-success.active {
    background-color: var(--button-primary-bg);
    background-size: 100% 100%;
    background-image: linear-gradient(
        var(--button-primary-hover),
        var(--button-primary-hover)
    );
    border-color: var(--button-primary-hover);
    color: var(--text-inverse);
    box-shadow: none;
}
.btn-success.disabled,
.btn-success[disabled] {
    background-color: var(--button-primary-hover);
    border-color: var(--button-primary-hover);
    background-size: 100% 100%;
}
.btn-info {
    color: var(--text-inverse);
    text-shadow: none;
    background-color: var(--button-primary-bg);
    border-color: var(--button-primary-border);
    line-height: 1;
    background-image: linear-gradient(
        var(--button-primary-hover),
        var(--button-primary-hover)
    );
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 100% 0%;
    transition:
        background-size 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        border-color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.btn-info:hover,
.btn-info:active,
.btn-info.active {
    background-color: var(--button-primary-bg);
    background-size: 100% 100%;
    background-image: linear-gradient(
        var(--button-primary-hover),
        var(--button-primary-hover)
    );
    border-color: var(--button-primary-hover);
    color: var(--text-inverse);
    box-shadow: none;
}
.btn-info.disabled,
.btn-info[disabled] {
    background-color: var(--button-primary-hover);
    border-color: var(--button-primary-hover);
    background-size: 100% 100%;
}
.btn-link {
    border-color: rgba(0, 0, 0, 0);
    cursor: pointer;
    color: var(--text-color);
    border-radius: 8px;
}
.btn-link,
.btn-link:active,
.btn-link[disabled] {
    background-color: rgba(0, 0, 0, 0);
    background-image: none;
    box-shadow: none;
}
/* .btn-inverse — removed (unused dead code) */

/* § Bootstrap state neutralizer — prevents gradient blink on :active/:focus
   Bootstrap .btn:active sets background-image:none (spec 0,2,0) which
   beats our .btn-primary background-image (spec 0,1,0).
   These high-specificity selectors match Bootstrap's compound states. */
.btn-primary:focus,
.btn-primary.focus,
.btn-default:focus,
.btn-default.focus,
.btn-outline:focus,
.btn-outline.focus,
.btn-warning:focus,
.btn-warning.focus,
.btn-danger:focus,
.btn-danger.focus,
.btn-success:focus,
.btn-success.focus,
.btn-info:focus,
.btn-info.focus,
.open > .dropdown-toggle.btn-primary,
.open > .dropdown-toggle.btn-default,
.open > .dropdown-toggle.btn-warning,
.open > .dropdown-toggle.btn-danger,
.open > .dropdown-toggle.btn-success,
.open > .dropdown-toggle.btn-info {
    background-image: linear-gradient(
        var(--button-primary-hover),
        var(--button-primary-hover)
    );
    background-size: 100% 100%;
    background-color: var(--button-primary-bg);
    border-color: var(--button-primary-hover);
    color: var(--text-inverse);
    box-shadow: none;
    outline: 0;
}
.btn-primary.active.focus,
.btn-primary.active:focus,
.btn-primary.active:hover,
.btn-primary:active.focus,
.btn-primary:active:focus,
.btn-primary:active:hover,
.btn-default.active.focus,
.btn-default.active:focus,
.btn-default.active:hover,
.btn-default:active.focus,
.btn-default:active:focus,
.btn-default:active:hover,
.btn-warning.active.focus,
.btn-warning.active:focus,
.btn-warning.active:hover,
.btn-warning:active.focus,
.btn-warning:active:focus,
.btn-warning:active:hover,
.btn-danger.active.focus,
.btn-danger.active:focus,
.btn-danger.active:hover,
.btn-danger:active.focus,
.btn-danger:active:focus,
.btn-danger:active:hover,
.btn-success.active.focus,
.btn-success.active:focus,
.btn-success.active:hover,
.btn-success:active.focus,
.btn-success:active:focus,
.btn-success:active:hover,
.btn-info.active.focus,
.btn-info.active:focus,
.btn-info.active:hover,
.btn-info:active.focus,
.btn-info:active:focus,
.btn-info:active:hover,
.open > .dropdown-toggle.btn-primary:focus,
.open > .dropdown-toggle.btn-primary:hover,
.open > .dropdown-toggle.btn-default:focus,
.open > .dropdown-toggle.btn-default:hover {
    background-image: linear-gradient(
        var(--button-primary-hover),
        var(--button-primary-hover)
    );
    background-size: 100% 100%;
    background-color: var(--button-primary-bg);
    border-color: var(--button-primary-hover);
    color: var(--text-inverse);
    box-shadow: none;
    outline: 0;
}
/* list group */
.list-group-item {
    position: relative;
    display: block;
    padding: 0.5rem 1rem;
    color: var(--text-color);
    text-decoration: none;
    background-color: var(--surface-base);
    border: var(--border-width) var(--border-style) var(--border-color);
}

.list-group {
    border-radius: 0px !important;
    border: var(--border-width) var(--border-style) var(--border-color);
    padding: 10px 15px 10px 10px;
}
.list-group a {
    border: none;
    padding: 2px 7px 2px 7px;
    font-size: 1.4rem;
    color: var(--text-color);
    line-height: 1.3;
}
.list-group-item.active {
    padding: 4px 7px 4px 7px;
    background-color: var(--surface-base);
    color: var(--text-color);
    text-transform: uppercase;
    font-weight: 600;
}
.list-group-item.active:hover {
    background-color: var(--surface-base);
    color: var(--link-color);
}
a.list-group-item {
    color: var(--text-color);
}
a.list-group-item:hover {
    color: var(--accent-color);
    background-color: var(--surface-base);
}
.list-group a.active,
.list-group a.active:hover,
.list-group a:hover {
    /*	color:#0674ec;
	background: #f8f6f2; */
    border-radius: 0px !important;
}
/* carousel */
.carousel-caption {
    color: var(--text-light);
    text-shadow: 0 1px 0 var(--shadow-text-strong);
}
.carousel-control .icon-prev:before {
    content: "\f053";
    font-family: FontAwesome;
}
.carousel-control .icon-next:before {
    content: "\f054";
    font-family: FontAwesome;
}
/* product list */
.product-thumb {
    overflow: hidden;
    margin-bottom: 20px;
    padding-top: 0;
    border: var(--border-width) var(--border-style) var(--border-soft);
    border-radius: 8px;
    transition: border-color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: var(--surface-base);
    position: relative;
    display: flex;
    flex-direction: column;
}
.product-thumb:hover {
}
/* Sale badge */
.product-thumb .badge-sale {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    background: var(--status-danger-text);
    color: var(--text-inverse);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 4px;
    line-height: 1.3;
}
.product-info {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    flex: 1;
    min-height: 0;
    padding: 4px 0 6px;
}
.product-thumb .image {
    text-align: center;
    padding: 16px 16px 16px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 190px;
    flex-shrink: 0;
}
.product-thumb .image a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
.product-thumb .image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}
.product-thumb:hover .image img {
    transform: scale(1.07);
}
.product-grid .product-thumb .image {
    float: none;
}
@media (min-width: 768px) {
    .product-list .product-thumb .image {
        float: left;
        padding: 0 15px;
    }
}
.product-thumb h4 {
    font-size: 14px;
    line-height: 1.4;
    padding: 0 16px;
    height: 40px;
    min-height: 40px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
    text-align: center;
}
.product-thumb a {
    color: var(--ink-900);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.01em;
}
.product-thumb a:hover {
    color: var(--accent-color);
}
.product-thumb .caption {
    text-align: center;
}
.product-list .product-thumb .caption {
    margin-left: 230px;
    text-align: left;
}
@media (max-width: 767px) {
    .product-list .product-thumb .caption {
        min-height: 0;
        margin-left: 0;
        padding: 0 10px;
    }
    .product-grid .product-thumb .caption {
        min-height: 0;
    }
}
.product-thumb .rating {
    position: absolute;
    display: grid;
    top: 2%;
    left: 8%;
}
.product-thumb .rating .fa-stack {
    padding-top: 4px;
}
.rating .fa-stack {
    position: relative;
    display: inline-block;
    width: 1em;
    height: 1.3em;
    line-height: 1em;
    vertical-align: middle;
}
.rating .fa-star-o {
    color: var(--text-color);
    font-size: 1.5rem;
}
.rating .fa-star {
    color: var(--rating-star);
    font-size: 1.5rem;
}
.rating .fa-star + .fa-star-o {
    color: var(--rating-star-dim);
}
h2.price {
    margin: 0;
}
.product-thumb .price {
    color: var(--ink-900);
    font-size: var(--font-md);
    font-weight: 600;
    text-align: left;
    padding: 0;
    max-width: 100%;
    line-height: 1.4;
    min-height: 0;
}
.product-thumb .price-new {
    font-weight: 600;
    color: var(--ink-900);
    font-size: var(--font-md);
    display: inline;
    margin-top: 0;
}
.product-thumb .price-old {
    color: var(--ink-muted);
    font-weight: 400;
    font-size: 12px;
    letter-spacing: 0.2px;
    text-decoration: none;
    margin-right: 6px;
}
.price-old {
    position: relative;
}

.price-old:before {
    content: "";
    display: block;
    border-bottom: 1px solid var(--ink-muted);
    position: absolute;
    width: 110%;
    left: -5%;
    top: 50%;
    transform: none;
}
/*
.product-thumb .price-old:after {
	content: "";
    display: inline-block;
    border-bottom: 2px solid var(--price-strike-color);
	position: absolute;
	width: 120%;
	height: 50%;
    left: -7%;
    top: 1px;
	transform: rotate(15deg);
}
*/
.product-thumb .price-tax {
    color: var(--ink-muted);
    font-size: 10px;
    font-weight: 400;
    display: block;
    margin-top: 1px;
    letter-spacing: 0.2px;
}
/* Product grid — equal height cards via flexbox */
.row:has(> .product-layout.product-grid) {
    display: flex;
    flex-wrap: wrap;
}
.product-layout.product-grid {
    display: flex;
    flex-direction: column;
    float: none;
    min-width: 0;
    box-sizing: border-box;
}
.product-layout.product-grid > .product-thumb {
    flex: 1;
}
/* Prevent grid row overflow */
#product-category #content,
#product-search #content,
#product-special #content,
#product-manufacturer-info #content {
    overflow: hidden;
}

/* ── Search empty state ── */
.search-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 24px 120px;
    max-width: 480px;
    margin: 0 auto;
}
.search-empty__icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--background-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--ink-900);
    opacity: 0.4;
}
.search-empty__icon svg {
    width: 32px;
    height: 32px;
}
.search-empty__title {
    font-size: 18px;
    font-weight: 600;
    color: var(--ink-900);
    margin: 0 0 8px;
    letter-spacing: -0.3px;
}
.search-empty__text {
    font-size: 15px;
    font-weight: 400;
    color: var(--ink-900);
    opacity: 0.6;
    margin: 0 0 28px;
    line-height: 1.5;
}
.search-empty__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 400;
    color: var(--ink-900);
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.search-empty__link:hover,
.search-empty__link:focus {
    opacity: 1;
    text-decoration: none;
}
.search-empty__link svg {
    flex-shrink: 0;
}

.product-thumb .button-group {
    background-color: transparent;
    white-space: nowrap;
    padding: 10px 12px 10px 16px;
    border-radius: 0 0 8px 8px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    margin-top: auto;
}
.product-thumb:hover .button-group {
    opacity: 1;
    transform: translateY(0);
}
/* Mobile: no hover available — always show buttons */
@media (hover: none) {
    .product-thumb .button-group {
        opacity: 1;
        transform: none;
    }
}
/* Price inside button-group: push to left */
.product-thumb .button-group .price {
    margin-right: auto;
    white-space: normal;
    flex-shrink: 1;
    min-width: 0;
}
@media (max-width: 767px) {
    .product-list .product-thumb .button-group {
        border-left: none;
    }
}
.product-thumb .button-group button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    border: none;
    outline: none;
    color: var(--ink-900);
    text-align: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    padding: 0;
    opacity: 0;
    transform: translateY(6px);
    transition:
        opacity 0.3s ease-out,
        transform 0.3s ease-out,
        background-color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    font-size: 0;
    line-height: 0;
    cursor: pointer;
}
.product-thumb:hover .button-group button {
    opacity: 0.7;
    transform: translateY(0);
}
/* Mobile: always show buttons */
@media (hover: none) {
    .product-thumb .button-group button {
        opacity: 0.65;
        transform: none;
    }
}
.product-thumb .button-group button:focus,
.product-thumb .button-group button:focus-visible {
    outline: none;
    box-shadow: none;
    -webkit-appearance: none;
}
/* Consistent icon sizing for all button types */
.product-thumb .button-group button img {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.product-thumb .button-group button .fa {
    font-size: 18px !important;
    line-height: 1;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
/* Hide AskForQuote injected text in listing buttons */
.product-thumb .button-group button span {
    display: none !important;
}
/* AskForQuote: swap cart icon → envelope on modified buttons */
.product-thumb .button-group button[data-hint] img,
.product-thumb .button-group button[data-hint] svg {
    display: none !important;
}
.product-thumb .button-group button[data-hint] .fa {
    display: none !important;
}
.product-thumb .button-group button[data-hint]::before {
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='20' height='16' x='2' y='4' rx='2'/%3E%3Cpath d='m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7'/%3E%3C/svg%3E")
        no-repeat center / contain;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
/* Button hover — clean circle, no heavy background */
.product-thumb .button-group button:hover {
    opacity: 1 !important;
    text-decoration: none;
}
.product-thumb .button-group button:hover img,
.product-thumb .button-group button:hover svg,
.product-thumb .button-group button:hover .fa,
.product-thumb .button-group button:hover::before {
    transform: scale(1.12);
}
/* Active press feedback */
.product-thumb .button-group button:active {
    transform: scale(0.92);
}
@media (max-width: 1199px) {
    .product-thumb .button-group button,
    .product-thumb .button-group button + button {
        width: 36px;
    }
}
@media (max-width: 767px) {
    .product-thumb .button-group button,
    .product-thumb .button-group button + button {
        width: 36px;
    }
}
.thumbnails {
    overflow: auto;
    clear: both;
    list-style: none;
    margin: 0;
    padding: 0;
}
.thumbnail {
    max-width: calc(100% * 0.5);
    float: left;
    padding: 10px;
    margin: 0px;
    line-height: 1.45;
    background-color: var(--surface-base);
    border: none;
    border-radius: 0px;
}
.thumbnails > li {
    outline: none;
}
.thumbnails > img {
    vertical-align: -webkit-baseline-middle;
}
.image-additional a {
    display: contents;
}
.image-additional {
    vertical-align: -webkit-baseline-middle;
}
.thumbnails .image-additional {
    vertical-align: -webkit-baseline-middle;
    max-width: calc(100% * 0.2);
    float: right;
    padding: 10px;
}
@media (min-width: 1600px) {
    #content .col-lg-2:nth-child(6n + 1),
    #content .col-lg-3:nth-child(4n + 1),
    #content .col-lg-4:nth-child(3n + 1),
    #content .col-lg-6:nth-child(2n + 1) {
        clear: left;
    }
}
@media (min-width: 1200px) {
    #content .col-lg-2:nth-child(6n + 1),
    #content .col-lg-3:nth-child(4n + 1),
    #content .col-lg-4:nth-child(3n + 1),
    #content .col-lg-6:nth-child(2n + 1) {
        clear: left;
    }
}
@media (min-width: 992px) and (max-width: 1199px) {
    #content .col-md-2:nth-child(6n + 1),
    #content .col-md-3:nth-child(4n + 1),
    #content .col-md-4:nth-child(3n + 1),
    #content .col-md-6:nth-child(2n + 1) {
        clear: left;
    }
}
@media (min-width: 768px) and (max-width: 991px) {
    #content .col-sm-2:nth-child(6n + 1),
    #content .col-sm-3:nth-child(4n + 1),
    #content .col-sm-4:nth-child(3n + 1),
    #content .col-sm-6:nth-child(2n + 1) {
        clear: left;
    }
}

/* fixed colum left + content + right*/
@media (min-width: 768px) {
    #column-left .product-layout .col-md-3 {
        width: 100%;
    }

    #column-left + #content .product-layout .col-md-3 {
        width: 50%;
    }

    #column-left + #content + #column-right .product-layout .col-md-3 {
        width: 100%;
    }

    #content + #column-right .product-layout .col-md-3 {
        width: 100%;
    }
}

/* fixed product layouts used in left and right columns */
#column-left .product-layout,
#column-right .product-layout {
    width: 100%;
}

/* fixed mobile cart quantity input */
.input-group .form-control[name^="quantity"] {
    min-width: 50px;
}

html[dir="rtl"] .checkbox input[type="checkbox"],
html[dir="rtl"] .checkbox-inline input[type="checkbox"],
html[dir="rtl"] .radio input[type="radio"],
html[dir="rtl"] .radio-inline input[type="radio"] {
    position: absolute;
    margin-top: 4px; /* Removed \9 */
    margin-right: -20px;
    margin-left: unset;
}
html[dir="rtl"] .input-group-btn:last-child > .btn {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}
html[dir="rtl"] .input-group .form-control:first-child {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border-top-left-radius: unset;
    border-bottom-left-radius: unset;
}
html[dir="rtl"] .container .row:first-child .col-sm-4,
html[dir="rtl"] .container .row:first-child .col-sm-5 {
    float: right;
}
/* RTL cart — cleaned */

/* ===== Modern header refinements (safe overrides) ===== */

/* Desktop header height + icon button sizing */
.site-header .header-top {
    padding: 20px 0;
}

.site-header .header-top__logo img {
    max-height: 41px;
}

/* Make the language flag sit visually centered inside its circle */
.site-header .language-action .action-icon img {
    width: 22px;
    height: auto;
    display: block;
    border-radius: 4px;
}

/* Menu: remove legacy word-spacing hack + make nav feel modern */
.site-header .header-menu #menu,
.site-header #container-menu #menu {
    background: transparent !important;
    border: 0 !important;
}

/* Center the supermenu navigation items */
#supermenu > ul {
    text-align: center !important;
}

/* ── Supermenu: Crema typography compliance ── */
/* Boosted specificity with `body` — supermenu.css loads AFTER stylesheet.css,
   so equal-specificity !important rules would lose to supermenu.css's cascade. */
body #supermenu ul li a.tll {
    font-weight: 600 !important; /* Crema §8.2: only 400/600, never 500 */
    letter-spacing: 0.1em !important; /* Crema §8.2: uppercase nav = 0.1em */
}
/* Override supermenu.css @media(max-width:1200px) which bumps font to 15px + caps width at 97px */
@media (max-width: 1200px) {
    body #supermenu ul li a.tll {
        font-size: var(--font-sm) !important; /* 12px, not 15px */
        max-width: none !important; /* remove 97px cap */
    }
}

.site-header .header-menu #menu .nav > li > a,
.site-header #container-menu #menu .nav > li > a {
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 0.1em !important;
    word-spacing: normal !important;
    max-width: none !important;
    padding: 10px 14px !important;
    text-align: center;
    color: var(--text-color) !important;
    line-height: 1.2 !important;
}

.site-header #menu .nav > li > a:hover,
.site-header #menu .nav > li.open > a {
    color: var(--accent-color) !important;
    background: transparent !important;
}

/* Mobile: make the CATEGORIES row quieter and align it like a modern toolbar */
@media (max-width: 767px) {
    .site-header #container-menu {
        padding: 0;
    }

    .site-header #container-menu .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .site-header #menu .navbar-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 6px 0;
    }

    .site-header #menu #category.visible-xs {
        font-size: 12px;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        opacity: 0.8;
    }

    .site-header #menu .btn-navbar.navbar-toggle {
        width: 4.1rem;
        height: 4.1rem;
        padding: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
        border: 1px solid var(--border-color);
        background: transparent;
    }
}
@media (min-width: 768px) {
    html[dir="rtl"] .navbar-nav {
        float: right;
        margin: 0;
    }

    html[dir="rtl"] .navbar-nav > li {
        float: right;
    }
}

/* @iSaulius Start */

/* fix oclabs */
/* (old close override removed — handled in modern alerts section) */
/* @restoranu */

/* Tablets / landscape (was deprecated device-width query) */
@media (max-width: 1199px) and (orientation: landscape) {
    #menu {
        height: 4.1rem;
        width: 4.1rem;
        font-weight: 400;
        background-color: var(--surface-inverse);
    }
    .container {
        margin-right: auto;
        margin-left: auto;
        width: 100%;
    }
    #menu .nav > li > a {
        font-size: 12px;
        font-weight: 400;
        text-align: center;
        margin-right: 5px;
        padding: 12px 0px;
        max-width: 95px;
    }
    #menu .nav > li > a:hover,
    #menu .nav > li.open > a {
        color: var(--text-light);
        font-weight: normal;
        font-size: 12px;
        clear: both;
    }
    #menu .dropdown-inner a {
        line-height: 1.48;
        font-size: 12px;
    }
    /* search */
    #search {
        float: left;
        padding-top: 6px;
        margin: 0 20px 0px -5px;
        width: 200px;
    }
    /* logo */
    .logo {
        -webkit-font-smoothing: subpixel-antialiased;
        font-size: 32px;
        font-weight: 600;
        color: var(--brand-color) !important;
        text-align: left;
        line-height: 0.95;
        margin: 10px 0 10px -10px;
        width: 300px;
    }
    .logo a {
        color: var(--brand-color) !important;
    }
    .logo2 {
        font-size: 11px;
        color: var(--brand-color) !important;
        font-weight: normal;
        letter-spacing: 0.25px;
    }
    .product-grid .product-thumb .caption {
        padding: 0 !important;
    }
    .col-sm-10 {
        width: 60%;
        padding-right: -15px !important;
        padding-left: -15px !important;
    }
    .col-sm-2 {
        width: 25%;
    }
    .col-sm-4 {
        width: 33.3%;
    }
    .thumbnail {
        max-width: calc(100% * 1);
    }
}

/* iPhone (portrait) ----------- */
@media (max-width: 667px) {
    .isearch-container {
        max-width: 92% !important;
        min-width: 327px !important;
    }
    /* logo iphone start */
    .logo {
        font-size: 40px;
        font-weight: normal;
        color: var(--brand-color) !important;
        text-align: center;
        margin: 0 0 10px 0;
    }
    .logo2 {
        font-size: var(--font-2xl);
        color: var(--brand-color) !important;
        font-weight: normal;
        letter-spacing: normal;
        text-align: center;
        padding-bottom: 10px;
    }
    header {
        padding: 0;
        background-color: var(--background-medium);
    }
    /* logo iphone end */
    #menu .nav > li > a {
        min-width: 100%;
        word-spacing: 100%;
        text-align: left;
        padding: 7px 0 7px 0;
        font-size: 14px;
        padding-left: 15px;
    }
    #menu .nav > li > a:hover,
    #menu .nav > li.open > a {
        color: var(--text-light);
        font-weight: normal;
        font-size: 14px;
        clear: both;
        background-color: var(--surface-inverse);
        -webkit-transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        -moz-transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        -o-transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    }
    .navbar-header {
        padding-bottom: 5px;
    }
    #menu .dropdown-menu a:hover,
    #menu .dropdown-menu ul li a:hover {
        color: var(--nav-link-color) !important;
    }
    #menu .see-all {
        color: var(--text-light);
        font-size: 13px;
        padding-left: 5px;
    }
    #menu #category {
        text-transform: uppercase;
        font-size: var(--font-2xl);
        font-weight: 400;
        padding: 0;
    }
    .thumbnail {
        max-width: calc(100% * 1);
    }
    .image-additional a {
        display: inline-block;
    }
    .nav-tabs {
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    .nav-tabs > li {
        width: auto;
    }
    .nav-tabs > li > a {
        padding: 12px 16px;
    }
    .nav-tabs > li > a::after {
        left: 12px;
        right: 12px;
    }
    span.hidden-top {
        vertical-align: -webkit-baseline-middle;
        display: none !important;
    }
}

/* iPhone SE (portrait) ----------- */
@media (max-width: 320px) {
    #search {
        margin-bottom: 10px;
    }
    .isearch-container {
        max-width: 92% !important;
        min-width: 272px !important;
    }
    /* logo iphone start */
    .logo {
        font-size: 33px;
        padding: 0 -15px !important;
        font-weight: normal;
        color: var(--brand-color) !important;
        text-align: center;
    }
    .logo2 {
        font-size: 15px;
        color: var(--brand-color) !important;
        font-weight: normal;
        letter-spacing: normal;
        text-align: center;
        padding-bottom: 15px;
    }
    /* logo iphone end */
    header {
        padding: 0;
        background-color: var(--background-medium);
    }
    #top-links .fa {
        margin-left: 20px;
        margin-right: 0px;
        padding-right: 0 !important;
        padding-left: 0 !important;
    }
    #top-links {
        font-weight: 400;
        -webkit-font-smoothing: subpixel-antialiased;
        margin-top: 0px;
    }
    #menu .nav > li > a {
        min-width: 100%;
        word-spacing: 100%;
        text-align: left;
        padding: 7px 0 7px 0;
        font-size: 14px;
        padding-left: 15px;
    }
    #menu .nav > li > a:hover,
    #menu .nav > li.open > a {
        color: var(--text-light);
        font-weight: normal;
        font-size: 14px;
        clear: both;
        background-color: var(--surface-inverse);
        -webkit-transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        -moz-transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        -o-transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    }
    .navbar-header {
        padding-bottom: 5px;
    }
    #menu .dropdown-menu a:hover,
    #menu .dropdown-menu ul li a:hover {
        color: var(--nav-link-color) !important;
    }
    #menu .see-all {
        color: var(--text-light);
        font-size: 13px;
        padding-left: 5px;
    }
    #menu #category {
        text-transform: uppercase;
        font-size: var(--font-2xl);
        font-weight: 400;
        padding: 0;
    }
    .thumbnail {
        max-width: calc(100% * 1);
    }
    .image-additional a {
        display: inline-block;
    }
    span.hidden-top {
        vertical-align: -webkit-baseline-middle;
        display: none !important;
    }
}

/* iPhone (portrait) END -------- */
header {
    padding: 0;
    background-color: var(--background-medium);
}
#menu .btn-navbar .fa {
    font-size: 36px;
}

.form-control {
    display: block;
    /*  max-width: 620px; */
    height: 44px;
    padding: 0 14px;
    font-size: 14px;
    box-sizing: border-box;
    line-height: 1.42857143;
    background-color: var(--surface-base);
    background-image: none;
    border: var(--border-width) var(--border-style) var(--border-color);
    border-radius: 6px;
    -webkit-box-shadow: inset 0 0.07143rem 0.07143rem rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 0.07143rem 0.07143rem rgba(0, 0, 0, 0.075);
    -webkit-transition:
        border-color ease-in-out 0.15s,
        -webkit-box-shadow ease-in-out 0.15s;
    transition:
        border-color ease-in-out 0.15s,
        -webkit-box-shadow ease-in-out 0.15s;
    transition:
        border-color ease-in-out 0.15s,
        box-shadow ease-in-out 0.15s;
    transition:
        border-color ease-in-out 0.15s,
        box-shadow ease-in-out 0.15s,
        -webkit-box-shadow ease-in-out 0.15s;
}
textarea.form-control {
    height: auto;
    min-height: 100px;
    padding: 12px 14px;
}
/* Legacy .powered kept for OpenCart compatibility */
.powered {
    font-size: 12px;
    line-height: 1.4;
    margin: 0;
}
.paypal {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    padding: 10px 0 5px 0;
}
#container-menu {
    background-color: var(--surface-inverse);
}
.panel {
    margin-bottom: 30px;
    background-color: var(--surface-base);
    border-radius: 0px;
    -webkit-box-shadow: none;
    box-shadow: none;
}
/* Remove inner shadow from inputs on mobile iOS */
textarea,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"] {
    appearance: none;
    -webkit-appearance: none;
}
.text-danger {
    color: var(--status-danger-text);
    font-size: 12px;
    padding-top: 1px;
    padding-left: 5px;
}
/* .btn-default:hover — unified above, override removed */
.table > tbody > tr > td {
    border: var(--border-width) var(--border-style) var(--border-color);
}
.form-horizontal .radio-inline {
    padding-top: 0 !important;
}
.form-horizontal .control-label {
    padding-top: 1rem;
    margin-bottom: 0;
    text-align: right;
    font-weight: 600 !important;
}
input[type="checkbox"],
input[type="radio"] {
    margin: 1rem;
    position: relative !important;
}
.form-horizontal .checkbox,
.form-horizontal .radio {
    padding-top: 0 !important;
}
.radio-inline input[type="radio"] {
    position: relative !important;
}
.radio-inline {
    font-weight: 600 !important;
}
.panel-heading {
    min-height: 4rem;
}
.panel-title {
    padding-top: 3px !important;
    font-size: 1.4rem;
    font-weight: 600 !important;
}
.modal-title {
    font-size: 1.7rem;
    font-weight: 600 !important;
}
.table-bordered > thead > tr > td {
    border-bottom: var(--border-width) var(--border-style) var(--border-color);
    font-size: 1.4rem;
    font-weight: 600;
}
.table-bordered {
    border: var(--border-width) var(--border-style) var(--border-color);
}
.table > tbody + tbody {
    border-top: 0.07143rem solid var(--border-color);
}

.table-bordered > tbody > tr > td,
.table-bordered > tbody > tr > th,
.table-bordered > tfoot > tr > td,
.table-bordered > tfoot > tr > th,
.table-bordered > thead > tr > td,
.table-bordered > thead > tr > th {
    border: var(--border-width) var(--border-style) var(--border-color);
}
.panel-default {
    /*		border: var(--border-width) var(--border-style) var(--border-color); */
    border: var(--border-width) var(--border-style) var(--border-color) !important;
}
.panel-default > .panel-heading {
    color: var(--text-color);
    background-color: var(--background-light);
    -webkit-border-radius: 6px;
    border-radius: 6px;
}
.panel-group .panel-heading + .panel-collapse > .list-group,
.panel-group .panel-heading + .panel-collapse > .panel-body {
    border-top: 0.07143rem solid #d6d0c4 !important;
}
.table > tbody > tr > td,
.table > tbody > tr > th,
.table > tfoot > tr > td,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > thead > tr > th {
    vertical-align: middle;
}
.carousel-inner > .item > a > img,
.carousel-inner > .item > img,
.img-responsive {
    max-width: calc(100% * 1);
}
.img-thumbnail {
    display: inline-block;
    padding: 0px;
    line-height: 1.45;
    background-color: var(--surface-base);
    -webkit-transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    -o-transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: none;
    outline: none;
    vertical-align: middle !important;
}
.img-compare {
    max-width: 190px;
    display: inline-block;
    position: relative;
    text-align: center;
}
.radio input[type="radio"],
.radio-inline input[type="radio"] {
    position: relative;
}
.radio .img-thumbnail {
    margin-right: 10px !important;
}
.checkbox .img-thumbnail {
    margin-right: 10px !important;
}
.dropdown-menu {
    margin-top: 4px;
    padding: 20px;
    border: var(--border-width) var(--border-style) var(--border-color);
    border-radius: 8px;
}
ul.dropdown-menu.dropdown-menu-right {
    top: 33px;
    border: var(--border-width) var(--border-style) var(--border-color);
    border-radius: 8px;
    padding: 20px;
    z-index: 99999999 !important;
}
/* (pagination overrides removed — consolidated above, see §Pagination · premium 2026) */
.modal-header .close {
    margin-top: 2px;
}
.input-group-sm > .form-control,
.input-group-sm > .input-group-addon,
.input-group-sm > .input-group-btn > .btn {
    height: 44px;
    font-size: 14px;
    border-radius: 6px 0 0 6px;
}
.bootstrap-datetimepicker-widget td.active,
.bootstrap-datetimepicker-widget td.active:hover {
    background-color: var(--accent-color) !important;
}
.table-responsive {
    max-width: 100% !important;
}

hr {
    border: var(--border-width) var(--border-style) var(--border-color);
}
.well {
    background-color: var(--background-light);
    padding: 15px;
    border: none;
    border-radius: 6px;
    -webkit-box-shadow: none;
    box-shadow: none;
    margin-bottom: 15px;
}
.navbar {
    position: relative;
    min-height: 50px;
    margin-bottom: 0px;
    border: none;
}
.navbar-nav {
    margin: 0 0 0 -15px;
}
.navbar-collapse {
    padding-bottom: 15px;
    overflow-x: visible;
    -webkit-overflow-scrolling: touch;
    border-top: none;
    background-color: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}
.navbar-toggle {
    position: relative;
    margin-top: 5px;
    margin-right: 10px;
    margin-bottom: 8px;
    background-image: none;
    border: none;
    border-radius: 0;
}
.vd pre,
.block-container pre {
    border: var(--border-width) var(--border-style) var(--border-color) !important;
    background-color: var(--surface-base);
    max-width: 100%;
    overflow-wrap: break-word;
}
.pre {
    border: var(--border-width) var(--border-style) var(--border-color);
    background-color: var(--surface-base);
    max-width: 100%;
    overflow-wrap: break-word;
    overflow-wrap: anywhere;
}
.lead {
    font-weight: normal;
}
.tab-content {
    margin: 24px 0 0;
    font-size: var(--font-md);
    line-height: 1.7;
    color: var(--ink-900);
}
.tab-pane {
    padding-bottom: 32px;
}
.nav > li > a {
    padding: 0;
}
/* Tab items */
.nav-tabs > li {
    margin-bottom: -1px;
}
.nav-tabs > li > a {
    position: relative;
    display: block;
    padding: 14px 24px;
    font-size: var(--font-para);
    font-weight: 400;
    color: var(--ink-muted);
    background: transparent;
    border: none;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.25s ease;
}
/* Underline ::after — same mechanism as supermenu */
.nav-tabs > li > a::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 20px;
    right: 20px;
    height: 2px;
    background: var(--ink-900);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.3s ease;
}
/* Hover — underline slides in from left */
.nav-tabs > li > a:hover,
.nav-tabs > li > a:focus {
    color: var(--ink-900);
    background: transparent;
    border: none;
}
.nav-tabs > li > a:hover::after,
.nav-tabs > li > a:focus::after {
    transform: scaleX(1);
}
/* Active — underline fixed, weight 600 */
.nav-tabs > li.active > a,
.nav-tabs > li.active > a:focus,
.nav-tabs > li.active > a:hover {
    color: var(--ink-900);
    font-weight: 600;
    background: transparent;
    border: none;
}
.nav-tabs > li.active > a::after {
    transform: scaleX(1);
}
.modal-dialog {
    max-width: 800px;
}
.btn-group > .btn {
    margin: 0 3px;
}
.price-new {
    color: var(--status-danger-text);
}
r {
    color: var(--status-danger-text);
    font-size: 20px;
    font-weight: 600;
}
@media screen {
    .owl-carousel.owl-advs {
        margin: 0px;
        margin-bottom: 0px;
        background: none !important;
    }
}
label#ENSPrivacyPolicy {
    font-weight: 600;
}

/*  From ascaso.lt  */

/* iPhone (portrait) ----------- */
@media (max-width: 667px) {
    #supermenu.respsmall a.mobile-trigger {
        font-size: 24px;
        /* padding: 15px 0px 15px 10px !important; */
        color: var(--text-color) !important;
        background: none !important;
        text-shadow: none !important;
    }
    #supermenu ul li a.tll {
        padding: 15px 0px 15px 10px !important;
        max-width: 100% !important;
        font-size: 15px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    #supermenu.respsmall .superdropper span {
        padding: 7px 10px !important;
    }
    #supermenu.respsmall ul li div .withimage .image img {
        width: 120px !important;
        margin-left: 5px !important;
        margin-right: 10px !important;
    }
    #supermenu ul li div .withimage .name a {
        font-size: 13px;
        font-weight: 400;
        color: var(--text-color);
    }
}
/* iPhone (portrait) END ----------- */

/* iPhone SE (portrait) ----------- */
@media (max-width: 320px) {
    #supermenu.respsmall ul li div .withimage .image img {
        width: 100px !important;
        margin-left: 5px !important;
        margin-right: 10px !important;
    }
    #supermenu ul li div .withimage .name a {
        font-size: 12px;
        font-weight: 600;
        color: var(--text-color);
    }
    .name {
        margin-top: 40px !important;
    }
}
/* iPhone SE (portrait) END ----------- */

blockquote {
    page-break-inside: avoid;
}
.checkbox,
.radio {
    /* margin-bottom: 0px !important; */
}
.af_group_checkbox {
    z-index: 1;
}
.owl-carousel.owl-advs {
    margin: 0px;
    margin-bottom: 0px !important;
    background: none !important;
    /* CWV: prevent CLS — min-height avoids layout shift while images load */
    min-height: 200px;
    overflow: hidden;
}
/* Sidebar slider: no min-height needed */
#column-left .owl-carousel.owl-advs,
#column-right .owl-carousel.owl-advs {
    min-height: 0;
}
.owl-carousel.owl-advs .adv_slide_ss img {
    width: 100%;
    height: auto;
}
/* Xpayment ----------- */
.xpayment-logo {
    max-height: 50px !important;
    margin-right: 10px;
    display: inline;
}
.xpayment-desc {
    padding: 2px 0 0 0!important;
    margin-bottom: 10px;
}
/* Xshippingpro ----------- */
.xshippingpro-desc {
    padding: 2px 0 0 20px !important;
    margin-bottom: 10px;
}
.xshippingpro-logo {
    max-height: 32px;
    margin-right: 10px;
    display: inline;
}
/* Apple Pay */
apple-pay-button {
    --apple-pay-button-width: 150px;
    --apple-pay-button-height: 30px;
    --apple-pay-button-border-radius: 3px;
    --apple-pay-button-padding: 0px 0px;
    --apple-pay-button-box-sizing: border-box;
}

/* isearch — old section neutralised, styles moved to main iSearch block below */
.isearch-container .search-popup {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 280px;
    background: var(--surface-base);
    font-size: 13px;
    padding: 1rem;
    border-radius: 0.65rem;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: var(--transition);
    z-index: 1100;
    border: none;
}
.header .isearch-container,
.mobile-search .isearch-container {
    max-width: 92%;
}
li .language {
    padding: 0 15px;
}
li .language button {
    outline: none;
    width: -webkit-fill-available;
    margin-bottom: 5px;
    border: none;
    background: none;
    text-align: left;
}
.xshippingpro-options {
    margin: 15px;
}
.ocm-popup-title {
    padding: 15px !important;
}
.ocm-have-title .ocm-popup-close {
    top: 25% !important;
}
.owl-carousel.owl-advs {
    margin: 0px !important;
}
/* ── Ajax Filter ── */
.ajax-filter {
    margin-bottom: 0 !important;
    background: var(--surface-base);
    border: var(--border-width) var(--border-style) var(--border-color);
    border-radius: 8px;
    padding: 0 20px;
}
#column-left .ajax-filter:first-of-type {
    margin-top: 0;
}
.ajax-filter > .title {
    padding: 16px 20px 16px 0 !important;
    min-height: auto !important;
    position: relative;
    overflow: visible !important;
}
.ajax-filter > .title > .title {
    font-size: 13px !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ink-900) !important;
}
.ajax-filter > .title > span {
    display: none !important;
}
.ajax-filter > .title::after {
    content: "" !important;
    position: absolute;
    top: 50%;
    right: 2px;
    width: 7px;
    height: 7px;
    border-right: 1.5px solid var(--ink-900);
    border-bottom: 1.5px solid var(--ink-900);
    transform: translateY(-65%) rotate(45deg);
    opacity: 0.35;
    transition:
        transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        opacity 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    pointer-events: none;
}
.ajax-filter > .title:hover::after {
    opacity: 0.7;
}
.ajax-filter > .title.collapsed::after {
    transform: translateY(-35%) rotate(-45deg);
}
.ajax-filter .af-heading,
.af-heading:hover {
    border: none;
    border-bottom: var(--border-width) var(--border-style) var(--border-color);
    margin-bottom: 0;
    color: var(--ink-900);
    padding: 16px 0 14px !important;
    min-height: auto !important;
    background: transparent !important;
}
.ajax-filter .af-body .af-container {
    background-color: transparent !important;
    border: none;
}
.ajax-filter .af-body .af-container > .af-heading {
    padding: 16px 20px 14px 0 !important;
    min-height: auto !important;
    border-bottom: var(--border-width) var(--border-style) var(--border-soft);
    position: relative;
    overflow: visible !important;
}
.ajax-filter .af-body .af-container > .af-heading > .title {
    font-size: 12px !important;
    font-weight: 600 !important;
    color: var(--ink-900) !important;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.ajax-filter .af-body .af-container > .af-heading > span {
    display: none !important;
}
.ajax-filter .af-body .af-container > .af-heading::after {
    content: "" !important;
    position: absolute;
    top: 52%;
    right: 5px;
    width: 7px;
    height: 7px;
    border-right: 1.5px solid var(--ink-900);
    border-bottom: 1.5px solid var(--ink-900);
    transform: translateY(-65%) rotate(45deg);
    opacity: 0.35;
    transition:
        transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        opacity 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    pointer-events: none;
}
.ajax-filter .af-body .af-container > .af-heading:hover::after {
    opacity: 0.7;
}
.ajax-filter .af-body .af-container > .af-heading.collapsed::after {
    transform: translateY(-35%) rotate(-45deg);
}
.ajax-filter .af-body .af-container > .af-elements .af-wrapper {
    margin: 0 !important;
    padding: 12px 0 16px !important;
}
.ajax-filter .af-body .af-container > .af-elements .af-wrapper .af-element {
    margin: 0 !important;
    padding: 4px 0;
}
.ajax-filter
    .af-body
    .af-container
    > .af-elements
    .af-wrapper
    .af-element
    label {
    font-size: 14px !important;
    padding: 4px 0;
    align-items: center;
    gap: 0;
}
.ajax-filter
    .af-body
    .af-container
    > .af-elements
    .af-wrapper
    .af-element
    label
    > .title {
    font-size: 14px !important;
    font-weight: 400 !important;
    color: var(--ink-900) !important;
    word-break: normal !important;
    line-height: 1.45;
}
.ajax-filter
    .af-body
    .af-container
    > .af-elements
    .af-wrapper
    .af-element
    label
    > .title
    af_quantity {
    color: rgba(0, 0, 0, 0.28) !important;
    font-size: 12px !important;
    margin-left: 2px;
}

/* Checkbox — larger, rounded, premium */
.ajax-filter
    .af-body
    .af-container
    > .af-elements
    .af-wrapper
    .af-element
    label
    > input[type="checkbox"]
    + span {
    width: 18px !important;
    min-width: 18px !important;
    height: 18px !important;
    min-height: 18px !important;
    border-radius: 4px;
    border-color: var(--border-color) !important;
    border-width: 1.5px !important;
    background-color: var(--surface-base) !important;
    margin-top: 0;
    margin-right: 10px !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.ajax-filter
    .af-body
    .af-container
    > .af-elements
    .af-wrapper
    .af-element
    label:hover
    > input[type="checkbox"]
    + span {
    border-color: var(--ink-800) !important;
}
.ajax-filter
    .af-body
    .af-container
    > .af-elements
    .af-wrapper
    .af-element
    label
    > input[type="checkbox"]:checked
    + span {
    background-color: var(--ink-900) !important;
    border-color: var(--ink-900) !important;
}
.ajax-filter
    .af-body
    .af-container
    > .af-elements
    .af-wrapper
    .af-element
    label
    > input[type="checkbox"]:checked
    + span::after {
    border-color: var(--text-inverse) !important;
    top: 3px !important;
    left: 3px !important;
    width: 10px !important;
    height: 5px !important;
}

/* Radio — larger */
.ajax-filter
    .af-body
    .af-container
    > .af-elements
    .af-wrapper
    .af-element
    label
    > input[type="radio"]
    + span {
    width: 18px !important;
    min-width: 18px !important;
    height: 18px !important;
    min-height: 18px !important;
    border-color: var(--border-color) !important;
    border-width: 1.5px !important;
    background-color: var(--surface-base) !important;
    margin-right: 10px !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.ajax-filter
    .af-body
    .af-container
    > .af-elements
    .af-wrapper
    .af-element
    label:hover
    > input[type="radio"]
    + span {
    border-color: var(--ink-800) !important;
}
.ajax-filter
    .af-body
    .af-container
    > .af-elements
    .af-wrapper
    .af-element
    label
    > input[type="radio"]:checked
    + span::after {
    background-color: var(--ink-900) !important;
    width: 8px !important;
    height: 8px !important;
    top: 4px !important;
    left: 4px !important;
}

/* Hover effect on labels */
.af-element label:hover .title {
    color: var(--accent-color) !important;
    transition: color 0.15s ease;
}

/* Search input inside filter */
.ajax-filter
    .af-body
    .af-container
    > .af-elements
    .input-field
    > input[type="text"] {
    height: 40px !important;
    min-width: 0 !important;
    width: 100% !important;
    border: var(--border-width) var(--border-style) var(--border-color) !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    padding: 0 14px !important;
    color: var(--ink-900) !important;
    transition:
        border-color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        background-color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.ajax-filter
    .af-body
    .af-container
    > .af-elements
    .input-field
    > input[type="text"]:focus {
    border-color: var(--ink-900) !important;
    background: var(--surface-base) !important;
    outline: none !important;
}
.ajax-filter
    .af-body
    .af-container
    > .af-elements
    .input-field
    > input[type="text"]::placeholder {
    color: rgba(0, 0, 0, 0.3) !important;
    font-weight: 400;
}

/* Price slider — premium handles */
.ajax-filter .af-body .af-container > .af-elements .af-wrapper .slider-range {
    background: var(--border-color) !important;
    height: 4px !important;
    border: none !important;
    border-radius: 4px !important;
}
.ajax-filter
    .af-body
    .af-container
    > .af-elements
    .af-wrapper
    .slider-range
    > .noUi-base
    > .noUi-connect {
    background: var(--ink-900) !important;
}
.ajax-filter
    .af-body
    .af-container
    > .af-elements
    .af-wrapper
    .slider-range
    > .noUi-base
    > .noUi-origin
    .noUi-handle {
    background: var(--surface-base) !important;
    border: 2px solid var(--ink-900) !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12) !important;
    width: 18px !important;
    height: 18px !important;
    border-radius: 50% !important;
    top: -8px !important;
    cursor: grab;
    transition: box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.ajax-filter
    .af-body
    .af-container
    > .af-elements
    .af-wrapper
    .slider-range
    > .noUi-base
    > .noUi-origin
    .noUi-handle:active {
    box-shadow: 0 0 0 4px rgba(40, 39, 41, 0.1) !important;
    cursor: grabbing;
}
.ajax-filter
    .af-body
    .af-container
    > .af-elements
    .af-wrapper
    .slider-range
    > .noUi-base
    > .noUi-origin
    .noUi-handle::before,
.ajax-filter
    .af-body
    .af-container
    > .af-elements
    .af-wrapper
    .slider-range
    > .noUi-base
    > .noUi-origin
    .noUi-handle::after {
    display: none !important;
}
/* Price inputs */
.ajax-filter
    .af-body
    .af-container
    > .af-elements
    .af-wrapper
    .af-element.slider
    > .price
    input {
    font-size: 13px !important;
    border: var(--border-width) var(--border-style) var(--border-color) !important;
    border-radius: 6px !important;
    background: var(--background-light) !important;
    color: var(--ink-900) !important;
    height: 36px !important;
    text-align: center !important;
    transition:
        border-color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        background-color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.ajax-filter
    .af-body
    .af-container
    > .af-elements
    .af-wrapper
    .af-element.slider
    > .price
    input:focus {
    border-color: var(--ink-900) !important;
    background: var(--surface-base) !important;
    outline: none !important;
}

/* IRS Range Slider — premium restyle */
.irs {
    height: 40px !important;
}
#column-left .ajax-filter .irs-line,
.ajax-filter .irs-line,
.irs-line {
    height: 3px !important;
    top: 26px !important;
    background: var(--border-color) !important;
    background-image: none !important;
    border: none !important;
    border-radius: 4px !important;
}
.irs-line-left,
.irs-line-mid,
.irs-line-right {
    height: 3px !important;
    background: transparent !important;
    background-image: none !important;
    border: none !important;
}
#column-left .ajax-filter .irs-bar,
.ajax-filter .irs-bar,
.irs-bar {
    height: 3px !important;
    top: 26px !important;
    background: var(--ink-900) !important;
    background-image: none !important;
    background-color: var(--ink-900) !important;
    border: none !important;
    border-radius: 4px !important;
    z-index: 1 !important;
}
.irs-bar-edge {
    display: none !important;
}
#column-left .ajax-filter .irs-slider,
.ajax-filter .irs-slider,
.irs-slider {
    top: 20px !important;
    width: 14px !important;
    height: 14px !important;
    background: var(--ink-900) !important;
    background-image: none !important;
    border: none !important;
    border-radius: 50% !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15) !important;
    cursor: grab !important;
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease !important;
    z-index: 2 !important;
}
#column-left .ajax-filter .irs-slider::after,
.ajax-filter .irs-slider::after,
.irs-slider::after {
    display: none !important;
}
#column-left .ajax-filter .irs-slider:hover,
.ajax-filter .irs-slider:hover,
.irs-slider:hover,
.irs-slider.state_hover {
    background: var(--ink-900) !important;
    transform: scale(1.2) !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2) !important;
}
.irs-slider:active {
    cursor: grabbing !important;
    transform: scale(1.3) !important;
    box-shadow: 0 0 0 5px rgba(40, 39, 41, 0.1) !important;
}
.irs-from,
.irs-to,
.irs-single {
    font-size: 10px !important;
    font-weight: 600 !important;
    background: var(--ink-900) !important;
    color: var(--text-inverse) !important;
    border-radius: 4px !important;
    padding: 1px 5px !important;
    line-height: 1.5 !important;
    letter-spacing: 0.2px !important;
}
.irs-min,
.irs-max {
    font-size: 10px !important;
    font-weight: 400 !important;
    color: rgba(0, 0, 0, 0.35) !important;
    background: transparent !important;
    padding: 0 !important;
    top: 0 !important;
}
.irs-shadow {
    display: none !important;
}
.irs-grid-pol {
    background: var(--border-color) !important;
}
.irs-grid-text {
    color: rgba(0, 0, 0, 0.25) !important;
    font-size: 9px !important;
}

/* Show all — link style, no border */
.ajax-filter .af-body .af-container > .af-elements .af-wrapper .af-show-all {
    font-size: 12px !important;
    font-weight: 400 !important;
    color: var(--accent-color) !important;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    padding: 4px 0 0 !important;
    text-decoration: none !important;
    transition: opacity 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    margin-top: 2px;
    letter-spacing: 0.2px;
}
.ajax-filter
    .af-body
    .af-container
    > .af-elements
    .af-wrapper
    .af-show-all:hover {
    opacity: 0.7;
}

/* Selected filter tags — pill style */
d_ajax_filter_selected {
    border: none !important;
    margin-bottom: 12px !important;
    padding: 0 !important;
    padding-top: 0 !important;
}
d_ajax_filter_selected .selected-list {
    padding: 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
}
d_ajax_filter_selected .selected-list .af-selected {
    font-size: 12px !important;
    line-height: 1.3 !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 9999px !important;
    background-color: var(--background-light) !important;
    color: var(--ink-900) !important;
    height: auto !important;
    padding: 6px 30px 6px 12px !important;
    margin: 0 !important;
    float: none !important;
    display: inline-flex !important;
    align-items: center !important;
    font-weight: 400;
    transition: background-color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: visible !important;
}
d_ajax_filter_selected .selected-list .af-selected:hover {
    background-color: var(--background-soft) !important;
}
d_ajax_filter_selected .selected-list .af-selected > p {
    height: auto !important;
    margin: 0;
}
d_ajax_filter_selected .selected-list .af-selected::after {
    right: 10px !important;
    width: 12px !important;
    background-size: 8px !important;
    background-position: center !important;
    opacity: 0.4;
}
d_ajax_filter_selected .selected-list .af-selected:hover::after {
    opacity: 0.8;
}
d_ajax_filter_selected .button-reset {
    font-size: 11px !important;
    color: var(--accent-color) !important;
    opacity: 0.8;
    float: right;
    margin-bottom: 8px;
}
d_ajax_filter_selected .button-reset:hover {
    opacity: 1;
}
.ajax-filter .af-body .selected-list {
    padding: 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    margin: 5px;
}
.ajax-filter .af-body .selected-list .af-selected {
    font-size: 12px !important;
    line-height: 1.3 !important;
    border: var(--border-width) var(--border-style) var(--border-color) !important;
    border-radius: 9999px !important;
    background-color: var(--background-light) !important;
    color: var(--ink-900) !important;
    height: auto !important;
    padding: 6px 30px 6px 12px !important;
    margin: 2 !important;
    float: none !important;
    display: inline-block !important;
    align-items: center !important;
    font-weight: 400;
    transition: background-color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: visible !important;
}
.ajax-filter .af-body .selected-list .af-selected:hover {
    background-color: var(--background-soft) !important;
}
.ajax-filter .af-body .selected-list .af-selected > p {
    height: auto !important;
    margin: 0;
}
.ajax-filter .af-body .selected-list .af-selected::after {
    right: 10px !important;
    width: 12px !important;
    background-size: 8px !important;
    background-position: center !important;
    opacity: 0.4;
}
.ajax-filter .af-body .selected-list .af-selected:hover::after {
    opacity: 0.8;
}
/* ── Ajax Filter end ── */
/* pop up image */
.mfp-gallery .mfp-image-holder .mfp-figure {
    background-color: var(--surface-base);
    border-radius: 8px;
}
.mfp-counter {
    padding-right: 15px;
    color: var(--text-color) !important;
    line-height: 30px !important;
}
.mfp-title {
    padding-left: 15px;
    color: var(--text-color) !important;
    line-height: 30px !important;
}
img.mfp-img {
    max-width: calc(100% * 0.75) !important;
    max-height: 85vh;
    object-fit: contain;
}
.mfp-image-holder .mfp-close,
.mfp-iframe-holder .mfp-close {
    padding-right: 15px !important;
    color: var(--text-color) !important;
}
b,
strong {
    font-weight: 600 !important;
}
@media (min-width: 1600px) {
    .container {
        width: 1375px;
    }
}

.product-thumb--wishlist,
.product-thumb--compare {
    display: block;
    color: var(--text-color);
    border: 1px solid rgba(200, 200, 200, 0.8);
    border: 1px solid var(--border-strong);
    text-align: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    transition: var(--transition);
    opacity: 0.5;
}

.product-thumb:hover .product-thumb--wishlist,
.product-thumb:hover .product-thumb--compare {
    opacity: 1;
}

.product-thumb--wishlist:hover,
.product-thumb--compare:hover {
    color: var(--color-accent);
    border: 1px solid var(--color-accent);
    cursor: pointer;
}

.product-thumb--wishlist .fa,
.product-thumb--compare .fa {
    line-height: 32px;
}

.product-list .product-thumb--wishlist,
.product-list .product-thumb--compare {
    margin-right: var(--space-1);
    float: left;
    margin-top: 3px;
}

.product-grid .product-thumb--wishlist,
.product-grid .product-thumb--compare {
    position: absolute;
    right: var(--space-4x);
    top: var(--space-4x);
    z-index: 111;
}

.product-grid .product-thumb--compare {
    top: calc(var(--space-4x) + 32px + var(--space-1));
}

.product-list .product-thumb--info {
    float: left;
    margin-top: var(--space-4x);
    margin-right: var(--space-4x);
    margin-bottom: var(--space-4x);
    width: calc(
        100% - 100px - var(--space-4x) - var(--space-4x) - var(--space-4x)
    );
}
.btn-info .fa {
    /*   vertical-align: sub; */
}
.alert-warning {
    margin: 15px 0 !important;
    border-left-color: var(--status-warning);
}
.islpr-alert {
    /*   padding: 15px !important;  */
}

blockquote {
    padding: 10px 20px;
    margin: 0 0 20px;
    font-size: var(--font-xl);
    border-left: 3px solid var(--border-muted) !important;
    color: var(--text-color) !important;
}

/* Global reset — scoped so it doesn't fight .btn-* / ghost button borders */
button:not(.btn):not([class*="btn-"]):not(.wl-action):not(
        .cart-page__remove
    ):not(.cart-mini__remove):not(.oi-btn-icon),
select {
    border: none;
    background-color: transparent;
}
#price-reg {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
fieldset {
    padding: 15px;
    border-radius: 8px;
}
.form-control,
.input-lg {
    border-radius: 6px;
    padding: 10px !important;
}
/* Promotions */
.islpr-alert .close {
    right: 13px !important;
}
/* Promotions end */
.pdf-link img {
    width: 50px;
    height: 74px;
    vertical-align: middle;
    margin-right: 5px;
}
select.form-control {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: var(--surface-base);
    /*border: var(--border-width) var(--border-style) var(--border-color) !important; */
    border-radius: 6px;
    color: var(--text-color);
    height: 44px;
    padding: 0 35px 0 15px;
    box-sizing: border-box;
    width: 100%;
    max-width: 620px;
    transition:
        border-color 0.15s ease-in-out,
        box-shadow 0.15s ease-in-out;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3E%3Cpath fill='%23495057' d='M0 0l4 4 4-4h-8z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 8px 8px;
}

select.form-control:focus {
    border-color: var(--focus-border);
    outline: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
}

select.form-control:hover {
    border-color: var(--border-color) !important;
}
.buy-now-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 0 50px 0;
    gap: 20px;
    flex-wrap: wrap;
}
.buy-now-top h1 {
    margin: 0;
    font-size: var(--font-4xl);
    font-weight: 600 !important;
    line-height: 1.1;
    text-align: center;
    flex: 1;
}
@media (max-width: 767px) {
    .buy-now-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 16px;
        margin: 10px 0 30px 0;
    }
    .buy-now-top h1 {
        font-size: 2rem;
        flex: none;
        width: 100%;
    }
    .buy-now-top .btn {
        width: auto;
    }
}

/* Paslepiame dubliuotą antraštę aprašymo skirtuke, jei ji ten yra */
#tab-description h1:first-child {
    display: none;
}

.fancybox-wrap {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: calc(100% - 32px) !important;
    max-width: 780px !important;
    max-height: calc(100vh - 32px) !important;
}

.fancybox-inner {
    min-width: 100% !important;
    overflow: auto !important;
    max-height: calc(100vh - 120px) !important;
    -webkit-overflow-scrolling: touch;
}

/* Make overlay consistent with ASCASO header overlays */
.fancybox-overlay {
    background: rgba(0, 0, 0, 0.55) !important;
}

.fancybox-overlay-fixed {
    top: 0 !important;
}

.fancybox-skin {
    background: var(--surface-base) !important;
    color: var(--text-color) !important;
    border-radius: 8px !important;
    border: 1px solid var(--border-color) !important;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22) !important;
    overflow: hidden;
}

@media (max-width: 767px) {
    .fancybox-wrap {
        top: calc(12px + env(safe-area-inset-top)) !important;
        left: 12px !important;
        right: 12px !important;
        transform: none !important;
        width: auto !important;
        box-sizing: border-box;
        max-height: calc(
            100vh - 24px - env(safe-area-inset-top) -
                env(safe-area-inset-bottom)
        ) !important;
    }

    .fancybox-skin {
        max-height: calc(
            100vh - 24px - env(safe-area-inset-top) -
                env(safe-area-inset-bottom)
        ) !important;
    }

    .fancybox-inner {
        overflow-y: auto !important;
        height: auto !important;
        max-height: 100% !important;
    }

    /* Prevent close button from overlapping long titles on mobile */
    .fancybox-close {
        top: 6px !important;
        right: 6px !important;
        width: 32px !important;
        height: 32px !important;
    }

    .fancybox-wrap.afq_popup h4 {
        padding-left: 14px;
        padding-right: 46px;
        margin-top: 8px;
        margin-bottom: 10px;
        line-height: 1.25;
        word-break: break-word;
    }

    /* AskForQuote: Fancybox often sets inline heights, which can leave a blank white area.
       Force auto heights on the AFQ popup while keeping scroll via max-height. */
    .fancybox-wrap.afq_popup {
        height: auto !important;
    }

    .fancybox-wrap.afq_popup .fancybox-skin,
    .fancybox-wrap.afq_popup .fancybox-outer,
    .fancybox-wrap.afq_popup .fancybox-inner {
        height: auto !important;
    }

    .fancybox-wrap.afq_popup .fancybox-inner {
        max-height: 100% !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
    }
}

/* iOS/Safari: use dynamic viewport height to avoid bottom being clipped */
@supports (height: 100dvh) {
    @media (max-width: 767px) {
        .fancybox-wrap {
            left: 12px !important;
            right: 12px !important;
            transform: none !important;
            width: auto !important;
            box-sizing: border-box;
            max-height: calc(
                100dvh - 24px - env(safe-area-inset-top) -
                    env(safe-area-inset-bottom)
            ) !important;
        }

        .fancybox-skin {
            max-height: calc(
                100dvh - 24px - env(safe-area-inset-top) -
                    env(safe-area-inset-bottom)
            ) !important;
        }

        .fancybox-inner {
            overflow-y: auto !important;
            height: auto !important;
            max-height: 100% !important;
        }

        .fancybox-wrap.afq_popup .fancybox-inner {
            max-height: 100% !important;
        }
    }
}

/* Modern close button (avoid sprite-based “old” UI) */
.fancybox-close {
    top: 10px !important;
    right: 10px !important;
    width: 36px !important;
    height: 36px !important;
    background: transparent !important;
    border-radius: 0;
    border: none;
    opacity: 0.65;
}

.fancybox-close:before {
    content: "\00d7";
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    line-height: 1;
    color: var(--text-color);
}

.fancybox-close:hover,
.fancybox-close:focus {
    background: transparent !important;
    opacity: 1;
    outline: none;
}

.fancybox-error,
.fancybox-title {
    font-family: inherit;
    color: var(--text-color);
}
.fancybox-wrap input {
    width: 100% !important;
}
@media (min-width: 768px) {
    #product_image_holder {
        margin: -75px !important;
    }
    /* AFQ popup: reset negative margin so product image is visible */
    .fancybox-wrap.afq_popup #product_image_holder {
        margin: 0 !important;
    }
}

@media (max-width: 767px) {
    #product_image_holder {
        margin: 0 !important;
    }

    /* AskForQuote popup: inline `scale:0.5` creates large empty space.
       Reset it on mobile and size the image normally. */
    .fancybox-wrap.afq_popup #product_image_holder {
        scale: 1 !important;
        transform: none !important;
        padding: 0 !important;
        margin: 8px 0 12px !important;
    }

    .fancybox-wrap.afq_popup #product_image_holder img {
        display: block;
        width: min(240px, 60vw);
        max-width: 100%;
        height: auto;
        margin: 0 auto;
    }
}
.fancybox-inner #afq_comments {
    max-width: 100%;
    font-weight: 400 !important;
}
#ComparePricesFormBox {
    margin-top: 0;
    padding-top: 0;
    background: transparent;
}

/* ===== COMPARE PRICES FORM ===== */
.cp-wrapper {
    max-width: 560px;
    margin: 0 auto;
    padding: 0 12px;
    display: block;
}
@media (max-width: 600px) {
    .cp-wrapper {
        max-width: 100%;
        padding: 0 4px;
    }
}
.cp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 32px;
    background: var(--surface-base);
    border: var(--border-width) var(--border-style) var(--border-color);
    border-radius: 8px;
    padding: 30px 28px;
}
.cp-form-col {
    padding-right: 28px;
    border-right: var(--border-width) var(--border-style) var(--border-color);
}
.cp-info-col {
    padding-left: 4px;
    font-size: 14px;
    line-height: 1.65;
    color: var(--ink-900);
}
.cp-info-col strong {
    font-weight: 600;
}
.cp-section-title {
    font-size: var(--font-xl);
    font-weight: 600;
    color: var(--ink-900);
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: var(--border-width) var(--border-style) var(--border-color);
}
.cp-our-price {
    display: block;
    font-size: 12px;
    color: var(--ink-800);
    opacity: 0.6;
    margin-top: 4px;
}
.cp-privacy {
    margin: 16px 0;
}
.cp-privacy label {
    display: block;
    font-size: 13px;
    color: var(--ink-800);
    cursor: pointer;
    line-height: 1.5;
}
.cp-privacy label input[type="checkbox"] {
    vertical-align: middle;
    margin-right: 4px;
}
.cp-privacy a {
    text-decoration: underline;
    text-underline-offset: 2px;
}
.cp-btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 44px;
    min-width: 10rem;
    padding: 0 24px;
    font-size: var(--font-md);
    font-weight: 600;
    color: var(--text-inverse);
    background-color: var(--button-primary-bg);
    border: 1px solid var(--button-primary-border);
    border-radius: 8px;
    cursor: pointer;
    line-height: 1;
    white-space: nowrap;
    box-sizing: border-box;
    background-image: linear-gradient(
        var(--button-primary-hover),
        var(--button-primary-hover)
    );
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 100% 0%;
    transition:
        background-size 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        border-color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.cp-btn-submit:hover {
    background-size: 100% 100%;
    border-color: var(--button-primary-hover);
    color: var(--text-inverse);
}
.cp-btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
.cp-btn-icon {
    font-size: 12px;
}
.cp-field-error {
    color: var(--status-danger);
    font-size: 12px;
    margin-top: 4px;
}
.cp-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
    text-align: center;
}
.cp-success-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: var(--status-success);
    color: var(--text-inverse);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 16px;
}
.cp-success-text {
    font-size: 15px;
    color: var(--ink-900);
    line-height: 1.5;
}
@media (max-width: 767px) {
    .cp-grid {
        grid-template-columns: 1fr;
        padding: 24px 18px;
    }
    .cp-form-col {
        padding-right: 0;
        border-right: none;
        border-bottom: var(--border-width) var(--border-style)
            var(--border-color);
        padding-bottom: 20px;
        margin-bottom: 20px;
    }
    .cp-info-col {
        padding-left: 0;
    }
}
span.hidden-top {
    vertical-align: -webkit-baseline-middle;
}

.checkbox label,
.radio label {
    font-size: 13px;
}

/* -------------------------------------------------------------------------- */
/* Modern header refinements (late overrides)
   These rules must live near the end of the stylesheet to reliably override
   older theme rules like `#top .container` and `#menu .nav > li > a`.
*/

/* Reduce header height: legacy rule sets `#top .container { padding: 30px 0 0; }` */
.header-top#top .container {
    padding: 0 15px;
}

/* Avoid double left padding after restoring container padding */
.header-top #logo img {
    padding-left: 0;
}

/* Cart badge position */
.header-top__actions .cart-action #cart-total {
    top: -4px;
    right: -4px;
    left: auto;
    background: var(--surface-base);
    border: 1px solid var(--border-color);
    border-radius: 999px;
    min-width: 20px;
    height: 20px;
    line-height: 20px;
    padding: 0 5px;
    font-size: 11px;
    font-weight: 600;
}

/* Account dropdown icon alignment — handled by .account-dropdown .acct-icon below */

/* Menu typography: disable legacy word-spacing hack and width clamp */
.header-menu #menu .nav > li > a {
    word-spacing: normal;
    max-width: none;
    letter-spacing: 0.1em;
}

@media (max-width: 767px) {
    /* Mobile: keep search submit (magnifier) visible; hide close (×) to save width */
    .header-top .search-popup__close {
        display: none;
    }

    .header-top .search-popup__inner {
        gap: 0;
    }

    /* Mobile centering: logo + actions should sit centered */
    .site-header .header-top__inner {
        justify-content: center;
    }

    .site-header .header-top__logo {
        width: 100%;
        justify-content: center;
    }

    .site-header .header-top #logo img {
        margin-left: auto;
        margin-right: auto;
    }

    .site-header .header-top__actions {
        width: 100%;
        justify-content: center;
    }
}

/* Modern alerts (Ascaso premium) */
.alert {
    position: relative;
    margin: 1rem 0;
    padding: 14px 18px;
    border-radius: 8px;
    border: var(--border-width) var(--border-style) var(--border-color);
    background: var(--background-light);
    color: var(--ink-900);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.55;
    border-left: 3px solid var(--border-color);
    box-shadow: none;
}

.alert > i.fa,
.alert > i.fa-brands,
.alert > i.fa-solid,
.alert > i.fa-regular {
    margin-right: 0.5rem;
    font-size: 14px;
}

.alert a {
    color: var(--ink-900);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.alert a:hover {
    color: var(--ink-800);
}

.alert.alert-dismissible,
.alert.alert-dismissable {
    position: fixed;
    top: 90px;
    right: 20px;
    left: auto;
    z-index: 9999;
    width: fit-content;
    max-width: 560px;
    min-width: 260px;
    margin: 0;
    padding: 16px 48px 16px 18px;
    border-radius: 8px;
    border: var(--border-width) var(--border-style) var(--border-color);
    border-left: 3px solid var(--border-color);
    background: var(--surface-color, #fff);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.1),
        0 1px 4px rgba(0, 0, 0, 0.06);
    animation: xtoast-slide-in 0.35s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    overflow: hidden;
}

/* Toast inner layout — icon + body + close */
.alert.alert-dismissible,
.alert.alert-dismissable {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Icon inside toast — subtle round background */
.alert.alert-dismissible > i.fa,
.alert.alert-dismissible > i.fa-solid,
.alert.alert-dismissible > i.fa-regular,
.alert.alert-dismissible > i.fa-brands,
.alert.alert-dismissable > i.fa,
.alert.alert-dismissable > i.fa-solid,
.alert.alert-dismissable > i.fa-regular,
.alert.alert-dismissable > i.fa-brands {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    margin: 0;
    background: var(--background-soft);
    color: var(--ink-900);
}

/* Icon colour per toast type */
.alert.alert-dismissible.alert-success > i,
.alert.alert-dismissable.alert-success > i {
    background: rgba(91, 183, 91, 0.12);
    color: var(--status-success);
}
.alert.alert-dismissible.alert-danger > i,
.alert.alert-dismissable.alert-danger > i {
    background: rgba(206, 0, 0, 0.08);
    color: var(--status-danger);
}
.alert.alert-dismissible.alert-warning > i,
.alert.alert-dismissable.alert-warning > i {
    background: rgba(250, 167, 50, 0.12);
    color: var(--status-warning);
}
.alert.alert-dismissible.alert-info > i,
.alert.alert-dismissable.alert-info > i {
    background: rgba(6, 116, 236, 0.08);
    color: var(--accent-color);
}

/* Toast body wrapper — holds text content, flows naturally */
.alert-toast-body {
    flex: 1;
    min-width: 0;
    display: block;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--ink-800, #55524e);
}

/* Links inside toast — subtle accent underline */
.alert-toast-body a {
    color: var(--ink-900);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--border-color);
    text-underline-offset: 2px;
    text-decoration-thickness: 1px;
    transition:
        text-decoration-color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.alert-toast-body a:hover {
    text-decoration-color: var(--ink-900);
    color: var(--ink-900);
}

/* First link = product/item name — bold, on its own line */
.alert-toast-body a:first-child {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-900);
    text-decoration: none;
    line-height: 1.4;
    margin-bottom: 2px;
}
.alert-toast-body a:first-child:hover {
    text-decoration: underline;
    text-decoration-color: var(--ink-900);
    text-underline-offset: 2px;
    text-decoration-thickness: 1px;
}

/* OC <c> tag inside links ("prekių krepšelį", "palyginimą") */
.alert-toast-body a c {
    font-style: normal;
}

/* Link colour per toast type */
.alert-success .alert-toast-body a {
    text-decoration-color: rgba(91, 183, 91, 0.5);
}
.alert-success .alert-toast-body a:hover {
    text-decoration-color: var(--status-success);
}
.alert-danger .alert-toast-body a {
    text-decoration-color: rgba(206, 0, 0, 0.35);
}
.alert-danger .alert-toast-body a:hover {
    text-decoration-color: var(--status-danger);
}

/* Toast slide-out for alert */
.alert.alert-dismissible.alert-toast-out,
.alert.alert-dismissable.alert-toast-out {
    animation: xtoast-slide-out 0.3s cubic-bezier(0.55, 0, 1, 0.45) forwards;
}

/* Progress bar for alert toasts */
.alert.alert-dismissible .alert-toast-progress,
.alert.alert-dismissable .alert-toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: var(--border-color);
    border-radius: 0 0 0 10px;
    animation: xtoast-progress 5s linear forwards;
    pointer-events: none;
}

/* Pause progress on hover */
.alert.alert-dismissible:hover .alert-toast-progress,
.alert.alert-dismissable:hover .alert-toast-progress {
    animation-play-state: paused;
}

/* Progress bar colours per alert type */
.alert-success .alert-toast-progress {
    background: var(--status-success);
}
.alert-danger .alert-toast-progress {
    background: var(--status-danger);
}
.alert-warning .alert-toast-progress {
    background: var(--status-warning);
}
.alert-info .alert-toast-progress {
    background: var(--accent-color);
}

/* Stacking multiple alert toasts */
.alert.alert-dismissible + .alert.alert-dismissible,
.alert.alert-dismissable + .alert.alert-dismissable {
    margin-top: 12px !important;
}

/* Alert toast type accent — border-left */
.alert.alert-dismissible.alert-success,
.alert.alert-dismissable.alert-success {
    border-left-color: var(--status-success);
}
.alert.alert-dismissible.alert-danger,
.alert.alert-dismissable.alert-danger {
    border-left-color: var(--status-danger);
}
.alert.alert-dismissible.alert-warning,
.alert.alert-dismissable.alert-warning {
    border-left-color: var(--status-warning);
}
.alert.alert-dismissible.alert-info,
.alert.alert-dismissable.alert-info {
    border-left-color: var(--accent-color);
}

.alert.alert-dismissible .close,
.alert.alert-dismissable .close {
    position: absolute;
    top: 50%;
    right: 6px;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    padding: 0;
    margin: 0;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: var(--ink-900);
    opacity: 0.25;
    text-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-size: 18px;
    font-weight: 400;
    cursor: pointer;
    transition:
        opacity 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        background 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.alert.alert-dismissible .close:hover,
.alert.alert-dismissable .close:hover {
    opacity: 0.6;
    background: var(--background-soft);
}

/* Alert toast responsive */
@media (max-width: 480px) {
    .alert.alert-dismissible,
    .alert.alert-dismissable {
        right: 12px;
        left: 12px;
        max-width: none;
        min-width: 0;
        width: auto;
        top: 12px;
    }
}

.alert.alert-dismissible .close:hover,
.alert.alert-dismissible .close:focus,
.alert.alert-dismissable .close:hover,
.alert.alert-dismissable .close:focus {
    opacity: 1;
    background: var(--background-soft);
    outline: none;
    box-shadow: none;
}

.alert-success {
    border-left-color: var(--status-success);
    color: var(--ink-900);
    background-color: var(--background-light);
}

.alert-danger {
    border-left-color: var(--status-danger);
    color: var(--ink-900);
    background-color: var(--background-light);
}

.alert-warning {
    border-left-color: var(--status-warning);
    color: var(--ink-900);
    background-color: var(--background-light);
}

.alert-info {
    border-left-color: var(--accent-color);
    color: var(--ink-900);
    background-color: var(--background-light);
}

/* iSenseLabs GDPR CookieConsent (Ascaso theme) */
.theme-base .cc-window {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2147483647;
    padding: 12px 16px;
    font-size: 14px;
    line-height: 1.5;
    box-sizing: border-box;
    pointer-events: auto;
    opacity: 1;

    background-color: var(--background-medium) !important;
    color: var(--ink-900) !important;
    border-top: var(--border-width) var(--border-style) var(--border-color);
}

.theme-base .cc-window.cc-top {
    top: 0;
    bottom: auto;
}

.theme-base .cc-window.cc-floating {
    max-width: 560px;
    margin: 0 auto 16px;
    border-radius: 6px;
}

/* cookieconsent JS toggles cc-invisible and expects CSS to hide/animate */
.cc-animate {
    transition:
        opacity 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    will-change: opacity, transform;
}

.theme-base .cc-invisible {
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
}

/* Ensure the banner actually disappears after accept/dismiss.
   Some builds rely on cc-invisible, but other CSS can keep it visible. */
.theme-base .cc-window.cc-invisible {
    display: none !important;
    pointer-events: none !important;
}

/* Fallback (in case theme class is missing but this stylesheet is loaded) */
.cc-window.cc-invisible {
    display: none !important;
    pointer-events: none !important;
}

.theme-base .cc-window * {
    pointer-events: auto;
}

.theme-base .cc-message {
    color: inherit;
}

.theme-base .cc-link {
    color: inherit;
    text-decoration: underline !important;
    opacity: 0.7;
    transition: opacity 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.theme-base .cc-link:hover {
    opacity: 1;
}

/* ========== COOKIE BANNER ========== */
body.theme-base .cc-btn {
    height: 3.6rem !important;
    min-height: 0 !important;
    min-width: 0 !important;
    padding: 0 1.8rem !important;
    box-sizing: border-box;
    white-space: nowrap;
    text-align: center;
    font-size: 13px !important;
    font-weight: 600;
    letter-spacing: 0.01em;

    background-color: var(--background-medium) !important;
    border: var(--border-width) var(--border-style) var(--ink-900) !important;
    color: var(--ink-900) !important;
    border-radius: 6px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    text-decoration: none !important;
    transition:
        background-color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        border-color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    will-change: opacity;
}

/* Some cookieconsent builds use aria-hidden to toggle visibility */
body.theme-base .cc-window[aria-hidden="true"] {
    display: none !important;
    pointer-events: none !important;
}

.theme-base .cc-btn:hover,
.theme-base .cc-btn:focus {
    background-color: var(--ink-900) !important;
    border-color: var(--ink-900) !important;
    color: var(--text-light) !important;
    outline: none;
    box-shadow: none;
}

.theme-base .cc-btn:focus-visible {
    outline: 2px solid var(--outline-color);
    outline-offset: 2px;
}

/* Emphasize Accept as primary action */
.theme-base .cc-btn.cc-allow {
    background-color: var(--button-primary-bg) !important;
    border-color: var(--button-primary-border) !important;
    color: var(--text-light) !important;
}

.theme-base .cc-btn.cc-allow:hover,
.theme-base .cc-btn.cc-allow:focus {
    background-color: var(--button-primary-hover) !important;
    border-color: var(--button-primary-hover) !important;
    box-shadow: none;
}

.theme-base .cc-btn:active {
    opacity: 0.85;
}

.theme-base .cc-window.cc-banner {
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.theme-base .cc-window.cc-banner .cc-message {
    display: block;
    margin: 0;
    line-height: 1.5;
    flex: 1 1 0;
    min-width: 0;
}

.theme-base .cc-window.cc-banner .cc-compliance {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.theme-base .cc-close {
    background-color: var(--background-medium);
    color: var(--ink-900);
}

.theme-base .cc-revoke {
    font-size: 1em;
    position: fixed;
    left: 12px;
    bottom: 12px;
    z-index: 2147483646;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
    pointer-events: auto;
    opacity: 1;
}

/* When settings modal is open, the banner should not be visible behind it */
body.theme-base.cc-settings-open .cc-window,
body.theme-base.cc-settings-open .cc-revoke {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Settings modal */
.theme-base .cc-settings-view {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 2147483648;
    background-color: rgba(0, 0, 0, 0.55);
    padding: 15px;
    padding-bottom: calc(24px + env(safe-area-inset-bottom));
    box-sizing: border-box;
    overflow: auto;
}

/* padding: 12px; */
/* font-size: 14px; */

.theme-base .cc-settings-dialog {
    font-size: 15px;
    max-width: 720px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
    background: var(--background-medium);
    color: var(--ink-900);
    border-radius: 6px;
    border: var(--border-width) var(--border-style) var(--border-color);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);
    position: relative;
    max-height: fit-content;
    overflow: auto;
}

.theme-base .cc-settings-dialog label {
    display: inline-block;
}

.theme-base .cc-settings-dialog input[type="checkbox"] {
    margin-right: 8px;
}

.theme-base .cc-settings-dialog .cc-compliance {
    margin-left: 0;
}

/* Mobile cookie banner */
@media (max-width: 575px) {
    body.theme-base .cc-window,
    body.theme-base .cc-window.cc-floating,
    body.theme-base .cc-window.cc-banner {
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 16px !important;
        gap: 12px !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
    }

    body.theme-base .cc-window .cc-message {
        flex: 0 0 auto !important;
        width: 100% !important;
        margin: 0 !important;
        font-size: 13px;
    }

    body.theme-base .cc-window .cc-compliance,
    body.theme-base .cc-settings-dialog .cc-compliance {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        margin: 0 !important;
        width: 100% !important;
        gap: 6px !important;
        font-size: 0 !important;
    }

    html body.theme-base .cc-window .cc-btn,
    html body.theme-base .cc-settings-dialog .cc-btn,
    body.theme-base .cc-btn {
        width: 100% !important;
        min-height: 44px !important;
        height: auto !important;
        padding: 10px !important;
        font-size: 13px !important;
    }
}

/* Settings dialog - tablet adjustments */
@media (max-width: 991px) {
    .theme-base .cc-settings-dialog {
        padding-top: 20px 15px !important;
    }

    .theme-base
        .cc-settings-dialog
        .cc-compliance.cc-highlight
        .cc-btn.cc-btn-close-settings {
        display: inline-flex;
        right: 12px;
        top: 12px;
        min-width: 0;
        padding: 0 12px !important;
        font-size: 12px;
        line-height: 1 !important;
    }
}

/* Review Form Box — moved to § REVIEW FORM · premium 2026 */

/* Fix for ReCaptcha overflowing on small screens */
@media (max-width: 767px) {
    .g-recaptcha {
        transform: scale(0.9);
        transform-origin: 0 0;
    }
}

@media (max-width: 340px) {
    .g-recaptcha {
        transform: scale(0.8);
    }
}

/* reCAPTCHA v3 badge: hidden, disclosure shown in footer */
.grecaptcha-badge {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* iSenseLabs xNotice — Ascaso unified alert style */

/* Base xnotice (overrides inline styles from xnotice.php) */
.xnotice {
    position: relative;
    margin: 1rem 0 !important;
    padding: 14px 18px !important;
    border-radius: 8px !important;
    border: var(--border-width) var(--border-style) var(--border-color) !important;
    background: var(--background-light) !important;
    color: var(--ink-800, #55524e) !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    border-left: 3px solid var(--border-color) !important;
    box-shadow: none !important;
    text-align: left !important;
}

/* ── Toast animations ── */
@keyframes xtoast-slide-in {
    0% {
        opacity: 0;
        transform: translateX(40px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}
@keyframes xtoast-slide-out {
    0% {
        opacity: 1;
        transform: translateX(0);
    }
    100% {
        opacity: 0;
        transform: translateX(40px);
    }
}
@keyframes xtoast-progress {
    0% {
        width: 100%;
    }
    100% {
        width: 0%;
    }
}

/* ── Toast container (sticky → toast) ── */
.xnotice-sticky {
    position: fixed !important;
    top: 90px !important;
    right: 20px !important;
    left: auto !important;
    bottom: auto !important;
    width: auto !important;
    max-width: 560px !important;
    min-width: 300px !important;
    z-index: 10000 !important;
    margin: 0 !important;
    padding: 16px 44px 16px 18px !important;
    border-radius: 8px !important;
    border: var(--border-width) var(--border-style) var(--border-color) !important;
    border-left: 3px solid var(--border-color) !important;
    background: var(--surface-color, #fff) !important;
    color: var(--ink-800, #55524e) !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    letter-spacing: 0.01em !important;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.1),
        0 1px 4px rgba(0, 0, 0, 0.06) !important;
    animation: xtoast-slide-in 0.35s cubic-bezier(0.22, 1, 0.36, 1) forwards !important;
    overflow: hidden !important;
}

/* Dismiss animation class (added by JS before removal) */
.xnotice-sticky.xnotice-toast-out {
    animation: xtoast-slide-out 0.3s cubic-bezier(0.55, 0, 1, 0.45) forwards !important;
}

/* Progress bar (auto-dismiss countdown) — injected by JS */
.xnotice-sticky .xnotice-toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: var(--border-color);
    border-radius: 0 0 0 10px;
    animation: xtoast-progress var(--xtoast-duration, 5s) linear forwards;
    pointer-events: none;
}

/* Bottom position override */
.xnotice-sticky.xnotice-bottom {
    top: auto !important;
    bottom: 20px !important;
}

/* Stacking — multiple toasts */
.xnotice-sticky + .xnotice-sticky {
    margin-top: 12px !important;
}

/* ── Toast type accent colours ── */
.xnotice-sticky.alert-success,
.xnotice-sticky.success {
    border-left-color: var(--status-success) !important;
}
.xnotice-sticky.alert-success .xnotice-toast-progress,
.xnotice-sticky.success .xnotice-toast-progress {
    background: var(--status-success);
}

.xnotice-sticky.alert-danger,
.xnotice-sticky.danger {
    border-left-color: var(--status-danger) !important;
}
.xnotice-sticky.alert-danger .xnotice-toast-progress,
.xnotice-sticky.danger .xnotice-toast-progress {
    background: var(--status-danger);
}

.xnotice-sticky.alert-warning,
.xnotice-sticky.warning {
    border-left-color: var(--status-warning) !important;
}
.xnotice-sticky.alert-warning .xnotice-toast-progress,
.xnotice-sticky.warning .xnotice-toast-progress {
    background: var(--status-warning);
}

.xnotice-sticky.alert-info,
.xnotice-sticky.info {
    border-left-color: var(--accent-color) !important;
}
.xnotice-sticky.alert-info .xnotice-toast-progress,
.xnotice-sticky.info .xnotice-toast-progress {
    background: var(--accent-color);
}

/* ── Toast on hover — pause progress ── */
.xnotice-sticky:hover .xnotice-toast-progress {
    animation-play-state: paused;
}

/* ── Toast responsive ── */
@media (max-width: 480px) {
    .xnotice-sticky {
        right: 12px !important;
        left: 12px !important;
        max-width: none !important;
        min-width: 0 !important;
        width: auto !important;
        top: 12px !important;
    }
    .xnotice-sticky.xnotice-bottom {
        top: auto !important;
        bottom: 12px !important;
    }
}

/* Notice variant — toast (same as sticky) */
.xnotice-notice {
    position: fixed !important;
    top: 90px !important;
    right: 20px !important;
    left: auto !important;
    bottom: auto !important;
    width: auto !important;
    max-width: 560px !important;
    min-width: 300px !important;
    z-index: 10000 !important;
    margin: 0 !important;
    padding: 16px 44px 16px 18px !important;
    border-radius: 8px !important;
    border: var(--border-width) var(--border-style) var(--border-color) !important;
    border-left: 3px solid var(--border-color) !important;
    background: var(--surface-color, #fff) !important;
    color: var(--ink-800, #55524e) !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    letter-spacing: 0.01em !important;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.1),
        0 1px 4px rgba(0, 0, 0, 0.06) !important;
    animation: xtoast-slide-in 0.35s cubic-bezier(0.22, 1, 0.36, 1) forwards !important;
    overflow: hidden !important;
}

.xnotice-notice.xnotice-toast-out {
    animation: xtoast-slide-out 0.3s cubic-bezier(0.55, 0, 1, 0.45) forwards !important;
}

.xnotice-notice .xnotice-toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: var(--border-color);
    border-radius: 0 0 0 10px;
    animation: xtoast-progress var(--xtoast-duration, 5s) linear forwards;
    pointer-events: none;
}

.xnotice-notice:hover .xnotice-toast-progress {
    animation-play-state: paused;
}

/* Notice type accent colours */
.xnotice-notice.alert-success .xnotice-toast-progress,
.xnotice-notice.success .xnotice-toast-progress {
    background: var(--status-success);
}
.xnotice-notice.alert-danger .xnotice-toast-progress,
.xnotice-notice.danger .xnotice-toast-progress {
    background: var(--status-danger);
}
.xnotice-notice.alert-warning .xnotice-toast-progress,
.xnotice-notice.warning .xnotice-toast-progress {
    background: var(--status-warning);
}
.xnotice-notice.alert-info .xnotice-toast-progress,
.xnotice-notice.info .xnotice-toast-progress {
    background: var(--accent-color);
}

/* Notice toast responsive */
@media (max-width: 480px) {
    .xnotice-notice {
        right: 12px !important;
        left: 12px !important;
        max-width: none !important;
        min-width: 0 !important;
        width: auto !important;
        top: 12px !important;
    }
}

html[dir="rtl"] .xnotice-notice.xnclose {
    padding-left: 44px !important;
    padding-right: 18px !important;
}

/* Sticky (toast) already has padding-right for close via base rule */
html[dir="rtl"] .xnotice-sticky.xnclose {
    padding-left: 44px !important;
    padding-right: 18px !important;
}

/* Specific types — inline notices */
.xnotice.alert-success,
.xnotice.success {
    border-left-color: var(--status-success) !important;
    color: var(--ink-900) !important;
    background-color: var(--background-light) !important;
}

.xnotice.alert-danger,
.xnotice.danger {
    border-left-color: var(--status-danger) !important;
    color: var(--ink-900) !important;
    background-color: var(--background-light) !important;
}

.xnotice.alert-warning,
.xnotice.warning {
    border-left-color: var(--status-warning) !important;
    color: var(--ink-900) !important;
    background-color: var(--background-light) !important;
}

.xnotice.alert-info,
.xnotice.info {
    border-left-color: var(--accent-color) !important;
    color: var(--ink-900) !important;
    background-color: var(--background-light) !important;
}

/* Links inside xnotice */
.xnotice a {
    color: var(--ink-900) !important;
    font-weight: 600 !important;
    text-decoration: underline !important;
    text-decoration-color: var(--border-color) !important;
    text-underline-offset: 2px !important;
    text-decoration-thickness: 1px !important;
    transition:
        text-decoration-color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}
.xnotice a:hover {
    color: var(--ink-900) !important;
    text-decoration-color: var(--ink-900) !important;
}

/* First link = product/item name — bold, block */
.xnotice-sticky a:not(.xnotice-close):first-of-type,
.xnotice-notice a:not(.xnotice-close):first-of-type {
    display: block !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--ink-900) !important;
    text-decoration: none !important;
    line-height: 1.4 !important;
    margin-bottom: 2px !important;
}
.xnotice-sticky a:not(.xnotice-close):first-of-type:hover,
.xnotice-notice a:not(.xnotice-close):first-of-type:hover {
    text-decoration: underline !important;
    text-decoration-color: var(--ink-900) !important;
    text-underline-offset: 2px !important;
    text-decoration-thickness: 1px !important;
}

/* Link underline per xnotice type */
.xnotice.success a,
.xnotice.alert-success a {
    text-decoration-color: rgba(91, 183, 91, 0.5) !important;
}
.xnotice.danger a,
.xnotice.alert-danger a {
    text-decoration-color: rgba(206, 0, 0, 0.35) !important;
}
.xnotice.warning a,
.xnotice.alert-warning a {
    text-decoration-color: rgba(250, 167, 50, 0.5) !important;
}
.xnotice.info a,
.xnotice.alert-info a {
    text-decoration-color: rgba(6, 116, 236, 0.4) !important;
}

.xnotice.success a:hover,
.xnotice.alert-success a:hover {
    text-decoration-color: var(--status-success) !important;
}
.xnotice.danger a:hover,
.xnotice.alert-danger a:hover {
    text-decoration-color: var(--status-danger) !important;
}
.xnotice.warning a:hover,
.xnotice.alert-warning a:hover {
    text-decoration-color: var(--status-warning) !important;
}
.xnotice.info a:hover,
.xnotice.alert-info a:hover {
    text-decoration-color: var(--accent-color) !important;
}

/* Close button — a.xnotice-close (inline from xnotice.php) */
a.xnotice-close,
.xnotice .xnotice-close {
    position: absolute !important;
    top: 16px !important;
    right: 12px !important;
    left: auto !important;
    transform: none !important;
    width: 28px !important;
    height: 28px !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 6px !important;
    border: none !important;
    background: transparent !important;
    color: var(--ink-900) !important;
    opacity: 0.3 !important;
    text-shadow: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    text-decoration: none !important;
    float: none !important;
    cursor: pointer !important;
    transition:
        opacity 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        background 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

html[dir="rtl"] a.xnotice-close,
html[dir="rtl"] .xnotice .xnotice-close {
    right: auto !important;
    left: 10px !important;
}

a.xnotice-close:hover,
a.xnotice-close:focus,
.xnotice .xnotice-close:hover,
.xnotice .xnotice-close:focus {
    opacity: 1 !important;
    background: var(--background-soft) !important;
    color: var(--ink-900) !important;
    outline: none !important;
    box-shadow: none !important;
}

.xnotice .xnotice-close span {
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    display: block !important;
}

/* Internal text layout */
.xnotice > div {
    display: inline-block;
}

/* Popup variant — match theme palette */
.xnotice-popup-container {
    border-radius: 8px !important;
    background: var(--surface-color) !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12) !important;
    overflow: hidden !important;
}

.xnotice-popup-bg {
    background-color: rgba(0, 0, 0, 0.5) !important;
}

.xnotice-popup-body {
    padding: 24px !important;
    color: var(--ink-900) !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
}

.xnotice-popup.xnclose .xnotice-popup-body {
    padding-right: 3rem !important;
}

.xnotice-popup-close {
    top: 12px !important;
    right: 10px !important;
}

/* LabelMaker Fix - Remove padding from thumbnails with labels */
#product-product .thumbnails .thumbnail {
    padding: 0 !important;
    position: relative;
}

#product-product .thumbnails .thumbnail img {
    display: block;
    width: 100%;
}

/* =====================================================================
   § REVIEW FORM · premium 2026
   ===================================================================== */

/* ── review list (AJAX) ── */
.rv__list:empty {
    display: none;
}

/* ── empty state ── */
.rv__empty {
    font-size: var(--font-sm);
    color: var(--ink-500);
    text-align: center;
    margin: 0 0 24px;
}

/* ── review items ── */
.rv__items {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.rv__item {
    padding: 20px 24px;
    background: var(--bg-light);
    border: 1px solid var(--border-soft);
    border-radius: 8px;
}

.rv__item-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.rv__item-stars {
    display: flex;
    gap: 2px;
}

.rv__item-star {
    color: var(--ink-900);
    display: block;
}

.rv__item-star--empty {
    color: #ddd5c8;
}

.rv__item-date {
    font-size: var(--font-xs);
    color: var(--ink-500);
    letter-spacing: 0.3px;
}

.rv__item-text {
    font-size: var(--font-sm);
    color: var(--ink-700);
    line-height: 1.6;
    margin: 0 0 10px;
}

.rv__item-author {
    font-size: var(--font-xs);
    font-weight: 600;
    color: var(--ink-600);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ── pagination ── */
.rv__pagination {
    text-align: center;
    margin-bottom: 24px;
    font-size: var(--font-xs);
    color: var(--ink-500);
}
.rv__pagination .pagination {
    justify-content: center;
}

/* ── legacy compat ── */
.rv__list .table {
    display: none;
}
.rv__list .row {
    display: none;
}

/* ── container ── */
.rv {
    max-width: 560px;
    margin: 0 auto;
    padding: 32px;
    background: var(--bg-light);
    border: 1px solid var(--border-soft);
    border-radius: 8px;
}

/* ── heading ── */
.rv__heading {
    font-size: var(--font-md);
    font-weight: 600;
    color: var(--ink-900);
    margin: 0;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ── form layout ── */
.rv__form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ── rating field (centered above inputs) ── */
.rv__field--rating {
    align-items: center;
}

/* ── field ── */
.rv__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.rv__label {
    font-size: var(--font-xs);
    font-weight: 600;
    color: var(--ink-600);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* ── inputs ── */
.rv__input,
.rv__textarea {
    width: 100%;
    padding: 10px 16px;
    font-size: var(--font-md);
    font-family: inherit;
    color: var(--ink-900);
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    transition: border-color 0.2s ease;
}
.rv__input {
    height: 44px;
}
.rv__textarea {
    min-height: 100px;
    resize: vertical;
}
.rv__input:focus,
.rv__textarea:focus {
    outline: none;
    border-color: var(--ink-900);
}

/* ── valid check ── */
.rv__input-wrap {
    position: relative;
    display: inline-flex;
    width: 100%;
}
.rv__input-wrap .rv__input {
    max-width: 100%;
    padding-right: 40px;
}
.rv__check {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #4caf50;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}
.rv__input:valid ~ .rv__check {
    opacity: 1;
}
.rv__input:valid {
    border-color: #4caf50;
}

/* ── star rating (row-reverse so ~ selects stars to the LEFT) ── */
.rv__stars {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 0;
}
.rv__star {
    cursor: pointer;
    color: #ddd5c8;
    transition: color 0.25s ease;
    display: flex;
    padding: 4px 0;
}
.rv__star input {
    position: absolute !important;
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0 !important;
}
.rv__star svg {
    pointer-events: none;
}

/* hover: highlight hovered + all stars to its left */
.rv__star:hover,
.rv__star:hover ~ .rv__star {
    color: var(--ink-900);
}

/* checked: highlight checked + all stars to its left */
.rv__star:has(input:checked),
.rv__star:has(input:checked) ~ .rv__star {
    color: var(--ink-900);
}

/* ── actions ── */
.rv__actions {
    padding-top: 4px;
}
.rv__actions .btn {
    width: 100%;
}

/* ── login prompt ── */
.rv__login {
    font-size: var(--font-md);
    color: var(--ink-600);
    margin: 0;
}
.rv__login a {
    color: var(--ink-900);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.rv__login a:hover {
    color: var(--ink-700);
}

/* ── mobile ── */
@media (max-width: 575px) {
    .rv {
        padding: 20px;
        max-width: 100%;
    }
}

/* ── legacy compat ── */
.review-form-box {
    display: none;
}

/* ===== ASCASO BRAND BLOCKS ===== */

.ascaso-intro {
    max-width: 850px;
    margin: 0 auto 40px;
    text-align: center;
    font-family: inherit;
    color: var(--ink-900);
}

.ascaso-intro__lead {
    font-size: 1.3rem;
    font-style: italic;
    color: var(--ink-800);
    margin: 0 0 10px;
    letter-spacing: 0.3px;
}

.ascaso-intro__text {
    font-size: 1.3rem;
    margin: 0 0 20px;
    line-height: 1.8;
}

.ascaso-divider {
    width: 50px;
    height: 1.5px;
    background-color: var(--border-strong);
    margin: 20px auto;
}

.ascaso-link {
    color: var(--ink-900);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid var(--border-strong);
}

.ascaso-link:hover {
    border-bottom-color: var(--ink-900);
}

.ascaso-intro__badge {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: inline-block;
    margin-top: 10px;
    color: var(--ink-900);
}

/* Section */
.ascaso-section {
    background-color: #faf9f7;
    padding: 40px;
    border-radius: 8px;
    font-family: inherit;
    color: var(--ink-900);
    line-height: 1.8;
}

.ascaso-container {
    max-width: 800px;
    margin: 0 auto;
}

.ascaso-title {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-align: center;
    font-weight: 400;
    font-size: 1.8rem;
    margin: 0 0 30px;
    color: var(--ink-900);
}

.ascaso-title__strong {
    font-weight: 600;
}

/* Media row (replaces float) */
.ascaso-media {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.ascaso-media__logo {
    width: 120px;
    height: auto;
    opacity: 0.85;
    flex: 0 0 auto;
}

.ascaso-media__content {
    flex: 1 1 auto;
    min-width: 0;
}

.ascaso-paragraph {
    margin: 0 0 20px;
    text-align: left;
    /* premium + avoids ugly spacing */
}

/* Quote card */
.ascaso-quote {
    background: var(--surface-base, #fff);
    padding: 25px;
    border-left: 3px solid var(--border-strong);
    margin-top: 30px;
}

.ascaso-quote__text {
    margin: 0;
    font-style: italic;
    color: var(--ink-800);
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 767px) {
    .ascaso-section {
        padding: 24px;
    }

    .ascaso-media {
        flex-direction: column;
    }

    .ascaso-media__logo {
        width: 110px;
    }

    .ascaso-intro__text {
        font-size: 1.15rem;
    }

    .ascaso-intro__lead {
        font-size: 1.15rem;
    }
}
/* ===== ASCASO BRAND BLOCKS END ===== */

/* =====================================================================
   ASCASO THEME — PAGE-LEVEL COMPONENT STYLES
   Search popup · iSearch · Account dropdown · Language dropdown
   Login · Register · Contact
   ===================================================================== */

/* ── Search popup redesign ── */
.header-top .search-popup {
    background: rgba(0, 0, 0, 0.45) !important;
    padding: 80px 20px 20px !important;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.header-top .search-popup__inner {
    max-width: 600px !important;
    gap: 0 !important;
    position: relative;
}
.header-top .search-popup #search.input-group {
    border-radius: 50px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18) !important;
    overflow: hidden;
    border: var(--border-width) var(--border-style) var(--border-color);
}
.header-top .search-popup #search.input-group .form-control {
    height: 44px !important;
    padding: 0 20px !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    letter-spacing: 0.2px !important;
    border: none !important;
    border-radius: 50px 0 0 50px !important;
    background: var(--surface-base) !important;
    color: var(--ink-900) !important;
}
.header-top .search-popup #search.input-group .form-control::placeholder {
    color: rgba(0, 0, 0, 0.32);
    font-weight: 400;
    letter-spacing: 0.3px;
}
.header-top .search-popup #search.input-group .form-control:focus {
    box-shadow: none !important;
    outline: none !important;
}
.header-top .search-popup .input-group-btn > .btn {
    height: 44px !important;
    width: 52px !important;
    min-width: 0 !important;
    padding: 0 14px 0 0 !important;
    border-radius: 0 50px 50px 0 !important;
    background-color: transparent !important;
    border: none !important;
    color: var(--ink-900) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    -webkit-appearance: none;
    appearance: none;
    box-shadow: none !important;
    background-image: none !important;
    background-size: auto !important;
    transition: opacity 0.2s ease !important;
    opacity: 0.45;
    cursor: pointer;
    float: none !important;
    line-height: 1 !important;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    will-change: opacity;
}
.header-top .search-popup .input-group-btn > .btn,
.header-top .search-popup .input-group-btn > .btn.btn-lg,
.header-top .search-popup #search .btn-lg {
    background-color: transparent !important;
    background-image: none !important;
    border: none !important;
    box-shadow: none !important;
}
.header-top .search-popup .input-group-btn > .btn:hover,
.header-top .search-popup .input-group-btn > .btn:focus {
    opacity: 0.85;
    background-size: auto !important;
    background-color: transparent !important;
    background-image: none !important;
    border: none !important;
    box-shadow: none !important;
    color: var(--ink-900) !important;
    z-index: auto !important;
    transform: none !important;
}
.header-top .search-popup .input-group-btn > .btn img {
    display: block;
    width: 20px !important;
    height: 20px !important;
    filter: none;
    opacity: 1;
}
@media (max-width: 767px) {
    .header-top .search-popup .input-group-btn > .btn {
        padding: 0 0 0 0 !important;
        width: 44px !important;
        right: 10px !important;
    }
}
.header-top .search-popup__close {
    top: -44px;
    right: 10px;
    border-radius: 50%;
    transition: opacity 0.15s ease;
    flex: 0 0 auto !important;
    color: var(--text-inverse) !important;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    will-change: opacity;
}
.header-top .search-popup__close:hover,
.header-top .search-popup__close:focus {
    opacity: 1 !important;
}

/* ── iSearch results dropdown ── */
.isearch-container {
    border-radius: 8px !important;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.1),
        0 1px 4px rgba(0, 0, 0, 0.05) !important;
    border: var(--border-width) var(--border-style) var(--border-color) !important;
    overflow: hidden;
    margin-top: 8px !important;
    padding: 6px 0 0 0 !important;
    background: var(--surface-base) !important;
    width: calc(100% - 30px) !important;
    max-width: 600px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
}

/* ─ Section headings ─ */
.isearch-heading {
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.28) !important;
    padding: 14px 20px 6px !important;
    margin: 0 !important;
}
/* Section divider before products */
.isearch-container > .isearch-heading ~ .isearch-heading {
    border-top: var(--border-width) var(--border-style) var(--border-color);
    margin-top: 2px !important;
}

/* ─ Search term suggestions ─ */
.isearch-suggestion {
    padding: 7px 20px !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    color: var(--ink-900) !important;
    border-radius: 0;
    transition: background-color 0.15s ease;
}
.isearch-suggestion:hover,
.isearch-suggestion.active,
.isearch-suggestion:focus {
    background-color: var(--background-light) !important;
    color: var(--ink-900) !important;
}

/* ─ Product rows ─ */
.isearch-product {
    padding: 10px 20px !important;
    transition: background-color 0.15s ease;
    border-radius: 0;
    display: flex !important;
    align-items: center;
    gap: 14px;
    border-bottom: var(--border-width) var(--border-style) var(--border-soft);
    color: var(--ink-900) !important;
    text-decoration: none !important;
}
.isearch-product:last-of-type {
    border-bottom: none;
}
.isearch-product:hover,
.isearch-product.active,
.isearch-product:focus {
    background-color: var(--background-light) !important;
    color: var(--ink-900) !important;
    text-decoration: none !important;
}
/* Kill Bootstrap floats inside product */
.isearch-product .pull-left {
    float: none !important;
}

/* ─ Product images ─ */
.isearch-product-image {
    flex-shrink: 0;
}
.isearch-product-image img {
    border-radius: 6px;
    width: 90px !important;
    height: 90px !important;
    object-fit: contain;
    background: var(--surface-base);
    border: none;
    mix-blend-mode: normal;
    transition: mix-blend-mode 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.isearch-product:hover .isearch-product-image img {
    mix-blend-mode: multiply;
    background: var(--background-light);
}

/* ─ Product info block — override Bootstrap row/col ─ */
.isearch-product .isearch-product-info {
    flex: 1 !important;
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
    min-width: 0;
}
.isearch-product .isearch-product-info > div {
    float: none !important;
    width: auto !important;
    padding: 0 !important;
}
.isearch-product .isearch-product-info > div:first-child {
    flex: 1;
    min-width: 0;
}
.isearch-product .isearch-product-info > div:last-child {
    flex-shrink: 0;
    margin-left: 16px;
    text-align: right !important;
}

/* ─ Product name (h4.isearch-heading-product inside product) ─ */
.isearch-product .isearch-heading-product {
    font-size: 13px !important;
    font-weight: 400 !important;
    letter-spacing: normal !important;
    text-transform: capitalize !important;
    color: var(--ink-900) !important;
    line-height: 1.35 !important;
    margin: 0 0 2px !important;
    padding: 0 !important;
    border: none !important;
    word-break: break-word;
}

/* ─ Product name link ─ */
.isearch-product a {
    color: var(--ink-900) !important;
    text-decoration: none !important;
}

/* ─ Model code ─ */
.isearch-model {
    font-size: 11px !important;
    color: rgba(0, 0, 0, 0.35) !important;
    display: block;
    margin-top: 2px;
}

/* ─ Price ─ */
.isearch-price {
    padding: 0 !important;
}
.isearch-price-value {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--ink-900) !important;
    white-space: nowrap;
}
.isearch-price-special {
    color: var(--ink-900) !important;
}
.isearch-old-value {
    font-size: 11px !important;
    color: rgba(0, 0, 0, 0.28) !important;
    text-decoration: line-through;
}

/* ─ "View All Results" — subtle link, not button ─ */
.isearch-more {
    padding: 12px 20px !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    color: rgba(0, 0, 0, 0.38) !important;
    background: none !important;
    background-color: transparent !important;
    background-image: none !important;
    text-align: center;
    transition: color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-top: var(--border-width) var(--border-style) var(--border-color) !important;
    border-radius: 0 !important;
    margin: 0 !important;
    display: block !important;
    letter-spacing: 0.02em;
}
.isearch-more:hover,
.isearch-more:focus,
.isearch-more.active {
    color: var(--ink-900) !important;
    background: none !important;
}

/* ─ Highlighted matching text ─ */
.isearch-container [style*="background-color"] {
    background-color: transparent !important;
    background: none !important;
    text-decoration: none !important;
    font-weight: 600;
    color: var(--ink-900);
}

/* ─ Loading / empty states ─ */
.isearch-loading {
    padding: 24px !important;
    font-size: 13px !important;
    color: rgba(0, 0, 0, 0.32) !important;
    text-align: center;
}
.isearch-nothing {
    padding: 24px !important;
    font-size: 14px !important;
    color: rgba(0, 0, 0, 0.32) !important;
    text-align: center;
}

/* ── Account dropdown · Crema ── */
.account-dropdown {
    min-width: 280px !important;
    padding: 12px !important;
}
.account-dropdown > li > a {
    display: flex !important;
    align-items: center;
    gap: 16px;
    min-height: 44px;
    padding: 12px 16px;
    font-size: 15px;
    font-weight: 400;
    color: var(--ink-900);
    border-radius: 6px;
    transition: background-color 0.15s ease;
    text-decoration: none;
    line-height: 1.4;
}
.account-dropdown > li > a:hover,
.account-dropdown > li > a:focus {
    background-color: var(--background-light);
    color: var(--ink-900);
}
.account-dropdown .acct-icon {
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
    flex-shrink: 0;
    color: var(--ink-900);
    stroke-width: 1.5;
    transition: stroke-width 0.15s ease;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}
.account-dropdown > li > a:hover .acct-icon,
.account-dropdown > li > a:focus .acct-icon {
    stroke-width: 2;
}
.account-dropdown .acct-divider {
    height: 1px;
    margin: 4px 16px;
    background: var(--border-color);
}
.account-dropdown > li > a i {
    display: none;
}

/* ── Language dropdown · Crema ── */
.lang-dropdown {
    min-width: 260px;
    padding: 12px !important;
}
.lang-option {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    min-height: 44px;
    padding: 12px 16px;
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.4;
    color: var(--ink-900);
    text-align: left;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.15s ease;
}
.lang-option:hover,
.lang-option:focus {
    background-color: var(--background-light);
    color: var(--ink-900);
}
.lang-option img {
    width: 28px;
    height: auto;
    border-radius: 4px;
    flex-shrink: 0;
}
.lang-option span {
    flex: 1;
}
.lang-check {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    opacity: 0.45;
}
.lang-option--active {
    font-weight: 600;
}

/* =====================================================================
   LOGIN PAGE
   ===================================================================== */
#account-login {
    padding-bottom: 40px;
}
#account-login .panel,
#account-login .well,
#account-login fieldset {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    margin: 0;
}
#account-login h1 {
    text-align: center;
    font-size: 28px;
    font-weight: 600;
    color: var(--ink-900);
    letter-spacing: -0.3px;
    margin: 0 0 24px;
}
.login-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    max-width: 960px;
    margin: 0 auto;
    align-items: stretch;
}
@media (max-width: 767px) {
    .login-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 440px;
    }
}
.login-panel {
    background: var(--surface-base);
    border: var(--border-width) var(--border-style) var(--border-color);
    border-radius: 8px;
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
}
.login-panel-header {
    margin-bottom: 0;
}
.login-panel-header h2 {
    font-size: var(--font-2xl);
    font-weight: 600;
    color: var(--ink-900);
    margin: 0 0 6px 0;
    letter-spacing: -0.2px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 16px;
    border-bottom: var(--border-width) var(--border-style) var(--border-color);
    margin-bottom: 20px;
}
.login-panel-header h2 svg {
    flex-shrink: 0;
    display: block;
}
.login-panel-header p {
    font-size: 13px;
    color: var(--ink-muted);
    margin: 0;
    line-height: 1.5;
}
.login-floating {
    position: relative;
    margin-bottom: 16px;
}
.login-floating input {
    width: 100%;
    padding: 18px 16px 6px;
    font-size: var(--font-lg);
    border: var(--border-width) var(--border-style) var(--border-color);
    border-radius: 6px;
    background: var(--surface-base);
    color: var(--ink-900);
    outline: none;
    transition:
        border-color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    -webkit-appearance: none;
    box-sizing: border-box;
    height: 44px;
}
.login-floating input:focus {
    border-color: var(--ink-900);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}
.login-floating label {
    position: absolute;
    top: 22px;
    left: 16px;
    transform: translateY(-50%);
    font-size: var(--font-md);
    font-weight: 400;
    color: var(--ink-muted);
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: transparent;
    padding: 0;
    margin: 0;
    letter-spacing: 0.15px;
}
.login-floating input:focus ~ label,
.login-floating input:not(:placeholder-shown) ~ label {
    top: 6px;
    transform: translateY(0);
    font-size: 11px;
    font-weight: 600;
    color: var(--ink-900);
    letter-spacing: 0.3px;
}
.login-floating .field-check {
    position: absolute;
    right: 14px;
    top: 22px;
    transform: translateY(-50%);
    font-size: 13px;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    pointer-events: none;
}
.login-floating.has-success .field-check {
    opacity: 1;
    color: var(--status-success);
}
.login-floating.has-error input {
    border-color: var(--status-danger);
}
.login-floating.has-success input {
    border-color: var(--status-success);
}
.login-forgot-row {
    display: flex;
    justify-content: flex-end;
    margin-top: -8px;
    margin-bottom: 4px;
}
.login-forgot {
    font-size: 12px;
    color: rgba(0, 0, 0, 0.35);
    text-decoration: none;
    transition: color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.login-forgot:hover {
    color: var(--ink-900);
    text-decoration: none;
}
#account-login .btn {
    display: block;
    width: 100%;
    margin-top: 20px;
    padding: 14px 24px !important;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    line-height: 1;
    letter-spacing: 0.3px;
    cursor: pointer;
    box-sizing: border-box;
    height: auto;
}
#account-login .login-btn-outline {
    display: block;
    width: 100%;
    height: auto;
    padding: 14px 24px;
    margin-top: auto;
    background-color: var(--button-primary-bg);
    border: 1px solid var(--button-primary-border);
    border-radius: 8px;
    color: var(--text-inverse);
    font-size: var(--font-md);
    font-weight: 600;
    letter-spacing: 0.3px;
    text-align: center;
    text-decoration: none;
    line-height: 1;
    cursor: pointer;
    box-sizing: border-box;
    background-image: linear-gradient(
        var(--button-primary-hover),
        var(--button-primary-hover)
    );
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 100% 0%;
    transition:
        background-size 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        border-color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
#account-login .login-btn-outline:hover {
    background-color: var(--button-primary-bg);
    background-size: 100% 100%;
    border-color: var(--button-primary-hover);
    color: var(--text-inverse);
    box-shadow: none;
}
.register-description {
    flex: 1;
}
.login-or {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
    font-size: 12px;
    color: rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.login-or::before,
.login-or::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
}
.login-alert {
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 13px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}
.login-alert-success {
    background: rgba(22, 163, 74, 0.06);
    color: var(--success-green);
    border: 1px solid rgba(22, 163, 74, 0.15);
}
.login-alert-danger {
    background: rgba(220, 38, 38, 0.06);
    color: var(--error-red);
    border: 1px solid rgba(220, 38, 38, 0.15);
}
.login-alert svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* =====================================================================
   REGISTER PAGE
   ===================================================================== */
#account-register {
    padding-bottom: 40px;
}
#account-register .register-wrap {
    max-width: 560px;
}
#account-register .panel,
#account-register .well,
#account-register fieldset {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
#account-register legend {
    display: none;
}
#account-register h1 {
    text-align: center;
    font-size: 28px;
    font-weight: 600;
    color: var(--ink-900);
    letter-spacing: -0.3px;
    margin: 0 0 24px;
}

#account-password .panel,
#account-password .well,
#account-password fieldset {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
#account-password legend {
    display: none;
}
#account-password .register-wrap {
    max-width: 560px;
}
#account-password .edit-actions {
    border-top: none;
    padding-top: 0;
}

/* ── FORGOTTEN PASSWORD PAGE · Crema ── */
#account-forgotten .panel,
#account-forgotten .well,
#account-forgotten fieldset {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
#account-forgotten legend {
    display: none;
}
#account-forgotten .register-wrap {
    max-width: 560px;
}
#account-forgotten .edit-actions {
    border-top: none;
    padding-top: 0;
}

/* =====================================================================
   ADDRESS FORM PAGE · Crema
   ===================================================================== */
#account-address {
    padding-bottom: 40px;
}
.addr-empty-wrap {
    max-width: 560px;
    margin: 0 auto;
}
#account-address .register-wrap {
    max-width: 960px;
}
#account-address .panel,
#account-address .well,
#account-address fieldset {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
#account-address legend {
    display: none;
}
/* 2-column grid for paired fields */
.af-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 16px;
}
.af-grid .af-full {
    grid-column: 1 / -1;
}
.af-grid .register-newsletter {
    grid-column: 1 / -1;
}
@media (max-width: 575px) {
    .af-grid {
        grid-template-columns: 1fr;
    }
}

/* Shared H1 style for account pages without custom selectors */
#account-order h1,
#account-newsletter h1,
#account-password h1,
#account-transaction h1,
#account-forgotten h1,
#account-address h1,
#account-account h1,
#account-edit h1,
#common-success h1 {
    text-align: center;
    font-size: var(--font-4xl);
    font-weight: 600;
    color: var(--ink-900);
    letter-spacing: -0.3px;
    margin: 24px 0;
}
.register-wrap {
    max-width: 960px;
    margin: 0 auto;
}
.register-heading {
    text-align: center;
    margin-bottom: 28px;
}
.register-heading h2 {
    font-size: var(--font-3xl);
    font-weight: 600;
    color: var(--ink-900);
    margin: 0 0 6px 0;
    letter-spacing: -0.3px;
}
.register-heading p {
    font-size: 14px;
    color: var(--ink-muted);
    margin: 0;
    line-height: 1.5;
}
.register-panel {
    background: var(--surface-base);
    border: var(--border-width) var(--border-style) var(--border-color);
    border-radius: 8px;
    padding: 36px 32px;
}
@media (max-width: 575px) {
    .register-panel {
        border: none;
        background: transparent;
        border-radius: 0;
        padding: 0;
    }
}
.register-login-hint {
    margin-bottom: 24px;
}
.register-login-hint a {
    font-weight: 600;
    color: var(--ink-900);
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3px;
}
.register-login-hint a:hover {
    color: var(--ink-800);
}
.register-section {
    font-size: var(--font-lg);
    font-weight: 600;
    color: var(--ink-900);
    margin: 28px 0 16px 0;
}
.register-section:first-child {
    margin-top: 0;
}
.reg-floating {
    position: relative;
    margin-bottom: 16px;
}
.reg-floating input,
.reg-floating select,
.reg-floating textarea {
    width: 100%;
    max-width: 100%;
    padding: 18px 16px 6px;
    font-size: var(--font-lg);
    border: var(--border-width) var(--border-style) var(--border-color);
    border-radius: 6px;
    background: var(--surface-base);
    color: var(--ink-900);
    outline: none;
    transition:
        border-color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    -webkit-appearance: none;
    box-sizing: border-box;
    height: 44px;
}
.reg-floating select {
    cursor: pointer;
    font-size: var(--font-md);
    padding-right: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238a827a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
}
.reg-floating textarea {
    height: auto;
    min-height: 100px;
    resize: vertical;
}
.reg-floating input:focus,
.reg-floating select:focus,
.reg-floating textarea:focus {
    border-color: var(--ink-900);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}
.reg-floating label {
    position: absolute;
    top: 22px;
    left: 16px;
    transform: translateY(-50%);
    font-size: var(--font-md);
    font-weight: 400;
    color: var(--ink-muted);
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: transparent;
    padding: 0;
    margin: 0;
    letter-spacing: 0.15px;
}
.reg-floating input:focus ~ label,
.reg-floating input:not(:placeholder-shown) ~ label,
.reg-floating textarea:focus ~ label,
.reg-floating textarea:not(:placeholder-shown) ~ label {
    top: 3px;
    transform: translateY(0);
    font-size: var(--font-xs);
    font-weight: 600;
    color: var(--ink-900);
    letter-spacing: 0.3px;
}
.reg-floating select ~ label {
    top: 3px;
    transform: translateY(0);
    font-size: var(--font-xs);
    font-weight: 600;
    color: var(--ink-900);
    letter-spacing: 0.3px;
}
.reg-floating .text-danger {
    font-size: 12px;
    margin-top: 5px;
    color: var(--error-red);
}
.reg-floating.required > label::after {
    content: " *";
    color: var(--ink-muted);
}
.reg-floating.has-error input,
.reg-floating.has-error textarea {
    border-color: var(--status-danger);
}
.reg-floating.has-success input,
.reg-floating.has-success textarea,
.reg-floating.has-success select {
    border-color: var(--status-success);
}
.reg-floating .field-check {
    position: absolute;
    right: 14px;
    top: 22px;
    transform: translateY(-50%);
    font-size: 13px;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    pointer-events: none;
}
.reg-floating.has-success .field-check {
    opacity: 1;
    color: var(--status-success);
}
.reg-floating .field-error {
    font-size: 13px;
    color: var(--status-danger);
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
    opacity: 0;
    transform: translateY(-4px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.reg-floating.has-error .field-error {
    opacity: 1;
    transform: translateY(0);
}
.register-newsletter {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 8px 0 0 0px;
    font-size: 14px;
    color: var(--ink-900);
}
.register-newsletter span {
    font-weight: 600;
}
.register-newsletter label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 400;
    cursor: pointer;
    color: rgba(0, 0, 0, 0.6);
}
.register-newsletter input[type="radio"] {
    accent-color: var(--ink-900);
}

/* ── Custom field groups · Crema ── */
.cf-radio-group {
    padding: 16px;
    border: var(--border-width) var(--border-style) var(--border-color);
    border-radius: 6px;
    background: var(--surface-base);
}
.cf-radio-group__label {
    display: block;
    font-size: var(--font-xs);
    font-weight: 600;
    color: var(--ink-900);
    letter-spacing: 0.3px;
    margin-bottom: 10px;
}
.cf-radio-group__options {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
}
.cf-radio-group__option {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: var(--font-md);
    font-weight: 400;
    color: var(--ink-900);
    cursor: pointer;
    min-height: 44px;
}
.cf-radio-group__option input[type="radio"],
.cf-radio-group__option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--ink-900);
    cursor: pointer;
}
/* ── EU VAT input wrap · Crema ── */
.euvat-input-wrap {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}
.euvat-input-wrap .text-success,
.euvat-input-wrap .text-danger {
    flex-basis: 100%;
    font-size: var(--font-xs);
    margin-top: 4px;
    padding-left: 16px;
    order: 10;
}
.euvat-input-wrap .text-success {
    animation: euvat-blink 5s steps(1, end) forwards;
    overflow: hidden;
}
@keyframes euvat-blink {
    0%,
    99% {
        opacity: 1;
        max-height: 40px;
        margin-top: 4px;
        padding-left: 16px;
    }
    100% {
        opacity: 0;
        max-height: 0;
        margin-top: 0;
        padding: 0;
        font-size: 0;
        pointer-events: none;
    }
}
.euvat-input-wrap input {
    width: 100%;
    padding: 18px 16px 6px;
    font-size: var(--font-lg);
    border: var(--border-width) var(--border-style) var(--border-color);
    border-radius: 6px 0 0 6px;
    background: var(--surface-base);
    color: var(--ink-900);
    outline: none;
    transition: border-color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    -webkit-appearance: none;
    box-sizing: border-box;
    height: 44px;
}
.euvat-input-wrap--auto input {
    border-radius: 6px;
}
.euvat-input-wrap input:focus {
    border-color: var(--ink-900);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}
.euvat-input-wrap label {
    position: absolute;
    top: 22px;
    left: 16px;
    transform: translateY(-50%);
    font-size: var(--font-md);
    font-weight: 400;
    color: var(--ink-muted);
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.euvat-input-wrap input:focus ~ label,
.euvat-input-wrap input:not(:placeholder-shown) ~ label {
    top: 6px;
    transform: translateY(0);
    font-size: var(--font-xs);
    font-weight: 600;
    color: var(--ink-900);
    letter-spacing: 0.3px;
}
.euvat-input-wrap .field-check {
    position: absolute;
    right: 14px;
    top: 22px;
    transform: translateY(-50%);
    font-size: 13px;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    pointer-events: none;
}
.euvat-input-wrap--auto .field-check {
    right: 14px;
}
.reg-floating.has-success .euvat-input-wrap input {
    border-color: var(--status-success);
}
.reg-floating.has-success .euvat-input-wrap .field-check {
    opacity: 1;
    color: var(--status-success);
}
.euvat-check-btn {
    flex-shrink: 0;
    border-radius: 0 6px 6px 0 !important;
    height: 44px;
    padding: 0 16px;
    white-space: nowrap;
    font-size: var(--font-sm) !important;
}
/* ── File upload group · Crema ── */
.cf-file-group {
    padding: 16px;
    border: var(--border-width) var(--border-style) var(--border-color);
    border-radius: 6px;
    background: var(--surface-base);
}
.cf-file-group__row {
    display: flex;
    align-items: center;
    gap: 12px;
}
.cf-file-group__name {
    font-size: var(--font-md);
    color: var(--ink-muted);
}

/* ── Newsletter page · Crema ── */
.nl-card {
    max-width: max-content;
    margin: 0 auto;
    text-align: center;
    padding: 40px 0 16px;
}
.nl-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    color: var(--ink-muted);
    opacity: 0.45;
}
.nl-icon svg {
    stroke-width: 1.2;
}
.nl-desc {
    font-size: var(--font-lg);
    color: var(--ink-muted);
    line-height: 1.5;
    margin: 0 0 32px;
}
/* ── Toggle switch · premium ── */
.nl-switch {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    min-height: 44px;
    margin-bottom: 32px;
}
.nl-switch__input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.nl-switch__track {
    position: relative;
    width: 56px;
    height: 30px;
    background: transparent;
    border: 2px solid var(--border-color);
    border-radius: 15px;
    transition:
        background-color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        border-color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    flex-shrink: 0;
}
.nl-switch__track::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 22px;
    height: 22px;
    background: var(--border-color);
    border-radius: 50%;
    transition:
        left 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
        background-color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.nl-switch__input:checked ~ .nl-switch__track {
    background-color: var(--success-green);
    border-color: var(--success-green);
}
.nl-switch__input:checked ~ .nl-switch__track::after {
    left: calc(100% - 24px);
    background: var(--text-inverse);
}
.nl-switch__label {
    font-size: var(--font-lg);
    color: var(--ink-muted);
    font-weight: 400;
    transition: color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.nl-switch__label--on {
    display: none;
    color: var(--ink-900);
    font-weight: 600;
}
.nl-switch__label--off {
    display: inline;
}
.nl-switch__input:checked ~ .nl-switch__label--on {
    display: inline;
}
.nl-switch__input:checked ~ .nl-switch__label--off {
    display: none;
}
.nl-switch__input:focus-visible ~ .nl-switch__track {
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}
.nl-switch:hover .nl-switch__track {
    border-color: var(--success-green);
}
.nl-switch:hover .nl-switch__track::after {
    background: var(--success-green);
}
.nl-switch:hover .nl-switch__input:checked ~ .nl-switch__track {
    background-color: #4a9e4a;
    border-color: #4a9e4a;
}
.nl-switch:hover .nl-switch__input:checked ~ .nl-switch__track::after {
    background: var(--text-inverse);
}

.register-agree {
    font-size: 13px;
    color: var(--ink-muted);
    margin: 20px 0 16px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.5;
}
.register-agree input[type="checkbox"] {
    margin-top: 3px;
    accent-color: var(--ink-900);
    flex-shrink: 0;
}
.register-agree a {
    color: var(--ink-900);
    text-decoration: underline;
    text-underline-offset: 2px;
}
#account-register .btn.btn-primary {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    padding: 14px 24px !important;
    border-radius: 8px !important;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    margin-top: 8px;
}
.register-group {
    align-items: center;
    gap: 24px;
    margin-bottom: 16px;
}
.register-radio {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    margin: 0;
    padding: 0;
}
.register-radio input[type="radio"] {
    accent-color: var(--ink-900);
    margin: 0;
}
.register-alert {
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 13px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(220, 38, 38, 0.06);
    color: var(--error-red);
    border: 1px solid rgba(220, 38, 38, 0.15);
}
.register-alert svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* =====================================================================
   EDIT ACCOUNT PAGE
   ===================================================================== */
#account-edit {
    padding-bottom: 40px;
}
#account-edit .register-wrap {
    max-width: 560px;
}
#account-edit .panel,
#account-edit .well,
#account-edit fieldset {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
#account-edit legend {
    display: none;
}
.edit-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 24px;
    padding-top: 24px;
    border-top: var(--border-width) var(--border-style) var(--border-soft);
}
.edit-actions__back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: var(--font-md);
    font-weight: 400;
    color: var(--ink-muted);
    text-decoration: none;
    transition: color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    min-height: 44px;
}
.edit-actions__back:hover {
    color: var(--ink-900);
    text-decoration: none;
}
.edit-actions__back svg {
    flex-shrink: 0;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.edit-actions__back:hover svg {
    transform: translateX(-3px);
}
.edit-actions .btn-primary {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 32px !important;
    font-size: var(--font-md) !important;
    font-weight: 600 !important;
    color: var(--text-inverse) !important;
    background-color: var(--button-primary-bg) !important;
    border: none !important;
    border-radius: 8px !important;
    cursor: pointer;
    transition: background-color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.edit-actions .btn-primary:hover {
    background-color: var(--ink-800) !important;
}

/* =====================================================================
   WISHLIST PAGE
   ===================================================================== */
#account-wishlist h1 {
    text-align: center;
    font-size: var(--font-4xl);
    font-weight: 600;
    color: var(--ink-900);
    letter-spacing: -0.3px;
    margin: 0 0 24px;
}

/* Wishlist card list */
.wl-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}
.wl-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--surface-base);
    border: var(--border-width) var(--border-style) var(--border-color);
    border-radius: 8px;
    padding: 16px;
    transition: background-color 0.15s ease;
}
.wl-item:hover {
    background-color: var(--background-light);
}
.wl-item__img {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
}
.wl-item__img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 6px;
    mix-blend-mode: multiply;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.wl-item__img img:hover {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    will-change: opacity;
}
.wl-item__body {
    flex: 1;
    min-width: 0;
}
.wl-item__name {
    font-size: var(--font-md);
    font-weight: 600;
    color: var(--ink-900);
    text-decoration: none;
    transition: color 0.2s ease;
    display: block;
    margin-bottom: 4px;
}
.wl-item__name:hover {
    color: var(--ink-800);
    text-decoration: none;
}
.wl-item__model {
    font-size: var(--font-sm);
    color: var(--ink-muted);
    margin-bottom: 6px;
}
.wl-item__price {
    font-size: var(--font-md);
    font-weight: 600;
    color: var(--ink-900);
    flex-shrink: 0;
    white-space: nowrap;
    align-self: center;
}
.wl-item__special {
    color: var(--status-danger);
    margin-right: 6px;
}
.wl-item__old {
    font-size: var(--font-base);
    font-weight: 400;
    color: var(--ink-muted);
    text-decoration: line-through;
}
.wl-item__actions {
    flex-shrink: 0;
    display: flex;
    gap: 8px;
}
/* Wishlist action buttons — ghost icon btn §8.6b (cart), danger (remove) */
.wl-action {
    width: 44px;
    height: 44px;
    border: var(--border-width) var(--border-style) var(--border-color);
    background: linear-gradient(var(--ink-900), var(--ink-900)) no-repeat
        center / 0% 100%;
    color: var(--ink-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition:
        background-size 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        border-color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    padding: 0;
    text-decoration: none;
}
.wl-action:hover {
    background-size: 100% 100%;
    color: var(--text-inverse);
    border-color: var(--ink-900);
    text-decoration: none;
}
.wl-action--remove {
    background: linear-gradient(var(--status-danger), var(--status-danger))
        no-repeat center / 0% 100%;
}
.wl-action--remove:hover {
    background-size: 100% 100%;
    color: var(--text-inverse);
    border-color: var(--status-danger);
}

/* Wishlist empty state */
#account-wishlist #content > p {
    text-align: center;
    font-size: var(--font-lg);
    color: var(--ink-muted);
    padding: 56px 20px;
}

/* Wishlist continue button */
#account-wishlist .buttons {
    border: none;
    padding: 0;
    margin: 0;
}
#account-wishlist .buttons .pull-right {
    float: none !important;
    display: flex;
    justify-content: center;
}
#account-wishlist .buttons .btn-primary {
    height: 44px;
    padding: 0 24px;
    border-radius: 8px;
    min-width: 10rem;
}

@media (max-width: 575px) {
    .wl-item {
        display: grid;
        grid-template-columns: 60px 1fr auto;
        grid-template-rows: auto auto auto;
        gap: 0 12px;
        align-items: center;
    }
    .wl-item__img {
        grid-row: 1;
        grid-column: 1;
        width: 60px;
        height: 60px;
    }
    .wl-item__body {
        grid-row: 1;
        grid-column: 2 / -1;
        padding-bottom: 12px;
    }
    /* Full-width divider between body and price/actions */
    .wl-item::before {
        content: "";
        grid-row: 2;
        grid-column: 1 / -1;
        border-bottom: var(--border-width) var(--border-style)
            var(--border-soft);
    }
    /* Price bottom-left, actions bottom-right */
    .wl-item__price {
        grid-row: 3;
        grid-column: 1 / 3;
        font-size: var(--font-md);
        padding-top: 12px;
    }
    .wl-item__actions {
        grid-row: 3;
        grid-column: 3;
        padding-top: 12px;
        justify-content: flex-end;
    }
}

/* =====================================================================
   RETURN INFO PAGE
   ===================================================================== */
.ri-col-half {
    width: 50%;
}
.ri-col-third {
    width: 33.3%;
}

/* =====================================================================
   ORDER LIST / TRANSACTION — spacing (was inline)
   ===================================================================== */
#account-order .buttons {
    padding-top: 20px;
    text-align: center;
}
#account-order .buttons .pull-right {
    float: none !important;
    display: inline-block;
}

/* ── Order table · Crema ── */
.order-table-wrap {
    border: var(--border-width) var(--border-style) var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 16px;
}
.order-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    font-size: var(--font-md);
    line-height: 1.4;
    color: var(--ink-900);
}
.order-table col.ot-id {
    width: 9%;
}
.order-table col.ot-date {
    width: 12%;
}
.order-table col.ot-customer {
    width: 30%;
}
.order-table col.ot-qty {
    width: 8%;
}
.order-table col.ot-total {
    width: 12%;
}
.order-table col.ot-status {
    width: 22%;
}
.order-table col.ot-action {
    width: 7%;
}
.order-table thead th {
    padding: 12px 16px;
    font-size: var(--font-md);
    font-weight: 600;
    color: var(--ink-900);
    text-align: left;
    border-bottom: var(--border-width) var(--border-style) var(--border-color);
    background: none;
    white-space: nowrap;
}
.order-table tbody tr {
    transition: background-color 0.15s ease;
}
.order-table tbody tr:hover {
    background-color: var(--background-light);
}
.order-table tbody td {
    padding: 14px 16px;
    border-bottom: var(--border-width) var(--border-style) var(--border-soft);
    vertical-align: middle;
    font-size: var(--font-md);
    font-weight: 400;
}
.order-table tbody tr:last-child td {
    border-bottom: none;
}
.order-table th.order-table__center,
.order-table td.order-table__center {
    text-align: center;
}
.order-table th.order-table__right,
.order-table td.order-table__right {
    text-align: right;
}
.order-table__id {
    font-weight: 600;
    color: var(--ink-900);
    white-space: nowrap;
}
.order-table__status {
    display: inline-block;
    padding: 0;
    font-size: var(--font-md);
    font-weight: 600;
    color: var(--ink-900);
    background-color: transparent;
    border-radius: 0;
    white-space: nowrap;
    line-height: 1.4;
}
/* Status color variants — text-only differentiation, Crema background */
.order-table__status--complete {
    color: #556b4a;
}
.order-table__status--pending {
}
.order-table__status--processing {
    color: #6b6088;
}
.order-table__status--canceled,
.order-table__status--denied,
.order-table__status--failed {
    color: #8b6060;
}
.order-table__action {
    text-align: center;
    width: 56px;
}
.order-table__view {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    color: var(--ink-muted);
    background: linear-gradient(var(--ink-900), var(--ink-900)) no-repeat
        center / 0% 100%;
    border: var(--border-width) var(--border-style) var(--border-color);
    text-decoration: none;
    transition:
        background-size 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        border-color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.order-table__view:hover {
    background-size: 100% 100%;
    color: var(--text-inverse);
    border-color: var(--ink-900);
    text-decoration: none;
}
.order-table__view svg {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

/* ── Order table · mobile ── */
@media (max-width: 767px) {
    .order-table-wrap {
        border: none;
        border-radius: 0;
        overflow: visible;
    }
    .order-table,
    .order-table tbody {
        display: block;
    }
    .order-table thead {
        display: none;
    }
    .order-table colgroup {
        display: none;
    }

    /* ── Grid card layout ── */
    .order-table tbody tr {
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "id      date"
            "divider divider"
            "cust    cust"
            "qty     qty"
            "total   total"
            "status  action";
        padding: 20px;
        margin-bottom: 16px;
        border: var(--border-width) var(--border-style) var(--border-color);
        border-radius: 8px;
        background: var(--surface-base);
        position: relative;
    }
    .order-table tbody tr:last-child {
        margin-bottom: 0;
    }

    /* Base cell */
    .order-table tbody td {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        padding: 4px 0;
        border-bottom: none;
        font-size: var(--font-md);
        width: 100%;
    }
    .order-table tbody td::before {
        content: attr(data-label);
        font-size: var(--font-xs);
        font-weight: 600;
        color: var(--ink-muted);
        text-transform: uppercase;
        letter-spacing: 0.5px;
        flex-shrink: 0;
        margin-right: 16px;
    }

    /* ── Card header: ID + Date ── */
    .order-table tbody td.ot-cell-id {
        grid-area: id;
        padding-bottom: 12px;
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }
    .order-table__id {
        font-size: var(--font-lg);
    }

    .order-table tbody td.ot-cell-date {
        grid-area: date;
        flex-direction: column;
        align-items: flex-end;
        gap: 2px;
        padding-bottom: 12px;
        font-size: var(--font-sm);
        color: var(--ink-muted);
    }
    .order-table tbody td.ot-cell-date::before {
        margin-right: 0;
    }

    /* Header–body divider (full-width border between ID/Date row and body) */
    .order-table tbody td.ot-cell-customer {
        grid-area: cust;
        padding-top: 12px;
        border-top: var(--border-width) var(--border-style) var(--border-soft);
    }
    .order-table tbody td.ot-cell-qty {
        grid-area: qty;
    }
    .order-table tbody td.ot-cell-total {
        grid-area: total;
        font-weight: 600;
    }

    /* ── Card footer: Status + Action ── */
    .order-table tbody td.ot-cell-status {
        grid-area: status;
        padding-top: 8px;
        margin-top: 4px;
        border-top: var(--border-width) var(--border-style) var(--border-soft);
        align-items: center;
    }
    .order-table tbody td.ot-cell-status::before {
        content: none;
    }

    .order-table tbody td.order-table__action {
        grid-area: action;
        width: auto;
        padding-top: 8px;
        margin-top: 4px;
        border-top: var(--border-width) var(--border-style) var(--border-soft);
        justify-content: flex-end;
        align-items: center;
    }
    .order-table__action::before {
        content: none;
    }
    .order-table__view {
        width: 36px;
        height: 36px;
    }
}

/* ═══════════════════════════════════════════════
   ORDER INFO (invoice) · Crema — 2026-02
   ═══════════════════════════════════════════════ */

/* ── Card ── */
.oi-invoice-card {
    background: var(--surface-base);
    border-radius: 8px;
    padding: 40px 40px;
    margin-bottom: 24px;
    border: var(--border-width) var(--border-style) var(--border-color);
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

/* ── Header ── */
.oi-invoice-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 2px var(--border-style) var(--border-color);
}
.oi-invoice-header > div:first-child {
    flex: 1;
    min-width: 0;
}
.oi-invoice-title {
    font-size: var(--font-xs);
    font-weight: 600;
    color: var(--ink-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0;
    line-height: 1;
}
.oi-invoice-number {
    display: block;
    font-size: var(--font-md);
    font-weight: 600;
    color: var(--ink-900);
    text-transform: none;
    margin-top: 4px;
    line-height: 1.3;
    letter-spacing: 0.04em;
}
.oi-invoice-meta {
    font-size: var(--font-xs);
    color: var(--ink-muted);
    text-align: right;
    line-height: 1.8;
    flex-shrink: 0;
    white-space: nowrap;
}
.oi-invoice-meta strong {
    font-weight: 600;
    letter-spacing: 0.04em;
}

/* ── Parties ── */
.oi-parties {
    display: flex;
    gap: 0;
    margin-bottom: 36px;
}
.oi-party {
    flex: 1;
    padding: 10px 24px 10px 0;
    font-size: var(--font-base);
    line-height: 1.85;
    color: var(--ink-900);
    min-width: 0;
}
.oi-party + .oi-party {
    padding-left: 24px;
    padding-right: 0;
    border-left: var(--border-width) var(--border-style) var(--border-color);
}
.oi-party-label {
    display: block;
    font-size: var(--font-2xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ink-muted);
    margin-bottom: 6px;
    padding-bottom: 0;
    border-bottom: none;
}
.oi-party-company {
    font-weight: 600;
    color: var(--ink-900);
    font-size: var(--font-md);
    display: block;
}
.oi-party-addr {
    display: block;
    color: var(--ink-900);
    font-size: var(--font-base);
    line-height: 1.85;
}
.oi-party-cf {
    font-size: var(--font-base);
    color: var(--ink-900);
    display: block;
    line-height: 1.85;
}
.oi-bank-info {
    margin-top: 10px;
    padding-top: 10px;
    border-top: var(--border-width) var(--border-style) var(--border-soft);
}
.oi-bank-name {
    font-weight: 600;
    color: var(--ink-900);
    font-size: var(--font-sm);
}
.oi-bank-detail {
    font-size: var(--font-xs);
    color: var(--ink-muted);
    letter-spacing: 0.1em;
}
.oi-bank-name--second {
    margin-top: 8px;
    display: inline-block;
}

/* ── Products table ── */
.oi-products-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 0;
    font-size: var(--font-md);
    border-bottom: 1px var(--border-style) var(--border-soft);
}
.oi-products-table thead td {
    font-size: var(--font-2xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ink-muted);
    padding: 10px;
    border: none;
    white-space: nowrap;
    border-bottom: 2px var(--border-style) var(--border-color);
}
.oi-products-table tbody td {
    padding: 16px 10px;
    border: none;
    border-bottom: var(--border-width) var(--border-style) var(--border-soft);
    vertical-align: middle;
    color: var(--ink-900);
}
.oi-products-table tbody tr:hover td {
    background: var(--background-light);
    transition: background 0.25s ease;
}
.oi-product-name a {
    font-weight: 600;
    color: var(--ink-900);
    font-size: var(--font-base);
    text-decoration: none;
}
.oi-product-name a:hover {
    color: var(--accent-color);
    text-decoration: none;
}
.oi-product-name span {
    font-weight: 600;
    color: var(--ink-900);
    font-size: var(--font-base);
}
.oi-product-option {
    font-size: var(--font-xs);
    color: var(--ink-muted);
    margin-top: 4px;
}
.oi-product-link {
    display: inline;
    margin-left: 4px;
}
.oi-product-link a {
    color: var(--ink-muted);
    font-size: var(--font-xs);
    text-decoration: none;
    transition: color 0.2s ease;
}
.oi-product-link a:hover {
    color: var(--ink-900);
}
.oi-product-img {
    max-height: 100px;
    max-width: 100px;
    object-fit: contain;
    border-radius: 4px;
    mix-blend-mode: multiply;
}
.oi-col-model {
    width: 11%;
    text-align: center;
    font-size: var(--font-sm);
    color: var(--ink-muted);
    font-family: "SF Mono", "Menlo", "Monaco", "Consolas", monospace;
    letter-spacing: 0.1em;
}
.oi-col-name {
    text-align: left;
}
.oi-col-image {
    width: 100px;
    text-align: center;
}
.oi-col-qty {
    width: 50px;
    text-align: center;
    font-size: var(--font-base);
    font-weight: 600;
}
.oi-col-price {
    width: 100px;
    text-align: right;
    white-space: nowrap;
    font-size: var(--font-base);
    font-weight: 600;
}
.oi-col-total {
    width: 100px;
    text-align: right;
    white-space: nowrap;
    font-size: var(--font-base);
    font-weight: 600;
}
.oi-col-actions {
    width: 70px;
    text-align: center;
}
thead .oi-col-actions {
    border-bottom-color: transparent;
}

/* Action buttons — ghost icon §8.6b */
.oi-col-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border-radius: 6px;
    border: var(--border-width) var(--border-style) var(--border-color);
    background: linear-gradient(var(--ink-900), var(--ink-900)) no-repeat
        center / 0% 100%;
    color: var(--ink-muted);
    text-decoration: none;
    transition:
        background-size 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        border-color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.oi-col-actions .btn:hover {
    background-size: 100% 100%;
    color: var(--text-inverse);
    border-color: var(--ink-900);
}
.oi-col-actions .btn svg {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}
.oi-col-actions .btn + .btn {
    margin-top: 4px;
}

/* ── Totals ── */
.oi-totals {
    width: auto;
    min-width: 260px;
    border-collapse: collapse;
    margin-top: 28px;
    margin-bottom: 28px;
    margin-left: auto;
}
.oi-totals td {
    padding: 7px 0;
    font-size: var(--font-base);
    font-weight: 600;
    text-align: right;
}
.oi-totals .oi-total-label {
    font-weight: 400;
    color: var(--ink-900);
    padding-right: 30px;
}
.oi-totals .oi-total-label::after {
    content: ":";
}
.oi-totals .oi-total-value {
    min-width: 70px;
    font-weight: 600;
    color: var(--ink-900);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    border-bottom: var(--border-width) var(--border-style) var(--border-soft);
}
.oi-totals tr:first-child td {
    padding-top: 8px;
}
.oi-totals tr:last-child td {
    padding-top: 12px;
    font-size: var(--font-md);
    font-weight: 600;
    border-bottom: none;
}
.oi-totals tr:last-child .oi-total-label {
    font-weight: 600;
    color: var(--ink-900);
}
.oi-totals tr:last-child .oi-total-value {
    font-weight: 600;
    color: var(--ink-900);
    border-top: 2px solid var(--ink-900);
}

/* ── Comment & History ── */
.oi-section {
    margin-bottom: 24px;
}
.oi-section-title {
    font-size: var(--font-2xs);
    font-weight: 600;
    color: var(--ink-muted);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.oi-comment-box {
    background: var(--background-light);
    border-radius: 6px;
    padding: 16px 20px;
    font-size: var(--font-base);
    line-height: 1.6;
    color: var(--ink-900);
    border: var(--border-width) var(--border-style) var(--border-color);
}
/* ── History card (outside invoice) ── */
.oi-history-card {
    max-width: 960px;
    margin: 0 auto 24px;
    padding: 24px 32px;
    background: var(--surface-base);
    border: var(--border-width) var(--border-style) var(--border-color);
    border-radius: 8px;
}
.oi-history-card .oi-section-title {
    margin-bottom: 12px;
}
.oi-hist-col-date {
    width: 110px;
    text-align: left;
}
.oi-hist-col-status {
    text-align: left;
}
.oi-hist-col-comment {
    text-align: left;
}

.oi-history-table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--font-base);
}
.oi-history-table thead td {
    font-size: var(--font-2xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ink-muted);
    padding: 0 10px 8px 10px;
    border: none;
    border-bottom: 1px var(--border-style) var(--border-color);
    background: none;
    /* text-align: center; */
}
.oi-history-table tbody td {
    padding: 10px 10px;
    border: none;
    border-bottom: var(--border-width) var(--border-style) var(--border-color);
    vertical-align: middle;
    color: var(--ink-900);
}
.oi-history-table tbody tr:last-child td {
    border-bottom: none;
}
/* Status chip */
.oi-status-chip {
    display: inline-block;
    padding: 4px 0;
    font-size: var(--font-sm);
    font-weight: 600;
    letter-spacing: normal;
    color: var(--ink-900);
}

/* ── Buttons — editorial ── */
.oi-buttons {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    gap: 12px;
    flex-wrap: wrap;
    padding: 16px 0;
    max-width: 960px;
    margin: 0 auto 24px;
    border: none;
}
.oi-buttons .oi-btn-icon {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
.oi-buttons .oi-btn-primary {
    position: static;
    transform: none;
}
.oi-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 44px;
    padding: 0 24px;
    font-size: var(--font-md);
    font-weight: 600;
    letter-spacing: normal;
    text-decoration: none;
    border-radius: 8px;
    cursor: pointer;
    border: none;
}
.oi-btn-primary {
    background-color: var(--button-primary-bg);
    border: 1px solid var(--button-primary-border);
    color: var(--text-inverse);
    background-image: linear-gradient(
        var(--button-primary-hover),
        var(--button-primary-hover)
    );
    background-size: 100% 0%;
    background-position: 0 100%;
    background-repeat: no-repeat;
    transition: background-size 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.oi-btn-primary:hover {
    background-size: 100% 100%;
    color: var(--text-inverse);
}
.oi-btn-ghost {
    background-color: transparent;
    color: var(--ink-900);
    border: 1px solid var(--ink-900);
    background-image: linear-gradient(var(--ink-900), var(--ink-900));
    background-size: 100% 0%;
    background-position: 0 100%;
    background-repeat: no-repeat;
    transition:
        background-size 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.oi-btn-ghost:hover {
    background-size: 100% 100%;
    color: var(--text-inverse);
}

/* Ghost icon button — §8.6b */
.oi-btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 44px;
    padding: 0 20px;
    border-radius: 8px;
    border: var(--border-width) var(--border-style) var(--border-color);
    background: linear-gradient(var(--ink-900), var(--ink-900)) no-repeat
        center / 0% 100%;
    color: var(--ink-900);
    text-decoration: none;
    cursor: pointer;
    transition:
        background-size 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        border-color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.oi-btn-icon:hover {
    background-size: 100% 100%;
    color: var(--text-inverse);
    border-color: var(--ink-900);
}
.oi-btn-icon:focus-visible {
    outline: 2px solid var(--ink-900);
    outline-offset: 2px;
}
.oi-btn-icon svg {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

/* ── Print footer ── */
.oi-print-footer {
    display: none;
}

/* ── Order info · mobile ── */
@media (max-width: 767px) {
    .oi-invoice-card {
        padding: 20px 18px;
    }
    .oi-invoice-header {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }
    .oi-invoice-meta {
        text-align: left;
    }
    .oi-parties {
        flex-direction: column;
    }
    .oi-party {
        padding: 14px 0;
    }
    .oi-party + .oi-party {
        padding-left: 0;
        border-left: none;
        border-top: var(--border-width) var(--border-style) var(--border-color);
        padding-top: 14px;
    }
    .oi-products-table,
    .oi-products-table thead,
    .oi-products-table tbody,
    .oi-products-table th,
    .oi-products-table td,
    .oi-products-table tr {
        display: block;
    }
    .oi-products-table thead {
        display: none;
    }
    .oi-products-table tbody tr {
        margin-bottom: 12px;
        border-bottom: var(--border-width) var(--border-style)
            var(--border-color);
        padding: 12px 0;
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
    }
    .oi-products-table tbody td {
        border: none !important;
        padding: 2px 4px;
        text-align: left !important;
    }
    .oi-products-table tbody td::before {
        font-weight: 600;
        font-size: var(--font-2xs);
        text-transform: uppercase;
        letter-spacing: 0.1em;
        color: var(--ink-muted);
        display: block;
        margin-bottom: 2px;
    }
    .oi-col-model {
        width: 100%;
    }
    .oi-col-name {
        width: 100%;
    }
    .oi-col-image {
        width: 60px;
    }
    .oi-col-qty {
        width: auto;
    }
    .oi-col-price {
        width: auto;
        text-align: left;
    }
    .oi-col-total {
        width: auto;
        text-align: left;
    }
    .oi-col-actions {
        width: 100%;
        text-align: left;
    }
    .oi-col-actions .btn {
        display: inline-block;
    }
    .oi-col-actions .btn + .btn {
        margin-top: 0;
        margin-left: 4px;
    }
    .oi-history-card {
        padding: 16px 18px;
    }
}

/* ── Order info · print ── */
@media print {
    /* — Page & global resets — */
    @page {
        size: A4 portrait;
        margin: 15mm 18mm 15mm 18mm;
    }
    * {
        color: #1a1a1a !important;
        text-shadow: none !important;
        box-shadow: none !important;
    }
    html,
    body {
        height: auto !important;
        min-height: 0 !important;
        overflow: visible !important;
    }
    body {
        font:
            9pt/1.45 "Poppins",
            "Helvetica Neue",
            Helvetica,
            Arial,
            sans-serif;
        background: #fff !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    a {
        text-decoration: none;
        color: #1a1a1a !important;
    }

    /* — Layout: collapse Bootstrap container/grid to paper width — */
    #account-order.container,
    .container {
        max-width: 100% !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        height: auto !important;
        min-height: 0 !important;
    }
    .row {
        margin: 0 !important;
    }
    [class*="col-sm-"],
    [class*="col-md-"],
    [class*="col-lg-"],
    #content {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        float: none !important;
    }
    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        page-break-after: avoid;
        page-break-inside: avoid;
    }
    img {
        page-break-inside: avoid;
        page-break-after: avoid;
    }

    /* — Hide chrome — */
    header,
    #top,
    #top-links,
    #search,
    #menu,
    #supermenu,
    #page,
    nav[aria-label="Breadcrumb"],
    .breadcrumb,
    .serveriai,
    .powered,
    .btn-group,
    footer,
    .alert,
    .hover,
    #paysera,
    #canvas,
    #flake,
    .cc-window,
    .cc-settings-dialog,
    .cc-animate,
    .container.paypal,
    .oi-col-actions,
    .oi-buttons,
    .oi-col-image,
    .oi-product-link,
    .comment_bottom,
    iframe,
    ins,
    .embed-youtube,
    .embed-responsive,
    #column-left,
    #column-right,
    .oi-history-card {
        display: none !important;
    }

    /* — Invoice card — */
    .oi-invoice-card {
        border: none !important;
        padding: 0 !important;
        border-radius: 0 !important;
        margin: 0 !important;
    }

    /* — Header — */
    .oi-invoice-header {
        margin-bottom: 14px;
        padding-bottom: 10px;
        border-bottom: 1.5pt solid #000 !important;
        gap: 8px;
        align-items: flex-end;
    }
    .oi-invoice-title {
        font-size: 7pt !important;
    }
    .oi-invoice-number {
        font-size: 9pt !important;
        margin-top: 2px;
    }
    .oi-invoice-meta {
        font-size: 7pt !important;
        color: #1a1a1a !important;
        line-height: 1.6;
    }
    .oi-invoice-meta strong {
        font-size: 6.5pt !important;
        letter-spacing: 0.03em;
    }

    /* — Parties — */
    .oi-parties {
        gap: 0;
        margin-bottom: 14px;
    }
    .oi-party {
        font-size: 8pt !important;
        line-height: 1.55;
        padding: 8px 12px 8px 0;
    }
    .oi-party + .oi-party {
        border-left: 1px solid #ccc;
        padding-left: 12px;
        padding-right: 0;
    }
    .oi-party-label {
        font-size: 6.5pt !important;
        color: #1a1a1a !important;
        margin-bottom: 5px;
    }
    .oi-party-company {
        font-size: 9pt !important;
        font-weight: 600;
        line-height: 1.4;
    }
    .oi-party-addr {
        font-size: 8pt !important;
        line-height: 1.55;
        color: #1a1a1a !important;
    }
    .oi-party-cf {
        font-size: 8pt !important;
        line-height: 1.55;
        color: #1a1a1a !important;
    }
    .oi-bank-info {
        margin-top: 4px;
        padding-top: 4px;
    }
    .oi-bank-name {
        font-size: 8pt !important;
    }
    .oi-bank-detail {
        font-size: 7pt !important;
    }

    /* — Products table — */
    .oi-products-table,
    .oi-products-table thead,
    .oi-products-table tbody,
    .oi-products-table tr,
    .oi-products-table td {
        display: revert;
    }
    .oi-products-table {
        font-size: 8pt !important;
        page-break-inside: auto;
        width: 100% !important;
        table-layout: fixed !important;
    }
    .oi-products-table thead td {
        font-size: 6.5pt !important;
        color: #1a1a1a !important;
        border-bottom: 2pt solid #1a1a1a !important;
        padding: 0 6px 6px 6px !important;
    }
    .oi-products-table tbody td {
        padding: 9px 6px !important;
        border-bottom: 0.5pt solid #ddd !important;
        font-size: 8pt !important;
        overflow: hidden;
    }
    .oi-products-table tbody tr:last-child td {
        border-bottom: 0.5pt solid #ddd !important;
    }
    .oi-products-table tbody tr {
        page-break-inside: avoid;
    }
    .oi-product-name a,
    .oi-product-name span {
        font-size: 8.5pt !important;
        font-weight: 600 !important;
    }
    .oi-product-option {
        font-size: 7pt !important;
        margin-top: 1px;
    }
    /* image + actions kolona — paslėpta, plotis 0 */
    .oi-col-image {
        width: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
    }
    .oi-col-actions {
        width: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
    }
    /* aktyvios kolonos */
    .oi-col-model {
        width: 13% !important;
        font-size: 7pt !important;
        font-family: "Courier New", monospace;
    }
    .oi-col-name {
        width: 56% !important;
    }
    .oi-col-qty {
        width: 7% !important;
        text-align: center !important;
    }
    .oi-col-price {
        width: 12% !important;
        text-align: right !important;
        white-space: nowrap;
        font-weight: 600 !important;
    }
    .oi-col-total {
        width: 12% !important;
        text-align: right !important;
        white-space: nowrap;
        font-weight: 600 !important;
    }

    /* — Totals — */
    .oi-totals {
        margin-bottom: 14px;
        min-width: 180px;
        max-width: 340px;
        margin-left: auto;
    }
    .oi-totals td {
        padding: 5px 0 !important;
        font-size: 8pt !important;
    }
    .oi-totals .oi-total-label {
        padding-right: 14px !important;
        white-space: nowrap !important;
        color: #1a1a1a !important;
        font-weight: 400 !important;
    }
    .oi-totals .oi-total-label::after {
        content: ":";
    }
    .oi-totals .oi-total-value {
        white-space: nowrap !important;
        color: #1a1a1a !important;
        font-weight: 600 !important;
        border-bottom: 0.5pt solid #ddd !important;
    }
    .oi-totals tr:first-child td {
        padding-top: 4px !important;
    }
    .oi-totals tr:last-child td {
        border-bottom: none !important;
        padding-top: 8px !important;
        font-size: 9pt !important;
        font-weight: 600 !important;
    }
    .oi-totals tr:last-child .oi-total-label {
        color: #1a1a1a !important;
        font-weight: 600 !important;
    }
    .oi-totals tr:last-child .oi-total-value {
        color: #1a1a1a !important;
        font-weight: 600 !important;
        border-bottom: none !important;
        border-top: 1.5pt solid #000 !important;
    }

    /* — Comment — */
    .oi-comment-box {
        background: none !important;
        border: 0.5pt solid #ccc;
        padding: 8px 10px !important;
        font-size: 8pt !important;
    }
    .oi-section {
        margin-bottom: 12px;
    }
    .oi-section-title {
        font-size: 7pt !important;
        color: #1a1a1a !important;
        margin-bottom: 5px;
    }

    /* — Print footer — */
    .oi-print-footer {
        display: block !important;
        margin-top: 16px;
        padding-top: 8px;
        border-top: 0.5pt solid #ccc;
        font-size: 7.5pt !important;
        color: #1a1a1a !important;
        line-height: 1.5;
    }
}

/* ── Downloads table · Crema ── */
.dl-table-wrap {
    border: var(--border-width) var(--border-style) var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 16px;
}
.dl-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    font-size: var(--font-md);
    line-height: 1.4;
    color: var(--ink-900);
}
.dl-table col.dl-col-id {
    width: 12%;
}
.dl-table col.dl-col-name {
    width: 38%;
}
.dl-table col.dl-col-size {
    width: 14%;
}
.dl-table col.dl-col-date {
    width: 22%;
}
.dl-table col.dl-col-action {
    width: 14%;
}
.dl-table thead th {
    padding: 12px 16px;
    font-size: var(--font-md);
    font-weight: 600;
    color: var(--ink-900);
    text-align: left;
    border-bottom: var(--border-width) var(--border-style) var(--border-color);
    background: none;
    white-space: nowrap;
}
.dl-table tbody tr {
    transition: background-color 0.15s ease;
}
.dl-table tbody tr:hover {
    background-color: var(--background-light);
}
.dl-table tbody td {
    padding: 14px 16px;
    border-bottom: var(--border-width) var(--border-style) var(--border-soft);
    vertical-align: middle;
    font-weight: 400;
}
.dl-table tbody tr:last-child td {
    border-bottom: none;
}
.dl-table__center {
    text-align: center;
}
.dl-table__id {
    font-weight: 600;
    color: var(--ink-900);
    white-space: nowrap;
}
.dl-table__action {
    text-align: center;
    width: 56px;
}
.dl-table__download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    color: var(--ink-muted);
    background: linear-gradient(var(--ink-900), var(--ink-900)) no-repeat
        center / 0% 100%;
    border: var(--border-width) var(--border-style) var(--border-color);
    text-decoration: none;
    transition:
        background-size 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        border-color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.dl-table__download:hover {
    background-size: 100% 100%;
    color: var(--text-inverse);
    border-color: var(--ink-900);
    text-decoration: none;
}
.dl-table__download svg {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

/* ── Downloads table · mobile ── */
@media (max-width: 767px) {
    .dl-table thead {
        display: none;
    }
    .dl-table tbody tr {
        display: block;
        padding: 16px;
        border-bottom: var(--border-width) var(--border-style)
            var(--border-color);
    }
    .dl-table tbody tr:last-child {
        border-bottom: none;
    }
    .dl-table tbody td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 6px 0;
        border-bottom: none;
        font-size: var(--font-md);
    }
    .dl-table tbody td::before {
        content: attr(data-label);
        font-size: var(--font-sm);
        font-weight: 600;
        color: var(--ink-muted);
        text-transform: uppercase;
        letter-spacing: 0.5px;
        flex-shrink: 0;
        margin-right: 12px;
    }
    .dl-table__action {
        width: auto;
        text-align: right;
    }
    .dl-table__action::before {
        content: none;
    }
    .dl-table__center {
        text-align: right;
    }
}

/* ── Address book · Crema ── */
.addr-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    margin-top: 12px;
    margin-bottom: 24px;
}
.addr-grid--single {
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
}
/* When single address card, constrain actions to match card width */
.addr-grid--single + .edit-actions {
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
}
.addr-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 24px;
    border: var(--border-width) var(--border-style) var(--border-color);
    border-radius: 8px;
    background: var(--surface-base);
    transition: border-color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.addr-card:hover {
    border-color: var(--ink-900);
}
.addr-card--default {
    border: var(--border-width) var(--border-style) var(--border-color);
}
.addr-card__badge {
    position: absolute;
    top: -9px;
    left: 16px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: var(--font-xs);
    font-weight: 600;
    color: var(--text-inverse);
    background: var(--ink-900);
    padding: 2px 10px;
    border-radius: 50px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    line-height: 1.2;
}
.addr-card__badge svg {
    flex-shrink: 0;
}
.addr-card__body {
    flex: 1;
    min-width: 0;
}
.addr-card__name {
    font-size: var(--font-lg);
    font-weight: 600;
    color: var(--ink-900);
    margin: 0 0 4px;
}
.addr-card__person {
    font-size: var(--font-sm);
    font-weight: 400;
    color: var(--ink-muted);
    margin: 0 0 8px;
}
.addr-card__details {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 16px;
    margin: 8px 0;
    padding: 8px 0;
    border-top: var(--border-width) var(--border-style) var(--border-soft);
    border-bottom: var(--border-width) var(--border-style) var(--border-soft);
}
.addr-card__detail {
    font-size: var(--font-sm);
    color: var(--ink-900);
    white-space: nowrap;
}
.addr-card__detail-label {
    font-weight: 400;
    color: var(--ink-muted);
}
.addr-card__address {
    margin-top: 12px;
}
.addr-card__line {
    font-size: var(--font-md);
    color: var(--ink-900);
    margin: 0;
    line-height: 1.5;
}
.addr-card__line--secondary {
    color: var(--ink-muted);
    font-size: var(--font-sm);
    margin-top: 2px;
}
.addr-card__actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    flex-shrink: 0;
    margin-top: 16px;
    padding-top: 12px;
    border-top: var(--border-width) var(--border-style) var(--border-soft);
}
.addr-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 40px;
    padding: 0 16px;
    border-radius: 8px;
    color: var(--ink-muted);
    font-size: var(--font-sm);
    font-weight: 600;
    background: linear-gradient(var(--ink-900), var(--ink-900)) no-repeat
        center / 0% 100%;
    border: var(--border-width) var(--border-style) var(--border-color);
    text-decoration: none;
    transition:
        background-size 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        border-color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.addr-card__btn:hover {
    background-size: 100% 100%;
    color: var(--text-inverse);
    border-color: var(--ink-900);
    text-decoration: none;
}
.addr-card__btn svg {
    flex-shrink: 0;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}
.addr-card__btn-label {
    white-space: nowrap;
}
.addr-card__btn--delete {
    background: linear-gradient(var(--status-danger), var(--status-danger))
        no-repeat center / 0% 100%;
}
.addr-card__btn--delete:hover {
    background-size: 100% 100%;
    border-color: var(--status-danger);
}
/* Delivery address line with truck icon */
.addr-card__line--delivery {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed var(--border-soft);
    font-size: var(--font-sm);
    color: var(--ink-muted);
}
.addr-card__line--delivery strong {
    color: var(--ink-900);
    font-weight: 600;
}

/* ── Return info · Crema ── */
.ri-detail-card {
    border: var(--border-width) var(--border-style) var(--border-color);
    border-radius: 8px;
    padding: 20px 24px;
    margin-bottom: 24px;
    background: var(--surface-base);
}
.ri-detail-row {
    display: flex;
    gap: 24px;
    margin-bottom: 8px;
}
.ri-detail-row:last-child {
    margin-bottom: 0;
}
.ri-detail-col {
    flex: 1;
}
.ri-label {
    font-size: var(--font-md);
    font-weight: 600;
    color: var(--ink-900);
}
.ri-value {
    font-size: var(--font-md);
    font-weight: 400;
    color: var(--ink-800);
}
.ri-section-title {
    font-size: var(--font-lg);
    font-weight: 600;
    color: var(--ink-900);
    margin: 24px 0 12px;
}
.ri-comment-card {
    border: var(--border-width) var(--border-style) var(--border-color);
    border-radius: 8px;
    padding: 16px 20px;
    font-size: var(--font-md);
    color: var(--ink-800);
    line-height: 1.5;
    background: var(--surface-base);
}

@media (max-width: 767px) {
    .ri-detail-row {
        flex-direction: column;
        gap: 8px;
    }
    .addr-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Empty state · Crema (reusable) ── */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 56px 24px 40px;
    gap: 16px;
    text-align: center;
}
.empty-state__icon {
    width: 56px;
    height: 56px;
    color: var(--ink-muted);
    opacity: 0.45;
    stroke-width: 1.2;
}
.empty-state__title {
    font-size: var(--font-lg);
    font-weight: 400;
    color: var(--ink-muted);
    margin: 0;
    line-height: 1.4;
}

/* =====================================================================
   COMPARE PAGE — Crema redesign 2026-02-17
   ===================================================================== */
.cmp-label-col {
    width: 140px;
    font-size: var(--font-md);
    font-weight: 600;
    color: var(--ink-muted);
    background: none;
    border: none;
}
.cmp__name {
    font-size: var(--font-lg);
    font-weight: 600;
    color: var(--ink-900);
    text-decoration: none;
}
.cmp__name:hover {
    color: var(--accent-color);
}
.cmp__rating {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
}
.rv__stars {
    display: flex;
    gap: 0;
    align-items: center;
    height: 20px;
}
.rv__star {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin: 1px;
    padding: 0;
    line-height: 1;
}
.cmp__reviews {
    font-size: var(--font-sm);
    color: var(--ink-muted);
    margin-left: 2px;
}
.cmp-action-btn {
    height: 44px;
    min-width: 44px;
    padding: 0 24px;
    font-size: var(--font-md);
    font-weight: 600;
    color: var(--text-inverse);
    background: var(--button-primary-bg);
    border: 1px solid var(--button-primary-border);
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 4px 4px 0 0;
    transition: background-size 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    background-image: linear-gradient(
        var(--button-primary-hover),
        var(--button-primary-hover)
    );
    background-size: 100% 0%;
    background-position: 0 100%;
    background-repeat: no-repeat;
    box-shadow: none;
}
.cmp-action-btn:hover {
    background-size: 100% 100%;
    color: var(--text-inverse);
}
.img-compare {
    max-width: 120px;
    height: auto;
    border-radius: 8px;
    background: var(--background-light);
    border: var(--border-width) var(--border-style) var(--border-color);
    box-shadow: none;
    margin: 0 auto;
    display: block;
}
.table-responsive {
    border-radius: 8px;
    overflow: hidden;
    background: var(--surface-base);
    border: var(--border-width) var(--border-style) var(--border-color);
    margin-bottom: 32px;
}
.table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: var(--font-md);
    color: var(--ink-900);
}
.table td,
.table th {
    padding: 16px 12px;
    border-bottom: var(--border-width) var(--border-style) var(--border-soft);
    vertical-align: middle;
}
.table tr:last-child td {
    border-bottom: none;
}
.table th {
    background: var(--background-light);
    font-weight: 600;
    color: var(--ink-900);
}
@media (max-width: 767px) {
    .img-compare {
        max-width: 80px;
    }
    .table-responsive {
        border-radius: 0;
    }
    .table td,
    .table th {
        padding: 10px 6px;
    }
    .cmp__rating {
        min-height: 36px;
    }
    .cmp-action-btn {
        min-width: 36px;
        height: 36px;
        font-size: var(--font-sm);
        padding: 0 12px;
    }
}

/* ── Single-column premium ComparePrices form (Crema 2026-02-17) ── */
.cp-wrapper--singlecol {
    max-width: 560px;
    margin: 0 auto;
    padding: 32px 28px;
    background: var(--surface-base);
    border: var(--border-width) var(--border-style) var(--border-color);
    border-radius: 8px;
    box-shadow: none;
    display: block;
}
.cp-info-top {
    text-align: center;
    margin-bottom: 32px;
}
.cp-info-top .cp-section-title {
    font-size: var(--font-xl);
    font-weight: 600;
    color: var(--ink-900);
    margin-bottom: 12px;
    border: none;
    padding-bottom: 0;
}
.cp-info-desc {
    font-size: var(--font-md);
    color: var(--ink-muted);
    margin-bottom: 24px;
    line-height: 1.6;
}
.cp-info-desc h4,
.cp-info-desc h5 {
    text-align: center;
}
.cp-btn-submit--full {
    width: 100%;
    margin-top: 24px;
    margin-bottom: 0;
}
/* ── Centered compare table (560px) ── */
.cmp__wrap--center {
    max-width: 560px;
    margin: 0 auto;
    padding: 0 12px;
    display: block;
}
@media (max-width: 600px) {
    .cp-wrapper--singlecol {
        max-width: 100%;
        padding: 24px 16px;
    }
    .cmp__wrap--center {
        max-width: 100%;
        padding: 0 4px;
    }
}

/* =====================================================================
   MANUFACTURER LIST
   ===================================================================== */
.mfr-row {
    margin-bottom: 30px;
}

/* =====================================================================
   PRODUCT RETURN PAGE
   ===================================================================== */
#account-return legend {
    display: none;
}
#account-return fieldset {
    background: transparent;
    padding: 0;
    border: none;
    border-radius: 0;
    margin: 0;
}
#account-return h1 {
    text-align: center;
    font-size: 28px;
    font-weight: 600;
    color: var(--ink-900);
    letter-spacing: -0.3px;
    margin: 0 0 24px;
}
.return-wrap {
    margin: 0 auto;
}
.return-alert {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(220, 38, 38, 0.06);
    color: var(--error-red);
    border: 1px solid rgba(220, 38, 38, 0.15);
}
.return-alert svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}
.return-panel {
    background: var(--surface-base);
    border: var(--border-width) var(--border-style) var(--border-color);
    border-radius: 8px;
    padding: 30px 28px;
}
.return-description {
    font-size: 15px;
    color: var(--ink-900);
    line-height: 1.6;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: var(--border-width) var(--border-style) var(--border-soft);
}
.return-description a {
    color: var(--ink-900);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-thickness: 1.5px;
}
.return-description a:hover {
    color: var(--ink-800);
}
.payment-history-panel {
    background: var(--surface-base);
    border: var(--border-width) var(--border-style) var(--border-color);
    border-radius: 8px;
    padding: 28px;
}
.payment-history-desc {
    font-size: var(--font-lg);
    color: var(--ink-900);
    line-height: 1.6;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: var(--border-width) var(--border-style) var(--border-color);
}

/* ── Payment History (Crema redesign) ── */
.ph-wrap {
    margin: 0 auto;
}
.ph-summary {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: var(--font-lg);
    color: var(--ink-900);
    line-height: 1.5;
    background: var(--surface-base);
    border: var(--border-width) var(--border-style) var(--border-color);
    border-radius: 8px;
    padding: 20px 24px;
    margin-bottom: 24px;
}
.ph-summary > svg {
    flex-shrink: 0;
    display: block;
}
.ph-summary strong {
    font-weight: 600;
}
.ph-table-wrap {
    border: var(--border-width) var(--border-style) var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 16px;
}
.ph-table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--font-md);
    line-height: 1.5;
    color: var(--ink-900);
}
.ph-col-date {
    width: 16%;
}
.ph-col-desc {
    width: 59%;
}
.ph-col-amount {
    width: 25%;
}
.ph-table thead th {
    padding: 12px 16px;
    font-size: var(--font-md);
    font-weight: 600;
    color: var(--ink-900);
    text-align: left;
    border-bottom: var(--border-width) var(--border-style) var(--border-color);
    background: none;
    white-space: nowrap;
}
.ph-table tbody tr {
    transition: background-color 0.15s ease;
}
.ph-table tbody tr:hover {
    background-color: var(--background-light);
}
.ph-table tbody td {
    padding: 14px 16px;
    border-bottom: var(--border-width) var(--border-style) var(--border-soft);
    vertical-align: middle;
    font-weight: 400;
}
.ph-table tbody tr:last-child td {
    border-bottom: none;
}
.ph-date {
    white-space: nowrap;
    color: var(--ink-muted);
    font-size: var(--font-sm);
}
.ph-desc {
    color: var(--ink-900);
    line-height: 1.5;
}
.ph-amount {
    font-weight: 600;
    white-space: nowrap;
    font-size: var(--font-md);
}
.ph-table tbody td.ph-amount {
    font-weight: 600;
}
.ph-amount--negative {
    color: #8b6060;
}
.ph-pagination {
    text-align: right;
    margin-bottom: 16px;
}
.ph-actions {
    text-align: center;
    padding-top: 8px;
}

/* ── Payment History · mobile ── */
@media (max-width: 767px) {
    .ph-summary {
        padding: 16px 20px;
        gap: 12px;
    }
    .ph-table-wrap {
        border: none;
        border-radius: 0;
        overflow: visible;
    }
    .ph-table,
    .ph-table tbody {
        display: block;
    }
    .ph-table colgroup {
        display: none;
    }
    .ph-table thead {
        display: none;
    }
    .ph-table tbody tr {
        display: block;
        padding: 20px;
        margin-bottom: 16px;
        border: var(--border-width) var(--border-style) var(--border-color);
        border-radius: 8px;
        background: var(--surface-base);
        transition: background-color 0.15s ease;
    }
    .ph-table tbody tr:last-child {
        margin-bottom: 0;
    }
    .ph-table tbody td {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        padding: 4px 0;
        border-bottom: none;
        font-size: var(--font-md);
        width: 100%;
    }
    .ph-table tbody td::before {
        content: attr(data-label);
        font-size: var(--font-xs);
        font-weight: 600;
        color: var(--ink-muted);
        text-transform: uppercase;
        letter-spacing: 0.5px;
        flex-shrink: 0;
        margin-right: 16px;
    }
    .ph-table tbody td.ph-desc {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
        padding-top: 8px;
        padding-bottom: 8px;
        border-top: var(--border-width) var(--border-style) var(--border-soft);
        border-bottom: var(--border-width) var(--border-style)
            var(--border-soft);
        margin-top: 6px;
        margin-bottom: 4px;
    }
    .ph-table tbody td.ph-desc::before {
        margin-right: 0;
    }
    .ph-table tbody td.ph-amount {
        padding-top: 8px;
    }
    .ph-amount {
        text-align: right;
    }
}

/* Account page panel (copy of return-panel styles to avoid conflicts) */
.account-panel {
    background: var(--surface-base);
    border: var(--border-width) var(--border-style) var(--border-color);
    border-radius: 8px;
    padding: 30px 28px;
}
.account-desc {
    font-size: 14px;
    color: var(--ink-900);
    line-height: 1.6;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: var(--border-width) var(--border-style) var(--border-color);
}
.return-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 32px;
}
.return-col {
    padding: 0;
    border: none;
    margin: 0;
}
.return-col:nth-child(2) {
    border-left: var(--border-width) var(--border-style) var(--border-color);
    padding-left: 32px;
}
.return-bottom-section {
    border-top: var(--border-width) var(--border-style) var(--border-soft);
    padding-top: 24px;
    margin-top: 8px;
}
.return-panel form > .return-agree,
.return-panel form > .return-buttons {
    /* keep for compat */
}
.return-section {
    font-size: var(--font-2xl);
    font-weight: 600;
    color: var(--ink-900);
    margin: 0 0 20px 0;
    letter-spacing: -0.1px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.return-section svg {
    flex-shrink: 0;
    display: block;
}

/* Ensure H1 with class return-section behaves like other H1 headers
     (useful when templates use h1.return-section) */
h1.return-section {
    display: block;
    font-size: 28px;
    font-weight: 600;
    color: var(--ink-900);
    letter-spacing: -0.3px;
    margin: 0 0 24px;
}
.return-row-half {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.ret-floating {
    position: relative;
    margin-bottom: 16px;
}
.ret-floating input,
.ret-floating textarea {
    width: 100%;
    max-width: 100%;
    padding: 18px 16px 6px;
    font-size: var(--font-lg);
    border: var(--border-width) var(--border-style) var(--border-color);
    border-radius: 6px;
    background: var(--surface-base);
    color: var(--ink-900);
    outline: none;
    transition:
        border-color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    -webkit-appearance: none;
    box-sizing: border-box;
    height: 44px;
}
.ret-floating textarea {
    min-height: 100px;
    max-height: 300px;
    resize: vertical;
}
.ret-floating input:focus,
.ret-floating textarea:focus {
    border-color: var(--ink-900);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}
.ret-floating label {
    position: absolute;
    top: 22px;
    left: 16px;
    transform: translateY(-50%);
    font-size: var(--font-md);
    font-weight: 400;
    color: var(--ink-muted);
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: transparent;
    padding: 0;
    margin: 0;
    letter-spacing: 0.15px;
}
.ret-floating textarea ~ label {
    top: 20px;
}
.ret-floating input:focus ~ label,
.ret-floating input:not(:placeholder-shown) ~ label {
    top: 6px;
    transform: translateY(0);
    font-size: 11px;
    font-weight: 600;
    color: var(--ink-900);
    letter-spacing: 0.3px;
}
.ret-floating textarea:focus ~ label,
.ret-floating textarea:not(:placeholder-shown) ~ label {
    top: 6px;
    transform: translateY(0);
    font-size: 11px;
    font-weight: 600;
    color: var(--ink-900);
    letter-spacing: 0.3px;
}
.ret-floating .text-danger {
    font-size: 12px;
    margin-top: 5px;
    color: var(--error-red);
}
.ret-floating.required > label::after {
    content: " *";
    color: var(--ink-muted);
}
.ret-floating.has-error input,
.ret-floating.has-error textarea {
    border-color: var(--status-danger);
}
.ret-floating.has-success input,
.ret-floating.has-success textarea {
    border-color: var(--status-success);
}
.ret-floating .field-check {
    position: absolute;
    right: 14px;
    top: 22px;
    transform: translateY(-50%);
    font-size: 13px;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    pointer-events: none;
}
.ret-floating textarea ~ .field-check {
    top: 18px;
    transform: none;
}
.ret-floating.has-success .field-check {
    opacity: 1;
    color: var(--status-success);
}
.ret-floating .field-error {
    font-size: 13px;
    color: var(--status-danger);
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
    opacity: 0;
    transform: translateY(-4px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.ret-floating.has-error .field-error {
    opacity: 1;
    transform: translateY(0);
}
.return-field-group {
    margin-bottom: 16px;
}
.return-field-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-900);
    margin-bottom: 10px;
    letter-spacing: 0.15px;
}
.return-field-group.required .return-field-label::after {
    content: " *";
    color: rgba(0, 0, 0, 0.3);
    font-weight: 400;
}
.return-radios {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.return-radio {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 400;
    color: var(--ink-900);
    cursor: pointer;
    margin: 0;
    padding: 0;
}
.return-radio input[type="radio"] {
    accent-color: var(--ink-900);
    margin: 0;
    width: 14px;
    height: 14px;
}
.return-inline-radios {
    display: flex;
    gap: 24px;
}
.return-field-group .text-danger {
    font-size: 12px;
    margin-top: 5px;
    color: var(--error-red);
}
.return-agree {
    font-size: 13px;
    color: var(--ink-muted);
    margin: 20px 0 16px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.5;
}
.return-agree input[type="checkbox"] {
    margin-top: 3px;
    accent-color: var(--ink-900);
    flex-shrink: 0;
}
.return-agree a {
    color: var(--ink-900);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.return-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
    gap: 16px;
}
.return-bottom-section .edit-actions {
    border-top: none;
    padding-top: 0;
}
.return-btn-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    min-width: 10rem;
    padding: 0 24px;
    font-size: var(--font-md);
    font-weight: 600;
    color: var(--text-inverse);
    background-color: var(--button-primary-bg);
    border: 1px solid var(--button-primary-border);
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    line-height: 1;
    white-space: nowrap;
    box-sizing: border-box;
    background-image: linear-gradient(
        var(--button-primary-hover),
        var(--button-primary-hover)
    );
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 100% 0%;
    transition:
        background-size 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        border-color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.return-btn-back:hover {
    background-color: var(--button-primary-bg);
    background-size: 100% 100%;
    color: var(--text-inverse);
    border-color: var(--button-primary-hover);
    text-decoration: none;
    box-shadow: none;
}
.return-btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    min-width: 10rem;
    padding: 0 24px;
    font-size: var(--font-md);
    font-weight: 600;
    color: var(--text-inverse);
    background-color: var(--button-primary-bg);
    border: 1px solid var(--button-primary-border);
    border-radius: 8px;
    cursor: pointer;
    line-height: 1;
    white-space: nowrap;
    box-sizing: border-box;
    background-image: linear-gradient(
        var(--button-primary-hover),
        var(--button-primary-hover)
    );
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 100% 0%;
    transition:
        background-size 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        border-color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.return-btn-submit:hover {
    background-color: var(--button-primary-bg);
    background-size: 100% 100%;
    border-color: var(--button-primary-hover);
    color: var(--text-inverse);
    box-shadow: none;
}
@media (max-width: 767px) {
    .return-wrap {
        max-width: 100%;
    }
    .return-panel {
        padding: 24px 18px;
    }
    .return-grid {
        grid-template-columns: 1fr;
    }
    .return-col:nth-child(2) {
        border-left: none;
        padding-left: 0;
        border-top: var(--border-width) var(--border-style) var(--border-color);
        padding-top: 8px;
        margin-top: 8px;
    }
    .return-row-half {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .return-heading h2 {
        font-size: 24px;
    }
    .return-buttons {
        flex-direction: column-reverse;
        gap: 12px;
    }
    .return-btn-back,
    .return-btn-submit {
        width: 100%;
        justify-content: center;
    }
    .return-bottom-section .edit-actions {
        flex-wrap: wrap;
        gap: 12px;
    }
    .return-bottom-section .edit-actions .btn-primary {
        order: -1;
        width: 100%;
        justify-content: center;
    }
}

/* Return form – jQuery UI Autocomplete dropdown */
.ui-autocomplete {
    background: var(--surface-base);
    border: var(--border-width) var(--border-style) var(--border-color);
    border-radius: 6px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    padding: 4px 0;
    max-height: 220px;
    overflow-y: auto;
    z-index: 1050;
    list-style: none;
    margin: 0;
}
.ui-autocomplete .ui-menu-item {
    padding: 0;
}
.ui-autocomplete .ui-menu-item a,
.ui-autocomplete .ui-menu-item .ui-menu-item-wrapper {
    display: block;
    padding: 10px 16px;
    font-size: 14px;
    color: var(--ink-900);
    cursor: pointer;
    transition: background-color 0.15s ease;
    text-decoration: none;
}
.ui-autocomplete .ui-menu-item a:hover,
.ui-autocomplete .ui-menu-item a.ui-state-focus,
.ui-autocomplete .ui-menu-item .ui-menu-item-wrapper.ui-state-active {
    background: var(--background-light);
    color: var(--ink-900);
}

/* =====================================================================
   CONTACT PAGE
   ===================================================================== */
#information-contact {
    padding-bottom: 40px;
    border: none !important;
}
#information-contact .panel,
#information-contact .well,
#information-contact fieldset {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
#information-contact .panel-body {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}
.contact-page-header {
    padding: 0;
    margin: 0;
    border: none;
}
.contact-page-header h1 {
    text-align: center;
    font-size: var(--font-4xl);
    font-weight: 600;
    color: var(--ink-900);
    letter-spacing: -0.3px;
    margin: 0 0 24px;
}
.contact-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 0;
    margin-bottom: 32px;
    padding-bottom: 0;
}
.contact-card-new {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 24px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.contact-card-new:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 24px;
    bottom: 24px;
    width: 1px;
    background: var(--border-soft);
}
.contact-card-icon {
    width: 28px;
    height: 28px;
    margin-bottom: 14px;
    color: var(--ink-900);
}
.contact-card-icon svg {
    display: block;
}
.contact-card-label {
    font-size: var(--font-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ink-800);
    margin-bottom: 6px;
}
.contact-card-value {
    font-size: var(--font-md);
    font-weight: 400;
    color: var(--ink-900);
    line-height: 1.5;
}
.contact-card-value a {
    color: var(--ink-900);
    text-decoration: none;
}
.contact-card-value-with-status {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: var(--font-xs);
    font-weight: 600;
    white-space: nowrap;
    color: var(--ink-800);
    letter-spacing: 0.01em;
}
.status-badge.open {
    color: var(--success-green);
}
.status-badge.closed {
    color: var(--error-red);
}
.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
    animation: pulse-dot 2s infinite;
}
.status-badge.open .status-dot {
    background: var(--success-green);
}
.status-badge.closed .status-dot {
    background: var(--status-danger);
}
@keyframes pulse-dot {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.4;
    }
}
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
}
@media (max-width: 991px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}
.company-panel {
    background: var(--surface-base);
    border-radius: 8px;
    padding: 32px 24px;
    border: var(--border-width) var(--border-style) var(--border-color);
}
.company-panel-title {
    font-size: var(--font-2xl);
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--ink-900);
    display: flex;
    align-items: center;
    gap: 10px;
}
.company-panel-title svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--ink-900);
    opacity: 0.6;
}
.company-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 8px 0;
    font-size: var(--font-lg);
}
.company-detail-row:last-child {
    border-bottom: none;
}
.company-detail-label {
    color: var(--ink-800);
    font-weight: 400;
    font-size: var(--font-md);
}
.company-detail-value {
    font-weight: 400;
    color: var(--ink-900);
    text-align: right;
}
.company-note {
    font-size: var(--font-base);
    color: var(--ink-800);
    margin-top: 16px;
    padding-top: 16px;
    border-top: var(--border-width) var(--border-style) var(--border-soft);
    display: flex;
    align-items: flex-start;
    gap: 6px;
    line-height: 1.5;
    opacity: 0.8;
}
.bank-section-title {
    font-size: var(--font-2xl);
    font-weight: 600;
    color: var(--ink-900);
    margin-top: 24px;
    padding-top: 20px;
    border-top: var(--border-width) var(--border-style) var(--border-soft);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}
.bank-section-title svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--ink-900);
    opacity: 0.6;
}
.bank-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}
@media (max-width: 575px) {
    .bank-cards {
        grid-template-columns: 1fr;
    }
}
.bank-card {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 20px 24px;
    position: relative;
}
.bank-card:first-child {
    padding-left: 0;
}
.bank-card:last-child {
    padding-right: 0;
}
.bank-card:nth-child(odd):not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 20px;
    bottom: 20px;
    width: 1px;
    background: var(--border-soft);
}
@media (max-width: 575px) {
    .bank-card {
        padding: 16px 0;
    }
    .bank-card:nth-child(odd):not(:last-child)::after {
        display: none;
    }
    .bank-card:not(:last-child) {
        border-bottom: var(--border-width) var(--border-style)
            var(--border-soft);
    }
}
.bank-card-name {
    font-size: var(--font-lg);
    font-weight: 600;
    color: var(--ink-900);
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: var(--border-width) var(--border-style) var(--border-soft);
    display: flex;
    align-items: center;
    gap: 8px;
}
.bank-card-name svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    color: var(--ink-900);
    opacity: 0.5;
}
.bank-card-row {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 6px 0;
}
.bank-card-row:not(:last-child) {
    border-bottom: none;
}
.bank-card-label {
    font-size: var(--font-2xs);
    font-weight: 600;
    color: var(--ink-800);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.55;
}
.bank-card-value {
    font-size: var(--font-md);
    font-weight: 400;
    color: var(--ink-900);
    font-family: "SF Mono", "Fira Code", "Consolas", monospace;
    letter-spacing: 0.03em;
    word-break: break-all;
}
.form-panel {
    background: var(--surface-base);
    border-radius: 8px;
    padding: 32px 24px;
    border: var(--border-width) var(--border-style) var(--border-color);
}
.form-panel-title {
    font-size: var(--font-2xl);
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--ink-900);
}
.form-panel-subtitle {
    font-size: var(--font-base);
    color: var(--ink-800);
    margin-bottom: 24px;
    opacity: 0.75;
}
.floating-group {
    position: relative;
    margin-bottom: 16px;
}
.floating-group input,
.floating-group textarea,
.floating-group select {
    width: 100%;
    padding: 18px 16px 6px;
    font-size: var(--font-lg);
    border: var(--border-width) var(--border-style) var(--border-color);
    border-radius: 6px;
    background: var(--surface-base);
    color: var(--ink-900);
    outline: none;
    transition:
        border-color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    -webkit-appearance: none;
    box-sizing: border-box;
    height: 44px;
    max-width: 100%;
}
.floating-group textarea {
    height: auto;
    min-height: 140px;
    max-height: 300px;
    resize: vertical;
    padding-top: 28px;
}
.floating-group select {
    cursor: pointer;
    padding-right: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='%23a58e80'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}
.floating-group > label {
    position: absolute;
    top: 22px;
    left: 16px;
    transform: translateY(-50%);
    font-size: var(--font-md);
    font-weight: 400;
    color: var(--ink-muted);
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: transparent;
    padding: 0;
    margin: 0;
    letter-spacing: 0.15px;
}
.floating-group textarea ~ label {
    top: 18px;
    transform: translateY(0);
}
.floating-group select ~ label {
    top: 3px;
    transform: translateY(0);
    font-size: var(--font-xs);
    font-weight: 600;
    color: var(--ink-900);
    letter-spacing: 0.3px;
}
.floating-group input:focus,
.floating-group textarea:focus,
.floating-group select:focus {
    border-color: var(--ink-900);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}
.floating-group input:focus ~ label,
.floating-group input:not(:placeholder-shown) ~ label,
.floating-group textarea:focus ~ label,
.floating-group textarea:not(:placeholder-shown) ~ label {
    top: 6px;
    transform: translateY(0);
    font-size: var(--font-xs);
    font-weight: 600;
    color: var(--ink-900);
    letter-spacing: 0.3px;
}
.floating-group.required > label::before {
    content: "* ";
    color: var(--ink-muted);
}
.floating-group.has-error input,
.floating-group.has-error textarea {
    border-color: var(--status-danger);
}
.floating-group.has-success input,
.floating-group.has-success textarea {
    border-color: var(--status-success);
}
.floating-group .field-error {
    font-size: var(--font-base);
    color: var(--status-danger);
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
    opacity: 0;
    transform: translateY(-4px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.floating-group.has-error .field-error {
    opacity: 1;
    transform: translateY(0);
}
.floating-group .field-check {
    position: absolute;
    right: 14px;
    top: 22px;
    transform: translateY(-50%);
    font-size: var(--font-base);
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    pointer-events: none;
}
.floating-group.has-success .field-check {
    opacity: 1;
    color: var(--status-success);
}
#contact-form > fieldset {
    border: none;
    padding: 0;
    margin: 0;
    min-width: 0;
}
#contact-form > fieldset .form-group {
    margin: 8px 0;
}
#contact-form > fieldset .control-label {
    display: none;
}
#contact-form > fieldset .col-sm-10 {
    width: 100%;
    padding: 0;
    float: none;
}
#contact-form > fieldset .form-control {
    width: 100%;
    max-width: 100%;
    border: var(--border-width) var(--border-style) var(--border-color);
    border-radius: 6px;
    background: var(--surface-base);
    padding: 0 16px;
    font-size: var(--font-lg);
    color: var(--ink-900);
    height: 44px;
    box-sizing: border-box;
    box-shadow: none;
}
#contact-form > fieldset textarea.form-control {
    height: auto;
    min-height: 100px;
    padding: 12px 16px;
}
#contact-form .g-recaptcha,
#contact-form [class*="captcha"] {
    margin-bottom: 8px;
}
#gdpr-optin-wrapper {
    margin: 16px 0;
    padding: 0;
}
#gdpr-optin-wrapper > label,
#group-enquiry > label:not([for]) {
    position: static;
    transform: none;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: var(--font-base);
    font-weight: 400;
    color: var(--ink-muted);
    cursor: pointer;
    padding: 0;
    margin: 0;
    pointer-events: auto;
    letter-spacing: normal;
    text-transform: none;
    width: 100%;
    line-height: 1.5;
    background: transparent;
}
#gdpr-optin-wrapper input[type="checkbox"],
#group-enquiry > label:not([for]) input[type="checkbox"] {
    margin: 4px 2px 0 0;
    transform: scale(1.3);
    accent-color: var(--ink-900);
    flex-shrink: 0;
    cursor: pointer;
    position: static;
    opacity: 1;
    width: auto;
    height: auto;
}
#gdpr-optin-wrapper a,
#group-enquiry > label:not([for]) a {
    color: var(--ink-900);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.btn-contact-submit {
    width: 100%;
    height: 44px;
    padding: 0 24px;
    font-size: var(--font-md);
    font-weight: 600;
    color: var(--text-inverse);
    background-color: var(--button-primary-bg);
    border: 1px solid var(--button-primary-border);
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    line-height: 1;
    background-image: linear-gradient(
        var(--button-primary-hover),
        var(--button-primary-hover)
    );
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 100% 0%;
    transition:
        background-size 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        border-color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.btn-contact-submit:hover {
    background-color: var(--button-primary-bg);
    background-size: 100% 100%;
    border-color: var(--button-primary-hover);
    color: var(--text-inverse);
}
.btn-contact-submit:active {
    background-size: 100% 100%;
}
.btn-contact-submit:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}
.btn-contact-submit:disabled:hover {
    background-size: 100% 0%;
    border-color: var(--button-primary-border);
}
.btn-contact-submit .btn-spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--text-inverse);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}
.btn-contact-submit.loading .btn-text {
    display: none;
}
.btn-contact-submit.loading .btn-spinner {
    display: block;
}
.btn-contact-submit.loading .btn-icon {
    display: none;
}
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
.form-success {
    display: none;
    text-align: center;
    padding: 56px 20px;
}
.form-success.active {
    display: block;
    animation: fadeIn 0.4s ease;
}
.success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--background-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: var(--font-3xl);
    color: var(--ink-900);
}
.success-title {
    font-size: var(--font-3xl);
    font-weight: 600;
    color: var(--ink-900);
    margin-bottom: 8px;
}
.success-text {
    color: var(--ink-800);
    font-size: var(--font-lg);
    margin-bottom: 24px;
}
.btn-success-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 24px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: transparent;
    font-size: var(--font-md);
    font-weight: 600;
    color: var(--ink-900);
    cursor: pointer;
    background-image: linear-gradient(
        var(--background-light),
        var(--background-light)
    );
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 100% 0%;
    transition:
        background-size 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        border-color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.btn-success-back:hover {
    border-color: var(--ink-900);
    background-size: 100% 100%;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.floating-group .char-counter {
    position: absolute;
    top: 8px;
    right: 12px;
    font-size: var(--font-xs);
    color: var(--ink-800);
    opacity: 0.5;
    pointer-events: none;
    transition:
        color 0.2s,
        opacity 0.2s;
    margin: 0;
}
.floating-group:focus-within .char-counter {
    opacity: 0.8;
}
.char-counter.warn {
    color: var(--status-warning);
    opacity: 0.9;
}
.char-counter.danger {
    color: var(--status-danger);
    opacity: 1;
}
@media (max-width: 991px) {
    .contact-cards {
        grid-template-columns: 1fr 1fr;
    }
    .contact-card-new:nth-child(2n)::after {
        display: none;
    }
    .contact-card-new:nth-child(-n + 2) {
        border-bottom: var(--border-width) var(--border-style)
            var(--border-soft);
        padding-bottom: 20px;
    }
    .contact-card-new:nth-child(n + 3) {
        padding-top: 20px;
    }
}
@media (max-width: 767px) {
    .contact-page-header h1 {
        font-size: var(--font-3xl);
        margin: 0 0 20px;
    }
    .contact-cards {
        grid-template-columns: 1fr 1fr;
        gap: 0;
    }
    .company-panel,
    .form-panel {
        padding: 20px 16px;
    }
    .bank-cards {
        grid-template-columns: 1fr;
    }
    .contact-card-new {
        padding: 16px;
    }
    .contact-card-icon {
        width: 30px;
        height: 30px;
        margin-bottom: 12px;
    }
}
@media (max-width: 480px) {
    .contact-cards {
        grid-template-columns: 1fr;
    }
    .contact-card-new {
        padding: 16px 0;
    }
    .contact-card-new:not(:last-child)::after {
        display: none;
    }
    .contact-card-new:not(:last-child) {
        border-bottom: var(--border-width) var(--border-style)
            var(--border-soft);
    }
    .contact-card-new:last-child {
        border-bottom: none;
    }
}
#information-contact .breadcrumb {
    background: transparent;
    padding: 0;
}
#information-contact .breadcrumb li a {
    font-size: var(--font-xs);
}
#WidgetFloater,
#WidgetFloaterPanels,
#MicrosoftTranslatorWidget,
div[id*="Translator"],
div[id*="Widget"] {
    display: none;
}

/* ═══════════════════════════════════════════════════════
   MINI CART DROPDOWN (common/cart.twig)
   ═══════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════
   MINI CART POPUP (.cart-mini)
   Layout: image | info (name + code + options) | qty | price | remove
   ═══════════════════════════════════════════════════════ */
.cart-mini {
    padding: 0;
    border: var(--border-width) var(--border-style) var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}
.cart-mini > li {
    list-style: none;
}

/* ── Mini cart header ── */
.cart-mini__header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    border-bottom: var(--border-width) var(--border-style) var(--border-color);
}
.cart-mini__header-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-900);
}
.cart-mini__header-count {
    font-size: 12px;
    font-weight: 400;
    color: var(--ink-muted);
    margin-right: auto;
}
#cart .cart-mini__close {
    width: 32px;
    height: 32px;
    border: none;
    background: none;
    color: var(--ink-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition:
        background-color 0.15s ease,
        color 0.15s ease;
    padding: 0;
    flex-shrink: 0;
    z-index: auto;
}
#cart .cart-mini__close:hover {
    color: var(--ink-900);
    background-color: var(--background-light);
}

/* ── Product items scroll area ── */
.cart-mini__items-wrap {
    position: relative;
}
.cart-mini__items-wrap::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 6px;
    height: 40px;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.95) 100%
    );
    pointer-events: none;
    z-index: 1;
    transition: opacity 0.3s ease;
}
.cart-mini__items-wrap.is-scrolled-bottom::after {
    opacity: 0;
}
.cart-mini__items {
    padding: 4px 0;
    max-height: 490px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: var(--border-color) var(--background-light);
}
.cart-mini__items::-webkit-scrollbar {
    width: 6px;
}
.cart-mini__items::-webkit-scrollbar-track {
    background: var(--background-light);
    border-radius: 4px;
    margin: 4px 0;
}
.cart-mini__items::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
    min-height: 40px;
}
.cart-mini__items::-webkit-scrollbar-thumb:hover {
    background: var(--ink-muted);
}

/* ── Single product row ── */
.cart-mini__item {
    display: grid;
    grid-template-columns: 68px 1fr auto auto 32px;
    align-items: center;
    gap: 0 14px;
    padding: 14px 20px;
    border-bottom: var(--border-width) var(--border-style) var(--border-soft);
    transition: background-color 0.15s ease;
}
.cart-mini__item:last-child {
    border-bottom: none;
}
.cart-mini__item:hover {
    background-color: var(--background-light);
}

/* ── Thumbnail ── */
.cart-mini__thumb {
    grid-row: 1;
    grid-column: 1;
    flex-shrink: 0;
    width: 68px;
    height: 68px;
    border-radius: 8px;
    overflow: hidden;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cart-mini__item:hover .cart-mini__thumb {
    background: var(--background-light);
}
.cart-mini__thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: normal;
    transition: mix-blend-mode 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.cart-mini__item:hover .cart-mini__thumb img {
    mix-blend-mode: multiply;
}
.cart-mini__thumb--voucher {
    color: var(--ink-muted);
}

/* ── Product info (name + code + options) ── */
.cart-mini__info {
    grid-row: 1;
    grid-column: 2;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.cart-mini__name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-900);
    line-height: 1.4;
    text-decoration: none;
}
.cart-mini__name:hover {
    color: var(--accent-color);
    text-decoration: none;
}
.cart-mini__model {
    font-size: 11px;
    color: var(--ink-muted);
    letter-spacing: normal;
}
.cart-mini__options {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 8px;
}
.cart-mini__options span {
    font-size: 11px;
    color: var(--ink-muted);
}

/* ── Quantity column ── */
.cart-mini__qty-col {
    grid-row: 1;
    grid-column: 3;
    text-align: center;
    white-space: nowrap;
}
.cart-mini__qty {
    font-size: 14px;
    font-weight: 400;
    color: var(--ink-800);
}
.cart-mini__qty small {
    font-size: 11px;
    opacity: 0.6;
    margin-left: 1px;
}

/* ── Price column ── */
.cart-mini__price-col {
    grid-row: 1;
    grid-column: 4;
    text-align: right;
    white-space: nowrap;
}
.cart-mini__price {
    font-size: var(--font-base);
    font-weight: 600;
    color: var(--ink-900);
}

/* ── Remove button — ghost icon btn §8.6b (danger, 32px compact) ── */
.cart-mini__remove {
    grid-row: 1;
    grid-column: 5;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border: var(--border-width) var(--border-style) var(--border-color);
    background: linear-gradient(var(--status-danger), var(--status-danger))
        no-repeat center / 0% 100%;
    color: var(--ink-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition:
        background-size 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        border-color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    padding: 0;
}
.cart-mini__remove:hover {
    background-size: 100% 100%;
    color: var(--text-inverse) !important;
    border-color: var(--status-danger);
}
.cart-mini__remove:hover svg {
    stroke: var(--text-inverse);
}

/* ── Footer (totals + actions) ── */
.cart-mini__footer {
    padding: 0 20px 16px;
    border-top: var(--border-width) var(--border-style) var(--border-color);
}
.cart-mini__totals {
    padding: 14px 0 16px;
}
.cart-mini__total-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 3px 0;
    font-size: 13px;
    color: var(--ink-muted);
}
.cart-mini__total-row--final {
    padding-top: 10px;
    margin-top: 6px;
    border-top: var(--border-width) var(--border-style) var(--border-color);
    font-size: var(--font-lg);
    font-weight: 600;
    color: var(--ink-900);
    opacity: 1;
}

/* ── Action buttons ── */
.cart-mini__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.cart-mini__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 44px;
    padding: 0 24px;
    border-radius: 8px;
    font-size: var(--font-md);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    line-height: 1;
    background-color: var(--button-primary-bg);
    border: 1px solid var(--button-primary-border);
    color: var(--text-inverse);
    background-image: linear-gradient(
        var(--button-primary-hover),
        var(--button-primary-hover)
    );
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 100% 0%;
    transition:
        background-size 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        border-color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.cart-mini__btn:hover {
    background-color: var(--button-primary-bg);
    background-size: 100% 100%;
    border-color: var(--button-primary-hover);
    color: var(--text-inverse);
    text-decoration: none;
    box-shadow: none;
}
.cart-mini__btn--secondary {
    /* same as primary — unified Ascaso style */
}
.cart-mini__btn--primary {
    /* base .cart-mini__btn handles it */
}

/* ── Empty state ── */
.cart-mini__empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 20px;
    gap: 10px;
    color: var(--ink-muted);
}
.cart-mini__empty p {
    font-size: 14px;
    margin: 0;
}

/* ── Mobile: stack into 2-row layout ── */
@media (max-width: 480px) {
    .cart-mini__item {
        grid-template-columns: 56px 1fr auto 28px;
        gap: 0 10px;
    }
    .cart-mini__thumb {
        width: 56px;
        height: 56px;
        border-radius: 6px;
    }
    .cart-mini__info {
        grid-column: 2 / -1;
        margin-bottom: 6px;
    }
    .cart-mini__qty-col {
        grid-row: 2;
        grid-column: 2;
        text-align: left;
    }
    .cart-mini__price-col {
        grid-row: 2;
        grid-column: 3;
    }
    .cart-mini__remove {
        grid-row: 2;
        grid-column: 4;
    }
    .cart-mini__item {
        padding: 12px 14px;
    }
    .cart-mini__footer {
        padding: 0 14px 14px;
    }
    .cart-mini__actions {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════════════════════════
   SHOPPING CART PAGE (checkout/cart.twig)  —  v2 sidebar
   ═══════════════════════════════════════════════════════ */
#checkout-cart {
    padding-bottom: 48px;
}
#checkout-cart .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 15px 0 30px 0;
}
#checkout-cart .breadcrumb li a {
    font-size: 11px;
}
#checkout-cart h1 {
    text-align: center;
    font-size: 28px;
    font-weight: 600;
    color: var(--ink-900);
    letter-spacing: -0.3px;
    margin: 0 0 28px;
}

/* ── 2-column grid: items | sidebar ── */
.cart-page__grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 32px;
    align-items: start;
    margin-bottom: 40px;
}
.cart-page__main {
    min-width: 0;
}
.cart-page__sidebar {
    position: sticky;
    top: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ── Back-link (subtle, above items) ── */
.cart-page__back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 400;
    color: var(--ink-muted);
    text-decoration: none;
    margin-bottom: 16px;
    transition: color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.cart-page__back-link:hover {
    color: var(--ink-900);
    text-decoration: none;
}
.cart-page__back-link svg {
    flex-shrink: 0;
}

/* ── Items container ── */
.cart-page__items {
    background: var(--surface-base);
    border: var(--border-width) var(--border-style) var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

/* ── Header row (desktop) ── */
.cart-page__header {
    display: grid;
    grid-template-columns: 100px 1fr 110px 80px 80px 44px;
    gap: 12px;
    padding: 12px 24px;
    border-bottom: var(--border-width) var(--border-style) var(--border-color);
    height: 44px;
}
.cart-page__header > span {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-900);
}
.cart-page__hcol-product {
    grid-column: 1 / 3;
}
.cart-page__hcol-qty {
    text-align: center;
}
.cart-page__hcol-price {
    text-align: right;
}
.cart-page__hcol-total {
    text-align: right;
}

/* ── Product row ── */
.cart-page__item {
    display: grid;
    grid-template-columns: 100px 1fr 110px 80px 80px 44px;
    gap: 12px;
    align-items: center;
    padding: 24px;
    border-top: var(--border-width) var(--border-style) var(--border-soft);
    transition: background-color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.cart-page__item:first-of-type {
    border-top: none;
}
.cart-page__item:hover {
    background-color: var(--background-light);
}

/* ── Image column ── */
.cart-page__col-image {
    display: flex;
    justify-content: center;
}
.cart-page__thumb {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-base);
    transition: background-color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.cart-page__item:hover .cart-page__thumb {
    background: var(--background-light);
}
.cart-page__thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: normal;
    transition: mix-blend-mode 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.cart-page__item:hover .cart-page__thumb img {
    mix-blend-mode: multiply;
}
.cart-page__thumb--voucher {
    color: var(--ink-900);
    background: var(--background-light);
}

/* ── Info column ── */
.cart-page__col-info {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.cart-page__product-name {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-900);
    text-decoration: none;
    line-height: 1.4;
}
.cart-page__product-name:hover {
    color: var(--accent-color);
    text-decoration: none;
}
.cart-page__product-sku {
    font-size: 12px;
    color: rgba(0, 0, 0, 0.58);
    font-weight: 400;
    letter-spacing: normal;
}
.cart-page__options {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 10px;
    margin-top: 2px;
}
.cart-page__options span {
    font-size: 12px;
    color: rgba(0, 0, 0, 0.6);
}
.cart-page__out-of-stock {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--status-danger);
}
.cart-page__reward {
    display: block;
    font-size: 12px;
    color: var(--ink-muted);
}
.cart-page__recurring {
    display: block;
    font-size: 12px;
    margin-top: 2px;
}

/* ── Quantity controls — pill ── */
.cart-page__col-qty {
    display: flex;
    justify-content: center;
    align-items: center;
}
.cart-page__qty-wrap {
    display: inline-flex;
    align-items: center;
    border: var(--border-width) var(--border-style) var(--border-color);
    border-radius: 100px;
    overflow: hidden;
    height: 36px;
    background: var(--surface-base);
}
.cart-page__qty-btn {
    width: 40px;
    height: 100%;
    border: none;
    background: transparent;
    color: var(--ink-900);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.15s ease;
    padding: 0;
}
.cart-page__qty-btn:hover {
    background-color: var(--background-light);
}
.cart-page__qty-input {
    width: 44px;
    height: 100%;
    text-align: center;
    border: none;
    border-left: var(--border-width) var(--border-style) var(--border-color);
    border-right: var(--border-width) var(--border-style) var(--border-color);
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-900);
    background: transparent;
    padding: 0;
    -moz-appearance: textfield;
}
.cart-page__qty-input::-webkit-outer-spin-button,
.cart-page__qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* ── Price & total columns ── */
.cart-page__item .cart-page__col-price,
.cart-page__item .cart-page__col-total {
    text-align: right;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-900);
}
.cart-page__item .cart-page__col-total {
    font-weight: 600;
}
.cart-page__label-mobile {
    display: none;
}

/* ── Remove button — ghost icon btn §8.6b ── */
.cart-page__col-action {
    display: flex;
    justify-content: center;
}
.cart-page__remove {
    width: 44px;
    height: 44px;
    border: var(--border-width) var(--border-style) var(--border-color);
    background: linear-gradient(var(--status-danger), var(--status-danger))
        no-repeat center / 0% 100%;
    color: var(--ink-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition:
        background-size 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        border-color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    padding: 0;
}
.cart-page__remove:hover {
    background-size: 100% 100%;
    color: var(--text-inverse);
    border-color: var(--status-danger);
}

/* ── Summary card ── */
.cart-page__summary-card {
    background: var(--surface-base);
    border: var(--border-width) var(--border-style) var(--border-color);
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}
.cart-page__summary-heading {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-900);
    padding-bottom: 16px;
    margin-bottom: 4px;
    border-bottom: var(--border-width) var(--border-style) var(--border-color);
}
.cart-page__totals {
    width: 100%;
    padding: 0;
}
.cart-page__total-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 24px;
    padding: 12px 0;
    font-size: var(--font-md);
    color: var(--ink-900);
    border-bottom: var(--border-width) var(--border-style) var(--border-soft);
}
.cart-page__total-row > span:first-child {
    color: var(--ink-muted);
    font-weight: 400;
    font-size: var(--font-md);
}
.cart-page__total-row > span:last-child {
    flex-shrink: 0;
    white-space: nowrap;
    text-align: right;
    font-weight: 600;
}
.cart-page__total-row--final {
    padding-top: 16px;
    margin-top: 4px;
    border-bottom: none;
    border-top: 2px solid var(--ink-900);
    font-size: var(--font-xl);
    font-weight: 600;
    color: var(--ink-900);
}
/* Remove bottom border from row just before final */
.cart-page__total-row:nth-last-child(2) {
    border-bottom: none;
}
.cart-page__total-row--final > span:first-child {
    color: var(--ink-900);
    font-weight: 600;
    font-size: var(--font-xl);
}
.cart-page__total-row--final > span:last-child {
    font-weight: 600;
    font-size: var(--font-xl);
}

/* ── Checkout hero button (full-width in sidebar) ── */
.cart-page__checkout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 52px;
    margin-top: 20px;
    border-radius: 8px;
    font-size: var(--font-lg);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    line-height: 1;
    border: 1px solid var(--button-primary-border);
    background-color: var(--button-primary-bg);
    color: var(--text-inverse);
    background-image: linear-gradient(
        var(--button-primary-hover),
        var(--button-primary-hover)
    );
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 100% 0%;
    transition:
        background-size 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        border-color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.cart-page__checkout-btn:hover {
    background-color: var(--button-primary-bg);
    background-size: 100% 100%;
    border-color: var(--button-primary-hover);
    color: var(--text-inverse);
    text-decoration: none;
}
.cart-page__checkout-btn:focus-visible {
    outline: 2px solid var(--ink-900);
    outline-offset: 3px;
}

/* ── Modules in sidebar ── */
.cart-page__modules {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ── Cart Module Component ── */
.cart-module {
    border: var(--border-width) var(--border-style) var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    background: var(--surface-base);
}
.cart-module__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.15s;
}
.cart-module__header:hover {
    background-color: var(--background-light);
}
.cart-module__header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}
.cart-module__icon {
    color: var(--ink-900);
    flex-shrink: 0;
}
.cart-module__title {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-900);
}
.cart-module__chevron {
    flex-shrink: 0;
    color: var(--ink-900);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.cart-module__header[aria-expanded="true"] .cart-module__chevron {
    transform: rotate(180deg);
}
.cart-module__body {
    border-top: var(--border-width) var(--border-style) var(--border-color);
}

/* ── Coupon form ── */
.cart-module__coupon-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    align-items: stretch;
}
.cart-module__coupon-form .cart-module__input {
    flex: 1 1 auto;
    min-width: 0;
}
.cart-module__coupon-form .cart-module__btn {
    flex: 1 0 auto;
    justify-content: center;
}
.cart-module__hint {
    display: none;
}
.cart-module__input {
    flex: 1;
    height: 44px;
    padding: 0 14px;
    font-size: 14px;
    border: var(--border-width) var(--border-style) var(--border-color);
    border-radius: 8px;
    background: var(--surface-base);
    color: var(--ink-900);
    outline: none;
    transition:
        border-color 0.2s,
        box-shadow 0.2s;
    -webkit-appearance: none;
    box-sizing: border-box;
}
.cart-module__input:focus {
    border-color: var(--ink-900);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.04);
}
.cart-module__input::placeholder {
    color: rgba(0, 0, 0, 0.42);
}
/* .cart-module__btn — layout overrides only; appearance via .btn.btn-primary */
.cart-module__btn {
    gap: 6px;
    flex-shrink: 0;
    min-width: 0;
}
.cart-module__btn--full {
    width: 100%;
    justify-content: center;
}

/* ── Shipping form ── */
.cart-module__shipping-form {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.cart-module__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.cart-module__field label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ink-900);
}
.cart-module__select {
    height: 44px;
    padding: 0 14px;
    font-size: 14px;
    border: var(--border-width) var(--border-style) var(--border-color);
    border-radius: 8px;
    background: var(--surface-base);
    color: var(--ink-900);
    outline: none;
    cursor: pointer;
    width: 100%;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='%23222'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    transition:
        border-color 0.2s,
        box-shadow 0.2s;
}
.cart-module__select:focus {
    border-color: var(--ink-900);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.04);
}
.cart-module__shipping-form .cart-module__input {
    width: 100%;
    height: 44px;
    flex: none;
}
.cart-module__shipping-form .cart-module__btn {
    margin-top: 4px;
}
.cart-module__shipping-form .text-danger {
    font-size: 12px;
    color: var(--status-danger);
    margin-top: 2px;
}

/* ── Legacy panel resets ── */
.cart-page__modules .panel-group {
    margin: 0;
}
.cart-page__modules .panel {
    border: none !important;
    box-shadow: none !important;
    margin: 0 !important;
    background: transparent !important;
}
.cart-page__modules .panel-heading,
.cart-page__modules .panel-body,
.cart-page__modules .panel-collapse {
    border: none !important;
    padding: 0 !important;
    background: transparent !important;
}

/* ── Focus-visible (keyboard accessibility) ── */
.cart-page__product-name:focus-visible {
    outline: 2px solid var(--ink-900);
    outline-offset: 2px;
    border-radius: 4px;
}
.cart-page__qty-btn:focus-visible {
    outline: 2px solid var(--ink-900);
    outline-offset: -2px;
}
.cart-page__qty-input:focus-visible {
    outline: 2px solid var(--ink-900);
    outline-offset: -2px;
}
.cart-page__remove:focus-visible {
    outline: 2px solid var(--ink-900);
    outline-offset: 2px;
}
.cart-page__back-link:focus-visible {
    outline: 2px solid var(--ink-900);
    outline-offset: 2px;
    border-radius: 4px;
}

/* ── Reset old OpenCart table styles inside cart ── */
#checkout-cart .table,
#checkout-cart .table-responsive,
#checkout-cart .table-bordered,
#checkout-cart .table-striped {
    border: none !important;
    margin: 0 !important;
}

/* ── Responsive ── */
@media (max-width: 991px) {
    .cart-page__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .cart-page__sidebar {
        position: static;
    }
}
@media (max-width: 767px) {
    #checkout-cart {
        padding-bottom: 40px;
    }
    #checkout-cart h1 {
        font-size: var(--font-3xl);
        margin-bottom: 20px;
    }
    .cart-page__back-link {
        margin-bottom: 12px;
    }
    .cart-page__header {
        display: none;
    }
    .cart-page__item {
        grid-template-columns: 72px 1fr auto;
        grid-template-rows: auto;
        gap: 0 14px;
        padding: 16px;
        position: relative;
    }
    .cart-page__col-image {
        grid-row: 1 / 3;
        grid-column: 1;
        justify-content: flex-start;
    }
    .cart-page__thumb {
        width: 72px;
        height: 72px;
        border-radius: 8px;
    }
    .cart-page__col-info {
        grid-column: 2 / 4;
        grid-row: 1;
        padding-right: 36px;
    }
    .cart-page__product-name {
        font-size: 13px;
    }
    .cart-page__col-qty {
        grid-column: 2;
        grid-row: 2;
        justify-content: flex-start;
        margin-top: 8px;
    }
    .cart-page__col-price {
        display: none;
    }
    .cart-page__col-total {
        grid-column: 3;
        grid-row: 2;
        text-align: right !important;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 0;
        margin-top: 8px;
        font-size: 15px !important;
        font-weight: 600 !important;
    }
    .cart-page__label-mobile {
        display: none;
    }
    .cart-page__col-action {
        position: absolute;
        top: 16px;
        right: 12px;
    }
    .cart-page__summary-card {
        padding: 20px 16px;
        border-radius: 8px;
    }
    .cart-page__checkout-btn {
        width: 100%;
        height: 52px;
        margin-top: 20px;
        border-radius: 8px;
        font-size: var(--font-lg);
    }
}

/* =====================================================================
   CHECKOUT PAGE
   ===================================================================== */
#checkout-checkout h1 {
    text-align: center;
    font-size: 28px;
    font-weight: 600;
    color: var(--ink-900);
    letter-spacing: -0.3px;
    margin: 0 0 28px;
}

/* ── Accordion / step cards ── */
#checkout-checkout .panel-group {
    margin-bottom: 24px;
}
#checkout-checkout .panel {
    border: var(--border-width) var(--border-style) var(--border-color);
    border-radius: 8px;
    box-shadow: none;
    margin-bottom: 12px;
    background: var(--surface-base);
    overflow: hidden;
}
#checkout-checkout .panel + .panel {
    margin-top: 0;
}
#checkout-checkout .panel-heading {
    background: var(--surface-base);
    border-bottom: none;
    padding: 18px 24px;
    border-radius: 8px;
}
#checkout-checkout .panel-heading .panel-title {
    font-size: var(--font-lg);
    font-weight: 600;
    color: var(--ink-900);
    margin: 0;
    letter-spacing: -0.1px;
}
#checkout-checkout .panel-heading .panel-title a {
    color: var(--ink-900);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
#checkout-checkout .panel-heading .panel-title a:hover {
    text-decoration: none;
    color: var(--ink-900);
}
#checkout-checkout .panel-heading .panel-title a .fa-caret-down {
    font-size: 14px;
    opacity: 0.45;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
#checkout-checkout .panel-heading + .panel-collapse.in,
#checkout-checkout .panel-heading + .panel-collapse.collapsing {
    border-top: 1px solid var(--border-color);
}
#checkout-checkout .panel-body {
    padding: 15px;
}

/* ── Form styling inside checkout ── */
#checkout-checkout .form-control {
    height: 44px;
    padding: 0 14px;
    font-size: var(--font-md);
    border: var(--border-width) var(--border-style) var(--border-soft);
    border-radius: 6px;
    background: var(--surface-base);
    color: var(--ink-900);
    box-shadow: none;
    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}
#checkout-checkout .form-control:focus {
    border-color: var(--ink-900);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.04);
}
#checkout-checkout textarea.form-control {
    height: auto;
    padding: 12px 14px;
    min-height: 100px;
}
#checkout-checkout select.form-control {
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='%23222'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}
#checkout-checkout .control-label {
    font-size: var(--font-sm);
    font-weight: 600;
    color: var(--ink-900);
}

/* ── Buttons inside checkout steps ── */
#checkout-checkout .btn-primary,
#checkout-checkout input.btn-primary {
    height: 44px;
    padding: 0 24px;
    font-size: var(--font-md);
    font-weight: 600;
    color: var(--text-inverse);
    background-color: var(--button-primary-bg);
    border: 1px solid var(--button-primary-border);
    border-radius: 8px;
    cursor: pointer;
    box-shadow: none;
    background-image: linear-gradient(
        var(--button-primary-hover),
        var(--button-primary-hover)
    );
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 100% 0%;
    transition:
        background-size 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        border-color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
#checkout-checkout .btn-primary:hover,
#checkout-checkout input.btn-primary:hover {
    background-size: 100% 100%;
    border-color: var(--button-primary-hover);
    color: var(--text-inverse);
}
#checkout-checkout .buttons {
    margin: 15px 0 0 0;
}
#checkout-checkout .buttons .pull-right {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: flex-end;
}

/* ── Radio/checkbox inside checkout ── */
#checkout-checkout .radio label,
#checkout-checkout .checkbox label {
    font-size: var(--font-base);
    color: var(--ink-900);
    padding-left: 8px;
}
#checkout-checkout .radio,
#checkout-checkout .checkbox {
    margin: 5px 0;
    border: 1px solid transparent;
    border-radius: 8px;
    transition: background-color 0.15s;
}
#checkout-checkout .radio:hover,
#checkout-checkout .checkbox:hover {
    background-color: var(--background-light);
}

/* ── Checkout step headings (h2 inside panels) ── */
#checkout-checkout .panel-body h2 {
    font-size: 18px;
    font-weight: 600;
    color: var(--ink-900);
    margin: 0 0 12px;
    letter-spacing: -0.1px;
}
#checkout-checkout .panel-body p {
    font-size: var(--font-md);
    color: var(--ink-800);
    line-height: 1.5;
}

/* ── Alert styling inside checkout ── */
#checkout-checkout .alert {
    border-radius: 8px;
    font-size: var(--font-sm);
}

/* ── Horizontal form layout fix ── */
#checkout-checkout .form-horizontal .col-sm-2 {
    text-align: right;
    padding-top: 10px;
    font-size: var(--font-sm);
    font-weight: 600;
}
#checkout-checkout .form-horizontal .col-sm-10 {
    margin-bottom: 10px;
}
#checkout-checkout .form-horizontal .form-group {
    margin-bottom: 0;
}

/* ── Responsive checkout ── */
@media (max-width: 767px) {
    #checkout-checkout h1 {
        font-size: var(--font-3xl);
        margin-bottom: 20px;
    }
    #checkout-checkout .panel-heading {
        padding: 14px 16px;
    }
    #checkout-checkout .panel-body {
        padding: 16px;
    }
    #checkout-checkout .form-horizontal .col-sm-2 {
        text-align: left;
        padding-top: 0;
        margin-bottom: 4px;
    }
}

/* ── Checkout misc ── */
.co-forgotten-link {
    font-size: var(--font-xs);
    color: var(--ink-800);
    opacity: 0.65;
}
.co-forgotten-link:hover {
    opacity: 1;
}
.co-comments-hidden {
    display: none;
}

/* ── Confirm step: order summary ── */
.co-confirm {
    margin-bottom: 15px;
}
.co-confirm__items {
    /* No outer border/radius — section card already provides the container */
    margin: -16px -20px 0;  /* bleed edge-to-edge flush with panel-body top */
    border-bottom: var(--border-width) var(--border-style) var(--border-color);
}
.co-confirm__header {
    display: grid;
    grid-template-columns: 100px 1fr 60px 90px 90px;
    gap: 12px;
    padding: 10px 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ink-muted);
    border-bottom: 1px solid var(--border-color);
}
.co-confirm__row {
    display: grid;
    grid-template-columns: 100px 1fr 60px 90px 90px;
    gap: 12px;
    align-items: center;
    padding: 12px 20px;
    border-top: var(--border-width) var(--border-style) var(--border-soft);
    font-size: var(--font-sm);
    color: var(--ink-900);
}
.co-confirm__col-code {
    font-size: var(--font-xs);
    color: var(--ink-muted);
    word-break: break-word;
}
.co-confirm__col-name {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.co-confirm__col-name a {
    font-weight: 600;
    color: var(--ink-900);
    text-decoration: none;
}
.co-confirm__col-name a:hover {
    text-decoration: none;
}
.co-confirm__option,
.co-confirm__recurring {
    font-size: var(--font-xs);
    color: var(--ink-800);
}
.co-confirm__col-qty {
    text-align: center;
}
.co-confirm__col-price {
    text-align: right;
}
.co-confirm__col-total {
    text-align: right;
    font-weight: 600;
}
.co-confirm__totals {
    margin-left: auto;
    max-width: 100%;
    padding: 10px;
}
.co-confirm__total-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 40px;
    padding: 3px 0;
    font-size: var(--font-sm);
    color: var(--ink-900);
}
.co-confirm__total-row > span:first-child {
    text-align: right;
    color: var(--ink-800);
}
.co-confirm__total-row > span:last-child {
    flex-shrink: 0;
    white-space: nowrap;
    text-align: right;
    font-weight: 600;
}
.co-confirm__total-row--final {
    padding-top: 8px;
    margin-top: 4px;
    border-top: 1.5px solid var(--ink-900);
    font-size: var(--font-lg);
    font-weight: 600;
}

/* ── Responsive confirm ── */
@media (max-width: 767px) {
    .co-confirm__header {
        display: none;
    }
    .co-confirm__items {
        margin-left: -12px;
        margin-right: -12px;
    }
    .co-confirm__row {
        display: flex;
        flex-wrap: wrap;
        align-items: baseline;
        gap: 0;
        padding: 12px 14px;
        border-top: var(--border-width) var(--border-style) var(--border-soft);
    }
    /* code — full row */
    .co-confirm__col-code {
        flex: 0 0 100%;
        margin-bottom: 2px;
    }
    /* name — full row */
    .co-confirm__col-name {
        flex: 0 0 100%;
        margin-bottom: 6px;
    }
    /* qty and price share one line on the left */
    .co-confirm__col-qty {
        flex: 0 0 auto;
        font-size: var(--font-xs);
        color: var(--ink-muted);
        text-align: left;
    }
    .co-confirm__col-price {
        flex: 1;
        font-size: var(--font-xs);
        color: var(--ink-muted);
        text-align: left;
        padding-left: 0;
    }
    .co-confirm__col-price::before {
        content: " \00D7  ";
    }
    /* total — pushed to the right on the same line as qty/price */
    .co-confirm__col-total {
        flex: 0 0 auto;
        margin-left: auto;
        text-align: right;
        font-weight: 600;
        font-size: var(--font-md);
        align-self: center;
    }
    .co-confirm__totals {
        max-width: 100%;
        padding: 10px 0;
    }
    .co-confirm__total-row {
        gap: 16px;
    }
    .co-confirm__total-row > span:first-child {
        text-align: left;
        flex: 1;
    }
}


/* =====================================================================
   ONE-PAGE CHECKOUT  —  OC4-inspired two-column layout
   ===================================================================== */

/* ── Main grid ── */
.co-onepage {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
}

/* ── Columns ── */
.co-onepage__left {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.co-onepage__right {
    position: sticky;
    top: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ── Section cards ── */
.co-onepage__section {
    border: var(--border-width) var(--border-style) var(--border-color);
    border-radius: 8px;
    background: var(--surface-base);
    overflow: hidden;
    transition: opacity .4s cubic-bezier(.165,.84,.44,1),
        border-color .4s cubic-bezier(.165,.84,.44,1);
}
.co-onepage__section--loading {
    opacity: 0.5;
    pointer-events: none;
}
.co-onepage__section--ready {
    opacity: 1;
}

/* ── Section state: active — current step ── */
.co-onepage__section--active {
    border: var(--border-width) var(--border-style) var(--border-color);
}

/* ── Section state: done — subtle success + checkmark ── */
.co-onepage__section--done {
    border-color: var(--border-color);
}
.co-onepage__section--done .co-onepage__step-num {
    color: var(--status-success);
}
.co-onepage__section--done .co-onepage__step-check {
    display: inline;
}
.co-onepage__section--done .co-onepage__step-digit {
    display: none;
}
.co-onepage__section--done .co-onepage__section-icon {
    color: var(--status-success);
}

/* ── Section state: pending — dimmed until unlocked ── */
.co-onepage__section--pending .co-onepage__section-head {
    opacity: 0.55;
}

/* ── Section state: active — step counter emphasised ── */
.co-onepage__section--active .co-onepage__step-num {
    color: var(--ink-900);
}

/* ── Section header ── */
.co-onepage__section-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-bottom: var(--border-width) var(--border-style) var(--border-soft);
    background: var(--background-light);
    transition: opacity .4s cubic-bezier(.165,.84,.44,1);
}

/* Step counter — editorial typography, no circle badge */
.co-onepage__step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--ink-muted);
    font-size: var(--font-sm);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    flex-shrink: 0;
    line-height: 1;
    letter-spacing: 0.5px;
    transition: color .4s cubic-bezier(.165,.84,.44,1);
}
.co-onepage__step-check {
    display: none;
}

/* Section icon — primary visual anchor */
.co-onepage__section-icon {
    flex-shrink: 0;
    color: var(--ink-900);
    display: block;
    transition: color .4s cubic-bezier(.165,.84,.44,1);
}
.co-onepage__section-title {
    font-size: var(--font-lg);
    font-weight: 600;
    color: var(--ink-900);
    margin: 0;
    letter-spacing: -0.2px;
    line-height: 1.3;
}

/* ── Section body — reuse .panel-body from sub-templates ── */
.co-onepage__section-body {
    padding: 0;
}
.co-onepage__section-body .panel-body {
    padding: 16px 20px 12px;
}

/* ── Placeholder before section is loaded ── */
.co-onepage__placeholder {
    padding: 16px 0;
    text-align: center;
}
.co-onepage__placeholder-text {
    font-size: var(--font-sm);
    color: var(--ink-muted);
    font-style: italic;
    animation: co-placeholder-pulse 2s ease-in-out infinite;
}
@keyframes co-placeholder-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* ── Form styling inside one-page checkout ── */
.co-onepage .form-control {
    height: 44px;
    padding: 0 14px;
    font-size: var(--font-md);
    border: var(--border-width) var(--border-style) var(--border-color);
    border-radius: 6px;
    background: var(--surface-base);
    color: var(--ink-900);
    box-shadow: none;
    transition: border-color .4s cubic-bezier(.165,.84,.44,1), box-shadow .4s cubic-bezier(.165,.84,.44,1);
}
.co-onepage .form-control:focus {
    border-color: var(--ink-900);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.04);
}
.co-onepage textarea.form-control {
    height: auto;
    padding: 12px 14px;
    min-height: calc(3 * 1.5em + 24px);
}
.co-onepage select.form-control {
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='%23222'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}
.co-onepage .control-label {
    font-size: var(--font-sm);
    font-weight: 600;
    color: var(--ink-900);
}

/* ── Buttons inside one-page checkout ── */
.co-onepage .btn-primary,
.co-onepage input.btn-primary {
    height: 44px;
    padding: 0 24px;
    font-size: var(--font-md);
    font-weight: 600;
    color: var(--text-inverse);
    background-color: var(--button-primary-bg);
    border: 1px solid var(--button-primary-border);
    border-radius: 8px;
    cursor: pointer;
    box-shadow: none;
    background-image: linear-gradient(
        var(--button-primary-hover),
        var(--button-primary-hover)
    );
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 100% 0%;
    transition:
        background-size 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        border-color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.co-onepage .btn-primary:hover,
.co-onepage input.btn-primary:hover {
    background-size: 100% 100%;
    border-color: var(--button-primary-hover);
    color: var(--text-inverse);
}
.co-onepage .btn-primary:focus-visible,
.co-onepage input.btn-primary:focus-visible {
    outline: 2px solid var(--ink-900);
    outline-offset: 2px;
}
.co-onepage .buttons {
    margin-top: 10px;
    max-height: 80px;
    overflow: hidden;
    opacity: 1;
    transition: max-height .4s cubic-bezier(.165,.84,.44,1),
                opacity .3s cubic-bezier(.165,.84,.44,1),
                margin .4s cubic-bezier(.165,.84,.44,1);
}
.co-onepage .buttons .pull-right {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: flex-end;
}

/* Button follows user attention — visible only in active section */
.co-onepage__section:not(.co-onepage__section--active) .buttons {
    max-height: 0;
    margin: 0;
    opacity: 0;
    pointer-events: none;
}

/* ── Address toggle link ── */
.co-onepage .co-address-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 0 14px;
    height: 36px;
    font-size: var(--font-sm);
    font-weight: 600;
    color: var(--ink-900);
    cursor: pointer;
    text-decoration: none;
    border: var(--border-width) var(--border-style) var(--border-color);
    border-radius: 8px;
    background: var(--surface-base);
    transition:
        background-color 0.4s cubic-bezier(.165,.84,.44,1),
        border-color 0.4s cubic-bezier(.165,.84,.44,1);
}
.co-onepage .co-address-toggle svg {
    flex-shrink: 0;
}
.co-onepage .co-address-toggle--back {
    margin-top: 0;
    margin-bottom: 16px;
}
.co-onepage .co-address-toggle:hover {
    background-color: var(--background-light);
    text-decoration: none;
    color: var(--ink-900);
}

/* ── Radio/checkbox ── */
.co-onepage .radio label,
.co-onepage .checkbox label {
    font-size: var(--font-md);
    color: var(--ink-900);
    padding-left: 8px;
}
.co-onepage .radio,
.co-onepage .checkbox {
    margin: 4px 0;
    padding: 8px 12px;
    border: 1px solid transparent;
    border-radius: 6px;
    transition: background-color .4s cubic-bezier(.165,.84,.44,1);
}
.co-onepage .radio:hover,
.co-onepage .checkbox:hover {
    background-color: var(--background-light);
}

/* ── Sub-headings inside sections ── */
.co-onepage .panel-body h2 {
    font-size: var(--font-xl);
    font-weight: 600;
    color: var(--ink-900);
    margin: 0 0 12px;
    letter-spacing: -0.1px;
}
.co-onepage .panel-body p {
    font-size: var(--font-md);
    color: var(--ink-800);
    line-height: 1.5;
}

/* ── Alerts ── */
.co-onepage .alert {
    border-radius: 8px;
    font-size: var(--font-sm);
}

/* ── Floating-label address form inside checkout ── */
.co-onepage .af-grid {
    padding-top: 4px;
}
.co-onepage .reg-floating {
    margin-bottom: 12px;
}
.co-onepage .af-grid > .reg-floating:last-child {
    margin-bottom: 0;
}

/* ── Confirm section highlight — uses standard border token, never ink-900 ── */
.co-onepage__section--confirm.co-onepage__section--ready {
    border: var(--border-width) var(--border-style) var(--border-color);
}

/* ── Forgotten password link ── */
.co-onepage .co-forgotten-link {
    font-size: var(--font-xs);
    color: var(--ink-800);
    opacity: 0.65;
}
.co-onepage .co-forgotten-link:hover {
    opacity: 1;
}

/* ── Hide duplicate comments in payment_method sub-template ── */
.co-onepage .co-comments-hidden {
    display: none;
}

/* ── Compact shipping terminal picker ── */
.co-ship-picker {
    border: var(--border-width) var(--border-style) var(--border-color);
    border-radius: 6px;
    overflow: hidden;
    margin: 8px 0 16px;
}
.co-ship-picker__search {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-bottom: var(--border-width) var(--border-style) var(--border-color);
    background: var(--bg-light);
    position: sticky;
    top: 0;
    z-index: 2;
}
.co-ship-picker__input-wrap {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
}
.co-ship-picker__input-wrap svg {
    position: absolute;
    right: 12px;
    color: var(--ink-muted);
    opacity: 0.6;
    pointer-events: none;
}
.co-ship-picker__input {
    width: 100%;
    border: var(--border-width) var(--border-style) var(--border-color);
    border-radius: 6px;
    background: var(--bg-light);
    font-family: inherit;
    font-size: var(--font-md);
    color: var(--ink-900);
    outline: none;
    height: 44px;
    padding: 0 36px 0 12px;
    transition: border-color .2s, box-shadow .2s;
}
.co-ship-picker__input:focus {
    border-color: var(--ink-900);
}
.co-ship-picker__input::placeholder {
    color: var(--ink-muted);
    font-size: var(--font-sm);
}
.co-ship-picker__count {
    flex-shrink: 0;
    font-size: var(--font-xs);
    color: var(--ink-800);
    background: var(--background-soft);
    padding: 2px 8px;
    border-radius: 50px;
    font-weight: 600;
}
.co-ship-picker__list {
    max-height: 308px;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.co-ship-picker__item {
    padding: 5px;
    border-radius: 6px;
    transition: background-color .4s cubic-bezier(.165,.84,.44,1);
    cursor: pointer;
    border: 1px solid transparent;
}
.co-ship-picker__item:hover {
    background: var(--background-light);
}
.co-ship-picker__item--active {
    background: rgba(40, 39, 41, 0.04);
    border: var(--border-width) var(--border-style) var(--border-color);
}
.co-ship-picker__item .radio {
    margin: 0;
    padding: 0;
    width: 100%;
}
.co-ship-picker__item .radio label {
    font-size: var(--font-sm);
    font-weight: 400;
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    cursor: pointer;
    color: var(--ink-900);
    width: 100%;
}
.co-ship-picker__item .radio input[type="radio"] {
    flex-shrink: 0;
    margin: 0;
}
.co-ship-picker__item .radio .xshippingpro-logo,
.co-ship-picker__item .radio .xshippingpro-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    object-fit: contain;
    margin: 0;
}
.co-ship-picker__text-wrap {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}
.co-ship-picker__title {
    display: flex;
    align-items: center;
    width: 100%;
}
.co-ship-picker__title-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
}
.co-ship-picker__price {
    font-weight: 600;
    flex-shrink: 0;
    line-height: 1.4;
}
.co-ship-picker__desc {
    font-size: var(--font-xs);
    color: var(--ink-muted);
    line-height: 1.2;
    margin: 0 !important;
    padding: 0 !important;
}
/* Hide rogue xshippingpro descriptions that get re-injected via AJAX */
.co-ship-picker__item > .xshippingpro-desc,
.co-ship-picker__item .radio > .xshippingpro-desc,
.co-ship-picker__list > .xshippingpro-desc {
    display: none !important;
}
/* Scrollbar styling */
.co-ship-picker__list::-webkit-scrollbar {
    width: 6px;
}
.co-ship-picker__list::-webkit-scrollbar-track {
    background: transparent;
}
.co-ship-picker__list::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 3px;
}
.co-ship-picker__list::-webkit-scrollbar-thumb:hover {
    background: var(--ink-muted);
}

/* ── Payment method picker (mirrors ship-picker sans search/scroll) ── */
.co-pay-picker {
    border: var(--border-width) var(--border-style) var(--border-color);
    border-radius: 6px;
    overflow: hidden;
    margin: 8px 0 16px;
}
.co-pay-picker__list {
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.co-pay-picker__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 5px;
    border-radius: 6px;
    transition: background-color .4s cubic-bezier(.165,.84,.44,1);
    cursor: pointer;
    border: 1px solid transparent;
}
.co-pay-picker__item:hover {
    background: var(--background-light);
}
.co-pay-picker__item--active {
    background: rgba(40, 39, 41, 0.04);
    border: var(--border-width) var(--border-style) var(--border-soft);
}
#checkout-checkout .co-pay-picker__item .radio {
    display: none;
}
#checkout-checkout .co-pay-picker__item input[type="radio"] {
    flex-shrink: 0;
    margin: 0;
    cursor: pointer;
}
.co-pay__content {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
    min-width: 0;
}
.co-pay__title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--font-sm);
    font-weight: 400;
    color: var(--ink-900);
    line-height: 1.4;
}
.co-pay__title img,
.co-pay__title .xpayment-logo {
    height: 32px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
    display: inline-block;
}
/* xpayment.min.js desc injected into picker */
.co-pay-picker .xpayment-desc {
    font-size: var(--font-xs);
    color: var(--ink-muted);
    line-height: 1.4;
}
/* Hide stray xpayment elements before cleanup JS moves them */
.co-pay-picker__item > .xpayment-logo,
.co-pay-picker__list > .xpayment-desc {
    display: none;
}
.co-pay__terms {
    font-size: var(--font-xs);
    color: var(--ink-muted);
    line-height: 1.4;
}
#checkout-checkout .co-pay-picker__item .radio label {
    display: none;
}

/* ── Responsive: one-page checkout ── */
@media (max-width: 991px) {
    .co-onepage {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .co-onepage__right {
        position: static;
    }
}
@media (max-width: 767px) {
    #checkout-checkout {
        overflow-x: hidden;
    }
    #checkout-checkout h1 {
        font-size: var(--font-3xl);
        margin-bottom: 16px;
    }
    .co-onepage__section-head {
        padding: 10px 12px;
        gap: 8px;
        border-bottom: none;
    }
    .co-onepage__step-num {
        font-size: var(--font-xs);
    }
    .co-onepage__section-icon {
        width: 20px;
        height: 20px;
    }
    .co-onepage__section-title {
        font-size: var(--font-md);
    }
    .co-onepage__section-body .panel-body {
        padding: 12px;
    }
    /* Ship-picker: full-bleed via negative margins, borrow section card border */
    .co-ship-picker {
        width: auto;
        box-sizing: border-box;
        border-left: none;
        border-right: none;
        border-radius: 0;
        margin-left: -12px;
        margin-right: -12px;
    }
    .co-ship-picker__search {
        box-sizing: border-box;
        width: 100%;
        padding-left: 12px;
        padding-right: 12px;
    }
    .co-ship-picker__item .radio label {
        min-width: 0;
        overflow: hidden;
    }
    .co-ship-picker__title {
        min-width: 0;
    }
    .co-ship-picker__title-text {
        white-space: normal;
        word-break: break-word;
    }
    .co-ship-picker__text-wrap {
        overflow: hidden;
    }
    .co-ship-picker__list {
        max-height: 300px;
        padding: 8px 0;
    }
    #checkout-checkout textarea.form-control {
        min-height: calc(3 * 1.5em + 24px);
        height: auto;
        resize: none;
    }
    .co-onepage .buttons .pull-right {
        width: 100%;
        padding: 0 0 12px;
    }
    .co-onepage .buttons .pull-right .btn {
        width: 100%;
        justify-content: center;
    }
}


/* =====================================================================
   SUCCESS PAGE
   ===================================================================== */
.success-card {
    max-width: 520px;
    margin: 40px auto 60px;
    text-align: center;
}
.success-card__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(22, 163, 74, 0.08);
    color: var(--success-green);
}
.success-card h1 {
    font-size: 28px;
    font-weight: 600;
    color: var(--ink-900);
    letter-spacing: -0.3px;
    margin: 0 0 16px;
}
.success-card__message {
    font-size: var(--font-lg);
    color: var(--ink-muted);
    line-height: 1.6;
    margin-bottom: 32px;
    text-align: left;
}
.success-card__message ul {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    text-align: left;
    display: inline-block;
}
.success-card__message ul li {
    padding: 2px 0;
    margin: 0;
    line-height: 1.5;
    color: var(--ink-muted);
}
.success-card__message p {
    margin: 0 0 8px;
}
.success-card__message a {
    font-weight: 600;
    color: var(--ink-900);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.success-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 24px;
    font-size: var(--font-md);
    font-weight: 600;
    color: var(--text-inverse);
    background-color: var(--button-primary-bg);
    border: 1px solid var(--button-primary-border);
    border-radius: 8px;
    text-decoration: none;
    background-image: linear-gradient(
        var(--button-primary-hover),
        var(--button-primary-hover)
    );
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 100% 0%;
    transition:
        background-size 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        border-color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.success-card__btn:hover {
    background-size: 100% 100%;
    border-color: var(--button-primary-hover);
    color: var(--text-inverse);
    text-decoration: none;
}
@media (max-width: 767px) {
    .success-card {
        margin: 24px auto 40px;
        padding: 0 8px;
    }
    .success-card h1 {
        font-size: var(--font-3xl);
    }
}

/* =====================================================================
   SITEMAP PAGE
   ===================================================================== */
#information-sitemap {
    padding-bottom: 40px;
}
#information-sitemap h1 {
    text-align: center;
    font-size: var(--font-4xl);
    font-weight: 600;
    color: var(--ink-900);
    letter-spacing: -0.3px;
    margin: 0 0 24px;
}
.sitemap-wrap {
    margin: 0 auto;
}
.sitemap-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}
.sitemap-panel {
    background: var(--surface-base);
    border: var(--border-width) var(--border-style) var(--border-color);
    border-radius: 8px;
    padding: 24px;
}
.sitemap-section {
    font-size: var(--font-xl);
    font-weight: 600;
    color: var(--ink-900);
    margin: 0 0 16px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 12px;
    border-bottom: var(--border-width) var(--border-style) var(--border-color);
}
.sitemap-section svg {
    flex-shrink: 0;
    display: block;
}

/* ── List reset ── */
.sitemap-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sitemap-list li {
    padding: 0;
    margin: 0;
}

/* ── Top-level groups — separated by padding gap ── */
.sitemap-list > li {
    padding-top: 12px;
}
.sitemap-list > li:first-child {
    padding-top: 0;
}

/* ── Parent link (category / section name) ── */
.sitemap-list > li > a {
    font-size: var(--font-lg);
    font-weight: 600;
    color: var(--ink-900);
    text-decoration: none;
    display: block;
    padding: 5px 0;
    line-height: 1.5;
    transition: -webkit-text-stroke 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* ── All links base ── */
.sitemap-list a {
    font-size: var(--font-lg);
    font-weight: 400;
    color: var(--ink-900);
    text-decoration: none;
    display: block;
    padding: 4px 0;
    line-height: 1.5;
}
.sitemap-list a:hover {
    text-decoration: none;
}

/* ── Sub-list (level 2) ── */
.sitemap-list ul {
    list-style: none;
    padding: 2px 0 0 20px;
    margin: 0;
}
.sitemap-list ul a {
    font-weight: 400;
    font-size: var(--font-md);
    color: var(--ink-900);
    padding: 3px 0;
}
.sitemap-list ul a:hover {
    color: var(--accent-color);
}

/* ── Sub-sub-list (level 3) ── */
.sitemap-list ul ul {
    padding-left: 16px;
}
.sitemap-list ul ul a {
    font-size: var(--font-md);
    color: var(--ink-900);
}
.sitemap-list ul ul a:hover {
    color: var(--accent-color);
}

/* ── Plain-text label (e.g. "Information") ── */
.sitemap-label {
    font-size: var(--font-lg);
    font-weight: 600;
    color: var(--ink-900);
    display: block;
    padding: 5px 0;
}

@media (max-width: 767px) {
    .sitemap-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .sitemap-panel {
        padding: 22px 18px;
    }
    .sitemap-heading h2 {
        font-size: 24px;
    }
}

/* =====================================================================
   GDPR PAGE
   ===================================================================== */
#gdpr-page {
    padding-bottom: 40px;
}
#gdpr-page h1 {
    text-align: center;
    font-size: 28px;
    font-weight: 600;
    color: var(--ink-900);
    letter-spacing: -0.3px;
    margin: 0 0 24px;
}
.gdpr-wrap {
    max-width: 960px;
    margin: 0 auto;
}
.gdpr-heading {
    text-align: center;
    margin-bottom: 28px;
}
.gdpr-heading h2 {
    font-size: var(--font-3xl);
    font-weight: 600;
    color: var(--ink-900);
    margin: 0;
    letter-spacing: -0.3px;
}
.gdpr-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
}
.gdpr-card {
    background: var(--surface-base);
    border: var(--border-width) var(--border-style) var(--border-color);
    border-radius: 8px;
    padding: 28px;
}
.gdpr-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: 50%;
}
/* Account dashboard: Orders spans 2 rows on the right */
#account-account .gdpr-card:nth-child(2) {
    grid-row: span 2;
}
#account-account .gdpr-card:last-child:nth-child(odd) {
    grid-column: auto;
    max-width: none;
}
.gdpr-card__header {
    font-size: var(--font-xl);
    font-weight: 600;
    color: var(--ink-900);
    margin: 0 0 16px 0;
    padding-bottom: 16px;
    border-bottom: var(--border-width) var(--border-style) var(--border-color);
    display: flex;
    align-items: center;
    gap: 12px;
}
.gdpr-card__header svg {
    flex-shrink: 0;
    display: block;
}
.gdpr-card__desc {
    font-size: var(--font-lg);
    color: var(--ink-800);
    line-height: 1.6;
    margin: 0 0 16px;
    padding-bottom: 16px;
    border-bottom: var(--border-width) var(--border-style) var(--border-soft);
}
.gdpr-card__links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.gdpr-card__links li {
    border-bottom: var(--border-width) var(--border-style) var(--border-soft);
}
.gdpr-card__links li:last-child {
    border-bottom: none;
}
.gdpr-card__links li a {
    font-size: var(--font-lg);
    font-weight: 400;
    color: var(--ink-900);
    text-decoration: none;
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0 8px;
    border-radius: 6px;
    transition: background-color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.gdpr-card__links li a:hover {
    background-color: var(--background-light);
}

@media (max-width: 767px) {
    .gdpr-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .gdpr-card {
        padding: 20px 16px;
    }
    .gdpr-card:last-child:nth-child(odd) {
        max-width: none;
    }
    #account-account #column-left {
        display: none;
    }
    #account-account #content {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }
    #account-account.container {
        width: 100%;
        padding-left: 16px;
        padding-right: 16px;
    }
    #account-account .row {
        margin-left: 0;
        margin-right: 0;
    }
}

/* ═══════════════════════════════════════════════════════════════════
   § PRODUCT DETAIL CARD · premium 2026
   Crema component: metadata + price + action card on product page.
   Border outside, --border-soft inside, no shadow, 8px radius.
   ═══════════════════════════════════════════════════════════════════ */
#product-product .product-detail-card {
    padding: 0;
    background: var(--surface-base);
    margin-bottom: 24px;
    margin-top: 16px;
    border: var(--border-width) var(--border-style) var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

/* ── Meta section (brand, model, reward) ── */
#product-product .pdc__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin: 0;
    padding: 20px 24px 16px;
}
#product-product .pdc__meta-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    width: 100%;
    padding: 4px 0;
}
#product-product .pdc__meta-row dt {
    font-size: var(--font-sm);
    font-weight: 600;
    color: var(--ink-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    white-space: nowrap;
    min-width: 0;
}
#product-product .pdc__meta-row dd {
    font-size: var(--font-md);
    font-weight: 600;
    color: var(--ink-900);
    margin: 0;
}
#product-product .pdc__meta-row dd a {
    color: var(--ink-900);
    transition: color 0.2s ease;
}
#product-product .pdc__meta-row dd a:hover {
    color: var(--accent-color);
}

/* ── Price section ── */
#product-product .pdc__price {
    padding: 16px 24px 20px;
    border-top: var(--border-width) var(--border-style) var(--border-soft);
}
#product-product .pdc__price-current {
    font-size: var(--font-3xl);
    font-weight: 600;
    color: var(--ink-900);
    letter-spacing: -0.3px;
    line-height: 1.2;
}
#product-product .pdc__price-current--sale {
    color: var(--status-danger-text);
}
#product-product .pdc__price-old {
    font-size: var(--font-xl);
    font-weight: 400;
    color: var(--ink-muted);
    text-decoration: line-through;
    margin-right: 10px;
}
#product-product .pdc__price-tax {
    font-size: var(--font-sm);
    font-weight: 400;
    color: var(--ink-muted);
    margin-left: 6px;
}
#product-product .pdc__price-tax-line {
    margin-top: 4px;
    font-size: var(--font-sm);
    font-weight: 400;
    color: var(--ink-muted);
}
#product-product .pdc__price-points {
    margin-top: 8px;
    font-size: var(--font-base);
    color: var(--ink-900);
}
#product-product .pdc__price-points strong {
    font-weight: 600;
}
#product-product .pdc__price-discount {
    margin-top: 6px;
    font-size: var(--font-base);
    font-weight: 600;
    color: var(--status-danger-text);
}

/* Product page — buy now section */
#buy-now-bottom {
    margin: 0;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 20px 24px;
    border-top: var(--border-width) var(--border-style) var(--border-soft);
}
#buy-now-bottom #input-quantity {
    width: 56px;
    height: 44px;
    text-align: center;
    padding: 6px 4px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    border: var(--border-width) var(--border-style) var(--border-color);
}
#buy-now-bottom #button-cart {
    height: 44px;
    min-width: 160px;
    padding: 0 24px;
    font-size: var(--font-md);
    font-weight: 600;
    border-radius: 8px;
    letter-spacing: 0.3px;
}
#buy-now-bottom .btn-wishlist {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 8px;
    background: linear-gradient(var(--ink-900), var(--ink-900)) no-repeat
        center / 0% 100%;
    border: var(--border-width) var(--border-style) var(--border-color);
    color: var(--ink-muted);
    transition:
        background-size 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        border-color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
}
#buy-now-bottom .btn-wishlist:hover {
    background-size: 100% 100%;
    color: var(--text-inverse);
    border-color: var(--ink-900);
}
#buy-now-bottom .btn-wishlist:active {
    transform: scale(0.92);
}
#buy-now-bottom .btn-wishlist:focus:not(:focus-visible) {
    outline: none;
}
#buy-now-bottom .btn-wishlist svg {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

/* ═══════════════════════════════════════════════════════════════════════
   § PRODUCT OPTIONS · premium 2026
   Collapsible accordion inside product-detail-card.
   Each option group = <details class="pdc__options">.
   Compact rows, right-aligned prices, hidden placeholder images.
   ═══════════════════════════════════════════════════════════════════════ */
#product-product .product-options {
    margin: 0;
    padding: 0;
}

/* Toggle bar */
.pdc__options {
    border-top: var(--border-width) var(--border-style) var(--border-soft);
}
.pdc__options-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    min-height: 44px;
    cursor: pointer;
    user-select: none;
    list-style: none; /* remove default marker */
    transition: background-color 0.15s ease;
}
.pdc__options-toggle::-webkit-details-marker {
    display: none;
}
.pdc__options-toggle::marker {
    display: none;
    content: "";
}
.pdc__options-toggle:hover {
    background-color: var(--background-light);
}
.pdc__options-title {
    font-size: var(--font-md);
    font-weight: 600;
    color: var(--ink-900);
    letter-spacing: normal;
}
.pdc__options-chevron {
    flex-shrink: 0;
    color: var(--ink-muted);
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.pdc__options[open] > .pdc__options-toggle .pdc__options-chevron {
    transform: rotate(180deg);
}

/* Body */
.pdc__options-body {
    padding: 0 24px 16px;
}

/* Option group (select, text, etc.) */
.pdc__opt-group {
    margin-bottom: 12px;
}
.pdc__opt-group:last-child {
    margin-bottom: 0;
}

/* Option list (radio/checkbox rows) */
.pdc__opt-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Individual option item */
.pdc__opt-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: var(--border-width) var(--border-style) var(--border-soft);
    cursor: pointer;
    font-size: var(--font-md);
    font-weight: 400;
    color: var(--ink-900);
    transition: background-color 0.15s ease;
    margin: 0;
    min-height: 40px;
}
.pdc__opt-item:last-child {
    border-bottom: none;
}
.pdc__opt-item:hover {
    background-color: var(--background-light);
    margin: 0 -24px;
    padding: 10px 24px;
}

/* Checkbox / radio inputs */
.pdc__opt-item input[type="checkbox"],
.pdc__opt-item input[type="radio"] {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--ink-900);
    cursor: pointer;
}

/* Option thumbnail */
.pdc__opt-img {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    border: var(--border-width) var(--border-style) var(--border-color);
    object-fit: cover;
    background: var(--background-light);
}
/* Hide placeholder images */
.pdc__opt-img[src*="no_image"],
.pdc__opt-img[src*="placeholder"] {
    display: none;
}

/* Option name */
.pdc__opt-name {
    flex: 1;
    min-width: 0;
    line-height: 1.4;
}

/* Option price badge */
.pdc__opt-price {
    flex-shrink: 0;
    font-size: var(--font-sm);
    font-weight: 600;
    color: var(--ink-900);
    background: var(--background-light);
    padding: 4px 10px;
    border-radius: 50px;
    white-space: nowrap;
}

/* Selected state */
.pdc__opt-item:has(input:checked) {
    background-color: var(--background-light);
    margin: 0 -24px;
    padding: 10px 24px;
}
.pdc__opt-item:has(input:checked) .pdc__opt-name {
    font-weight: 600;
}
.pdc__opt-item:has(input:checked) .pdc__opt-price {
    background: var(--ink-900);
    color: var(--text-inverse);
}

/* Mobile compact */
@media (max-width: 575px) {
    .pdc__options-toggle {
        padding: 10px 16px;
    }
    .pdc__options-body {
        padding: 0 16px 12px;
    }
    .pdc__opt-item:hover,
    .pdc__opt-item:has(input:checked) {
        margin: 0 -16px;
        padding: 10px 16px;
    }
    .pdc__opt-img {
        width: 32px;
        height: 32px;
    }
}

/* Product page — tags */
#product-product .product-tags {
    padding-top: 30px;
    font-size: 13px;
}
#product-product .product-tags a {
    color: var(--accent-color);
}

/* ===== PRODUCT PAGE — IMAGE GALLERY ===== */
#product-product .thumbnails {
    overflow: visible;
    clear: both;
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
#product-product .thumbnails > li:first-child {
    flex: 0 0 100%;
    outline: none;
    text-align: center;
}
#product-product .thumbnails > li:first-child .thumbnail {
    max-width: 60%;
    margin: 0 auto;
    display: inline-block;
    float: none;
}
#product-product .thumbnails .image-additional {
    flex: 0 0 calc(16% - 8px);
    max-width: calc(16% - 8px);
    float: none;
    padding: 0;
    vertical-align: top;
}
#product-product .thumbnails .image-additional a.thumbnail {
    display: block;
    max-width: 100%;
    float: none;
    padding: 4px;
    border: var(--border-width) var(--border-style) var(--border-soft);
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
#product-product .thumbnails .image-additional a.thumbnail:hover {
    border: var(--border-width) var(--border-style) var(--border-soft);
}
#product-product .thumbnails .image-additional a.thumbnail img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 4px;
    transition: transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}
#product-product .thumbnails .image-additional a.thumbnail:hover img {
    transform: scale(1.07);
}

/* Tabs spacing below gallery */
#product-product .nav-tabs {
    margin-top: 24px;
}

/* Product page — related products */
#product-product .related-heading {
    font-size: 2.8rem;
    font-weight: 600;
    margin: 0 0 32px;
    padding-top: 40px;
    border-top: 2px solid var(--ink-200, #c8c1b4);
    color: var(--ink-900);
    letter-spacing: -0.4px;
    text-align: center;
}
#product-product .related-products {
    display: flex;
    flex-wrap: wrap;
}
#product-product .related-products > [class*="col-"] {
    display: flex;
    flex-direction: column;
    float: none !important;
    min-width: 0;
}
#product-product .related-products .product-thumb {
    flex: 1;
}
/* Related cards — keep rating stars inside the image area */
#product-product .related-products .product-thumb .rating {
    top: 4%;
    left: 6%;
    font-size: 0.85em;
}

/* =====================================================================
   404 NOT FOUND PAGE
   ===================================================================== */
.not-found {
    text-align: center;
    padding: 60px 20px 40px;
}
.not-found__code {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
}
.not-found__4 {
    font-size: 96px;
    font-weight: 600;
    color: var(--ink-900);
    line-height: 1;
    letter-spacing: -2px;
}
.not-found__0 svg {
    color: var(--ink-300);
}
.not-found__title {
    font-size: var(--font-2xl);
    font-weight: 600;
    color: var(--ink-900);
    margin: 0 0 8px;
}
.not-found__text {
    font-size: 15px;
    color: var(--ink-muted);
    margin: 0 0 28px;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}
.not-found__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

@media (max-width: 575px) {
    .not-found__4 {
        font-size: 64px;
    }
    .not-found__0 svg {
        width: 56px;
        height: 56px;
    }
    .not-found {
        padding: 40px 16px 24px;
    }
}

/* =====================================================================
   GLOBAL MOBILE: 15px side padding for all pages
   ===================================================================== */
@media (max-width: 767px) {
    .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
        width: 100% !important;
    }
    /* Home page slider — full bleed, no side padding */
    body.common-home > .container,
    body.common-home > .container-fluid {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .container > .row {
        margin-left: 0;
        margin-right: 0;
    }
    .container > .row > #content,
    .container > .row > #column-left,
    .container > .row > #column-right,
    .container > .row > [class*="col-"] {
        padding-left: 0;
        padding-right: 0;
    }
}

/* =====================================================================
   MODULE FEATURED — Crema design (2026)
   ===================================================================== */
.module-featured {
    padding: 40px 0;
}
.module-featured .section-header {
    font-size: var(--font-2xl);
    font-weight: 600;
    color: var(--ink-900);
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: var(--border-width) var(--border-style) var(--border-color);
    padding-bottom: 16px;
    margin-bottom: 24px;
    letter-spacing: -0.3px;
}
.module-featured .section-header svg {
    flex-shrink: 0;
    display: block;
}
.module-featured .row {
    margin-left: -10px;
    margin-right: -10px;
}
.module-featured .product-layout {
    padding-left: 10px;
    padding-right: 10px;
}
@media (max-width: 767px) {
    .module-featured {
        padding: 24px 0;
    }
    .module-featured .row {
        margin-left: 0;
        margin-right: 0;
    }
    .module-featured .product-layout {
        padding-left: 0;
        padding-right: 0;
    }
}

/* ==========================================================================
   § Product description: content blocks + spec table
   Naudojama: product description laukuose (admin HTML redaktoriuje)
   Į aprašymą dėti TIK HTML — <style> blokas NEREIKALINGAS
   ========================================================================== */

.container-item {
    width: 100%;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    color: var(--text-color);
    font-family: inherit;
    font-size: 15px;
    line-height: 1.6;
}

.container-item .item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
    flex-direction: column;
    gap: 30px;
}

.container-item .item .text {
    flex-basis: 100%;
    font-weight: 400;
    color: var(--text-color);
}

.container-item .item .text p {
    margin-bottom: 15px;
    font-size: 1.1em;
}

.container-item .item .text p:last-child {
    margin-bottom: 0;
}

.container-item h2 {
    font-family: inherit;
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0 0 15px 0;
    line-height: 1.2;
}

.container-item strong {
    font-weight: 600;
    color: var(--text-color);
}

.container-item .image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

@media (min-width: 768px) {
    .container-item .item {
        flex-direction: row;
        align-items: center;
    }
    .container-item .item .text,
    .container-item .item .image {
        flex-basis: 48%;
    }
    .container-item .item.reverse .text { order: 2; }
    .container-item .item.reverse .image { order: 1; }
}

/* --- Features grid --- */

.ascaso-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 40px 0;
}

@media (min-width: 600px) {
    .ascaso-features { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
    .ascaso-features { grid-template-columns: repeat(3, 1fr); }
}

.ascaso-feature {
    text-align: center;
    padding: 10px;
}

.ascaso-feature .ico {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.ascaso-feature .ico img {
    max-height: 90px;
    max-width: 90px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.ascaso-feature .head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
}

.ascaso-feature .n {
    font-weight: 600;
    font-size: 14px;
    color: var(--border-strong);
}

.ascaso-feature .t {
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    color: var(--text-color);
    margin: 0;
}

.ascaso-feature .d {
    margin: 0;
    font-size: inherit;
    color: var(--ink-800);
}

/* --- Spec table --- */

.container-item table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: none;
    border: 0;
    outline: var(--border-width) var(--border-style) var(--border-color);
    outline-offset: calc(var(--border-width) * -1);
}

.container-item th,
.container-item td {
    border: var(--border-width) solid var(--border-color);
    padding: 12px 15px;
    text-align: left;
    vertical-align: top;
    font-size: 14px;
    color: var(--text-color);
}

.container-item th {
    background-color: var(--background-light);
    width: 45%;
    font-weight: 600;
}

.container-item table tr:first-child th,
.container-item table tr:first-child td { border-top: 0; }

.container-item table tr:last-child th,
.container-item table tr:last-child td { border-bottom: 0; }
