/*
=================================================================
ThemeBazarShop - Premium Marketplace CSS
Dark Violet Luxury Design
=================================================================
*/

/* CSS Variables - Luxury Color Scheme */
:root {
    --primary: #7C3AED;
    --primary-dark: #6D28D9;
    --primary-light: #A78BFA;
    --secondary: #EC4899;
    --accent: #06B6D4;
    --danger: #EF4444;
    --success: #10B981;
    --warning: #F59E0B;
    
    --bg-dark: #0F172A;
    --bg-light: #1E293B;
    --bg-lightnn: #d3cced;
    --bg-lighter: #334155;
    --bg-white: #F8FAFC;
    
    --text-dark: #0F172A;
    --text-light: #F8FAFC;
    --text-muted: #64748B;
    
    --border: #E2E8F0;
    --border-dark: #475569;
    
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    --transition: all 0.3s ease;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Grid */
.grid { display: grid; }
.row { display: flex; flex-wrap: wrap; }

/* Sections */
.section {
    padding: 5rem 0;
}

.section.bg-light {
    background: var(--bg-white);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    border-color: var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1.125rem; }
.btn-block { width: 100%; }
.btn-danger { background: var(--danger); color: white; }

/* Topbar */
.topbar {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-dark);
}

.topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar-link {
    color: var(--text-light);
    padding: 0.5rem 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

/* Header / Navigation */
.header {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
    position: relative;
    z-index: 100;
}

.sticky-header {
    position: sticky;
    top: 0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
}

/* DV circle monogram */
.logo-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #0f172a;
    border: 2px solid rgba(124, 58, 237, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    font-size: 1.05rem;
    font-weight: 900;
    letter-spacing: -1px;
    box-shadow: 0 0 14px rgba(249, 115, 22, 0.25), 0 0 0 1px rgba(124,58,237,0.2);
    transition: box-shadow 0.2s, transform 0.2s;
}

.logo-circle:hover,
.logo-link:hover .logo-circle {
    box-shadow: 0 0 22px rgba(249, 115, 22, 0.45), 0 0 0 2px rgba(249,115,22,0.4);
    transform: scale(1.06);
}

.logo-circle--lg {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
}

.lc-d { color: #9ca3af; }
.lc-v { color: #f97316; }

.logo-text {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.01em;
}

.logo-img {
    height: 36px;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    gap: 0.5rem;
    flex: 1;
}

.nav-link {
    padding: 0.75rem 1rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    background: var(--bg-lighter);
    color: var(--primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: var(--bg-light);
    border: none;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    position: relative;
}

.btn-icon:hover {
    background: var(--primary);
    color: white;
}

.header-actions .btn-icon {
    color: white;
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--danger);
    color: white;
    border-radius: var(--radius-full);
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

/* User Dropdown Menu */
.user-menu {
    position: relative;
}

.user-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--bg-card, #1e1b4b);
    border: 1px solid rgba(124,58,237,0.25);
    border-radius: var(--radius, 10px);
    min-width: 190px;
    padding: 8px 0;
    padding-top: 18px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.35);
    z-index: 9999;
    animation: dropdownFadeIn 0.18s ease;
    pointer-events: auto;
}

.user-dropdown.active,
.user-menu:hover .user-dropdown {
    display: block;
}

@keyframes dropdownFadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.user-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    color: var(--text-light, #e2e8f0);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
}

.user-dropdown a:hover {
    background: rgba(124,58,237,0.18);
    color: var(--primary, #7C3AED);
}

.user-dropdown hr {
    margin: 6px 12px;
    border: none;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.user-dropdown a:last-child {
    color: #f87171;
}

.user-dropdown a:last-child:hover {
    background: rgba(248,113,113,0.12);
    color: #f87171;
}

/* =====================================================
   CART PAGE — MNC QUALITY DESIGN
   ===================================================== */

/* Page Hero */
.cart-page-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 60%, #0f172a 100%);
    padding: 2.5rem 0 2rem;
    border-bottom: 1px solid rgba(124,58,237,0.2);
}

.cart-hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.5);
    margin-bottom: 0.6rem;
}

.breadcrumb a {
    color: rgba(255,255,255,0.5);
    transition: color 0.2s;
}

.breadcrumb a:hover { color: #a78bfa; }
.breadcrumb i { font-size: 0.65rem; }
.breadcrumb span { color: #a78bfa; font-weight: 500; }

.cart-hero-title {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cart-hero-title i { color: #a78bfa; }

.cart-hero-sub {
    color: rgba(255,255,255,0.55);
    font-size: 0.9rem;
    margin: 0;
}

/* Checkout Steps */
.cart-steps {
    display: flex;
    align-items: center;
    gap: 0;
}

.cart-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
}

.cart-step span {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
    font-weight: 500;
}

.cart-step.active span { color: #a78bfa; }

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: 2px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.35);
    font-size: 0.9rem;
    transition: var(--transition);
}

.cart-step.active .step-circle {
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    border-color: #7c3aed;
    color: #fff;
    box-shadow: 0 0 20px rgba(124,58,237,0.45);
}

.cart-step-line {
    width: 60px;
    height: 2px;
    background: rgba(255,255,255,0.12);
    margin: 0 4px;
    margin-bottom: 20px;
}

/* Main Section */
.cart-section {
    padding: 2.5rem 0 4rem;
    background: #f8fafc;
    min-height: 60vh;
}

/* Two-column layout */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 2rem;
    align-items: start;
}

/* Card */
.cart-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e8eaf0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    overflow: hidden;
}

.cart-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #f0f2f8;
}

.cart-card-header h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-card-header h3 i { color: #7c3aed; }

.continue-link {
    font-size: 0.82rem;
    font-weight: 600;
    color: #7c3aed;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    transition: color 0.2s;
}

.continue-link:hover { color: #6d28d9; }

/* Cart Table */
.cart-table-wrap {
    overflow-x: auto;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
}

.cart-table thead th {
    padding: 0.85rem 1.25rem;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #94a3b8;
    background: #f8fafc;
    border-bottom: 1px solid #f0f2f8;
}

.cart-table .col-action { width: 48px; text-align: center; }
.cart-table .col-price,
.cart-table .col-total { text-align: right; white-space: nowrap; }

.cart-row {
    border-bottom: 1px solid #f0f2f8;
    transition: background 0.15s;
}

.cart-row:last-child { border-bottom: none; }
.cart-row:hover { background: #fafbff; }

.cart-row td {
    padding: 1.1rem 1.25rem;
    vertical-align: middle;
}

/* Product Cell */
.product-cell {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 240px;
}

.product-thumb {
    width: 72px;
    height: 54px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f0f2f8;
    border: 1px solid #e2e8f0;
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ede9fe, #ddd6fe);
    color: #7c3aed;
    font-size: 1.4rem;
}

.product-meta {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.product-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    text-decoration: none;
    transition: color 0.2s;
    line-height: 1.3;
}

.product-name:hover { color: #7c3aed; }

.product-type,
.product-license {
    font-size: 0.72rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* Price Cell */
.price-cell {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.15rem;
}

.price-current {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
}

.price-original {
    font-size: 0.78rem;
    color: #94a3b8;
    text-decoration: line-through;
}

.line-total {
    font-size: 1rem;
    font-weight: 800;
    color: #7c3aed;
}

/* Remove Button */
.btn-remove-item {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid #fee2e2;
    background: #fff5f5;
    color: #ef4444;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: var(--transition);
}

.btn-remove-item:hover {
    background: #ef4444;
    color: #fff;
    border-color: #ef4444;
}

/* Trust Strip */
.trust-strip {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.trust-pill {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    background: #fff;
    border: 1px solid #e8eaf0;
    border-radius: 999px;
    padding: 0.45rem 1rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: #475569;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.trust-pill i { color: #7c3aed; font-size: 0.8rem; }

/* ── ORDER SUMMARY CARD ── */
.summary-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e8eaf0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    overflow: hidden;
    position: sticky;
    top: 90px;
}

.summary-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #f0f2f8;
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
}

.summary-header h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.summary-header h3 i { color: #a78bfa; }

.summary-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

/* Coupon */
.coupon-label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.coupon-label i { color: #f59e0b; }

.coupon-row {
    display: flex;
    gap: 0.5rem;
}

.coupon-input {
    flex: 1;
    padding: 0.6rem 0.9rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.85rem;
    outline: none;
    transition: border-color 0.2s;
    background: #f8fafc;
    color: #0f172a;
}

.coupon-input:focus { border-color: #7c3aed; background: #fff; }

.btn-apply {
    padding: 0.6rem 1rem;
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition);
}

.btn-apply:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(124,58,237,0.35); }

/* Summary Lines */
.summary-divider {
    height: 1px;
    background: #f0f2f8;
    margin: 0 -0.5rem;
}

.summary-lines {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.88rem;
    color: #475569;
}

.summary-line span em {
    font-style: normal;
    color: #94a3b8;
    font-size: 0.78rem;
}

.summary-line strong { color: #0f172a; font-weight: 600; }
.summary-line strong.text-success { color: #10b981; }

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.1rem;
    background: linear-gradient(135deg, #f5f3ff, #ede9fe);
    border-radius: 10px;
    border: 1px solid #ddd6fe;
}

.summary-total span {
    font-size: 0.95rem;
    font-weight: 700;
    color: #4c1d95;
}

.summary-total strong {
    font-size: 1.35rem;
    font-weight: 900;
    color: #7c3aed;
}

.checkout-btn {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    color: #fff !important;
    font-size: 1rem;
    padding: 0.9rem 1.5rem;
    border-radius: 10px;
    justify-content: center;
    box-shadow: 0 4px 18px rgba(124,58,237,0.35);
    transition: var(--transition);
    text-align: center;
    display: flex;
}

.checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(124,58,237,0.45);
    color: #fff !important;
}

/* Payment Icons */
.accepted-payments {
    text-align: center;
    margin-top: 0.25rem;
}

.accepted-payments span {
    font-size: 0.72rem;
    color: #94a3b8;
    font-weight: 500;
    display: block;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.payment-icons {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    font-size: 1.6rem;
    color: #94a3b8;
}

.payment-icons i:hover { color: #7c3aed; }

/* ── EMPTY CART ── */
.empty-cart {
    text-align: center;
    padding: 5rem 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.empty-cart-icon {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ede9fe, #ddd6fe);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem;
    color: #7c3aed;
    margin: 0 auto 2rem;
    box-shadow: 0 8px 30px rgba(124,58,237,0.2);
}

.empty-cart h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.75rem;
}

.empty-cart p {
    color: #64748b;
    font-size: 1rem;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.empty-cart-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 900px) {
    .cart-layout {
        grid-template-columns: 1fr;
    }
    .summary-card { position: static; }
    .cart-hero-inner { flex-direction: column; align-items: flex-start; }
    .cart-steps { display: none; }
}

@media (max-width: 600px) {
    .cart-hero-title { font-size: 1.5rem; }
    .product-cell { min-width: 0; }
    .product-thumb { width: 56px; height: 42px; }
    .cart-table thead th.col-price { display: none; }
    .cart-row td.col-price { display: none; }
    .trust-strip { gap: 0.5rem; }
    .trust-pill { font-size: 0.72rem; padding: 0.35rem 0.75rem; }
}

/* =====================================================
   CHECKOUT PAGE — MNC QUALITY DESIGN
   ===================================================== */

.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 2rem;
    align-items: start;
}

/* ── Checkout Cards ── */
.co-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e8eaf0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.co-card-header {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 1.1rem 1.5rem;
    border-bottom: 1px solid #f0f2f8;
    background: #fafbff;
}

.co-step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(124,58,237,0.3);
}

.co-card-header h3 {
    font-size: 0.97rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.co-card-body {
    padding: 1.4rem 1.5rem;
}

/* ── Form Rows / Groups ── */
.co-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 0;
}

.co-form-row + .co-form-row { margin-top: 1rem; }
.co-form-row--single { grid-template-columns: 1fr; }

.co-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.co-form-group label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.req { color: #ef4444; }

.co-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.co-input-wrap > i {
    position: absolute;
    left: 0.85rem;
    color: #94a3b8;
    font-size: 0.85rem;
    pointer-events: none;
    z-index: 1;
}

.co-input {
    width: 100%;
    padding: 0.7rem 0.9rem 0.7rem 2.4rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.9rem;
    color: #0f172a;
    background: #f8fafc;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    font-family: inherit;
}

.co-input:focus {
    border-color: #7c3aed;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(124,58,237,0.12);
}

.co-input::placeholder { color: #cbd5e1; }

/* ── Submit Button ── */
.co-submit-btn {
    width: 100%;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    transition: all 0.2s ease;
    box-shadow: 0 4px 18px rgba(124,58,237,0.35);
    font-family: inherit;
    letter-spacing: 0.01em;
}

.co-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(124,58,237,0.45);
}

.co-submit-mobile { display: none; margin-top: 0.25rem; }

/* ── Summary Card ── */
.co-summary-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e8eaf0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    overflow: hidden;
    position: sticky;
    top: 90px;
}

.co-summary-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 1.4rem;
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
}

.co-summary-header h3 {
    font-size: 0.97rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.co-summary-header h3 i { color: #a78bfa; }

.co-edit-cart {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.55);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: color 0.2s;
}

.co-edit-cart:hover { color: #a78bfa; }

.co-summary-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* ── Order Items in Summary ── */
.co-order-items {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.co-order-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.co-item-thumb {
    width: 56px;
    height: 42px;
    border-radius: 7px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f0f2f8;
    border: 1px solid #e2e8f0;
}

.co-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.co-item-thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ede9fe, #ddd6fe);
    color: #7c3aed;
    font-size: 1.1rem;
}

.co-item-meta {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.co-item-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.co-item-label {
    font-size: 0.7rem;
    color: #94a3b8;
}

.co-item-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.1rem;
    white-space: nowrap;
}

.co-price-current {
    font-size: 0.9rem;
    font-weight: 800;
    color: #7c3aed;
}

.co-price-orig {
    font-size: 0.72rem;
    color: #94a3b8;
    text-decoration: line-through;
}

/* Trust items inside summary */
.co-trust-strip {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.co-trust-item {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: #475569;
}

.co-trust-item i { color: #7c3aed; }

/* Responsive */
@media (max-width: 960px) {
    .checkout-layout {
        grid-template-columns: 1fr;
    }
    .co-summary-card { position: static; }
    .co-submit-mobile { display: flex; }
    .co-summary-body .co-submit-btn:not(.co-submit-mobile) { display: none; }
}

@media (max-width: 600px) {
    .co-form-row { grid-template-columns: 1fr; }
    .co-card-body { padding: 1rem; }
}

/* =====================================================
   WORLD-CLASS HERO SECTION
   ===================================================== */
.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    overflow: hidden;
}

/* 70% dark overlay for background visibility */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(15, 23, 42, 0.82) 0%,
        rgba(30, 12, 60, 0.76) 50%,
        rgba(15, 23, 42, 0.74) 100%
    );
    z-index: 1;
}

/* Animated gradient orbs */
.hero-orbs {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.28;
    animation: orbFloat 15s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #7C3AED 0%, transparent 70%);
    top: -180px;
    left: -120px;
    animation-duration: 16s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #EC4899 0%, transparent 70%);
    bottom: -180px;
    right: -80px;
    animation-duration: 19s;
    animation-delay: -5s;
}

.orb-3 {
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, #06B6D4 0%, transparent 70%);
    top: 38%;
    left: 58%;
    animation-duration: 22s;
    animation-delay: -9s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%       { transform: translate(30px, -25px) scale(1.06); }
    66%       { transform: translate(-18px, 18px) scale(0.95); }
}

/* Floating particles */
.hero-particles-wrap {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.hero-particle {
    position: absolute;
    bottom: -10px;
    width: 6px;
    height: 6px;
    border-radius: 0;
    clip-path: polygon(50% 0%, 56% 44%, 100% 50%, 56% 56%, 50% 100%, 44% 56%, 0% 50%, 44% 44%);
    background: rgba(167, 139, 250, 0.7);
    animation: particleRise linear infinite;
}

.hero-particle:nth-child(1) { left:  9%; width: 4px; height: 4px; animation-duration: 10s; animation-delay:  0s; }
.hero-particle:nth-child(2) { left: 24%; animation-duration: 14s; animation-delay: -3s; background: rgba(236,72,153,0.6); }
.hero-particle:nth-child(3) { left: 44%; width: 2px; height: 2px; animation-duration: 12s; animation-delay: -6s; }
.hero-particle:nth-child(4) { left: 63%; animation-duration: 16s; animation-delay: -2s; background: rgba(6,182,212,0.6); }
.hero-particle:nth-child(5) { left: 78%; width: 4px; height: 4px; animation-duration: 11s; animation-delay: -8s; }
.hero-particle:nth-child(6) { left: 92%; animation-duration: 13s; animation-delay: -4s; }

@keyframes particleRise {
    0%   { bottom: -10px; opacity: 0;   transform: translateX(0); }
    10%  { opacity: 1; }
    90%  { opacity: 0.7; }
    100% { bottom: 110%;  opacity: 0;   transform: translateX(22px); }
}

/* Bottom page-blend fade — rich purple→lavender, no white blob */
.hero-bottom-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 160px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(109, 40, 217, 0.22) 40%,
        rgba(139, 92, 246, 0.38) 70%,
        #5340a5 100%
    );
    z-index: 2;
    pointer-events: none;
}

/* Hero container */
.hero-container {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 6rem 1.5rem 9rem;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

/* Live badge */
.hero-badge-wrap { margin-bottom: 1.5rem; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(124, 58, 237, 0.18);
    border: 1px solid rgba(124, 58, 237, 0.42);
    color: #C4B5FD;
    padding: 0.45rem 1.2rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    backdrop-filter: blur(12px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #10B981;
    border-radius: 50%;
    flex-shrink: 0;
    animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
    0%, 100% { box-shadow: 0 0 0 0   rgba(16,185,129,0.7); }
    50%       { box-shadow: 0 0 0 6px rgba(16,185,129,0);   }
}

/* Main title */
.hero-title {
    font-size: clamp(2rem, 5vw, 3.75rem);
    font-weight: 800;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.hero-title-highlight {
    background: linear-gradient(135deg, #A78BFA 0%, #EC4899 50%, #06B6D4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientShift 4s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position:   0% 50%; }
    50%       { background-position: 100% 50%; }
}

/* Sub headings */
.hero-subtitle {
    font-size: 0.9rem;
    font-weight: 700;
    color: #A78BFA;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.hero-desc {
    font-size: 1.1rem;
    color: rgba(248, 250, 252, 0.72);
    max-width: 640px;
    margin: 0 auto 2rem;
    line-height: 1.75;
}

/* Search */
.hero-search-wrap { margin-bottom: 2rem; }

.hero-search-form {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.07);
    border: 2px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-full);
    padding: 0.45rem 0.45rem 0.45rem 1.5rem;
    max-width: 700px;
    margin: 0 auto 0.85rem;
    backdrop-filter: blur(20px);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.hero-search-form:focus-within {
    border-color: rgba(124, 58, 237, 0.65);
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.14), 0 8px 32px rgba(0,0,0,0.25);
}

.hsi {
    color: rgba(255,255,255,0.45);
    font-size: 1.05rem;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.hero-search-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-size: 1rem;
    font-family: inherit;
    padding: 0.5rem 0;
    min-width: 0;
}

.hero-search-input::placeholder { color: rgba(255,255,255,0.38); }

.hero-search-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #7C3AED 0%, #6D28D9 100%);
    color: #ffffff;
    border: none;
    padding: 0.85rem 1.6rem;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-family: inherit;
    flex-shrink: 0;
}

.hero-search-btn:hover {
    background: linear-gradient(135deg, #6D28D9 0%, #5B21B6 100%);
    transform: scale(1.05);
    box-shadow: 0 6px 22px rgba(124,58,237,0.55);
    color: #ffffff;
}

.hero-search-tags {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.45);
}

.hero-search-tags a {
    color: rgba(167, 139, 250, 0.88);
    background: rgba(124,58,237,0.14);
    border: 1px solid rgba(124,58,237,0.28);
    padding: 0.18rem 0.7rem;
    border-radius: var(--radius-full);
    transition: all 0.3s ease;
    font-weight: 500;
}

.hero-search-tags a:hover {
    background: rgba(124,58,237,0.32);
    color: #C4B5FD;
    transform: translateY(-2px);
}

/* CTA Buttons */
.hero-cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.hero-cta-btn {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.9rem 1.75rem;
    border-radius: var(--radius-xl);
    text-decoration: none;
    font-family: inherit;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    min-width: 205px;
    border: 1px solid rgba(255,255,255,0.1);
}

/* Call CTA — Purple */
.hero-cta-call {
    background: linear-gradient(135deg, #7C3AED 0%, #6D28D9 55%, #5B21B6 100%);
    box-shadow: 0 4px 22px rgba(124, 58, 237, 0.42);
}

.hero-cta-call:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 14px 38px rgba(124, 58, 237, 0.58);
    color: #ffffff;
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
}

/* WhatsApp CTA — Green */
.hero-cta-whatsapp {
    background: linear-gradient(135deg, #128C7E 0%, #25D366 55%, #128C7E 100%);
    box-shadow: 0 4px 22px rgba(37, 211, 102, 0.38);
}

.hero-cta-whatsapp:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 14px 38px rgba(37, 211, 102, 0.52);
    color: #ffffff;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.cta-icon-wrap {
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #ffffff;
    flex-shrink: 0;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-cta-btn:hover .cta-icon-wrap {
    transform: rotate(-12deg) scale(1.18);
}

.cta-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.cta-main {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

.cta-sub {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.72);
    font-weight: 400;
}

/* Stats row */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-xl);
    padding: 1.1rem 1.5rem;
    backdrop-filter: blur(20px);
    max-width: 680px;
    margin: 0 auto;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    min-width: 90px;
    padding: 0.4rem 0.75rem;
}

.stat-num {
    font-size: 1.65rem;
    font-weight: 800;
    background: linear-gradient(135deg, #A78BFA 0%, #EC4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.15;
}

.stat-lbl {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.5);
    font-weight: 500;
    text-align: center;
    margin-top: 0.2rem;
    letter-spacing: 0.02em;
}

.hero-stat-div {
    width: 1px;
    height: 38px;
    background: rgba(255,255,255,0.14);
    flex-shrink: 0;
}

/* Theme Cards */
.themes-grid {
    display: grid;
    gap: 2rem;
    margin: 2rem 0;
}

.themes-grid-2 { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.themes-grid-3 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.themes-grid-4 { grid-template-columns: 1fr; }
.themes-grid-6 { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }

/* Themes Page Hero */
.themes-hero {
    position: relative;
    overflow: hidden;
    padding: 4.2rem 0 3.4rem;
    background:
        radial-gradient(circle at 10% 20%, rgba(124, 58, 237, 0.22), transparent 40%),
        radial-gradient(circle at 85% 15%, rgba(236, 72, 153, 0.18), transparent 35%),
        linear-gradient(120deg, #0f172a 0%, #1e293b 45%, #312e81 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.themes-hero-wrap {
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    gap: 2rem;
    align-items: stretch;
}

.themes-hero-content h1 {
    color: #ffffff;
    font-size: clamp(2rem, 5vw, 3.45rem);
    line-height: 1.12;
    margin: 0.9rem 0 1rem;
    max-width: 14ch;
}

.themes-hero-content p {
    color: rgba(248, 250, 252, 0.88);
    font-size: 1.12rem;
    max-width: 62ch;
    margin-bottom: 1.45rem;
}

.themes-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.95rem;
    border-radius: 999px;
    border: 1px solid rgba(167, 139, 250, 0.45);
    background: rgba(124, 58, 237, 0.18);
    color: #ddd6fe;
    font-size: 0.83rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-weight: 700;
}

.themes-hero-quick-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.quick-stat {
    min-width: 150px;
    padding: 0.75rem 0.9rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 0.08rem;
}

.quick-stat strong {
    color: #ffffff;
    font-size: 1rem;
    letter-spacing: 0.01em;
}

.quick-stat span {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.themes-hero-panel {
    padding: 1.4rem 1.2rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(6px);
}

.themes-hero-panel h3 {
    color: #ffffff;
    font-size: 1.25rem;
    margin-bottom: 0.95rem;
}

.themes-hero-panel ul {
    list-style: none;
    display: grid;
    gap: 0.8rem;
    margin: 0;
    padding: 0;
}

.themes-hero-panel li {
    color: rgba(248, 250, 252, 0.88);
    font-size: 0.95rem;
    line-height: 1.45;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.themes-hero-panel li i {
    color: #22c55e;
    margin-top: 2px;
}

.themes-faq-upgrade {
    background: linear-gradient(180deg, #ffffff 0%, #f5f3ff 100%);
    padding-top: 4.4rem;
}

.themes-faq-upgrade .section-header p {
    font-size: 1.08rem;
    max-width: 760px;
    margin: 0.85rem auto 0;
}

.themes-faq-upgrade .faq-container {
    max-width: 980px;
}

.themes-faq-upgrade .faq-question {
    font-size: 1.18rem;
    line-height: 1.45;
    padding: 1.85rem;
}

.themes-faq-upgrade .faq-answer p {
    font-size: 1.06rem;
    line-height: 1.9;
}

@media (max-width: 992px) {
    .themes-hero-wrap {
        grid-template-columns: 1fr;
    }

    .themes-hero-content h1 {
        max-width: none;
    }
}

@media (max-width: 768px) {
    .themes-hero {
        padding: 3.2rem 0 2.7rem;
    }

    .themes-faq-upgrade .faq-question {
        font-size: 1.02rem;
        padding: 1.4rem;
    }

    .themes-faq-upgrade .faq-answer p {
        font-size: 0.98rem;
    }
}

.theme-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.theme-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.theme-image {
    width: 100%;
    height: 200px;
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.theme-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.theme-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--danger);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
}

.theme-body {
    padding: 1.5rem;
}

.theme-name {
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.theme-name a {
    color: var(--text-dark);
}

.theme-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.theme-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin: 1rem 0;
}

.original-price {
    font-size: 1rem;
    color: var(--text-muted);
    margin-right: 0.5rem;
}

.discount-price {
    color: var(--danger);
}

.theme-description {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 1rem 0;
}

.theme-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

/* Categories Grid */
.categories-grid-6 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.categories-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
}

.category-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
    color: var(--text-dark);
    box-shadow: 0 4px 22px rgba(0,0,0,.08);
    border: 1px solid var(--border);
    transition: transform .28s ease, box-shadow .28s ease;
    display: flex;
    flex-direction: column;
}

.category-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 20px 48px rgba(124, 58, 237, 0.22);
    color: var(--text-dark);
}

/* Image wrapper */
.cat-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.cat-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .45s ease;
}

.category-card:hover .cat-img-wrap img {
    transform: scale(1.08);
}

.cat-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 35%, rgba(10,10,30,.6) 100%);
    transition: opacity .3s;
}

.category-card:hover .cat-overlay {
    opacity: .8;
}

/* Theme count badge ON the image */
.cat-count-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.18);
    letter-spacing: .02em;
    pointer-events: none;
}

.cat-count-badge i {
    font-size: .68rem;
    color: #a78bfa;
}

/* Fallback icon (when no image) */
.cat-icon-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: rgba(255,255,255,.85);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

/* Card body */
.cat-body {
    padding: 1.2rem 1.4rem 1.35rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: .32rem;
}

.cat-body h3 {
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.3;
}

.cat-body p {
    font-size: .82rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.48;
    flex: 1;
}

/* CTA row */
.cat-cta {
    display: flex;
    gap: .45rem;
    margin-top: .7rem;
    width: 100%;
    justify-content: center;
}

.cat-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 13px;
    border-radius: 8px;
    font-size: .75rem;
    font-weight: 700;
    text-decoration: none;
    transition: all .22s ease;
    white-space: nowrap;
    border: 1.5px solid transparent;
}

.cat-btn--view {
    background: var(--primary);
    color: #fff;
}
.cat-btn--view:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-2px);
}

.cat-btn--call {
    background: rgba(16,185,129,.12);
    color: #065f46;
    border-color: rgba(16,185,129,.35);
}
.cat-btn--call:hover {
    background: #10b981;
    color: #fff;
    border-color: #10b981;
    transform: translateY(-2px);
}

.cat-btn--wa {
    background: rgba(37,211,102,.12);
    color: #15803d;
    border-color: rgba(37,211,102,.35);
}
.cat-btn--wa:hover {
    background: #25d366;
    color: #fff;
    border-color: #25d366;
    transform: translateY(-2px);
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Alerts */
.alert {
    padding: 1rem;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.alert-error {
    background: #FEE2E2;
    color: #991B1B;
    border: 1px solid #FECACA;
}

.alert-success {
    background: #DCFCE7;
    color: #166534;
    border: 1px solid #BBEF63;
}

/* ============================================
   WORLD-CLASS FOOTER
   ============================================ */
.footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 4.5rem 0 0;
    margin-top: 0;
}

/* ---- Brand strip ---- */
.footer-brand-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.footer-brand-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.fbl-icon {
    width: 52px;
    height: 52px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    padding: 6px;
}

.fbl-text {
    display: flex;
    flex-direction: column;
}

.fbl-name {
    font-size: 1.45rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff 30%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.fbl-tag {
    font-size: 0.78rem;
    color: var(--text-muted);
    letter-spacing: .04em;
    margin-top: 2px;
}

.footer-brand-trust {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-wrap: wrap;
}

.ft-badge {
    display: flex;
    align-items: center;
    gap: .4rem;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    padding: .35rem .9rem;
    border-radius: 9999px;
    font-size: .78rem;
    color: rgba(255,255,255,.75);
    letter-spacing: .03em;
}

.ft-dot {
    width: 7px;
    height: 7px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 6px #22c55e;
    animation: ftPulse 2s ease-in-out infinite;
}

@keyframes ftPulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 6px #22c55e; }
    50%       { opacity: .6; box-shadow: 0 0 14px #22c55e; }
}

/* ---- Divider ---- */
.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.12) 30%, rgba(255,255,255,.12) 70%, transparent);
    margin: 0 0 2.5rem;
}

/* ---- Main grid ---- */
.footer-grid {
    display: grid;
    grid-template-columns: 2.2fr 1.1fr 1.1fr 1.1fr 1.2fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.footer-col--wide { /* brand column */ }

/* ---- Footer title ---- */
.footer-title {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: .55rem;
    padding-bottom: .6rem;
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(90deg, var(--primary), var(--secondary)) 1;
}

.footer-title i {
    color: var(--primary);
    font-size: .9rem;
}

/* ---- About text ---- */
.footer-desc {
    color: var(--text-muted);
    font-size: .88rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* ---- Contact chips ---- */
.footer-contact-chips {
    display: flex;
    flex-direction: column;
    gap: .65rem;
    margin-bottom: 1.5rem;
}

.fcc {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .6rem .9rem;
    border-radius: 12px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.09);
    text-decoration: none;
    transition: background .2s, border-color .2s, transform .18s;
}

.fcc:hover { transform: translateX(4px); text-decoration: none; }
.fcc--purple:hover { background: rgba(124,58,237,.18); border-color: rgba(124,58,237,.4); }
.fcc--cyan:hover   { background: rgba(6,182,212,.15); border-color: rgba(6,182,212,.4); }
.fcc--green:hover  { background: rgba(34,197,94,.15); border-color: rgba(34,197,94,.4); }

.fcc-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
}

.fcc--purple .fcc-icon { background: rgba(124,58,237,.25); color: #a78bfa; }
.fcc--cyan   .fcc-icon { background: rgba(6,182,212,.2);   color: #67e8f9; }
.fcc--green  .fcc-icon { background: rgba(34,197,94,.2);   color: #4ade80; }

.fcc-info {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.fcc-info small {
    font-size: .68rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .06em;
}

.fcc-info {
    font-size: .83rem;
    color: rgba(255,255,255,.85);
    font-weight: 500;
}

/* ---- Social icons ---- */
.footer-social {
    display: flex;
    gap: .6rem;
    flex-wrap: wrap;
}

.fsoc {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    color: rgba(255,255,255,.75);
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.1);
    text-decoration: none;
    transition: transform .2s, background .2s, border-color .2s, box-shadow .2s;
}

.fsoc:hover { transform: translateY(-3px); text-decoration: none; }
.fsoc--fb:hover { background: #1877f2; border-color: #1877f2; box-shadow: 0 6px 20px rgba(24,119,242,.4); color: #fff; }
.fsoc--tw:hover { background: #000; border-color: #555; box-shadow: 0 6px 20px rgba(0,0,0,.5); color: #fff; }
.fsoc--ig:hover { background: linear-gradient(135deg, #f09433,#e6683c,#dc2743,#cc2366,#bc1888); border-color: transparent; box-shadow: 0 6px 20px rgba(220,39,67,.4); color: #fff; }
.fsoc--li:hover { background: #0077b5; border-color: #0077b5; box-shadow: 0 6px 20px rgba(0,119,181,.4); color: #fff; }
.fsoc--yt:hover { background: #ff0000; border-color: #ff0000; box-shadow: 0 6px 20px rgba(255,0,0,.4); color: #fff; }

/* ---- Footer links ---- */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: .65rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: .875rem;
    display: flex;
    align-items: center;
    gap: .45rem;
    text-decoration: none;
    transition: color .18s, gap .18s;
}

.footer-links a i {
    width: 16px;
    font-size: .78rem;
    color: var(--primary);
    opacity: .7;
    transition: opacity .18s;
    flex-shrink: 0;
}

.footer-links a:hover {
    color: #fff;
    gap: .7rem;
    text-decoration: none;
}

.footer-links a:hover i {
    opacity: 1;
}

/* ---- Mini stats ---- */
.footer-mini-stats {
    display: flex;
    gap: 1rem;
    margin-top: 1.75rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255,255,255,.08);
}

.fms {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 10px;
    padding: .6rem .4rem;
}

.fms-n {
    font-size: 1.05rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.fms-l {
    font-size: .68rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* ============================================
   PAYMENT ROW
   ============================================ */
.footer-payments-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding: 1.75rem 2rem;
    background: rgba(255,255,255,.025);
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 16px;
    margin-bottom: 2rem;
}

.fp-label {
    font-size: .78rem;
    font-weight: 700;
    color: rgba(255,255,255,.6);
    letter-spacing: .06em;
    text-transform: uppercase;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: .4rem;
}

.fp-label i {
    color: #22c55e;
}

.fp-icons {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-wrap: wrap;
    flex: 1;
}

/* Base card for every payment icon */
.fp-icon {
    height: 40px;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .2s, box-shadow .2s;
    cursor: default;
    box-shadow: 0 2px 8px rgba(0,0,0,.35);
}

.fp-icon:hover {
    transform: translateY(-3px) scale(1.06);
    box-shadow: 0 8px 24px rgba(0,0,0,.5);
}

/* SVG-based icons sizing */
.fp-icon svg {
    height: 100%;
    width: auto;
    display: block;
}

.fp-visa    { width: 64px; }
.fp-mc      { width: 64px; }
.fp-rupay   { width: 72px; }
.fp-upi     { width: 60px; }
.fp-paypal  { width: 72px; }
.fp-netbank { width: 84px; }

/* SSL and GST boxes */
.fp-ssl, .fp-gst {
    width: auto;
}

.fp-ssl-box, .fp-gst-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: .3rem .75rem;
    border-radius: 8px;
    font-size: .6rem;
    font-weight: 700;
    letter-spacing: .04em;
    line-height: 1.25;
    text-align: center;
}

.fp-ssl-box {
    background: linear-gradient(135deg, #166534, #15803d);
    color: #86efac;
}

.fp-ssl-box i, .fp-gst-box i {
    font-size: 1.05rem;
    margin-bottom: 1px;
}

.fp-gst-box {
    background: linear-gradient(135deg, #1e3a5f, #1d4ed8);
    color: #93c5fd;
}

/* ============================================
   FOOTER BOTTOM BAR
   ============================================ */
.footer-bottom-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .75rem;
    padding: 1.25rem 0 1.5rem;
    border-top: 1px solid rgba(255,255,255,.07);
}

.fbb-left p {
    margin: 0;
    font-size: .82rem;
    color: var(--text-muted);
}

.fbb-left strong {
    color: rgba(255,255,255,.8);
}

.fbb-heart {
    color: #f43f5e;
    display: inline-block;
    animation: ftPulse 1.8s ease-in-out infinite;
}

.fbb-right {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: .8rem;
    color: var(--text-muted);
}

.fbb-right a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color .18s;
}

.fbb-right a:hover {
    color: var(--primary);
}

.fbb-right span {
    opacity: .4;
}

/* ---- Legacy aliases (keep old class names working) ---- */
.social-links { display: flex; gap: 1rem; margin-top: 1rem; flex-wrap: wrap; }
.social-links a {
    width: 42px; height: 42px; background: rgba(255,255,255,.07);
    border-radius: 12px; display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,.75); transition: var(--transition);
    border: 1px solid rgba(255,255,255,.1);
}
.social-links a:hover { background: var(--primary); }

.footer-bottom {
    border-top: 1px solid var(--border-dark);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Floating Buttons */
.floating-buttons {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 50;
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    text-decoration: none;
}

.float-btn.whatsapp {
    background: #25D366;
}

.float-btn.call {
    background: var(--primary);
}

.float-btn:hover {
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        min-height: 100vh;
        background-attachment: scroll;
    }

    .hero-container {
        padding: 5rem 1rem 8rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 0.8rem;
    }

    .hero-desc {
        font-size: 1rem;
    }

    .hero-search-form {
        flex-wrap: wrap;
        border-radius: var(--radius-lg);
        padding: 0.75rem;
        gap: 0.5rem;
    }

    .hero-search-btn {
        width: 100%;
        justify-content: center;
    }

    .hero-cta-group {
        flex-direction: column;
        align-items: center;
    }

    .hero-cta-btn {
        min-width: 265px;
        justify-content: center;
    }

    .hero-stats {
        gap: 0.5rem;
    }

    .hero-stat-div {
        display: none;
    }

    .orb-1, .orb-2, .orb-3 {
        opacity: 0.18;
    }
    
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .themes-grid-4 {
        grid-template-columns: 1fr 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
}

/* Admin Styles */
.admin-body {
    display: flex;
}

.admin-sidebar {
    width: 250px;
    background: var(--bg-dark);
    height: 100vh;
    padding: 2rem 0;
    overflow-y: auto;
}

.admin-nav {
    display: flex;
    flex-direction: column;
}

.nav-item {
    padding: 1rem 1.5rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition);
    text-decoration: none;
}

.nav-item:hover,
.nav-item.active {
    background: var(--primary);
    border-left: 4px solid var(--accent);
}

/* Utility Classes */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

/* Features Grid */
.features-grid {
    display: grid;
    gap: 2rem;
    margin: 3rem 0;
}

.features-grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.feature-box {
    padding: 2rem;
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-box h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.feature-box p {
    color: var(--text-muted);
    margin: 0;
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

/* Testimonials Section */
.testimonials {
    background: var(--bg-white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-rating {
    color: #F59E0B;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.testimonial-rating i {
    margin-right: 0.25rem;
}

.testimonial-text {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary);
    font-size: 1.5rem;
    overflow: hidden;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.author-info strong {
    color: var(--text-dark);
    display: block;
}

.author-info small {
    color: var(--text-muted);
    display: block;
}

/* FAQ Section — Colorful Redesign */
.faq-preview--colorful {
    background: linear-gradient(135deg, #0f0c29 0%, #1a1050 40%, #24243e 100%);
    position: relative;
    overflow: hidden;
    padding: 6rem 0 8rem;
}

/* Floating blobs */
.faq-bg-shapes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.faq-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.18;
}
.faq-blob--1 { width: 520px; height: 520px; background: #7C3AED; top: -120px; left: -100px; }
.faq-blob--2 { width: 400px; height: 400px; background: #0EA5E9; bottom: -80px; right: -60px; }
.faq-blob--3 { width: 300px; height: 300px; background: #10B981; top: 40%; left: 50%; transform: translateX(-50%); }

/* Header block */
.faq-header {
    text-align: center;
    margin-bottom: 3.5rem;
    position: relative;
    z-index: 2;
}

.faq-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(124,58,237,0.25);
    border: 1px solid rgba(124,58,237,0.5);
    color: #c4b5fd;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 1rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.faq-main-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 900;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.faq-title-highlight {
    background: linear-gradient(90deg, #a78bfa, #38bdf8, #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.faq-subtitle {
    color: #94a3b8;
    font-size: 1.1rem;
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Container */
.faq-container--big {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    position: relative;
    z-index: 2;
}

/* Item */
.faq-item--big {
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(10px);
    transition: border-color 0.3s, transform 0.25s, box-shadow 0.3s;
    border-left: 4px solid var(--faq-c1);
}

.faq-item--big:hover,
.faq-item--big.active {
    border-color: var(--faq-c1);
    transform: translateY(-2px);
    box-shadow: 0 8px 36px rgba(0,0,0,0.35), 0 0 0 1px var(--faq-c1);
}

/* Question button */
.faq-question--big {
    width: 100%;
    padding: 1.6rem 1.75rem;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    gap: 1rem;
    transition: background 0.25s;
}

.faq-question--big:hover {
    background: rgba(255,255,255,0.05);
}

.faq-q-left {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.faq-num {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--faq-c1), var(--faq-c2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.3);
}

.faq-q-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: #f1f5f9;
    line-height: 1.4;
}

.faq-chevron {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--faq-c2);
    font-size: 1rem;
    transition: transform 0.35s ease, background 0.25s;
}

.faq-item--big.active .faq-chevron {
    transform: rotate(180deg);
    background: linear-gradient(135deg, var(--faq-c1), var(--faq-c2));
    color: #fff;
}

.faq-item--big.active .faq-q-text {
    color: var(--faq-c2);
}

/* Answer */
.faq-answer--big {
    padding: 0 1.75rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s;
    border-top: 0px solid transparent;
}

.faq-item--big.active .faq-answer--big {
    padding: 0 1.75rem 1.75rem;
    max-height: 800px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.faq-answer-inner {
    padding-top: 1.25rem;
}

.faq-answer--big p,
.faq-answer-inner p {
    color: #94a3b8;
    line-height: 1.9;
    font-size: 1rem;
    margin: 0;
}

/* CTA at bottom */
.faq-cta-wrap {
    text-align: center;
    margin-top: 3.5rem;
    position: relative;
    z-index: 2;
}

.faq-cta-text {
    color: #94a3b8;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.faq-cta-btns {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Legacy faq classes (used elsewhere — NOT for colorful homepage variant) */
.faq-preview:not(.faq-preview--colorful) {
    background: var(--bg-white);
}

.faq-preview .section-title {
    text-align: center;
    width: 100%;
}

.faq-container {
    max-width: 900px;
    margin: 3rem auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.faq-question:not(.faq-question--big) {
    width: 100%;
    padding: 1.75rem;
    background: white;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    text-align: left;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.faq-question:not(.faq-question--big):hover {
    background: #F3F0FF;
    color: var(--primary);
}

.faq-question:not(.faq-question--big) i {
    transition: var(--transition);
    color: var(--primary);
    font-size: 1.25rem;
}

.faq-item:not(.faq-item--big).active .faq-question {
    background: linear-gradient(135deg, #F3F0FF 0%, #EDE9FE 100%);
    color: var(--primary);
}

.faq-item:not(.faq-item--big).active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer:not(.faq-answer--big) {
    padding: 0 1.75rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: #FAFAF9;
}

.faq-item:not(.faq-item--big).active .faq-answer {
    padding: 1.75rem;
    max-height: 800px;
}

.faq-answer:not(.faq-answer--big) p {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 1rem;
}

/* Why Us Section */
.why-us {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
}

.why-us .section-title {
    color: white;
}

.why-us .feature-box {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.why-us .feature-box h3 {
    color: white;
}

.why-us .feature-box p {
    color: rgba(255, 255, 255, 0.9);
}

/* Features Grid Update for Homepage */
.why-us .feature-icon {
    color: #A78BFA;
}

/* Featured Themes Section */
.featured-themes {
    background: var(--bg-white);
}

.featured-themes .section-header {
    margin-bottom: 3rem;
}

/* Popular Themes Background */
.popular-themes {
    background: #F8FAFC;
}

.popular-themes .section-header {
    margin-bottom: 3rem;
}

/* Categories Showcase */
.categories-showcase {
    background: var(--bg-white);
}

.categories-showcase .section-header {
    margin-bottom: 3rem;
}

.category-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 5rem 0;
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: white;
    line-height: 1.2;
}

.cta-section p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn-lg {
    padding: 0.875rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.cta-section .btn-primary {
    background: white;
    color: var(--primary);
}

.cta-section .btn-primary:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.cta-section .btn-outline {
    border: 2px solid white;
    color: white;
    background: transparent;
}

.cta-section .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

/* Newsletter Section */
.newsletter-section {
    background: transparent;
    padding: 5rem 0;
    color: var(--text-dark);
    text-align: center;
}

.newsletter-content {
    max-width: 700px;
    margin: 0 auto;
}

.newsletter-section h2 {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    line-height: 1.2;
}

.newsletter-section p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: var(--text-muted);
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.newsletter-input-group {
    display: flex;
    gap: 0.75rem;
    background: white;
    padding: 0.75rem;
    border-radius: var(--radius-full);
    align-items: center;
    border: 2px solid var(--primary);
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.15);
}

.newsletter-input-group input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    color: var(--text-dark);
    outline: none;
    font-weight: 500;
}

.newsletter-input-group input::placeholder {
    color: var(--text-muted);
}

.newsletter-input-group .btn {
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

.newsletter-section .btn-primary {
    background: var(--primary);
    color: white;
    border-radius: var(--radius-full);
}

.newsletter-section .btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.3);
}

.newsletter-message {
    padding: 1rem 1.4rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 1.05rem;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: .6rem;
    animation: nl-pop .35s cubic-bezier(.34,1.56,.64,1) both;
}

@keyframes nl-pop {
    from { opacity: 0; transform: scale(.88) translateY(6px); }
    to   { opacity: 1; transform: scale(1)  translateY(0);   }
}

/* ✅ Success — subscribed */
.newsletter-message.success {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
    border: 2px solid #34d399;
    box-shadow: 0 4px 20px rgba(52, 211, 153, .35);
    font-size: 1.1rem;
}

/* ⚠️ Error — already subscribed or invalid */
.newsletter-message.error {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
    border: 2px solid #f59e0b;
    box-shadow: 0 4px 20px rgba(245, 158, 11, .35);
    font-size: 1.1rem;
}

/* Mobile Responsive Updates */
@media (max-width: 1024px) {
    .section {
        padding: 4rem 0;
    }
    
    .section-header {
        margin-bottom: 3rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 3rem 0;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    .features-grid-3 {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-container {
        margin: 2rem 0;
    }

    /* Colorful FAQ mobile */
    .faq-preview--colorful { padding: 4rem 0 6rem; }
    .faq-main-title { font-size: 1.8rem; }
    .faq-num { width: 36px; height: 36px; font-size: 0.78rem; border-radius: 10px; }
    .faq-q-text { font-size: 0.97rem; }
    .faq-question--big { padding: 1.2rem 1rem; }
    .faq-item--big.active .faq-answer--big { padding: 0 1rem 1.25rem; }
    .faq-cta-btns { flex-direction: column; align-items: center; }
    
    .feature-box {
        padding: 1.5rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .faq-question {
        padding: 1rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 1rem;
    }
    
    .categories-grid-6 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .categories-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cat-img-wrap {
        aspect-ratio: 16 / 9;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 1.65rem;
    }

    .hero-search-tags {
        font-size: 0.75rem;
    }
    
    .cta-section {
        padding: 3rem 0;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
    
    .cta-section p {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn-lg {
        width: 100%;
    }
    
    .newsletter-section {
        padding: 3rem 0;
    }
    
    .newsletter-section h2 {
        font-size: 2rem;
    }
    
    .newsletter-section p {
        font-size: 1rem;
    }
    
    .newsletter-input-group {
        flex-direction: column;
        border-radius: var(--radius-lg);
    }
    
    .newsletter-input-group input {
        width: 100%;
    }
    
    .newsletter-input-group .btn {
        width: 100%;
    }
}
/* ==============================================================
   SECTION CURVES, GRADIENTS & ANIMATED DECORATIONS
   Full-page homepage decoration system
   ============================================================== */

/* Base: all decorated sections need relative + overflow */
.section,
.cta-section,
.newsletter-section,
.footer {
    position: relative;
    overflow: hidden;
}

/* Content always above decorations */
.section > .container,
.cta-section > .container,
.newsletter-section > .container,
.footer > .container {
    position: relative;
    z-index: 2;
}

/* Decoration container (holds shapes) */
.sec-decor {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

/* Wave divider base */
.sec-wave {
    position: absolute;
    left: 0;
    right: 0;
    overflow: hidden;
    line-height: 0;
    pointer-events: none;
    z-index: 3;
}
.sec-wave svg {
    display: block;
    width: 100%;
    height: 80px;
}
.sec-wave--top { top: -1px; }
.sec-wave--btm { bottom: -1px; }

/* Base shape — Gemini 4-point sparkle star */
.sh {
    position: absolute;
    display: block;
    border-radius: 0;
    clip-path: polygon(50% 0%, 56% 44%, 100% 50%, 56% 56%, 50% 100%, 44% 56%, 0% 50%, 44% 44%);
}

/* ---- Keyframe animations ---- */
@keyframes sdFloat {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-22px); }
}
@keyframes sdFloatR {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50%       { transform: translateY(-18px) rotate(26deg); }
}
@keyframes sdSpin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
@keyframes sdSpinR {
    from { transform: rotate(0deg); }
    to   { transform: rotate(-360deg); }
}
@keyframes sdPulse {
    0%, 100% { transform: scale(1);    opacity: 0.5; }
    50%       { transform: scale(1.35); opacity: 1; }
}
@keyframes auroraBlob {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%       { transform: translate(28px, -18px) scale(1.07); }
    66%       { transform: translate(-16px, 14px) scale(0.95); }
}
@keyframes twinkleStar {
    0%, 100% { opacity: 0.12; transform: scale(0.7); }
    50%       { opacity: 0.9;  transform: scale(1.25); }
}

/* ============================================================
   1. FEATURED THEMES — lavender → soft white, sharp junction with hero
   ============================================================ */
.featured-themes {
    background: linear-gradient(175deg, #ddd6fe 0%, #ede9fe 25%, #f5f3ff 60%, #ffffff 100%);
    margin-top: 0;
    padding-top: 4rem;
}
/* Large soft blob top-right */
.featured-themes .sh-1 {
    width: 480px; height: 480px;
    background: radial-gradient(circle, rgba(124,58,237,0.07) 0%, transparent 70%);
    top: -140px; right: -100px;
    animation: auroraBlob 20s ease-in-out infinite;
}
/* Floating ring top-left */
.featured-themes .sh-2 {
    width: 82px; height: 82px;
    border: 3px solid rgba(124,58,237,0.2);
    top: 14%; left: 3%;
    animation: sdFloat 8s ease-in-out infinite;
}
/* Filled dot bottom-right */
.featured-themes .sh-3 {
    width: 44px; height: 44px;
    background: rgba(236,72,153,0.12);
    bottom: 15%; right: 5%;
    animation: sdFloat 11s ease-in-out infinite reverse;
}
/* Spinning ring bottom-left */
.featured-themes .sh-4 {
    width: 58px; height: 58px;
    border: 2px solid rgba(6,182,212,0.2);
    bottom: 18%; left: 6%;
    animation: sdSpin 24s linear infinite;
}
/* Tiny pulsing dot */
.featured-themes .sh-5 {
    width: 20px; height: 20px;
    background: rgba(124,58,237,0.24);
    top: 38%; right: 12%;
    animation: sdPulse 4s ease-in-out infinite;
}

/* ============================================================
   2. CATEGORIES SHOWCASE — deep navy/indigo dark
   ============================================================ */
.categories-showcase {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #1e1b4b 100%);
}
.categories-showcase .section-header h2 { color: #ffffff; }
.categories-showcase .section-header p  { color: rgba(255,255,255,0.7); }

.categories-showcase .sh-1 {
    width: 320px; height: 320px;
    background: radial-gradient(circle, rgba(124,58,237,0.2) 0%, transparent 70%);
    top: -90px; left: -70px;
    animation: auroraBlob 18s ease-in-out infinite;
}
.categories-showcase .sh-2 {
    width: 260px; height: 260px;
    background: radial-gradient(circle, rgba(6,182,212,0.14) 0%, transparent 70%);
    bottom: -80px; right: -50px;
    animation: auroraBlob 22s ease-in-out infinite 6s;
}
.categories-showcase .sh-3 {
    width: 68px; height: 68px;
    border: 2px solid rgba(167,139,250,0.3);
    top: 22%; right: 10%;
    animation: sdSpin 18s linear infinite;
}
.categories-showcase .sh-4 {
    width: 34px; height: 34px;
    background: rgba(236,72,153,0.25);
    top: 65%; left: 7%;
    animation: sdFloat 7s ease-in-out infinite;
}
.categories-showcase .sh-5 {
    width: 22px; height: 22px;
    background: rgba(167,139,250,0.42);
    top: 48%; right: 4%;
    animation: sdPulse 5s ease-in-out infinite 1.5s;
}

/* ============================================================
   3. POPULAR THEMES — rose-lavender gradient
   ============================================================ */
.popular-themes {
    background: linear-gradient(175deg, #f8fafc 0%, #fce7f3 40%, #ede9fe 80%, #f8fafc 100%) !important;
}
.popular-themes .sh-1 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(236,72,153,0.07) 0%, transparent 70%);
    top: -100px; right: -80px;
    animation: auroraBlob 22s ease-in-out infinite 4s;
}
.popular-themes .sh-2 {
    width: 90px; height: 90px;
    border: 3px solid rgba(124,58,237,0.15);
    top: 10%; right: 5%;
    animation: sdSpinR 22s linear infinite;
}
.popular-themes .sh-3 {
    width: 52px; height: 52px;
    background: rgba(124,58,237,0.1);
    bottom: 20%; left: 4%;
    animation: sdFloat 9s ease-in-out infinite;
}
/* Triangle */
.popular-themes .sh-4 {
    width: 40px; height: 40px;
    background: rgba(6,182,212,0.15);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    border-radius: 0 !important;
    bottom: 32%; right: 4%;
    animation: sdFloatR 8s ease-in-out infinite;
}
.popular-themes .sh-5 {
    width: 22px; height: 22px;
    background: rgba(236,72,153,0.22);
    top: 55%; left: 3%;
    animation: sdPulse 4.5s ease-in-out infinite;
}

/* ============================================================
   4. WHY US — dark navy gradient
   ============================================================ */
.why-us {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 35%, #312e81 65%, #0f172a 100%);
}
.why-us .section-title   { color: #ffffff; }
.why-us .feature-box h3  { color: #ffffff; }
.why-us .feature-box p   { color: rgba(255,255,255,0.7); }
.why-us .feature-box {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
}
.why-us .feature-box:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-5px);
}
.why-us .feature-icon { background: rgba(255,255,255,0.1) !important; }
/* Dot grid pattern */
.why-us::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(167,139,250,0.1) 1px, transparent 1px);
    background-size: 34px 34px;
    pointer-events: none;
    z-index: 0;
}
.why-us .sh-1 {
    width: 420px; height: 420px;
    background: radial-gradient(circle, rgba(124,58,237,0.14) 0%, transparent 70%);
    top: -110px; right: -90px;
    animation: auroraBlob 22s ease-in-out infinite;
}
.why-us .sh-2 {
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(6,182,212,0.1) 0%, transparent 70%);
    bottom: -90px; left: -60px;
    animation: auroraBlob 26s ease-in-out infinite 8s;
}
.why-us .sh-3 {
    width: 72px; height: 72px;
    border: 2px solid rgba(167,139,250,0.24);
    top: 18%; left: 5%;
    animation: sdSpin 20s linear infinite;
}
.why-us .sh-4 {
    width: 40px; height: 40px;
    background: rgba(236,72,153,0.24);
    bottom: 22%; right: 7%;
    animation: sdFloatR 7.5s ease-in-out infinite;
}
.why-us .sh-5 {
    width: 22px; height: 22px;
    background: rgba(167,139,250,0.5);
    top: 52%; right: 22%;
    animation: sdPulse 3.5s ease-in-out infinite;
}
.why-us .sh-6 {
    width: 52px; height: 52px;
    border: 1px solid rgba(6,182,212,0.2);
    top: 40%; right: 3%;
    animation: sdSpinR 16s linear infinite;
}

/* ============================================================
   5. TESTIMONIALS — rich purple gradient
   ============================================================ */
.testimonials {
    background: linear-gradient(135deg, #4c1d95 0%, #7c3aed 40%, #6d28d9 70%, #4c1d95 100%);
}
.testimonials .section-title      { color: #ffffff; }
.testimonials .testimonial-card   {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.15);
}
.testimonials .testimonial-text   { color: rgba(255,255,255,0.88); }
.testimonials .testimonial-rating i { color: #fbbf24; }
.testimonials .author-info strong { color: #ffffff; }
.testimonials .author-info small  { color: rgba(255,255,255,0.6); }
.testimonials .testimonial-avatar { background: rgba(255,255,255,0.15); color: white; }

.testimonials .sh-1 {
    width: 220px; height: 220px;
    border: 3px solid rgba(255,255,255,0.06);
    top: 4%; left: 1%;
    animation: sdSpin 40s linear infinite;
}
.testimonials .sh-2 {
    width: 120px; height: 120px;
    background: rgba(255,255,255,0.05);
    border: 2px solid rgba(255,255,255,0.1);
    bottom: 8%; right: 2%;
    animation: sdFloat 9s ease-in-out infinite;
}
.testimonials .sh-3 {
    width: 52px; height: 52px;
    background: rgba(251,191,36,0.22);
    top: 44%; right: 7%;
    animation: sdPulse 4.5s ease-in-out infinite;
}
.testimonials .sh-4 {
    width: 30px; height: 30px;
    background: rgba(255,255,255,0.2);
    top: 72%; left: 5%;
    animation: sdFloatR 6.5s ease-in-out infinite;
}
.testimonials .sh-5 {
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
    bottom: -80px; left: -60px;
    animation: auroraBlob 20s ease-in-out infinite 4s;
}

/* ============================================================
   6. FAQ PREVIEW — soft mint/green gradient
   ============================================================ */
.faq-preview {
    background: linear-gradient(175deg, #f0fdf4 0%, #ecfdf5 50%, #f0fdfa 100%) !important;
}
.faq-preview .sh-1 {
    width: 320px; height: 320px;
    background: radial-gradient(circle, rgba(16,185,129,0.09) 0%, transparent 70%);
    top: -90px; right: -60px;
    animation: auroraBlob 22s ease-in-out infinite;
}
.faq-preview .sh-2 {
    width: 92px; height: 92px;
    border: 3px solid rgba(16,185,129,0.16);
    top: 12%; right: 5%;
    animation: sdSpin 26s linear infinite;
}
.faq-preview .sh-3 {
    width: 52px; height: 52px;
    background: rgba(16,185,129,0.12);
    bottom: 22%; left: 4%;
    animation: sdFloat 7.5s ease-in-out infinite;
}
/* Triangle */
.faq-preview .sh-4 {
    width: 36px; height: 36px;
    background: rgba(124,58,237,0.12);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    border-radius: 0 !important;
    top: 30%; left: 3%;
    animation: sdFloatR 9s ease-in-out infinite;
}
.faq-preview .sh-5 {
    width: 20px; height: 20px;
    background: rgba(16,185,129,0.25);
    top: 58%; right: 8%;
    animation: sdPulse 4s ease-in-out infinite;
}

/* ============================================================
   7. CTA SECTION — enhanced purple
   ============================================================ */
.cta-section {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 40%, #5b21b6 75%, #4c1d95 100%) !important;
}
/* Dot grid */
.cta-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.07) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
    z-index: 0;
}
.cta-section .sh-1 {
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.09) 0%, transparent 70%);
    top: -80px; right: 12%;
    animation: auroraBlob 20s ease-in-out infinite;
}
.cta-section .sh-2 {
    width: 130px; height: 130px;
    border: 2px solid rgba(255,255,255,0.1);
    bottom: -30px; left: 8%;
    animation: sdSpin 24s linear infinite;
}
.cta-section .sh-3 {
    width: 38px; height: 38px;
    background: rgba(255,255,255,0.18);
    bottom: 36%; right: 28%;
    animation: sdFloat 5.5s ease-in-out infinite;
}
.cta-section .sh-4 {
    width: 62px; height: 62px;
    border: 2px solid rgba(255,255,255,0.12);
    top: 15%; left: 5%;
    animation: sdSpinR 20s linear infinite;
}

/* ============================================================
   8. NEWSLETTER SECTION — dark navy
   ============================================================ */
.newsletter-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%) !important;
    padding: 5rem 0;
}
.newsletter-section h2           { color: #ffffff !important; }
.newsletter-section p            { color: rgba(255,255,255,0.7) !important; }
.newsletter-input-group          {
    background: rgba(255,255,255,0.07) !important;
    border-color: rgba(124,58,237,0.4) !important;
}
.newsletter-input-group input    { color: #ffffff !important; }
.newsletter-input-group input::placeholder { color: rgba(255,255,255,0.35) !important; }

.newsletter-section .sh-1 {
    width: 360px; height: 360px;
    background: radial-gradient(circle, rgba(124,58,237,0.15) 0%, transparent 70%);
    top: -100px; left: -80px;
    animation: auroraBlob 18s ease-in-out infinite;
}
.newsletter-section .sh-2 {
    width: 260px; height: 260px;
    background: radial-gradient(circle, rgba(236,72,153,0.1) 0%, transparent 70%);
    bottom: -80px; right: -60px;
    animation: auroraBlob 22s ease-in-out infinite 5s;
}
.newsletter-section .sh-3 {
    width: 72px; height: 72px;
    border: 2px solid rgba(167,139,250,0.24);
    top: 20%; right: 12%;
    animation: sdSpin 20s linear infinite;
}
.newsletter-section .sh-4 {
    width: 34px; height: 34px;
    background: rgba(167,139,250,0.3);
    bottom: 28%; left: 12%;
    animation: sdFloatR 6.5s ease-in-out infinite;
}
.newsletter-section .sh-5 {
    width: 22px; height: 22px;
    background: rgba(236,72,153,0.38);
    top: 50%; left: 22%;
    animation: sdPulse 3.8s ease-in-out infinite;
}

/* ============================================================
   9. FOOTER — aurora + stars + curved top
   ============================================================ */
/* Curved top wave (from newsletter dark) */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -4%; right: -4%;
    height: 70px;
    background: #1e293b;
    border-radius: 0 0 50% 50%;
    z-index: 0;
}

/* Aurora blobs */
.footer-aurora {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.1;
    pointer-events: none;
}
.footer-aurora-1 {
    width: 520px; height: 520px;
    background: #7c3aed;
    top: -150px; left: -110px;
    animation: auroraBlob 22s ease-in-out infinite;
}
.footer-aurora-2 {
    width: 400px; height: 400px;
    background: #ec4899;
    bottom: -110px; right: -80px;
    animation: auroraBlob 26s ease-in-out infinite 7s;
}
.footer-aurora-3 {
    width: 280px; height: 280px;
    background: #06b6d4;
    top: 30%; right: 18%;
    opacity: 0.06;
    animation: auroraBlob 30s ease-in-out infinite 14s;
}

/* Twinkling stars — Gemini sparkle shape */
.footer-star {
    position: absolute;
    border-radius: 0;
    clip-path: polygon(50% 0%, 56% 44%, 100% 50%, 56% 56%, 50% 100%, 44% 56%, 0% 50%, 44% 44%);
    pointer-events: none;
    animation: twinkleStar ease-in-out infinite;
}
.footer-star.fs-1  { width:6px;  height:6px;  background:#a78bfa; top:8%;  left:6%;  animation-duration:2.4s; animation-delay:0s;    }
.footer-star.fs-2  { width:8px;  height:8px;  background:#c4b5fd; top:14%; left:20%; animation-duration:3.1s; animation-delay:0.6s;  }
.footer-star.fs-3  { width:5px;  height:5px;  background:#a78bfa; top:6%;  left:38%; animation-duration:2.8s; animation-delay:1.2s;  }
.footer-star.fs-4  { width:8px;  height:8px;  background:#f9a8d4; top:10%; left:55%; animation-duration:3.6s; animation-delay:0.3s;  }
.footer-star.fs-5  { width:6px;  height:6px;  background:#a78bfa; top:7%;  left:72%; animation-duration:2.2s; animation-delay:1.8s;  }
.footer-star.fs-6  { width:10px; height:10px; background:#c4b5fd; top:4%;  left:88%; animation-duration:4.0s; animation-delay:0.9s;  }
.footer-star.fs-7  { width:5px;  height:5px;  background:#a78bfa; top:22%; left:10%; animation-duration:2.6s; animation-delay:2.1s;  }
.footer-star.fs-8  { width:6px;  height:6px;  background:#f9a8d4; top:28%; left:45%; animation-duration:3.3s; animation-delay:1.4s;  }
.footer-star.fs-9  { width:8px;  height:8px;  background:#a78bfa; top:32%; left:80%; animation-duration:2.9s; animation-delay:0.7s;  }
.footer-star.fs-10 { width:5px;  height:5px;  background:#c4b5fd; top:50%; left:15%; animation-duration:3.8s; animation-delay:2.5s;  }
.footer-star.fs-11 { width:6px;  height:6px;  background:#a78bfa; top:55%; left:62%; animation-duration:2.1s; animation-delay:1.0s;  }
.footer-star.fs-12 { width:8px;  height:8px;  background:#f9a8d4; top:70%; left:30%; animation-duration:3.4s; animation-delay:1.6s;  }
.footer-star.fs-13 { width:5px;  height:5px;  background:#c4b5fd; top:75%; left:75%; animation-duration:2.7s; animation-delay:0.4s;  }
.footer-star.fs-14 { width:6px;  height:6px;  background:#a78bfa; top:85%; left:50%; animation-duration:3.0s; animation-delay:2.0s;  }

/* Footer grid stays above aurora/stars */
.footer-grid,
.footer-bottom,
.footer-col {
    position: relative;
    z-index: 2;
}

/* ============================================================
   RESPONSIVE: hide heavy blobs on mobile to save performance
   ============================================================ */
@media (max-width: 768px) {
    .sh-1 { opacity: 0.4; }
    .featured-themes .sh-1,
    .categories-showcase .sh-1,
    .categories-showcase .sh-2,
    .popular-themes .sh-1,
    .why-us .sh-1,
    .why-us .sh-2,
    .testimonials .sh-5,
    .newsletter-section .sh-1,
    .newsletter-section .sh-2,
    .cta-section .sh-1,
    .faq-preview .sh-1,
    .footer-aurora { display: none; }
}

/* ============================================================
   GEMINI STAR CORRECTIONS
   Large radial-gradient blobs: restore natural shape (they are
   invisible atmospheric glows, not visible circles).
   Ring/border shapes: clip-path strips borders, so give them
   a filled background matching the original ring colour.
   ============================================================ */

/* 1 — Large atmospheric blobs: no clip-path, keep smooth */
.featured-themes .sh-1,
.categories-showcase .sh-1,
.categories-showcase .sh-2,
.popular-themes .sh-1,
.why-us .sh-1,
.why-us .sh-2,
.testimonials .sh-1,
.testimonials .sh-5,
.faq-preview .sh-1,
.cta-section .sh-1,
.newsletter-section .sh-1,
.newsletter-section .sh-2 {
    clip-path: none !important;
    border-radius: 50% !important;
}

/* 2 — Border-ring shapes: remove border, fill with matching colour */
.featured-themes .sh-2      { border: none !important; background: rgba(124,58,237,0.25) !important; }
.featured-themes .sh-4      { border: none !important; background: rgba(6,182,212,0.22) !important; }
.categories-showcase .sh-3  { border: none !important; background: rgba(167,139,250,0.35) !important; }
.popular-themes .sh-2       { border: none !important; background: rgba(124,58,237,0.20) !important; }
.why-us .sh-3               { border: none !important; background: rgba(167,139,250,0.28) !important; }
.why-us .sh-6               { border: none !important; background: rgba(6,182,212,0.22) !important; }
.testimonials .sh-2         { border: none !important; }
.faq-preview .sh-2          { border: none !important; background: rgba(16,185,129,0.18) !important; }
.cta-section .sh-2          { border: none !important; background: rgba(255,255,255,0.14) !important; }
.cta-section .sh-4          { border: none !important; background: rgba(255,255,255,0.16) !important; }
.newsletter-section .sh-3   { border: none !important; background: rgba(167,139,250,0.28) !important; }

/* 3 — Triangle overrides: replace with star */
.popular-themes .sh-4,
.faq-preview .sh-4 {
    clip-path: polygon(50% 0%, 56% 44%, 100% 50%, 56% 56%, 50% 100%, 44% 56%, 0% 50%, 44% 44%) !important;
    border-radius: 0 !important;
}

/* ============================================================
   THEME DETAILS PAGE
   ============================================================ */

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 2.2rem;
    padding: 0.75rem 1.1rem;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}
.breadcrumb a {
    color: var(--primary);
    font-weight: 500;
    transition: var(--transition);
}
.breadcrumb a:hover { color: var(--primary-dark); text-decoration: underline; }
.breadcrumb span:not(.breadcrumb a) { color: var(--text-muted); }

/* ── Main 2-col layout ── */
.theme-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    margin-bottom: 3.5rem;
}

/* ── Gallery ── */
.theme-gallery-section {
    position: sticky;
    top: 90px;
}

.main-gallery {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #f1f5f9;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    margin-bottom: 1rem;
    aspect-ratio: 16/10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-gallery .main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.main-gallery:hover .main-image { transform: scale(1.02); }

.thumbnail-gallery {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
}
.thumbnail-gallery .thumbnail {
    width: calc(25% - 0.5rem);
    aspect-ratio: 16/10;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    opacity: 0.7;
}
.thumbnail-gallery .thumbnail:hover,
.thumbnail-gallery .thumbnail.active {
    border-color: var(--primary);
    opacity: 1;
    box-shadow: 0 0 0 3px rgba(124,58,237,0.25);
}

/* ── Info Panel ── */
.theme-info-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Category Badge */
.category-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.9rem;
    background: rgba(124,58,237,0.1);
    color: var(--primary);
    border: 1px solid rgba(124,58,237,0.3);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Theme Title */
.theme-title {
    font-size: clamp(1.75rem, 3.5vw, 2.6rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-dark);
    margin: 0.35rem 0 0;
    letter-spacing: -0.02em;
}

/* Rating / Downloads row */
.theme-meta-info {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: var(--text-muted);
}
.theme-meta-info .rating {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-weight: 600;
    color: var(--warning);
}
.theme-meta-info .rating small { color: var(--text-muted); font-weight: 400; }
.theme-meta-info .sales {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--text-muted);
}
.theme-meta-info .sales i { color: var(--primary-light); }

/* Short description */
.theme-description {
    font-size: 1rem;
    line-height: 1.75;
    color: #475569;
    margin: 0;
    border-left: 3px solid var(--primary-light);
    padding-left: 1rem;
}

/* ── Pricing Box ── */
.theme-pricing-box {
    background: linear-gradient(135deg, #f8f5ff 0%, #fdf4ff 100%);
    border: 1px solid rgba(124,58,237,0.2);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.6rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pricing-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.discount-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.75rem;
    background: linear-gradient(135deg, var(--danger) 0%, #f97316 100%);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 800;
    border-radius: var(--radius-full);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    animation: pricePulse 2.5s ease-in-out infinite;
}
@keyframes pricePulse {
    0%,100% { box-shadow: 0 0 0 0 rgba(239,68,68,0); }
    50%      { box-shadow: 0 0 0 6px rgba(239,68,68,0.15); }
}

.price-display {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.original-price {
    font-size: 1.25rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.sale-price,
.current-price {
    font-size: 2.4rem;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.04em;
}

/* Stock Status */
.stock-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.4rem 0.9rem;
    border-radius: var(--radius-full);
    width: fit-content;
}
.stock-status.in_stock  { background: rgba(16,185,129,0.12); color: #059669; }
.stock-status.limited   { background: rgba(245,158,11,0.12); color: #d97706; }
.stock-status.out_of_stock { background: rgba(239,68,68,0.1);  color: #dc2626; }

/* ── Trust Badges ── */
.trust-badges {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.trust-badges .badge {
    flex: 1;
    min-width: 90px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 0.8rem;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-dark);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.trust-badges .badge:hover {
    border-color: var(--primary-light);
    box-shadow: 0 4px 12px rgba(124,58,237,0.12);
    transform: translateY(-2px);
}
.trust-badges .badge i {
    font-size: 1rem;
    color: var(--primary);
    flex-shrink: 0;
}

/* ── Action Buttons ── */
.action-buttons {
    display: flex;
    gap: 0.85rem;
}
.action-buttons .btn-primary {
    flex: 1.5;
    justify-content: center;
    font-size: 1.05rem;
    padding: 0.95rem 1.5rem;
    border-radius: var(--radius-md);
}
.action-buttons .btn-outline {
    flex: 1;
    justify-content: center;
    font-size: 1.05rem;
    padding: 0.95rem 1.5rem;
    border-radius: var(--radius-md);
}

/* ── Contact Options ── */
.contact-options {
    display: flex;
    gap: 0.75rem;
}
.contact-options .option {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 0.5rem;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: var(--transition);
    text-decoration: none;
}
.contact-options .option:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(124,58,237,0.05);
}
.contact-options .option i { font-size: 1.05rem; }
.contact-options .option .fa-whatsapp { color: #25d366; }
.contact-options .option .fa-envelope  { color: var(--primary); }

/* ============================================================
   DETAIL SECTIONS (replaces tabs — all shown stacked)
   ============================================================ */
.detail-sections {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3.5rem;
}

.detail-section {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 2.2rem 2.5rem;
    box-shadow: var(--shadow-sm);
}

.detail-section-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border);
}
.detail-section-header i {
    font-size: 1.3rem;
    color: var(--primary);
    flex-shrink: 0;
}
.detail-section-header h2 {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0;
    letter-spacing: -0.01em;
}

@media (max-width: 768px) {
    .detail-section { padding: 1.5rem 1.25rem; }
    .detail-section-header h2 { font-size: 1.2rem; }
}

/* Overview rich text */
.overview-content {
    font-size: 1rem;
    line-height: 1.85;
    color: #475569;
    max-width: 820px;
}
.overview-content p { margin-bottom: 1rem; }
.overview-content br + br { display: none; }

/* Features / Included list */
.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 0.7rem 1.5rem;
}
.features-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.95rem;
    color: #334155;
    padding: 0.55rem 0.75rem;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.features-list li:hover {
    border-color: var(--primary-light);
    background: rgba(124,58,237,0.04);
}
.features-list li i {
    margin-top: 2px;
    flex-shrink: 0;
    font-size: 0.85rem;
}
.features-list li .fa-check   { color: var(--success); }
.features-list li .fa-file    { color: var(--primary); }

/* Empty state inside tabs */
.tab-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 3rem 2rem;
    color: var(--text-muted);
    background: #f8fafc;
    border: 2px dashed var(--border);
    border-radius: var(--radius-lg);
    text-align: center;
}
.tab-empty-state i {
    font-size: 2.5rem;
    color: var(--primary-light);
    opacity: 0.6;
}
.tab-empty-state p {
    font-size: 0.95rem;
    margin: 0;
    color: var(--text-muted);
}

/* Included list — file icon color */
.included-list li i.fa-file-code { color: #06b6d4; }

/* Features list — check-circle */
.features-list li i.fa-check-circle { color: var(--success); }

/* Reviews summary */
.reviews-summary {
    display: flex;
    gap: 2.5rem;
    align-items: flex-start;
    flex-wrap: wrap;
}

/* ── Reviews & Specs tab layout ── */
.rs-section { margin-bottom: 0.5rem; }
.rs-heading {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1.4rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding-bottom: 0.7rem;
    border-bottom: 2px solid var(--border);
}
.rs-divider {
    border: none;
    border-top: 2px dashed var(--border);
    margin: 2rem 0;
}

/* Specs grid */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}

.spec-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.1rem;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: var(--transition);
}
.spec-card:hover {
    border-color: var(--primary-light);
    box-shadow: 0 4px 14px rgba(124,58,237,0.1);
    transform: translateY(-2px);
    background: #fff;
}

.spec-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.spec-body {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}
.spec-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
}
.spec-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.spec-value a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
}
.spec-value a:hover { text-decoration: underline; }

.spec-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.2rem 0.65rem;
    border-radius: var(--radius-full);
}
.spec-badge--green { background: rgba(16,185,129,0.12); color: #059669; }
.spec-badge--red   { background: rgba(239,68,68,0.1);   color: #dc2626; }

@media (max-width: 600px) {
    .reviews-summary { flex-direction: column; gap: 1rem; }
    .reviews-rating-big { width: 100%; }
    .specs-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 400px) {
    .specs-grid { grid-template-columns: 1fr; }
}

.reviews-rating-big {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #f8f5ff 0%, #fdf4ff 100%);
    border: 1px solid rgba(124,58,237,0.18);
    border-radius: var(--radius-lg);
    padding: 1.75rem 2.25rem;
    min-width: 160px;
    flex-shrink: 0;
}

.reviews-score {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.04em;
}

.reviews-stars {
    display: flex;
    gap: 0.2rem;
    font-size: 1.2rem;
    color: var(--warning);
}
.reviews-stars .far.fa-star { color: #cbd5e1; }

.reviews-count {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.reviews-placeholder {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.65rem;
    padding: 1.75rem;
    background: #f8fafc;
    border: 2px dashed var(--border);
    border-radius: var(--radius-lg);
    flex: 1;
    min-width: 220px;
}
.reviews-placeholder i {
    font-size: 2rem;
    color: var(--primary-light);
    opacity: 0.7;
}
.reviews-placeholder p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 600px) {
    .reviews-summary { flex-direction: column; gap: 1rem; }
    .reviews-rating-big { width: 100%; }
}

/* ============================================================
   RELATED THEMES
   ============================================================ */
.related-themes {
    margin-top: 1rem;
}

.related-themes > h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1.8rem;
    position: relative;
    padding-bottom: 0.75rem;
    display: inline-block;
}
.related-themes > h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 4px;
}

.related-themes .themes-grid {
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
}

.theme-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}
.theme-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.theme-card .theme-image {
    aspect-ratio: 16/10;
    overflow: hidden;
    background: #f1f5f9;
}
.theme-card .theme-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.theme-card:hover .theme-image img { transform: scale(1.06); }

.theme-card .theme-body {
    padding: 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.theme-card .theme-name {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
}
.theme-card .theme-name a {
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
}
.theme-card .theme-name a:hover { color: var(--primary); }

.theme-card .theme-price {
    font-size: 1.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================================
   RESPONSIVE — Theme Details
   ============================================================ */
@media (max-width: 1024px) {
    .theme-details-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .theme-details-grid {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }
    .theme-gallery-section { position: static; }
    .theme-title { font-size: 1.75rem; }
    .sale-price, .current-price { font-size: 2rem; }
    .action-buttons { flex-direction: column; }
    .action-buttons .btn-primary,
    .action-buttons .btn-outline { flex: none; width: 100%; }
    .contact-options { flex-direction: column; }
    .trust-badges .badge { min-width: calc(50% - 0.375rem); }
    .tab-content { padding: 1.5rem 1.25rem; }
    .tab-content h3 { font-size: 1.25rem; }
    .features-list { grid-template-columns: 1fr; }
    .related-themes .themes-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .thumbnail-gallery .thumbnail { width: calc(33.33% - 0.45rem); }
}

@media (max-width: 480px) {
    .related-themes .themes-grid { grid-template-columns: 1fr; }
    .trust-badges .badge { min-width: 100%; }
    .thumbnail-gallery .thumbnail { width: calc(50% - 0.35rem); }
}

/* ── Category Page — Premium FAQ ── */
.category-faq {
    background: linear-gradient(180deg, #faf5ff 0%, #fff 55%);
    padding: 5rem 0 4.5rem;
    position: relative;
    overflow: hidden;
}
.category-faq::before {
    content: 'FAQ';
    position: absolute;
    top: -3rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 16rem;
    font-weight: 900;
    color: rgba(124,58,237,0.035);
    letter-spacing: -10px;
    pointer-events: none;
    white-space: nowrap;
    z-index: 0;
    line-height: 1;
}
.category-faq .container { position: relative; z-index: 1; }
.cat-faq-header {
    text-align: center;
    margin-bottom: 3.5rem;
}
.cat-faq-label {
    display: inline-block;
    background: linear-gradient(135deg, #7c3aed, #ec4899);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.45rem 1.4rem;
    border-radius: 50px;
    margin-bottom: 1.1rem;
}
.cat-faq-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.1;
    color: #0f0a1e;
    letter-spacing: -2px;
    margin: 0 0 0.9rem;
}
.cat-faq-title em {
    font-style: normal;
    background: linear-gradient(135deg, #7c3aed, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.cat-faq-subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: #6b7280;
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.75;
}
.cat-faq-container {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.category-faq .faq-item {
    background: #fff;
    border: 2px solid #ede9fe;
    border-radius: 18px;
    overflow: hidden;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.category-faq .faq-item:hover {
    border-color: #c084fc;
    box-shadow: 0 8px 30px rgba(124,58,237,0.1);
}
.category-faq .faq-item.active {
    border-color: #7c3aed;
    box-shadow: 0 10px 40px rgba(124,58,237,0.18);
}
.category-faq .faq-question {
    padding: 1.8rem 2rem;
    font-size: clamp(1.15rem, 2.2vw, 1.45rem);
    font-weight: 700;
    color: #1a0a3e;
    line-height: 1.4;
    gap: 1rem;
    background: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.category-faq .faq-question:hover {
    background: #faf5ff;
    color: #7c3aed;
}
.category-faq .faq-item.active .faq-question {
    background: linear-gradient(135deg, #f5f0ff, #fdf4ff);
    color: #7c3aed;
}
.category-faq .faq-question i {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f3e8ff, #fce7f3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.88rem;
    color: #7c3aed;
    transition: transform 0.35s, background 0.3s, color 0.3s;
}
.category-faq .faq-item.active .faq-question i {
    background: linear-gradient(135deg, #7c3aed, #ec4899);
    color: #fff;
    transform: rotate(180deg);
}
.category-faq .faq-answer {
    background: #faf5ff;
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s ease;
}
.category-faq .faq-item.active .faq-answer {
    padding: 1.6rem 2rem 2rem;
    max-height: 600px;
    border-top: 1.5px solid #ede9fe;
}
.category-faq .faq-answer p {
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    color: #4b5563;
    line-height: 1.9;
    margin: 0;
}
@media (max-width: 600px) {
    .category-faq { padding: 3.5rem 0; }
    .category-faq .faq-question { padding: 1.3rem 1.2rem; font-size: 1.05rem; }
    .category-faq .faq-item.active .faq-answer { padding: 1.2rem 1.2rem 1.5rem; }
}

/* ── Theme Details — Scrolling Reviews ── */
.reviews-scroll-wrap {
    flex: 1;
    overflow: hidden;
    position: relative;
    min-width: 0;
    /* fade edges */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.reviews-track {
    display: flex;
    gap: 1rem;
    width: max-content;
    animation: reviews-scroll 36s linear infinite;
}
.reviews-scroll-wrap:hover .reviews-track {
    animation-play-state: paused;
}
@keyframes reviews-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.review-card {
    background: #fff;
    border: 1.5px solid #ede9fe;
    border-radius: 18px;
    padding: 1.3rem 1.5rem;
    width: 290px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    box-shadow: 0 4px 18px rgba(124,58,237,0.07);
    transition: box-shadow 0.3s, border-color 0.3s, transform 0.3s;
}
.review-card:hover {
    border-color: #c084fc;
    box-shadow: 0 10px 34px rgba(124,58,237,0.16);
    transform: translateY(-3px);
}
.review-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.98rem;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
    letter-spacing: 0.03em;
}
.review-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: #1a0a3e;
    line-height: 1.2;
}
.review-date {
    font-size: 0.72rem;
    color: #9ca3af;
    margin-top: 0.15rem;
}
.review-stars {
    display: flex;
    gap: 0.18rem;
    font-size: 0.88rem;
    color: #f59e0b;
}
.review-text {
    font-size: 0.9rem;
    color: #4b5563;
    line-height: 1.65;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.review-verified {
    font-size: 0.72rem;
    color: #059669;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 0.1rem;
}
.review-verified i { font-size: 0.7rem; }
@media (max-width: 600px) {
    .reviews-summary { flex-direction: column !important; }
    .reviews-scroll-wrap { width: 100%; }
    .review-card { width: 240px; padding: 1rem 1.1rem; }
}

/* ── Theme Details FAQ — inherits .category-faq styles ── */
.td-faq::before { content: 'FAQ'; }