/* ====== GLOBAL ====== */

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

body {
    margin: 0;
    background: #020617;
    color: #e5e7eb;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
}

a {
    color: inherit;
}

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

.site-main {
    padding-bottom: 40px;
}

/* ====== HEADER ====== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(8, 8, 12, 0.9);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

body {
    padding-top: 70px;
    /* Space for the fixed header */
}

@media (max-width: 768px) {
    body {
        padding-top: 60px;
    }
}

.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 12px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
}

.logo-mark {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: 1px solid rgba(250, 204, 21, 0.9);
    box-shadow:
        0 0 18px rgba(250, 204, 21, 0.6),
        0 0 40px rgba(30, 64, 175, 0.7);
}

.logo-title {
    font-size: 18px;
    font-weight: 600;
}

.logo-subtitle {
    font-size: 11px;
    opacity: 0.75;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 18px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav a {
    font-size: 14px;
    color: rgba(248, 250, 252, 0.85);
    text-decoration: none;
    padding: 4px 0;
}

.main-nav a:hover {
    color: #fff;
}

.main-nav a.is-active {
    color: #fff;
    font-weight: 600;
}

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

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
}

.lang-switcher a {
    text-decoration: none;
    color: rgba(248, 250, 252, 0.6);
}

.lang-switcher a.active {
    color: #fff;
    font-weight: 600;
}

.header-icon-btn {
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 13px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    background: rgba(15, 23, 42, 0.9);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    border: none;
    background: none;
    padding: 4px;
}

.mobile-menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
}

/* Lazy Load Fade-in */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

img.loaded {
    opacity: 1;
}

/* Intersection Observer fallback if JS doesn't add 'loaded' class */
@supports (content-visibility: auto) {
    img[loading="lazy"] {
        opacity: 1;
    }
}

/* ====== HERO (PREMIUM RELAUNCH) ====== */
.hero {
    position: relative;
    padding: 80px 0 100px;
    background: #020617;
    overflow: hidden;
    color: #fff;
}

/* Spotlight Effect */
.hero::before {
    content: "";
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 140%;
    height: 140%;
    background: radial-gradient(circle, rgba(250, 204, 21, 0.12) 0%, rgba(2, 6, 23, 0) 60%);
    opacity: 0.8;
    pointer-events: none;
    animation: pulseGlow 10s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
    0% {
        opacity: 0.5;
        transform: translateX(-50%) scale(0.9);
    }

    100% {
        opacity: 0.8;
        transform: translateX(-50%) scale(1.1);
    }
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
    background: transparent;
    box-shadow: none;
    border: none;
    padding: 0 16px;
}

.hero-content h1 {
    font-size: 56px;
    line-height: 1.05;
    font-weight: 800;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #ffffff 40%, #facc15 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    letter-spacing: -0.02em;
}

.hero-content p {
    font-size: 18px;
    line-height: 1.6;
    color: #cbd5e1;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 48px;
}

.btn-xl {
    padding: 16px 36px;
    font-size: 16px;
    border-radius: 99px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary.glow {
    background: linear-gradient(90deg, #eab308, #facc15, #eab308);
    background-size: 200% auto;
    color: #020617;
    box-shadow: 0 0 30px rgba(234, 179, 8, 0.3);
    animation: shine 4s linear infinite;
    border: none;
}

.btn-primary.glow:hover {
    box-shadow: 0 0 50px rgba(234, 179, 8, 0.5);
    transform: translateY(-2px);
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

.hero-trust-row {
    display: flex;
    gap: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #94a3b8;
    font-weight: 500;
}

.trust-icon {
    width: 22px;
    height: 22px;
    color: #facc15;
}

/* Removed floatBottle animation */

.hero-blob {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(234, 179, 8, 0.3) 0%, rgba(0, 0, 0, 0) 70%);
    filter: blur(60px);
    z-index: 1;
}

/* ====== NEW: PREMIUM SERVICE STRIP ====== */
.service-strip {
    margin-top: -60px;
    /* Overlap hero */
    position: relative;
    z-index: 10;
    margin-bottom: 80px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-radius: 20px;
    padding: 24px 28px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(250, 204, 21, 0.4);
}

.service-icon {
    font-size: 32px;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(250, 204, 21, 0.1), rgba(250, 204, 21, 0.05));
    border: 1px solid rgba(250, 204, 21, 0.2);
    color: #facc15;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-text h3 {
    margin: 0 0 4px;
    font-size: 17px;
    color: #fff;
    font-weight: 600;
}

.service-text p {
    margin: 0;
    font-size: 13px;
    color: #94a3b8;
}

/* ====== CATEGORIES (THE SHELF) ====== */
.home-section {
    padding: 40px 0 60px;
}

.section-header {
    margin-bottom: 40px;
    align-items: flex-end;
}

.section-header h2 {
    font-size: 36px;
    margin: 0;
    background: linear-gradient(90deg, #fff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.category-poster {
    position: relative;
    height: 240px;
    /* Reduced from 380px */
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: #000;
}

.category-poster-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
    opacity: 0.8;
}

.category-poster-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #020617 0%, rgba(2, 6, 23, 0.5) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    z-index: 2;
}

.category-poster h3 {
    margin: 0 0 8px;
    font-size: 26px;
    color: #fff;
    font-weight: 700;
    transform: translateY(0);
    transition: transform 0.4s;
}

.category-poster p {
    margin: 0;
    font-size: 15px;
    color: #cbd5e1;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease 0.05s;
}

.category-poster:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    border-color: rgba(250, 204, 21, 0.5);
}

.category-poster:hover .category-poster-img {
    transform: scale(1.15);
    opacity: 0.5;
}

.category-poster:hover h3 {
    transform: translateY(-4px);
}

.category-poster:hover p {
    opacity: 1;
    transform: translateY(0);
}



/* ====== ADAPTIVE ====== */
@media (max-width: 960px) {
    .hero {
        padding: 40px 0 60px;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
        gap: 30px;
    }

    .hero-content h1 {
        font-size: 38px;
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-trust-row {
        justify-content: center;
    }

    .hero-image {
        height: 320px;
        margin-top: 0;
    }

    .hero-bottle-img {
        max-height: 300px;
    }

    .hero-blob {
        width: 250px;
        height: 250px;
    }

    .service-strip {
        margin-top: 20px;
        margin-bottom: 40px;
    }

    .service-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .service-card {
        padding: 16px;
        border-radius: 16px;
    }

    .service-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .service-text h3 {
        font-size: 15px;
    }

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

    .category-poster {
        height: 260px;
    }
}

@media (max-width: 768px) {
    .site-header-inner {
        padding: 10px 0;
    }

    .main-nav {
        position: fixed;
        top: 60px;
        /* Reduced to match mobile header */
        /* Dynamic header height approx */
        left: 0;
        right: 0;
        background: rgba(3, 7, 18, 0.98);
        padding: 20px 24px 30px;
        transform: translateY(-150%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 1000;
    }

    .main-nav.is-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .home-panel {
        padding: 14px 12px 16px;
        border-radius: 18px;
    }

    .footer-inner {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }
}

@media (max-width: 480px) {
    .footer-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .category-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
}

/* ====== PAGE HEADER ====== */

.page-header {
    padding: 18px 0 6px;
}

.page-header-inner {
    border-radius: 24px;
    padding: 16px 18px 14px;
    background: radial-gradient(circle at top left, rgba(30, 64, 175, 0.6), #020617 70%);
    border: 1px solid rgba(148, 163, 184, 0.5);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.page-header-inner h1 {
    margin: 0 0 6px;
    font-size: 22px;
}

.page-header-inner p {
    margin: 0;
    font-size: 13px;
    opacity: 0.8;
}

.page-header-meta {
    font-size: 12px;
    opacity: 0.75;
}

/* ====== CATALOG LAYOUT ====== */

.catalog-section {
    padding: 10px 0 24px;
}

.catalog-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 18px;
}

/* Sidebar */

.catalog-sidebar {
    border-radius: 22px;
    padding: 16px 16px 14px;
    background: rgba(15, 23, 42, 0.98);
    border: 1px solid rgba(30, 64, 175, 0.7);
}

.sidebar-title {
    margin: 0 0 10px;
    font-size: 15px;
    font-weight: 600;
}

.sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0 0 14px;
}

.sidebar-list li {
    margin-bottom: 6px;
}

.sidebar-list a {
    text-decoration: none;
    font-size: 13px;
    color: rgba(248, 250, 252, 0.85);
}

.sidebar-list a:hover {
    color: #fff;
}

.sidebar-list a.is-active {
    font-weight: 600;
}

.sidebar-block h3 {
    margin: 0 0 4px;
    font-size: 13px;
}

.sidebar-note {
    margin: 0;
    font-size: 12px;
    opacity: 0.7;
}

/* Content */

.catalog-content {
    border-radius: 22px;
    padding: 14px 14px 18px;
    background: rgba(10, 16, 32, 0.98);
    border: 1px solid rgba(30, 64, 175, 0.7);
}

.catalog-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.catalog-count {
    font-size: 12px;
    opacity: 0.8;
}

/* Product grid */

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 12px;
}

.product-card {
    border-radius: 18px;
    background: linear-gradient(145deg, #1e293b, #0f172a);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: rgba(250, 204, 21, 0.3);
}

.product-thumb {
    display: block;
    position: relative;
    padding: 12px 12px 0;
    text-decoration: none;
}

.product-thumb-inner {
    border-radius: 14px;
    height: 150px;
    background: #1e293b;
    border: none;
}

.product-badge {
    position: absolute;
    left: 18px;
    top: 18px;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(148, 163, 184, 0.7);
}

.product-info {
    padding: 10px 12px 11px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.product-title {
    font-size: 14px;
    margin: 0;
}

.product-meta {
    margin: 0;
    font-size: 11px;
    opacity: 0.75;
}

.product-bottom {
    margin-top: 8px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 8px;
}

.product-price {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.price-main {
    font-size: 15px;
    font-weight: 600;
}

.price-sub {
    font-size: 11px;
    opacity: 0.7;
}

.product-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-xs {
    padding: 6px 10px;
    font-size: 11px;
}

.btn-icon {
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.7);
    background: rgba(15, 23, 42, 0.9);
    color: #e5e7eb;
    font-size: 12px;
    padding: 5px 7px;
    cursor: pointer;
}

/* Pagination */

.catalog-pagination {
    margin-top: 14px;
    display: flex;
    gap: 6px;
    justify-content: center;
}

.page-btn {
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.7);
    background: rgba(15, 23, 42, 0.95);
    color: #e5e7eb;
    font-size: 12px;
    padding: 5px 10px;
    cursor: pointer;
}

.page-btn.is-active {
    background: linear-gradient(135deg, #facc15, #f97316);
    color: #111827;
    border-color: transparent;
}

/* ====== ADAPTIVE: CATALOG ====== */

@media (max-width: 900px) {
    .catalog-layout {
        display: flex;
        flex-direction: column-reverse;
        /* СНИЗУ ВВЕРХ: контент, потом сайдбар → визуально сайдбар сверху */
        gap: 16px;
    }

    .catalog-sidebar,
    .catalog-content {
        max-width: 100%;
        margin: 0;
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ====== BREADCRUMBS ====== */

.breadcrumbs {
    padding: 12px 0 4px;
}

.breadcrumbs-inner {
    font-size: 12px;
    opacity: 0.75;
    display: flex;
    align-items: center;
    gap: 6px;
}

.breadcrumbs-inner a {
    text-decoration: none;
    color: rgba(248, 250, 252, 0.85);
}

.breadcrumbs-inner a:hover {
    color: #fff;
}

.breadcrumbs-inner .current {
    opacity: 0.9;
}

/* ====== PRODUCT PAGE ====== */

.product-page {
    padding: 10px 0 20px;
}

.product-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
    gap: 22px;
}

/* Галерея */

.product-gallery {
    border-radius: 24px;
    padding: 16px 16px 14px;
    background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.98), #020617);
    border: 1px solid rgba(30, 64, 175, 0.8);
    align-self: flex-start;
}

.product-main-image {
    position: relative;
    border-radius: 18px;
    padding: 12px;
    background: radial-gradient(circle at 30% 0%, rgba(250, 204, 21, 0.16), rgba(15, 23, 42, 1));
    border: 1px solid rgba(55, 65, 81, 0.9);
}

.product-main-image-inner {
    height: auto;
    min-height: 260px;
    border-radius: 14px;
    background: radial-gradient(circle at 30% 0%, rgba(250, 204, 21, 0.35), #020617 65%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-main-image-inner img {
    max-width: 100%;
    height: auto;
    display: block;
}

.product-tag {
    position: absolute;
    left: 18px;
    top: 18px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    background: rgba(15, 23, 42, 0.96);
    border: 1px solid rgba(148, 163, 184, 0.7);
}

.product-thumbs {
    margin-top: 10px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.product-thumb-small {
    height: 56px;
    border-radius: 12px;
    border: 1px solid rgba(51, 65, 85, 0.9);
    background: radial-gradient(circle at 30% 0%, rgba(148, 163, 184, 0.35), #020617 70%);
    opacity: 0.75;
}

.product-thumb-small.is-active {
    border-color: rgba(250, 204, 21, 0.9);
    opacity: 1;
}

/* Информация */

.product-main {
    border-radius: 24px;
    padding: 16px 18px 16px;
    background: rgba(10, 16, 32, 0.98);
    border: 1px solid rgba(30, 64, 175, 0.8);
}

.product-name {
    margin: 0 0 6px;
    font-size: 22px;
}

.product-brief {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    font-size: 12px;
    opacity: 0.8;
    margin-bottom: 10px;
}

.product-short {
    font-size: 13px;
    opacity: 0.9;
    margin: 0 0 12px;
}

.product-purchase {
    border-radius: 18px;
    padding: 12px 12px 10px;
    background: radial-gradient(circle at top left, rgba(30, 64, 175, 0.8), #020617 70%);
    border: 1px solid rgba(148, 163, 184, 0.8);
    margin-bottom: 14px;
}

.product-price-block {
    margin-bottom: 10px;
}

.product-price-main {
    font-size: 22px;
    font-weight: 600;
}

.product-price-note {
    font-size: 11px;
    opacity: 0.8;
}

.product-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 8px;
}

.product-delivery-note {
    font-size: 11px;
    opacity: 0.85;
}

.product-extra {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 11px;
    margin-top: 6px;
}

.product-extra-item {
    padding: 8px 10px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.7);
    background: rgba(15, 23, 42, 0.95);
}

.product-extra-title {
    font-weight: 600;
    margin-right: 4px;
}

/* Описание и характеристики */

.product-details {
    padding: 4px 0 20px;
}

.product-details-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.2fr);
    gap: 18px;
}

.product-panel {
    border-radius: 20px;
    padding: 14px 16px 14px;
    background: rgba(10, 16, 32, 0.98);
    border: 1px solid rgba(30, 64, 175, 0.8);
}

.product-panel h2 {
    margin: 0 0 8px;
    font-size: 16px;
}

.product-panel p {
    margin: 0;
    font-size: 13px;
    opacity: 0.9;
}

.product-specs {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 13px;
}

.product-specs li {
    display: flex;
    gap: 6px;
    margin-bottom: 4px;
}

.product-specs li span:first-child {
    opacity: 0.8;
}

/* ====== ADAPTIVE: PRODUCT ====== */

@media (max-width: 900px) {
    .product-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .product-details-inner {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 480px) {
    .product-main-image-inner {
        height: 220px;
    }

    .product-buttons {
        flex-direction: column;
        align-items: stretch;
    }
}

/* ====== PRODUCT QTY ====== */

.product-qty {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 6px 0 10px;
}

.product-qty-label {
    font-size: 12px;
    opacity: 0.85;
}

.qty-control {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    padding: 4px 6px;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(148, 163, 184, 0.8);
}

.qty-btn {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    border: none;
    background: rgba(15, 23, 42, 1);
    color: #e5e7eb;
    font-size: 18px;
    line-height: 1;
    padding-bottom: 2px;
    cursor: pointer;
}

.qty-btn:hover {
    background: rgba(30, 64, 175, 0.9);
}

.qty-input {
    width: 40px;
    border: none;
    background: transparent;
    color: #e5e7eb;
    text-align: center;
    font-size: 14px;
    outline: none;
}

@media (max-width: 480px) {
    .product-qty {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ====== BLOG LIST ====== */

.blog-section {
    padding: 10px 0 24px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 14px;
}

.blog-card {
    border-radius: 20px;
    background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.98), #020617);
    border: 1px solid rgba(30, 64, 175, 0.75);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.blog-thumb {
    display: block;
    position: relative;
    padding: 12px 12px 0;
    text-decoration: none;
}

.blog-thumb-inner {
    border-radius: 16px;
    height: 140px;
    background: radial-gradient(circle at 20% 0%, rgba(251, 191, 36, 0.2), rgba(15, 23, 42, 1));
    border: 1px solid rgba(55, 65, 81, 0.9);
}

.blog-category {
    position: absolute;
    left: 22px;
    top: 18px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    background: rgba(15, 23, 42, 0.96);
    border: 1px solid rgba(148, 163, 184, 0.7);
}

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

.blog-meta {
    font-size: 11px;
    opacity: 0.75;
}

.blog-title {
    margin: 0;
    font-size: 15px;
}

.blog-title a {
    text-decoration: none;
    color: #e5e7eb;
}

.blog-title a:hover {
    color: #fff;
}

.blog-excerpt {
    margin: 0;
    font-size: 13px;
    opacity: 0.85;
}

.blog-footer {
    margin-top: 8px;
    display: flex;
    justify-content: flex-start;
}

/* ====== BLOG SINGLE (POST) ====== */

.post-page {
    padding: 10px 0 24px;
}

.post-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.1fr);
    gap: 18px;
}

.post-main {
    border-radius: 24px;
    padding: 16px 18px 18px;
    background: rgba(10, 16, 32, 0.98);
    border: 1px solid rgba(30, 64, 175, 0.8);
}

.post-header {
    margin-bottom: 12px;
}

.post-category {
    display: inline-block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 4px 9px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.8);
    background: rgba(15, 23, 42, 0.96);
    margin-bottom: 6px;
}

.post-title {
    margin: 0 0 4px;
    font-size: 22px;
}

.post-meta {
    font-size: 12px;
    opacity: 0.75;
}

.post-hero {
    margin: 10px 0 14px;
}

.post-hero-inner {
    border-radius: 16px;
    height: 200px;
    background: radial-gradient(circle at 20% 0%, rgba(251, 191, 36, 0.25), rgba(15, 23, 42, 1));
    border: 1px solid rgba(55, 65, 81, 0.9);
}

/* Контент поста */

.post-content {
    font-size: 14px;
    line-height: 1.6;
}

.post-content p {
    margin: 0 0 10px;
}

.post-content ul,
.post-content ol {
    margin: 0 0 10px 18px;
    padding: 0;
}

.post-content li {
    margin-bottom: 4px;
}

.post-content strong {
    font-weight: 600;
}

/* Сайдбар */

.post-sidebar {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.post-sidebar-block {
    border-radius: 20px;
    padding: 12px 14px 12px;
    background: rgba(10, 16, 32, 0.98);
    border: 1px solid rgba(30, 64, 175, 0.8);
    font-size: 13px;
}

.post-sidebar-block h2 {
    margin: 0 0 8px;
    font-size: 14px;
}

.post-sidebar-block ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.post-sidebar-block li {
    margin-bottom: 6px;
}

.post-sidebar-block a {
    text-decoration: none;
    color: rgba(248, 250, 252, 0.85);
}

.post-sidebar-block a:hover {
    color: #fff;
}

/* ====== ADAPTIVE: BLOG ====== */

@media (max-width: 900px) {
    .post-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .post-sidebar {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .post-sidebar-block {
        flex: 1 1 240px;
    }
}

@media (max-width: 600px) {
    .blog-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .post-sidebar {
        flex-direction: column;
    }
}


.icon-btn {
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    background: rgba(15, 23, 42, 1);
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}

.icon-btn svg,
.icon-btn i {
    pointer-events: none;
}

.icon-btn:hover {
    border-color: rgba(251, 191, 36, 0.9);
    box-shadow: 0 0 12px rgba(251, 191, 36, 0.35);
    transform: translateY(-1px);
}


/* ===========================
   Mobile UX – ArabianBar v6
   =========================== */

/* Базовая типографика и отступы на мобильных */
@media (max-width: 768px) {

    html,
    body {
        font-size: 15px;
    }

    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .section {
        padding-top: 24px;
        padding-bottom: 24px;
    }

    .page-hero {
        padding-top: 32px;
        padding-bottom: 24px;
    }

    .page-title {
        font-size: 22px;
        line-height: 1.2;
        margin-bottom: 8px;
    }

    .page-subtitle {
        font-size: 14px;
        line-height: 1.5;
    }
}

/* Хедер + мобильное меню */
@media (max-width: 768px) {
    .site-header {
        position: fixed !important;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 1001;
        background: rgba(2, 6, 23, 0.98) !important;
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    }

    .site-header-inner {
        padding-top: 10px;
        padding-bottom: 10px;
        gap: 12px;
    }

    .logo-text .logo-title {
        font-size: 18px;
    }

    .logo-text .logo-subtitle {
        font-size: 11px;
    }

    .mobile-menu-toggle {
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 34px;
        height: 34px;
        border-radius: 999px;
        border: 1px solid rgba(255, 255, 255, 0.25);
        background: transparent;
        gap: 4px;
        cursor: pointer;
    }

    .mobile-menu-toggle span {
        display: block;
        width: 18px;
        height: 2px;
        border-radius: 999px;
        background: #fff;
        transition: transform 0.2s ease, opacity 0.2s ease;
    }

    .mobile-menu-toggle.is-open span:nth-child(1) {
        transform: translateY(3px) rotate(45deg);
    }

    .mobile-menu-toggle.is-open span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.is-open span:nth-child(3) {
        transform: translateY(-3px) rotate(-45deg);
    }

    .main-nav {
        position: fixed;
        inset: 56px 0 auto 0;
        background: #05060a;
        padding: 12px 16px 16px;
        transform: translateY(-120%);
        transition: transform 0.2s ease-out;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .main-nav.is-open {
        transform: translateY(0);
    }

    .main-nav ul {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .main-nav a {
        display: block;
        padding: 8px 0;
        font-size: 15px;
    }
}

/* Категории в каталоге на мобиле: горизонтальный скролл */
@media (max-width: 768px) {
    .sidebar-list {
        display: flex;
        flex-wrap: nowrap;
        gap: 8px;
        overflow-x: auto;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
    }

    .sidebar-list li {
        margin-bottom: 0;
    }

    .sidebar-list a {
        white-space: nowrap;
        padding: 6px 12px;
        border-radius: 999px;
        border: 1px solid rgba(148, 163, 184, 0.6);
        background: rgba(15, 23, 42, 0.96);
        font-size: 13px;
    }

    .sidebar-list a.is-active {
        background: #f4b000;
        border-color: #f4b000;
        color: #000;
    }
}

/* Карточки товара и блога */
@media (max-width: 768px) {

    .product-card,
    .blog-card {
        border-radius: 14px;
        overflow: hidden;
    }

    .product-card-inner,
    .blog-card-inner {
        display: flex;
        flex-direction: column;
    }

    .product-card-image img,
    .blog-card-image img {
        display: block;
        width: 100%;
        height: auto;
    }

    .product-card-body,
    .blog-card-body {
        padding: 10px 10px 12px;
    }

    .product-card-title,
    .blog-card-title {
        font-size: 14px;
        line-height: 1.4;
        max-height: 3.3em;
        overflow: hidden;
    }

    .product-card-price {
        font-size: 15px;
        font-weight: 600;
        margin-top: 6px;
    }

    .product-card-meta {
        font-size: 12px;
        opacity: 0.8;
    }

    .blog-card-excerpt {
        font-size: 13px;
        line-height: 1.5;
        max-height: 4.5em;
        overflow: hidden;
    }
}

/* Страница товара: галерея + инфо в колонку на мобиле */
@media (max-width: 768px) {
    .product-layout {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .product-gallery {
        width: 100%;
    }

    .product-main {
        width: 100%;
    }

    .product-name {
        font-size: 20px;
        line-height: 1.3;
    }

    .product-price-main {
        font-size: 20px;
    }

    .product-buttons {
        flex-direction: column;
        gap: 8px;
    }

    .product-buttons .btn,
    .product-buttons button {
        width: 100%;
    }
}

/* Футер на мобильных: столбиком и по центру */
@media (max-width: 768px) {
    .site-footer .footer-inner {
        display: flex;
        flex-direction: column;
        gap: 24px;
        text-align: center;
        align-items: center;
    }

    .site-footer .footer-col {
        width: 100%;
    }

    .footer-col ul {
        padding-left: 0;
        list-style: none;
    }

    .footer-bottom {
        text-align: center;
        padding: 12px 16px;
    }
}

/* ==========================
   FINAL FIX — CATALOG LAYOUT
   ========================== */

/* Desktop layout */
.catalog-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 18px;
}

/* Mobile layout — categories MUST be above products */
@media (max-width: 900px) {

    .catalog-layout {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    /* Категории наверху */
    .catalog-sidebar {
        order: 1 !important;
    }

    /* Товары после категорий */
    .catalog-products,
    .catalog-content {
        order: 2 !important;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ==========================
   FINAL CATALOG LAYOUT FIX
   ========================== */

/* Десктоп: слева категории, справа товары */
.catalog-layout {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start;
    gap: 18px;
}

.catalog-sidebar {
    flex: 0 0 260px !important;
    max-width: 260px;
}

.catalog-products,
.catalog-content {
    flex: 1 1 auto !important;
}

/* Мобилки / планшеты: сначала категории, потом товары */
@media (max-width: 900px) {
    .catalog-layout {
        flex-direction: column !important;
        gap: 16px;
    }

    .catalog-sidebar {
        order: 1 !important;
        max-width: 100%;
    }

    .catalog-products,
    .catalog-content {
        order: 2 !important;
        max-width: 100%;
    }
}

/* Очень узкие экраны — одна колонка товаров */
@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ====== HEADER SEARCH ====== */

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

.header-search {
    display: flex;
    align-items: center;
}

.header-search input {
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    background: rgba(15, 23, 42, 0.98);
    color: #e5e7eb;
    padding: 6px 12px;
    font-size: 13px;
    min-width: 180px;
    max-width: 220px;
    outline: none;
}

.header-search input::placeholder {
    color: rgba(148, 163, 184, 0.9);
}

/* На мобильных убираем строку из шапки, там будет отдельная форма на /search */
@media (max-width: 768px) {
    .header-search {
        display: none;
    }
}

/* ===== MOBILE SEARCH BAR (ArabianBar) ===== */

/* По умолчанию скрыта */
.mobile-search-bar {
    display: none;
}

/* На мобиле показываем отдельный бар поиска под шапкой */
@media (max-width: 768px) {
    .mobile-search-bar {
        display: block;
        background: #020617;
        border-bottom: 1px solid rgba(30, 64, 175, 0.7);
        padding: 8px 0 10px;
    }

    .mobile-search-bar .mobile-search-inner {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .mobile-search-bar form {
        flex: 1 1 auto;
        display: flex;
        align-items: center;
    }

    .mobile-search-bar input[type="text"] {
        width: 100%;
        border-radius: 999px;
        border: 1px solid rgba(148, 163, 184, 0.8);
        background: rgba(15, 23, 42, 0.98);
        color: #e5e7eb;
        padding: 8px 14px;
        font-size: 14px;
        outline: none;
    }

    .mobile-search-bar input::placeholder {
        color: rgba(148, 163, 184, 0.9);
    }

    .mobile-search-label {
        font-size: 12px;
        opacity: 0.8;
        white-space: nowrap;
    }

    /* В шапке на мобиле поиск прячем, чтобы не было каши */
    .header-search {
        display: none;
    }
}

/* ============================
   MOBILE FIX: hide header search
   ============================ */
@media (max-width: 768px) {
    .header-search {
        display: none !important;
    }
}



/* ===================================================================
   ARABIANBAR PRO – FINAL CLEAN OVERRIDES (stable build)
   =================================================================== */

/* Never allow sideways scroll on mobile */
html,
body {
    overflow-x: hidden;
}

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

/* Product grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

@media (max-width: 600px) {
    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
}

/* Product cards – keep images inside and consistent */
.product-card,
.product-card-sm,
.product-item {
    overflow: hidden;
}

.product-thumb img,
.product-card img,
.product-card-sm img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    background: #ffffff;
    padding: 10px;
}

@media (max-width: 600px) {

    .product-thumb img,
    .product-card img,
    .product-card-sm img {
        height: 180px;
        padding: 8px;
    }
}

/* Blog list thumbnails */
.blog-thumb img,
.blog-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {

    .blog-thumb img,
    .blog-card img {
        height: 240px;
    }
}

/* Single post cover */
.blog-post-cover img {
    width: 100%;
    max-height: 380px;
    object-fit: cover;
    display: block;
    border-radius: 18px;
}

/* Cart – better mobile spacing */
.cart-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 18px;
}

@media (max-width: 900px) {
    .cart-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .cart-summary {
        position: sticky;
        bottom: 12px;
    }
}

/* === Cart PRO UI === */
.cart-form {
    max-width: 1120px;
    margin: 0 auto;
}

.cart-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cart-card {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 14px;
    padding: 14px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(5, 8, 25, 0.72);
}

.cart-card .product-thumb {
    border-radius: 14px;
    overflow: hidden;
    display: block;
    height: 110px;
}

.cart-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cart-card .card-body {
    padding: 0;
}

.cart-card .card-title {
    margin: 0 0 6px;
    font-size: 16px;
    line-height: 1.25;
}

.cart-qty-row {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.cart-qty-row label {
    opacity: .75;
}

.cart-qty-row .input {
    width: 88px !important;
    height: 40px;
    padding: 8px 10px;
    border-radius: 12px;
}

.cart-remove-btn {
    height: 40px;
    padding: 0 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .10);
    background: transparent;
    color: rgba(255, 255, 255, .85);
}

.cart-remove-btn:hover {
    border-color: rgba(255, 255, 255, .22);
}

.cart-prices {
    margin-left: auto;
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cart-prices .muted {
    opacity: .75;
}

.cart-prices strong {
    font-size: 14px;
}

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 18px;
    align-items: start;
}

.cart-summary {
    position: sticky;
    top: 16px;
    padding: 16px;
    border-radius: 16px;
    background: rgba(5, 8, 25, .92);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cart-summary-row:last-child {
    border-bottom: 0;
}

.cart-summary-actions {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cart-actions-top {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 14px;
}

/* Mobile */
@media (max-width: 960px) {
    .cart-layout {
        grid-template-columns: 1fr;
    }

    .cart-summary {
        position: static;
    }
}

@media (max-width: 560px) {
    .cart-card {
        grid-template-columns: 1fr;
    }

    .cart-card .product-thumb {
        height: 180px;
    }

    .cart-prices {
        width: 100%;
        margin-left: 0;
        text-align: left;
    }

    .cart-actions-top {
        justify-content: flex-start;
    }
}


/* === Seasonal UI: snow + holiday promos === */
#ab-snow {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

#ab-snow .ab-flake {
    position: absolute;
    top: -10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .9);
    filter: blur(.2px);
    animation-name: abSnowFall;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

@keyframes abSnowFall {
    0% {
        transform: translateY(-10px) translateX(0);
    }

    100% {
        transform: translateY(110vh) translateX(6vw);
    }
}

.winter-promos {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.winter-promo {
    border: 1px solid rgba(255, 255, 255, .10);
    background: rgba(0, 0, 0, .18);
    border-radius: 14px;
    padding: 12px 12px;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.winter-promo .wp-title {
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 6px;
}

.winter-promo .wp-text {
    font-size: 13px;
    color: rgba(255, 255, 255, .78);
    line-height: 1.35;
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 3;
    background: rgba(216, 180, 106, .95);
    color: #111;
    font-weight: 800;
    font-size: 12px;
    padding: 6px 8px;
    border-radius: 999px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .25);
}

.home-hits-cta {
    margin-top: 14px;
    display: flex;
    justify-content: center;
}

@media (max-width: 900px) {
    .winter-promos {
        grid-template-columns: 1fr;
    }
}

/* === Catalog badges: stronger contrast (only in catalog grid cards) === */
.product-grid .product-card .product-badges {
    top: 12px;
    left: 12px;
    z-index: 5;
}

.product-grid .product-card .badge {
    color: #fff !important;
    background: rgba(0, 0, 0, .45);
    border: 1px solid rgba(255, 255, 255, .18);
    box-shadow: 0 10px 25px rgba(0, 0, 0, .35);
}

.product-grid .product-card .badge-discount {
    background: rgba(255, 86, 86, .32) !important;
    border-color: rgba(255, 86, 86, .60) !important;
    color: #ffe2e2 !important;
}

.product-grid .product-card .badge-promo {
    background: rgba(255, 193, 7, .32) !important;
    border-color: rgba(255, 193, 7, .60) !important;
    color: #fff6d1 !important;
}

/* =========================
   BLOG LIST ( /blog )
   Fix image overflow + nicer cards
   ========================= */

/* Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

/* Card */
.blog-card {
    background: rgba(10, 16, 28, .72);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 18px;
    overflow: hidden;
    /* КЛЮЧ: ничего не вылезет */
    box-shadow: 0 14px 40px rgba(0, 0, 0, .35);
    transition: transform .2s ease, border-color .2s ease;
}

.blog-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, .14);
}

/* Thumb link */
.blog-thumb {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* Thumb wrapper */
.blog-thumb-inner {
    position: relative;
    width: 100%;
    height: 260px;
    /* одинаковая высота превью */
    overflow: hidden;
    /* КЛЮЧ */
    background: #0a1220;
}

/* IMPORTANT:
   ab_picture() может вернуть <picture><img ...></picture>
   поэтому стилим и picture, и img внутри
*/
.blog-thumb-inner picture,
.blog-thumb-inner img {
    width: 100%;
    height: 100%;
    display: block;
}

.blog-thumb-inner img {
    object-fit: cover;
    /* КЛЮЧ: красивое кадрирование */
    object-position: center;
    transform: scale(1);
    transition: transform .35s ease;
}

.blog-card:hover .blog-thumb-inner img {
    transform: scale(1.03);
}

/* Optional: if your ab_picture adds class blog-card-img */
.blog-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Badge */
.blog-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 8px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .2px;
    background: rgba(255, 185, 0, .92);
    color: #111;
    box-shadow: 0 10px 22px rgba(0, 0, 0, .35);
}

/* Body */
.blog-card-body {
    padding: 16px 16px 18px;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, .65);
    font-size: 13px;
}

.blog-card-title {
    margin: 0 0 10px;
    line-height: 1.25;
    font-size: 18px;
}

.blog-card-title a {
    color: #fff;
    text-decoration: none;
}

/* ====== FOOTER PRO ====== */
.site-footer {
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: #020617;
    color: #94a3b8;
    padding-top: 60px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 40px;
    padding-bottom: 40px;
}

.footer-brand-col .logo-title {
    font-size: 20px;
    color: #fff;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.6;
    margin-top: 12px;
    max-width: 280px;
}

.footer-socials {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    font-weight: 600;
    color: #fff;
}

.footer-socials a {
    font-size: 14px;
    text-decoration: none;
    opacity: 0.7;
}

.footer-socials a:hover {
    opacity: 1;
    color: #facc15;
}

.footer-col h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    transition: 0.2s;
    color: #94a3b8;
    text-decoration: none;
    font-size: 14px;
}

.footer-col a:hover {
    color: #facc15;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 24px 0;
    text-align: center;
    font-size: 13px;
    color: #475569;
}

@media (max-width: 900px) {
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-desc {
        margin: 12px auto 0;
    }

    .footer-socials {
        justify-content: center;
    }
}

/* ====== BLOG HOME ====== */
.home-blog {
    padding-bottom: 60px;
}

.blog-grid-home {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.blog-card-home {
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    transition: 0.3s;
}

.blog-card-home:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.1);
}

.blog-card-thumb {
    display: block;
    height: 180px;
    overflow: hidden;
}

.blog-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.blog-card-home:hover .blog-card-thumb img {
    transform: scale(1.05);
}

.blog-card-content {
    padding: 16px 20px 20px;
}

.blog-card-date {
    display: block;
    font-size: 12px;
    color: #64748b;
    margin-bottom: 6px;
}

.blog-card-content h3 {
    margin: 0;
    font-size: 16px;
    line-height: 1.4;
}

.blog-card-content h3 a {
    text-decoration: none;
    color: #fff;
    transition: color 0.2s;
}

.blog-card-content h3 a:hover {
    color: #facc15;
}

@media (max-width: 768px) {
    .blog-grid-home {
        grid-template-columns: 1fr;
    }
}


.blog-card-title a:hover {
    text-decoration: underline;
}

.blog-card-excerpt {
    margin: 0 0 14px;
    color: rgba(255, 255, 255, .78);
    font-size: 14px;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    /* максимум 3 строки */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-read {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    text-decoration: none;
    color: #ffb900;
}

.blog-card-read:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 1100px) {
    .blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .blog-thumb-inner {
        height: 240px;
    }
}

@media (max-width: 700px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-thumb-inner {
        height: 190px;
    }
}


/* Price + badges */
.price-old {
    opacity: .65;
    text-decoration: line-through;
    margin-right: 10px;
}

.price-current {
    font-weight: 700;
}

.product-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    gap: 8px;
    z-index: 3;
}

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.badge-discount {
    background: rgba(255, 86, 86, .15);
    border: 1px solid rgba(255, 86, 86, .35);
}

.badge-promo {
    background: rgba(255, 193, 7, .15);
    border: 1px solid rgba(255, 193, 7, .35);
}


/* SEO text block (category description) */
.seo-text {
    padding: 20px 0 10px;
}

.seo-text .seo-text-inner {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 14px 16px;
    line-height: 1.6;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
}

/* --- New Product Card Buttons (Premium Compact) --- */
.product-actions-row {
    display: flex;
    gap: 6px;
    align-items: stretch;
    margin-top: 12px;
}

.btn-card-add {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: linear-gradient(180deg, #fce96a 0%, #eab308 100%);
    color: #0f172a;
    border: none;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(234, 179, 8, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    text-decoration: none;
    line-height: 1;
    min-height: 36px;
}

.btn-card-add span {
    position: relative;
    top: 1px;
}

.btn-card-add:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(234, 179, 8, 0.4);
    background: linear-gradient(180deg, #fde047 0%, #ca8a04 100%);
}

.btn-card-add:active {
    transform: translateY(0);
    box-shadow: none;
}

/* Success state */
.btn-card-add.is-added {
    background: #22c55e !important;
    color: #fff !important;
    pointer-events: none;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-card-wa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(37, 211, 102, 0.1);
    color: #25D366;
    border: 1px solid rgba(37, 211, 102, 0.25);
    border-radius: 6px;
    transition: all 0.2s ease;
    text-decoration: none;
    flex-shrink: 0;
}

.btn-card-wa:hover {
    background: #25D366;
    color: #020617;
    border-color: #25D366;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.25);
}

.btn-card-wa svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* ====== PRODUCT PAGE SEO ENHANCEMENTS ====== */

.product-specs-box {
    margin: 24px 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.product-specs-box h3 {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 14px;
    color: #f4b000;
}

.specs-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}

.specs-list li {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
}

.specs-list li strong {
    color: #fff;
    margin-right: 4px;
}

.product-delivery-detail {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.product-delivery-detail h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: #fff;
}

.product-delivery-detail p {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
}

/* Category Bottom SEO Insight */
.page-bottom-seo {
    padding: 60px 0;
    background: linear-gradient(to bottom, transparent, rgba(16, 16, 24, 0.5));
}

.seo-card-glass {
    padding: 40px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.seo-card-glass h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #f4b000;
}

.seo-content-text {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    max-width: 800px;
}

@media (max-width: 768px) {
    .seo-card-glass {
        padding: 24px;
    }

    .seo-card-glass h3 {
        font-size: 20px;
    }

    .seo-content-text {
        font-size: 14px;
    }

    .specs-list {
        grid-template-columns: 1fr;
    }
}

/* ====== FOMO DELIVERY TIMER ====== */
.fomo-timer {
    margin: 20px 0;
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(250, 204, 21, 0.15) 0%, rgba(15, 23, 42, 0.4) 100%);
    border: 1px solid rgba(250, 204, 21, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    animation: fomoFadeInSlide 0.5s ease-out;
}

.fomo-timer-icon {
    font-size: 24px;
    background: rgba(250, 204, 21, 0.2);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #facc15;
    flex-shrink: 0;
    box-shadow: 0 0 15px rgba(250, 204, 21, 0.3);
}

.fomo-timer-content {
    flex-grow: 1;
}

.fomo-timer-text {
    font-size: 14px;
    color: #e5e7eb;
    margin: 0;
    line-height: 1.4;
}

.fomo-timer-text strong {
    color: #facc15;
    font-size: 16px;
    font-variant-numeric: tabular-nums;
}

.fomo-timer-sub {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 2px;
}

@keyframes fomoFadeInSlide {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    .fomo-timer {
        padding: 12px 16px;
        gap: 12px;
    }

    .fomo-timer-icon {
        width: 38px;
        height: 38px;
        font-size: 20px;
    }

    .fomo-timer-text {
        font-size: 13px;
    }
}

/* ====== COCKTAIL RECIPES ====== */
.cocktail-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.cocktail-section h2 {
    font-size: 28px;
    margin-bottom: 30px;
    color: #facc15;
    text-align: center;
}

.recipe-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.recipe-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.recipe-card:hover {
    transform: translateY(-5px);
    border-color: rgba(250, 204, 21, 0.3);
    background: rgba(255, 255, 255, 0.04);
}

.recipe-image {
    height: 200px;
    overflow: hidden;
}

.recipe-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.recipe-card:hover .recipe-image img {
    transform: scale(1.1);
}

.recipe-info {
    padding: 24px;
}

.recipe-info h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #fff;
}

.recipe-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.recipe-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.ingredients-list {
    margin-bottom: 24px;
}

.ingredient-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

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

.ingredient-check {
    accent-color: #facc15;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.recipe-actions {
    margin-top: 20px;
}

.btn-bundle-add {
    width: 100%;
    padding: 14px;
    background: #facc15;
    color: #0f172a;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-bundle-add:hover {
    background: #eab308;
    box-shadow: 0 4px 15px rgba(250, 204, 21, 0.4);
}

.bundle-price-tag {
    display: block;
    text-align: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 10px;
}

@media (max-width: 768px) {
    .recipe-cards {
        grid-template-columns: 1fr;
    }
}

/* ====== SEARCH PREVIEW ====== */
.search-preview-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(250, 204, 21, 0.2);
    border-top: none;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    max-height: 450px;
    overflow-y: auto;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-search {
    position: relative;
}

.search-preview-dropdown.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.search-preview-section {
    padding: 10px 0;
}

.search-preview-title {
    padding: 10px 16px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 5px;
}

.search-preview-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    color: #fff;
    text-decoration: none;
    transition: background 0.2s ease;
}

.search-preview-item:hover,
.search-preview-item.selected {
    background: rgba(250, 204, 21, 0.1);
}

.search-preview-thumb {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    overflow: hidden;
    background: #1e293b;
    flex-shrink: 0;
}

.search-preview-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.search-preview-info {
    flex-grow: 1;
    overflow: hidden;
}

.search-preview-name {
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.search-preview-price {
    font-size: 12px;
    color: #facc15;
    font-weight: 600;
}

.search-preview-footer {
    padding: 12px 16px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.search-preview-footer a {
    font-size: 13px;
    color: #facc15;
    text-decoration: none;
    font-weight: 600;
}

.search-preview-empty {
    padding: 30px 16px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

.search-preview-loader {
    padding: 20px;
    text-align: center;
}

/* Scrollbar for results */
.search-preview-dropdown::-webkit-scrollbar {
    width: 4px;
}

.search-preview-dropdown::-webkit-scrollbar-track {
    background: transparent;
}

.search-preview-dropdown::-webkit-scrollbar-thumb {
    background: rgba(250, 204, 21, 0.3);
    border-radius: 10px;
}

@media (max-width: 991px) {
    .mobile-search-inner {
        position: relative;
    }

    .search-preview-dropdown {
        border-radius: 0 0 12px 12px;
        max-height: 80vh;
    }
}