/* ============================================================
   Tien24 — WordPress WooCommerce Theme
   ============================================================ */

/* ── Custom icon font ─────────────────────────────────────── */
@font-face {
    font-family: 'tien21icon';
    src: url('../fonts/Tien21/tien21icons/tien21icon.woff') format('woff'),
         url('../fonts/Tien21/tien21icons/tien21icon.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
.icon {
    font-family: 'tien21icon' !important;
    speak: never;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.icon-cart::before          { content: '\e900'; }
.icon-heart-empty::before   { content: '\e901'; }
.icon-heart::before         { content: '\e902'; }
.icon-search::before        { content: '\e903'; }
.icon-menu::before          { content: '\e904'; }
.icon-cross::before         { content: '\e905'; }
.icon-truck::before         { content: '\e906'; }
.icon-location::before      { content: '\e907'; }
.icon-envelope::before      { content: '\e908'; }
.icon-area::before          { content: '\e909'; }
.icon-dollar::before        { content: '\e910'; }
.icon-sheet-paper::before   { content: '\e911'; }
.icon-arrow::before         { content: '\e912'; }
.icon-chevron-left::before  { content: '\e913'; }
.icon-chevron-right::before { content: '\e914'; }
.icon-house::before         { content: '\e915'; }
.icon-filters::before       { content: '\e916'; }
.icon-tick::before          { content: '\e917'; }
.icon-settings::before      { content: '\e918'; }
.icon-specialist::before    { content: '\e919'; }
.icon-hours-24::before      { content: '\e920'; }
.icon-telephone-xl::before  { content: '\e921'; }
.icon-pickup::before        { content: '\e922'; }
.icon-checkbox-tick::before { content: '\e923'; }
.icon-star::before          { content: '\e924'; }

/* ── Reset & base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

body {
    margin: 0;
    padding: 0;
    font-family: Inter, 'Noto Sans', sans-serif;
    background: #f6f8fb;
    color: #222;
}

#main_wrapper { background: #f6f8fb; }

a { color: #0060a7; }

img { max-width: 100%; height: auto; }

/* ── Layout containers ─────────────────────────────────────── */
.wrapper_inner,
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px 40px;
    box-sizing: border-box;
}

/* ── Header links ──────────────────────────────────────────── */
.header-topbar-link {
    color: rgba(255,255,255,.9);
    font-size: 12px;
    font-weight: 600;
    padding: 8px 14px;
    text-decoration: none;
    display: block;
    transition: background .15s;
}
.header-topbar-link:hover { background: rgba(255,255,255,.15); color: #fff; }

.catalog-dropdown-link {
    display: block;
    padding: 11px 20px;
    font-size: 14px;
    color: #222;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    transition: background .15s;
}
.catalog-dropdown-link:hover { background: #f0f4ff; color: #0060a7; }

.catalog-nav-link {
    color: rgba(255,255,255,.85);
    font-size: 13px;
    font-weight: 600;
    padding: 0 14px;
    height: 47px;
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: color .15s;
}
.catalog-nav-link:hover { color: #fff; }

.mobile-info-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #eee;
}

.footer-link {
    color: rgba(255,255,255,.75);
    font-size: 13px;
    text-decoration: none;
    transition: color .15s;
}
.footer-link:hover { color: #fff; }

/* ── Product catalog grid ──────────────────────────────────── */
.catalog_list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 18px;
}

.catalog_item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    transition: box-shadow .2s, transform .2s;
    display: flex;
    flex-direction: column;
}
.catalog_item:hover {
    box-shadow: 0 6px 24px rgba(0,96,167,.13);
    transform: translateY(-3px);
}

.catalog_item .image_wrapper_block {
    position: relative;
    background: #f8f9fa;
    aspect-ratio: 1;
}
.catalog_item .image_wrapper_block a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}
.catalog_item .image_wrapper_block img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
    display: block;
}

.catalog_item .item_info {
    padding: 12px 14px 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.catalog_item .item-title { margin-bottom: 8px; flex: 1; }
.catalog_item .item-title a {
    font-size: 13px;
    font-weight: 600;
    color: #222;
    text-decoration: none;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.catalog_item .item-title a:hover { color: #0060a7; }

.catalog_item .cost.prices { margin-bottom: 8px; }
.catalog_item .price .values_wrapper { font-size: 17px; font-weight: 800; color: #0060a7; }
.catalog_item .price.discount .values_wrapper { font-size: 12px; color: #aaa; text-decoration: line-through; }

.catalog_item .item-stock { font-size: 12px; color: #43a047; margin-bottom: 8px; }
.catalog_item .buttons_block { margin-top: auto; }
.catalog_item .buttons_block button,
.catalog_item .buttons_block a.js-add-to-cart-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: #0060a7;
    color: #fff;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s;
    cursor: pointer;
    border: none;
    font-family: inherit;
}
.catalog_item .buttons_block button:hover,
.catalog_item .buttons_block a.js-add-to-cart-btn:hover { background: #004d8c; }

/* ── Stickers ──────────────────────────────────────────────── */
.stickers {
    position: absolute;
    top: 8px;
    left: 8px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    z-index: 2;
}
.sticker_recommend,
.sticker_new,
.sticker_stock {
    font-size: 10px;
    font-weight: 700;
    padding: 3px 7px;
    border-radius: 20px;
    color: #fff;
}
.sticker_recommend { background: #0060a7; }
.sticker_new       { background: #43a047; }
.sticker_stock     { background: #e53935; }

/* ── Like / Wishlist icons on cards ────────────────────────── */
.like_icons {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 2;
}
.like_icons a {
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,.92);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 1px 4px rgba(0,0,0,.12);
    color: #ccc;
    transition: all .18s;
}
.like_icons a:hover { color: #e53935; background: #fff; transform: scale(1.12); }
.like_icons a.added { color: #e53935; }

/* ── Wishlist button on product page ───────────────────────── */
.wishlist-btn {
    width: 48px;
    height: 48px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: 2px solid #ddd;
    color: #ccc;
    transition: all .2s;
    flex-shrink: 0;
}
.wishlist-btn .icon { font-size: 22px; transition: transform .2s; }
.wishlist-btn:hover { background: #fff0f0; border-color: #e53935; color: #e53935; transform: scale(1.08); }
.wishlist-btn--active { background: #fff0f0; border-color: #e53935; color: #e53935; }

/* ── Product tabs ──────────────────────────────────────────── */
.tab_slider_wrapp { margin: 24px 0; }
.tabs {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 4px;
    border-bottom: 2px solid #e0e8f0;
}
.tabs li {
    padding: 10px 22px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    color: #888;
    border-radius: 8px 8px 0 0;
    transition: color .15s;
}
.tabs li.cur {
    color: #0060a7;
    border-bottom: 3px solid #0060a7;
    margin-bottom: -2px;
    background: #fff;
}
.tabs li:hover { color: #0060a7; }
.tabs_content > li { display: none; }
.tabs_content > li.cur { display: block; }
.tabs_slider {
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
    gap: 16px;
}

/* Single product tabs */
.prod-tab { cursor: pointer; }
.prod-tab-content { display: none; }
.prod-tab-content--active { display: block; }

/* ── Sort bar ──────────────────────────────────────────────── */
.sort-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px 0;
    border-bottom: 1px solid #e0e8f0;
}
.sort-bar select,
.woocommerce-ordering select {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 7px 10px;
    font-size: 13px;
    background: #f8f9fa;
    color: #222;
    cursor: pointer;
    outline: none;
    font-family: inherit;
}

/* ── Pagination ────────────────────────────────────────────── */
.pagination,
.c-pagination,
.woocommerce-pagination ul,
.page-numbers {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin: 32px 0;
    list-style: none;
    padding: 0;
}
.pagination a,
.pagination span,
.c-pagination a,
.c-pagination span,
.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span,
.page-numbers a,
.page-numbers span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 8px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 14px;
    font-weight: 600;
    color: #0060a7;
    text-decoration: none;
    transition: all .2s;
    background: #fff;
}
.pagination .current,
.pagination a:hover,
.c-pagination .current,
.c-pagination a:hover,
.page-numbers .current,
.page-numbers a:hover,
.woocommerce-pagination ul li a:hover {
    background: #0060a7;
    color: #fff;
    border-color: #0060a7;
}

/* ── Breadcrumbs ───────────────────────────────────────────── */
.o-breadcrumbs { padding: 12px 0; }
.o-breadcrumbs__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
}
.o-breadcrumbs__link { font-size: 13px; color: #0060a7; text-decoration: none; }
.o-breadcrumbs__link:hover { text-decoration: underline; }
.o-breadcrumbs__current { font-size: 13px; color: #888; }
.o-breadcrumbs__separator { color: #ccc; font-size: 12px; }

/* WooCommerce breadcrumbs */
.woocommerce-breadcrumb {
    font-size: 13px;
    color: #888;
    padding: 12px 0;
    margin-bottom: 16px;
}
.woocommerce-breadcrumb a { color: #0060a7; text-decoration: none; }
.woocommerce-breadcrumb a:hover { text-decoration: underline; }

/* ── Buttons ───────────────────────────────────────────────── */
.c-button__primary {
    background: #0060a7;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background .2s;
    font-family: inherit;
}
.c-button__primary:hover { background: #004d8c; color: #fff; }

.c-button__link {
    color: #0060a7;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}
.c-button__link:hover { text-decoration: underline; }

.c-button__secondary {
    background: #fff;
    color: #0060a7;
    border: 2px solid #0060a7;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: all .2s;
    cursor: pointer;
}
.c-button__secondary:hover { background: #0060a7; color: #fff; }

/* ── Headings ──────────────────────────────────────────────── */
.c-main-category-title__heading {
    font-size: 24px;
    font-weight: 800;
    color: #222;
    margin: 20px 0 24px;
}

/* ── Blog ──────────────────────────────────────────────────── */
.blog_items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 20px;
}
.blog_item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.blog_item .image img { width: 100%; height: 180px; object-fit: cover; display: block; }
.blog_item .info { padding: 18px; }
.blog_item .name {
    font-weight: 700;
    color: #222;
    font-size: 15px;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    line-height: 1.4;
}
.blog_item .name:hover { color: #0060a7; }

/* ── Services grid ─────────────────────────────────────────── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

/* ── Category grid ─────────────────────────────────────────── */
.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.category-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px 14px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
    transition: transform .2s, box-shadow .2s;
    display: block;
    text-decoration: none;
}
.category-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,96,167,.12); }
.category-card__img { width: 100px; height: 100px; object-fit: cover; border-radius: 8px; margin: 0 auto 12px; display: block; }
.category-card__name { font-weight: 700; font-size: 14px; color: #222; line-height: 1.3; }

/* ── Promo banner (homepage) ───────────────────────────────── */
.promo-roomba {
    display: grid;
    grid-template-columns: 1fr 360px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,96,167,.10);
    background: #fff;
    min-height: 260px;
}
.promo-roomba__img { display: block; overflow: hidden; background: #f0f4f8; }
.promo-roomba__body {
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    border-left: 1px solid #eee;
}
.promo-badge {
    font-size: 11px;
    font-weight: 600;
    color: #555;
    background: #f4f6f9;
    padding: 4px 8px;
    border-radius: 6px;
}

/* ── Brand carousel ────────────────────────────────────────── */
.brand-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2px solid #0060a7;
    background: #fff;
    color: #0060a7;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,96,167,.15);
    transition: background .2s, color .2s;
    padding: 0;
    line-height: 1;
}
.brand-arrow .icon { font-size: 13px; line-height: 1; }
.brand-arrow--prev { left: 0; }
.brand-arrow--next { right: 0; }
.brand-arrow:hover { background: #0060a7; color: #fff; }
.brand-arrow:disabled { opacity: .3; cursor: default; }
.brand-arrow:disabled:hover { background: #fff; color: #0060a7; }
.brand-card-link:hover { box-shadow: 0 4px 16px rgba(0,0,0,.1); }

/* ── Account / forms ───────────────────────────────────────── */
.c-login-box {
    max-width: 460px;
    margin: 40px auto;
    background: #fff;
    border-radius: 14px;
    padding: 36px;
    box-shadow: 0 4px 20px rgba(0,0,0,.08);
}
.c-form-group { margin-bottom: 16px; }
.c-form-group label { display: block; font-size: 13px; color: #888; margin-bottom: 5px; font-weight: 600; }
.c-form-group input,
.c-form-group textarea,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 11px 14px;
    font-size: 14px;
    color: #222;
    box-sizing: border-box;
    outline: none;
    font-family: inherit;
    background: #fff;
    transition: border-color .2s;
}
.c-form-group input:focus,
.woocommerce form .form-row input.input-text:focus { border-color: #0060a7; }

/* ── WooCommerce form styles ───────────────────────────────── */
.woocommerce form .form-row { margin-bottom: 16px; }
.woocommerce form .form-row label { font-size: 13px; color: #555; font-weight: 600; margin-bottom: 5px; display: block; }
.woocommerce-error,
.woocommerce-message,
.woocommerce-info {
    border-radius: 8px;
    padding: 14px 18px;
    margin-bottom: 16px;
    font-size: 14px;
    border-left: 4px solid;
}
.woocommerce-error   { background: #fff3f3; border-color: #e53935; color: #c62828; }
.woocommerce-message { background: #f1f8e9; border-color: #43a047; color: #2e7d32; }
.woocommerce-info    { background: #e3f2fd; border-color: #0060a7; color: #0060a7; }

.woocommerce button.button,
.woocommerce input.button,
.woocommerce a.button {
    background: #0060a7;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: background .2s;
    text-decoration: none;
    display: inline-block;
}
.woocommerce button.button:hover { background: #004d8c; color: #fff; }

.woocommerce button.button.alt,
.woocommerce #respond input#submit.alt,
.woocommerce a.button.alt {
    background: #e53935;
}
.woocommerce button.button.alt:hover { background: #c62828; }

/* ── WooCommerce myaccount ─────────────────────────────────── */
.woocommerce-MyAccount-navigation {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    margin-bottom: 24px;
}
.woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.woocommerce-MyAccount-navigation ul li a {
    display: block;
    padding: 10px 14px;
    border-radius: 8px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: background .15s;
}
.woocommerce-MyAccount-navigation ul li a:hover,
.woocommerce-MyAccount-navigation ul li.is-active a {
    background: #f0f4ff;
    color: #0060a7;
}
.woocommerce-MyAccount-content {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
}

/* ── WooCommerce order table ───────────────────────────────── */
.woocommerce-orders-table,
.woocommerce table.shop_table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.woocommerce-orders-table th,
.woocommerce table.shop_table th {
    font-weight: 700;
    color: #333;
    padding: 12px 14px;
    background: #f8f9fa;
    border-bottom: 2px solid #e0e8f0;
    text-align: left;
}
.woocommerce-orders-table td,
.woocommerce table.shop_table td {
    padding: 12px 14px;
    border-bottom: 1px solid #f0f0f0;
    color: #555;
    vertical-align: middle;
}

/* ── Cart toast ────────────────────────────────────────────── */
#products_number,
#products_number_mobile,
#products_number_bottom { transition: transform .2s; }
#products_number.bump { transform: scale(1.4); }

@keyframes toast-in {
    from { opacity: 0; transform: translateX(-50%) translateY(16px); }
    to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
#cart-toast[style*="flex"] { animation: toast-in .3s ease; }

/* ── WooCommerce cart ──────────────────────────────────────── */
.woocommerce-cart table.cart td.actions .coupon { display: flex; gap: 8px; }
.woocommerce-cart .cart_totals { background: #fff; border-radius: 12px; padding: 24px; }

/* ── Mobile bottom nav ─────────────────────────────────────── */
.mob-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 4px;
    text-decoration: none;
    font-size: 10px;
    font-weight: 600;
    gap: 3px;
    color: #888;
}
.mob-nav-active { color: #0060a7 !important; }

/* ── Grid utilities ────────────────────────────────────────── */
.grid { display: flex; flex-wrap: wrap; margin: 0 -10px; }
.grid > * { padding: 0 10px; box-sizing: border-box; }
.grid-12 { flex: 0 0 100%; max-width: 100%; }
.grid-6  { flex: 0 0 50%;  max-width: 50%; }

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

/* Desktop defaults */
.header-search-bar    { display: flex; }
.header-icons-desktop { display: flex; }
.header-icons-mobile  { display: none; }
.header-topbar        { display: block; }
.header-catalog-bar   { display: block; }
#mobile-menu-drawer   { display: none; }
#mobile-menu-overlay  { display: none; }
#mobile-bottom-nav    { display: none; }

@media (min-width: 768px) {
    #mobile-menu-drawer  { display: none !important; }
    #mobile-menu-overlay { display: none !important; }
    #mobile-bottom-nav   { display: none !important; }
    .grid-md-3 { flex: 0 0 25%;     max-width: 25%; }
    .grid-md-4 { flex: 0 0 33.333%; max-width: 33.333%; }
}

/* Tablet */
@media (max-width: 900px) {
    .catalog_list  { grid-template-columns: repeat(3, 1fr); gap: 14px; }
    .category-grid { grid-template-columns: repeat(3, 1fr); }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile */
@media (max-width: 767px) {
    .header-topbar        { display: none !important; }
    .header-search-bar    { display: none !important; }
    .header-icons-desktop { display: none !important; }
    .header-icons-mobile  { display: flex !important; }
    .header-catalog-bar   { display: none !important; }

    .header-main-row { padding: 8px 14px !important; gap: 8px !important; }
    .header-main-row img { height: 44px !important; }

    .wrapper_inner,
    .container { padding-left: 12px !important; padding-right: 12px !important; }

    .catalog_list  { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .category-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .tabs_slider   { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .blog_items    { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; }

    .catalog_item .price .values_wrapper { font-size: 14px; }
    .catalog_item .buttons_block button  { font-size: 12px; padding: 8px 10px; }
    .catalog_item .item-title a          { font-size: 12px; }

    .tabs li { padding: 8px 14px; font-size: 13px; }
    .sort-bar { flex-direction: column; align-items: flex-start; }

    footer > div { grid-template-columns: 1fr !important; }

    .promo-roomba { grid-template-columns: 1fr; min-height: unset; }
    .promo-roomba__img { height: 220px; }
    .promo-roomba__body { border-left: none; border-top: 1px solid #eee; padding: 20px 16px; }

    #mobile-bottom-nav {
        display: flex !important;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: #fff;
        border-top: 1px solid #e0e8f0;
        z-index: 200;
        box-shadow: 0 -2px 12px rgba(0,0,0,.1);
    }
    body { padding-bottom: 56px; }
    #cart-toast { bottom: 72px !important; }

    #mobile-menu-drawer {
        display: block !important;
        position: fixed;
        top: 0;
        left: -100%;
        width: 85%;
        max-width: 320px;
        height: 100%;
        background: #fff;
        z-index: 1000;
        overflow-y: auto;
        transition: left .3s ease;
        box-shadow: 4px 0 24px rgba(0,0,0,.18);
    }
    #mobile-menu-drawer.open { left: 0 !important; }

    #mobile-menu-overlay {
        display: none !important;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,.5);
        z-index: 999;
    }
    #mobile-menu-overlay.open { display: block !important; }

    /* Brands: 2 per row on mobile */
    #brands-track li { flex: 0 0 calc(50% - 6px) !important; }
}

/* Small phones */
@media (max-width: 400px) {
    .catalog_list { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .header-main-row > a:first-child img { height: 34px !important; }
}
