
.page-wrap {
    max-width: 1520px;
    padding: 0;
    margin: 0 auto;
    width: 100%;
}
.catalog-container {
    max-width: 1520px;
    margin: 0 auto;
    padding: 0 15px;
}
@media (min-width: 992px) {
    .catalog-container {
        padding: 0;
    }
}

/* =========================================
   # 1. HERO SLIDER
   ========================================= */
.hero-section {
    position: relative;
    z-index: 1;
    margin-top: 0px;
    background: transparent;
    border-bottom: none;
}
.hero-section .wrap { display: block; position: relative; max-width: 1520px; margin: 0 auto; padding: 0; }
.hero-section .wrap .slider-wrapper { width: 100%; margin: 0 auto; max-width: 1520px; border-radius: 16px; overflow: hidden; }

.hero-section .slider-wrapper .item a { display: flex; align-items: center; justify-content: center; background: var(--brand-dark); }
.hero-section .slider-wrapper .item a img { max-width: 100%; display: block; opacity: 0.95; }
@media (max-width: 767px) {
    .hero-section .slider-wrapper .item a img {
        height: 280px;
        object-fit: cover;
        object-position: center;
        border-radius: 12px;
    }
    .hero-section .wrap { padding: 0 15px; padding-top: 15px; } /* Breathable edges on mobile */
    .hero-section .wrap .slider-wrapper { border-radius: 12px; }
}

.hero-slider:hover .owl-nav { opacity: 1; visibility: initial; }

.hero-slider .owl-nav button { position: absolute; top: 50%; transform: translateY(-50%); background: transparent; color: rgba(255,255,255,0.6); width: 44px; height: 44px; border: none; display: flex; align-items: center; justify-content: center; z-index: 10; cursor: pointer; transition: color 0.2s; }
.hero-slider .owl-nav button:hover { color: #fff; }
.hero-slider .owl-nav button svg { width: 32px; height: 32px; stroke-width: 1.5; }
.hero-slider .owl-nav .owl-prev { left: 10px; }
.hero-slider .owl-nav .owl-next { right: 10px; }
.hero-slider .owl-dots { position: absolute; bottom: 15px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 10; }
.hero-slider .owl-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.4); border: transparent; transition: all 0.2s; }
.hero-slider .owl-dot.active { width: 24px; border-radius: 4px; background: #fff; }

/* =========================================
   # 2. MODERN CATEGORY CARDS
   ========================================= */
.categories-section { padding-top: 15px; padding-bottom: 20px; }
.modern-categories-grid { 
    display: grid; 
    grid-template-columns: repeat(8, 1fr); 
    gap: 16px; 
}
@media (max-width: 1199px) { .modern-categories-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 767px) { .modern-categories-grid { grid-template-columns: repeat(2, 1fr); } }

.modern-category-card {
    background: #ffffff;
    border: 1px solid var(--brand-border);
    border-radius: 12px;
    padding: 25px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
    aspect-ratio: 3/4;
}
.modern-category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px -10px rgba(0,0,0,0.1), 0 8px 15px -12px rgba(0,0,0,0.05);
    border-color: #cbd5e1;
}
.modern-category-card .img-box {
    width: 100%;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.modern-category-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: transform 0.3s;
}
.modern-category-card:hover img {
    transform: scale(1.1);
}
.modern-category-card .cat-name {
    color: var(--brand-dark);
    font-size: 13.5px;
    font-weight: 700;
    text-align: center;
    line-height: 1.3;
    transition: color 0.2s;
    font-family: 'Open Sans', sans-serif;
}
.modern-category-card:hover .cat-name {
    color: var(--brand-primary);
}

/* =========================================
   # 3. UNIFIED PRODUCT SECTIONS
   ========================================= */
.modern-section-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin: 50px 0 20px 0;
    padding: 0;
}
.modern-section-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--brand-dark);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}
.modern-badge {
    font-size: 13px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.modern-link-all {
    font-size: 14px;
    font-weight: 700;
    color: var(--brand-primary-hover); /* WCAG AA compliant */
    text-decoration: none;
    transition: color 0.2s;
}
.modern-link-all:hover {
    color: var(--brand-primary-hover);
    text-decoration: underline;
}

/* =========================================
   # 4. PREMIUM SPLIT BREAKER
   ========================================= */
.modern-visual-breaker {
    display: flex;
    position: relative;
    border-radius: 20px;
    margin: 60px 0;
    overflow: hidden;
    min-height: 400px;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
}
.visual-breaker-content {
    position: relative;
    z-index: 3;
    flex: 0 0 45%;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.visual-breaker-text {
    max-width: 480px;
    display: flex;
    flex-direction: column;
}
.breaker-badge {
    display: inline-block;
    align-self: flex-start;
    background: rgba(14, 165, 233, 0.15);
    color: #38bdf8;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}
.breaker-title {
    font-size: 38px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}
.breaker-desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin-bottom: 35px;
}
.breaker-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-primary-hover); /* WCAG AA compliant */
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    align-self: flex-start;
}
.breaker-btn:hover {
    background: var(--brand-primary-hover);
    transform: translateY(-2px);
    color: #fff;
    box-shadow: 0 8px 20px -6px rgba(14, 165, 233, 0.4);
}
.visual-breaker-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.visual-breaker-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(15,23,42,0.95) 0%, rgba(15,23,42,0.7) 35%, transparent 70%);
    z-index: 2;
}
.visual-breaker-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
    transition: transform .7s cubic-bezier(0.16, 1, 0.3, 1);
}
.modern-visual-breaker:hover .visual-breaker-image img {
    transform: scale(1.06);
}
@media (max-width: 991px) {
    .modern-visual-breaker { flex-direction: column-reverse; margin: 40px 0; }
    .visual-breaker-content { padding: 40px 30px; }
    .breaker-title { font-size: 28px; }
    .visual-breaker-image { padding: 40px; }
    .visual-breaker-image::before {
        top: -2px; left: 0; width: 100%; height: 150px;
        background: linear-gradient(to bottom, var(--brand-dark) 0%, transparent 100%);
    }
}

/* Horizontal Scroller for products mapped to catalog partial */
/* Horizontal Scroller for products mapped to catalog partial */
.modern-horizontal-scroller {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    padding: 10px 0 40px;
}

@media (max-width: 1199px) {
    .modern-horizontal-scroller { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 991px) {
    .modern-horizontal-scroller { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767px) {
    /* Mobile-Only Swipe Slider */
    .modern-horizontal-scroller {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none; 
    }
    .modern-horizontal-scroller::-webkit-scrollbar { display: none; }
    .modern-horizontal-scroller > * {
        flex: 0 0 260px;
        scroll-snap-align: start;
    }
}
@media (max-width: 576px) {
    .modern-horizontal-scroller > * { flex: 0 0 calc(100vw - 60px); }
}

/* =========================================
   # 5. UI TOOLKIT PREVIEW GALLERY
   ========================================= */
.ui-toolkit-preview { margin-top: 80px; padding-top: 60px; border-top: 2px dashed #cbd5e1; }
.ui-toolkit-title { font-size: 24px; font-weight: 700; color: var(--brand-dark); text-align: center; margin-bottom: 40px; }

/* 5.1 Duo Split */
.modern-duo-split { display: flex; gap: 24px; margin-bottom: 60px; }
.duo-card { flex: 1; border-radius: 20px; padding: 50px; display: flex; justify-content: space-between; align-items: center; text-decoration: none; overflow: hidden; position: relative; transition: transform 0.3s; min-height: 280px; }
.duo-card:hover { transform: translateY(-4px); }
.duo-card.light { background: #f1f5f9; }
.duo-card.dark { background: var(--brand-dark); color: #fff; }
.duo-card.light h3 { color: var(--brand-dark); }
.duo-card h3 { font-size: 32px; font-weight: 700; margin-bottom: 12px; }
.duo-card .btn-link { font-size: 15px; font-weight: 700; color: var(--brand-primary); }
.duo-card img { max-height: 200px; transition: transform 0.5s; transform-origin: right; mix-blend-mode: multiply; }
.duo-card.dark img { mix-blend-mode: luminosity; opacity: 0.8; }
.duo-card:hover img { transform: scale(1.1); }

/* 5.2 Cinematic Edge */
.modern-cinematic-banner { width: 100vw; position: relative; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw; height: 500px; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; margin-bottom: 60px; }
.cinematic-bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: brightness(0.4) contrast(1.2); z-index: 1; }
.cinematic-content { position: relative; z-index: 2; max-width: 800px; padding: 0 20px; }
.cinematic-content .badge { background: var(--brand-danger); color: #fff; padding: 6px 12px; border-radius: 4px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 20px; display: inline-block; }
.cinematic-content h2 { font-size: 52px; font-weight: 700; margin-bottom: 20px; line-height: 1.1; }
.cinematic-content p { font-size: 18px; color: #cbd5e1; margin-bottom: 30px; }
.btn-cinematic { background: #fff; color: var(--brand-dark); padding: 14px 32px; border-radius: 8px; font-weight: 700; font-size: 16px; text-decoration: none; transition: all 0.3s; display: inline-block; }
.btn-cinematic:hover { background: var(--brand-primary); color: #fff; transform: scale(1.05); }

/* 5.3 Flagship Product Showcase */
.modern-flagship-showcase { display: flex; background: #fff; border: 1px solid var(--brand-border); border-radius: 24px; overflow: hidden; margin: 60px 0; box-shadow: 0 10px 25px -5px rgba(0,0,0,0.05); }
.flagship-image { flex: 0 0 50%; display: flex; align-items: center; justify-content: center; position: relative; border-right: 1px solid var(--brand-border); overflow: hidden; background: var(--brand-dark); min-height: 480px; }
.flagship-badge { position: absolute; top: 30px; left: 30px; background: rgba(15, 23, 42, 0.85); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff; padding: 6px 12px; border-radius: 6px; font-size: 12px; font-weight: 800; text-transform: uppercase; z-index: 10; box-shadow: 0 4px 10px rgba(0,0,0,0.2); letter-spacing: 0.05em; }
.flagship-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.modern-flagship-showcase:hover .flagship-image img { transform: scale(1.05); }
.flagship-details { flex: 1; padding: 60px 40px; display: flex; flex-direction: column; justify-content: center; }
.flagship-details h3 { font-size: 32px; font-weight: 700; color: var(--brand-dark); margin-bottom: 15px; }
.flagship-details p { font-size: 15px; color: var(--brand-text-muted); line-height: 1.6; margin-bottom: 30px; }
.flagship-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-bottom: 40px; }
.flagship-spec { background: var(--brand-light); padding: 12px; border-radius: 8px; border: 1px solid var(--brand-border); }
.flagship-spec .lbl { display: block; font-size: 11px; color: var(--brand-text-muted); font-weight: 700; text-transform: uppercase; }
.flagship-spec .val { display: block; font-size: 14px; color: var(--brand-dark); font-weight: 700; margin-top: 2px;}
.flagship-action { display: flex; align-items: center; justify-content: space-between; padding-top: 20px; border-top: 1px solid var(--brand-border); }
.flagship-action .price { font-size: 32px; font-weight: 700; color: var(--brand-primary-hover); }
.flagship-action .price span { font-size: 16px; color: var(--brand-text-muted); }
.btn-flagship { background: var(--brand-dark); color: #fff; padding: 12px 24px; border-radius: 8px; font-weight: 700; border: none; cursor: pointer; transition: background 0.2s; display: inline-flex; align-items: center; justify-content: center; }
.btn-flagship:hover { background: var(--brand-primary); }
.btn-flagship-outline { background: transparent; color: var(--brand-dark); padding: 12px 24px; border-radius: 8px; font-weight: 700; border: 2px solid var(--brand-border); text-decoration: none; display: inline-flex; align-items: center; justify-content: center; transition: all 0.2s; }
.btn-flagship-outline:hover { border-color: var(--brand-dark); background: var(--brand-light); color: var(--brand-dark); }

/* 5.4 Brands Bento */
.modern-brands-bento { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; margin-bottom: 60px; height: 400px; }
.bento-block { position: relative; border-radius: 20px; overflow: hidden; display: flex; padding: 40px; text-decoration: none; transition: transform 0.3s; }
.bento-block:hover { transform: translateY(-4px); }
.bento-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 0.5s; z-index: 1;}
.bento-block:hover .bento-bg { transform: scale(1.05); }
.bento-content { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: space-between; width: 100%; }
.bento-col-right { display: flex; flex-direction: column; gap: 24px; }
.bento-col-right .bento-block { flex: 1; padding: 30px; }

/* 5.5 Mini Categories */
.modern-mini-cats { display: flex; background: var(--brand-dark); border-radius: 16px; padding: 20px 40px; justify-content: space-between; margin-bottom: 60px; box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1); }
.mini-cat { display: flex; align-items: center; gap: 12px; color: var(--brand-light); text-decoration: none; transition: color 0.2s; }
.mini-cat:hover { color: var(--brand-primary); }
.mini-cat .icon { font-size: 24px; }
.mini-cat span { font-size: 15px; font-weight: 700; }

@media (max-width: 991px) {
    .modern-duo-split { flex-direction: column; }
    .modern-flagship-showcase { flex-direction: column; }
    .modern-brands-bento { grid-template-columns: 1fr; height: auto; }
    .bento-large { height: 300px; }
    .modern-mini-cats { flex-wrap: wrap; gap: 20px; justify-content: center; }
}





/* =========================================
   # 6. SEO FOOTER
   ========================================= */
.seo-footer-section { background: #fff; border-top: 1px solid var(--brand-border); padding: 60px 0; }
.seo-footer-title { font-size: 24px; font-weight: 700; color: var(--brand-dark); margin-bottom: 15px; }
.seo-footer-desc { color: var(--brand-text-muted); font-size: 15px; line-height: 1.6; max-width: 900px; margin: 0 auto; }

/* =========================================
   # 7. HOMEPAGE MODERN HERO SLIDER
   ========================================= */
.modern-hero { width: 100%; margin: 0 auto; padding: 0 20px; max-width: 1560px; margin-bottom: 20px; }
.hero-css-slider { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; gap: 20px; border-radius: 20px; }
.hero-css-slider::-webkit-scrollbar { display: none; }
.hero-split-slide { flex: 0 0 100%; scroll-snap-align: start; display: flex; align-items: center; background: #000; border-radius: 20px; overflow: hidden; min-height: 520px; position: relative; contain: layout style paint; }

/* Text Content Overlay (Cinematic Mode) */
.hero-content { display: flex; flex-direction: column; justify-content: center; padding: 60px 80px; z-index: 10; align-items: flex-start; position: relative; width: 60%; }
.hero-title { font-size: 38px; font-weight: 700; color: #ffffff; line-height: 1.1; margin-bottom: 20px; letter-spacing: -0.76px; font-family: 'Open Sans', sans-serif; text-shadow: 0 2px 10px rgba(0,0,0,0.3); }
.hero-subtitle { font-size: 19px; color: #cbd5e1; line-height: 1.5; margin-bottom: 40px; font-family: 'Open Sans', sans-serif; font-weight: 500; max-width: 90%; text-shadow: 0 1px 5px rgba(0,0,0,0.3); }
.hero-btn { display: inline-flex; align-items: center; justify-content: center; background: rgba(2, 119, 189, 0.9); backdrop-filter: blur(5px); color: #ffffff; font-weight: bold; padding: 15px 36px; border-radius: 100px; text-decoration: none; font-size: 16px; transition: all 0.3s ease; border: 1px solid rgba(255,255,255,0.2); }
.hero-btn:hover { background: #0277BD; color: #ffffff; transform: translateY(-2px); box-shadow: 0 10px 25px -5px rgba(2, 119, 189, 0.5); }

/* Cinematic Full-Bleed Imaging */
.hero-visual { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.hero-split-slide:hover .hero-visual img { transform: scale(1.03); }

/* Deep Gradient Overlay for Typography Contrast */
.hero-visual::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to right, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 45%, transparent 100%); z-index: 2; pointer-events: none; }

/* Mobile Stack Resizing */
@media (max-width: 991px) {
    .modern-hero { padding: 0 10px; margin-bottom: 30px; margin-top: 10px; }
    .hero-split-slide { flex-direction: column; align-items: stretch; border-radius: 16px; min-height: 500px; }
    .hero-content { width: 100%; padding: 40px 25px; text-align: center; align-items: center; justify-content: flex-end; padding-top: 120px; }
    .hero-visual { height: 100%; position: absolute; inset: 0; }
    /* Flip the gradient vertically for mobile text at bottom */
    .hero-visual::before { background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 40%, transparent 80%); }
    .hero-title { font-size: 34px; margin-bottom: 15px; }
    .hero-subtitle { font-size: 16px; margin-bottom: 30px; }
    .hero-btn { width: 100%; }
}
@media (max-width: 575px) {
    .hero-split-slide { min-height: 400px; }
    .hero-title { font-size: 28px; }
}


