/* ==========================================================================
   DSR4U - PREMIUM GLOBAL THEME
   ========================================================================== */


/* ==========================================================================
   01. DESIGN TOKENS
   ========================================================================== */

   :root {
    /* Main backgrounds */
    --bg-main: #050505;
    --bg-dark: #000000;
    --bg-card: #0c0c0c;
    --bg-card-hover: #111111;
    --bg-surface: #141414;
    --bg-surface-2: #191919;

    /* Borders */
    --border: #242424;
    --border-light: #343434;
    --border-hover: rgba(255, 215, 0, 0.45);

    /* Text */
    --text-main: #f5f5f5;
    --text-soft: #dddddd;
    --text-muted: #a4a4a4;
    --text-dark: #777777;

    /* Gold */
    --gold: #d4af37;
    --gold2: #ffd700;
    --gold-light: #ffe98a;
    --gold-hover: #e6c200;
    --gold-dark: #a98218;

    /* Status */
    --success: #25d366;
    --success-bg: rgba(37, 211, 102, 0.10);

    --warning: #ffc107;
    --warning-bg: rgba(255, 193, 7, 0.10);

    --danger: #ff5252;
    --danger-bg: rgba(255, 82, 82, 0.10);

    --info: #4dabf7;
    --info-bg: rgba(77, 171, 247, 0.10);

    /* Typography */
    --font-main:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    /* Layout */
    --container-width: 1200px;

    /* Radius */
    --radius-xs: 6px;
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 22px;
    --radius-pill: 999px;

    /* Shadows */
    --shadow-sm:
        0 4px 16px rgba(0, 0, 0, 0.25);

    --shadow:
        0 12px 35px rgba(0, 0, 0, 0.35);

    --shadow-lg:
        0 24px 70px rgba(0, 0, 0, 0.50);

    --shadow-gold:
        0 12px 35px rgba(212, 175, 55, 0.12);

    /* Motion */
    --transition:
        all 0.25s cubic-bezier(0.4, 0, 0.2, 1);

    --transition-fast:
        all 0.15s ease;

    /* Focus */
    --focus-ring:
        0 0 0 3px rgba(255, 215, 0, 0.14);
}


/* ==========================================================================
   02. RESET
   ========================================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    background: var(--bg-main);
}

body {
    background:
        radial-gradient(
            circle at 50% -20%,
            rgba(255, 215, 0, 0.035),
            transparent 35%
        ),
        var(--bg-main);

    color: var(--text-main);

    font-family: var(--font-main);
    font-size: 15px;
    line-height: 1.6;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    min-height: 100vh;

    display: flex;
    flex-direction: column;

    overflow-x: hidden;
}

main {
    flex: 1;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

ul,
ol {
    list-style: none;
}


/* ==========================================================================
   03. TEXT SELECTION
   ========================================================================== */

::selection {
    background: var(--gold2);
    color: #000;
}


/* ==========================================================================
   04. SCROLLBAR
   ========================================================================== */

::-webkit-scrollbar {
    width: 9px;
}

::-webkit-scrollbar-track {
    background: #050505;
}

::-webkit-scrollbar-thumb {
    background: #303030;
    border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-dark);
}


/* ==========================================================================
   05. GLOBAL CONTAINER
   ========================================================================== */

.container {
    width: min(var(--container-width), 92%);
    margin: 0 auto;
}


/* ==========================================================================
   06. TOP BAR
   ========================================================================== */

.topbar {
    background:
        linear-gradient(
            90deg,
            #000000,
            #0b0b0b,
            #000000
        );

    border-bottom: 1px solid var(--border);

    color: var(--text-muted);

    font-size: 12px;
    padding: 7px 0;
}

.topbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;
}

.topbar span {
    white-space: nowrap;
}


/* ==========================================================================
   07. HEADER / NAVIGATION
   ========================================================================== */

header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(5, 5, 5, 0.88);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border-bottom: 1px solid rgba(255, 255, 255, 0.07);

    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.18);
}

.nav {
    min-height: 72px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 22px;
}


/* ==========================================================================
   08. LOGO
   ========================================================================== */

.logo {
    display: inline-flex;
    align-items: center;

    gap: 9px;

    color: var(--text-main);

    font-size: 22px;
    font-weight: 850;

    letter-spacing: -0.7px;

    white-space: nowrap;
}

.logo img {
    width: auto;
    max-height: 34px;
    object-fit: contain;
}

.logo span {
    line-height: 1;
}

.logo span b {
    color: var(--gold2);
}


/* ==========================================================================
   09. NAVIGATION LINKS
   ========================================================================== */

nav {
    display: flex;
    align-items: center;

    gap: 26px;
}

nav a {
    position: relative;

    color: var(--text-muted);

    font-size: 14px;
    font-weight: 600;

    padding: 8px 0;
}

nav a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: 0;

    width: 0;
    height: 2px;

    background: var(--gold2);

    border-radius: 999px;

    transition: var(--transition);
}

nav a:hover {
    color: var(--text-main);
}

nav a:hover::after {
    width: 100%;
}


/* ==========================================================================
   10. NAV ACTIONS
   ========================================================================== */

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-link {
    position: relative;
}


/* ==========================================================================
   11. BUTTON SYSTEM
   ========================================================================== */

.btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 42px;

    padding: 10px 18px;

    border-radius: var(--radius-sm);

    border: 1px solid transparent;

    font-size: 14px;
    font-weight: 700;

    line-height: 1.2;

    text-align: center;

    cursor: pointer;

    user-select: none;

    transition: var(--transition);
}

.btn:active {
    transform: translateY(1px);
}

.btn:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
}


/* Gold button */

.btn-gold {
    background:
        linear-gradient(
            135deg,
            var(--gold-light),
            var(--gold2) 45%,
            var(--gold)
        );

    color: #000;

    border-color: rgba(255, 215, 0, 0.35);

    box-shadow:
        0 8px 25px rgba(255, 215, 0, 0.10);
}

.btn-gold:hover {
    background:
        linear-gradient(
            135deg,
            var(--gold2),
            var(--gold-hover)
        );

    color: #000;

    transform: translateY(-2px);

    box-shadow:
        0 12px 30px rgba(255, 215, 0, 0.18);
}


/* Dark button */

.btn-dark {
    background:
        linear-gradient(
            180deg,
            var(--bg-surface-2),
            var(--bg-surface)
        );

    color: var(--text-main);

    border-color: var(--border-light);
}

.btn-dark:hover {
    color: var(--gold2);

    border-color: var(--border-hover);

    background: #1b1b1b;

    transform: translateY(-2px);
}


/* Full width */

.btn-block {
    width: 100%;
}


/* Small button */

.btn-sm {
    min-height: 34px;
    padding: 7px 12px;
    font-size: 12px;
}


/* Large button */

.btn-lg {
    min-height: 48px;
    padding: 13px 24px;
    font-size: 15px;
}


/* ==========================================================================
   12. PAGE HERO
   ========================================================================== */

.page-hero {
    position: relative;

    padding: 64px 0 32px;

    text-align: center;

    border-bottom: 1px solid var(--border);

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(255, 215, 0, 0.07),
            transparent 34%
        ),
        radial-gradient(
            circle at center,
            #151515 0%,
            var(--bg-main) 72%
        );

    overflow: hidden;
}

.page-hero::before {
    content: "";

    position: absolute;

    top: 0;
    left: 50%;

    width: 220px;
    height: 1px;

    transform: translateX(-50%);

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--gold2),
            transparent
        );

    opacity: 0.8;
}

.page-hero h1 {
    position: relative;

    font-size: clamp(32px, 5vw, 52px);

    line-height: 1.05;

    font-weight: 900;

    letter-spacing: -1.5px;

    margin-bottom: 14px;
}

.page-hero p {
    position: relative;

    max-width: 650px;

    margin: 0 auto;

    color: var(--text-muted);

    font-size: 15px;
}


/* ==========================================================================
   13. GOLD TEXT
   ========================================================================== */

.gold-text {
    color: var(--gold2);

    text-shadow:
        0 0 25px rgba(255, 215, 0, 0.10);
}


/* ==========================================================================
   14. GENERAL SECTIONS
   ========================================================================== */

section {
    position: relative;
}

section > .container {
    position: relative;
}

.section-head {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 10px;

    flex-wrap: wrap;
}

.section-head h2 {
    color: var(--text-main);

    font-size: clamp(23px, 3vw, 30px);

    line-height: 1.2;

    font-weight: 850;

    letter-spacing: -0.7px;
}

.section-head p {
    margin-top: 7px;

    color: var(--text-muted);

    font-size: 14px;
}


/* ==========================================================================
   15. PRODUCT GRID
   ========================================================================== */

.grid {
    display: grid;

    grid-template-columns:
        repeat(
            auto-fill,
            minmax(245px, 1fr)
        );

    gap: 22px;

    padding: 35px 0 45px;
}


/* ==========================================================================
   16. GLOBAL CARD
   ========================================================================== */

.card {
    position: relative;

    background:
        linear-gradient(
            180deg,
            #101010,
            var(--bg-card)
        );

    border: 1px solid var(--border);

    border-radius: var(--radius);

    overflow: hidden;

    display: flex;
    flex-direction: column;

    transition: var(--transition);

    box-shadow:
        0 6px 25px rgba(0, 0, 0, 0.18);
}

.card:hover {
    border-color: rgba(255, 215, 0, 0.32);

    transform: translateY(-5px);

    box-shadow:
        var(--shadow-gold);
}


/* ==========================================================================
   17. PRODUCT IMAGE
   ========================================================================== */

.product-img {
    position: relative;

    display: flex;

    align-items: center;
    justify-content: center;

    aspect-ratio: 1.3;

    padding: 24px;

    background:
        radial-gradient(
            circle at center,
            #171717 0%,
            #050505 70%
        );

    border-bottom: 1px solid var(--border);

    overflow: hidden;
}

.product-img::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            135deg,
            rgba(255, 215, 0, 0.04),
            transparent 35%
        );

    pointer-events: none;
}

.product-img img {
    position: relative;
    z-index: 1;

    width: 100%;
    max-height: 150px;

    object-fit: contain;

    transition: var(--transition);
}

.card:hover .product-img img {
    transform: scale(1.04);
}


/* ==========================================================================
   18. CARD BODY
   ========================================================================== */

.card-body {
    display: flex;
    flex-direction: column;

    flex: 1;

    padding: 20px;
}

.card-body h3 {
    color: var(--text-main);

    font-size: 16px;

    line-height: 1.35;

    font-weight: 750;

    margin-bottom: 8px;
}

.card-body p {
    color: var(--text-muted);
}


/* ==========================================================================
   19. PRICE
   ========================================================================== */

.price {
    color: var(--gold2) !important;

    font-size: 21px;

    line-height: 1;

    font-weight: 850;

    margin: 8px 0 18px;
}


/* ==========================================================================
   20. CARD ACTIONS
   ========================================================================== */

.card-actions {
    margin-top: auto;

    display: flex;

    gap: 8px;
}

.card-actions .btn {
    width: 100%;
}


/* ==========================================================================
   21. BADGES
   ========================================================================== */

.badge {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: fit-content;

    padding: 4px 9px;

    border-radius: var(--radius-pill);

    font-size: 11px;

    font-weight: 800;

    line-height: 1.2;
}

.badge-gold {
    background: rgba(255, 215, 0, 0.12);

    color: var(--gold2);

    border: 1px solid rgba(255, 215, 0, 0.20);
}

.badge-success {
    background: var(--success-bg);

    color: var(--success);

    border: 1px solid rgba(37, 211, 102, 0.20);
}

.badge-warning {
    background: var(--warning-bg);

    color: var(--warning);

    border: 1px solid rgba(255, 193, 7, 0.20);
}

.badge-danger {
    background: var(--danger-bg);

    color: var(--danger);

    border: 1px solid rgba(255, 82, 82, 0.20);
}


/* ==========================================================================
   22. REVIEWS
   ========================================================================== */

.review-list {
    display: grid;

    grid-template-columns:
        repeat(
            auto-fill,
            minmax(285px, 1fr)
        );

    gap: 20px;

    padding: 35px 0 45px;
}

.review-card {
    position: relative;

    background:
        linear-gradient(
            180deg,
            #111111,
            #0b0b0b
        );

    border: 1px solid var(--border);

    border-radius: var(--radius);

    padding: 24px;

    transition: var(--transition);
}

.review-card:hover {
    transform: translateY(-3px);

    border-color:
        rgba(255, 215, 0, 0.28);

    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.25);
}

.stars {
    color: var(--gold2);

    font-size: 18px;

    letter-spacing: 2px;

    margin-bottom: 14px;
}

.review-card blockquote {
    color: var(--text-soft);

    font-size: 14px;

    line-height: 1.7;

    font-style: italic;

    margin-bottom: 18px;
}

.reviewer {
    color: var(--text-main);

    font-size: 14px;

    font-weight: 750;
}

.reviewer small {
    display: block;

    margin-top: 4px;

    color: var(--text-muted);

    font-size: 12px;

    font-weight: 450;
}


/* ==========================================================================
   23. FORM ELEMENTS
   ========================================================================== */

input,
textarea,
select {
    width: 100%;

    color: var(--text-main);

    background:
        linear-gradient(
            180deg,
            #171717,
            #111111
        );

    border: 1px solid var(--border-light);

    border-radius: var(--radius-sm);

    padding: 11px 13px;

    outline: none;

    transition: var(--transition);
}

input::placeholder,
textarea::placeholder {
    color: #686868;
}

input:hover,
textarea:hover,
select:hover {
    border-color: #454545;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--gold2);

    box-shadow: var(--focus-ring);
}

textarea {
    min-height: 120px;

    resize: vertical;
}

select {
    appearance: auto;
}

input[readonly] {
    cursor: not-allowed;

    opacity: 0.65;
}


/* ==========================================================================
   24. TABLES
   ========================================================================== */

table {
    width: 100%;

    border-collapse: collapse;
}

th {
    color: var(--gold2);

    background: #050505;

    font-weight: 750;
}

th,
td {
    padding: 13px 15px;

    border-bottom: 1px solid var(--border);

    text-align: left;

    font-size: 14px;
}

tbody tr {
    transition: var(--transition-fast);
}

tbody tr:hover {
    background: rgba(255, 255, 255, 0.025);
}


/* ==========================================================================
   25. COMMON PANELS
   ========================================================================== */

.card-box {
    background:
        linear-gradient(
            180deg,
            #111111,
            #0b0b0b
        );

    border: 1px solid var(--border);

    border-radius: var(--radius);

    padding: 24px;

    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.18);
}

.order-card {
    background: var(--bg-surface);

    border: 1px solid var(--border);

    border-radius: var(--radius-sm);

    padding: 16px;

    margin-bottom: 14px;

    transition: var(--transition);
}

.order-card:hover {
    border-color: rgba(255, 215, 0, 0.25);
}


/* ==========================================================================
   26. FILTERS
   ========================================================================== */

.filter-bar {
    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 18px;

    flex-wrap: wrap;
}

.filter-btn {
    background: var(--bg-surface);

    color: var(--text-muted);

    border: 1px solid var(--border);

    padding: 7px 14px;

    border-radius: var(--radius-pill);

    font-size: 12px;

    font-weight: 650;

    cursor: pointer;

    transition: var(--transition);
}

.filter-btn:hover {
    color: var(--text-main);

    border-color: var(--border-light);
}

.filter-btn.active {
    background: var(--gold2);

    color: #000;

    border-color: var(--gold2);
}

.search-input {
    flex: 1;

    min-width: 220px;

    border-radius: var(--radius-pill);

    padding: 10px 15px;
}


/* ==========================================================================
   27. FOOTER
   ========================================================================== */

footer {
    margin-top: 70px;

    padding: 48px 0 20px;

    background:
        linear-gradient(
            180deg,
            #050505,
            #000000
        );

    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(200px, 1fr)
        );

    gap: 35px;

    margin-bottom: 35px;
}

.footer-grid > div {
    min-width: 0;
}

.footer-title {
    color: var(--gold2);

    font-size: 14px;

    font-weight: 800;

    margin-bottom: 14px;
}

footer p {
    color: var(--text-muted);

    font-size: 13px;
}

footer a {
    display: inline-block;

    color: var(--text-muted);

    font-size: 13px;

    margin-bottom: 7px;
}

footer a:hover {
    color: var(--gold2);

    transform: translateX(2px);
}

.copyright {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 15px;

    padding-top: 20px;

    border-top: 1px solid var(--border);

    color: var(--text-muted);

    font-size: 12px;
}


/* ==========================================================================
   28. LOADING / EMPTY STATES
   ========================================================================== */

.loading,
.empty-state {
    width: 100%;

    padding: 50px 20px;

    text-align: center;

    color: var(--text-muted);
}

.empty-state h2,
.empty-state h3 {
    color: var(--text-main);

    margin-bottom: 8px;
}


/* ==========================================================================
   29. STATUS BADGES
   ========================================================================== */

.badge-pending {
    background: rgba(255, 193, 7, 0.10);

    color: var(--warning);

    border: 1px solid rgba(255, 193, 7, 0.20);
}

.badge-paid {
    background: rgba(37, 211, 102, 0.10);

    color: var(--success);

    border: 1px solid rgba(37, 211, 102, 0.20);
}


/* ==========================================================================
   30. DIVIDERS
   ========================================================================== */

hr {
    height: 1px;

    border: 0;

    background: var(--border);

    margin: 25px 0;
}


/* ==========================================================================
   31. SCROLL OFFSET FOR ANCHORS
   ========================================================================== */

[id] {
    scroll-margin-top: 95px;
}


/* ==========================================================================
   32. VISIBILITY UTILITIES
   ========================================================================== */

.hidden {
    display: none !important;
}

.text-center {
    text-align: center !important;
}

.text-muted {
    color: var(--text-muted) !important;
}

.text-gold {
    color: var(--gold2) !important;
}

.text-success {
    color: var(--success) !important;
}

.text-danger {
    color: var(--danger) !important;
}


/* ==========================================================================
   33. SPACING UTILITIES
   ========================================================================== */

.mt-10 {
    margin-top: 10px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-30 {
    margin-top: 30px;
}

.mb-10 {
    margin-bottom: 10px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-30 {
    margin-bottom: 30px;
}


/* ==========================================================================
   34. ACCESSIBILITY
   ========================================================================== */

:focus-visible {
    outline: 2px solid var(--gold2);

    outline-offset: 3px;
}


/* ==========================================================================
   35. REDUCED MOTION
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;

        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;

        transition-duration: 0.01ms !important;
    }
}


/* ==========================================================================
   36. TABLET
   ========================================================================== */

@media (max-width: 900px) {

    .nav {
        min-height: 66px;
    }

    nav {
        gap: 17px;
    }

    nav a {
        font-size: 13px;
    }

    .grid {
        grid-template-columns:
            repeat(
                auto-fill,
                minmax(220px, 1fr)
            );

        gap: 18px;
    }

    .review-list {
        grid-template-columns:
            repeat(
                auto-fill,
                minmax(260px, 1fr)
            );
    }

}


/* ==========================================================================
   37. MOBILE
   ========================================================================== */

@media (max-width: 768px) {

    .container {
        width: min(94%, var(--container-width));
    }

    .topbar {
        padding: 7px 0;
    }

    .topbar .container {
        flex-direction: column;

        justify-content: center;

        gap: 2px;

        text-align: center;
    }

    .topbar span {
        white-space: normal;
    }


    /* Header */

    .nav {
        min-height: 62px;

        gap: 10px;
    }

    .logo {
        font-size: 19px;

        gap: 6px;
    }

    .logo img {
        max-height: 29px;
    }


    /*
       Navigation remains hidden on mobile for now.
       Step 2 will add the new mobile menu.
    */

    nav {
        display: none;
    }

    .nav-actions {
        margin-left: auto;
    }


    /* Buttons */

    .btn {
        min-height: 40px;

        padding: 9px 14px;

        font-size: 13px;
    }

    .btn-lg {
        min-height: 46px;

        padding: 12px 18px;
    }


    /* Page Hero */

    .page-hero {
        padding: 48px 0 28px;
    }

    .page-hero h1 {
        font-size: clamp(30px, 9vw, 42px);

        letter-spacing: -1px;
    }

    .page-hero p {
        font-size: 14px;
    }


    /* Sections */

    .section-head {
        align-items: flex-start;
    }

    .section-head h2 {
        font-size: 24px;
    }


    /* Product Grid */

    .grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );

        gap: 12px;

        padding: 25px 0 35px;
    }

    .product-img {
        padding: 15px;

        aspect-ratio: 1.15;
    }

    .product-img img {
        max-height: 105px;
    }

    .card-body {
        padding: 14px;
    }

    .card-body h3 {
        font-size: 14px;
    }

    .price {
        font-size: 18px;

        margin-bottom: 13px;
    }


    /* Reviews */

    .review-list {
        grid-template-columns: 1fr;

        gap: 14px;

        padding: 25px 0 35px;
    }

    .review-card {
        padding: 19px;
    }


    /* Panels */

    .card-box {
        padding: 18px;
    }


    /* Footer */

    footer {
        margin-top: 45px;

        padding-top: 38px;
    }

    .footer-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );

        gap: 25px;
    }

    .copyright {
        flex-direction: column;

        align-items: flex-start;

        gap: 5px;
    }


    /* Tables */

    table {
        min-width: 650px;
    }

}


/* ==========================================================================
   38. SMALL MOBILE
   ========================================================================== */

@media (max-width: 480px) {

    .container {
        width: 94%;
    }

    .logo span {
        font-size: 18px;
    }

    .nav-actions .btn {
        padding: 8px 11px;

        font-size: 12px;
    }


    .page-hero {
        padding: 40px 0 24px;
    }

    .page-hero h1 {
        font-size: 30px;
    }


    .grid {
        gap: 10px;
    }

    .product-img {
        padding: 11px;
    }

    .product-img img {
        max-height: 90px;
    }

    .card-body {
        padding: 12px;
    }

    .card-body h3 {
        font-size: 13px;
    }

    .price {
        font-size: 17px;
    }

    .card-actions .btn {
        min-height: 37px;

        padding: 8px 7px;

        font-size: 11px;
    }


    .footer-grid {
        grid-template-columns: 1fr;
    }

}

/* ==========================================================================
   DSR4U - HEADER / NAVIGATION UPGRADE
   ========================================================================== */


/* ==========================================================================
   HEADER
   ========================================================================== */

   .site-header {
    position: sticky;

    top: 0;

    z-index: 1000;

    background:
        rgba(5, 5, 5, 0.88);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border-bottom:
        1px solid rgba(255, 255, 255, 0.07);

    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.18);
}


/* ==========================================================================
   LOGO
   ========================================================================== */

.logo img {
    width: auto;

    height: 34px;

    max-width: 42px;

    object-fit: contain;
}


/* ==========================================================================
   DESKTOP NAV
   ========================================================================== */

.desktop-navigation {
    display: flex;

    align-items: center;

    gap: 24px;
}

.desktop-navigation a {
    position: relative;

    padding: 8px 0;

    color: var(--text-muted);

    font-size: 14px;

    font-weight: 650;
}

.desktop-navigation a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 0;
    height: 2px;

    background: var(--gold2);

    border-radius: 999px;

    transition: var(--transition);
}

.desktop-navigation a:hover,
.desktop-navigation a.active {
    color: var(--text-main);
}

.desktop-navigation a:hover::after,
.desktop-navigation a.active::after {
    width: 100%;
}


/* ==========================================================================
   HEADER ACTIONS
   ========================================================================== */

.header-icon-btn {
    position: relative;

    width: 40px;
    height: 40px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 0;

    background:
        linear-gradient(
            180deg,
            #171717,
            #101010
        );

    color: var(--text-main);

    border: 1px solid var(--border);

    border-radius: 10px;

    font-size: 16px;

    cursor: pointer;

    transition: var(--transition);
}

.header-icon-btn:hover {
    color: var(--gold2);

    border-color:
        rgba(255, 215, 0, 0.35);

    transform: translateY(-2px);
}


/* ==========================================================================
   CART COUNT
   ========================================================================== */

.header-cart-count {
    position: absolute;

    top: -5px;
    right: -5px;

    min-width: 18px;
    height: 18px;

    padding: 0 4px;

    display: none;

    align-items: center;
    justify-content: center;

    background: var(--gold2);

    color: #000;

    border: 2px solid var(--bg-main);

    border-radius: 999px;

    font-size: 9px;

    font-weight: 900;

    line-height: 1;
}

.header-cart-count.visible {
    display: flex;
}


/* ==========================================================================
   MOBILE MENU BUTTON
   ========================================================================== */

.mobile-menu-btn {
    display: none;

    width: 40px;
    height: 40px;

    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            180deg,
            #171717,
            #101010
        );

    color: var(--text-main);

    border: 1px solid var(--border);

    border-radius: 10px;

    font-size: 20px;

    cursor: pointer;
}


/* ==========================================================================
   MOBILE MENU OVERLAY
   ========================================================================== */

.mobile-menu-overlay {
    position: fixed;

    inset: 0;

    z-index: 3000;

    display: flex;

    justify-content: flex-end;

    background:
        rgba(0, 0, 0, 0.72);

    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);

    opacity: 0;

    visibility: hidden;

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;

    visibility: visible;
}


/* ==========================================================================
   MOBILE MENU PANEL
   ========================================================================== */

.mobile-menu-panel {
    width: min(360px, 88%);

    height: 100%;

    padding: 22px;

    display: flex;

    flex-direction: column;

    background:
        linear-gradient(
            180deg,
            #111111,
            #050505
        );

    border-left:
        1px solid var(--border-light);

    box-shadow:
        -20px 0 60px rgba(0, 0, 0, 0.45);

    transform: translateX(100%);

    transition:
        transform 0.3s
        cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-overlay.active
.mobile-menu-panel {
    transform: translateX(0);
}


/* ==========================================================================
   MOBILE MENU HEADER
   ========================================================================== */

.mobile-menu-header {
    display: flex;

    align-items: center;
    justify-content: space-between;

    padding-bottom: 20px;

    border-bottom:
        1px solid var(--border);
}

.mobile-menu-logo {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    font-size: 20px;

    font-weight: 850;
}

.mobile-menu-logo img {
    width: 30px;
    height: 30px;

    object-fit: contain;
}

.mobile-menu-logo b {
    color: var(--gold2);
}

.mobile-menu-close {
    width: 38px;
    height: 38px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: var(--bg-surface);

    color: var(--text-main);

    border: 1px solid var(--border);

    border-radius: 50%;

    font-size: 22px;

    cursor: pointer;

    transition: var(--transition);
}

.mobile-menu-close:hover {
    color: var(--gold2);

    border-color:
        rgba(255, 215, 0, 0.35);
}


/* ==========================================================================
   MOBILE LINKS
   ========================================================================== */

.mobile-menu-links {
    display: flex;

    flex-direction: column;

    gap: 5px;

    padding: 20px 0;

    overflow-y: auto;
}

.mobile-nav-link {
    display: flex;

    align-items: center;

    gap: 14px;

    padding: 13px 14px;

    color: var(--text-soft);

    border: 1px solid transparent;

    border-radius: 10px;

    font-size: 14px;

    font-weight: 650;

    transition: var(--transition);
}

.mobile-nav-link span:first-child {
    width: 25px;

    text-align: center;

    font-size: 17px;
}

.mobile-nav-link:hover {
    color: var(--gold2);

    background:
        rgba(255, 215, 0, 0.05);

    border-color:
        rgba(255, 215, 0, 0.10);

    transform: translateX(3px);
}


/* ==========================================================================
   MOBILE MENU BOTTOM
   ========================================================================== */

.mobile-menu-bottom {
    margin-top: auto;

    padding-top: 20px;

    border-top:
        1px solid var(--border);
}


/* ==========================================================================
   MOBILE BOTTOM NAVIGATION
   ========================================================================== */

.mobile-bottom-nav {
    display: none;
}


/* ==========================================================================
   HEADER SEARCH OVERLAY
   ========================================================================== */

.header-search-overlay {
    position: fixed;

    inset: 0;

    z-index: 3500;

    display: flex;

    align-items: flex-start;
    justify-content: center;

    padding: 90px 20px 30px;

    background:
        rgba(0, 0, 0, 0.78);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    opacity: 0;

    visibility: hidden;

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;
}

.header-search-overlay.active {
    opacity: 1;

    visibility: visible;
}


/* ==========================================================================
   SEARCH BOX
   ========================================================================== */

.header-search-box {
    position: relative;

    width: min(700px, 100%);

    padding: 28px;

    background:
        linear-gradient(
            180deg,
            #151515,
            #0b0b0b
        );

    border:
        1px solid var(--border-light);

    border-radius: var(--radius-lg);

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.55);

    transform: translateY(-15px);

    transition:
        transform 0.3s ease;
}

.header-search-overlay.active
.header-search-box {
    transform: translateY(0);
}

.header-search-close {
    position: absolute;

    top: 14px;
    right: 14px;

    width: 36px;
    height: 36px;

    border-radius: 50%;

    border: 1px solid var(--border);

    background: var(--bg-surface);

    color: var(--text-main);

    font-size: 20px;

    cursor: pointer;
}

.header-search-title {
    margin-bottom: 16px;

    font-size: 20px;

    font-weight: 850;
}

.header-search-input-wrap {
    display: flex;

    align-items: center;

    gap: 10px;

    padding: 0 15px;

    background: var(--bg-surface);

    border: 1px solid var(--border-light);

    border-radius: 12px;
}

.header-search-input-wrap span {
    font-size: 18px;

    opacity: 0.7;
}

.header-search-input-wrap input {
    border: 0;

    background: transparent;

    box-shadow: none;

    padding-left: 0;
}

.header-search-input-wrap input:focus {
    border: 0;

    box-shadow: none;
}

.header-search-results {
    min-height: 60px;

    margin-top: 18px;

    color: var(--text-muted);

    font-size: 13px;
}


/* ==========================================================================
   BODY LOCK
   ========================================================================== */

body.menu-open,
body.search-open {
    overflow: hidden;
}


/* ==========================================================================
   MOBILE
   ========================================================================== */

@media (max-width: 768px) {

    .site-header .nav {
        min-height: 62px;
    }

    .desktop-navigation {
        display: none;
    }

    .mobile-menu-btn {
        display: inline-flex;
    }

    .mobile-bottom-nav {
        position: fixed;

        left: 0;
        right: 0;
        bottom: 0;

        z-index: 1500;

        height: 62px;

        display: grid;

        grid-template-columns:
            repeat(5, 1fr);

        background:
            rgba(8, 8, 8, 0.94);

        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);

        border-top:
            1px solid var(--border);

        box-shadow:
            0 -8px 30px rgba(0, 0, 0, 0.30);

        padding-bottom:
            env(safe-area-inset-bottom);
    }

    .mobile-bottom-nav a {
        position: relative;

        display: flex;

        flex-direction: column;

        align-items: center;
        justify-content: center;

        gap: 2px;

        color: var(--text-muted);

        font-size: 18px;

        transition: var(--transition);
    }

    .mobile-bottom-nav a small {
        font-size: 9px;

        font-weight: 650;
    }

    .mobile-bottom-nav a.active {
        color: var(--gold2);
    }

    .mobile-bottom-nav a.active::before {
        content: "";

        position: absolute;

        top: 0;
        left: 50%;

        width: 28px;
        height: 2px;

        transform: translateX(-50%);

        background: var(--gold2);

        border-radius:
            0 0 999px 999px;
    }

    .bottom-cart-icon {
        position: relative;
    }

    .bottom-cart-icon b {
        position: absolute;

        top: -7px;
        right: -9px;

        min-width: 15px;
        height: 15px;

        display: flex;

        align-items: center;
        justify-content: center;

        padding: 0 3px;

        background: var(--gold2);

        color: #000;

        border-radius: 999px;

        font-size: 8px;

        border: 1px solid #050505;
    }

    body {
        padding-bottom:
            calc(
                62px +
                env(safe-area-inset-bottom)
            );
    }

}


/* ==========================================================================
   VERY SMALL SCREENS
   ========================================================================== */

@media (max-width: 380px) {

    .header-icon-btn,
    .mobile-menu-btn {
        width: 36px;
        height: 36px;
    }

    .logo {
        font-size: 18px;
    }

    .logo img {
        height: 29px;
    }

    .nav-actions {
        gap: 6px;
    }

}


/* ==========================================================================
   END OF DSR4U GLOBAL THEME
   ========================================================================== */