/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

:root {
    --yellow: #f59e0b;
    --dark: #221f1f;
    --overlay: rgba(245, 158, 11, .78);
    --banner-overlay: linear-gradient(rgba(245, 158, 11, .72), rgba(245, 158, 11, .9))
}

html {
    scroll-behavior: smooth;
}


body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f3f3f3;
    color: #111
}

/* Header */
.header {
    background: #2b2b2b;
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
}

.menu-btn {
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 8px;
    display: none;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background 0.2s;
}

.menu-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.logo-img {
    height: 32px;
    width: auto;
}

.logo-text {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
}

.catalog-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s;
    white-space: nowrap;
    max-width: 125px;
}

.catalog-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.search-bar {
    flex: 1;
    display: flex;
    max-width: 600px;
    gap: 0;
    margin: 0 auto;
}

.search-input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 8px 0 0 8px;
    font-size: 15px;
    background: #fff;
    outline: none;
}

.search-input::placeholder {
    color: #999;
}

.search-btn {
    background: var(--yellow);
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.2s;
    white-space: nowrap;
}

.search-btn:hover {
    opacity: 0.9;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
    justify-content: flex-end;
}

.icon-btn {
    appearance: none;
    background: transparent;
    border: 0;
    padding: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border-radius: 8px;
    transition: all 0.2s;
    position: relative;
}

.icon-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.icon-btn svg {
    stroke: currentColor;
}

.cart-btn {
    position: relative;
}

.badge {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--yellow);
    color: #fff;
    font-weight: 700;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Sidebar Menu */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.sidebar-menu {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 280px;
    max-width: 85vw;
    background: #fff;
    z-index: 2000;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.sidebar-menu.active {
    transform: translateX(0);
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: #2b2b2b;
    color: #fff;
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-logo-img {
    height: 28px;
    width: auto;
}

.sidebar-logo-text {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.sidebar-close {
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background 0.2s;
}

.sidebar-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.sidebar-nav {
    padding: 20px 16px;
    flex: 1;
}

.sidebar-catalog-btn {
    width: 100%;
    background: var(--yellow);
    color: #fff;
    border: none;
    padding: 14px 20px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: opacity 0.2s;
}

.sidebar-catalog-btn:hover {
    opacity: 0.9;
}

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

.sidebar-menu-list li {
    border-bottom: 1px solid #e0e0e0;
}

.sidebar-menu-list li:last-child {
    border-bottom: none;
}

.sidebar-menu-list a {
    display: block;
    padding: 14px 0;
    color: #333;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s;
}

.sidebar-menu-list a:hover {
    color: var(--yellow);
}

/* Catalog Mega Menu */
.catalog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.catalog-overlay.active {
    opacity: 1;
    visibility: visible;
}

.catalog-mega-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 80%;
    max-width: 900px;
    background: #fff;
    z-index: 3000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.catalog-mega-menu.active {
    transform: translateX(0);
}

.catalog-container {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.catalog-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    border: none;
    color: #333;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background 0.2s;
    z-index: 10;
}

.catalog-close:hover {
    background: #f0f0f0;
}

.catalog-grid {
    display: flex;
    height: 100%;
}

.catalog-categories {
    width: 280px;
    background: #f8f8f8;
    padding: 60px 0 20px;
    border-right: 1px solid #e0e0e0;
    overflow-y: auto;
    flex-shrink: 0;
}

.catalog-category {
    width: 100%;
    background: transparent;
    border: none;
    padding: 14px 20px;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #333;
    font-size: 14px;
    transition: all 0.2s;
    position: relative;
}

.catalog-category:hover {
    background: #fff;
}

.catalog-category.active {
    background: #fff;
    color: var(--yellow);
}

.catalog-category svg:first-child {
    flex-shrink: 0;
}

.catalog-category span {
    flex: 1;
}

.catalog-category .arrow {
    flex-shrink: 0;
    opacity: 0.5;
}

.catalog-category.active .arrow {
    opacity: 1;
}

.catalog-content {
    flex: 1;
    padding: 60px 30px 30px;
    overflow-y: auto;
}

.catalog-subcategories {
    display: none;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.catalog-subcategories.active {
    display: grid;
}

.catalog-column h4 {
    font-size: 16px;
    font-weight: 700;
    color: #111;
    margin: 0 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--yellow);
}

.catalog-column a {
    display: block;
    padding: 8px 0;
    color: #555;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
}

.catalog-column a:hover {
    color: var(--yellow);
    padding-left: 8px;
}

@media (max-width: 768px) {
    .catalog-mega-menu {
        width: 100%;
        max-width: 100%;
    }
    
    .catalog-grid {
        flex-direction: column;
    }
    
    .catalog-categories {
        width: 100%;
        max-height: 40vh;
        padding-top: 60px;
    }
    
    .catalog-content {
        padding: 20px;
    }
    
    .catalog-subcategories {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Header Responsive */
@media (max-width: 1024px) {
    .header-container {
        gap: 15px;
        padding: 0 16px;
    }
    
    .search-bar {
        max-width: 450px;
    }
}

@media (max-width: 767px) {
    .header {
        padding: 10px 0 !important;
    }
    
    .header-container {
        flex-wrap: nowrap;
        gap: 10px;
        padding: 0 10px;
        justify-content: space-between;
    }

    .logo-text {
        font-size: 18px;
    }
    
    .menu-btn {
        display: flex;
        flex-shrink: 0;
    }
    
    .catalog-btn {
        display: none;
    }
    
    .search-bar {
        flex: 1;
        max-width: none !important;
        margin: 0 !important;
        min-width: 0;
    }
    
    .search-input {
        padding: 10px 14px;
        font-size: 14px;
    }
    
    .search-btn {
        padding: 10px 16px;
        font-size: 14px;
    }
    
    .header-actions {
        flex-shrink: 0;
        margin-left: 0;
    }
}

@media (max-width: 420px) {
    .header {
        padding: 8px 0 !important;
    }
    
    .header-container {
        gap: 8px;
        padding: 0 8px !important;
    }

    .logo-text {
        font-size: 14px;
    }
    
    .search-input {
        padding: 9px 12px;
        font-size: 13px;
    }
    
    .search-btn {
        padding: 9px 14px;
        font-size: 13px;
    }
    
    .icon-btn {
        padding: 7px;
    }
}

@media (max-width: 360px) {
    .header-container {
        gap: 6px;
        padding: 0 6px !important;
    }
    
    .search-input {
        padding: 8px 10px;
        font-size: 13px;
    }
    
    .search-btn {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .icon-btn {
        padding: 6px;
    }
}


/* Layout */
.container {
    max-width: 1420px;
    margin: 28px auto;
    padding: 0 24px
}

.container.margin-bottom {
    margin-bottom: 60px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px
}

/* Main banner */
.main-banner {
    position: relative;
    min-height: 560px;
    overflow: hidden;
    background: #6a6a6a url('images/main_v3.jpg') center/cover no-repeat;
    color: #fff
}

.main-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .45)
}

.main-content {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    max-width: 70%;
    padding: 56px 64px;
    display: flex;
    flex-direction: column;
    gap: 20px
}

.sale-tag {
    color: var(--yellow);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px
}

.main-banner h1 {
    font-size: 40px;
    line-height: 1.05;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .04em;
    text-wrap: balance;
    text-shadow: 0 2px 2px rgba(0, 0, 0, .2)
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border: 1px solid #fff;
    background: transparent;
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 1px;
    transition: .2s;
}

.btn:hover {
    transform: translateY(-1px)
}

.btn-outline-yellow {
    border-color: var(--yellow);
    color: #fff
}

/* Side banner */
.side-banner {
    position: relative;
    min-height: 560px;
    overflow: hidden;
    background: var(--yellow) url('images/side-7-v2.jpg') center/cover no-repeat
}

.yellow-overlay {
    position: absolute;
    inset: 0;
    background: var(--overlay);
}

.side-banner-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 22px;
    color: #fff;
    padding: 48px
}

.side-banner h2 {
    font-size: 45px;
    line-height: 1.3;
    font-weight: 900;
    letter-spacing: .3px;
    text-transform: uppercase
}



.btn-white {
    border-color: #fff;
    color: #fff
}

.btn-white:hover {
    background: #fff;
    color: #2d2d2d
}

/* === Promo Duo === */
.promo-duo {
    margin-top: 28px;
}

.promo-card {
    position: relative;
    overflow: hidden;
}

.promo-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
    align-items: stretch;
    background: linear-gradient(135deg, rgba(245, 158, 11, .16), rgba(245, 158, 11, .05));
    border-radius: 24px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, .08);
}

/* Left card split layout */

.promo-left-text {
    background: var(--yellow);
    padding: 48px 42px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    background: linear-gradient(135deg, #f7b54c 0%, #f59e0b 100%);
    border-radius: 24px 0 0 24px;
    z-index: 1;
}

.promo-left-text .eyebrow {
    font-weight: 800;
    letter-spacing: .08em;
    font-size: 13px;
    color: #fff;
    opacity: .95
}

.promo-left-text h3 {
    font-size: 25px;
    line-height: 1.12;
    font-weight: bold;
    color: #111;
    text-transform: uppercase;
}

.promo-left-text .sub {
    font-size: 12px;
    letter-spacing: .06em;
    color: #3b2f00;
    text-transform: uppercase;
    opacity: .8
}

.promo-description {
    max-width: 560px;
    font-size: 17px;
    line-height: 1.6;
    color: rgba(17, 17, 17, .84);
}

.promo-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.promo-features span {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .28);
    color: #2f2300;
    font-size: 13px;
}

.promo-right-media {
    position: relative;
    min-height: 340px;
    overflow: hidden;
    border-radius: 0 24px 24px 0;
}

.promo-right-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(245, 158, 11, .22), rgba(0, 0, 0, 0) 34%);
}

.promo-right-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.promo-left-media {
    background: url('images/hero-banner.jpg') center/cover no-repeat
}

.btn-outline-dark {
    border: 2px solid rgba(0, 0, 0, .6);
    color: #111;
    background: transparent;
    padding: 10px 20px;
    font-weight: 800;
    border-radius: 10px;
}

.btn-outline-dark:hover {
    background: rgba(0, 0, 0, .08)
}

/* Right card full-bleed image with dark overlay */
.promo-right {
    background: #111
}

.promo-right-media {
    position: absolute;
    inset: 0;
    background: url('images/side-9.jpg') center/cover no-repeat;
    filter: grayscale(10%)
}

.promo-right::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(0, 0, 0, .55);
}

.promo-right-content {
    position: relative;
    z-index: 1;
    color: #fff;
    padding: 40px 36px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
    height: 100%
}

.promo-right h3 {
    font-size: 25px;
    line-height: 1.25;
    font-weight: bold;
    text-transform: uppercase;
}

.promo-right .hl {
    color: var(--yellow)
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, .85);
    color: #fff;
    background: transparent;
    padding: 10px 20px;
    font-weight: 800;
    width: max-content
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, .12)
}

/* Responsive */
@media (max-width: 1100px) {
    .header {
        flex-direction: column;
    }

    .hero-grid {
        grid-template-columns:1fr;
        gap: 20px
    }

    .logo-section, .contact-bar {
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .main-content {
        max-width: 70%;
        padding: 44px
    }

    .main-banner, .side-banner {
        min-height: 460px
    }

    .main-banner h1 {
        font-size: 35px
    }

    .promo-duo {
        grid-template-columns:1fr
    }

    .promo-left {
        grid-template-columns:1fr
    }

    .promo-left-media {
        min-height: 160px
    }
}

@media (max-width: 800px) {
    .header {
        flex-direction: column;
        
    }

    .promo-duo {
        margin-top: 16px;
        gap: 16px;
    }
}

@media (max-width: 640px) {
    .contact-bar {
        flex-direction: column;
        gap: 8px;
        padding: 16px
    }

    .logo-section {
        padding: 24px
    }

    .header-actions {
        gap: 0;
    }

    .container {
        margin: 20px auto;
        padding: 0 16px
    }

    .main-content {
        max-width: 100%;
        padding: 28px
    }

    .main-banner {
        min-height: 420px
    }

    .side-banner {
        min-height: 320px;
    }

    .main-banner h1 {
        font-size: 34px
    }

    .side-banner h2 {
        font-size: 34px
    }

    .promo-right h3 {
        font-size: 20px;
    }

    .tabs {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        font-size: 14px;
        flex-direction: column;
        text-align: center;
        gap: 2px;
    }
}

@media (max-width: 400px) {
    .tabs {
        grid-template-columns: repeat(1, 1fr);
    }
}


/* Improved primary shop button */
.main-banner .btn-outline-yellow {
    border-width: 2px;
    border-color: var(--yellow);
    color: #fff;
    padding: 14px 34px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .05), 0 2px 6px rgba(0, 0, 0, .12);
}

.main-banner .btn-outline-yellow:hover {
    background: rgba(253, 185, 19, .12);
    color: #fff;
    transform: translateY(-1px);
}

/* === Products Tabs === */
.products {
    margin-top: 28px;
    padding: 40px 0;
    background-color: #fff;
}

.tabs {
    display: none;
}

.tab-toggle {
    display: none;
}

.all-products {
    display: grid !important;
}

.panel {
    display: none;
}

.tab {
    padding: 10px 18px;
    border: 0;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    cursor: default
}

.tab-toggle {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.tab:not(.active) {
    background: #1e1e1e;
    color: #fff;
    opacity: .95;
    cursor: pointer;
    transition: all .4s
}

.tab.active, .tab:hover {
    background: var(--yellow);
    color: #fff
}

/* панели (по умолчанию скрыты) */
.panels .panel {
    display: none;
}

/* --- активный таб + показ нужной панели через :has() --- */
.products:has(#p-tab1:checked) .tabs label[for="p-tab1"],
.products:has(#p-tab2:checked) .tabs label[for="p-tab2"],
.products:has(#p-tab3:checked) .tabs label[for="p-tab3"],
.products:has(#p-tab4:checked) .tabs label[for="p-tab4"] {
    background: var(--yellow);
    color: #fff;
    opacity: 1;
}

/* показать соответствующую сетку */
.products:has(#p-tab1:checked) #panel1,
.products:has(#p-tab2:checked) #panel2,
.products:has(#p-tab3:checked) #panel3,
.products:has(#p-tab4:checked) #panel4 {
    display: grid;
}

.product-grid {
    display: grid;
    grid-template-columns:repeat(6, 1fr);
    gap: 5px;
}

@media (max-width: 1200px) {
    .product-grid {
        grid-template-columns:repeat(4, 1fr);
    }
}

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

    .products {
        padding: 10px 0;
    }
}

.product-grid {
    display: grid;
    grid-template-columns:repeat(6, 1fr);
    gap: 5px
}

.product-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 18px;
    transition: all .4s;
    border-radius: 20px;
}

.product-card:hover {
    border-color: var(--yellow);
}

.p-media {
    width: 100%;
    aspect-ratio: 1/1;
}

.p-media.p1 { background: url('images/products/product-1.webp') center/contain no-repeat }
.p-media.p2 { background: url('images/products/product-2.webp') center/contain no-repeat }
.p-media.p3 { background: url('images/products/product-3.webp') center/contain no-repeat }
.p-media.p4 { background: url('images/products/product-4.webp') center/contain no-repeat }
.p-media.p5 { background: url('images/products/product-5.webp') center/contain no-repeat }
.p-media.p6 { background: url('images/products/product-6.webp') center/contain no-repeat }

.p-media.p7 { background: url('images/products/product-7.webp') center/contain no-repeat }
.p-media.p8 { background: url('images/products/product-8.webp') center/contain no-repeat }
.p-media.p9 { background: url('images/products/product-9.webp') center/contain no-repeat }
.p-media.p10 { background: url('images/products/product-10.webp') center/contain no-repeat }
.p-media.p11 { background: url('images/products/product-11.webp') center/contain no-repeat }
.p-media.p12 { background: url('images/products/product-12.webp') center/contain no-repeat }

.p-media.p13 { background: url('images/products/product-13.webp') center/contain no-repeat }
.p-media.p14 { background: url('images/products/product-14.png') center/contain no-repeat }
.p-media.p15 { background: url('images/products/product-15.webp') center/contain no-repeat }
.p-media.p16 { background: url('images/products/product-16.webp') center/contain no-repeat }
.p-media.p17 { background: url('images/products/product-17.webp') center/contain no-repeat }
.p-media.p18 { background: url('images/products/product-18.webp') center/contain no-repeat }

.p-media.p19 { background: url('images/products/product-19.webp') center/contain no-repeat }
.p-media.p20 { background: url('images/products/product-20.webp') center/contain no-repeat }
.p-media.p21 { background: url('images/products/product-21.webp') center/contain no-repeat }
.p-media.p22 { background: url('images/products/product-22.webp') center/contain no-repeat }
.p-media.p23 { background: url('images/products/product-23.webp') center/contain no-repeat }
.p-media.p24 { background: url('images/products/product-24.webp') center/contain no-repeat }

.p-title {
    font-size: 14px;
    font-weight: 700;
    color: #555;
    margin-top: 10px
}

.p-rating {
    font-size: 14px;
    color: var(--yellow);
    margin: 4px 0 6px
}

.p-price {
    display: flex;
    gap: 8px;
    align-items: baseline;
}

.p-old {
    color: #999;
    text-decoration: line-through;
}

.p-new {
    color: #111;
    font-weight: bold
}

.btn-order {
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--yellow);
    color: #fff;
    font-weight: bold;
    min-width: 113px;
    max-height: 35px;
    border: none;
    padding: 10px 16px;
    cursor: pointer;
    transition: all .4s ease;
    text-transform: uppercase;
    letter-spacing: .04em;
    border-radius: 10px
}

.btn-order .order-icon {
    display: none;
}

.btn-order.in-cart span {
    display: none;
}


.btn-order.in-cart .order-icon {
    display: block;
}

.btn-order:hover {
    background: #111;
    transform: translateY(-2px);
}

.btn-order.in-cart {
    background: #111;
    padding-top: 7px;
    padding-bottom: 7px;
}


/* Responsive */
@media (max-width: 1200px) {
    .product-grid {
        grid-template-columns:repeat(4, 1fr)
    }
}

@media (max-width: 800px) {
    .product-grid {
        grid-template-columns:repeat(2, 1fr)
    }
}

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

    .products {
        padding: 10px 0;
    }
}

/* === Recent Products grid === */
.section-title {
    font-size: 30px;
    letter-spacing: .08em;
    font-weight: 900;
    text-align: center;
    margin: 8px 0 18px
}

.recent-products {
    margin-top: 28px;
    padding: 10px 0;
}

.recent-grid {
    display: grid;
    grid-template-columns:repeat(4, 1fr);
    gap: 20px
}

.recent-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .08);
    overflow: hidden;
    padding: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: box-shadow .2s ease, transform .2s ease;
    border-radius: 20px;
}

.recent-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
    transform: translateY(-2px)
}

.badge-wrap {
    position: relative;
    width: 100%
}

.sale-badge {
    position: absolute;
    left: 8px;
    top: 8px;
    background: var(--yellow);
    color: #fff;
    font-weight: 900;
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 999px
}

.r-media {
    width: 100%;
    aspect-ratio: 1/1;
    margin-top: 14px
}

.r-media.r1 { background: url('images/products/product-25.webp') center/contain no-repeat }
.r-media.r2 { background: url('images/products/product-26.webp') center/contain no-repeat }
.r-media.r3 { background: url('images/products/product-27.webp') center/contain no-repeat }
.r-media.r4 { background: url('images/products/product-28.webp') center/contain no-repeat }
.r-media.r5 { background: url('images/products/product-29.webp') center/contain no-repeat }
.r-media.r6 { background: url('images/products/product-31.webp') center/contain no-repeat }
.r-media.r7 { background: url('images/products/product-30.webp') center/contain no-repeat }
.r-media.r8 { background: url('images/products/product-32.webp') center/contain no-repeat }

.r-title {
    font-size: 13px;
    color: #666;
    margin-top: 8px
}

.r-rating {
    color: var(--yellow);
    font-size: 14px;
    margin: 6px 0
}

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

.r-old {
    color: #999;
    text-decoration: line-through
}

.r-new {
    color: #111;
    font-weight: 900
}

@media (max-width: 1100px) {
    .recent-grid {
        grid-template-columns:repeat(3, 1fr)
    }
}

@media (max-width: 800px) {
    .recent-grid {
        grid-template-columns:repeat(2, 1fr);
        gap: 5px;
    }
}

@media (max-width: 400px) {
    .recent-grid {
        grid-template-columns:repeat(1, 1fr)
    }
}

@media (max-width: 400px) {
    .section-title {
        font-size: 26px;
    }

    .recent-products {
        padding: 10px 0;
    }

    .recent-grid {
        gap: 5px;
    }
}

/* === Wide Banner === */
.wide-banner {
    position: relative;
    margin: 70px 0 28px;
    overflow: hidden;
    border-radius: 28px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .08);
    background: linear-gradient(135deg, #f8c56a 0%, #f3ac35 48%, #f59e0b 100%);
}

.banner-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, .26), transparent 32%),
        radial-gradient(circle at bottom right, rgba(255, 255, 255, .18), transparent 26%);
}

.banner-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: linear-gradient(90deg, rgba(0,0,0,.3), rgba(0,0,0,.08));
}

.banner-content {
    position: relative;
    z-index: 1;
    min-height: 250px;
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, .9fr);
    align-items: center;
    gap: 34px;
    padding: 38px 42px;
    color: #20180d;
}

.banner-copy {
    max-width: 760px;
}

.banner-content .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .22);
    border: 1px solid rgba(255, 255, 255, .28);
    font-weight: 800;
    letter-spacing: .05em;
    font-size: 12px;
    color: #fffdf6;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.banner-title {
    font-size: 42px;
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: .01em;
    color: #23190c;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.banner-text {
    max-width: 700px;
    font-size: 18px;
    line-height: 1.55;
    color: rgba(35, 25, 12, .82);
    margin-bottom: 26px;
}

.banner-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.banner-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 24px;
    border-radius: 14px;
    background: #141414;
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(20, 20, 20, .18);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.banner-btn:hover {
    transform: translateY(-2px);
    background: #000;
    box-shadow: 0 14px 28px rgba(20, 20, 20, .24);
}

.banner-mini-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.banner-mini-features span {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .4);
    color: #2d2110;
    font-size: 14px;
}

.banner-side {
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-self: end;
    width: 100%;
    max-width: 360px;
}

.banner-card,
.banner-stat {
    background: rgba(255, 255, 255, .2);
    border: 1px solid rgba(255, 255, 255, .35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .08);
}

.banner-card-main {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px;
    border-radius: 22px;
}

.banner-card-icon {
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    font-size: 28px;
    background: #171717;
    color: #f8ba40;
}

.banner-card-main strong,
.banner-stat strong {
    display: block;
    font-size: 20px;
    line-height: 1.15;
    color: #21170a;
}

.banner-card-main p,
.banner-stat span {
    margin: 6px 0 0;
    color: rgba(33, 23, 10, .76);
    font-size: 14px;
    line-height: 1.45;
}

.banner-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.banner-stat {
    padding: 18px 16px;
    border-radius: 20px;
}

@media (max-width: 960px) {
    .wide-banner {
        border-radius: 24px;
    }

    .banner-content {
        grid-template-columns: 1fr;
        padding: 34px 28px;
    }

    .banner-side {
        justify-self: start;
        max-width: 100%;
    }

    .banner-title {
        font-size: 34px;
    }
}

@media (max-width: 640px) {
    .wide-banner {
        margin-top: 48px;
        border-radius: 20px;
    }

    .banner-content {
        min-height: auto;
        padding: 28px 20px;
        gap: 20px;
    }

    .banner-title {
        font-size: 25px;
    }

    .banner-text {
        font-size: 16px;
    }

    .banner-stats {
        grid-template-columns: 1fr;
    }

    .banner-mini-features span {
        font-size: 13px;
    }
}

@media (max-width: 400px) {
    .banner-title {
        font-size: 22px;
    }
}

/* === Bottom Promo Banner === */
.bottom-promo {
    margin: 26px 0 0;
}

.bottom-promo-banner {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    min-height: 320px;
    background: linear-gradient(135deg, rgba(12, 16, 24, .9), rgba(16, 22, 34, .72)), url('images/main.jpg') center/cover no-repeat;
    box-shadow: 0 24px 48px rgba(0, 0, 0, .16);
}

.bottom-promo-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 15% 20%, rgba(245, 158, 11, .34), transparent 28%),
                radial-gradient(circle at 80% 30%, rgba(255, 214, 102, .18), transparent 24%),
                linear-gradient(90deg, rgba(15, 15, 15, .78) 0%, rgba(15, 15, 15, .56) 45%, rgba(15, 15, 15, .28) 100%);
}

.bottom-promo-content {
    position: relative;
    z-index: 1;
    min-height: 320px;
    padding: 46px 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.bottom-promo-copy {
    max-width: 720px;
}

.bottom-promo-tag {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(245, 158, 11, .16);
    border: 1px solid rgba(255, 255, 255, .16);
    color: #fff5dd;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.bottom-promo-copy h2 {
    margin: 0 0 14px;
    font-size: 40px;
    line-height: 1.08;
    font-weight: 900;
    color: #fff;
}

.bottom-promo-copy p {
    margin: 0;
    font-size: 18px;
    line-height: 1.65;
    color: rgba(255, 255, 255, .86);
}

.bottom-promo-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.bottom-promo-features span {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .1);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.bottom-promo-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    min-width: 235px;
}

.bottom-promo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 24px;
    border-radius: 14px;
    background: var(--yellow);
    color: #151515;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 14px 32px rgba(245, 158, 11, .3);
    transition: transform .2s ease, box-shadow .2s ease;
}

.bottom-promo-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(245, 158, 11, .38);
}

.bottom-promo-link {
    color: rgba(255, 255, 255, .84);
    text-decoration: none;
    font-weight: 600;
}

.bottom-promo-link:hover {
    color: #fff;
}

@media (max-width: 980px) {
    .bottom-promo-content {
        flex-direction: column;
        align-items: flex-start;
        padding: 38px 30px;
    }

    .bottom-promo-copy h2 {
        font-size: 32px;
    }
}

@media (max-width: 640px) {
    .bottom-promo-banner {
        border-radius: 22px;
        min-height: auto;
    }

    .bottom-promo-content {
        min-height: auto;
        padding: 28px 20px;
    }

    .bottom-promo-copy h2 {
        font-size: 26px;
    }

    .bottom-promo-copy p {
        font-size: 16px;
    }

    .bottom-promo-features span {
        width: 100%;
        justify-content: center;
    }

    .bottom-promo-actions {
        width: 100%;
    }

    .bottom-promo-btn {
        width: 100%;
    }
}

/* === Footer === */
.site-footer {
    background: #111;
    color: #eee;
    padding: 50px 0 20px;
    font-size: 15px;
    margin-top: 40px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer-col h4 {
    color: var(--yellow);
    font-weight: 800;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.footer-col a {
    color: var(--yellow);
    transition: color .3s ease;
}

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

.footer-col p {
    line-height: 1.6;
    color: #ccc;
}

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

.footer-col ul li {
    margin-bottom: 8px;
    color: #bbb;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 30px;
    color: #888;
    font-size: 14px;
}

@media (max-width: 640px) {
    .footer-container {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media (max-width: 400px) {
    .site-footer {
        margin-top: 10px;
    }
}

/* === Cart Modal === */
.cart-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.cart-modal.active {
    display: flex;
}

.cart-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.cart-box {
    position: relative;
    background: #fff;
    padding: 20px 24px;
    width: 50%;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 10;
    border-radius: 10px;
}

.cart-box header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 25px 0 10px;
    margin-bottom: 10px;
}

.cart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.cart-item h4 {
    font-size: 15px;
    font-weight: 400;
}

.cart-item button {
    border: none;
    background: transparent;
    color: #c00;
    cursor: pointer;
    font-weight: 700;
}

.cart-total {
    font-weight: 800;
    margin-bottom: 10px;
    text-align: right;
}

.cart-close {
    background: transparent;
    border: none;
    color: #444;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    transition: all 0.2s ease;
}

.cart-close:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #000;
    transform: rotate(90deg);
}


.btn-checkout {
    background: var(--yellow);
    border: none;
    color: #fff;
    font-weight: 700;
    padding: 14px 34px;
    cursor: pointer;
    text-transform: uppercase;
}

@media (max-width: 800px) {
    .cart-box {
        width: 90%;
    }

    .cart-box footer {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

/* === Checkout Modal === */
.checkout-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000
}

.checkout-modal.active {
    display: flex
}

.checkout-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .6)
}

.checkout-box {
    position: relative;
    background: #fff;
    width: min(720px, 92vw);
    max-height: 88vh;
    overflow: auto;
    padding: 20px 22px;
    z-index: 1
}

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

.checkout-close {
    line-height: 0;
    background: transparent;
    border: 0;
    color: #444;
    padding: 6px;
    cursor: pointer;
    transition: .2s
}

.checkout-close:hover {
    background: rgba(0, 0, 0, .06);
    color: #000;
    transform: rotate(90deg)
}

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

.form-grid label {
    display: flex;
    flex-direction: column;
    font-size: 14px;
    font-weight: 700;
    color: #333
}

.form-grid input, .form-grid select, .form-grid textarea {
    margin-top: 6px;
    border: 1px solid #e2e2e2;
    padding: 10px 12px;
    font-size: 14px;
    outline: none
}

.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus {
    border-color: var(--yellow, #FDB913);
    box-shadow: 0 0 0 3px rgba(253, 185, 19, .15)
}

.form-grid .full {
    grid-column: 1 / -1
}

.err {
    color: #c00;
    font-size: 12px;
    font-weight: 600;
    margin-top: 4px;
    min-height: 16px
}

.checkout-summary {
    display: flex;
    justify-content: flex-end;
    gap: 24px;
    margin: 16px 0 30px;
    font-size: 15px
}

.checkout-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px
}

.btn-primary {
    background: var(--yellow, #FDB913);
    color: #fff;
    border: 0;
    padding: 10px 16px;
    font-weight: 800;
    cursor: pointer;
    text-transform: uppercase
}

.btn-primary:hover {
    background: #dcae15
}

.btn-secondary {
    background: #111;
    color: #fff;
    border: 0;
    padding: 10px 16px;
    font-weight: 800;
    cursor: pointer;
    text-transform: uppercase
}

.btn-secondary:hover {
    opacity: .9
}

/* success */
.checkout-success {
    text-align: center;
    padding: 24px
}

.checkout-success h4 {
    font-size: 20px;
    margin-bottom: 8px
}

@media (max-width: 800px) {
    .form-grid {
        grid-template-columns: 1fr;
        gap: 5px;
    }
}





@media (max-width: 980px) {
    .promo-hero {
        grid-template-columns: 1fr;
    }

    .promo-left-text {
        border-radius: 24px 24px 0 0;
        align-items: center;
        text-align: center;
    }

    .promo-description {
        max-width: 100%;
    }

    .promo-features {
        justify-content: center;
    }

    .promo-right-media {
        min-height: 280px;
        border-radius: 0 0 24px 24px;
    }
}

@media (max-width: 640px) {
    .promo-left-text {
        padding: 34px 22px;
    }

    .promo-left-text h3 {
        font-size: 20px;
    }

    .promo-description {
        font-size: 15px;
    }

    .promo-right-media {
        min-height: 220px;
    }
}
