:root {
    --main-color: var(--main-color);
}

body {
    background-color: #0a0a0a;
    color: white;
    text-align: center;
    margin: 0;
    padding: 30px;
}

h1 {
    color: var(--main-color);
    font-size: 50px;
}

button {
    background-color: var(--main-color);
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 18px;
    border-radius: 8px;
}

button:hover {
    background-color: var(--main-color);
}

button {
    background-color: var(--main-color);
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 18px;
    border-radius: 8px;
    transition: 0.3s;
}

button {
    background-color: var(--main-color);
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 18px;
    border-radius: 8px;
    transition: 0.3s;
    cursor: pointer;
}

.store-categories {
    max-width: 1450px;
    margin: 60px auto;
}

.store-categories-header {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.store-categories-header h2 {
    margin: 0;
    color: white;
    font-size: 32px;
}

.all-categories {
    color: #ce0000;
    border: 1px solid var(--main-color);
    border-radius: 15px;
    padding: 9px 20px;
    text-decoration: none;
    transition: 0.3s;
}

.all-categories:hover {
    background-color: var(--main-color);
    color: white;
}

.all-categories span {
    margin-right: 5px;
    font-size: 20px;
}

.categories-grid {
    display: grid;
    grid-template-columns: 1.1fr 1.1fr 1.1fr 1.1fr;
    grid-template-rows: 210px 210px;
    gap: 16px;
}

.category {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid var(--main-color);
    cursor: pointer;
    background-color: #111;
}

.category img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category:hover img {
    transform: scale(1.12);
}

.category::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        transparent 35%,
        rgba(0, 0, 0, 0.85) 100%
    );
}

.category-overlay {
    position: absolute;
    bottom: 18px;
    right: 18px;
    z-index: 2;
    text-align: right;
}

.category-overlay h3 {
    margin: 0;
    color: white;
    font-size: 20px;
}

.category-overlay p {
    margin: 5px 0 0;
    color: #cccccc;
    font-size: 12px;
}

.category-arrow {
    position: absolute;
    bottom: 18px;
    left: 15px;
    z-index: 3;

    width: 34px;
    height: 34px;

    border: 1px solid #555;
    border-radius: 10px;

    background-color: rgba(40, 40, 40, 0.7);
    color: white;

    font-size: 22px;
    cursor: pointer;
}

.category-sailor {
    grid-column: 1;
    grid-row: 1;
}

.category-accounts {
    grid-column: 1;
    grid-row: 2;
}

.category-keyboard {
    grid-column: 2;
    grid-row: 1 / 3;
}

.category-murder {
    grid-column: 3;
    grid-row: 1;
}

.category-blox {
    grid-column: 3;
    grid-row: 2;
}

.category-robux {
    grid-column: 4;
    grid-row: 1 / 3;
}

.popular-item:hover {
    border-color: var(--main-color);
    transform: translateX(-5px);
}

/* صورة المنتج الجانبي */

.popular-item img {
    width: 150px;
    height: 100%;
    object-fit: cover;
}

/* معلومات المنتج الجانبي */

.popular-item div {
    padding: 15px;
    text-align: right;
}

.popular-item h3 {
    color: white;
    margin: 0 0 7px;
    font-size: 18px;
}

.popular-item p {
    color: var(--main-color);
    margin: 0;
    font-size: 13px;
}

/* =========================
   الأكثر طلبًا الآن
========================= */

.popular-section {
    max-width: 1450px;
    margin: 60px auto;
}

.popular-title {
    text-align: right;
    margin-bottom: 20px;
}

.popular-title h2 {
    color: white;
    font-size: 32px;
    margin: 0;
}


/* تخطيط القسم */

.popular-layout {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 18px;
    direction: rtl;
}


/* =========================
   المنتج الكبير
========================= */

.popular-featured {
    position: relative;
    height: 450px;
    overflow: hidden;

    background: #0a0a0a;
    border: 1px solid var(--main-color);
    border-radius: 20px;

    cursor: pointer;
}

.popular-featured img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    transition: transform 0.5s ease;
}

.popular-featured:hover img {
    transform: scale(1.08);
}


/* التدرج الأسود فوق الصورة */

.popular-featured::after {
    content: "";

    position: absolute;
    inset: 0;

    background: linear-gradient(
        transparent 35%,
        rgba(0, 0, 0, 0.95)
    );

    z-index: 1;
}


/* معلومات المنتج الكبير */

.featured-content {
    position: absolute;

    right: 25px;
    bottom: 25px;

    z-index: 2;

    text-align: right;
}

.featured-content span {
    display: inline-block;

    padding: 5px 10px;

    background: var(--main-color);
    color: white;

    border-radius: 7px;

    font-size: 12px;
}

.featured-content h3 {
    color: white;

    font-size: 26px;

    margin: 10px 0 5px;
}

.featured-content p {
    color: #bdbdbd;

    margin: 0 0 10px;
}

.featured-content strong {
    display: block;

    color: white;

    font-size: 24px;

    margin-bottom: 12px;
}

.featured-content button {
    background: var(--main-color);
    color: white;

    border: none;

    padding: 10px 22px;

    border-radius: 8px;

    font-size: 15px;

    cursor: pointer;

    transition: 0.3s;
}

.featured-content button:hover {
    background: var(--main-color);
}


/* =========================
   منطقة الأشرطة
========================= */

.popular-slider {
    height: 450px;

    overflow: hidden;

    position: relative;
}


/* الأشرطة */

.popular-track {
    display: flex;

    flex-direction: column;

    gap: 15px;

    height: max-content;
}


/* كل منتج */

.popular-product {
    display: flex;

    align-items: center;

    min-height: 135px;

    background: #0a0a0a;

    border: 1px solid #450000;

    border-radius: 16px;

    overflow: hidden;

    cursor: pointer;

    transition: 0.3s;
}

.popular-product:hover {
    border-color: var(--main-color);

    transform: translateX(-5px);
}


/* صورة المنتج */

.popular-product img {
    width: 140px;
    height: 135px;

    object-fit: cover;

    flex-shrink: 0;
}


/* معلومات المنتج */

.popular-product-info {
    flex: 1;

    padding: 15px;

    text-align: right;
}

.popular-product-info small {
    display: inline-block;

    color: white;

    background: #5c0000;

    padding: 4px 8px;

    border-radius: 6px;

    font-size: 11px;
}

.popular-product-info h3 {
    color: white;

    font-size: 17px;

    margin: 8px 0;
}

.popular-product-info p {
    color: var(--main-color);

    font-size: 18px;

    font-weight: bold;

    margin: 0;
}

.top-login {
    position: absolute;
    top: 20px;
    left: 25px;
    z-index: 100;
}

.login-button {
    background: var(--main-color);
    color: white;

    border: 1px solid var(--main-color);
    border-radius: 8px;

    padding: 10px 20px;

    font-size: 15px;

    cursor: pointer;

    transition: 0.3s;
}

.login-button:hover {
    background: var(--main-color);
    transform: translateY(-2px);
}

/* =========================
   نافذة تسجيل الدخول
========================= */

.login-overlay {
    position: fixed;
    top: 0;
    left: 0;

    width: 100vw;
    height: 100vh;

    display: none;

    align-items: center;
    justify-content: center;

    background: rgba(0, 0, 0, 0.85);

    z-index: 99999;
}

.login-box {
    position: relative;

    width: 400px;
    max-width: 90%;

    padding: 35px;

    background: #0a0a0a;

    border: 1px solid var(--main-color);
    border-radius: 18px;

    box-shadow: 0 0 40px rgba(139, 0, 0, 0.4);

    text-align: right;
}

.login-box h2 {
    color: white;
    font-size: 30px;
    margin: 0 0 8px;
}

.login-box > p {
    color: #999;
    margin-bottom: 25px;
}

.login-box label {
    display: block;
    color: white;
    margin: 15px 0 7px;
}

.login-box input {
    width: 100%;
    box-sizing: border-box;

    padding: 13px;

    background: #111;

    border: 1px solid #333;
    border-radius: 8px;

    color: white;

    outline: none;
}

.login-box input:focus {
    border-color: var(--main-color);
}

.login-submit {
    width: 100%;

    margin-top: 22px;
    padding: 13px;

    background: var(--main-color);

    border: none;
    border-radius: 8px;

    color: white;

    font-size: 16px;

    cursor: pointer;
}

.login-submit:hover {
    background: var(--main-color);
}

.close-login {
    position: absolute;

    top: 12px;
    left: 15px;

    width: 35px;
    height: 35px;

    background: var(--main-color);

    border: none;
    border-radius: 7px;

    color: white;

    font-size: 20px;

    cursor: pointer;
}

.close-login:hover {
    background: var(--main-color);
}

.login-footer {
    margin-top: 20px;
    text-align: center;
    color: #999;
}

.login-footer a {
    color: var(--main-color);
    text-decoration: none;
    margin-right: 5px;
}

.login-footer a:hover {
    color: white;
}

/* توسيط علامة الإغلاق والسهم */

.close-login,
.category-arrow {
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;
    line-height: 1;
}

.register-overlay {
    position: fixed;
    inset: 0;

    display: none;
    align-items: center;
    justify-content: center;

    background: rgba(0, 0, 0, 0.85);

    z-index: 100000;
}

.register-box {
    position: relative;

    width: 400px;
    max-width: 90%;

    padding: 35px;

    background: #0a0a0a;

    border: 1px solid var(--main-color);
    border-radius: 18px;

    box-shadow: 0 0 40px rgba(139, 0, 0, 0.4);

    text-align: right;
}

.register-box h2 {
    color: white;
    font-size: 30px;
    margin: 0 0 8px;
}

.register-box > p {
    color: #999;
    margin-bottom: 20px;
}

.register-box label {
    display: block;
    color: white;
    margin: 12px 0 6px;
}

.register-box input {
    width: 100%;
    box-sizing: border-box;

    padding: 12px;

    background: #111;
    border: 1px solid #333;
    border-radius: 8px;

    color: white;
    outline: none;
}

.register-box input:focus {
    border-color: var(--main-color);
}

.register-submit {
    width: 100%;

    margin-top: 20px;
    padding: 13px;

    background: var(--main-color);
    border: none;
    border-radius: 8px;

    color: white;
    font-size: 16px;

    cursor: pointer;
}

.register-submit:hover {
    background: var(--main-color);
}

.close-register {
    position: absolute;

    top: 12px;
    left: 15px;

    width: 35px;
    height: 35px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    background: var(--main-color);
    border: none;
    border-radius: 7px;

    color: white;
    font-size: 20px;

    cursor: pointer;
}

.close-register:hover {
    background: var(--main-color);
}

.register-footer {
    margin-top: 18px;

    text-align: center;

    color: #999;
}

.register-footer button {
    background: none;
    border: none;

    color: var(--main-color);

    cursor: pointer;
}

.register-footer button:hover {
    color: white;
}

.register-link {
    background: none;
    border: none;

    color: var(--main-color);

    padding: 0;
    margin-right: 5px;

    cursor: pointer;
    font-size: inherit;
}

.register-link:hover {
    color: white;
}

.google-divider {
    display: flex;
    align-items: center;
    gap: 12px;

    margin: 20px 0;
}

.google-divider::before,
.google-divider::after {
    content: "";

    flex: 1;

    height: 1px;

    background: #333;
}

.google-divider span {
    color: #777;
    font-size: 13px;
}

.google-login {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    padding: 12px;

    background: #111;

    border: 1px solid #333;
    border-radius: 8px;

    color: white;

    font-size: 15px;

    cursor: pointer;

    transition: 0.3s;
}

.google-login:hover {
    background: #181818;
    border-color: var(--main-color);
}

.google-icon {
    font-family: Arial, sans-serif;

    font-size: 20px;
    font-weight: bold;

    color: white;
}

.brand {
    position: absolute;

    top: 20px;
    right: 30px;

    display: flex;
    align-items: center;

    gap: 12px;

    direction: rtl;
}

.brand img {
    width: 55px;
    height: 55px;

    object-fit: contain;
}

.brand h1 {
    margin: 0;

    color: var(--main-color);

    font-size: 28px;
    font-weight: bold;
}

body > p {
    color: var(--main-color);
    font-size: 30px;
    font-weight: bold;
}

/* =========================
   Night Store - Cart
========================= */

.top-actions {
    position: fixed;
    top: 20px;
    left: 25px;

    display: flex;
    align-items: center;
    gap: 10px;

    z-index: 9999;
    direction: rtl;
}

/* تسجيل الدخول */

.top-actions .login-button {
    height: 45px;
    padding: 0 20px;

    background: #111;
    border: 1px solid #8b0000;
    border-radius: 9px;

    color: white;
    font-size: 14px;
    font-weight: bold;

    cursor: pointer;
    transition: 0.3s;
}

.top-actions .login-button:hover {
    background: #8b0000;
}

/* زر السلة */

.cart-button {
    position: relative;

    height: 45px;
    padding: 0 15px;

    display: flex;
    align-items: center;
    gap: 7px;

    background: #111;
    border: 1px solid #8b0000;
    border-radius: 9px;

    color: white;
    font-size: 14px;
    font-weight: bold;

    cursor: pointer;
    transition: 0.3s;
}

.cart-button:hover {
    background: #8b0000;
}

.cart-button b {
    min-width: 19px;
    height: 19px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #8b0000;
    border-radius: 50%;

    color: white;
    font-size: 11px;
}

/* خلفية السلة */

.cart-overlay {
    position: fixed;

    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    display: none;

    justify-content: flex-start;
    align-items: flex-start;

    padding-top: 75px;
    padding-left: 25px;
    padding-right: 0;

    background: rgba(0, 0, 0, 0.65);

    z-index: 99999;

    direction: ltr;
}

.cart-box {
    direction: rtl;
}

/* صندوق السلة */

.cart-box {
    width: 390px;
    max-width: calc(100vw - 30px);

    background: #0a0a0a;

    border: 1px solid #450000;
    border-radius: 15px;

    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.8);

    overflow: hidden;

    direction: rtl;
}

/* رأس السلة */

.cart-header {
    height: 70px;

    padding: 0 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: #0d0d0d;
    border-bottom: 1px solid #2a2a2a;
}

.cart-header > div {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-header h2 {
    margin: 0;

    color: white;
    font-size: 19px;
}

.cart-header span {
    color: #8b0000;
    font-weight: bold;
}

/* زر الإغلاق */

.close-cart {
    width: 35px;
    height: 35px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: transparent;
    border: none;

    color: #888;
    font-size: 25px;

    cursor: pointer;
}

.close-cart:hover {
    color: white;
}

/* المنتجات */

.cart-items {
    max-height: 400px;
    overflow-y: auto;

    padding: 12px;
}

/* السلة الفارغة */

.empty-cart {
    padding: 35px 15px;

    text-align: center;
}

.empty-cart-icon {
    width: 55px;
    height: 55px;

    margin: 0 auto 15px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #170000;
    border: 1px solid #450000;
    border-radius: 50%;

    font-size: 23px;
}

.empty-cart h3 {
    margin: 0 0 8px;

    color: white;
    font-size: 17px;
}

.empty-cart p {
    margin: 0 0 20px;

    color: #777;
    font-size: 13px;
}

.empty-cart button {
    padding: 10px 25px;

    background: #8b0000;
    border: none;
    border-radius: 8px;

    color: white;
    font-weight: bold;

    cursor: pointer;
}

.empty-cart button:hover {
    background: #b00000;
}

/* أسفل السلة */

.cart-footer {
    padding: 18px;

    background: #0d0d0d;
    border-top: 1px solid #2a2a2a;
}

.cart-total {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 15px;

    color: #aaa;
}

.cart-total strong {
    color: white;
    font-size: 20px;
}

.checkout-button {
    width: 100%;
    padding: 13px;

    background: #8b0000;
    border: none;
    border-radius: 9px;

    color: white;
    font-size: 15px;
    font-weight: bold;

    cursor: pointer;
    transition: 0.3s;
}

.checkout-button:hover {
    background: #b00000;
}

/* =========================
   NIGHT STORE HEADER
========================= */

.store-header {
    position: fixed;

    top: 15px;
    left: 25px;
    right: 25px;

    height: 58px;

    display: flex;
    align-items: center;

    justify-content: space-between;

    padding: 0 18px;

    background: #0a0a0a;

    border: 1px solid #450000;
    border-radius: 18px;

    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);

    z-index: 9999;

    direction: ltr;
}


/* الجهة اليسرى */

.header-left {
    display: flex;

    align-items: center;

    gap: 8px;

    direction: rtl;
}


/* تسجيل الدخول */

.login-button {
    height: 40px;

    padding: 0 18px;

    background: #111111;

    border: 1px solid #450000;

    border-radius: 10px;

    color: white;

    font-size: 14px;

    font-weight: bold;

    cursor: pointer;

    transition: 0.3s;
}

.login-button:hover {
    background: #8b0000;

    border-color: #8b0000;
}


/* السلة */

.cart-button {
    height: 40px;

    padding: 0 13px;

    display: flex;

    align-items: center;

    gap: 6px;

    background: #111111;

    border: 1px solid #450000;

    border-radius: 10px;

    color: white;

    cursor: pointer;

    transition: 0.3s;
}

.cart-button:hover {
    background: #8b0000;
}

.cart-button b {
    min-width: 19px;

    height: 19px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #8b0000;

    border-radius: 50%;

    color: white;

    font-size: 11px;
}


/* العملة */

.currency-button {
    height: 40px;

    padding: 0 12px;

    display: flex;

    align-items: center;

    gap: 6px;

    background: #111111;

    border: 1px solid #333333;

    border-radius: 10px;

    color: white;

    font-weight: bold;

    cursor: pointer;
}

.currency-arrow {
    color: #888;
}


/* البحث */

.header-search {
    width: 38%;

    height: 38px;

    display: flex;

    align-items: center;

    padding: 0 14px;

    background: #050505;

    border: 1px solid #333333;

    border-radius: 20px;
}

.header-search input {
    width: 100%;

    border: none;

    outline: none;

    background: transparent;

    color: white;

    text-align: right;

    font-size: 13px;
}

.header-search input::placeholder {
    color: #777;
}

.header-search span {
    color: #8b0000;

    font-size: 22px;

    margin-left: 8px;
}


/* البراند */

.header-brand {
    display: flex;

    align-items: center;

    gap: 10px;

    direction: rtl;
}

.header-brand img {
    width: 43px;

    height: 43px;

    object-fit: contain;
}

.header-brand-text {
    text-align: right;
}

.header-brand-text h1 {
    margin: 0;

    color: white;

    font-size: 18px;
}

.header-brand-text small {
    color: #777;

    font-size: 9px;
}


/* مساحة حتى لا يغطي الهيدر محتوى الموقع */

body {
    padding-top: 95px;
}

/* =========================
   CART PRODUCTS
========================= */

.cart-product {
    position: relative;

    display: flex;
    align-items: center;

    gap: 12px;

    padding: 12px;

    margin-bottom: 8px;

    background: #111;

    border: 1px solid #2b1111;

    border-radius: 10px;

    direction: rtl;
}

.cart-product img {
    width: 58px;
    height: 58px;

    object-fit: cover;

    border-radius: 8px;

    border: 1px solid #450000;
}

.cart-product-info {
    flex: 1;

    min-width: 0;
}

.cart-product-info h3 {
    margin: 0 0 6px;

    color: white;

    font-size: 14px;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-product-info strong {
    display: block;

    margin-bottom: 7px;

    color: #b00000;

    font-size: 14px;
}

.cart-quantity {
    display: flex;

    align-items: center;

    gap: 7px;
}

.cart-quantity button {
    width: 25px;
    height: 25px;

    border: 1px solid #450000;

    border-radius: 6px;

    background: #170000;

    color: white;

    cursor: pointer;
}

.cart-quantity button:hover {
    background: #8b0000;
}

.cart-quantity span {
    min-width: 18px;

    text-align: center;

    color: white;

    font-size: 13px;
}

.remove-cart-product {
    width: 28px;
    height: 28px;

    background: transparent;

    border: none;

    color: #777;

    font-size: 20px;

    cursor: pointer;
}

.remove-cart-product:hover {
    color: #b00000;
}

/* =========================
   CHECKOUT PAGE
========================= */

.checkout-header {
    position: relative;

    margin: 15px 25px;

    height: 65px;

    padding: 0 20px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    background: #0a0a0a;

    border: 1px solid #450000;

    border-radius: 16px;
}

.checkout-logo {
    display: flex;

    align-items: center;

    gap: 10px;

    color: white;

    text-decoration: none;
}

.checkout-logo img {
    width: 45px;

    height: 45px;

    object-fit: contain;
}

.checkout-logo h1 {
    margin: 0;

    font-size: 18px;

    color: white;
}

.checkout-logo small {
    color: #777;

    font-size: 9px;
}

.back-store {
    padding: 10px 17px;

    background: #111;

    border: 1px solid #450000;

    border-radius: 8px;

    color: white;

    text-decoration: none;

    font-size: 13px;

    transition: .3s;
}

.back-store:hover {
    background: #8b0000;
}


/* المحتوى */

.checkout-container {
    width: min(1100px, 92%);

    margin: 40px auto;
}

.checkout-title {
    margin-bottom: 25px;

    text-align: right;
}

.checkout-title h2 {
    margin: 0 0 7px;

    color: white;

    font-size: 30px;
}

.checkout-title p {
    margin: 0;

    color: #777;
}


/* التخطيط */

.checkout-layout {
    display: grid;

    grid-template-columns: 1fr 350px;

    gap: 20px;

    align-items: start;
}


/* المنتجات */

.checkout-products,
.checkout-summary {
    background: #0a0a0a;

    border: 1px solid #350000;

    border-radius: 15px;
}

.checkout-products {
    padding: 20px;
}

.checkout-section-title {
    display: flex;

    align-items: center;

    justify-content: space-between;

    padding-bottom: 15px;

    margin-bottom: 15px;

    border-bottom: 1px solid #252525;
}

.checkout-section-title h3 {
    margin: 0;

    color: white;

    font-size: 18px;
}

.checkout-section-title span {
    color: #8b0000;

    font-size: 13px;
}


/* المنتج */

.checkout-product {
    display: flex;

    align-items: center;

    gap: 15px;

    padding: 13px;

    margin-bottom: 10px;

    background: #111;

    border: 1px solid #241010;

    border-radius: 10px;
}

.checkout-product img {
    width: 65px;

    height: 65px;

    object-fit: cover;

    border-radius: 8px;

    border: 1px solid #450000;
}

.checkout-product-info {
    flex: 1;
}

.checkout-product-info h3 {
    margin: 0 0 7px;

    color: white;

    font-size: 15px;
}

.checkout-product-info span {
    color: #777;

    font-size: 12px;
}

.checkout-product > strong {
    color: #b00000;

    font-size: 16px;
}


/* الملخص */

.checkout-summary {
    padding: 22px;

    position: sticky;

    top: 20px;
}

.checkout-summary h3 {
    margin: 0 0 22px;

    color: white;

    font-size: 20px;
}

.summary-line {
    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 15px;

    color: #999;

    font-size: 13px;
}

.summary-line strong {
    color: white;
}

.free-delivery {
    color: #8b0000;

    font-weight: bold;
}

.summary-divider {
    height: 1px;

    background: #292929;

    margin: 20px 0;
}

.summary-total {
    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 20px;

    color: white;

    font-weight: bold;
}

.summary-total strong {
    color: #b00000;

    font-size: 23px;
}


/* الدفع */

.confirm-payment {
    width: 100%;

    padding: 14px;

    background: #8b0000;

    border: none;

    border-radius: 9px;

    color: white;

    font-size: 15px;

    font-weight: bold;

    cursor: pointer;

    transition: .3s;
}

.confirm-payment:hover {
    background: #b00000;
}

.confirm-payment:disabled {
    opacity: .4;

    cursor: not-allowed;
}


/* الأمان */

.payment-security {
    display: flex;

    align-items: center;

    gap: 10px;

    margin-top: 18px;

    padding: 12px;

    background: #120707;

    border: 1px solid #2d1111;

    border-radius: 9px;

    color: #8b0000;
}

.payment-security div {
    display: flex;

    flex-direction: column;

    gap: 3px;
}

.payment-security strong {
    color: white;

    font-size: 12px;
}

.payment-security small {
    color: #666;

    font-size: 10px;
}


/* سلة فارغة */

.checkout-empty {
    padding: 50px 20px;

    text-align: center;
}

.checkout-empty > div {
    font-size: 35px;

    margin-bottom: 10px;
}

.checkout-empty h3 {
    margin: 0 0 7px;

    color: white;
}

.checkout-empty p {
    color: #777;

    font-size: 13px;
}

.checkout-empty a {
    display: inline-block;

    margin-top: 10px;

    padding: 10px 20px;

    background: #8b0000;

    border-radius: 8px;

    color: white;

    text-decoration: none;

    font-size: 13px;
}


/* الجوال */

@media (max-width: 800px) {

    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .checkout-summary {
        position: static;
    }

    .checkout-header {
        margin: 10px;

        padding: 0 12px;
    }

}

/* =========================
   قائمة الحساب
========================= */

.account-menu {
    position: fixed;
    top: 72px;
    left: 25px;
    width: 210px;
    background: #080808;
    border: 1px solid #450000;
    border-radius: 15px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.8);
    overflow: hidden;
    display: none;
    z-index: 100000;
    direction: rtl;
}

.account-menu button {
    width: 100%;
    height: 52px;
    padding: 0 18px;
    background: transparent;
    border: none;
    border-bottom: 1px solid #222;
    color: white;
    text-align: right;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
}

.account-menu button:last-child {
    border-bottom: none;
    color: #ff3333;
}

.account-menu button:hover {
    background: #260000;
}

.account-menu button:last-child:hover {
    background: #450000;
    color: white;
}

/* =================================
   نافذة تسجيل الدخول - Night Store
   أحمر غامق + أسود
================================= */

.social-login-box {
    width: 430px;
    max-width: 90%;
    background: #080808;
    border: 1px solid #8b0000;
    border-radius: 20px;
    padding: 35px;
    box-shadow:
        0 0 35px rgba(139, 0, 0, 0.35),
        0 20px 60px rgba(0, 0, 0, 0.8);
    position: relative;
    direction: rtl;
}

/* الشعار */
.social-login-header {
    text-align: center;
    margin-bottom: 28px;
}

.social-login-header img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    margin-bottom: 10px;
}

.social-login-header h2 {
    margin: 0;
    color: white;
    font-size: 27px;
}

.social-login-header p {
    margin: 8px 0 0;
    color: #777;
    font-size: 13px;
}

/* أزرار Google و Discord */
.social-login-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-login {
    width: 100%;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-radius: 11px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.25s;
}

/* Google */
.google-login {
    background: #111;
    border: 1px solid #333;
    color: white;
}

.google-login:hover {
    background: #1b1b1b;
    border-color: #8b0000;
    box-shadow: 0 0 15px rgba(139, 0, 0, 0.25);
}

/* Discord */
.discord-login {
    background: #160000;
    border: 1px solid #650000;
    color: white;
}

.discord-login:hover {
    background: #8b0000;
    border-color: #b00000;
    box-shadow: 0 0 18px rgba(139, 0, 0, 0.4);
}

/* أيقونات */
.social-icon {
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.google-icon {
    background: white;
    color: #4285f4;
    border-radius: 50%;
    font-size: 15px;
}

/* معلومات الأمان */
.login-security {
    margin-top: 22px;
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #0d0d0d;
    border: 1px solid #2b0000;
    border-radius: 12px;
}

.login-security > span {
    font-size: 20px;
}

.login-security strong {
    display: block;
    color: white;
    font-size: 13px;
}

.login-security small {
    display: block;
    color: #777;
    margin-top: 4px;
    font-size: 11px;
}

/* النص السفلي */
.login-note {
    color: #666;
    text-align: center;
    font-size: 10px;
    line-height: 1.7;
    margin: 20px 0 0;
}

/* زر الإغلاق */
.social-login-box .close-login {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 36px;
    height: 36px;
    background: #8b0000;
    border: none;
    border-radius: 9px;
    color: white;
    font-size: 20px;
    cursor: pointer;
}

.social-login-box .close-login:hover {
    background: #b00000;
}

/* أزرار تسجيل الدخول - شكل احترافي */

.social-login {
    position: relative;
    width: 100%;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    padding: 0 18px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.25s;
    direction: rtl;
}

/* مربع الشعار */
.social-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    font-size: 23px;
    direction: ltr;
}

/* Google */
.google-login {
    background: #0b0b0b;
    border: 1px solid #444;
    color: #fff;
}

.google-login .google-icon {
    background: #151515;
    border: 1px solid #333;
    color: #4285f4;
    font-family: Arial, sans-serif;
    font-size: 21px;
    font-weight: bold;
}

.google-login:hover {
    border-color: #8b0000;
    background: #120000;
}

/* Discord */
.discord-login {
    background: #0b0b0b;
    border: 1px solid #650000;
    color: #fff;
}

.discord-login .social-icon {
    background: #151515;
    border: 1px solid #333;
    color: #7289da;
    font-size: 20px;
}

.discord-login:hover {
    background: #160000;
    border-color: #8b0000;
}

/* السهم */
.social-login::after {
    content: "→";
    position: absolute;
    left: 18px;
    font-size: 23px;
    color: #8b0000;
    transition: 0.25s;
}

.social-login:hover::after {
    color: #b00000;
    transform: translateX(-4px);
}