:root {
    color-scheme: dark;
    font-family: "Inter", "Segoe UI", sans-serif;
    color: #f4f4f4;
    background-color: #050505;
    font-size: 16px;
    line-height: 1.6;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    background-color: #05050500;
    background-image: linear-gradient(180deg, rgba(5, 5, 5, 0.72), rgba(5, 5, 5, 0.82)), url("/assets/img/BackSite.png");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

button,
.btn {
    font: inherit;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 24px;
    position: relative;
    background-color: #05050500;
    background-image: linear-gradient(180deg, rgba(5, 5, 5, 0), rgba(223, 201, 201, 0)), url("../.png");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.age-gate-active .hero,
.age-gate-active main,
.age-gate-active .footer {
    filter: blur(10px);
    user-select: none;
    pointer-events: none;
}

.age-gate-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(8px);
}

.age-gate-card {
    width: min(100%, 420px);
    padding: 36px 30px;
    border-radius: 24px;
    background: rgba(10, 10, 10, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.4);
    text-align: center;
}

.age-gate-logo {
    width: 80px;
    height: auto;
    margin: 0 auto 20px;
    display: block;
    border-radius: 16px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.25);
}

.age-gate-card h2 {
    margin: 0 0 12px;
    font-size: clamp(1.8rem, 2.8vw, 2.4rem);
}

.age-gate-card p {
    margin: 0 0 18px;
    color: #c8c2b5;
}

.age-gate-card label {
    display: block;
    text-align: left;
    margin: 0 0 8px;
    color: #c8c2b5;
}

.age-gate-card input {
    width: 100%;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: #f4f4f4;
    margin-bottom: 18px;
}

.age-error {
    margin-top: 10px;
    color: #ff8b8b;
    min-height: 1.2rem;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(5, 5, 5, 0.35);
}

.top-menu {
    position: absolute;
    top: 24px;
    left: 24px;
    z-index: 2;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.top-right {
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
}

.language-switcher {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.btn-lang {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: #f4f4f4;
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.lang-flag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.lang-arrow {
    font-size: 0.85rem;
}

.language-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 150px;
    padding: 10px 0;
    background: rgba(5, 5, 5, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.language-switcher:hover .language-menu,
.language-switcher:focus-within .language-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-link {
    display: block;
    padding: 10px 18px;
    color: #f4f4f4;
    white-space: nowrap;
    transition: background 160ms ease;
}

.language-link:hover {
    background: rgba(255, 255, 255, 0.08);
}

.top-center-logo {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.top-center-logo img {
    width: 56px;
    height: auto;
    max-height: 56px;
    object-fit: contain;
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
    transition: opacity 220ms ease;
}

.top-center-logo.scrolled img {
    opacity: 0.2;
}

.menu-toggle {
    padding: 12px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #f4f4f4;
    cursor: pointer;
    font-size: 0.95rem;
    transition: transform 180ms ease, background-color 180ms ease;
}

.menu-toggle:hover,
.menu-toggle:focus {
    background: rgba(255, 255, 255, 0.17);
    transform: translateY(-1px);
}

.menu-list {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 200px;
    padding: 12px 0;
    border-radius: 18px;
    background: rgba(5, 5, 5, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.top-menu:hover .menu-list,
.top-menu:focus-within .menu-list,
.menu-open .menu-list,
.menu-list.menu-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.menu-item {
    position: relative;
}

.menu-item .menu-parent {
    position: relative;
}

.submenu {
    position: absolute;
    top: 0;
    left: 100%;
    min-width: 220px;
    padding: 12px 0;
    border-radius: 18px;
    background: rgba(10, 10, 10, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.25);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
    z-index: 20;
}

.menu-item:hover > .submenu,
.menu-item:focus-within > .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.submenu-link {
    display: block;
    padding: 10px 18px;
    color: #f4f4f4;
    white-space: nowrap;
    transition: background 160ms ease;
}

.submenu-link:hover {
    background: rgba(255, 255, 255, 0.08);
}

.menu-link {
    display: block;
    padding: 10px 18px;
    color: #f4f4f4;
    white-space: nowrap;
    transition: background 160ms ease;
}

.menu-link:hover {
    background: rgba(255, 255, 255, 0.08);
}

.hero-content {
    position: relative;
    z-index: 1;
    width: min(100%, 1140px);
    margin: 0 auto;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 18px;
    font-size: 0.9rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #e8b84a;
}

.clean-hero {
    display: grid;
    grid-template-columns: minmax(300px, 1.35fr) minmax(280px, 0.65fr);
    gap: 36px;
    align-items: start;
    padding-top: 60px;
}

.hero-main {
    display: grid;
    gap: 24px;
    text-align: left;
}

.hero-main h1 {
    font-size: clamp(3.5rem, 5vw, 5.8rem);
    line-height: 1.02;
    margin: 0;
    letter-spacing: -0.04em;
}

.hero-main h1 span {
    display: inline;
}

.hero-brand {
    display: inline-flex;
    white-space: nowrap;
    gap: 0;
    align-items: baseline;
}

.brand-Roids {
    color: #ffd200;
}

.brand-titan {
    color: #ffffff;
}

.hero-text {
    margin: 0;
    max-width: 680px;
    color: #cfc6b2;
    font-size: 1.05rem;
    line-height: 1.8;
}

.clean-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

.clean-actions .btn {
    min-width: 180px;
}

.clean-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.clean-tags span {
    display: inline-flex;
    align-items: center;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: #c9bfa8;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.95rem;
}

.hero-panel {
    display: grid;
    gap: 18px;
}

.hero-panel-card {
    display: grid;
    gap: 16px;
    padding: 24px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
}

.hero-panel-card div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.panel-title {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
}

.hero-panel-card p {
    margin: 0;
    color: #9a968a;
}

@media (max-width: 900px) {
    .clean-hero {
        grid-template-columns: 1fr;
    }
    .hero-panel {
        grid-template-columns: 1fr;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 26px;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: #ffb800;
    color: #050505;
    transition: background 180ms ease, transform 180ms ease;
}

.btn-primary:hover {
    background: #ffd235;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #f4f4f4;
    border-color: rgba(255, 255, 255, 0.12);
}

.btn-secondary:hover {
    background: rgba(255, 184, 28, 0.14);
    color: #ffffff;
}

.section {
    padding: 80px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: clamp(2rem, 3vw, 3rem);
    margin: 0 0 14px;
}

.section-header p {
    margin: 0 auto;
    max-width: 720px;
    color: #b6b0a4;
    font-size: 1rem;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.card {
    padding: 30px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(16px);
}

.card h3 {
    margin-top: 0;
    font-size: 1.3rem;
}

.card p {
    margin: 16px 0 0;
    color: #d4cfc4;
}

.about {
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(249, 178, 51, 0.12);
    border-bottom: 1px solid rgba(249, 178, 51, 0.2);
    background:
        radial-gradient(circle at 14% 85%, rgba(255, 255, 255, 0.06), transparent 30%),
        radial-gradient(circle at 90% 20%, rgba(249, 178, 51, 0.1), transparent 42%),
        linear-gradient(90deg, rgba(6, 6, 6, 0.76) 0%, rgba(12, 11, 8, 0.7) 55%, rgba(5, 5, 5, 0.76) 100%);
}

.about-content {
    display: grid;
    gap: 20px 30px;
    grid-template-columns: minmax(200px, 0.9fr) minmax(280px, 1.1fr);
    align-items: center;
    max-width: 1060px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.about-banner-visual {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    min-height: 210px;
}

.about-banner-visual img {
    width: min(100%, 320px);
    max-height: 230px;
    object-fit: contain;
    filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.6));
}

.about-banner-copy {
    text-align: left;
}

.about-kicker {
    margin: 0 0 8px;
    color: #f9b233;
    text-transform: uppercase;
    letter-spacing: 0.13em;
    font-weight: 800;
    font-size: 0.84rem;
}

.about-content h2 {
    margin: 0;
    font-size: clamp(2rem, 3.6vw, 3rem);
    line-height: 1.06;
    text-transform: uppercase;
    font-style: italic;
    letter-spacing: 0.01em;
}

.about-copy-text {
    margin: 14px 0 0;
    color: #d1ccc2;
    font-size: 1rem;
    max-width: 560px;
}

.about-cta {
    margin-top: 18px;
    min-width: 120px;
    font-weight: 700;
}

.about-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
    color: #d0c9c0;
}

.about-list li {
    margin-bottom: 12px;
}

@media (max-width: 860px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .about-banner-visual {
        min-height: 150px;
        justify-content: flex-start;
    }

    .about-banner-visual img {
        max-height: 160px;
    }
}

.product-page {
    min-height: 100vh;
    padding: 24px;
    background: radial-gradient(circle at top, rgba(255, 184, 28, 0.12), transparent 35%),
                linear-gradient(180deg, #12100a 0%, #050505 100%);
}

.product-content {
    width: min(100%, 1140px);
    margin: 0 auto;
}

.product-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    color: #f4f4f4;
    text-decoration: none;
    font-weight: 500;
}

.product-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 36px;
    align-items: center;
}

.product-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 32px;
    padding: 28px;
    display: grid;
    gap: 24px;
    justify-items: center;
    align-items: center;
}

.product-badge-image {
    width: 100%;
    display: flex;
    justify-content: center;
}

.product-badge-image img {
    max-width: 240px;
    width: 100%;
    height: auto;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    padding: 14px;
}

.product-image {
    width: 100%;
    max-width: 520px;
    max-height: 520px;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 24px;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.28);
}

.product-detail {
    display: grid;
    gap: 22px;
}

.product-detail h1 {
    margin: 0;
    font-size: clamp(2.5rem, 4vw, 3.4rem);
    color: #ffd200;
}

.product-subtitle {
    margin: 0;
    color: #9a968a;
    max-width: 620px;
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 14px;
    font-size: 1rem;
    color: #c5c0b4;
}

.product-price strong {
    font-size: 2rem;
    color: #ffffff;
}

.product-offers {
    display: grid;
    gap: 14px;
}

.product-offer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.product-offer:hover {
    background: rgba(255, 184, 28, 0.14);
    border-color: rgba(255, 184, 28, 0.4);
    transform: translateY(-1px);
}

.product-offer:hover .offer-badge {
    background: #ffd000;
    color: #050505;
}

.product-offer label {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #f4f4f4;
    cursor: pointer;
}

.radio-circle {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1.5px solid #f9b233;
    display: inline-block;
}

.offer-badge {
    padding: 10px 16px;
    border-radius: 999px;
    background: #f9b233;
    color: #050505;
    font-weight: 700;
    white-space: nowrap;
}

.product-actions {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    align-items: center;
}

.quantity-selector {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    padding: 12px 16px;
}

.qty-btn {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    background: transparent;
    color: #f4f4f4;
    cursor: pointer;
    font-size: 1.2rem;
}

#quantityValue {
    min-width: 28px;
    text-align: center;
    color: #ffffff;
    font-weight: 700;
}

.btn-add-cart {
    min-width: 220px;
}

.product-menu-sections {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 36px;
}

.product-menu {
    padding: 24px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
    cursor: pointer;
    transition: background 180ms ease, transform 180ms ease, border-color 180ms ease;
    overflow: hidden;
}

.product-menu:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(249, 178, 51, 0.4);
    transform: translateY(-2px);
}

.menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.product-menu h2 {
    margin: 0;
    font-size: 1.3rem;
    color: #ffd200;
}

.menu-arrow {
    display: inline-flex;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.16);
    align-items: center;
    justify-content: center;
    color: #ffd200;
    background: rgba(255, 255, 255, 0.05);
    transition: transform 180ms ease, background 180ms ease;
}

.product-menu:hover .menu-arrow {
    transform: rotate(45deg);
    background: rgba(249, 178, 51, 0.14);
}

.menu-content {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 240ms ease, opacity 240ms ease, margin-top 240ms ease;
}

.product-menu:hover .menu-content {
    max-height: 260px;
    opacity: 1;
    margin-top: 18px;
}

.menu-content p {
    color: #d0c9bc;
    line-height: 1.8;
    margin: 0;
}

@media (max-width: 900px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
    .product-menu-sections {
        grid-template-columns: 1fr;
    }
}

.about-content li::before {
    content: "•";
    color: #f9b233;
    display: inline-block;
    width: 1.2em;
}

/* --- Best sellers (home) --- */
.best-sellers-section {
    padding-top: 48px;
    padding-bottom: 8px;
}

.best-sellers-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 24px;
    margin-bottom: 22px;
    max-width: 100%;
    padding: 0 4px;
}

.best-sellers-title {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: clamp(1.15rem, 2.2vw, 1.45rem);
    font-weight: 800;
    font-style: italic;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #f9b233;
    text-shadow: 0 0 28px rgba(249, 178, 51, 0.25);
}

.best-sellers-flame {
    font-style: normal;
    font-size: 1.25em;
    line-height: 1;
    filter: drop-shadow(0 0 6px rgba(255, 200, 80, 0.45));
}

.best-sellers-controls {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.best-sellers-arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(249, 178, 51, 0.35);
    background: rgba(0, 0, 0, 0.45);
    color: #f9b233;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.best-sellers-arrow:hover {
    background: rgba(249, 178, 51, 0.12);
    border-color: rgba(249, 178, 51, 0.55);
    color: #ffd77d;
}

.best-sellers-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.best-sellers-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
    cursor: pointer;
    transition: background 0.15s ease, transform 0.15s ease;
}

.best-sellers-dot.is-active {
    background: #f4f0e6;
    transform: scale(1.15);
}

.best-sellers-viewport {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 0 8px;
}

.best-sellers-scroller {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-padding-inline: 8px;
    padding: 8px 8px 16px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
}

.best-sellers-scroller.is-dragging {
    cursor: grabbing;
    user-select: none;
}

.best-sellers-cards {
    display: flex;
    flex-direction: row;
    flex: 0 0 auto;
    align-items: stretch;
    gap: 16px;
}

.best-sellers-scroller::-webkit-scrollbar {
    display: none;
    height: 0;
}

.best-seller-card {
    flex: 0 0 auto;
    width: min(260px, 82vw);
    border-radius: 18px;
    background: linear-gradient(180deg, #14110c 0%, #0a0907 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.best-seller-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 12px 6px;
    font-size: 0.72rem;
    color: #cfc6b2;
    text-transform: none;
    letter-spacing: 0.02em;
}

.best-seller-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.best-seller-ico {
    font-size: 0.85rem;
    line-height: 1;
    opacity: 0.9;
}

.best-seller-visual {
    display: block;
    text-decoration: none;
    color: inherit;
}

.best-seller-visual-inner {
    margin: 0 10px;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(0, 0, 0, 0.35) 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    min-height: 140px;
    display: grid;
    place-items: center;
    padding: 12px 10px;
    position: relative;
}

.best-seller-badge {
    position: absolute;
    left: 10px;
    top: 10px;
    max-width: 56px;
    max-height: 56px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
}

.best-seller-photo {
    max-width: 100%;
    max-height: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.best-seller-card-name {
    margin: 12px 14px 0;
    font-size: 1rem;
    font-weight: 800;
    font-style: italic;
    line-height: 1.2;
    letter-spacing: 0.02em;
}

.best-seller-card-name a {
    color: #ffd200;
    text-decoration: none;
    transition: color 0.15s ease;
}

.best-seller-card-name a:hover {
    color: #ffe566;
}

.best-seller-card-sub {
    margin: 6px 14px 0;
    font-size: 0.78rem;
    color: #9a968a;
    line-height: 1.35;
}

.best-seller-line {
    margin: 12px 14px 0;
    height: 1px;
    border: none;
    background: repeating-linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.22) 0 4px,
        transparent 4px 8px
    );
    opacity: 0.85;
}

.best-seller-promo {
    margin: 10px 14px 0;
    min-height: 1.15rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: #f9b233;
}

.best-seller-promo--empty {
    color: transparent;
    user-select: none;
}

.best-seller-price-btn {
    margin: 10px 12px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 11px 14px;
    border-radius: 12px;
    border: 1px solid rgba(249, 178, 51, 0.45);
    background: rgba(0, 0, 0, 0.55);
    color: #f4f0e6;
    text-decoration: none;
    font-size: 0.92rem;
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.best-seller-price-btn:hover {
    background: rgba(249, 178, 51, 0.1);
    border-color: rgba(249, 178, 51, 0.65);
    transform: translateY(-1px);
}

.best-seller-cart-ic {
    flex-shrink: 0;
    color: #f9b233;
}

.best-seller-price-wrap {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
}

.best-seller-price-old {
    font-size: 0.82rem;
    color: #8a8578;
    text-decoration: line-through;
    font-weight: 500;
}

.best-seller-price-wrap strong {
    font-weight: 800;
    color: #f4f0e6;
}

.best-seller-stock {
    margin-top: auto;
    padding: 10px 12px;
    text-align: center;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: #cfc6b2;
    background: rgba(0, 0, 0, 0.55);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

@media (max-width: 640px) {
    .best-sellers-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .best-sellers-controls {
        width: 100%;
        justify-content: space-between;
    }
}

.feedbacks-showcase {
    padding-top: 56px;
    padding-bottom: 24px;
}

.feedback-track {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 8px 0 12px;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent 0, #000 32px, #000 calc(100% - 32px), transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 32px, #000 calc(100% - 32px), transparent 100%);
}

@media (max-width: 640px) {
    .feedback-track {
        padding-left: 0;
        padding-right: 0;
        mask-image: none;
        -webkit-mask-image: none;
    }
}

.feedback-scroller {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: auto;
    cursor: grab;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    outline: none;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.feedback-scroller::-webkit-scrollbar {
    display: none;
    height: 0;
}

.feedback-scroller.is-dragging {
    cursor: grabbing;
    user-select: none;
}

.feedback-strip {
    display: flex;
    flex-direction: row;
    width: max-content;
    min-width: 100%;
    align-items: stretch;
    gap: 0;
}

.feedback-track-inner {
    display: flex;
    flex: 0 0 auto;
    flex-shrink: 0;
    align-items: stretch;
    gap: 16px;
    padding: 0 4px 4px;
}

.feedback-card {
    flex: 0 0 auto;
    width: min(280px, 82vw);
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(180deg, #16130e 0%, #0a0806 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.26);
}

.feedback-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 12px 8px;
    color: #f1f1f1;
    font-size: 0.88rem;
}

.feedback-head span {
    color: #b4afa4;
    font-size: 0.8rem;
}

.feedback-order {
    margin: 0;
    padding: 0 12px 8px;
    color: #f3f0e8;
    font-weight: 700;
    font-size: 0.86rem;
    letter-spacing: 0.02em;
}

.feedback-order span {
    color: #ffd200;
    margin-left: 8px;
}

.feedback-card img {
    width: calc(100% - 20px);
    margin: 0 10px;
    border-radius: 10px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.feedback-text {
    margin: 10px 12px 8px;
    color: #ddd5c8;
    min-height: 44px;
    font-size: 0.92rem;
}

.feedback-meta {
    margin: 0;
    padding: 0 12px 12px;
    color: #c4beb2;
    font-size: 0.84rem;
}

.contact {
    padding-top: 40px;
    padding-bottom: 100px;
}

.contact-card {
    max-width: 780px;
    margin: 0 auto;
    padding: 40px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
}

.contact-card p {
    margin: 0 0 24px;
    color: #c4c0b4;
}

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    background: radial-gradient(circle at top, rgba(255, 184, 28, 0.12), transparent 35%),
                linear-gradient(180deg, #12100a 0%, #050505 100%);
}

.login-card {
    width: min(100%, 500px);
    padding: 42px 36px;
    border-radius: 24px;
    background: rgba(10, 10, 10, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
    text-align: center;
}

.login-logo {
    display: block;
    margin: 0 auto 24px;
    width: 84px;
    height: auto;
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}

.auth-switcher {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 22px;
    padding: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.auth-tab {
    padding: 10px 20px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.08);
    color: #f4f4f4;
    cursor: pointer;
    transition: background 180ms ease, transform 180ms ease;
}

.auth-tab:hover,
.auth-tab.active {
    background: rgba(255, 255, 255, 0.16);
    transform: translateY(-1px);
}

.auth-tab-admin {
    border-color: rgba(249, 178, 51, 0.42);
    background: rgba(249, 178, 51, 0.08);
    color: #f8e6be;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.auth-tab-admin:hover,
.auth-tab-admin.active {
    background: rgba(249, 178, 51, 0.18);
    border-color: rgba(249, 178, 51, 0.62);
    color: #ffd77d;
}

.admin-form-note {
    color: #d6b676 !important;
    border: 1px solid rgba(249, 178, 51, 0.28);
    background: rgba(249, 178, 51, 0.08);
    border-radius: 12px;
    padding: 10px 12px;
}

.auth-forms {
    position: relative;
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

.auth-form p {
    margin-bottom: 24px;
    color: #c8c2b5;
}

.auth-form label {
    margin-top: 18px;
}

.auth-form button {
    margin-top: 24px;
}

.login-footer {
    margin-top: 24px;
    color: #8a8578;
}

.login-card h1 {
    margin: 0 0 16px;
    font-size: clamp(2rem, 3vw, 2.6rem);
}

.login-card p {
    margin: 0 0 28px;
    color: #c8c2b5;
}

.login-card label {
    display: block;
    margin: 16px auto 8px;
    max-width: 360px;
    text-align: left;
    color: #c9c2b6;
}

.login-card input {
    width: 100%;
    max-width: 420px;
    margin: 0 auto 12px;
    display: block;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: #f4f0e6;
}

.login-card .btn {
    margin-top: 20px;
    width: 100%;
    max-width: 420px;
}

.login-footer {
    margin-top: 24px;
    color: #8a8578;
}

.admin-page {
    min-height: 100vh;
    padding: 40px 24px 60px;
    background:
        radial-gradient(circle at 10% -20%, rgba(255, 184, 28, 0.18), transparent 36%),
        radial-gradient(circle at 85% 0%, rgba(255, 184, 28, 0.08), transparent 40%),
        linear-gradient(180deg, #100e0a 0%, #050505 100%);
}

.admin-panel {
    width: min(100%, 1240px);
    margin: 0 auto;
}

.admin-card {
    width: 100%;
    padding: 34px;
    border-radius: 30px;
    background: linear-gradient(165deg, rgba(12, 11, 9, 0.96), rgba(8, 7, 6, 0.96));
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.42);
    color: #f4f4f4;
}

.admin-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.admin-head-text h1 {
    margin: 0;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    letter-spacing: 0.01em;
}

.admin-head-text p {
    margin: 6px 0 0;
    color: #b1b1b1;
}

.admin-logo {
    width: 72px;
    height: auto;
    display: block;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.admin-message {
    margin: 18px 0 22px;
    color: #ffe099;
    border: 1px solid rgba(255, 209, 102, 0.36);
    background: rgba(255, 184, 28, 0.1);
    border-radius: 14px;
    padding: 10px 14px;
}

.admin-login-form {
    max-width: 460px;
    margin: 18px auto 6px;
    padding: 24px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-actions {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
}

.inline-form {
    display: inline-flex;
    gap: 12px;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}

.admin-stat-card {
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-stat-card p {
    margin: 0 0 6px;
    color: #b6b6b6;
    font-size: 0.9rem;
}

.admin-stat-card strong {
    color: #ffffff;
    font-size: 1.3rem;
}

.admin-sections {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.admin-section {
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.025);
    padding: 20px;
    backdrop-filter: blur(8px);
}

.admin-section h2 {
    margin: 0 0 14px;
    font-size: 1.2rem;
    color: #ffd77d;
    letter-spacing: 0.02em;
}

.admin-section:first-child {
    grid-column: 1 / -1;
}

.admin-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    overflow: hidden;
}

.admin-table th,
.admin-table td {
    padding: 11px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-table th {
    text-align: left;
    color: #d8d8d8;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    background: rgba(255, 255, 255, 0.03);
}

.admin-table td {
    color: #ebe6dc;
    font-size: 0.94rem;
}

.admin-table tbody tr:last-child td {
    border-bottom: none;
}

.admin-table tbody tr:hover td {
    background: rgba(255, 255, 255, 0.03);
}

.admin-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.admin-form label,
.admin-form h3,
.admin-form button,
.admin-form textarea {
    grid-column: 1 / -1;
}

.admin-form input,
.admin-form select,
.admin-form textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: #f4f4f4;
    transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus {
    outline: none;
    border-color: rgba(255, 209, 102, 0.68);
    box-shadow: 0 0 0 3px rgba(255, 184, 28, 0.2);
    background: rgba(255, 255, 255, 0.07);
}

.admin-form textarea {
    resize: vertical;
}

.admin-add-form h3 {
    margin: 6px 0 2px;
    color: #ffffff;
}

.admin-form label {
    font-size: 0.9rem;
    color: #b6b6b6;
    margin-top: 2px;
}

.admin-section .btn {
    width: auto;
    max-width: none;
}

.btn-small {
    padding: 7px 12px;
    font-size: 0.82rem;
}

@media (max-width: 1024px) {
    .admin-sections {
        grid-template-columns: 1fr;
    }

    .admin-stats {
        grid-template-columns: 1fr;
    }

    .admin-form {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .admin-card {
        padding: 20px;
    }

    .admin-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-logo {
        width: 62px;
    }
}

/* Pelican-inspired admin dashboard style */
.admin-layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 18px;
    margin-top: 6px;
}

.admin-sidebar {
    min-height: 78vh;
    border-radius: 16px;
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.admin-sidebar-brand {
    font-size: 0.92rem;
    font-weight: 700;
    color: #f5f5f5;
    padding: 6px 8px;
}

.admin-sidebar-search input {
    width: 100%;
    padding: 9px 10px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #111111;
    color: #dddddd;
    font-size: 0.85rem;
}

.admin-sidebar-nav {
    display: grid;
    gap: 4px;
}

.admin-sidebar-nav a {
    padding: 8px 10px;
    border-radius: 8px;
    color: #b4b4b4;
    font-size: 0.88rem;
    text-decoration: none;
    border: 1px solid transparent;
    transition: all 160ms ease;
}

.admin-sidebar-nav a:hover {
    color: #f1f1f1;
    background: rgba(255, 184, 28, 0.08);
}

.admin-sidebar-nav a.active {
    color: #ffd77d;
    background: rgba(255, 184, 28, 0.14);
    border-color: rgba(255, 184, 28, 0.3);
}

.admin-sidebar-footer {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-main {
    display: grid;
    gap: 14px;
}

.admin-main .admin-stats {
    margin-bottom: 0;
}

.admin-main .admin-sections {
    grid-template-columns: 1fr;
}

.admin-main .admin-section {
    border-radius: 14px;
    background: #0e0e0e;
}

.admin-main .admin-section h2 {
    color: #ffd77d;
    font-weight: 600;
    font-size: 1.05rem;
}

.admin-main .admin-table {
    border-radius: 10px;
    background: #111111;
}

.admin-main .admin-table th {
    background: #161616;
    color: #e0c88e;
}

.admin-main .admin-table td {
    color: #ece8df;
}

.admin-main .admin-form input,
.admin-main .admin-form select,
.admin-main .admin-form textarea {
    background: #141414;
    border-color: rgba(255, 255, 255, 0.09);
}

.admin-main .admin-form input:focus,
.admin-main .admin-form select:focus,
.admin-main .admin-form textarea:focus {
    border-color: rgba(255, 184, 28, 0.58);
    box-shadow: 0 0 0 3px rgba(255, 184, 28, 0.16);
}

@media (max-width: 1100px) {
    .admin-layout {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        min-height: auto;
    }
}

.auth-message {
    margin: 0 0 18px;
    color: #ff8b8b;
    font-weight: 600;
}

.client-page {
    min-height: 100vh;
    padding: 0 24px 40px;
    background:
        linear-gradient(180deg, rgba(5, 5, 5, 0.7), rgba(5, 5, 5, 0.82)),
        radial-gradient(circle at 10% 0, rgba(255, 184, 28, 0.2), transparent 36%),
        url("/assets/img/BackSite.png");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.client-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding: 8px 20px;
    margin: 24px auto 12px;
    width: min(100%, 1200px);
    border-radius: 22px;
    background: rgba(8, 8, 8, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 300;
    overflow: visible;
}

.client-topbar-left {
    display: flex;
    align-items: center;
    gap: 18px;
    flex: 1 1 auto;
    min-width: 250px;
}

.client-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.client-brand-logo {
    width: 96px;
    max-width: 100%;
    height: auto;
    display: block;
}

.client-search {
    flex: 1 1 320px;
    min-width: 240px;
}

.client-search input {
    width: 100%;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    color: #f4f4f4;
}

.client-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
    z-index: 320;
}

.client-nav a {
    color: #d7d7d7;
    text-decoration: none;
    font-weight: 500;
    transition: color 160ms ease, opacity 160ms ease;
    opacity: 0.92;
}

.client-nav a:hover {
    color: #ffb800;
    opacity: 1;
}

.client-nav-products {
    position: static;
    padding-bottom: 10px;
    margin-bottom: -10px;
}

.client-nav-products summary {
    list-style: none;
    cursor: pointer;
    color: #d7d7d7;
    font-weight: 500;
    opacity: 0.92;
    transition: color 160ms ease, opacity 160ms ease;
}

.client-nav-products summary::-webkit-details-marker {
    display: none;
}

.client-nav-products summary:hover {
    color: #ffb800;
    opacity: 1;
}

details.client-nav-products:not([open]) > :not(summary) {
    display: none;
}

.client-nav-products > .client-products-menu {
    display: none;
}

.client-nav-products:hover > .client-products-menu,
.client-nav-products:focus-within > .client-products-menu {
    display: block !important;
    animation: clientProductsMenuIn 180ms ease;
}
.client-nav-products[open] summary {
    color: #ffd200;
}

.client-products-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: min(980px, 92vw);
    border-radius: 16px;
    border: 1px solid rgba(249, 178, 51, 0.2);
    background: linear-gradient(165deg, rgba(14, 11, 7, 0.9), rgba(7, 6, 4, 0.95));
    backdrop-filter: blur(16px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(249, 178, 51, 0.1) inset;
    overflow: hidden;
    z-index: 9999;
    transform-origin: top left;
}

.client-products-cats {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    padding: 16px 24px;
    border-bottom: 1px solid rgba(249, 178, 51, 0.15);
    background: rgba(249, 178, 51, 0.05);
}

.client-products-cats .client-cat-link {
    color: #f1e7d4;
    font-size: 0.86rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 150ms ease;
}

.client-products-cats .client-cat-link:hover,
.client-products-cats .client-cat-link.active {
    color: #ffd87b;
}

.client-products-cats em {
    color: #d9b574;
    font-style: normal;
    font-size: 0.78rem;
}

.client-products-cats .client-products-close {
    margin-left: auto;
    color: #f6d186;
}

.client-products-tabs-wrapper {
    padding: 32px 40px;
}

.client-products-tab-content {
    display: none;
    animation: clientProductsMenuIn 200ms ease;
}

.client-products-tab-content.active {
    display: block;
}

.client-products-col {
    /* Container for the category title and list */
}

.client-products-col p {
    margin: 0 0 20px;
    color: #f9b233;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.client-products-col ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: block;
    column-count: 3;
    column-gap: 60px;
}

.client-products-col li {
    break-inside: avoid;
    margin-bottom: 12px;
}

.client-products-col li a {
    color: #aeb5c0;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.3;
    transition: color 200ms ease, transform 200ms ease;
    display: inline-flex;
    width: fit-content;
    text-decoration: none;
}

.client-products-col li a:hover {
    color: #f9b233;
    transform: translateX(4px);
}

.auth-message {
    margin: 0 0 18px;
    color: #ff8b8b;
    font-weight: 600;
}

.client-page {
    min-height: 100vh;
    padding: 0 24px 40px;
    background:
        linear-gradient(180deg, rgba(5, 5, 5, 0.7), rgba(5, 5, 5, 0.82)),
        radial-gradient(circle at 10% 0, rgba(255, 184, 28, 0.2), transparent 36%),
        url("/assets/img/BackSite.png");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.client-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding: 8px 20px;
    margin: 24px auto 12px;
    width: min(100%, 1200px);
    border-radius: 22px;
    background: rgba(8, 8, 8, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 300;
    overflow: visible;
}

.client-topbar-left {
    display: flex;
    align-items: center;
    gap: 18px;
    flex: 1 1 auto;
    min-width: 250px;
}

.client-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.client-brand-logo {
    width: 96px;
    max-width: 100%;
    height: auto;
    display: block;
}

.client-search {
    flex: 1 1 320px;
    min-width: 240px;
}

.client-search input {
    width: 100%;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    color: #f4f4f4;
}

.client-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
    z-index: 320;
}

.client-nav a {
    color: #d7d7d7;
    text-decoration: none;
    font-weight: 500;
    transition: color 160ms ease, opacity 160ms ease;
    opacity: 0.92;
}

.client-nav a:hover {
    color: #ffb800;
    opacity: 1;
}

.client-nav-products {
    position: static;
    padding-bottom: 10px;
    margin-bottom: -10px;
}

.client-nav-products summary {
    list-style: none;
    cursor: pointer;
    color: #d7d7d7;
    font-weight: 500;
    opacity: 0.92;
    transition: color 160ms ease, opacity 160ms ease;
}

.client-nav-products summary::-webkit-details-marker {
    display: none;
}

.client-nav-products summary:hover {
    color: #ffb800;
    opacity: 1;
}

details.client-nav-products:not([open]) > :not(summary) {
    display: none;
}

.client-nav-products > .client-products-menu {
    display: none;
}

.client-nav-products:hover > .client-products-menu,
.client-nav-products:focus-within > .client-products-menu {
    display: block !important;
    animation: clientProductsMenuIn 180ms ease;
}

.client-nav-products[open] summary {
    color: #ffd200;
}

.client-products-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: min(980px, 92vw);
    border-radius: 16px;
    border: 1px solid rgba(249, 178, 51, 0.2);
    background: linear-gradient(165deg, rgba(14, 11, 7, 0.9), rgba(7, 6, 4, 0.95));
    backdrop-filter: blur(16px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(249, 178, 51, 0.1) inset;
    overflow: hidden;
    z-index: 9999;
    transform-origin: top left;
}

.client-products-cats {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    padding: 16px 24px;
    border-bottom: 1px solid rgba(249, 178, 51, 0.15);
    background: rgba(249, 178, 51, 0.05);
}

.client-products-cats span {
    color: #f1e7d4;
    font-size: 0.86rem;
    font-weight: 600;
}

.client-products-cats em {
    color: #d9b574;
    font-style: normal;
    font-size: 0.78rem;
}

.client-products-cats .client-products-close {
    margin-left: auto;
    color: #f6d186;
}

.client-products-grid {
    display: block;
    column-count: 3;
    column-gap: 60px;
    padding: 32px 40px;
}

.client-products-col {
    break-inside: avoid;
    margin-bottom: 24px;
}

        transform: translateY(8px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.client-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.client-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.client-action:hover {
    transform: translateY(-1px);
    background: rgba(255, 184, 28, 0.18);
    border-color: rgba(255, 184, 28, 0.45);
}

.client-cart {
    position: relative;
}

.client-cart.client-action {
    width: auto;
    height: 44px;
    border-radius: 999px;
    padding: 0 12px;
    gap: 8px;
    background: rgba(255, 255, 255, 0.06);
}

.client-cart-icon {
    font-size: 0.95rem;
    line-height: 1;
}

.client-cart-label {
    font-size: 0.82rem;
    color: #e7decf;
    letter-spacing: 0.02em;
}

.client-cart-badge {
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #ffd84e, #f9b233);
    color: #050505;
    font-size: 0.76rem;
    font-weight: 800;
    border: 1px solid rgba(255, 210, 0, 0.7);
    box-shadow: 0 0 12px rgba(255, 200, 40, 0.28);
}

.client-credits-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 44px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(249, 178, 51, 0.12);
    border: 1px solid rgba(249, 178, 51, 0.35);
    cursor: default;
    transition: background 180ms ease;
}

.client-credits-badge:hover {
    background: rgba(249, 178, 51, 0.2);
}

.client-credits-icon {
    font-size: 0.95rem;
    line-height: 1;
}

.client-credits-count {
    font-size: 0.95rem;
    font-weight: 800;
    color: #f9b233;
}

.client-credits-label {
    font-size: 0.78rem;
    color: #d9a84c;
    letter-spacing: 0.02em;
}

.admin-credits-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(249, 178, 51, 0.14);
    border: 1px solid rgba(249, 178, 51, 0.3);
    color: #f9b233;
    font-size: 0.82rem;
    font-weight: 700;
}

.cart-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.42);
    opacity: 0;
    visibility: hidden;
    transition: opacity 180ms ease, visibility 180ms ease;
    z-index: 900;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(420px, 92vw);
    height: 100vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, rgba(13, 12, 10, 0.97), rgba(9, 8, 7, 0.98));
    border-left: 1px solid rgba(249, 178, 51, 0.28);
    box-shadow: -16px 0 36px rgba(0, 0, 0, 0.45);
    transform: translateX(100%);
    transition: transform 220ms ease;
    z-index: 1000;
}

.cart-drawer.is-open {
    transform: translateX(0);
}

.cart-drawer-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.cart-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 18px 18px 14px;
    border-bottom: 1px solid rgba(249, 178, 51, 0.22);
}

.cart-drawer-title {
    margin: 0;
    color: #f4f0e6;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cart-drawer-title .count {
    min-width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffd200;
    color: #050505;
    font-size: 0.76rem;
    font-weight: 800;
}

.cart-drawer-close {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.03);
    color: #f1ede2;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
}

.cart-drawer-body {
    flex: 1 1 auto;
    overflow: auto;
    padding: 16px;
}

.cart-empty {
    min-height: 180px;
    display: grid;
    place-items: center;
    text-align: center;
    color: #d7cfbf;
    gap: 10px;
}

.cart-empty-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffd200;
    color: #ffd200;
    font-weight: 800;
}

.cart-drawer-items {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.cart-drawer-item {
    display: grid;
    grid-template-columns: 56px 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 10px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
}

.cart-drawer-item img {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    object-fit: cover;
}

.cart-drawer-item .name {
    color: #f4f0e6;
    font-size: 0.9rem;
}

.cart-drawer-item .meta {
    color: #bdb39f;
    font-size: 0.8rem;
    margin-top: 2px;
}

.cart-drawer-item .price {
    color: #ffd77d;
    font-weight: 700;
    font-size: 0.88rem;
}

.cart-drawer-foot {
    padding: 12px 16px;
    border-top: 1px solid rgba(249, 178, 51, 0.22);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.cart-drawer-total {
    color: #f4f0e6;
    font-weight: 800;
    font-style: italic;
}

.client-actions .btn-secondary {
    padding: 12px 20px;
}

.client-panel {
    width: min(100%, 1080px);
    margin: 0 auto;
    padding: 30px;
    border-radius: 26px;
    background: linear-gradient(160deg, rgba(11, 11, 11, 0.82), rgba(6, 6, 6, 0.8));
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 26px 80px rgba(0, 0, 0, 0.48);
    backdrop-filter: blur(12px);
    color: #f4f4f4;
}

.client-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.client-header h1 {
    margin: 0 0 10px;
    font-size: clamp(2rem, 3vw, 2.6rem);
}

.client-header p {
    margin: 0;
    color: #bfc5cf;
    max-width: 620px;
}

.client-logo {
    width: 84px;
    height: auto;
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
    margin-bottom: 14px;
}

.client-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 8px 0 24px;
}

.client-tab {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #f4f4f4;
    padding: 12px 18px;
    border-radius: 999px;
    cursor: pointer;
    transition: background 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.client-tab.active,
.client-tab:hover {
    background: rgba(255, 184, 28, 0.18);
    border-color: rgba(255, 184, 28, 0.4);
    transform: translateY(-1px);
}

.client-content {
    display: grid;
    gap: 24px;
}

.client-insights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.client-insight-card {
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    padding: 16px;
}

.client-insight-card p {
    margin: 0;
    color: #aeb5c0;
    font-size: 0.88rem;
}

.client-insight-card strong {
    display: block;
    margin-top: 6px;
    color: #ffd77d;
    font-size: 1.35rem;
}

.client-insight-card span {
    display: block;
    margin-top: 4px;
    color: #c9c9c9;
    font-size: 0.86rem;
}

.client-section {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 180ms ease, transform 180ms ease;
}

.client-section.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
    border-radius: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.11);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.client-form {
    display: grid;
    gap: 16px;
    max-width: 620px;
}

.client-form label {
    text-align: left;
    color: #b5beca;
}

.client-form input,
.client-form textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: #f4f4f4;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.client-form input:focus,
.client-form textarea:focus {
    outline: none;
    border-color: rgba(255, 184, 28, 0.6);
    box-shadow: 0 0 0 3px rgba(255, 184, 28, 0.16);
}

.client-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}

.client-list li {
    padding: 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.client-list li:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 184, 28, 0.36);
    background: rgba(255, 255, 255, 0.06);
}

.client-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 14px;
    overflow: hidden;
    backdrop-filter: blur(3px);
}

.client-table th,
.client-table td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.client-table th {
    text-align: left;
    color: #e0c88e;
    background: rgba(255, 255, 255, 0.03);
}

.client-table td {
    color: #f4f4f4;
}

.client-table tbody tr {
    transition: background-color 140ms ease;
}

.client-table tbody tr:hover {
    background: rgba(255, 184, 28, 0.08);
}

.client-empty-state {
    padding: 20px;
    border-radius: 14px;
    border: 1px dashed rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.02);
}

.client-empty-state p {
    margin: 0 0 6px;
    color: #f1f1f1;
}

.client-empty-state span {
    color: #b9b9b9;
    font-size: 0.92rem;
}

@media (max-width: 920px) {
    .client-insights {
        grid-template-columns: 1fr;
    }

    .client-products-grid {
        grid-template-columns: repeat(2, minmax(140px, 1fr));
    }
}

@media (max-width: 640px) {
    .client-cart-label {
        display: none;
    }

    .client-cart.client-action {
        padding: 0 10px;
        gap: 6px;
    }

    .client-products-grid {
        grid-template-columns: 1fr;
    }

    .client-products-menu {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Profile-like client dashboard */
.client-profile-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.client-profile-top h1 {
    margin: 0;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.client-top-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.client-mini-btn {
    padding: 9px 14px;
    border-radius: 10px;
}

.client-profile-card {
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    background: rgba(255, 255, 255, 0.035);
    padding: 14px;
    backdrop-filter: blur(7px);
}

.client-profile-tabs {
    margin: 0 0 12px;
}

.client-profile-form {
    max-width: 100%;
    grid-template-columns: minmax(180px, 260px) 1fr;
    align-items: center;
    gap: 12px 20px;
}

.client-profile-form label {
    margin: 0;
}

.client-profile-form input,
.client-profile-form select,
.client-profile-form textarea {
    width: 100%;
}

.client-profile-form button {
    grid-column: 2;
    justify-self: start;
}

.client-profile-form .client-avatar-row {
    grid-column: 1 / -1;
}

.client-form select {
    width: 100%;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: #f4f4f4;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.client-form select:focus {
    outline: none;
    border-color: rgba(255, 184, 28, 0.6);
    box-shadow: 0 0 0 3px rgba(255, 184, 28, 0.16);
}

.client-input-wrap {
    position: relative;
}

.client-input-wrap::after {
    content: "";
    position: absolute;
    left: 38px;
    right: 12px;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(249, 178, 51, 0.15), transparent);
    pointer-events: none;
}

.client-input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    text-align: center;
    color: #d2b16a;
    font-size: 0.78rem;
    pointer-events: none;
    font-weight: 700;
}

.client-input-wrap input,
.client-input-wrap select {
    padding-left: 38px;
}

.client-avatar-row {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 6px;
    flex-wrap: wrap;
}

.client-avatar-row span {
    color: #cfcfcf;
}

.client-avatar-preview {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 184, 28, 0.5);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.client-avatar-preview:hover {
    transform: scale(1.04);
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.4);
}

.client-avatar-row input[type="file"] {
    color: #cfcfcf;
    font-size: 0.85rem;
}

.client-avatar-remove-form {
    display: none;
}

.client-qty-input {
    width: 72px;
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.04);
    color: #f4f4f4;
}

.client-cart-actions {
    margin: 10px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.client-topbar,
.client-panel,
.client-profile-card,
.client-section.active {
    transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.client-nav a.active-nav {
    color: #ffd200;
    opacity: 1;
    text-shadow: 0 0 18px rgba(255, 210, 0, 0.28);
}

/* Referral page */
.referral-page {
    min-height: 100vh;
    padding: 0 24px 40px;
    background:
        linear-gradient(180deg, rgba(6, 6, 6, 0.76), rgba(6, 5, 4, 0.86)),
        radial-gradient(circle at 20% 4%, rgba(249, 178, 51, 0.18), transparent 30%),
        radial-gradient(circle at 88% 98%, rgba(255, 210, 0, 0.1), transparent 34%),
        url("/assets/img/BackSite.png");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.referral-wrap {
    width: min(100%, 1200px);
    margin: 0 auto;
    display: grid;
    gap: 18px;
}

.referral-hero {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 24px;
    padding: 30px;
    border-radius: 22px;
    border: 1px solid rgba(249, 178, 51, 0.35);
    background:
        radial-gradient(circle at 18% 58%, rgba(249, 178, 51, 0.16), transparent 40%),
        linear-gradient(150deg, rgba(12, 10, 7, 0.9), rgba(8, 7, 5, 0.88));
    box-shadow: 0 26px 80px rgba(0, 0, 0, 0.46);
    overflow: hidden;
}

.referral-kicker {
    margin: 0 0 8px;
    color: #f9b233;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
    font-size: 0.8rem;
}

.referral-hero h1 {
    margin: 0;
    font-size: clamp(2rem, 4.4vw, 3.3rem);
    line-height: 1.02;
    font-style: italic;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: #f4f0e6;
}

.referral-hero p {
    margin: 14px 0 0;
    color: #cfc6b2;
    max-width: 560px;
}

.referral-btn {
    margin-top: 16px;
    border-radius: 12px;
    background: #f9b233;
    color: #050505;
    border-color: rgba(249, 178, 51, 0.82);
}

.referral-btn:hover {
    background: #ffd77d;
}

.referral-hero-visual {
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.referral-hero-visual img {
    width: min(100%, 390px);
    max-height: 320px;
    object-fit: contain;
    filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.5));
}

.referral-steps,
.referral-calculator,
.referral-tables {
    border-radius: 20px;
    border: 1px solid rgba(249, 178, 51, 0.2);
    background: rgba(10, 9, 8, 0.78);
    backdrop-filter: blur(8px);
    padding: 22px;
}

.referral-steps h2,
.referral-calculator h2 {
    margin: 0 0 16px;
    font-size: 1rem;
    color: #e6dcc8;
}

.referral-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.ref-step-card {
    border: 1px solid rgba(249, 178, 51, 0.38);
    border-radius: 14px;
    padding: 14px 16px;
    background: rgba(12, 10, 7, 0.72);
}

.ref-step-card p {
    margin: 8px 0 4px;
    color: #b9af9c;
    font-size: 0.82rem;
}

.ref-step-card strong {
    color: #f4f0e6;
    letter-spacing: 0.03em;
}

.ref-step-ico {
    font-size: 1rem;
}

.ref-calc-card {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 20px;
    border: 1px solid rgba(249, 178, 51, 0.35);
    border-radius: 16px;
    background: rgba(12, 10, 7, 0.78);
    padding: 18px;
}

.ref-calc-left h3 {
    margin: 0 0 8px;
    color: #f4f0e6;
    font-style: italic;
}

.ref-calc-left p {
    margin: 0;
    color: #b8b09f;
    font-size: 0.88rem;
}

.ref-calc-logo {
    width: 96px;
    margin-top: 12px;
    opacity: 0.88;
}

.ref-calc-right {
    display: grid;
    gap: 10px;
}

.ref-calc-right label {
    color: #c7bcaa;
    font-size: 0.83rem;
}

.ref-calc-right input[type="number"] {
    width: min(320px, 100%);
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(249, 178, 51, 0.35);
    background: rgba(255, 255, 255, 0.04);
    color: #f4f0e6;
}

.ref-range-row {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #b7ad9b;
}

.ref-range-row input[type="range"] {
    flex: 1 1 auto;
    accent-color: #f9b233;
}

.ref-rate-list {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.ref-rate-list label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ref-results {
    margin-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 10px;
}

.ref-results p {
    margin: 5px 0;
    color: #d6ccba;
}

.ref-results strong {
    color: #ffd77d;
}

.referral-tables {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.ref-table-card {
    border: 1px solid rgba(249, 178, 51, 0.2);
    border-radius: 14px;
    background: rgba(12, 10, 7, 0.72);
    overflow: hidden;
}

.ref-table-card h3 {
    margin: 0;
    padding: 12px 14px;
    font-size: 0.95rem;
    color: #efe7d8;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.ref-table-card table {
    width: 100%;
    border-collapse: collapse;
}

.ref-table-card th,
.ref-table-card td {
    padding: 9px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.82rem;
}

.ref-table-card th {
    color: #cdbf9f;
    text-align: left;
}

.ref-table-card td {
    color: #f1ecdf;
}

@media (max-width: 980px) {
    .referral-hero {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .ref-calc-card {
        grid-template-columns: 1fr;
    }

    .referral-steps-grid,
    .referral-tables {
        grid-template-columns: 1fr;
    }
}

/* Credits page */
.credits-page {
    min-height: 100vh;
    padding: 0 24px 40px;
    background:
        linear-gradient(180deg, rgba(6, 6, 6, 0.76), rgba(6, 5, 4, 0.86)),
        radial-gradient(circle at 18% 6%, rgba(249, 178, 51, 0.16), transparent 32%),
        radial-gradient(circle at 88% 96%, rgba(255, 210, 0, 0.08), transparent 36%),
        url("/assets/img/BackSite.png");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.credits-wrap {
    width: min(100%, 1200px);
    margin: 0 auto;
    display: grid;
    gap: 18px;
}

.credits-hero {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 24px;
    padding: 28px 30px;
    border-radius: 22px;
    border: 1px solid rgba(249, 178, 51, 0.36);
    background:
        radial-gradient(circle at 20% 64%, rgba(249, 178, 51, 0.16), transparent 40%),
        linear-gradient(150deg, rgba(12, 10, 7, 0.9), rgba(8, 7, 5, 0.88));
    box-shadow: 0 26px 80px rgba(0, 0, 0, 0.46);
    overflow: hidden;
}

.credits-kicker {
    margin: 0 0 8px;
    color: #f9b233;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
    font-size: 0.8rem;
}

.credits-hero h1 {
    margin: 0;
    font-size: clamp(2rem, 4.2vw, 3.2rem);
    line-height: 1.03;
    font-style: italic;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: #f4f0e6;
}

.credits-hero p {
    margin: 14px 0 0;
    color: #cfc6b2;
    max-width: 560px;
}

.credits-btn {
    margin-top: 16px;
    border-radius: 12px;
    background: #f9b233;
    color: #050505;
    border-color: rgba(249, 178, 51, 0.82);
}

.credits-btn:hover {
    background: #ffd77d;
}

.credits-hero-visual {
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.credits-hero-visual img {
    width: min(100%, 390px);
    max-height: 320px;
    object-fit: contain;
    filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.5));
}

.credits-steps,
.credits-actions {
    border-radius: 20px;
    border: 1px solid rgba(249, 178, 51, 0.2);
    background: rgba(10, 9, 8, 0.78);
    backdrop-filter: blur(8px);
    padding: 22px;
}

.credits-steps h2,
.credits-actions h2 {
    margin: 0 0 16px;
    font-size: 1rem;
    color: #e6dcc8;
}

.credits-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.credits-step-card {
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    padding: 14px 16px;
    background: rgba(12, 10, 7, 0.72);
}

.credits-step-card.is-highlight {
    border-color: rgba(249, 178, 51, 0.66);
    box-shadow: 0 0 0 1px rgba(249, 178, 51, 0.35) inset;
}

.credits-step-ico {
    display: inline-flex;
    width: 26px;
    height: 26px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(249, 178, 51, 0.48);
    color: #f9b233;
    font-size: 0.82rem;
    font-weight: 700;
}

.credits-step-card p {
    margin: 8px 0 4px;
    color: #b9af9c;
    font-size: 0.82rem;
}

.credits-step-card strong {
    color: #f4f0e6;
    letter-spacing: 0.03em;
}

.credits-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.credits-card {
    border: 1px solid rgba(249, 178, 51, 0.36);
    border-radius: 14px;
    background: rgba(12, 10, 7, 0.72);
    min-height: 150px;
    padding: 16px;
    display: grid;
    justify-items: center;
    align-content: center;
    text-align: center;
}

.credits-card-icon {
    font-size: 1.25rem;
    color: #f9b233;
}

.credits-card h3 {
    margin: 10px 0 4px;
    color: #f4f0e6;
    font-size: 1rem;
}

.credits-card p {
    margin: 0;
    color: #d4c7ae;
    font-size: 0.9rem;
}

.credits-claim-btn {
    margin-top: 12px;
    min-width: 92px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(249, 178, 51, 0.62);
    background: transparent;
    color: #f4f0e6;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 150ms ease, color 150ms ease, transform 150ms ease;
}

.credits-claim-btn:hover {
    background: rgba(249, 178, 51, 0.16);
    color: #ffd77d;
    transform: translateY(-1px);
}

@media (max-width: 980px) {
    .credits-hero {
        grid-template-columns: 1fr;
    }

    .credits-steps-grid,
    .credits-cards-grid {
        grid-template-columns: 1fr;
    }
}

/* Retours page */
.retours-page {
    min-height: 100vh;
    padding: 0 24px 40px;
    background:
        linear-gradient(180deg, rgba(6, 6, 6, 0.78), rgba(6, 5, 4, 0.88)),
        radial-gradient(circle at 20% 4%, rgba(249, 178, 51, 0.16), transparent 30%),
        radial-gradient(circle at 88% 98%, rgba(255, 210, 0, 0.08), transparent 34%),
        url("/assets/img/BackSite.png");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.retours-wrap {
    width: min(100%, 1200px);
    margin: 0 auto;
    display: grid;
    gap: 16px;
}

.retours-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    border-radius: 18px;
    border: 1px solid rgba(249, 178, 51, 0.24);
    background: rgba(10, 9, 8, 0.74);
    padding: 16px 18px;
}

.retours-kicker {
    margin: 0 0 6px;
    color: #f9b233;
    text-transform: uppercase;
    letter-spacing: 0.11em;
    font-size: 0.78rem;
    font-weight: 700;
}

.retours-header h1 {
    margin: 0;
    color: #f4f0e6;
    font-style: italic;
    letter-spacing: 0.02em;
}

.retours-claim-btn {
    border-radius: 12px;
}

.retours-layout {
    display: grid;
    grid-template-columns: 1fr 270px;
    gap: 14px;
    align-items: start;
}

.retours-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.retour-card {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(249, 178, 51, 0.28);
    background: rgba(12, 10, 7, 0.8);
}

.retour-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 10px 6px;
    font-size: 0.82rem;
}

.retour-card-head strong {
    color: #f4f0e6;
}

.retour-card-head span {
    color: #b5ad9c;
    font-size: 0.76rem;
}

.retour-badge {
    margin: 0;
    padding: 0 10px 8px;
    color: #efe8d8;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.retour-badge span {
    color: #ffd200;
    margin-left: 8px;
}

.retour-card img {
    display: block;
    width: calc(100% - 14px);
    margin: 0 7px;
    border-radius: 10px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.retour-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px 0;
    color: #c7beac;
    font-size: 0.8rem;
}

.retour-actions span:last-child {
    margin-left: auto;
}

.retour-text {
    margin: 8px 10px 0;
    color: #d4c8b1;
    font-size: 0.84rem;
    line-height: 1.35;
}

.retour-comments {
    margin: 8px 10px 10px;
    color: #a89e8a;
    font-size: 0.78rem;
}

.retours-filters {
    border-radius: 14px;
    border: 1px solid rgba(249, 178, 51, 0.26);
    background: rgba(12, 10, 7, 0.8);
    padding: 10px;
    position: sticky;
    top: 14px;
}

.retours-filters p {
    margin: 0 0 8px;
    color: #d8cfbe;
    font-size: 0.82rem;
}

.retours-filter-chip {
    width: 100%;
    text-align: left;
    margin: 0 0 8px;
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.02);
    color: #d5ccb8;
    font-size: 0.78rem;
    cursor: pointer;
    transition: border-color 150ms ease, background-color 150ms ease;
}

.retours-filter-chip:hover,
.retours-filter-chip.is-active {
    border-color: rgba(249, 178, 51, 0.62);
    background: rgba(249, 178, 51, 0.12);
}

@media (max-width: 980px) {
    .retours-layout {
        grid-template-columns: 1fr;
    }

    .retours-grid {
        grid-template-columns: 1fr;
    }

    .retours-filters {
        position: static;
    }
}

.client-cart-total {
    margin: 0;
    color: #d7d7d7;
}

.client-cart-total strong {
    color: #ffd77d;
}

.admin-order-status-select {
    min-width: 130px;
    padding: 7px 10px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.04);
    color: #f4f4f4;
}

@media (max-width: 900px) {
    .client-profile-form {
        grid-template-columns: 1fr;
    }

    .client-profile-form button {
        grid-column: 1;
    }
}

.logout-button {
    margin-left: auto;
}

/* Panier page */
.panier-page {
    min-height: 100vh;
    padding: 0 24px 40px;
    background:
        linear-gradient(180deg, rgba(6, 6, 6, 0.78), rgba(6, 5, 4, 0.9)),
        radial-gradient(circle at 15% 5%, rgba(249, 178, 51, 0.16), transparent 34%),
        radial-gradient(circle at 88% 92%, rgba(255, 210, 0, 0.1), transparent 35%),
        url("/assets/img/BackSite.png");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.panier-wrap {
    width: min(100%, 1200px);
    margin: 0 auto;
}

.panier-head h1 {
    margin: 0;
    color: #f4f0e6;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    font-size: clamp(1.8rem, 3.2vw, 2.5rem);
    text-shadow: 0 6px 22px rgba(0, 0, 0, 0.35);
}

.panier-head p {
    margin: 6px 0 14px;
    color: #bfb4a0;
    font-size: 0.96rem;
}

.panier-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 16px;
    align-items: start;
}

.panier-main-card,
.panier-summary {
    border-radius: 18px;
    border: 1px solid rgba(249, 178, 51, 0.28);
    background: linear-gradient(160deg, rgba(12, 10, 8, 0.9), rgba(8, 7, 6, 0.88));
    backdrop-filter: blur(8px);
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.35);
}

.panier-main-card {
    padding: 18px;
}

.panier-free-line {
    margin-bottom: 16px;
    padding: 12px;
    border: 1px solid rgba(249, 178, 51, 0.28);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
}

.panier-free-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.panier-free-head span {
    color: #cfc3af;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.panier-free-head strong {
    color: #ffd200;
    font-size: 0.84rem;
}

.panier-free-line p {
    margin: 8px 0 0;
    color: #c6baa6;
    font-size: 0.88rem;
}

.panier-free-line strong {
    color: #ffd77d;
}

.panier-track {
    width: 100%;
    height: 8px;
    border-radius: 999px;
    margin-top: 8px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.panier-track-fill {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #ffd200, #ffbf2f);
    box-shadow: 0 0 12px rgba(255, 210, 0, 0.45);
    transition: width 220ms ease;
}

.panier-items {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.panier-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    transition: border-color 160ms ease, transform 160ms ease, background-color 160ms ease;
}

.panier-item:hover {
    border-color: rgba(249, 178, 51, 0.42);
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.05);
}

.panier-item-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.panier-item-left img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 10px;
}

.panier-item-name {
    margin: 0;
    color: #f4f0e6;
    font-weight: 700;
    font-size: 0.96rem;
}

.panier-item-price {
    margin: 3px 0 0;
    color: #ffd77d;
    font-weight: 700;
    font-size: 0.92rem;
}

.panier-item-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.panier-qty-input {
    width: 66px;
    padding: 8px 10px;
    border-radius: 9px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.04);
    color: #f4f4f4;
}

.panier-qty-input:focus {
    outline: none;
    border-color: rgba(249, 178, 51, 0.58);
    box-shadow: 0 0 0 3px rgba(249, 178, 51, 0.16);
}

.panier-remove-btn {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    border: 1px solid rgba(249, 178, 51, 0.4);
    background: rgba(255, 255, 255, 0.04);
    color: #ffd77d;
    cursor: pointer;
    transition: background-color 150ms ease, transform 150ms ease, border-color 150ms ease;
}

.panier-remove-btn:hover {
    background: rgba(249, 178, 51, 0.18);
    border-color: rgba(249, 178, 51, 0.62);
    transform: translateY(-1px);
}

.panier-summary {
    padding: 16px;
}

.panier-promo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.panier-promo input {
    flex: 1;
    min-width: 0;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.04);
    color: #f4f0e6;
}

.panier-note {
    margin: 8px 0 10px;
    color: #9f9583;
    font-size: 0.8rem;
}

.panier-total-card {
    border-top: 1px solid rgba(249, 178, 51, 0.24);
    padding-top: 12px;
}

.panier-total-card h2 {
    margin: 0 0 10px;
    color: #efe7d8;
    font-size: 1rem;
}

.panier-total-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    color: #cfc4af;
}

.panier-total-row strong {
    color: #f4f0e6;
}

.panier-highlight {
    color: #ffd200 !important;
}

.panier-pay-btn,
.panier-clear-btn {
    width: 100%;
    margin-top: 10px;
    border-radius: 12px;
}

.panier-info-list {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed rgba(249, 178, 51, 0.28);
    display: grid;
    gap: 8px;
}

.panier-info-list p {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: #bfb39e;
    font-size: 0.82rem;
}

.panier-info-list strong {
    color: #efe7d8;
    font-size: 0.82rem;
    text-align: right;
}

@media (max-width: 980px) {
    .panier-layout {
        grid-template-columns: 1fr;
    }

    .panier-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .panier-item-actions {
        width: 100%;
        justify-content: space-between;
    }
}

.footer {
    text-align: center;
    padding: 28px 24px;
    color: #8a8578;
}

@media (max-width: 720px) {
    .hero {
        padding: 60px 16px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .section {
        padding: 60px 16px;
    }
}

.credits-promo {
    position: relative;
    padding: 80px 24px;
    background: radial-gradient(circle at right, rgba(249, 178, 51, 0.08), transparent 40%);
}

.credits-promo-content {
    max-width: 1200px;
    margin: 0 auto;
}

.credits-promo-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.credits-promo-text {
    flex: 1;
    max-width: 50%;
}

.credits-promo-text h2 {
    font-size: clamp(2rem, 3.5vw, 3rem);
    text-transform: uppercase;
    font-weight: 800;
    font-style: italic;
    line-height: 1.1;
    margin-bottom: 20px;
}

.credits-promo-text p {
    color: #d1ccc2;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.credits-promo-image {
    flex: 1;
    display: flex;
    justify-content: center;
    max-width: 50%;
}

.credits-promo-image img {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.4));
}

.credits-promo-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative;
    z-index: 2;
}

.promo-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(249, 178, 51, 0.15);
    border-radius: 16px;
    padding: 24px;
    text-align: left;
    transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
    backdrop-filter: blur(16px);
}

.promo-card:hover {
    background: rgba(249, 178, 51, 0.08);
    border-color: rgba(249, 178, 51, 0.35);
    transform: translateY(-2px);
}

.promo-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid #f9b233;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: #f9b233;
}

.promo-card h3 {
    font-size: 0.95rem;
    text-transform: uppercase;
    margin-top: 0;
    margin-bottom: 10px;
    line-height: 1.3;
}

.promo-card p {
    font-size: 0.85rem;
    color: #a0a0a0;
    margin: 0;
}

@media (max-width: 900px) {
    .credits-promo-top {
        flex-direction: column;
        text-align: center;
    }
    .credits-promo-text, .credits-promo-image {
        max-width: 100%;
    }
    .credits-promo-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .credits-promo-cards {
        grid-template-columns: 1fr;
    }
}

.referral-instructions {
    max-width: 1200px;
    margin: 60px auto 40px;
    padding: 0 24px;
}

.ref-inst-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.2rem;
    color: #a0a0a0;
    margin-bottom: 24px;
    font-weight: 500;
}

.ref-inst-title svg {
    color: #a0a0a0;
}

.ref-inst-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.ref-inst-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: transform 200ms ease, border-color 200ms ease, background-color 200ms ease;
}

.ref-inst-card:hover {
    transform: translateY(-4px);
    border-color: rgba(249, 178, 51, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.ref-inst-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 10px;
}

.ref-inst-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 1px solid rgba(249, 178, 51, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f9b233;
    flex-shrink: 0;
}

.ref-inst-title-box {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ref-inst-step {
    color: #a0a0a0;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ref-inst-title-box h3 {
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
    font-style: italic;
    margin: 0;
    color: #fff;
}

.ref-inst-card p {
    color: #b0b0b0;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 900px) {
    .ref-inst-grid {
        grid-template-columns: 1fr;
    }
}

.search-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: rgba(14, 14, 14, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
    display: none;
    z-index: 500;
    max-height: 400px;
    overflow-y: auto;
    padding: 8px;
}

.search-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    text-decoration: none;
    border-radius: 10px;
    transition: background 150ms ease;
}

.search-dropdown-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.search-dropdown-item img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.2);
}

.search-dropdown-item div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.search-dropdown-item strong {
    color: #fff;
    font-size: 0.95rem;
}

.search-dropdown-item span {
    color: #f9b233;
    font-size: 0.85rem;
    font-weight: 700;
}

.search-dropdown-empty {
    padding: 16px;
    text-align: center;
    color: #a0a0a0;
    font-size: 0.95rem;
}

/* --- Floating Product Preview --- */
.rt-nav-preview {
    position: fixed; /* Use fixed to avoid overflow issues in details/summary */
    width: 210px;
    background: rgba(14, 14, 11, 0.95);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(249, 178, 51, 0.5);
    border-radius: 12px;
    padding: 10px;
    pointer-events: none;
    opacity: 0;
    transform: scale(0.9) translateY(10px);
    transition: opacity 200ms ease, transform 200ms ease;
    z-index: 10001; /* Higher than the menu z-index (9999) */
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

.rt-nav-preview.active {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.rt-nav-preview-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    text-align: center;
}

.rt-nav-preview-img {
    width: 100%;
    height: 130px;
    object-fit: contain;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.02);
}

.rt-nav-preview-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.rt-nav-preview-title {
    margin: 0;
    font-size: 0.95rem;
    color: #fff;
    font-weight: 700;
}

.rt-nav-preview-subtitle {
    margin: 0;
    font-size: 0.8rem;
    color: #a0a0a0;
}

.rt-nav-preview-price {
    font-size: 1.1rem;
    color: #f9b233;
    font-weight: 800;
    margin-top: 4px;
}

/* --- Category Link --- */
.client-products-cats .client-cat-link {
    color: #f1e7d4;
    font-size: 0.86rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 150ms ease;
}

.client-products-cats .client-cat-link:hover {
    color: #ffd87b;
}

/* --- Category Page --- */
.category-page {
    padding-top: 100px; /* offset for fixed header */
    min-height: 100vh;
    background-image: linear-gradient(180deg, rgba(5, 5, 5, 0.85), rgba(5, 5, 5, 0.95)), url("/assets/img/BackSite.png");
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
}

.category-layout {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    gap: 30px;
}

/* Sidebar */
.category-sidebar {
    width: 240px;
    flex-shrink: 0;
    color: #aeb5c0;
}

.category-filter-group {
    margin-bottom: 24px;
}

.category-filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.category-filter-header h3 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
}

.category-filter-clear {
    color: #6b7280;
    font-size: 0.8rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.category-filter-clear:hover {
    color: #f9b233;
}

.category-filter-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-filter-list li {
    margin-bottom: 10px;
}

.category-filter-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.95rem;
    color: #d1d5db;
    transition: color 150ms ease;
}

.category-filter-label:hover {
    color: #f9b233;
}

.category-filter-checkbox {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 1px solid rgba(249, 178, 51, 0.4);
    border-radius: 4px;
    margin-right: 12px;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 150ms ease;
}

.category-filter-checkbox:checked {
    border-color: #f9b233;
}

.category-filter-checkbox:checked::after {
    content: "✓";
    color: #f9b233;
    font-size: 14px;
    font-weight: bold;
}

.category-filter-count {
    font-size: 0.75rem;
    color: #6b7280;
    margin-left: 6px;
    position: relative;
    top: -4px;
}

.category-divider {
    height: 1px;
    background: rgba(249, 178, 51, 0.22);
    margin: 20px 0;
    border: none;
}

/* Main Content */
.category-main {
    flex-grow: 1;
}

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

.category-title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.category-title-icon {
    width: 20px;
    height: 20px;
    color: #ffffff;
}

.category-title {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 800;
    font-style: italic;
    margin: 0;
    text-transform: uppercase;
}

.category-view-toggles {
    display: flex;
    gap: 10px;
    margin-right: 40px; /* Shift left to align with the 3rd card's image and topbar */
}

.category-view-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    border: 1px solid rgba(249, 178, 51, 0.3);
    color: #d1d5db;
    height: 40px;
    padding: 0 18px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1;
    transition: all 150ms ease;
}

.category-view-toggle.active {
    border-color: #f9b233;
    color: #f9b233;
}

.category-view-toggle svg {
    width: 16px;
    height: 16px;
    position: relative;
    top: -1px; /* Optical adjustment for vertical centering with text */
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.category-empty {
    text-align: center;
    color: #aeb5c0;
    padding: 60px 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px dashed rgba(255, 255, 255, 0.1);
}

/* --- DASHBOARD REDESIGN --- */
.dashboard-body { margin: 0; font-family: 'Inter', sans-serif; background-image: url('../img/BackSite.png'); background-size: cover; background-position: center; background-attachment: fixed; color: #aeb5c0; height: 100vh; overflow: hidden; }
.dashboard-layout { display: flex; height: 100vh; width: 100%; max-width: 100vw; background-color: rgba(23, 27, 35, 0.85); /* Dark overlay to keep text readable */ }

/* Sidebar */
.dashboard-sidebar { width: 280px; min-width: 280px; background-color: rgba(20, 24, 32, 0.65); display: flex; flex-direction: column; border-right: 1px solid rgba(249, 178, 51, 0.15); padding: 20px 0; overflow-y: auto; backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); }
.dashboard-logo { display: flex; justify-content: center; align-items: center; padding-bottom: 30px; border-bottom: 1px solid #282d3b; margin-bottom: 20px; }
.sidebar-logo-img { height: 60px; }

.dashboard-nav { display: flex; flex-direction: column; padding: 0 20px; flex-grow: 1; }
.nav-item { display: flex; align-items: center; padding: 12px 16px; color: #e1e7f0; text-decoration: none; border-radius: 8px; margin-bottom: 4px; font-weight: 500; transition: background 0.2s, color 0.2s; }
.nav-item:hover { background-color: #232936; }
.nav-item.active { color: #f9b233; }
.nav-item.active .nav-icon { color: #f9b233; }
.nav-icon { width: 24px; font-size: 1.1em; margin-right: 12px; color: #8e98a8; display: flex; justify-content: center; }
.nav-divider { border: none; height: 1px; background-color: #282d3b; margin: 16px 0; }

.dashboard-support { margin: 20px; padding: 20px; background-color: #1a1f2b; border: 1px solid #282d3b; border-radius: 12px; font-size: 0.85em; line-height: 1.5; }
.dashboard-support h4 { margin: 0 0 10px 0; color: #f9b233; font-size: 1.1em; }
.dashboard-support p { margin: 0 0 15px 0; color: #8e98a8; }
.btn-support { display: block; text-align: center; background: transparent; border: 1px solid #3c465a; color: #e1e7f0; text-decoration: none; padding: 8px; border-radius: 6px; transition: background 0.2s; }
.btn-support:hover { background: #232936; }

.dashboard-user-info { padding: 0 20px; font-size: 0.85em; }
.user-email { margin: 0 0 4px 0; color: #e1e7f0; }
.user-status { margin: 0; color: #8e98a8; }
.status-verified { color: #e1e7f0; font-weight: 500; }

/* Main Content */
.dashboard-main { flex-grow: 1; padding: 40px; overflow-y: auto; background-color: transparent; }
.dashboard-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.dashboard-header h1 { margin: 0; color: #e1e7f0; font-size: 1.8em; font-weight: 600; }
.dashboard-client-id { color: #8e98a8; font-size: 0.9em; }

.dashboard-section { margin-bottom: 30px; }
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.section-header h2 { margin: 0; color: #8e98a8; font-size: 1em; font-weight: 500; display: flex; align-items: center; }
.section-icon { margin-right: 8px; }
.view-all { color: #e1e7f0; text-decoration: none; font-size: 0.9em; transition: color 0.2s; }
.view-all:hover { color: #f9b233; }

.card { background: linear-gradient(180deg, rgba(30, 25, 20, 0.4) 0%, rgba(10, 8, 5, 0.5) 100%); border: 1px solid rgba(249, 178, 51, 0.2); border-radius: 12px; padding: 25px; backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); }

/* Recent Order */
.recent-order-card { display: flex; justify-content: space-between; align-items: center; }
.order-info { display: flex; align-items: center; gap: 15px; }
.order-number { color: #f9b233; font-weight: 700; font-style: italic; font-size: 1.1em; }
.order-status-badge { display: flex; align-items: center; background-color: rgba(249, 178, 51, 0.1); color: #f9b233; padding: 4px 12px; border-radius: 20px; font-size: 0.85em; font-weight: 500; }
.arrow-icon { margin-right: 6px; background: #f9b233; color: #1a1e27; border-radius: 50%; width: 16px; height: 16px; display: inline-flex; align-items: center; justify-content: center; font-size: 0.8em; }
.btn-photo-credits { background-color: transparent; border: 1px solid rgba(249, 178, 51, 0.4); color: #ffd87b; padding: 8px 16px; border-radius: 6px; cursor: pointer; display: flex; align-items: center; font-size: 0.9em; transition: background 0.2s; }
.btn-photo-credits:hover { background-color: rgba(249, 178, 51, 0.1); }
.btn-icon { margin-right: 8px; }

/* Affiliate Banner */
.affiliate-banner { background: linear-gradient(135deg, rgba(40, 30, 15, 0.4) 0%, rgba(10, 8, 5, 0.5) 100%); border: 1px solid rgba(249, 178, 51, 0.3); border-radius: 12px; padding: 30px; display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; position: relative; overflow: hidden; backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); }
.affiliate-banner::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle at center, rgba(249, 178, 51, 0.08) 0%, transparent 60%); pointer-events: none; }
.affiliate-banner-content { display: flex; align-items: center; gap: 20px; z-index: 1; }
.affiliate-icon-large { width: 60px; height: 60px; background-color: rgba(249, 178, 51, 0.1); border: 2px solid #f9b233; color: #f9b233; font-size: 2em; font-weight: bold; border-radius: 50%; display: flex; justify-content: center; align-items: center; }
.affiliate-text h3 { margin: 0 0 4px 0; color: #f9b233; font-size: 1.1em; font-style: italic; }
.affiliate-text h2 { margin: 0; color: #ffd87b; font-size: 1.5em; font-style: italic; font-weight: 800; }
.btn-affiliate { background-color: transparent; border: 1px solid #f9b233; color: #f9b233; padding: 10px 24px; border-radius: 6px; cursor: pointer; font-weight: 600; z-index: 1; transition: background 0.2s; }
.btn-affiliate:hover { background-color: rgba(249, 178, 51, 0.1); }

/* Referral Card */
.referral-card { display: flex; justify-content: space-between; align-items: center; }
.referral-info { display: flex; align-items: center; gap: 20px; max-width: 50%; }
.referral-icon { font-size: 2.5em; color: #f9b233; border: 1px solid rgba(249, 178, 51, 0.3); border-radius: 50%; width: 60px; height: 60px; display: flex; justify-content: center; align-items: center; }
.referral-info h3 { margin: 0 0 8px 0; color: #e1e7f0; font-size: 1em; font-style: italic; }
.referral-info p { margin: 0; color: #8e98a8; font-size: 0.85em; line-height: 1.4; }
.referral-actions { display: flex; align-items: center; gap: 15px; }
.referral-code-box { background-color: transparent; border: 1px solid rgba(249, 178, 51, 0.3); color: #e1e7f0; padding: 10px 16px; border-radius: 6px; font-size: 0.9em; display: flex; align-items: center; gap: 10px; }
.referral-or { color: #8e98a8; font-size: 0.9em; }
.btn-copy-link { background-color: #f9b233; color: #000; border: none; padding: 10px 20px; border-radius: 6px; font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 8px; transition: background 0.2s; }
.btn-copy-link:hover { background-color: #ffd87b; }

/* Stats Grid */
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stat-card { background: linear-gradient(180deg, rgba(30, 25, 20, 0.4) 0%, rgba(10, 8, 5, 0.5) 100%); border: 1px solid rgba(249, 178, 51, 0.2); border-radius: 12px; padding: 30px 25px; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; transition: transform 0.2s, box-shadow 0.2s; backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); }
.stat-card:hover { transform: translateY(-2px); box-shadow: 0 4px 15px rgba(249, 178, 51, 0.15); }
.stat-icon-wrapper { width: 45px; height: 45px; border-radius: 50%; border: 1px solid #f9b233; display: flex; justify-content: center; align-items: center; font-size: 1.3em; color: #f9b233; background: transparent; }
.stat-data { display: flex; flex-direction: column; gap: 8px; }
.stat-label { margin: 0; color: #ffffff; font-size: 1.1em; font-weight: 700; text-transform: uppercase; }
.stat-value { margin: 0; color: #8e98a8; font-size: 1em; font-weight: 400; font-style: normal; }

/* Settings View */
.settings-container { max-width: 800px; padding-bottom: 50px; }
.settings-row { display: grid; grid-template-columns: 200px 1fr auto; align-items: center; border-bottom: 1px solid rgba(255,255,255,0.05); padding: 25px 0; gap: 20px; }
.settings-label { color: #e1e7f0; font-weight: 500; font-size: 0.95em; }
.settings-value { color: #e1e7f0; font-size: 0.95em; }
.display-text { display: block; }
.edit-input { width: 100%; max-width: 300px; background: rgba(0,0,0,0.3); border: 1px solid #3c465a; color: #fff; padding: 8px 12px; border-radius: 6px; font-family: inherit; font-size: 1em; outline: none; }
.edit-input:focus { border-color: #f9b233; }
.settings-avatar-circle { width: 50px; height: 50px; border-radius: 50%; border: 2px solid #f9b233; overflow: hidden; display: flex; justify-content: center; align-items: center; background-color: #232936; }
.settings-avatar-img { width: 100%; height: 100%; object-fit: cover; }
.btn-settings-outline { background: transparent; border: 1px solid #f9b233; color: #f9b233; padding: 8px 24px; border-radius: 20px; font-weight: 500; font-size: 0.85em; cursor: pointer; transition: all 0.2s; }
.btn-settings-outline:hover { background: rgba(249, 178, 51, 0.1); }
.btn-settings-danger { background: transparent; border: none; color: #ef4444; padding: 8px 16px; font-weight: 500; font-size: 0.85em; cursor: pointer; transition: opacity 0.2s; }
.btn-settings-danger:hover { opacity: 0.8; }

/* Affiliate View */
.affiliate-banner-large { margin-top: 20px; padding: 40px; }
.affiliate-steps-section { margin-top: 40px; }
.section-subtitle { color: #8e98a8; font-size: 1.1em; font-weight: 500; margin-bottom: 25px; display: flex; align-items: center; }
.affiliate-steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.step-card { background: linear-gradient(180deg, rgba(30, 25, 20, 0.4) 0%, rgba(10, 8, 5, 0.5) 100%); border: 1px solid rgba(249, 178, 51, 0.2); border-radius: 12px; padding: 35px 25px; display: flex; flex-direction: column; align-items: center; text-align: center; backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); transition: transform 0.2s; }
.step-card:hover { transform: translateY(-5px); border-color: rgba(249, 178, 51, 0.4); }
.step-icon-wrapper { width: 70px; height: 70px; border-radius: 50%; border: 1px solid #f9b233; color: #f9b233; display: flex; justify-content: center; align-items: center; font-size: 1.8em; margin-bottom: 25px; }
.step-content { display: flex; flex-direction: column; align-items: center; }
.step-number { color: #8e98a8; font-size: 0.85em; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 1px; }
.step-content h4 { color: #ffffff; font-size: 1.1em; font-weight: 800; margin: 0 0 15px 0; text-transform: uppercase; }
.step-content p { color: #8e98a8; font-size: 0.9em; line-height: 1.6; margin: 0; }
.referral-action-bottom { background: linear-gradient(180deg, rgba(30, 25, 20, 0.4) 0%, rgba(10, 8, 5, 0.5) 100%); border: 1px solid rgba(249, 178, 51, 0.2); border-radius: 12px; padding: 25px; display: flex; justify-content: center; align-items: center; gap: 20px; margin-top: 30px; backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); }
.referral-code-display { color: #8e98a8; font-size: 1em; }
.affiliate-footer-terms { text-align: center; margin-top: 25px; color: #8e98a8; font-size: 0.85em; }
.affiliate-footer-terms a { color: #f9b233; text-decoration: underline; transition: color 0.2s; }
.affiliate-footer-terms a:hover { color: #ffd87b; }

/* Credits View */
.credits-section { margin-top: 40px; }
.credits-stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.credit-stat-card, .credit-transfer-card, .credit-option-card { background: linear-gradient(180deg, rgba(30, 25, 20, 0.4) 0%, rgba(10, 8, 5, 0.5) 100%); border: 1px solid rgba(249, 178, 51, 0.2); border-radius: 12px; padding: 25px; backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); transition: transform 0.2s; }
.credit-stat-card { display: flex; align-items: center; gap: 20px; }
.credit-stat-card:hover, .credit-option-card:hover { transform: translateY(-3px); border-color: rgba(249, 178, 51, 0.4); }
.credit-transfer-card { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.credit-icon-circle { width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(249, 178, 51, 0.3); display: flex; justify-content: center; align-items: center; background: rgba(0,0,0,0.3); font-size: 1.2em; }
.credit-stat-info { display: flex; flex-direction: column; gap: 5px; }
.credit-label { color: #8e98a8; font-size: 0.9em; font-weight: 500; }
.credit-value { color: #ffffff; font-size: 1.2em; font-weight: 800; font-style: italic; }
.credits-warning { display: flex; align-items: center; gap: 10px; color: #8e98a8; font-size: 0.9em; margin-bottom: 20px; }
.warning-icon { font-size: 1.2em; }
.credits-options-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.credit-option-card { display: flex; flex-direction: column; align-items: center; text-align: center; }
.option-icon-large { font-size: 2.5em; color: #f9b233; margin-bottom: 15px; }
.credit-option-card h4 { color: #ffffff; font-size: 1.1em; font-weight: 700; margin: 0 0 10px 0; }
.option-reward { display: flex; align-items: center; justify-content: center; gap: 8px; color: #8e98a8; margin-bottom: 20px; }
.reward-icon-circle { width: 24px; height: 24px; border-radius: 50%; border: 1px solid #f9b233; color: #f9b233; display: flex; justify-content: center; align-items: center; font-size: 0.8em; }
.option-btn { width: 100%; max-width: 150px; }

/* Credits Table */
.credits-table-container { background: rgba(0,0,0,0.2); border-radius: 12px; overflow: hidden; border: 1px solid rgba(255,255,255,0.05); }
.credits-table { width: 100%; border-collapse: collapse; text-align: left; }
.credits-table th { color: #8e98a8; font-size: 0.85em; font-weight: 500; padding: 15px 20px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.credits-table td { color: #e1e7f0; font-size: 0.9em; padding: 15px 20px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.credits-pagination { display: flex; justify-content: center; align-items: center; gap: 15px; padding: 20px; }
.page-link { color: #8e98a8; font-size: 0.9em; cursor: pointer; transition: color 0.2s; }
.page-link:hover { color: #f9b233; }
.page-link.disabled { opacity: 0.5; cursor: not-allowed; pointer-events: none; }
.page-current { width: 30px; height: 30px; display: flex; justify-content: center; align-items: center; border: 1px solid #f9b233; color: #f9b233; border-radius: 4px; font-size: 0.9em; background: rgba(249, 178, 51, 0.1); }

/* Invite View */
.invite-advice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 20px; }
.advice-col-title { color: #8e98a8; font-size: 1.1em; font-weight: 600; margin: 0 0 15px 0; }
.social-badges-container { display: flex; flex-wrap: wrap; gap: 10px; }
.social-badges-container.flex-col { flex-direction: column; }
.social-badge { background: transparent; border: 1px solid rgba(255,255,255,0.1); color: #fff; padding: 10px 15px; border-radius: 8px; font-size: 0.9em; display: flex; align-items: center; gap: 8px; cursor: pointer; transition: all 0.2s; width: calc(50% - 5px); }
.social-badge.w-full { width: 100%; }
.social-badge:hover { border-color: #f9b233; color: #f9b233; }

/* Withdraw View */
.withdraw-transfer-box { background: rgba(0,0,0,0.2); border: 1px solid rgba(255,255,255,0.05); border-radius: 12px; padding: 25px; display: flex; align-items: center; gap: 20px; margin-top: 20px; }
.withdraw-green-btn:hover { background: #ffd87b !important; color: #000 !important; }
.transfer-info { color: #8e98a8; font-size: 0.85em; line-height: 1.4; }
.withdraw-form-box { background: rgba(0,0,0,0.2); border: 1px solid rgba(255,255,255,0.05); border-radius: 12px; padding: 25px; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.withdraw-inputs { display: flex; gap: 20px; flex-grow: 1; }
.input-group-eur { display: flex; align-items: center; background: rgba(255,255,255,0.05); border-radius: 6px; overflow: hidden; padding-right: 15px; }
.currency-usdt { color: #f9b233; font-weight: 700; font-size: 0.9em; }
.btn-verify-withdraw { background: transparent; border: none; color: #8e98a8; font-size: 0.9em; display: flex; align-items: center; gap: 10px; }
.btn-verify-withdraw.disabled { opacity: 0.5; cursor: not-allowed; }
.withdraw-alerts { display: flex; flex-direction: column; gap: 15px; }
.alert-danger { color: #ef4444; font-size: 0.9em; display: flex; gap: 10px; }
.alert-warning { color: #fff; font-size: 0.9em; display: flex; gap: 10px; }

/* Stats View */
.stats-filter-row { display: flex; align-items: center; gap: 20px; margin-bottom: 30px; }
.filter-label { color: #8e98a8; font-size: 0.9em; }
.filter-group { display: flex; border: 1px solid rgba(249, 178, 51, 0.3); border-radius: 8px; overflow: hidden; }
.filter-btn { background: transparent; border: none; border-right: 1px solid rgba(249, 178, 51, 0.3); color: #fff; padding: 10px 20px; font-size: 0.9em; cursor: pointer; display: flex; align-items: center; gap: 8px; transition: all 0.2s; }
.filter-btn:last-child { border-right: none; }
.filter-btn:hover { background: rgba(249, 178, 51, 0.1); }
.filter-btn.active { background: rgba(249, 178, 51, 0.1); color: #f9b233; }

/* Orders View */
.order-filter-item { color: #8e98a8; font-size: 0.9em; display: flex; align-items: center; gap: 8px; cursor: pointer; }
.badge { width: 24px; height: 24px; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 0.85em; font-weight: 700; }
.badge-gray { border: 1px solid #8e98a8; color: #8e98a8; }
.badge-gold { background: #f9b233; color: #000; }
.order-card-row { background: linear-gradient(180deg, rgba(30, 25, 20, 0.4) 0%, rgba(10, 8, 5, 0.5) 100%); border: 1px solid rgba(249, 178, 51, 0.2); border-radius: 12px; padding: 20px 30px; display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); }
.order-id-group { display: flex; align-items: center; gap: 15px; }
.order-id { color: #f9b233; font-size: 1.1em; font-weight: 800; font-style: italic; }
.order-status-icon { color: #fff; }
.order-status-text { font-size: 0.9em; font-weight: 600; text-transform: uppercase; }
.status-green { color: #22c55e; }
.status-yellow { color: #f9b233; }
.order-actions-group { display: flex; align-items: center; gap: 15px; }
.btn-photo { font-size: 0.85em; padding: 6px 15px; }
.btn-dropdown { background: transparent; border: 1px solid rgba(249, 178, 51, 0.3); color: #f9b233; width: 32px; height: 32px; border-radius: 6px; display: flex; justify-content: center; align-items: center; cursor: pointer; transition: all 0.2s; }
.btn-dropdown:hover { background: rgba(249, 178, 51, 0.1); }

/* ==========================================================================
   ADVANCED MOBILE FLUIDITY & PREMIUM AESTHETICS (ROIDS TITAN)
   ========================================================================== */

@media (max-width: 1024px) {
    .affiliate-steps-grid, 
    .credits-stats-grid, 
    .credits-options-grid,
    .invite-advice-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        font-size: 14px;
    }

    body {
        padding-bottom: 20px;
    }

    .section {
        padding: 40px 16px;
    }

    /* Dashboard Specific Mobile */
    .affiliate-steps-grid, 
    .credits-stats-grid, 
    .credits-options-grid,
    .invite-advice-grid {
        grid-template-columns: 1fr;
    }
    .settings-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .withdraw-form-box {
        flex-direction: column;
        align-items: stretch;
    }
    .withdraw-inputs {
        flex-direction: column;
    }
    .stats-filter-row {
        flex-direction: column;
        align-items: flex-start;
    }
    .order-card-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .order-actions-group {
        width: 100%;
        justify-content: space-between;
    }

    /* Topbar & Navigation */
    .client-topbar {
        padding: 12px 16px;
        height: auto;
        flex-direction: column;
        gap: 15px;
    }

    .client-topbar-left {
        width: 100%;
        justify-content: space-between;
    }

    .client-nav {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 10px;
        justify-content: flex-start;
        gap: 15px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .client-nav::-webkit-scrollbar { display: none; }

    .client-nav-products summary {
        white-space: nowrap;
    }

    .client-actions {
        width: 100%;
        justify-content: space-between;
        padding-top: 10px;
        border-top: 1px solid rgba(255,255,255,0.05);
    }

    .client-cart-label, .client-credits-label {
        display: none;
    }

    /* Hero Section */
    .hero {
        padding: 80px 16px 40px;
    }

    .hero-main h1 {
        font-size: clamp(2.5rem, 10vw, 3.5rem);
    }

    .clean-hero {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Products Grid */
    .product-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .product-detail h1 {
        font-size: 2.2rem;
    }

    /* Cart Drawer */
    .cart-drawer {
        width: 100%;
    }

    /* Tables */
    .client-table, .admin-table {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* Logout Button Style */
.nav-item.logout-item {
    margin-top: 20px !important;
    color: #ff6b6b !important;
}

.nav-item.logout-item:hover {
    background: rgba(255, 107, 107, 0.1) !important;
    color: #ff5252 !important;
}

/* Smooth Transitions */
.btn, .client-action, .card, .rt-card, .best-seller-card {
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
