/* ==========================================================================
   ARAMBHA CATEGORY SHOWCASE PRO - FRAMEWORK STYLES (IMAGE 2 REPLICA)
   ========================================================================== */

:root {
    --acs-primary: #2563eb;
    --acs-primary-hover: #1d4ed8;
    --acs-dark-bg: #070b19;
    --acs-card-bg: #ffffff;
    --acs-border: #e2e8f0;
    --acs-text-main: #0f172a;
    --acs-text-muted: #64748b;
    --acs-accent-green: #10b981;
    --acs-accent-light-green: #ecfdf5;
    --acs-radius-sm: 8px;
    --acs-radius-md: 12px;
    --acs-radius-lg: 16px;
    --acs-radius-pill: 9999px;
    --acs-shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.05);
    --acs-shadow-hover: 0 12px 30px rgba(37, 99, 235, 0.12);
}

.acs-container {
    background-color: #f8fafc;
    color: var(--acs-text-main);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    padding-bottom: 60px;
    width: 100%;
}

/* ==========================================================================
   1. HERO BANNER SECTION (DARK TECH THEME)
   ========================================================================== */
.acs-hero-section {
    background: linear-gradient(135deg, #070b19 0%, #0f172a 55%, #1e1b4b 100%);
    position: relative;
    padding: 56px 0 80px 0;
    color: #ffffff;
    overflow: hidden;
}

.acs-hero-section::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -5%;
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.22) 0%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
}

.acs-hero-wrapper {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 440px;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.acs-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: #94a3b8;
    margin-bottom: 16px;
}

.acs-breadcrumb a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}

.acs-breadcrumb a:hover {
    color: #38bdf8;
}

.acs-breadcrumb span {
    color: #64748b;
}

.acs-hero-title {
    font-size: 3.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0 0 16px 0;
    color: #ffffff;
    line-height: 1.1;
}

.acs-hero-desc {
    font-size: 1.125rem;
    color: #cbd5e1;
    line-height: 1.6;
    max-width: 580px;
    margin: 0;
}

.acs-hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.acs-hero-img-box {
    position: relative;
    width: 100%;
    max-width: 420px;
    border-radius: var(--acs-radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(15, 23, 42, 0.6);
}

.acs-hero-img-box img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* ==========================================================================
   2. OVERLAPPING FEATURE BAR (WHITE FLOATING PILL BAR)
   ========================================================================== */
.acs-feature-bar-wrapper {
    max-width: 1320px;
    margin: -40px auto 48px auto;
    padding: 0 24px;
    position: relative;
    z-index: 10;
}

.acs-feature-bar {
    background: #ffffff;
    border-radius: var(--acs-radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 24px 32px;
    gap: 24px;
}

.acs-feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.acs-feature-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--acs-radius-md);
    background: #eff6ff;
    color: var(--acs-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.acs-feature-text h4 {
    margin: 0 0 2px 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--acs-text-main);
}

.acs-feature-text p {
    margin: 0;
    font-size: 0.825rem;
    color: var(--acs-text-muted);
}

/* ==========================================================================
   3. MAIN TWO-COLUMN LAYOUT (SIDEBAR + GRID)
   ========================================================================== */
.acs-main-layout {
    max-width: 1440px !important;
    width: 100% !important;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
    align-items: start;
}

/* LEFT SIDEBAR */
.acs-sidebar {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.acs-widget {
    background: #ffffff;
    border-radius: var(--acs-radius-lg);
    padding: 24px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.acs-widget-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--acs-text-main);
    margin: 0 0 18px 0;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}

/* Category Sidebar List */
.acs-sidebar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.acs-sidebar-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-radius: var(--acs-radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    color: #475569;
    text-decoration: none;
    transition: all 0.2s ease;
}

.acs-sidebar-link:hover {
    background: #f1f5f9;
    color: var(--acs-primary);
}

.acs-sidebar-link.active {
    background: var(--acs-primary);
    color: #ffffff;
    font-weight: 600;
}

.acs-sidebar-link i {
    font-size: 0.75rem;
    opacity: 0.7;
}

/* Filter By Widget */
.acs-filter-group {
    margin-bottom: 20px;
}

.acs-filter-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--acs-text-main);
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
}

.acs-price-slider {
    width: 100%;
    margin-top: 8px;
    accent-color: var(--acs-primary);
}

.acs-price-values {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--acs-text-muted);
    margin-top: 6px;
}

/* Checkbox List */
.acs-checkbox-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.acs-checkbox-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.875rem;
    color: #475569;
    cursor: pointer;
}

.acs-checkbox-item input[type="checkbox"] {
    accent-color: var(--acs-primary);
    width: 16px;
    height: 16px;
    margin-right: 8px;
    border-radius: 4px;
    cursor: pointer;
}

.acs-count-pill {
    font-size: 0.75rem;
    color: #94a3b8;
}

.acs-view-more {
    display: inline-block;
    margin-top: 8px;
    font-size: 0.825rem;
    font-weight: 600;
    color: var(--acs-primary);
    text-decoration: none;
}

.acs-view-more:hover {
    text-decoration: underline;
}

/* Star Rating Row */
.acs-stars-row {
    color: #f59e0b;
    display: flex;
    gap: 2px;
    font-size: 0.85rem;
}

.acs-btn-apply {
    width: 100%;
    padding: 12px;
    background: var(--acs-primary);
    color: #ffffff;
    border: none;
    border-radius: var(--acs-radius-md);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 10px;
}

.acs-btn-apply:hover {
    background: var(--acs-primary-hover);
}

.acs-btn-clear {
    display: block;
    text-align: center;
    margin-top: 12px;
    font-size: 0.825rem;
    color: var(--acs-text-muted);
    text-decoration: none;
}

.acs-btn-clear:hover {
    color: var(--acs-text-main);
}


/* RIGHT MAIN CONTENT AREA */
.acs-content-area {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.acs-results-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    padding: 14px 20px;
    border-radius: var(--acs-radius-md);
    border: 1px solid #e2e8f0;
}

.acs-results-count {
    font-size: 0.9rem;
    color: var(--acs-text-muted);
}

.acs-sort-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--acs-text-main);
    font-weight: 500;
}

.acs-sort-select {
    padding: 8px 14px;
    border-radius: var(--acs-radius-sm);
    border: 1px solid #cbd5e1;
    background: #ffffff;
    font-size: 0.875rem;
    color: var(--acs-text-main);
    outline: none;
    cursor: pointer;
}

/* PRODUCT GRID (3 COLUMNS) */
.acs-product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.acs-product-card {
    background: #ffffff;
    border-radius: var(--acs-radius-lg);
    border: 1px solid #e2e8f0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.acs-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
    border-color: #cbd5e1;
}

.acs-badge-bestseller {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--acs-accent-green);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 4px 10px;
    border-radius: var(--acs-radius-pill);
    z-index: 2;
    text-transform: uppercase;
}

.acs-card-img-wrap {
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    position: relative;
    background: #f8fafc;
    border-radius: var(--acs-radius-md);
}

.acs-card-img-wrap img {
    max-width: 90%;
    max-height: 160px;
    object-fit: contain;
}

.acs-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--acs-text-main);
    margin: 0 0 10px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.8em;
}

.acs-card-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    font-size: 0.825rem;
}

.acs-rating-stars {
    color: #f59e0b;
    display: flex;
    gap: 1px;
}

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

.acs-rating-count {
    color: var(--acs-text-muted);
}

.acs-card-price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.acs-price-current {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--acs-text-main);
}

.acs-price-old {
    font-size: 0.875rem;
    color: #94a3b8;
    text-decoration: line-through;
}

.acs-discount-tag {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--acs-accent-green);
    background: var(--acs-accent-light-green);
    padding: 2px 8px;
    border-radius: var(--acs-radius-sm);
}

.acs-card-btn {
    margin-top: auto;
    width: 100%;
    padding: 10px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: var(--acs-radius-md);
    color: var(--acs-text-main);
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    display: block;
}

.acs-card-btn:hover {
    background: var(--acs-primary);
    color: #ffffff;
    border-color: var(--acs-primary);
}

/* PAGINATION */
.acs-pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 16px;
}

.acs-pagination {
    display: flex;
    align-items: center;
    gap: 8px;
}

.acs-page-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: var(--acs-text-main);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s;
}

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

.acs-page-btn.active {
    background: var(--acs-primary);
    color: #ffffff;
    border-color: var(--acs-primary);
}

.acs-page-next {
    width: auto;
    padding: 0 16px;
    border-radius: var(--acs-radius-pill);
}

/* ==========================================================================
   4. POPULAR BUYING GUIDES SECTION
   ========================================================================== */
.acs-guides-section {
    max-width: 1320px;
    margin: 60px auto 0 auto;
    padding: 0 24px;
}

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

.acs-section-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--acs-text-main);
    margin: 0;
}

.acs-view-all-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--acs-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

.acs-view-all-link:hover {
    text-decoration: underline;
}

.acs-guides-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.acs-guide-card {
    background: #ffffff;
    border-radius: var(--acs-radius-lg);
    border: 1px solid #e2e8f0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    color: inherit;
}

.acs-guide-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

.acs-guide-img {
    width: 100%;
    height: 130px;
    object-fit: cover;
    background: #f1f5f9;
}

.acs-guide-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.acs-guide-badge {
    align-self: flex-start;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: var(--acs-radius-sm);
    background: #eff6ff;
    color: var(--acs-primary);
    margin-bottom: 10px;
}

.acs-guide-badge.comparison {
    background: #fef3c7;
    color: #d97706;
}

.acs-guide-badge.tips {
    background: #f3e8ff;
    color: #9333ea;
}

.acs-guide-title {
    font-size: 0.925rem;
    font-weight: 700;
    color: var(--acs-text-main);
    margin: 0 0 12px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.acs-guide-meta {
    font-size: 0.75rem;
    color: var(--acs-text-muted);
    margin-top: auto;
}

/* ==========================================================================
   5. WHY USERS TRUST ARAMBHA SECTION
   ========================================================================== */
.acs-trust-section {
    max-width: 1320px;
    margin: 60px auto 0 auto;
    padding: 0 24px;
}

.acs-trust-header {
    text-align: center;
    margin-bottom: 32px;
}

.acs-trust-header h3 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--acs-text-main);
    margin: 0;
}

.acs-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.acs-trust-card {
    background: #ffffff;
    border-radius: var(--acs-radius-lg);
    border: 1px solid #e2e8f0;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.acs-trust-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #eff6ff;
    color: var(--acs-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.acs-trust-info h5 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--acs-text-main);
    margin: 0 0 2px 0;
}

.acs-trust-info p {
    font-size: 0.8rem;
    color: var(--acs-text-muted);
    margin: 0;
}

/* ==========================================================================
   6. NEWSLETTER BANNER SECTION
   ========================================================================== */
.acs-subscribe-banner {
    max-width: 1320px;
    margin: 60px auto 0 auto;
    padding: 0 24px;
}

.acs-subscribe-card {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #4f46e5 100%);
    border-radius: 20px;
    padding: 40px 48px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.25);
}

.acs-sub-text {
    display: flex;
    align-items: center;
    gap: 20px;
}

.acs-sub-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.acs-sub-info h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 0 6px 0;
}

.acs-sub-info p {
    font-size: 0.95rem;
    color: #e0e7ff;
    margin: 0;
}

.acs-sub-form {
    display: flex;
    gap: 12px;
    min-width: 400px;
}

.acs-sub-input {
    flex: 1;
    padding: 14px 20px;
    border-radius: var(--acs-radius-md);
    border: none;
    font-size: 0.9rem;
    outline: none;
}

.acs-sub-btn {
    padding: 14px 28px;
    border-radius: var(--acs-radius-md);
    border: none;
    background: #0f172a;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.acs-sub-btn:hover {
    background: #1e293b;
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 1200px) {
    .acs-guides-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .acs-hero-wrapper {
        grid-template-columns: 1fr;
    }
    .acs-hero-visual {
        display: none;
    }
    .acs-feature-bar {
        grid-template-columns: repeat(2, 1fr);
    }
    .acs-main-layout {
        grid-template-columns: 1fr;
    }
    .acs-product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .acs-trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .acs-subscribe-card {
        flex-direction: column;
        text-align: center;
        padding: 32px 24px;
    }
    .acs-sub-text {
        flex-direction: column;
    }
    .acs-sub-form {
        width: 100%;
        min-width: unset;
    }
}

@media (max-width: 640px) {
    .acs-feature-bar {
        grid-template-columns: 1fr;
    }
    .acs-product-grid {
        grid-template-columns: 1fr;
    }
    .acs-guides-grid {
        grid-template-columns: 1fr;
    }
    .acs-trust-grid {
        grid-template-columns: 1fr;
    }
    .acs-hero-title {
        font-size: 2.25rem;
    }
    .acs-sub-form {
        flex-direction: column;
    }
}

/* ==========================================================================
   CATEGORY CAROUSEL PRO CONTAINER OVERRIDES FOR CATEGORY SHOWCASE
   ========================================================================== */
.acs-category-carousel-section {
    max-width: 1320px !important;
    margin: 35px auto 15px auto !important;
    padding: 0 24px !important;
}

.acs-category-carousel-section .stc-section {
    margin-top: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

.acs-category-carousel-section .stc-title {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    text-align: left !important;
    margin-bottom: 16px !important;
}
