/* ============================================================
   ROLL-N-BEER — Full Redesign ( inspired)
   Font: Inter (Google Fonts) / ProximaSoft vibe
   ============================================================ */

/* ---- CSS Variables ---- */
:root {
    --font: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --primary: #de2d26;
    --primary-dark: #b5211c;
    --primary-light: #ffeaea;
    --dark: #1b1d1e;
    --dark-soft: #252729;
    --text: #363f4d;
    --text-light: #6b7280;
    --text-muted: #9ca3af;
    --bg: #f5f6fa;
    --bg-white: #ffffff;
    --border: #e8eaef;
    --border-light: #f0f1f5;
    --green: #5a9801;
    --green-bg: #eaf5da;
    --yellow: #f3c720;
    --shadow-xs: 0 1px 3px rgba(0,0,0,0.04);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-full: 9999px;
    --transition: 0.25s cubic-bezier(0.4,0,0.2,1);
    --container: 1320px;
}

/* ---- Reset enhancements ---- */
*, *::before, *::after { box-sizing: border-box; }
body {
    font-family: var(--font);
    color: #000;
    background: var(--bg);
    font-size: 0.875rem;
    line-height: 1.28;
    font-weight: 500;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
}
input, button, textarea { font-size: inherit; font-family: var(--font); }
h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 { font-weight: inherit; font-size: inherit; }
h1, .h1 { font-size: 46px; font-weight: 800; line-height: 100%; text-transform: uppercase; }
h2, .h2 { font-size: 24px; font-weight: 800; line-height: 100%; text-transform: uppercase; }
h3, .h3 { font-size: 24px; font-weight: 500; line-height: 1; text-transform: uppercase; }
h4, .h4 { font-size: 18px; font-weight: 500; line-height: 20px; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary); }
img { max-width: 100%; height: auto; }
.container { width: 100% !important; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
/* Kill Bootstrap clearfix pseudo-elements on all containers */
.container::before, .container::after,
.navbar-new__inner::before, .navbar-new__inner::after { display: none; }
/* Neutralize nested .container inside main content area */
.fn_ajax_content .container { padding: 0; max-width: none; }
/* Kill Bootstrap col-* padding inside products grid only (not cart/forms) */
.fn_ajax_content .products-grid > [class*="col-"] { padding-left: 0; padding-right: 0; }
.fn_ajax_content .products-grid > .products-item { padding-left: 2.5px; padding-right: 2.5px; }


/* ================================================================
   TOP BAR
   ================================================================ */
.top-bar {
    background: var(--dark);
    color: rgba(255,255,255,.85);
    font-size: 14px;
    padding: 8px 0;
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0;
}
.top-bar__left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: nowrap;
    margin-right: auto;
}
.top-bar__right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    margin-left: auto;
}
.top-bar__item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}
.top-bar__icon {
    opacity: .7;
    flex-shrink: 0;
}
.top-bar__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    background: rgba(255,255,255,.1);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 500;
    transition: all var(--transition);
    white-space: nowrap;
}
.top-bar__btn:hover {
    background: var(--primary);
    color: #fff;
}
.top-bar__btn svg { opacity: .8; }
/* Mobile-only location button in top-bar (hidden on desktop) */
.top-bar__location { display: none; }
.top-bar__delivery-row { display: none; }


/* ================================================================
   MAIN HEADER
   ================================================================ */
.main-header {
    background: var(--bg-white);
    padding: 16px 0;
    border-bottom: 1px solid var(--border-light);
}
.main-header .container {
    display: flex;
    align-items: center;
    gap: 24px;
}

/* Logo */
.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-decoration: none;
    flex-shrink: 0;
}
.logo__name {
    font-size: 28px;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: 2px;
    line-height: 1.1;
}
.logo__sub {
    font-size: 14px;
    font-weight: 500;
    color: #333333;
    text-transform: uppercase;
    display: block;
}
.logo:hover .logo__name { color: var(--primary); }

/* Location */
.header-location {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}
.header-location__label {
    font-size: 13px;
    color: var(--text-light);
    white-space: nowrap;
}
.header-location__value {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
    font-size: 14px;
    color: var(--dark);
    padding: 6px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}
.header-location__value:hover {
    border-color: var(--primary);
    color: var(--primary);
}
.header-location__arrow { transition: transform var(--transition); }
.header-location__value:hover .header-location__arrow { transform: rotate(180deg); }

/* Phones */
.header-phones {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-left: auto;
    flex-shrink: 0;
}
.header-phones__num {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    white-space: nowrap;
}
.header-phones__num:hover { color: var(--primary); }

/* Wishlist in header */
.header-wishlist {
    flex-shrink: 0;
}
.header-wishlist .item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
    font-size: 13px;
    white-space: nowrap;
}
.header-wishlist .item .count {
    background: var(--primary);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: -4px;
}
.header-wishlist .item .title { font-weight: 600; font-size: 13px; }
.header-wishlist .item .text { font-size: 12px; color: var(--text-muted); }

/* Search icon button */
.header-search-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--bg);
    cursor: pointer;
    transition: all var(--transition);
    flex-shrink: 0;
    color: var(--text-light);
}
.header-search-icon:hover {
    background: var(--primary);
    color: #fff;
}

/* Cart in header */
.header-cart {
    flex-shrink: 0;
}
.header-cart .item,
.cart_informer .item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--primary);
    color: #fff;
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 14px;
    transition: all var(--transition);
    white-space: nowrap;
    position: relative;
}
.header-cart .item:hover,
.cart_informer .item:hover {
    background: var(--primary-dark);
    color: #fff;
}
.header-cart .item.disabled,
.cart_informer .item.disabled {
    background: var(--bg);
    color: var(--text-muted);
}
.header-cart .item .count,
.cart_informer .item .count {
    background: #fff;
    color: var(--primary);
    font-size: 11px;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}
.header-cart .item.disabled .count,
.cart_informer .item.disabled .count {
    background: var(--border);
    color: var(--text-muted);
}
.header-cart .item .title,
.cart_informer .item .title { display: none; }
.header-cart .item svg,
.cart_informer .item svg { width: 22px; height: 22px; }
.cart_informer .item > div { display: flex; flex-direction: column; }
.cart_informer .item .text { font-size: 12px; opacity: .85; }

/* Search panel (dropdown) */
.header-search-panel {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
    animation: slideDown .3s ease;
}
.header-search-panel .container {
    position: relative;
}
.header-search-panel form {
    display: flex;
    align-items: center;
    gap: 8px;
}
.header-search-panel input[type="text"] {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 16px;
    font-family: var(--font);
    outline: none;
    transition: border-color var(--transition);
}
.header-search-panel input[type="text"]:focus { border-color: var(--primary); font-size: 12px !important;}
.header-search-panel button {
    background: var(--primary);
    border: none;
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition);
}
.header-search-panel button:hover { background: var(--primary-dark); }
.header-search-panel__close {
    cursor: pointer;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    padding: 8px;
    transition: color var(--transition);
}
.header-search-panel__close:hover { color: var(--primary); }


/* ================================================================
   NAVBAR (horizontal categories menu —  style)
   ================================================================ */
.navbar-new {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow var(--transition);
    width: 100%;
    left: 0;
    right: 0;
}
.navbar-new.is-scrolled {
    box-shadow: var(--shadow-md);
}
.navbar-new.is-scrolled .navbar-new__promo { padding: 6px 12px; font-size: 14px; }
.navbar-new.is-scrolled .navbar-new__hit { padding: 6px 12px; font-size: 14px; }
.navbar-new.is-scrolled #header_cats .lev1 > li > a { padding: 6px 10px; font-size: 14px; }
.navbar-new.is-scrolled #header_cats .lev1 { padding: 2px 0; }
/* Sticky cart inside navbar when scrolled */
.navbar-new__cart {
    display: none;
    flex-shrink: 0;
}
.navbar-new.is-scrolled .navbar-new__cart {
    display: flex;
    margin-left: 8px;
}
.navbar-cart-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: all var(--transition);
}
.navbar-cart-btn:hover { background: var(--primary-dark); color: #fff; }
.navbar-cart-btn svg { stroke: #fff; }
.navbar-cart-btn__count {
    background: rgba(255,255,255,.25);
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}
.navbar-cart-btn__count:empty { display: none; }

/* Override cart_informer AJAX replacement inside navbar sticky cart */
.navbar-new__cart .cart_informer {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}
.navbar-new__cart .cart_informer:hover { background: var(--primary-dark); color: #fff; }
.navbar-new__cart .cart_informer .item {
    display: contents;
}
.navbar-new__cart .cart_informer .item .title,
.navbar-new__cart .cart_informer .item .text,
.navbar-new__cart .cart_informer .item > div { display: none; }
.navbar-new__cart .cart_informer .item svg { width: 22px; height: 22px; stroke: #fff; }
.navbar-new__cart .cart_informer .item .count {
    background: rgba(255,255,255,.25);
    color: #fff;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    min-width: auto;
    padding: 0;
}

.navbar-new__inner {
    display: flex;
    align-items: center;
    position: relative;
    gap: 0;
}

/* Scroll arrows for categories */
.navbar-new__arrow {
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    z-index: 10;
    border: 1px solid var(--border);
    border-radius: 50%;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    background: var(--bg-white);
    color: var(--text);
    padding: 0;
    box-shadow: 0 0 12px 14px var(--bg-white);
    transition: all var(--transition);
}
.navbar-new__arrow:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 0 12px 14px var(--bg-white);
}
.navbar-new__arrow--left {
    left: 0;
}
.navbar-new__arrow--right {
    right: 0;
}
.navbar-new__arrow.is-visible {
    display: flex;
}

/* Nav strip  —  pill style */
#header_cats { flex: 1; min-width: 0; overflow: hidden; position: relative; }
#header_cats nav {
    display: flex;
    align-items: center;
    position: relative;
}
#header_cats nav > .click_active {
    display: none;
}
#header_cats .lev1 {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 4px 0;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
    background: transparent;
}
#header_cats .lev1::-webkit-scrollbar { display: none; }

/* "Акции" promo link — first in row */
.navbar-new__promo {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 16px;
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    background: var(--primary);
    white-space: nowrap;
    flex-shrink: 0;
    transition: all var(--transition);
    text-decoration: none;
    border-radius: var(--radius-sm);
    margin-right: 2px;
    line-height: 16px;
}
.navbar-new__promo:hover {
    background: var(--primary-dark);
    color: #fff;
}
.navbar-new__hit {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 16px;
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    background: var(--green, #5a9e1b);
    white-space: nowrap;
    flex-shrink: 0;
    transition: all var(--transition);
    text-decoration: none;
    border-radius: var(--radius-sm);
    margin-right: 2px;
    line-height: 16px;
}
.navbar-new__hit:hover {
    background: #4a8001;
    color: #fff;
}

/* Category menu items —  rounded pills */
#header_cats .lev1 > li {
    position: relative;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    background: transparent;
    transition: background var(--transition);
}
#header_cats .lev1 > li:hover {
    background: var(--border);
}
#header_cats .lev1 > li.selected,
#header_cats .lev1 > li.selected:hover {
    background: var(--yellow);
}
#header_cats .lev1 > li > a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 14px;
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    white-space: nowrap;
    transition: color var(--transition);
    line-height: 16px;
    letter-spacing: 0px;
    border-bottom: none;
    text-transform: uppercase;
}
#header_cats .lev1 > li:hover > a {
    color: var(--dark);
}
#header_cats .lev1 > li.selected > a {
    color: var(--dark);
    font-weight: 600;
}
#header_cats .lev1 > li > a .sub { display: none; }

/* Dropdown level 2 */
#header_cats .lev2 {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--bg-white);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    box-shadow: var(--shadow-lg);
    list-style: none;
    padding: 8px 0;
    margin: 0;
    z-index: 100;
}
#header_cats .lev1 > li:hover > .lev2 { display: block; }
#header_cats .lev2 > li > a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 400;
    color: var(--text);
    transition: all var(--transition);
}
#header_cats .lev2 > li > a:hover {
    background: var(--bg);
    color: var(--primary);
}
#header_cats .lev3 {
    display: none;
    list-style: none;
    padding: 0;
    margin: 0;
    background: var(--bg);
}
#header_cats .lev2 > li:hover > .lev3 { display: block; }
#header_cats .lev3 > li > a {
    display: block;
    padding: 8px 20px 8px 32px;
    font-size: 13px;
    color: var(--text-light);
}
#header_cats .lev3 > li > a:hover { color: var(--primary); }


/* ================================================================
   USP BAR
   ================================================================ */
.usp-bar {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
    padding: 24px 0;
}
.usp-bar__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.usp-bar__item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    background: var(--bg);
    transition: all var(--transition);
}
.usp-bar__item:hover {
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}
.usp-bar__icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.usp-bar__text strong {
    display: block;
    font-size: 16px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 2px;
    text-transform: uppercase;
}
.usp-bar__text span {
    font-size: 13px;
    color: #333333;
}


/* ================================================================
   SUBCATEGORIES (-style pills)
   ================================================================ */
#subcats {
    display: none;
    padding: 16px 0 8px;
    max-width: var(--container);
    margin: 0 auto;
    overflow: hidden;
}
#subcats .subcats-list {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
}
#subcats .subcats-list::-webkit-scrollbar { display: none; }
#subcats .subcats-list .col {
    flex: 0 0 auto;
    min-width: 120px;
    max-width: 160px;
}
#subcats .item {
    text-align: center;
    padding: 12px 8px;
    border-radius: var(--radius-md);
    background: var(--bg-white);
    border: 1px solid var(--border);
    transition: all var(--transition);
    position: relative;
    cursor: pointer;
}
#subcats .item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}
#subcats .item .image { margin-bottom: 8px; }
#subcats .item .image img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}
#subcats .item .name {
    font-size: 13px;
    font-weight: 600;
    color: var(--dark);
    margin: 0;
}
#subcats .item .name span { color: var(--text-muted); font-weight: 400; font-size: 12px; }
#subcats .item .over-all {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
}


/* ================================================================
   BANNER / SLIDER
   ================================================================ */
#fullscr_main {
    margin-bottom: 24px;
}
.b_content {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 420px;
}
.b_content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: var(--radius-lg);
}
.b_content .title {
    position: absolute;
    bottom: 120px;
    left: 32px;
    right: 32px;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,.5);
    z-index: 2;
}
.b_content .subtitle {
    position: absolute;
    bottom: 60px;
    left: 32px;
    right: 32px;
    font-size: 15px;
    color: rgba(255,255,255,.9);
    text-shadow: 0 1px 4px rgba(0,0,0,.4);
    z-index: 2;
}
.b_content .btn {
    position: absolute;
    bottom: 20px;
    left: 32px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: #fff;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 15px;
    transition: all var(--transition);
    border: none;
    cursor: pointer;
    z-index: 2;
}
.b_content .btn:hover { background: var(--primary-dark); color: #fff; }
.b_content .over-all {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 1;
}


/* ================================================================
   TABS (main page)
   ================================================================ */
.tabs {
    margin-bottom: 32px;
}
.tabs .container { padding: 0; }
.tabs .container.shadow-1 {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}
.tab_navigation {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
}
.tab_navigation > a {
    padding: 8px 20px;
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-weight: 500;
    line-height: 16px;
    color: var(--text-light);
    background: var(--bg);
    border: none;
    transition: all var(--transition);
}
.tab_navigation > a:hover {
    background: var(--border);
    color: var(--dark);
}
.tab_navigation > a.active {
    background: var(--yellow);
    border: none;
    color: var(--dark);
    font-weight: 600;
}

.tab_container .tab { display: none; }
.tab_container .tab.active { display: block; }


/* ================================================================
   PRODUCT GRID
   ================================================================ */
/* Cross-sell heading */
.cross-sell-heading {
    margin-top: 50px;
    margin-bottom: 35px !important;
}

/* products-grid: let Bootstrap .row + .col-* handle layout on catalog pages */
.products-grid {
    margin: 0 -2.5px;
}
.products-grid .products-item {
    min-width: 0;
    padding-left: 2.5px !important;
    padding-right: 2.5px !important;
    margin-bottom: 10px;
}

/* ================================================================
   PRODUCT CARD
   ================================================================ */
.preview.product {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    padding: 16px;
    position: relative;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}
.preview.product:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    border-color: var(--border);
}

/* Image wrapper with overlay */
.product-card__image-wrap {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 12px;
}
.product-card__image-wrap .preview_image {
    display: block;
    margin: 0 !important;
}
.product-card__image-wrap .preview_image img {
    width: 100% !important;
    height: 270px;
    object-fit: contain;
    display: block;
    border-radius: var(--radius-md);
    transition: transform var(--transition);
}
.preview.product:hover .product-card__image-wrap img {
    transform: scale(1.03);
}

/* Composition overlay on hover */
.product-card__overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,.95);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 16px 14px;
    opacity: 0;
    transition: opacity var(--transition);
    text-align: center;
    border-radius: 0;
    z-index: 8;
    pointer-events: none;
    overflow-y: auto;
}
.product-card__image-wrap:hover .product-card__overlay {
    opacity: 1;
    z-index: 11;
    pointer-events: auto;
}
/* Composition overlay for old product_list_related.tpl (via annotation) */
.preview.product .preview_image {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
}
.product-card__overlay-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    margin-bottom: 6px;
}
.product-card__overlay-text {
    font-size: 12px;
    color: var(--text-light);
    line-height: 1.45;
    margin-bottom: 8px;
}
/* Properties in overlay */
.product-card__overlay-props {
    width: 100%;
    text-align: left;
}
.product-card__overlay-prop {
    display: flex;
    justify-content: space-between;
    gap: 6px;
    padding: 3px 0;
    font-size: 12px;
    line-height: 1.3;
    border-bottom: 1px dotted var(--border);
}
.product-card__overlay-prop:last-child { border-bottom: none; }
.product-card__overlay-prop-name {
    color: var(--text-muted);
    white-space: nowrap;
    font-size: 14px;
}
.product-card__overlay-prop-value {
    color: var(--dark);
    font-weight: 600;
    text-align: right;
    font-size: 16px;
}
/* "Состав блюда" — value goes below label, full width */
.product-card__overlay-prop--full {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}
.product-card__overlay-prop--full .product-card__overlay-prop-value {
    text-align: left;
}

/* Product name */
.preview.product h3 {
    font-size: 24px;
    font-weight: 500;
    margin: 0 0 8px;
    line-height: 1.1;
    color: var(--dark);
    min-height: 52px;
}
.preview.product h3 a,
.product_name {
    color: var(--dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.preview.product:hover h3,
.preview.product:hover .product_name { color: var(--primary); }

/* Description / properties */
.preview.product .description_text {
    font-size: inherit;
    font-weight: 500;
    line-height: 18px;
    color: rgb(140, 141, 149);
    margin-bottom: 8px;
    flex-grow: 1;
}
.features_inline {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 2px;
}
.features_inline .name {
    display: flex;
    align-items: baseline;
    flex: 1;
    min-width: 0;
}
.features_inline .name .b-dotted-line__title {
    white-space: nowrap;
    font-size: 12px;
    color: var(--text-muted);
}
.features_inline .name .line {
    flex: 1;
    border-bottom: 1px dotted var(--border);
    margin: 0 4px;
    min-width: 8px;
}
.features_inline .value {
    font-weight: 600;
    font-size: 12px;
    color: var(--text);
    white-space: nowrap;
}

/* Price */
.price_container {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 10px;
    margin-top: auto;
    flex-wrap: wrap;
}
.price_container .price {
    font-size: 24px;
    font-weight: 800;
    line-height: 100%;
    color: #000;
}
.price_container .old_price {
    font-size: 14px;
    font-weight: 500;
    color: rgb(185, 187, 189);
    text-decoration: line-through;
}
.price_container .old_price span { color: var(--primary) !important; }

/* Actions row: buy button left, price right */
.product-card__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
}
.product-card__actions .preview_form {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: none;
}
.product-card__actions .price_container {
    margin-top: 0;
    margin-bottom: 0;
    margin-left: auto;
}

/* Buy button — icon only, round, same size as wishlist */
.btn-buy {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    background: var(--primary);
    color: #fff;
    font-size: 0;
    line-height: 1;
    font-family: var(--font);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition);
    flex-shrink: 0;
}
.btn-buy svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}
.btn-buy:hover {
    background: var(--primary-dark);
}
.btn-buy.disabled { background: var(--border); color: var(--text-muted); cursor: default; pointer-events: none; }
.btn-buy--preorder { background: var(--green); }
.btn-buy--preorder:hover { background: #4a8001; }

/* Wishlist button — inline in actions row, semi-transparent */
.btn-wishlist {
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.85);
    border: 1px solid var(--border);
    color: var(--text-muted);
    transition: all var(--transition);
    cursor: pointer;
    opacity: 0.5;
}
.btn-wishlist.selected {
    opacity: 0.8;
    background: var(--primary-light);
    border-color: var(--primary);
    color: var(--primary);
}
.btn-wishlist:hover {
    opacity: 1;
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}

/* Variant select */
.variant_select {
    display: block;
    width: auto;
    max-width: 140px;
    margin-top: 0;
    padding: 6px 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    outline: none;
}
.variant_select:focus { border-color: var(--primary); }

/* Labels */
.product-labels {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 5;
    transition: opacity var(--transition);
}
.product-card__image-wrap:hover .product-labels {
    opacity: 0;
    pointer-events: none;
}
.product-label {
    display: inline-block;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 500;
}
.product-label--hit {
    background: var(--primary);
    color: #fff;
}
.product-label--cashback {
    background: var(--green);
    color: #fff;
}
.product-label--discount {
    background: var(--yellow);
    color: var(--dark);
}
.product-label--adult {
    background: #000;
    color: #fff;
}

/* Old labels compat */
.preview .featured { background: var(--primary); color: #fff; padding: 4px 10px; border-radius: var(--radius-full); font-size: 12px; font-weight: 500; }
.preview .discounted { background: var(--yellow); color: var(--dark); padding: 4px 10px; border-radius: var(--radius-full); font-size: 12px; font-weight: 500; }
.preview .cashback_value { background: var(--green); color: #fff; padding: 4px 10px; border-radius: var(--radius-full); font-size: 12px; font-weight: 500; }

/* Old overlay_buttons (hidden, replaced by btn-wishlist) */
.overlay_buttons { display: none; }

/* Slick product slider — equal height cards */
.slick-products .slick-track { display: flex !important; }
.slick-products .slick-slide { height: auto; display: flex !important; }
.slick-products .slick-slide > div { height: 100%; display: flex; width: 100%; }
.slick-products .products-item { height: 100%; display: flex; }
.slick-products .preview.product { height: 100%; display: flex; flex-direction: column; }
.slick-products .preview.product h3 { height: 52px; min-height: 52px; overflow: hidden; }
.slick-products .preview.product .product-card__actions { margin-top: auto; }


/* ================================================================
   FILTER GROUP in catalog (kits, features)
   ================================================================ */
.filter_group.clearfix {
    padding: 5px 0;
}
.filter_group .row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    justify-content: center;
}
.filter_group .row > .item {
    padding: 0 !important;
}
.filter_group .row > .item .filter_link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 16px;
    font-size: 16px;
    line-height: 16px;
}
.filter_group .row > .item .filter_link .indicator { display: none; }

/* "Показать ещё" link in filters/kits */
.link-more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    transition: all var(--transition);
    cursor: pointer;
    text-decoration: none;
    margin-top: 4px;
}
.link-more:hover {
    background: var(--primary-light);
    border-color: var(--primary);
    color: var(--primary);
}
.link-less {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    transition: all var(--transition);
    cursor: pointer;
    text-decoration: none;
    margin-top: 4px;
}
.link-less:hover {
    background: var(--primary-light);
    border-color: var(--primary);
    color: var(--primary);
}


/* ================================================================
   CITY LIST (delivery in other cities)
   ================================================================ */
.city-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 16px 0;
}
.city-item a {
    display: inline-block;
    padding: 6px 16px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    transition: all var(--transition);
}
.city-item a:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}
.city-item--hidden { display: none; }
.show-more-btn .toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
    background: var(--bg);
    border: 1px solid var(--primary);
    border-radius: var(--radius-full);
    transition: all var(--transition);
    cursor: pointer;
}
.show-more-btn .toggle-btn:hover {
    background: var(--primary);
    color: #fff !important;
}


/* ================================================================
   TITLE BLOCK (recommend / new / sections)
   ================================================================ */
.title_block {
    font-size: 24px;
    font-weight: 800;
    line-height: 100%;
    color: var(--dark);
    margin-bottom: 8px;
    text-transform: uppercase;
}
.title_block span { color: var(--primary); }
.title_block_text {
    font-size: 14px;
    font-weight: 500;
    color: rgb(140, 141, 149);
    margin-bottom: 16px;
    text-transform: none;
    text-align: center;
}

/* Recommend / New sections spacing */
.recommend-section {
    margin-top: 50px;
    margin-bottom: 0;
}


/* ================================================================
   PRODUCTS TOOLBAR / SORT / PAGINATION
   ================================================================ */
.products-toolbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-bottom: 16px;
}
.pagination_bottom {
    margin-bottom: 24px;
}
.page-item {
    font-size: 16px;
}


/* ================================================================
   SIDEBAR INFO BLOCK (work time, delivery cost)
   ================================================================ */
.sidebar .title {
    font-size: 18px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 12px;
}


/* ================================================================
   INGREDIENT GROUPS
   ================================================================ */
.ingredient_group {
    font-size: 13px;
    margin-bottom: 8px;
}
.wrap_ingredient {
    display: flex;
    align-items: center;
    position: relative;
}
.group_title { font-weight: 600; color: var(--text); }
.ingredient_group .price { margin-left: 8px; font-weight: 700; font-size: 13px; }
.ingredient_group .ingredient_amount { margin-left: 4px; color: var(--text-muted); }
.ingredient_group .fn_switch {
    margin-left: 8px;
    cursor: pointer;
}
.ingredient_group .fn_switch .add,
.ingredient_group .fn_switch .add-icon,
.ingredient_group .fn_switch i.fa { display: none; }
.ingredient_group .fn_switch::after {
    content: 'Добавить';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    background: var(--primary-light);
    border: 1px solid var(--primary);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    font-family: var(--font);
}
.ingredient_group .fn_switch:hover::after {
    background: var(--primary);
    color: #fff;
}
.ingredient_group .fn_switch.active::after {
    content: '\00d7';
    font-size: 18px;
    padding: 2px 10px;
}

.ingredient_group .dropdown {
    display: none;
    position: absolute;
    background: var(--bg-white);
    border: 1px solid var(--border);
    z-index: 20;
    bottom: 0;
    left: -16px;
    right: -16px;
    top: auto;
    width: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}
/* Position dropdown relative to product card */
.preview.product .ingredient_group { position: static; }
.preview.product .wrap_ingredient { position: static; }
.preview.product .ingredient_group .fn_switch { position: relative; z-index: 30; }
.preview.product .ingredient_group .dropdown {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: auto;
    height: 320px;
    width: auto;
    border-radius: var(--radius-lg);
    z-index: 25;
    margin: 0;
    display: none !important;
    overflow-y: auto;
}
.preview.product .ingredient_group .dropdown.active {
    display: flex !important;
    flex-direction: column;
}
/* Close button inside dropdown */
.dropdown-close {
    position: sticky;
    top: 0;
    align-self: flex-end;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    min-height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 1;
    color: var(--text-muted);
    cursor: pointer;
    z-index: 30;
    background: var(--bg-white);
    border-radius: 50%;
    margin: 8px 8px 0 0;
    border: 1px solid var(--border);
    transition: all var(--transition);
}
.dropdown-close:hover {
    color: var(--primary);
    border-color: var(--primary);
}
.ingredient_group .dropdown_inner {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.ingredient_item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px;
    border-bottom: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    transition: background var(--transition);
}
.ingredient_item:last-child { border-bottom: none; }
.ingredient_item:hover { background: var(--bg); }
.ingredient_name { max-width: 140px; word-wrap: break-word; font-size: 13px; }
.ingredient_detail { display: flex; align-items: center; gap: 6px; }
.ingredient_detail b { font-weight: 700; }

.ig_minus, .ig_plus {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    user-select: none;
    border: 1px solid var(--border);
    border-radius: 50%;
    transition: all var(--transition);
}
.ig_minus:hover, .ig_plus:hover {
    border-color: var(--primary);
    background: var(--primary-light);
}
.ig_minus { background: url(../images/minus.svg) 50% 50% no-repeat; background-size: 10px; }
.ig_plus { background: url(../images/plus.svg) 50% 50% no-repeat; background-size: 10px; }
.ig_ingredient_amount { display: inline-block; min-width: 16px; text-align: center; font-weight: 600; }

.ingredient_notice {
    display: none;
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 99999;
    padding: 16px 20px;
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    font-weight: 600;
    cursor: pointer;
    max-width: 360px;
}


/* ================================================================
   MINI BANNERS (main page)
   ================================================================ */
.mini-banners {
    margin-top: 24px;
    margin-bottom: 0;
}
.mini-banners .row > .col-lg-6 { margin-bottom: 0 !important; }
.mini-banners .main_discount {
    border-radius: var(--radius-md);
    border: 2px dashed var(--border);
    max-height: 350px;
    width: 100%;
    object-fit: cover;
}
.mini-banners p {
    font-size: 14px;
    color: var(--text-light);
    margin-top: 10px;
}
.mini-banners hr {
    border-color: var(--border-light);
}


/* ================================================================
   BREADCRUMBS
   ================================================================ */
.breadcrumbs {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 14px 20px;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    gap: 4px;
    font-size: 13px;
}
.breadcrumbs li {
    display: inline-flex;
    align-items: center;
}
.breadcrumbs li + li::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-right: 1.5px solid var(--text-muted);
    border-top: 1.5px solid var(--text-muted);
    transform: rotate(45deg);
    margin-right: 6px;
    opacity: .6;
}
.breadcrumbs a {
    font-size: 13px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--text-muted);
    transition: color var(--transition);
}
.breadcrumbs a:hover { color: var(--primary); }
.breadcrumbs span {
    font-size: 13px;
    color: var(--text);
    font-weight: 600;
    line-height: 1.2;
}


/* ================================================================
   PAGE HEADER
   ================================================================ */
.page_header {
    text-align: center;
    margin: 24px 0 16px;
    font-size: 32px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--dark);
    line-height: 42px;
}
.mainh1 {
    font-size: 24px;
    font-weight: 800;
    text-transform: none;
    color: var(--dark);
    margin-bottom: 16px;
    line-height: 100%;
    text-align: left;
}
.after_h1 {
    text-align: center;
    font-weight: 500;
    font-size: 14px;
    color: rgb(140, 141, 149);
    margin-bottom: 16px;
}


/* ================================================================
   KEYWORD TAGS
   ================================================================ */
.keyword_listing {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 16px 0;
    margin: 0;
}
.keyword_listing > li > a {
    display: inline-block;
    background: var(--bg);
    border: 1px solid var(--border);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
    transition: all var(--transition);
}
.keyword_listing > li > a:hover {
    background: var(--primary-light);
    border-color: var(--primary);
    color: var(--primary);
}
#keyword_nav { text-align: center; }


/* ================================================================
   FILTER / SIDEBAR
   ================================================================ */
.sidebar {
    margin-bottom: 24px;
}
.filter_group {
    margin-bottom: 16px;
}
.filter_group .h4 {
    font-size: 18px;
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 8px;
}
.filter_group ul {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.filter_link {
    display: inline-block;
    padding: 6px 16px;
    margin-top: 5px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 16px;
    font-weight: 500;
    line-height: 16px;
    color: var(--text);
    transition: all var(--transition);
    cursor: pointer;
    text-decoration: none;
}
.filter_link:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}
.filter_link.checked,
.filter_link.selected {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    font-size: 16px;
    font-weight: 500;
    line-height: 16px;
    position: relative;
}

.fn_filter_block .fn_ajax_loading { display: inline; }


/* ================================================================
   BOTTOM INFORMERS
   ================================================================ */
#bottom_informers {
    display: none !important;
}


/* ================================================================
   LOCATION POPUP (redesigned)
   ================================================================ */
#fn_location_ask { display: none; }
.location-popup {
    max-width: 480px;
    margin: 0 auto;
}
.location-popup__heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 24px;
    font-weight: 800;
    line-height: 100%;
    color: var(--dark);
    margin-bottom: 20px;
}
.location-popup__heading svg { color: var(--primary); }
.location-popup__body { text-align: left; }
.location-popup__city {
    margin-bottom: 8px;
}
.location-popup__city-name {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    font-weight: 800;
    color: var(--dark);
    text-transform: uppercase;
    padding: 10px 16px;
    background: var(--bg);
    border-radius: var(--radius-md);
    transition: all var(--transition);
}
.location-popup__city-name:hover { background: var(--primary-light); color: var(--primary); }
.location-popup__city-name svg { transition: transform var(--transition); }

.location-popup__locations {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 8px 0 16px 0;
}
.location-popup__location-item {
    display: inline-block;
    padding: 8px 16px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 500;
    line-height: 18px;
    color: #333333;
    transition: all var(--transition);
    cursor: pointer;
}
.location-popup__location-item:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}

/* Location confirm popup — hidden by default, shown via .active after 3s delay */
.location-confirm-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0,0,0,.5);
    display: none;
    align-items: center;
    justify-content: center;
}
.location-confirm-overlay.active {
    display: flex;
}
.location-confirm-overlay #fn_location_confirm {
    display: block !important;
}
#fn_location_confirm {
    max-width: 400px;
}
#fn_location_confirm .popup_heading {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
}
.thin-location {
    display: block;
    font-size: 14px;
    font-weight: 400;
    color: var(--text-light);
    margin-top: 4px;
}
.location_ask_yes {
    display: inline-block;
    padding: 10px 28px;
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius-full);
    font-weight: 600;
    transition: background var(--transition);
}
.location_ask_yes:hover { background: var(--primary-dark); }


/* ================================================================
   FANCYBOX / POPUP overrides
   ================================================================ */
.popup {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: 32px;
}
.popup_heading {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
}
.fancybox-close-small { display: none; }


/* ================================================================
   FOOTER
   ================================================================ */
.footer-new {
    background: var(--dark);
    color: rgba(255,255,255,.75);
    padding: 48px 0 24px;
    margin-top: 48px;
}
.footer-new__grid {
    display: grid;
    grid-template-columns: 3fr 1.5fr 1fr;
    gap: 32px;
    margin-bottom: 10px;
}
.footer-new__title {
    font-size: 24px;
    font-weight: 800;
    line-height: 100%;
    color: #fff;
    margin-bottom: 16px;
    text-transform: none;
}
.footer-new__title span { color: var(--primary); }
.footer-new__list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-new__list li { margin-bottom: 14px; }
.footer-new__list a {
    color: rgba(255,255,255,.7);
    font-size: 16px;
    font-weight: 500;
    line-height: 16px;
    transition: color var(--transition);
}
.footer-new__list a:hover { color: var(--primary); }
.footer-new__list--3col {
    column-count: 2;
    column-gap: 24px;
}
.footer-new__list--2col {
    column-count: 2;
    column-gap: 24px;
}
.footer-new__contacts {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-new__contacts li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.5;
}
.footer-new__contacts svg {
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}
.footer-new__contacts a {
    color: rgba(255,255,255,.8);
    font-weight: 500;
}
.footer-new__contacts a:hover { color: var(--primary); }
.footer-new__bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding-top: 20px;
    text-align: center;
}
.footer-new__copy {
    font-size: 13px;
    color: rgba(255,255,255,.5);
    margin-bottom: 8px;
}
.footer-new__policy {
    font-size: 12px;
    color: rgba(255,255,255,.4);
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.5;
}
.footer-new__policy a { color: rgba(255,255,255,.6); text-decoration: underline; }
.footer-new__policy a:hover { color: var(--primary); }


/* ================================================================
   PAYMENTS SECTION
   ================================================================ */
section.payments {
    background: var(--bg-white);
    border-top: 1px solid var(--border-light);
}
section.payments .h4 {
    font-size: 15px;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 12px;
}


/* ================================================================
   ARTICLE / TEXT CONTENT
   ================================================================ */
article { font-size: 14px; line-height: 1.28; color: var(--text); text-align: center; }
article h2 { font-size: 24px; font-weight: 800; color: var(--dark); margin: 24px 0 12px; line-height: 100%; }
article h3 { font-size: 24px; font-weight: 500; color: var(--dark); line-height: 1; }
article ul { padding-left: 20px; }
article a { color: var(--primary); }
article a:hover { text-decoration: underline; }


/* ================================================================
   TIZERS (sidebar on main page)
   ================================================================ */
.tizers_block { margin-top: 50px; }
.tizers_block .item {
    display: flex;
    gap: 12px;
    padding: 12px;
    border-radius: var(--radius-md);
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    margin-bottom: 12px;
    transition: all var(--transition);
}
.tizers_block .item:hover {
    box-shadow: var(--shadow-sm);
}
.tizers_block .item .title {
    font-weight: 700;
    font-size: 14px;
    color: var(--dark);
    margin-bottom: 2px;
}
.tizers_block .item svg {
    color: var(--primary);
    flex-shrink: 0;
    width: 36px;
    height: 36px;
}


/* ================================================================
   SUBSCRIBE BLOCK (hidden — removed per request)
   ================================================================ */
#subscribe_container { display: none !important; }


/* ================================================================
   BUTTONS GENERIC — override main.css Bootstrap-like defaults
   ================================================================ */
.btn,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.28;
    letter-spacing: 0;
    font-family: var(--font);
    font-style: normal;
    text-transform: none;
    text-shadow: none;
    box-shadow: none;
    white-space: nowrap;
    cursor: pointer;
    border: none;
    background: var(--primary);
    color: #fff;
    transition: all var(--transition);
}
.btn:hover,
.button:hover {
    background: var(--primary-dark);
    color: #fff;
    text-decoration: none;
    box-shadow: none;
    text-shadow: none;
}
.btn-light {
    background: var(--bg);
    color: var(--text);
    border: 1px solid var(--border);
    box-shadow: none;
    text-shadow: none;
}
.btn-light:hover { background: var(--dark); border-color: var(--dark); color: #fff; }
.btn-info { background: var(--primary); color: #fff; border: none; box-shadow: none; text-shadow: none; }
.btn-info:hover { background: var(--primary-dark); color: #fff; }
.btn-lg { padding: 14px 32px; font-size: 16px; line-height: 1.28; border-radius: var(--radius-sm); }
.btn-sm { padding: 8px 16px; font-size: 14px; line-height: 1.28; border-radius: var(--radius-sm); font-weight: 500; }
.btn-block { display: flex; width: 100%; }
.product_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 24px;
    background: var(--primary);
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    font-family: var(--font);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    text-transform: none;
    text-shadow: none;
    box-shadow: none;
    letter-spacing: 0;
    transition: all var(--transition);
}
.product_btn:hover { background: var(--primary-dark); color: #fff; }
.filters_heading.btn.btn-light {
    font-size: 14px;
    font-weight: 500;
    text-transform: none;
    border-radius: var(--radius-sm);
}

/* Old buy button compat (for pages not using new product_list.tpl) */
.preview_form .buy.btn-light,
.preview_form .buy.btn-info {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 10px 16px;
    background: var(--primary);
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    font-family: var(--font);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    text-transform: none;
    text-shadow: none;
    box-shadow: none;
    letter-spacing: 0;
    transition: all var(--transition);
}
.preview_form .buy.btn-light:hover,
.preview_form .buy.btn-info:hover { background: var(--primary-dark); color: #fff; }
.preview_form .buy.btn-info { background: var(--green); }
.preview_form .buy.btn-info:hover { background: #4a8001; }
    .bottom_cat_text > h2, .mainh1 { font-size: 20px !important; }
    .bottom_cat_text > h2 { line-height: 32px !important;}

/* ================================================================
   FORM ELEMENTS
   ================================================================ */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
textarea,
select {
    font-family: var(--font);
    font-size: 15px;
    padding: 10px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
    width: 100%;
    background: var(--bg-white);
    background-image: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
input:focus, textarea:focus, select:focus { border-color: #333333; box-shadow: 0 0 0 3px rgba(51,51,51,0.15); }

/* Override main.css .form / .form_input / .form_textarea */
.form {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
}
.form_group { position: relative; margin-bottom: 16px; }
.form_input {
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.4;
    padding: 10px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-white);
    width: 100%;
}
.form_textarea {
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.4;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-white);
    width: 100%;
}
.form_input:focus, .form_textarea:focus { border-color: #333333; box-shadow: 0 0 0 3px rgba(51,51,51,0.15); outline: none; }
.form label.error {
    position: static;
    font-size: 12px;
    color: var(--primary);
    background: none;
    padding: 4px 0 0;
    border: none;
    border-radius: 0;
}
.message_success {
    padding: 12px 20px;
    background: var(--green-bg);
    color: var(--green);
    border-radius: var(--radius-sm);
}
.message_error, .msg_error {
    padding: 12px 20px;
    background: var(--primary-light);
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: var(--radius-sm);
    font-size: 14px;
}


/* ================================================================
   OLD LEGACY SELECTORS (compat)
   ================================================================ */
.color { color: var(--primary); }
.bg-white-light { background: var(--bg); }
.bg-light { background: var(--bg); }
.hidden { display: none; }
.text-bold { font-weight: 700; }
.text-sm { font-size: 13px; }
.shadow-1 { border-bottom: none; }
.shadow-1:before { display: none; }
.text-xs { font-size: 12px; }
.text-caps { text-transform: uppercase; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }
.text-grey { color: var(--text-muted); }
#headPromo { display: none; }
.cback { color: var(--green); }
.admTools, .top_admin_bookmark, .displaynone { display: none !important; }
.available, .comp_wish_links, .product_rating { display: none; }
.lazyBlock { display: none; }
#promo_icon { display: none; }
.promo_img { position: absolute; top: 8px; left: 8px; max-width: 60px; z-index: 5; border-radius: var(--radius-sm); }
#user_bonus > span { background: var(--primary); padding: 5px 10px; border-radius: var(--radius-full); color: #fff; font-weight: 600; }
.checkout.is-wait { opacity: .6; cursor: not-allowed; background: gray; border-color: gray; }

/* Old header elements — hidden (new header replaces these) */
.top-bar-old, #pages_list { display: none; }
.main-header-text, .main-header-informes, .main-header-phones, .main-header-logo { display: none; }

/* Old menuline search/cart hidden (moved to header) */
#menuline-top .menuline-search { display: none; }
#menuline-top .menuline-informers { display: none; }

/* SVG icons */
.isvg { vertical-align: middle; fill: currentColor; }

/* Old Footer hidden (new footer replaces) */
#footer:not(.footer-new) { display: none; }

/* Cart image */
.cart_image { max-height: 100px !important; }

/* Scroll top */
a.scroll_top { cursor: pointer; }

/* Wishlist/comparison informers */
.wishlist_informer,
.comparison_informer { display: flex; align-items: center; }

/* Bottom cat text */
.bottom_cat_text { margin: 50px 0 24px; text-align: left; }
.bottom_cat_text > h2 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.bottom_cat_text > ul { padding-left: 20px; margin: 0; list-style-type: disc; }
.bottom_cat_text > ul > li { margin-bottom: 4px; }

.pagination_bottom { margin-bottom: 24px; }


/* ================================================================
   ANIMATIONS
   ================================================================ */
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes rubberBand {
    0% { transform: scale(1); }
    30% { transform: scaleX(1.25) scaleY(0.75); }
    40% { transform: scaleX(0.75) scaleY(1.25); }
    60% { transform: scaleX(1.15) scaleY(0.85); }
    100% { transform: scale(1); }
}
.animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}
.rubberBand { animation-name: rubberBand; }
.fadeIn { animation-name: fadeIn; }
.fadeInUp { animation-name: slideDown; }


/* ================================================================
   RESPONSIVE
   ================================================================ */

/* Large screens */
@media (min-width: 1200px) {
    .mainSliderProducts { flex: 0 0 25% !important; max-width: 25% !important; }
}

/* Hidden on desktop — only visible on ≤991px via media query below */
.navbar-new__scroll-hint { display: none; }

/* Tablets */
@media (max-width: 1200px) {
    #header_cats .lev1 > li > a {
        padding: 7px 10px;
        font-size: 14px;
    }
    .navbar-new__promo {
        padding: 7px 12px;
        font-size: 14px;
    }
    .navbar-new__hit {
        padding: 7px 12px;
        font-size: 14px;
    }
}

@media (max-width: 991px) {
    /* Top bar — mobile layout */
    .top-bar .container { flex-direction: column; gap: 6px; align-items: center; }
    .top-bar__left { display: none; }
    .top-bar__delivery-row {
        display: none;
    }
    .top-bar__delivery-row .top-bar__item {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        white-space: nowrap;
    }
    .top-bar__rotate {
        position: relative;
        overflow: hidden;
    }
    .top-bar__delivery-mobile { display: none; }
    .top-bar__rotate-item {
        transition: opacity 0.5s ease;
        opacity: 0;
        position: absolute;
        left: 0;
        right: 0;
        text-align: center;
    }
    .top-bar__rotate-item.active {
        opacity: 1;
        position: relative;
    }
    .top-bar__right {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
        gap: 6px;
        width: 100%;
    }
    .top-bar__location {
        display: inline-flex;
        margin-right: auto;
    }
    .top-bar__btn--user .top-bar__btn-label { display: inline; }
    .top-bar__btn--contact { display: none; }

    /* Main header */
    .main-header .container {
        flex-wrap: wrap;
        gap: 12px;
        justify-content: center;
    }
    /* Hide phones, wishlist, cart, search from header on tablets/phones */
    .header-phones,
    .header-wishlist,
    .header-cart,
    .header-search-icon { display: none !important; }
    .header-location { display: none; }
    /* Show mobile location in top-bar */
    .top-bar__location { display: inline-flex; margin-right: auto; }

    /* USP */
    .usp-bar__grid { grid-template-columns: 1fr; gap: 12px; }

    /* Navbar — full-width only when stuck (scrolled) */
    .navbar-new.is-scrolled .container { padding: 0; }
    .navbar-new.is-scrolled .navbar-new__promo { border-top-left-radius: 0; border-bottom-left-radius: 0; margin: 1px 0; }
    .navbar-new.is-scrolled .navbar-new__hit { margin: 1px 0; margin-left: 10px; margin-right: 10px;}
    .navbar-new.is-scrolled .navbar-new__cart .cart_informer { border-top-right-radius: 0; border-bottom-right-radius: 0; }

    /* Navbar — horizontal scroll, no hamburger */
    .navbar-new__inner {
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
        -webkit-overflow-scrolling: touch;
    }
    .navbar-new__inner::-webkit-scrollbar { display: none; }
    #header_cats { flex: 0 0 auto; overflow: visible; }
    #header_cats .lev1 { overflow: visible; }
    #header_cats .lev2 { display: none !important; }
    /* Nav scroll arrows — hidden on touch */
    .navbar-new__arrow { display: none !important; }
    .navbar-new__scroll-hint { display: none !important; }
    .navbar-new__promo,
    .navbar-new__hit { padding: 7px 12px; font-size: 14px; }
    #header_cats .lev1 > li > a { padding: 7px 10px; font-size: 14px; }
    /* Cart stays pinned right always on mobile */
    .navbar-new__cart {
        display: flex !important;
        margin-left: auto;
        position: sticky;
        right: 0;
        z-index: 5;
        background: linear-gradient(to right, transparent 0%, var(--bg-white) 30%);
        padding-left: 16px;
        flex-shrink: 0;
    }
    .navbar-new.is-scrolled .navbar-new__cart {
        position: sticky;
        right: 0;
        z-index: 5;
        background: linear-gradient(to right, transparent 0%, var(--bg-white) 30%);
        padding-left: 16px;
    }

    /* Footer */
    .footer-new__grid {
        grid-template-columns: 2fr 1fr 1fr;
        gap: 16px;
    }
    .footer-new__list--3col { column-count: 2; column-gap: 12px; }

    .mainh1 { font-size: 20px; }
    .page_header { font-size: 24px; }
    h1, .h1 { font-size: 28px; }
    h2, .h2 { font-size: 20px; }
    h3, .h3 { font-size: 18px; line-height: 20px; }
    h4, .h4 { font-size: 16px; line-height: 1; }
    .footer-new__title { font-size: 20px; }
    article.mb-0 img[src*="products/"] { width: calc(50% - 8px); }

    /* Main promo images — 4 in a row on tablet */
    .main_promo > p { display: inline; }
    .main_promo > p > img { width: calc(25% - 6px) !important; max-width: calc(25% - 6px) !important; height: auto !important; vertical-align: top; }
    .title_block {line-height: 34px !important; }
    .input_coupon { width: 200px !important; }

}

/* Mobile */
@media (max-width: 580px) {
    .main-header .container { gap: 8px; justify-content: center; }
    .logo__name { font-size: 52px; }
    .logo { align-items: center; padding: 0px 15px 0px 15px;}
    .breadcrumbs {display: none;}
    .bottom_cat_text {font-size: 12px;}
    .after_h1 {font-size: 12px;}
    /* USP */
    .usp-bar__grid { grid-template-columns: 1fr; gap: 8px; }
    .usp-bar__item { padding: 12px; }
    .usp-bar__icon { width: 44px; height: 44px; }
    .usp-bar__icon svg { width: 24px; height: 24px; }

    .preview.product { padding: 10px; }
    .preview.product h3 { font-size: 18px; font-weight: 600; line-height: 20px; min-height: 40px; }
    .price_container .price { font-size: 20px; }
    .btn-buy { width: 36px; height: 36px; }
    .btn-wishlist { width: 36px; height: 36px; }

    /* Footer */
    .footer-new__grid { grid-template-columns: 1fr; gap: 16px; }
    .footer-new__list--3col { column-count: 1; }
    .footer-new { padding: 32px 0 16px; }
    .footer-new__list--2col { column-count: 1; }
    .footer-new__list li { margin-bottom: 10px; }

    /* Tabs */
    .tab_navigation { flex-wrap: wrap; }
    .tab_navigation > a { padding: 8px 16px; font-size: 14px; }

    /* Location popup */
    .location-popup__locations { gap: 4px; }
    .location-popup__location-item { padding: 6px 12px; font-size: 16px; }

    .keyword_listing { gap: 6px; }
    .title_block { line-height: 34px !important; }
    .bottom_cat_text > ul > li { line-height: 26px; }
    .page_header { font-size: 24px; }
    article h3 { font-size: 18px; line-height: 20px; }
    h3, .h3 { line-height: 32px; }

    /* Navbar smaller on phones */
    .navbar-new__promo,
    .navbar-new__hit { padding: 6px 10px; font-size: 13px; }
    #header_cats .lev1 > li > a { padding: 6px 8px; font-size: 13px; }

    h1, .h1 { font-size: 18px; line-height: 32px; }
    article.mb-0 img[src*="products/"] { width: 100%; margin: 0 0 8px; }

    /* Main promo images on phones — 2 per row */
    .main_promo > p > img { width: calc(50% - 4px) !important; max-width: calc(50% - 4px) !important; }

    .mini-banners .main_discount { max-height: 200px; }
    .mini-banners { margin-top: 16px; }

    /* On phones: hide top-bar left and delivery row, show delivery time */
    .top-bar__delivery-row { display: none !important; }

    /* Catalog cats — 2 columns on phones */
    .catalog_cats .lev1 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .catalog_cats .lev1 > div { padding: 10px; }
    .catalog_cats .lev1 .image img { max-height: 120px; }
    .catalog_cats .lev1 h2 { font-size: 13px; margin: 6px 0 2px; }
}

/* ================================================================
   CART PAGE STYLES
   ================================================================ */
.cart_purchases { margin-bottom: 24px; }

/* --- Cart Table --- */
.purchase { width: 100%; max-width: 100%; margin-bottom: 32px; border-collapse: collapse; table-layout: auto; }
.purchase tr { position: relative; }
.purchase tr + tr { border-top: 1px solid var(--border-light); }
.purchase th,
.purchase td { padding: 14px 10px; vertical-align: middle; }
.purchase thead th {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.03em;
    border-bottom: 2px solid var(--border);
    white-space: nowrap;
}

/* Cart table cells */
.purchase .purchase_image { width: 180px; }
.purchase .purchase_image .image { display: flex; align-items: center; justify-content: center; }
.purchase .purchase_image img,
.purchase .purchase_image .cart_image {
    height: 120px;
    width: 120px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
    background: #fff;
}
.purchase .purchase_name { font-weight: 600; font-size: 15px; line-height: 1.3; }
.purchase .purchase_name .color { color: var(--text); }
.purchase .purchase_name i { font-weight: 400; font-style: normal; font-size: 13px; color: var(--text-muted); }
.purchase .purchase_price { white-space: nowrap; font-size: 15px; }
.purchase .purchase_amount { text-align: center; }
.purchase .purchase_sum { white-space: nowrap; font-size: 15px; font-weight: 700; }
.purchase .purchase_remove { text-align: right; padding: 10px 0; width: 40px; }
.purchase .purchase_remove a { display: inline-flex; align-items: center; justify-content: center; opacity: 0.5; transition: opacity var(--transition); }
.purchase .purchase_remove a:hover { opacity: 1; }

/* Purchase total rows */
.purchase .purchase_total {
    text-transform: uppercase;
    font-size: 1.1em;
    font-weight: 700;
    color: var(--primary);
}
.purchase tfoot tr { border-top: 2px solid var(--border); }
.purchase tfoot td { padding: 16px 10px; }

/* Total sum */
.total_sum { font-size: 20px; font-weight: 700; color: var(--primary); }

/* --- Quantity Controls --- */
.amount {
    position: relative;
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    width: 110px;
    padding: 6px;
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    background: var(--bg-white);
}
.amount > * { display: block; margin: 0; padding: 0; border: none; text-align: center; font-weight: 700; }
.amount .plus,
.amount .minus {
    cursor: pointer;
    border-radius: 100%;
    background: var(--border);
    color: #fff;
    width: 1.5em;
    line-height: 1.5em;
    font-size: 1.1em;
    transition: background var(--transition);
    user-select: none;
    flex-shrink: 0;
}
.amount .plus:hover,
.amount .minus:hover { background: var(--primary); color: #fff; }
.amount .input_amount {
    width: 40px;
    padding: 2px 0;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    border: none;
    background: transparent;
    color: var(--text);
    -moz-appearance: textfield;
    font-family: var(--font);
}
.amount .input_amount::-webkit-inner-spin-button,
.amount .input_amount::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

/* --- Coupon --- */
.coupon { vertical-align: middle; }
.purchase tfoot .coupon { white-space: normal; word-break: break-word; }
.input_coupon {
    vertical-align: middle;
    width: 200px;
    height: 38px;
    padding: 0 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: var(--font);
    background: var(--bg-white);
    color: var(--text);
    transition: border-color var(--transition);
}
.input_coupon:focus { border-color: var(--primary); outline: none; }
.coupon_button {
    vertical-align: middle;
    display: inline-flex !important;
    width: auto !important;
    height: 38px;
    padding: 0 16px;
    margin-left: 6px;
    border: none;
    border-radius: var(--radius-sm);
    background: var(--primary);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    font-family: var(--font);
    cursor: pointer;
    transition: background var(--transition);
}
.coupon_button:hover { background: var(--primary-dark); }

/* --- Delivery & Payment --- */
.delivery { margin-bottom: 20px; }
.delivery_item {
    padding: 0;
    margin: 0;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    background: var(--bg-white);
    transition: border-color var(--transition), box-shadow var(--transition);
}
.delivery_item + .delivery_item { margin-top: 8px; border-top: 1px solid var(--border-light); }
.delivery_item:hover { border-color: var(--primary); }
.delivery_label {
    opacity: 1;
    margin: 0;
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    transition: background var(--transition);
}
.delivery_label:hover { background: rgba(222, 45, 38, 0.04); }
.delivery_label.active { background: rgba(222, 45, 38, 0.06); font-weight: 600; }
.delivery_label.active + .delivery_description { display: block; }
.input_delivery {
    float: none;
    flex-shrink: 0;
    margin: 0 10px 0 0;
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    cursor: pointer;
}
.delivery_name {
    font-weight: 600;
    font-size: 15px;
    line-height: 1.3;
    color: var(--text);
}
.delivery_name span { font-weight: 400; font-size: 13px; color: var(--text-muted); }
.delivery_name img { float: right; vertical-align: middle; margin: -5px 5px 5px 0; max-height: 28px; }
.delivery_description {
    display: none;
    margin: 0;
    padding: 0 16px 12px 44px;
    font-size: 13px;
    line-height: 1.4;
    color: #333333;
}

/* Payment method amount */
.delivery_name .nowrap { font-weight: 700; color: var(--text); }

/* --- Order Details --- */
.order_details { width: 100%; }
.order_details td { padding-right: 10px; }
.order_details tr + tr td { padding-top: 10px; }
.checkout_form form { padding: 0; }
.checkout_form form .form_group { padding: 0; }

/* --- Checkout Button --- */
input.checkout, .checkout {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px 24px;
    background: var(--primary);
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    font-family: var(--font);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    text-transform: uppercase;
    text-shadow: none;
    box-shadow: none;
    letter-spacing: 0;
    margin-top: 16px;
    transition: all var(--transition);
}
input.checkout:hover, .checkout:hover { background: var(--primary-dark); }

/* --- Captcha --- */
.captcha { display: flex; align-items: center; gap: 8px; margin: 16px 0; }
.captcha .secret_number { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 8px 16px; text-shadow: none; color: var(--text); font-weight: 700; user-select: none; min-width: 140px; }
.captcha .secret_number:before, .captcha .secret_number:after { display: none; }
.captcha .input_captcha { width: 120px; }
.hidden_input { display: none; }

/* --- Cart Mobile Responsive --- */
@media (max-width: 767px) {
    /* Narrow container padding on cart */
    /* Stack delivery/form columns */
    .row { margin: 0; }
    .col-lg-6 { padding: 0 5px; max-width: 100%; flex: 0 0 100%; }

    /* Table → block */
    .purchase { display: block; margin-bottom: 16px; padding: 10px;}
    .purchase thead { display: none; }
    .purchase tbody,
    .purchase tfoot { display: block; width: 100%; }

    /*
     * PRODUCT CARD LAYOUT (per <tr>):
     * ┌─────────┬──────────────────────┬───┐
     * │  IMAGE  │  Name                │ X │  ← row 1
     * │  70x70  │  (wraps if needed)   │   │
     * ├─────────┼───────┬──────┬───────┼───┤
     * │         │ Price │ Qty  │ Total │   │  ← row 2
     * └─────────┴───────┴──────┴───────┴───┘
     */
    .purchase tr {
        display: grid;
        grid-template-columns: 70px 1fr 1fr 1fr 24px;
        grid-template-rows: auto auto;
        gap: 6px 8px;
        align-items: center;
        padding: 10px 0;
        border-bottom: 1px solid var(--border-light);
    }

    .purchase td { padding: 0; display: block; }
    .purchase td:empty { display: none; }

    /* Image — spans row 1+2, col 1 */
    .purchase .purchase_image {
        grid-row: 1 / 3;
        grid-column: 1;
        width: 70px;
    }
    .purchase .purchase_image img,
    .purchase .purchase_image .cart_image {
        width: 70px; height: 70px;
        max-width: 70px; max-height: 70px;
        object-fit: cover;
        border-radius: var(--radius-sm);
    }

    /* Name — row 1, spans cols 2-4 */
    .purchase .purchase_name {
        grid-row: 1;
        grid-column: 2 / 5;
        font-size: 14px;
        line-height: 1.3;
        word-break: break-word;
    }

    /* Price per unit — row 2, col 2 */
    .purchase .purchase_price {
        grid-row: 2;
        grid-column: 2;
        font-size: 13px;
        color: var(--text-muted);
        white-space: nowrap;
        justify-self: start;
    }

    /* Quantity — row 2, col 3 */
    .purchase .purchase_amount {
        grid-row: 2;
        grid-column: 3;
        justify-self: center;
    }

    /* Sum — row 2, col 4 */
    .purchase .purchase_sum {
        grid-row: 2;
        grid-column: 4;
        justify-self: end;
        font-size: 15px;
        font-weight: 700;
        white-space: nowrap;
    }

    /* Remove — spans row 1+2, col 5 */
    .purchase .purchase_remove {
        grid-row: 1;
        grid-column: 5;
        width: 24px;
        padding: 0;
        justify-self: end;
        align-self: start;
    }
    .purchase .purchase_remove svg { width: 20px; height: 20px; }

    /* Quantity control smaller */
    .amount { width: 86px; padding: 3px; }
    .amount .input_amount { width: 28px; font-size: 13px; }
    .amount .plus, .amount .minus { width: 1.2em; line-height: 1.2em; font-size: 1em; }

    /* Tfoot — totals, coupon */
    .purchase tfoot tr { display: block; padding: 10px 0; }
    .purchase tfoot td { display: block; padding: 4px 0; }
    .purchase .coupon { white-space: normal; }
    .input_coupon { width: 140px !important; }
    .coupon_button { margin-top: 6px; margin-left: 0; }
    .purchase .purchase_total { padding: 6px 0; }
    .total_sum { font-size: 18px; }

    /* Form fields */
    .form_input, .form_textarea { width: 100%; box-sizing: border-box; }
    input.checkout, .checkout { width: 100%; box-sizing: border-box; }
    .form { padding: 15px; }
    .h3 { font-size: 16px; }
}

@media (max-width: 379px) {
    .logo__name { font-size: 46px; }
    .login_password_remind {margin-top: 20px;}
}
@media (max-width: 380px) {
    .logo__name { font-size: 46px; }
}

@media (max-width: 340px) {
    .logo__name { font-size: 28px; }
    .header-phones { display: none; }
}

/* --- Feedback form sticky --- */
.feedback-form-sticky {
    position: sticky;
    top: 80px;
    align-self: flex-start;
}

/* --- Article images in one row --- */
article.mb-0 img[src*="products/"] {
    display: inline-block;
    width: calc(25% - 8px);
    height: auto;
    margin: 0 4px 12px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}
article.mb-0 p { text-align: left; }

/* --- Catalog categories grid: 3 columns on desktop, white bg --- */
.catalog_cats .lev1 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.catalog_cats .lev1 > div {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    flex-direction: column;
    text-align: center;
}
.catalog_cats .lev1 .image {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    min-height: 0;
}
.catalog_cats .lev1 .image img {
    max-width: 100%;
    max-height: 200px;
    height: auto;
    width: auto;
    object-fit: contain;
    border-radius: var(--radius-sm);
}
.catalog_cats .lev1 .item_list {
    flex-shrink: 0;
}
.catalog_cats .lev1 h2 { font-size: 16px; margin: 8px 0 4px; }
.catalog_cats .lev1 h2 a { color: var(--dark); text-decoration: none; transition: color var(--transition); }
.catalog_cats .lev1 h2 a:hover,
.catalog_cats .lev1 > div:hover h2 a { color: var(--primary); }
section:has(.catalog_cats),
.catalog-section-main { background: #f5f5f5; padding: 24px 0; }
.container:has(> #page_cats) { padding-left: 5px; padding-right: 5px; }

@media (max-width: 991px) {
    .catalog_cats .lev1 { grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .feedback-form-sticky { position: static; }
}
@media (max-width: 575px) {
    .catalog_cats .lev1 { grid-template-columns: repeat(2, 1fr); }
    .page_header[data-category="60"],
    .page_header[data-category="64"],
    .page_header[data-category="74"] {
        font-size: 20px;
    }
}


/* ================================================================
   BOTTOM NAV BAR (iOS-style, mobile/tablet ≤1024px)
   ================================================================ */
.bottom-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--bg-white);
    border-top: 1px solid var(--border);
    padding: 6px 0;
    padding-bottom: calc(6px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -2px 12px rgba(0,0,0,.08);
    max-width: 100vw;
    overflow: hidden;
}
.bottom-bar__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    flex: 1 1 0;
    min-width: 0;
    padding: 4px 2px;
    font-size: 10px;
    font-weight: 600;
    color: var(--text-light);
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font);
    transition: color var(--transition);
    -webkit-tap-highlight-color: transparent;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.bottom-bar__item:hover,
.bottom-bar__item.active {
    color: var(--primary);
}
.bottom-bar__item svg {
    flex-shrink: 0;
}
.bottom-bar__item--disabled {
    opacity: .35;
    pointer-events: none;
    cursor: default;
}
.bottom-bar__wishlist {
    display: contents;
}
.bottom-bar__wishlist .bottom-bar__item {
    position: relative;
}
.bottom-bar__badge {
    background: var(--primary);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 10px;
    position: absolute;
    top: 2px;
    left: 50%;
    margin-left: 6px;
}

@media (max-width: 1024px) {
    .bottom-bar {
        display: flex;
    }
    /* Add padding to body so content is not hidden behind bottom bar */
    html, body {
        overflow-x: clip;
    }
    body {
        padding-bottom: 64px;
    }
}


/* ================================================================
   MOBILE MENU PANEL (slide-up sheet)
   ================================================================ */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.4);
    z-index: 10000;
}
.mobile-menu-overlay.active {
    display: block;
}
.mobile-menu-panel {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10001;
    background: var(--bg-white);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    max-height: 70vh;
    overflow-y: auto;
    box-shadow: 0 -4px 24px rgba(0,0,0,.15);
    transform: translateY(100%);
    transition: transform .3s cubic-bezier(.4,0,.2,1);
    padding-bottom: env(safe-area-inset-bottom, 0px);
}
.mobile-menu-panel.active {
    display: block;
    transform: translateY(0);
}
.mobile-menu-panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px 12px;
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    background: var(--bg-white);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}
.mobile-menu-panel__close {
    background: none;
    border: none;
    font-size: 28px;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
}
.mobile-menu-panel__body {
    padding: 8px 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.mobile-menu-panel__item {
    display: block;
    padding: 12px 16px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: background var(--transition);
}
.mobile-menu-panel__item:hover {
    background: var(--bg);
    color: var(--dark);
}
.mobile-menu-panel__item--accent {
    color: var(--primary);
}

/* Mobile menu grid (2-col with category images) */
.mobile-menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
.mobile-menu-grid__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #fff;
    border-radius: var(--radius-md);
    padding: 12px 8px;
    text-decoration: none;
    color: var(--dark);
    transition: background var(--transition);
}
.mobile-menu-grid__item:hover {
    background: var(--bg);
    color: var(--dark);
}
.mobile-menu-grid__img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 80px;
}
.mobile-menu-grid__img img {
    max-width: 100%;
    max-height: 100px;
    height: auto;
    object-fit: contain;
    border-radius: var(--radius-sm);
}
.mobile-menu-grid__name {
    margin-top: 6px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
}
.mobile-menu-grid__item--accent {
    color: var(--primary);
}
.mobile-menu-grid__item--accent .mobile-menu-grid__img {
    font-size: 36px;
    min-height: 80px;
}

/* ── Change password button (user.tpl) ── */
.change-pass-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: var(--bg);
    color: var(--text);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background var(--transition);
    border: 1px solid var(--border);
}
.change-pass-btn:hover { background: var(--border-light); color: var(--text); }

/* ── Orders accordion (user.tpl — personal cabinet) ── */
.orders-accordion { display: flex; flex-direction: column; gap: 10px; }
.order-card {
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: box-shadow var(--transition);
    background: #fff;
}
.order-card:hover { box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.order-card__header {
    display: flex; flex-wrap: wrap; align-items: center;
    padding: 14px 40px 14px 16px; cursor: pointer;
    gap: 4px;
    position: relative;
    user-select: none;
}
.order-card__top, .order-card__bottom { display: flex; justify-content: space-between; width: 100%; }
.order-card__id { font-weight: 700; font-size: 15px; }
.order-card__price { font-weight: 700; font-size: 15px; color: var(--primary); }
.order-card__date { font-size: 13px; color: var(--text-muted); }
.order-card__status { font-size: 13px; color: var(--text-muted); }
.order-card__chevron {
    position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
    transition: transform var(--transition); flex-shrink: 0; color: #333;
}
.order-card--open .order-card__chevron { transform: translateY(-50%) rotate(180deg); }
.order-card__body {
    max-height: 0; overflow: hidden;
    transition: max-height .3s ease, padding .3s ease;
    padding: 0 16px;
    display: flex; flex-wrap: wrap; gap: 8px;
}
.order-card--open .order-card__body {
    max-height: 200px; padding: 0 16px 14px;
}
.order-card__btn {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 8px 16px; border-radius: var(--radius-sm);
    font-size: 13px; font-weight: 600; text-decoration: none;
    cursor: pointer; border: none;
    transition: background var(--transition), color var(--transition);
}
.order-card__btn--details {
    background: var(--bg); color: var(--text);
}
.order-card__btn--details:hover { background: var(--primary-light); color: var(--primary); }
.order-card__btn--repeat {
    background: var(--primary); color: #fff;
}
.order-card__btn--repeat:hover { background: var(--primary-dark); }
.order-card__note { font-size: 12px; color: var(--text-muted); align-self: center; }

/* ── Order purchases (order.tpl — order details page) ── */
.order-purchases {
    background: var(--bg);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 24px;
}
.order-purchase-item {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light);
}
.order-purchase-item:last-child { border-bottom: none; }
.order-purchase-item__img {
    width: 56px; height: 56px; flex-shrink: 0;
    border-radius: var(--radius-sm); overflow: hidden;
    background: #fff;
    display: flex; align-items: center; justify-content: center;
}
.order-purchase-item__img img { width: 100%; height: 100%; object-fit: cover; }
.order-purchase-item__info { flex: 1; min-width: 0; }
.order-purchase-item__name { font-weight: 600; font-size: 14px; line-height: 1.3; }
.order-purchase-item__variant { font-size: 13px; color: var(--text-muted); }
.order-purchase-item__extras { margin-top: 4px; }
.order-purchase-item__extra {
    display: block; font-size: 12px; color: var(--text-muted); line-height: 1.4;
}
.order-purchase-item__qty { font-size: 14px; color: var(--text-muted); flex-shrink: 0; }
.order-purchase-item__price { font-weight: 700; font-size: 14px; flex-shrink: 0; white-space: nowrap; }

.order-purchase-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 8px 0;
}
.order-purchase-row--summary { border-top: 1px solid var(--border-light); }
.order-purchase-row--total {
    border-top: 2px solid var(--dark);
    font-size: 16px; font-weight: 700;
    padding-top: 12px; margin-top: 4px;
}
.order-purchase-row__label { color: var(--text-muted); font-size: 14px; }
.order-purchase-row--total .order-purchase-row__label { color: var(--dark); }
.order-purchase-row__value { font-weight: 600; font-size: 14px; }
.order-purchase-row--total .order-purchase-row__value { font-size: 16px; color: var(--primary); }

/* ── Order repeat button ── */
.order-repeat-wrap { text-align: center; margin: 30px 0; }
.order-repeat-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 14px 32px; border-radius: var(--radius-md);
    font-size: 15px; font-weight: 700; font-family: var(--font);
    background: var(--primary); color: #fff;
    border: none; cursor: pointer;
    transition: background var(--transition);
}
.order-repeat-btn:hover { background: var(--primary-dark); }
.order-repeat-btn:disabled { opacity: .6; cursor: not-allowed; }

/* ── Selected payment / method (order.tpl) ── */
.selected_payment { margin-bottom: 20px; }
.method { }
.method_description { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.method_form { }

@media (max-width: 767px) {
    .order-purchase-item { gap: 8px; }
    .order-purchase-item__img { width: 44px; height: 44px; }
    .order-card__body { gap: 6px; }
    .order-card__btn { padding: 8px 12px; font-size: 12px; }
}

/* ── Cart discount badge ── */
.cart-discount-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: #e8f5e9;
    border: 1px solid #c8e6c9;
    border-radius: 20px;
    padding: 8px 18px;
    font-size: 14px;
    margin: 0 auto 20px;
    max-width: 100%;
    color: #2e7d32;
}
.cart-discount-badge__label { color: #2e7d32; }
.cart-discount-badge__value { color: #2e7d32; font-weight: 800; }

/* ── Floating placeholder labels ── */
.form_group {
    position: relative;
}
.form_group .form__placeholder {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: #999;
    pointer-events: none;
    transition: all 0.15s ease;
    background: #fff;
    padding: 0 4px;
    line-height: 1;
}
.form_group .form_textarea ~ .form__placeholder {
    top: 18px;
}
.form_group:focus-within .form__placeholder,
.form_group.filled .form__placeholder,
.form_group .form_input:not(:placeholder-shown) ~ .form__placeholder,
.form_group .form_textarea:not(:placeholder-shown) ~ .form__placeholder {
    top: -6px;
    transform: translateY(0);
    font-size: 11px;
    color: #333;
}
.form_group:focus-within .form_input,
.form_group:focus-within .form_textarea {
    border-color: #333;
    outline: none;
}
.form_group.filled .form_input,
.form_group.filled .form_textarea {
    border-color: #ccc;
}

@media (min-width: 1025px) {
    .orders-accordion { margin-top: 35px; }
}
.cart-summary-subtotal{display:flex;justify-content:space-between;align-items:center;padding:6px 0;font-size:17px;font-weight:700;color:var(--primary);text-transform:uppercase;border-bottom:2px solid #ddd;margin-bottom:4px}
.cart-summary-total{display:flex;justify-content:space-between;align-items:center;padding:6px 0 2px;font-size:17px;font-weight:700;color:var(--primary);text-transform:uppercase;border-top:2px solid #ddd;margin-top:4px}
.cart-summary-line{display:flex;justify-content:space-between;align-items:center;padding:4px 0;font-size:14px;color:#555}
.cart-summary-cashback{color:var(--green)}
.cart-summary-cashback .total_sum{color:inherit}
.cart-summary-line span,.cart-summary-subtotal span,.cart-summary-total span{font:inherit}

/* Cross-products mini cards (4 in 1 slot) */
.cross-products-slot{padding:6px !important}
.cross-products-grid{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;gap:6px;height:100%;background:#f8f8f4;border-radius:12px;padding:6px;border:1.5px dashed var(--primary)}
.cross-product-mini{display:flex;flex-direction:column;background:#fff;border-radius:8px;padding:6px;overflow:hidden;box-shadow:0 1px 3px rgba(0,0,0,.06);transition:box-shadow .15s}
.cross-product-mini:hover{box-shadow:0 2px 8px rgba(0,0,0,.12)}
.cross-product-mini__link{display:flex;flex-direction:column;align-items:center;text-decoration:none;color:inherit;flex:1;min-height:0}
.cross-product-mini__img{display:flex;align-items:center;justify-content:center;width:100%;aspect-ratio:1;overflow:hidden;border-radius:6px;margin-bottom:4px;background:#fafafa}
.cross-product-mini__img img{width:100%;height:100%;object-fit:cover}
.cross-product-mini__name{font-size:11px;line-height:1.25;text-align:center;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;color:#333;word-break:break-word}
.cross-product-mini__bottom{display:flex;align-items:center;justify-content:space-between;margin-top:auto;padding-top:4px;gap:4px;width:100%}
.cross-product-mini__price{font-size:12px;font-weight:700;color:var(--primary);white-space:nowrap}
.cross-product-mini__cart{display:flex;align-items:center;justify-content:center;width:26px;height:26px;border:none;background:var(--primary);color:#fff;border-radius:50%;cursor:pointer;flex-shrink:0;padding:0;transition:background .15s}
.cross-product-mini__cart:hover{background:#333}
.cross-product-mini__cart svg{pointer-events:none}
.cross-product-mini{cursor:pointer}

/* Cross-product popup overlay */
.cross-products-grid{position:relative}
.cp-overlay{position:absolute;inset:0;z-index:10;background:#fff;border-radius:10px;display:flex;align-items:center;justify-content:center;padding:10px;box-shadow:0 2px 12px rgba(0,0,0,.15)}
.cp-overlay__close{position:absolute;top:4px;right:8px;background:none;border:none;font-size:22px;line-height:1;color:#666;cursor:pointer;z-index:11;padding:0}
.cp-overlay__close:hover{color:#000}
.cp-overlay__body{display:flex;flex-direction:column;align-items:center;gap:10px;width:100%;max-height:100%;overflow-y:auto}
.cp-overlay__img{width:60%;max-width:180px;aspect-ratio:1;object-fit:cover;border-radius:8px;flex-shrink:0}
.cp-overlay__info{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px;width:100%;text-align:center;align-items:center}
.cp-overlay__name{font-size:13px;font-weight:700;line-height:1.2;color:#333;word-break:break-word}
.cp-overlay__desc{font-size:11px;line-height:1.3;color:#666;overflow:hidden;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical}
.cp-overlay__props{margin-top:2px;display:flex;flex-direction:column;gap:1px}
.cp-overlay__prop{font-size:14px;line-height:1.3;color:#555;word-break:break-word}
.cp-overlay__prop-n{color:#888}
.cp-overlay__prop-v{font-weight:600;color:var(--dark)}
.cp-overlay__old-price{font-size:13px;color:#999;text-decoration:line-through}
.cp-overlay__price{font-size:15px;font-weight:700;color:var(--primary)}
.cp-overlay__prices{display:flex;align-items:baseline;justify-content:center;gap:8px;margin-top:2px}
.cp-overlay__cart-form{margin-top:4px}
.cp-overlay__cart-btn{display:inline-flex;align-items:center;gap:4px;padding:5px 14px;border:none;border-radius:6px;background:var(--primary);color:#fff;font-size:12px;font-weight:600;cursor:pointer;transition:opacity .2s}
.cp-overlay__cart-btn:hover{opacity:.85}
.cp-overlay__cart-btn svg{flex-shrink:0}
.cp-overlay__variants{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;margin-top:4px}
.cp-overlay__var-btn{padding:5px 12px;border:1px solid var(--border);border-radius:6px;background:#f5f5f5;font-size:12px;font-weight:600;cursor:pointer;color:#333;transition:all .2s}
.cp-overlay__var-btn:hover{border-color:var(--primary);color:var(--primary)}
.cp-overlay__var-btn--active{background:var(--primary);color:#fff;border-color:var(--primary)}
.cross-sell-block .product-label--adult{display:none}
