/* tarifebi.ge — v4.5 */
:root {
    --bg: #f5f6fa;
    --surface: #ffffff;
    --text: #1a1a2e;
    --text-muted: #6b7280;
    --primary: #2563eb;
    --primary-light: #dbeafe;
    --accent: #e11d48;
    --accent-light: #fee2e2;
    --green: #059669;
    --green-light: #d1fae5;
    --border: #e5e7eb;
    --shadow: 0 1px 3px rgba(0,0,0,.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,.1);
    --shadow-lg: 0 8px 24px rgba(0,0,0,.12);
    --radius: 12px;
    --radius-sm: 8px;
    --font: 'BPG Glaho Bold', 'Noto Sans Georgian', 'Inter', system-ui, sans-serif;
    --font-nav: 'BPG No9', 'Noto Sans Georgian', sans-serif;
    --font-input: 'ALK Sanet', 'Noto Sans Georgian', sans-serif;
    --font-display: 'BPG LE Studio 04 Caps', 'Inter', sans-serif;
    --font-heading: 'BPG Banner SuperSquare Caps', 'Noto Sans Georgian', sans-serif;
    --font-cat: 'BPG No9', 'Noto Sans Georgian', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ==================== HEADER ==================== */
.site-header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 12px 0;
}

.site-header .container {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-text {
    font-size: 24px;
    font-weight: 800;
    color: var(--text);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.logo-dot {
    color: var(--primary);
}

.search-wrap {
    flex: 1;
    max-width: 520px;
    position: relative;
}

.search-wrap input {
    width: 100%;
    padding: 10px 44px 10px 16px;
    border: 2px solid var(--border);
    border-radius: 50px;
    font-size: 15px;
    font-family: var(--font-input);
    background: var(--bg);
    transition: border-color .2s;
    outline: none;
}

.search-wrap input:focus {
    border-color: var(--primary);
    background: white;
}

.search-wrap button {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary);
    color: white;
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s;
}

.search-wrap button:hover { background: #1d4ed8; }

.header-stats {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.stat-badge {
    background: var(--green-light);
    color: var(--green);
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.btn-back {
    color: var(--primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    transition: background .2s;
}

.btn-back:hover {
    background: var(--primary-light);
}

/* ==================== HEADER NAV — DROPDOWNS ==================== */
.header-nav {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.dropdown {
    position: relative;
}

.dropdown-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 2px solid var(--border);
    border-radius: 50px;
    background: var(--surface);
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font);
    color: var(--text);
    cursor: pointer;
    transition: all .2s;
    white-space: nowrap;
}

.dropdown-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.dropdown-btn svg:first-child {
    flex-shrink: 0;
}

.dropdown-arrow {

    flex-shrink: 0;
}

.dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown.open .dropdown-btn {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 220px;
    max-height: 380px;
    overflow-y: auto;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    z-index: 200;
    padding: 6px;
}

.dropdown.open .dropdown-menu {
    display: block;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 9px 12px;
    border: none;
    background: none;
    font-size: 14px;
    font-family: var(--font);
    font-weight: 500;
    color: var(--text);
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: background .15s;
    text-align: left;
    text-decoration: none;
}

.dropdown-item:hover {
    background: var(--bg);
}

.dropdown-item.active {
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 600;
}

.dropdown-item.hidden {
    display: none;
}

.item-logo {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    object-fit: contain;
    flex-shrink: 0;
}

.item-name {
    flex: 1;
}

.item-count {
    font-size: 12px;
    color: var(--text-muted);
    background: var(--bg);
    padding: 2px 8px;
    border-radius: 50px;
    font-weight: 600;
}

/* ==================== CATEGORY NAV ==================== */
.cat-nav {
    background: var(--bg);
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.cat-pills {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
}

.cat-pills::-webkit-scrollbar { display: none; }

/* Pill arrow buttons */
.cat-nav .container {
    display: flex;
    align-items: center;
    gap: 6px;
}

.pills-arrow {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: var(--surface);
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    transition: all .2s;
    padding: 0;
    font-family: var(--font);
}

.pills-arrow:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}

/* Discount pill */
.discount-pill {
    border-color: var(--green) !important;
    color: var(--green) !important;
    gap: 5px;
    display: flex;
    align-items: center;
}

.discount-pill.active {
    background: var(--green) !important;
    color: white !important;
    border-color: var(--green) !important;
}

.cat-pill {
    flex-shrink: 0;
    padding: 6px 14px;
    border: 2px solid var(--border);
    border-radius: 16px;
    background: var(--surface);
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    font-family: var(--font);
    cursor: pointer;
    transition: all .2s;
    white-space: nowrap;
    text-decoration: none;
}

.cat-pill:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.cat-pill.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* ==================== CITY PILLS (store page) ==================== */
.city-nav {
    background: var(--surface);
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.city-pills {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 2px;
}

.city-pills::-webkit-scrollbar { display: none; }

.city-pill {
    flex-shrink: 0;
    padding: 5px 12px;
    border: 2px solid var(--border);
    border-radius: 14px;
    background: var(--surface);
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
    font-family: var(--font);
    cursor: pointer;
    transition: all .2s;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.city-pill:hover {
    border-color: #6366f1;
    color: #6366f1;
}

.city-pill.active {
    background: #6366f1;
    color: white;
    border-color: #6366f1;
}

.pill-count {
    font-size: 11px;
    background: rgba(255,255,255,.2);
    padding: 1px 7px;
    border-radius: 50px;
}

.city-pill:not(.active) .pill-count {
    background: var(--bg);
    color: var(--text-muted);
}

/* ==================== TOOLBAR ==================== */
.toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    gap: 12px;
}

.results-info {
    color: var(--text-muted);
    font-size: 14px;
}

.sort-wrap select {
    padding: 8px 32px 8px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface);
    font-size: 14px;
    font-family: var(--font);
    cursor: pointer;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236B7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}
.toolbar-sort-select {
    padding: 8px 32px 8px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface);
    color: var(--text);
    font-size: 13px;
    font-family: var(--font-cat);
    cursor: pointer;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236B7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    flex-shrink: 0;
}
.toolbar-sort-select:focus {
    border-color: var(--primary);
}

/* ==================== PRODUCT GRID ==================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    padding-bottom: 24px;
    min-height: 200px;
    position: relative;
}

.product-card {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #eaecf0;
    overflow: hidden;
    transition: transform .18s, box-shadow .18s, border-color .18s;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 1px 4px rgba(0,0,0,.04);
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0,0,0,.09), 0 2px 6px rgba(0,0,0,.04);
    border-color: #c8cdd6;
}

.card-img-wrap {
    position: relative;
    width: 100%;
    padding-top: 74%;
    background: #f8f9fb;
    overflow: hidden;
}

.card-img-wrap img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;

}

.product-card:hover .card-img-wrap img {
    transform: translate(-50%, -50%);
}

.discount-badge {
    position: absolute;
    top: 9px;
    left: 9px;
    background: #ef4444;
    color: #fff;
    padding: 3px 9px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: -.15px;
    box-shadow: 0 2px 6px rgba(239,68,68,.32);
}

.discount-badge.big {
    font-size: 18px;
    padding: 8px 16px;
}

.store-badge {
    position: absolute;
    top: 9px;
    right: 7px;
    padding: 3px 9px;
    border-radius: 8px;
    font-size: 10.5px;
    font-weight: 700;
    border: none;
    backdrop-filter: blur(6px);
    white-space: nowrap;
}

/* Store badge brand colors */
.store-badge[data-store="alcorium"]    { background: rgba(178,29,33,.12); color: #b21d21; }
.store-badge[data-store="europroduct"] { background: rgba(0,126,63,.12); color: #007e3f; }
.store-badge[data-store="goodwill"]    { background: rgba(2,70,47,.12); color: #02462f; }
.store-badge[data-store="carrefour"]   { background: rgba(0,20,135,.12); color: #001487; }
.store-badge[data-store="orinabiji"]   { background: rgba(0,122,63,.12); color: #007a3f; }
.store-badge[data-store="georgita"]    { background: rgba(1,82,63,.12); color: #01523f; }
.store-badge[data-store="spar"]        { background: rgba(238,58,67,.12); color: #ee3a43; }
.store-badge[data-store="magniti"]     { background: rgba(221,39,46,.12); color: #dd272e; }
.store-badge[data-store="zgapari"]     { background: rgba(247,211,52,.2); color: #b5960a; }
.store-badge[data-store="nikora"]      { background: rgba(143,0,42,.12); color: #8f002a; }
.store-badge[data-store="libre"]       { background: rgba(53,53,175,.12); color: #3535af; }
.store-badge[data-store="ioli"]        { background: rgba(232,97,45,.12); color: #e8612d; }
.store-badge[data-store="madart"]      { background: rgba(26,139,78,.12); color: #1a8b4e; }
/* Pharmacy chains */
.store-badge[data-store="aversi"]      { background: rgba(0,132,61,.14);  color: #00843d; }
.store-badge[data-store="psp"]         { background: rgba(0,114,188,.14); color: #0072bc; }
.store-badge[data-store="gpc"]         { background: rgba(10,109,181,.14); color: #0a6db5; }
.store-badge[data-store="pharmadepot"] { background: rgba(0,166,81,.14);  color: #00a651; }
.store-badge[data-store="impex"]       { background: rgba(228,30,38,.14); color: #e41e26; }
/* Logo inside the store-badge */
.store-badge-logo {
    width: 20px; height: 20px; border-radius: 4px; object-fit: contain;
    background: #fff; padding: 2px;
    display: block;
}
.store-badge {
    display: inline-flex; align-items: center; justify-content: center; gap: 0;
}

/* Compare badge under product price — only shown when match_chains > 1 */
.card-compare-badge {
    display: inline-flex; align-items: center; gap: 5px;
    margin-top: 7px;
    padding: 4px 9px;
    border-radius: 7px;
    background: #f0fdf4;
    color: #059669;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .05px;
    border: 1px solid rgba(5,150,105,.15);
    width: fit-content;
    transition: background .15s, color .15s;
}
.card-compare-badge i { font-size: 10.5px; }
.product-card:hover .card-compare-badge {
    background: #059669;
    color: #fff;
    border-color: transparent;
}

/* City badge on cards */
.city-badge {
    position: absolute;
    bottom: 8px;
    left: 8px;
    padding: 2px 8px;
    border-radius: 50px;
    font-size: 10px;
    font-weight: 600;
    background: rgba(99,102,241,.1);
    color: #6366f1;
    backdrop-filter: blur(4px);
}

.card-body {
    padding: 11px 13px 13px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-category {
    font-size: 10.5px;
    color: #9ca3af;
    font-weight: 600;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.card-name {
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.42;
    color: #111827;
    margin-bottom: auto;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-prices {
    display: flex;
    align-items: baseline;
    gap: 7px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #f3f4f6;
}

.price-sale {
    font-size: 20px;
    font-weight: 800;
    color: #111827;
    letter-spacing: -.4px;
    line-height: 1;
    font-family: 'Inter', system-ui, sans-serif;
}

.price-original {
    font-size: 13px;
    color: #9ca3af;
    text-decoration: line-through;
    font-family: 'Inter', system-ui, sans-serif;
}

.price-currency {
    font-size: 13px;
    font-weight: 600;
    font-family: 'Inter', system-ui, sans-serif;
}

.product-card.has-discount .price-sale {
    color: #ef4444;
}

.product-card:not(.has-discount) .price-sale {
    color: #111827;
}

/* Card rating */
.card-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 6px;
    font-size: 12px;
}

.card-stars {
    color: #f59e0b;
    letter-spacing: -1px;
}

.card-rating-num {
    color: var(--text-muted);
    font-weight: 600;
}

/* ==================== STORE HERO (store page) ==================== */
.store-hero {
    background: linear-gradient(135deg, var(--brand) 0%, color-mix(in srgb, var(--brand) 70%, #000) 100%);
    color: white;
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}

.store-hero.has-bg {
    background-size: cover;
    background-position: center;
}

.store-hero.has-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,.35) 100%);
    z-index: 0;
}

.store-hero.has-bg > .container {
    position: relative;
    z-index: 1;
}

.store-hero-content {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.store-hero-logo {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    background: white;
    padding: 8px;
    object-fit: contain;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,.2);
}

.store-hero-info {
    flex: 1;
    min-width: 200px;
}

.store-hero-info h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 4px;
    text-shadow: 0 1px 4px rgba(0,0,0,.3);
}

.store-website {
    color: rgba(255,255,255,.85);
    text-decoration: none;
    font-size: 14px;
}

.store-website:hover {
    color: white;
}

.store-hero-stats {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
    padding: 12px 20px;
    background: #111;
    border-radius: var(--radius-sm);
    min-width: 80px;
    box-shadow: 0 2px 10px rgba(0,0,0,.3);
    border: 1px solid rgba(255,255,255,.08);
}

.hero-stat-num {
    display: block;
    font-size: 22px;
    font-weight: 700;
    font-family: var(--font-display);
    color: #fff;
}

.hero-stat-label {
    display: block;
    font-size: 12px;
    font-family: var(--font-input);
    opacity: .85;
    margin-top: 2px;
    color: #fff;
}

/* ==================== PRODUCT DETAIL ==================== */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 32px 0;
}

.pd-image {
    position: relative;
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
}

.pd-image img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.pd-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.pd-breadcrumb a {
    color: var(--primary);
    text-decoration: none;
}

.pd-breadcrumb a:hover {
    text-decoration: underline;
}

.pd-name {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 16px;
}

.pd-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.pd-store-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 50px;
    background: color-mix(in srgb, var(--brand) 10%, transparent);
    color: var(--brand);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background .2s;
}

.pd-store-tag:hover {
    background: color-mix(in srgb, var(--brand) 18%, transparent);
}

.pd-store-tag img {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    object-fit: contain;
}

.pd-city-tag, .pd-unit-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 12px;
    border-radius: 50px;
    background: var(--bg);
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 500;
}

.pd-prices {
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 24px;
    padding: 20px;
    background: var(--bg);
    border-radius: var(--radius);
}

.pd-sale {
    font-size: 36px;
    font-weight: 700;
    color: var(--accent);
}

.pd-sale small {
    font-size: 20px;
}

.pd-original {
    font-size: 20px;
    color: var(--text-muted);
    text-decoration: line-through;
}

.pd-save {
    font-size: 14px;
    color: var(--green);
    font-weight: 600;
    background: var(--green-light);
    padding: 4px 12px;
    border-radius: 50px;
}

/* ==================== RATING ==================== */
.pd-rating {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

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

.star-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 2px;
    transition: transform .15s;
}

.star-btn:hover {
    transform: scale(1.2);
}

.star-btn svg path {
    fill: none;
    stroke: #d1d5db;
    stroke-width: 1.5;
    transition: all .15s;
}

.rating-info {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
}

.rating-info #rating-count {
    color: var(--text-muted);
    font-weight: 400;
    font-size: 14px;
}

.rating-msg {
    font-size: 13px;
    color: var(--green);
    font-weight: 600;
}

/* ==================== OTHER CITIES ==================== */
.pd-other-cities {
    margin-bottom: 24px;
}

.pd-other-cities h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-muted);
}

.other-cities-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.other-city-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface);
    text-decoration: none;
    color: var(--text);
    font-size: 13px;
    transition: all .2s;
}

.other-city-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.oc-city {
    font-weight: 600;
}

.oc-price {
    font-weight: 700;
    color: var(--accent);
}

.oc-disc {
    background: var(--accent-light);
    color: var(--accent);
    padding: 1px 6px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
}

/* ==================== SIMILAR SECTION ==================== */
.similar-section {
    padding: 24px 0 40px;
    border-top: 1px solid var(--border);
}

.similar-section h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
}

/* ==================== PAGINATION ==================== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 20px 0 40px;
}

.page-btn {
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface);
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all .2s;
    font-family: var(--font);
}

.page-btn:hover { border-color: var(--primary); color: var(--primary); }
.page-btn.active { background: var(--primary); color: white; border-color: var(--primary); }
.page-btn:disabled { opacity: .4; cursor: default; }

/* ==================== LOADING ==================== */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,.6);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin .7s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ==================== EMPTY STATE ==================== */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.empty-state svg {
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
    opacity: .4;
}

.empty-state h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text);
}

/* ==================== FOOTER ==================== */
.site-footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 24px 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
}

/* ==================== BRAND DOT (header dropdown) ==================== */
.brand-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    flex-shrink: 0;
    display: inline-block;
    border: 2px solid rgba(255,255,255,.6);
    box-shadow: 0 0 0 1px rgba(0,0,0,.08);
}

/* ==================== CITY HERO ICON ==================== */
.city-hero-icon {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    background: rgba(255,255,255,.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ==================== OLYMPICS ==================== */
.olympics-section {
    background: var(--surface);
    padding: 28px 0;
    border-bottom: 1px solid var(--border);
}

.olympics-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
    text-align: center;
}

.olympics-subtitle {
    font-size: 14px;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 20px;
}

.olympics-podium {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 750px;
    margin: 0 auto;
}

.podium-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 12px;
    border-radius: var(--radius);
    border: 2px solid var(--border);
    text-decoration: none;
    color: var(--text);
    transition: all .2s;
    position: relative;
    background: var(--surface);
}

.podium-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.podium-gold {
    border-color: #fbbf24;
    background: linear-gradient(180deg, #fffbeb 0%, var(--surface) 100%);
}

.podium-silver {
    border-color: #9ca3af;
    background: linear-gradient(180deg, #f3f4f6 0%, var(--surface) 100%);
}

.podium-bronze {
    border-color: #d97706;
    background: linear-gradient(180deg, #fef3c7 0%, var(--surface) 100%);
}

.podium-medal {
    font-size: 32px;
    line-height: 1;
    margin-bottom: 6px;
}

.podium-place {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.podium-logo {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: white;
    padding: 6px;
    object-fit: contain;
    margin-bottom: 8px;
    box-shadow: var(--shadow);
}

.podium-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-bottom: 8px;
    box-shadow: var(--shadow);
}

.podium-product-img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    margin-bottom: 8px;
    border-radius: var(--radius-sm);
}

.podium-name {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.podium-rating {
    font-size: 16px;
    font-weight: 700;
    color: #f59e0b;
    margin-bottom: 4px;
}

.podium-meta {
    font-size: 11px;
    color: var(--text-muted);
}

/* ==================== LISTING PAGES ==================== */
.listing-hero {
    background: linear-gradient(135deg, var(--brand) 0%, color-mix(in srgb, var(--brand) 70%, #000) 100%);
    color: white;
    padding: 40px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.listing-hero.has-bg {
    background-size: cover;
    background-position: center;
}

.listing-hero.has-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,.35) 100%);
    z-index: 0;
}

.listing-hero.has-bg > .container {
    position: relative;
    z-index: 1;
}

.listing-hero h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 4px;
}

.listing-hero p {
    font-size: 16px;
    opacity: .8;
}

.listing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    padding: 24px 0 40px;
}

.listing-card {
    display: flex;
    flex-direction: column;
    padding: 20px;
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text);
    transition: all .2s;
}

.listing-card:hover {
    border-color: var(--brand);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.listing-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.listing-card-header h2 {
    font-size: 18px;
    font-weight: 700;
}

.listing-card-logo {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: white;
    padding: 4px;
    object-fit: contain;
    box-shadow: var(--shadow);
    flex-shrink: 0;
}

.listing-card-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: var(--shadow);
}

.listing-card-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.listing-card-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.listing-card-stats span {
    font-size: 13px;
    color: var(--text-muted);
    background: var(--bg);
    padding: 3px 10px;
    border-radius: 50px;
    font-weight: 500;
}

/* ==================== FOOTER VERSION ==================== */
.footer-version {
    font-size: 12px;
    color: var(--text-muted);
    opacity: .6;
    margin-top: 4px;
}

/* ==================== STORE PILL BRAND INDICATOR ==================== */
.store-pill {
    display: flex;
    align-items: center;
    gap: 6px;
}

.store-pill[style*="--pill-brand"]::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--pill-brand);
    flex-shrink: 0;
}

.store-pill.active[style*="--pill-brand"]::before {
    background: white;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .site-header .container {
        flex-wrap: wrap;
    }

    .header-nav {
        order: 2;
        width: 100%;
        justify-content: stretch;
    }

    .header-nav .dropdown {
        flex: 1;
    }

    .dropdown-btn {
        width: 100%;
        justify-content: center;
        font-size: 13px;
        padding: 7px 10px;
    }

    .dropdown-menu {
        min-width: 100%;
        left: 0;
        right: 0;
    }

    .search-wrap {
        order: 3;
        max-width: 100%;
        flex-basis: 100%;
    }

    .header-stats {
        margin-left: auto;
    }

    .products-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 14px;
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .card-body { padding: 10px; }
    .card-name { font-size: 13px; }
    .price-sale { font-size: 17px; }

    .toolbar {
        flex-wrap: wrap;
    }

    .product-detail {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px 0;
    }

    .pd-image {
        aspect-ratio: auto;
        padding: 20px;
    }

    .pd-name { font-size: 20px; }
    .pd-sale { font-size: 28px; }

    .store-hero-content {
        flex-direction: column;
        text-align: center;
    }

    .store-hero-info h1 { font-size: 22px; }
    .store-hero-stats { justify-content: center; }

    .olympics-podium {
        grid-template-columns: 1fr;
        max-width: 320px;
    }

    .listing-grid {
        grid-template-columns: 1fr;
    }

    .listing-hero h1 { font-size: 22px; }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .card-img-wrap { padding-top: 74%; }
    .discount-badge { font-size: 11px; padding: 3px 7px; top: 6px; left: 6px; }
    .store-badge { font-size: 10px; padding: 3px 7px; top: 6px; right: 6px; }
    .stat-badge { font-size: 12px; padding: 4px 8px; }
    .dropdown-btn { font-size: 12px; padding: 6px 8px; }
}

/* ==================== HEADER NAV LINKS (V4.1) ==================== */
.header-nav-links {
    display: flex;
    gap: 4px;
    flex-shrink: 0;
}

.nav-link {
    padding: 7px 14px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-nav);
    color: var(--text-muted);
    text-decoration: none;
    transition: all .2s;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--primary);
    background: var(--primary-light);
}

.nav-link.active {
    color: var(--primary);
    background: var(--primary-light);
    font-weight: 700;
}

/* Nav Dropdowns */
.nav-dropdown {
    position: relative;
}

.nav-dd-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
    border: none;
    cursor: pointer;
    background: none;
    line-height: 1;
}

.nav-dd-arrow {
    font-size: 9px;

    opacity: .5;
}

.nav-dropdown:hover .nav-dd-arrow,
.nav-dropdown.open .nav-dd-arrow {
    transform: rotate(180deg);
    opacity: 1;
}

.nav-dd-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 180px;
    background: var(--bg-card, #fff);
    border: 1px solid var(--border, #e5e7eb);
    border-radius: 12px;
    padding: 6px;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s, transform .2s;
    transform: translateX(-50%) translateY(4px);
    z-index: 1000;
}

.nav-dropdown:hover .nav-dd-menu,
.nav-dropdown.open .nav-dd-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dd-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text, #1f2937);
    text-decoration: none;
    transition: background .15s;
    white-space: nowrap;
}

.nav-dd-item i {
    width: 18px;
    text-align: center;
    font-size: 13px;
    color: var(--text-muted, #6b7280);
}

.nav-dd-item:hover {
    background: var(--primary-light, #eff6ff);
    color: var(--primary, #2563eb);
}

.nav-dd-item:hover i {
    color: var(--primary, #2563eb);
}

.nav-dd-item.active {
    background: var(--primary-light, #eff6ff);
    color: var(--primary, #2563eb);
    font-weight: 600;
}

.nav-dd-item.active i {
    color: var(--primary, #2563eb);
}

/* ==================== HOME HERO (V4.1) ==================== */
.home-hero {
    background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 100%);
    color: white;
    padding: 48px 0 40px;
    text-align: center;
}

.hero-title {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 8px;
}

.hero-accent {
    color: #60a5fa;
}

.hero-subtitle {
    font-size: 16px;
    opacity: .75;
    font-weight: 400;
}

/* ==================== HOME MAIN & SECTIONS GRID (V4.1) ==================== */
.home-main {
    padding-top: 24px;
    padding-bottom: 40px;
}

.home-sections-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.home-section-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px;
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text);
    transition: all .2s;
}

.home-section-card:hover {
    border-color: var(--section-color, var(--primary));
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.section-card-icon {
    font-size: 32px;
    line-height: 1;
    flex-shrink: 0;
}

.section-card-body {
    flex: 1;
    min-width: 0;
}

.section-card-body h2 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 2px;
    font-family: var(--font-heading);
}

.section-card-body p {
    font-size: 13px;
    color: var(--text-muted);
    font-family: var(--font-input);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.section-card-arrow {
    font-size: 20px;
    color: var(--text-muted);
    flex-shrink: 0;

}

.home-section-card:hover .section-card-arrow {
    transform: translateX(4px);
    color: var(--section-color, var(--primary));
}

/* ==================== HOME WIDGETS (V4.1) ==================== */
.home-widgets-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 32px;
}

.home-widget {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
}

.widget-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.widget-header h3 {
    font-size: 16px;
    font-weight: 700;
    font-family: var(--font-nav);
}

.widget-more {
    font-size: 13px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.widget-more:hover {
    text-decoration: underline;
}

.widget-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.widget-rate-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: var(--bg);
    border-radius: var(--radius-sm);
    font-size: 14px;
}

.rate-flag {
    font-size: 18px;
    flex-shrink: 0;
}

.rate-label {
    font-weight: 700;
    min-width: 36px;
}

.rate-buy {
    color: var(--green);
    font-weight: 600;
}

.rate-sep {
    color: var(--text-muted);
    font-size: 12px;
}

.rate-sell {
    color: var(--accent);
    font-weight: 600;
}

.rate-nbg {
    margin-left: auto;
    font-size: 12px;
    color: var(--text-muted);
}

.widget-fuel-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: var(--bg);
    border-radius: var(--radius-sm);
    font-size: 14px;
}

.fuel-type-label {
    font-weight: 600;
}

.fuel-price-range {
    font-weight: 700;
    color: var(--text);
}

/* ==================== HOME STORE SECTIONS (V4.1) ==================== */
.home-section {
    margin-bottom: 32px;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 20px;
    font-weight: 700;
    font-family: var(--font-nav);
}

.section-more {
    font-size: 14px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.section-more:hover {
    text-decoration: underline;
}

.home-store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
}

.home-store-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 8px;
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text);
    transition: all .2s;
    text-align: center;
}

.home-store-card:hover {
    border-color: var(--brand, var(--primary));
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.home-store-logo {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    object-fit: contain;
    background: white;
    padding: 4px;
    box-shadow: var(--shadow);
}

.home-store-dot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    flex-shrink: 0;
}

.home-store-name {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
}

.home-store-count {
    font-size: 12px;
    color: var(--text-muted);
    background: var(--bg);
    padding: 2px 8px;
    border-radius: 50px;
}

/* ==================== FOOTER ENHANCED (V4.1) ==================== */
.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-logo {
    font-size: 18px;
    font-weight: 800;
    color: var(--text);
    letter-spacing: 1px;
}

.footer-brand p {
    font-size: 13px;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color .2s;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
}

/* ==================== SECTION TITLE (shared V4.1) ==================== */
.section-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
}

/* ==================== CURRENCY PAGE (V4.1) ==================== */
.currency-section {
    padding: 24px 0;
}

.currency-section + .currency-section {
    border-top: 1px solid var(--border);
}

.nbg-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
}

.nbg-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    text-align: center;
    transition: box-shadow .2s;
}

.nbg-card:hover {
    box-shadow: var(--shadow-md);
}

.nbg-card-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 8px;
}

.nbg-flag {
    font-size: 22px;
}

.nbg-code {
    font-size: 16px;
    font-weight: 700;
}

.nbg-qty {
    font-size: 11px;
    background: var(--bg);
    padding: 1px 6px;
    border-radius: 50px;
    color: var(--text-muted);
    font-weight: 600;
}

.nbg-rate {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}

.nbg-diff {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 6px;
}

.nbg-diff.up {
    color: var(--green);
}

.nbg-diff.down {
    color: var(--accent);
}

.nbg-name {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.3;
}

/* Currency Tabs */
.currency-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.currency-tab {
    padding: 10px 24px;
    border: 2px solid var(--border);
    border-radius: 50px;
    background: var(--surface);
    font-size: 15px;
    font-weight: 600;
    font-family: var(--font);
    color: var(--text-muted);
    cursor: pointer;
    transition: all .2s;
}

.currency-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.currency-tab.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Best Rates Bar */
.best-rates-bar {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.best-rate-item {
    flex: 1;
    min-width: 160px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    text-align: center;
}

.best-rate-item.best-buy {
    background: var(--green-light);
}

.best-rate-item.best-sell {
    background: var(--accent-light);
}

.best-rate-item.nbg-official {
    background: var(--primary-light);
}

.best-label {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 4px;
}

.best-value {
    display: block;
    font-size: 20px;
    font-weight: 700;
}

.best-buy .best-value { color: var(--green); }
.best-sell .best-value { color: var(--accent); }
.nbg-official .best-value { color: var(--primary); }

/* Exchange Table */
.currency-table-wrap {
    overflow-x: auto;
}

.exchange-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.exchange-table thead {
    background: var(--bg);
}

.exchange-table th {
    padding: 10px 14px;
    text-align: left;
    font-weight: 600;
    font-size: 13px;
    color: var(--text-muted);
    border-bottom: 2px solid var(--border);
}

.exchange-table td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--border);
}

.exchange-table tbody tr:hover {
    background: #f8fafc;
}

.rate-col {
    text-align: right;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.bank-name-cell {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.bank-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.type-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
}

.type-commercial_bank {
    background: var(--primary-light);
    color: var(--primary);
}

.type-exchange_bureau {
    background: #fef3c7;
    color: #92400e;
}

.type-online {
    background: var(--green-light);
    color: var(--green);
}

.best-highlight {
    background: #ecfdf5;
    color: var(--green);
    font-weight: 700;
}

.spread-col {
    color: var(--text-muted);
    font-size: 13px;
}

/* Converter */
.converter-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--bg);
    border-radius: var(--radius);
    flex-wrap: wrap;
}

.converter-input-group {
    display: flex;
    gap: 8px;
    flex: 1;
    min-width: 200px;
}

.converter-input-group input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 18px;
    font-weight: 600;
    font-family: var(--font);
    outline: none;
    transition: border-color .2s;
}

.converter-input-group input:focus {
    border-color: var(--primary);
}

.converter-input-group select {
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    font-family: var(--font);
    background: var(--surface);
    cursor: pointer;
    outline: none;
}

.converter-arrow {
    font-size: 24px;
    color: var(--text-muted);
    flex-shrink: 0;
}

.converter-result {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex: 1;
    min-width: 200px;
    padding: 12px 16px;
    background: var(--surface);
    border-radius: var(--radius-sm);
    border: 2px solid var(--primary);
}

.converter-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.converter-currency {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
}

/* ==================== FUEL PAGE (V4.1) ==================== */
.fuel-section {
    padding: 24px 0;
}

.fuel-section + .fuel-section {
    border-top: 1px solid var(--border);
}

.fuel-comparison-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 16px;
}

.fuel-cat-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.fuel-cat-icon {
    font-size: 24px;
}

.fuel-cat-header h3 {
    font-size: 18px;
    font-weight: 700;
    flex: 1;
}

.fuel-range {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 600;
    background: var(--bg);
    padding: 4px 12px;
    border-radius: 50px;
}

.fuel-bars {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fuel-bar-row {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

.fuel-bar-row.cheapest {
    background: #ecfdf5;
    margin: -4px -8px;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
}

.fuel-bar-label {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 200px;
    flex-shrink: 0;
}

.fuel-station-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.fuel-station-name {
    font-weight: 600;
    font-size: 14px;
}

.fuel-product-name {
    font-size: 12px;
    color: var(--text-muted);
}

.fuel-bar-track {
    flex: 1;
    height: 24px;
    background: var(--bg);
    border-radius: 12px;
    overflow: hidden;
}

.fuel-bar-fill {
    height: 100%;
    border-radius: 12px;
    transition: width .4s ease;
    min-width: 20px;
}

.fuel-bar-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    min-width: 90px;
    flex-shrink: 0;
}

.fuel-price-main {
    font-size: 16px;
    font-weight: 700;
}

.fuel-price-card {
    font-size: 11px;
    color: var(--text-muted);
}

.cheapest-badge {
    background: var(--green);
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 50px;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Station Cards */
.fuel-stations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.fuel-station-card {
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all .2s;
}

.fuel-station-card:hover {
    border-color: var(--brand, var(--primary));
    box-shadow: var(--shadow-md);
}

.fuel-station-header {
    padding: 16px 20px;
    background: linear-gradient(135deg, var(--brand) 0%, color-mix(in srgb, var(--brand) 70%, #000) 100%);
    color: white;
}

.fuel-station-header h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 2px;
}

.fuel-station-link {
    color: rgba(255,255,255,.7);
    text-decoration: none;
    font-size: 13px;
}

.fuel-station-link:hover {
    color: white;
}

.fuel-price-list {
    padding: 12px 20px;
}

.fuel-price-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}

.fuel-price-row:last-child {
    border-bottom: none;
}

.fuel-type-name {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
}

.fuel-type-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
}

.fuel-type-card {
    font-size: 12px;
    color: var(--green);
    font-weight: 600;
}

.fuel-no-data {
    padding: 20px;
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
}

/* ==================== PHARMACY PAGE (V4.1) ==================== */
.hero-type-badge {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(255,255,255,.2);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-left: 12px;
    vertical-align: middle;
}

.pharmacy-icon {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    background: rgba(255,255,255,.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    flex-shrink: 0;
}

/* ==================== V4.1 RESPONSIVE ADDITIONS ==================== */
@media (max-width: 1024px) {
    .home-sections-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .home-main-v5 .home-sections-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-nav-links {
        order: 10;
        width: 100%;
        justify-content: center;
        gap: 4px;
    }

    .nav-link {
        font-size: 13px;
        padding: 5px 10px;
    }

    .nav-dd-menu {
        position: fixed;
        left: 4px;
        right: 4px;
        top: auto;
        transform: none;
        width: auto;
        min-width: 0;
    }

    .nav-dropdown:hover .nav-dd-menu,
    .nav-dropdown.open .nav-dd-menu {
        transform: none;
    }

    .home-hero {
        padding: 32px 0;
    }

    .hero-title {
        font-size: 24px;
    }

    .home-sections-grid {
        grid-template-columns: 1fr;
    }

    .home-widgets-grid {
        grid-template-columns: 1fr;
    }

    .home-store-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    /* Currency page */
    .nbg-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .best-rates-bar {
        flex-direction: column;
    }

    .exchange-table { font-size: 13px; }
    .exchange-table th,
    .exchange-table td { padding: 8px 10px; }

    .converter-wrap {
        flex-direction: column;
    }

    .converter-input-group,
    .converter-result {
        width: 100%;
        min-width: 0;
    }

    .converter-arrow {
        transform: rotate(90deg);
    }

    /* Fuel page */
    .fuel-bar-label {
        min-width: 140px;
    }

    .fuel-stations-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .home-store-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nbg-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .currency-tabs {
        flex-direction: column;
    }

    .fuel-bar-row {
        flex-wrap: wrap;
    }

    .fuel-bar-label {
        width: 100%;
        min-width: 0;
    }

    .fuel-bar-track {
        order: 3;
        width: 100%;
    }
}

/* ==================== V4.2 ADDITIONS ==================== */

/* Stat badge variants */
.stat-badge.stores {
    background: var(--primary-light);
    color: var(--primary);
}

/* Smooth scroll offset for anchored sections */
.currency-section[id],
.fuel-comparison-card[id],
.fuel-section[id] {
    scroll-margin-top: 80px;
}

/* Currency/Fuel page top padding when no toolbar */
.currency-section:first-child,
.fuel-section:first-child {
    padding-top: 16px;
}

/* ==================== V4.3 — CURRENCY SUMMARY CARDS ==================== */
.currency-summary {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
    padding: 24px 0 8px;
}

.currency-summary-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: box-shadow .2s;
}

.currency-summary-card:hover {
    box-shadow: var(--shadow-md);
}

.summary-flag {
    font-size: 36px;
    line-height: 1;
    flex-shrink: 0;
}

.summary-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.summary-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.summary-nbg {
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
}

.summary-diff {
    font-size: 12px;
    font-weight: 600;
}

.summary-diff.up { color: var(--green); }
.summary-diff.down { color: var(--accent); }

.summary-rates {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex-shrink: 0;
}

.summary-rate-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
}

.sr-label {
    color: var(--text-muted);
    font-weight: 500;
}

.sr-value {
    font-weight: 700;
    font-size: 15px;
}

.sr-value.buy { color: var(--green); }
.sr-value.sell { color: var(--accent); }

/* Converter inline (inside summary card) */
.converter-card {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
}

.converter-card .summary-flag {
    font-size: 24px;
    text-align: center;
}

.converter-inline {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.converter-row {
    display: flex;
    gap: 6px;
    flex: 1;
}

.converter-row input {
    width: 70px;
    padding: 8px 10px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-weight: 600;
    font-family: var(--font);
    outline: none;
    flex: 1;
}

.converter-row input:focus {
    border-color: var(--primary);
}

.converter-row select {
    padding: 8px 10px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font);
    background: var(--surface);
    cursor: pointer;
    outline: none;
}

.converter-eq {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-muted);
    flex-shrink: 0;
}

.converter-out {
    display: flex;
    align-items: baseline;
    gap: 4px;
    flex-shrink: 0;
}

.converter-out span:first-child {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}

.converter-out span:last-child {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
}

/* ==================== V4.3 — FUEL SUMMARY GRID ==================== */
.fuel-summary-grid {
    display: flex;
    gap: 12px;
    padding: 24px 0 8px;
    overflow-x: auto;
    scrollbar-width: none;
}

.fuel-summary-grid::-webkit-scrollbar { display: none; }

.fuel-summary-card {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: box-shadow .2s;
}

.fuel-summary-card:hover {
    box-shadow: var(--shadow-md);
}

.fuel-summary-icon {
    font-size: 22px;
}

.fuel-summary-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
}

.fuel-summary-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--green);
    white-space: nowrap;
}

.fuel-summary-range {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
    white-space: nowrap;
}

/* ==================== V4.3 RESPONSIVE ==================== */
@media (max-width: 768px) {
    .currency-summary {
        grid-template-columns: 1fr;
    }

    .converter-inline {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .fuel-summary-grid {
        gap: 8px;
    }

    .fuel-summary-card {
        padding: 10px 14px;
    }

    .fuel-summary-name {
        font-size: 13px;
    }
}

/* ==================== V4.4 — HOMEPAGE DEALS, FUEL PODIUM, CURRENCY HERO ==================== */

/* --- Homepage Hero Stats Bar --- */
.home-hero-stats {
    display: flex;
    justify-content: center;
    gap: 16px;
    padding: 24px 0 8px;
    flex-wrap: wrap;
}

.home-hero-stats .hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    background: #111;
    padding: 14px 22px;
    border-radius: var(--radius-sm);
    min-width: 90px;
}

.home-hero-stats .hero-stat-num {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    font-family: var(--font-display);
}

.home-hero-stats .hero-stat-label {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: var(--font-input);
}

/* --- Deal Cards (Horizontal Scroll) --- */
.deals-section {
    margin-top: 8px;
}

.deals-wrapper {
    position: relative;
}

.deals-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,.12);
    transition: opacity .25s, box-shadow .2s, background .2s;
    font-size: 14px;
}
.deals-arrow:hover {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,.2);
}
.deals-arrow-left { left: -12px; }
.deals-arrow-right { right: -12px; }

.deals-scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 12px 4px 18px;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;
}
.deals-scroll::-webkit-scrollbar { display: none; }

.deal-card {
    flex-shrink: 0;
    width: 200px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    transition: box-shadow .25s, transform .25s, border-color .25s;
    scroll-snap-align: start;
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
}

.deal-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
    transform: translateY(-4px);
    border-color: var(--accent);
}

.deal-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, #ff4444, #cc0000);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 8px;
    z-index: 2;
    box-shadow: 0 2px 6px rgba(204,0,0,.3);
    letter-spacing: 0.3px;
}

.pharmacy-deal .deal-badge {
    background: linear-gradient(135deg, #0091ea, #005cb2);
    box-shadow: 0 2px 6px rgba(0,92,178,.3);
}

.deal-img {
    width: 100%;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #f8f9fa 0%, #fff 100%);
    padding: 12px;
    border-bottom: 1px solid var(--border);
}

.deal-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform .3s;
}
.deal-card:hover .deal-img img {
    transform: scale(1.05);
}

.deal-info {
    padding: 12px 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.deal-store-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.deal-store-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
    border-radius: 3px;
}

.deal-store {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.deal-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 36px;
}

.deal-prices {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: 4px;
}

.deal-price-new {
    font-size: 17px;
    font-weight: 700;
    color: var(--green);
}

.deal-price-old {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: line-through;
}

/* --- 3-column Widgets Grid --- */
.home-widgets-grid.three-col {
    grid-template-columns: 1fr 1fr 1fr;
}

/* --- Stats Widget --- */
.widget-stat-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    border-bottom: 1px solid var(--border);
}

.widget-stat-row:last-child {
    border-bottom: none;
}

.stat-icon {
    font-size: 18px;
    flex-shrink: 0;
}

.stat-lbl {
    flex: 1;
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

.stat-val {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
}

/* Fuel widget cheapest highlight */
.fuel-cheapest {
    font-weight: 700;
    color: var(--green);
    font-size: 15px;
}

.fuel-type-sep {
    color: var(--text-muted);
    font-size: 12px;
}

/* Store sale badge */
.home-store-sale {
    font-size: 11px;
    font-weight: 600;
    color: var(--accent);
    margin-top: 2px;
}

/* --- CURRENCY PAGE HERO --- */
.currency-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 24px 0 16px;
}

.currency-hero-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    transition: box-shadow .2s;
    position: relative;
    overflow: hidden;
}

.currency-hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.currency-hero-card.usd::before {
    background: linear-gradient(90deg, #2563eb, #60a5fa);
}

.currency-hero-card.eur::before {
    background: linear-gradient(90deg, #1565c0, #64b5f6);
}

.currency-hero-card:hover {
    box-shadow: var(--shadow-md);
}

.hero-card-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.hero-flag {
    font-size: 40px;
    line-height: 1;
}

.hero-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hero-pair {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-nbg-rate {
    font-size: 28px;
    font-weight: 700;
    color: var(--text);
}

.hero-diff {
    font-size: 13px;
    font-weight: 600;
}

.hero-diff.up { color: var(--green); }
.hero-diff.down { color: var(--accent); }

.hero-card-rates {
    display: flex;
    gap: 12px;
}

.hero-rate-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    background: var(--bg);
}

.hero-rate-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
}

.hero-rate-val {
    font-size: 17px;
    font-weight: 700;
}

.hero-rate-box.buy .hero-rate-val { color: var(--green); }
.hero-rate-box.sell .hero-rate-val { color: var(--accent); }
.hero-rate-box.spread .hero-rate-val { color: var(--primary); }

/* --- Currency Converter Section --- */
.currency-converter-section {
    padding: 0 0 16px;
}

.converter-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.converter-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
}

.converter-fields {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
}

.converter-input-group {
    display: flex;
    gap: 6px;
}

.converter-input-group input {
    width: 100px;
    padding: 10px 12px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-weight: 600;
    font-family: var(--font);
    outline: none;
}

.converter-input-group input:focus {
    border-color: var(--primary);
}

.converter-input-group select {
    padding: 10px 12px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font);
    background: var(--surface);
    cursor: pointer;
    outline: none;
}

.converter-arrow {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    flex-shrink: 0;
}

.converter-result {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.converter-result-num {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.converter-result-cur {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
}

/* --- FUEL PAGE PODIUM --- */
.fuel-slider-tabs {
    display: flex;
    gap: 8px;
    padding: 24px 0 16px;
    overflow-x: auto;
    scrollbar-width: none;
}

.fuel-slider-tabs::-webkit-scrollbar { display: none; }

.fuel-slider-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    font-family: var(--font);
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    transition: all .2s;
    flex-shrink: 0;
}

.fuel-slider-tab:hover {
    border-color: var(--primary);
    background: var(--primary-light);
}

.fuel-slider-tab.active {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
}

.fuel-slider-tab .tab-icon {
    font-size: 18px;
}

.fuel-slider-tab .tab-price {
    font-weight: 700;
    color: var(--green);
}

.fuel-slider-tab.active .tab-price {
    color: #bbf7d0;
}

/* Podium Container */
.fuel-podium-container {
    margin-bottom: 32px;
}

.fuel-podium-slide {
    display: none;
}

.fuel-podium-slide.active {
    display: block;
}

.podium-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0 12px;
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
}

.podium-range {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-muted);
}

.podium-stage {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 16px;
    padding: 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    min-height: 340px;
}

.podium-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
    max-width: 200px;
}

.podium-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    text-align: center;
}

.podium-medal {
    font-size: 32px;
    line-height: 1;
}

.podium-station-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
}

.podium-fuel-name {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

.podium-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
}

.podium-card-price {
    font-size: 11px;
    color: var(--green);
    font-weight: 600;
}

.podium-bar {
    width: 100%;
    border-radius: 8px 8px 0 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 10px;
    min-height: 60px;
    transition: height .4s ease;
}

.podium-place-num {
    font-size: 28px;
    font-weight: 800;
    color: rgba(255,255,255,.5);
}

.podium-column.winner .podium-price {
    color: var(--green);
    font-size: 22px;
}

.podium-column.winner .podium-station-name {
    font-size: 16px;
}

/* Place-specific podium glow */
.podium-column.place-1 .podium-medal { filter: drop-shadow(0 0 6px rgba(255,215,0,.5)); }
.podium-column.place-2 .podium-medal { filter: drop-shadow(0 0 4px rgba(192,192,192,.5)); }
.podium-column.place-3 .podium-medal { filter: drop-shadow(0 0 4px rgba(205,127,50,.5)); }

/* ==================== V4.4 RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .currency-hero {
        grid-template-columns: 1fr;
    }

    .hero-card-rates {
        gap: 8px;
    }
}

@media (max-width: 768px) {
    .home-hero-stats {
        gap: 16px;
        flex-wrap: wrap;
    }

    .home-hero-stats .hero-stat-num {
        font-size: 20px;
    }

    .home-widgets-grid.three-col {
        grid-template-columns: 1fr;
    }

    .deal-card {
        width: 170px;
    }

    .deal-img {
        height: 120px;
    }

    .deals-arrow {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
    .deals-arrow-left { left: -6px; }
    .deals-arrow-right { right: -6px; }

    .currency-hero-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-card-rates {
        width: 100%;
        justify-content: space-between;
    }

    .converter-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .converter-fields {
        flex-wrap: wrap;
        width: 100%;
    }

    .podium-stage {
        gap: 8px;
        padding: 12px;
        min-height: 280px;
        flex-wrap: wrap;
    }

    .podium-column {
        max-width: 150px;
    }

    .podium-medal {
        font-size: 24px;
    }

    .podium-price {
        font-size: 16px;
    }

    .podium-station-name {
        font-size: 12px;
    }

    .fuel-slider-tabs {
        gap: 6px;
        padding: 16px 0 10px;
    }

    .fuel-slider-tab {
        padding: 8px 12px;
        font-size: 12px;
        gap: 5px;
    }

    .fuel-slider-tab .tab-name {
        display: none;
    }

    .fuel-slider-tab .tab-icon {
        font-size: 14px;
    }

    .podium-title {
        font-size: 16px;
        flex-direction: column;
        gap: 4px;
        align-items: flex-start;
    }

    .podium-range {
        font-size: 13px;
    }

    .podium-column.winner .podium-price {
        font-size: 18px;
    }

    .podium-column.winner .podium-station-name {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .home-hero-stats {
        gap: 12px;
    }

    .home-hero-stats .hero-stat-num {
        font-size: 18px;
    }

    .deal-card {
        width: 155px;
    }

    .deal-img {
        height: 110px;
    }

    .deals-arrow { display: none; }

    .fuel-slider-tab {
        padding: 6px 10px;
        font-size: 11px;
    }

    .podium-stage {
        gap: 6px;
        padding: 8px;
        min-height: 200px;
    }

    .podium-column {
        max-width: 100px;
    }

    .podium-bar {
        min-height: 40px;
    }

    .podium-place-num {
        font-size: 20px;
    }

    .podium-title {
        font-size: 14px;
    }

    .podium-price {
        font-size: 14px;
    }

    .podium-station-name {
        font-size: 11px;
    }

    .pills-arrow {
        width: 24px;
        height: 24px;
        font-size: 10px;
    }
}

/* ==================== COUNTER ANIMATION ==================== */
.hero-stat-num {
    transition: color .3s;
}

/* ==================== AJAX SEARCH DROPDOWN ==================== */
.search-wrap {
    position: relative;
}

.search-results {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 12px 32px rgba(0,0,0,.15);
    max-height: 420px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.search-results.active {
    display: block;
}

.search-group-title {
    padding: 10px 16px 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    font-family: var(--font-input);
    border-bottom: 1px solid var(--border);
}

.search-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    text-decoration: none;
    color: var(--text);
    transition: background .15s;
    border-bottom: 1px solid var(--border);
}

.search-item:last-child {
    border-bottom: none;
}

.search-item:hover {
    background: var(--primary-light);
}

.search-item-img {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    object-fit: contain;
    background: var(--bg);
    flex-shrink: 0;
}

.search-item-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.search-item-info {
    flex: 1;
    min-width: 0;
}

.search-item-name {
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-item-meta {
    font-size: 12px;
    color: var(--text-muted);
    font-family: var(--font-input);
}

.search-item-price {
    font-weight: 700;
    font-size: 14px;
    color: var(--primary);
    flex-shrink: 0;
}

.search-no-results {
    padding: 24px 16px;
    text-align: center;
    color: var(--text-muted);
    font-family: var(--font-input);
    font-size: 14px;
}

.search-loading {
    padding: 24px 16px;
    text-align: center;
    color: var(--text-muted);
}

.search-loading i {
    animation: spin 1s linear infinite;
    font-size: 20px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ==================== SECTION ICON ==================== */
.section-icon {
    margin-right: 8px;
    font-size: 1em;
    vertical-align: middle;
}

/* ==================== CITY CARDS (Markets Page) ==================== */
.city-cards-section {
    padding: 32px 0 8px;
}
.city-cards-section .section-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
}
.city-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.city-card {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--surface);
    transition: transform .25s, box-shadow .25s;
}
.city-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,.14);
}
.city-card-photo {
    position: relative;
    height: 170px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}
.city-card-photo::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 90px;
    background: linear-gradient(transparent, rgba(0,0,0,.65));
}
.city-card-name {
    position: absolute;
    bottom: 14px;
    left: 16px;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 20px;
    font-weight: 700;
    text-shadow: 0 1px 6px rgba(0,0,0,.5);
}
.city-card-name i {
    font-size: 16px;
    color: #f87171;
}
.city-card-body {
    padding: 14px 16px 16px;
}
.city-card-stats {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}
.city-card-stats .count-num {
    font-weight: 700;
    color: var(--primary);
    font-size: 15px;
}
.city-card-stores {
    display: flex;
    align-items: center;
    gap: -4px;
}
.store-logo-mini {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: contain;
    background: white;
    border: 2px solid var(--surface);
    padding: 3px;
    margin-left: -6px;
    flex-shrink: 0;
    box-shadow: 0 1px 4px rgba(0,0,0,.1);
}
.store-logo-mini:first-child {
    margin-left: 0;
}
.store-count-extra {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--bg);
    border: 2px solid var(--surface);
    margin-left: -6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    color: var(--text-muted);
    flex-shrink: 0;
}

/* ==================== STORE MARKET CARDS (City Page) ==================== */
.store-cards-section {
    padding: 24px 0 8px;
}
.store-cards-section .section-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
}
.store-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}
.store-market-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    text-decoration: none;
    color: inherit;
    transition: all .2s;
    position: relative;
    overflow: hidden;
}
.store-market-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--card-brand, var(--primary));
    border-radius: 4px 0 0 4px;
}
.store-market-card:hover {
    border-color: var(--card-brand, var(--primary));
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,.08);
}
.store-market-card-logo {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    object-fit: contain;
    background: white;
    padding: 4px;
    flex-shrink: 0;
    border: 1px solid var(--border);
}
.store-market-card-info {
    flex: 1;
    min-width: 0;
}
.store-market-card-info h3 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.store-market-card-info .card-product-count {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}
.store-market-card-info .card-product-count strong {
    color: var(--primary);
}
.store-card-cities {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 8px;
}
.city-thumb-mini {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    border: 2px solid var(--surface);
    margin-left: -4px;
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(0,0,0,.15);
}
.city-thumb-mini:first-child {
    margin-left: 0;
}
.city-thumb-mini[title]::after {
    content: attr(title);
}
.cities-count-badge {
    font-size: 11px;
    color: var(--text-muted);
    margin-left: 4px;
    white-space: nowrap;
}
.store-market-card .card-arrow {
    color: var(--text-muted);
    font-size: 14px;
    flex-shrink: 0;

}
.store-market-card:hover .card-arrow {
    transform: translateX(3px);
    color: var(--card-brand, var(--primary));
}

/* ==================== CATEGORY LINKS ==================== */
.cat-links-section {
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}
.cat-links-section .section-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-muted);
}
.cat-links-wrap {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.cat-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border: 2px solid var(--border);
    border-radius: 16px;
    background: var(--surface);
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all .2s;
    white-space: nowrap;
}
.cat-link:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(99, 102, 241, 0.05);
}
.cat-link-count {
    font-size: 11px;
    background: var(--bg);
    color: var(--text-muted);
    padding: 1px 7px;
    border-radius: 50px;
}

/* ==================== STORE LINKS ROW ==================== */
.store-links-section {
    padding: 20px 0;
}
.store-links-section .section-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-muted);
}
.store-links-wrap {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.store-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 2px solid var(--border);
    border-radius: 20px;
    background: var(--surface);
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all .2s;
    white-space: nowrap;
}
.store-link:hover {
    border-color: var(--link-brand, var(--primary));
    color: var(--link-brand, var(--primary));
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
}
.store-link-logo {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    object-fit: contain;
}
.store-link-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--link-brand, var(--primary));
    flex-shrink: 0;
}

/* ==================== STORE CARD WRAP (with cities button) ==================== */
.store-market-card-wrap {
    position: relative;
}
.store-market-card-wrap .store-market-card {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
.store-market-card-wrap .store-cities-btn + .store-market-card {
    border-radius: var(--radius);
}
.store-cities-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 8px 16px;
    background: var(--bg);
    border: 2px solid var(--border);
    border-top: 1px dashed var(--border);
    border-radius: 0 0 var(--radius) var(--radius);
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
    font-family: var(--font-input);
}
.store-cities-btn:hover {
    background: rgba(99, 102, 241, .06);
    border-color: var(--primary);
    color: var(--primary);
}
.store-cities-btn i {
    font-size: 13px;
}

/* ==================== CITIES MODAL ==================== */
.cities-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .5);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s;
}
.cities-modal-overlay.open {
    opacity: 1;
    visibility: visible;
}
.cities-modal {
    background: var(--surface);
    border-radius: 16px;
    width: 90%;
    max-width: 540px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
    animation: modalSlideUp .3s ease-out;
    padding: 0;
}
@keyframes modalSlideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.cities-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px 0;
}
.cities-modal-store-info {
    display: flex;
    align-items: center;
    gap: 12px;
}
.cities-modal-logo {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: contain;
    background: white;
    padding: 4px;
    border: 1px solid var(--border);
}
.cities-modal-store-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
}
.cities-modal-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: var(--bg);
    color: var(--text-muted);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s;
    flex-shrink: 0;
}
.cities-modal-close:hover {
    background: var(--border);
    color: var(--text);
}
.cities-modal-title {
    padding: 16px 24px 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}
.cities-modal-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 0 24px 24px;
}
.cities-modal-city {
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    text-decoration: none;
    color: inherit;
    transition: all .2s;
    background: var(--surface);
}
.cities-modal-city:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, .1);
}
.cities-modal-city-img {
    height: 80px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.cities-modal-city-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 40%, rgba(0,0,0,.3));
}
.cities-modal-city-info {
    padding: 10px 12px;
}
.cities-modal-city-name {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
}
.cities-modal-city-name i {
    font-size: 11px;
    color: #f87171;
}
.cities-modal-city-count {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}

/* ==================== STORE SIDEBAR LAYOUT ==================== */
.store-layout {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 32px;
    align-items: start;
    padding: 0 24px;
    margin-bottom: 32px;
}
.store-sidebar {
    position: sticky;
    top: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 240px;
}
.sidebar-divider {
    height: 1px;
    background: var(--border);
    margin: 4px 0;
}
.sidebar-section {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
}
.sidebar-sort-select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-cat);
    font-size: 13px;
    cursor: pointer;
    outline: none;
    transition: border-color .2s;
}
.sidebar-sort-select:focus {
    border-color: var(--primary);
}
.sidebar-title {
    font-size: 13px;
    font-weight: 700;
    font-family: var(--font-cat);
    color: var(--text);
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.sidebar-title i {
    color: var(--primary);
    font-size: 13px;
}
.sidebar-pills {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.sidebar-pills .city-pill,
.sidebar-pills .cat-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 8px 12px;
    border: none;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--text);
    font-family: var(--font-cat);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all .15s;
    text-align: left;
}
.sidebar-pills .city-pill:hover,
.sidebar-pills .cat-pill:hover {
    background: rgba(99, 102, 241, .08);
    color: var(--primary);
}
.sidebar-pills .city-pill.active,
.sidebar-pills .cat-pill.active {
    background: var(--primary);
    color: #fff;
}
.sidebar-pills .pill-count {
    font-size: 11px;
    opacity: .7;
}
.sidebar-pills .city-pill.active .pill-count,
.sidebar-pills .cat-pill.active .pill-count {
    opacity: .9;
}
.store-content {
    min-width: 0;
}
@media (max-width: 768px) {
    .store-layout {
        grid-template-columns: 1fr;
        padding: 0 12px;
    }
    .store-sidebar {
        position: static;
        flex-direction: row;
        overflow-x: auto;
        gap: 12px;
    }
    .sidebar-divider {
        display: none;
    }
    .sidebar-section {
        min-width: 200px;
        flex-shrink: 0;
    }
    .sidebar-pills {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 6px;
    }
    .sidebar-pills .city-pill,
    .sidebar-pills .cat-pill {
        width: auto;
        padding: 6px 12px;
        font-size: 12px;
        white-space: nowrap;
    }
}

/* ==================== CITY CIRCLE SLIDER ==================== */
.city-circles-section {
    padding: 24px 24px 16px;
    margin-bottom: 0;
}
.store-section-divider {
    height: 1px;
    background: var(--border);
    margin: 16px 0;
}
.city-slider-viewport {
    overflow: hidden;
}
.city-circle-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: inherit;
    position: relative;
}
.city-circle-photo {
    display: block;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    border: 3px solid var(--border);
    transition: all .3s ease;
    flex-shrink: 0;
}
.city-circle-card:hover .city-circle-photo {
    border-color: var(--primary);
    box-shadow: 0 4px 16px rgba(0,0,0,.15);
}
.city-circle-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: rgba(0,0,0,.45);
    color: #fff;
    font-family: var(--font-cat);
    font-size: 13px;
    font-weight: 700;
    text-shadow: 0 1px 4px rgba(0,0,0,.5);
    transition: background .2s;
}
.city-circle-card:hover .city-circle-overlay {
    background: rgba(0,0,0,.55);
}
.city-circle-overlay i {
    font-size: 16px;
    color: #fff;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,.4));
}
.city-circle-count {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
    text-align: center;
}
/* Hover popup: other stores in this city */
.city-circle-hover-stores {
    position: absolute;
    bottom: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    background: rgba(12,12,22,.95);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 16px;
    padding: 16px 20px;
    box-shadow: 0 12px 40px rgba(0,0,0,.45);
    opacity: 0;
    visibility: hidden;
    transition: all .2s ease;
    z-index: 100;
    width: 260px;
    max-height: none;
    overflow: visible;
    white-space: normal;
    pointer-events: none;
}
.city-circle-card:hover .city-circle-hover-stores {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
/* Arrow pointing down */
.city-circle-hover-stores::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: rgba(12,12,22,.95);
    border-bottom: 0;
}
.city-hover-title {
    display: block;
    font-size: 14px;
    color: rgba(255,255,255,.7);
    margin-bottom: 16px;
    font-weight: 700;
    text-align: center;
    font-family: var(--font-cat);
}
.city-hover-logos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(50px, 1fr));
    gap: 12px;
    justify-items: center;
}
.city-hover-logos img {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    object-fit: contain;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.06);
    padding: 4px;
    transition: all .2s;
}
.city-hover-logos img:hover {
    transform: scale(1.12);
    border-color: var(--primary);
    background: rgba(255,255,255,.12);
}

/* ==================== CATEGORY SLIDER ==================== */
.cat-slider-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}
.cat-slider-title {
    font-family: var(--font-cat);
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.cat-slider-title i {
    color: var(--primary);
}
.cat-slider-arrows {
    display: flex;
    gap: 8px;
}
.cat-slider-arrow {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: var(--surface);
    color: var(--text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all .2s;
}
.cat-slider-arrow:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}
.cat-slider-viewport {
    overflow: hidden;
}
.cat-slider-track {
    display: flex;
    gap: 14px;
    transition: transform .35s ease;
}
.cat-slide {
    flex: 0 0 calc((100% - 56px) / 5);
    min-width: 0;
}
.cat-slide .cat-card {
    width: 100%;
}
.cat-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 14px;
}
.cat-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0;
    min-height: 160px;
    background: #1a1a2e;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    text-decoration: none;
    color: inherit;
    transition: all .2s;
    overflow: hidden;
    position: relative;
}
.cat-card::after {
    content: '';
    position: absolute;
    inset: -8px;
    background: inherit;
    background-size: cover;
    background-position: center;
    filter: blur(2px);
    z-index: 0;
}
.cat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,.7) 0%, rgba(0,0,0,.35) 50%, rgba(0,0,0,.15) 100%);
    z-index: 1;
    transition: background .2s;
}
.cat-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .15);
}
.cat-card:hover::before {
    background: linear-gradient(0deg, rgba(0,0,0,.8) 0%, rgba(0,0,0,.3) 50%, rgba(0,0,0,.1) 100%);
}
.cat-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px 4px;
    position: relative;
    z-index: 2;
}
.cat-card-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .15);
    backdrop-filter: blur(6px);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}
.cat-card-info {
    flex: 1;
    min-width: 0;
}
.cat-card-info h3 {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #fff;
    font-family: var(--font-cat);
}
.cat-card-count {
    font-size: 12px;
    color: rgba(255,255,255,.75);
    font-weight: 500;
}
.cat-card-stores {
    display: flex;
    align-items: center;
    padding: 6px 16px 12px;
    position: relative;
    z-index: 2;
}

/* ==================== CATEGORY STORES MODAL ==================== */
.cat-modal-stores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 16px;
    padding: 16px 24px;
}
.cat-modal-store {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 18px 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--text);
    transition: all .2s ease;
}
.cat-modal-store:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,.1);
}
.cat-modal-store-logo {
    width: 56px;
    height: 56px;
    object-fit: contain;
    border-radius: 10px;
}
.cat-modal-store-logo-placeholder {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-darker, #f0f0f0);
    border-radius: 10px;
    color: var(--text-muted);
    font-size: 22px;
}
.cat-modal-store-name {
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
}
.cat-modal-icon {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), #6366f1);
    color: #fff;
    border-radius: 10px;
    font-size: 16px;
}
.cat-modal-count {
    font-size: 13px;
    color: var(--text-muted);
    margin-left: auto;
}

/* ==================== STATS SUMMARY BAR ==================== */
.stats-summary-bar {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 12px;
    padding: 16px 0;
    flex-wrap: wrap;
}
.stats-summary-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--text-muted);
    white-space: nowrap;
}
.stats-summary-item i {
    color: var(--primary);
    font-size: 14px;
}
.stats-summary-num {
    font-weight: 700;
    color: var(--text);
    font-size: 16px;
    font-family: var(--font-display);
}
.stats-summary-label {
    font-size: 13px;
}

/* City/Store Cards Responsive */
@media (max-width: 992px) {
    .city-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}
@media (max-width: 600px) {
    .city-cards-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .city-card-photo {
        height: 140px;
    }
    .city-card-name {
        font-size: 17px;
    }
    .store-cards-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .cat-cards-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .cat-slide {
        flex: 0 0 calc((100% - 28px) / 3);
    }
    .cities-modal-grid {
        grid-template-columns: 1fr;
    }
    .cat-modal-stores-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 10px;
    }
    .cities-modal {
        width: 95%;
        max-height: 90vh;
    }
    .stats-summary-bar {
        gap: 8px;
    }
    .stats-summary-item {
        padding: 8px 12px;
        font-size: 12px;
    }
    .stats-summary-num {
        font-size: 14px;
    }
}

/* ==================== V5.0 — HOMEPAGE MODERNIZATION ==================== */

:root {
    --sec-markets: #059669;
    --sec-markets-light: #f0fdf4;
    --sec-pharmacy: #0284c7;
    --sec-pharmacy-light: #f0f9ff;
    --sec-electronics: #7c3aed;
    --sec-electronics-light: #faf5ff;
    --sec-currency: #1d4ed8;
    --sec-currency-light: #eff6ff;
    --sec-fuel: #ea580c;
    --sec-fuel-light: #fff7ed;
    --font-counter: 'Orbitron', monospace;
}

/* --- Hero Banner --- */
.hero-banner {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #1a365d 100%);
    color: #fff;
    padding: 48px 0 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 15% 50%, rgba(5,150,105,0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 85% 50%, rgba(234,88,12,0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 10%, rgba(124,58,237,0.12) 0%, transparent 60%);
    pointer-events: none;
}
.hero-banner .container { position: relative; z-index: 1; }
.hero-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 1px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.hero-subtitle {
    font-family: var(--font-nav);
    font-size: 1rem;
    opacity: 0.75;
    margin-bottom: 32px;
    letter-spacing: 3px;
}
.hero-banner .home-hero-stats {
    background: rgba(255,255,255,0.07);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.1);
    padding: 24px 40px;
    display: inline-flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
}
.hero-banner .hero-stat { text-align: center; }
.hero-banner .hero-stat-num {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}
.hero-banner .hero-stat-label {
    display: block;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.65);
    margin-top: 4px;
    font-family: var(--font-nav);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- Home Main V5 --- */
.home-main-v5 { padding: 0; }

/* --- Section Cards V5 --- */
.home-main-v5 .home-sections-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    padding: 36px 0 20px;
}
.home-main-v5 .home-section-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 14px 24px;
    border-radius: 16px;
    text-decoration: none;
    color: #fff;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(.4,0,.2,1), box-shadow 0.3s;
    border: none;
    min-height: 152px;
    justify-content: center;
}
.home-main-v5 .home-section-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.18);
}
.home-main-v5 .home-section-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 60%);
    pointer-events: none;
    transition: opacity 0.3s;
}
.home-main-v5 .home-section-card:hover::after { opacity: 0.7; }

/* Section card gradient colors */
.home-main-v5 .home-section-card[href="/markets"] {
    background: linear-gradient(135deg, #059669 0%, #34d399 100%);
    box-shadow: 0 4px 16px rgba(5,150,105,0.25);
}
.home-main-v5 .home-section-card[href="/pharmacies"] {
    background: linear-gradient(135deg, #0284c7 0%, #38bdf8 100%);
    box-shadow: 0 4px 16px rgba(2,132,199,0.25);
}
.home-main-v5 .home-section-card[href="/electronics"] {
    background: linear-gradient(135deg, #7c3aed 0%, #a78bfa 100%);
    box-shadow: 0 4px 16px rgba(124,58,237,0.25);
}
.home-main-v5 .home-section-card[href="/currency"] {
    background: linear-gradient(135deg, #1d4ed8 0%, #60a5fa 100%);
    box-shadow: 0 4px 16px rgba(29,78,216,0.25);
}
.home-main-v5 .home-section-card[href="/fuel"] {
    background: linear-gradient(135deg, #ea580c 0%, #fb923c 100%);
    box-shadow: 0 4px 16px rgba(234,88,12,0.25);
}
.home-main-v5 .home-section-card[href="/mobile-tariffs"] {
    background: linear-gradient(135deg, #4338ca 0%, #818cf8 100%);
    box-shadow: 0 4px 16px rgba(67,56,202,0.25);
}
.home-main-v5 .home-section-card .section-card-icon {
    font-size: 2rem;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.home-main-v5 .home-section-card .section-card-body {
    position: relative; z-index: 1;
}
.home-main-v5 .home-section-card .section-card-body h2 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    margin-bottom: 4px;
    color: #fff;
}
.home-main-v5 .home-section-card .section-card-body p {
    font-size: 0.8rem;
    opacity: 0.85;
    color: #fff;
}
.home-main-v5 .home-section-card .section-card-arrow {
    position: absolute;
    bottom: 12px;
    right: 14px;
    opacity: 0.4;
    font-size: 0.9rem;
    transition: all 0.3s;
    z-index: 1;
    color: #fff;
}
.home-main-v5 .home-section-card:hover .section-card-arrow {
    opacity: 1;
    transform: translateX(4px);
}

/* --- Section Blocks --- */
.section-block {
    padding: 48px 0 40px;
    position: relative;
}
.section-block--markets {
    background: linear-gradient(180deg, var(--sec-markets-light) 0%, #f8fdfb 50%, var(--bg) 100%);
    border-top: 4px solid var(--sec-markets);
}
.section-block--pharmacy {
    background: linear-gradient(180deg, var(--sec-pharmacy-light) 0%, #f8fcff 50%, var(--bg) 100%);
    border-top: 4px solid var(--sec-pharmacy);
}
.section-block--electronics {
    background: linear-gradient(180deg, var(--sec-electronics-light) 0%, #fcfaff 50%, var(--bg) 100%);
    border-top: 4px solid var(--sec-electronics);
}
.section-block--widgets {
    background: linear-gradient(180deg, #f8fafc 0%, var(--bg) 100%);
    padding: 48px 0 40px;
}

/* --- Section Headers V5 --- */
.section-header-v5 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.section-icon-badge {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.section-icon-badge.sm {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    font-size: 12px;
}
.section-icon-badge.bg-markets { background: var(--sec-markets); }
.section-icon-badge.bg-pharmacy { background: var(--sec-pharmacy); }
.section-icon-badge.bg-electronics { background: var(--sec-electronics); }
.section-icon-badge.bg-currency { background: var(--sec-currency); }
.section-icon-badge.bg-fuel { background: var(--sec-fuel); }
.section-icon-badge.bg-stats { background: var(--primary); }

.section-header-v5 h2 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--text);
    margin: 0;
    flex: 1;
    min-width: 180px;
}
.section-more-v5 {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 50px;
    background: var(--surface);
    border: 1px solid var(--border);
    transition: all 0.2s;
    white-space: nowrap;
    font-family: var(--font-nav);
}
.section-more-v5:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.section-block--markets .section-more-v5:hover {
    border-color: var(--sec-markets);
    color: var(--sec-markets);
}
.section-block--pharmacy .section-more-v5:hover {
    border-color: var(--sec-pharmacy);
    color: var(--sec-pharmacy);
}
.section-block--electronics .section-more-v5:hover {
    border-color: var(--sec-electronics);
    color: var(--sec-electronics);
}

/* --- Widgets V5 --- */
.home-widget-v5 {
    background: var(--surface);
    border-radius: 16px;
    padding: 22px;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--border);
    transition: transform 0.25s, box-shadow 0.25s;
}
.home-widget-v5:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.home-widget-v5.wg-currency { border-top-color: var(--sec-currency); }
.home-widget-v5.wg-fuel { border-top-color: var(--sec-fuel); }
.home-widget-v5.wg-stats { border-top-color: var(--sec-markets); }

/* --- Fuel Counter --- */
.fuel-counter {
    font-family: var(--font-counter) !important;
    font-weight: 700;
    letter-spacing: 1px;
}
.wg-fuel .fuel-cheapest {
    color: var(--sec-fuel);
    font-size: 1rem;
}
.wg-fuel .fuel-price-range {
    font-family: var(--font-counter);
    font-weight: 500;
}

/* --- Store Cards V5 --- */
.home-main-v5 .home-store-card {
    background: var(--surface);
    border-radius: 14px;
    padding: 20px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text);
    border: 2px solid var(--border);
    transition: all 0.3s cubic-bezier(.4,0,.2,1);
    position: relative;
    overflow: hidden;
}
.home-main-v5 .home-store-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--brand, var(--primary));
    transform: scaleX(0);
    transition: transform 0.3s cubic-bezier(.4,0,.2,1);
    transform-origin: left;
}
.home-main-v5 .home-store-card:hover::before { transform: scaleX(1); }
.home-main-v5 .home-store-card:hover {
    border-color: color-mix(in srgb, var(--brand, var(--primary)) 40%, transparent);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transform: translateY(-4px);
}
.home-main-v5 .home-store-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 12px;
    transition: transform 0.3s;
}
.home-main-v5 .home-store-card:hover .home-store-logo { transform: scale(1.08); }
.home-main-v5 .home-store-name {
    font-family: var(--font-nav);
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.3;
}
.home-main-v5 .home-store-count {
    font-size: 0.78rem;
    color: var(--text-muted);
}
.home-main-v5 .home-store-sale {
    font-size: 0.72rem;
    color: var(--accent);
    font-weight: 700;
}

/* --- Deal Cards V5 --- */
.home-main-v5 .deal-card {
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: transform 0.3s, box-shadow 0.3s;
}
.home-main-v5 .deal-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}
.section-block--markets .deal-badge { background: var(--sec-markets); }
.section-block--pharmacy .deal-badge { background: var(--sec-pharmacy); }
.section-block--electronics .deal-badge { background: var(--sec-electronics); }

/* --- V5 Mobile Responsive --- */
@media (max-width: 1024px) {
    .home-main-v5 .home-sections-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .home-main-v5 .home-section-card {
        min-height: 130px;
        padding: 20px 12px;
    }
}
@media (max-width: 768px) {
    .hero-banner { padding: 32px 0 28px; }
    .hero-title { font-size: 1.5rem; }
    .hero-subtitle { font-size: 0.85rem; margin-bottom: 20px; letter-spacing: 1.5px; }
    .hero-banner .home-hero-stats { gap: 20px; padding: 16px 24px; }
    .hero-banner .hero-stat-num { font-size: 1.5rem; }
    .hero-banner .hero-stat-label { font-size: 0.7rem; }
    .home-main-v5 .home-sections-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 24px 0 16px;
    }
    .home-main-v5 .home-section-card {
        min-height: 115px;
        padding: 18px 12px 16px;
    }
    .home-main-v5 .home-section-card .section-card-icon {
        font-size: 1.5rem;
        margin-bottom: 8px;
    }
    .home-main-v5 .home-section-card .section-card-body h2 { font-size: 0.92rem; }
    .home-main-v5 .home-section-card .section-card-body p { font-size: 0.72rem; }
    .section-block { padding: 32px 0 24px; }
    .section-header-v5 h2 { font-size: 1.05rem; min-width: 0; }
    .section-header-v5 { gap: 10px; }
    .section-icon-badge { width: 34px; height: 34px; font-size: 15px; }
    .home-main-v5 .home-widgets-grid.three-col {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .home-main-v5 .home-store-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}
@media (max-width: 480px) {
    .hero-banner { padding: 24px 0 22px; }
    .hero-title { font-size: 1.25rem; }
    .hero-subtitle { font-size: 0.78rem; }
    .hero-banner .home-hero-stats {
        gap: 14px; padding: 14px 16px; border-radius: 14px;
    }
    .hero-banner .hero-stat-num { font-size: 1.2rem; }
    .home-main-v5 .home-sections-grid { gap: 8px; padding: 16px 0 12px; }
    .home-main-v5 .home-section-card {
        min-height: 100px;
        padding: 14px 10px;
        border-radius: 12px;
    }
    .home-main-v5 .home-section-card .section-card-icon {
        font-size: 1.3rem; margin-bottom: 6px;
    }
    .home-main-v5 .home-section-card .section-card-body h2 { font-size: 0.82rem; }
    .home-main-v5 .home-section-card .section-card-body p { font-size: 0.68rem; }
    .home-main-v5 .home-sections-grid .home-section-card:nth-child(5) {
        grid-column: 1 / -1;
    }
    .section-block { padding: 24px 0 20px; }
    .section-header-v5 h2 { font-size: 0.95rem; }
    .home-main-v5 .home-store-card { padding: 14px 10px; }
    .home-main-v5 .home-store-logo { width: 48px; height: 48px; }
    .home-main-v5 .home-store-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
}
/* ================================================================

/* ================================================================
   HOMEPAGE V6 — Split Hero (left) + Category Cards (right) on desktop
   All selectors prefixed with .home-hero-v6 to beat existing v5 rules
   ================================================================ */

.home-hero-v6 {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #1a365d 100%);
    color: #fff;
    padding: 48px 0 52px;
    position: relative;
    overflow: hidden;
}

.home-hero-v6::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 15% 40%, rgba(5,150,105,0.22) 0%, transparent 55%),
        radial-gradient(ellipse at 85% 60%, rgba(234,88,12,0.18) 0%, transparent 55%),
        radial-gradient(ellipse at 50% 110%, rgba(124,58,237,0.15) 0%, transparent 60%);
    pointer-events: none;
}

.home-hero-v6 .container {
    position: relative;
    z-index: 1;
}

.home-hero-v6-grid {
    display: grid;
    grid-template-columns: minmax(320px, 1fr) 1.35fr;
    gap: 40px;
    align-items: center;
}

.home-hero-v6-left {
    text-align: left;
}

.home-hero-v6 .hero-title {
    font-family: var(--font-heading);
    font-size: 2.3rem;
    font-weight: 700;
    margin: 0 0 10px;
    letter-spacing: 0.3px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.3);
    line-height: 1.15;
}

.home-hero-v6 .hero-subtitle {
    font-family: var(--font-nav);
    font-size: 0.95rem;
    opacity: 0.78;
    margin: 0 0 26px;
    letter-spacing: 1.5px;
    line-height: 1.5;
}

/* ═══ Hero stats — compact, left-aligned, glassmorphism ═══ */
.home-hero-v6 .home-hero-stats {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin: 0;
    padding: 0;
    max-width: 100%;
}

.home-hero-v6 .hero-stat {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 12px 6px 10px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15), inset 0 1px 0 rgba(255,255,255,0.08);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
    overflow: hidden;
    min-width: 0;
}

.home-hero-v6 .hero-stat::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--stat-glow, rgba(59,130,246,0.22)) 0%, transparent 55%);
    opacity: 0.9;
    pointer-events: none;
}

.home-hero-v6 .hero-stat:hover {
    transform: translateY(-2px);
    border-color: rgba(255,255,255,0.22);
}

.home-hero-v6 .hero-stat[data-stat="products"]  { --stat-glow: rgba(16,185,129,0.28); --stat-icon: #34d399; }
.home-hero-v6 .hero-stat[data-stat="discounts"] { --stat-glow: rgba(239,68,68,0.28);  --stat-icon: #f87171; }
.home-hero-v6 .hero-stat[data-stat="banks"]     { --stat-glow: rgba(59,130,246,0.28); --stat-icon: #60a5fa; }
.home-hero-v6 .hero-stat[data-stat="stations"]  { --stat-glow: rgba(249,115,22,0.28); --stat-icon: #fb923c; }
.home-hero-v6 .hero-stat[data-stat="tariffs"]   { --stat-glow: rgba(168,85,247,0.28); --stat-icon: #c084fc; }

.home-hero-v6 .hero-stat-icon {
    position: relative;
    z-index: 1;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255,255,255,0.08);
    color: var(--stat-icon, #60a5fa);
    font-size: 12px;
}

.home-hero-v6 .hero-stat-num {
    position: relative;
    z-index: 1;
    font-size: 20px;
    font-weight: 800;
    font-family: var(--font-display);
    color: #fff;
    letter-spacing: -0.3px;
    line-height: 1.1;
    margin: 2px 0 0;
}

.home-hero-v6 .hero-stat-label {
    position: relative;
    z-index: 1;
    font-size: 10px;
    font-weight: 600;
    color: rgba(255,255,255,0.72);
    text-transform: uppercase;
    letter-spacing: 0.4px;
    font-family: var(--font-input);
    white-space: nowrap;
}

/* ═══ RIGHT: Category cards — on dark hero bg ═══ */
.home-hero-v6 .home-sections-grid--split {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 0;
}

.home-hero-v6 .home-section-card--v6 {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: 14px;
    text-decoration: none;
    color: #fff !important;
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease;
    overflow: hidden;
    isolation: isolate;
    min-height: auto;
    flex-direction: row !important;
    text-align: left !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15) !important;
}

.home-hero-v6 .home-section-card--v6::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--cat-glow, rgba(59,130,246,0.22)) 0%, transparent 60%);
    opacity: 0.65;
    transition: opacity .22s ease;
    z-index: -1;
}

.home-hero-v6 .home-section-card--v6::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--cat-accent, #3b82f6);
    opacity: 0.7;
    transition: opacity .22s ease;
}

.home-hero-v6 .home-section-card--v6:hover {
    transform: translateY(-3px);
    border-color: var(--cat-accent, #3b82f6) !important;
    background: rgba(255,255,255,0.12) !important;
    box-shadow: 0 12px 32px -6px var(--cat-shadow, rgba(59,130,246,0.45)) !important;
}

.home-hero-v6 .home-section-card--v6:hover::before { opacity: 1; }
.home-hero-v6 .home-section-card--v6:hover::after  { opacity: 1; height: 3px; }

/* Per-category theming */
.home-hero-v6 .home-section-card--v6[data-cat="markets"]     { --cat-accent: #34d399; --cat-glow: rgba(16,185,129,0.25); --cat-shadow: rgba(16,185,129,0.4); }
.home-hero-v6 .home-section-card--v6[data-cat="pharmacies"]  { --cat-accent: #2dd4bf; --cat-glow: rgba(20,184,166,0.25); --cat-shadow: rgba(20,184,166,0.4); }
.home-hero-v6 .home-section-card--v6[data-cat="electronics"] { --cat-accent: #c084fc; --cat-glow: rgba(139,92,246,0.25); --cat-shadow: rgba(139,92,246,0.4); }
.home-hero-v6 .home-section-card--v6[data-cat="currency"]    { --cat-accent: #60a5fa; --cat-glow: rgba(59,130,246,0.25); --cat-shadow: rgba(59,130,246,0.4); }
.home-hero-v6 .home-section-card--v6[data-cat="fuel"]        { --cat-accent: #fb923c; --cat-glow: rgba(249,115,22,0.28); --cat-shadow: rgba(249,115,22,0.4); }
.home-hero-v6 .home-section-card--v6[data-cat="mobile"]      { --cat-accent: #818cf8; --cat-glow: rgba(99,102,241,0.25); --cat-shadow: rgba(99,102,241,0.4); }

.home-hero-v6 .home-section-card--v6 .section-card-icon {
    position: relative;
    z-index: 1;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    font-size: 18px !important;
    border-radius: 10px;
    background: rgba(255,255,255,0.1);
    color: var(--cat-accent, #60a5fa) !important;
    flex-shrink: 0;
    text-shadow: none !important;
    margin: 0 !important;
    transition: transform .22s ease;
}

.home-hero-v6 .home-section-card--v6:hover .section-card-icon {
    transform: scale(1.08) rotate(-4deg);
    background: rgba(255,255,255,0.18);
}

.home-hero-v6 .home-section-card--v6 .section-card-body {
    position: relative;
    z-index: 1;
    flex: 1;
    min-width: 0;
    text-align: left !important;
}

.home-hero-v6 .home-section-card--v6 .section-card-body h2 {
    font-size: 14.5px !important;
    font-weight: 700;
    margin: 0 0 2px !important;
    font-family: var(--font-heading);
    color: #fff !important;
    letter-spacing: -0.1px;
    line-height: 1.2;
}

.home-hero-v6 .home-section-card--v6 .section-card-body p {
    font-size: 11.5px !important;
    color: rgba(255,255,255,0.7) !important;
    font-family: var(--font-input);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0 !important;
    line-height: 1.3;
    opacity: 1 !important;
}

.home-hero-v6 .home-section-card--v6 .section-card-arrow {
    position: static !important;
    font-size: 13px;
    color: rgba(255,255,255,0.4) !important;
    flex-shrink: 0;
    transition: transform .22s ease, color .22s ease;
}

.home-hero-v6 .home-section-card--v6:hover .section-card-arrow {
    transform: translateX(4px);
    color: var(--cat-accent, #fff) !important;
}

/* ═══ RESPONSIVE ═══ */

/* Large tablet */
@media (max-width: 1024px) {
    .home-hero-v6-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .home-hero-v6-left { text-align: center; }
    .home-hero-v6 .hero-subtitle { text-align: center; }
    .home-hero-v6 .home-sections-grid--split {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Tablet */
@media (max-width: 768px) {
    .home-hero-v6 {
        padding: 36px 0 36px;
    }
    .home-hero-v6 .hero-title {
        font-size: 1.7rem;
    }
    .home-hero-v6 .hero-subtitle {
        font-size: 0.82rem;
        letter-spacing: 1px;
        margin-bottom: 20px;
    }
    .home-hero-v6 .home-hero-stats {
        grid-template-columns: repeat(5, 1fr);
        gap: 6px;
    }
    .home-hero-v6 .hero-stat {
        padding: 10px 3px 8px;
    }
    .home-hero-v6 .hero-stat-icon {
        width: 24px;
        height: 24px;
        font-size: 11px;
    }
    .home-hero-v6 .hero-stat-num {
        font-size: 15px;
    }
    .home-hero-v6 .hero-stat-label {
        font-size: 8.5px;
        letter-spacing: 0.2px;
    }
    .home-hero-v6 .home-sections-grid--split {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .home-hero-v6 .home-section-card--v6 {
        padding: 12px 14px;
        gap: 10px;
    }
    .home-hero-v6 .home-section-card--v6 .section-card-icon {
        width: 38px;
        height: 38px;
        font-size: 16px !important;
    }
    .home-hero-v6 .home-section-card--v6 .section-card-body h2 {
        font-size: 13px !important;
    }
    .home-hero-v6 .home-section-card--v6 .section-card-body p {
        font-size: 10.5px !important;
    }
    .home-hero-v6 .home-section-card--v6 .section-card-arrow {
        display: none;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .home-hero-v6 {
        padding: 28px 0 28px;
    }
    .home-hero-v6 .home-hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .home-hero-v6 .hero-stat:nth-child(5) {
        grid-column: span 2;
    }
    .home-hero-v6 .hero-stat {
        padding: 12px 10px;
    }
    .home-hero-v6 .hero-stat-icon {
        width: 28px;
        height: 28px;
        font-size: 13px;
    }
    .home-hero-v6 .hero-stat-num {
        font-size: 20px;
    }
    .home-hero-v6 .hero-stat-label {
        font-size: 10px;
    }
    .home-hero-v6 .home-section-card--v6 {
        padding: 12px;
        gap: 10px;
        border-radius: 12px;
    }
    .home-hero-v6 .home-section-card--v6 .section-card-icon {
        width: 36px;
        height: 36px;
        font-size: 15px !important;
    }
    .home-hero-v6 .home-section-card--v6 .section-card-body h2 {
        font-size: 12.5px !important;
    }
    .home-hero-v6 .home-section-card--v6 .section-card-body p {
        font-size: 10px !important;
        white-space: normal;
    }
}

/* Hide the old separate hero-banner rules from interfering with our v6 */
.home-hero-v6 .hero-banner { display: none; }

/* ── V6 SPLIT: expand to 3 columns + loans theming ── */
.home-hero-v6 .home-sections-grid--split {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 10px !important;
}
.home-hero-v6 .home-section-card--v6[data-cat="loans"] {
    --cat-accent: #fbbf24;
    --cat-glow: rgba(251,191,36,0.28);
    --cat-shadow: rgba(251,191,36,0.4);
}

/* Tablet: keep 3 cols but compact */
@media (max-width: 1024px) {
    .home-hero-v6 .home-sections-grid--split {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}
/* Small tablet / mobile: 2 cols, loans spans last row full width */
@media (max-width: 768px) {
    .home-hero-v6 .home-sections-grid--split {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .home-hero-v6 .home-section-card--v6[data-cat="loans"] {
        grid-column: span 2;
    }
}
@media (max-width: 480px) {
    .home-hero-v6 .home-section-card--v6[data-cat="loans"] {
        grid-column: span 2;
    }
}

/* ── V6 Hero stats: 6 items grid + loans theming ── */
.home-hero-v6 .home-hero-stats {
    grid-template-columns: repeat(6, 1fr) !important;
}
.home-hero-v6 .hero-stat[data-stat="loans"] {
    --stat-glow: rgba(251,191,36,0.28);
    --stat-icon: #fbbf24;
}
@media (max-width: 768px) {
    .home-hero-v6 .home-hero-stats {
        grid-template-columns: repeat(6, 1fr) !important;
        gap: 5px !important;
    }
    .home-hero-v6 .hero-stat { padding: 9px 2px 7px !important; }
    .home-hero-v6 .hero-stat-icon { width: 22px !important; height: 22px !important; font-size: 10px !important; }
    .home-hero-v6 .hero-stat-num { font-size: 14px !important; }
    .home-hero-v6 .hero-stat-label { font-size: 8px !important; letter-spacing: 0.1px !important; }
}
@media (max-width: 480px) {
    .home-hero-v6 .home-hero-stats {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 6px !important;
    }
    .home-hero-v6 .hero-stat { padding: 11px 6px !important; }
    .home-hero-v6 .hero-stat-icon { width: 26px !important; height: 26px !important; font-size: 12px !important; }
    .home-hero-v6 .hero-stat-num { font-size: 17px !important; }
    .home-hero-v6 .hero-stat-label { font-size: 9px !important; }
    /* No special span for last item — 3x2 layout is clean for 6 items */
    .home-hero-v6 .hero-stat:nth-child(5) { grid-column: auto; }
}

/* ================================================================
   V6 — Deals Section Redesign + Trending Today
   ================================================================ */

.home-section.deals-section {
    position: relative;
    padding: 24px 0 12px;
}

.home-section.deals-section .section-header-v5 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    position: relative;
}

.home-section.deals-section .section-header-v5 h2 {
    font-size: 20px;
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.3px;
    font-family: var(--font-heading);
    color: var(--text, #0f172a);
}

.home-section.deals-section .section-icon-badge {
    width: 38px; height: 38px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 11px;
    font-size: 16px;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 6px 16px -4px rgba(0,0,0,0.2);
}

.section-icon-badge.bg-markets      { background: linear-gradient(135deg, #059669, #34d399); box-shadow: 0 6px 16px -4px rgba(16,185,129,.45); }
.section-icon-badge.bg-trending     { background: linear-gradient(135deg, #ef4444, #f97316); box-shadow: 0 6px 16px -4px rgba(249,115,22,.45); }
.section-icon-badge.bg-pharmacy     { background: linear-gradient(135deg, #0d9488, #2dd4bf); box-shadow: 0 6px 16px -4px rgba(20,184,166,.45); }
.section-icon-badge.bg-electronics  { background: linear-gradient(135deg, #7c3aed, #c084fc); box-shadow: 0 6px 16px -4px rgba(139,92,246,.45); }

.home-section.deals-section .section-more-v5 {
    margin-left: auto;
    color: var(--primary, #2563eb);
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 8px;
    background: rgba(37,99,235,0.08);
    transition: background .2s ease, transform .2s ease;
}

.home-section.deals-section .section-more-v5:hover {
    background: rgba(37,99,235,0.15);
    transform: translateX(2px);
}

.trending-subtitle {
    font-size: 12px;
    color: var(--text-muted, #64748b);
    font-weight: 500;
    white-space: nowrap;
}

.home-section.deals-section .deals-wrapper { position: relative; }

.home-section.deals-section .deals-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

.home-section.deals-section .deals-scroll::-webkit-scrollbar { height: 5px; }
.home-section.deals-section .deals-scroll::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }
.home-section.deals-section .deals-scroll::-webkit-scrollbar-track { background: transparent; }

.home-section.deals-section .deal-card {
    scroll-snap-align: start;
    flex: 0 0 195px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: var(--text, #0f172a);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.home-section.deals-section .deal-card:hover {
    transform: translateY(-4px);
    border-color: #94a3b8;
    box-shadow: 0 12px 32px -8px rgba(0,0,0,0.16);
}

.home-section.deals-section .deal-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 9px;
    border-radius: 20px;
    z-index: 2;
    letter-spacing: -0.3px;
    box-shadow: 0 4px 10px -2px rgba(239,68,68,0.5);
}

.trending-rank {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, rgba(15,23,42,0.88), rgba(15,23,42,0.76));
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 9px 4px 8px;
    border-radius: 20px;
    z-index: 2;
    letter-spacing: 0.2px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 4px 10px -2px rgba(0,0,0,0.3);
}

.trending-rank i { font-size: 10px; opacity: 0.9; }

.home-section.deals-section .deal-img {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-section.deals-section .deal-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
    transition: transform .3s ease;
}

.home-section.deals-section .deal-card:hover .deal-img img { transform: scale(1.06); }

.home-section.deals-section .deal-info {
    padding: 10px 12px 12px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
}

.home-section.deals-section .deal-store-row {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 18px;
}

.home-section.deals-section .deal-store-icon {
    width: 16px; height: 16px;
    object-fit: contain;
    border-radius: 3px;
}

.home-section.deals-section .deal-store {
    font-size: 11px;
    color: var(--text-muted, #64748b);
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.home-section.deals-section .deal-name {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--text, #0f172a);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 35px;
}

.home-section.deals-section .deal-prices {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: auto;
    padding-top: 4px;
    flex-wrap: wrap;
}

.home-section.deals-section .deal-price-new {
    font-size: 17px;
    font-weight: 800;
    color: #dc2626;
    font-family: var(--font-display);
    letter-spacing: -0.3px;
}

.home-section.deals-section .deal-price-old {
    font-size: 12.5px;
    color: var(--text-muted, #94a3b8);
    text-decoration: line-through;
    font-weight: 500;
}

/* Trending section accent */
.trending-section .deal-price-new { color: var(--text, #0f172a); }
.trending-section .deal-card { border-color: rgba(249, 115, 22, 0.2); }
.trending-section .deal-card:hover {
    border-color: #f97316;
    box-shadow: 0 12px 32px -8px rgba(249,115,22,0.35);
}

/* Arrows */
.home-section.deals-section .deals-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px; height: 38px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    cursor: pointer;
    color: var(--text, #0f172a);
    font-size: 13px;
    z-index: 3;
    transition: background .2s, color .2s, transform .2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-section.deals-section .deals-arrow:hover {
    background: var(--primary, #2563eb);
    color: #fff;
    transform: translateY(-50%) scale(1.08);
}

.home-section.deals-section .deals-arrow-left { left: -14px; }
.home-section.deals-section .deals-arrow-right { right: -14px; }

/* Mobile */
@media (max-width: 768px) {
    .home-section.deals-section { padding: 18px 0 8px; }
    .home-section.deals-section .section-header-v5 h2 { font-size: 17px; }
    .home-section.deals-section .section-icon-badge { width: 32px; height: 32px; font-size: 13px; border-radius: 9px; }
    .trending-subtitle { display: none; }
    .home-section.deals-section .section-more-v5 { font-size: 12px; padding: 5px 10px; }
    .home-section.deals-section .deal-card { flex: 0 0 160px; border-radius: 12px; }
    .home-section.deals-section .deal-price-new { font-size: 15px; }
    .home-section.deals-section .deal-name { font-size: 12px; min-height: 32px; }
    .home-section.deals-section .deals-arrow { display: none; }
    .home-section.deals-section .deals-scroll { gap: 10px; padding: 0 4px 6px; }
}

@media (max-width: 480px) {
    .home-section.deals-section .deal-card { flex: 0 0 144px; }
    .home-section.deals-section .deal-info { padding: 8px 10px 10px; }
    .trending-rank { top: 8px; right: 8px; font-size: 10px; padding: 3px 7px; }
    .home-section.deals-section .deal-badge { top: 8px; left: 8px; font-size: 10px; padding: 3px 8px; }
}

/* ================================================================
   V6.2 — Deals carousel: always-on arrows + looping + hidden scrollbar
   Plus Store marquee (auto-scrolling horizontal)
   ================================================================ */

/* ── Hide scrollbar on deals scroll (keep scroll functionality) ── */
.home-section.deals-section .deals-scroll {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    padding-bottom: 0 !important;
}
.home-section.deals-section .deals-scroll::-webkit-scrollbar {
    display: none !important;
    height: 0 !important;
    width: 0 !important;
}

/* ── Always show arrows (web + mobile) ── */
.home-section.deals-section .deals-arrow {
    display: flex !important;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px; height: 40px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 14px rgba(0,0,0,0.1);
    cursor: pointer;
    color: var(--text, #0f172a);
    font-size: 13px;
    z-index: 5;
    align-items: center;
    justify-content: center;
    transition: background .2s, color .2s, transform .2s, opacity .2s;
}

.home-section.deals-section .deals-arrow:hover {
    background: var(--primary, #2563eb);
    color: #fff;
    transform: translateY(-50%) scale(1.1);
}

.home-section.deals-section .deals-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.home-section.deals-section .deals-arrow-left  { left: -6px; }
.home-section.deals-section .deals-arrow-right { right: -6px; }

@media (max-width: 768px) {
    .home-section.deals-section .deals-arrow {
        width: 34px; height: 34px;
        font-size: 11px;
    }
    .home-section.deals-section .deals-arrow-left  { left: -4px; }
    .home-section.deals-section .deals-arrow-right { right: -4px; }
}

/* ================================================================
   Store Marquee — auto-scrolling horizontal card slider
   ================================================================ */

.home-store-marquee {
    position: relative;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
    padding: 8px 0;
}

.home-store-marquee-track {
    display: flex;
    gap: 14px;
    width: max-content;
    animation: marqueeScroll 50s linear infinite;
    will-change: transform;
}

.home-store-marquee:hover .home-store-marquee-track,
.home-store-marquee:focus-within .home-store-marquee-track {
    animation-play-state: paused;
}

@keyframes marqueeScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.home-store-marquee .home-store-card {
    flex: 0 0 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 12px 16px 12px 12px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    text-decoration: none;
    color: var(--text, #0f172a);
    min-width: 260px;
    max-width: 300px;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.home-store-marquee .home-store-card:hover {
    transform: translateY(-3px);
    border-color: var(--brand, #2563eb);
    box-shadow: 0 12px 28px -8px rgba(0,0,0,0.15);
}

.home-store-logo-wrap {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    flex-shrink: 0;
    border: 1px solid #eef2f7;
    padding: 4px;
    overflow: hidden;
}

.home-store-logo-wrap .home-store-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.home-store-logo-wrap .home-store-dot {
    width: 18px; height: 18px;
    border-radius: 50%;
    display: block;
}

.home-store-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.home-store-info .home-store-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text, #0f172a);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -0.1px;
    line-height: 1.2;
}

.home-store-stats {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.home-store-stat {
    font-size: 11.5px;
    color: var(--text-muted, #64748b);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.home-store-stat i { font-size: 10px; color: var(--text-muted, #94a3b8); }

.home-store-stat--sale {
    color: #dc2626;
}
.home-store-stat--sale i { color: #ef4444; }

/* Mobile — faster scroll, smaller cards */
@media (max-width: 768px) {
    .home-store-marquee { padding: 6px 0; }
    .home-store-marquee-track {
        animation-duration: 40s;
        gap: 10px;
    }
    .home-store-marquee .home-store-card {
        min-width: 220px;
        max-width: 260px;
        padding: 10px 14px 10px 10px;
        gap: 10px;
        border-radius: 12px;
    }
    .home-store-logo-wrap { width: 44px; height: 44px; border-radius: 9px; }
    .home-store-info .home-store-name { font-size: 13px; }
    .home-store-stat { font-size: 11px; }
}

/* Respect reduced-motion */
@media (prefers-reduced-motion: reduce) {
    .home-store-marquee-track {
        animation: none;
    }
    .home-store-marquee {
        overflow-x: auto;
        mask-image: none;
        -webkit-mask-image: none;
    }
}

/* ── V6.3 — Deal cards: fit exactly N per viewport, no partial cards ── */
.home-section.deals-section .deal-card {
    flex: 0 0 calc((100% - 4 * 12px) / 5) !important;
    min-width: 0 !important;
    max-width: calc((100% - 4 * 12px) / 5) !important;
}

@media (max-width: 1200px) {
    .home-section.deals-section .deal-card {
        flex: 0 0 calc((100% - 3 * 12px) / 4) !important;
        max-width: calc((100% - 3 * 12px) / 4) !important;
    }
}
@media (max-width: 900px) {
    .home-section.deals-section .deal-card {
        flex: 0 0 calc((100% - 2 * 10px) / 3) !important;
        max-width: calc((100% - 2 * 10px) / 3) !important;
    }
}
@media (max-width: 600px) {
    .home-section.deals-section .deal-card {
        flex: 0 0 calc((100% - 10px) / 2) !important;
        max-width: calc((100% - 10px) / 2) !important;
    }
}
@media (max-width: 400px) {
    .home-section.deals-section .deal-card {
        flex: 0 0 calc((100% - 8px) / 2) !important;
        max-width: calc((100% - 8px) / 2) !important;
    }
}

/* ── Store label on product cards — use heading font like markets ── */
.home-section.deals-section .deal-store {
    font-family: var(--font-heading) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: var(--text, #0f172a) !important;
    letter-spacing: -0.1px !important;
}

@media (max-width: 768px) {
    .home-section.deals-section .deal-store {
        font-size: 12px !important;
    }
}

/* ── V6.4 — Disabled arrow state at edges (no auto-loop) ── */
.home-section.deals-section .deals-arrow.disabled {
    opacity: 0.3 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
}
.home-section.deals-section .deals-arrow.disabled:hover {
    background: #fff !important;
    color: var(--text, #0f172a) !important;
    transform: translateY(-50%) !important;
}

/* ================================================================
   V6.5 — Top Categories section (below markets)
   ================================================================ */

.top-cats-section {
    padding: 20px 0 16px;
}

.section-icon-badge.bg-topcats {
    background: linear-gradient(135deg, #7c3aed, #c084fc) !important;
    box-shadow: 0 6px 16px -4px rgba(139,92,246,.45) !important;
}

.top-cats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.top-cat-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    text-decoration: none;
    color: var(--text, #0f172a);
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.top-cat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--cat-color) 0%, transparent 60%);
    opacity: 0;
    transition: opacity .22s ease;
    z-index: -1;
    mix-blend-mode: multiply;
}

.top-cat-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--cat-color);
    opacity: 0;
    transition: opacity .22s ease;
}

.top-cat-card:hover {
    transform: translateY(-3px);
    border-color: var(--cat-color);
    box-shadow: 0 10px 28px -8px color-mix(in srgb, var(--cat-color) 40%, transparent);
}

.top-cat-card:hover::before { opacity: 0.08; }
.top-cat-card:hover::after  { opacity: 1; }

.top-cat-icon {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    font-size: 19px;
    background: color-mix(in srgb, var(--cat-color) 12%, transparent);
    color: var(--cat-color);
    flex-shrink: 0;
    transition: transform .22s ease;
}

.top-cat-card:hover .top-cat-icon {
    transform: scale(1.08) rotate(-5deg);
}

.top-cat-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.top-cat-name {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: var(--text, #0f172a);
    letter-spacing: -0.1px;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.top-cat-stats {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.top-cat-count {
    font-size: 11.5px;
    color: var(--text-muted, #64748b);
    font-weight: 600;
    white-space: nowrap;
}

.top-cat-sale {
    font-size: 11.5px;
    color: #dc2626;
    font-weight: 700;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.top-cat-sale i {
    font-size: 10px;
    color: #ef4444;
}

/* Tablet */
@media (max-width: 1024px) {
    .top-cats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Small tablet */
@media (max-width: 768px) {
    .top-cats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .top-cat-card {
        padding: 12px 14px;
        border-radius: 12px;
        gap: 10px;
    }
    .top-cat-icon {
        width: 40px;
        height: 40px;
        font-size: 17px;
        border-radius: 10px;
    }
    .top-cat-name {
        font-size: 13px;
    }
    .top-cat-count, .top-cat-sale {
        font-size: 11px;
    }
}

/* Mobile */
@media (max-width: 420px) {
    .top-cats-grid {
        gap: 8px;
    }
    .top-cat-card {
        padding: 10px 12px;
        gap: 9px;
    }
    .top-cat-icon {
        width: 36px;
        height: 36px;
        font-size: 15px;
    }
    .top-cat-name {
        font-size: 12.5px;
    }
}

/* Fallback for browsers without color-mix */
@supports not (background: color-mix(in srgb, red, transparent)) {
    .top-cat-icon {
        background: rgba(0,0,0,0.06);
    }
    .top-cat-card:hover {
        box-shadow: 0 10px 28px -8px rgba(0,0,0,0.18);
    }
}

/* ── V6.6 — Trending+Categories standalone section ── */
.section-block--trending {
    background: linear-gradient(180deg, #fff7ed 0%, #fffbeb 50%, var(--bg) 100%);
    border-top: 4px solid #f97316;
    padding: 40px 0 32px;
}

.section-block--trending + .section-block--markets {
    padding-top: 36px;
}

/* Add some separator between the two sub-sections inside trending */
.section-block--trending .top-cats-section {
    margin-top: 36px;
    padding-top: 20px;
    border-top: 1px dashed #e2e8f0;
}

@media (max-width: 768px) {
    .section-block--trending {
        padding: 28px 0 24px;
    }
    .section-block--trending .top-cats-section {
        margin-top: 24px;
        padding-top: 16px;
    }
}

/* ================================================================
   V6.7 — Widgets (Currency / Fuel / Mobile / Loans)
   ================================================================ */

.home-widgets-grid.widgets-4col {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.home-widget.home-widget-v6 {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 18px 18px 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    position: relative;
    overflow: hidden;
}

.home-widget.home-widget-v6:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px -8px rgba(0,0,0,0.1);
}

.home-widget.home-widget-v6::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--wg-accent, #3b82f6);
    opacity: 0.9;
}

.home-widget.wg-currency { --wg-accent: #2563eb; }
.home-widget.wg-fuel     { --wg-accent: #ea580c; }
.home-widget.wg-mobile   { --wg-accent: #4f46e5; }
.home-widget.wg-loans    { --wg-accent: #fbbf24; }

.home-widget-v6 .widget-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.home-widget-v6 .widget-header h3 {
    font-size: 14px;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    color: var(--text, #0f172a);
    letter-spacing: -0.2px;
}

.section-icon-badge.sm {
    width: 28px; height: 28px;
    border-radius: 8px;
    font-size: 12px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.section-icon-badge.sm.bg-currency { background: linear-gradient(135deg, #2563eb, #60a5fa); }
.section-icon-badge.sm.bg-fuel     { background: linear-gradient(135deg, #ea580c, #fb923c); }
.section-icon-badge.sm.bg-mobile   { background: linear-gradient(135deg, #4f46e5, #818cf8); }
.section-icon-badge.sm.bg-loans    { background: linear-gradient(135deg, #f59e0b, #fbbf24); }

.home-widget-v6 .widget-more {
    color: var(--wg-accent, var(--primary, #2563eb));
    font-size: 11.5px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    opacity: 0.85;
    transition: opacity .15s;
}
.home-widget-v6 .widget-more:hover { opacity: 1; }

.home-widget-v6 .widget-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ── Currency widget rows ── */
.fx-block {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 10px;
    padding: 8px 11px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.fx-head {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    margin-bottom: 2px;
}
.fx-flag { font-size: 15px; line-height: 1; }
.fx-code { font-weight: 700; font-size: 13px; color: var(--text, #0f172a); }
.fx-nbg {
    margin-left: auto;
    font-size: 10.5px;
    color: #64748b;
    font-weight: 600;
    padding: 2px 7px;
    background: rgba(59,130,246,0.1);
    border-radius: 10px;
}

.fx-row {
    display: grid;
    grid-template-columns: 62px auto 1fr;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    min-height: 20px;
}

.fx-dir {
    font-weight: 700;
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}
.fx-dir i { font-size: 9px; }
.fx-dir.fx-buy  { color: #16a34a; }
.fx-dir.fx-sell { color: #dc2626; }

.fx-rate {
    font-weight: 800;
    font-family: var(--font-display, inherit);
    color: var(--text, #0f172a);
    font-size: 13px;
    letter-spacing: -0.3px;
}

.fx-bank {
    font-size: 11px;
    color: #64748b;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: right;
}

/* ── Fuel widget ── */
.fuel-block {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border-radius: 10px;
    padding: 8px 11px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.fuel-type-name {
    font-weight: 700;
    font-size: 13px;
    color: var(--text, #0f172a);
    margin-bottom: 4px;
    letter-spacing: -0.1px;
}

.fuel-row {
    display: grid;
    grid-template-columns: 52px auto 1fr;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    min-height: 20px;
}

.fuel-dir {
    font-weight: 700;
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}
.fuel-dir i { font-size: 9px; }
.fuel-dir.fuel-cheap { color: #16a34a; }
.fuel-dir.fuel-exp   { color: #dc2626; }

.fuel-price {
    font-weight: 800;
    font-family: var(--font-display, inherit);
    color: var(--text, #0f172a);
    font-size: 13px;
    letter-spacing: -0.3px;
}

.fuel-station {
    font-size: 11px;
    color: #64748b;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: right;
}

/* ── Mobile widget rows ── */
.mob-row, .loan-row {
    display: grid;
    grid-template-columns: 36px 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    background: #f8fafc;
    border-radius: 10px;
    text-decoration: none;
    color: var(--text, #0f172a);
    transition: background .2s ease, transform .2s ease;
}

.mob-row:hover, .loan-row:hover {
    background: #eff6ff;
    transform: translateX(2px);
}

.mob-logo, .loan-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: 6px;
    background: #fff;
    padding: 2px;
    border: 1px solid #eef2f7;
}

.mob-dot, .loan-dot {
    width: 32px; height: 32px;
    border-radius: 6px;
    background: #6366f1;
}

.mob-body, .loan-body {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.mob-name, .loan-type {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--text, #0f172a);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -0.1px;
    line-height: 1.2;
}

.mob-sub, .loan-bank {
    font-size: 10.5px;
    color: #64748b;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.mob-price, .loan-rate {
    font-weight: 800;
    font-size: 14px;
    font-family: var(--font-display, inherit);
    color: var(--wg-accent, #2563eb);
    white-space: nowrap;
    letter-spacing: -0.2px;
}

.widget-empty {
    padding: 16px 8px;
    text-align: center;
    font-size: 12px;
    color: #94a3b8;
}

/* ── Responsive ── */
@media (max-width: 1100px) {
    .home-widgets-grid.widgets-4col {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .home-widgets-grid.widgets-4col {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .home-widget.home-widget-v6 {
        padding: 14px 14px 12px;
        border-radius: 14px;
    }
    .home-widget-v6 .widget-header h3 { font-size: 13.5px; }
    .fx-row, .fuel-row {
        grid-template-columns: 54px auto 1fr;
    }
    .fx-bank, .fuel-station { font-size: 10.5px; }
    .mob-logo, .loan-logo, .mob-dot, .loan-dot { width: 28px; height: 28px; }
    .mob-price, .loan-rate { font-size: 13px; }
}

/* ── V6.8 — Hide deals arrows on mobile (swipe-native) ── */
@media (max-width: 768px) {
    .home-section.deals-section .deals-arrow,
    .home-section.deals-section .deals-arrow-left,
    .home-section.deals-section .deals-arrow-right {
        display: none !important;
    }
}

/* ================================================================
   V6.9 — Widgets v2: 4-card currency / all-types fuel / tabbed mobile
   ================================================================ */

/* ── Currency: 4 cards grid ── */
.home-widget-v6 .widget-content.fx-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.fx-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px 12px;
    background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
    border: 1px solid #e2e8f0;
    border-radius: 11px;
    text-decoration: none;
    color: var(--text, #0f172a);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
    position: relative;
    overflow: hidden;
}

.fx-card.fx-buy  { background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%); border-color: #bbf7d0; }
.fx-card.fx-sell { background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%); border-color: #fecaca; }

.fx-card:hover {
    transform: translateY(-2px);
    border-color: var(--primary, #2563eb);
    box-shadow: 0 6px 16px -6px rgba(37,99,235,0.25);
}
.fx-card.fx-buy:hover  { border-color: #16a34a; box-shadow: 0 6px 16px -6px rgba(16,163,74,0.3); }
.fx-card.fx-sell:hover { border-color: #dc2626; box-shadow: 0 6px 16px -6px rgba(220,38,38,0.3); }

.fx-card-head {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10.5px;
}
.fx-card-head .fx-flag { font-size: 15px; line-height: 1; }
.fx-card-head .fx-code {
    font-weight: 800;
    font-size: 12px;
    color: var(--text, #0f172a);
    letter-spacing: -0.2px;
}
.fx-card-head .fx-label {
    margin-left: auto;
    font-weight: 700;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    padding: 2px 7px;
    border-radius: 10px;
}
.fx-card.fx-buy  .fx-card-head .fx-label { background: rgba(22,163,74,0.15); color: #15803d; }
.fx-card.fx-sell .fx-card-head .fx-label { background: rgba(220,38,38,0.15); color: #b91c1c; }

.fx-card-body {
    display: flex;
    align-items: center;
    gap: 8px;
}

.fx-card-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: 7px;
    background: #fff;
    padding: 2px;
    border: 1px solid rgba(0,0,0,0.06);
    flex-shrink: 0;
}

.fx-card-dot {
    width: 32px; height: 32px;
    border-radius: 7px;
    background: #cbd5e1;
    flex-shrink: 0;
}

.fx-card-bank {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}
.fx-card-bank-name {
    font-size: 11.5px;
    color: #475569;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.fx-card-rate {
    font-size: 15px;
    font-weight: 800;
    color: var(--text, #0f172a);
    font-family: var(--font-display, inherit);
    letter-spacing: -0.3px;
}

/* ── Fuel: compact grid cards ── */
.home-widget-v6 .widget-content.fuel-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.fuel-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 9px 11px;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 1px solid #fde68a;
    border-radius: 10px;
    text-decoration: none;
    color: var(--text, #0f172a);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.fuel-card:hover {
    transform: translateY(-2px);
    border-color: #ea580c;
    box-shadow: 0 6px 16px -6px rgba(234,88,12,0.3);
}

.fuel-card-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 6px;
}
.fuel-card .fuel-type-name {
    font-weight: 700;
    font-size: 11.5px;
    color: var(--text, #0f172a);
    letter-spacing: -0.1px;
}
.fuel-card-price {
    font-weight: 800;
    font-size: 14px;
    color: #ea580c;
    font-family: var(--font-display, inherit);
    letter-spacing: -0.3px;
}

.fuel-card-body {
    display: flex;
    align-items: center;
    gap: 6px;
}

.fuel-card-logo {
    width: 20px; height: 20px;
    object-fit: contain;
    border-radius: 4px;
    background: #fff;
    padding: 1px;
    border: 1px solid rgba(0,0,0,0.06);
    flex-shrink: 0;
}
.fuel-card-dot {
    width: 20px; height: 20px;
    border-radius: 4px;
    background: #ea580c;
    flex-shrink: 0;
}
.fuel-card-station {
    font-size: 10.5px;
    color: #64748b;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Mobile widget tabs ── */
.mob-tabs {
    display: flex;
    gap: 4px;
    padding: 2px;
    background: #f1f5f9;
    border-radius: 10px;
    margin-bottom: 4px;
}

.mob-tab {
    flex: 1;
    padding: 6px 4px;
    background: transparent;
    border: none;
    border-radius: 7px;
    font-size: 10.5px;
    font-weight: 700;
    color: #64748b;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    transition: background .18s, color .18s;
    white-space: nowrap;
    font-family: inherit;
    letter-spacing: -0.1px;
}

.mob-tab i { font-size: 10px; }

.mob-tab:hover {
    color: var(--text, #0f172a);
    background: rgba(255,255,255,0.5);
}

.mob-tab.active {
    background: #fff;
    color: #4f46e5;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.mob-panel {
    display: none;
    flex-direction: column;
    gap: 6px;
}
.mob-panel.active {
    display: flex;
}

/* ── Responsive ── */
@media (max-width: 1100px) {
    .home-widgets-grid.widgets-4col { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .home-widgets-grid.widgets-4col { grid-template-columns: 1fr; }
    .home-widget-v6 .widget-content.fx-grid { grid-template-columns: 1fr; }
    .home-widget-v6 .widget-content.fuel-grid { grid-template-columns: 1fr; }
    .fx-card-rate { font-size: 14px; }
    .mob-tab { font-size: 10px; padding: 6px 2px; }
    .mob-tab i { display: inline-block; }
}

@media (max-width: 380px) {
    .mob-tab {
        font-size: 9.5px;
    }
    .mob-tab i { display: none; }
}

/* ================================================================
   V7.0 — Widgets consistency: match site's clean card style
   (White background, subtle border, small colored accents)
   ================================================================ */

/* ── Currency cards: neutral white with small colored pill, like site cards ── */
.fx-card,
.fx-card.fx-buy,
.fx-card.fx-sell {
    background: #fff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 11px 13px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    text-decoration: none !important;
    color: var(--text, #0f172a) !important;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease !important;
    position: relative !important;
    overflow: hidden !important;
}

.fx-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: #94a3b8;
    opacity: 0;
    transition: opacity .2s ease;
}
.fx-card.fx-buy::before  { background: #10b981; }
.fx-card.fx-sell::before { background: #ef4444; }

.fx-card:hover {
    transform: translateY(-2px) !important;
    border-color: #cbd5e1 !important;
    box-shadow: 0 8px 20px -8px rgba(0,0,0,0.12) !important;
}
.fx-card:hover::before { opacity: 1; }

.fx-card.fx-buy:hover  { border-color: rgba(16,185,129,0.35) !important; box-shadow: 0 8px 20px -8px rgba(16,185,129,0.25) !important; }
.fx-card.fx-sell:hover { border-color: rgba(239,68,68,0.35) !important;  box-shadow: 0 8px 20px -8px rgba(239,68,68,0.25) !important; }

.fx-card-head {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
}
.fx-card-head .fx-flag { font-size: 14px; line-height: 1; }
.fx-card-head .fx-code {
    font-weight: 800;
    font-size: 12px;
    color: var(--text, #0f172a);
    letter-spacing: -0.2px;
}
.fx-card-head .fx-label {
    margin-left: auto;
    font-weight: 700;
    font-size: 9.5px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    padding: 2px 7px;
    border-radius: 10px;
    background: #f1f5f9;
    color: #475569;
}
.fx-card.fx-buy  .fx-card-head .fx-label { background: rgba(16,185,129,0.12); color: #047857; }
.fx-card.fx-sell .fx-card-head .fx-label { background: rgba(239,68,68,0.12);  color: #b91c1c; }

.fx-card-body {
    display: flex;
    align-items: center;
    gap: 9px;
}

.fx-card-logo {
    width: 30px;
    height: 30px;
    object-fit: contain;
    border-radius: 7px;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    padding: 3px;
    border: 1px solid #eef2f7;
    flex-shrink: 0;
}

.fx-card-dot {
    width: 30px; height: 30px;
    border-radius: 7px;
    background: #cbd5e1;
    flex-shrink: 0;
}

.fx-card-bank {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}
.fx-card-bank-name {
    font-size: 11.5px;
    color: #64748b;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: var(--font-heading, inherit);
}
.fx-card-rate {
    font-size: 15px;
    font-weight: 800;
    color: var(--text, #0f172a);
    font-family: var(--font-display, inherit);
    letter-spacing: -0.3px;
}

/* ── Fuel cards: match the same neutral style ── */
.fuel-card {
    background: #fff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 11px 13px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    text-decoration: none !important;
    color: var(--text, #0f172a) !important;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease !important;
    position: relative !important;
    overflow: hidden !important;
}

.fuel-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: #ea580c;
    opacity: 0;
    transition: opacity .2s ease;
}

.fuel-card:hover {
    transform: translateY(-2px) !important;
    border-color: rgba(234,88,12,0.35) !important;
    box-shadow: 0 8px 20px -8px rgba(234,88,12,0.25) !important;
}
.fuel-card:hover::before { opacity: 1; }

.fuel-card-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 6px;
}
.fuel-card .fuel-type-name {
    font-weight: 700;
    font-size: 11.5px;
    color: #475569;
    letter-spacing: -0.1px;
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 0.4px;
    font-family: var(--font-heading, inherit);
}
.fuel-card-price {
    font-weight: 800;
    font-size: 15px;
    color: var(--text, #0f172a);
    font-family: var(--font-display, inherit);
    letter-spacing: -0.3px;
}

.fuel-card-body {
    display: flex;
    align-items: center;
    gap: 9px;
}

.fuel-card-logo {
    width: 30px; height: 30px;
    object-fit: contain;
    border-radius: 7px;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    padding: 3px;
    border: 1px solid #eef2f7;
    flex-shrink: 0;
}
.fuel-card-dot {
    width: 30px; height: 30px;
    border-radius: 7px;
    background: #ea580c;
    flex-shrink: 0;
}
.fuel-card-station {
    font-size: 11.5px;
    color: #64748b;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: var(--font-heading, inherit);
}

/* Mobile responsive already handled in earlier CSS */
@media (max-width: 640px) {
    .fx-card,
    .fuel-card {
        padding: 10px 12px !important;
    }
    .fx-card-rate,
    .fuel-card-price {
        font-size: 14px !important;
    }
    .fx-card-logo, .fx-card-dot,
    .fuel-card-logo, .fuel-card-dot {
        width: 26px !important;
        height: 26px !important;
    }
}

/* ================================================================
   V7.1 — Unified widget row pattern (fx + fuel + mobile + loans)
   All 4 widgets now use consistent row-list layout
   ================================================================ */

.wg-row {
    display: grid;
    grid-template-columns: 32px 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    background: #f8fafc;
    border-radius: 10px;
    text-decoration: none;
    color: var(--text, #0f172a);
    transition: background .2s ease, transform .2s ease;
}

.wg-row:hover {
    background: #eff6ff;
    transform: translateX(2px);
}

.wg-row .wg-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: 7px;
    background: #fff;
    padding: 3px;
    border: 1px solid #eef2f7;
    flex-shrink: 0;
}

.wg-row .wg-dot {
    width: 32px; height: 32px;
    border-radius: 7px;
    background: #cbd5e1;
    flex-shrink: 0;
}

.wg-row .wg-body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.wg-row .wg-name {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--text, #0f172a);
    letter-spacing: -0.1px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: var(--font-heading, inherit);
}

.wg-row .wg-sub {
    font-size: 10.5px;
    color: #64748b;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.wg-row .wg-price {
    font-weight: 800;
    font-size: 14px;
    font-family: var(--font-display, inherit);
    color: var(--wg-accent, #2563eb);
    white-space: nowrap;
    letter-spacing: -0.2px;
}

/* FX inline label pill: ყიდვა / გაყიდვა */
.wg-label {
    display: inline-block;
    padding: 1px 6px;
    border-radius: 8px;
    font-size: 9.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-left: 3px;
    vertical-align: middle;
}
.fx-buy-label  { background: rgba(16,185,129,0.14); color: #047857; }
.fx-sell-label { background: rgba(239,68,68,0.14);  color: #b91c1c; }

/* FX row: buy/sell left border accent */
.fx-row.fx-buy  { border-left: 3px solid transparent; }
.fx-row.fx-buy:hover  { background: #f0fdf4; border-left-color: #10b981; }
.fx-row.fx-sell { border-left: 3px solid transparent; }
.fx-row.fx-sell:hover { background: #fef2f2; border-left-color: #ef4444; }

/* Fuel row — subtle orange on hover */
.fuel-row:hover { background: #fff7ed; }

@media (max-width: 640px) {
    .wg-row { padding: 7px 9px; gap: 8px; }
    .wg-row .wg-logo, .wg-row .wg-dot { width: 28px; height: 28px; }
    .wg-row .wg-name { font-size: 12px; }
    .wg-row .wg-sub { font-size: 10px; }
    .wg-row .wg-price { font-size: 13px; }
}

/* ================================================================
   V7.2 — Bank page v2: richer hero + loan req pills + competitors
   ================================================================ */

/* ══ Hero v2 ═══════════════════════════════════════════════════ */
.bk-hero-v2 {
    position: relative;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 18px;
    padding: 24px 26px;
    margin-bottom: 18px;
    color: #fff;
    overflow: hidden;
    box-shadow: 0 10px 28px -10px rgba(0,0,0,0.25);
}

.bk-hero-v2::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 15% 30%, var(--bc, #2563eb) 0%, transparent 50%),
        radial-gradient(ellipse at 85% 70%, var(--bc, #2563eb) 0%, transparent 55%);
    opacity: 0.22;
    pointer-events: none;
}

.bk-hero-v2::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--bc, #2563eb), transparent);
    opacity: 0.8;
}

.bk-hero-v2 > * { position: relative; z-index: 1; }

.bk-hero-main {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.bk-hero-v2 .bk-hero-logo {
    width: 130px;
    height: 84px;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    box-shadow: 0 10px 24px -10px rgba(0,0,0,0.4);
}
.bk-hero-v2 .bk-hero-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.bk-hero-v2 .bk-hero-logo span {
    color: var(--bc, #2563eb);
    font-weight: 900;
    font-size: 26px;
    letter-spacing: -0.3px;
}

.bk-hero-v2 .bk-hero-info { flex: 1; min-width: 220px; }

.bk-hero-v2 .bk-hero-type {
    display: inline-block;
    font-size: 10.5px;
    font-weight: 700;
    color: #cbd5e1;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    background: rgba(255,255,255,0.1);
    padding: 3px 10px;
    border-radius: 999px;
    margin-bottom: 8px;
    backdrop-filter: blur(6px);
}

.bk-hero-v2 .bk-hero-name {
    font-size: 30px;
    font-weight: 800;
    margin: 0 0 8px;
    color: #fff;
    letter-spacing: -0.5px;
    line-height: 1.1;
    font-family: var(--font-heading, inherit);
    text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.bk-hero-v2 .bk-hero-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    font-size: 13px;
}

.bk-hero-v2 .bk-hero-alt {
    color: rgba(255,255,255,0.6);
    font-style: italic;
}

.bk-hero-v2 .bk-hero-website {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    background: rgba(255,255,255,0.12);
    padding: 5px 12px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    transition: background .2s;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.15);
}
.bk-hero-v2 .bk-hero-website:hover { background: rgba(255,255,255,0.22); }
.bk-hero-v2 .bk-hero-website i { font-size: 10px; opacity: 0.8; }

.bk-hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.bk-hero-stat {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 10px;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    transition: background .2s, transform .2s;
}
.bk-hero-stat:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}
.bk-hero-stat > i {
    font-size: 13px;
    color: var(--bc, #60a5fa);
    opacity: 0.9;
    margin-bottom: 2px;
}
.bk-hero-stat .n {
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.3px;
    font-family: var(--font-display, inherit);
    line-height: 1.15;
}
.bk-hero-stat .l {
    font-size: 10.5px;
    color: rgba(255,255,255,0.65);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

@media (max-width: 640px) {
    .bk-hero-v2 { padding: 18px 18px; border-radius: 14px; }
    .bk-hero-v2 .bk-hero-logo { width: 90px; height: 64px; padding: 8px; border-radius: 11px; }
    .bk-hero-v2 .bk-hero-name { font-size: 22px; }
    .bk-hero-stats { grid-template-columns: repeat(2, 1fr); margin-top: 14px; padding-top: 14px; }
    .bk-hero-stat .n { font-size: 14px; }
}

/* ══ Loan card — requirement pills ═════════════════════════════ */

.bk-loan-card {
    align-items: flex-start !important;
    padding: 16px 18px !important;
}

.bk-loan-card-header { min-width: 0; }

.bk-loan-reqs {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 8px;
}

.bk-req {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10.5px;
    font-weight: 600;
    color: #475569;
    background: #f1f5f9;
    padding: 3px 8px;
    border-radius: 999px;
    white-space: nowrap;
    line-height: 1.3;
}
.bk-req i { font-size: 9px; opacity: 0.7; }

.bk-req--ok {
    background: rgba(16,185,129,0.1);
    color: #047857;
}
.bk-req--ok i { color: #10b981; opacity: 1; }

.bk-req--warn {
    background: rgba(245,158,11,0.12);
    color: #b45309;
}
.bk-req--warn i { color: #f59e0b; opacity: 1; }

.bk-loan-card-rate .r-dash { opacity: 0.6; margin: 0 2px; }
.bk-loan-card-rate-col, .bk-loan-card-num { text-align: right; }

@media (max-width: 900px) {
    .bk-loan-card-rate-col, .bk-loan-card-num { text-align: left; }
}

/* ══ Competitors section ═══════════════════════════════════════ */

.bk-compare-grp { margin-bottom: 22px; }

.bk-compare-grp-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    font-family: var(--font-heading, inherit);
    letter-spacing: -0.1px;
}
.bk-compare-grp-head i {
    width: 26px;
    height: 26px;
    border-radius: 7px;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    flex-shrink: 0;
}

.bk-compare-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 10px;
}

.bk-compare-card {
    display: grid;
    grid-template-columns: 36px 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 11px;
    text-decoration: none;
    color: #0f172a;
    transition: transform .2s, border-color .2s, box-shadow .2s;
}
.bk-compare-card:hover {
    transform: translateY(-2px);
    border-color: #cbd5e1;
    box-shadow: 0 6px 18px -6px rgba(0,0,0,0.1);
}

.bk-compare-logo {
    width: 36px;
    height: 36px;
    object-fit: contain;
    border-radius: 8px;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    padding: 4px;
    border: 1px solid #eef2f7;
}
.bk-compare-dot {
    width: 36px; height: 36px;
    border-radius: 8px;
}

.bk-compare-info { min-width: 0; }
.bk-compare-bank {
    font-weight: 700;
    font-size: 13px;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: var(--font-heading, inherit);
    letter-spacing: -0.1px;
}
.bk-compare-loan {
    font-size: 11px;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 1px;
}

.bk-compare-rate {
    font-weight: 800;
    font-size: 15px;
    color: #0f172a;
    font-variant-numeric: tabular-nums;
    font-family: var(--font-display, inherit);
    letter-spacing: -0.3px;
    white-space: nowrap;
}

.bk-compare-more {
    display: inline-block;
    padding: 8px 18px;
    background: #f1f5f9;
    color: #334155;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    transition: background .15s, color .15s;
}
.bk-compare-more:hover {
    background: #0f172a;
    color: #fff;
}

/* ================================================================
   V7.3 — Product page redesign
   ================================================================ */

.pd-wrap {
    padding: 16px 0 40px;
}

.pd-breadcrumb-v2 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: #94a3b8;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.pd-breadcrumb-v2 a {
    color: #475569;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
    transition: color .15s;
}
.pd-breadcrumb-v2 a:hover { color: #2563eb; }
.pd-breadcrumb-v2 a i { font-size: 10px; opacity: 0.7; }
.pd-breadcrumb-v2 .pd-bc-sep { color: #cbd5e1; font-size: 14px; }

.pd-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}

/* ═══ Gallery ═══ */
.pd-gallery {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: sticky;
    top: 8px;
}

.pd-image-wrap {
    position: relative;
    background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 50%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    overflow: hidden;
    transition: border-color .2s;
}
.pd-image-wrap:hover {
    border-color: #cbd5e1;
    box-shadow: 0 12px 32px -12px rgba(0,0,0,0.12);
}

.pd-image-main {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform .3s ease;
}
.pd-image-wrap:hover .pd-image-main {
    transform: scale(1.04);
}

.pd-disc-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    padding: 6px 12px;
    border-radius: 999px;
    z-index: 2;
    letter-spacing: -0.3px;
    box-shadow: 0 6px 16px -4px rgba(239,68,68,0.5);
    font-family: var(--font-display, inherit);
}

.pd-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.pd-meta-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    font-weight: 600;
    color: #475569;
    background: #fff;
    border: 1px solid #e2e8f0;
    padding: 5px 10px;
    border-radius: 999px;
}
.pd-meta-chip i { font-size: 10px; opacity: 0.65; color: #64748b; }

/* ═══ Panel (right) ═══ */
.pd-panel {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Store header card */
.pd-store-v2 {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    text-decoration: none;
    color: #0f172a;
    transition: transform .2s, border-color .2s, box-shadow .2s;
}
.pd-store-v2:hover {
    transform: translateY(-2px);
    border-color: var(--brand, #2563eb);
    box-shadow: 0 6px 18px -6px rgba(0,0,0,0.12);
}

.pd-store-logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 10px;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    padding: 5px;
    border: 1px solid #eef2f7;
    flex-shrink: 0;
}

.pd-store-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.pd-store-label {
    font-size: 10px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    font-weight: 700;
}
.pd-store-name {
    font-size: 15px;
    font-weight: 800;
    color: var(--brand, #0f172a);
    letter-spacing: -0.2px;
    font-family: var(--font-heading, inherit);
}

/* Name */
.pd-wrap .pd-name {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
    margin: 0;
    letter-spacing: -0.4px;
    font-family: var(--font-heading, inherit);
    word-break: break-word;
}

/* Rating v2 */
.pd-rating-v2 {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: #f8fafc;
    border-radius: 10px;
    font-size: 13px;
    flex-wrap: wrap;
}
.pd-rating-display {
    display: inline-flex;
    gap: 2px;
    font-size: 15px;
}
.pd-rating-avg {
    font-weight: 800;
    font-size: 15px;
    color: #0f172a;
    font-variant-numeric: tabular-nums;
}
.pd-rating-count {
    font-size: 12px;
    color: #94a3b8;
}
.pd-rate-btn {
    margin-left: auto;
    background: #fff;
    border: 1px solid #e2e8f0;
    color: #475569;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all .15s;
    font-family: inherit;
}
.pd-rate-btn:hover { background: #2563eb; color: #fff; border-color: #2563eb; }

.pd-rating-input {
    padding: 12px 14px;
    background: #fff;
    border: 1px dashed #cbd5e1;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.pd-rating-label {
    font-size: 12px;
    color: #475569;
    font-weight: 600;
}
.pd-rating-input .rating-stars {
    display: flex;
    gap: 2px;
}
.pd-rating-input .star-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 2px;
    color: #cbd5e1;
    font-size: 18px;
    transition: transform .15s, color .15s;
}
.pd-rating-input .star-btn:hover { transform: scale(1.1); color: #f59e0b; }
.pd-rating-input .star-btn.active { color: #f59e0b; }
.pd-rating-input .rating-msg { font-size: 12px; color: #16a34a; font-weight: 600; }

/* Price hero card */
.pd-price-card {
    background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
    overflow: hidden;
}
.pd-price-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #ef4444, #dc2626);
}

.pd-price-main {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.pd-sale {
    font-size: 36px;
    font-weight: 800;
    color: #dc2626;
    letter-spacing: -0.8px;
    line-height: 1;
    font-family: var(--font-display, inherit);
}
.pd-sale small {
    font-size: 20px;
    font-weight: 700;
    margin-left: 3px;
}

.pd-price-old-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
}
.pd-original {
    font-size: 15px;
    color: #94a3b8;
    text-decoration: line-through;
    font-weight: 600;
}
.pd-save {
    font-size: 11.5px;
    color: #047857;
    background: rgba(16,185,129,0.12);
    padding: 3px 10px;
    border-radius: 999px;
    font-weight: 700;
    white-space: nowrap;
}

.pd-buy-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 18px;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    border-radius: 11px;
    transition: transform .15s, box-shadow .15s, filter .15s;
    box-shadow: 0 6px 16px -4px rgba(220,38,38,0.4);
    letter-spacing: -0.2px;
}
.pd-buy-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
    box-shadow: 0 9px 22px -4px rgba(220,38,38,0.5);
}
.pd-buy-btn i:first-child { font-size: 15px; }

/* Other cities */
.pd-other-v2 {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px 16px;
}
.pd-other-head {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12.5px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
    letter-spacing: -0.1px;
}
.pd-other-head i { color: #64748b; font-size: 11px; }
.pd-other-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.pd-other-row {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 10px;
    padding: 7px 10px;
    border-radius: 8px;
    text-decoration: none;
    color: #0f172a;
    transition: background .15s;
    font-size: 13px;
}
.pd-other-row:hover { background: #f1f5f9; }
.pd-other-city {
    color: #475569;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.pd-other-city i { font-size: 10px; color: #94a3b8; }
.pd-other-price {
    font-weight: 800;
    color: #0f172a;
    font-variant-numeric: tabular-nums;
}
.pd-other-disc {
    font-size: 10.5px;
    background: rgba(239,68,68,0.12);
    color: #b91c1c;
    padding: 2px 7px;
    border-radius: 999px;
    font-weight: 700;
}

/* Similar products — reuse card styling with improvements */
.similar-section {
    margin-top: 36px;
}
.similar-section h2 {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 16px;
    letter-spacing: -0.3px;
    font-family: var(--font-heading, inherit);
}

/* Responsive */
@media (max-width: 900px) {
    .pd-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .pd-gallery { position: static; }
    .pd-image-wrap { padding: 28px; border-radius: 16px; }
    .pd-wrap .pd-name { font-size: 20px; }
    .pd-sale { font-size: 30px; }
    .pd-sale small { font-size: 17px; }
    .pd-original { font-size: 14px; }
}

@media (max-width: 480px) {
    .pd-image-wrap { padding: 22px; }
    .pd-wrap .pd-name { font-size: 18px; }
    .pd-sale { font-size: 28px; }
    .pd-price-card { padding: 14px 16px; }
    .pd-rating-v2 { padding: 8px 12px; }
    .pd-buy-btn { padding: 11px 14px; font-size: 13px; }
}

/* ================================================================
   V7.4 — Buy button with Wolt branding + polished design
   ================================================================ */

.pd-buy-btn {
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    align-items: center !important;
    padding: 14px 18px !important;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 13px !important;
    transition: transform .2s, box-shadow .2s, filter .2s !important;
    box-shadow: 0 8px 22px -6px rgba(15,23,42,0.4) !important;
    position: relative;
    overflow: hidden;
    gap: 12px !important;
}

.pd-buy-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 30%, rgba(255,255,255,0.06) 70%);
    pointer-events: none;
}

.pd-buy-btn:hover {
    transform: translateY(-2px) !important;
    filter: brightness(1.08) !important;
    box-shadow: 0 12px 28px -6px rgba(15,23,42,0.5) !important;
}

/* Wolt variant — Wolt's teal/cyan gradient */
.pd-buy-btn--wolt {
    background: linear-gradient(135deg, #00C2E8 0%, #009DC8 60%, #0080B0 100%) !important;
    box-shadow: 0 8px 24px -6px rgba(0,194,232,0.45) !important;
}
.pd-buy-btn--wolt:hover {
    box-shadow: 0 14px 32px -6px rgba(0,194,232,0.55) !important;
}

.pd-buy-content {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.pd-buy-ic {
    font-size: 18px;
    opacity: 0.95;
    flex-shrink: 0;
}

.pd-buy-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    align-items: flex-start;
}

.pd-buy-main {
    font-size: 14.5px;
    font-weight: 800;
    letter-spacing: -0.2px;
    line-height: 1.2;
    font-family: var(--font-heading, inherit);
}

.pd-buy-sub {
    font-size: 11px;
    font-weight: 500;
    opacity: 0.85;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    line-height: 1.2;
}

.pd-buy-wolt {
    height: 18px;
    width: auto;
    display: inline-block;
    vertical-align: middle;
    border-radius: 4px;
    background: rgba(255,255,255,0.15);
    padding: 1px 2px;
}

.pd-buy-btn--wolt .pd-buy-wolt {
    background: rgba(255,255,255,0.22);
}

.pd-buy-arrow {
    font-size: 15px;
    opacity: 0.9;
    position: relative;
    z-index: 1;
    transition: transform .25s;
    flex-shrink: 0;
}

.pd-buy-btn:hover .pd-buy-arrow {
    transform: translateX(4px);
}

/* Mobile */
@media (max-width: 480px) {
    .pd-buy-btn { padding: 12px 14px !important; border-radius: 11px !important; }
    .pd-buy-main { font-size: 13px; }
    .pd-buy-sub { font-size: 10.5px; }
    .pd-buy-ic { font-size: 16px; }
    .pd-buy-wolt { height: 16px; }
}

/* ================================================================
   V7.5 — Unavailable product state
   ================================================================ */

.pd-image-wrap--unavail .pd-image-main {
    filter: grayscale(0.6) opacity(0.6);
}

.pd-disc-badge--unavail {
    background: linear-gradient(135deg, #64748b, #475569) !important;
    box-shadow: 0 6px 16px -4px rgba(100,116,139,0.5) !important;
    font-size: 12px !important;
}

.pd-unavail {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
    border: 1.5px solid #fca5a5;
    border-radius: 12px;
    color: #7f1d1d;
}

.pd-unavail-ic {
    font-size: 22px;
    color: #dc2626;
    flex-shrink: 0;
}

.pd-unavail-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.pd-unavail-main {
    font-size: 14px;
    font-weight: 800;
    color: #991b1b;
    letter-spacing: -0.2px;
    font-family: var(--font-heading, inherit);
}

.pd-unavail-sub {
    font-size: 11.5px;
    color: #b45309;
    font-weight: 500;
}

/* === Cross-chain pharmacy price comparison cards (homepage) === */
.compare-card {
    flex: 0 0 260px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px;
    text-decoration: none;
    color: inherit;
    position: relative;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
    display: flex;
    flex-direction: column;
    gap: 10px;
    scroll-snap-align: start;
}
.compare-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,.10);
    border-color: #10b981;
}
.compare-save-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    font-weight: 700;
    font-size: 12px;
    padding: 3px 9px;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(16,185,129,.35);
    z-index: 2;
}
.compare-card .deal-img {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9fafb;
    border-radius: 8px;
}
.compare-card .deal-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.compare-card .deal-name {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    min-height: 36px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #111;
}
.compare-price-ladder {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 8px;
    border-top: 1px solid var(--border);
}
.compare-price-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    padding: 3px 0;
}
.compare-price-row .compare-store-logo {
    width: 18px;
    height: 18px;
    object-fit: contain;
    border-radius: 3px;
    flex-shrink: 0;
}
.compare-price-row .compare-store-name {
    flex: 1;
    color: #6b7280;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.compare-price-row .compare-price {
    font-weight: 700;
    color: #111;
    flex-shrink: 0;
}
.compare-price-row.is-cheapest .compare-price {
    color: #059669;
}
.compare-price-row.is-cheapest .compare-store-name {
    color: #111;
    font-weight: 600;
}
.compare-more {
    font-size: 11px;
    color: #9ca3af;
    text-align: right;
    padding-top: 2px;
}

/* compare-card head (image + name) becomes inner link */
.compare-head {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-decoration: none;
    color: inherit;
}
.compare-head:hover .deal-name { color: #059669; }

/* price rows are now anchors */
a.compare-price-row {
    text-decoration: none;
    color: inherit;
    border-radius: 6px;
    padding: 4px 6px;
    margin: 0 -6px;
    transition: background .12s ease;
}
a.compare-price-row:hover { background: rgba(16,185,129,.08); }
a.compare-price-row:hover .compare-store-name { color: #059669; }

/* === Cross-pharmacy block on product detail page === */
.pd-pharmacy-compare {
    margin: 24px 0;
    padding: 18px 20px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 14px;
}
.pd-pharmacy-compare-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}
.pd-pharmacy-compare-head i {
    color: #059669;
    font-size: 18px;
}
.pd-pharmacy-compare-head h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #064e3b;
}
.pd-pharmacy-compare-head .pd-savings {
    margin-left: auto;
    background: #10b981;
    color: #fff;
    font-weight: 700;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 6px;
}
.pd-pharmacy-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.pd-pharmacy-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid #d1fae5;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.pd-pharmacy-row:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 10px rgba(0,0,0,.06);
    border-color: #10b981;
}
.pd-pharmacy-row.is-current {
    background: #fef3c7;
    border-color: #fbbf24;
}
.pd-pharmacy-row.is-cheapest {
    background: #dcfce7;
    border-color: #10b981;
    border-width: 2px;
}
.pd-pharmacy-row .pd-pharm-logo {
    width: 36px;
    height: 36px;
    object-fit: contain;
    border-radius: 6px;
    flex-shrink: 0;
}
.pd-pharmacy-row .pd-pharm-name {
    flex: 1;
    font-weight: 600;
    color: #111;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.pd-pharmacy-row .pd-pharm-tag {
    font-size: 11px;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 4px;
    flex-shrink: 0;
}
.pd-pharmacy-row.is-current .pd-pharm-tag { background: #fbbf24; color: #78350f; }
.pd-pharmacy-row.is-cheapest .pd-pharm-tag { background: #10b981; color: #fff; }
.pd-pharmacy-row .pd-pharm-price {
    font-weight: 800;
    font-size: 16px;
    color: #111;
    flex-shrink: 0;
}
.pd-pharmacy-row.is-cheapest .pd-pharm-price { color: #059669; }
.pd-pharmacy-row .pd-pharm-arrow {
    color: #9ca3af;
    font-size: 12px;
    flex-shrink: 0;
}
@media (max-width: 640px) {
    .pd-pharmacy-row .pd-pharm-price { font-size: 14px; }
    .pd-pharmacy-row { gap: 8px; padding: 8px 10px; }
}

/* -- Competitor store logos on product cards ------------------------ */
.card-competitors {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 6px;
    flex-wrap: wrap;
}
.competitor-logo {
    width: 22px;
    height: 22px;
    object-fit: contain;
    border-radius: 4px;
    border: 1px solid rgba(0,0,0,.08);
    background: #fff;
    padding: 1px;
    opacity: .85;
    transition: opacity .15s;
}
.competitor-logo:hover { opacity: 1; }
.competitor-name-chip {
    font-size: 10px;
    color: #64748b;
    background: #f1f5f9;
    border-radius: 4px;
    padding: 1px 5px;
    white-space: nowrap;
}

/* ── Grocery deal card: multi-store compare format ──────────────────────── */
.home-section.deals-section .deal-card.deal-multi {
    flex: 0 0 230px;
    text-decoration: none;
    color: var(--text, #0f172a);
}
.home-section.deals-section .deal-card.deal-multi .deal-compare-head {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}
.home-section.deals-section .deal-card.deal-multi .deal-name {
    padding: 8px 12px 4px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    min-height: 32px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #0f172a;
}
.home-section.deals-section .deal-card.deal-multi .compare-price-ladder {
    padding: 4px 12px 12px;
}
.home-section.deals-section .deal-card.deal-multi .deal-compare-head:hover .deal-name {
    color: #059669;
}
@media (max-width: 600px) {
    .home-section.deals-section .deal-card.deal-multi { flex: 0 0 175px; }
    .home-section.deals-section .deal-card.deal-multi .deal-name { font-size: 11px; }
    .home-section.deals-section .deal-card.deal-multi .compare-price-row { font-size: 11px; }
}
@media (max-width: 420px) {
    .home-section.deals-section .deal-card.deal-multi { flex: 0 0 158px; }
}

/* ── Products grid: compare-card style for grocery multi-store cards ─────── */
.product-card.product-compare-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.product-card.product-compare-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,.10);
    border-color: #10b981;
}
.product-card.product-compare-card .deal-compare-head {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}
.product-card.product-compare-card .card-img-wrap {
    height: 140px;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-card.product-compare-card .card-img-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    padding: 8px;
    transition: transform .3s ease;
}
.card-compare-name {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    padding: 10px 12px 4px;
    min-height: 38px;
    color: #111;
}
.product-card.product-compare-card .deal-compare-head:hover .card-compare-name { color: #059669; }

/* ── COMPARE CARD: static store price list ───────────────────────────────── */
.cpc-body {
    padding: 6px 12px 8px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.cpc-body .card-compare-name { padding: 3px 0 6px; }
.cpc-store-list {
    display: flex;
    flex-direction: column;
    gap: 1px;
}
.cpc-store-list .compare-price-row {
    padding: 4px 6px;
    border-radius: 6px;
    font-size: 12px;
}
.cpc-store-list .compare-price-row .compare-store-logo { width: 16px; height: 16px; }
.cpc-store-list .compare-more {
    font-size: 11px;
    color: #94a3b8;
    padding: 2px 6px;
    text-align: center;
}

/* ── SKELETON LOADING ─────────────────────────────────────────────────────── */
@keyframes skeleton-shimmer {
    0% { background-position: -400px 0; }
    100% { background-position: 400px 0; }
}
.skeleton-card {
    pointer-events: none;
    border: 1px solid #e9ecef !important;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}
.skeleton-img {
    width: 100%;
    padding-top: 74%;
    background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 37%, #f0f0f0 63%);
    background-size: 400px 100%;
    animation: skeleton-shimmer 1.4s ease infinite;
}
.skeleton-body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.skeleton-line {
    height: 12px;
    border-radius: 6px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 37%, #f0f0f0 63%);
    background-size: 400px 100%;
    animation: skeleton-shimmer 1.4s ease infinite;
}
.skeleton-line.short { width: 60%; }
.skeleton-price-line {
    height: 18px;
    width: 40%;
    border-radius: 6px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 37%, #f0f0f0 63%);
    background-size: 400px 100%;
    animation: skeleton-shimmer 1.4s ease infinite;
    margin-top: 4px;
}

/* ── STORE BADGE FIX ──────────────────────────────────────────────────────── */
.store-badge {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 4px !important;
    max-width: 44px;
    padding: 3px 5px !important;
}
.store-badge-logo {
    flex-shrink: 0;
    display: block !important;
    width: 20px !important;
    height: 20px !important;
}
.store-badge-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
    max-width: 38px;
}

/* COMPARE CARD HOVER FIX — moved to cpc-overlay block */

/* ── CITY CARDS REDESIGN ──────────────────────────────────────────────────── */
.city-cards-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
    gap: 16px !important;
}
.city-card {
    border-radius: 16px !important;
    border: none !important;
    box-shadow: 0 2px 8px rgba(0,0,0,.07);
    transition: transform .2s ease, box-shadow .2s ease !important;
    background: #fff !important;
    overflow: hidden;
}
.city-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 10px 28px rgba(0,0,0,.13) !important;
}
.city-card-photo {
    height: 110px !important;
    background-color: var(--city-bg, #2563eb) !important;
    background-size: cover !important;
    background-position: center !important;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 0;
}
.city-card-photo::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(0,0,0,.0) 0%, rgba(0,0,0,.55) 100%);
    z-index: 1;
}
.city-card-name {
    position: relative;
    z-index: 2;
    padding: 10px 14px;
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #fff !important;
    text-shadow: 0 1px 6px rgba(0,0,0,.4);
    letter-spacing: -0.3px;
}
.city-card-name i {
    color: #fca5a5 !important;
    font-size: 13px !important;
    margin-right: 4px;
}
.city-card-body {
    padding: 12px 14px 14px !important;
}
.city-card-stats {
    font-size: 12px !important;
    margin-bottom: 10px !important;
}
.city-card-stats .count-num {
    font-size: 16px !important;
    font-weight: 800 !important;
}
.city-card-stores {
    gap: 0 !important;
}
.store-logo-mini {
    width: 26px !important;
    height: 26px !important;
    border-radius: 50% !important;
    border: 2px solid #fff !important;
    background: #fff !important;
    padding: 2px !important;
    margin-left: -6px !important;
    box-shadow: 0 1px 4px rgba(0,0,0,.12);
}
.store-logo-mini:first-child { margin-left: 0 !important; }
.store-count-extra {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #64748b;
    font-size: 10px;
    font-weight: 700;
    border: 2px solid #fff;
    margin-left: -6px;
    flex-shrink: 0;
}
@media (max-width: 600px) {
    .city-cards-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 12px !important; }
    .city-card-photo { height: 90px !important; }
    .city-card-name { font-size: 15px !important; }
}

/* ── CARD PROGRESSIVE ENTER ──────────────────────────────────────────────────── */
@keyframes cardEnter {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}
.card-entering {
    animation: cardEnter .28s ease forwards;
}

/* ── INFINITE SCROLL ──────────────────────────────────────────────────────── */
.load-sentinel { height: 1px; }
.load-end {
    text-align: center;
    color: #94a3b8;
    font-size: 13px;
    padding: 20px 0 8px;
    margin: 0;
}
.load-spinner {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 20px 0;
}
.load-spinner span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2563eb;
    animation: _spin-bounce 0.8s ease-in-out infinite;
}
.load-spinner span:nth-child(2) { animation-delay: 0.16s; }
.load-spinner span:nth-child(3) { animation-delay: 0.32s; }
@keyframes _spin-bounce {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
    40%            { transform: scale(1);   opacity: 1; }
}
