/* ===== Al Aqsa Computers - Main Stylesheet ===== */

:root {
    --aqsa-navy-900: #07183f;
    --aqsa-navy-800: #0b255f;
    --aqsa-navy-700: #123887;
    --aqsa-navy-500: #2f6de1;
    --aqsa-green-500: #1fa971;
    --aqsa-surface: #f4f8ff;
    --aqsa-text: #0f172a;
}

/* ===== LOGO ANIMATIONS ===== */
.logo-main-img {
    height: 64px;
    max-width: 260px;
    width: auto;
    object-fit: contain;
    /* entrance animation once, then a subtle float repeating */
    animation: logoEntrance 0.85s cubic-bezier(0.34, 1.4, 0.64, 1) both, logoFloat 6s ease-in-out 1s infinite;
    will-change: transform, opacity;
}
.logo-bar-img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    animation: barLogoAppear 0.9s cubic-bezier(0.34, 1.4, 0.64, 1) 0.1s both;
    will-change: transform, opacity;
}
.logo-main-img:hover {
    filter: drop-shadow(0 6px 22px rgba(30,136,229,0.12));
    transition: filter 0.35s ease, transform 0.25s ease;
    transform: translateY(-1px);
}
.logo-bar-img:hover {
    animation: none;
    filter: drop-shadow(0 0 10px rgba(34,197,94,0.6)) drop-shadow(0 0 6px rgba(220,38,38,0.4));
    transition: filter 0.3s ease, transform 0.2s ease;
    transform: scale(1.08);
}
@keyframes logoEntrance {
    0%   { opacity: 0; transform: translateX(-28px) scale(0.88); }
    65%  { transform: translateX(5px) scale(1.02); }
    100% { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes barLogoAppear {
    0%   { opacity: 0; transform: rotate(-80deg) scale(0.5); }
    60%  { transform: rotate(8deg) scale(1.05); }
    100% { opacity: 1; transform: rotate(0deg) scale(1); }
}
@keyframes logoFloat {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(-4px); }
    100% { transform: translateY(0); }
}

/* ===== MEGA MENU ===== */
.mega-nav-bar { background: #0d47a1; position: relative; z-index: 39; display: none; }
@media (min-width: 1024px) { .mega-nav-bar { display: block; } }
.mega-nav-list { display: flex; list-style: none; max-width: 80rem; margin: 0 auto; padding: 0 1rem; }
.mega-nav-item > a {
    display: flex; align-items: center; gap: 5px;
    padding: 11px 14px; color: #e0edff; font-size: 0.875rem; font-weight: 600;
    letter-spacing: 0.01em; text-decoration: none; white-space: nowrap;
    transition: background 0.15s, color 0.15s;
    position: relative;
}
.mega-nav-item > a::after {
    content: ''; position: absolute; bottom: 0; left: 50%; right: 50%;
    height: 3px; background: #fbbf24; transition: left 0.2s, right 0.2s; border-radius: 3px 3px 0 0;
}
.mega-nav-item:hover > a, .mega-nav-item.open > a { background: rgba(255,255,255,0.14); color: #fff; }
.mega-nav-item:hover > a::after, .mega-nav-item.open > a::after { left: 8px; right: 8px; }
.mega-nav-item > a .nav-chevron { font-size: 0.65rem; opacity: 0.7; transition: transform 0.2s; }
.mega-nav-item:hover > a .nav-chevron, .mega-nav-item.open > a .nav-chevron { transform: rotate(180deg); opacity: 1; }

/* Highlighted PC Builder call-to-action in the nav bar */
.mega-nav-cta { margin-left: auto; }
.mega-nav-cta > a { color: #fff; }
.mega-nav-cta > a::after { display: none; }
.mega-nav-cta:hover > a { background: rgba(31, 169, 113, 0.24); }
.mega-nav-tag {
    font-size: 0.55rem; font-weight: 800; letter-spacing: 0.06em;
    background: #1fa971; color: #fff; padding: 2px 6px; border-radius: 999px; margin-left: 2px;
}

/* Mega dropdown panel */
.mega-dropdown {
    display: none;
    position: absolute; left: 0; right: 0;
    background: #fff;
    box-shadow: 0 24px 64px rgba(0,0,0,0.18), 0 4px 16px rgba(0,0,0,0.08);
    border-top: 3px solid #1e88e5;
    z-index: 1000;
}
.mega-nav-item:hover .mega-dropdown,
.mega-nav-item.open .mega-dropdown {
    display: block;
    animation: dropdownSlide 0.22s ease;
}
@keyframes dropdownSlide {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}
.mega-inner {
    display: flex; max-width: 80rem; margin: 0 auto;
    padding: 1.25rem 1rem; gap: 0;
    min-height: 200px;
}
.mega-cats {
    width: 210px; flex-shrink: 0; border-right: 1px solid #f1f5f9; padding-right: 0.75rem;
}
.mega-cats-title { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: #94a3b8; padding: 0 10px 8px; }
.mega-cat-item {
    display: flex; align-items: center; justify-content: space-between;
    padding: 9px 10px; border-radius: 8px; cursor: pointer;
    font-size: 0.84rem; color: #374151; font-weight: 500;
    transition: background 0.12s, color 0.12s; user-select: none;
}
.mega-cat-item:hover { background: #eff6ff; color: #1565c0; }
.mega-cat-item.active { background: #1e88e5; color: #fff; }
.mega-cat-item .cat-arrow { font-size: 0.7rem; opacity: 0.5; }
.mega-cat-item.active .cat-arrow { opacity: 1; }

/* Brands panel */
.mega-brands-wrap { flex: 1; padding-left: 1.5rem; }
.mega-brands-header { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: #94a3b8; margin-bottom: 10px; }
.mega-brands-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 7px;
}
.mega-brand-link {
    display: block; padding: 8px 10px;
    background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px;
    font-size: 0.8rem; color: #374151; text-align: center; text-decoration: none;
    transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.15s, box-shadow 0.15s;
    font-weight: 500;
}
.mega-brand-link:hover {
    background: #1e88e5; border-color: #1e88e5; color: #fff;
    transform: translateY(-2px); box-shadow: 0 4px 12px rgba(30,136,229,0.3);
}
.mega-brands-panel { display: none; }
.mega-brands-panel.active { display: block; animation: panelFade 0.15s ease; }
@keyframes panelFade { from { opacity: 0; transform: translateX(8px); } to { opacity: 1; transform: translateX(0); } }

/* Mobile nav */
#mobile-menu { box-shadow: 4px 0 30px rgba(0,0,0,0.2); transition: transform 0.3s cubic-bezier(0.4,0,0.2,1); }
.mob-menu-item { display: flex; align-items: center; justify-content: space-between; padding: 13px 16px; font-weight: 600; font-size: 0.9rem; color: #1e293b; border-bottom: 1px solid #f1f5f9; cursor: pointer; }
.mob-menu-item:hover { background: #f8fafc; }
.mob-sub-list { background: #f8fafc; overflow: hidden; max-height: 0; transition: max-height 0.3s ease; }
.mob-sub-list.open { max-height: 1000px; }
.mob-sub-item { padding: 9px 16px 9px 28px; font-size: 0.84rem; color: #4b5563; border-bottom: 1px solid #f1f5f9; display: block; text-decoration: none; }
.mob-sub-item:hover { color: #1e88e5; background: #eff6ff; }
.mob-brand-list { background: #f1f5f9; padding: 8px 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.mob-brand-chip { font-size: 0.75rem; padding: 4px 10px; background: #fff; border: 1px solid #e2e8f0; border-radius: 20px; color: #4b5563; text-decoration: none; }
.mob-brand-chip:hover { background: #1e88e5; color: #fff; border-color: #1e88e5; }

/* ===== SCROLL ANIMATIONS ===== */
[data-aos] { opacity: 0; transition: opacity 0.6s ease, transform 0.6s ease; }
[data-aos="fade-up"] { transform: translateY(30px); }
[data-aos="fade-right"] { transform: translateX(-30px); }
[data-aos="fade-left"] { transform: translateX(30px); }
[data-aos="zoom-in"] { transform: scale(0.92); }
[data-aos].aos-animate { opacity: 1; transform: none; }
[data-aos-delay="100"] { transition-delay: 0.1s; }
[data-aos-delay="150"] { transition-delay: 0.15s; }
[data-aos-delay="200"] { transition-delay: 0.2s; }
[data-aos-delay="300"] { transition-delay: 0.3s; }
[data-aos-delay="400"] { transition-delay: 0.4s; }

/* Hero text animation */
.hero-text-animate { animation: heroText 0.7s cubic-bezier(0.22,1,0.36,1) 0.2s both; }
.hero-text-animate-2 { animation: heroText 0.7s cubic-bezier(0.22,1,0.36,1) 0.4s both; }
.hero-text-animate-3 { animation: heroText 0.7s cubic-bezier(0.22,1,0.36,1) 0.6s both; }
@keyframes heroText { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* Trust badge counter */
.count-up { display: inline-block; }

/* Product card hover elevation */
.product-card { transition: box-shadow 0.25s ease, transform 0.25s ease; }
.product-card:hover { box-shadow: 0 12px 40px rgba(30,136,229,0.15); transform: translateY(-3px); }

/* Category chips scroll */
.cat-chips-wrap { animation: slideInLeft 0.5s ease 0.1s both; }
@keyframes slideInLeft { from { opacity: 0; transform: translateX(-20px); } to { opacity: 1; transform: translateX(0); } }

/* Sticky header shadow on scroll */
.header-scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.12) !important; }

/* Admin settings input */
.settings-input {
    width: 100%; padding: 9px 12px; background: #f8fafc;
    border: 1px solid #e2e8f0; border-radius: 10px; font-size: 0.875rem;
    color: #1e293b; outline: none; transition: border-color 0.15s, background 0.15s;
}
.settings-input:focus { border-color: #1e88e5; background: #fff; }

/* Nav highlight for current page */
.mega-nav-item.current > a { background: rgba(255,255,255,0.18); color: #fff; }
.mega-nav-item.current > a::after { left: 8px; right: 8px; }


/* Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    background: radial-gradient(circle at 0% 0%, #f9fcff 0%, #eef4ff 28%, #e9f0ff 52%, #e5edff 100%);
    color: var(--aqsa-text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.font-display { font-family: 'Sora', 'Plus Jakarta Sans', system-ui, sans-serif; }

/* Utilities */
.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.line-clamp-1 { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Scrollbar */
.scrollbar-hide::-webkit-scrollbar { display: none; }
.scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; }
.cat-scroll::-webkit-scrollbar { height: 0; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

/* Carousel */
.carousel-track { transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1); }

/* Product Cards */
.product-card:hover .product-img { transform: scale(1.08); }
.product-img { transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); }

/* Animations */
.fade-in { animation: fadeIn 0.4s ease forwards; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.toast-enter { animation: toastIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards; }
.toast-exit { animation: toastOut 0.3s ease forwards; }
@keyframes toastIn { from { transform: translateX(120%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes toastOut { from { transform: translateX(0); opacity: 1; } to { transform: translateX(120%); opacity: 0; } }

/* Pulse for stock */
.pulse-green { animation: pulseGreen 2s ease-in-out infinite; }
@keyframes pulseGreen { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }

/* Shimmer loading */
.shimmer { background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%); background-size: 200% 100%; animation: shimmer 1.5s ease-in-out infinite; }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* Back to Top */
#back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }

/* Tab active state */
.product-tab.active { background-color: #1e88e5; color: #fff !important; }

/* Search clear */
input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }

/* Focus visible */
:focus-visible { outline: 2px solid #1e88e5; outline-offset: 2px; border-radius: 4px; }

/* Print */
@media print {
    header, footer, .carousel-track, #back-to-top, #toast-container, nav { display: none !important; }
    body { background: #fff; color: #000; }
    main { padding: 1rem; }
}

/* Responsive fine-tuning */
@media (max-width: 640px) {
    .product-card .product-img { max-height: 160px; }
}

/* ===== HERO CAROUSEL ===== */
.hero-carousel { position: relative; min-height: 240px; }
.hero-slide {
    position: absolute; inset: 0;
    opacity: 0; pointer-events: none;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-slide.active { opacity: 1; pointer-events: auto; position: relative; }
.hero-dots { display: flex; gap: 8px; }
.hero-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: rgba(255,255,255,0.45); border: none; cursor: pointer;
    transition: background 0.2s, width 0.2s;
    padding: 0;
}
.hero-dot.active { background: #fff; width: 22px; border-radius: 4px; }

/* ===== CATEGORY CARDS ===== */
.cat-card { text-decoration: none; }
.cat-card:hover { text-decoration: none; }

/* ===== FLASH DEALS ===== */
.countdown-unit {
    display: inline-flex; align-items: center; justify-content: center;
    background: #1e293b; color: #fff; font-weight: 700;
    font-size: 0.875rem; border-radius: 6px; min-width: 32px; padding: 2px 6px;
    font-variant-numeric: tabular-nums; letter-spacing: 0.02em;
}

/* ===== FILTER BAR ===== */
.filter-chip {
    display: inline-flex; align-items: center; gap: 4px;
    background: #eff6ff; color: #1565c0; font-size: 0.75rem;
    font-weight: 600; padding: 4px 10px; border-radius: 20px;
    border: 1px solid #bfdbfe; cursor: pointer; transition: background 0.15s, color 0.15s;
}
.filter-chip:hover { background: #dbeafe; }

/* ===== STAR RATINGS ===== */
.star-rating { display: inline-flex; align-items: center; gap: 3px; }

/* ===== WISHLIST BUTTON ===== */
.wish-btn {
    display: flex; align-items: center; justify-content: center;
    width: 30px; height: 30px; border-radius: 50%;
    background: rgba(255,255,255,0.9); border: 1px solid #e5e7eb;
    color: #d1d5db; cursor: pointer; transition: all 0.2s ease;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.wish-btn:hover { color: #ef4444; border-color: #fca5a5; background: #fff; transform: scale(1.1); }
.wish-btn.active { color: #ef4444; border-color: #fca5a5; background: #fff5f5; }
.wish-btn.active:hover { transform: scale(1.1); }

/* ===== BRAND SHOWCASE ===== */
.brand-badge {
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    padding: 14px 10px; background: #f8fafc; border: 1px solid #e2e8f0;
    border-radius: 12px; transition: transform 0.18s ease, box-shadow 0.18s ease; cursor: default;
}
.brand-badge:hover { background: #eff6ff; border-color: #bfdbfe; transform: translateY(-3px); box-shadow: 0 8px 20px rgba(30,136,229,0.12); }
.brand-badge .iconify { font-size: 2.25rem; line-height: 1; color: #6b7280; }
.brand-badge span:last-child { font-size: 0.75rem; font-weight: 600; color: #94a3b8; text-align: center; white-space: nowrap; overflow: hidden; max-width: 100%; text-overflow: ellipsis; }
@media (min-width: 768px) {
    .brand-badge .iconify { font-size: 2.6rem; }
    .brand-badge span:last-child { font-size: 0.85rem; }
}

/* ===== TESTIMONIALS ===== */
.testimonial-card {
    background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 18px;
    padding: 20px; transition: box-shadow 0.2s, transform 0.2s;
}
.testimonial-card:hover { box-shadow: 0 8px 32px rgba(30,136,229,0.1); transform: translateY(-2px); }

/* ===== NEWSLETTER ===== */
#newsletter-form input:focus { box-shadow: 0 0 0 3px rgba(255,255,255,0.3); }

/* ===== PRODUCT MODAL ENHANCED ===== */
#product-modal .modal-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
#product-modal .modal-spec-item { background: #f8fafc; border-radius: 10px; padding: 10px 12px; }
#product-modal .modal-spec-key { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.06em; color: #94a3b8; font-weight: 700; }
#product-modal .modal-spec-val { font-size: 0.84rem; font-weight: 600; color: #1e293b; margin-top: 2px; }

/* ===== ENHANCED PRODUCT CARD (keep wishlist btn at top-right, Quick View overlay) ===== */
.product-card .wish-btn { position: absolute; top: 10px; right: 10px; z-index: 10; }

/* ===== SUBTLE SECTION DIVIDER ===== */
.section-title-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.section-title-row h2 { font-size: 1.1rem; font-weight: 700; color: #111827; }
.section-title-row a { font-size: 0.8rem; font-weight: 600; color: #1e88e5; }

/* ===== PRODUCTS SECTION HEADER ===== */
#products .results-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }

/* ===== PAGE REFINEMENTS ===== */
html { scroll-behavior: smooth; }

/* ===== PREMIUM UTILITY BAR ===== */
.top-utility-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #dbe8ff;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease;
}
.top-utility-link:hover { color: #ffffff; }
.top-count-badge {
    display: inline-flex;
    min-width: 16px;
    height: 16px;
    justify-content: center;
    align-items: center;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    background: rgba(31,169,113,0.2);
    color: #9ef2cc;
    padding: 0 4px;
}

/* ===== SEARCH TOOLING ===== */
.search-tool-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 10px;
    border: 1px solid #dbe7ff;
    background: #ffffff;
    color: #274f9d;
    transition: all 0.2s ease;
}
.search-tool-btn:hover { border-color: #b8ccff; background: #f2f7ff; }
.search-tool-btn-ai {
    width: auto;
    padding: 0 10px;
    background: linear-gradient(130deg, #123887, #1fa971);
    border-color: transparent;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
}
.search-tool-btn-ai:hover { filter: brightness(1.05); }

.search-suggestions {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    z-index: 45;
    background: rgba(255,255,255,0.96);
    border: 1px solid #d9e6ff;
    border-radius: 16px;
    box-shadow: 0 25px 55px rgba(10,36,94,0.2);
    backdrop-filter: blur(14px);
    overflow: hidden;
}
.search-suggestion-section {
    padding: 10px 12px;
    border-bottom: 1px solid #edf3ff;
}
.search-suggestion-section:last-child { border-bottom: 0; }
.search-suggestion-title {
    font-size: 11px;
    font-weight: 700;
    color: #5b6f99;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.search-suggestion-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    border: 0;
    background: transparent;
    color: #14233f;
    font-size: 13px;
    padding: 8px 9px;
    border-radius: 10px;
    cursor: pointer;
    text-align: left;
}
.search-suggestion-item:hover { background: #f2f7ff; }

.quick-search-chip {
    border: 1px solid #d8e4ff;
    background: rgba(255,255,255,0.8);
    color: #274f9d;
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.2s ease;
}
.quick-search-chip:hover { background: #f2f7ff; border-color: #b8ccff; }

.utility-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    border: 1px solid #dbe6ff;
    background: rgba(255,255,255,0.9);
    color: #274f9d;
    position: relative;
    transition: all 0.2s ease;
}
.utility-icon-btn:hover { border-color: #b8ccff; background: #f1f7ff; }
.utility-pill {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 16px;
    height: 16px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    background: var(--aqsa-green-500);
    color: #ffffff;
    padding: 0 4px;
}

/* ===== CATEGORY ORBS ===== */
.category-orb {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    text-decoration: none;
    color: #1f2f4f;
    border: 1px solid #dbe7ff;
    background: linear-gradient(165deg, rgba(255,255,255,0.9), rgba(244,250,255,0.92));
    border-radius: 16px;
    padding: 12px 8px;
    box-shadow: 0 8px 24px rgba(17,56,135,0.06);
    transition: all 0.25s ease;
}
.category-orb .iconify {
    font-size: 20px;
    color: #2f6de1;
    transition: transform 0.25s ease;
}
.category-orb span:last-child {
    font-size: 11px;
    font-weight: 700;
    text-align: center;
    line-height: 1.25;
}
.category-orb:hover {
    border-color: #b4ccff;
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(18,56,135,0.14);
}
.category-orb:hover .iconify { transform: scale(1.12); }

/* ===== GLASS SURFACES ===== */
.glass-panel {
    background: linear-gradient(145deg, rgba(255,255,255,0.8), rgba(245,250,255,0.86));
    border: 1px solid rgba(204,222,255,0.85);
    box-shadow: 0 20px 48px rgba(18,56,135,0.12);
    backdrop-filter: blur(12px);
}

/* ===== MARKETPLACE LAYOUT ===== */
.marketplace-deck {
    display: grid;
    gap: 16px;
    align-items: start;
}
@media (min-width: 1100px) {
    .marketplace-deck {
        grid-template-columns: 270px minmax(0, 1fr) 310px;
    }
}

.market-sidebar-card,
.market-side-card,
.market-section-card {
    background: #ffffff;
    border: 1px solid #dbe7ff;
    border-radius: 24px;
    box-shadow: 0 18px 40px rgba(12, 37, 95, 0.08);
}

.market-sidebar-card,
.market-side-card,
.market-section-card {
    padding: 18px;
}

.market-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}
.market-card-head.compact { margin-bottom: 10px; }
.market-card-head h2,
.market-card-head h3,
.market-section-head h2,
.market-shelf-copy h3 {
    color: #0f2345;
    font-family: 'Sora', 'Plus Jakarta Sans', system-ui, sans-serif;
    font-weight: 800;
    line-height: 1.2;
}
.market-card-head h2 { font-size: 1.15rem; }
.market-card-head h3 { font-size: 1rem; }
.market-card-kicker {
    display: inline-block;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #5d79b8;
    margin-bottom: 4px;
}
.market-card-link,
.market-inline-action {
    color: #1d4eb8;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}
.market-inline-action-btn {
    border: 0;
    background: none;
    padding: 0;
    cursor: pointer;
}

.market-category-list {
    display: grid;
    gap: 8px;
}
.market-category-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border: 1px solid #e5edfb;
    background: #ffffff;
    border-radius: 14px;
    padding: 11px 12px;
    color: #1e335f;
    cursor: pointer;
    transition: all 0.18s ease;
}
.market-category-btn:hover {
    border-color: #bfd2ff;
    background: #f5f8ff;
    transform: translateY(-1px);
}
.market-category-main {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}
.market-category-icon {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: #eef4ff;
    color: #2f6de1;
    font-size: 18px;
    flex-shrink: 0;
}
.market-category-label {
    font-size: 13px;
    font-weight: 700;
    color: #173362;
    line-height: 1.25;
}
.market-category-count {
    font-size: 11px;
    font-weight: 800;
    color: #5f76a5;
    background: #f5f8ff;
    border-radius: 999px;
    padding: 4px 8px;
    flex-shrink: 0;
}

.market-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #dbe7ff, transparent);
    margin: 16px 0;
}

.market-brand-chip-grid,
.market-shelf-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.market-brand-chip,
.market-shelf-chip {
    border: 1px solid #d9e6ff;
    background: #f7faff;
    color: #1d4eb8;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.18s ease;
}
.market-brand-chip:hover,
.market-shelf-chip:hover {
    border-color: #b7ccff;
    background: #eef4ff;
}

.market-main-column,
.market-side-column {
    display: grid;
    gap: 14px;
}

.market-main-hero.hero-carousel {
    min-height: 340px;
    border-radius: 28px;
    box-shadow: 0 20px 50px rgba(7, 24, 63, 0.18);
}

.market-mini-grid {
    display: grid;
    gap: 12px;
}
@media (min-width: 768px) {
    .market-mini-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
.market-mini-banner {
    border: 1px solid #dce8ff;
    border-radius: 22px;
    background: linear-gradient(160deg, #ffffff, #f6f9ff);
    padding: 18px;
    box-shadow: 0 14px 30px rgba(12, 37, 95, 0.08);
}
.market-mini-banner.accent {
    background: linear-gradient(160deg, rgba(12,37,95,0.96), rgba(24,78,177,0.92));
    color: #eef4ff;
}
.market-mini-banner h3 {
    margin-top: 6px;
    font-size: 1.05rem;
    font-weight: 800;
    color: inherit;
    font-family: 'Sora', 'Plus Jakarta Sans', system-ui, sans-serif;
}
.market-mini-banner p {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.6;
    color: inherit;
    opacity: 0.9;
}

.market-side-column {
    align-content: start;
}

.market-countdown {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #52698f;
    font-size: 12px;
    font-weight: 700;
}

.market-side-deal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.market-service-list {
    display: grid;
    gap: 10px;
}
.market-service-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.market-service-item .iconify {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #eef4ff;
    color: #2f6de1;
    font-size: 18px;
    flex-shrink: 0;
}
.market-service-item h4 {
    font-size: 13px;
    font-weight: 800;
    color: #132f5f;
}
.market-service-item p {
    margin-top: 3px;
    font-size: 12px;
    color: #61779f;
    line-height: 1.5;
}

.market-quote-card {
    background: linear-gradient(160deg, rgba(12,37,95,0.98), rgba(27,81,184,0.95));
    color: #eef4ff;
}
.market-quote-card h3 {
    margin-top: 4px;
    font-size: 1.1rem;
    font-weight: 800;
    font-family: 'Sora', 'Plus Jakarta Sans', system-ui, sans-serif;
}
.market-quote-card p {
    margin-top: 10px;
    color: #d8e5ff;
    font-size: 13px;
    line-height: 1.6;
}
.market-quote-card .market-card-kicker { color: #9ec5ff; }

.market-section-head,
.market-shelf-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}
.market-section-head p,
.market-shelf-copy p {
    color: #5f769f;
    font-size: 13px;
    line-height: 1.6;
    margin-top: 8px;
}

.market-latest-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
@media (min-width: 768px) {
    .market-latest-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.market-shelf-stack {
    display: grid;
    gap: 16px;
}
.market-shelf {
    border: 1px solid #e5edfb;
    border-radius: 22px;
    padding: 18px;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
}
.market-shelf-link {
    border: 0;
    background: none;
    color: #1d4eb8;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}
.market-shelf-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}
@media (min-width: 1024px) {
    .market-shelf-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.market-product-card {
    border: 1px solid #e4edff;
    border-radius: 18px;
    background: #ffffff;
    padding: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}
.market-product-card:hover {
    border-color: #bed1ff;
    box-shadow: 0 16px 34px rgba(16, 58, 138, 0.12);
    transform: translateY(-3px);
}
.market-product-media {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background: #f5f8ff;
    aspect-ratio: 1 / 1;
}
.market-product-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
}
.market-product-tag,
.market-product-discount {
    position: absolute;
    top: 8px;
    font-size: 10px;
    font-weight: 800;
    padding: 4px 7px;
    border-radius: 999px;
    z-index: 1;
}
.market-product-tag {
    left: 8px;
    color: #ffffff;
    background: linear-gradient(120deg, #123887, #2f6de1);
}
.market-product-discount {
    right: 8px;
    color: #b91c1c;
    background: #fff1f2;
    border: 1px solid #fecdd3;
}
.market-product-category {
    margin-top: 10px;
    font-size: 10.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #4c6ab1;
}
.market-product-name {
    margin-top: 6px;
    font-size: 14px;
    line-height: 1.45;
    color: #132f5f;
    font-weight: 700;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.8em;
}
.market-product-price-row {
    margin-top: auto;
    padding-top: 10px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 10px;
}
.market-product-price {
    display: block;
    font-size: 16px;
    font-weight: 800;
    color: #123887;
}
.market-product-old {
    display: block;
    margin-top: 3px;
    font-size: 11px;
    color: #94a3b8;
    text-decoration: line-through;
}
.market-product-quick {
    font-size: 11px;
    font-weight: 800;
    color: #1d4eb8;
    background: #eef4ff;
    padding: 6px 9px;
    border-radius: 999px;
    white-space: nowrap;
}
.market-empty-state {
    font-size: 13px;
    color: #64748b;
    padding: 10px 0 4px;
}

/* ===== CATEGORY BROWSING ===== */
.browse-grid-card {
    padding: 12px;
}
.browse-card-stock-row {
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}
.browse-stock-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: #fff7ed;
    color: #c2410c;
    border: 1px solid #fed7aa;
    padding: 4px 8px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.browse-card-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}
.browse-card-actions-inline {
    flex-wrap: wrap;
    justify-content: flex-end;
}
.browse-cart-btn {
    flex: 1;
    min-width: 130px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(120deg, #1d4eb8, #123887);
    color: #ffffff;
    padding: 11px 14px;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    transition: filter 0.18s ease, transform 0.18s ease;
}
.browse-cart-btn:hover { filter: brightness(1.05); transform: translateY(-1px); }
.browse-cart-btn-disabled {
    background: #cbd5e1;
    color: #eef2f7;
    cursor: not-allowed;
}

.browse-list-card {
    background: #ffffff;
    border: 1px solid #dce7fb;
    border-radius: 24px;
    padding: 16px;
    box-shadow: 0 12px 30px rgba(12, 37, 95, 0.06);
}
.browse-list-media {
    width: 140px;
    min-width: 140px;
    aspect-ratio: 1 / 1;
    border-radius: 18px;
    overflow: hidden;
    background: #f5f8ff;
}
.browse-list-name {
    margin-top: 4px;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 800;
    color: #132f5f;
}
.browse-list-desc {
    margin-top: 10px;
    color: #5f769f;
    font-size: 13px;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.browse-list-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}
.browse-list-meta-chip {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: #eef4ff;
    color: #23478f;
    border: 1px solid #d8e5ff;
    padding: 5px 9px;
    font-size: 11px;
    font-weight: 700;
}
.browse-list-meta-chip.accent {
    background: #fff7ed;
    color: #c2410c;
    border-color: #fed7aa;
}
.browse-list-footer {
    margin-top: 14px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

@media (max-width: 1099px) {
    .market-sidebar-card,
    .market-side-column {
        order: initial;
    }
}

@media (max-width: 767px) {
    .market-main-hero.hero-carousel {
        min-height: 280px;
    }
    .market-side-deal-grid,
    .market-latest-grid,
    .market-shelf-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .market-section-card,
    .market-sidebar-card,
    .market-side-card {
        padding: 14px;
        border-radius: 20px;
    }
    .market-product-name {
        font-size: 13px;
    }
    .browse-list-media {
        width: 110px;
        min-width: 110px;
        border-radius: 16px;
    }
    .browse-list-name {
        font-size: 16px;
    }
}

/* ===== HOME BLOCKS ===== */
#home-block-tabs .home-block-tab {
    border: 1px solid #dbe7ff;
    background: rgba(255,255,255,0.85);
    color: #2b4f98;
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    transition: all 0.2s ease;
}
#home-block-tabs .home-block-tab.active {
    border-color: transparent;
    background: linear-gradient(120deg, #123887, #2f6de1);
    color: #ffffff;
}

.home-block-card p { margin-top: 6px; }

/* ===== BENEFITS + FEATURE SHOWCASE ===== */
.benefit-card {
    border: 1px solid #d6e4ff;
    border-radius: 16px;
    background: #ffffff;
    padding: 14px;
    box-shadow: 0 12px 30px rgba(12,37,95,0.08);
}
.benefit-card .iconify { font-size: 22px; color: #2f6de1; }
.benefit-card h3 { margin-top: 8px; font-size: 14px; font-weight: 800; color: #0f2345; }
.benefit-card p { margin-top: 4px; font-size: 12px; color: #4a5f86; line-height: 1.5; }

.feature-showcase-card {
    border-radius: 22px;
    border: 1px solid rgba(193,210,244,0.9);
    padding: 22px;
    box-shadow: 0 20px 48px rgba(12,37,95,0.14);
    position: relative;
    overflow: hidden;
}
.feature-showcase-ai {
    background: radial-gradient(circle at 10% 0%, rgba(34,95,220,0.24) 0%, rgba(255,255,255,0.95) 48%, rgba(236,247,255,0.95) 100%);
}
.feature-showcase-builder {
    background: radial-gradient(circle at 100% 0%, rgba(31,169,113,0.22) 0%, rgba(255,255,255,0.95) 55%, rgba(240,252,246,0.95) 100%);
}
.feature-kicker {
    display: inline-flex;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    color: #123887;
    background: rgba(255,255,255,0.75);
    border: 1px solid #d1e0ff;
}
.feature-showcase-card h3 {
    margin-top: 10px;
    color: #0f2345;
    font-size: 24px;
    line-height: 1.25;
    font-family: 'Sora', 'Plus Jakarta Sans', system-ui, sans-serif;
}
.feature-showcase-card p {
    margin-top: 10px;
    color: #4b628b;
    font-size: 14px;
    line-height: 1.6;
}

.ai-prompt-chip {
    border: 1px solid #d2e0ff;
    background: #f6f9ff;
    color: #123887;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 11px;
    font-weight: 700;
    transition: all 0.2s ease;
}
.ai-prompt-chip:hover { border-color: #aac2ff; background: #edf3ff; }

.builder-feature-list {
    margin-top: 12px;
    list-style: none;
    display: grid;
    gap: 8px;
    color: #203a68;
    font-size: 13px;
    font-weight: 600;
}
.builder-feature-list li::before {
    content: '✓';
    color: var(--aqsa-green-500);
    margin-right: 8px;
    font-weight: 800;
}

.feature-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 12px;
    padding: 10px 16px;
    background: linear-gradient(130deg, #123887, #1f62d8);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 12px 24px rgba(18,56,135,0.3);
    transition: all 0.2s ease;
}
.feature-action-btn:hover { filter: brightness(1.06); transform: translateY(-1px); }

/* ===== BRAND MATRIX ===== */
.brand-plate {
    border: 1px solid #d6e4ff;
    border-radius: 12px;
    background: #ffffff;
    padding: 10px 8px;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    color: #1f3d70;
    transition: all 0.2s ease;
}
.brand-plate:hover {
    border-color: #b4ccff;
    background: #f4f8ff;
    transform: translateY(-2px);
}

/* ===== PERSONALIZATION + CORPORATE ===== */
.mini-product-card {
    border: 1px solid #dce8ff;
    border-radius: 12px;
    background: #ffffff;
    padding: 8px;
    cursor: pointer;
}
.mini-product-card img {
    width: 100%;
    border-radius: 10px;
    aspect-ratio: 1/1;
    object-fit: cover;
    background: #f3f7ff;
}
.mini-product-card p { margin-top: 6px; }

.corporate-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-radius: 22px;
    border: 1px solid rgba(192,211,245,0.9);
    background: linear-gradient(130deg, rgba(12,37,95,0.96), rgba(18,56,135,0.9));
    color: #eef4ff;
    padding: 22px;
    box-shadow: 0 22px 48px rgba(7,24,63,0.28);
}
.corporate-strip h3 {
    font-family: 'Sora', 'Plus Jakarta Sans', system-ui, sans-serif;
    font-size: 22px;
    line-height: 1.3;
}
.corporate-strip p { margin-top: 7px; color: #d8e5ff; font-size: 13px; }

/* ===== COMPARE BUTTON ===== */
.compare-btn {
    border: 1px solid #dbe7ff;
    background: #f6f9ff;
    color: #244c97;
    border-radius: 10px;
    padding: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}
.compare-btn.active {
    border-color: #1fa971;
    color: #0f8b5c;
    background: #ecfdf5;
}

@media (max-width: 1023px) {
    .corporate-strip { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 767px) {
    #ai-assistant-fab { right: 6px; bottom: 136px; }
    #ai-assistant-panel { right: 8px; bottom: 186px; }
    .feature-showcase-card h3 { font-size: 20px; }
}

/* ============================================================
   PC BUILDER
   ============================================================ */
.pcb-overlay {
    position: fixed; inset: 0; z-index: 90;
    display: flex; align-items: stretch; justify-content: center;
    background: rgba(7, 24, 63, 0.55);
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    opacity: 0; transition: opacity 0.2s ease;
    padding: 0;
}
.pcb-overlay.pcb-open { opacity: 1; }
.pcb-overlay[hidden] { display: none; }

.pcb-modal {
    background: #f4f8ff;
    width: 100%; max-width: 1180px;
    margin: auto;
    max-height: 100vh; height: 100%;
    display: flex; flex-direction: column;
    box-shadow: 0 30px 90px rgba(7, 24, 63, 0.4);
    transform: translateY(14px) scale(0.99);
    transition: transform 0.25s cubic-bezier(0.34, 1.3, 0.64, 1);
}
.pcb-open .pcb-modal { transform: translateY(0) scale(1); }
@media (min-width: 900px) {
    .pcb-overlay { padding: 24px; }
    .pcb-modal { height: auto; max-height: calc(100vh - 48px); border-radius: 26px; overflow: hidden; }
}

/* Header */
.pcb-header {
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    padding: 16px 20px; flex-wrap: wrap;
    background: linear-gradient(120deg, #0b255f, #123887);
    color: #eef4ff;
}
.pcb-header-title { display: flex; align-items: center; gap: 12px; }
.pcb-header-title > .iconify { font-size: 30px; color: #7fb2ff; }
.pcb-header-title h2 { font-family: 'Sora', system-ui, sans-serif; font-size: 20px; font-weight: 700; line-height: 1.1; }
.pcb-eyebrow { font-size: 11px; text-transform: uppercase; letter-spacing: 0.09em; color: #9cc0ff; font-weight: 600; }
.pcb-header-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pcb-budget {
    display: flex; align-items: center; gap: 6px;
    background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px; padding: 5px 6px 5px 10px;
}
.pcb-budget > .iconify { color: #ffd36b; font-size: 18px; }
.pcb-budget input {
    width: 108px; background: transparent; border: none; outline: none;
    color: #fff; font-size: 13px; font-weight: 600;
}
.pcb-budget input::placeholder { color: #c3d6ff; }
.pcb-budget button {
    background: #1fa971; color: #fff; border: none; border-radius: 9px;
    padding: 7px 12px; font-size: 12px; font-weight: 700; cursor: pointer;
    white-space: nowrap; transition: background 0.15s;
}
.pcb-budget button:hover { background: #17915f; }
.pcb-icon-btn {
    width: 38px; height: 38px; border-radius: 11px; border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.1); color: #fff; cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center; font-size: 20px;
    transition: background 0.15s;
}
.pcb-icon-btn:hover { background: rgba(255, 255, 255, 0.22); }

/* Body layout */
.pcb-body {
    flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr;
    gap: 16px; padding: 16px; overflow-y: auto;
}
@media (min-width: 900px) {
    .pcb-body { grid-template-columns: 1fr 340px; gap: 20px; padding: 20px; align-items: start; }
}

/* Slots */
.pcb-slots { display: flex; flex-direction: column; gap: 10px; }
.pcb-slot {
    display: flex; align-items: center; gap: 14px; width: 100%; text-align: left;
    background: #fff; border: 1px solid #e5edfb; border-radius: 16px; padding: 13px 15px;
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.1s;
}
.pcb-slot-filled { box-shadow: 0 8px 22px rgba(18, 56, 135, 0.06); }
.pcb-slot-empty { cursor: pointer; border-style: dashed; border-color: #c6d8f5; background: #fbfdff; }
.pcb-slot-empty:hover { border-color: #2f6de1; background: #f3f8ff; transform: translateY(-1px); }
.pcb-slot-warn { border-color: #fca5a5; box-shadow: 0 8px 22px rgba(220, 38, 38, 0.08); }
.pcb-slot-icon {
    width: 46px; height: 46px; flex-shrink: 0; border-radius: 12px;
    background: linear-gradient(135deg, #eef4ff, #dbe8ff); color: #1d4eb8;
    display: flex; align-items: center; justify-content: center; font-size: 24px;
}
.pcb-slot-main { flex: 1; min-width: 0; }
.pcb-slot-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: #94a3b8; }
.pcb-req { color: #dc6262; background: #fff1f1; padding: 1px 6px; border-radius: 6px; margin-left: 4px; font-size: 9px; }
.pcb-optional { color: #7c93b8; background: #eef3fb; padding: 1px 6px; border-radius: 6px; margin-left: 4px; font-size: 9px; }
.pcb-slot-name { font-size: 14px; font-weight: 600; color: #0f2350; margin-top: 2px; }
.pcb-slot-spec { font-size: 12px; color: #64748b; margin-top: 1px; }
.pcb-slot-add { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: #2f6de1; margin-top: 3px; }
.pcb-slot-side { display: flex; flex-direction: column; align-items: flex-end; gap: 7px; flex-shrink: 0; }
.pcb-slot-price { font-size: 14px; font-weight: 800; color: #0b255f; }
.pcb-slot-btns { display: flex; gap: 6px; }
.pcb-mini-btn {
    border: 1px solid #d5e3fb; background: #f4f8ff; color: #1d4eb8; border-radius: 9px;
    padding: 6px 11px; font-size: 12px; font-weight: 600; cursor: pointer; transition: all 0.15s;
    display: inline-flex; align-items: center;
}
.pcb-mini-btn:hover { background: #1d4eb8; color: #fff; border-color: #1d4eb8; }
.pcb-mini-remove { padding: 6px 8px; color: #b23b3b; border-color: #f3d3d3; background: #fff5f5; }
.pcb-mini-remove:hover { background: #dc2626; color: #fff; border-color: #dc2626; }

/* Summary sidebar */
.pcb-summary { position: sticky; top: 0; }
.pcb-summary-inner {
    background: #fff; border: 1px solid #e5edfb; border-radius: 20px; padding: 16px;
    box-shadow: 0 16px 40px rgba(18, 56, 135, 0.08);
    display: flex; flex-direction: column; gap: 14px;
}
.pcb-status { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; border-radius: 12px; padding: 10px 12px; }
.pcb-status .iconify { font-size: 18px; }
.pcb-status-good { background: #ecfdf5; color: #0f8b5c; }
.pcb-status-bad { background: #fef2f2; color: #d33b3b; }
.pcb-status-idle { background: #eff4fd; color: #4b6690; font-weight: 600; }
.pcb-issue-list, .pcb-warn-list { list-style: none; display: flex; flex-direction: column; gap: 6px; margin-top: -4px; }
.pcb-issue-list li { font-size: 12px; color: #b23b3b; padding-left: 12px; position: relative; line-height: 1.4; }
.pcb-issue-list li::before { content: '•'; position: absolute; left: 2px; }
.pcb-warn-list li { display: flex; align-items: flex-start; gap: 6px; font-size: 12px; color: #a06a12; line-height: 1.4; }
.pcb-warn-list li .iconify { color: #e0a416; flex-shrink: 0; margin-top: 1px; }

.pcb-total {
    display: flex; align-items: center; justify-content: space-between;
    background: linear-gradient(120deg, #0b255f, #1d4eb8); color: #fff;
    border-radius: 15px; padding: 14px 16px;
}
.pcb-total-label { font-size: 11px; color: #aecaff; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
.pcb-total-value { font-size: 24px; font-weight: 800; margin-top: 2px; }
.pcb-progress { position: relative; width: 50px; height: 50px; }
.pcb-progress svg { width: 50px; height: 50px; transform: rotate(-90deg); }
.pcb-ring-bg { fill: none; stroke: rgba(255, 255, 255, 0.2); stroke-width: 3.4; }
.pcb-ring-fg { fill: none; stroke: #43e59b; stroke-width: 3.4; stroke-linecap: round; transition: stroke-dasharray 0.4s ease; }
.pcb-progress b { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; }

.pcb-metric { border: 1px solid #eaf1fc; border-radius: 14px; padding: 12px; background: #fbfdff; }
.pcb-metric-head { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; color: #334d7a; }
.pcb-metric-head .iconify { color: #2f6de1; font-size: 16px; }
.pcb-metric-body { display: flex; align-items: baseline; justify-content: space-between; margin-top: 8px; }
.pcb-metric-body b { font-size: 20px; color: #0b255f; font-weight: 800; }
.pcb-metric-body span { font-size: 11px; color: #6b7f9e; }
.pcb-igpu-tag { margin-left: auto; font-size: 9px; font-weight: 700; background: #eef4ff; color: #4b6690; padding: 2px 7px; border-radius: 20px; text-transform: uppercase; letter-spacing: 0.04em; }

.pcb-neck { margin-top: 8px; }
.pcb-neck-top { font-size: 13px; font-weight: 700; }
.pcb-neck-balanced .pcb-neck-top { color: #0f8b5c; }
.pcb-neck-minor .pcb-neck-top { color: #c98a17; }
.pcb-neck-major .pcb-neck-top { color: #d33b3b; }
.pcb-neck-track { height: 7px; border-radius: 20px; background: #edf2fa; margin: 7px 0; overflow: hidden; }
.pcb-neck-fill { height: 100%; border-radius: 20px; background: linear-gradient(90deg, #22c55e, #eab308, #ef4444); }
.pcb-neck-balanced .pcb-neck-fill { background: #22c55e; }
.pcb-neck p { font-size: 11.5px; color: #5b6f8e; line-height: 1.45; }

.pcb-fps { display: flex; flex-direction: column; gap: 8px; margin-top: 9px; }
.pcb-fps-row { display: grid; grid-template-columns: 44px 1fr 58px; align-items: center; gap: 9px; font-size: 12px; color: #475569; }
.pcb-fps-row b { text-align: right; color: #0b255f; }
.pcb-fps-track { height: 8px; border-radius: 20px; background: #edf2fa; overflow: hidden; }
.pcb-fps-fill { height: 100%; border-radius: 20px; transition: width 0.4s ease; }
.pcb-fps-high { background: linear-gradient(90deg, #16a34a, #22c55e); }
.pcb-fps-mid { background: linear-gradient(90deg, #d97706, #f59e0b); }
.pcb-fps-low { background: linear-gradient(90deg, #dc2626, #f87171); }

.pcb-actions { display: flex; flex-direction: column; gap: 9px; }
.pcb-primary-btn {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    width: 100%; padding: 13px; border: none; border-radius: 14px; cursor: pointer;
    background: linear-gradient(120deg, #1fa971, #17915f); color: #fff; font-size: 14px; font-weight: 700;
    box-shadow: 0 12px 26px rgba(31, 169, 113, 0.32); transition: transform 0.12s, box-shadow 0.15s;
}
.pcb-primary-btn:hover { transform: translateY(-1px); }
.pcb-primary-btn:disabled { background: #cbd5e1; color: #f1f5f9; cursor: not-allowed; box-shadow: none; }
.pcb-action-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pcb-ghost-btn {
    display: flex; align-items: center; justify-content: center; gap: 5px;
    padding: 10px 6px; border: 1px solid #d9e5fb; border-radius: 12px; background: #f6f9ff;
    color: #1d4eb8; font-size: 12px; font-weight: 600; cursor: pointer; transition: all 0.15s;
}
.pcb-ghost-btn:hover { background: #1d4eb8; color: #fff; border-color: #1d4eb8; }
.pcb-hint { font-size: 11px; color: #8496b4; text-align: center; }

/* Picker */
.pcb-picker {
    position: absolute; inset: 0; z-index: 5;
    display: flex; align-items: stretch; justify-content: flex-end;
    background: rgba(7, 24, 63, 0.4);
}
.pcb-picker[hidden] { display: none; }
.pcb-picker-panel {
    width: 100%; max-width: 560px; background: #f4f8ff; height: 100%;
    display: flex; flex-direction: column; box-shadow: -20px 0 60px rgba(7, 24, 63, 0.3);
    animation: pcbSlideIn 0.25s cubic-bezier(0.34, 1.2, 0.64, 1);
}
@keyframes pcbSlideIn { from { transform: translateX(40px); opacity: 0.4; } to { transform: translateX(0); opacity: 1; } }
.pcb-picker-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 18px; background: #0b255f; color: #fff;
}
.pcb-picker-head h3 { font-family: 'Sora', system-ui, sans-serif; font-size: 17px; font-weight: 700; }
.pcb-picker-tools { display: flex; align-items: center; gap: 10px; padding: 12px 16px; flex-wrap: wrap; background: #fff; border-bottom: 1px solid #e5edfb; }
.pcb-search { flex: 1; min-width: 150px; display: flex; align-items: center; gap: 7px; background: #f2f6fd; border: 1px solid #e0e9f8; border-radius: 11px; padding: 8px 11px; }
.pcb-search .iconify { color: #94a3b8; font-size: 17px; }
.pcb-search input { flex: 1; border: none; background: transparent; outline: none; font-size: 13px; }
.pcb-compat-toggle { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #475569; font-weight: 500; cursor: pointer; white-space: nowrap; }
.pcb-picker-tools select { border: 1px solid #e0e9f8; background: #f8fbff; border-radius: 10px; padding: 8px 10px; font-size: 12px; color: #334155; cursor: pointer; }
.pcb-picker-list { flex: 1; overflow-y: auto; padding: 14px 16px; display: flex; flex-direction: column; gap: 9px; }
.pcb-item {
    display: flex; align-items: center; gap: 13px; background: #fff;
    border: 1px solid #e8eefa; border-radius: 14px; padding: 12px 14px; transition: border-color 0.15s, box-shadow 0.15s;
}
.pcb-item:hover { border-color: #bcd3f7; box-shadow: 0 8px 20px rgba(18, 56, 135, 0.07); }
.pcb-item-active { border-color: #1fa971; box-shadow: 0 8px 20px rgba(31, 169, 113, 0.14); }
.pcb-item-bad { opacity: 0.62; }
.pcb-item-icon { width: 42px; height: 42px; flex-shrink: 0; border-radius: 11px; background: linear-gradient(135deg, #eef4ff, #dbe8ff); color: #1d4eb8; display: flex; align-items: center; justify-content: center; font-size: 22px; }
.pcb-item-main { flex: 1; min-width: 0; }
.pcb-item-name { font-size: 13.5px; font-weight: 600; color: #0f2350; }
.pcb-item-spec { font-size: 11.5px; color: #6b7f9e; margin-top: 2px; }
.pcb-item-reason { font-size: 11px; color: #c2410c; display: flex; align-items: center; gap: 4px; margin-top: 4px; }
.pcb-item-side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex-shrink: 0; }
.pcb-item-price { font-size: 14px; font-weight: 800; color: #0b255f; }
.pcb-select-btn { border: none; background: #1d4eb8; color: #fff; border-radius: 9px; padding: 7px 14px; font-size: 12px; font-weight: 700; cursor: pointer; transition: background 0.15s; }
.pcb-select-btn:hover { background: #123887; }
.pcb-item-active .pcb-select-btn { background: #1fa971; }
.pcb-empty { text-align: center; color: #8496b4; font-size: 13px; padding: 30px 12px; }

@media (max-width: 899px) {
    .pcb-summary { position: static; }
    .pcb-header-title h2 { font-size: 17px; }
    .pcb-budget input { width: 84px; }
    .pcb-picker-panel { max-width: 100%; }
}

/* ============================================================
   PRODUCT DETAIL PAGE
   ============================================================ */
.price-quick { font-size: 11px; font-weight: 600; color: #33518a; background: #eef4ff; border: 1px solid #dbe7ff; border-radius: 8px; padding: 4px 9px; cursor: pointer; transition: all 0.15s; }
.price-quick:hover { background: #2f6de1; color: #fff; border-color: #2f6de1; }
.pd-market-shell { display: grid; gap: 26px; align-items: start; }
@media (min-width: 1024px) {
    .pd-market-shell { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
    .pd-buybox-card { grid-column: 1 / -1; }
}
@media (min-width: 1280px) {
    .pd-market-shell { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr) 340px; }
    .pd-buybox-card { grid-column: auto; position: sticky; top: 96px; }
}
.pd-summary-card,
.pd-buybox-card {
    background: #fff;
    border: 1px solid #e5edfb;
    border-radius: 22px;
    padding: 20px;
    box-shadow: 0 16px 38px rgba(12, 37, 95, 0.07);
}
.pd-summary-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}
.pd-kicker {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #2f6de1;
}
.pd-top-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.pd-info-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: #eef4ff;
    color: #173362;
    font-size: 11px;
    font-weight: 700;
    border: 1px solid #d9e6ff;
}
.pd-info-pill-soft {
    background: #f8fbff;
    color: #5f769f;
}
.pd-separator {
    width: 1px;
    height: 14px;
    background: #dbe7ff;
}
.pd-summary-desc {
    margin-top: 14px;
    color: #52698f;
    font-size: 14px;
    line-height: 1.75;
}
.pd-highlight-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
}
.pd-highlight-card {
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    border: 1px solid #e6eefc;
    border-radius: 16px;
    padding: 13px 14px;
}
.pd-highlight-key {
    display: block;
    font-size: 10.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6a84b2;
}
.pd-highlight-val {
    display: block;
    margin-top: 7px;
    color: #132f5f;
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.4;
}
.pd-feature-strip {
    display: grid;
    gap: 8px;
    margin-top: 16px;
}
.pd-feature-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #3f5681;
    font-size: 12.5px;
    font-weight: 600;
}
.pd-feature-chip .iconify {
    color: #1fa971;
    font-size: 17px;
}
.pd-gallery-main { aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; box-shadow: 0 20px 50px rgba(18, 56, 135, 0.08); }
.pd-zoom-img { transition: transform 0.25s ease; will-change: transform; }
#pd-zoom.zooming { cursor: zoom-out; }
#pd-zoom:not(.zooming) { cursor: zoom-in; }
.pd-gallery-tools { opacity: 0; transition: opacity 0.2s; }
.pd-gallery-main:hover .pd-gallery-tools { opacity: 1; }
.pd-tool-chip { display: inline-flex; align-items: center; gap: 4px; background: rgba(11, 37, 95, 0.82); color: #fff; border: none; border-radius: 999px; padding: 6px 11px; font-size: 12px; font-weight: 600; cursor: pointer; backdrop-filter: blur(4px); transition: background 0.15s; }
.pd-tool-chip:hover { background: #0b255f; }
.pd-thumb { aspect-ratio: 1 / 1; background: #fff; border: 1.5px solid #e5edfb; border-radius: 14px; overflow: hidden; cursor: pointer; transition: border-color 0.15s, transform 0.1s; }
.pd-thumb:hover { transform: translateY(-2px); }
.pd-thumb.active { border-color: #2f6de1; box-shadow: 0 6px 16px rgba(47, 109, 225, 0.18); }
.pd-assurance { display: flex; flex-direction: column; align-items: center; gap: 3px; background: #fff; border: 1px solid #eef2fb; border-radius: 12px; padding: 9px 4px; font-size: 11px; color: #475569; font-weight: 600; }
.pd-assurance .iconify { font-size: 20px; color: #1fa971; }

.pd-status { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; padding: 6px 11px; border-radius: 999px; }
.pd-status .iconify { font-size: 15px; }
.pd-status-in { background: #ecfdf5; color: #0f8b5c; }
.pd-status-out { background: #fef2f2; color: #d33b3b; }
.pd-status-neutral { background: #eef4ff; color: #35528a; }

.pd-variant { border: 1.5px solid #d9e5fb; background: #f6f9ff; color: #33518a; border-radius: 11px; padding: 8px 14px; font-size: 13px; font-weight: 600; cursor: pointer; transition: all 0.15s; }
.pd-variant.active { border-color: #2f6de1; background: #2f6de1; color: #fff; }

.pd-qty { display: inline-flex; align-items: center; border: 1.5px solid #e2e8f0; border-radius: 12px; overflow: hidden; }
.pd-qty button { width: 40px; height: 44px; background: #f8fafc; border: none; cursor: pointer; color: #33518a; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.pd-qty button:hover { background: #eef4ff; }
.pd-qty span { width: 46px; text-align: center; font-weight: 700; color: #0b255f; }

.pd-btn-cart { flex: 1; min-width: 150px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: linear-gradient(120deg, #1d4eb8, #123887); color: #fff; border: none; border-radius: 13px; padding: 13px 18px; font-size: 14px; font-weight: 700; cursor: pointer; box-shadow: 0 12px 26px rgba(18, 56, 135, 0.25); transition: transform 0.12s; }
.pd-btn-cart:hover { transform: translateY(-1px); }
.pd-btn-buy { flex: 1; min-width: 130px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: linear-gradient(120deg, #1fa971, #17915f); color: #fff; border: none; border-radius: 13px; padding: 13px 18px; font-size: 14px; font-weight: 700; cursor: pointer; box-shadow: 0 12px 26px rgba(31, 169, 113, 0.28); transition: transform 0.12s; }
.pd-btn-buy:hover { transform: translateY(-1px); }
.pd-btn-cart:disabled, .pd-btn-buy:disabled { background: #cbd5e1; color: #eef2f7; cursor: not-allowed; box-shadow: none; }

.pd-buybox-label {
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #6a84b2;
}
.pd-buybox-price {
    font-size: 40px;
    line-height: 1;
    font-weight: 800;
    color: #123887;
}
.pd-save-chip {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: #ecfdf5;
    color: #0f8b5c;
    padding: 5px 10px;
    font-size: 11px;
    font-weight: 800;
}
.pd-buybox-facts {
    display: grid;
    gap: 10px;
}
.pd-buybox-fact {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 11px 12px;
    background: #f8fbff;
    border: 1px solid #e5edfb;
    border-radius: 14px;
}
.pd-buybox-fact .iconify {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #eef4ff;
    color: #2f6de1;
    font-size: 18px;
    flex-shrink: 0;
}
.pd-buybox-fact b {
    display: block;
    color: #123887;
    font-size: 13px;
}
.pd-buybox-fact span {
    display: block;
    margin-top: 3px;
    color: #61779f;
    font-size: 11.5px;
    line-height: 1.45;
}
.pd-inline-actions-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.pd-inline-action { display: inline-flex; align-items: center; gap: 5px; background: none; border: none; color: #5b6f8e; font-size: 13px; font-weight: 600; cursor: pointer; transition: color 0.15s; }
.pd-inline-action .iconify { font-size: 18px; }
.pd-inline-action:hover { color: #1d4eb8; }
.pd-inline-action.active { color: #e11d48; }

.pd-offers { background: #fbfdff; border: 1px solid #eef2fb; border-radius: 16px; padding: 12px 14px; display: flex; flex-direction: column; gap: 9px; }
.pd-offer-row { display: flex; align-items: flex-start; gap: 9px; font-size: 12.5px; color: #475569; }
.pd-offer-row .iconify { font-size: 18px; color: #1fa971; flex-shrink: 0; margin-top: 1px; }

.pd-emi { background: linear-gradient(120deg, #eef4ff, #f6f9ff); border: 1px solid #dbe7ff; border-radius: 16px; padding: 14px; }

.pd-ai-card { background: #fff; border: 1px solid #e5edfb; border-radius: 20px; padding: 18px; box-shadow: 0 14px 36px rgba(18, 56, 135, 0.06); }
.pd-ai-badge { font-size: 9px; font-weight: 800; background: #eef4ff; color: #2f6de1; padding: 2px 7px; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.05em; }
.pd-ai-col { background: #fbfdff; border: 1px solid #eef2fb; border-radius: 14px; padding: 12px 14px; }
.pd-ai-h { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: #33518a; margin-bottom: 6px; }
.pd-ai-h .iconify { color: #1fa971; }
.pd-ai-col ul { list-style: none; display: flex; flex-direction: column; gap: 5px; }
.pd-ai-col li { font-size: 12.5px; color: #5b6f8e; padding-left: 15px; position: relative; line-height: 1.45; }
.pd-ai-col li::before { content: '✓'; position: absolute; left: 0; color: #1fa971; font-weight: 700; }

.pd-tabbar { display: flex; gap: 4px; overflow-x: auto; border-bottom: 2px solid #e8eefa; padding-bottom: 0; scrollbar-width: none; }
.pd-tabbar::-webkit-scrollbar { display: none; }
.pd-tab { flex-shrink: 0; background: none; border: none; padding: 12px 16px; font-size: 13.5px; font-weight: 600; color: #7c93b8; cursor: pointer; position: relative; white-space: nowrap; transition: color 0.15s; }
.pd-tab:hover { color: #1d4eb8; }
.pd-tab.active { color: #0b255f; }
.pd-tab.active::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: -2px; height: 3px; background: #2f6de1; border-radius: 3px 3px 0 0; }
.pd-panel { display: none; padding: 20px 2px; animation: pdFade 0.25s ease; }
.pd-panel.active { display: block; }
@keyframes pdFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

.pd-spec-table { width: 100%; border-collapse: collapse; border: 1px solid #eef2fb; border-radius: 14px; overflow: hidden; }
.pd-spec-table tr.odd { background: #fbfdff; }
.pd-spec-table th { text-align: left; width: 40%; padding: 11px 14px; font-size: 13px; color: #64748b; font-weight: 600; vertical-align: top; }
.pd-spec-table td { padding: 11px 14px; font-size: 13px; color: #1e293b; font-weight: 500; }
.pd-desc-points { list-style: none; margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.pd-desc-points li { font-size: 13px; color: #475569; padding-left: 22px; position: relative; }
.pd-desc-points li::before { content: '✓'; position: absolute; left: 0; color: #1fa971; font-weight: 700; }

.pd-download-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.pd-download { display: flex; align-items: center; gap: 11px; background: #fff; border: 1px solid #e8eefa; border-radius: 14px; padding: 13px; text-decoration: none; transition: border-color 0.15s, box-shadow 0.15s; }
.pd-download:hover { border-color: #bcd3f7; box-shadow: 0 8px 20px rgba(18, 56, 135, 0.07); }
.pd-download > .iconify:first-child { font-size: 26px; color: #2f6de1; }
.pd-download div { flex: 1; }
.pd-download b { display: block; font-size: 13px; color: #1e293b; }
.pd-download span { font-size: 11px; color: #94a3b8; }

.pd-chart-wrap { background: #fbfdff; border: 1px solid #eef2fb; border-radius: 16px; padding: 12px; }
.pd-chart { width: 100%; height: auto; }

.pd-reviews { display: grid; gap: 18px; }
.pd-review-summary { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; background: #fbfdff; border: 1px solid #eef2fb; border-radius: 16px; padding: 16px; }
.pd-review-score { text-align: center; padding-right: 20px; border-right: 1px solid #e8eefa; }
.pd-review-score b { font-size: 40px; font-weight: 800; color: #0b255f; line-height: 1; }
.pd-rate-bars { display: flex; flex-direction: column; gap: 6px; }
.pd-rate-row { display: grid; grid-template-columns: 28px 1fr 24px; align-items: center; gap: 8px; font-size: 12px; color: #64748b; }
.pd-rate-track { height: 8px; background: #edf2fa; border-radius: 999px; overflow: hidden; }
.pd-rate-fill { height: 100%; background: linear-gradient(90deg, #f59e0b, #fbbf24); border-radius: 999px; }
.pd-rate-count { text-align: right; }
.pd-review-list { display: flex; flex-direction: column; gap: 12px; }
.pd-review { border: 1px solid #eef2fb; border-radius: 14px; padding: 14px; }
.pd-review-head { display: flex; align-items: center; gap: 10px; }
.pd-avatar { width: 38px; height: 38px; border-radius: 50%; background: #eef4ff; color: #1d4eb8; display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; }
.pd-review-name { font-size: 13.5px; font-weight: 600; color: #1e293b; }
.pd-verified { font-size: 10px; color: #0f8b5c; font-weight: 600; display: inline-flex; align-items: center; gap: 2px; margin-left: 4px; }
.pd-review-meta { font-size: 11px; color: #94a3b8; }
.pd-review-stars { margin-left: auto; }
.pd-review-body { font-size: 13px; color: #4b5563; margin-top: 8px; line-height: 1.55; }

.pd-faq-list { display: flex; flex-direction: column; gap: 8px; }
.pd-faq { border: 1px solid #eef2fb; border-radius: 12px; overflow: hidden; }
.pd-faq-q { width: 100%; text-align: left; background: #fff; border: none; padding: 14px 16px; font-size: 13.5px; font-weight: 600; color: #1e293b; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pd-faq-q .iconify { transition: transform 0.2s; color: #94a3b8; flex-shrink: 0; }
.pd-faq.open .pd-faq-q .iconify { transform: rotate(180deg); }
.pd-faq-a { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; background: #fbfdff; }
.pd-faq.open .pd-faq-a { max-height: 240px; }
.pd-faq-a p { padding: 0 16px 14px; font-size: 13px; color: #5b6f8e; line-height: 1.55; }

.pd-qa { background: #fbfdff; border: 1px solid #eef2fb; border-radius: 12px; padding: 12px 14px; margin-bottom: 8px; }
.pd-qa .q { font-size: 13px; font-weight: 600; color: #1e293b; }
.pd-qa .a { font-size: 12.5px; color: #5b6f8e; margin-top: 4px; }

.pd-mini-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 640px) { .pd-mini-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .pd-mini-grid { grid-template-columns: repeat(6, 1fr); } }
.pd-mini { display: block; background: #fff; border: 1px solid #eef2fb; border-radius: 14px; padding: 10px; text-decoration: none; transition: border-color 0.15s, box-shadow 0.15s, transform 0.1s; }
.pd-mini:hover { border-color: #bcd3f7; box-shadow: 0 10px 22px rgba(18, 56, 135, 0.08); transform: translateY(-2px); }
.pd-mini-img { position: relative; aspect-ratio: 1 / 1; background: #f6f9ff; border-radius: 10px; overflow: hidden; margin-bottom: 8px; }
.pd-mini-img img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.pd-mini-off { position: absolute; top: 6px; left: 6px; background: #22c55e; color: #fff; font-size: 9px; font-weight: 700; padding: 2px 6px; border-radius: 999px; }
.pd-mini-brand { font-size: 10px; color: #2f6de1; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.pd-mini-name { font-size: 12px; color: #1e293b; font-weight: 500; line-height: 1.35; margin-top: 2px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pd-mini-price { font-size: 13.5px; font-weight: 800; color: #0b255f; margin-top: 4px; }

/* Media modal (360 / video) */
.pd-360-stage { perspective: 900px; }
.pd-360-img { width: 100%; max-height: 70vh; object-fit: contain; transform-style: preserve-3d; transition: transform 0.06s linear; }
.pd-video-stage { background: #0b255f; border-radius: 18px; aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center; }
.pd-video-placeholder { text-align: center; color: #cddcff; }
.pd-video-placeholder .iconify { font-size: 64px; }
.pd-video-placeholder p { margin-top: 8px; font-size: 14px; }
.pd-video-link { display: inline-block; margin-top: 12px; background: #fff; color: #0b255f; font-weight: 700; font-size: 13px; padding: 8px 16px; border-radius: 10px; text-decoration: none; }

@media (max-width: 639px) {
    .pd-review-summary { grid-template-columns: 1fr; }
    .pd-review-score { border-right: none; border-bottom: 1px solid #e8eefa; padding-right: 0; padding-bottom: 12px; }
    .pd-highlight-grid { grid-template-columns: 1fr; }
    .pd-inline-actions-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   CUSTOMER ACCOUNT DASHBOARD
   ============================================================ */
.acc-sidebar { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 14px; }
@media (max-width: 1023px) { .acc-sidebar { position: static; } }
.acc-user-card { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid #e5edfb; border-radius: 18px; padding: 16px; box-shadow: 0 12px 30px rgba(18, 56, 135, 0.06); }
.acc-avatar { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 800; flex-shrink: 0; }
.acc-tier { display: inline-flex; align-items: center; gap: 4px; font-size: 10.5px; font-weight: 700; padding: 2px 8px; border-radius: 999px; margin-top: 5px; }
.acc-nav { background: #fff; border: 1px solid #e5edfb; border-radius: 18px; padding: 8px; box-shadow: 0 12px 30px rgba(18, 56, 135, 0.06); }
.acc-nav-link { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 12px; font-size: 13.5px; font-weight: 600; color: #475569; text-decoration: none; transition: background 0.15s, color 0.15s; }
.acc-nav-link .iconify { font-size: 19px; color: #7c93b8; }
.acc-nav-link:hover { background: #f4f8ff; color: #1d4eb8; }
.acc-nav-link:hover .iconify { color: #1d4eb8; }
.acc-nav-link.active { background: linear-gradient(120deg, #1d4eb8, #123887); color: #fff; }
.acc-nav-link.active .iconify { color: #fff; }
.acc-nav-badge { background: #e11d48; color: #fff; font-size: 10px; font-weight: 700; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; display: flex; align-items: center; justify-content: center; }
.acc-nav-link.active .acc-nav-badge { background: rgba(255, 255, 255, 0.25); }
.acc-nav-logout { color: #dc2626; margin-top: 4px; border-top: 1px solid #f1f5f9; border-radius: 0 0 12px 12px; }
.acc-nav-logout .iconify { color: #dc2626; }
.acc-nav-logout:hover { background: #fef2f2; color: #b91c1c; }

.acc-head { margin-bottom: 18px; }
.acc-head h1 { font-family: 'Sora', system-ui, sans-serif; font-size: 24px; font-weight: 800; color: #0b255f; }
.acc-head p { font-size: 13.5px; color: #64748b; margin-top: 3px; }
.acc-subhead { font-size: 15px; font-weight: 700; color: #0b255f; }
.acc-link { font-size: 12.5px; font-weight: 600; color: #1d4eb8; text-decoration: none; background: none; border: none; cursor: pointer; }
.acc-link-danger { font-size: 12.5px; font-weight: 600; color: #dc2626; background: none; border: none; cursor: pointer; }
.acc-loading { display: flex; justify-content: center; padding: 60px; color: #94a3b8; font-size: 32px; }

.acc-stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 16px; }
@media (min-width: 640px) { .acc-stat-grid { grid-template-columns: repeat(4, 1fr); } }
.acc-stat { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid #e5edfb; border-radius: 16px; padding: 15px; text-decoration: none; transition: transform 0.12s, box-shadow 0.15s; }
.acc-stat:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(18, 56, 135, 0.09); }
.acc-stat .iconify { font-size: 26px; color: var(--c, #2f6de1); background: color-mix(in srgb, var(--c, #2f6de1) 12%, white); width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.acc-stat-value { font-size: 22px; font-weight: 800; color: #0b255f; line-height: 1; }
.acc-stat-label { font-size: 12px; color: #64748b; margin-top: 3px; }

.acc-loyalty, .acc-card, .acc-recent { background: #fff; border: 1px solid #e5edfb; border-radius: 18px; padding: 18px; box-shadow: 0 12px 30px rgba(18, 56, 135, 0.05); }
.acc-loyalty { margin-bottom: 16px; }
.acc-loyalty-track { height: 10px; border-radius: 999px; background: #eef2fa; overflow: hidden; }
.acc-loyalty-fill { height: 100%; border-radius: 999px; transition: width 0.4s ease; }
.acc-quick-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 16px; }
@media (min-width: 768px) { .acc-quick-grid { grid-template-columns: repeat(4, 1fr); } }
.acc-quick { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #e5edfb; border-radius: 14px; padding: 13px 14px; font-size: 13px; font-weight: 600; color: #33518a; text-decoration: none; transition: all 0.15s; }
.acc-quick .iconify { font-size: 20px; color: #2f6de1; }
.acc-quick:hover { border-color: #2f6de1; background: #f4f8ff; }
.acc-recent { padding: 18px; }

.acc-pgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 640px) { .acc-pgrid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .acc-pgrid { grid-template-columns: repeat(4, 1fr); } }
.acc-pcard { background: #fff; border: 1px solid #e5edfb; border-radius: 15px; padding: 11px; display: flex; flex-direction: column; }
.acc-pcard-img { position: relative; aspect-ratio: 1/1; background: #f6f9ff; border-radius: 11px; overflow: hidden; display: block; }
.acc-pcard-img img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.acc-pcard-off { position: absolute; top: 6px; left: 6px; background: #22c55e; color: #fff; font-size: 9px; font-weight: 700; padding: 2px 6px; border-radius: 999px; }
.acc-pcard-brand { font-size: 10px; color: #2f6de1; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; margin-top: 8px; }
.acc-pcard-name { font-size: 12.5px; color: #1e293b; font-weight: 500; line-height: 1.35; margin-top: 2px; text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.acc-pcard-price { font-size: 14px; font-weight: 800; color: #0b255f; margin: 5px 0 8px; }
.acc-pcard-actions { display: flex; gap: 6px; margin-top: auto; }
.acc-mini-add { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 5px; background: #1d4eb8; color: #fff; border: none; border-radius: 10px; padding: 8px; font-size: 12px; font-weight: 600; cursor: pointer; transition: background 0.15s; }
.acc-mini-add:hover { background: #123887; }
.acc-mini-rm { width: 36px; border: 1px solid #f3d3d3; background: #fff5f5; color: #dc2626; border-radius: 10px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.acc-mini-rm:hover { background: #dc2626; color: #fff; }

.acc-empty { text-align: center; padding: 50px 20px; background: #fff; border: 1px solid #e5edfb; border-radius: 18px; }
.acc-empty .iconify { font-size: 54px; color: #cbd5e1; }
.acc-empty h3 { font-size: 17px; font-weight: 700; color: #334155; margin-top: 10px; }
.acc-empty p { font-size: 13.5px; color: #94a3b8; margin-top: 4px; }
.acc-btn-primary { display: inline-flex; align-items: center; justify-content: center; gap: 6px; margin-top: 14px; background: linear-gradient(120deg, #1d4eb8, #123887); color: #fff; border: none; border-radius: 12px; padding: 11px 20px; font-size: 13.5px; font-weight: 700; cursor: pointer; text-decoration: none; }
.acc-btn-primary:hover { filter: brightness(1.06); }
.acc-btn-ghost { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid #e2e8f0; color: #475569; border-radius: 11px; padding: 9px 14px; font-size: 12.5px; font-weight: 600; cursor: pointer; }
.acc-btn-ghost:hover { border-color: #cbd5e1; background: #f8fafc; }

.acc-order-list { display: flex; flex-direction: column; gap: 12px; }
.acc-order { background: #fff; border: 1px solid #e5edfb; border-radius: 16px; padding: 16px; }
.acc-order-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.acc-order-id { font-size: 14px; font-weight: 700; color: #0b255f; }
.acc-order-date { font-size: 12px; color: #94a3b8; margin-top: 2px; }
.acc-order-total { font-size: 16px; font-weight: 800; color: #1fa971; }
.acc-track { display: flex; margin-top: 16px; }
.acc-track-step { flex: 1; text-align: center; position: relative; }
.acc-track-step::before { content: ''; position: absolute; top: 6px; left: -50%; width: 100%; height: 2px; background: #e2e8f0; z-index: 0; }
.acc-track-step:first-child::before { display: none; }
.acc-track-step.done::before { background: #1fa971; }
.acc-track-dot { position: relative; z-index: 1; display: inline-block; width: 14px; height: 14px; border-radius: 50%; background: #e2e8f0; border: 2px solid #fff; }
.acc-track-step.done .acc-track-dot { background: #1fa971; }
.acc-track-label { display: block; font-size: 10px; color: #94a3b8; margin-top: 5px; }
.acc-track-step.done .acc-track-label { color: #0f8b5c; font-weight: 600; }

.acc-badge-ok { font-size: 11px; font-weight: 700; color: #0f8b5c; background: #ecfdf5; padding: 4px 10px; border-radius: 999px; }
.acc-badge-pending { font-size: 11px; font-weight: 700; color: #c98a17; background: #fffbeb; padding: 4px 10px; border-radius: 999px; }

.acc-compare-wrap { overflow-x: auto; background: #fff; border: 1px solid #e5edfb; border-radius: 16px; }
.acc-compare { width: 100%; border-collapse: collapse; min-width: 520px; }
.acc-compare th { text-align: left; font-size: 12px; color: #64748b; font-weight: 600; padding: 12px 14px; background: #fbfdff; border-bottom: 1px solid #eef2fb; white-space: nowrap; vertical-align: top; }
.acc-compare td { padding: 12px 14px; font-size: 12.5px; color: #1e293b; border-bottom: 1px solid #eef2fb; border-left: 1px solid #eef2fb; vertical-align: top; }
.acc-cmp-name { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; text-decoration: none; color: #0b255f; font-weight: 600; }
.acc-cmp-name img { width: 60px; height: 60px; object-fit: contain; background: #f6f9ff; border-radius: 8px; }
.acc-cmp-rm { font-size: 11px; color: #dc2626; background: none; border: none; cursor: pointer; margin-top: 4px; }

.acc-reward-hero { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: linear-gradient(120deg, #0b255f, #1d4eb8); color: #fff; border-radius: 18px; padding: 22px; }
.acc-reward-pts { font-size: 36px; font-weight: 800; line-height: 1; }
.acc-reward-sub { font-size: 12px; color: #bcd3f7; margin-top: 4px; }
.acc-tier-big { display: inline-flex; align-items: center; gap: 6px; background: rgba(255, 255, 255, 0.15); padding: 8px 14px; border-radius: 999px; font-weight: 700; }
.acc-tier-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.acc-tier-chip { background: #fff; border: 1px solid #e5edfb; border-radius: 14px; padding: 12px; text-align: center; }
.acc-tier-chip.active { border-color: #d4a017; box-shadow: 0 8px 20px rgba(212, 160, 23, 0.18); }
.acc-tier-chip b { display: block; color: #0b255f; }
.acc-tier-chip span { font-size: 11px; color: #94a3b8; }
.acc-ledger { background: #fff; border: 1px solid #e5edfb; border-radius: 16px; overflow: hidden; }
.acc-ledger-row { display: flex; align-items: center; justify-content: space-between; padding: 13px 16px; border-bottom: 1px solid #f1f5f9; }
.acc-ledger-row:last-child { border-bottom: none; }
.acc-ledger-pts { font-weight: 800; color: #1fa971; }

.acc-coupon-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 640px) { .acc-coupon-grid { grid-template-columns: repeat(2, 1fr); } }
.acc-coupon { display: flex; align-items: center; background: #fff; border: 1px solid #e5edfb; border-radius: 16px; overflow: hidden; }
.acc-coupon-left { width: 58px; align-self: stretch; background: var(--c, #2f6de1); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 26px; }
.acc-coupon-body { flex: 1; padding: 12px 14px; }
.acc-coupon-desc { font-size: 13.5px; font-weight: 700; color: #0b255f; }
.acc-coupon-min { font-size: 11.5px; color: #94a3b8; margin-top: 2px; }
.acc-coupon-code { display: inline-flex; align-items: center; gap: 5px; margin-right: 12px; border: 1.5px dashed var(--c, #2f6de1); color: var(--c, #2f6de1); background: #fff; border-radius: 10px; padding: 7px 12px; font-size: 12.5px; font-weight: 800; cursor: pointer; }

.acc-input { width: 100%; padding: 10px 12px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 11px; font-size: 13.5px; color: #1e293b; outline: none; transition: border-color 0.15s; }
.acc-input:focus { border-color: #2f6de1; background: #fff; }
.acc-field { display: flex; flex-direction: column; gap: 5px; }
.acc-field > span { font-size: 12px; font-weight: 600; color: #64748b; }
.acc-toggle { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #475569; padding: 6px 0; cursor: pointer; }

.acc-addr-grid, .acc-pay-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 640px) { .acc-addr-grid, .acc-pay-grid { grid-template-columns: repeat(2, 1fr); } }
.acc-addr { position: relative; background: #fff; border: 1px solid #e5edfb; border-radius: 16px; padding: 16px; }
.acc-addr.is-default { border-color: #2f6de1; }
.acc-addr-default { position: absolute; top: 12px; right: 12px; font-size: 10px; font-weight: 700; background: #eef4ff; color: #1d4eb8; padding: 2px 8px; border-radius: 999px; }
.acc-addr-actions { display: flex; gap: 14px; margin-top: 10px; }
.acc-pay-card { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid #e5edfb; border-radius: 14px; padding: 14px; }
.acc-pay-card .iconify { font-size: 26px; color: #2f6de1; }
.acc-pay-card > div { flex: 1; }

.acc-support-contacts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.acc-contact { display: flex; align-items: center; justify-content: center; gap: 6px; background: #fff; border: 1px solid #e5edfb; border-radius: 13px; padding: 13px; font-size: 13px; font-weight: 600; color: #33518a; text-decoration: none; }
.acc-contact:hover { border-color: #2f6de1; background: #f4f8ff; }
.acc-contact .iconify { font-size: 20px; color: #2f6de1; }

.acc-download-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.acc-download { display: flex; align-items: center; gap: 11px; background: #fff; border: 1px solid #e5edfb; border-radius: 14px; padding: 13px; cursor: pointer; text-align: left; }
.acc-download:hover { border-color: #bcd3f7; box-shadow: 0 8px 20px rgba(18, 56, 135, 0.07); }
.acc-download > .iconify:first-child { font-size: 26px; color: #2f6de1; }
.acc-download div { flex: 1; }
.acc-download b { display: block; font-size: 13px; color: #1e293b; }
.acc-download span { font-size: 11px; color: #94a3b8; }

.acc-notif-list { display: flex; flex-direction: column; gap: 10px; }
.acc-notif { display: flex; gap: 12px; background: #fff; border: 1px solid #e5edfb; border-radius: 14px; padding: 14px; }
.acc-notif.unread { border-left: 3px solid #2f6de1; }
.acc-notif-icon { width: 40px; height: 40px; border-radius: 11px; background: #eef4ff; color: #1d4eb8; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.acc-notif-title { font-size: 13.5px; font-weight: 700; color: #1e293b; }
.acc-notif-body { font-size: 12.5px; color: #64748b; margin-top: 2px; }
.acc-notif-time { font-size: 11px; color: #b0bccd; margin-top: 4px; }

/* ============================================================
   ADMIN ERP CONSOLE
   ============================================================ */
.admin-erp-sidebar {
    width: 250px; flex-shrink: 0; background: #0a3d91; color: #cde0fb;
    display: flex; flex-direction: column; min-height: 100vh;
    position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.admin-erp-brand { display: flex; align-items: center; gap: 10px; padding: 18px 18px 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.admin-erp-nav { flex: 1; padding: 12px 10px; }
.admin-erp-group { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: #6d97d6; padding: 12px 12px 6px; }
.admin-nav { display: flex; align-items: center; gap: 11px; width: 100%; text-align: left; padding: 9px 12px; border-radius: 10px; font-size: 13.5px; font-weight: 500; color: #bcd4f5; background: none; border: none; cursor: pointer; transition: background 0.15s, color 0.15s; }
.admin-nav .iconify { font-size: 18px; opacity: 0.85; }
.admin-nav:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.admin-nav.active { background: #1e88e5; color: #fff; font-weight: 600; }
.admin-erp-foot { padding: 12px; border-top: 1px solid rgba(255, 255, 255, 0.08); display: flex; flex-direction: column; gap: 4px; }
.admin-erp-foot-link { display: flex; align-items: center; gap: 9px; padding: 9px 12px; border-radius: 10px; font-size: 13px; color: #bcd4f5; background: none; border: none; cursor: pointer; text-decoration: none; transition: background 0.15s; }
.admin-erp-foot-link:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.admin-erp-logout { color: #ffb4b4; }
.admin-erp-logout:hover { background: rgba(239, 68, 68, 0.2); color: #fff; }

.admin-erp-topbar { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid #eef2f7; padding: 12px 20px; display: flex; align-items: center; justify-content: space-between; }
.admin-erp-content { padding: 20px; max-width: 1200px; margin: 0 auto; width: 100%; }

@media (max-width: 1023px) {
    .admin-erp-sidebar {
        position: fixed; top: 0; left: 0; z-index: 40; height: 100vh;
        transform: translateX(-100%); transition: transform 0.25s ease; box-shadow: 4px 0 30px rgba(0, 0, 0, 0.2);
    }
    .admin-erp-sidebar.open { transform: translateX(0); }
}

/* ============================================================
   LEGAL / CONTENT PAGES (about, why-us, policies)
   ============================================================ */
.legal-main { max-width: 56rem; margin: 0 auto; padding: 0 1rem 3.5rem; font-family: 'Plus Jakarta Sans', system-ui, sans-serif; }
.legal-crumb { max-width: 56rem; margin: 18px auto 0; padding: 0 1rem; font-size: 12px; color: #64748b; display: flex; gap: 8px; align-items: center; }
.legal-crumb a { color: #64748b; text-decoration: none; }
.legal-crumb a:hover { color: #1d4eb8; }
.legal-crumb .cur { color: #0b255f; font-weight: 600; }
.legal-hero { max-width: 56rem; margin: 12px auto 18px; display: flex; gap: 16px; align-items: flex-start; background: linear-gradient(125deg, #0b255f, #123887); color: #fff; border-radius: 22px; padding: 24px; box-shadow: 0 20px 48px rgba(7, 24, 63, 0.22); }
.legal-hero .iconify { font-size: 40px; color: #7fb2ff; flex-shrink: 0; }
.legal-hero h1 { font-family: 'Sora', 'Plus Jakarta Sans', system-ui, sans-serif; font-size: 26px; font-weight: 800; line-height: 1.15; }
.legal-hero p { color: #cddcff; font-size: 14px; margin-top: 6px; max-width: 44ch; }

.legal-content { background: #fff; border: 1px solid #e5edfb; border-radius: 20px; padding: 26px 26px 30px; box-shadow: 0 14px 36px rgba(18, 56, 135, 0.06); }
.legal-content h2 { font-family: 'Sora', 'Plus Jakarta Sans', system-ui, sans-serif; font-size: 19px; font-weight: 800; color: #0b255f; margin: 26px 0 10px; padding-top: 20px; border-top: 1px solid #eef2fb; position: relative; }
.legal-content > h2:first-child { border-top: none; padding-top: 0; margin-top: 0; }
.legal-content h2::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #1fa971; margin-right: 9px; vertical-align: middle; }
.legal-content h3 { font-size: 15.5px; font-weight: 700; color: #1d4eb8; margin: 18px 0 6px; }
.legal-content p { font-size: 14px; color: #475569; line-height: 1.75; margin: 9px 0; }
.legal-content strong, .legal-content b { color: #0f2350; }
.legal-content a { color: #1d4eb8; text-decoration: underline; }
.legal-content ul { margin: 8px 0; padding-left: 4px; list-style: none; }
.legal-content li { font-size: 14px; color: #475569; line-height: 1.7; padding-left: 22px; position: relative; margin: 5px 0; }
.legal-content li::before { content: '✓'; position: absolute; left: 0; color: #1fa971; font-weight: 700; }

.legal-help { max-width: 56rem; margin: 20px auto 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; background: linear-gradient(120deg, #eef4ff, #f6f9ff); border: 1px solid #dbe7ff; border-radius: 18px; padding: 18px 22px; }
.legal-help-title { font-weight: 700; color: #0b255f; font-size: 15px; }
.legal-help-sub { font-size: 12.5px; color: #5b6f8e; margin-top: 2px; }
.legal-help-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.legal-help-btn { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid #d9e5fb; color: #1d4eb8; border-radius: 11px; padding: 9px 14px; font-size: 13px; font-weight: 600; text-decoration: none; transition: all 0.15s; }
.legal-help-btn:hover { border-color: #1d4eb8; background: #1d4eb8; color: #fff; }
.legal-help-wa { background: #1fa971; border-color: #1fa971; color: #fff; }
.legal-help-wa:hover { background: #17915f; border-color: #17915f; }
@media (max-width: 639px) { .legal-hero h1 { font-size: 21px; } }





