﻿@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Space+Grotesk:wght@300;400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap&font-display=swap');

:root {
    --lux-black: #0c1a36;
    --lux-graphite: #162845;
    --lux-gold: #2563eb;           /* deep royal blue primary */
    --lux-amber: #3b82f6;          /* medium royal blue */
    --lux-blue-light: #60a5fa;     /* soft blue */
    --lux-blue-dark: #1e3a8a;      /* very deep navy */
    --lux-cream: #f0f4ff;          /* light blue-tinted surface */
    --lux-mist: #dbeafe;           /* blue mist */
    --lux-red: #d63939;
    --lux-shadow: 0 18px 45px rgba(12, 26, 54, 0.18);
    --lux-gradient: linear-gradient(135deg, #1e40af 0%, #2563eb 55%, #3b82f6 100%);
    --lux-accent: #7c3aed;         /* violet accent */
    --jd-black: #0c1a36;
    --jd-yellow: #2563eb;
    --jd-red: #d63939;
    --vape-ember: #0c1a36;
    --vape-mint: #2563eb;
    --vape-ink: #f0f4ff;
}

* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
}

body {
    font-family: 'Manrope', 'Space Grotesk', Arial, sans-serif;
    background-color: var(--lux-cream);
    background-image:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.1), transparent 50%),
        radial-gradient(circle at 80% 0%, rgba(99, 102, 241, 0.08), transparent 55%),
        radial-gradient(circle at bottom right, rgba(30, 64, 175, 0.08), transparent 50%),
        linear-gradient(180deg, #ffffff 0%, #f0f4ff 100%);
    color: #0d1828;
    animation: none;
}

h1, h2, h3, h4, .display-4, .display-5, .display-6 {
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 0.6px;
}

a {
    text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.45);
    outline-offset: 2px;
}

.container-wide {
    max-width: 1280px;
}

.site-topbar {
    background: var(--lux-black);
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.85rem;
    letter-spacing: 0.3px;
}

.site-topbar a {
    color: var(--lux-gold);
}

.site-topbar .topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 0.5rem 0;
}

.topbar-links,
.topbar-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.topbar-links a {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1.2px;
    color: rgba(255, 255, 255, 0.7);
}

.topbar-links a:hover {
    color: var(--lux-gold);
}

.topbar-note {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.75rem;
}

.site-mainbar {
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1025;
}

.site-mainbar .mainbar-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem 0;
}

.main-search {
    width: 100%;
    max-width: 620px;
    margin: 0 auto;
}

.mainbar-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cart-summary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    padding: 0.65rem 1.25rem;
    border-radius: 10px;
    font-weight: 600;
    color: #111111;
    min-width: 230px;
    justify-content: center;
}

.cart-summary i {
    font-size: 1.1rem;
}

.icon-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.site-category-nav {
    background: #ffffff;
    border-bottom: 3px solid var(--lux-gold);
}

.site-category-nav .category-inner {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 0.9rem 0;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    color: #111111;
}

.site-category-nav .category-inner a {
    color: #111111;
    font-size: 0.95rem;
    position: relative;
}

.site-category-nav .category-inner a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: var(--lux-gold);
    transition: width 0.2s ease;
}

.site-category-nav .category-inner a:hover::after {
    width: 100%;
}

.site-header .navbar {
    background: rgba(10, 10, 10, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(96, 165, 250, 0.2);
    z-index: 1030;
}

.navbar-brand {
    font-family: 'Bebas Neue', sans-serif;
    color: var(--lux-gold) !important;
    font-size: 1.8rem;
    letter-spacing: 1px;
    gap: 0.6rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.brand-badge {
    background: #ffffff;
    border-radius: 10px;
    padding: 3px 8px;
    display: inline-flex;
    align-items: center;
}

.brand-logo {
    height: 28px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
}

.brand-wordmark {
    height: 38px;
    width: auto;
    max-width: min(100%, 470px);
    object-fit: contain;
    display: block;
}

.brand-fallback {
    align-items: center;
}

.brand-name {
    color: var(--lux-gold);
    font-size: 1.8rem;
    line-height: 1;
}

.navbar-collapse {
    align-items: center;
}

.nav-link {
    color: #f5f5f5 !important;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1.2px;
}

.nav-link:hover {
    color: var(--lux-gold) !important;
}

.search-shell {
    background: #ffffff;
    border-radius: 999px;
    padding: 0.25rem 0.5rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.search-shell .btn {
    border: none;
    background: transparent;
    color: #2563eb;
}

.age-gate {
    position: fixed;
    inset: 0;
    background: rgba(10, 14, 12, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    z-index: 2000;
    padding: 1.5rem;
}

.age-gate.is-visible {
    opacity: 1;
    visibility: visible;
}

.age-gate-card {
    background: #f0f6ff;
    border-radius: 20px;
    padding: 2.5rem;
    max-width: 420px;
    width: 100%;
    text-align: center;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

.age-gate-logo {
    height: 48px;
    width: auto;
    margin-bottom: 1rem;
}

.age-gate-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin: 1.25rem 0 0.5rem;
    flex-wrap: wrap;
}

.search-shell input {
    border: none;
    outline: none;
    box-shadow: none;
}

.btn-jd-yellow,
.btn-jd-yellow,
.btn-jd {
    background: var(--lux-gold);
    color: #ffffff;
    border: none;
    font-weight: 600;
    border-radius: 999px;
    padding: 0.6rem 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-jd-yellow:hover,
.btn-jd:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(37, 99, 235, 0.35);
    filter: brightness(1.12);
}

.btn-jd-outline {
    border: 2px solid var(--lux-gold);
    color: var(--lux-gold);
    background: transparent;
    font-weight: 600;
    border-radius: 999px;
    padding: 0.55rem 1.4rem;
}

.bg-jd-yellow {
    background: var(--lux-gold) !important;
}

.text-jd-yellow {
    color: var(--lux-gold) !important;
}

.btn-icon {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    background: rgba(255, 255, 255, 0.05);
}

.btn-icon:hover {
    border-color: var(--lux-gold);
    color: var(--lux-gold);
}

.section-pad {
    padding: 4.5rem 0;
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.section-heading p {
    margin-bottom: 0;
    color: #475569;
}

.quick-actions {
    margin-top: 1rem;
    position: relative;
    z-index: 5;
}

.quick-action-grid {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e7edf6;
    box-shadow: 0 20px 40px rgba(15, 23, 36, 0.12);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: hidden;
}

.quick-action {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.1rem;
    color: #0f1724;
    border-right: 1px solid #edf2f9;
}

.quick-action:last-child {
    border-right: none;
}

.quick-action i {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 1.1rem;
}

.quick-action strong {
    display: block;
    line-height: 1.2;
}

.quick-action span {
    display: block;
    color: #64748b;
    font-size: 0.86rem;
}

.kpi-strip {
    background: linear-gradient(135deg, #0c1a36 0%, #162845 100%);
    border-radius: 22px;
    padding: 1.25rem;
    color: #e5edff;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.kpi-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1rem;
}

.kpi-card h3 {
    font-size: 1.8rem;
    margin-bottom: 0.2rem;
    color: #93c5fd;
}

.kpi-card p {
    margin: 0;
    color: #cbd6eb;
    font-size: 0.92rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.service-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e6edf7;
    padding: 1.1rem;
    box-shadow: 0 12px 30px rgba(15, 23, 36, 0.08);
}

.service-card i {
    color: #1d4ed8;
    font-size: 1.2rem;
}

.service-card h5 {
    margin: 0.55rem 0 0.4rem;
}

.service-card p {
    margin: 0;
    color: #5b6779;
    font-size: 0.92rem;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.catalog-card {
    background: #ffffff;
    border: 1px solid #e6edf7;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(15, 23, 36, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.catalog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(15, 23, 36, 0.14);
}

.catalog-card img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    background: #f2f5fa;
}

.catalog-body {
    padding: 0.95rem;
}

.catalog-title {
    font-weight: 700;
    color: #0f1724;
    margin-bottom: 0.3rem;
    min-height: 2.9em;
}

.catalog-price {
    color: #1d4ed8;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.catalog-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.catalog-actions .btn {
    border-radius: 10px;
    font-weight: 600;
    padding: 0.5rem 0.7rem;
}

.faq-mini {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid #e6edf7;
    box-shadow: 0 12px 30px rgba(15, 23, 36, 0.08);
    padding: 1.2rem;
}

.faq-mini-item + .faq-mini-item {
    margin-top: 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px solid #edf2f9;
}

.faq-mini-item h6 {
    margin: 0 0 0.35rem;
}

.faq-mini-item p {
    margin: 0;
    color: #5b6779;
}

.floating-actions {
    position: fixed;
    right: 16px;
    bottom: 92px;
    z-index: 1100;
    display: grid;
    gap: 0.55rem;
}

.floating-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 0;
    background: #0f1724;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px rgba(15, 23, 36, 0.25);
}

.floating-btn.floating-main {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4);
}

.mobile-dock {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1150;
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid #dce5f2;
    backdrop-filter: blur(8px);
    display: none;
}

.mobile-dock-inner {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.mobile-dock a {
    display: grid;
    place-items: center;
    gap: 2px;
    color: #243148;
    font-size: 0.72rem;
    padding: 0.55rem 0.25rem;
}

.mobile-dock i {
    font-size: 1rem;
}

.mobile-dock a.active,
.mobile-dock a:hover {
    color: #1d4ed8;
}

.category-showcase {
    position: relative;
    background: linear-gradient(180deg, #ffffff 0%, #f5f7fb 72%, #eef2f7 100%);
    border-top: 1px solid rgba(12, 18, 28, 0.06);
    border-bottom: 1px solid rgba(12, 18, 28, 0.06);
}

.category-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(12, 18, 28, 0.08);
    box-shadow: 0 18px 40px rgba(10, 20, 34, 0.1);
    position: relative;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
    height: 100%;
}

.category-card:hover {
    transform: translateY(-6px);
    border-color: rgba(12, 18, 28, 0.14);
    box-shadow: 0 24px 48px rgba(10, 20, 34, 0.14);
}

.category-media {
    position: relative;
}

.category-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
    background: #e9e9e9;
}

.category-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 1.15rem;
    background: linear-gradient(180deg, rgba(10, 17, 28, 0.02) 16%, rgba(10, 17, 28, 0.86) 100%);
    pointer-events: none;
}

.category-overlay > div {
    width: 100%;
}

.category-kicker {
    display: inline-flex;
    font-size: 0.72rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 0.28rem 0.62rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 0.55rem;
}

.category-overlay h3 {
    margin: 0;
    color: #ffffff;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.22;
    text-shadow: 0 10px 24px rgba(0, 0, 0, 0.38);
}

.category-overlay p {
    margin: 0.45rem 0 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.93rem;
    line-height: 1.35;
}

.category-actions {
    background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
    padding: 0.95rem;
}

.category-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 600;
    font-size: 0.86rem;
    border: 1px solid #d7dde7;
    padding: 0.7rem 0.65rem;
    border-radius: 10px;
    color: #1a2536;
    background: #ffffff;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.category-action:hover {
    background: #111827;
    border-color: #111827;
    color: #f8fafc;
    transform: translateY(-1px);
}

.category-action.category-action-primary {
    grid-column: span 2;
    background: linear-gradient(90deg, #1e40af 0%, #2563eb 100%);
    border-color: #1e3a8a;
    color: #ffffff;
    font-weight: 700;
}

.category-action.category-action-primary:hover {
    background: linear-gradient(90deg, #1e3a8a 0%, #1d4ed8 100%);
    border-color: #1e3a8a;
    color: #ffffff;
}

.top-selling {
    background: #ffffff;
}

.top-selling-tabs {
    display: flex;
    gap: 14px;
}

.top-selling-tabs button {
    border: 1px solid #111111;
    background: #ffffff;
    padding: 10px 26px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.top-selling-tabs button.active,
.top-selling-tabs button:hover {
    background: #111111;
    color: #ffffff;
}

.top-selling-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.top-selling-card {
    display: block;
    color: inherit;
}

.top-selling-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    background: #efefef;
}

.top-selling-info {
    padding-top: 12px;
    display: grid;
    gap: 4px;
}

.top-selling-price {
    font-weight: 700;
    color: #111111;
}

.top-selling-name {
    font-size: 1rem;
    color: #222222;
}

.card,
.product-card,
.wishlist-card,
.related-card {
    border-radius: 20px;
    border: none;
    box-shadow: var(--lux-shadow);
}

.product-card img,
.related-card img {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.badge-featured {
    background: var(--lux-gold);
    color: #111111;
    font-weight: 700;
    border-radius: 999px;
    padding: 0.25rem 0.7rem;
    font-size: 0.75rem;
}

.rating-stars i {
    color: #f5c518;
}

.footer {
    background: linear-gradient(180deg, #0c1a36 0%, #091228 100%);
    color: #e8f0fe;
    padding: 4rem 0 2rem;
    border-top: 2px solid rgba(37, 99, 235, 0.4);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 12%, rgba(37, 99, 235, 0.18), transparent 35%),
        radial-gradient(circle at 85% 5%, rgba(96, 165, 250, 0.08), transparent 35%),
        radial-gradient(circle at 50% 100%, rgba(30, 64, 175, 0.12), transparent 40%);
    pointer-events: none;
}

.footer .container {
    position: relative;
    z-index: 1;
}

.footer-main {
    row-gap: 2rem;
}

.footer a {
    color: rgba(255, 255, 255, 0.7);
}

.footer a:hover {
    color: var(--lux-gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    margin-top: 2rem;
}

.footer-brand-logo {
    height: 44px;
    width: auto;
    max-width: min(100%, 340px);
    object-fit: contain;
}

@media (max-width: 768px) {
    .footer-brand-logo {
        height: 36px;
        max-width: min(82vw, 280px);
    }
}

.footer-title {
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.footer-copy {
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
}

.footer-list li + li {
    margin-top: 0.45rem;
}

.footer-list a {
    font-size: 1.02rem;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-newsletter .form-control {
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.92);
    min-height: 48px;
}

.footer-newsletter .btn {
    min-width: 100px;
    border-radius: 999px;
}

.footer-note {
    margin-top: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.92rem;
}

.footer-legal a {
    font-weight: 500;
}

.language-select {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
}

.language-label {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.7);
}

.language-select select {
    background: transparent;
    border: none;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
    padding-right: 4px;
    appearance: none;
}

.language-select select:focus {
    outline: none;
}

.language-select option {
    color: #111111;
}

.admin-shell .sidebar {
    background: linear-gradient(180deg, #0c1a36 0%, #0f2348 100%);
    border-right: 1px solid rgba(37, 99, 235, 0.3);
}

.admin-shell .sidebar a {
    display: block;
    padding: 10px 20px;
    margin-bottom: 6px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    border-radius: 12px;
    transition: background-color 0.25s ease, color 0.25s ease;
    font-size: 0.95rem;
}

.admin-shell .sidebar a:hover,
.admin-shell .sidebar a.active {
    background: linear-gradient(90deg, #2563eb, #3b82f6);
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
}

.admin-shell .stat-card {
    border-radius: 18px;
    box-shadow: var(--lux-shadow);
}

.suggestions-container {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
    background: white;
    border: 1px solid #e5e5e5;
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.16);
    max-height: 320px;
    overflow-y: auto;
    display: none;
    border-radius: 16px;
    overflow: hidden;
}

.suggestion-item {
    padding: 10px 14px;
    cursor: pointer;
}

.suggestion-item:hover,
.suggestion-item.active {
    background-color: #f7f7f7;
}

.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    padding: 1rem 1.5rem;
    z-index: 1060;
}

@keyframes floatIn {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-lift {
    animation: floatIn 0.6s ease-out both;
}

@media (max-width: 768px) {
    .site-topbar .topbar-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .topbar-links,
    .topbar-meta {
        width: 100%;
    }

    .topbar-links {
        gap: 0.9rem;
    }

    .site-mainbar .mainbar-inner {
        grid-template-columns: 1fr;
        justify-items: stretch;
    }

    .cart-summary {
        width: 100%;
        min-width: 0;
    }

    .mainbar-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .icon-actions {
        justify-content: space-between;
        width: 100%;
    }

    .site-category-nav .category-inner {
        overflow-x: auto;
        white-space: nowrap;
        gap: 1.5rem;
    }

    .site-category-nav .category-inner::-webkit-scrollbar {
        height: 4px;
    }

    .site-category-nav .category-inner::-webkit-scrollbar-thumb {
        background: rgba(0, 0, 0, 0.15);
        border-radius: 999px;
    }
    .brand-badge {
        padding: 2px 6px;
    }

    .brand-logo {
        height: 24px;
        max-width: 120px;
    }

    .brand-name {
        font-size: 1.2rem;
    }

    .nav-link {
        font-size: 0.9rem;
    }

    .search-shell {
        width: 100%;
    }

    .category-img {
        height: 300px;
    }

    .category-overlay {
        padding: 0.95rem;
    }

    .category-kicker {
        font-size: 0.66rem;
        letter-spacing: 1.2px;
    }

    .category-overlay h3 {
        font-size: 1.12rem;
    }

    .category-overlay p {
        font-size: 0.84rem;
        line-height: 1.3;
    }

    .category-actions {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        padding: 0.8rem;
    }

    .category-action.category-action-primary {
        grid-column: span 1;
    }

    .top-selling-tabs {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .top-selling-tabs button {
        padding: 8px 18px;
    }

    .top-selling-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .top-selling-card img {
        height: 220px;
    }

    .quick-actions {
        margin-top: 0.75rem;
    }

    .quick-action-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .quick-action {
        border-right: 1px solid #edf2f9;
        border-bottom: 1px solid #edf2f9;
    }

    .quick-action:nth-child(2n) {
        border-right: none;
    }

    .quick-action:nth-last-child(-n+2) {
        border-bottom: none;
    }

    .kpi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .catalog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .floating-actions {
        bottom: 86px;
    }

    .mobile-dock {
        display: block;
    }

    body {
        padding-bottom: 74px;
    }
}

@media (max-width: 576px) {
    .section-pad {
        padding: 2.5rem 0;
    }

    .top-selling-grid {
        grid-template-columns: 1fr;
    }

    .top-selling-card img {
        height: 200px;
    }

    .category-img {
        height: 240px;
    }

    .cart-summary {
        padding: 0.55rem 1rem;
        font-size: 0.9rem;
    }

    .btn-jd-yellow,
    .btn-jd,
    .btn-jd-outline {
        width: 100%;
        text-align: center;
    }

    .catalog-grid {
        grid-template-columns: 1fr;
    }

    .catalog-card img {
        height: 240px;
    }

    .kpi-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 991px) {
    .section-pad {
        padding: 3.5rem 0;
    }

    .site-mainbar .mainbar-inner {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .main-search {
        max-width: 100%;
    }

    .mainbar-actions {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .site-topbar .container {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .navbar-nav {
        padding-top: 0.75rem;
    }

    .admin-shell .sidebar {
        min-height: auto;
        border-right: none;
        border-bottom: 1px solid rgba(37, 99, 235, 0.22);
    }

    .admin-shell .sidebar .position-sticky {
        position: static;
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center;
    }

    .admin-shell .sidebar .position-sticky .text-center {
        width: 100%;
    }

    .admin-shell .sidebar a {
        display: inline-flex;
        margin-bottom: 0;
        padding: 8px 12px;
        font-size: 0.85rem;
    }

    .footer-newsletter {
        flex-direction: column;
    }

    .footer-newsletter .btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* =====================================================
   SEBAEXPRESS — MOBILE-FIRST COMPREHENSIVE UPGRADE
   ===================================================== */

/* ── CSS improvements ── */
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    display: block;
}

/* Safer tap highlight on iOS */
a, button {
    -webkit-tap-highlight-color: rgba(37, 99, 235, 0.12);
}

/* Safe-area for notch/island phones */
.site-mainbar,
.mobile-dock,
.mobile-buy-bar,
.offer-ticker {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
}

.mobile-dock {
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

/* ── Scroll-shrink header ── */
.site-mainbar {
    transition: padding 0.22s ease, box-shadow 0.22s ease;
    will-change: box-shadow;
}

.site-mainbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.site-mainbar.scrolled .mainbar-inner {
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
}

/* ── Mobile hamburger button ── */
.mobile-hamburger {
    display: none;
    background: none;
    border: 1.5px solid rgba(0, 0, 0, 0.14);
    border-radius: 10px;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #111;
    font-size: 1.35rem;
    flex-shrink: 0;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.mobile-hamburger:hover {
    border-color: var(--lux-gold);
    background: #eff6ff;
}

/* ── Mobile search toggle button ── */
.mobile-search-toggle {
    display: none;
    background: none;
    border: 1.5px solid rgba(0, 0, 0, 0.14);
    border-radius: 10px;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #111;
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: border-color 0.2s ease;
}

.mobile-search-toggle:hover {
    border-color: var(--lux-gold);
}

/* ── Mobile search dropdown ── */
.mobile-search-bar {
    display: none;
    background: #fff;
    border-bottom: 1px solid #e7edf6;
    padding: 0.6rem 1rem;
    position: relative;
    z-index: 100;
}

.mobile-search-bar.open {
    display: block;
}

.mobile-search-bar .search-shell {
    width: 100%;
    max-width: 100%;
}

/* ── Mobile cart badge ── */
.cart-icon-badge {
    display: none;
    position: relative;
}

.cart-icon-badge i {
    font-size: 1.35rem;
    color: #111;
}

.cart-icon-badge .badge-dot {
    position: absolute;
    top: -4px;
    right: -6px;
    background: var(--lux-gold);
    color: #111;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    font-size: 0.65rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* ── Drawer overlay ── */
.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 14, 30, 0.55);
    z-index: 1200;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s ease, visibility 0.28s ease;
    backdrop-filter: blur(2px);
}

.drawer-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* ── Mobile nav drawer ── */
.mobile-nav-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    max-width: 88vw;
    height: 100%;
    height: 100dvh;
    background: #fff;
    z-index: 1210;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 16px 0 40px rgba(0, 0, 0, 0.18);
}

.mobile-nav-drawer.open {
    transform: translateX(0);
}

.drawer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 1.1rem;
    border-bottom: 1px solid #e9edf6;
    flex-shrink: 0;
    background: #fff;
}

.drawer-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.4rem;
    color: var(--lux-gold);
    letter-spacing: 0.5px;
}

.drawer-brand img {
    height: 26px;
    width: auto;
}

.drawer-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #e4e8f0;
    background: none;
    color: #333;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
}

.drawer-close:hover {
    background: #f5f5f5;
}

.drawer-search-wrap {
    padding: 0.8rem 1.1rem;
    border-bottom: 1px solid #f0f3f9;
    flex-shrink: 0;
}

.drawer-search-wrap .search-shell {
    width: 100%;
    max-width: 100%;
}

.drawer-body {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.drawer-section-label {
    padding: 0.7rem 1.1rem 0.25rem;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    color: #94a0b8;
    font-weight: 700;
}

.drawer-nav-link {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.72rem 1.1rem;
    color: #1a2335;
    font-weight: 600;
    font-size: 0.95rem;
    border-left: 2.5px solid transparent;
    transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.drawer-nav-link:hover,
.drawer-nav-link.active {
    color: #2563eb;
    background: #eff6ff;
    border-left-color: var(--lux-gold);
}

.drawer-nav-link i {
    width: 22px;
    font-size: 1.05rem;
    opacity: 0.85;
}

.drawer-divider {
    height: 1px;
    background: #f0f3f9;
    margin: 0.4rem 0;
}

.drawer-footer-row {
    border-top: 1px solid #e9edf6;
    padding: 0.75rem 1.1rem;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.drawer-footer-row .btn {
    border-radius: 10px;
    font-size: 0.9rem;
    padding: 0.6rem 1rem;
}

/* ── Improved cards with GPU-only animation ── */
.catalog-card,
.service-card,
.category-card,
.top-selling-card {
    will-change: transform;
}

/* ── Better product image: aspect-ratio based ── */
.catalog-card img {
    aspect-ratio: 4 / 3;
    height: auto;
    object-fit: cover;
    width: 100%;
}

.top-selling-card img {
    aspect-ratio: 3 / 4;
    height: auto;
    object-fit: cover;
    width: 100%;
}

/* ── Shimmer skeleton loader ── */
.skeleton {
    background: linear-gradient(90deg, #f0f3f9 25%, #e6edf7 50%, #f0f3f9 75%);
    background-size: 200% 100%;
    animation: shimmer 1.4s infinite;
    border-radius: 8px;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* ── Scroll reveal utility ── */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.55s ease-out, transform 0.55s ease-out;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Better form inputs globally ── */
.form-control {
    border-radius: 10px;
    border: 1.5px solid #dde3ee;
    padding: 0.65rem 0.95rem;
    font-size: 0.95rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    color: #111;
}

.form-control:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
    outline: none;
}

/* ── Payment trust strip ── */
.trust-payment-strip {
    background: #f7faff;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.85rem 0;
}

.trust-payment-strip .inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem 1.5rem;
}

.payment-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    padding: 0.35rem 0.7rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.payment-badge i {
    font-size: 1.1rem;
    color: var(--lux-gold);
}

/* Footer trust section on dark bg */
.footer .trust-payment-strip {
    background: rgba(255, 255, 255, 0.04);
    border-top-color: rgba(255, 255, 255, 0.07);
    margin-top: 2rem;
    border-radius: 14px;
    padding: 1rem;
}

/* ── Footer accordion on mobile ── */
.footer-section-toggle {
    display: none;
    background: none;
    border: none;
    padding: 0;
    margin-left: auto;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
    cursor: pointer;
    transition: transform 0.2s ease;
}

.footer-section-toggle.is-open {
    transform: rotate(180deg);
}

/* ── Mobile improvements at ≤ 991px ── */
@media (max-width: 991px) {
    .site-topbar {
        display: none;
    }

    .mobile-hamburger {
        display: inline-flex;
    }

    .mobile-search-toggle {
        display: inline-flex;
    }

    .cart-icon-badge {
        display: inline-flex;
        align-items: center;
    }

    /* Keep 3-column grid: logo | search | actions */
    .site-mainbar .mainbar-inner {
        grid-template-columns: auto 1fr auto;
        gap: 0.6rem;
        padding: 0.7rem 0;
    }

    /* Hide desktop search – show mobile compact one */
    .main-search {
        display: none;
    }

    /* Hide full desktop action group */
    .mainbar-actions {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 0.4rem;
        width: auto;
    }

    /* Hide desktop-only elements in action bar */
    .cart-summary {
        display: none;
    }

    .icon-actions .btn-icon:not([aria-label="Cart"]) {
        display: none;
    }

    .icon-actions {
        display: flex;
        gap: 0.4rem;
    }

    /* Hide login/register buttons on mobile — in drawer */
    .mainbar-actions .btn-jd-outline,
    .mainbar-actions .btn-jd-yellow,
    .mainbar-actions .dropdown {
        display: none;
    }
}

/* ── Mobile touch target improvements ≤ 768px ── */
@media (max-width: 768px) {
    /* Restore good padding on section */
    .section-pad {
        padding: 2.5rem 0;
    }

    /* Better topbar → hidden via 991px rule */
    .site-topbar .topbar-inner {
        flex-direction: row;
    }

    /* Fix the bad stacking from old rule */
    .site-mainbar .mainbar-inner {
        grid-template-columns: auto 1fr auto;
        justify-items: initial;
    }

    .mainbar-actions {
        flex-direction: row;
        align-items: center;
        width: auto;
    }

    /* Fix buttons full-width issue on small screens */
    .btn-jd-yellow,
    .btn-jd,
    .btn-jd-outline {
        width: auto;
    }

    /* Hero CTA group stays flex-wrap but buttons keep sensible width */
    .hero-cta-group .btn {
        flex: 1 0 140px;
    }

    /* Quick actions 2-column on phones */
    .quick-action-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    /* Catalog 2-col grid */
    .catalog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .catalog-card img {
        aspect-ratio: 1;
    }

    /* KPI 2-col */
    .kpi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    /* Services 1-col */
    .services-grid {
        grid-template-columns: 1fr;
    }

    /* Category image shorter */
    .category-img {
        height: 260px;
    }

    /* Footer links become accordions */
    .footer-section-toggle {
        display: inline-flex;
    }

    .footer-collapsible {
        display: none;
        margin-top: 0.5rem;
    }

    .footer-collapsible.open {
        display: block;
    }

    .footer-title-row {
        display: flex;
        align-items: center;
        cursor: pointer;
        user-select: none;
    }

    .footer-title-row .footer-title {
        margin-bottom: 0;
    }

    /* Payment strip wraps nicely */
    .trust-payment-strip .inner {
        gap: 0.5rem 1rem;
    }
}

/* ── Very small screens ≤ 480px ── */
@media (max-width: 480px) {
    .catalog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.65rem;
    }

    .catalog-card img {
        aspect-ratio: 1;
    }

    .kpi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .quick-action-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .top-selling-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
    }

    /* Brand duo stacks */
    .brand-duo {
        grid-template-columns: 1fr;
    }

    /* Deal grid stacks */
    .deal-grid {
        grid-template-columns: 1fr;
    }


/* =====================================================
   GLOBAL PREMIUM SYSTEM — SITEWIDE CONSISTENCY
   ===================================================== */

:root {
    --prem-bg: #f0f4ff;
    --prem-surface: #ffffff;
    --prem-surface-2: #f5f8ff;
    --prem-ink: #0c1828;
    --prem-muted: #4a607e;
    --prem-line: #c7d7f0;
    --prem-brand: #2563eb;
    --prem-brand-2: #3b82f6;
    --prem-ok: #11966d;
    --prem-danger: #d3484f;
    --prem-shadow-sm: 0 8px 20px rgba(12, 24, 54, 0.08);
    --prem-shadow-md: 0 14px 34px rgba(12, 24, 54, 0.1);
    --prem-shadow-lg: 0 20px 45px rgba(12, 24, 54, 0.14);
    --prem-grad: linear-gradient(135deg, #1e40af 0%, #2563eb 50%, #3b82f6 100%);
}

body {
    background: var(--prem-bg);
    color: var(--prem-ink);
}

main,
#main-content {
    min-height: 70vh;
}

/* Type rhythm */
h1, h2, h3, h4, h5, h6 {
    color: #142038;
    font-weight: 700;
}

p,
li,
small,
.text-muted {
    color: var(--prem-muted) !important;
}

/* Links */
a {
    color: #1c335c;
    transition: color 0.2s ease;
}

a:hover {
    color: #0f2446;
}

/* Universal surfaces */
.card,
.modal-content,
.dropdown-menu,
.offcanvas,
.accordion-item,
.list-group-item,
.table,
.alert {
    border-radius: 14px;
    border: 1px solid var(--prem-line);
}

.card,
.modal-content,
.offcanvas,
.accordion-item {
    background: var(--prem-surface);
    box-shadow: var(--prem-shadow-sm);
}

.card:hover {
    box-shadow: var(--prem-shadow-md);
}

.card-header,
.card-footer,
.modal-header,
.modal-footer {
    background: var(--prem-surface-2);
    border-color: var(--prem-line);
}

/* Forms */
.form-label {
    font-weight: 600;
    color: #1c2c45;
}

.form-control,
.form-select,
.form-check-input,
.input-group-text,
textarea,
select,
input {
    border-color: var(--prem-line);
}

.form-control,
.form-select,
.input-group-text {
    border-radius: 10px;
    min-height: 44px;
    background: #fff;
    color: #1c2940;
    box-shadow: none;
}

.form-control:focus,
.form-select:focus,
.form-check-input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.2);
}

.form-check-input:checked {
    background-color: var(--prem-brand);
    border-color: var(--prem-brand);
}

/* Buttons */
.btn {
    border-radius: 11px;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary,
.btn-jd,
.btn-jd-yellow {
    background: var(--prem-grad);
    border: 1px solid #1e40af;
    color: #ffffff;
}

.btn-primary:hover,
.btn-jd:hover,
.btn-jd-yellow:hover {
    box-shadow: 0 10px 28px rgba(30, 64, 175, 0.38);
    filter: brightness(1.1);
}

.btn-outline-primary,
.btn-outline-secondary,
.btn-jd-outline {
    border-color: #2563eb;
    color: #2563eb;
    background: #fff;
}

.btn-outline-primary:hover,
.btn-outline-secondary:hover,
.btn-jd-outline:hover {
    border-color: #1e40af;
    background: #eff6ff;
    color: #1e40af;
}

/* Alerts */
.alert {
    padding: 0.9rem 1rem;
}

.alert-success {
    border-color: rgba(17, 150, 109, 0.35);
    background: rgba(17, 150, 109, 0.09);
    color: #0e6e52;
}

.alert-danger {
    border-color: rgba(211, 72, 79, 0.3);
    background: rgba(211, 72, 79, 0.09);
    color: #a12d33;
}

.alert-info {
    border-color: rgba(55, 126, 220, 0.28);
    background: rgba(55, 126, 220, 0.08);
    color: #265fa8;
}

/* Tables and admin data grids */
.table {
    background: #fff;
    overflow: hidden;
}

.table thead th,
.table-dark th {
    background: #152238 !important;
    color: #f1f5fb !important;
    border-color: #152238 !important;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.78rem;
}

.table > :not(caption) > * > * {
    border-bottom-color: #e5ebf4;
    vertical-align: middle;
}

.table-hover tbody tr:hover {
    background: #f7fbff;
}

/* Badges and pills */
.badge {
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.bg-success {
    background-color: var(--prem-ok) !important;
}

.bg-danger {
    background-color: var(--prem-danger) !important;
}

/* Pagination */
.pagination .page-link {
    border-color: #d8e1ee;
    color: #203657;
    background: #fff;
    border-radius: 9px;
    margin: 0 2px;
}

.pagination .page-item.active .page-link {
    background: var(--prem-grad);
    border-color: #1e40af;
    color: #ffffff;
}

/* Breadcrumb */
.breadcrumb {
    background: #fff;
    border: 1px solid var(--prem-line);
    border-radius: 10px;
    padding: 0.6rem 0.9rem;
}

/* Utility wrappers often used in pages */
.bg-light {
    background-color: #f7faff !important;
}

.shadow,
.shadow-sm,
.shadow-lg {
    box-shadow: var(--prem-shadow-sm) !important;
}

.rounded,
.rounded-3,
.rounded-4 {
    border-radius: 14px !important;
}

/* Checkout and account-centric pages */
.checkout-shell,
.profile-shell,
.orders-shell,
.dashboard-shell,
.auth-shell {
    padding-top: 2rem;
    padding-bottom: 2.5rem;
}

/* Admin shell refinement */
.admin-shell .sidebar {
    border-right: 1px solid rgba(37, 99, 235, 0.2);
    box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.05);
}

.admin-shell .sidebar a {
    border: 1px solid transparent;
}

.admin-shell .sidebar a:hover,
.admin-shell .sidebar a.active {
    border-color: rgba(255, 255, 255, 0.12);
}

/* Smooth reveal polish */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile tuning for premium readability */
@media (max-width: 991px) {
    h1 {
        font-size: clamp(1.65rem, 5.2vw, 2.1rem);
    }

    h2 {
        font-size: clamp(1.3rem, 4.5vw, 1.7rem);
    }

    .table-responsive {
        border-radius: 12px;
        border: 1px solid var(--prem-line);
        background: #fff;
    }

    .card,
    .modal-content {
        border-radius: 12px;
    }
}

@media (max-width: 576px) {
    body {
        padding-bottom: 76px;
    }

    .btn,
    .form-control,
    .form-select {
        min-height: 42px;
    }

    .table thead th {
        font-size: 0.72rem;
    }
}

/* =====================================================
   SEBAEXPRESS — DESIGN REFRESH (CLEAN PREMIUM)
   ===================================================== */

:root {
    --lux-black: #0c1a36;
    --lux-graphite: #162845;
    --lux-gold: #2563eb;
    --lux-amber: #3b82f6;
    --lux-cream: #f0f4ff;
    --lux-mist: #dbeafe;
    --lux-shadow: 0 14px 34px rgba(12, 24, 54, 0.12);
    --lux-gradient: linear-gradient(140deg, #1e40af 0%, #2563eb 55%, #3b82f6 100%);
}

body {
    font-family: 'Manrope', sans-serif;
    background-image:
        radial-gradient(circle at 8% -8%, rgba(37, 99, 235, 0.1), transparent 40%),
        radial-gradient(circle at 100% 0%, rgba(36, 50, 74, 0.08), transparent 38%),
        linear-gradient(180deg, #fdfefe 0%, #f4f7fb 100%);
    animation: none;
    color: #1b2537;
}

h1, h2, h3, h4, h5, .display-4, .display-5, .display-6,
.brand-name,
.navbar-brand,
.drawer-brand {
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: 0.02em;
    text-transform: none;
}

.site-mainbar {
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid rgba(37, 99, 235, 0.12);
    box-shadow: 0 4px 24px rgba(12, 26, 54, 0.08);
}

.site-category-nav {
    background: #ffffff;
    border-bottom: 2px solid rgba(37, 99, 235, 0.18);
}

.site-category-nav .category-inner {
    font-size: 0.88rem;
    letter-spacing: 0.08em;
    gap: 1.35rem;
}

.search-shell {
    border: 1px solid #dbe3ef;
    box-shadow: 0 10px 24px rgba(16, 26, 44, 0.08);
}

.btn-jd-yellow,
.btn-jd {
    background: var(--lux-gradient);
    color: #ffffff;
    border-radius: 14px;
    padding: 0.62rem 1.3rem;
    border: none;
}

.btn-jd-yellow:hover,
.btn-jd:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(30, 64, 175, 0.35);
    background: linear-gradient(140deg, #1e3a8a 0%, #2563eb 55%, #3b82f6 100%);
}

.btn-jd-outline {
    border-color: #2563eb;
    color: #2563eb;
    border-radius: 14px;
    background: transparent;
}

.btn-jd-outline:hover {
    border-color: #1e40af;
    color: #ffffff;
    background: #2563eb;
}

.card,
.catalog-card,
.service-card,
.faq-mini,
.product-card,
.wishlist-card,
.related-card,
.checkout-card {
    border: 1px solid rgba(20, 35, 60, 0.08);
    box-shadow: 0 14px 28px rgba(16, 26, 44, 0.08);
    border-radius: 18px;
}

.catalog-card:hover,
.category-card:hover,
.service-card:hover {
    box-shadow: 0 18px 36px rgba(16, 26, 44, 0.14);
}

.category-showcase {
    background: linear-gradient(180deg, #fdfefe 0%, #f1f5fb 100%);
}

.category-overlay {
    background: linear-gradient(180deg, rgba(7, 13, 24, 0.03) 10%, rgba(7, 13, 24, 0.78) 100%);
}

.top-selling-tabs button {
    border-radius: 999px;
    border-color: #d4deeb;
}

.top-selling-tabs button.active,
.top-selling-tabs button:hover {
    background: #16243a;
    border-color: #16243a;
}

.footer {
    background: linear-gradient(180deg, #0c1a36 0%, #091228 100%);
    border-top: 2px solid rgba(37, 99, 235, 0.45);
}

.footer-title {
    letter-spacing: 0.08em;
    font-size: 0.9rem;
}

.payment-badge {
    border-radius: 999px;
    padding: 0.42rem 0.78rem;
}

.mobile-dock {
    border-top: 1px solid #d5ddec;
    box-shadow: 0 -8px 20px rgba(16, 26, 44, 0.08);
}

.mobile-dock a {
    color: #30415d;
}

.mobile-dock a.active,
.mobile-dock a:hover {
    color: #1d4ed8;
}

@media (max-width: 991px) {
    .section-pad {
        padding: 3rem 0;
    }

    .site-mainbar .mainbar-inner {
        padding-top: 0.65rem;
        padding-bottom: 0.65rem;
    }

    .category-img {
        height: 270px;
    }
}

@media (max-width: 576px) {
    h1, .display-4, .display-5 {
        letter-spacing: 0.01em;
    }

    .category-img {
        height: 240px;
    }

    .footer {
        padding: 3rem 0 1.25rem;
    }
}
    .trust-logos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .section-pad {
        padding: 2rem 0;
    }

    /* Hero caption smaller */
    .carousel-caption h1 {
        font-size: 1.8rem !important;
    }

    .carousel-caption {
        padding: 1rem !important;
        bottom: 10% !important;
        left: 3% !important;
        right: 3% !important;
    }
}

/* ── Improved mobile dock (show active indicator) ── */
.mobile-dock a.active {
    color: #1d4ed8;
    position: relative;
}

.mobile-dock a.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 3px;
    background: var(--lux-gold);
    border-radius: 0 0 4px 4px;
}

/* ── Improved dropdown menus ── */
.dropdown-menu {
    border: 1px solid #e5ebf7;
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
    padding: 0.5rem;
    animation: dropIn 0.18s ease-out;
}

.dropdown-item {
    border-radius: 8px;
    padding: 0.55rem 0.85rem;
    font-size: 0.92rem;
    transition: background 0.15s ease, color 0.15s ease;
}

.dropdown-item:hover {
    background: #eff6ff;
    color: #1d4ed8;
}

@keyframes dropIn {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ── PWA meta color & touch icons ── */
/* (applied via HTML meta tags in <head>) */

/* ── Product card image bg on load ── */
.catalog-card img,
.top-selling-card img,
.category-img {
    background-color: #f0f3f9;
    transition: opacity 0.3s ease;
}

/* ── Highlight active category nav link ── */
.site-category-nav .category-inner a.active {
    color: var(--lux-gold);
}

.site-category-nav .category-inner a.active::after {
    width: 100%;
}

/* ── Better section heading on mobile ── */
@media (max-width: 640px) {
    .section-heading {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.65rem;
    }
}

/* ── Global image rendering optimization ── */
img {
    image-rendering: auto;
}

/* ── Better link underline style ── */
.footer-list a:hover {
    text-underline-offset: 3px;
    text-decoration: underline;
}

/* ── Skip to content accessibility ── */
.skip-to-content {
    position: absolute;
    top: -100%;
    left: 0;
    background: var(--lux-gold);
    color: #111;
    padding: 0.5rem 1rem;
    font-weight: 700;
    z-index: 9999;
    border-radius: 0 0 8px 0;
    transition: top 0.2s ease;
}

.skip-to-content:focus {
    top: 0;
}

/* ── Notification / Flash message global style ── */
.flash-message {
    border-radius: 12px;
    border: none;
    padding: 0.85rem 1.1rem;
    font-weight: 600;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.1);
}

/* ── Print optimization ── */
@media print {
    .mobile-dock,
    .floating-actions,
    .mobile-buy-bar,
    .scroll-cta,
    .offer-ticker,
    .site-topbar,
    .site-category-nav,
    header nav {
        display: none !important;
    }
}

/* ── Desktop polish and layout balancing ── */
@media (min-width: 992px) {
    .site-topbar .topbar-inner,
    .site-mainbar .mainbar-inner,
    .site-category-nav .category-inner,
    .footer .container,
    .mobile-dock .container {
        max-width: 1320px;
    }

    .site-mainbar {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 4px 24px rgba(12, 26, 54, 0.07);
    }

    .site-mainbar .mainbar-inner {
        grid-template-columns: minmax(320px, 460px) minmax(320px, 620px) auto;
        gap: 1rem;
        min-height: 84px;
    }

    .navbar-brand {
        margin-right: 0;
        min-width: 0;
        max-width: 100%;
        display: inline-flex;
        align-items: center;
        gap: 0.55rem;
    }

    .brand-name {
        font-size: clamp(1.45rem, 2.2vw, 2.35rem);
        letter-spacing: 0.02em;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1;
        color: #2563eb;
    }

    .main-search {
        max-width: 580px;
    }

    .mainbar-actions {
        justify-self: end;
        gap: 0.75rem;
        flex-wrap: nowrap;
    }

    .cart-summary {
        min-width: 190px;
        padding: 0.7rem 1rem;
        box-shadow: 0 10px 20px rgba(15, 23, 36, 0.06);
    }

    .site-mainbar .icon-actions .btn-icon,
    .site-mainbar .mainbar-actions > .dropdown .btn-icon {
        color: #0f1724;
        background: #ffffff;
        border: 1px solid #dfe6f2;
        box-shadow: 0 10px 18px rgba(15, 23, 36, 0.06);
    }

    .site-mainbar .icon-actions .btn-icon:hover,
    .site-mainbar .mainbar-actions > .dropdown .btn-icon:hover {
        color: #2563eb;
        border-color: rgba(37, 99, 235, 0.5);
        background: #eff6ff;
    }

    .site-category-nav .category-inner {
        justify-content: center;
        gap: clamp(1rem, 1.6vw, 1.8rem);
        padding: 0.8rem 0;
    }

    .site-category-nav .category-inner a {
        font-size: 0.82rem;
        letter-spacing: 0.8px;
        white-space: nowrap;
    }

    .section-pad {
        padding: 4.75rem 0;
    }

    .section-heading {
        margin-bottom: 2rem;
    }

    .quick-action-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .quick-action {
        min-height: 96px;
        padding: 1rem 1.2rem;
    }

    .kpi-card,
    .service-card,
    .catalog-card,
    .faq-mini,
    .conversion-card,
    .deal-card {
        border-radius: 18px;
    }

    .catalog-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1.25rem;
    }

    .catalog-body {
        padding: 1.05rem;
    }

    .catalog-title {
        min-height: 3.1em;
        font-size: 0.98rem;
    }

    .top-selling-grid {
        gap: 20px;
    }

    .footer-main {
        align-items: start;
    }

    .footer-list a {
        font-size: 0.96rem;
    }

    .footer-newsletter .d-flex {
        flex-wrap: nowrap;
    }

    .footer-bottom {
        margin-top: 2.25rem;
    }
}

@media (max-width: 1199px) {
    .site-mainbar .mainbar-inner {
        grid-template-columns: minmax(240px, 1fr) minmax(260px, 1fr) auto;
        gap: 0.8rem;
    }

    .brand-name {
        font-size: clamp(1.15rem, 2.2vw, 1.7rem);
        max-width: min(58vw, 420px);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .brand-wordmark {
        height: 32px;
        max-width: min(62vw, 420px);
    }
}

/* Header wordmark refinement (two-tone, no clipping) */
.navbar-brand {
    min-width: 0;
    max-width: 100%;
}

.brand-name {
    display: block;
    min-width: 0;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1;
}

.brand-core {
    color: #2563eb;
    font-weight: 800;
}

.brand-sub {
    color: #1e3a8a;
    font-weight: 700;
}

@media (max-width: 991px) {
    .brand-name {
        font-size: clamp(1rem, 3.8vw, 1.25rem) !important;
        max-width: min(62vw, 360px);
    }

    .brand-wordmark {
        height: 28px;
        max-width: min(62vw, 330px);
    }
}

@media (max-width: 640px) {
    .brand-sub {
        display: none;
    }

    .brand-name {
        max-width: min(52vw, 220px);
    }

    .brand-wordmark {
        height: 24px;
        max-width: min(56vw, 240px);
    }
}

/* Product page premium conversion styling */
.product-shell .product-card-shell {
    border: 1px solid #dfe7f3;
    box-shadow: 0 14px 32px rgba(18, 33, 58, 0.09);
    background: #ffffff;
}

.product-shell .buy-panel {
    border: 1px solid #dde6f2;
    border-radius: 16px;
    box-shadow: 0 14px 28px rgba(20, 35, 60, 0.1);
    padding: 1.15rem;
    background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
}

.product-shell .price-tag {
    font-size: clamp(1.45rem, 2.3vw, 2rem);
    color: #1e40af;
    font-weight: 800;
    letter-spacing: 0.01em;
    text-shadow: 0 2px 8px rgba(30, 64, 175, 0.15);
}

.product-shell .pill {
    border: 1px solid #dce6f2;
    border-radius: 999px;
    padding: 0.3rem 0.75rem;
    background: #f8fbff;
    color: #30415f;
    font-weight: 700;
    font-size: 0.78rem;
}

.product-shell .service-item {
    border: 1px solid #e4ebf5;
    border-radius: 12px;
    padding: 0.7rem;
    background: #fbfdff;
}

.product-shell .service-icon {
    background: linear-gradient(135deg, #dbeafe, #eff6ff);
    color: #1d4ed8;
    border-radius: 10px;
}

.product-shell .review-card,
.product-shell .review-form-card,
.product-shell .recommend-card,
.product-shell .related-card {
    border: 1px solid #dde6f3;
    box-shadow: 0 12px 26px rgba(18, 33, 58, 0.08);
    border-radius: 14px;
    background: #ffffff;
}

.product-shell .related-card:hover {
    box-shadow: 0 18px 34px rgba(18, 33, 58, 0.12);
}

/* Checkout premium conversion styling */
.checkout-shell .checkout-hero {
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 16px 34px rgba(10, 18, 32, 0.2);
}

.checkout-shell .checkout-card {
    border: 1px solid #dfe7f2;
    box-shadow: 0 14px 30px rgba(18, 33, 58, 0.09);
}

.checkout-shell .payment-method {
    border-color: #d8e2ef;
    border-radius: 12px;
    box-shadow: 0 6px 14px rgba(18, 33, 58, 0.05);
}

.checkout-shell .payment-method.selected,
.checkout-shell .payment-method:hover {
    border-color: #2563eb;
    background: #eff6ff;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.18);
}

.checkout-shell #placeOrderBtn {
    box-shadow: 0 12px 28px rgba(30, 64, 175, 0.35);
}

.checkout-shell #placeOrderBtn:hover {
    transform: translateY(-1px);
}

@media (min-width: 992px) and (max-width: 1199px) {
    .site-category-nav .category-inner {
        justify-content: flex-start;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .site-category-nav .category-inner::-webkit-scrollbar {
        display: none;
    }

    .mainbar-actions {
        gap: 0.5rem;
    }

    .cart-summary {
        min-width: 170px;
        font-size: 0.92rem;
    }
}

@media (hover: hover) and (pointer: fine) {
    .catalog-card:hover,
    .service-card:hover,
    .category-card:hover,
    .top-selling-card:hover,
    .deal-card:hover,
    .conversion-card:hover {
        transform: translateY(-4px);
    }
}

@keyframes subtleGlow {
    0% { filter: brightness(1) saturate(1); }
    100% { filter: brightness(1.04) saturate(1.08) hue-rotate(5deg); }
}

/* =====================================================
   DEEP ROYAL BLUE — FINAL POLISH & ENHANCEMENTS
   ===================================================== */

/* ── Topbar — rich navy strip ── */
.site-topbar {
    background: linear-gradient(90deg, #0c1a36 0%, #1e3a8a 100%);
    border-bottom: 1px solid rgba(96, 165, 250, 0.12);
}

.site-topbar a {
    color: #93c5fd;
}

.site-topbar a:hover {
    color: #ffffff;
}

.topbar-links a {
    color: rgba(255, 255, 255, 0.75);
}

.topbar-links a:hover {
    color: #93c5fd;
}

/* ── Search input — crisp blue focus ring ── */
.search-shell {
    background: #ffffff;
    border: 1.5px solid #c7d7f0;
    border-radius: 999px;
    padding: 0.25rem 0.5rem;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.1);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-shell:focus-within {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
}

.search-shell .btn {
    background: transparent;
    border: none;
    color: #2563eb;
}

/* ── Category nav — blue accent underline ── */
.site-category-nav .category-inner a {
    color: #1a2a4a;
    font-size: 0.95rem;
    position: relative;
}

.site-category-nav .category-inner a::after {
    background: #2563eb;
}

.site-category-nav .category-inner a:hover,
.site-category-nav .category-inner a.active {
    color: #2563eb;
}

/* ── Service / feature cards ── */
.service-card i {
    color: #2563eb;
    font-size: 1.3rem;
}

/* ── Catalog price — royal blue ── */
.catalog-price {
    color: #1e40af;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

/* ── Floating action button ring ── */
.floating-btn.floating-main {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.45);
}

.floating-btn.floating-main:hover {
    box-shadow: 0 12px 32px rgba(30, 64, 175, 0.55);
    transform: translateY(-2px);
}

/* ── Mobile dock — blue active indicator ── */
.mobile-dock a.active::before {
    background: #2563eb;
}

/* ── Top selling tabs — navy active ── */
.top-selling-tabs button.active,
.top-selling-tabs button:hover {
    background: #1e3a8a;
    border-color: #1e3a8a;
    color: #ffffff;
}

.top-selling-price {
    font-weight: 700;
    color: #1e40af;
}

/* ── KPI card number highlight ── */
.kpi-card h3 {
    color: #93c5fd;
}

/* ── Mobile hamburger — blue on hover ── */
.mobile-hamburger:hover {
    border-color: #2563eb;
    background: #eff6ff;
}

/* ── Cookie banner — blue accept button ── */
.cookie-banner {
    border-top: 3px solid #2563eb;
    box-shadow: 0 20px 50px rgba(12, 26, 54, 0.14);
}

/* ── Age gate card ── */
.age-gate-card {
    border-top: 4px solid #2563eb;
}

/* ── Badge featured ── */
.badge-featured {
    background: linear-gradient(90deg, #2563eb, #3b82f6);
    color: #ffffff;
}

/* ── Skeleton improved ── */
.skeleton {
    background: linear-gradient(90deg, #e8f0fe 25%, #dbeafe 50%, #e8f0fe 75%);
    background-size: 200% 100%;
    animation: shimmer 1.4s infinite;
}

/* ── Quick action icon bg ── */
.quick-action i {
    background: #dbeafe;
    color: #1d4ed8;
}

/* ── Flash messages ── */
.flash-message.alert-info {
    background: #eff6ff;
    border-color: rgba(37, 99, 235, 0.3);
    color: #1e40af;
}

/* ── Skip link ── */
.skip-to-content {
    background: #2563eb;
    color: #ffffff;
}

/* ── Dropdown hover ── */
.dropdown-item:hover {
    background: #eff6ff;
    color: #2563eb;
}

/* ── Table header ── */
.table thead th,
.table-dark th {
    background: #0c1a36 !important;
    color: #dbeafe !important;
    border-color: #1e3a8a !important;
}

/* ── Breadcrumb ── */
.breadcrumb-item a {
    color: #2563eb;
}

.breadcrumb-item.active {
    color: #4a607e;
}

/* ── Form check active ── */
.form-check-input:checked {
    background-color: #2563eb;
    border-color: #2563eb;
}

/* ── Scrollbar theming (webkit) ── */
::-webkit-scrollbar {
    width: 7px;
}

::-webkit-scrollbar-track {
    background: #f0f4ff;
}

::-webkit-scrollbar-thumb {
    background: #93c5fd;
    border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2563eb;
}

/* ── Selection color ── */
::selection {
    background: rgba(37, 99, 235, 0.2);
    color: #0c1a36;
}

/* ── Smooth card elevation on hover ── */
.catalog-card:hover .catalog-title {
    color: #2563eb;
}

/* ── Footer links ── */
.footer a:hover {
    color: #93c5fd;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer-social a:hover {
    background: rgba(37, 99, 235, 0.25);
    border-color: rgba(96, 165, 250, 0.4);
}

/* ── Trust payment badges in footer ── */
.payment-badge i {
    color: #60a5fa;
}

/* ── Section heading link ── */
.section-heading a {
    color: #2563eb;
    font-weight: 700;
}

.section-heading a:hover {
    color: #1e40af;
}

/* ── Admin sidebar on mobile ── */
@media (max-width: 991px) {
    .admin-shell .sidebar {
        border-bottom: 2px solid rgba(37, 99, 235, 0.25);
        border-right: none;
    }
}

/* ── Print: hide floating UI ── */
@media print {
    .floating-actions,
    .mobile-dock,
    .site-topbar,
    .cookie-banner { display: none !important; }
}


@keyframes bluePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.15); }
    50% { box-shadow: 0 0 0 8px rgba(37, 99, 235, 0); }
}

/* ═══════════════════════════════════════════════════════════
   HEADER — AMAZON-STYLE PROFESSIONAL (hdr-* classes)
══════════════════════════════════════════════════════════════*/

/* Skip link */
.skip-to-content {
    position: absolute; top: -100px; left: 1rem; z-index: 9999;
    padding: .45rem 1rem; border-radius: 4px;
    background: #2563eb; color: #fff; font-size: .8rem; font-weight: 600;
    text-decoration: none; transition: top .15s;
}
.skip-to-content:focus { top: .5rem; }

/* Sticky header wrapper */
.site-header { position: sticky; top: 0; z-index: 1000; }

/* ── TOP BAR ─────────────────────────────────────────────── */
.hdr-topbar {
    background: #0c1a36;
    color: rgba(255,255,255,.75);
    font-size: .72rem;
    font-weight: 500;
    letter-spacing: .02em;
    border-bottom: 1px solid rgba(37,99,235,.25);
}
.hdr-topbar-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: .75rem; padding-top: .35rem; padding-bottom: .35rem;
    flex-wrap: wrap;
}
.hdr-top-left, .hdr-top-right { display: flex; align-items: center; gap: .45rem; flex-wrap: wrap; }
.hdr-top-link {
    color: rgba(255,255,255,.78); text-decoration: none;
    padding: .1rem .3rem; border-radius: 3px; white-space: nowrap;
    transition: color .15s, background .15s;
}
.hdr-top-link:hover { color: #fff; background: rgba(255,255,255,.08); }
.hdr-top-highlight { color: #fbbf24; font-weight: 600; }
.hdr-top-highlight:hover { color: #fde68a; background: transparent; }
.hdr-top-admin { color: #93c5fd; font-weight: 600; }
.hdr-top-divider { color: rgba(255,255,255,.25); user-select: none; }

/* ── MAIN BAR ─────────────────────────────────────────────── */
.hdr-mainbar {
    background: linear-gradient(180deg, #1e3a8a 0%, #1e40af 100%);
    padding: .55rem 0;
    transition: padding .2s, box-shadow .2s;
    box-shadow: 0 2px 12px rgba(0,0,0,.35);
}
.hdr-mainbar.scrolled { padding: .3rem 0; }
.hdr-mainbar-inner {
    display: flex; align-items: center; gap: .75rem;
    flex-wrap: nowrap;
}

/* Brand / logo */
.hdr-brand {
    display: flex; align-items: center; gap: .55rem;
    text-decoration: none; flex-shrink: 0;
    padding: .25rem .4rem; border-radius: 6px;
    border: 2px solid transparent; transition: border-color .15s;
}
.hdr-brand:hover { border-color: rgba(255,255,255,.5); }
.hdr-logo-img { width: 36px; height: 36px; object-fit: contain; border-radius: 4px; }
.hdr-logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.hdr-logo-core { color: #fff; font-size: 1rem; font-weight: 800; letter-spacing: -.01em; }
.hdr-logo-sub  { color: #93c5fd; font-size: .65rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }

/* Search form */
.hdr-search-form { display: block; flex: 1; min-width: 0; position: relative; }
.hdr-search-wrap {
    display: flex; align-items: stretch; height: 40px;
    border-radius: 6px; overflow: hidden;
    border: 2px solid transparent;
    box-shadow: 0 0 0 0 transparent;
    transition: border-color .2s, box-shadow .2s;
    background: #fff;
}
.hdr-search-wrap:focus-within {
    border-color: #fbbf24;
    box-shadow: 0 0 0 3px rgba(251,191,36,.25);
}
.hdr-search-cat {
    background: #e9eff8; color: #1e3a8a;
    border: none; border-right: 1px solid #d1d5db;
    padding: 0 .5rem; font-size: .78rem; font-weight: 600;
    cursor: pointer; flex-shrink: 0; outline: none; max-width: 90px;
    appearance: none; -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%231e3a8a'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 6px center;
    padding-right: 22px;
}
.hdr-search-sep { width: 1px; background: #d1d5db; flex-shrink: 0; }
.hdr-search-input {
    flex: 1; border: none; outline: none; padding: 0 .75rem;
    font-size: .9rem; color: #111; background: transparent; min-width: 0;
}
.hdr-search-input::placeholder { color: #9ca3af; }
.hdr-search-btn {
    background: #fbbf24; border: none; color: #0c1a36;
    padding: 0 1rem; font-size: 1.05rem; cursor: pointer; flex-shrink: 0;
    transition: background .15s;
}
.hdr-search-btn:hover { background: #f59e0b; }
.hdr-search-btn:active { background: #d97706; }

/* Desktop actions */
.hdr-actions { display: flex; align-items: center; gap: .15rem; flex-shrink: 0; }
.hdr-action-item { position: relative; flex-shrink: 0; }
.hdr-action-btn {
    display: flex; flex-direction: column; align-items: flex-start;
    padding: .25rem .55rem; border-radius: 5px; text-decoration: none;
    color: #fff; transition: background .15s; border: 2px solid transparent;
    cursor: pointer; background: transparent;
}
.hdr-action-btn:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.3); color: #fff; }
.hdr-action-sub  { font-size: .68rem; color: rgba(255,255,255,.8); line-height: 1.1; }
.hdr-action-main { font-size: .8rem; font-weight: 700; color: #fff; line-height: 1.2; white-space: nowrap; }

/* Cart */
.hdr-cart {
    display: flex; align-items: center; gap: .4rem;
    padding: .25rem .7rem; border-radius: 5px;
    text-decoration: none; color: #fff;
    border: 2px solid transparent;
    transition: background .15s, border-color .15s;
    flex-shrink: 0;
}
.hdr-cart:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.3); color: #fff; }
.hdr-cart-icon { position: relative; font-size: 1.4rem; line-height: 1; }
.hdr-cart-count {
    position: absolute; top: -7px; right: -10px;
    background: #fbbf24; color: #0c1a36; border-radius: 50%;
    font-size: .62rem; font-weight: 800; min-width: 18px; height: 18px;
    display: flex; align-items: center; justify-content: center; padding: 0 3px;
}
.hdr-cart-label { font-size: .8rem; font-weight: 700; }

/* Dropdown */
.hdr-dropdown {
    border-radius: 8px; box-shadow: 0 8px 32px rgba(0,0,0,.22);
    border: 1px solid rgba(0,0,0,.1); padding: .5rem 0; min-width: 210px;
    animation: fadeInDown .15s ease;
}
.hdr-dd-header {
    padding: .5rem 1rem .3rem; font-size: .7rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .08em; color: #6b7280;
}
.hdr-dropdown .dropdown-item {
    font-size: .85rem; padding: .45rem 1rem; color: #1e293b;
    transition: background .1s;
}
.hdr-dropdown .dropdown-item:hover { background: #eff6ff; color: #1d4ed8; }
.hdr-dropdown .dropdown-item.text-danger:hover { background: #fef2f2; }

/* Shared badge */
.hdr-badge {
    position: absolute; top: 2px; right: 2px;
    background: #fbbf24; color: #0c1a36; border-radius: 50%;
    font-size: .6rem; font-weight: 800; min-width: 17px; height: 17px;
    display: flex; align-items: center; justify-content: center;
    padding: 0 3px; pointer-events: none;
}

/* Mobile controls */
.hdr-mobile-controls { display: none; align-items: center; gap: .35rem; flex-shrink: 0; }
.hdr-mob-btn {
    background: transparent; border: none; color: #fff;
    font-size: 1.35rem; padding: .3rem .45rem; border-radius: 6px;
    cursor: pointer; position: relative; transition: background .15s;
    text-decoration: none; display: flex; align-items: center; justify-content: center;
}
.hdr-mob-btn:hover { background: rgba(255,255,255,.15); color: #fff; }

/* Mobile search dropdown */
.hdr-mobile-search {
    display: none;
    border-top: 1px solid rgba(255,255,255,.12);
    background: #1e3a8a; padding: 0;
    overflow: hidden; max-height: 0; transition: max-height .25s ease;
}
.hdr-mobile-search.open { display: block !important; max-height: 80px; }

/* ── CATEGORY NAV ─────────────────────────────────────────── */
.hdr-catnav {
    background: linear-gradient(180deg, #1d4ed8 0%, #2563eb 100%);
    border-top: 1px solid rgba(255,255,255,.12);
    padding: 0;
    overflow: hidden;
}
.hdr-catnav-inner {
    display: flex; align-items: center; gap: 0;
    overflow-x: auto; scrollbar-width: none;
    -ms-overflow-style: none; padding: .1rem 0;
}
.hdr-catnav-inner::-webkit-scrollbar { display: none; }
.hdr-catnav-all {
    background: rgba(0,0,0,.18); color: #fff;
    border: none; border-right: 1px solid rgba(255,255,255,.15);
    padding: .55rem 1rem; font-size: .82rem; font-weight: 700;
    cursor: pointer; white-space: nowrap; flex-shrink: 0;
    transition: background .15s;
}
.hdr-catnav-all:hover { background: rgba(0,0,0,.3); }
.hdr-catnav-link {
    color: rgba(255,255,255,.88); text-decoration: none;
    padding: .55rem .85rem; font-size: .82rem; white-space: nowrap;
    flex-shrink: 0; border-radius: 0; position: relative;
    transition: background .15s, color .15s;
}
.hdr-catnav-link:hover, .hdr-catnav-link.active {
    color: #fff; background: rgba(0,0,0,.2);
}
.hdr-catnav-link.active::after {
    content: ''; position: absolute; bottom: 0; left: .6rem; right: .6rem;
    height: 2px; background: #fbbf24; border-radius: 2px;
}
.hdr-catnav-deals {
    color: #fde68a !important; font-weight: 700;
}
.hdr-catnav-deals:hover { color: #fff !important; }

/* ── MOBILE DRAWER ────────────────────────────────────────── */
.mobile-nav-drawer {
    position: fixed; top: 0; left: 0; width: min(320px, 88vw);
    height: 100vh; background: #0c1a36; z-index: 1300;
    display: flex; flex-direction: column;
    transform: translateX(-100%); transition: transform .28s cubic-bezier(.22,.68,0,1.2);
    box-shadow: 8px 0 40px rgba(0,0,0,.5);
}
.mobile-nav-drawer.open { transform: translateX(0); }
.drawer-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,.6);
    z-index: 1299; opacity: 0; pointer-events: none;
    transition: opacity .25s;
}
.drawer-overlay.open { opacity: 1; pointer-events: auto; }
.drawer-top {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1rem 1.1rem .75rem;
    background: linear-gradient(135deg, #1e3a8a, #1d4ed8);
    border-bottom: 1px solid rgba(255,255,255,.12); flex-shrink: 0;
}
.drawer-brand { color: #fff; font-size: .95rem; font-weight: 700; }
.drawer-close {
    background: transparent; border: none; color: rgba(255,255,255,.7);
    font-size: 1.2rem; cursor: pointer; padding: .3rem .5rem; border-radius: 5px;
    transition: background .15s, color .15s;
}
.drawer-close:hover { background: rgba(255,255,255,.12); color: #fff; }
.drawer-search-wrap { padding: .75rem 1rem; border-bottom: 1px solid rgba(255,255,255,.1); flex-shrink: 0; }
.drawer-body { flex: 1; overflow-y: auto; padding: .5rem 0; }
.drawer-section-label {
    padding: .65rem 1rem .3rem; font-size: .68rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .09em; color: rgba(255,255,255,.4);
}
.drawer-nav-link {
    display: flex; align-items: center; gap: .75rem;
    padding: .65rem 1.1rem; color: rgba(255,255,255,.82);
    text-decoration: none; font-size: .88rem; transition: background .12s, color .12s;
}
.drawer-nav-link i { font-size: 1rem; color: rgba(255,255,255,.5); flex-shrink: 0; }
.drawer-nav-link:hover { background: rgba(255,255,255,.07); color: #fff; }
.drawer-nav-link:hover i { color: #93c5fd; }
.drawer-divider { height: 1px; background: rgba(255,255,255,.1); margin: .5rem 0; }
.drawer-footer-row {
    padding: 1rem; display: flex; flex-direction: column; gap: .5rem;
    border-top: 1px solid rgba(255,255,255,.12); flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════
   FOOTER — AMAZON-STYLE PROFESSIONAL (ftr-* classes)
══════════════════════════════════════════════════════════════*/

/* Back to top strip */
.ftr-backtotop {
    background: #233876; color: rgba(255,255,255,.8);
    text-align: center; padding: .85rem;
    font-size: .85rem; font-weight: 600; letter-spacing: .04em;
    cursor: pointer; transition: background .15s, color .15s;
    user-select: none;
}
.ftr-backtotop:hover { background: #2d4fa8; color: #fff; }

/* Root footer */
.ftr-root {
    background: #091228;
    color: rgba(255,255,255,.72);
    font-size: .85rem;
}

/* Main section */
.ftr-main { padding: 2.5rem 0 2rem; }
.ftr-col-title {
    color: #fff; font-size: .9rem; font-weight: 700;
    margin-bottom: 1rem; letter-spacing: .015em;
}
.ftr-link-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .45rem; }
.ftr-link-list a {
    color: rgba(255,255,255,.68); text-decoration: none;
    transition: color .15s; font-size: .83rem;
}
.ftr-link-list a:hover { color: #93c5fd; text-decoration: underline; }

/* Newsletter */
.ftr-copy { color: rgba(255,255,255,.55); font-size: .8rem; line-height: 1.5; }
.ftr-newsletter { display: flex; flex-direction: column; gap: .5rem; }
.ftr-newsletter-row { display: flex; border-radius: 6px; overflow: hidden; border: 1px solid rgba(255,255,255,.2); }
.ftr-newsletter-input {
    flex: 1; background: rgba(255,255,255,.08); border: none; outline: none;
    color: #fff; font-size: .85rem; padding: .55rem .85rem;
}
.ftr-newsletter-input::placeholder { color: rgba(255,255,255,.4); }
.ftr-newsletter-btn {
    background: #2563eb; color: #fff; border: none; padding: .55rem 1rem;
    font-size: .82rem; font-weight: 700; cursor: pointer; white-space: nowrap;
    transition: background .15s;
}
.ftr-newsletter-btn:hover { background: #1d4ed8; }
.ftr-secure-note { font-size: .75rem; color: rgba(255,255,255,.45); }

/* Social icons */
.ftr-social { display: flex; gap: .5rem; flex-wrap: wrap; }
.ftr-social-btn {
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255,255,255,.08); color: rgba(255,255,255,.7);
    display: flex; align-items: center; justify-content: center;
    font-size: .9rem; text-decoration: none;
    transition: background .15s, color .15s, transform .15s;
}
.ftr-social-btn:hover { background: #2563eb; color: #fff; transform: translateY(-2px); }

/* Divider */
.ftr-divider { height: 1px; background: rgba(255,255,255,.08); margin: 0; }

/* ── Payment Methods & Security Strip ── */
.ftr-payments {
    background: #0b1630;
    padding: 1.5rem 0 1.25rem;
    border-top: 1px solid rgba(255,255,255,.07);
}

/* Row 1 — label + badges */
.ftr-pay-row {
    display: flex; align-items: center; gap: 1rem 1.5rem;
    flex-wrap: wrap; margin-bottom: 1.1rem;
}
.ftr-pay-label {
    color: rgba(255,255,255,.5); font-size: .72rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: .07em; flex-shrink: 0;
    display: flex; align-items: center; gap: .4rem;
}
.ftr-pay-label i { color: #4ade80; }
.ftr-pay-methods { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }

/* Base badge — white card tile */
.ftr-pay-badge {
    display: inline-flex; align-items: center; justify-content: center;
    background: #fff; border-radius: 5px; padding: 5px 10px;
    height: 32px; min-width: 50px;
    box-shadow: 0 1px 5px rgba(0,0,0,.18);
    cursor: default; transition: transform .15s, box-shadow .15s;
    white-space: nowrap;
}
.ftr-pay-badge:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,.2); }

/* Visa */
.ftr-pay-visa em {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-style: italic; font-weight: 900;
    font-size: 1rem; color: #1a1f71;
    letter-spacing: -.02em;
}

/* Mastercard */
.ftr-pay-mc { gap: 0; padding: 5px 8px; }
.mc-red  { width:18px; height:18px; border-radius:50%; background:#EB001B; position:relative; z-index:2; flex-shrink:0; }
.mc-orange { width:18px; height:18px; border-radius:50%; background:#F79E1B; margin-left:-8px; z-index:1; flex-shrink:0; }
.mc-label { font-size:.5rem; font-weight:600; color:#231f20; margin-left:5px; letter-spacing:-.01em; }

/* PayPal */
.ftr-pay-paypal { font-size:.82rem; font-weight:800; color:#003087; letter-spacing:-.02em; }
.ftr-pay-paypal span { color:#009cde; }

/* Stripe */
.ftr-pay-stripe {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: .82rem; font-weight: 600;
    color: #635bff; letter-spacing: -.03em;
}

/* MB Way */
.ftr-pay-mbway {
    background: #00a651; color: #fff;
    font-size: .64rem; font-weight: 800;
    letter-spacing: .04em; gap: .3rem;
}
.ftr-pay-mbway i { font-size: .75rem; }

/* Apple Pay */
.ftr-pay-apple { font-size: .78rem; font-weight: 600; color: #000; gap: .15rem; }
.ftr-pay-apple i { font-size: .9rem; }

/* Google Pay */
.ftr-pay-gpay { font-size: .8rem; font-weight: 700; }
.gp-g  { color: #4285F4; }
.gp-o  { color: #EA4335; }
.gp-o2 { color: #FBBC04; }
.gp-g2 { color: #4285F4; }
.gp-l  { color: #34A853; }
.gp-e  { color: #EA4335; }
.gp-pay { color: #5F6368; font-weight: 400; }

/* IBAN / Bank Transfer */
.ftr-pay-bank { font-size: .72rem; font-weight: 700; color: #334155; gap: .3rem; }
.ftr-pay-bank i { font-size: .9rem; color: #475569; }

/* Row 2 — security / trust marks */
.ftr-pay-security {
    display: flex; flex-wrap: wrap; gap: .5rem .1rem;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,.06);
    padding-top: .9rem;
}
.ftr-verify-badge {
    display: inline-flex; align-items: center; gap: .35rem;
    color: rgba(255,255,255,.45); font-size: .72rem; font-weight: 500;
    padding: 3px 10px 3px 0;
    border-right: 1px solid rgba(255,255,255,.1);
    margin-right: .5rem;
    white-space: nowrap;
}
.ftr-verify-badge:last-child { border-right: none; margin-right: 0; }
.ftr-verify-badge i { font-size: .85rem; }
.ftr-verify-badge .bi-shield-fill-check { color: #4ade80; }
.ftr-verify-badge .bi-patch-check-fill  { color: #60a5fa; }
.ftr-verify-badge .bi-award-fill        { color: #fbbf24; }
.ftr-verify-badge .bi-box-seam-fill     { color: #94a3b8; }
.ftr-verify-badge .bi-arrow-return-left { color: #94a3b8; }

/* Bottom bar */
.ftr-bottom { background: #060d1e; padding: 1rem 0; }
.ftr-bottom-inner {
    display: flex; align-items: center; flex-wrap: wrap;
    gap: .75rem 1.5rem; justify-content: space-between;
}
.ftr-bottom-brand {
    display: flex; align-items: center; gap: .5rem;
    text-decoration: none; flex-shrink: 0;
}
.ftr-bottom-logo { width: 28px; height: 28px; object-fit: contain; border-radius: 3px; }
.ftr-bottom-name { font-size: .88rem; font-weight: 700; color: #fff; }
.ftr-legal-links { display: flex; flex-wrap: wrap; gap: .35rem .9rem; align-items: center; }
.ftr-legal-links a {
    color: rgba(255,255,255,.5); text-decoration: none; font-size: .75rem;
    transition: color .15s;
}
.ftr-legal-links a:hover { color: #93c5fd; text-decoration: underline; }
.ftr-bottom-right { display: flex; align-items: center; gap: .85rem; flex-wrap: wrap; }
.ftr-lang-select {
    display: flex; align-items: center;
    background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15);
    border-radius: 5px; padding: .25rem .6rem;
}
.ftr-lang-select select {
    background: transparent; border: none; color: rgba(255,255,255,.75);
    font-size: .78rem; outline: none; cursor: pointer; appearance: none;
    -webkit-appearance: none; padding: 0 .25rem;
}
.ftr-lang-select select option { background: #0c1a36; color: #fff; }
.ftr-copy-text { color: rgba(255,255,255,.4); font-size: .75rem; }

/* ── Responsive: hide/show for header ────────── */
@media (max-width: 991px) {
    .hdr-actions { display: none; }
    .hdr-mobile-controls { display: flex; }
    .hdr-search-form { display: none; }
    .hdr-mainbar-inner { gap: .5rem; }
    .hdr-catnav { display: none; }
    .hdr-topbar { display: none; }
}
@media (min-width: 992px) {
    .hdr-mobile-controls { display: none !important; }
    .hdr-mobile-search   { display: none !important; }
}

/* ── Responsive: footer adjustments ────────────── */
@media (max-width: 767px) {
    .ftr-bottom-inner { flex-direction: column; align-items: flex-start; gap: .75rem; }
    .ftr-legal-links { gap: .3rem .6rem; }
    .ftr-cols .col-lg-3 { border-bottom: 1px solid rgba(255,255,255,.06); padding-bottom: 1rem; }
    .ftr-pay-row { flex-direction: column; align-items: flex-start; gap: .6rem; }
    .ftr-pay-methods { gap: .4rem; }
    .ftr-pay-security { gap: .35rem 0; }
    .ftr-verify-badge { font-size: .68rem; }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}



/* ═══════════════════════════════════════════════════════════════
   HOMEPAGE SECTIONS  (hp-* namespace)
   ═══════════════════════════════════════════════════════════════ */

/* ── Shared section wrapper ── */
.hp-section { padding: 4rem 0; }
.hp-section-head { display:flex; justify-content:space-between; align-items:flex-end; gap:1rem; margin-bottom:2.5rem; flex-wrap:wrap; }
.hp-section-title { font-size:1.7rem; font-weight:700; color:#0c1a36; margin:0 0 .25rem; }
.hp-section-sub { color:#64748b; margin:0; font-size:.95rem; }

/* ── Ticker ── */
.hp-ticker { background:#0c1a36; color:#e2e8f0; padding:.55rem 0; overflow:hidden; }
.hp-ticker-inner { display:flex; align-items:center; gap:1.25rem; justify-content:center; flex-wrap:wrap; font-size:.85rem; padding:0 1rem; }
.hp-ticker-badge { background:#fbbf24; color:#1e1e1e; font-weight:700; font-size:.72rem; border-radius:3px; padding:2px 9px; letter-spacing:.05em; white-space:nowrap; }
.hp-ticker-cta { color:#fbbf24; font-weight:600; text-decoration:none; white-space:nowrap; }
.hp-ticker-cta:hover { color:#f59e0b; }

/* ── Hero ── */
.hp-hero { position:relative; overflow:hidden; }
.hp-hero-img { width:100%; height:78vh; min-height:480px; max-height:760px; object-fit:cover; object-position:center; display:block; }
.hp-hero-overlay { position:absolute; inset:0; background:linear-gradient(100deg, rgba(10,20,50,.78) 0%, rgba(10,20,50,.30) 65%, transparent 100%); pointer-events:none; }
.hp-hero-caption { position:absolute; top:50%; left:0; transform:translateY(-50%); padding:0 5% 0 7%; max-width:620px; z-index:2; }
.hp-hero-eyebrow { display:inline-block; background:#fbbf24; color:#1e1e1e; font-size:.72rem; font-weight:700; letter-spacing:.08em; padding:3px 10px; border-radius:3px; text-transform:uppercase; margin-bottom:.75rem; }
.hp-hero-title { font-size:clamp(1.65rem,3.5vw,2.8rem); font-weight:800; color:#fff; line-height:1.2; margin:0 0 .8rem; }
.hp-hero-sub { color:rgba(255,255,255,.85); font-size:clamp(.9rem,1.5vw,1.05rem); margin:0 0 1.1rem; line-height:1.65; }
.hp-hero-pills { display:flex; flex-wrap:wrap; gap:.5rem; margin-bottom:1.4rem; }
.hp-hero-pills span { background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.2); color:#fff; font-size:.76rem; padding:3px 10px; border-radius:20px; }
.hp-hero-btns { display:flex; gap:.75rem; flex-wrap:wrap; }
.hp-hero-dots { bottom:1.25rem; }

/* ── Button system ── */
.hp-btn-primary { background:#2563eb; color:#fff; border:none; font-weight:600; padding:.55rem 1.4rem; border-radius:6px; transition:background .2s,transform .15s; }
.hp-btn-primary:hover { background:#1d4ed8; color:#fff; transform:translateY(-1px); }
.hp-btn-secondary { background:rgba(255,255,255,.15); border:1px solid rgba(255,255,255,.35); color:#fff; font-weight:600; padding:.55rem 1.4rem; border-radius:6px; backdrop-filter:blur(4px); transition:background .2s; }
.hp-btn-secondary:hover { background:rgba(255,255,255,.25); color:#fff; }
.hp-btn-outline { border:2px solid #2563eb; color:#2563eb; font-weight:600; padding:.45rem 1.2rem; border-radius:6px; background:transparent; transition:background .2s,color .2s; white-space:nowrap; }
.hp-btn-outline:hover { background:#2563eb; color:#fff; }

/* ── Trust Bar ── */
.hp-trust-bar { background:#fff; border-top:1px solid #e5eaf2; border-bottom:1px solid #e5eaf2; padding:.75rem 0; }
.hp-trust-inner { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:.75rem 0; }
.hp-trust-item { display:flex; align-items:center; gap:.65rem; padding:.25rem .8rem; flex:1; min-width:160px; }
.hp-trust-item i { font-size:1.35rem; color:#2563eb; flex-shrink:0; }
.hp-trust-item div { display:flex; flex-direction:column; }
.hp-trust-item strong { font-size:.82rem; font-weight:700; color:#1e293b; line-height:1.2; }
.hp-trust-item span { font-size:.72rem; color:#94a3b8; }
.hp-trust-divider { width:1px; height:2.5rem; background:#e2e8f0; flex-shrink:0; }

/* ── Category Grid ── */
.hp-cat-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:1.25rem; }
.hp-cat-card { position:relative; border-radius:12px; overflow:hidden; min-height:200px; display:flex; flex-direction:column; justify-content:flex-end; text-decoration:none; transition:transform .25s,box-shadow .25s; box-shadow:0 2px 12px rgba(0,0,0,.08); }
.hp-cat-card:hover { transform:translateY(-4px); box-shadow:0 8px 28px rgba(0,0,0,.13); }
.hp-cat-bg { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center; transition:transform .4s; }
.hp-cat-card:hover .hp-cat-bg { transform:scale(1.05); }
.hp-cat-icon { position:absolute; top:1rem; left:1rem; width:2.6rem; height:2.6rem; border-radius:50%; background:rgba(255,255,255,.18); backdrop-filter:blur(6px); display:flex; align-items:center; justify-content:center; color:#fff; font-size:1.1rem; z-index:2; border:1px solid rgba(255,255,255,.3); }
.hp-cat-body { position:relative; z-index:2; padding:1.1rem 1.1rem 1.1rem; background:linear-gradient(to top, rgba(10,20,50,.85) 0%, rgba(10,20,50,.4) 70%, transparent 100%); }
.hp-cat-badge { display:inline-block; font-size:.65rem; font-weight:700; text-transform:uppercase; letter-spacing:.07em; padding:2px 8px; border-radius:3px; margin-bottom:.4rem; }
.hp-cat-body h3 { font-size:1rem; font-weight:700; color:#fff; margin:0 0 .3rem; }
.hp-cat-body p { font-size:.78rem; color:rgba(255,255,255,.8); margin:0 0 .5rem; line-height:1.45; }
.hp-cat-link { font-size:.78rem; font-weight:600; color:#fbbf24; }
.hp-cat-blue::before { content:''; position:absolute; inset:0; background:linear-gradient(135deg, rgba(37,99,235,.6), rgba(16,56,150,.3)); z-index:1; }
.hp-cat-teal::before { content:''; position:absolute; inset:0; background:linear-gradient(135deg, rgba(15,130,155,.6), rgba(7,89,133,.3)); z-index:1; }
.hp-cat-green::before { content:''; position:absolute; inset:0; background:linear-gradient(135deg, rgba(22,163,74,.55), rgba(6,95,70,.3)); z-index:1; }
.hp-cat-amber::before { content:''; position:absolute; inset:0; background:linear-gradient(135deg, rgba(217,119,6,.65), rgba(180,83,9,.3)); z-index:1; }
.hp-cat-blue .hp-cat-badge { background:#2563eb; color:#fff; }
.hp-cat-teal .hp-cat-badge { background:#0891b2; color:#fff; }
.hp-cat-green .hp-cat-badge { background:#16a34a; color:#fff; }
.hp-cat-amber .hp-cat-badge { background:#d97706; color:#fff; }
.hp-cat-icon { z-index:3; }
.hp-cat-body { z-index:3; }

/* ── Flash Deals ── */
.hp-deals-section { background:#f8faff; }
.hp-deals-countdown { background:#fef3c7; border:1px solid #fbbf24; color:#92400e; font-size:.8rem; padding:4px 12px; border-radius:20px; white-space:nowrap; }
.hp-deals-countdown strong { font-family:monospace; }
.hp-deals-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:1.1rem; }
.hp-deal-card { position:relative; background:#fff; border-radius:10px; border:1px solid #e5eaf2; padding:1.5rem 1.25rem 1.25rem; text-decoration:none; display:flex; flex-direction:column; gap:.6rem; transition:box-shadow .2s,transform .2s; }
.hp-deal-card:hover { box-shadow:0 6px 24px rgba(37,99,235,.1); transform:translateY(-3px); }
.hp-deal-hot { border-color:#fbbf24; background:linear-gradient(135deg,#fffbeb,#fff); }
.hp-deal-badge { position:absolute; top:-1px; right:1rem; background:#ef4444; color:#fff; font-size:.66rem; font-weight:700; letter-spacing:.06em; padding:3px 9px; border-radius:0 0 6px 6px; text-transform:uppercase; }
.hp-deal-hot .hp-deal-badge { background:#f59e0b; }
.hp-deal-icon { font-size:2rem; color:#2563eb; }
.hp-deal-hot .hp-deal-icon { color:#d97706; }
.hp-deal-body { display:flex; flex-direction:column; gap:.25rem; }
.hp-deal-cat { font-size:.72rem; font-weight:600; color:#64748b; text-transform:uppercase; letter-spacing:.05em; }
.hp-deal-body h5 { font-size:.88rem; font-weight:700; color:#1e293b; margin:0; }
.hp-deal-body p { font-size:.78rem; color:#64748b; margin:0; line-height:1.5; }
.hp-deal-cta { font-size:.78rem; font-weight:700; color:#2563eb; margin-top:.25rem; }
.hp-deal-card:hover .hp-deal-cta { color:#1d4ed8; }

/* ── Top Wholesale Picks ── */
.hp-picks-section { background:#fff; }
.hp-tabs { display:flex; gap:.5rem; }
.hp-tab { background:#f1f5f9; border:1px solid #e2e8f0; color:#64748b; font-weight:600; font-size:.82rem; padding:.4rem 1.1rem; border-radius:6px; cursor:pointer; transition:background .15s,color .15s; }
.hp-tab.active, .hp-tab:hover { background:#2563eb; border-color:#2563eb; color:#fff; }
.hp-picks-grid { display:grid; grid-template-columns:repeat(5,1fr); gap:1rem; }
.hp-pick-card { text-decoration:none; background:#fff; border:1px solid #e5eaf2; border-radius:10px; overflow:hidden; transition:box-shadow .2s,transform .2s; display:flex; flex-direction:column; }
.hp-pick-card:hover { box-shadow:0 5px 20px rgba(37,99,235,.1); transform:translateY(-3px); }
.hp-pick-img-wrap { aspect-ratio:1; overflow:hidden; background:#f8faff; }
.hp-pick-img-wrap img { width:100%; height:100%; object-fit:contain; padding:.5rem; }
.hp-pick-info { padding:.6rem .75rem .75rem; }
.hp-pick-price { font-size:.9rem; font-weight:700; color:#2563eb; }
.hp-pick-name { font-size:.78rem; color:#475569; margin-top:.2rem; line-height:1.4; }

/* ── Featured Products Grid ── */
.hp-products-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:1.25rem; }
.hp-prod-card { position:relative; background:#fff; border:1px solid #e5eaf2; border-radius:10px; overflow:hidden; display:flex; flex-direction:column; transition:box-shadow .2s,transform .2s; }
.hp-prod-card:hover { box-shadow:0 6px 24px rgba(37,99,235,.1); transform:translateY(-3px); }
.hp-prod-badge { position:absolute; top:.75rem; left:.75rem; background:#fbbf24; color:#1e1e1e; font-size:.64rem; font-weight:700; padding:2px 8px; border-radius:3px; text-transform:uppercase; letter-spacing:.05em; z-index:2; }
.hp-prod-img-wrap { aspect-ratio:1; background:#f8faff; overflow:hidden; display:block; }
.hp-prod-img-wrap img { width:100%; height:100%; object-fit:contain; padding:.5rem; transition:transform .3s; }
.hp-prod-card:hover .hp-prod-img-wrap img { transform:scale(1.05); }
.hp-prod-body { padding:.85rem; display:flex; flex-direction:column; flex:1; }
.hp-prod-name { font-size:.82rem; font-weight:600; color:#1e293b; margin-bottom:.35rem; line-height:1.4; flex:1; }
.hp-prod-price { font-size:1rem; font-weight:700; color:#2563eb; margin-bottom:.7rem; }
.hp-prod-actions { display:flex; gap:.5rem; }
.hp-prod-details { flex:1; border:1px solid #2563eb; color:#2563eb; font-size:.78rem; font-weight:600; text-align:center; padding:.35rem; border-radius:5px; text-decoration:none; transition:background .15s,color .15s; }
.hp-prod-details:hover { background:#2563eb; color:#fff; }
.hp-prod-add { flex:1; background:#2563eb; color:#fff; font-size:.78rem; font-weight:600; text-align:center; padding:.35rem; border-radius:5px; text-decoration:none; transition:background .15s; }
.hp-prod-add:hover { background:#1d4ed8; color:#fff; }

/* ── B2B Banner ── */
.hp-b2b-banner { background:linear-gradient(110deg, #0c1a36 0%, #1e3a8a 60%, #1e40af 100%); padding:4.5rem 0; }
.hp-b2b-inner { display:flex; gap:3rem; align-items:center; flex-wrap:wrap; }
.hp-b2b-left { flex:1; min-width:280px; }
.hp-b2b-right { flex-shrink:0; }
.hp-b2b-kicker { display:inline-flex; align-items:center; background:rgba(251,191,36,.15); border:1px solid rgba(251,191,36,.35); color:#fbbf24; font-size:.78rem; font-weight:600; padding:4px 12px; border-radius:20px; margin-bottom:1rem; }
.hp-b2b-banner h2 { font-size:clamp(1.5rem,2.5vw,2.2rem); font-weight:800; color:#fff; margin-bottom:.75rem; }
.hp-b2b-banner p { color:rgba(255,255,255,.75); font-size:1rem; margin-bottom:1.25rem; max-width:520px; }
.hp-b2b-perks { list-style:none; padding:0; margin:0 0 1.75rem; display:flex; flex-wrap:wrap; gap:.5rem 2rem; }
.hp-b2b-perks li { color:rgba(255,255,255,.85); font-size:.88rem; display:flex; align-items:center; gap:.5rem; }
.hp-b2b-perks li i { color:#4ade80; font-size:.9rem; }
.hp-b2b-btns { display:flex; gap:.75rem; flex-wrap:wrap; }
.hp-b2b-stats { display:grid; grid-template-columns:repeat(2,1fr); gap:1px; background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.15); border-radius:12px; overflow:hidden; }
.hp-b2b-stat { background:rgba(255,255,255,.04); padding:1.5rem 1.75rem; display:flex; flex-direction:column; align-items:center; text-align:center; }
.hp-b2b-num { font-size:2.1rem; font-weight:800; color:#fbbf24; line-height:1; display:block; }
.hp-b2b-stat span:last-child { font-size:.78rem; color:rgba(255,255,255,.65); margin-top:.25rem; }

/* ── Why Choose Us ── */
.hp-why-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1.4rem; }
.hp-why-card { background:#fff; border:1px solid #e5eaf2; border-radius:10px; padding:1.75rem 1.5rem; transition:box-shadow .2s,transform .2s; }
.hp-why-card:hover { box-shadow:0 6px 22px rgba(37,99,235,.08); transform:translateY(-3px); }
.hp-why-icon { width:3rem; height:3rem; border-radius:10px; display:flex; align-items:center; justify-content:center; font-size:1.3rem; margin-bottom:1rem; }
.hp-why-card h5 { font-size:.95rem; font-weight:700; color:#1e293b; margin-bottom:.5rem; }
.hp-why-card p { font-size:.83rem; color:#64748b; margin:0; line-height:1.6; }

/* ── Quick Links ── */
.hp-quicklinks-section { background:#fff; padding:2.5rem 0; }
.hp-quicklinks-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:1rem; }
.hp-ql-card { display:flex; align-items:center; gap:1rem; background:#f8faff; border:1px solid #e2e8f0; border-radius:10px; padding:1.1rem 1.25rem; text-decoration:none; color:#1e293b; transition:box-shadow .2s,transform .2s,border-color .2s; }
.hp-ql-card:hover { box-shadow:0 4px 16px rgba(37,99,235,.1); transform:translateY(-2px); border-color:#2563eb; color:#1e293b; }
.hp-ql-card > i:first-child { font-size:1.5rem; color:#2563eb; flex-shrink:0; }
.hp-ql-card div { flex:1; display:flex; flex-direction:column; }
.hp-ql-card strong { font-size:.88rem; }
.hp-ql-card span { font-size:.75rem; color:#64748b; }
.hp-ql-arrow { color:#cbd5e1; margin-left:auto; font-size:.9rem; transition:color .2s; }
.hp-ql-card:hover .hp-ql-arrow { color:#2563eb; }

/* ── FAQ ── */
.hp-faq-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1.25rem; }
.hp-faq-item { background:#fff; border:1px solid #e5eaf2; border-radius:10px; padding:1.5rem; }
.hp-faq-item h6 { font-size:.88rem; font-weight:700; color:#1e293b; display:flex; align-items:flex-start; gap:.4rem; margin-bottom:.6rem; }
.hp-faq-item p { font-size:.82rem; color:#64748b; margin:0; line-height:1.6; }

/* ══ RESPONSIVE ══ */
@media (max-width:1200px) {
  .hp-cat-grid { grid-template-columns:repeat(2,1fr); }
  .hp-picks-grid { grid-template-columns:repeat(4,1fr); }
}
@media (max-width:991px) {
  .hp-products-grid { grid-template-columns:repeat(3,1fr); }
  .hp-why-grid { grid-template-columns:repeat(2,1fr); }
  .hp-quicklinks-grid { grid-template-columns:repeat(2,1fr); }
  .hp-faq-grid { grid-template-columns:1fr; }
  .hp-trust-divider { display:none; }
  .hp-b2b-inner { gap:2rem; }
  .hp-deals-grid { grid-template-columns:repeat(2,1fr); }
}
@media (max-width:767px) {
  .hp-section { padding:2.5rem 0; }
  .hp-section-head { flex-direction:column; align-items:flex-start; }
  .hp-hero-img { height:55vh; min-height:320px; }
  .hp-hero-caption { padding:0 5%; max-width:100%; }
  .hp-hero-title { font-size:1.45rem; }
  .hp-hero-btns { flex-direction:column; }
  .hp-cat-grid { grid-template-columns:1fr 1fr; gap:.8rem; }
  .hp-cat-card { min-height:155px; }
  .hp-products-grid { grid-template-columns:repeat(2,1fr); }
  .hp-picks-grid { grid-template-columns:repeat(2,1fr); }
  .hp-why-grid { grid-template-columns:1fr; }
  .hp-deals-grid { grid-template-columns:1fr; }
  .hp-quicklinks-grid { grid-template-columns:1fr; }
  .hp-trust-inner { flex-direction:column; align-items:flex-start; }
  .hp-trust-item { padding:.3rem .5rem; }
  .hp-b2b-stats { grid-template-columns:repeat(2,1fr); }
  .hp-b2b-btns { flex-direction:column; }
  .hp-tabs { flex-wrap:wrap; }
}
@media (max-width:480px) {
  .hp-cat-grid { grid-template-columns:1fr; }
  .hp-products-grid { grid-template-columns:repeat(2,1fr); }
  .hp-picks-grid { grid-template-columns:repeat(2,1fr); }
  .hp-hero-pills { display:none; }
}
