@font-face {
    font-family: 'Vazirmatn';
    src: url('/assets/Vazirmatn/fonts/webfonts/Vazirmatn[wght].woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg: #f7f4ef;
    --surface: #fffdfa;
    --surface-2: #f0ebe2;
    --ink: #191713;
    --muted: #746e63;
    --line: #e2dbcf;
    --brand: #8a6f45;
    --brand-dark: #4d3f2a;
    --accent: #c97952;
    --success: #2f7d5b;
    --danger: #b94b45;
    --warning: #b98022;
    --info: #386f85;
    --radius-sm: 10px;
    --radius: 18px;
    --radius-lg: 28px;
    --shadow: 0 18px 55px rgba(39, 31, 20, .09);
    --shadow-soft: 0 10px 30px rgba(39, 31, 20, .06);
    --container: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    direction: rtl;
    text-align: right;
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at 10% 0%, rgba(201, 121, 82, .15), transparent 28rem),
        radial-gradient(circle at 90% 8%, rgba(138, 111, 69, .16), transparent 24rem),
        linear-gradient(180deg, #fbf8f3 0%, var(--bg) 42%, #f4efe7 100%);
    font-size: 15px;
    line-height: 1.85;
    min-height: 100vh;
}
a { color: inherit; text-decoration: none; transition: color .2s ease, transform .2s ease, border-color .2s ease, background .2s ease; }
ul { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
.container { width: min(var(--container), calc(100% - 32px)); margin-inline: auto; }

.btn, .btn-view, .view-all, .view-all-link, .read-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 10px 18px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: var(--surface);
    color: var(--ink);
    cursor: pointer;
    font-weight: 700;
    box-shadow: none;
}
.btn:hover, .btn-view:hover, .view-all:hover, .view-all-link:hover, .read-more:hover { transform: translateY(-2px); }
.btn-primary, .btn-add-cart {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
}
.btn-primary:hover, .btn-add-cart:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.btn-secondary { background: var(--surface-2); color: var(--brand-dark); border-color: var(--line); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-success { background: var(--success); color: #fff; }
.btn-danger, .remove-btn { background: rgba(185, 75, 69, .1); color: var(--danger); border-color: rgba(185, 75, 69, .2); }
.btn-warning { background: rgba(185, 128, 34, .12); color: var(--warning); }
.btn-info { background: rgba(56, 111, 133, .12); color: var(--info); }
.btn-block { width: 100%; display: flex; }
.btn-large { min-height: 52px; padding-inline: 26px; font-size: 16px; }
.btn-sm { min-height: 34px; padding: 6px 12px; font-size: 13px; }
.btn-disabled, button:disabled { opacity: .55; cursor: not-allowed; transform: none !important; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 253, 250, .86);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(226, 219, 207, .75);
}
.site-alert-banner {
    background:
        linear-gradient(135deg, rgba(255, 246, 217, .96), rgba(255, 235, 214, .94)),
        radial-gradient(circle at 12% 0%, rgba(185, 128, 34, .2), transparent 14rem);
    border-bottom: 1px solid rgba(185, 128, 34, .22);
    color: #5f3d11;
}
.site-alert-banner .container {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding-block: 6px;
}
.site-alert-icon {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: #b98022;
    color: #fff8e6;
    font-size: 13px;
    font-weight: 950;
    line-height: 1;
}
.site-alert-banner p {
    margin: 0;
    text-align: center;
    font-size: 13px;
    font-weight: 850;
    line-height: 1.65;
}
.header-top { background: transparent; border-bottom: 1px solid rgba(226, 219, 207, .6); color: var(--muted); font-size: 13px; }
.header-top-content, .header-main-content, .header-contact, .header-social, .header-actions { display: flex; align-items: center; }
.header-top-content { justify-content: space-between; gap: 16px; min-height: 38px; }
.header-contact, .header-social { gap: 16px; flex-wrap: wrap; }
.header-contact i, .header-social a:hover { color: var(--brand); }
.header-main { padding: 14px 0; }
.header-main-content { justify-content: space-between; gap: 24px; }
.header-logo a, .header-logo { display: flex; align-items: center; gap: 12px; }
.header-logo img { width: 64px; height: 64px; max-height: 64px; object-fit: cover; border-radius: 16px; }
.site-name { font-size: 21px; font-weight: 900; letter-spacing: -.4px; color: var(--ink); }
.header-nav ul { display: flex; align-items: center; gap: 8px; }
.header-nav a { display: block; padding: 9px 14px; border-radius: 999px; color: var(--muted); font-weight: 700; }
.header-nav a:hover { background: var(--surface-2); color: var(--ink); }
.header-actions { gap: 10px; }
.search-toggle, .user-icon, .cart-icon, .mobile-menu-toggle {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, .55);
    color: var(--ink);
    cursor: pointer;
    position: relative;
}
.cart-count { position: absolute; top: -6px; left: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 11px; }
.search-box-wrapper { position: relative; }
.search-box { position: absolute; left: 0; top: calc(100% + 12px); width: min(360px, 86vw); display: none; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 10px; box-shadow: var(--shadow); }
.search-box.active { display: block; animation: reveal .18s ease; }
.search-input { width: 100%; min-height: 44px; border: 0; background: var(--surface-2); border-radius: 999px; padding: 0 16px; outline: none; }
.search-results { max-height: 360px; overflow: auto; }
.header-search { width: clamp(220px, 26vw, 360px); position: relative; }
.header-search-box {
    position: relative;
    inset: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 0 12px;
    border-radius: 999px;
    box-shadow: none;
    background: rgba(255,255,255,.72);
}
.header-search-box .search-input {
    min-height: 42px;
    padding: 0;
    background: transparent;
}
.header-search-box .search-results {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: none;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
    z-index: 20;
}
.mobile-menu-toggle { display: none; }
.mobile-nav-overlay { position: fixed; inset: 0; background: rgba(25, 23, 19, .34); z-index: 1001; opacity: 0; visibility: hidden; transition: .2s; }
.mobile-nav-overlay.active { opacity: 1; visibility: visible; }
.mobile-nav { position: fixed; top: 0; bottom: 0; right: 0; width: min(340px, 88vw); z-index: 1002; background: var(--surface); border-left: 1px solid var(--line); transform: translateX(105%); transition: transform .25s ease; padding: 20px; box-shadow: var(--shadow); }
.mobile-nav.active { transform: translateX(0); }
.mobile-nav-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; font-weight: 900; }
.mobile-nav-close { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface-2); }
.mobile-nav a { display: flex; gap: 10px; align-items: center; padding: 13px 10px; border-radius: 14px; color: var(--muted); font-weight: 700; }
.mobile-nav a:hover { background: var(--surface-2); color: var(--ink); }
.main-content { min-height: 55vh; }

.page-header, .section-header { margin: 34px 0 24px; }
.page-header .container, .page-header { text-align: center; }
.page-header h1, .section-title, .admin-content h1, .panel-content h1 { font-size: clamp(26px, 4vw, 46px); line-height: 1.25; letter-spacing: -.8px; font-weight: 950; color: var(--ink); }
.page-header p { color: var(--muted); margin-top: 8px; }
.section-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.section-title { font-size: clamp(24px, 3vw, 36px); }

.hero-banner { padding: 22px 0 12px; }
.banner-slider { width: min(1480px, calc(100% - 20px)); margin: 0 auto; display: grid; gap: 18px; }
.banner-slide { position: relative; min-height: clamp(430px, 58vw, 680px); border-radius: 38px; overflow: hidden; background: #ddd4c7; box-shadow: var(--shadow); isolation: isolate; }
.banner-slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(25,23,19,.08), rgba(25,23,19,.58)); z-index: 1; }
.banner-slide img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.banner-content { position: absolute; inset: 0; display: flex; align-items: center; z-index: 2; color: #fff; }
.banner-content .container { width: min(900px, calc(100% - 48px)); margin-right: clamp(24px, 7vw, 80px); }
.banner-content h2 { max-width: 680px; font-size: clamp(34px, 6vw, 74px); line-height: 1.12; letter-spacing: -1.4px; margin-bottom: 14px; }
.banner-content p { max-width: 520px; color: rgba(255,255,255,.86); font-size: 18px; margin-bottom: 22px; }
.banner-content .banner-btn { position: relative; z-index: 3; background: #fff; color: var(--ink); border-color: rgba(255,255,255,.72); box-shadow: 0 14px 34px rgba(0,0,0,.18); }
.banner-content .banner-btn:hover { background: var(--brand); color: #fff; border-color: var(--brand); }

.categories-section, .products-section, .brands-section, .trust-boxes, .page-content, .search-results-section { padding: 34px 0; }
.categories-grid, .products-grid, .articles-grid, .about-features, .why-us-grid, .trust-grid, .info-grid, .stats-grid { display: grid; gap: 18px; }
.categories-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.category-card, .brand-box, .trust-box, .feature-card, .why-item, .info-box, .stat-box, .welcome-box, .content-box, .success-box, .empty-state, .no-results-message, .no-products, .no-data, .no-articles, .login-box, .auth-wrapper, .contact-form-wrapper, .contact-info, .cart-summary, .checkout-summary, .panel-sidebar, .panel-content, .sidebar-box, .filter-box, .card {
    background: rgba(255, 253, 250, .84);
    border: 1px solid rgba(226, 219, 207, .9);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}
.category-card { min-height: 170px; padding: 20px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.category-card img { width: 70px; height: 70px; object-fit: cover; border-radius: 18px; background: var(--surface-2); }
.category-card h3 { font-size: 17px; }
.category-card:hover, .product-card:hover, .article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.trust-grid, .about-features, .why-us-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.trust-boxes .trust-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.trust-box, .feature-card, .why-item, .info-box { padding: 24px; }
.trust-box {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(145deg, rgba(255, 253, 250, .58), rgba(255, 255, 255, .24)),
        radial-gradient(circle at 18% 0%, rgba(255, 255, 255, .82), transparent 8rem);
    border-color: rgba(255, 255, 255, .7);
    box-shadow: 0 18px 45px rgba(39, 31, 20, .08), inset 0 1px 0 rgba(255,255,255,.64);
    backdrop-filter: blur(16px);
}
.trust-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,.54), transparent 48%);
    pointer-events: none;
}
.trust-box > * { position: relative; z-index: 1; }
.trust-box h4 { font-weight: 950; }
.trust-box p { font-weight: 400; }
.trust-box i, .feature-card i, .why-icon, .info-box i, .success-icon { color: var(--brand); font-size: 28px; margin-bottom: 12px; }
.trust-box p, .feature-card p, .why-item p, .info-box p { color: var(--muted); }

@media (max-width: 1180px) {
    .trust-boxes .trust-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.why-us { margin: 36px 0; }
.why-us h2 { font-size: 30px; margin-bottom: 18px; }
.why-item { display: flex; gap: 14px; align-items: flex-start; }

.products-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.product-card { background: var(--surface); border: 1px solid var(--line); border-radius: 26px; overflow: hidden; transition: .25s ease; box-shadow: var(--shadow-soft); }
.product-image { position: relative; display: block; aspect-ratio: 1/1.05; background: var(--surface-2); overflow: hidden; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.product-card:hover .product-image img { transform: scale(1.04); }
.discount-badge, .article-category-badge { position: absolute; top: 14px; right: 14px; padding: 6px 10px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 900; font-size: 12px; }
.product-info { padding: 16px; }
.product-name { display: block; min-height: 52px; font-weight: 850; color: var(--ink); }
.product-rating, .product-rating-large, .star-rating { color: #d2a13a; font-size: 13px; margin: 8px 0; }
.product-price, .product-price-large { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin: 10px 0 14px; }
.original-price, .original-price-large { color: var(--muted); text-decoration: line-through; font-size: 13px; }
.current-price, .discount-price, .current-price-large, .discount-price-large { color: var(--brand-dark); font-weight: 950; font-size: 18px; }

.shop-page, .product-page, .magazine-page, .article-page, .cart-page, .checkout-page, .login-page, .contact-page, .about-page, .user-panel, .success-page { padding: 20px 0 54px; }
.shop-layout, .magazine-layout, .cart-layout, .checkout-layout, .contact-layout, .product-main, .panel-layout { display: grid; gap: 22px; align-items: start; }
.shop-layout { grid-template-columns: 280px 1fr; }
.magazine-layout { grid-template-columns: 1fr 300px; }
.magazine-layout-simple { display: block; }
.cart-layout, .checkout-layout, .contact-layout, .product-main, .panel-layout { grid-template-columns: minmax(0, 1fr) 340px; }
.panel-layout { grid-template-columns: 280px 1fr; }
.shop-sidebar, .magazine-sidebar { position: sticky; top: 112px; display: grid; gap: 16px; }
.sidebar-box, .filter-box { padding: 20px; }
.sidebar-box h3, .filter-box h3, .cart-summary h3, .checkout-summary h3, .form-section h3 { margin-bottom: 14px; font-size: 19px; }
.filter-list a, .category-list a, .panel-nav a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 14px; color: var(--muted); font-weight: 700; }
.filter-list a:hover, .category-list a:hover, .panel-nav a:hover, .panel-nav a.active { background: var(--surface-2); color: var(--ink); }
.shop-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.results-count { color: var(--muted); }
.shop-sort select, .form-control, input, textarea, select { width: 100%; min-height: 44px; border: 1px solid var(--line); background: rgba(255,255,255,.78); color: var(--ink); border-radius: 14px; padding: 10px 13px; outline: none; }
textarea { resize: vertical; min-height: 120px; }
input:focus, textarea:focus, select:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(138, 111, 69, .12); }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; margin-bottom: 7px; font-weight: 800; color: var(--brand-dark); }
.form-note, small { color: var(--muted); }
.auth-tabs { display: flex; gap: 8px; padding: 6px; background: var(--surface-2); border-radius: 999px; margin-bottom: 18px; }
.auth-tab { flex: 1; border: 0; border-radius: 999px; padding: 10px; background: transparent; cursor: pointer; font-weight: 800; }
.auth-tab.active { background: var(--surface); box-shadow: var(--shadow-soft); }
.auth-form { display: none; }
.auth-form.active { display: block; }

.product-gallery, .product-details, .article-single, .cart-items, .checkout-details, .contact-form-wrapper, .panel-content, .content-box, .success-box { padding: 24px; }
.main-image { aspect-ratio: 1/1; background: var(--surface-2); border-radius: 28px; overflow: hidden; border: 1px solid var(--line); }
.main-image img { width: 100%; height: 100%; object-fit: cover; }
.thumbnail-images { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 12px; }
.thumbnail { aspect-ratio: 1; border-radius: 14px; object-fit: cover; border: 2px solid transparent; cursor: pointer; }
.thumbnail.active { border-color: var(--brand); }
.breadcrumb { display: flex; gap: 8px; flex-wrap: wrap; color: var(--muted); margin-bottom: 14px; }
.product-details h1, .article-header h1 { font-size: clamp(28px, 4vw, 46px); line-height: 1.25; margin-bottom: 12px; }
.product-short-desc, .article-summary { color: var(--muted); font-size: 16px; margin: 16px 0; }
.stock-info, .shipping-notice { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; background: rgba(47, 125, 91, .1); color: var(--success); font-weight: 800; margin: 10px 0; }
.stock-info.out-of-stock { background: rgba(185,75,69,.1); color: var(--danger); }
.color-options, .payment-methods { display: flex; gap: 10px; flex-wrap: wrap; }
.color-option input, .payment-option input { display: none; }
.color-box, .payment-option { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 16px; padding: 10px 13px; cursor: pointer; background: var(--surface); }
.color-option input:checked + .color-box, .payment-option:has(input:checked) { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(25, 23, 19, .08); }
.quantity-selector { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.quantity-selector button { width: 42px; height: 42px; border: 0; background: var(--surface-2); cursor: pointer; }
.quantity-selector input { width: 62px; border: 0; text-align: center; border-radius: 0; }
.tab-buttons { display: flex; gap: 8px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-top: 32px; }
.tab-btn { border: 0; background: transparent; padding: 14px 18px; cursor: pointer; font-weight: 900; color: var(--muted); border-bottom: 2px solid transparent; }
.tab-btn.active { color: var(--ink); border-color: var(--ink); }
.tab-content { display: none; padding: 22px 0; }
.tab-content.active { display: block; }
.ingredients-table-wrapper { overflow-x: auto; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); box-shadow: var(--shadow-soft); }
.ingredients-table { min-width: 520px; }
.ingredients-table th, .ingredients-table td { text-align: right; }
.ingredients-table tbody tr:last-child td { border-bottom: 0; }
.ingredients-table td:first-child { width: 88px; }
.ingredient-logo { width: 52px; height: 52px; border-radius: 16px; object-fit: cover; background: var(--surface-2); border: 1px solid var(--line); display: block; }
.ingredients-table td:nth-child(2) { width: 30%; font-weight: 900; color: var(--ink); }

.article-card { background: var(--surface); border: 1px solid var(--line); border-radius: 26px; overflow: hidden; transition: .25s ease; box-shadow: var(--shadow-soft); }
.article-image { display: block; aspect-ratio: 16/10; background: var(--surface-2); overflow: hidden; position: relative; }
.article-image img, .article-featured-image img { width: 100%; height: 100%; object-fit: cover; }
.article-content { padding: 18px; }
.article-meta, .article-date, .article-views, .review-meta { display: flex; gap: 12px; flex-wrap: wrap; color: var(--muted); font-size: 13px; }
.article-content h2, .article-content h3 { margin: 10px 0; line-height: 1.45; }
.article-featured-image { border-radius: 28px; overflow: hidden; margin: 20px 0; }
.article-body { color: #2b2822; }
.article-body p, .content-box p { margin-bottom: 14px; }
.article-body h2, .content-box h2, .content-box h3 { margin: 24px 0 10px; }
.article-share, .share-buttons { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.share-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); }

.cart-items, .checkout-details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); overflow-x: auto; }
table, .table, .data-table, .cart-table, .orders-table { width: 100%; border-collapse: collapse; }
th, td { padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { color: var(--muted); font-size: 13px; font-weight: 900; background: rgba(240, 235, 226, .55); }
.cart-product { display: flex; align-items: center; gap: 12px; min-width: 240px; }
.cart-product img { width: 76px; height: 76px; border-radius: 18px; object-fit: cover; background: var(--surface-2); }
.color-dot { display: inline-block; width: 13px; height: 13px; border-radius: 50%; border: 1px solid var(--line); vertical-align: middle; margin-left: 5px; }
.cart-summary, .checkout-summary { position: sticky; top: 112px; padding: 22px; }
.summary-row { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.summary-total { font-size: 20px; font-weight: 950; border-bottom: 0; }
.cart-actions, .success-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.empty-cart-showcase { display: grid; gap: 28px; }
.empty-cart-message {
    max-width: 760px;
    margin: 0 auto;
    padding: 42px 24px;
    text-align: center;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}
.empty-cart-message > i { color: var(--brand); font-size: 48px; margin-bottom: 12px; }
.empty-cart-message h3 { font-size: clamp(22px, 3vw, 32px); margin: 8px 0; }
.empty-cart-message p { color: var(--muted); margin-bottom: 18px; }
.cart-recommendations { margin-top: 8px; }

.alert { padding: 14px 16px; border-radius: 18px; border: 1px solid var(--line); margin-bottom: 18px; background: var(--surface); font-weight: 700; }
.alert-success { color: var(--success); background: rgba(47, 125, 91, .09); border-color: rgba(47, 125, 91, .2); }
.alert-error, .alert-danger { color: var(--danger); background: rgba(185, 75, 69, .09); border-color: rgba(185, 75, 69, .22); }
.alert-warning { color: var(--warning); background: rgba(185, 128, 34, .1); border-color: rgba(185, 128, 34, .22); }
.status-badge, .badge { display: inline-flex; align-items: center; justify-content: center; min-height: 28px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 900; background: var(--surface-2); color: var(--muted); }
.status-paid, .status-delivered, .badge-success { background: rgba(47,125,91,.12); color: var(--success); }
.status-pending, .status-processing, .badge-warning { background: rgba(185,128,34,.12); color: var(--warning); }
.status-failed, .status-cancelled, .badge-danger { background: rgba(185,75,69,.12); color: var(--danger); }
.status-shipped, .badge-info { background: rgba(56,111,133,.12); color: var(--info); }

.user-info { text-align: center; padding: 24px; border-bottom: 1px solid var(--line); }
.user-avatar { width: 74px; height: 74px; display: grid; place-items: center; margin: 0 auto 10px; border-radius: 24px; background: var(--surface-2); color: var(--brand); font-size: 42px; }
.panel-sidebar { overflow: hidden; position: sticky; top: 112px; }
.panel-nav { padding: 12px; }
.welcome-box { padding: 24px; margin-bottom: 18px; }
.stats-grid { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); margin: 18px 0; }
.stat-box { padding: 20px; display: flex; align-items: center; gap: 14px; }
.stat-box i { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 17px; background: var(--surface-2); color: var(--brand); font-size: 22px; }
.stat-info h3 { font-size: 28px; line-height: 1.2; }
.stat-info p { color: var(--muted); }
.form-section { padding: 20px; border: 1px solid var(--line); border-radius: 22px; margin-bottom: 18px; background: rgba(255,255,255,.45); }

.site-footer { margin-top: 44px; background: #191713; color: #f4efe7; border-radius: 42px 42px 0 0; overflow: hidden; }
.footer-main { padding: 48px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-logo img { width: 54px; height: 54px; border-radius: 16px; object-fit: cover; }
.footer-col h4, .footer-logo h3 { margin-bottom: 12px; color: #fff; }
.footer-col p, .footer-col a, .footer-contact li { color: rgba(244,239,231,.72); }
.footer-col a:hover { color: #fff; }
.footer-col li { margin-bottom: 9px; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.08); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; }
.footer-bottom-content { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: rgba(244,239,231,.65); }
.footer-links { display: flex; gap: 16px; }

.empty-state, .no-results-message, .no-products, .no-data, .no-articles, .success-box { padding: 46px 24px; text-align: center; }
.empty-state i, .no-results-message i, .success-icon i { font-size: 54px; color: var(--brand); margin-bottom: 14px; }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 26px; }
.page-link { min-width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); color: var(--muted); }
.page-link.active, .page-link:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.text-center { text-align: center; } .text-left { text-align: left; }
.mt-2 { margin-top: 12px; } .mb-2 { margin-bottom: 12px; } .full-width { grid-column: 1 / -1; }

@keyframes reveal { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 980px) {
    .desktop-nav, .header-top { display: none; }
    .mobile-menu-toggle { display: inline-flex; }
    .header-main-content { flex-wrap: wrap; gap: 12px; }
    .header-search { order: 3; width: 100%; }
    .shop-layout, .magazine-layout, .cart-layout, .checkout-layout, .contact-layout, .product-main, .panel-layout { grid-template-columns: 1fr; }
    .shop-sidebar, .magazine-sidebar, .cart-summary, .checkout-summary, .panel-sidebar { position: static; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
    body { font-size: 14px; }
    .container { width: min(100% - 22px, var(--container)); }
    .site-name { font-size: 16px; }
    .header-actions { gap: 6px; }
    .search-toggle, .user-icon, .cart-icon, .mobile-menu-toggle { width: 38px; height: 38px; }
    .banner-slide { border-radius: 24px; min-height: 420px; }
    .banner-content .container { margin: 0 auto; }
    .section-header, .shop-toolbar, .footer-bottom-content { align-items: flex-start; flex-direction: column; }
    .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .product-info { padding: 12px; }
    .product-name { font-size: 13px; min-height: 48px; }
    .btn-add-cart { width: 100%; font-size: 12px; padding-inline: 8px; }
    .form-row, .footer-grid { grid-template-columns: 1fr; }
    .cart-items, .checkout-details, .product-gallery, .product-details, .article-single, .panel-content { padding: 16px; border-radius: 22px; }
    th, td { padding: 11px 8px; font-size: 13px; }
    .footer-main { padding-top: 34px; }
}

.filter-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; color: var(--muted); cursor: pointer; font-weight: 750; }
.filter-item:hover { background: var(--surface-2); color: var(--ink); }
.filter-item input { width: 18px; min-height: 18px; accent-color: var(--brand); }
.price-filter { display: grid; gap: 10px; }
.filter-toggle-mobile { display: none; border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 10px 14px; font-weight: 800; }
.product-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 22px; }
.feature-item { display: flex; align-items: center; gap: 9px; padding: 12px; border-radius: 16px; background: var(--surface-2); color: var(--brand-dark); font-weight: 750; }
.discount-badge-large { position: absolute; top: 18px; right: 18px; padding: 8px 13px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 950; }
.review-form, .review-item, .login-prompt { padding: 18px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.56); margin-bottom: 14px; }
.review-header { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.no-reviews { color: var(--muted); }
@media (max-width: 980px) { .filter-toggle-mobile { display: inline-flex; align-items: center; gap: 8px; } }
@media (max-width: 680px) { .product-features { grid-template-columns: 1fr; } }

/* Lightweight icon fallback: removes the render-blocking Font Awesome request. */
.fas, .fab { display: inline-grid; place-items: center; width: 1.15em; height: 1.15em; font-style: normal; line-height: 1; }
.fas::before, .fab::before { font-size: .95em; }
.fa-phone::before, .fa-mobile-alt::before { content: '☎'; }
.fa-clock::before { content: '◷'; }
.fa-instagram::before { content: '◎'; }
.fa-telegram::before { content: '✈'; }
.fa-whatsapp::before { content: '☏'; }
.fa-search::before { content: '⌕'; }
.fa-user::before, .fa-user-circle::before { content: '◉'; }
.fa-shopping-bag::before, .fa-store::before { content: '▣'; }
.fa-bars::before { content: '☰'; }
.fa-times::before { content: '×'; }
.fa-home::before { content: '⌂'; }
.fa-newspaper::before { content: '▤'; }
.fa-info-circle::before { content: 'i'; }
.fa-envelope::before { content: '✉'; }
.fa-sign-in-alt::before { content: '↪'; }
.fa-sign-out-alt::before { content: '↩'; }
.fa-certificate::before, .fa-check-circle::before { content: '✓'; }
.fa-headset::before { content: '☊'; }
.fa-undo::before { content: '↺'; }
.fa-shipping-fast::before, .fa-truck::before { content: '▰'; }
.fa-smile::before { content: '☺'; }
.fa-lock::before { content: '◆'; }
.fa-gift::before { content: '◇'; }
.fa-tags::before, .fa-tag::before { content: '#'; }
.fa-map-marker-alt::before { content: '⌖'; }
.fa-arrow-left::before, .fa-chevron-left::before { content: '←'; }
.fa-chevron-right::before { content: '→'; }
.fa-box-open::before, .fa-box::before { content: '□'; }
.fa-star::before, .fa-star-o::before { content: '★'; }
.fa-star-o { opacity: .35; }
.fa-heart::before { content: '♡'; }
.fa-shield-alt::before { content: '⬠'; }
.fa-spa::before { content: '✦'; }
.fa-credit-card::before { content: '▭'; }
.fa-truck-loading::before { content: '▰'; }
.fa-leaf::before { content: '⌁'; }
.fa-comments::before { content: '☷'; }

.header-promise { display: inline-flex; align-items: center; gap: 8px; padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.52); color: var(--brand-dark); font-weight: 900; white-space: nowrap; }
.header-promise span { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 11px; }
.header-promise small { color: var(--muted); font-weight: 800; }

.hero-empty, .page-hero, .auth-hero, .contact-hero, .magazine-hero, .about-hero {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(226, 219, 207, .9);
    border-radius: 34px;
    background:
        radial-gradient(circle at 18% 10%, rgba(201,121,82,.18), transparent 20rem),
        linear-gradient(135deg, rgba(255,253,250,.92), rgba(240,235,226,.74));
    box-shadow: var(--shadow-soft);
}
.hero-empty { padding: clamp(30px, 6vw, 72px); margin: 30px auto 8px; }
.hero-empty h1, .page-hero h1 { font-size: clamp(34px, 6vw, 72px); line-height: 1.12; letter-spacing: -1.5px; max-width: 720px; }
.hero-empty p, .page-hero p { max-width: 620px; color: var(--muted); font-size: 17px; margin: 14px 0 24px; }
.hero-actions, .hero-badges, .mini-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.hero-badges span, .active-filter, .mini-badge { display: inline-flex; align-items: center; gap: 7px; min-height: 34px; padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); font-weight: 800; }
.home-editorial, .routine-section, .faq-section, .newsletter-strip { padding: 34px 0; }
.editorial-grid, .routine-grid, .faq-grid, .auth-perks { display: grid; gap: 16px; }
.editorial-grid { grid-template-columns: 1.1fr .9fr; }
.editorial-card, .routine-card, .faq-card, .auth-perk, .timeline-card, .contact-card, .shop-intro-card {
    padding: 22px;
    background: rgba(255,253,250,.82);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}
.editorial-card.featured { min-height: 260px; display: flex; flex-direction: column; justify-content: space-between; background: linear-gradient(135deg, #191713, #4d3f2a); color: #fff; }
.editorial-card.featured p { color: rgba(255,255,255,.74); }
.editorial-card p, .routine-card p, .faq-card p, .timeline-card p, .shop-intro-card p { color: var(--muted); }
.gender-card {
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform .25s ease, box-shadow .25s ease;
}
.gender-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.gender-card h2 { font-size: clamp(28px, 4vw, 48px); line-height: 1.2; margin: 8px 0 12px; }
.gender-card-men {
    background:
        radial-gradient(circle at 16% 10%, rgba(56, 111, 133, .16), transparent 15rem),
        rgba(255,253,250,.82);
}
.gender-card-men .btn-secondary { width: max-content; }
.routine-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.routine-card strong { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 14px; background: var(--surface-2); color: var(--brand-dark); margin-bottom: 12px; }
.brands-slider { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 14px; }
.brand-box { min-height: 96px; display: grid; place-items: center; padding: 18px; }
.brand-box img { max-height: 56px; object-fit: contain; filter: saturate(.85); }

.shop-intro { display: grid; grid-template-columns: 1.25fr repeat(3, 1fr); gap: 14px; margin-bottom: 22px; }
.shop-intro-card:first-child { background: #191713; color: #fff; }
.shop-intro-card:first-child p { color: rgba(255,255,255,.72); }
.shop-toolbar { padding: 12px; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,253,250,.66); }
.search-form-sidebar { display: flex; gap: 8px; }
.search-form-sidebar button { width: 44px; border: 0; border-radius: 14px; background: var(--ink); color: #fff; cursor: pointer; }
.articles-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.magazine-feature { margin-bottom: 20px; }
.magazine-feature .article-card { display: grid; grid-template-columns: 1fr 1.15fr; }
.magazine-feature .article-image { aspect-ratio: 4/3; }

.about-content { display: grid; gap: 18px; }
.about-text { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(255,253,250,.82); box-shadow: var(--shadow-soft); color: #2b2822; }
.timeline-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
.contact-info { display: grid; gap: 14px; padding: 0; background: transparent; border: 0; box-shadow: none; }
.contact-card { display: flex; gap: 14px; align-items: flex-start; }
.contact-card i { width: 44px; height: 44px; border-radius: 16px; background: var(--surface-2); color: var(--brand); }
.auth-wrapper { width: min(980px, 100%); margin: 0 auto; display: grid; grid-template-columns: .9fr 1.1fr; gap: 18px; padding: 12px; }
.auth-wrapper-single { width: min(560px, 100%); grid-template-columns: 1fr; }
.auth-hero { padding: 28px; background: linear-gradient(145deg, #191713, #4d3f2a); color: #fff; }
.auth-hero p { color: rgba(255,255,255,.74); margin: 12px 0 20px; }
.auth-perks { margin-top: 22px; }
.auth-perk { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.1); box-shadow: none; }
.auth-panel { padding: 22px; }
.auth-form h2 { margin-bottom: 14px; }
.simple-page-title {
    margin: 18px 0 20px;
    text-align: right;
}
.simple-page-title h1 {
    display: inline-block;
    font-size: 22px;
    line-height: 1.5;
    letter-spacing: 0;
    font-weight: 900;
}
.simple-page-title p {
    max-width: 680px;
    margin-top: 6px;
    color: var(--muted);
    font-size: 14px;
}
.shop-title-complete { margin-bottom: 14px; }

.newsletter-strip .newsletter-box { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 22px; border-radius: 28px; background: var(--ink); color: #fff; }
.newsletter-box p { color: rgba(255,255,255,.72); }
.newsletter-form { display: flex; gap: 8px; min-width: min(420px, 100%); }
.newsletter-form input { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.16); color: #fff; }
.newsletter-form input::placeholder { color: rgba(255,255,255,.55); }

@media (max-width: 980px) {
    .desktop-promise { display: none; }
    .editorial-grid, .magazine-feature .article-card, .auth-wrapper, .newsletter-strip .newsletter-box { grid-template-columns: 1fr; }
    .routine-grid, .shop-intro, .timeline-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
    .hero-empty, .page-hero, .auth-hero { border-radius: 24px; padding: 24px; }
    .routine-grid, .shop-intro, .timeline-grid { grid-template-columns: 1fr; }
    .auth-wrapper { padding: 8px; border-radius: 24px; }
    .newsletter-form { flex-direction: column; min-width: 0; }
    .footer-links { flex-wrap: wrap; }
}

/* Compact polish requested: smaller cards, tighter copy, faster scanning. */
.products-grid { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.product-card, .article-card { border-radius: 22px; }
.product-info { padding: 13px; }
.product-name { min-height: 46px; font-size: 14px; line-height: 1.65; }
.current-price, .discount-price, .current-price-large, .discount-price-large { font-size: 16px; }
.btn, .btn-view, .view-all, .view-all-link, .read-more { min-height: 38px; padding: 8px 15px; font-size: 14px; }
.btn-large { min-height: 46px; padding-inline: 22px; }
.category-card { min-height: 148px; border-radius: 22px; }
.trust-box, .feature-card, .why-item, .info-box, .editorial-card, .routine-card, .faq-card, .auth-perk, .timeline-card, .contact-card, .shop-intro-card { border-radius: 22px; padding: 18px; }
.contact-layout { grid-template-columns: .9fr 1.1fr; }
@media (max-width: 680px) { .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.fa-arrow-right::before { content: '→'; } .fa-calendar::before { content: '▦'; } .fa-check::before { content: '✓'; }
.fa-edit::before, .fa-user-edit::before { content: '✎'; } .fa-facebook::before { content: 'f'; } .fa-filter::before { content: '▾'; }
.fa-link::before { content: '↗'; } .fa-money-bill::before { content: '▤'; } .fa-print::before { content: '⎙'; }
.fa-save::before { content: '▣'; } .fa-sync::before { content: '↻'; } .fa-toggle-on::before { content: '●'; }
.fa-trash::before { content: '×'; } .fa-twitter::before { content: 't'; }

/* Pink minimal theme + local icon fallback fix. */
:root {
    --bg: #fff6fa;
    --surface: #fffafb;
    --surface-2: #fdebf2;
    --ink: #24161c;
    --muted: #7c6670;
    --line: #f3d8e3;
    --brand: #e85d9a;
    --brand-dark: #b92f6e;
    --accent: #ff8ab7;
    --shadow: 0 18px 48px rgba(185, 47, 110, .10);
    --shadow-soft: 0 10px 26px rgba(185, 47, 110, .07);
}
body {
    background:
        radial-gradient(circle at 8% 0%, rgba(255, 138, 183, .22), transparent 28rem),
        radial-gradient(circle at 90% 8%, rgba(232, 93, 154, .16), transparent 24rem),
        linear-gradient(180deg, #fffafb 0%, var(--bg) 46%, #fff1f7 100%);
}
.site-header { background: rgba(255, 250, 251, .9); border-bottom-color: rgba(243, 216, 227, .86); }
.btn-primary, .btn-add-cart { background: var(--brand-dark); border-color: var(--brand-dark); }
.btn-primary:hover, .btn-add-cart:hover { background: #982558; border-color: #982558; }
.header-promise span, .page-link.active, .page-link:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.banner-slide, .hero-empty, .page-hero, .auth-hero, .contact-hero, .magazine-hero, .about-hero { box-shadow: var(--shadow-soft); }
.banner-slide::after { background: linear-gradient(90deg, rgba(36,22,28,.06), rgba(185,47,110,.46)); }
.editorial-card.featured, .auth-hero, .newsletter-box { background: linear-gradient(135deg, #2d1722, #b92f6e); }
.site-footer { background: #24161c; }
input:focus, textarea:focus, select:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(232, 93, 154, .14); }

.fas, .fab, .far {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 1.25em !important;
    min-width: 1.25em !important;
    height: 1.25em !important;
    font-family: Arial, Tahoma, sans-serif !important;
    font-style: normal !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    color: currentColor;
}
.fas::before, .fab::before, .far::before { content: '•' !important; display: inline-block !important; font-size: 1em !important; line-height: 1 !important; }
.fa-phone::before, .fa-mobile-alt::before { content: '☎' !important; }
.fa-clock::before { content: '◷' !important; }
.fa-instagram::before { content: '◎' !important; }
.fa-telegram::before { content: '✈' !important; }
.fa-whatsapp::before { content: '☏' !important; }
.fa-search::before { content: '⌕' !important; }
.fa-user::before, .fa-user-circle::before { content: '●' !important; }
.fa-shopping-bag::before, .fa-shopping-cart::before, .fa-store::before { content: '▣' !important; }
.fa-bars::before { content: '☰' !important; }
.fa-times::before, .fa-trash::before { content: '×' !important; }
.fa-home::before { content: '⌂' !important; }
.fa-newspaper::before { content: '▤' !important; }
.fa-info-circle::before { content: 'i' !important; }
.fa-envelope::before { content: '✉' !important; }
.fa-sign-in-alt::before { content: '↪' !important; }
.fa-sign-out-alt::before { content: '↩' !important; }
.fa-certificate::before, .fa-check-circle::before, .fa-check::before { content: '✓' !important; }
.fa-headset::before { content: '☊' !important; }
.fa-undo::before, .fa-sync::before { content: '↻' !important; }
.fa-shipping-fast::before, .fa-truck::before { content: '▰' !important; }
.fa-smile::before { content: '☺' !important; }
.fa-lock::before { content: '◆' !important; }
.fa-gift::before { content: '◇' !important; }
.fa-tags::before, .fa-tag::before { content: '#' !important; }
.fa-map-marker-alt::before { content: '⌖' !important; }
.fa-arrow-left::before, .fa-chevron-left::before { content: '←' !important; }
.fa-arrow-right::before, .fa-chevron-right::before { content: '→' !important; }
.fa-box-open::before, .fa-box::before { content: '□' !important; }
.fa-star::before, .fa-star-o::before { content: '★' !important; }
.fa-filter::before { content: '▾' !important; }
.fa-calendar::before { content: '▦' !important; }
.fa-edit::before, .fa-user-edit::before { content: '✎' !important; }
.fa-save::before { content: '▣' !important; }
.fa-spa::before { content: '✦' !important; }
.fa-shield-alt::before { content: '⬠' !important; }
.fa-comments::before { content: '☷' !important; }
.fa-credit-card::before, .fa-money-bill::before { content: '▭' !important; }
.fa-link::before, .fa-external-link-alt::before { content: '↗' !important; }
.fa-print::before { content: '⎙' !important; }
.fa-toggle-on::before { content: '●' !important; }
.fa-facebook::before { content: 'f' !important; }
.fa-twitter::before { content: 't' !important; }
.fa-moon::before { content: '☾' !important; }
.fa-sun::before { content: '☀' !important; }
.fa-bell::before { content: '◔' !important; }
.fa-chart-line::before { content: '↗' !important; }
.fa-cog::before { content: '⚙' !important; }
.fa-dollar-sign::before { content: '$' !important; }
.fa-eye::before { content: '◉' !important; }
.fa-folder::before { content: '▱' !important; }
.fa-heart::before { content: '♡' !important; }
.fa-image::before { content: '▧' !important; }
.fa-leaf::before { content: '⌁' !important; }
.fa-list::before { content: '☰' !important; }
.fa-plus::before { content: '+' !important; }
.fa-truck-loading::before { content: '▰' !important; }
.fa-users::before { content: '●●' !important; }
.icon-fallback-ready::before { content: none !important; display: none !important; }
.icon-fallback-ready svg {
    display: block;
    width: 1em;
    height: 1em;
}

/* Romantic Perfume charcoal + rose-gold final theme */
:root {
    --bg: #0f0f10;
    --surface: #181818;
    --surface-2: #232121;
    --ink: #f7eee8;
    --muted: #b9aaa2;
    --line: rgba(207, 138, 104, .28);
    --brand: #cf8a68;
    --brand-dark: #9f5f43;
    --accent: #e7b08c;
    --success: #6fb08c;
    --danger: #d06f6b;
    --warning: #d99b4c;
    --info: #87a8bd;
    --shadow: 0 24px 70px rgba(0, 0, 0, .38);
    --shadow-soft: 0 14px 36px rgba(0, 0, 0, .24);
}
body {
    color: var(--ink);
    background:
        radial-gradient(circle at 12% -4%, rgba(207, 138, 104, .24), transparent 24rem),
        radial-gradient(circle at 88% 6%, rgba(231, 176, 140, .16), transparent 26rem),
        linear-gradient(180deg, #161313 0%, #0f0f10 46%, #151211 100%);
}
.site-header {
    background: rgba(17, 17, 17, .82);
    border-bottom-color: rgba(207, 138, 104, .22);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .2);
}
.header-top { border-bottom-color: rgba(207, 138, 104, .16); }
.site-name, .page-header h1, .section-title, .product-title, .admin-content h1, .panel-content h1 {
    color: var(--ink);
}
.site-name {
    background: linear-gradient(90deg, #fff3ea, #cf8a68, #f5c7a5);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.header-logo img {
    border: 1px solid rgba(231, 176, 140, .38);
    box-shadow: 0 12px 28px rgba(207, 138, 104, .16);
}
.header-nav a:hover,
.mobile-nav a:hover,
.filter-list a:hover,
.category-list a:hover,
.panel-nav a:hover,
.panel-nav a.active {
    background: rgba(207, 138, 104, .13);
    color: var(--accent);
}
.search-toggle,
.user-icon,
.cart-icon,
.mobile-menu-toggle,
.slider-arrows button,
.mobile-nav-close,
.favorite-btn {
    background: rgba(24, 24, 24, .78);
    border-color: rgba(207, 138, 104, .32);
    color: var(--ink);
}
.header-search-box,
.search-box,
.search-results,
.header-search-box .search-results,
.mobile-nav,
.product-card,
.article-card,
.category-card,
.brand-box,
.trust-box,
.feature-card,
.why-item,
.info-box,
.stat-box,
.welcome-box,
.content-box,
.success-box,
.empty-state,
.no-results-message,
.no-products,
.no-data,
.no-articles,
.login-box,
.auth-wrapper,
.contact-form-wrapper,
.contact-info,
.cart-summary,
.checkout-summary,
.panel-sidebar,
.panel-content,
.sidebar-box,
.filter-box,
.card,
.editorial-card,
.routine-card,
.faq-card,
.auth-perk,
.timeline-card,
.contact-card,
.shop-intro-card,
.product-gallery,
.product-details,
.product-tabs,
.review-form,
.review-item {
    background: linear-gradient(145deg, rgba(30, 29, 29, .96), rgba(20, 20, 20, .96));
    border-color: rgba(207, 138, 104, .24);
    box-shadow: var(--shadow-soft);
}
.btn-primary,
.btn-add-cart,
.header-promise span,
.page-link.active,
.page-link:hover,
.favorite-btn.active,
.favorite-btn:hover {
    background: linear-gradient(135deg, #cf8a68, #9f5f43);
    border-color: rgba(231, 176, 140, .58);
    color: #161111;
}
.btn-primary:hover,
.btn-add-cart:hover {
    background: linear-gradient(135deg, #e7b08c, #b56e4f);
    border-color: rgba(231, 176, 140, .72);
    color: #161111;
}
.btn-secondary,
.btn-outline,
.view-all,
.view-all-link,
.read-more {
    background: rgba(207, 138, 104, .1);
    border-color: rgba(207, 138, 104, .34);
    color: var(--accent);
}
.btn-outline:hover,
.view-all:hover,
.view-all-link:hover,
.read-more:hover {
    background: rgba(207, 138, 104, .22);
    color: #fff4ec;
}
.premium-category-grid .category-card {
    background:
        linear-gradient(145deg, rgba(38, 35, 34, .96), rgba(17, 17, 17, .96)),
        radial-gradient(circle at 0% 100%, rgba(207, 138, 104, .22), transparent 13rem);
}
.premium-category-grid .category-card::after,
.product-details::before {
    background: rgba(207, 138, 104, .15);
}
.banner-slide,
.hero-empty {
    background:
        radial-gradient(circle at 14% 14%, rgba(231, 176, 140, .2), transparent 18rem),
        linear-gradient(135deg, #191817, #0d0d0e);
    border: 1px solid rgba(207, 138, 104, .26);
}
.banner-slide::after {
    background: linear-gradient(90deg, rgba(15, 15, 16, .04), rgba(15, 15, 16, .72)) !important;
}
.banner-content .banner-btn {
    background: linear-gradient(135deg, #f3cfb8, #cf8a68);
    border-color: rgba(255, 236, 222, .7);
    color: #161111;
}
.editorial-card.featured,
.auth-hero,
.newsletter-box,
.shop-intro-card:first-child,
.site-footer {
    background:
        radial-gradient(circle at 12% 12%, rgba(231, 176, 140, .16), transparent 18rem),
        linear-gradient(135deg, #171313, #2a1b17 62%, #5c3528);
}
.site-footer {
    border-top: 1px solid rgba(231, 176, 140, .26);
}
.cart-count,
.discount-badge,
.article-category-badge {
    background: linear-gradient(135deg, #e7b08c, #b56e4f);
    color: #161111;
}
input,
textarea,
select,
.search-input {
    background: rgba(15, 15, 16, .72);
    border-color: rgba(207, 138, 104, .24);
    color: var(--ink);
}
input::placeholder,
textarea::placeholder {
    color: rgba(247, 238, 232, .48);
}
input:focus,
textarea:focus,
select:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 4px rgba(207, 138, 104, .16);
}

/* Premium storefront upgrades */
.banner-slider.auto-slider { position: relative; }
.auto-slider .banner-slide { display: none; }
.auto-slider .banner-slide.active { display: block; animation: reveal .35s ease; }
.banner-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.72); border-radius: 50%; background: rgba(255,255,255,.72); color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(0,0,0,.12); backdrop-filter: blur(10px); transition: .2s ease; }
.banner-arrow:hover { background: #fff; transform: translateY(-50%) scale(1.05); }
.banner-arrow-prev { right: 18px; }
.banner-arrow-next { left: 18px; }
.banner-dots { position: absolute; right: 50%; bottom: 18px; transform: translateX(50%); z-index: 5; display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border-radius: 999px; background: rgba(255,255,255,.26); backdrop-filter: blur(12px); }
.banner-dot { width: 7px; height: 7px; border: 0; border-radius: 999px; background: rgba(255,255,255,.68); cursor: pointer; padding: 0; transition: .2s ease; }
.banner-dot.active { width: 18px; background: #fff; }
.banner-slide::after { background: linear-gradient(90deg, rgba(0,0,0,.02), rgba(0,0,0,.28)) !important; }
.product-slider { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(210px, 250px); grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; }
.product-slider .product-card { scroll-snap-align: start; }
.product-slider::-webkit-scrollbar, .premium-brand-slider::-webkit-scrollbar { height: 7px; }
.product-slider::-webkit-scrollbar-thumb, .premium-brand-slider::-webkit-scrollbar-thumb { background: var(--line); border-radius: 99px; }
.slider-arrows { display: inline-flex; gap: 8px; margin-inline-start: auto; }
.slider-arrows button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); cursor: pointer; font-weight: 900; }
.premium-category-grid .category-card { position: relative; min-height: 190px; background: linear-gradient(145deg, rgba(255,255,255,.9), rgba(253,235,242,.75)); }
.premium-category-grid .category-card::after { content: ''; position: absolute; left: -35px; bottom: -35px; width: 100px; height: 100px; border-radius: 50%; background: rgba(232,93,154,.13); }
.premium-category-grid .category-card h3 { position: relative; z-index: 1; font-size: 18px; }
.premium-brand-slider { display: grid; grid-auto-flow: column; grid-auto-columns: 150px; grid-template-columns: none; overflow-x: auto; padding-bottom: 10px; }
.brand-box { background: linear-gradient(145deg, #fff, var(--surface-2)); }
.favorite-btn { position: absolute; top: 12px; left: 12px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.86); color: var(--brand-dark); display: grid; place-items: center; cursor: pointer; z-index: 3; }
.favorite-btn.active, .favorite-btn:hover { background: var(--brand-dark); color: #fff; }
.product-main { align-items: stretch; }
.product-gallery, .product-details { background: rgba(255,253,250,.9); border: 1px solid var(--line); border-radius: 32px; box-shadow: var(--shadow-soft); }
.product-details { position: relative; overflow: hidden; }
.product-details::before { content: ''; position: absolute; left: -70px; top: -70px; width: 180px; height: 180px; background: rgba(232,93,154,.12); border-radius: 50%; }
.product-details > * { position: relative; z-index: 1; }
.product-action-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
.product-features { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; margin-top: 18px; }
.feature-item { padding: 12px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); display: flex; align-items: center; gap: 8px; }
.product-tabs { margin-top: 26px; padding: 22px; border: 1px solid var(--line); border-radius: 30px; background: rgba(255,253,250,.78); box-shadow: var(--shadow-soft); }
.review-form, .review-item { border: 1px solid var(--line); border-radius: 22px; padding: 18px; background: var(--surface); margin-bottom: 14px; }
.review-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ticket-admin-grid, .tickets-list { display: grid; gap: 16px; }
.ticket-admin-card, .ticket-compose, .ticket-card { padding: 20px; }
.ticket-admin-head { display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; margin-bottom: 12px; }
.ticket-message, .ticket-reply { border-radius: 16px; padding: 14px; background: var(--surface-2); margin: 12px 0; }
@media (max-width: 680px) { .product-features { grid-template-columns: 1fr; } .product-slider { grid-auto-columns: minmax(170px, 76vw); } }

/* Professional ticket center */
.ticket-page .ticket-hero { padding: 22px; display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; margin-bottom: 18px; }
.ticket-page .ticket-hero h1 { font-size: 28px; margin: 8px 0; }
.ticket-page .ticket-hero p { color: var(--muted); max-width: 680px; }
.ticket-stats-mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; min-width: 280px; }
.ticket-stats-mini span { border: 1px solid var(--line); background: var(--surface); border-radius: 18px; padding: 10px; text-align: center; color: var(--muted); }
.ticket-stats-mini strong { display: block; font-size: 20px; color: var(--brand-dark); }
.ticket-layout { display: grid; grid-template-columns: 360px 1fr; gap: 18px; align-items: start; }
.pro-ticket-form { position: sticky; top: 112px; padding: 20px; }
.pro-ticket-form h2 { margin-bottom: 14px; font-size: 20px; }
.pro-ticket-list { gap: 14px; }
.ticket-card { padding: 18px; border-right: 4px solid var(--brand); }
.ticket-card.status-answered { border-right-color: var(--success); }
.ticket-card.status-closed { border-right-color: var(--muted); opacity: .88; }
.ticket-card-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; margin-bottom: 10px; }
.ticket-code { color: var(--muted); font-size: 12px; font-weight: 900; }
.ticket-meta-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.ticket-meta-row span { padding: 5px 9px; border-radius: 999px; background: var(--surface-2); color: var(--muted); font-size: 12px; font-weight: 800; }
.ticket-bubble { border-radius: 18px; padding: 14px; margin-top: 12px; line-height: 1.9; }
.user-bubble { background: #fff; border: 1px solid var(--line); }
.admin-bubble { background: linear-gradient(135deg, rgba(185,47,110,.1), rgba(255,138,183,.12)); border: 1px solid rgba(185,47,110,.18); }
.ticket-waiting { margin-top: 12px; padding: 10px 12px; border-radius: 14px; background: rgba(185,128,34,.1); color: var(--warning); font-weight: 850; }
.panel-menu-toggle { display: none; align-items: center; gap: 8px; margin-bottom: 12px; border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 8px 12px; font-weight: 900; }
.panel-sidebar-overlay { display: none; position: fixed; inset: 0; background: rgba(36,22,28,.32); z-index: 1001; }
.panel-sidebar-overlay.active { display: block; }

/* Mobile ultra-compact responsive pass */
@media (max-width: 680px) {
    body { font-size: 12px; line-height: 1.65; }
    .container { width: min(100% - 16px, var(--container)); }
    .site-header { position: sticky; }
    .site-alert-banner .container { min-height: 28px; gap: 6px; padding-block: 5px; }
    .site-alert-banner p { font-size: 10.5px; line-height: 1.55; }
    .site-alert-icon { width: 16px; height: 16px; flex-basis: 16px; font-size: 10px; }
    .header-main { padding: 8px 0; }
    .header-main-content { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; }
    .header-logo img { width: 42px; height: 42px; max-height: 42px; border-radius: 12px; }
    .site-name { font-size: 13px; max-width: 118px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .header-actions { gap: 5px; justify-content: flex-end; }
    .user-icon, .cart-icon, .mobile-menu-toggle { width: 34px; height: 34px; }
    .header-search { order: 0; width: 34px; }
    .header-search-box { width: 34px; height: 34px; padding: 0; justify-content: center; }
    .header-search-box .search-input { display: none; }
    .header-search.mobile-open { position: absolute; right: 8px; left: 8px; top: calc(100% + 6px); width: auto; z-index: 1200; }
    .header-search.mobile-open .header-search-box { width: 100%; padding: 0 12px; justify-content: flex-start; box-shadow: var(--shadow-soft); }
    .header-search.mobile-open .search-input { display: block; min-height: 38px; }

    .hero-banner { padding: 12px 0 4px; }
    .banner-slider { width: min(100% - 10px, var(--container)); gap: 8px; }
    .banner-arrow { width: 30px; height: 30px; font-size: 20px; }
    .banner-arrow-prev { right: 10px; }
    .banner-arrow-next { left: 10px; }
    .banner-dots { bottom: 12px; padding: 5px 8px; gap: 5px; }
    .banner-dot { width: 6px; height: 6px; }
    .banner-dot.active { width: 16px; }
    .banner-slide { min-height: 220px; border-radius: 18px; }
    .banner-content .container { width: calc(100% - 28px); margin: 0 auto; }
    .banner-content h2 { font-size: 20px; margin-bottom: 6px; max-width: 80%; }
    .banner-content p { font-size: 12px; margin-bottom: 10px; max-width: 78%; line-height: 1.7; }
    .btn-large, .btn, .btn-view, .view-all, .view-all-link, .read-more { min-height: 32px; padding: 6px 10px; font-size: 11px; }

    .categories-section, .products-section, .brands-section, .trust-boxes, .home-editorial, .routine-section, .faq-section { padding: 16px 0; }
    .section-header { flex-direction: row; align-items: center; gap: 8px; margin-bottom: 10px; }
    .section-title { font-size: 18px; letter-spacing: -.2px; }
    .premium-category-grid, .categories-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
    .premium-category-grid .category-card, .category-card { min-height: 92px; padding: 10px; border-radius: 14px; }
    .category-card img { width: 38px; height: 38px; border-radius: 12px; }
    .premium-category-grid .category-card h3, .category-card h3 { font-size: 11px; line-height: 1.45; }
    .premium-category-grid .category-card::after { width: 58px; height: 58px; left: -22px; bottom: -22px; }
    .premium-brand-slider { grid-auto-columns: 82px; gap: 8px; }
    .brand-box { min-height: 56px; padding: 8px; border-radius: 14px; }
    .brand-box img { max-height: 34px; }

    .products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
    .product-slider { grid-auto-columns: calc((100vw - 34px) / 3); gap: 7px; }
    .product-card { border-radius: 14px; }
    .product-image { aspect-ratio: 1 / 1.05; }
    .product-info { padding: 7px; }
    .product-name { min-height: 34px; font-size: 10px; line-height: 1.55; }
    .product-price { margin: 5px 0 8px; gap: 3px; }
    .current-price, .discount-price, .current-price-large, .discount-price-large { font-size: 11px; }
    .original-price { font-size: 9px; }
    .discount-badge { top: 6px; right: 6px; padding: 3px 6px; font-size: 9px; }
    .favorite-btn { top: 6px; left: 6px; width: 26px; height: 26px; font-size: 10px; }
    .btn-add-cart { min-height: 28px; width: 100%; font-size: 9px; padding: 4px 5px; gap: 3px; }
    .slider-arrows button { width: 30px; height: 30px; font-size: 11px; }

    .trust-grid, .routine-grid, .about-features, .why-us-grid, .info-grid, .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .trust-box, .feature-card, .why-item, .info-box, .routine-card, .editorial-card, .faq-card, .timeline-card, .contact-card, .shop-intro-card, .stat-box { padding: 10px; border-radius: 14px; }
    .gender-card { min-height: 170px; }
    .trust-box i, .feature-card i, .info-box i { font-size: 18px; margin-bottom: 4px; }
    .trust-box h4, .routine-card h3, .shop-intro-card h3 { font-size: 12px; }
    .trust-box p, .routine-card p, .shop-intro-card p, .feature-card p, .info-box p { font-size: 10px; line-height: 1.55; }
    .routine-card strong { width: 28px; height: 28px; border-radius: 10px; font-size: 11px; margin-bottom: 6px; }

    .shop-page, .product-page, .magazine-page, .article-page, .cart-page, .checkout-page, .login-page, .contact-page, .about-page, .user-panel, .success-page { padding: 8px 0 24px; }
    .simple-page-title { margin: 10px 0 12px; }
    .simple-page-title h1, .page-header h1, .panel-content h1 { font-size: 18px; }
    .simple-page-title p, .page-header p { font-size: 11px; }
    .shop-layout, .magazine-layout, .contact-layout, .product-main, .panel-layout { gap: 10px; }
    .filter-box, .sidebar-box, .contact-form-wrapper, .contact-info, .about-text, .content-box, .panel-content, .panel-sidebar, .cart-summary, .checkout-summary { padding: 12px; border-radius: 16px; }
    .shop-toolbar { padding: 8px; border-radius: 14px; gap: 8px; }
    input, textarea, select, .form-control { min-height: 34px; padding: 7px 9px; border-radius: 10px; font-size: 12px; }
    .form-group { margin-bottom: 10px; }
    .form-group label { font-size: 11px; margin-bottom: 4px; }
    .form-row { grid-template-columns: 1fr 1fr; gap: 8px; }

    .product-gallery, .product-details, .product-tabs { padding: 12px; border-radius: 18px; }
    .product-details h1 { font-size: 19px; }
    .product-short-desc, .article-summary { font-size: 12px; margin: 8px 0; }
    .product-features { grid-template-columns: repeat(2, 1fr); gap: 6px; }
    .feature-item { padding: 8px; border-radius: 12px; font-size: 10px; }
    .thumbnail-images { gap: 6px; }
    .tab-btn { padding: 8px 10px; font-size: 11px; }
    .review-form, .review-item { padding: 10px; border-radius: 14px; }

    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
    .site-footer { font-size: 11px; }
    .footer-main { padding: 22px 0; }
    .footer-logo img { width: 34px; height: 34px; }
    .footer-logo h3, .footer-col h4 { font-size: 13px; }
    .footer-bottom-content { gap: 8px; }

    .panel-layout { grid-template-columns: 1fr; }
    .panel-menu-toggle { display: inline-flex; }
    .panel-sidebar { position: fixed !important; top: 0; bottom: 0; right: 0; width: min(280px, 84vw); transform: translateX(105%); transition: transform .25s ease; z-index: 1002; overflow-y: auto; border-radius: 0; }
    .panel-sidebar.active { transform: translateX(0); }
    .panel-content { padding: 12px; }
    .welcome-box.page-hero { padding: 12px; border-radius: 16px; }
    .welcome-box h2 { font-size: 16px; }
    .orders-table, table { font-size: 10px; }
    th, td { padding: 7px 5px; }

    .ticket-page .ticket-hero { grid-template-columns: 1fr; padding: 12px; }
    .ticket-page .ticket-hero h1 { font-size: 18px; }
    .ticket-stats-mini { min-width: 0; grid-template-columns: repeat(3,1fr); }
    .ticket-layout { grid-template-columns: 1fr; gap: 10px; }
    .pro-ticket-form { position: static; padding: 12px; }
    .ticket-card { padding: 12px; border-radius: 16px; }
    .ticket-bubble { padding: 10px; border-radius: 12px; }
}

@media (max-width: 390px) {
    .products-grid { gap: 6px; }
    .product-slider { grid-auto-columns: calc((100vw - 30px) / 3); }
    .product-name { font-size: 9px; }
    .btn-add-cart { font-size: 0; }
    .btn-add-cart i { font-size: 12px; }
}

/* Final mobile-density pass: compact storefront, shop, pages and user panel. */
.ticket-flow-hint { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 12px; margin-bottom: 14px; }
.ticket-flow-hint span { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 38px; border-radius: 999px; background: var(--surface-2); color: var(--brand-dark); font-weight: 900; font-size: 12px; }
.ticket-card h3, .ticket-admin-card h3 { line-height: 1.45; }

@media (max-width: 680px) {
    html, body { max-width: 100%; overflow-x: hidden; }
    .header-main-content { grid-template-columns: minmax(0, 1fr) auto; }
    .header-logo a, .header-logo { gap: 7px; min-width: 0; }
    .header-actions { min-width: max-content; }
    .header-search-box .fas { font-size: 14px; }
    .mobile-nav { width: min(285px, 82vw); padding: 14px; }
    .mobile-nav a { padding: 10px 8px; border-radius: 11px; font-size: 12px; }

    .hero-empty, .page-hero, .contact-hero, .magazine-hero, .about-hero { padding: 16px; border-radius: 18px; margin: 12px 0 4px; }
    .hero-empty h1, .page-hero h1 { font-size: 22px; letter-spacing: -.5px; }
    .hero-empty p, .page-hero p { font-size: 11px; margin: 8px 0 12px; }
    .hero-badges span, .active-filter, .mini-badge { min-height: 28px; padding: 4px 8px; font-size: 10px; }

    .banner-slide { min-height: 190px !important; border-radius: 14px; }
    .banner-content h2 { font-size: 17px; max-width: 74%; line-height: 1.28; }
    .banner-content p { font-size: 10px; max-width: 72%; margin-bottom: 7px; }

    .categories-section, .products-section, .brands-section, .trust-boxes, .home-editorial, .routine-section, .faq-section, .newsletter-strip, .page-content, .search-results-section { padding: 12px 0; }
    .premium-category-grid, .categories-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
    .premium-category-grid .category-card, .category-card { min-height: 76px; padding: 7px; border-radius: 12px; }
    .category-card img { width: 30px; height: 30px; border-radius: 9px; }
    .premium-category-grid .category-card h3, .category-card h3 { font-size: 9px; }
    .premium-brand-slider { grid-auto-columns: 70px; gap: 6px; }
    .brand-box { min-height: 48px; padding: 6px; border-radius: 12px; }
    .brand-box img { max-height: 28px; }

    .products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 6px; }
    .product-slider { grid-auto-columns: calc((100vw - 30px) / 3) !important; gap: 6px; }
    .product-card { border-radius: 12px; min-width: 0; }
    .product-info { padding: 6px; }
    .product-name { min-height: 31px; font-size: 9px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .product-rating { display: none; }
    .product-price { margin: 4px 0 6px; line-height: 1.25; }
    .current-price, .discount-price { font-size: 10px; }
    .original-price { font-size: 8px; }
    .btn-add-cart { min-height: 25px; font-size: 0; padding: 4px; }
    .btn-add-cart i { font-size: 12px; }

    .trust-grid, .routine-grid, .about-features, .why-us-grid, .info-grid, .stats-grid, .shop-intro, .timeline-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 6px; }
    .trust-box, .feature-card, .why-item, .info-box, .routine-card, .editorial-card, .faq-card, .timeline-card, .contact-card, .shop-intro-card, .stat-box, .about-text, .content-box { padding: 8px; border-radius: 12px; }
    .trust-box i, .feature-card i, .info-box i, .contact-card i { width: 28px; height: 28px; font-size: 14px; margin-bottom: 2px; border-radius: 10px; }
    .trust-box h4, .feature-card h3, .info-box h3, .why-item h3, .contact-card h3 { font-size: 11px; line-height: 1.45; }
    .trust-box p, .feature-card p, .info-box p, .why-item p, .contact-card p, .about-text, .content-box p, .article-body { font-size: 10px; line-height: 1.55; }

    .shop-layout { grid-template-columns: 1fr; gap: 8px; }
    .shop-sidebar { display: none; position: fixed !important; top: 0; right: 0; bottom: 0; width: min(285px, 84vw); z-index: 1205; overflow-y: auto; padding: 10px; background: var(--surface); border-left: 1px solid var(--line); box-shadow: var(--shadow); }
    .shop-sidebar.mobile-open { display: grid !important; align-content: start; gap: 8px; }
    .shop-filter-overlay { position: fixed; inset: 0; background: rgba(36,22,28,.32); z-index: 1204; opacity: 0; visibility: hidden; transition: .2s; }
    .shop-filter-overlay.active { opacity: 1; visibility: visible; }
    .filter-box, .sidebar-box { padding: 9px; border-radius: 12px; }
    .filter-box h3, .sidebar-box h3 { font-size: 12px; margin-bottom: 7px; }
    .filter-item, .filter-list a, .category-list a, .panel-nav a { padding: 7px 8px; border-radius: 10px; font-size: 11px; }
    .shop-toolbar { flex-direction: row; align-items: center; padding: 7px; border-radius: 12px; margin-bottom: 8px; }
    .shop-sort { display: flex; align-items: center; gap: 5px; font-size: 10px; }
    .shop-sort select { width: 100px; min-height: 30px; padding: 4px 6px; font-size: 10px; }
    .results-count { font-size: 10px; }
    .filter-toggle-mobile { min-height: 30px; padding: 5px 8px; font-size: 10px; }

    .articles-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .article-card { border-radius: 14px; }
    .article-content { padding: 9px; }
    .article-content h2, .article-content h3 { font-size: 12px; margin: 6px 0; }
    .article-meta, .article-date, .article-views { font-size: 9px; gap: 6px; }

    .contact-layout, .magazine-layout, .cart-layout, .checkout-layout, .product-main, .panel-layout { grid-template-columns: 1fr !important; }
    .contact-form-wrapper, .product-gallery, .product-details, .article-single, .cart-items, .checkout-details, .panel-content, .cart-summary, .checkout-summary { padding: 10px !important; border-radius: 14px !important; }
    .page-header, .section-header { margin: 12px 0 9px; }
    .page-header h1, .section-title, .panel-content h1 { font-size: 16px !important; }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px; }
    .site-footer { margin-top: 22px; border-radius: 24px 24px 0 0; }
    .footer-main { padding: 18px 0 12px; }
    .footer-col li { margin-bottom: 5px; }
    .footer-social a { width: 30px; height: 30px; }

    .user-info { padding: 14px; }
    .user-avatar { width: 52px; height: 52px; border-radius: 16px; font-size: 28px; }
    .panel-sidebar { padding: 0; }
    .panel-nav { padding: 8px; }
    .panel-menu-toggle { min-height: 32px; padding: 6px 10px; font-size: 11px; }
    .ticket-flow-hint { grid-template-columns: 1fr; gap: 5px; padding: 8px; }
    .ticket-flow-hint span { min-height: 30px; font-size: 10px; }
    .ticket-card-head { gap: 7px; margin-bottom: 6px; }
    .ticket-card-head h3 { font-size: 13px; }
    .ticket-meta-row { gap: 5px; margin: 6px 0; }
    .ticket-meta-row span, .status-badge, .badge { min-height: 23px; padding: 3px 7px; font-size: 9px; }
    .ticket-bubble, .ticket-waiting { margin-top: 7px; padding: 8px; font-size: 10px; }
}

@media (max-width: 420px) {
    .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
    .product-slider { grid-auto-columns: calc((100vw - 25px) / 2) !important; }
    .premium-category-grid, .categories-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.fa-database::before { content: '▦' !important; }

/* Charcoal rose-gold theme + desktop compact pass. */
:root {
    --bg: #0d0d0e;
    --surface: #1e1d1d;
    --surface-2: #2a2523;
    --ink: #f7eee8;
    --muted: #cdbfb6;
    --line: rgba(207, 138, 104, .24);
    --brand: #cf8a68;
    --brand-dark: #9f5f43;
    --accent: #e7b08c;
    --success: #6fb68f;
    --danger: #d77a74;
    --warning: #d99b4c;
    --info: #87a8bd;
    --shadow: 0 18px 48px rgba(0, 0, 0, .34);
    --shadow-soft: 0 10px 28px rgba(0, 0, 0, .24);
}

html { background: var(--bg); }
body {
    color: var(--ink);
    background:
        radial-gradient(circle at 8% -8%, rgba(231, 176, 140, .18), transparent 25rem),
        radial-gradient(circle at 92% 3%, rgba(159, 95, 67, .24), transparent 31rem),
        linear-gradient(180deg, #111111 0%, #171514 48%, #0d0d0e 100%) !important;
    font-size: 14px;
    line-height: 1.75;
}

.site-header {
    background: rgba(17, 16, 16, .88) !important;
    border-bottom-color: rgba(207, 138, 104, .18) !important;
}
.header-top { border-bottom-color: rgba(207, 138, 104, .12); }
.site-name, .page-header h1, .section-title, .admin-content h1, .panel-content h1,
.product-name, .tab-btn.active, .footer-col h4, .footer-logo h3 { color: var(--ink); }
.header-nav a, .header-top, .page-header p, .results-count, .form-note, small,
.trust-box p, .feature-card p, .why-item p, .info-box p, .editorial-card p,
.routine-card p, .faq-card p, .timeline-card p, .shop-intro-card p,
.article-meta, .article-date, .article-views, .review-meta, .breadcrumb,
.footer-col p, .footer-col a, .footer-contact li { color: var(--muted); }
.header-nav a:hover, .filter-list a:hover, .category-list a:hover, .panel-nav a:hover,
.panel-nav a.active { background: rgba(207, 138, 104, .14); color: var(--ink); }

.btn, .btn-view, .view-all, .view-all-link, .read-more,
.search-toggle, .user-icon, .cart-icon, .mobile-menu-toggle, .mobile-nav-close,
.page-link, .slider-arrows button, .filter-toggle-mobile, .panel-menu-toggle {
    background: rgba(30, 29, 29, .88);
    border-color: var(--line);
    color: var(--ink);
}
.btn-primary, .btn-add-cart, .search-form-sidebar button,
.header-promise span, .page-link.active, .page-link:hover, .favorite-btn.active,
.favorite-btn:hover {
    background: linear-gradient(135deg, #e7b08c, #9f5f43) !important;
    border-color: rgba(231, 176, 140, .58) !important;
    color: #161111 !important;
    box-shadow: 0 10px 24px rgba(207, 138, 104, .18);
}
.btn-primary:hover, .btn-add-cart:hover {
    background: linear-gradient(135deg, #f0bea0, #b56e4f) !important;
    border-color: rgba(231, 176, 140, .72) !important;
}
.btn-secondary { background: rgba(207, 138, 104, .13); color: #e7b08c; border-color: rgba(207,138,104,.24); }
.btn-outline { color: #e7b08c; border-color: rgba(231,176,140,.58); }
.btn-outline:hover { background: rgba(207,138,104,.16); color: var(--ink); }
.cart-count, .discount-badge, .article-category-badge, .discount-badge-large { background: #cf8a68; color: #161111; }

.category-card, .brand-box, .trust-box, .feature-card, .why-item, .info-box, .stat-box,
.welcome-box, .content-box, .success-box, .empty-state, .no-results-message,
.no-products, .no-data, .no-articles, .login-box, .auth-wrapper,
.contact-form-wrapper, .contact-info, .cart-summary, .checkout-summary,
.panel-sidebar, .panel-content, .sidebar-box, .filter-box, .card,
.product-card, .article-card, .product-gallery, .product-details, .cart-items,
.checkout-details, .article-single, .editorial-card, .routine-card, .faq-card,
.auth-perk, .timeline-card, .contact-card, .shop-intro-card, .review-form,
.review-item, .login-prompt, .product-tabs, .form-section, .shop-toolbar,
.hero-empty, .page-hero, .contact-hero, .magazine-hero, .about-hero, .about-text,
.mobile-nav, .search-box, .header-search-box .search-results {
    background: linear-gradient(145deg, rgba(30, 29, 29, .96), rgba(20, 20, 20, .96)) !important;
    border-color: var(--line) !important;
    box-shadow: var(--shadow-soft);
    color: var(--ink);
}
.trust-box, .premium-category-grid .category-card, .brand-box {
    background: linear-gradient(145deg, rgba(38, 35, 34, .96), rgba(17, 17, 17, .96)) !important;
}
.hero-empty, .page-hero, .contact-hero, .magazine-hero, .about-hero {
    background:
        radial-gradient(circle at 14% 0%, rgba(207, 138, 104, .18), transparent 18rem),
        linear-gradient(135deg, rgba(14, 37, 65, .95), rgba(6, 16, 29, .92)) !important;
}
.editorial-card.featured, .auth-hero, .newsletter-strip .newsletter-box,
.newsletter-box, .shop-intro-card:first-child {
    background: linear-gradient(135deg, #141212, #2f211c) !important;
    color: var(--ink);
}
.banner-slide { background: #1e1d1d; box-shadow: var(--shadow); }
.banner-slide::after {
    background: linear-gradient(90deg, rgba(15, 15, 16, .16), rgba(15, 15, 16, .70)) !important;
}

.product-image, .main-image, .stat-box i, .user-avatar, .feature-item,
.ticket-message, .ticket-reply, .ticket-meta-row span, .status-badge, .badge,
.hero-badges span, .active-filter, .mini-badge, .auth-tabs,
.quantity-selector button, .header-promise, .color-box, .payment-option,
.share-btn, .ticket-flow-hint span {
    background: rgba(207, 138, 104, .10) !important;
    border-color: var(--line) !important;
    color: var(--ink);
}
input, textarea, select, .form-control, .search-input,
.newsletter-form input {
    background: rgba(15, 15, 16, .76) !important;
    border-color: rgba(207, 138, 104, .26) !important;
    color: var(--ink) !important;
}
input::placeholder, textarea::placeholder { color: rgba(247, 238, 232, .52); }
input:focus, textarea:focus, select:focus {
    border-color: var(--brand) !important;
    box-shadow: 0 0 0 3px rgba(207, 138, 104, .18) !important;
}
.form-group label, .current-price, .discount-price, .current-price-large,
.discount-price-large, .trust-box i, .feature-card i, .why-icon, .info-box i,
.success-icon, .contact-card i, .favorite-btn, .header-contact i,
.header-social a:hover, .stat-info h3, .ticket-stats-mini strong {
    color: #e7b08c !important;
}
.article-body, .about-text, .content-box, .article-body p, .content-box p { color: var(--muted); }
th { background: rgba(207, 138, 104, .12); color: #e7b08c; }
.site-footer { background: #0b0b0c !important; }
.mobile-nav-overlay, .panel-sidebar-overlay.active, .shop-filter-overlay.active { background: rgba(0, 0, 0, .68); }

@media (min-width: 981px) {
    :root { --container: 1120px; }
    body { font-size: 13px; line-height: 1.68; }
    .container { width: min(var(--container), calc(100% - 36px)); }
    .site-alert-banner .container { min-height: 30px; padding-block: 5px; }
    .site-alert-banner p { font-size: 12px; }
    .site-alert-icon { width: 18px; height: 18px; flex-basis: 18px; font-size: 12px; }
    .header-top-content { min-height: 32px; }
    .header-main { padding: 9px 0; }
    .header-logo img { width: 50px; height: 50px; max-height: 50px; border-radius: 13px; }
    .site-name { font-size: 17px; }
    .header-main-content { gap: 18px; }
    .header-nav a { padding: 7px 11px; font-size: 13px; }
    .header-search { width: clamp(190px, 22vw, 300px); }
    .header-search-box .search-input { min-height: 36px; }
    .search-toggle, .user-icon, .cart-icon, .mobile-menu-toggle { width: 36px; height: 36px; }

    .page-header, .section-header { margin: 24px 0 16px; }
    .page-header h1, .section-title, .admin-content h1, .panel-content h1 { font-size: clamp(22px, 3vw, 34px); }
    .section-title { font-size: clamp(20px, 2.4vw, 28px); }
    .banner-slide { min-height: clamp(320px, 42vw, 520px); border-radius: 28px; }
    .banner-content h2 { font-size: clamp(28px, 4.8vw, 56px); }
    .banner-content p { font-size: 15px; margin-bottom: 16px; }
    .hero-empty h1, .page-hero h1 { font-size: clamp(28px, 4.6vw, 52px); }
    .hero-empty p, .page-hero p { font-size: 14px; }

    .categories-section, .products-section, .brands-section, .trust-boxes,
    .home-editorial, .routine-section, .faq-section, .newsletter-strip,
    .page-content, .search-results-section { padding: 24px 0; }
    .categories-grid, .products-grid, .articles-grid, .about-features,
    .why-us-grid, .trust-grid, .info-grid, .stats-grid { gap: 12px; }
    .products-grid { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
    .product-slider { grid-auto-columns: minmax(180px, 220px); }
    .product-card, .article-card { border-radius: 18px; }
    .product-info, .article-content { padding: 11px; }
    .product-name { min-height: 40px; font-size: 12.5px; line-height: 1.55; }
    .product-price { margin: 7px 0 10px; }
    .current-price, .discount-price, .current-price-large, .discount-price-large { font-size: 14px; }
    .original-price { font-size: 11px; }

    .btn, .btn-view, .view-all, .view-all-link, .read-more { min-height: 34px; padding: 7px 13px; font-size: 12.5px; }
    .btn-large { min-height: 40px; padding-inline: 18px; font-size: 13px; }
    .category-card { min-height: 126px; padding: 14px; border-radius: 18px; }
    .premium-category-grid .category-card { min-height: 150px; }
    .category-card img { width: 56px; height: 56px; border-radius: 14px; }
    .category-card h3, .premium-category-grid .category-card h3 { font-size: 14px; }
    .trust-box, .feature-card, .why-item, .info-box, .editorial-card, .routine-card,
    .faq-card, .auth-perk, .timeline-card, .contact-card, .shop-intro-card,
    .sidebar-box, .filter-box, .stat-box { padding: 15px; border-radius: 18px; }

    .shop-layout { grid-template-columns: 240px 1fr; }
    .magazine-layout { grid-template-columns: 1fr 260px; }
    .cart-layout, .checkout-layout, .contact-layout, .product-main { grid-template-columns: minmax(0, 1fr) 300px; }
    .panel-layout { grid-template-columns: 240px 1fr; }
    .shop-sidebar, .magazine-sidebar, .cart-summary, .checkout-summary, .panel-sidebar { top: 92px; }
    .product-gallery, .product-details, .article-single, .cart-items,
    .checkout-details, .contact-form-wrapper, .panel-content, .content-box,
    .success-box, .product-tabs { padding: 18px; border-radius: 22px; }
    .product-details h1, .article-header h1 { font-size: clamp(22px, 3vw, 34px); }
    .product-short-desc, .article-summary { font-size: 14px; }
    input, textarea, select, .form-control { min-height: 38px; padding: 8px 11px; border-radius: 12px; font-size: 13px; }
    textarea { min-height: 96px; }
    .form-group { margin-bottom: 12px; }
    .form-row { gap: 12px; }
    th, td { padding: 10px 9px; }
}

/* Floating online support chat. */
.live-chat-widget { position: fixed; right: 22px; bottom: 22px; z-index: 1500; font-family: inherit; }
.live-chat-toggle {
    display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 10px 16px; border: 1px solid rgba(207,138,104,.42);
    border-radius: 999px; background: linear-gradient(135deg, #e7b08c, #9f5f43); color: #161111; font-weight: 950; cursor: pointer;
    box-shadow: 0 16px 38px rgba(0,0,0,.30), 0 8px 22px rgba(207,138,104,.18);
}
.live-chat-toggle b { width: 9px; height: 9px; border-radius: 50%; background: #68d391; box-shadow: 0 0 0 5px rgba(104,211,145,.18); }
.live-chat-panel {
    position: absolute; right: 0; bottom: calc(100% + 12px); width: min(370px, calc(100vw - 28px)); height: 520px; max-height: calc(100vh - 110px);
    display: none; grid-template-rows: auto 1fr auto; overflow: hidden; border: 1px solid rgba(207,138,104,.24); border-radius: 24px;
    background: rgba(20,20,20,.98); color: var(--ink); box-shadow: 0 24px 70px rgba(0,0,0,.42);
}
.live-chat-widget.open .live-chat-panel { display: grid; animation: reveal .18s ease; }
.live-chat-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px; background: linear-gradient(135deg, #141212, #2f211c); border-bottom: 1px solid rgba(207,138,104,.18); }
.live-chat-brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.live-chat-brand img, .live-chat-brand span { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; object-fit: cover; background: rgba(207,138,104,.18); color: #d3b46a; }
.live-chat-brand strong { display: block; color: #fff; font-size: 14px; }
.live-chat-brand small { color: rgba(247,238,232,.72); font-size: 11px; }
.live-chat-head button { width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; cursor: pointer; }
.live-chat-messages { padding: 14px; overflow-y: auto; display: grid; align-content: start; gap: 10px; background: radial-gradient(circle at top left, rgba(207,138,104,.10), transparent 13rem); }
.live-chat-empty { padding: 14px; border: 1px dashed rgba(207,138,104,.24); border-radius: 18px; color: var(--muted); text-align: center; }
.live-chat-message { max-width: 84%; padding: 10px 12px; border-radius: 17px; line-height: 1.7; }
.live-chat-message small { display: block; margin-top: 4px; font-size: 10px; opacity: .66; }
.live-chat-message.user { margin-right: auto; background: linear-gradient(135deg, #e7b08c, #9f5f43); color: #161111; border-bottom-left-radius: 6px; }
.live-chat-message.admin { margin-left: auto; background: rgba(35,33,33,.96); color: #f7eee8; border: 1px solid rgba(207,138,104,.24); border-bottom-right-radius: 6px; }
.live-chat-form { padding: 12px; border-top: 1px solid rgba(207,138,104,.18); background: rgba(17,16,16,.96); }
.live-chat-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px; }
.live-chat-send-row { display: grid; grid-template-columns: 1fr 42px; gap: 8px; align-items: end; }
.live-chat-form input, .live-chat-form textarea { min-height: 38px !important; border-radius: 13px !important; font-size: 12px !important; }
.live-chat-form textarea { min-height: 48px !important; resize: none; }
.live-chat-form button[type="submit"] { width: 42px; height: 42px; border: 0; border-radius: 14px; background: linear-gradient(135deg, #e7b08c, #9f5f43); color: #161111; cursor: pointer; }
@media (max-width: 680px) {
    .live-chat-widget { right: 10px; bottom: 10px; }
    .live-chat-toggle { min-height: 42px; padding: 8px 12px; font-size: 12px; }
    .live-chat-panel { height: min(500px, calc(100vh - 74px)); border-radius: 18px; }
}
.fa-paper-plane::before { content: '➤' !important; }

/* Final global theme sweep: cover user panel and older page fragments. */
body .user-panel, body .panel-layout, body .panel-sidebar, body .panel-content,
body .dashboard-card, body .order-card, body .profile-card, body .favorite-card,
body .ticket-card, body .ticket-compose, body .ticket-admin-card,
body .login-box, body .auth-panel, body .auth-wrapper, body .cart-items,
body .checkout-details, body .contact-form-wrapper, body .contact-card,
body .content-box, body .article-single, body .about-text, body .filter-box,
body .sidebar-box, body .card, body .table-responsive, body .welcome-box,
body .stat-box, body .empty-state, body .no-data, body .success-box {
    background: linear-gradient(145deg, rgba(30, 29, 29, .96), rgba(20, 20, 20, .96)) !important;
    border-color: rgba(207, 138, 104, .24) !important;
    color: var(--ink) !important;
}
body .panel-nav a, body .filter-list a, body .category-list a,
body .article-body, body .content-box p, body .about-text p,
body .order-card p, body .ticket-bubble, body .review-item,
body .review-form, body .login-prompt { color: var(--muted); }
body .panel-nav a:hover, body .panel-nav a.active,
body .filter-list a:hover, body .category-list a:hover {
    background: rgba(207,138,104,.14) !important;
    color: #fff !important;
}
body table, body .table, body .orders-table, body .cart-table { color: var(--ink); }
body th { background: rgba(207,138,104,.12) !important; color: #e7b08c !important; }
body td { color: var(--ink); }
body .auth-tab.active, body .tab-btn.active { color: #e7b08c !important; }
body .alert { background: rgba(30,29,29,.92) !important; border-color: rgba(207,138,104,.24) !important; }

/* Premium support launcher upgrade. */
.live-chat-toggle {
    position: relative;
    min-width: 62px;
    width: 62px;
    height: 62px;
    padding: 0;
    border-radius: 22px;
    justify-content: center;
    overflow: visible;
}
.live-chat-toggle::before {
    content: '';
    position: absolute;
    inset: -7px;
    border-radius: 28px;
    background: conic-gradient(from 140deg, rgba(184,150,80,.08), rgba(184,150,80,.55), rgba(33,72,121,.12), rgba(184,150,80,.08));
    z-index: -1;
    animation: liveChatGlow 4s linear infinite;
}
.live-chat-toggle::after {
    content: 'پشتیبانی آنلاین';
    position: absolute;
    right: calc(100% + 10px);
    bottom: 9px;
    white-space: nowrap;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(17,16,16,.92);
    border: 1px solid rgba(207,138,104,.32);
    color: #f7eee8;
    font-size: 12px;
    box-shadow: 0 12px 30px rgba(0,0,0,.28);
}
.live-chat-toggle i { font-size: 25px; }
.live-chat-toggle span { display: none; }
.live-chat-toggle b { position: absolute; left: 8px; top: 8px; }
.live-chat-widget.open .live-chat-toggle::after { display: none; }
.live-chat-panel { border-radius: 28px; backdrop-filter: blur(18px); }
.live-chat-head { padding: 16px; }
.live-chat-brand img, .live-chat-brand span { width: 48px; height: 48px; border-radius: 17px; }
.live-chat-message { box-shadow: 0 10px 24px rgba(0,0,0,.14); }
.live-chat-message.pending { opacity: .72; }
@keyframes liveChatGlow { to { transform: rotate(360deg); } }
@media (max-width: 680px) {
    .live-chat-toggle { width: 52px; height: 52px; border-radius: 18px; }
    .live-chat-toggle::after { display: none; }
    .live-chat-toggle i { font-size: 21px; }
}

@media (max-width: 767px) {
    .trust-boxes .trust-grid {
        grid-template-columns: repeat(6, minmax(112px, 1fr)) !important;
        overflow-x: auto;
        padding-bottom: 6px;
        scroll-snap-type: x proximity;
    }

    .trust-boxes .trust-box { scroll-snap-align: start; }
}

/* FINAL Romantic Perfume override: charcoal + rose-gold, placed last intentionally. */
:root {
    --bg: #0f0f10 !important;
    --surface: #181818 !important;
    --surface-2: #232121 !important;
    --ink: #f7eee8 !important;
    --muted: #b9aaa2 !important;
    --line: rgba(207, 138, 104, .30) !important;
    --brand: #cf8a68 !important;
    --brand-dark: #9f5f43 !important;
    --accent: #e7b08c !important;
    --shadow: 0 24px 70px rgba(0, 0, 0, .38) !important;
    --shadow-soft: 0 14px 36px rgba(0, 0, 0, .24) !important;
}
html,
body {
    background:
        radial-gradient(circle at 12% -4%, rgba(207, 138, 104, .24), transparent 24rem),
        radial-gradient(circle at 88% 6%, rgba(231, 176, 140, .16), transparent 26rem),
        linear-gradient(180deg, #161313 0%, #0f0f10 46%, #151211 100%) !important;
    color: var(--ink) !important;
}
.site-header {
    background: rgba(17, 17, 17, .90) !important;
    border-bottom-color: rgba(207, 138, 104, .26) !important;
}
.header-top,
.footer-bottom {
    border-color: rgba(207, 138, 104, .18) !important;
}
.site-name {
    background: linear-gradient(90deg, #fff3ea, #cf8a68, #f5c7a5) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
}
.btn-primary,
.btn-add-cart,
.live-chat-toggle,
.live-chat-form button[type="submit"],
.cart-count,
.discount-badge,
.article-category-badge,
.page-link.active,
.page-link:hover {
    background: linear-gradient(135deg, #e7b08c, #9f5f43) !important;
    border-color: rgba(231, 176, 140, .60) !important;
    color: #161111 !important;
}
.btn-secondary,
.btn-outline,
.view-all,
.view-all-link,
.read-more,
.search-toggle,
.user-icon,
.cart-icon,
.mobile-menu-toggle,
.slider-arrows button,
.favorite-btn {
    background: rgba(207, 138, 104, .11) !important;
    border-color: rgba(207, 138, 104, .34) !important;
    color: var(--accent) !important;
}
.site-footer,
.editorial-card.featured,
.auth-hero,
.newsletter-box,
.shop-intro-card:first-child,
.live-chat-head {
    background:
        radial-gradient(circle at 12% 12%, rgba(231, 176, 140, .16), transparent 18rem),
        linear-gradient(135deg, #171313, #2a1b17 62%, #5c3528) !important;
    border-color: rgba(231, 176, 140, .24) !important;
}
.header-search-box,
.search-box,
.header-search-box .search-results,
.mobile-nav,
.product-card,
.article-card,
.category-card,
.brand-box,
.trust-box,
.feature-card,
.why-item,
.info-box,
.stat-box,
.welcome-box,
.content-box,
.success-box,
.empty-state,
.no-results-message,
.no-products,
.no-data,
.no-articles,
.login-box,
.auth-wrapper,
.contact-form-wrapper,
.contact-info,
.cart-summary,
.checkout-summary,
.cart-items,
.checkout-details,
.panel-sidebar,
.panel-content,
.sidebar-box,
.filter-box,
.card,
.editorial-card,
.routine-card,
.faq-card,
.auth-perk,
.timeline-card,
.contact-card,
.shop-intro-card,
.product-gallery,
.product-details,
.product-tabs,
.review-form,
.review-item,
.article-single,
.about-text,
.table-responsive,
.live-chat-panel,
.live-chat-form {
    background: linear-gradient(145deg, rgba(30, 29, 29, .96), rgba(20, 20, 20, .96)) !important;
    border-color: rgba(207, 138, 104, .24) !important;
    color: var(--ink) !important;
}
.premium-category-grid .category-card,
.brand-box {
    background:
        radial-gradient(circle at 0% 100%, rgba(207, 138, 104, .20), transparent 12rem),
        linear-gradient(145deg, rgba(38, 35, 34, .96), rgba(17, 17, 17, .96)) !important;
}
.banner-slide,
.hero-empty {
    background:
        radial-gradient(circle at 14% 14%, rgba(231, 176, 140, .20), transparent 18rem),
        linear-gradient(135deg, #191817, #0d0d0e) !important;
    border-color: rgba(207, 138, 104, .28) !important;
}
.banner-slide::after {
    background: linear-gradient(90deg, rgba(15, 15, 16, .04), rgba(15, 15, 16, .74)) !important;
}
.header-nav a:hover,
.mobile-nav a:hover,
.panel-nav a:hover,
.panel-nav a.active,
.filter-list a:hover,
.category-list a:hover {
    background: rgba(207, 138, 104, .14) !important;
    color: var(--accent) !important;
}
input,
textarea,
select,
.search-input,
.form-control {
    background: rgba(15, 15, 16, .76) !important;
    border-color: rgba(207, 138, 104, .26) !important;
    color: var(--ink) !important;
}
input::placeholder,
textarea::placeholder {
    color: rgba(247, 238, 232, .52) !important;
}
.live-chat-message.user {
    background: linear-gradient(135deg, #e7b08c, #9f5f43) !important;
    color: #161111 !important;
}
.live-chat-message.admin {
    background: rgba(35, 33, 33, .96) !important;
    border-color: rgba(207, 138, 104, .24) !important;
}

/* FINAL page coverage: auth, account, cart, checkout, articles, admin-like fragments. */
body .auth-panel,
body .auth-tabs,
body .auth-tab,
body .auth-form,
body .auth-form h2,
body .form-section,
body .shop-toolbar,
body .product-info,
body .article-content,
body .cart-table,
body .checkout-form,
body .order-summary,
body .dashboard-card,
body .order-card,
body .profile-card,
body .favorite-card,
body .ticket-card,
body .ticket-compose,
body .ticket-admin-card,
body .ticket-message,
body .ticket-reply,
body .ticket-bubble,
body .ticket-waiting,
body .user-info,
body .panel-nav,
body .panel-menu-toggle,
body .table,
body .orders-table,
body .alert,
body .breadcrumb,
body .product-description,
body .article-body,
body .page-content,
body .why-us,
body .about-content,
body .contact-layout,
body .magazine-layout,
body .cart-layout,
body .checkout-layout,
body .product-main,
body .page-hero,
body .contact-hero,
body .magazine-hero,
body .about-hero {
    color: var(--ink) !important;
    border-color: rgba(207, 138, 104, .24) !important;
}
body .auth-panel,
body .auth-tabs,
body .form-section,
body .shop-toolbar,
body .dashboard-card,
body .order-card,
body .profile-card,
body .favorite-card,
body .ticket-card,
body .ticket-compose,
body .ticket-admin-card,
body .ticket-message,
body .ticket-reply,
body .ticket-bubble,
body .ticket-waiting,
body .user-info,
body .panel-nav,
body .panel-menu-toggle,
body .table,
body .orders-table,
body .cart-table,
body .alert,
body .page-hero,
body .contact-hero,
body .magazine-hero,
body .about-hero,
body .why-us {
    background: linear-gradient(145deg, rgba(30, 29, 29, .96), rgba(20, 20, 20, .96)) !important;
    box-shadow: var(--shadow-soft) !important;
}
body .auth-tab {
    background: transparent !important;
    color: var(--muted) !important;
}
body .auth-tab.active,
body .tab-btn.active {
    background: linear-gradient(135deg, rgba(231, 176, 140, .20), rgba(207, 138, 104, .10)) !important;
    color: var(--accent) !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .24) !important;
}
body label,
body .form-group label,
body .results-count,
body .shop-sort label,
body .product-name,
body .article-title,
body .footer-col h4,
body .why-item h4,
body .feature-card h3,
body .trust-box h4,
body .routine-card h3,
body .shop-intro-card h3,
body .auth-form h2,
body .page-header h1,
body .section-title,
body h1,
body h2,
body h3,
body h4 {
    color: var(--ink) !important;
}
body p,
body small,
body .muted,
body .product-short-desc,
body .article-summary,
body .article-body,
body .about-text p,
body .content-box p,
body .order-card p,
body .ticket-meta-row,
body .product-meta,
body .footer-col li,
body .footer-col a {
    color: var(--muted) !important;
}
body .footer-col a:hover,
body .breadcrumb a,
body .product-price,
body .current-price,
body .discount-price,
body .current-price-large,
body .discount-price-large {
    color: var(--accent) !important;
}
body th {
    background: rgba(207, 138, 104, .12) !important;
    color: var(--accent) !important;
    border-color: rgba(207, 138, 104, .20) !important;
}
body td {
    color: var(--ink) !important;
    border-color: rgba(207, 138, 104, .14) !important;
}
body .alert-error,
body .alert-danger {
    background: rgba(208, 111, 107, .14) !important;
    color: #ffb8b4 !important;
    border-color: rgba(208, 111, 107, .34) !important;
}
body .alert-success {
    background: rgba(111, 176, 140, .14) !important;
    color: #b9f0d2 !important;
    border-color: rgba(111, 176, 140, .34) !important;
}
body .login-page,
body .shop-page,
body .product-page,
body .magazine-page,
body .article-page,
body .cart-page,
body .checkout-page,
body .contact-page,
body .about-page,
body .user-panel,
body .success-page {
    background: transparent !important;
}
body .auth-wrapper-single {
    background:
        radial-gradient(circle at 16% 8%, rgba(231, 176, 140, .10), transparent 15rem),
        linear-gradient(145deg, rgba(24, 24, 24, .90), rgba(16, 16, 16, .90)) !important;
    border: 1px solid rgba(207, 138, 104, .24) !important;
}
body .summary-row,
body .summary-total,
body .order-item,
body .order-items,
body .payment-methods,
body .payment-method,
body .info-item,
body .ingredients-table,
body .ingredients-table-wrapper,
body .review-header,
body .ticket-layout,
body .ticket-flow-hint,
body .ticket-stats-mini span,
body .pro-ticket-form,
body .pro-ticket-list,
body .recent-orders,
body .orders-list,
body .profile-form,
body .product-action-row,
body .product-features,
body .feature-item,
body .colors-grid,
body .color-option,
body .quantity-selector,
body .breadcrumb span,
body .status-badge,
body .badge,
body .active-filter,
body .mini-badge,
body .hero-badges span {
    background: rgba(207, 138, 104, .08) !important;
    border-color: rgba(207, 138, 104, .24) !important;
    color: var(--ink) !important;
}
body .status-badge,
body .badge,
body .active-filter,
body .mini-badge,
body .hero-badges span {
    color: var(--accent) !important;
}
body .remove-btn,
body .btn-danger {
    background: rgba(208, 111, 107, .14) !important;
    border-color: rgba(208, 111, 107, .34) !important;
    color: #ffb8b4 !important;
}
body .btn-warning {
    background: rgba(217, 155, 76, .14) !important;
    color: #ffd29a !important;
}
body .btn-info {
    background: rgba(135, 168, 189, .14) !important;
    color: #bfe4f4 !important;
}
body .btn-success {
    background: rgba(111, 176, 140, .18) !important;
    color: #b9f0d2 !important;
}

/* Final user panel charcoal rose-gold coverage. */
body .user-panel .panel-layout,
body .user-panel .panel-sidebar,
body .user-panel .panel-content,
body .user-panel .welcome-box,
body .user-panel .stat-box,
body .user-panel .routine-card,
body .user-panel .recent-orders,
body .user-panel .profile-form,
body .user-panel .orders-list,
body .user-panel .favorites-grid,
body .user-panel .ticket-layout,
body .user-panel .ticket-compose,
body .user-panel .ticket-card,
body .user-panel .empty-state,
body .user-panel .card {
    background: linear-gradient(145deg, rgba(30, 29, 29, .96), rgba(20, 20, 20, .96)) !important;
    border-color: rgba(207, 138, 104, .24) !important;
    color: var(--ink) !important;
    box-shadow: var(--shadow-soft) !important;
}
body .user-panel .panel-sidebar {
    position: relative;
    overflow: hidden;
}
body .user-panel .panel-sidebar::before,
body .user-panel .panel-content::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #cf8a68, transparent);
}
body .user-panel .panel-content {
    position: relative;
    overflow: hidden;
}
body .user-panel .user-avatar,
body .user-panel .stat-box i {
    color: #e7b08c !important;
    background: rgba(207, 138, 104, .12) !important;
    border-color: rgba(207, 138, 104, .28) !important;
}
body .user-panel .panel-nav a {
    color: rgba(247, 238, 232, .74) !important;
    border-color: transparent !important;
}
body .user-panel .panel-nav a i {
    color: rgba(231, 176, 140, .76) !important;
}
body .user-panel .panel-nav a:hover,
body .user-panel .panel-nav a.active {
    background: rgba(207, 138, 104, .14) !important;
    color: #fff !important;
    border-color: rgba(207, 138, 104, .26) !important;
}
body .user-panel table,
body .user-panel .orders-table {
    background: rgba(15, 15, 16, .58) !important;
    border-color: rgba(207, 138, 104, .22) !important;
}
body .user-panel input,
body .user-panel textarea,
body .user-panel select,
body .user-panel .form-control {
    background: rgba(15, 15, 16, .76) !important;
    border-color: rgba(207, 138, 104, .26) !important;
    color: var(--ink) !important;
}
body .user-panel input:focus,
body .user-panel textarea:focus,
body .user-panel select:focus {
    border-color: #cf8a68 !important;
    box-shadow: 0 0 0 3px rgba(207, 138, 104, .18) !important;
}

/* Rex Shops fixed World of Warcraft theme */
:root {
    --bg: #0B0C10;
    --surface: #1F2833;
    --surface-2: #151B24;
    --ink: #E2E8F0;
    --muted: #94A3B8;
    --line: rgba(245, 158, 11, .18);
    --brand: #F59E0B;
    --brand-dark: #FFB900;
    --accent: #10B981;
    --success: #10B981;
    --danger: #991B1B;
    --alliance: #1E3A8A;
    --horde: #991B1B;
    --warning: #F59E0B;
    --info: #1E3A8A;
    --shadow: 0 22px 70px rgba(0, 0, 0, .46);
    --shadow-soft: 0 14px 42px rgba(0, 0, 0, .32);
}

html { color-scheme: dark; }
body {
    color: var(--ink) !important;
    background:
        radial-gradient(circle at 12% 0%, rgba(30, 58, 138, .28), transparent 28rem),
        radial-gradient(circle at 88% 8%, rgba(153, 27, 27, .22), transparent 30rem),
        linear-gradient(180deg, #0B0C10 0%, #0B0C10 42%, #07080B 100%) !important;
}

.site-header,
.header-main,
.mobile-nav,
.site-footer,
.mega-menu,
.live-chat-panel {
    background: rgba(31, 40, 51, .96) !important;
    border-color: rgba(245, 158, 11, .16) !important;
}
.site-header { box-shadow: 0 12px 44px rgba(0,0,0,.42); }
.header-top { background: #151B24 !important; color: var(--muted) !important; border-bottom-color: rgba(226,232,240,.08) !important; }
.site-name,
h1, h2, h3, h4,
.section-title,
.page-header h1,
.product-name,
.product-details h1,
.footer-logo h3,
.footer-col h4 { color: var(--ink) !important; }
p, small,
.page-header p,
.product-short-desc,
.article-meta,
.breadcrumb,
.footer-col p,
.footer-col a,
.footer-contact li { color: var(--muted) !important; }

a:hover,
.header-nav a:hover,
.footer-col a:hover { color: var(--brand) !important; }

.btn-primary,
.btn-add-cart,
.search-form-sidebar button,
.page-link.active,
.page-link:hover,
.favorite-btn.active,
.favorite-btn:hover,
.banner-content .banner-btn {
    background: linear-gradient(135deg, #FFB900, #F59E0B) !important;
    border-color: #F59E0B !important;
    color: #0B0C10 !important;
    box-shadow: 0 0 26px rgba(245, 158, 11, .28) !important;
}
.btn-secondary,
.btn-outline,
.view-all,
.read-more,
.slider-arrows button,
.filter-toggle-mobile,
.user-icon,
.cart-icon,
.mobile-menu-toggle,
.search-toggle {
    background: #1F2833 !important;
    border-color: rgba(226,232,240,.12) !important;
    color: var(--ink) !important;
}
.btn-outline:hover,
.view-all:hover,
.read-more:hover,
.slider-arrows button:hover { border-color: var(--brand) !important; color: var(--brand) !important; }

.category-card,
.brand-box,
.trust-box,
.feature-card,
.why-item,
.info-box,
.stat-box,
.welcome-box,
.content-box,
.success-box,
.empty-state,
.no-results-message,
.no-products,
.no-data,
.no-articles,
.login-box,
.auth-wrapper,
.contact-form-wrapper,
.contact-info,
.cart-summary,
.checkout-summary,
.panel-sidebar,
.panel-content,
.sidebar-box,
.filter-box,
.card,
.product-card,
.article-card,
.product-gallery,
.product-details,
.cart-items,
.checkout-details,
.article-single,
.empty-cart-message,
.shop-toolbar,
.shop-intro-card,
.routine-card,
.product-tabs,
.service-order-box,
.product-kind-banner,
.review-form,
.review-item,
.login-prompt,
.table-responsive,
.order-summary,
.checkout-form,
.breadcrumb {
    background:
        linear-gradient(145deg, rgba(31,40,51,.96), rgba(21,27,36,.98)),
        repeating-linear-gradient(135deg, rgba(226,232,240,.025) 0 1px, transparent 1px 8px) !important;
    border: 1px solid rgba(245,158,11,.16) !important;
    color: var(--ink) !important;
    box-shadow: var(--shadow-soft) !important;
}
.product-card:hover,
.category-card:hover,
.article-card:hover,
.mega-category-card:hover > a,
.article-branch-list li:hover > a {
    border-color: rgba(245, 158, 11, .45) !important;
    box-shadow: 0 0 30px rgba(245, 158, 11, .14), var(--shadow) !important;
}
.product-image,
.main-image,
.search-input,
.header-search-box,
input,
textarea,
select,
.form-control,
.quantity-selector input {
    background: #0B0C10 !important;
    color: var(--ink) !important;
    border-color: rgba(226,232,240,.12) !important;
}
input::placeholder,
textarea::placeholder { color: rgba(148,163,184,.78) !important; }

.current-price,
.discount-price,
.current-price-large,
.discount-price-large,
.product-price,
.product-rating i,
.review-rating i,
.star-rating label,
.mega-product-card b { color: var(--brand) !important; }
.original-price,
.original-price-large { color: var(--muted) !important; }
.stock-info,
.badge-success,
.alert-success,
.live-chat-toggle,
.feature-item .fa-check,
.product-features .feature-item:first-child i { color: var(--accent) !important; }
.discount-badge,
.discount-badge-large,
.mini-badge,
.hero-badges span {
    background: rgba(245, 158, 11, .12) !important;
    border: 1px solid rgba(245, 158, 11, .28) !important;
    color: var(--brand) !important;
}
.filter-item:has(input[value="Horde"]),
.filter-item:has(input[value="هورد"]),
.horde-tag { border-color: rgba(153,27,27,.45) !important; background: rgba(153,27,27,.16) !important; }
.filter-item:has(input[value="Alliance"]),
.filter-item:has(input[value="الاینس"]),
.alliance-tag { border-color: rgba(30,58,138,.55) !important; background: rgba(30,58,138,.18) !important; }

.has-mega:hover > .mega-menu,
.has-mega.mega-open > .mega-menu { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
.has-mega::after {
    content: '';
    position: absolute;
    left: -8px;
    right: -8px;
    top: 100%;
    height: 18px;
    z-index: 79;
}
.header-nav > ul > li { position: relative; }
.mega-menu {
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    min-width: min(980px, calc(100vw - 32px));
    display: grid;
    grid-template-columns: 1fr 270px;
    gap: 18px;
    padding: 18px;
    border-radius: 22px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    pointer-events: none;
    transition: .2s ease;
    z-index: 80;
}
.compact-mega .mega-menu { min-width: 280px; grid-template-columns: 1fr; padding: 12px; }
.mega-heading { margin-bottom: 12px; }
.mega-heading span { display: block; color: var(--muted); font-size: 12px; }
.mega-heading strong { color: var(--brand); font-size: 18px; }
.mega-category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.mega-category-card { position: relative; }
.mega-category-card::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 100%;
    width: 12px;
    z-index: 89;
}
.mega-category-card > a,
.article-branch-list a {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 46px;
    padding: 7px 9px;
    border: 1px solid rgba(226,232,240,.09);
    border-radius: 12px;
    background: rgba(11,12,16,.58);
    color: var(--ink);
}
.mega-category-logo { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; background: rgba(245, 158, 11, .12); color: var(--brand); flex: 0 0 auto; }
.mega-category-logo img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.mega-nested,
.article-nested {
    position: absolute;
    top: 0;
    right: calc(100% + 8px);
    width: 310px;
    padding: 10px;
    border-radius: 16px;
    background: #1F2833;
    border: 1px solid rgba(245, 158, 11, .18);
    box-shadow: var(--shadow-soft);
    opacity: 0;
    visibility: hidden;
    transform: translateX(8px);
    transition: .18s ease;
    z-index: 90;
}
.mega-category-card:hover > .mega-nested,
.article-branch-list li:hover > .article-nested { opacity: 1; visibility: visible; transform: translateX(0); }
.mega-products { border-right: 1px solid rgba(226,232,240,.09); padding-right: 16px; overflow: hidden; }
.mega-product-slider { display: grid; grid-auto-flow: column; grid-auto-columns: 138px; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.mega-product-card { position: relative; min-height: 168px; border-radius: 16px; overflow: hidden; scroll-snap-align: start; background: #0B0C10; border: 1px solid rgba(226,232,240,.1); padding: 8px; display: flex; flex-direction: column; justify-content: flex-end; }
.mega-product-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .62; }
.mega-product-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent, rgba(11,12,16,.9)); }
.mega-product-card span,
.mega-product-card b { position: relative; z-index: 1; color: #fff; font-size: 12px; line-height: 1.5; }
.article-branch-list { display: grid; gap: 7px; }
.article-branch-list li { position: relative; }
.article-branch-list a { justify-content: space-between; }

.banner-slide { background: #0B0C10 !important; border: 1px solid rgba(245,158,11,.18); }
.banner-slide::after { background: linear-gradient(90deg, rgba(11,12,16,.1), rgba(11,12,16,.82)) !important; }
.wow-category-card { min-width: 148px; min-height: 132px; align-items: center; justify-content: center; text-align: center; }
.category-rune { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 18px; color: var(--brand); background: rgba(245, 158, 11, .12); font-size: 24px; }
.bestseller-row .product-card { border-radius: 28px; }
.new-row .product-card { border-radius: 18px; }
.popular-row .product-card { border-color: rgba(16,185,129,.24) !important; }
.gametime-row .product-card { border-color: rgba(30,58,138,.55) !important; }
.product-kind-banner { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 18px; border-radius: 18px; margin-bottom: 18px; }
.product-kind-banner span { color: var(--brand); font-weight: 900; }
.service-order-box { margin: 16px 0; padding: 16px; border-radius: 18px; }
.service-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.service-form-grid label { display: grid; gap: 6px; color: var(--muted); font-weight: 700; }
.live-chat-toggle { background: linear-gradient(135deg, #10B981, #1E3A8A) !important; box-shadow: 0 0 24px rgba(16,185,129,.25); color: #fff !important; }

@media (max-width: 1180px) {
    .mega-menu { right: auto; left: 0; min-width: min(900px, calc(100vw - 28px)); }
    .mega-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
    .desktop-nav .has-mega { display: none; }
    .header-search { display: none; }
}
@media (max-width: 680px) {
    .service-form-grid { grid-template-columns: 1fr; }
    .product-kind-banner { align-items: flex-start; flex-direction: column; }
    .wow-category-card { min-width: 130px; }
}

/* Horizontal overflow hard fix */
html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip !important;
}
body { position: relative; }
.site-header,
.main-content,
.site-footer,
.hero-banner,
.products-section,
.categories-section,
.page-content,
.shop-page,
.product-page,
.magazine-page,
.cart-page,
.checkout-page,
.user-panel,
.container {
    max-width: 100%;
}
img,
video,
iframe,
table { max-width: 100%; }
.banner-slider { width: min(1480px, calc(100% - 20px)) !important; max-width: 100%; }
.product-slider,
.premium-brand-slider,
.mega-product-slider {
    max-width: 100%;
    overscroll-behavior-inline: contain;
}
.mega-menu {
    max-width: calc(100vw - 32px) !important;
    min-width: min(980px, calc(100vw - 32px)) !important;
    right: 0;
    left: auto;
}
.compact-mega .mega-menu {
    min-width: min(280px, calc(100vw - 32px)) !important;
}
.mega-nested,
.article-nested {
    max-width: calc(100vw - 32px);
}
@supports not (overflow-x: clip) {
    html,
    body { overflow-x: hidden !important; }
}
@media (max-width: 1180px) {
    .mega-menu {
        right: 50% !important;
        left: auto !important;
        transform: translate(50%, 10px);
    }
    .has-mega:hover > .mega-menu,
    .has-mega.mega-open > .mega-menu { transform: translate(50%, 0); }
}
@media (max-width: 680px) {
    .product-slider { grid-auto-columns: minmax(0, calc((100% - 12px) / 2)) !important; }
    .banner-slider { width: calc(100% - 10px) !important; }
}

/* WoW Product Detail Page */
.wow-product-page { padding: 24px 0 60px; }
.wow-breadcrumb { margin-bottom: 20px; font-size: 13px; color: var(--muted); }
.wow-breadcrumb a { color: var(--brand); }
.wow-product-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-bottom: 36px; }
.wow-main-image { position: relative; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); background: var(--surface-2); }
.wow-main-image img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.faction-badge { position: absolute; top: 14px; right: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; font-size: 12px; font-weight: 800; backdrop-filter: blur(8px); }
.faction-horde { background: rgba(185,28,28,.85); color: #fff; }
.faction-alliance { background: rgba(29,78,216,.85); color: #fff; }
.faction-both { background: rgba(0,0,0,.65); color: #fff; }
.wow-product-title { font-size: clamp(24px, 3vw, 34px); font-weight: 950; margin-bottom: 6px; line-height: 1.3; }
.wow-product-subtitle { color: var(--muted); font-size: 14px; margin-bottom: 16px; direction: ltr; text-align: right; }
.wow-gold-price { color: #F59E0B !important; font-size: clamp(22px, 2.5vw, 30px) !important; font-weight: 950 !important; }
.wow-price-panel { margin: 14px 0 18px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price-from-label { color: var(--muted); font-size: 12px; }
.wow-status-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.stock-badge, .delivery-badge { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 800; }
.stock-badge.in-stock { background: rgba(16,185,129,.14); color: #059669; }
.stock-badge.out-of-stock { background: rgba(239,68,68,.12); color: #dc2626; }
.delivery-badge { background: rgba(245,158,11,.14); color: #d97706; }
.wow-purchase-form { padding: 20px; border-radius: 22px; border: 1px solid var(--line); background: linear-gradient(145deg, rgba(245,158,11,.06), transparent); }
.wow-label { display: block; margin-bottom: 7px; font-weight: 800; font-size: 13px; }
.wow-input { width: 100%; border-radius: 14px; }
.variant-options { display: grid; gap: 10px; }
.variant-option { display: block; cursor: pointer; }
.variant-option input { display: none; }
.variant-label { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border: 2px solid var(--line); border-radius: 14px; transition: .2s; }
.variant-option input:checked + .variant-label { border-color: #F59E0B; background: rgba(245,158,11,.1); }
.variant-option.out-of-stock { opacity: .5; pointer-events: none; }
.btn-wow-cart { width: 100%; margin-top: 14px; background: linear-gradient(135deg, #F59E0B, #10B981) !important; border: none !important; color: #fff !important; font-weight: 900; font-size: 16px; padding: 16px; border-radius: 16px; transition: transform .2s, box-shadow .2s; }
.btn-wow-cart:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(245,158,11,.35); }
.wow-features { margin-top: 16px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.wow-tabs { margin-top: 10px; }
.wow-fixed-realm { font-size: 13px; color: var(--muted); margin: 8px 0; }
.wow-related-section { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.wow-related-section .section-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.wow-related-slider { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 260px); gap: 16px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.wow-related-slider .product-card { scroll-snap-align: start; min-width: 0; }
@media (max-width: 900px) {
    .wow-product-hero { grid-template-columns: 1fr; gap: 20px; }
    .wow-features { grid-template-columns: 1fr; }
}

/* ===== Home page sections — distinct sliders ===== */
.home-section { padding: 28px 0; }
.home-section + .home-section { border-top: 1px solid rgba(226,232,240,.08); }
.home-section-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.home-section-heading { display: flex; align-items: center; gap: 14px; }
.home-section-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 18px; font-size: 20px; flex: 0 0 auto; }
.home-section-sub { margin: 4px 0 0; font-size: 13px; color: var(--muted); }
.home-section-actions { display: flex; align-items: center; gap: 12px; margin-inline-start: auto; }
.home-slider { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 260px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; overscroll-behavior-inline: contain; }
.home-slider > * { scroll-snap-align: start; min-width: 0; }
.home-slider::-webkit-scrollbar { height: 6px; }
.home-slider::-webkit-scrollbar-thumb { background: var(--line); border-radius: 99px; }

/* Section themes — header */
.home-theme-categories .home-section-icon { background: rgba(245,158,11,.15); color: #F59E0B; }
.home-theme-bestseller .home-section-icon { background: rgba(234,179,8,.18); color: #EAB308; }
.home-theme-new .home-section-icon { background: rgba(16,185,129,.15); color: #10B981; }
.home-theme-popular .home-section-icon { background: rgba(239,68,68,.14); color: #EF4444; }
.home-theme-midnight .home-section-icon { background: rgba(168,85,247,.18); color: #C084FC; }
.home-theme-gametime .home-section-icon { background: rgba(59,130,246,.16); color: #3B82F6; }
.home-theme-magazine .home-section-icon { background: rgba(168,85,247,.15); color: #A855F7; }

/* Categories slider */
.home-categories { background: linear-gradient(180deg, rgba(245,158,11,.04), transparent); }
.category-home-slider { grid-auto-columns: minmax(130px, 150px); gap: 12px; }
.home-category-card { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 148px; padding: 16px 12px; border-radius: 22px; border: 1px solid rgba(245,158,11,.22); background: linear-gradient(160deg, rgba(245,158,11,.08), rgba(11,12,16,.4)); text-align: center; transition: .22s ease; }
.home-category-card:hover { transform: translateY(-4px); border-color: rgba(245,158,11,.45); box-shadow: 0 14px 30px rgba(245,158,11,.12); }
.home-category-card img { width: 56px; height: 56px; object-fit: cover; border-radius: 16px; }
.home-category-icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 16px; background: rgba(245,158,11,.14); color: #F59E0B; font-size: 24px; }
.home-category-card h3 { font-size: 13px; font-weight: 800; line-height: 1.4; }

/* Bestseller cards — gold premium */
.home-bestsellers { background: linear-gradient(180deg, rgba(234,179,8,.05), transparent); }
.home-card-bestseller .product-card { border-radius: 28px; border: 2px solid rgba(234,179,8,.35); background: linear-gradient(165deg, rgba(234,179,8,.07), var(--surface)); box-shadow: 0 10px 28px rgba(234,179,8,.08); }
.home-card-bestseller .product-card::before { content: 'پرفروش'; position: absolute; top: 12px; right: 12px; z-index: 4; padding: 4px 10px; border-radius: 999px; background: linear-gradient(135deg, #EAB308, #F59E0B); color: #111; font-size: 10px; font-weight: 900; }
.home-card-bestseller .product-card { position: relative; }
.home-card-bestseller .btn-add-cart { background: linear-gradient(135deg, #EAB308, #CA8A04) !important; border-color: transparent !important; }

/* New products — fresh mint */
.home-new { background: linear-gradient(180deg, rgba(16,185,129,.04), transparent); }
.home-card-new .product-card { border-radius: 16px; border: 1px dashed rgba(16,185,129,.45); background: linear-gradient(160deg, rgba(16,185,129,.06), var(--surface)); }
.home-card-new .product-image::after { content: 'جدید'; position: absolute; top: 10px; left: 10px; z-index: 3; padding: 4px 9px; border-radius: 8px; background: #10B981; color: #fff; font-size: 10px; font-weight: 900; }
.home-card-new .product-image { position: relative; }
.home-card-new .btn-add-cart { background: #059669 !important; border-color: #059669 !important; }

/* Popular — warm fire */
.home-popular { background: linear-gradient(180deg, rgba(239,68,68,.04), transparent); }
.home-card-popular .product-card { border-radius: 22px; border: 1px solid rgba(239,68,68,.28); background: linear-gradient(155deg, rgba(239,68,68,.07), var(--surface)); }
.home-card-popular .product-card:hover { box-shadow: 0 12px 26px rgba(239,68,68,.12); }
.home-card-popular .current-price, .home-card-popular .discount-price { color: #F87171 !important; }
.home-card-popular .btn-add-cart { background: linear-gradient(135deg, #EF4444, #DC2626) !important; border-color: transparent !important; }

.premium-slider-section { background: radial-gradient(circle at 12% 0%, rgba(239,68,68,.12), transparent 22rem), linear-gradient(180deg, #11111f, #0d0d15); }
.premium-product-slider { grid-auto-columns: minmax(260px, 315px); gap: 18px; }
.premium-product-card {
    position: relative;
    overflow: hidden;
    min-height: 390px;
    border-radius: 30px;
    background: linear-gradient(155deg, rgba(255,255,255,.08), rgba(255,255,255,.025));
    border: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 24px 58px rgba(0,0,0,.24);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.premium-product-card::before {
    content: "";
    position: absolute;
    inset: -40% -20% auto auto;
    width: 210px;
    height: 210px;
    border-radius: 50%;
    background: rgba(249,115,22,.28);
    filter: blur(30px);
    pointer-events: none;
}
.premium-product-card:hover { transform: translateY(-8px); border-color: rgba(245,166,35,.45); box-shadow: 0 30px 70px rgba(0,0,0,.38); }
.premium-product-image { position: relative; display: block; height: 205px; overflow: hidden; }
.premium-product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease, filter .35s ease; }
.premium-product-card:hover .premium-product-image img { transform: scale(1.08); filter: saturate(1.15); }
.premium-product-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 42%, rgba(0,0,0,.78)); }
.premium-product-image span {
    position: absolute;
    z-index: 1;
    right: 14px;
    top: 14px;
    padding: 6px 11px;
    border-radius: 999px;
    color: #1b1000;
    background: linear-gradient(135deg, #ffd166, #f97316);
    font-size: 11px;
    font-weight: 950;
}
.premium-product-body { position: relative; z-index: 1; display: grid; gap: 9px; padding: 18px; }
.premium-product-body small { color: #aeb3c8; }
.premium-product-body h3 { min-height: 58px; margin: 0; color: #fff; font-size: 17px; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.premium-product-body h3 a { color: inherit; }
.premium-product-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 6px; }
.premium-product-bottom strong { color: #facc15; font-size: 16px; font-weight: 950; white-space: nowrap; }
.premium-product-bottom button {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 15px;
    cursor: pointer;
    color: #111827;
    background: linear-gradient(135deg, #facc15, #f97316);
    box-shadow: 0 12px 28px rgba(249,115,22,.28);
}
.fire-card { border-color: rgba(239,68,68,.24); }
.fire-card::before { background: rgba(239,68,68,.28); }

.animated-bg-section {
    position: relative;
    overflow: hidden;
    padding: 58px 0;
    background: #080910;
    isolation: isolate;
}
.animated-bg-section::before {
    content: "";
    position: absolute;
    inset: -8%;
    z-index: -2;
    background-image: var(--section-bg);
    background-size: cover;
    background-position: center;
    opacity: .34;
    filter: saturate(1.18) contrast(1.05);
    animation: animatedSectionBg 18s ease-in-out infinite alternate;
}
.animated-bg-section::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 20% 20%, rgba(168,85,247,.28), transparent 24rem),
        radial-gradient(circle at 82% 72%, rgba(245,166,35,.17), transparent 23rem),
        linear-gradient(180deg, rgba(5,6,12,.74), rgba(5,6,12,.94));
}
@keyframes animatedSectionBg {
    from { transform: scale(1.02) translate3d(-1.5%, -1%, 0); }
    to { transform: scale(1.12) translate3d(1.5%, 1%, 0); }
}
.home-midnight-animated .home-section-header,
.home-gametime-animated .home-section-header { color: #fff; }
.home-midnight-animated .home-section-sub,
.home-gametime-animated .home-section-sub { color: #cbd5e1; }
.midnight-card { border-color: rgba(168,85,247,.32); background: linear-gradient(155deg, rgba(88,28,135,.4), rgba(10,10,18,.88)); }
.midnight-card::before { background: rgba(168,85,247,.34); }
.midnight-card .premium-product-bottom button { color: #fff; background: linear-gradient(135deg, #7c3aed, #db2777); }
.home-gametime-animated::after {
    background:
        radial-gradient(circle at 18% 20%, rgba(59,130,246,.31), transparent 24rem),
        radial-gradient(circle at 86% 72%, rgba(56,189,248,.18), transparent 23rem),
        linear-gradient(180deg, rgba(3,7,18,.68), rgba(3,7,18,.94));
}

/* Game time — arcane blue */
.home-gametime { background: linear-gradient(180deg, rgba(59,130,246,.06), transparent); }
.home-card-gametime .product-card { border-radius: 20px; border: 1px solid rgba(59,130,246,.35); background: linear-gradient(160deg, rgba(30,58,138,.12), rgba(11,12,16,.6)); }
.home-card-gametime .product-name { color: #BFDBFE; }
.home-card-gametime .product-image { background: rgba(30,58,138,.2); }
.home-card-gametime .btn-add-cart { background: linear-gradient(135deg, #2563EB, #1E40AF) !important; border-color: transparent !important; }

.gametime-slider { grid-auto-columns: minmax(280px, 340px); gap: 18px; }
.gametime-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; margin-bottom: 28px; }
.gametime-card { position: relative; overflow: hidden; border-radius: 30px; border: 1px solid rgba(96,165,250,.35); background: radial-gradient(circle at 20% 0%, rgba(59,130,246,.34), transparent 14rem), linear-gradient(145deg, rgba(10,18,38,.96), rgba(8,9,14,.98)); box-shadow: 0 22px 54px rgba(37,99,235,.16); min-height: 390px; display: flex; flex-direction: column; }
.gametime-card::before { content: ''; position: absolute; inset: -40% auto auto -20%; width: 180px; height: 180px; border-radius: 50%; background: rgba(147,197,253,.18); filter: blur(24px); }
.gametime-card-visual { position: relative; display: grid; place-items: center; height: 185px; overflow: hidden; background: linear-gradient(135deg, rgba(30,64,175,.45), rgba(2,6,23,.75)); }
.gametime-card-visual img { width: 100%; height: 100%; object-fit: cover; opacity: .86; transition: .3s ease; }
.gametime-card:hover .gametime-card-visual img { transform: scale(1.06) rotate(-1deg); opacity: 1; }
.gametime-orb, .gametime-hero-icon { width: 104px; height: 104px; border-radius: 32px; display: grid; place-items: center; color: #DBEAFE; font-size: 42px; background: radial-gradient(circle, rgba(96,165,250,.45), rgba(30,64,175,.16)); border: 1px solid rgba(191,219,254,.28); box-shadow: inset 0 0 40px rgba(96,165,250,.18), 0 20px 40px rgba(37,99,235,.2); }
.gametime-glow { position: absolute; inset: auto 15% -28px 15%; height: 56px; border-radius: 999px; background: rgba(96,165,250,.45); filter: blur(24px); }
.gametime-card-visual b { position: absolute; top: 14px; right: 14px; padding: 7px 12px; border-radius: 999px; background: rgba(2,6,23,.78); border: 1px solid rgba(147,197,253,.32); color: #BFDBFE; font-size: 12px; }
.gametime-card-body { position: relative; z-index: 1; padding: 18px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.gametime-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.gametime-meta span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; background: rgba(59,130,246,.13); color: #93C5FD; font-size: 11px; font-weight: 800; }
.gametime-card h3 { margin: 0; font-size: 18px; line-height: 1.55; color: #EFF6FF; }
.gametime-card h3 a { color: inherit; }
.gametime-card p { margin: 0; color: #AFC4E8; font-size: 13px; line-height: 1.8; flex: 1; }
.gametime-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: auto; }
.gametime-price { display: flex; flex-direction: column; gap: 2px; }
.gametime-price del, .gametime-detail-price del { color: #7C8AA6; font-size: 12px; }
.gametime-price strong, .gametime-detail-price strong { color: #FBBF24; font-size: 18px; font-weight: 950; }
.gametime-cart-btn { border: 0 !important; color: #06111F !important; background: linear-gradient(135deg, #93C5FD, #38BDF8, #FBBF24) !important; font-weight: 950; box-shadow: 0 12px 28px rgba(56,189,248,.18); }
.shop-gametime-showcase { margin-bottom: 28px; padding: 18px; border-radius: 32px; border: 1px solid rgba(96,165,250,.20); background: linear-gradient(145deg, rgba(30,64,175,.08), rgba(2,6,23,.22)); }
.gametime-detail-page { padding: 28px 0 50px; }
.gametime-hero { display: grid; grid-template-columns: minmax(280px, 420px) 1fr; gap: 28px; align-items: stretch; }
.gametime-hero-art, .gametime-hero-info, .gametime-content-panel { border: 1px solid rgba(96,165,250,.24); background: radial-gradient(circle at 15% 0%, rgba(59,130,246,.18), transparent 18rem), linear-gradient(145deg, rgba(10,18,38,.92), rgba(8,9,14,.96)); border-radius: 34px; box-shadow: 0 22px 54px rgba(37,99,235,.13); }
.gametime-hero-art { position: relative; min-height: 420px; display: grid; place-items: center; overflow: hidden; }
.gametime-hero-art img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.gametime-hero-art span { position: absolute; right: 18px; top: 18px; padding: 8px 14px; border-radius: 999px; background: rgba(2,6,23,.72); color: #BFDBFE; border: 1px solid rgba(147,197,253,.30); }
.gametime-hero-info { padding: 28px; }
.gametime-hero-info h1 { margin: 12px 0; font-size: clamp(28px, 4vw, 48px); color: #EFF6FF; }
.gametime-lead { color: #AFC4E8; line-height: 1.9; font-size: 16px; }
.gametime-specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 22px 0; }
.gametime-specs div { padding: 14px; border-radius: 20px; background: rgba(59,130,246,.11); border: 1px solid rgba(147,197,253,.18); display: grid; gap: 5px; }
.gametime-specs i { color: #60A5FA; font-size: 20px; }
.gametime-specs strong { color: #FBBF24; }
.gametime-specs span { color: #AFC4E8; font-size: 12px; }
.gametime-buy-panel { padding: 18px; border-radius: 26px; background: rgba(2,6,23,.42); border: 1px solid rgba(147,197,253,.16); }
.gametime-detail-price { display: flex; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.gametime-detail-price strong { font-size: 28px; }
.gametime-content-panel { margin-top: 24px; padding: 24px; }
.gametime-content-panel h2 { color: #BFDBFE; margin-top: 0; }
.gametime-content-panel p { color: #DCE9FF; line-height: 2; }

@media (max-width: 820px) {
    .gametime-hero { grid-template-columns: 1fr; }
    .gametime-specs { grid-template-columns: 1fr; }
    .gametime-hero-art { min-height: 280px; }
}

/* Magazine slider — editorial */
.home-magazine { background: linear-gradient(180deg, rgba(168,85,247,.05), transparent); padding-bottom: 36px; }
.home-magazine-slider { grid-auto-columns: minmax(280px, 340px); gap: 18px; }
.home-magazine-card { display: grid; grid-template-rows: 160px 1fr; min-height: 320px; border-radius: 24px; overflow: hidden; border: 1px solid rgba(168,85,247,.25); background: linear-gradient(160deg, rgba(168,85,247,.08), var(--surface)); transition: .22s ease; }
.home-magazine-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(168,85,247,.14); }
.home-magazine-image { display: block; overflow: hidden; }
.home-magazine-image img { width: 100%; height: 100%; object-fit: cover; transition: .3s ease; }
.home-magazine-card:hover .home-magazine-image img { transform: scale(1.05); }
.home-magazine-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; }
.home-magazine-tag { display: inline-flex; align-self: flex-start; padding: 4px 10px; border-radius: 999px; background: rgba(168,85,247,.16); color: #C084FC; font-size: 11px; font-weight: 800; }
.home-magazine-body h3 { font-size: 15px; line-height: 1.5; margin: 0; }
.home-magazine-body h3 a { color: inherit; }
.home-magazine-body p { margin: 0; font-size: 12px; color: var(--muted); line-height: 1.7; flex: 1; }
.home-magazine-body .read-more { font-size: 12px; font-weight: 800; color: #A855F7; }

.home-slider-arrows { display: inline-flex; gap: 8px; }
.home-slider-arrows button {
    width: 40px;
    height: 40px;
    display: inline-grid;
    place-items: center;
    border: 1px solid rgba(245,158,11,.25);
    border-radius: 50%;
    color: #f8fafc;
    background: rgba(255,255,255,.06);
    cursor: pointer;
    transition: .2s ease;
}
.home-slider-arrows button:hover { transform: translateY(-2px); background: rgba(255,255,255,.1); }
.home-theme-new .home-slider-arrows button:hover { border-color: #10B981; color: #10B981; }
.home-theme-popular .home-slider-arrows button:hover { border-color: #EF4444; color: #EF4444; }
.home-theme-midnight .home-slider-arrows button:hover { border-color: #C084FC; color: #C084FC; }
.home-theme-gametime .home-slider-arrows button:hover { border-color: #3B82F6; color: #3B82F6; }
.home-theme-magazine .home-slider-arrows button:hover { border-color: #A855F7; color: #A855F7; }

@media (max-width: 680px) {
    .home-section { padding: 18px 0; }
    .home-section-header { margin-bottom: 12px; }
    .home-section-icon { width: 42px; height: 42px; font-size: 16px; border-radius: 14px; }
    .home-slider { grid-auto-columns: minmax(170px, 78vw); gap: 10px; }
    .premium-product-slider { grid-auto-columns: minmax(235px, 82vw); }
    .premium-product-card { min-height: 340px; border-radius: 22px; }
    .premium-product-image { height: 170px; }
    .animated-bg-section { padding: 34px 0; }
    .category-home-slider { grid-auto-columns: minmax(108px, 120px); }
    .home-magazine-slider { grid-auto-columns: minmax(250px, 85vw); }
    .home-section-actions { width: 100%; justify-content: space-between; }
}

/* Game time mobile refinement — compact, stable and premium */
@media (max-width: 680px) {
    .home-gametime { overflow: hidden; }
    .gametime-slider { grid-auto-columns: minmax(146px, 46vw) !important; gap: 9px; padding-inline: 1px; }
    .gametime-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-bottom: 16px; }
    .shop-gametime-showcase { padding: 10px; border-radius: 18px; margin-bottom: 14px; overflow: hidden; }
    .shop-gametime-showcase .home-section-header { gap: 8px; margin-bottom: 10px; }
    .shop-gametime-showcase .home-section-heading { gap: 8px; min-width: 0; }
    .shop-gametime-showcase .section-title { font-size: 15px; line-height: 1.45; }
    .shop-gametime-showcase .home-section-sub { font-size: 10px; line-height: 1.55; }

    .gametime-card { width: 100%; min-width: 0; min-height: 0; border-radius: 16px; box-shadow: 0 10px 24px rgba(37,99,235,.12); }
    .gametime-card::before { width: 90px; height: 90px; filter: blur(18px); }
    .gametime-card-visual { height: 86px; }
    .gametime-orb { width: 52px; height: 52px; border-radius: 18px; font-size: 22px; }
    .gametime-glow { height: 28px; bottom: -18px; filter: blur(15px); }
    .gametime-card-visual b { top: 7px; right: 7px; padding: 3px 7px; font-size: 9px; max-width: calc(100% - 14px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .gametime-card-body { padding: 9px; gap: 7px; }
    .gametime-meta { gap: 4px; }
    .gametime-meta span { padding: 3px 6px; gap: 3px; font-size: 8.5px; max-width: 100%; }
    .gametime-card h3 { font-size: 11px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 34px; }
    .gametime-card p { font-size: 9.5px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 30px; }
    .gametime-bottom { align-items: stretch; flex-direction: column; gap: 6px; }
    .gametime-price { min-height: 28px; }
    .gametime-price del { font-size: 8.5px; line-height: 1; }
    .gametime-price strong { font-size: 11px; line-height: 1.25; }
    .gametime-cart-btn { width: 100%; min-height: 28px; padding: 5px 6px !important; border-radius: 10px; font-size: 9.5px; gap: 4px; }

    .gametime-detail-page { padding: 8px 0 24px; overflow: hidden; }
    .gametime-detail-page .wow-breadcrumb { margin-bottom: 10px; font-size: 10px; white-space: nowrap; overflow-x: auto; padding-bottom: 3px; }
    .gametime-hero { gap: 10px; }
    .gametime-hero-art, .gametime-hero-info, .gametime-content-panel { border-radius: 18px; box-shadow: 0 12px 28px rgba(37,99,235,.10); }
    .gametime-hero-art { min-height: 150px; max-height: 190px; }
    .gametime-hero-icon { width: 66px; height: 66px; border-radius: 20px; font-size: 28px; }
    .gametime-hero-art span { top: 10px; right: 10px; padding: 4px 9px; font-size: 10px; }
    .gametime-hero-info { padding: 14px; }
    .gametime-hero-info .mini-badge { font-size: 9px; padding: 4px 8px; }
    .gametime-hero-info h1 { margin: 8px 0; font-size: 20px; line-height: 1.45; }
    .gametime-lead { font-size: 11px; line-height: 1.75; margin-bottom: 8px; }
    .gametime-specs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 12px 0; }
    .gametime-specs div { padding: 8px 6px; border-radius: 12px; gap: 3px; text-align: center; }
    .gametime-specs i { font-size: 13px; }
    .gametime-specs strong { font-size: 10px; line-height: 1.35; }
    .gametime-specs span { font-size: 8.5px; }
    .gametime-buy-panel { padding: 10px; border-radius: 16px; }
    .gametime-detail-price { margin-bottom: 10px; gap: 7px; }
    .gametime-detail-price del { font-size: 10px; }
    .gametime-detail-price strong { font-size: 18px; }
    .gametime-buy-panel .form-group { margin-bottom: 8px; }
    .gametime-buy-panel .wow-label { font-size: 10.5px; margin-bottom: 4px; }
    .gametime-buy-panel .wow-input { min-height: 32px; border-radius: 10px; font-size: 11px; }
    .gametime-buy-panel .wow-quantity { margin: 6px 0; }
    .gametime-buy-panel .quantity-selector { max-width: 132px; }
    .gametime-buy-panel .quantity-selector button { width: 30px; height: 30px; }
    .gametime-buy-panel .quantity-selector input { height: 30px; min-height: 30px; font-size: 12px; }
    .gametime-buy-panel .btn-wow-cart { min-height: 36px; padding: 9px 10px; border-radius: 12px; font-size: 12px; margin-top: 8px; }
    .gametime-content-panel { margin-top: 10px; padding: 14px; }
    .gametime-content-panel h2 { font-size: 15px; margin-bottom: 6px; }
    .gametime-content-panel p { font-size: 11px; line-height: 1.85; }
    .gametime-detail-page .home-section { padding: 14px 0 4px; }
    .gametime-detail-page .home-section-header { align-items: center; gap: 8px; }
}

@media (max-width: 390px) {
    .gametime-slider { grid-auto-columns: minmax(138px, 45vw) !important; }
    .gametime-grid { gap: 7px; }
    .gametime-card-body { padding: 8px; }
    .gametime-card-visual { height: 78px; }
    .gametime-card h3 { font-size: 10px; min-height: 31px; }
    .gametime-card p { display: none; }
    .gametime-meta span { font-size: 8px; padding: 3px 5px; }
}

/* Gaming homepage redesign */
:root {
    --bg: #07070d;
    --surface: #10111c;
    --surface-2: #171827;
    --ink: #f7f7ff;
    --muted: #a8abbc;
    --line: rgba(255, 255, 255, .1);
    --brand: #8b5cf6;
    --brand-dark: #5b21b6;
    --accent: #ff9f1c;
    --success: #22c55e;
    --danger: #ef4444;
    --warning: #facc15;
    --shadow: 0 22px 70px rgba(0, 0, 0, .42);
    --shadow-soft: 0 14px 42px rgba(0, 0, 0, .26);
}

body {
    color: var(--ink);
    background:
        radial-gradient(circle at 15% 4%, rgba(139, 92, 246, .22), transparent 24rem),
        radial-gradient(circle at 88% 16%, rgba(255, 159, 28, .14), transparent 22rem),
        linear-gradient(180deg, #06060b 0%, #0b0b14 45%, #07070d 100%);
}

.site-header {
    background: rgba(7, 7, 13, .55);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(139, 92, 246, .16);
    box-shadow: 0 16px 50px rgba(0, 0, 0, .24);
}
.site-header.is-scrolled {
    background: rgba(7, 7, 13, .88);
    border-bottom-color: rgba(167, 139, 250, .28);
}

.header-top {
    border-bottom-color: rgba(255, 255, 255, .06);
    color: #babdd0;
}

.header-main { padding: 12px 0; }
.brand-copy { display: grid; gap: 1px; }
.brand-copy small { color: #a5a7b7; font-size: 11px; line-height: 1.2; }
.site-name { color: #fff; text-shadow: 0 0 18px rgba(139, 92, 246, .44); }
.header-logo img { border-radius: 18px; box-shadow: 0 0 28px rgba(139, 92, 246, .3); }
.header-nav a {
    position: relative;
    background: transparent;
    color: #c9cbda;
}
.header-nav a::after {
    content: "";
    position: absolute;
    right: 16px;
    left: 16px;
    bottom: 4px;
    height: 2px;
    border-radius: 999px;
    background: #a78bfa;
    box-shadow: 0 0 12px rgba(167, 139, 250, .9);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .25s ease;
}
.header-nav a:hover { background: transparent; color: #fff; }
.header-nav a:hover::after { transform: scaleX(1); }
.search-toggle, .user-icon, .cart-icon, .mobile-menu-toggle, .header-search-box {
    background: rgba(255, 255, 255, .07);
    border-color: rgba(255, 255, 255, .12);
    color: #fff;
}
.header-search-box .search-input { color: #fff; }
.header-search-box .search-input::placeholder { color: #85889a; }
.login-pill {
    width: auto;
    min-width: 128px;
    padding: 0 18px;
    gap: 8px;
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    border-color: rgba(216, 180, 254, .38);
    box-shadow: 0 10px 28px rgba(124, 58, 237, .28);
}
.login-pill:hover { box-shadow: 0 0 28px rgba(168, 85, 247, .62); }
.cart-count { background: #f97316; box-shadow: 0 0 16px rgba(249, 115, 22, .75); }
.main-content { overflow: hidden; }

.gaming-hero {
    position: relative;
    min-height: clamp(620px, 84vh, 860px);
    display: grid;
    align-items: center;
    isolation: isolate;
    padding: 70px 0 54px;
}
.gaming-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(8px) saturate(1.2);
    transform: scale(1.04);
    opacity: .56;
    z-index: -2;
}
.gaming-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(7,7,13,.78), rgba(7,7,13,.38), rgba(7,7,13,.88));
    z-index: -1;
}
.hero-3d-card {
    position: relative;
    min-height: 470px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, .78fr);
    gap: 28px;
    align-items: center;
    padding: clamp(24px, 4vw, 54px);
    border: 1px solid rgba(167, 139, 250, .44);
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(17, 18, 32, .76), rgba(9, 10, 20, .54));
    box-shadow: 0 0 0 1px rgba(255,255,255,.04), 0 32px 95px rgba(0,0,0,.58), inset 0 0 55px rgba(139, 92, 246, .1);
    backdrop-filter: blur(22px);
    perspective: 1200px;
    transform-style: preserve-3d;
}
.hero-3d-card::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: radial-gradient(circle at 24% 18%, rgba(139,92,246,.28), transparent 30%), radial-gradient(circle at 76% 48%, rgba(255,159,28,.14), transparent 30%);
    pointer-events: none;
}
.hero-copy { position: relative; z-index: 2; max-width: 650px; }
.neon-badge, .yellow-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 13px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ef4444, #f97316);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    box-shadow: 0 0 20px rgba(249, 115, 22, .44);
}
.hero-copy h1 {
    margin: 18px 0 12px;
    font-size: clamp(34px, 6vw, 74px);
    line-height: 1.12;
    color: #fff;
    letter-spacing: -1.6px;
}
.hero-copy p { color: #c7c9d8; max-width: 570px; font-size: 17px; }
.hero-price { display: flex; align-items: baseline; gap: 14px; margin: 22px 0; }
.hero-price del { color: #8a8d9e; font-size: 17px; }
.hero-price strong { color: #facc15; font-size: clamp(24px, 3vw, 38px); text-shadow: 0 0 18px rgba(250, 204, 21, .32); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary, .btn-add-cart {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    border-color: rgba(216, 180, 254, .34);
    color: #fff;
    box-shadow: 0 14px 32px rgba(124, 58, 237, .34);
}
.btn-primary:hover, .btn-add-cart:hover { background: linear-gradient(135deg, #6d28d9, #9333ea); box-shadow: 0 0 30px rgba(168,85,247,.58); }
.btn-outline { color: #fff; border-color: rgba(255,255,255,.38); background: rgba(255,255,255,.06); }
.btn-outline:hover { background: rgba(139,92,246,.18); color: #fff; border-color: #a78bfa; }
.hero-character {
    position: relative;
    z-index: 1;
    min-height: 360px;
    transform-style: preserve-3d;
}
.hero-character img {
    position: absolute;
    left: -42px;
    bottom: -82px;
    width: min(520px, 115%);
    max-height: 610px;
    object-fit: contain;
    filter: drop-shadow(0 34px 42px rgba(0,0,0,.62));
    transform: translateZ(70px) scale(1.04);
    transition: transform .45s ease, filter .45s ease;
}
.character-aura {
    position: absolute;
    inset: 12% 0 0 8%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139,92,246,.46), rgba(255,159,28,.15) 42%, transparent 68%);
    filter: blur(30px);
    transition: opacity .45s ease, transform .45s ease;
}
.hero-3d-card:hover .hero-character img { transform: translateZ(150px) scale(1.13) rotateY(-4deg); filter: drop-shadow(0 0 34px rgba(167,139,250,.6)) drop-shadow(0 36px 42px rgba(0,0,0,.62)); }
.hero-3d-card:hover .character-aura { opacity: 1; transform: scale(1.16); }

.platform-ribbon {
    border-block: 1px solid rgba(255,255,255,.08);
    background: #0a0a12;
    overflow: hidden;
    padding: 16px 0;
}
.platform-track {
    display: flex;
    gap: 16px;
    width: max-content;
    animation: platformMarquee 28s linear infinite;
}
.platform-ribbon:hover .platform-track { animation-play-state: paused; }
.platform-item {
    position: relative;
    min-width: 170px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 20px;
    border-radius: 16px;
    color: #858899;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    filter: grayscale(1);
}
.platform-item::after {
    content: "⌄";
    position: absolute;
    bottom: -12px;
    opacity: 0;
    color: #facc15;
    transition: .2s ease;
}
.platform-item:hover {
    filter: grayscale(0);
    color: #fff;
    border-color: rgba(167,139,250,.45);
    box-shadow: 0 0 24px rgba(139,92,246,.28);
}
.platform-item:hover::after { bottom: -4px; opacity: 1; }
@keyframes platformMarquee {
    from { transform: translateX(0); }
    to { transform: translateX(50%); }
}

.bestseller-showcase {
    position: relative;
    padding: 34px 0;
    background:
        radial-gradient(circle at 18% 20%, rgba(139,92,246,.22), transparent 24rem),
        radial-gradient(circle at 86% 72%, rgba(250,204,21,.13), transparent 22rem),
        linear-gradient(180deg, #1a1a2e, #10101d);
}
.bestseller-showcase::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.34) 1px, transparent 1px);
    background-size: 34px 34px;
    opacity: .08;
    animation: particles 14s linear infinite;
}
@keyframes particles { to { background-position: 120px -180px; } }
.bestseller-showcase-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(190px, .9fr) minmax(0, 1.9fr) minmax(180px, .72fr);
    gap: 12px;
    align-items: center;
}
.bestseller-showcase-card, .bestseller-products-panel, .bestseller-cta-panel, .newsletter-card {
    border: 1px solid rgba(255,255,255,.1);
    background: rgba(15,16,31,.78);
    border-radius: 16px;
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow-soft);
}
.bestseller-showcase-card, .bestseller-cta-panel { padding: 14px; }
.bestseller-showcase-card { border-color: rgba(167,139,250,.28); }
.bestseller-cta-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-self: center;
    min-height: 178px;
    border-color: rgba(250,204,21,.3);
    background:
        radial-gradient(circle at 30% 12%, rgba(250,204,21,.16), transparent 16rem),
        rgba(15,16,31,.82);
}
.showcase-kicker {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: max-content;
    padding: 4px 9px;
    border-radius: 999px;
    color: #facc15;
    background: rgba(250,204,21,.1);
    border: 1px solid rgba(250,204,21,.24);
    font-size: 10px;
    font-weight: 900;
}
.bestseller-showcase h2, .section-headline h2, .newsletter-card h2 {
    margin: 9px 0 7px;
    font-size: clamp(18px, 2vw, 26px);
    line-height: 1.35;
    color: #fff;
}
.bestseller-cta-panel p, .newsletter-card p { max-width: 520px; color: #c2c5d4; margin-bottom: 12px; line-height: 1.7; font-size: 12px; }
.bestseller-cta-panel .btn { width: max-content; min-height: 32px; padding: 6px 12px; font-size: 11px; }
.main-category-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; margin-top: 10px; }
.main-category-item {
    min-height: 66px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 6px;
    border-radius: 12px;
    color: #f8fafc;
    background: linear-gradient(160deg, rgba(167,139,250,.14), rgba(255,255,255,.045));
    border: 1px solid rgba(167,139,250,.28);
    transition: .22s ease;
}
.main-category-item:hover { transform: translateY(-4px); border-color: rgba(250,204,21,.48); box-shadow: 0 16px 34px rgba(124,58,237,.18); }
.main-category-item span {
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    color: #facc15;
    background: rgba(250,204,21,.1);
    border: 1px solid rgba(250,204,21,.22);
    font-size: 14px;
}
.main-category-item strong { font-size: 11px; }
.bestseller-products-panel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 0; background: transparent; border: 0; box-shadow: none; backdrop-filter: none; }
.showcase-product-box {
    display: grid;
    gap: 7px;
    padding: 10px;
    border-radius: 16px;
    background: rgba(15,16,31,.78);
    border: 1px solid rgba(167,139,250,.24);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(14px);
}
.showcase-box-head {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #f8fafc;
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 2px;
}
.showcase-box-head span {
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    color: #facc15;
    background: rgba(250,204,21,.12);
    border: 1px solid rgba(250,204,21,.22);
    font-size: 12px;
}
.bestseller-mini-card {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    min-height: 54px;
    padding: 7px;
    border-radius: 12px;
    color: #f7f7ff;
    background: linear-gradient(145deg, rgba(255,255,255,.07), rgba(255,255,255,.035));
    border: 1px solid rgba(167,139,250,.22);
    transition: .22s ease;
}
.bestseller-mini-card:hover { transform: translateY(-3px); border-color: rgba(250,204,21,.42); background: rgba(255,255,255,.09); }
.bestseller-mini-icon img { width: 38px; height: 38px; object-fit: cover; border-radius: 10px; border: 1px solid rgba(255,255,255,.12); }
.bestseller-mini-icon i { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; color: #8b90a8; background: rgba(255,255,255,.05); border: 1px dashed rgba(255,255,255,.14); }
.bestseller-mini-copy { min-width: 0; display: grid; gap: 1px; }
.bestseller-mini-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11.5px; line-height: 1.5; }
.bestseller-mini-copy small { color: #aeb3c8; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; }
.bestseller-mini-copy small i { color: #facc15; margin-left: 3px; }
.bestseller-mini-card em {
    padding: 3px 6px;
    border-radius: 999px;
    color: #1d1200;
    background: linear-gradient(135deg, #facc15, #f97316);
    font-size: 9px;
    font-style: normal;
    font-weight: 950;
}
.bestseller-mini-card-empty { opacity: .62; border-style: dashed; pointer-events: none; }
.bestseller-mini-card-empty em { color: #cbd5e1; background: rgba(148,163,184,.16); }
.gaming-product-bottom button, .newsletter-form button {
    border: 0;
    cursor: pointer;
    color: #fff;
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    box-shadow: 0 10px 24px rgba(124,58,237,.32);
}

.steam-wallet-section {
    position: relative;
    padding: 58px 0;
    background:
        radial-gradient(circle at 18% 10%, rgba(245,166,35,.16), transparent 24rem),
        radial-gradient(circle at 86% 80%, rgba(88,166,255,.13), transparent 23rem),
        linear-gradient(180deg, #10101d, #0d0d15);
}
.steam-wallet-card {
    display: grid;
    grid-template-columns: minmax(300px, .95fr) minmax(0, 1.05fr);
    gap: 26px;
    align-items: stretch;
    direction: ltr;
}
.steam-wallet-card > * { direction: rtl; }
.steam-wallet-visual {
    position: relative;
    min-height: 430px;
    overflow: hidden;
    border-radius: 30px;
    background:
        linear-gradient(135deg, rgba(245,166,35,.18), transparent),
        #161724;
    border: 1px solid rgba(255,255,255,.11);
    box-shadow: 0 28px 70px rgba(0,0,0,.34);
}
.steam-wallet-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.68));
    z-index: 1;
}
.steam-wallet-visual img {
    width: 100%;
    height: 100%;
    min-height: 430px;
    object-fit: cover;
    transform: scale(1.02);
}
.steam-badge {
    position: absolute;
    z-index: 2;
    bottom: 18px;
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 9px 14px;
    border-radius: 999px;
    color: #fff7e6;
    background: rgba(12,13,22,.74);
    border: 1px solid rgba(245,166,35,.34);
    box-shadow: 0 14px 30px rgba(0,0,0,.28);
    backdrop-filter: blur(14px);
    font-weight: 900;
    font-size: 13px;
}
.steam-badge-left { left: 18px; }
.steam-badge-right { right: 18px; }
.steam-wallet-content {
    padding: clamp(22px, 4vw, 40px);
    border-radius: 30px;
    background:
        radial-gradient(circle at 12% 0%, rgba(245,166,35,.13), transparent 20rem),
        rgba(18,19,31,.88);
    border: 1px solid rgba(255,255,255,.1);
    box-shadow: 0 28px 70px rgba(0,0,0,.25);
}
.steam-wallet-kicker {
    display: inline-flex;
    align-items: center;
    width: max-content;
    margin-bottom: 12px;
    padding: 6px 12px;
    border-radius: 999px;
    color: #1f1300;
    background: linear-gradient(135deg, #ffd166, #f5a623);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .8px;
}
.steam-wallet-content h2 {
    margin: 0 0 12px;
    color: #fff;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.25;
}
.steam-wallet-content p {
    margin: 0 0 24px;
    color: #b9bdce;
    font-size: 15px;
    line-height: 2;
}
.steam-product-list { display: grid; gap: 12px; }
.steam-product-row {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) auto;
    align-items: center;
    gap: 13px;
    min-height: 72px;
    padding: 12px 14px;
    border-radius: 18px;
    color: #fff;
    background: rgba(255,255,255,.055);
    border: 1px solid rgba(255,255,255,.1);
    transition: transform .22s ease, border-color .22s ease, background .22s ease;
}
.steam-product-row:hover {
    transform: translateY(-4px);
    border-color: rgba(245,166,35,.46);
    background: rgba(245,166,35,.09);
}
.steam-product-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #10101d;
    background: linear-gradient(135deg, #ffd166, #f5a623);
    box-shadow: 0 10px 24px rgba(245,166,35,.22);
}
.steam-product-row strong {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 15px;
}
.steam-product-row em {
    color: #f5a623;
    font-style: normal;
    font-weight: 950;
    white-space: nowrap;
}
.steam-product-empty { pointer-events: none; opacity: .7; }

.gaming-section { padding: 78px 0; }
.section-headline {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 24px;
}
.section-headline span { color: #f97316; font-weight: 900; letter-spacing: 1px; }
.section-headline h2 { margin: 0; }
.section-headline a { color: #facc15; font-weight: 800; }
.gaming-product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.gaming-product-card {
    --card-glow: #8b5cf6;
    position: relative;
    overflow: visible;
    border-radius: 20px;
    background: #10111b;
    border: 1px solid rgba(255,255,255,.09);
    border-top: 3px solid var(--card-glow);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.gaming-product-card.orange { --card-glow: #f97316; }
.gaming-product-card.green { --card-glow: #22c55e; }
.gaming-product-card:hover {
    transform: translateY(-8px);
    border-color: color-mix(in srgb, var(--card-glow) 55%, transparent);
    box-shadow: 0 0 30px color-mix(in srgb, var(--card-glow) 42%, transparent), 0 24px 46px rgba(0,0,0,.45);
}
.gaming-product-image { position: relative; display: block; overflow: hidden; border-radius: 17px 17px 0 0; }
.gaming-product-image img { width: 100%; aspect-ratio: 1 / .78; object-fit: cover; }
.gaming-product-image span {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(249,115,22,.94);
    color: #fff;
    font-size: 11px;
    font-weight: 900;
}
.gaming-product-body { padding: 15px; }
.gaming-product-body small { color: #9ca0b3; }
.gaming-product-body h3 {
    min-height: 56px;
    margin: 6px 0 14px;
    font-size: 16px;
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.gaming-product-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.gaming-product-price { display: grid; gap: 1px; }
.gaming-product-price del { color: #777b8f; font-size: 12px; }
.gaming-product-price strong { color: #facc15; font-size: 15px; white-space: nowrap; }
.gaming-product-bottom button { min-height: 38px; padding: 0 14px; border-radius: 12px; font-weight: 900; }

.gaming-blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.gaming-blog-card {
    overflow: hidden;
    border-radius: 22px;
    background: rgba(17,18,32,.78);
    border: 1px solid rgba(255,255,255,.09);
}
.gaming-blog-image { display: block; overflow: hidden; }
.gaming-blog-image img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .35s ease; }
.gaming-blog-card:hover .gaming-blog-image img { transform: scale(1.1); }
.gaming-blog-body { padding: 18px; }
.gaming-blog-body span { color: #f97316; font-size: 12px; font-weight: 900; }
.gaming-blog-body h3 { margin: 8px 0; color: #fff; font-size: 18px; line-height: 1.55; }
.gaming-blog-body p {
    color: #aeb1c3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; color: #facc15; font-weight: 900; }
.blog-more i { transition: transform .2s ease; }
.blog-more:hover i { transform: translateX(-5px); }

.newsletter-section { padding: 28px 0 78px; }
.newsletter-card {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, .75fr);
    gap: 28px;
    align-items: center;
    padding: clamp(24px, 4vw, 42px);
}
.newsletter-card::before {
    content: "";
    position: absolute;
    inset: -40%;
    background: conic-gradient(from 90deg, transparent, rgba(139,92,246,.24), transparent, rgba(255,159,28,.18), transparent);
    animation: spinGlow 12s linear infinite;
}
@keyframes spinGlow { to { transform: rotate(360deg); } }
.newsletter-card > * { position: relative; z-index: 1; }
.newsletter-form {
    display: flex;
    padding: 7px;
    border-radius: 18px;
    background: rgba(0,0,0,.34);
    border: 1px solid rgba(255,255,255,.12);
}
.newsletter-form input {
    min-width: 0;
    flex: 1;
    border: 0;
    outline: 0;
    color: #fff;
    background: transparent;
    padding: 0 14px;
}
.newsletter-form button { min-height: 46px; padding: 0 20px; border-radius: 13px; font-weight: 900; }

.site-footer {
    background: #050507;
    border-top: 1px solid rgba(167,139,250,.28);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.footer-main { padding: 58px 0 38px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.15fr; gap: 34px; }
.footer-logo h3, .footer-col h4 { color: #fff; }
.footer-about p, .footer-col a, .footer-contact li { color: #a9adbf; }
.footer-social a {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    color: #9ca0b3;
}
.footer-social a:hover { color: #fff; border-color: #a78bfa; box-shadow: 0 0 18px rgba(139,92,246,.32); }
.footer-col li a { position: relative; padding-right: 0; }
.footer-col li a::before {
    content: "<";
    margin-left: 7px;
    color: #facc15;
    opacity: 0;
    transform: translateX(6px);
    display: inline-block;
    transition: .2s ease;
}
.footer-col li a:hover { color: #fff; }
.footer-col li a:hover::before { opacity: 1; transform: translateX(0); }
.footer-phone { color: #fff !important; font-size: 20px; font-weight: 950; }
.footer-contact i { color: #a78bfa; }
.footer-bottom {
    background: #0b0b11;
    border-top: 1px solid rgba(255,255,255,.07);
}
.footer-bottom-content { justify-content: center; text-align: center; color: #9ca0b3; }

@media (max-width: 1100px) {
    .header-search { display: none; }
    .bestseller-showcase-grid { grid-template-columns: minmax(180px, .8fr) minmax(0, 1.35fr); align-items: stretch; }
    .bestseller-products-panel { grid-template-columns: 1fr; }
    .bestseller-cta-panel { grid-column: 1 / -1; min-height: 0; }
    .gaming-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
    .hero-3d-card, .bestseller-showcase-grid, .newsletter-card, .steam-wallet-card { grid-template-columns: 1fr; }
    .bestseller-cta-panel { grid-column: auto; }
    .bestseller-products-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hero-character { min-height: 270px; }
    .hero-character img { left: 50%; transform: translateX(-50%) translateZ(40px); width: min(420px, 90vw); bottom: -70px; }
    .hero-3d-card:hover .hero-character img { transform: translateX(-50%) translateZ(90px) scale(1.08); }
    .gaming-product-grid, .gaming-blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .login-pill { min-width: 46px; width: 46px; padding: 0; font-size: 0; }
    .login-pill i { font-size: 15px; }
}

@media (max-width: 680px) {
    .site-alert-banner, .header-top { display: none; }
    .header-logo img { width: 48px; height: 48px; }
    .brand-copy small { display: none; }
    .gaming-hero { min-height: auto; padding: 38px 0 32px; }
    .hero-3d-card { min-height: 0; padding: 22px; border-radius: 22px; }
    .hero-copy h1 { font-size: 30px; }
    .hero-copy p { font-size: 14px; }
    .hero-actions .btn { width: 100%; }
    .platform-item { min-width: 140px; }
    .bestseller-showcase, .gaming-section { padding: 28px 0; }
    .steam-wallet-section { padding: 34px 0; }
    .steam-wallet-visual, .steam-wallet-visual img { min-height: 310px; }
    .steam-badge { bottom: 12px; min-height: 36px; padding: 7px 10px; font-size: 11px; }
    .steam-badge-left { left: 12px; }
    .steam-badge-right { right: 12px; }
    .steam-product-row { grid-template-columns: 40px minmax(0, 1fr); }
    .steam-product-row em { grid-column: 2; }
    .steam-product-icon { width: 40px; height: 40px; }
    .bestseller-showcase-card, .bestseller-cta-panel { padding: 12px; }
    .bestseller-products-panel { grid-template-columns: 1fr; }
    .main-category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .section-headline { align-items: start; flex-direction: column; }
    .gaming-product-grid, .gaming-blog-grid, .footer-grid { grid-template-columns: 1fr; }
    .newsletter-form { flex-direction: column; gap: 8px; }
    .newsletter-form input { min-height: 44px; }
}

/* Homepage hero slider upgrade */
.home-hero-slider { padding: 58px 0 48px; }
.hero-bg-slide {
    opacity: 0;
    transition: opacity .75s ease, transform 4.4s ease;
}
.hero-bg-slide.active {
    opacity: .58;
    transform: scale(1.08);
}
.hero-slider-stage {
    position: relative;
    min-height: clamp(500px, 62vw, 620px);
    perspective: 1400px;
}
.hero-slide {
    position: absolute;
    inset: 0;
    min-height: clamp(500px, 62vw, 620px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-42px) rotateY(10deg) scale(.94);
    transition: opacity .6s ease, transform .7s cubic-bezier(.2,.8,.2,1), visibility .6s;
}
.hero-slide.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0) rotateY(0) scale(1);
}
.hero-slide:not(.active) .hero-character img { transform: translateZ(0) scale(.92); }
.hero-3d-card {
    overflow: visible;
    grid-template-columns: minmax(0, 1.08fr) minmax(310px, .72fr);
    border-radius: 34px;
    border-color: rgba(167, 139, 250, .52);
    background:
        linear-gradient(135deg, rgba(255,255,255,.08), transparent 28%),
        linear-gradient(135deg, rgba(19, 20, 38, .88), rgba(8, 9, 20, .72));
    box-shadow:
        0 0 0 1px rgba(255,255,255,.06),
        0 32px 110px rgba(0,0,0,.64),
        0 0 44px rgba(139,92,246,.2),
        inset 0 1px 0 rgba(255,255,255,.12);
}
.hero-3d-card::after {
    content: "";
    position: absolute;
    inset: 14px;
    border-radius: 26px;
    border: 1px solid rgba(255,255,255,.07);
    pointer-events: none;
}
.hero-accent-orange { border-color: rgba(249, 115, 22, .55); box-shadow: 0 0 0 1px rgba(255,255,255,.06), 0 32px 110px rgba(0,0,0,.64), 0 0 44px rgba(249,115,22,.18), inset 0 1px 0 rgba(255,255,255,.12); }
.hero-accent-green { border-color: rgba(34, 197, 94, .5); box-shadow: 0 0 0 1px rgba(255,255,255,.06), 0 32px 110px rgba(0,0,0,.64), 0 0 44px rgba(34,197,94,.16), inset 0 1px 0 rgba(255,255,255,.12); }
.hero-copy { padding-inline-start: clamp(4px, 2vw, 24px); }
.hero-copy h1 { max-width: 740px; font-size: clamp(38px, 5.4vw, 68px); }
.hero-copy p { max-width: 620px; font-size: 16px; line-height: 2; }
.hero-character { min-height: 430px; }
.hero-character img {
    left: -74px;
    bottom: -104px;
    width: min(570px, 126%);
    max-height: 650px;
}
.hero-slider-arrow {
    position: absolute;
    top: 50%;
    z-index: 6;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 999px;
    background: rgba(10, 10, 18, .72);
    color: #fff;
    cursor: pointer;
    backdrop-filter: blur(16px);
    box-shadow: 0 12px 32px rgba(0,0,0,.32);
    transform: translateY(-50%);
}
.hero-slider-arrow:hover {
    border-color: rgba(167,139,250,.65);
    box-shadow: 0 0 24px rgba(139,92,246,.34);
}
.hero-slider-next { right: -18px; }
.hero-slider-prev { left: -18px; }
.hero-slider-dots {
    position: absolute;
    right: 50%;
    bottom: 22px;
    z-index: 7;
    display: flex;
    gap: 8px;
    transform: translateX(50%);
    padding: 8px;
    border-radius: 999px;
    background: rgba(0,0,0,.32);
    border: 1px solid rgba(255,255,255,.08);
    backdrop-filter: blur(14px);
}
.hero-slider-dots button {
    width: 9px;
    height: 9px;
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,.34);
    cursor: pointer;
    transition: .25s ease;
}
.hero-slider-dots button.active {
    width: 32px;
    background: linear-gradient(90deg, #f97316, #a855f7);
    box-shadow: 0 0 14px rgba(168,85,247,.58);
}
.deal-ticker {
    padding: 13px 0;
    background:
        linear-gradient(90deg, rgba(139,92,246,.12), transparent 24%, rgba(249,115,22,.1)),
        #090a12;
}
.deal-ticker .platform-track {
    gap: 12px;
    animation-duration: 46s;
    padding-inline: 12px;
}
.ticker-item {
    min-width: 300px;
    justify-content: flex-start;
    padding: 12px 16px;
    filter: none;
}
.ticker-item i {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(139,92,246,.18);
    color: #c4b5fd;
}
.ticker-item small {
    color: #facc15;
    font-size: 11px;
    font-weight: 950;
    white-space: nowrap;
}
.ticker-item span {
    max-width: 185px;
    color: #d7d9e8;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ticker-news i { background: rgba(59,130,246,.18); color: #93c5fd; }
.ticker-new i { background: rgba(139,92,246,.2); color: #c4b5fd; }
.ticker-discount i { background: rgba(249,115,22,.2); color: #fdba74; }
.ticker-discount small { color: #fb923c; }
.ticker-item:hover span { color: #fff; }

@media (max-width: 900px) {
    .hero-slider-stage, .hero-slide { min-height: 760px; }
    .hero-slide { transform: translateY(26px) scale(.96); }
    .hero-slide.active { transform: translateY(0) scale(1); }
    .hero-3d-card { grid-template-columns: 1fr; }
    .hero-character { min-height: 320px; }
    .hero-slider-next { right: 10px; }
    .hero-slider-prev { left: 10px; }
}

@media (max-width: 680px) {
    .home-hero-slider { padding: 28px 0 30px; }
    .hero-slider-stage, .hero-slide { min-height: 710px; }
    .hero-slide { position: absolute; }
    .hero-3d-card { padding: 20px; border-radius: 24px; }
    .hero-3d-card::after { inset: 9px; border-radius: 18px; }
    .hero-copy h1 { font-size: 28px; }
    .hero-character { min-height: 285px; }
    .hero-slider-arrow { top: auto; bottom: 18px; width: 40px; height: 40px; }
    .hero-slider-next { right: 18px; }
    .hero-slider-prev { left: 18px; }
    .hero-slider-dots { bottom: 20px; }
    .ticker-item { min-width: 250px; }
    .ticker-item span { max-width: 138px; }
}

/* Dedicated service landing pages */
.service-landing {
    position: relative;
    isolation: isolate;
    padding: 72px 0 42px;
    overflow: hidden;
}
.service-landing-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-size: cover;
    background-position: center;
    filter: blur(10px) saturate(1.2);
    transform: scale(1.08);
    opacity: .34;
}
.service-landing::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 18% 20%, rgba(139, 92, 246, .28), transparent 28rem),
        radial-gradient(circle at 82% 28%, rgba(249, 115, 22, .16), transparent 24rem),
        linear-gradient(180deg, rgba(7,7,13,.74), rgba(7,7,13,.98));
}
.service-midnight::after {
    background:
        radial-gradient(circle at 18% 20%, rgba(91, 33, 182, .34), transparent 28rem),
        radial-gradient(circle at 82% 28%, rgba(14, 165, 233, .12), transparent 24rem),
        linear-gradient(180deg, rgba(4,4,10,.72), rgba(4,4,10,.98));
}
.service-hero-panel {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, .72fr);
    gap: 30px;
    align-items: center;
    min-height: 500px;
    padding: clamp(26px, 4vw, 54px);
    border-radius: 34px;
    border: 1px solid rgba(167, 139, 250, .38);
    background:
        linear-gradient(135deg, rgba(255,255,255,.08), transparent 28%),
        linear-gradient(135deg, rgba(18,19,36,.86), rgba(8,9,20,.68));
    box-shadow: 0 34px 110px rgba(0,0,0,.58), inset 0 1px 0 rgba(255,255,255,.1);
    backdrop-filter: blur(22px);
    overflow: visible;
}
.service-midnight .service-hero-panel {
    border-color: rgba(14,165,233,.28);
    box-shadow: 0 34px 110px rgba(0,0,0,.62), 0 0 46px rgba(91,33,182,.2), inset 0 1px 0 rgba(255,255,255,.1);
}
.service-hero-copy { position: relative; z-index: 2; }
.service-hero-copy h1 {
    margin: 18px 0 12px;
    max-width: 720px;
    color: #fff;
    font-size: clamp(36px, 5.6vw, 68px);
    line-height: 1.15;
    letter-spacing: -1.5px;
}
.service-hero-copy p {
    max-width: 620px;
    color: #c8cbda;
    font-size: 17px;
    line-height: 2;
}
.service-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}
.service-hero-art {
    position: relative;
    min-height: 360px;
}
.service-hero-art span {
    position: absolute;
    inset: 10% 0 0 8%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139,92,246,.46), rgba(249,115,22,.14) 44%, transparent 70%);
    filter: blur(30px);
}
.service-midnight .service-hero-art span {
    background: radial-gradient(circle, rgba(14,165,233,.24), rgba(91,33,182,.42) 42%, transparent 70%);
}
.service-hero-art img {
    position: absolute;
    left: -48px;
    bottom: -84px;
    width: min(540px, 120%);
    max-height: 620px;
    object-fit: contain;
    filter: drop-shadow(0 34px 44px rgba(0,0,0,.64));
    transition: transform .35s ease, filter .35s ease;
}
.service-hero-panel:hover .service-hero-art img {
    transform: translateY(-10px) scale(1.06);
    filter: drop-shadow(0 0 32px rgba(167,139,250,.42)) drop-shadow(0 34px 44px rgba(0,0,0,.64));
}
.service-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}
.service-stats div, .service-empty, .service-guide-grid article, .midnight-strip-grid article {
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 20px;
    background: rgba(17,18,32,.68);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow-soft);
}
.service-stats div {
    display: grid;
    gap: 2px;
    padding: 18px;
    text-align: center;
}
.service-stats strong { color: #facc15; font-size: 24px; line-height: 1.2; }
.service-stats span { color: #aeb1c2; font-size: 13px; }
.service-section {
    padding: 72px 0;
    background: linear-gradient(180deg, #07070d, #0b0b14);
}
.service-card-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.service-empty { padding: 34px; text-align: center; color: #c9ccda; }
.service-empty h3 { margin-bottom: 8px; color: #fff; }
.service-guide { padding-top: 0; }
.service-guide-grid, .midnight-strip-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.service-guide-grid article, .midnight-strip-grid article {
    padding: 24px;
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.service-guide-grid article:hover, .midnight-strip-grid article:hover {
    transform: translateY(-6px);
    border-color: rgba(167,139,250,.35);
    box-shadow: 0 0 28px rgba(139,92,246,.18), var(--shadow-soft);
}
.service-guide-grid i, .midnight-strip-grid i {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    margin-bottom: 14px;
    border-radius: 16px;
    background: rgba(139,92,246,.18);
    color: #c4b5fd;
    font-size: 20px;
}
.service-guide-grid h3, .midnight-strip-grid h3 { color: #fff; margin-bottom: 8px; }
.service-guide-grid p, .midnight-strip-grid p { color: #aeb1c2; }
.midnight-feature-strip {
    padding-bottom: 0;
    background:
        radial-gradient(circle at 20% 0%, rgba(91,33,182,.2), transparent 22rem),
        #07070d;
}

@media (max-width: 1100px) {
    .service-card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
    .service-hero-panel { grid-template-columns: 1fr; }
    .service-hero-art { min-height: 310px; }
    .service-hero-art img { left: 50%; bottom: -76px; width: min(430px, 90vw); transform: translateX(-50%); }
    .service-hero-panel:hover .service-hero-art img { transform: translateX(-50%) translateY(-8px) scale(1.04); }
    .service-stats, .service-card-grid, .service-guide-grid, .midnight-strip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
    .service-landing { padding: 34px 0 28px; }
    .service-hero-panel { min-height: 0; padding: 22px; border-radius: 24px; }
    .service-hero-copy h1 { font-size: 30px; }
    .service-hero-copy p { font-size: 14px; }
    .service-hero-actions .btn { width: 100%; }
    .service-hero-art { min-height: 250px; }
    .service-stats, .service-card-grid, .service-guide-grid, .midnight-strip-grid { grid-template-columns: 1fr; }
    .service-section { padding: 46px 0; }
}

/* Compact fixed homepage hero */
.home-hero-slider {
    min-height: auto;
    padding: 34px 0 20px;
}
.home-hero-slider .gaming-hero-bg {
    filter: blur(12px) saturate(1.1);
    opacity: .28;
}
.hero-slider-stage {
    width: min(1080px, 100%);
    min-height: 390px;
    margin-inline: auto;
}
.hero-slide {
    min-height: 390px;
}
.hero-3d-card {
    overflow: hidden;
    min-height: 390px;
    grid-template-columns: minmax(0, .92fr) minmax(240px, .5fr);
    gap: 16px;
    padding: clamp(20px, 3vw, 34px);
    border-radius: 26px;
    background:
        linear-gradient(90deg, rgba(9,10,20,.96) 0%, rgba(12,13,27,.88) 42%, rgba(8,9,18,.4) 100%),
        var(--hero-card-bg) center / cover no-repeat,
        linear-gradient(135deg, rgba(19,20,38,.9), rgba(8,9,20,.82));
}
.hero-3d-card::before {
    background:
        radial-gradient(circle at 18% 18%, rgba(139,92,246,.22), transparent 28%),
        linear-gradient(90deg, rgba(0,0,0,.08), rgba(0,0,0,.34));
}
.hero-3d-card::after {
    inset: 10px;
    border-radius: 20px;
}
.hero-copy {
    max-width: 560px;
    padding-inline-start: 0;
}
.hero-copy h1 {
    max-width: 560px;
    margin: 14px 0 8px;
    font-size: clamp(28px, 4vw, 48px);
}
.hero-copy p {
    max-width: 500px;
    font-size: 14px;
    line-height: 1.9;
}
.hero-price { margin: 14px 0 18px; }
.hero-price strong { font-size: clamp(20px, 2.5vw, 30px); }
.hero-actions .btn-large {
    min-height: 44px;
    padding: 9px 18px;
    font-size: 14px;
}
.hero-character {
    min-height: 260px;
    opacity: .96;
}
.hero-character::before {
    content: "";
    position: absolute;
    inset: 20px 0 0 0;
    border-radius: 26px;
    background: linear-gradient(135deg, rgba(255,255,255,.1), rgba(255,255,255,.02));
    border: 1px solid rgba(255,255,255,.08);
    backdrop-filter: blur(2px);
}
.hero-character img {
    left: 50%;
    bottom: 16px;
    width: min(280px, 86%);
    max-height: 260px;
    object-fit: contain;
    transform: translateX(-50%) translateZ(28px) scale(1);
}
.character-aura {
    inset: 18% 5% 4% 5%;
    filter: blur(24px);
    opacity: .72;
}
.hero-3d-card:hover .hero-character img {
    transform: translateX(-50%) translateZ(55px) scale(1.05);
}
.hero-slider-arrow {
    width: 40px;
    height: 40px;
}
.hero-slider-next { right: 10px; }
.hero-slider-prev { left: 10px; }
.hero-slider-dots { bottom: 14px; }
.platform-shortcuts {
    display: block;
    margin-top: 0;
    padding: 14px 0;
    background: #080912;
}
.platform-shortcuts .platform-track {
    animation-duration: 30s;
}
.platform-logo-card {
    min-width: 156px;
    padding: 12px 18px;
}
.platform-logo-card i { font-size: 20px; }
.deal-ticker {
    border-top: 0;
    padding: 11px 0;
}

@media (max-width: 900px) {
    .hero-slider-stage, .hero-slide { min-height: 560px; }
    .hero-3d-card {
        min-height: 560px;
        grid-template-columns: 1fr;
    }
    .hero-character {
        min-height: 210px;
        order: -1;
    }
    .hero-character img {
        max-height: 220px;
        bottom: 6px;
    }
}

@media (max-width: 680px) {
    .home-hero-slider { padding: 22px 0 14px; }
    .hero-slider-stage, .hero-slide { min-height: 600px; }
    .hero-3d-card {
        min-height: 600px;
        padding: 18px;
        border-radius: 22px;
    }
    .hero-copy h1 { font-size: 25px; }
    .hero-copy p { font-size: 13px; }
    .hero-character { min-height: 190px; }
    .hero-actions { gap: 8px; }
    .hero-slider-arrow { bottom: 12px; }
    .hero-slider-dots { bottom: 15px; }
    .platform-logo-card { min-width: 132px; }
}

/* Final cleanup: hero image cards, ticker only, magazine layout */
.platform-shortcuts { display: none !important; }
.home-hero-slider .hero-character {
    align-self: center;
    min-height: 250px;
    border-radius: 24px;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.03)),
        rgba(7, 8, 16, .42);
    border: 1px solid rgba(255,255,255,.12);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 18px 44px rgba(0,0,0,.32);
}
.home-hero-slider .hero-character::before {
    display: none;
}
.home-hero-slider .hero-character img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    transform: none;
    filter: saturate(1.12) contrast(1.04);
}
.home-hero-slider .character-aura {
    inset: auto 10% -22% 10%;
    height: 55%;
    z-index: 1;
    opacity: .58;
}
.home-hero-slider .hero-3d-card:hover .hero-character img {
    transform: scale(1.06);
    filter: saturate(1.2) contrast(1.08) brightness(1.04);
}
.deal-ticker {
    margin-top: 0;
    border-top: 1px solid rgba(255,255,255,.08);
}
.deal-ticker .platform-track {
    animation-duration: 38s;
    transform: translateX(0);
    will-change: transform;
    animation-name: dealTickerMarquee;
}
@keyframes dealTickerMarquee {
    from { transform: translateX(0); }
    to { transform: translateX(50%); }
}
.ticker-item {
    min-width: 330px;
    background: linear-gradient(135deg, rgba(255,255,255,.07), rgba(255,255,255,.035));
}
.ticker-item::after { content: "⌄"; }
.ticker-discount {
    border-color: rgba(249,115,22,.18);
}
.ticker-news {
    border-color: rgba(96,165,250,.18);
}
.ticker-training {
    border-color: rgba(34,197,94,.18);
}
.ticker-training i {
    background: rgba(34,197,94,.18);
    color: #86efac;
}
.ticker-training small {
    color: #86efac;
}
.service-hero-art {
    min-height: 330px;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.04);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 18px 44px rgba(0,0,0,.34);
}
.service-hero-art span {
    inset: auto 8% -20% 8%;
    height: 55%;
    z-index: 1;
}
.service-hero-art img {
    inset: 0;
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    transform: none;
    filter: saturate(1.12) contrast(1.04);
}
.service-hero-panel:hover .service-hero-art img {
    transform: scale(1.05);
    filter: saturate(1.22) contrast(1.08) brightness(1.04);
}
.magazine-page {
    padding-bottom: 70px;
}
.magazine-hero {
    position: relative;
    margin: 34px 0 24px;
    padding: clamp(24px, 4vw, 44px);
    border-radius: 28px;
    background:
        radial-gradient(circle at 18% 0%, rgba(139,92,246,.24), transparent 24rem),
        linear-gradient(135deg, rgba(17,18,32,.86), rgba(8,9,20,.72));
    border: 1px solid rgba(255,255,255,.1);
    box-shadow: var(--shadow-soft);
}
.magazine-hero h1 {
    margin: 14px 0 8px;
    color: #fff;
    font-size: clamp(32px, 5vw, 58px);
    line-height: 1.2;
}
.magazine-hero p {
    max-width: 650px;
    color: #b9bdcf;
}
.magazine-tabs, .magazine-category-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}
.magazine-tabs a, .magazine-category-pills a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 8px 16px;
    color: #c8cbda;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    font-weight: 800;
}
.magazine-tabs a.active, .magazine-tabs a:hover, .magazine-category-pills a:hover {
    color: #fff;
    border-color: rgba(167,139,250,.4);
    box-shadow: 0 0 22px rgba(139,92,246,.18);
}
.magazine-type-showcase {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 22px;
}
.magazine-type-column {
    padding: 18px;
    border-radius: 24px;
    background: rgba(17,18,32,.72);
    border: 1px solid rgba(255,255,255,.1);
    box-shadow: var(--shadow-soft);
}
.magazine-column-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}
.magazine-column-head i {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    color: #c4b5fd;
    background: rgba(139,92,246,.18);
}
.magazine-column-head div { flex: 1; }
.magazine-column-head span { color: #f97316; font-size: 12px; font-weight: 950; }
.magazine-column-head h2 { color: #fff; font-size: 22px; line-height: 1.3; }
.magazine-column-head a { color: #facc15; font-weight: 900; font-size: 13px; }
.magazine-list-item {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 10px;
    border-radius: 16px;
    border: 1px solid transparent;
    transition: .22s ease;
}
.magazine-list-item:hover {
    background: rgba(255,255,255,.06);
    border-color: rgba(255,255,255,.1);
}
.magazine-list-item img {
    width: 82px;
    height: 64px;
    border-radius: 13px;
    object-fit: cover;
}
.magazine-list-item small { color: #9ca3b8; }
.magazine-list-item strong {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #fff;
    line-height: 1.65;
}
.magazine-page .article-card {
    background: rgba(17,18,32,.76);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}
.magazine-page .article-image {
    overflow: hidden;
}
.magazine-page .article-image img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform .35s ease;
}
.magazine-page .article-card:hover .article-image img {
    transform: scale(1.08);
}
.magazine-page .article-content h2,
.magazine-page .article-content h3,
.magazine-page .article-content a {
    color: #fff;
}
.magazine-page .article-content p,
.magazine-page .article-meta {
    color: #aeb2c4;
}

@media (max-width: 900px) {
    .home-hero-slider .hero-character,
    .service-hero-art {
        min-height: 260px;
        order: -1;
    }
    .home-hero-slider .hero-character img,
    .service-hero-art img {
        left: auto;
        bottom: auto;
        transform: none;
    }
    .home-hero-slider .hero-3d-card:hover .hero-character img,
    .service-hero-panel:hover .service-hero-art img {
        transform: scale(1.04);
    }
    .magazine-type-showcase { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
    .home-hero-slider .hero-character,
    .service-hero-art {
        min-height: 210px;
        border-radius: 18px;
    }
    .ticker-item { min-width: 285px; }
    .magazine-hero { margin-top: 20px; border-radius: 22px; }
    .magazine-list-item { grid-template-columns: 72px minmax(0, 1fr); }
    .magazine-list-item img { width: 72px; height: 58px; }
}
