:root {
    --bg: #ffffff;
    --text: #1f2937;
    --muted: #6b7280;
    --primary: #0ea5e9;
    --primary-dark: #0369a1;
    --border: #e5e7eb;
    --surface: #f9fafb;
    --maxw: 1200px;
}

body {
    margin: 0;
    font-family: system-ui, sans-serif;
    background: #1f2937;
    color: #1f2937;
}

.header-modern {
    background: #0f0f0f;
    border-bottom: 1px solid #1b1d20;
}

.header-modern .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px;
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 20px;
}

.logo-image {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    cursor: pointer;
}

.header-modern .logo {
    font-weight: 700;
    font-size: 20.8px;
    color: #ffffff;
}

.header-modern .logo-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.header-modern nav {
    flex: 1;
}

.header-modern nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
    margin-left: 9rem;
    margin-top: 1rem;
}

.header-modern nav a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
}
.header-modern nav a:hover {
    color: #1b1d20;
}

.header-modern .btn-newtreh {
    margin-left: 20px;
}

.btn-newtreh {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: #202020;
    color: #fff;
    border: 1px solid transparent;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background .15s ease, transform .08s ease;
}
.btn-newtreh:hover { background: #2a2a2a; transform: translateY(-1px); }
.btn-newtreh:active { transform: translateY(0); }

.header-user {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-user .user-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: inherit;
    font-weight: 700;
}

.user-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #334155 0%, #0f172a 100%);
    border: 1px solid #FFFFFF2E;
    color: #e5e7eb;
}
.user-avatar svg { width: 16px; height: 16px; display: block; }

.main .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 16px;
}

.main img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.banner-cover {
    max-width: 1905px;
    min-width: auto;
    overflow: hidden;
}

.svvld-nemegdsen {
    font-size: 35px;
    font-weight: 600;
    margin-top: 21px;
    margin-left: 30rem;
    color: #ffffff;
    text-align: left;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 18px;
    margin-top: 20px;
}

.product-card {
    background: #0f1720;
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: 12px;
    padding: 12px;
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(2,6,23,0.6);
    overflow: hidden;
}
.product-card .card-body { padding-top: 10px; }

.product-title {
    font-size: 0.95rem;
    margin: 0 0 6px 0;
    color: #eef2ff;
    font-weight: 600;
}

.product-price {
    font-size: 0.95rem;
    color: #9ca3af;
    font-weight: 600;
}

.btn-bvh-baraa {
    display: inline-block;
    padding: 8px 16px;
    margin-top: 25px;
    margin-left: 33rem;
    font-size: medium;
    background: #202020;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s ease, transform .08s ease;
}
.btn-bvh-baraa:hover { background: #2a2a2a; transform: translateY(-1px); }
.btn-bvh-baraa:active { transform: translateY(0); }

.footer-modern {
    background: #0f0f0f;
    border-top: 1px solid #1b1d20;
    margin-top: 40px;
}

    .footer-modern .top-container {
        border-bottom: 1px solid #1b1d20;
    }

.contacts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(4, 1fr);
    margin-bottom: 30px;
    margin-top: 20px;
    justify-items: center;
}

.contactOne {
    grid-area: 1 / 1 / 5 / 2;
}
.contactTwo {
    grid-area: 1 / 2 / 5 / 3;
}
.contactThree {
    grid-area: 1 / 3 / 5 / 4;
}
@media (max-width: 768px) {
    .contacts {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(12, auto);
        gap: 20px;
        margin-bottom: -150px;
    }
    .contactOne, .contactTwo, .contactThree {
        grid-area: auto !important;
        margin-left: 0 !important;
    }
}

.footer-modern .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 16px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-brand {
    font-weight: 700;
    font-size: 1.2rem;
    color: #ffffff;
}

.footer-socials {
    display: flex;
    gap: 16px;
}

.footer-socials a {
    color: #ffffff;
    text-decoration: none;
}
.footer-socials a:hover { color: #1b1d20; }

.footer-socials .social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 6px;
    transition: background .15s ease, color .15s ease;
}
.footer-socials .social-link svg { display: block; color: currentColor; }
.footer-socials .social-link:hover { color: var(--primary); }

.footer-socials .social-link--instagram { color: #ffffff; }
.footer-socials .social-link--instagram:hover { color: #e1306c; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 15.2px;
    color: #8f8e8e;
}

.footer-links { display: flex; gap: 14px; }
.footer-links a { color: #ffffff; text-decoration: none; }
.footer-links a:hover { color: #6b7280; }

.cart { position: relative; margin-right: 8px; }
.cart-btn {
    position: relative;
    display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.08);
    background: #202020; color: #ffffff; cursor: pointer;
    transition: background .15s ease, transform .08s ease;
}
.cart-btn:hover { background: #2a2a2a; transform: translateY(-1px); }
.cart-btn svg { width: 18px; height: 18px; }
.cart-badge {
    position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; padding: 0 4px;
    border-radius: 9px; background: #0ea5e9; color: #001018; font-size: 12px; font-weight: 800;
    display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(14,165,233,.35);
}
.cart-menu {
    position: absolute; right: 0; top: calc(100% + 10px); width: 320px;
    background: #0f1720; color: #eef2ff; border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px; box-shadow: 0 12px 36px rgba(2,6,23,0.6); z-index: 1000; overflow: hidden;
}
.cart-menu-header { padding: 12px 14px; font-weight: 700; border-bottom: 1px solid rgba(255,255,255,0.06); }
.cart-menu-body { max-height: 300px; overflow-y: auto; padding: 8px 14px; }
.cart-empty { color: #9ca3af; padding: 8px 0; }
.cart-line {
    display: grid; grid-template-columns: 1fr 40px 80px; gap: 8px; align-items: center;
    padding: 8px 0; border-bottom: 1px dashed rgba(255,255,255,0.08);
}
.cart-line:last-child { border-bottom: none; }
.cart-line .name { font-weight: 600; }
.cart-line .qty { color: #9ca3af; text-align: right; }
.cart-line .total { text-align: right; font-weight: 700; }
.cart-menu-footer {
    padding: 10px 14px; border-top: 1px solid rgba(255,255,255,0.06);
    display: flex; justify-content: flex-end;
}
.btn-cart-view {
    display: inline-block; padding: 8px 12px; border-radius: 10px; background: #0ea5e9;
    color: #001018; font-weight: 700; text-decoration: none;
}
.btn-cart-view:hover { filter: brightness(1.08); }

.toast-container{
    position: fixed;
    right: 16px;
    top: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 2000;
    pointer-events: none;
}
.toast{
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: #0f1720;
    color: #eef2ff;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    box-shadow: 0 12px 24px rgba(2,6,23,0.55);
    transform: translateY(-8px);
    opacity: 0;
    transition: transform .18s ease, opacity .18s ease;
}
.toast.show{ transform: translateY(0); opacity: 1; }
.toast.hide{ transform: translateY(-6px); opacity: 0; }
.toast .icon{ width: 18px; height: 18px; display: inline-flex; align-items: center; justify-content: center; color: #9ca3af; }
.toast-success .icon{ color: #22c55e; }
.toast .msg{ font-weight: 600; }
.toast .toast-close{
    margin-left: 6px;
    background: transparent;
    border: 0;
    color: #9ca3af;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
}
.toast .toast-close:hover{ color: #ffffff; }

.product-media {
    aspect-ratio: 4 / 5;
    width: 100%;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 8px;
    background: #08101a;
}
.product-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
@media (max-width: 480px) {
    .product-media { aspect-ratio: 1 / 1; }
}

.vildwerleliinywts-section {
    margin-top: 0px;
    padding: 24px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.vildwerleliinywts-garchig {
    font-size: 2.6rem;
    font-weight: 600;
    text-align: center;
    padding-bottom: 24px;
    color: #fff;
    letter-spacing: 0.2px;
}

.vildwerleliinywts-video {
    width: 300px !important;
    height: 535px !important;
    aspect-ratio: 16 / 9;
    background: #0f1115;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.25);
}
.vildwerleliinywts-videos {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-content: center;
    gap: 16px;
}
@media (max-width: 992px) {
    .vildwerleliinywts-videos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 576px) {
    .vildwerleliinywts-videos { grid-template-columns: 1fr; }
}

.nav-toggle {
    display: none;
    background: #202020;
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.12);
    padding: 8px 12px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    line-height: 1;
    font-size: 15px;
    transition: background .15s ease, transform .08s ease;
}

    .nav-toggle:hover {
        background: #2a2a2a;
        transform: translateY(-1px);
    }

    .nav-toggle:active {
        transform: translateY(0);
    }

@media (max-width: 768px) {
    .header-modern .container {
        flex-wrap: wrap;
        gap: 12px;
        padding: 14px 16px;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .header-modern nav {
        width: 100%;
        order: 3;
    }

        .header-modern nav ul {
            flex-direction: column;
            gap: 12px;
            padding: 10px 0 4px;
            margin: 0;
            display: none;
            background: #121416;
            border: 1px solid #1b1d20;
            border-radius: 10px;
        }

            .header-modern nav ul.open {
                display: flex;
            }

        .header-modern nav a {
            padding: 8px 16px;
            display: block;
            border-radius: 6px;
        }

            .header-modern nav a:hover {
                background: #1e2226;
                color: #ffffff;
            }

    .header-user {
        order: 2;
        margin-left: auto;
    }

    .cart {
        order: 2;
    }

    .btn-newtreh {
        order: 2;
    }

    .svvld-nemegdsen {
        font-size: 26px;
        margin-top: 12px;
        margin-left: 0;
        text-align: center;
    }

    .btn-bvh-baraa {
        margin-left: 0;
        width: 100%;
        text-align: center;
        font-size: 0.95rem;
    }

    .product-grid {
        gap: 14px;
    }

    .footer-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
    }

    .footer-links {
        flex-wrap: wrap;
    }

    .vildwerleliinywts-video {
        height: 420px;
    }
}

/* Narrow phones */
@media (max-width: 560px) {
    .header-modern .container {
        padding: 12px 14px;
    }

    .logo-image {
        width: 44px;
        height: 44px;
    }

    .svvld-nemegdsen {
        font-size: 24px;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fit,minmax(160px,1fr));
    }

    .product-title {
        font-size: .9rem;
    }

    .product-price {
        font-size: .85rem;
    }

    .btn-bvh-baraa {
        font-size: .9rem;
        padding: 10px 14px;
    }

    .vildwerleliinywts-garchig {
        font-size: 30px;
    }

    .vildwerleliinywts-video {
        height: 360px;
    }

    .footer-brand {
        font-size: 1.05rem;
    }

    .footer-bottom {
        font-size: 14px;
    }
}

/* Extra small */
@media (max-width: 400px) {
    .product-grid {
        grid-template-columns: repeat(auto-fit,minmax(140px,1fr));
        gap: 12px;
    }

    .svvld-nemegdsen {
        font-size: 21px;
    }

    .btn-newtreh {
        padding: 8px 12px;
        font-size: .85rem;
    }

    .nav-toggle {
        font-size: 14px;
        padding: 7px 10px;
    }

    .vildwerleliinywts-video {
        height: 300px;
    }

    .footer-links a {
        font-size: 13px;
    }
}

/* Granular mobile breakpoints for popular device widths */

/* <= 430px (iPhone 12/13/14/15 Pro Max logical width) */
@media (max-width: 430px) {
    .header-modern .container {
        padding: 12px 14px;
        gap: 10px;
    }

    .logo-image {
        width: 46px;
        height: 46px;
    }

    .banner-cover {
        width: 100%;
        height: auto;
    }

    .svvld-nemegdsen {
        margin-left: 0;
        text-align: center;
        font-size: 24px;
    }

    .btn-bvh-baraa {
        width: 140px !important;
        margin-top: 30px;
        margin-left: 115px !important;
        font-size: 0.9rem;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 14px;
    }

    .product-title {
        font-size: .92rem;
    }

    .product-price {
        font-size: .88rem;
    }

    .cart-menu {
        width: min(92vw, 320px);
        right: 4px;
    }

    .footer-bottom {
        font-size: 13.5px;
    }

    .vildwerleliinywts-video {
        width: 300px;
        margin-left: 51px;
    }
}

/* <= 414px (iPhone 6/7/8 Plus logical width) */
@media (max-width: 414px) {
    .logo-image {
        width: 44px;
        height: 44px;
    }

    .svvld-nemegdsen {
        font-size: 23px;
    }

    .btn-bvh-baraa {
        width: 120px !important;
        margin-top: 30px;
        margin-left: 115px !important;
        font-size: 0.9rem;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .vildwerleliinywts-video {
        height: 320px;
        margin-left: 40px;
    }
}

/* <= 412px (Pixel 7/8/Pro logical width) */
@media (max-width: 412px) {
    .svvld-nemegdsen {
        font-size: 23px;
    }

    .btn-bvh-baraa {
        width: 120px !important;
        margin-top: 30px;
        margin-left: 115px !important;
        font-size: 0.9rem;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 13px;
    }

    .footer-bottom {
        font-size: 13px;
    }

    .vildwerleliinywts-video {
        margin-left: 40px;
    }
}

/* <= 390px (iPhone 12/13/14/15) */
@media (max-width: 390px) {

    .logo-image {
        width: 42px;
        height: 42px;
    }

    .svvld-nemegdsen {
        font-size: 22px;
    }

    .btn-bvh-baraa {
        width: 120px !important;
        margin-top: 30px;
        margin-left: 100px !important;
        font-size: 0.9rem;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
        gap: 12px;
    }

    .footer-bottom {
        font-size: 13px;
    }
}

/* <= 375px (iPhone X/11/SE 2/3) */
@media (max-width: 375px) {
    .logo-image {
        width: 40px;
        height: 40px;
    }

    .svvld-nemegdsen {
        font-size: 21px;
    }
    .btn-bvh-baraa {
        width: 120px !important;
        margin-top: 30px;
        margin-left: 100px !important;
        font-size: 0.9rem;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(144px, 1fr));
        gap: 12px;
    }

    .footer-links a {
        font-size: 13px;
    }
}

/* <= 360px (small Android phones) */
@media (max-width: 360px) {
    .svvld-nemegdsen {
        font-size: 20px;
    }

    .btn-bvh-baraa {
        font-size: 0.88rem;
        padding: 10px 12px;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 10px;
    }

    .header-modern nav a {
        font-size: 14px;
    }

    .vildwerleliinywts-video {
        margin-right: 0px;
    }
}

/* Desktop-like header on mobile: keep one-line horizontal nav, remove burger menu */
@media (max-width: 768px) {
    .nav-toggle {
        display: none !important;
    }

    .header-modern .container {
        align-items: center;
        gap: 10px;
        flex-wrap: nowrap;
        padding: 12px 14px;
    }

    .header-modern .logo-link {
        flex: 0 0 auto;
    }

    .header-modern nav {
        order: 0;
        flex: 1 1 auto;
        min-width: 0;
    }

        .header-modern nav ul {
            display: flex !important;
            flex-direction: row;
            align-items: center;
            gap: 14px;
            padding: 0;
            margin: 0 0 0 8px;
            background: transparent;
            border: 0;
            overflow-x: auto;
            overflow-y: hidden;
            white-space: nowrap;
            scrollbar-width: thin;
        }

            .header-modern nav ul::-webkit-scrollbar {
                height: 6px;
            }

            .header-modern nav ul::-webkit-scrollbar-thumb {
                background: rgba(255,255,255,0.18);
                border-radius: 6px;
            }

        .header-modern nav a {
            padding: 0;
            border: 0 !important;
            display: inline-block;
        }

            .header-modern nav a:hover {
                background: transparent;
                color: #ffffff;
            }

    .cart {
        margin-left: 6px;
    }

    .header-modern .btn-newtreh {
        margin-left: 10px;
    }
}

@media (max-width: 430px) {
    .header-modern nav ul {
        gap: 10px;
    }

    .header-modern nav a {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .header-modern .container { flex-wrap: wrap !important; }

    .nav-toggle { display: inline-flex !important; }

    .header-modern nav { width: 100% !important; order: 3 !important; }
    .header-modern nav ul {
        display: none !important;
        flex-direction: column !important;
        margin: 0 !important;
        background: #121416;
        border: 1px solid #1b1d20;
        border-radius: 10px;
        padding: 10px 0 4px;
    }
    .header-modern nav ul.open { display: flex !important; }

    .header-user, .cart, .btn-newtreh { order: 2 !important; flex: 0 0 auto !important; }

    .header-modern { overflow: visible !important; }
}

@media (max-width: 430px) {
    .header-modern .container { gap: 10px !important; }
}

.vildwerleliinywts-link {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 16px;
    text-decoration: none;
    color: #eef2ff;
}
.vildwerleliinywts-link:hover {
    background: #13161b;
    border-color: rgba(255,255,255,0.16);
}
.vildwerleliinywts-link-title {
    font-weight: 700;
    font-size: 1rem;
}
.vildwerleliinywts-link-meta {
    color: #9ca3af;
    font-size: .9rem;
    margin-top: 6px;
}
