:root {
    --esme-red: #e2001a;
    --esme-red-dark: #b50015;
    --esme-red-rgb: 226, 0, 26;
    --esme-dark: #1c2331;
    --esme-gray: #f4f5f7;
    --esme-border: #e6e8ec;
    --esme-text-muted: #6c757d;
    --esme-topbar-bg: #1c2331;
    --esme-topbar-text: #c9ccd2;
    --esme-footer-bg: #1c2331;
    --esme-footer-text: #b4b7bd;
}

body {
    font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
    background: #fff;
    color: #212529;
}

a { color: var(--esme-red); }
a:hover { color: var(--esme-red-dark); }

.text-muted-esme { color: var(--esme-text-muted); }

/* ---------- Buttons ---------- */
.btn-esme {
    background: var(--esme-red);
    border-color: var(--esme-red);
    color: #fff;
    font-weight: 600;
}
.btn-esme:hover, .btn-esme:focus {
    background: var(--esme-red-dark);
    border-color: var(--esme-red-dark);
    color: #fff;
}
.btn-outline-esme {
    border: 1px solid var(--esme-red);
    color: var(--esme-red);
    font-weight: 600;
    background: #fff;
}
.btn-outline-esme:hover {
    background: var(--esme-red);
    color: #fff;
}

/* ---------- Top promo strip ---------- */
.top-strip {
    width: 100%;
    line-height: 0;
    background: #111;
}
.top-strip-link {
    display: block;
}
.top-strip img {
    width: 100%;
    height: auto;
    max-height: 96px;
    object-fit: cover;
    object-position: center;
    display: block;
}
@media (max-width: 767.98px) {
    .top-strip img {
        max-height: 64px;
    }
}

/* ---------- Top utility bar (merged into header) ---------- */
.cat-nav-topline {
    background: var(--esme-topbar-bg) !important;
    color: var(--esme-topbar-text) !important;
    font-size: .8rem;
}
.cat-nav-topline .container {
    padding-top: .3rem;
    padding-bottom: .3rem;
}
.cat-nav-topline a {
    color: var(--esme-topbar-text) !important;
    text-decoration: none;
}
.cat-nav-topline a:hover { opacity: .8; }
.cat-nav-topline-links {
    display: flex;
    align-items: center;
    gap: 1rem;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    -ms-overflow-style: none;
    min-width: 0;
}
.cat-nav-topline-links::-webkit-scrollbar { display: none; }
.cat-nav-topline-phone {
    flex: 0 0 auto;
    color: var(--esme-topbar-text) !important;
    font-weight: 700;
    letter-spacing: .03em;
}
.cat-nav-topline-links a p,
.site-footer a p {
    display: inline;
    margin: 0;
}
.cat-nav-topline-links a img,
.site-footer a img {
    max-height: 1.1em;
    width: auto;
    vertical-align: middle;
}

/* ---------- Main header ---------- */
.main-header {
    background: #fff;
    border-bottom: 1px solid var(--esme-border);
}
.brand-logo {
    font-size: 1.9rem;
    font-weight: 800;
    letter-spacing: .04em;
    color: var(--esme-red) !important;
    text-decoration: none;
    line-height: 1;
}
.brand-logo span { color: var(--esme-dark); }
.brand-tagline {
    font-size: .66rem;
    color: var(--esme-text-muted);
    letter-spacing: .12em;
    text-transform: uppercase;
}
/* ---------- Shop bar (category button + search + account icons) ---------- */
.shop-bar {
    display: flex;
    align-items: stretch;
    gap: .75rem;
    padding: .85rem 0;
    flex-wrap: wrap;
}
.shop-bar-logo {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    text-decoration: none;
}
.shop-bar-logo img {
    max-width: 190px;
    max-height: 42px;
    display: block;
}
.shop-bar-logo-text {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: .04em;
    color: var(--esme-red);
    line-height: 1;
}
.shop-bar-search {
    display: flex;
    align-items: stretch;
    flex: 1 1 320px;
    min-width: 0;
}
.shop-bar-search-select {
    flex: 0 0 auto;
    max-width: 160px;
    border: 2px solid var(--esme-red);
    border-right: 0;
    border-radius: .5rem 0 0 .5rem;
    background: #fff;
    color: var(--esme-dark);
    font-size: .82rem;
    font-weight: 600;
    padding: 0 .5rem;
}
.shop-bar-search-input {
    flex: 1 1 auto;
    min-width: 0;
    border: 2px solid var(--esme-red);
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    padding: .5rem .75rem;
    font-size: .9rem;
}
.shop-bar-search-input:focus { outline: none; box-shadow: none; }
.shop-bar-search-btn {
    flex: 0 0 auto;
    border: 0;
    border-radius: 0 .5rem .5rem 0;
    background: var(--esme-red);
    color: #fff;
    padding-inline: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.shop-bar-search-btn:hover { background: var(--esme-red-dark); }
.shop-bar-actions {
    display: flex;
    align-items: center;
    gap: .25rem;
    flex: 0 0 auto;
}
.shop-bar-account {
    position: relative;
}
.shop-bar-account .dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    left: auto;
    margin-top: .15rem;
    z-index: 1060;
}
.shop-bar-account .dropdown-menu.show {
    display: block;
}
@media (min-width: 992px) {
    .shop-bar-account:hover > .dropdown-menu {
        display: block;
    }
}
.shop-bar-action {
    display: flex;
    align-items: center;
    gap: .5rem;
    color: var(--esme-dark);
    text-decoration: none;
    font-size: .82rem;
    font-weight: 600;
    padding: .5rem .6rem;
    border-radius: .5rem;
    line-height: 1.2;
}
.shop-bar-action:hover { background: var(--esme-gray); color: var(--esme-red); }
.shop-bar-action .ico {
    position: relative;
    display: inline-flex;
    font-size: 1.2rem;
    line-height: 1;
}
.shop-bar-action--icon { padding: .5rem; }
.shop-bar-badge {
    position: absolute;
    top: -.4rem;
    right: -.5rem;
    min-width: 16px;
    height: 16px;
    padding: 0 3px;
    border-radius: 50%;
    background: var(--esme-red);
    color: #fff;
    font-size: .62rem;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
}

/* ---------- Category nav (mega menu on non-home pages / mobile panel) ---------- */
.cat-nav {
    width: 100%;
    position: relative;
    z-index: 30;
}
.cat-nav-panel {
    background: var(--esme-red);
}
.cat-nav-list {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: stretch;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    gap: 0;
}
.cat-nav-list > .nav-item {
    flex: 1 1 0;
    min-width: 0;
    position: relative;
}
.cat-nav-item {
    display: flex;
    align-items: stretch;
    height: 100%;
}
.cat-nav-item .nav-link {
    flex: 1 1 auto;
}
.cat-nav-expand {
    display: none;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
    padding: 0;
}
.cat-nav-expand::before {
    content: "";
    width: .45rem;
    height: .45rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform .15s ease;
}
.cat-nav .dropdown.is-open > .cat-nav-item .cat-nav-expand::before {
    transform: rotate(-135deg);
    margin-top: .2rem;
}
.cat-nav .nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .25rem;
    color: #fff;
    font-weight: 700;
    font-size: clamp(.58rem, .55vw + .32rem, .78rem);
    padding: .65rem .2rem;
    white-space: nowrap;
    text-align: center;
    text-decoration: none;
    line-height: 1.2;
    overflow: hidden;
}
.cat-nav .nav-link > span {
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}
.cat-nav-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
    flex: 0 0 auto;
    display: block;
}
.cat-nav .nav-link:hover,
.cat-nav .dropdown:hover > .cat-nav-item .nav-link,
.cat-nav .dropdown:hover > .nav-link {
    background: var(--esme-red-dark);
    color: #fff;
}
.cat-nav .dropdown-menu {
    border: 0;
    border-radius: 0 0 .5rem .5rem;
    box-shadow: 0 14px 30px rgba(28, 35, 49, .18);
    margin-top: 0;
    max-height: min(70vh, 480px);
    overflow-y: auto;
}
.cat-nav .dropdown-item { font-size: .85rem; padding: .45rem 1.2rem; }
.cat-nav .dropdown-item:hover { color: var(--esme-red); background: var(--esme-gray); }
.cat-nav .dropdown-item.cat-nav-leaf {
    padding-left: 1.75rem;
    font-weight: 500;
    color: #4b5563;
}
@media (min-width: 992px) {
    .cat-nav-list .dropdown:hover > .dropdown-menu { display: block; }
}
@media (max-width: 991.98px) {
    .cat-nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1040;
        background: #fff;
        box-shadow: 0 2px 12px rgba(28, 35, 49, .08);
        overflow: visible;
    }
    body.has-fixed-mobile-header {
        padding-top: var(--mobile-header-h, 8.5rem);
    }
    .shop-bar {
        padding: .6rem 0;
        gap: .5rem .75rem;
        background: #fff;
        overflow: visible;
    }
    .shop-bar-logo {
        flex: 1 1 auto;
        order: 1;
    }
    .shop-bar-actions {
        flex: 0 0 auto;
        order: 2;
        gap: 0;
        position: relative;
        z-index: 1060;
    }
    .shop-bar-account .dropdown-menu {
        position: absolute;
        top: calc(100% + .15rem);
        right: 0;
        left: auto;
        min-width: 12.5rem;
        margin: 0;
        border: 1px solid var(--esme-border);
        border-radius: .5rem;
        box-shadow: 0 12px 28px rgba(28, 35, 49, .16);
        background: #fff;
        z-index: 1060;
    }
    .shop-bar-search {
        flex: 1 1 100%;
        order: 3;
    }
    .cat-nav-panel {
        display: none;
        border-top: 1px solid rgba(255, 255, 255, .18);
        margin-inline: -.75rem;
        max-height: min(70vh, 520px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        background: var(--esme-red);
    }
    .cat-nav.is-open .cat-nav-panel {
        display: block;
    }
    .cat-nav-list {
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: stretch;
        justify-content: flex-start;
        padding: .35rem 0 .65rem;
    }
    .cat-nav-list > .nav-item {
        flex: 0 0 auto;
        width: 100%;
        min-width: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .12);
    }
    .cat-nav-item {
        width: 100%;
    }
    .cat-nav-expand {
        display: inline-flex;
        border-left: 1px solid rgba(255, 255, 255, .18);
    }
    .cat-nav-list .nav-link {
        justify-content: flex-start;
        text-align: left;
        padding: .75rem 1rem;
        font-size: .88rem;
        white-space: normal;
        overflow: visible;
    }
    .cat-nav-list .nav-link > span {
        overflow: visible;
        text-overflow: unset;
        white-space: normal;
    }
    .cat-nav-list .dropdown-menu {
        display: none;
        position: static !important;
        float: none;
        width: 100%;
        margin: 0;
        padding: .25rem 0 .5rem;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        background: rgba(0, 0, 0, .14);
        max-height: none;
        overflow: visible;
        transform: none !important;
        inset: auto !important;
    }
    .cat-nav-list .dropdown.is-open > .dropdown-menu {
        display: block;
    }
    .cat-nav-list .dropdown-item {
        color: #fff;
        padding: .5rem 1.25rem;
    }
    .cat-nav-list .dropdown-item:hover {
        color: #fff;
        background: rgba(0, 0, 0, .18);
    }
    .cat-nav-list .dropdown-item.cat-nav-leaf {
        color: rgba(255, 255, 255, .85);
        padding-left: 1.85rem;
    }
    .cat-nav-list .dropdown-divider {
        border-color: rgba(255, 255, 255, .2);
        opacity: 1;
    }
}

/* ---------- Homepage category sidebar (aligned with slider) ---------- */
.cat-nav-toggle-caret {
    width: .45rem;
    height: .45rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    margin-left: auto;
    margin-top: -.15rem;
    flex: 0 0 auto;
}
.home-cat-rail {
    display: none;
    flex-direction: column;
    min-width: 0;
}
.home-cat-rail-head {
    display: flex;
    align-items: center;
    gap: .65rem;
    background: var(--esme-red);
    color: #fff;
    font-weight: 800;
    font-size: .72rem;
    letter-spacing: .02em;
    text-transform: uppercase;
    padding: .85rem 1rem;
    border-radius: .4rem .4rem 0 0;
    line-height: 1.25;
}
.home-cat-rail-icon {
    display: inline-flex;
    flex: 0 0 auto;
}
.home-cat-rail-body {
    background: #fff;
    border: 1px solid var(--esme-border);
    border-top: 0;
    border-radius: 0 0 .45rem .45rem;
    box-shadow: 0 12px 28px rgba(28, 35, 49, .08);
    overflow: visible;
}
.home-cat-rail .cat-nav-list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin: 0;
    padding: 0;
    list-style: none;
}
.home-cat-rail .cat-nav-list > .nav-item {
    width: 100%;
    position: relative;
    border-bottom: 1px solid var(--esme-border);
}
.home-cat-rail .cat-nav-list > .nav-item:last-child {
    border-bottom: 0;
}
.home-cat-rail .cat-nav-item {
    display: flex;
    align-items: stretch;
}
.home-cat-rail .nav-link {
    display: flex;
    align-items: center;
    gap: .65rem;
    flex: 1 1 auto;
    color: var(--esme-dark);
    font-weight: 600;
    font-size: .88rem;
    padding: .78rem 1rem;
    white-space: normal;
    text-decoration: none;
    line-height: 1.25;
}
.home-cat-rail .cat-nav-icon {
    width: 24px;
    height: 24px;
    filter: none;
}
.home-cat-rail .nav-link:hover,
.home-cat-rail .dropdown:hover > .cat-nav-item .nav-link,
.home-cat-rail .dropdown:hover > .nav-link {
    background: #fafbfc;
    color: var(--esme-red);
}
.home-cat-rail .cat-nav-expand {
    display: inline-flex;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: #9aa3b2;
    cursor: pointer;
    padding: 0;
}
.home-cat-rail .cat-nav-expand::before {
    content: "";
    width: .45rem;
    height: .45rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
}
.home-cat-rail .dropdown-menu {
    display: none;
    position: absolute;
    top: 0;
    left: calc(100% - 1px);
    min-width: 240px;
    margin: 0;
    padding: .45rem 0;
    border: 1px solid var(--esme-border);
    border-radius: 0 .45rem .45rem 0;
    box-shadow: 12px 12px 30px rgba(28, 35, 49, .12);
    background: #fff;
    max-height: min(70vh, 520px);
    overflow-y: auto;
    z-index: 50;
}
.home-cat-rail .dropdown:hover > .dropdown-menu,
.home-cat-rail .dropdown.is-open > .dropdown-menu {
    display: block;
}
.home-cat-rail .dropdown-item {
    font-size: .85rem;
    padding: .45rem 1.2rem;
    color: var(--esme-dark);
}
.home-cat-rail .dropdown-item:hover {
    color: var(--esme-red);
    background: var(--esme-gray);
}
.home-cat-rail .dropdown-item.cat-nav-leaf {
    padding-left: 1.75rem;
    font-weight: 500;
    color: #4b5563;
}
.home-cat-rail .dropdown-divider {
    border-color: var(--esme-border);
    opacity: 1;
}
@media (min-width: 992px) {
    body.page-home .cat-nav--home .cat-nav-panel {
        display: none !important;
    }
    body.page-home .home-hero {
        display: grid;
        grid-template-columns: 280px minmax(0, 1fr);
        gap: 1rem;
        align-items: start;
    }
    body.page-home .home-cat-rail {
        display: flex !important;
    }
    body.page-home .home-hero-main {
        min-width: 0;
    }
    body.page-home .home-hero .hero-carousel .carousel-item img {
        height: clamp(280px, 34vw, 460px);
        border-radius: .55rem;
    }
    body.page-home > main > .container.py-4 {
        padding-top: 1rem;
    }
}
@media (max-width: 991.98px) {
    body.page-home .home-cat-rail {
        display: none !important;
    }
    body.page-home .home-hero {
        display: block;
    }
}

/* ---------- Hero carousel ---------- */
.hero-carousel .carousel-item img {
    width: 100%;
    height: clamp(220px, 32vw, 460px);
    object-fit: cover;
    border-radius: .75rem;
}
.hero-carousel .carousel-indicators [data-bs-target] {
    background-color: var(--esme-red);
}

/* ---------- Section headers ---------- */
.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}
.section-head h2 {
    font-size: 1.3rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .02em;
    margin: 0;
    position: relative;
    padding-left: .85rem;
}
.section-head h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10%;
    bottom: 10%;
    width: 4px;
    border-radius: 2px;
    background: var(--esme-red);
}
.section-head .all-link {
    font-size: .85rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

/* ---------- Product cards ---------- */
.product-card {
    border: 1px solid var(--esme-border);
    border-radius: .75rem;
    overflow: hidden;
    height: 100%;
    transition: transform .15s ease, box-shadow .15s ease;
    background: #fff;
}
.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(28, 35, 49, .12);
}
.product-card .img-wrap {
    background: #fff;
    display: block;
    position: relative;
}
.product-card .img-wrap img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    padding: .75rem;
}
.product-card-image-link {
    display: block;
}
.product-card-favorite {
    position: absolute;
    top: .65rem;
    right: .65rem;
    z-index: 3;
}
.favorite-toggle {
    display: inline-flex;
    text-decoration: none;
    color: inherit;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
}
.favorite-toggle.on-card {
    position: static;
}
.favorite-btn {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 999px;
    border: 1px solid var(--esme-border);
    background: rgba(255, 255, 255, .95);
    color: #6b7280;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(28, 35, 49, .08);
    transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.favorite-btn:hover,
a.favorite-toggle:hover .favorite-btn,
.favorite-toggle.is-active .favorite-btn {
    color: var(--esme-red);
    border-color: #f3c0c0;
    background: #fff5f5;
}
.favorite-toggle.on-detail .favorite-btn {
    width: 3rem;
    height: 3rem;
}
.product-card .brand {
    color: var(--esme-red);
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.product-card a.brand,
a.brand-link {
    text-decoration: none;
}
.product-card a.brand:hover,
a.brand-link:hover {
    text-decoration: underline;
    color: var(--esme-red-dark);
}
.brand-link-detail {
    display: inline-block;
    color: var(--esme-red);
    letter-spacing: .08em;
    text-decoration: none;
}
.brand-link-detail:hover {
    color: var(--esme-red-dark);
    text-decoration: underline;
}
.product-card .name {
    font-size: .86rem;
    font-weight: 600;
    color: var(--esme-dark);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.6em;
}
.product-card .name:hover { color: var(--esme-red); }
.product-card .price {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--esme-dark);
}
.product-card .vat {
    font-size: .7rem;
    color: var(--esme-text-muted);
    font-weight: 500;
}
.price-list {
    font-size: .88rem;
    font-weight: 600;
    color: var(--esme-text-muted);
    text-decoration: line-through;
}
.price-list-lg {
    font-size: 1.05rem;
}
.product-discount-badge {
    position: absolute;
    top: .65rem;
    left: .65rem;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    background: var(--esme-red);
    color: #fff;
    font-size: .72rem;
    font-weight: 800;
    line-height: 1;
    padding: .4rem .5rem;
    border-radius: .4rem;
}
.product-discount-badge.detail {
    position: static;
    margin-bottom: .65rem;
    font-size: .8rem;
    padding: .45rem .65rem;
}
.product-detail-price .product-discount-badge {
    display: inline-flex;
}
.price-option-list {
    font-size: .78rem;
    color: var(--esme-text-muted);
    text-decoration: line-through;
    margin-top: .15rem;
}
.stock-badge { font-size: .68rem; }

/* ---------- Deals (Süper Fırsatlar) ---------- */
.deals-section {
    background: linear-gradient(135deg, var(--esme-red) 0%, var(--esme-red-dark) 100%);
    border-radius: 1rem;
    padding: 1.75rem 1.5rem;
    color: #fff;
}
.deals-section .section-title {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.deal-card {
    background: #fff;
    border-radius: .75rem;
    overflow: hidden;
    height: 100%;
}
.countdown {
    display: flex;
    gap: .4rem;
    justify-content: center;
}
.countdown .unit {
    background: var(--esme-dark);
    color: #fff;
    border-radius: .4rem;
    min-width: 46px;
    padding: .3rem .2rem;
    text-align: center;
    line-height: 1.1;
}
.countdown .unit b { font-size: .95rem; display: block; }
.countdown .unit small { font-size: .58rem; text-transform: uppercase; opacity: .75; }

/* ---------- Homepage category carousel ---------- */
.home-cat-carousel {
    position: relative;
    padding: 0 2.75rem;
}
.home-cat-carousel-track {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: .15rem .1rem .35rem;
}
.home-cat-carousel-track::-webkit-scrollbar { display: none; }
.home-cat-card {
    flex: 0 0 calc((100% - 3rem) / 4);
    min-width: 200px;
    max-width: 280px;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: inherit;
    background: #f3f4f6;
    border-radius: 1rem;
    padding: 1.15rem 1rem 1.35rem;
    transition: transform .18s ease, box-shadow .18s ease;
}
.home-cat-card:hover {
    color: inherit;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(28, 35, 49, .08);
}
.home-cat-card-media {
    width: 100%;
    aspect-ratio: 4 / 3;
    display: grid;
    place-items: center;
    margin-bottom: .85rem;
}
.home-cat-card-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.home-cat-card-placeholder {
    color: #9aa3b5;
    display: grid;
    place-items: center;
}
.home-cat-card-subtitle {
    margin: 0 0 .35rem;
    font-size: .78rem;
    line-height: 1.35;
    color: #6c757d;
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.1em;
}
.home-cat-card-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #1c2331;
    line-height: 1.25;
}
.home-cat-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid #e1e4ea;
    background: #fff;
    color: #1c2331;
    display: grid;
    place-items: center;
    box-shadow: 0 4px 14px rgba(28, 35, 49, .08);
    cursor: pointer;
    transition: background .15s ease, color .15s ease, opacity .15s ease;
}
.home-cat-carousel-btn:hover {
    background: var(--esme-red);
    border-color: var(--esme-red);
    color: #fff;
}
.home-cat-carousel-btn:disabled {
    opacity: .35;
    cursor: default;
    pointer-events: none;
}
.home-cat-carousel-btn.prev { left: 0; }
.home-cat-carousel-btn.next { right: 0; }

@media (max-width: 991.98px) {
    .home-cat-card { flex-basis: calc((100% - 1rem) / 2); min-width: 180px; }
}
@media (max-width: 575.98px) {
    .home-cat-carousel { padding: 0 2.4rem; }
    .home-cat-card { flex-basis: 78%; min-width: 210px; max-width: none; }
    .home-cat-carousel-btn { width: 36px; height: 36px; }
}

/* legacy cat-tile kept for safety */
.cat-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    background: var(--esme-gray);
    border: 1px solid var(--esme-border);
    border-radius: .75rem;
    padding: 1rem .5rem;
    text-align: center;
    text-decoration: none;
    color: var(--esme-dark);
    font-size: .8rem;
    font-weight: 700;
    height: 100%;
    transition: all .15s ease;
}
.cat-tile:hover {
    background: var(--esme-red);
    border-color: var(--esme-red);
    color: #fff;
}
.cat-tile .ico { font-size: 1.5rem; line-height: 1; display: inline-flex; }
.cat-tile-image {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: .5rem;
}
.cat-tile.has-image:hover .cat-tile-image {
    box-shadow: 0 0 0 2px rgba(255,255,255,.55);
}
.cat-tile-label { line-height: 1.25; }
.hero-carousel picture,
.hero-carousel .carousel-item > a { display: block; }

/* ---------- Brand strip ---------- */
.brand-strip {
    border: 1px solid var(--esme-border);
    border-radius: .75rem;
    background: #fff;
}
.brand-strip .brand-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    font-weight: 800;
    letter-spacing: .08em;
    color: #9aa1ac;
    font-size: .95rem;
    text-transform: uppercase;
    white-space: nowrap;
    text-decoration: none;
}
.brand-strip .brand-item:hover { color: var(--esme-red); }
.brand-strip .brand-logo {
    max-height: 36px;
    max-width: 110px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: .75;
    transition: filter .15s ease, opacity .15s ease;
}
.brand-strip .brand-item:hover .brand-logo {
    filter: none;
    opacity: 1;
}
.brand-page-head {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}
.brand-page-head .catalog-section-head {
    width: 100%;
}
.brand-page-logo {
    width: 72px;
    height: 72px;
    object-fit: contain;
    border: 1px solid var(--esme-border);
    border-radius: .65rem;
    background: #fff;
    padding: .4rem;
}
.brand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1rem;
}
.brand-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    min-height: 120px;
    padding: 1rem .75rem;
    border: 1px solid var(--esme-border);
    border-radius: .75rem;
    background: #fff;
    text-decoration: none;
    color: var(--esme-dark);
    font-weight: 800;
    text-align: center;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.brand-card:hover {
    border-color: var(--esme-red);
    color: var(--esme-red);
    box-shadow: 0 8px 20px rgba(28, 35, 49, .08);
}
.brand-card img {
    max-height: 48px;
    max-width: 100%;
    object-fit: contain;
}

/* ---------- Trust badges ---------- */
.trust-bar {
    background: var(--esme-gray);
    border-top: 1px solid var(--esme-border);
}
.trust-item { text-align: center; }
.trust-item .ico {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--esme-red);
    color: var(--esme-red);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: .5rem;
}
.trust-item strong {
    display: block;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.trust-item span { font-size: .74rem; color: var(--esme-text-muted); }

/* ---------- Footer ---------- */
.site-footer {
    background: var(--esme-footer-bg) !important;
    color: var(--esme-footer-text) !important;
    font-size: .84rem;
}
.site-footer h6 {
    color: var(--esme-footer-text) !important;
    font-size: .82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 1rem;
}
.site-footer a {
    color: var(--esme-footer-text) !important;
    text-decoration: none;
    display: inline-block;
    padding: .12rem 0;
}
.site-footer a:hover { opacity: .8; }
.site-footer .site-footer-brand,
.site-footer .brand-logo {
    color: var(--esme-footer-text) !important;
    display: inline-flex;
    align-items: center;
    padding: 0;
    line-height: 1;
}
.site-footer .site-footer-brand img {
    max-width: 180px;
    max-height: 48px;
    width: auto;
    height: auto;
    display: block;
}
.site-footer .phone-big {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--esme-footer-text) !important;
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .15);
    font-size: .78rem;
    color: inherit;
}

/* ---------- Forms / detail ---------- */
.form-shell {
    border: 1px solid var(--esme-border);
    border-radius: .75rem;
}
.detail-image {
    border: 1px solid var(--esme-border);
    border-radius: .75rem;
    background: #fff;
    padding: 1.5rem;
}
.detail-image img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
}
.product-gallery-thumbs{display:flex;gap:.6rem;margin-top:.75rem;overflow-x:auto;padding-bottom:.25rem}.product-gallery-thumb{width:72px;height:72px;flex:0 0 auto;padding:.25rem;border:1px solid var(--esme-border);border-radius:.55rem;background:#fff}.product-gallery-thumb.is-active{border-color:var(--esme-red);box-shadow:0 0 0 1px var(--esme-red)}.product-gallery-thumb img{width:100%;height:100%;object-fit:contain}
.price-tag { font-weight: 800; color: var(--esme-dark); }
.price-big {
    font-size: 2rem;
    font-weight: 800;
    color: var(--esme-red);
}
.price-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
    gap: .75rem;
}
.price-option {
    min-width: 0;
    padding: .85rem;
    border: 1px solid var(--esme-border);
    border-radius: .75rem;
    background: #fff;
    text-align: center;
    box-shadow: 0 2px 8px rgba(28, 35, 49, .04);
    cursor: pointer;
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
button.price-option {
    font: inherit;
    color: inherit;
    appearance: none;
    -webkit-appearance: none;
}
.price-option:hover {
    border-color: #f0a8b1;
}
.price-option.is-selected {
    border-color: var(--esme-red);
    box-shadow: 0 0 0 1px var(--esme-red), 0 6px 16px rgba(var(--esme-red-rgb), .1);
    background: #fff8f9;
}
.price-option:focus-visible {
    outline: 2px solid var(--esme-red);
    outline-offset: 2px;
}
.price-option-type {
    min-height: 1.1rem;
    color: var(--esme-text-muted);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .04em;
    overflow-wrap: anywhere;
}
.price-option.is-selected .price-option-type { color: var(--esme-red); }
.price-option-amount {
    margin-top: .25rem;
    color: var(--esme-dark);
    font-size: 1.15rem;
    font-weight: 800;
}
.price-option-meta {
    margin-top: .15rem;
    color: var(--esme-text-muted);
    font-size: .68rem;
}
.qty-group { max-width: 150px; }
.qty-group .form-control { text-align: center; }
.qty-stepper {
    display: flex;
    align-items: stretch;
    border: 1px solid var(--esme-border);
    border-radius: .5rem;
    overflow: hidden;
    background: #fff;
}
.qty-stepper .form-control {
    border: none;
    border-left: 1px solid var(--esme-border);
    border-right: 1px solid var(--esme-border);
    border-radius: 0;
    width: 56px;
    padding-inline: .25rem;
    -moz-appearance: textfield;
}
.qty-stepper .form-control::-webkit-outer-spin-button,
.qty-stepper .form-control::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.qty-stepper .form-control:focus {
    box-shadow: none;
    border-color: var(--esme-border);
}
.qty-btn {
    flex: 0 0 36px;
    border: none;
    background: #fff;
    color: var(--esme-dark);
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: background .15s ease;
}
.qty-btn:hover { background: var(--esme-bg-soft, #f6f6f8); }
.qty-btn:active { background: #eee; }
.detail-buy-buttons { min-width: 0; }
.detail-admin-edit-fab {
    position: fixed;
    left: 0;
    top: 50%;
    z-index: 1040;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 9rem;
    padding: 1rem .7rem;
    border: none;
    border-radius: 0 .75rem .75rem 0;
    background: #2563eb;
    color: #fff !important;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .02em;
    line-height: 1.25;
    text-decoration: none !important;
    text-align: center;
    box-shadow: 4px 0 18px rgba(37, 99, 235, .28);
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: translateY(-50%) rotate(180deg);
    transition: background .15s ease, padding .15s ease, box-shadow .15s ease;
}
.detail-admin-edit-fab:hover,
.detail-admin-edit-fab:focus {
    background: #1d4ed8;
    color: #fff !important;
    padding-inline: .85rem;
    box-shadow: 6px 0 22px rgba(37, 99, 235, .4);
}
@media (max-width: 767.98px) {
    .detail-admin-edit-fab {
        min-height: 7.5rem;
        padding: .75rem .55rem;
        font-size: .72rem;
    }
}
.catalog-search { width: min(100%, 340px); }
.catalog-filters {
    border: 1px solid var(--esme-border);
    border-radius: .85rem;
    background: #fff;
    padding: 1rem;
    position: sticky;
    top: 1rem;
}
.catalog-filter-block + .catalog-filter-block { margin-top: .9rem; }
.catalog-filter-label {
    display: block;
    font-size: .78rem;
    font-weight: 700;
    color: var(--esme-dark);
    margin-bottom: .35rem;
}
.catalog-price-hint {
    font-size: .72rem;
    color: #6b7280;
    margin-bottom: .4rem;
}
.catalog-toolbar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: .65rem;
    margin-bottom: 0;
}
.catalog-sort-select { width: auto; min-width: 12rem; }
.catalog-check-list {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    max-height: 16rem;
    overflow: auto;
    padding-right: .15rem;
}
.catalog-check {
    display: flex;
    align-items: flex-start;
    gap: .5rem;
    font-size: .84rem;
    color: var(--esme-dark);
    margin: 0;
    cursor: pointer;
}
.catalog-check.is-child {
    padding-left: 1.1rem;
    color: #4b5563;
}
.catalog-check input {
    margin-top: .15rem;
    flex: 0 0 auto;
    width: 1rem;
    height: 1rem;
    accent-color: var(--esme-red);
    cursor: pointer;
}
.price-range { margin-top: .15rem; }
.price-range-values {
    display: flex;
    justify-content: space-between;
    font-size: .82rem;
    font-weight: 700;
    color: var(--esme-dark);
    margin-bottom: .7rem;
}
.price-range-slider {
    position: relative;
    height: 1.6rem;
}
.price-range-track {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: .28rem;
    margin-top: -.14rem;
    border-radius: 999px;
    background: #e5e7eb;
    pointer-events: none;
}
.price-range-track::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--from, 0%);
    right: var(--to, 0%);
    border-radius: inherit;
    background: var(--esme-red);
}
.price-range-slider input[type="range"] {
    position: absolute;
    left: 0;
    width: 100%;
    top: 50%;
    margin: 0;
    transform: translateY(-50%);
    appearance: none;
    background: transparent;
    pointer-events: none;
    height: 1.6rem;
}
.price-range-slider input[data-price-from] { z-index: 2; }
.price-range-slider input[data-price-to] { z-index: 3; }
.price-range-slider input[type="range"]::-webkit-slider-runnable-track {
    height: .28rem;
    background: transparent;
}
.price-range-slider input[type="range"]::-moz-range-track {
    height: .28rem;
    background: transparent;
    border: none;
}
.price-range-slider input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--esme-red);
    box-shadow: 0 1px 4px rgba(28, 35, 49, .18);
    pointer-events: auto;
    cursor: pointer;
    margin-top: -.36rem;
}
.price-range-slider input[type="range"]::-moz-range-thumb {
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--esme-red);
    box-shadow: 0 1px 4px rgba(28, 35, 49, .18);
    pointer-events: auto;
    cursor: pointer;
}
@media (max-width: 991.98px) {
    .catalog-filters { position: static; }
    .catalog-section-head {
        flex-direction: column;
        align-items: stretch !important;
        gap: .75rem;
    }
    .catalog-toolbar { justify-content: flex-start; }
}
.cart-thumb {
    width: 78px;
    height: 78px;
    object-fit: contain;
    flex: 0 0 auto;
    border: 1px solid var(--esme-border);
    border-radius: .6rem;
    background: #fff;
}

/* ---------- Auth hero ---------- */
.auth-shell {
    max-width: 440px;
    margin-inline: auto;
}
.auth-shell .card { border: 1px solid var(--esme-border); border-radius: .75rem; }
.auth-head {
    text-align: center;
    margin-bottom: 1.25rem;
}
.auth-head .brand-logo { font-size: 2.2rem; }

/* ---------- Blog ---------- */
.blog-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--esme-border);
    border-radius: .75rem;
    background: #fff;
    overflow: hidden;
}
.blog-card-media {
    display: block;
    aspect-ratio: 16 / 10;
    background: #f3f4f6;
    overflow: hidden;
}
.blog-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.blog-card-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    font-weight: 800;
    letter-spacing: .08em;
    color: #c5c9d1;
    background: linear-gradient(135deg, #f7f8fa, #eceef2);
}
.blog-card-body {
    padding: 1.1rem 1.2rem 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.blog-card-date {
    font-size: .78rem;
    color: var(--esme-text-muted);
    font-weight: 600;
}
.blog-card-title {
    font-size: 1.05rem;
    font-weight: 800;
    margin: .45rem 0 .55rem;
    line-height: 1.35;
}
.blog-card-title a {
    color: var(--esme-dark);
    text-decoration: none;
}
.blog-card-title a:hover { color: var(--esme-red); }
.blog-card-excerpt {
    color: var(--esme-text-muted);
    font-size: .92rem;
    margin-bottom: 1rem;
    flex-grow: 1;
}
.blog-card-more {
    font-weight: 700;
    font-size: .9rem;
    color: var(--esme-red);
    text-decoration: none;
}
.blog-card-more:hover { text-decoration: underline; }
.blog-article-cover {
    margin: 0;
    border-radius: .75rem;
    overflow: hidden;
    border: 1px solid var(--esme-border);
}
.blog-article-cover img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    display: block;
}
.blog-article-body {
    font-size: 1.02rem;
    line-height: 1.7;
}

/* ---------- Account area ---------- */
.account-shell {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
}
.account-nav {
    position: sticky;
    top: 1rem;
    border: 1px solid var(--esme-border);
    border-radius: .75rem;
    background: #fff;
    padding: .85rem;
}
.account-nav-title {
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--esme-text-muted);
    margin: .25rem .65rem .75rem;
}
.account-nav a {
    display: block;
    padding: .65rem .75rem;
    border-radius: .55rem;
    color: var(--esme-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: .92rem;
}
.account-nav a:hover { background: #f7f8fa; color: var(--esme-red); }
.account-nav a.is-active {
    background: #fff5f6;
    color: var(--esme-red);
}
.account-head {
    margin-bottom: 1.25rem;
}
.account-head h1 {
    font-size: 1.55rem;
    font-weight: 800;
    margin-bottom: .35rem;
}
.account-stat {
    border: 1px solid var(--esme-border);
    border-radius: .75rem;
    background: #fff;
    padding: 1rem 1.1rem;
}
.account-stat small {
    display: block;
    color: var(--esme-text-muted);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: .35rem;
}
.account-stat strong {
    font-size: 1.05rem;
    word-break: break-word;
}
.account-tile {
    display: block;
    height: 100%;
    border: 1px solid var(--esme-border);
    border-radius: .75rem;
    background: #fff;
    padding: 1.15rem 1.25rem;
    text-decoration: none;
    color: inherit;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.account-tile:hover {
    border-color: #f0a8b1;
    box-shadow: 0 6px 18px rgba(28, 35, 49, .06);
    color: inherit;
}
.account-tile-title {
    display: block;
    font-weight: 800;
    margin-bottom: .35rem;
}
.account-tile-text {
    display: block;
    color: var(--esme-text-muted);
    font-size: .9rem;
}
.account-form-narrow { max-width: 480px; }
.address-card {
    height: 100%;
    border: 1px solid var(--esme-border);
    border-radius: .75rem;
    background: #fff;
    padding: 1.15rem 1.25rem;
}
.address-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: .75rem;
    margin-bottom: .75rem;
}
.address-card-top h2 {
    font-size: 1.05rem;
    font-weight: 800;
    margin: 0;
}
.address-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
    flex-shrink: 0;
}
@media (max-width: 991.98px) {
    .account-shell { grid-template-columns: 1fr; }
    .account-nav {
        position: static;
        display: flex;
        flex-wrap: wrap;
        gap: .35rem;
        padding: .65rem;
    }
    .account-nav-title { width: 100%; margin: .15rem .35rem .35rem; }
    .account-nav a { padding: .5rem .7rem; font-size: .85rem; }
}

@media (max-width: 767.98px) {
    body { overflow-x: clip; }
    .main-header .container { padding-inline: .75rem; }
    .brand-logo { font-size: 1.55rem; }
    .shop-bar-action { padding: .45rem; }
    .section-head {
        align-items: stretch;
        flex-direction: column;
    }
    .catalog-search { width: 100%; }
    .deals-section { padding: 1rem .75rem; }
    .brand-strip { overflow-x: auto; }
    .brand-strip .row {
        min-width: max-content;
        flex-wrap: nowrap;
    }
    .detail-image { padding: .75rem; }
    .detail-buy-row { align-items: stretch !important; }
    .detail-add-button, .detail-installment-button { flex: 1 1 220px; }
    .trust-item .ico { width: 44px; height: 44px; }
}

@media (max-width: 575.98px) {
    .cat-nav-topline { font-size: .68rem; }
    .cat-nav-topline-links { gap: .7rem; }
    .hero-carousel .carousel-item img { height: 210px; }
    .section-head h2 { font-size: 1.05rem; }
    .product-card .p-3 { padding: .65rem !important; }
    .product-card .name { font-size: .78rem; }
    .product-card .price { font-size: .92rem; }
    .product-card .vat { font-size: .62rem; }
    .product-card .btn { padding-inline: .35rem; font-size: .72rem; }
    .product-price-row { align-items: flex-start !important; flex-wrap: wrap; }
    .product-price-row .stock-badge { margin-left: 0 !important; }
    .price-big { font-size: 1.6rem; }
    .price-options { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
    .price-option { padding: .65rem .4rem; }
    .price-option-amount { font-size: .98rem; }
    .qty-group { max-width: none; width: 100%; }
    .qty-stepper { width: 100%; }
    .qty-stepper .form-control { flex: 1 1 auto; width: auto; }
    .detail-buy-buttons { width: 100%; flex-direction: column; }
    .detail-add-button, .detail-installment-button { width: 100%; flex-basis: 100%; }
    .cart-thumb { width: 64px; height: 64px; }
    .countdown { gap: .25rem; }
    .countdown .unit { min-width: 39px; }
}

.product-preface { white-space: pre-line; line-height: 1.7; }
.product-description {
    border: 1px solid var(--esme-border);
    border-radius: .85rem;
    padding: clamp(1rem, 3vw, 2rem);
    overflow: hidden;
}
.product-description h2 { font-size: 1.3rem; font-weight: 800; margin-bottom: 1.25rem; }
.product-description-content { line-height: 1.75; overflow-wrap: anywhere; }
.product-description-content img { max-width: 100%; height: auto; border-radius: .5rem; }
.product-description-content table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.product-description-content th,.product-description-content td { padding: .55rem .7rem; border: 1px solid var(--esme-border); }
.home-html-block { line-height: 1.75; overflow-wrap: anywhere; }
.home-html-block img { max-width: 100%; height: auto; border-radius: .5rem; }
.home-html-block table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.home-html-block th,.home-html-block td { padding: .55rem .7rem; border: 1px solid var(--esme-border); }
.home-html-block > *:last-child { margin-bottom: 0; }
.content-page { max-width: 920px; }

.site-toast {
    position: fixed;
    left: 50%;
    bottom: 1.5rem;
    z-index: 1080;
    max-width: min(92vw, 360px);
    padding: .85rem 1.15rem;
    border-radius: .75rem;
    background: var(--esme-dark);
    color: #fff;
    font-size: .92rem;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 12px 28px rgba(28, 35, 49, .22);
    transform: translate(-50%, 1rem);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease;
}
.site-toast.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}
.site-toast.is-hiding {
    opacity: 0;
    transform: translate(-50%, .75rem);
}
.site-toast.is-error {
    background: #8b1e1e;
}

@media (max-width: 359.98px) {
    .price-options { grid-template-columns: 1fr; }
    .product-card .vat { display: none; }
}
