/* =========================================================
   Книжарница "Мечо Пух" — Premium UI (Navy Trust)
   Mobile-first design system
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Baloo+2:wght@600;700;800&display=swap');
@import url('https://fonts.cdnfonts.com/css/guerrilla');

:root {
    /* Brand */
    --navy-900: #0f1b3d;
    --navy-800: #16264d;
    --navy-700: #1e3a5f;
    --navy-500: #3b6fa0;
    --navy-100: #e8edf3;

    /* Neutrals */
    --white: #ffffff;
    --bg: #f6f8fb;
    --surface: #ffffff;
    --line: #e4e9f0;
    --line-strong: #d3dbe6;
    --text: #0f1b3d;
    --text-2: #4a5a72;
    --text-3: #8494ab;

    /* Status */
    --success: #0f8a5f;
    --success-bg: #e6f6ef;
    --warn: #c2700c;
    --warn-bg: #fdf3e3;
    --danger: #c0392b;
    --accent: #e8760f;
    --accent-dark: #cc6608;

    /* Shape */
    --r-sm: 8px;
    --r: 12px;
    --r-lg: 16px;
    --r-xl: 22px;

    --sh-1: 0 1px 2px rgba(15, 27, 61, .06), 0 1px 3px rgba(15, 27, 61, .05);
    --sh-2: 0 4px 14px rgba(15, 27, 61, .08);
    --sh-3: 0 12px 32px rgba(15, 27, 61, .14);

    --header-h: 64px;
    --max: 1320px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    font-size: 15px;
    line-height: 1.5;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select, textarea { font-family: inherit; font-size: 15px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; letter-spacing: -.015em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ============ HEADER ============ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 900;
    background: #fff;
    color: var(--navy-900);
    box-shadow: var(--sh-2);
}

.header-main {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto auto;
    grid-template-areas:
        "toggle logo cart"
        "search search search";
    align-items: center;
    gap: 12px;
    height: auto;
    min-height: var(--header-h);
    padding: 10px 0 12px;
}
.nav-toggle { grid-area: toggle; }
.logo-link { grid-area: logo; }
.header-actions { grid-area: cart; justify-self: end; }
.search-wrapper { grid-area: search; }

.nav-toggle {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: var(--r-sm);
    color: var(--navy-900);
    font-size: 18px;
    flex: 0 0 auto;
}
.nav-toggle:hover { background: rgba(15, 27, 61, .08); }

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 17px;
    letter-spacing: -.02em;
    white-space: nowrap;
    min-width: 0;
}
.logo-link .logo-mark {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--accent);
    color: #fff;
    font-size: 15px;
    flex: 0 0 auto;
}
.logo-link .logo-text { display: none; }

.header-actions { display: flex; align-items: center; gap: 4px; }

.icon-btn {
    position: relative;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: var(--r-sm);
    color: var(--navy-900);
    font-size: 18px;
}
.icon-btn:hover { background: rgba(15, 27, 61, .08); }
.icon-btn .badge {
    position: absolute;
    top: 4px;
    right: 3px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    display: none;
    place-items: center;
}

/* ===== Профил / любими ===== */
.account-btn.signed-in::after {
    content: '';
    position: absolute;
    bottom: 6px;
    right: 6px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #22c55e;
    border: 2px solid #fff;
}

.pc-fav {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 2px 8px rgba(15, 23, 42, .15);
    color: #94a3b8;
    font-size: 15px;
    cursor: pointer;
    z-index: 2;
    display: grid;
    place-items: center;
    transition: transform .12s ease, color .12s ease;
}
.pc-fav:hover { transform: scale(1.08); color: #ef4444; }
.pc-fav.active { color: #ef4444; }

.pd-fav-row { margin: 12px 0; }
.pd-fav {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #e2e8f0;
    background: #fff;
    border-radius: 999px;
    padding: 9px 18px;
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: color .12s ease, border-color .12s ease;
}
.pd-fav:hover { color: #ef4444; border-color: #fca5a5; }
.pd-fav.active { color: #ef4444; border-color: #fca5a5; }
.pd-fav.active i { font-weight: 900; }

/* Search */
.search-wrapper { position: relative; grid-column: 1 / -1; padding-bottom: 12px; }
.search-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border-radius: var(--r);
    padding: 0 12px;
    height: 42px;
    box-shadow: inset 0 0 0 1.5px #dbe2ee;
}
.search-box i { color: var(--text-3); font-size: 14px; }
.search-box input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    background: none;
    color: var(--text);
    height: 100%;
}
.search-clear { color: var(--text-3); font-size: 14px; padding: 4px; }

.autocomplete-items {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% - 6px);
    background: #fff;
    border-radius: var(--r);
    box-shadow: var(--sh-3);
    overflow: hidden;
    max-height: 60vh;
    overflow-y: auto;
    z-index: 950;
}
.autocomplete-items:empty { display: none; }
.ac-item {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 10px 12px;
    cursor: pointer;
    border-bottom: 1px solid var(--line);
    color: var(--text);
}
.ac-item:last-child { border-bottom: 0; }
.ac-item:hover { background: var(--navy-100); }
.ac-item img { width: 42px; height: 42px; object-fit: contain; flex: 0 0 auto; }
.ac-item .ac-name { font-size: 14px; font-weight: 600; }
.ac-item .ac-price { font-size: 13px; color: var(--navy-500); font-weight: 700; }

/* Desktop categories bar */
.categories-bar { display: none; background: var(--navy-800); }
.categories-inner {
    display: grid;
    grid-template-columns: 1.45fr 1.2fr .85fr .7fr 1.1fr .55fr;
    gap: 2px;
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 16px;
}
.dropdown { position: relative; min-width: 0; }
.dropbtn {
    display: block;
    width: 100%;
    padding: 12px 6px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    color: rgba(255, 255, 255, .92);
    border-bottom: 3px solid transparent;
    white-space: nowrap;
}
.dropdown:hover .dropbtn { color: #fff; border-bottom-color: var(--accent); }
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 280px;
    background: #fff;
    border-radius: 0 0 var(--r) var(--r);
    box-shadow: var(--sh-3);
    padding: 8px;
    z-index: 940;
}
.dropdown:nth-last-child(-n + 2) .dropdown-content {
    left: auto;
    right: 0;
}
.dropdown:hover .dropdown-content { display: block; }
.dropdown-content a {
    display: block;
    padding: 9px 12px;
    border-radius: var(--r-sm);
    font-size: 14px;
    color: var(--text-2);
}
.dropdown-content a:hover { background: var(--navy-100); color: var(--navy-900); }

/* ============ MOBILE DRAWER ============ */
.nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 27, 61, .5);
    opacity: 0;
    visibility: hidden;
    transition: .25s;
    z-index: 1000;
    backdrop-filter: blur(2px);
}
.nav-backdrop.open { opacity: 1; visibility: visible; }

.mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(88vw, 340px);
    background: #fff;
    z-index: 1010;
    transform: translateX(-100%);
    transition: transform .28s cubic-bezier(.4, 0, .2, 1);
    display: flex;
    flex-direction: column;
}
.mobile-drawer.open { transform: none; }
.md-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: var(--navy-900);
    color: #fff;
    font-weight: 800;
}
.md-head button { color: #fff; font-size: 20px; }
.md-body { flex: 1; overflow-y: auto; padding: 8px 0 40px; }
.md-item { border-bottom: 1px solid var(--line); }
.md-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 16px;
    font-weight: 600;
    color: var(--navy-900);
}
.md-caret {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: var(--r-sm);
    color: var(--text-3);
    transition: transform .2s;
}
.md-item.open .md-caret { transform: rotate(180deg); }
.md-sub { display: none; padding: 0 0 8px; background: #fafbfd; }
.md-item.open .md-sub { display: block; }
.md-sub a { display: block; padding: 10px 16px 10px 30px; font-size: 14px; color: var(--text-2); }
.md-sub a:hover { color: var(--navy-900); }

/* ============ CART DRAWER ============ */
.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(94vw, 420px);
    background: var(--surface);
    z-index: 1010;
    transform: translateX(105%);
    transition: transform .28s cubic-bezier(.4, 0, .2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: var(--sh-3);
}
.cart-drawer.open { transform: none; }
.cd-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border-bottom: 1px solid var(--line);
}
.cd-head h3 { font-size: 17px; }
.cd-head button { font-size: 20px; color: var(--text-2); width: 36px; height: 36px; border-radius: var(--r-sm); }
.cd-head button:hover { background: var(--navy-100); }
.cd-body { flex: 1; overflow-y: auto; padding: 12px 16px; }
.cd-empty { text-align: center; padding: 48px 12px; color: var(--text-3); }
.cd-empty i { font-size: 40px; margin-bottom: 12px; display: block; color: var(--line-strong); }

.cd-item {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) auto;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    align-items: start;
}
.cd-item img { width: 64px; height: 64px; object-fit: contain; border-radius: var(--r-sm); background: #fff; }
.cd-item .cd-name { font-size: 14px; font-weight: 600; margin-bottom: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cd-item .cd-price { font-weight: 800; color: var(--navy-900); font-size: 14px; }
.cd-remove { color: var(--text-3); font-size: 14px; padding: 4px; }
.cd-remove:hover { color: var(--danger); }

.qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    overflow: hidden;
    background: #fff;
}
.qty button { width: 30px; height: 30px; display: grid; place-items: center; color: var(--navy-700); font-size: 13px; }
.qty button:hover { background: var(--navy-100); }
.qty span { min-width: 30px; text-align: center; font-weight: 700; font-size: 14px; }

.cd-foot { border-top: 1px solid var(--line); padding: 16px; background: #fff; }
.cd-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; }
.cd-total b { font-size: 22px; }
.cd-total-bgn { font-size: 12px; color: var(--text-3); text-align: right; margin-bottom: 12px; }

/* ============ BUTTONS ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: var(--r);
    font-weight: 700;
    font-size: 14px;
    transition: .18s;
    line-height: 1;
    text-align: center;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 4px 12px rgba(232, 118, 15, .25); }
.btn-primary:hover { background: var(--accent-dark); }
.btn-navy { background: var(--navy-900); color: #fff; }
.btn-navy:hover { background: var(--navy-700); }
.btn-ghost { background: #fff; color: var(--navy-900); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn-ghost:hover { background: var(--navy-100); }
.btn-block { width: 100%; }
.btn-lg { padding: 15px 22px; font-size: 15px; }
.btn:disabled { opacity: .55; cursor: not-allowed; }

/* ============ BADGES ============ */
.badge-stock {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}
.badge-stock.in { background: var(--success-bg); color: var(--success); }
.badge-stock.request { background: var(--warn-bg); color: var(--warn); }
.badge-stock.out { background: #fdeceb; color: var(--danger); }

/* ============ PRODUCT GRID / CARDS ============ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
@media (min-width: 620px) { .products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 900px) { .products-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1200px) { .products-grid.grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* ============ CAROUSEL (един ред със стрелки) ============ */
.carousel { position: relative; }
.carousel .products-grid.is-rail {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
}
.carousel .products-grid.is-rail::-webkit-scrollbar { display: none; }
.carousel .products-grid.is-rail > .product-card {
    flex: 0 0 calc((100% - 12px) / 2);
    scroll-snap-align: start;
}
@media (min-width: 620px) { .carousel .products-grid.is-rail > .product-card { flex-basis: calc((100% - 32px) / 3); } }
@media (min-width: 900px) { .carousel .products-grid.is-rail > .product-card { flex-basis: calc((100% - 60px) / 4); } }
@media (min-width: 1200px) { .carousel .products-grid.is-rail > .product-card { flex-basis: calc((100% - 80px) / 5); } }

.car-arrow {
    position: absolute;
    top: 38%;
    z-index: 4;
    width: 40px; height: 40px;
    border-radius: 999px;
    border: 1px solid var(--border, #dde3ec);
    background: #fff;
    color: var(--navy, #0f1b3d);
    display: grid; place-items: center;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(15, 27, 61, .15);
    transition: opacity .2s, transform .15s;
}
.car-arrow:hover { transform: scale(1.06); }
.car-arrow.prev { left: -14px; }
.car-arrow.next { right: -14px; }
.car-arrow[disabled] { opacity: 0; pointer-events: none; }
@media (max-width: 700px) { .car-arrow { display: none; } }

.product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--surface);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-1);
    overflow: hidden;
    transition: transform .18s, box-shadow .18s;
    cursor: pointer;
    position: relative;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--sh-3); }
.pc-media {
    position: relative;
    aspect-ratio: 1 / 1;
    background: #fff;
    padding: 12px;
    display: grid;
    place-items: center;
    overflow: hidden;
}
.pc-media img { position: absolute; inset: 12px; width: calc(100% - 24px); height: calc(100% - 24px); object-fit: contain; transition: transform .3s; }
.product-card:hover .pc-media img { transform: scale(1.05); }
.pc-flag {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 2;
    pointer-events: none;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .03em;
}
.pc-body { display: flex; flex-direction: column; flex: 1; padding: 12px; gap: 8px; border-top: 1px solid var(--line); }
.pc-brand { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--text-3); font-weight: 700; }
.pc-title {
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.35;
    min-height: 2.7em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.pc-title a { color: inherit; text-decoration: none; }
.pc-title a:hover { color: var(--navy-500); }
a.pc-media { color: inherit; text-decoration: none; }
.pc-spacer { flex: 1; }
.pc-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.pc-price b { font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.pc-price small { font-size: 11.5px; color: var(--text-3); font-weight: 600; }
.pc-btn { margin-top: 2px; }

/* ============ SECTIONS ============ */
.section { padding: 28px 0; }
.section-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 12px;
    margin-bottom: 18px;
}
.section-head h2 {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -.02em;
    position: relative;
    padding-left: 14px;
}
.section-head h2::before {
    content: "";
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 5px; height: 1em;
    border-radius: 99px;
    background: var(--accent);
}
.section-sub {
    margin: 4px 0 0 14px;
    font-size: 13px;
    color: var(--text-2);
    font-weight: 500;
}
.section-head .link { font-size: 13px; font-weight: 700; color: var(--navy-500); white-space: nowrap; }

/* Hero */
.hero {
    position: relative;
    background:
        radial-gradient(1000px 420px at 88% -10%, rgba(59, 111, 160, .55), transparent 60%),
        linear-gradient(135deg, var(--navy-900), var(--navy-800) 55%, var(--navy-700));
    color: #fff;
    border-radius: 0 0 var(--r-xl) var(--r-xl);
    padding: 34px 0 38px;
    overflow: hidden;
}
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, .5), transparent 70%);
    pointer-events: none;
}
.hero-grid { position: relative; z-index: 1; display: grid; gap: 24px; }
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 99px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .18);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.hero-eyebrow i { color: var(--accent); }
.hero h1 { font-size: 27px; font-weight: 800; margin: 0 0 10px; letter-spacing: -.03em; line-height: 1.15; }
.hero p { color: rgba(255, 255, 255, .82); margin: 0 0 20px; max-width: 52ch; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-quick {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    font-size: 12.5px;
    color: rgba(255, 255, 255, .6);
    font-weight: 600;
}
.hero-quick a {
    color: #fff;
    padding: 5px 11px;
    border-radius: 99px;
    background: rgba(255, 255, 255, .1);
    transition: .18s;
}
.hero-quick a:hover { background: var(--accent); }

.hero-panel { display: grid; gap: 10px; align-content: start; }
.hp-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: var(--r-lg);
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .14);
    color: #fff;
    transition: .18s;
}
.hp-card:hover { background: rgba(255, 255, 255, .16); transform: translateX(3px); color: #fff; }
.hp-card > i:first-child {
    width: 40px; height: 40px;
    display: grid; place-items: center;
    border-radius: 12px;
    background: rgba(232, 118, 15, .18);
    color: var(--accent);
    font-size: 17px;
}
.hp-card strong { display: block; font-size: 14.5px; font-weight: 800; }
.hp-card span { font-size: 12.5px; color: rgba(255, 255, 255, .68); }
.hp-go { font-size: 12px; color: rgba(255, 255, 255, .5); }

.trust-strip { padding: 18px 0 4px; }
.usp-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}
.usp {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 14px;
    border-radius: var(--r);
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--sh-1);
    font-size: 12.5px;
    font-weight: 700;
    color: var(--text);
}
.usp i { font-size: 16px; color: var(--accent); flex: 0 0 auto; }

/* Category tiles */
.cat-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 700px) { .cat-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .cat-tiles { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.cat-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 12px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-1);
    text-align: center;
    font-weight: 700;
    font-size: 13px;
    transition: .18s;
}
.cat-tile:hover { transform: translateY(-3px); box-shadow: var(--sh-2); color: var(--navy-500); border-color: var(--navy-100); }
.cat-tile i {
    width: 46px; height: 46px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: var(--navy-100);
    font-size: 19px;
    color: var(--navy-700);
    transition: .18s;
}
.cat-tile:hover i { background: var(--navy-900); color: #fff; }


/* ============ BREADCRUMB ============ */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    font-size: 12.5px;
    color: var(--text-3);
    padding: 14px 0;
}
.breadcrumb a { color: var(--text-2); }
.breadcrumb a:hover { color: var(--navy-500); }
.breadcrumb .sep { opacity: .6; }
.breadcrumb .current { color: var(--navy-900); font-weight: 600; }

/* ============ CATEGORY LAYOUT + FILTERS ============ */
.cat-layout { display: block; padding-bottom: 40px; }
.filters-col { display: none; }
@media (min-width: 992px) {
    .cat-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 24px; align-items: start; }
    .filters-col { display: block; position: sticky; top: calc(var(--header-h) + 52px); max-height: calc(100vh - 140px); overflow-y: auto; }
    .filters-bar-mobile { display: none !important; }
}

.filters-panel { background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--sh-1); overflow: hidden; }
.fp-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
    font-weight: 800;
    font-size: 15px;
}
.fp-reset { font-size: 12.5px; font-weight: 700; color: var(--navy-500); }
.filter-group { border-bottom: 1px solid var(--line); }
.fg-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 13px 16px;
    font-weight: 700;
    font-size: 13.5px;
    text-align: left;
}
.fg-head i { color: var(--text-3); font-size: 12px; transition: transform .2s; }
.filter-group.open .fg-head i { transform: rotate(180deg); }
.fg-body { display: none; padding: 0 16px 14px; max-height: 250px; overflow-y: auto; }
.fg-body.scroll { max-height: 300px; }
.fg-search { width: 100%; margin: 0 0 8px; padding: 7px 10px; font: inherit; font-size: 13px; border: 1px solid var(--line, #e3e8ef); border-radius: 8px; background: #fff; }
.fg-search:focus { outline: none; border-color: var(--navy-500, #1e3a5f); }
.filter-group.open .fg-body { display: block; }

.fopt {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    font-size: 13.5px;
    color: var(--text-2);
    cursor: pointer;
}
.fopt input { width: 17px; height: 17px; accent-color: var(--navy-700); flex: 0 0 auto; }
.fopt .cnt { margin-left: auto; font-size: 11.5px; color: var(--text-3); }
.fopt:hover { color: var(--navy-900); }

.price-row { display: flex; align-items: center; gap: 8px; }
.price-row input {
    width: 100%;
    min-width: 0;
    padding: 9px 10px;
    border: 1px solid var(--line-strong);
    border-radius: var(--r-sm);
    outline: 0;
}
.price-row input:focus { border-color: var(--navy-500); }

.toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    background: var(--surface);
    border-radius: var(--r);
    box-shadow: var(--sh-1);
    padding: 10px 12px;
    margin-bottom: 16px;
}
.toolbar .count { font-size: 13px; color: var(--text-2); font-weight: 600; }
.toolbar select {
    border: 1px solid var(--line-strong);
    border-radius: var(--r-sm);
    padding: 8px 10px;
    background: #fff;
    outline: 0;
    font-weight: 600;
    font-size: 13px;
}
.filters-bar-mobile { margin-bottom: 12px; }

.active-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--navy-100);
    color: var(--navy-800);
    font-size: 12.5px;
    font-weight: 700;
}
.chip button { color: var(--navy-700); font-size: 11px; }

/* Filters as bottom-sheet on mobile */
.sheet {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    max-height: 85vh;
    background: #fff;
    border-radius: var(--r-xl) var(--r-xl) 0 0;
    z-index: 1010;
    transform: translateY(105%);
    transition: transform .28s cubic-bezier(.4, 0, .2, 1);
    display: flex;
    flex-direction: column;
}
.sheet.open { transform: none; }
.sheet-body { overflow-y: auto; flex: 1; }
.sheet-foot { padding: 14px 16px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* Pagination */
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 26px 0 10px; }
.pagination button {
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: var(--r-sm);
    background: #fff;
    box-shadow: inset 0 0 0 1px var(--line-strong);
    font-weight: 700;
    font-size: 14px;
    color: var(--navy-800);
}
.pagination button:hover:not(:disabled) { background: var(--navy-100); }
.pagination button.active { background: var(--navy-900); color: #fff; box-shadow: none; }
.pagination button:disabled { opacity: .4; cursor: default; }
.pagination .dots { display: grid; place-items: center; min-width: 26px; height: 40px; color: var(--text-3); }

/* ============ PRODUCT DETAILS ============ */
.pd-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; padding-bottom: 40px; }
.pd-layout > * { min-width: 0; }
.pd-layout h1, .pd-layout h2, .pd-layout p, .pd-layout li { overflow-wrap: anywhere; }
.breadcrumb { flex-wrap: wrap; overflow-wrap: anywhere; }
@media (min-width: 900px) { .pd-layout { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 32px; align-items: start; } }

.gallery { background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--sh-1); padding: 12px; }
.gallery-main { position: relative; aspect-ratio: 1 / 1; display: block; overflow: hidden; border-radius: var(--r); }
.gallery-main img { display: block; width: 100%; height: 100%; max-width: 100%; max-height: 100%; object-fit: contain; }

.g-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .95);
    box-shadow: var(--sh-2);
    display: grid;
    place-items: center;
    color: var(--navy-900);
    font-size: 14px;
    z-index: 2;
}
.g-arrow.prev { left: 8px; }
.g-arrow.next { right: 8px; }
.g-counter {
    position: absolute;
    bottom: 8px;
    right: 10px;
    background: rgba(15, 27, 61, .75);
    color: #fff;
    font-size: 11.5px;
    font-weight: 700;
    padding: 4px 9px;
    border-radius: 999px;
}
.thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 10px 2px 2px; scrollbar-width: thin; }
.thumb {
    flex: 0 0 auto;
    width: 62px;
    height: 62px;
    border-radius: var(--r-sm);
    background: #fff;
    box-shadow: inset 0 0 0 1px var(--line);
    display: grid;
    place-items: center;
    padding: 5px;
    cursor: pointer;
}
.thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.thumb.active { box-shadow: inset 0 0 0 2px var(--accent); }

.pd-info { background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--sh-1); padding: 18px; }
.pd-info h1 { font-size: 21px; font-weight: 800; margin-bottom: 10px; }
.pd-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 13px; color: var(--text-2); margin-bottom: 14px; }
.pd-meta a { color: var(--navy-500); font-weight: 700; }
.pd-price-box { padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.pd-price { font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
.pd-price-bgn { font-size: 13px; color: var(--text-3); font-weight: 600; }
.pd-actions { display: grid; gap: 10px; grid-template-columns: auto minmax(0, 1fr); align-items: center; }
.trust-row { display: grid; gap: 10px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.trust { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--text-2); }
.trust i { color: var(--navy-500); width: 18px; text-align: center; margin-top: 2px; }

.tabs { margin-top: 4px; background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--sh-1); overflow: hidden; }
.tabs-nav { display: flex; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tab-btn { padding: 14px 18px; font-weight: 700; font-size: 14px; color: var(--text-2); border-bottom: 3px solid transparent; white-space: nowrap; }
.tab-btn.active { color: var(--navy-900); border-bottom-color: var(--accent); }
.tab-content { display: none; padding: 18px; }
.tab-content.active { display: block; }
.tab-content p { margin-top: 0; color: var(--text-2); line-height: 1.7; }

.specs-list { display: grid; gap: 1px; background: var(--line); border-radius: var(--r); overflow: hidden; }
.spec-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 12px; background: #fff; padding: 12px 14px; font-size: 13.5px; }
.spec-row .k { color: var(--text-2); display: flex; align-items: center; gap: 8px; font-weight: 600; }
.spec-row .k i { color: var(--navy-500); width: 16px; text-align: center; }
.spec-row .v { font-weight: 700; color: var(--navy-900); }
.spec-row .v a { color: var(--navy-500); }

/* ============ CART PAGE ============ */
.cart-layout { display: grid; gap: 20px; padding-bottom: 40px; }
@media (min-width: 950px) { .cart-layout { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; } }
.panel { background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--sh-1); padding: 18px; }
.panel h2 { font-size: 17px; margin-bottom: 14px; }
.field { margin-bottom: 12px; }
.field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; color: var(--text-2); }
.field input, .field select, .field textarea {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid var(--line-strong);
    border-radius: var(--r-sm);
    outline: 0;
    background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy-500); box-shadow: 0 0 0 3px rgba(59, 111, 160, .12); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 640px) { .field-row { grid-template-columns: 1fr; gap: 0; } }

.radio-cards { display: grid; gap: 10px; }
.radio-cards.three { grid-template-columns: repeat(3, 1fr); }
.radio-cards.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 640px) { .radio-cards.three, .radio-cards.two { grid-template-columns: 1fr; } }
.radio-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 14px;
    border: 1px solid var(--line-strong);
    border-radius: var(--r-sm);
    background: #fff;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    color: var(--navy-900);
    transition: border-color .15s, background .15s, box-shadow .15s;
    user-select: none;
}
.radio-card i { font-size: 17px; color: var(--text-3, #8b98ab); }
.radio-card input { accent-color: var(--accent); width: 16px; height: 16px; margin: 0; flex: none; }
.radio-card:hover { border-color: var(--navy-500); }
.radio-card:has(input:checked) { border-color: var(--accent); background: #fff7ef; box-shadow: 0 0 0 3px rgba(232, 118, 15, .12); }
.radio-card:has(input:checked) i { color: var(--accent); }
.pay-hint {
    margin-top: 12px;
    padding: 10px 12px;
    background: var(--bg, #f4f6f9);
    border-radius: var(--r-sm);
    font-size: 13px;
    color: var(--text-2);
    display: flex;
    align-items: center;
    gap: 8px;
}
.pay-hint::before { content: "\f05a"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--navy-500); }

.summary-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; color: var(--text-2); }
.summary-row.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; font-size: 20px; font-weight: 800; color: var(--navy-900); }

/* ============ TOAST ============ */
.toast {
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translate(-50%, 120%);
    opacity: 0;
    pointer-events: none;
    background: var(--navy-900);
    color: #fff;
    padding: 12px 18px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: var(--sh-3);
    z-index: 1200;
    transition: transform .3s cubic-bezier(.4, 0, .2, 1), opacity .25s;
    display: flex;
    align-items: center;
    gap: 8px;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.toast i { color: #4ade80; }

/* ============ FOOTER ============ */
.site-footer { background: var(--navy-900); color: rgba(255, 255, 255, .78); margin-top: 30px; padding: 34px 0 20px; font-size: 13.5px; }
.footer-grid { display: grid; gap: 26px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer h4 { color: #fff; font-size: 14px; margin-bottom: 12px; }
.site-footer a { display: block; padding: 4px 0; color: rgba(255, 255, 255, .78); }
.site-footer a:hover { color: #fff; }
.footer-bottom { margin-top: 26px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 12.5px; color: rgba(255, 255, 255, .55); text-align: center; }

/* Skeletons / empty state */
.empty-state { text-align: center; padding: 60px 16px; color: var(--text-3); grid-column: 1 / -1; }
.empty-state i { font-size: 44px; color: var(--line-strong); display: block; margin-bottom: 14px; }
.empty-state h3 { color: var(--navy-900); margin-bottom: 6px; }

.back-to-top {
    position: fixed;
    right: 16px;
    bottom: 16px;
    width: 46px;
    height: 46px;
    border-radius: 999px;
    background: var(--navy-900);
    color: #fff;
    box-shadow: var(--sh-3);
    z-index: 800;
    opacity: 0;
    visibility: hidden;
    transition: .25s;
    display: grid;
    place-items: center;
}
.back-to-top.show { opacity: 1; visibility: visible; }
@media (max-width: 767px) { .back-to-top { display: none; } }

/* ============ DESKTOP UP ============ */
@media (min-width: 768px) {
    body { font-size: 15.5px; }
    .header-main {
        grid-template-columns: auto minmax(0, 1fr) minmax(0, 1.5fr) auto;
        grid-template-rows: auto;
        grid-template-areas: "toggle logo search cart";
        height: 74px;
        padding: 0;
        gap: 20px;
    }
    .nav-toggle { display: none; }
    .logo-link .logo-text { display: inline; }
    .search-wrapper { grid-area: search; padding-bottom: 0; }
    .header-actions { justify-self: end; }
    .categories-bar { display: block; }
    .hero h1 { font-size: 40px; }
    .hero { padding: 56px 0 60px; }
    .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px; align-items: center; }
    .usp-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }

    .section { padding: 40px 0; }
    .section-head h2 { font-size: 24px; }
    .pd-info { padding: 24px; }
    .pd-info h1 { font-size: 26px; }
    .container { padding: 0 24px; }
}

/* ---------- Странична навигация категории ---------- */
.cat-nav{border-bottom:1px solid #e4e9f0;padding-bottom:14px;margin-bottom:14px}
.cn-head{font-weight:700;font-size:12.5px;letter-spacing:.06em;text-transform:uppercase;color:#64748b;padding:2px 2px 10px}
.cn-back{display:flex;align-items:center;gap:8px;font-size:13px;color:#64748b;text-decoration:none;padding:6px 2px 10px}
.cn-back:hover{color:var(--navy-900,#0f1b3d)}
.cn-sub{display:flex;align-items:flex-start;gap:9px;padding:9px 4px;font-size:14.5px;color:#334155;text-decoration:none;border-radius:6px;transition:.15s}
.cn-sub i{font-size:10px;margin-top:5px;color:#94a3b8;flex-shrink:0}
.cn-sub:hover{color:#e67e22}
.cn-sub:hover i{color:#e67e22}
.cn-sub.active{color:#e67e22;font-weight:700}
.cn-sub.active i{color:#e67e22}

/* ── От същата колекция (панел до продукта) ───────────────── */
.coll-panel h2 { font-size: 1.05rem; margin: 0 0 12px; }
.coll-list { display: grid; gap: 8px; }
.coll-item {
    display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center;
    padding: 8px; border: 1px solid var(--line, #e8edf3); border-radius: 10px;
    text-decoration: none; color: inherit; background: #fff; transition: .18s;
}
.coll-item:hover { border-color: var(--accent, #e8820c); box-shadow: 0 4px 14px rgba(15,27,61,.08); }
.coll-item img { width: 56px; height: 56px; object-fit: contain; border-radius: 8px; background: #f7f9fc; }
.coll-txt { display: grid; gap: 2px; min-width: 0; }
.coll-name { font-size: .86rem; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.coll-price { font-weight: 700; font-size: .92rem; }
.coll-price small { font-weight: 500; opacity: .6; font-size: .75rem; }
.coll-item .fa-chevron-right { opacity: .35; font-size: .8rem; }

/* Hero слайдер */
.hero-slider { padding: 16px 0 4px; }
.hs-frame { position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-2); }
.hs-track { display: flex; transition: transform .5s cubic-bezier(.4, 0, .2, 1); }
.hs-slide {
    position: relative;
    flex: 0 0 100%;
    min-height: 260px;
    display: flex;
    align-items: center;
    padding: 28px 22px;
    color: #fff;
    text-decoration: none;
    overflow: hidden;
}
.hs-slide::after {
    content: "";
    position: absolute;
    right: -60px; top: -60px;
    width: 260px; height: 260px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .10);
}
.hs-a { background: linear-gradient(120deg, var(--navy-900), var(--navy-700)); }
.hs-media { display: none; }
.hs-b { background: linear-gradient(120deg, #123a52, #2d8a9e); }
.hs-c { background: linear-gradient(120deg, #3b2a56, #8b5cf6); }
.hs-d { background: linear-gradient(120deg, #7a3a12, #e08b2a); }
.hs-copy { position: relative; z-index: 1; max-width: 46ch; }
.hs-kicker {
    display: inline-block;
    font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
    background: rgba(255, 255, 255, .16);
    padding: 6px 12px; border-radius: 999px; margin-bottom: 12px;
}
.hs-slide h2 { font-size: 30px; line-height: 1.1; letter-spacing: -.03em; margin: 0 0 8px; font-weight: 800; }
.hs-slide p { margin: 0 0 18px; color: rgba(255, 255, 255, .85); }
.hs-badge {
    position: absolute; z-index: 1; right: 18px; bottom: 18px;
    background: var(--accent); color: #fff;
    font-weight: 800; font-size: 18px;
    padding: 14px 16px; border-radius: 999px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .22);
}
.hs-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 40px; height: 40px; border-radius: 50%;
    border: 0; cursor: pointer; z-index: 2;
    background: rgba(255, 255, 255, .9); color: var(--navy-900);
    display: grid; place-items: center;
    box-shadow: var(--sh-1);
}
.hs-arrow:hover { background: #fff; }
.hs-arrow.prev { left: 10px; }
.hs-arrow.next { right: 10px; }
.hs-dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 7px; z-index: 2; }
.hs-dots button {
    width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%;
    background: rgba(255, 255, 255, .45); cursor: pointer;
}
.hs-dots button.active { background: #fff; width: 22px; border-radius: 999px; }
@media (min-width: 900px) {
    .hs-slide { min-height: 360px; padding: 48px 64px; }
    .hs-slide h2 { font-size: 48px; }
    .hs-slide p { font-size: 17px; }
    .hs-badge { right: 56px; bottom: auto; top: 50%; transform: translateY(-50%); font-size: 30px; padding: 26px 22px; }
    .hs-media {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 14px;
        position: absolute; right: 32px; top: 0; bottom: 0;
        width: 52%;
        -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%);
        mask-image: linear-gradient(90deg, transparent, #000 18%);
    }
    .hs-media img {
        width: 150px; height: 190px;
        object-fit: contain;
        background: #fff;
        border-radius: 14px;
        padding: 10px;
        box-shadow: 0 14px 30px rgba(0,0,0,.28);
    }
    .hs-media img:nth-child(1) { transform: rotate(-4deg) translateY(6px); }
    .hs-media img:nth-child(3) { transform: rotate(4deg) translateY(6px); }
    .hs-slide.has-media .hs-copy { max-width: 40ch; }
    .hs-slide.has-media::after { display: none; }
    .hs-slide.has-media .hs-badge { right: 40px; left: auto; top: 18px; bottom: auto; transform: none; font-size: 22px; padding: 18px 16px; }
}

/* ===== Brand strip ===== */
.brands-section { padding-top: 22px; padding-bottom: 6px; }
.brands-carousel .brand-rail {
    display: flex; gap: 14px; overflow-x: auto; scroll-behavior: smooth;
    scrollbar-width: none; padding: 4px 2px;
}
.brands-carousel .brand-rail::-webkit-scrollbar { display: none; }
.brand-tile {
    flex: 0 0 auto; min-width: 168px; height: 76px;
    display: flex; align-items: center; justify-content: center;
    background: #fff; border: 1px solid var(--line); border-radius: 14px;
    text-decoration: none; transition: .18s ease;
}
.brand-tile span {
    font-weight: 800; font-size: 17px; letter-spacing: .5px;
    color: var(--navy-700, #0f1b3d); text-transform: uppercase;
}
.brand-tile:hover { border-color: var(--orange, #e8760f); box-shadow: 0 8px 20px rgba(15,27,61,.10); transform: translateY(-2px); }
.brand-tile:hover span { color: var(--orange, #e8760f); }
@media (max-width: 640px) { .brand-tile { min-width: 132px; height: 64px; } .brand-tile span { font-size: 14px; } }

/* ---- Отстъпки ---- */
.old-price { color: var(--text-3); font-weight: 600; font-size: 13px; text-decoration: line-through; }
.pc-price.has-sale b { color: #d64500; }
.pc-sale, .pd-sale {
    display: inline-block; background: #d64500; color: #fff; font-weight: 800;
    font-size: 12px; letter-spacing: .02em; padding: 4px 8px; border-radius: 999px;
}
.pc-sale { position: absolute; top: 10px; right: 10px; z-index: 2; }
.pd-price .old-price { font-size: 18px; margin-left: 8px; }
.pd-sale { margin-left: 10px; vertical-align: middle; }

/* Асортиментен продукт — предупреждение */
.pd-notice {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 10px;
    background: color-mix(in srgb, var(--warning, #f59e0b) 12%, transparent);
    border: 1px solid color-mix(in srgb, var(--warning, #f59e0b) 40%, transparent);
    color: var(--text);
    font-size: 14px;
    line-height: 1.45;
}
.pd-notice i { color: var(--warning, #f59e0b); margin-top: 2px; }

/* --- Автодовършване (град / офис на куриера) --- */
.ac-wrap { position: relative; }
.ac-list {
    position: absolute; top: 100%; left: 0; right: 0; z-index: 60;
    margin-top: 4px; max-height: 260px; overflow-y: auto;
    background: var(--surface, #fff); border: 1px solid var(--border, #e2e8f0);
    border-radius: 10px; box-shadow: 0 12px 30px rgba(15, 23, 42, .14);
}
.ac-item {
    display: block; width: 100%; text-align: left; padding: 9px 14px;
    font-size: 13.5px; background: none; border: 0; cursor: pointer; color: var(--text-1, #1e293b);
}
.ac-item:hover, .ac-item:focus { background: var(--navy-50, #f1f5f9); }
.field-row.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 640px) { .field-row.four { grid-template-columns: 1fr 1fr; } }

/* Shop logo image */
.logo-link { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-link .logo-img { height: 70px; width: auto; display: block; }
.logo-link .logo-words { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.05; font-family: 'GUERRILLA', 'Baloo 2', 'Manrope', sans-serif; font-weight: 400; text-transform: uppercase; }
.logo-link .lw-top { color: #1d4ed8; font-size: 2.2rem; letter-spacing: .2px; }
.logo-link .lw-bottom { color: #dc2626; font-size: 1.9rem; display: flex; align-items: center; gap: 8px; }
.logo-link .lw-bottom::before, .logo-link .lw-bottom::after { content: ""; width: 18px; height: 5px; border-radius: 3px; background: #f26722; }
@media (min-width: 900px) {
    .logo-link .logo-img { height: 66px; }
    .logo-link .lw-top { font-size: 1.85rem; }
    .logo-link .lw-bottom { font-size: 1.55rem; }
}
@media (max-width: 420px) { .logo-link .lw-top { font-size: .95rem; } .logo-link .lw-bottom { font-size: .85rem; } }
