/* =========================================================
   FAHAD STORE
   MAIN STYLE.CSS
========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Tahoma, Arial, sans-serif;
    background: #ffffff;
    color: #111111;
}

button,
input {
    font-family: inherit;
}

button {
    cursor: pointer;
}


/* =========================================================
   COLORS
========================================================= */

:root {
    --primary: #0c2553;
    --primary-dark: #082f70;
    --primary-light: #eaf2ff;

    --text: #111111;
    --muted: #666666;

    --border: #e5e9f0;

    --white: #ffffff;

    --footer-dark: #061d45;
}


/* =========================================================
   TOP BAR
========================================================= */

.top-bar {
    height: 38px;

    background: var(--primary);

    color: #ffffff;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 0 4%;

    font-size: 13px;
}

.top-links {
    display: flex;

    gap: 28px;
}

.top-links a {
    color: #ffffff;

    text-decoration: none;
}

.top-links a:hover {
    text-decoration: underline;
}


/* =========================================================
   HEADER
========================================================= */

header {
    height: 110px;

    display: flex;

    align-items: center;

    gap: 35px;

    padding: 0 4%;

    border-bottom: 1px solid #eeeeee;

    background: url("header-bg.png") center center / cover no-repeat;
}


/* =========================================================
   LOGO
========================================================= */

.logo {
    min-width: 230px;

    display: flex;

    align-items: center;

    gap: 10px;

    position: relative;
}



.logo div {
    display: flex;

    flex-direction: column;

    font-family: Georgia, serif;

    letter-spacing: 3px;
}

.logo strong {
    font-size: 20px;
}

.logo span {
    font-size: 15px;

    letter-spacing: 5px;
}


/* =========================================================
   SEARCH
========================================================= */

.search-box {
    flex: 1;

    max-width: 650px;

    height: 50px;

    display: flex;

    border: 1px solid #dddddd;

    border-radius: 
            30px;

    overflow: hidden;

    background: #ffffff;

    box-shadow:
        0 3px 12px rgba(0, 0, 0, 0.05);
}

.search-box input {
    flex: 1;

    min-width: 0;

    border: none;

    outline: none;

    padding: 0 15px;

    font-size: 14px;

    text-align: right;

    background: #ffffff;
}

.search-box input::placeholder {
    color: #999999;
}


/* =========================================================
   SEARCH BUTTON
========================================================= */

.search-box button.search-button {
    width: 60px;

    height: 50px;

    min-width: 60px;

    flex-shrink: 0;

    border: none;

    border-radius: 0;

    padding: 0;

    margin: 0;

    background: transparent;

    display: flex;

    align-items: center;

    justify-content: center;

    cursor: pointer;

    transition: 0.2s ease;
}

.search-box button.search-button img {
    width: 34px;

    height: 34px;

    max-width: 34px;

    max-height: 34px;

    object-fit: contain;

    display: block;
}

.search-box button.search-button:hover {
    background: transparent;
}


/* =========================================================
   HEADER BUTTONS
========================================================= */

.header-buttons {
    display: flex;

    align-items: center;

    gap: 25px;
}

.header-buttons > button {
    border: none;

    background: transparent;

    display: flex;

    align-items: center;

    gap: 7px;

    font-size: 15px;

    padding: 5px;
}


/* =========================================================
   FAVORITE BUTTON
========================================================= */

.favorite-button {
    border: none !important;

    background: transparent !important;

    width: 43px !important;

    height: 43px !important;

    min-width: 43px !important;

    max-width: 43px !important;

    padding: 0 !important;

    margin: 0 !important;

    display: flex !important;

    align-items: center !important;

    justify-content: center !important;

    position: relative !important;

    cursor: pointer;

    flex-shrink: 0 !important;

    appearance: none;

    -webkit-appearance: none;
}

.favorite-heart {
    font-family: Arial, sans-serif !important;

    font-size: 32px !important;

    line-height: 1 !important;

    width: 32px !important;

    height: 32px !important;

    display: flex !important;

    align-items: center !important;

    justify-content: center !important;

    color: #111111 !important;

    background: transparent !important;

    transition:
        transform 0.18s ease,
        color 0.18s ease;

    user-select: none;

    -webkit-user-select: none;
}


/* =========================================================
   FAVORITE ACTIVE
========================================================= */

.favorite-button.active .favorite-heart {
    color: transparent !important;

    font-size: 0 !important;
}

.favorite-button.active .favorite-heart::before {
    content: "♥";

    font-family: Arial, sans-serif;

    font-size: 31px;

    line-height: 1;

    color: #000000;

    display: block;
}


/* =========================================================
   FAVORITE PRESS
========================================================= */

.favorite-button:active .favorite-heart {
    transform: scale(0.88);
}


/* =========================================================
   ACCOUNT
========================================================= */

.account-button {
    display: flex !important;

    align-items: center !important;

    gap: 0 !important;

    border: none;

    background: transparent;

    position: relative;
}

.account-icon {
    width: 100px !important;

    height: 100px !important;

    max-width: none !important;

    max-height: none !important;

    object-fit: contain !important;

    display: block !important;

    position: relative !important;

    transform: translate(28px, -5px) !important;
}

.account-button span {
    position: relative;

    z-index: 10;

    margin-right: -40px !important;
}


/* =========================================================
   CART BUTTON
========================================================= */

.cart-button {
    position: relative;

    display: flex !important;

    align-items: center !important;

    justify-content: center;

    gap: 0 !important;

    padding: 5px 10px !important;

    border: none !important;

    background: transparent !important;
}

.cart-button span {
    margin-right: -38px;

    font-size: 14px;

    font-weight: 600;
}

.cart-button .cart-icon {
    width: 90px !important;

    height: 90px !important;

    max-width: 90px !important;

    max-height: 90px !important;

    min-width: 90px;

    object-fit: contain !important;

    transform: translateX(5px);

    display: block !important;

    flex-shrink: 0;

    background: transparent !important;

    border: none !important;

    box-shadow: none !important;
}

.cart-button b {
    position: absolute !important;

    top: 30px !important;

    right: 28px !important;

    background: transparent !important;

    color: #0649ad !important;

    font-size: 14px !important;

    font-weight: bold !important;

    width: auto !important;

    height: auto !important;

    padding: 0 !important;

    margin: 0 !important;

    border: none !important;

    border-radius: 0 !important;

    display: block !important;

    line-height: 1 !important;

    z-index: 999 !important;

    transform: none !important;
}


/* =========================================================
   WISHLIST
========================================================= */

.wishlist-button {
    position: relative;

    display: flex !important;

    align-items: center !important;

    justify-content: center;

    gap: 0 !important;

    padding: 5px 10px !important;

    border: none !important;

    background: transparent !important;
}

.wishlist-icon {
    width: 90px !important;

    height: 90px !important;

    max-width: 90px !important;

    max-height: 90px !important;

    object-fit: contain !important;

    display: block !important;

    background: transparent !important;

    border: none !important;

    box-shadow: none !important;
}

.wishlist-button span {
    margin-right: -38px;

    font-size: 14px;

    font-weight: 600;

    position: relative;

    z-index: 10;
}



/* =========================================================
   NAVIGATION
========================================================= */

nav {
    height: 52px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 38px;

    border-bottom: 1px solid #eeeeee;

    background: #1d1b1b !important;
}


nav a {
    color: #111111;

    text-decoration: none;

    font-size: 14px;

    font-weight: bold;

    height: 52px;

    display: flex;

    align-items: center;

    border-bottom: 3px solid transparent;

    transition: 0.2s;
}

nav a:hover,
nav a.active {
    color: var(--primary);

    border-bottom-color: var(--primary);
}


/* =========================================================
   HERO
========================================================= */

.hero {
    max-width: 1250px;

    min-height: 365px;

    margin: 18px auto 25px;

    border-radius: 18px;

    border: 1px solid #dce5f2;

    overflow: hidden;

    position: relative;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 35px 55px;

    background:
        radial-gradient(
            circle at 78% 45%,
            rgba(11, 61, 145, 0.16) 0,
            rgba(11, 61, 145, 0.07) 22%,
            transparent 48%
        ),
        radial-gradient(
            circle at 20% 80%,
            rgba(11, 61, 145, 0.08) 0,
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #ffffff 0%,
            #f5f8ff 50%,
            #edf3fc 100%
        );
}

.hero::before {
    content: "";

    position: absolute;

    width: 420px;

    height: 420px;

    right: -180px;

    top: -180px;

    border-radius: 50%;

    background:
        rgba(11, 61, 145, 0.10);

    z-index: 1;
}


/* =========================================================
   HERO TEXT
========================================================= */

.hero-text {
    position: relative;

    z-index: 5;

    text-align: right;

    max-width: 600px;
}

.hero-text p {
    margin: 0 0 7px;

    font-size: 19px;
}

.hero-text h1 {
    margin: 0;

    color: var(--primary);

    font-size: 55px;

    line-height: 1.1;
}

.hero-text h2 {
    margin: 7px 0 15px;

    font-size: 29px;
}

.description {
    font-size: 18px !important;

    color: #333333;
}


/* =========================================================
   FEATURES
========================================================= */

.features {
    display: flex;

    gap: 10px;

    margin: 20px 0;

    flex-wrap: wrap;
}

.features span {
    padding: 10px 15px;

    border: 1px solid #d7dfea;

    border-radius: 8px;

    background: rgba(255, 255, 255, 0.82);

    font-size: 13px;
}

.features img {
    display: block;

    object-fit: contain;
}


/* =========================================================
   SHOP BUTTON
========================================================= */

.shop-button {
    border: none;

    background-color: #91181e !important;

    color: #ffffff !important;

    padding: 14px 38px;

    border-radius: 8px;

    font-size: 16px;

    font-weight: bold;

    transition: 0.2s;
}

.shop-button:hover {
    background-color: #740d12 !important;

    transform: translateY(-2px);
}

/* =========================================================
   HERO PHONES
========================================================= */

.hero-phones {
    width: 48%;

    height: 340px;

    position: relative;

    z-index: 5;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: flex-start;
}

.hero-phones::before {
    content: "";

    position: absolute;

    width: 420px;

    height: 420px;

    right: 30px;

    top: 20px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(11, 61, 145, 0.16) 0%,
            rgba(11, 61, 145, 0.07) 35%,
            transparent 70%
        );

    filter: blur(5px);

    z-index: -1;
}

.hero-phones::after {
    content: "";

    position: absolute;

    width: 260px;

    height: 260px;

    right: -70px;

    top: 70px;

    border:
        1px solid rgba(11, 61, 145, 0.12);

    border-radius: 50%;

    box-shadow:
        0 0 0 35px rgba(11, 61, 145, 0.03),
        0 0 0 70px rgba(11, 61, 145, 0.02);

    z-index: -1;
}


/* =========================================================
   PHONE TITLE
========================================================= */

.phone-title {
    width: 100%;

    height: 85px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 5px;
}

.phone-title img {
    width: 310px;

    max-width: 90%;

    height: auto;

    object-fit: contain;

    display: block;

    position: relative;

    top: 20px;

    right: 25px;
}


/* =========================================================
   PHONES
========================================================= */

.phones {
    width: 100%;

    height: 245px;

    position: relative;
}

.phone {
    position: absolute;

    bottom: 0;

    width: 125px;

    height: 225px;

    display: flex;

    align-items: flex-end;

    justify-content: center;

    transition:
        transform 0.3s ease,
        filter 0.3s ease;
}

.phone img {
    width: 100%;

    height: 100%;

    object-fit: contain;

    display: block;

    filter:
        drop-shadow(
            0 15px 18px rgba(0, 0, 0, 0.20)
        );

    transition:
        transform 0.3s ease;
}

.phone-1 {
    right: 8%;
    bottom: 0;
}

.phone-2 {
    right: 36%;
    bottom: 15px;
}

.phone-3 {
    right: 64%;
    bottom: 0;
}

.phone:hover {
    transform: translateY(-12px);
}

.phone:hover img {
    filter:
        drop-shadow(
            0 22px 22px rgba(0, 0, 0, 0.25)
        );
}


/* =========================================================
   BENEFITS
========================================================= */

.benefits {
    max-width: 1200px;

    margin: 0 auto 45px;

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;

    padding: 30px 5%;

    background: transparent;
}

.benefit-box {
    height: 150px;

    border-radius: 15px;

    overflow: hidden;
}

.benefit-box img {
    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;
}


/* =========================================================
   SECTIONS
========================================================= */

.categories,
.linear-gradient-section {
    max-width: 1200px;

    margin: 0 auto 50px;
}

.section-title {
    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 20px;
}

.section-title h2 {
    margin: 0;

    font-size: 25px;
}

.section-title button {
    border: none;

    background: transparent;

    color: var(--primary);

    font-size: 14px;
}


/* =========================================================
   CATEGORIES
========================================================= */

.category-grid {
    display: grid;

    grid-template-columns:
        repeat(6, 1fr);

    gap: 50px;
}

.category-grid button {
    min-height: 145px;

    border: 1px solid #e4e8ef;

    border-radius: 12px;

    background-image:
        url("category-bg.jpeg");

    background-size: cover;

    background-position: center;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: flex-end;

    gap: 0;

    font-size: 40px;

    box-shadow:
        0 2px 10px rgba(0, 0, 0, 0.04);

    transition: 0.2s;

    overflow: hidden;

    position: relative;

    padding: 10px;
}

.category-grid button:hover {
    border-color: var(--primary);

    transform: translateY(-4px);

    box-shadow:
        0 8px 20px rgba(11, 61, 145, 0.12);
}

.category-grid button strong {
    display: block;

    position: relative;

    z-index: 20;

    width: 100%;

    text-align: center;

    font-size: 14px;

    color: #111111;

    line-height: 1.4;

    margin-bottom: 10px;
}

.category-grid .category-card {
    position: relative;

    min-height: 145px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: flex-end;

    gap: 0;

    padding: 10px;

    overflow: hidden;
}

.category-grid .category-card .category-image {
    width: 75px;

    height: 75px;

    object-fit: contain;

    display: block;

    position: absolute;

    top: 12px;

    left: 50%;

    transform: translateX(-50%);

    z-index: 5;

    transition:
        transform 0.25s ease;
}

.category-grid .category-card strong {
    position: absolute;

    bottom: 12px;

    left: 0;

    right: 0;

    width: 100%;

    text-align: center;

    font-size: 14px;

    color: #111111;

    z-index: 10;

    line-height: 1.4;

    display: block;
}

.category-grid .category-card:hover .category-image {
    transform:
        translateX(-50%)
        translateY(-4px);
}


/* =========================================================
   PRODUCTS
========================================================= */

.product-grid {
    display: grid;

    grid-template-columns:
        repeat(5, 1fr);

    gap: 16px;
}

.product-card {
    position: relative;

    border: 1px solid #ffffff;

    border-radius: 12px;

    padding: 12px;

   background: #ffffff;

    transition: 0.2s;
}

.product-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.08);
}

.product-heart {
    position: absolute;

    top: 10px;

    left: 10px;

    border: none;

    background: transparent;

    color: var(--primary);

    font-size: 23px;
}

.product-image {
    height: auto;

    border-radius: 9px;

    background:
        linear-gradient(
            135deg,
            #f1f4f8,
            #ffffff
        );

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 70px;

    margin-bottom: 10px;
}

.product-card h3 {
    font-size: 14px;

    min-height: 40px;

    margin: 8px 0;
}

.product-price {
    color: var(--primary);

    font-size: 19px;

    font-weight: bold;
}

.product-old-price {
    text-decoration: line-through !important;

    color: #888 !important;

    font-size: 14px;

    font-weight: 500;

    margin-right: 8px;
}

.product-discount {
    color: red !important;
}

.add-cart {
    width: 100%;

    border: 1px solid #F2BE58 !important;
background: #F2BE58 !important;

    color: #000000 !important;

    padding: 12px 22px;

    border-radius: 50px !important;

    margin-top: 10px;

    font-weight: bold;

    transition: 0.2s;
}

.add-cart:hover {
    background: #F2BE58 !important;
}


/* =========================================================
   BUY NOW BUTTON
========================================================= */

.buy-now-button {
    width: 100%;

    border: 1px solid #111111 !important;

    background: #111111 !important;

    color: #ffffff !important;

    padding: 10px;

    border-radius: 50px !important;

    margin-top: 7px;

    font-weight: bold;

    font-size: 13px;

    transition: 0.2s;
}

.buy-now-button:hover {
    background: #222222 !important;

    transform: translateY(-1px);
}


/* =========================================================
   PRODUCT STARS
========================================================= */

.stars,
.product-stars {
    color: #ffc107 !important;
}


/* =========================================================
   OFFERS
========================================================= */

.offers {
    max-width: 1200px;

    margin: 0 auto 50px;

    border: 1px solid #eeeeee;

    border-radius: 12px;

    padding: 22px;

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);
}

.offers div {
    text-align: center;

    border-left:
        1px solid #eeeeee;

    padding: 5px;
}

.offers div:last-child {
    border-left: none;
}

.offers strong,
.offers span {
    display: block;
}

.offers strong {
    color: var(--primary);

    font-size: 15px;
}

.offers span {
    margin-top: 6px;

    color: #777;

    font-size: 12px;
}


/* =========================================================
   FOOTER
========================================================= */


footer {
    direction: rtl;

    
background: linear-gradient(
    135deg,
    #000000 0%,
    #171309 28%,
    #503C16 55%,
    #D9AD52 78%,
    #000000 100%
) !important;


    color: #ffffff;

    display: grid;

    grid-template-columns:
        1fr
        1fr
        1fr
        1.3fr;

    gap: 55px;

    padding: 55px 8%;

    border-top: 3px solid #000000;
}


.footer-column {
    display: flex;

    flex-direction: column;

    align-items: flex-start;
}

.footer-column h3 {
    color: #ffffff;

    font-size: 18px;

    font-weight: bold;

    margin: 0 0 18px;

    position: relative;

    padding-bottom: 10px;
}

.footer-column h3::after {
    content: "";

    position: absolute;

    right: 0;

    bottom: 0;

    width: 42px;

    height: 3px;

    background: rgb(209, 176, 68);

    border-radius: 10px;
}

.footer-column p {
    color: #dce8f8;

    font-size: 14px;

    line-height: 1.8;

    margin: 5px 0;
}

.footer-column a {
    color: #dce8f8;

    text-decoration: none;

    font-size: 14px;

    margin: 6px 0;

    transition: 0.2s;
}

.footer-column a:hover {
    color: #ffffff;

    transform: translateX(-40px);
}


/* =========================================================
   FOOTER BRAND
========================================================= */

.footer-brand {
    display: flex;

    flex-direction: column;

    align-items: flex-start;

    justify-content: flex-start;

    padding-top: 100px;
}

.footer-logo {
    width: 125px;

    height: 125px;

    object-fit: contain;

    display: block;

    margin-top: 25px;

    margin-bottom: 25px;

    border: none !important;

    outline: none !important;

    background: transparent !important;

    box-shadow: none !important;

    border-radius: 0 !important;

    mix-blend-mode: multiply;

    position: relative;

    left: 100px;

    top: 155px;
}

.footer-description {
    margin-top: 155px !important;

    font-size: 15px !important;

    color: #ffffff !important;

    font-weight: bold;
}


/* =========================================================
   SOCIAL MEDIA
========================================================= */

.social-icons {
    display: flex;

    align-items: center;

    gap: 12px;

    margin-top: 15px;
}

.social-link {
    width: 45px;

    height: 45px;

    border-radius: 50%;

    background: transparent !important;

    display: flex !important;

    align-items: center;

    justify-content: center;

    padding: 0 !important;

    margin: 0 !important;

    transition: 0.25s;
}

.social-link img {
    width: 27px;

    height: 27px;

    object-fit: contain;
}

.social-link:hover {
    transform: translateY(-5px) !important;

    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.25);
}


/* =========================================================
   COPYRIGHT
========================================================= */

.copyright {
    background: #000000;

    color: #ffffff;

    text-align: center;

    padding: 12px;

    font-size: 12px;
}


/* =========================================================
   PROFESSIONAL CART
========================================================= */

.cart {
    position: fixed;

    top: 0;

    right: -480px;

    width: 450px;

    max-width: 100%;

    height: 100vh;

    background: #F8F4EF ;

    z-index: 1000;

    display: flex;

    flex-direction: column;

    padding: 0;

    box-shadow:
        -15px 0 45px rgba(0, 0, 0, 0.18);

    transition:
        right 0.4s cubic-bezier(0.4, 0, 0.2, 1);

    overflow: hidden;
}

.cart.open {
    right: 0;
}


/* =========================================================
   CART HEADER
========================================================= */

.cart-header {
    min-height: 75px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 0 22px;

    background: #F8F4EF ;

    border-bottom: 1px solid #F8F4EF ;

    flex-shrink: 0;
}

.cart-header h2 {
    margin: 0;

    font-size: 21px;

    font-weight: 800;

    color: #111111;
}

.cart-header button {
    width: 40px;

    height: 40px;

    display: flex;

    align-items: center;

    justify-content: center;

    border: none;

    background: #f4f4f4;

    color: #111111;

    border-radius: 50%;

    font-size: 27px;

    line-height: 1;

    cursor: pointer;

    transition:
        0.2s ease;
}

.cart-header button:hover {
    background: #111111;

    color: #F8F4EF ;

    transform: rotate(90deg);
}


/* =========================================================
   CART ITEMS
========================================================= */

#cartItems {
    flex: 1;

    padding: 10px 22px 20px;

    overflow-y: auto;

    overscroll-behavior: contain;
}

#cartItems::-webkit-scrollbar {
    width: 5px;
}

#cartItems::-webkit-scrollbar-track {
    background: transparent;
}

#cartItems::-webkit-scrollbar-thumb {
    background: #d5d5d5;

    border-radius: 20px;
}


/* =========================================================
   CART ITEM
========================================================= */

.cart-item {
    display: flex;

    align-items: center;

    gap: 13px;

    padding: 15px 0;

    border-bottom: 1px solid #eeeeee;

    position: relative;
}

.cart-item:last-child {
    border-bottom: none;
}


/* =========================================================
   CART ITEM IMAGE
========================================================= */

.cart-item img {
    width: 78px;

    height: 78px;

    object-fit: contain;

    flex-shrink: 0;

    border-radius: 12px;

    background: #f7f7f7;

    padding: 7px;
}


/* =========================================================
   CART ITEM INFO
========================================================= */

.cart-item-info {
    flex: 1;

    min-width: 0;
}

.cart-item-info strong {
    display: block;

    color: #111111;

    font-size: 14px;

    font-weight: 700;

    line-height: 1.5;

    margin-bottom: 5px;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;
}

.cart-item-info span {
    display: block;

    color: var(--primary);

    font-size: 14px;

    font-weight: 800;

    margin-bottom: 9px;
}


/* =========================================================
   QUANTITY
========================================================= */

.quantity {
    display: flex !important;

    align-items: center !important;

    justify-content: center !important;

    gap: 8px !important;

    height: auto !important;

    border: none !important;

    background: transparent !important;

    overflow: visible !important;

    margin: 0 !important;

    padding: 0 !important;
}

.quantity button {
    width: 30px !important;

    height: 30px !important;

    min-width: 30px !important;

    display: flex !important;

    align-items: center !important;

    justify-content: center !important;

    border: none !important;

    background: #eeeeee !important;

    color: #111111 !important;

    border-radius: 50% !important;

    font-size: 17px !important;

    font-weight: bold !important;

    padding: 0 !important;

    margin: 0 !important;

    cursor: pointer;

    transition: 0.2s ease;
}

.quantity button:hover {
    background: #111111 !important;

    color: #ffffff !important;
}

.quantity span {
    width: 25px !important;

    margin: 0 !important;

    padding: 0 !important;

    text-align: center !important;

    color: #111111 !important;

    font-size: 13px !important;

    font-weight: 700 !important;

    background: transparent !important;

    border: none !important;
}


/* =========================================================
   DELETE BUTTON
========================================================= */

.cart-item .remove-item,
.cart-item .delete-item {
    width: 30px;

    height: 30px;

    display: flex;

    align-items: center;

    justify-content: center;

    border: none;

    background: transparent;

    color: #999999;

    font-size: 19px;

    cursor: pointer;

    border-radius: 50%;

    transition: 0.2s;
}

.cart-item .remove-item:hover,
.cart-item .delete-item:hover {
    background: #fff0f0;

    color: #e53935;
}


/* =========================================================
   EMPTY CART
========================================================= */

#cartItems > p {
    text-align: center;

    margin: 80px 0 0;

    color: #888888;

    font-size: 15px;
}

#cartItems > p::before {
    content: "🛒";

    display: block;

    font-size: 45px;

    margin-bottom: 15px;

    opacity: 0.35;
}


/* =========================================================
   CART FOOTER / TOTAL
========================================================= */

.cart-total {
    margin: 0;

    padding: 18px 22px;

    border-top: 1px solid #F8F4EF ;

    background: #F8F4EF ;

    display: flex;

    align-items: center;

    justify-content: space-between;

    font-size: 16px;

    font-weight: 600;

    flex-shrink: 0;

    position: relative;

    top: -60px;
}

.cart-total strong {
    color: #111111;

    font-size: 21px;

    font-weight: 900;
}


/* =========================================================
   CHECKOUT BUTTON
========================================================= */

.checkout {
    width: calc(100% - 44px);

    margin: 0 22px 22px;

    min-height: 52px;

    border: none;

    border-radius: 14px;

    background: #111111;

    color: #ffffff;

    font-size: 15px;

    font-weight: 800;

    cursor: pointer;

    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.15);

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;

    flex-shrink: 0;

    position: relative;

    top: -60px;
    
}

.checkout:hover {
    background: #222222;

    transform: translateY(-2px);

    box-shadow:
        0 12px 25px rgba(0, 0, 0, 0.2);
}

.checkout:active {
    transform: scale(0.98);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .cart {
        width: 420px;

        right: -450px;
    }

    .top-bar {
        font-size: 10px;
    }

    header {
        height: auto;

        padding: 15px;

        flex-wrap: wrap;
    }

    .logo {
        min-width: auto;
    }

    .logo img {
        width: 20px;

        height: 20px;

        max-width: 20px;

        max-height: 20px;
    }

    .search-box {
        order: 3;

        flex-basis: 100%;

        max-width: none;
    }

    nav {
        overflow-x: auto;

        justify-content: flex-start;

        padding: 0 15px;

        gap: 22px;

        white-space: nowrap;
    }

    .hero {
        margin: 12px;

        padding: 30px 20px;

        flex-direction: column;

        text-align: center;
    }

    .hero-text {
        text-align: center;
    }

    .hero-text h1 {
        font-size: 43px;
    }

    .hero-phones {
        width: 100%;

        height: 330px;

        margin-top: 20px;
    }

    .phone-title {
        height: 75px;

        margin-bottom: 5px;
    }

    .phone-title img {
        width: 260px;

        max-width: 80%;
    }

    .phones {
        width: 100%;

        height: 240px;
    }

    .phone {
        width: 100px;

        height: 205px;
    }

    .phone-1 {
        right: 15%;
    }

    .phone-2 {
        right: 38%;
    }

    .phone-3 {
        right: 61%;
    }

    .benefits {
        margin: 15px;

        grid-template-columns:
            repeat(2, 1fr);
    }

    .categories,
    .products-section {
        margin-left: 15px;

        margin-right: 15px;
    }

    .category-grid {
        grid-template-columns:
            repeat(3, 1fr);
    }

    .product-grid {
        grid-template-columns:
            repeat(3, 1fr);
    }

    .offers {
        margin: 15px;

        grid-template-columns:
            repeat(2, 1fr);
    }

    footer {
        grid-template-columns:
            repeat(2, 1fr);

        padding: 35px 20px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    /* =====================================================
       TOP BAR
    ===================================================== */

    .top-bar {
        height: 34px;

        padding: 0 12px;

        font-size: 10px;

        gap: 8px;

        overflow: hidden;

        white-space: nowrap;
    }

    .top-bar > div:first-child {
        overflow: hidden;

        text-overflow: ellipsis;
    }

    .top-bar > div:nth-child(2) {
        display: none;
    }

    .top-links {
        gap: 0;

        flex-shrink: 0;
    }

    .top-links a:nth-child(1),
    .top-links a:nth-child(3) {
        display: none;

    }


    /* =====================================================
       HEADER MOBILE
    ===================================================== */

    header {
        height: auto;

        min-height: 120px;

        padding: 7px 13px 10px;

        display: grid;

        grid-template-columns: 105px 1fr auto;

        grid-template-rows: 58px 46px;

        gap: 5px 8px;

        align-items: center;

        border-bottom: 1px solid #eeeeee;

        background: url("header-bg.png") center center / cover no-repeat;

        direction: rtl;
    }


    /* =====================================================
       LOGO MOBILE
    ===================================================== */

    .logo {
        grid-column: 1;

        grid-row: 1;

        width: 105px;

        height: 70px;

        min-width: 105px;

        display: flex;

        align-items: center;

        justify-content: flex-start;

        gap: 0;

        position: relative;

        justify-self: start;
    }

    .logo img {
        width: 180px !important;

        height: 180px !important;

        max-width: 180px !important;

        max-height: 180px !important;

        object-fit: contain;

        margin: 0 !important;

        transform: translate(10px, 0) !important;

        display: block !important;

        border: none !important;

        outline: none !important;

        background: transparent !important;

        box-shadow: none !important;

        border-radius: 0 !important;

        mix-blend-mode: multiply;
    }

    .logo div {
        display: none;
    }


    /* =====================================================
       HEADER BUTTONS MOBILE
    ===================================================== */

    .header-buttons {
        grid-column: 3;

        grid-row: 1;

        width: auto !important;

        display: flex !important;

        align-items: center !important;

        justify-content: flex-start !important;

        gap: 9px !important;

        direction: ltr !important;

        margin: 0 !important;

        padding: 0 !important;

        justify-self: start;
    }

    .header-buttons > button {
        width: 43px !important;

        height: 43px !important;

        min-width: 43px !important;

        max-width: 43px !important;

        padding: 0 !important;

        margin: 0 !important;

        display: flex !important;

        align-items: center !important;

        justify-content: center !important;

        border: none !important;

        background: transparent !important;

        flex-shrink: 0 !important;
    }

    .header-buttons span {
        display: none !important;
    }


    /* =====================================================
       CART MOBILE
    ===================================================== */

    .cart-button {
        order: 3 !important;

        width: 43px !important;

        height: 43px !important;

        min-width: 43px !important;

        max-width: 43px !important;

        padding: 0 !important;

        margin: 0 !important;

        display: flex !important;

        align-items: center !important;

        justify-content: center !important;

        position: relative !important;

        background: transparent !important;

        border: none !important;
    }

    .cart-button .cart-icon {
        width: 95px !important;

        height: 95px !important;

        min-width: 95px !important;

        max-width: 95px !important;

        max-height: 95px !important;

        object-fit: contain !important;

        transform: none !important;

        margin: 0 !important;

        display: block !important;
    }

    .cart-button b {
        position: absolute !important;

        top: -1px !important;

        right: -6px !important;

        min-width: 17px !important;

        height: 17px !important;

        padding: 0 4px !important;

        margin: 0 !important;

        display: flex !important;

        align-items: center !important;

        justify-content: center !important;

        background: #000000 !important;

        color: #ffffff !important;

        border: 2px solid #ffffff !important;

        border-radius: 50% !important;

        font-size: 9px !important;

        line-height: 1 !important;

        z-index: 20 !important;

        transform: none !important;
    }


    /* =====================================================
       FAVORITE MOBILE
    ===================================================== */

    .header-buttons .favorite-button {
        order: 2 !important;

        width: 43px !important;

        height: 43px !important;

        min-width: 43px !important;

        max-width: 43px !important;

        padding: 0 !important;

        margin: 0 !important;

        display: flex !important;

        visibility: visible !important;

        opacity: 1 !important;

        align-items: center !important;

        justify-content: center !important;

        position: relative !important;

        border: none !important;

        background: transparent !important;

        flex-shrink: 0 !important;
    }

    .header-buttons .favorite-heart {
        width: 40px !important;

        height: 40px !important;

        font-family: Arial, sans-serif !important;

        font-size: 25px !important;

        line-height: 1 !important;

        display: flex !important;

        visibility: visible !important;

        opacity: 1 !important;

        align-items: center !important;

        justify-content: center !important;

        color: #111111 !important;

        background: transparent !important;
    }

    .header-buttons .favorite-button.active .favorite-heart {
        font-size: 0 !important;

        color: transparent !important;
    }

    .header-buttons .favorite-button.active .favorite-heart::before {
        content: "♥" !important;

        font-family: Arial, sans-serif !important;

        font-size: 31px !important;

        line-height: 1 !important;

        color: #000000 !important;

        display: block !important;

        text-shadow:
            3px 0 #000000,
            -3px 0 #000000,
            0 2px #000000,
            0 -2px #000000 !important;
    }

    .favorite-button:active .favorite-heart {
        transform: scale(0.88);
    }


    /* =====================================================
       ACCOUNT MOBILE
    ===================================================== */

    .header-buttons .account-button {
        order: 1 !important;

        width: 43px !important;

        height: 43px !important;

        min-width: 43px !important;

        max-width: 43px !important;

        display: flex !important;

        align-items: center !important;

        justify-content: center !important;

        position: relative !important;

        padding: 0 !important;

        margin: 0 !important;

        gap: 0 !important;

        border: none !important;

        background: transparent !important;
    }

    .account-icon {
        width: 70px !important;

        height: 70px !important;

        max-width: 70px !important;

        max-height: 70px !important;

        min-width: 70px !important;

        object-fit: contain !important;

        position: static !important;

        transform: none !important;

        margin: 0 !important;

        display: block !important;
    }

    .account-button span {
        display: none !important;
    }


    /* =====================================================
       SEARCH MOBILE
    ===================================================== */

    .search-box {
        grid-column: 1 / 4;

        grid-row: 2;

        width: 100%;

        max-width: none;

        height: 46px;

        display: flex;

        border: 1px solid #dfe4eb;

        border-radius: 25px;

        overflow: hidden;

        background: #ffffff;

        box-shadow:
            0 3px 12px rgba(0, 0, 0, 0.055);
    }

    .search-box input {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    padding: 0 15px;
    font-size: 14px;
    text-align: right;
    background: transparent;
    pointer-events: auto;
    position: relative;
    z-index: 2;
}

    .search-box button.search-button {
        width: 48px !important;

        min-width: 48px !important;

        height: 44px !important;

        padding: 0 !important;

        margin: 0 !important;

        border: none !important;

        border-radius: 0 !important;

        background: transparent !important;

        display: flex !important;

        align-items: center !important;

        justify-content: center !important;

        flex-shrink: 0;
    }

    .search-box button.search-button img {
        width: 35px !important;

        height: 35px !important;

        max-width: 35px !important;

        max-height: 35px !important;

        object-fit: contain;

        display: block;
    }

    .search-box button.search-button:hover {
        background: transparent !important;
    }


    /* =====================================================
       NAVIGATION MOBILE
    ===================================================== */

    nav {
        height: 45px;

        width: 100%;

        padding: 0 12px;

        justify-content: flex-start;

        gap: 24px;

        overflow-x: auto;

        overflow-y: hidden;

        white-space: nowrap;

        scrollbar-width: none;
    }

    nav::-webkit-scrollbar {
        display: none;
    }

    nav a {
        height: 45px;

        flex-shrink: 0;

        font-size: 12px;

        border-bottom-width: 2px;
    }


    /* =====================================================
       HERO MOBILE
    ===================================================== */

    .hero {
        width: calc(100% - 20px);

        min-height: auto;

        margin: 12px auto 18px;

        padding: 25px 15px 15px;

        border-radius: 18px;

        display: flex;

        flex-direction: column;

        align-items: center;

        text-align: center;
    }

    .hero-text {
        width: 100%;

        max-width: 100%;

        text-align: center;

        order: 1;
    }

    .hero-text p {
        font-size: 14px;

        margin-bottom: 5px;
    }

    .hero-text h1 {
        font-size: 34px;

        line-height: 1.15;
    }

    .hero-text h2 {
        font-size: 19px;

        margin: 6px 0 10px;
    }

    .description {
        font-size: 13px !important;

        line-height: 1.6;
    }

    .features {
        width: 100%;

        display: flex;

        align-items: center;

        justify-content: center;

        gap: 4px;

        margin: 14px 0;

        flex-wrap: nowrap;

        transform: none !important;
    }

    .features span {
        padding: 7px 9px;

        font-size: 10px;

        border-radius: 20px;
    }

    .features img {
        object-fit: contain;

        display: block;

        flex-shrink: 0;
    }

    .features img[src="benefit1.png"] {
        width: 100px;

        height: 100px;
    }

    .features img[src="benefit2.png"] {
        width: 100px;

        height: 100px;
    }

    .features img[src="benefit3.png"] {
        width: 70px;

        height: 70px;

        transform: translateY(2px);
    }

    .features img[src="benefit4.png"] {
        width: 100px;

        height: 100px;
    }

    .shop-button {
        width: 100%;

        max-width: 260px;

        padding: 12px 20px;

        border-radius: 24px;

        font-size: 14px;

        transform: none !important;
    }


    /* =====================================================
       HERO PHONES MOBILE
    ===================================================== */

    .hero-phones {
        width: 100%;

        height: 255px;

        margin-top: 10px;

        order: 2;

        transform: none !important;
    }

    .phone-title {
        height: 52px;

        margin-bottom: 0;
    }

    .phone-title img {
        width: 190px;

        max-width: 80%;

        top: 8px;

        right: 0;
    }

    .phones {
        width: 100%;

        height: 200px;
    }

    .phone {
        width: 75px;

        height: 175px;
    }

    .phone-1 {
        right: 8%;

        bottom: 0;
    }

    .phone-2 {
        right: 36%;

        bottom: 15px;
    }

    .phone-3 {
        right: 64%;

        bottom: 1px;
    }


    /* =====================================================
       BENEFITS MOBILE
    ===================================================== */

    .benefits {
        width: calc(100% - 20px);

        margin: 0 auto 30px;

        padding: 0;

        grid-template-columns:
            repeat(2, 1fr);

        gap: 8px;
    }

    .benefit-box {
        height: 105px;

        border-radius: 12px;
    }

    .benefit-box img {
        width: 100%;

        height: 100%;

        object-fit: cover;
    }


    /* =====================================================
       SECTION TITLES MOBILE
    ===================================================== */

    
/* SECTION TITLES MOBILE */

.categories {
    width: calc(100% - 20px);
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0px;
}

.products-section {
    width: calc(100% - 20px);
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 35px;
}



    /* =====================================================
       CATEGORIES MOBILE
    ===================================================== */

    .category-grid {
        grid-template-columns:
            repeat(3, 1fr);

        gap: 8px;
    }

    .category-grid button,
    .category-grid .category-card {
        min-height: 118px;

        padding: 7px;

        border-radius: 12px;
    }

    .category-grid .category-card .category-image {
        width: 55px;

        height: 55px;

        top: 10px;
    }

    .category-grid .category-card strong {
        bottom: 9px;

        font-size: 11px;
    }


    /* =====================================================
       PRODUCTS MOBILE
    ===================================================== */

    .product-grid {
        grid-template-columns:
            repeat(2, 1fr);

        gap: 9px;
    }

    .product-card {
        padding: 8px;

        border-radius: 12px;
    }

    .product-heart {
        top: 7px;

        left: 7px;

        font-size: 19px;
    }

    .product-image {
        background: transparent !important;

        border: none !important;

        box-shadow: none !important;
    }

    .product-card h3 {
        font-size: 12px;

        line-height: 1.5;

        min-height: 38px;

        margin: 5px 0;
    }

    .product-price {
        font-size: 16px;
    }

    .product-old-price {
        font-size: 12px;

        margin-right: 5px;
    }

    .product-discount {
        font-size: 12px;
    }

    .add-cart {
        padding: 9px 5px;

        margin-top: 7px;

        border-radius: 50px !important;

        font-size: 12px;
    }

    .buy-now-button {
        padding: 9px 5px;

        border-radius: 50px !important;

        font-size: 12px;
    }


    /* =====================================================
       OFFERS MOBILE
    ===================================================== */

    .offers {
        width: calc(100% - 20px);

        margin: 0 auto 35px;

        padding: 15px 8px;

        grid-template-columns:
            repeat(2, 1fr);

        gap: 12px;

        border-radius: 12px;
    }

    .offers div {
        border-left: none;

        padding: 5px;
    }

    .offers strong {
        font-size: 12px;
    }

    .offers span {
        font-size: 10px;

        line-height: 1.5;
    }


    /* =====================================================
       CART MOBILE
    ===================================================== */

    .cart {
        width: 92vw;

        max-width: 420px;

        right: -100vw;

        padding: 18px;
    }

    .cart.open {
        right: 0;
    }

    .cart-header h2 {
        font-size: 19px;
    }

    .cart-header button {
        font-size: 28px;
    }

    .checkout {
        padding: 14px;

        border-radius: 10px;

        font-size: 14px;
    }


    /* =====================================================
       FOOTER MOBILE
    ===================================================== */

    .footer-column,
    .footer-brand {
        align-items: center;
    }

    .footer-column h3 {
        font-size: 17px;
    }

    .footer-column p,
    .footer-column a {
        font-size: 13px;
    }

    .footer-column h3::after {
        right: 50%;

        transform:
            translateX(50%);
    }

    .social-icons {
        justify-content: center;

        position: relative;

        top: -210px;
    }

    .social-link {
        width: 60px !important;

        height: 60px !important;

        background: transparent !important;
    }

    .social-link img {
        width: 60px !important;

        height: 60px !important;
    }

    .social-link img[src="whatsapp.png"] {
        width: 75px !important;

        height: 75px !important;
    }

    .footer-logo {
        width: 160px !important;

        height: 160px !important;

        position: relative;

        top: 170px;

        left: 100px;
    }

    .footer-description {
        position: relative;

        top: -15px;
    }

    .copyright {
        font-size: 10px;

        padding: 11px;
    }
}


/* =========================================================
   PRODUCT IMAGE SMOOTH TRANSITION
========================================================= */

.product-main-image {
    overflow: hidden;
}

#mainProductImage {
    display: block;

    width: 100%;

    height: 100%;

    object-fit: contain;

    touch-action: pan-y;

    will-change: transform, opacity;

    transition:
        opacity 0.25s ease,
        transform 0.35s ease;

    opacity: 1;

    transform: scale(1);
}

#mainProductImage.image-changing {
    opacity: 0;

    transform: scale(0.96);
}

#mainProductImage.image-slide-out {
    opacity: 0;

    transform: translateX(25px) scale(0.97);
}

#mainProductImage.image-slide-in {
    opacity: 1;

    transform: translateX(0) scale(1);
}


/* =========================================================
   PRODUCT DETAILS ADD TO CART
========================================================= */

.add-to-cart {
    background: #F2BE58 !important;

    color: #111111 !important;

    border: 1px solid #F2BE58 !important;

    border-radius: 50px !important;

    font-weight: bold !important;

    padding: 12px 22px !important;

    transition: 0.2s ease !important;
}

.add-to-cart:hover {
    background: #F2BE58 !important;

    color: #111111 !important;

    transform: translateY(-1px);
}

.product-add-button {
    background: #F2BE58 !important;
    color: #111111 !important;
    border: 1px solid #F2BE58 !important;
}
.order-total {

    display: flex;

    align-items: center;

    justify-content: flex-start;

    gap: 8px;

    direction: rtl;

    margin-top: 3px;

    font-size: 19px;

    font-weight: bold;

    color: #06245a;

}


.order-total-label {

    white-space: nowrap;

}


.order-total-price {

    white-space: nowrap;

}
/* =========================================================
   تحريك عناصر HERO على الموبايل فقط
========================================================= */

@media (max-width: 600px) {

    /* الكلمة / الصورة فوق الآيفون */
    .phone-title img {
        position: relative !important;
        top: -140px !important;
    }

    /* الـ 4 بوجوهات */
    .features {
        position: relative !important;
        top: 350px !important;
        transform: none !important;
    }

    /* زر تسوق الآن */
    .shop-button {
        position: relative !important;
        top: 190px !important;
        transform: none !important;
    }

    /* الـ 3 آيفون */
    .phones {
        position: relative !important;
        top: -150px !important;
    }

}
.copyright {
    background: #000000;
    color: #ffffff;
    text-align: center;
    padding: 15px;
}




nav {
    background:
        linear-gradient(
            135deg,
            #000000 0%,
            #000000 50%,
            #000000 100%
        );
}
nav a {
    color: #ffffff !important;
}

nav a:hover,
nav a.active {
    color: #ffffff !important;
}
.product-card {
    position: relative;
}

.product-favorite-btn {
    position: absolute;
    top: 2px;
    left: 10px;

    width: 34px;
    height: 34px;

    border: none;
    border-radius: 50%;

    background: #ffffff;
    color: #111111;

    font-size: 22px;
    line-height: 1;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    z-index: 10;

    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.product-favorite-btn:hover {
    transform: scale(1.08);
}

.product-favorite-btn.active {
    color: #000000;
}

/* =========================================
   زر المفضلة بجانب التقييم داخل الكارت
   ========================================= */


.product-card .product-favorite-btn {

    position: static !important;

    width: 30px !important;
    height: 30px !important;

    margin: 0 !important;
    padding: 0 !important;

    display: inline-flex !important;

    align-items: center !important;
    justify-content: center !important;

    border-radius: 50% !important;

    font-size: 20px !important;
    line-height: 1 !important;

    cursor: pointer;

    transform: translateX(-10px) !important;

    z-index: 2;
}


/* شكل القلب وهو غير مضاف */
.product-card .product-favorite-btn:not(.active) {

    color: #777 !important;
    background: #f5f5f5 !important;

}


/* شكل القلب وهو مضاف للمفضلة */
.product-card .product-favorite-btn.active {

    color: #e00000 !important;
    background: #ffe8eb !important;

}


/* التقييم والقلب في صف واحد */
.product-card .product-rating {

    display: flex !important;

    align-items: center !important;

    justify-content: center !important;

    gap: 8px !important;

}
/* =========================================================
   FIX SHOP BUTTON CLICK - MOBILE
========================================================= */

@media (max-width: 600px) {

    .hero-text {
        position: relative !important;
        z-index: 100 !important;
    }

    .hero-phones {
        z-index: 4 !important;
    }

    .hero .shop-button {
        position: relative !important;

        top: 190px !important;

        transform: none !important;

        z-index: 9999 !important;

        pointer-events: auto !important;

        cursor: pointer !important;
    }

}
/* =========================================================
   HERO MOBILE - PHONE ANIMATION
========================================================= */

@media (max-width: 600px) {

    .phone {
        will-change: translate;
    }

    .phone-1 {
        animation: fahadPhone1 1.8s ease-in-out infinite alternate !important;
    }

    .phone-2 {
        animation: fahadPhone2 2.1s ease-in-out infinite alternate !important;
    }

    .phone-3 {
        animation: fahadPhone3 1.9s ease-in-out infinite alternate !important;
    }

}


/* =========================================================
   PHONE 1
========================================================= */

@keyframes fahadPhone1 {

    from {
        translate: 0 0;
    }

    to {
        translate: 0 -25px;
    }

}


/* =========================================================
   PHONE 2
========================================================= */

@keyframes fahadPhone2 {

    from {
        translate: 0 0;
    }

    to {
        translate: 0 -40px;
    }

}


/* =========================================================
   PHONE 3
========================================================= */

@keyframes fahadPhone3 {

    from {
        translate: 0 0;
    }

    to {
        translate: 0 -25px;
    }

}
/* =========================================================
   FAHAD STORE
   PREMIUM PRODUCT SPECS
========================================================= */

.product-specifications {
    width: 100%;
    margin: 55px 0 40px;
    padding: 0;
}


/* ==============================
   العنوان
============================== */

.product-specifications h2 {
    position: relative;

    margin: 0 0 28px;
    padding: 0 0 14px;

    color: #111;
    font-size: 26px;
    font-weight: 800;

    text-align: right;

    border-bottom: 1px solid #e7e7e7;
}

.product-specifications h2::after {
    content: "";

    position: absolute;

    right: 0;
    bottom: -1px;

    width: 65px;
    height: 4px;

    background: #000000;

    border-radius: 20px;
}


/* ==============================
   تحويل الجدول لشكل بطاقات
============================== */

.product-specifications .spec-table {
    width: 100%;

    border-collapse: separate;
    border-spacing: 10px;

    margin: -10px;

    width: calc(100% + 20px);
}


/* ==============================
   كل صف
============================== */

.product-specifications .spec-table tr {
    background: transparent;
}


/* ==============================
   الخلايا
============================== */

.product-specifications .spec-table td {
    padding: 20px 22px;

    border: 1px solid #e9e9e9;

    background: #fff;

    vertical-align: middle;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}


/* ==============================
   اسم المواصفة
============================== */

.product-specifications .spec-table td:first-child {
    width: 30%;

    border-radius: 10px;

    color: #777;

    font-size: 14px;
    font-weight: 600;

    text-align: right;
}


/* ==============================
   قيمة المواصفة
============================== */

.product-specifications .spec-table td:last-child {
    width: 70%;

    border-radius: 10px;

    color: #111;

    font-size: 16px;
    font-weight: 700;

    text-align: right;
}


/* ==============================
   Hover
============================== */

/* =========================================================
   إلغاء الإطار البرتقالي
========================================================= */

.product-specifications .spec-table tr:not(:first-child):hover td {
    border-color: #e9e9e9;
    box-shadow: none;
}


/* ==============================
   السعر
============================== */

.product-specifications #specPrice {
    color: #000000 !important;

    font-size: 23px;
    font-weight: 900;
}


/* ==============================
   التوفر
============================== */

.product-specifications #specStock {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 52px;

    margin: 0;

    padding: 0 18px;

    background: #effaf3;

    border: 1px solid #bfe5cc;

    border-radius: 10px;

    color: #168348;

    font-size: 15px;
    font-weight: 800;

    text-align: center;

    line-height: 1;
}


/* ==============================
   الموبايل
============================== */

@media (max-width: 600px) {

    .product-specifications {
        width: 100%;

        margin: 35px 0 25px;
    }


    .product-specifications h2 {
        margin-bottom: 22px;

        font-size: 21px;
    }


    .product-specifications .spec-table {
        border-spacing: 7px;

        margin: -7px;

        width: calc(100% + 14px);
    }


    .product-specifications .spec-table td {
        padding: 15px 12px;
    }


    .product-specifications .spec-table td:first-child {
        width: 38%;

        font-size: 12px;
    }


    .product-specifications .spec-table td:last-child {
        width: 62%;

        font-size: 13px;
    }


    .product-specifications #specPrice {
        font-size: 19px;
    }


    .product-specifications #specStock {
        padding: 5px 12px;

        font-size: 11px;
    }

}
/* إظهار كلام الحساب والسلة فقط بدون تغيير حجم الأيقونات */

@media (min-width: 601px) {
    .account-button span,
    .cart-button span {
        display: block !important;
        position: absolute !important;
        top: 78px !important;
        margin: 0 !important;
        padding: 0 !important;
        font-size: 12px !important;
        white-space: nowrap !important;
        color: #111 !important;
        z-index: 20 !important;
    }
}

/* إظهار الكلام على الموبايل بدون تكبير الأيقونات */
@media (max-width: 600px) {
    .header-buttons .account-button span,
    .header-buttons .cart-button span {
        display: block !important;
        position: absolute !important;
        top: 31px !important;
        margin: 0 !important;
        padding: 0 !important;
        font-size: 9px !important;
        line-height: 14px !important;
        white-space: nowrap !important;
        color: #111 !important;
        z-index: 30 !important;
    }
}
.account-button span {
    font-weight: 700 !important;
}
/* =========================================================
   MOBILE BOTTOM NAVIGATION
========================================================= */

.mobile-bottom-nav {
    display: none;
}

@media (max-width: 600px) {



    .mobile-bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;

        width: 100%;
        height: 72px;

        display: flex;
        align-items: center;
        justify-content: space-around;

        background: #111111;

        border-top: 1px solid #fffbfb;

        z-index: 99999;

        padding-bottom: env(safe-area-inset-bottom);

        box-shadow:
            0 -4px 18px rgba(0, 0, 0, 0.18);
    }


    /* كل زر */

    .bottom-nav-item {
        width: 20%;
        height: 100%;

        display: flex;
        flex-direction: column;

        align-items: center;
        justify-content: center;

        gap: 3px;

        color: #ffffff;

        text-decoration: none;

        font-size: 11px;

        font-weight: 600;

        transition: 0.2s;
    }


    /* الأيقونة */

    .bottom-nav-icon {
        height: 28px;

        display: flex;
        align-items: center;
        justify-content: center;

        font-family: Arial, sans-serif;

        font-size: 27px;

        line-height: 1;

        color: #ffffff;
    }


    /* الصفحة الحالية */

    .bottom-nav-item.active {
        color: #e9b83f;
    }

    .bottom-nav-item.active .bottom-nav-icon {
        color: #e9b83f;
    }


    /* عند الضغط */

    .bottom-nav-item:active {
        transform: scale(0.92);
    }
}
/* حركة الشريط السفلي */

.mobile-bottom-nav {
    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}


/* إخفاء الشريط عند النزول */

.mobile-bottom-nav.nav-hidden {
    transform: translateY(110%);
    opacity: 0;
    pointer-events: none;
}
#categories {
    scroll-margin-top: 360px;
}
/* إخفاء الشريط السفلي عند فتح عربة التسوق */
body:has(.cart.open) .mobile-bottom-nav {
    transform: translateY(110%) !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.copyright,
.ak-desktop-copyright {
    background: linear-gradient(
        90deg,
        #A97620 0%,
        #B8862D 25%,
        #F2BE58 50%,
        #B8862D 75%,
        #B8862D 100%
    ) !important;

    color: #000000 !important;
}

.social-icons {
    position: relative;
    top: -335px;
}
.product-image,
.product-card .product-image,
.product-main-image {
    background: transparent !important;
    background-image: none !important;
    border: none !important;
    box-shadow: none !important;
}

/* =====================================
   DESKTOP LOGO CONTROL
   التحكم في لوجو الكمبيوتر فقط
===================================== */

@media (min-width: 1001px) {

    /* مساحة اللوجو */
    header .logo {
        min-width: 0 !important;
        width: 200px !important;
        max-width: none !important;
        flex: 0 0 200px !important;
    }

    /* حجم ومكان صورة اللوجو */
    header .logo img {
        width: 180px !important;
        height: 180px !important;

        max-width: none !important;
        max-height: none !important;

        object-fit: contain !important;

        transform: translate(70px, 0px) !important;
    }
}

/* ==========================================
   DESKTOP HEADER CONTROL
   التحكم في عناصر الكمبيوتر فقط
========================================== */

@media (min-width: 1001px) {

    /* ===== حسابي + الأيقونة ===== */

    .account-button {
        transform: translate(-1300px, 5px) !important;
    }

    /* حجم ومكان أيقونة الحساب لوحدها */
    .account-icon {
        width: 100px !important;
        height: 100px !important;

        transform: translate(28px, -5px) !important;
    }


    /* ===== عربة التسوق + الأيقونة ===== */

    .cart-button {
        transform: translate(-1300px, 0px) !important;
    }

    /* حجم ومكان أيقونة العربة لوحدها */
    .cart-button .cart-icon {
        width: 90px !important;
        height: 90px !important;

        max-width: 90px !important;
        max-height: 90px !important;
        min-width: 90px !important;

        transform: translate(5px, 5px) !important;
    }


    /* ===== شريط البحث بالكامل ===== */

    .search-box {
        transform: translate(-615px, 0px) !important;

        width: 100% !important;
        max-width: 650px !important;

        height: 50px !important;
    }

    /* حجم أيقونة البحث */
    .search-box button.search-button img {
        width: 34px !important;
        height: 34px !important;
    }


    /* ===== المسافة بين أزرار الهيدر ===== */

    .header-buttons {
        gap: 25px !important;
    }

}

/* NEW HOME BANNER */

.home-banner {
    width: 100%;
    max-width: 1250px;
    margin: 18px auto 25px;
    padding: 0 12px;
}

.home-banner-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 18px;
    object-fit: contain;
}

/* MOBILE */
@media (max-width: 600px) {
    .home-banner {
        margin: 12px auto 18px;
        padding: 0 10px;
    }

    .home-banner-image {
        width: 100%;
        height: auto;
        border-radius: 12px;
    }
}

/* BANNER BUTTON */

.home-banner {
    position: relative;
}

.home-banner-button {
    position: absolute;
    right: 8%;
    bottom: 19%;

    background: #000000 !important;
    color: #ffffff !important;

    border: none;
    border-radius: 30px;
    padding: 12px 30px;

    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    transition: 0.2s;
}

.home-banner-button:hover,
.home-banner-button:active,
.home-banner-button:focus {
    background: #000000 !important;
    color: #ffffff !important;
}

/* MOBILE */
@media (max-width: 600px) {
    .home-banner-button {
        right: 3%;
        bottom: 10%;
        padding: 6px 20px;
        font-size: 13px;
        border-radius: 20px;
    }
}

/* HOME BANNER SLIDER */

.home-banner {
    position: relative;
    width: 96%;
    max-width: 1500px;
    margin: 20px auto 30px;
    padding: 0;
    overflow: hidden;
    border-radius: 18px; 
}

.banner-slides {
    position: relative;
    width: 100%;
    aspect-ratio: 2.5 / 1;
}


/* Smooth banner fade animation */

.banner-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.3s ease-in-out,
                visibility 0.8s ease-in-out;
}

.banner-slide.active {
    opacity: 1;
    visibility: visible;
}




/* SHOP NOW BUTTON */

.home-banner .home-banner-button {
    position: absolute;
    right: 8%;
    bottom: 12%;
    z-index: 10;

    background:
        linear-gradient(
            180deg,
            #F2BE58 0%,
            #000000 100%
        ) padding-box,
        linear-gradient(
            135deg,
            #FFF8C9 0%,
            #FFD84B 25%,
            #B9790C 50%,
            #FFE66B 75%,
            #965900 100%
        ) border-box !important;

    color: #FFFFFF !important;
    border: 2px solid transparent !important;
    border-radius: 50px !important;

    padding: 15px 40px;
    font-size: 17px;
    font-weight: bold;
    cursor: pointer;
}

/* الحفاظ على التدرج عند الضغط */

.home-banner .home-banner-button:hover,
.home-banner .home-banner-button:active {
    background:
        linear-gradient(
            180deg,
            #F2BE58 0%,
            #000000 100%
        ) padding-box,
        linear-gradient(
            135deg,
            #FFF8C9 0%,
            #FFD84B 25%,
            #B9790C 50%,
            #FFE66B 75%,
            #965900 100%
        ) border-box !important;

    color: #FFFFFF !important;
    border: 2px solid transparent !important;
}


/* ARROWS */

.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 12;

    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;

    background: #4b4848 !important;
background-image: none !important;
    color: #F2BE58;
    font-size: 23px;
    cursor: pointer;
}

.banner-prev {
    left: 12px;
}

.banner-next {
    right: 12px;
}

/* DOTS */

.banner-dots {
    position: absolute;
    bottom: 9px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 12;

    display: flex;
    gap: 9px;
}

.banner-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #bcbcbc;
    cursor: pointer;
}

.banner-dot.active {
    background: #000000;
}

/* MOBILE */

@media (max-width: 600px) {

    .home-banner {
        width: 96%;
        margin: 12px auto 20px;
        border-radius: 12px; 
    }

    .banner-slides {
        aspect-ratio: 2 / 1;
    }

    .home-banner .home-banner-button {
        right: 32%;
        bottom: 10%;
        padding:5px 45px;
        font-size: 11px;
    }

    .banner-arrow {
        width: 25px;
        height: 25px;
        font-size: 16px;
    }

    .banner-dots {
        bottom: 4px;
    }

    .banner-dot {
        width: 7px;
        height: 7px;
    }
}

/* NAVIGATION VERTICAL SEPARATORS */

nav a {
    position: relative;
}

/* Small line between navigation items */
nav a:not(:last-child)::after {
    content: "";
    position: absolute;

    left: -19px;
    top: 50%;
    transform: translateY(-50%);

    width: 1px;
    height: 18px;

    background: rgba(255, 255, 255, 0.65);
    pointer-events: none;
}

/* Mobile */
@media (max-width: 600px) {
    nav a:not(:last-child)::after {
        left: -12px;
        height: 14px;
    }
}

/* HOME NAVIGATION BUTTON */

nav a.active {
    background: #ffffff !important;
    color: #000000 !important;
    border-radius: 50px !important;
    padding: 0 15px !important;
    height: 36px !important;
    border-bottom: none !important;
}

/* HOVER */
nav a.active:hover {
    background: #ffffff !important;
    color: #000000 !important;
}

/* ==========================================
   CATEGORY CARDS - FINAL DESIGN
   3 CARDS PER ROW
========================================== */

/* شبكة الأقسام */
.category-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 12px !important;
    width: 100% !important;
    direction: rtl;
}

/* المربعات */
.category-grid button.category-card {
    position: relative !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;

    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;

    padding: 0 !important;
    margin: 0 !important;
    gap: 0 !important;

    background: #F3EFEA !important;
    background-image: none !important;

    border: none !important;
    border-radius: 13px !important;

    overflow: hidden !important;
    box-shadow: none !important;

    cursor: pointer;
    transition: transform 0.25s ease !important;
}

/* الصورة فوق */
.category-grid .category-card img.category-image {
    position: static !important;

    display: block !important;

    width: 100% !important;
    max-width: none !important;
    height: auto !important;

    aspect-ratio: 1.65 / 1;
    object-fit: cover !important;

    padding: 0 !important;
    margin: 0 !important;

    transform: none !important;
    border-radius: 0 !important;
}

/* خانة اسم القسم تحت الصورة */
.category-grid .category-card strong {
    position: static !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 100% !important;
    min-height: 38px !important;

    background: linear-gradient(
    90deg,
    #F2BE58 0%,
    #F2BE58 25%,
    #F2BE58 50%,
    #FFE09A 75%,
    #B8862D 100%
) !important;

color: #685d5d !important;
    padding: 6px 5px !important;
    margin: 0 !important;

    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    text-align: center !important;
}

/* إزالة أي خطوط إضافية قديمة */
.category-grid .category-card strong::after {
    content: none !important;
}

/* حركة بسيطة */
.category-grid .category-card:hover {
    transform: translateY(-3px) !important;
}

.category-grid .category-card:hover img.category-image {
    transform: none !important;
}

/* الموبايل */
@media (max-width: 600px) {

    .category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 8px !important;
    }

    .category-grid button.category-card {
        border-radius: 11px !important;
    }

    .category-grid .category-card strong {
        min-height: 30px !important;
        font-size: 11px !important;
        padding: 5px 2px !important;
    }
}


/* RED SEARCH BACKGROUND */

.search-box button.search-button {
    background: #000000 !important;

    border: none !important;
    border-radius: 0 !important;

    width: 60px !important;
    min-width: 60px !important;
    height: 100% !important;

    padding: 0 !important;
    margin: 0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* KEEP ORIGINAL SEARCH ICON */

.search-box button.search-button img {
    width: 30px !important;
    height: 30px !important;
    filter: none !important;
}


/* HOVER */

.search-box button.search-button:hover,
.search-box button.search-button:active,
.search-box button.search-button:focus {
    background: linear-gradient(
        180deg,
        #F2BE58 0%,
        #000000 100%
    ) !important;
}



/* MOBILE */

@media (max-width: 600px) {
    .search-box button.search-button {
        width: 48px !important;
        min-width: 48px !important;
        height: 100% !important;

        background: linear-gradient(
            180deg,
            #F2BE58 0%,
            #000000 100%
        ) !important;
    }
}

/* WHITE SEARCH ICON */

.search-box button.search-button img {
    filter: brightness(0) invert(1) !important;
}

/* BEST SELLERS FIRE ICON */

.bestseller-title {
    display: inline-flex !important;
    align-items: center !important;
    gap: 3px !important;
}

.bestseller-title .fire-icon {
    width: 28px !important;
    height: 28px !important;
    object-fit: contain !important;
    display: block !important;
}

/* MOBILE */
@media (max-width: 600px) {
    .bestseller-title .fire-icon {
        width: 40px !important;
        height: 40px !important;
    }
}

/* MOVE BESTSELLER TEXT DOWN */

.bestseller-title span {
    position: relative;
    top: 5px;
}

/* RED LINE UNDER BESTSELLER TITLE */

.bestseller-title {
    position: relative !important;
    padding-bottom: 5px !important;
}

.bestseller-title::after {
    content: "";
    position: absolute;

    bottom: 0;
    right: 0;

    width: 101%;
    height: 3px;

    background: linear-gradient(90deg, #000000 0%, #F2BE58 100%) !important;
    border-radius: 50px;
}

/* BUY NOW BUTTON */

.buy-now-button {
    background: #000000 !important;
    color: #ffffff !important;
    border: 1px solid #000000 !important;
}

.buy-now-button:hover {
    background: #000000 !important;
    border-color: #000000 !important;
}

/* DECORATED CATEGORY TITLE */

.category-title {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;

    color: #222222 !important;
    font-weight: bold !important;
}

.category-title span {
    color: #000000 !important;
    font-size: 27px !important;
    line-height: 1;
}

/* MOBILE */
@media (max-width: 600px) {
    .category-title {
        gap: 6px !important;
    }

    .category-title span {
        font-size: 20px !important;
    }
}

/* CATEGORY TITLE RED COLOR */

.category-title {
    color: #000000 !important;
}

.category-title span {
    color: #F2BE58 !important;
}

/* BEST SELLER TITLE RED */

.bestseller-title,
.bestseller-title span {
    background: linear-gradient(90deg, #F2BE58 0%, #000000 100%) !important;
-webkit-background-clip: text !important;
background-clip: text !important;
-webkit-text-fill-color: transparent !important;
}

/* MOVE CATEGORY TITLE DOWN */

.category-title {
    position: relative !important;
    top: 6px !important;
}

/* MOBILE BOTTOM NAV - NEW ICONS */

.mobile-bottom-nav .bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

/* ICON SIZE */
.mobile-bottom-nav .bottom-nav-img {
    display: block !important;

    width: 24px !important;
    height: 24px !important;

    object-fit: contain !important;
    flex-shrink: 0;
}

/* HIDE OLD ICONS */
.mobile-bottom-nav .bottom-nav-icon {
    display: none !important;
}

/* LABEL */
.mobile-bottom-nav .bottom-nav-item > span {
    font-size: 11px;
    line-height: 1.3;
}

/* BIGGER MOBILE BOTTOM ICONS */

.mobile-bottom-nav .bottom-nav-img {
    width: 30px !important;
    height: 30px !important;
    object-fit: contain !important;
}

/* ICON AND TEXT SPACING */
.mobile-bottom-nav .bottom-nav-item {
    gap: 3px !important;
}


/* ===================================
   BOTTOM NAV - INDIVIDUAL ICON SIZES
=================================== */

/* تثبيت مساحة الأيقونات */
.mobile-bottom-nav .bottom-nav-img {
    width: 30px !important;
    height: 30px !important;
    object-fit: contain !important;
    transform-origin: center !important;
}

/* 1 - الرئيسية */
.mobile-bottom-nav .bottom-nav-item:nth-child(1) img {
    transform: scale(1.2) !important;
}

/* 2 - الأقسام */
.mobile-bottom-nav .bottom-nav-item:nth-child(2) img {
    transform: scale(0.85) !important;
}

/* 3 - المفضلة */
.mobile-bottom-nav .bottom-nav-item:nth-child(3) img {
    transform: scale(1.0) !important;
}

/* 4 - طلباتي */
.mobile-bottom-nav .bottom-nav-item:nth-child(4) img {
    transform: scale(1.1) !important;
}

/* 5 - حسابي */
.mobile-bottom-nav .bottom-nav-item:nth-child(5) img {
    transform: scale(1.0) !important;
}

/* BUY NOW BUTTON - RED */

.buy-now-button,
.buy-now,
.buy-now-btn,
.product-buy-button {
    background: #000000 !important;
    background-color: #000000 !important;
    color: #ffffff !important;
    border-color: #000000 !important;
}

/* HOVER */

.buy-now-button:hover,
.buy-now:hover,
.buy-now-btn:hover,
.product-buy-button:hover {
    background: #000000 !important;
    background-color: #000000 !important;
    border-color: #000000 !important;
}

/* PREVENT HORIZONTAL OVERFLOW */

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

/* BIGGER ACCOUNT ICON - DESKTOP */

@media (min-width: 1001px) {
    .account-icon {
        transform: translate(28px, -5px) scale(1.25) !important;
    }
}

/* BIGGER ACCOUNT ICON - MOBILE */

@media (max-width: 600px) {
    .header-buttons .account-icon {
        transform: scale(1.25) !important;
    }
}

/* HIDE STORAGE AND RAM */

#productOptions .product-option:has(
    button[onclick*="selectProductStorage"]
),
#productOptions .product-option:has(
    button[onclick*="selectProductRam"]
),
#specStorageRow,
#specRamRow {
    display: none !important;
}

/* ALL PRICES - BLACK COLOR */

/* أسعار المنتجات */
.product-price,
.product-old-price,
#productPrice,
#productOldPrice,

/* أسعار عربة التسوق */
.cart-item-info > span,
#cartTotal,

/* أسعار صفحة Checkout */
.checkout-item-price,
#checkoutSubtotal,
#checkoutTotal,
#shippingCost,
.summary-row strong,
.summary-total strong,

/* أسعار صفحة طلباتي */
.order-product-price strong,
.order-footer-total strong,
.all-orders-total > strong {

    color: #000000 !important;
}

/* CART CHECKOUT BUTTON */


/* CART CHECKOUT BUTTON */

#cart button.checkout,
#cart button.checkout:hover,
#cart button.checkout:focus,
#cart button.checkout:active {
    background: linear-gradient(
        180deg,
        #F2BE58 0%,
        #D9AD52 25%,
        #79551F 55%,
        #211807 80%,
        #000000 100%
    ) !important;

    color: #FFFFFF !important;
    border: 2px solid #D9AD52 !important;
}


/* HEADER ACCOUNT & CART TEXT */


.header-buttons .account-button span,
.header-buttons .cart-button span {
    background: linear-gradient(
        90deg,
        #F2BE58 0%,
        #000000 100%
    ) !important;

    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
}


/* تقليل المساحة في بداية شريط الأقسام */

nav {
    padding-right: 4px !important;
    padding-left: 4px !important;
}

/* Smooth product image swipe */

.product-main-image {
    overflow: hidden !important;
    touch-action: pan-y;
}

#mainProductImage {
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
    will-change: transform, opacity;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Ultra smooth touch image gallery */

.product-main-image {
    overflow: hidden !important;
    touch-action: pan-y;
}

#mainProductImage {
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
    will-change: transform, opacity;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* تكبير الصورة داخل صفحة المنتج فقط */

.product-main-image {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
}

#mainProductImage {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: none !important;
    object-fit: contain !important;
}
/* إخفاء مسار التنقل فوق المنتج */
.product-page .product-breadcrumb {
    display: none !important;
}
/* تنسيق زر عرض كل المنتجات */
button.view-all-products {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    background: transparent !important;
    border: none !important;
    box-shadow: none !important;

    color: #a87c23  !important;
    font-size: 15px;
    font-weight: 1000;
    font-family: inherit;

    padding: 8px 4px;
    cursor: pointer;
    transition: color 0.2s ease;
}

button.view-all-products .view-all-arrow {
    color: #8b6c2d ;
    font-size: 17px;
    line-height: 1;
    transition: transform 0.2s ease;
}

button.view-all-products:hover {
    color: #bd8a24  !important;
}

button.view-all-products:hover .view-all-arrow {
    transform: translateX(-4px);
}



/* Green available stock text */

.product-card .product-stock,
.product-page .product-stock,
#productStock {
    color: #16803c !important;
    font-weight: 800 !important;
}


/* PRODUCT DETAILS - DISCOUNT BADGE */

#productDiscount,
.product-page .product-discount,
.product-details .product-discount {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: fit-content !important;

    background: #000000 !important;
    color: #ffffff !important;
    border: 1px solid #000000 !important;
    border-radius: 8px !important;

    padding: 5px 10px !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1.4 !important;
}

#productDiscount:empty {
    display: none !important;
}


/* AHMED AKL - DISCOUNT BADGE STYLE 3 */

.product-card .product-discount,
.product-discount,
#productDiscount,
.product-page .product-discount,
.product-details .product-discount {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: fit-content !important;

    background: #F4F4F4 !important;
    color: #000000 !important;
    border: 1px solid #E5E5E5 !important;
    border-radius: 8px !important;

    padding: 5px 10px !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1.4 !important;
    white-space: nowrap !important;
    box-shadow: none !important;
}

#productDiscount:empty {
    display: none !important;
}


/* AHMED AKL - UNIFIED PREMIUM RATING */

/* Stars - cards and product details */
.product-rating .stars,
.product-rating .product-stars,
#productRating .product-stars {
    color: #E5A000 !important;
    font-size: 17px !important;
    letter-spacing: 2px !important;
    line-height: 1.2 !important;
    white-space: nowrap;
    text-shadow: none !important;
}

/* Rating number - everywhere */
.product-rating-number,
#productRating .product-rating-number {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    background: #F4F4F4 !important;
    color: #242424 !important;
    border: 1px solid #E8E8E8 !important;
    border-radius: 8px !important;

    padding: 5px 10px !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;

    font-variant-numeric: tabular-nums;
    box-shadow: 0 2px 5px rgba(0,0,0,0.04);
}

/* Mobile */
@media (max-width: 600px) {
    .product-rating .stars,
    .product-rating .product-stars,
    #productRating .product-stars {
        font-size: 13px !important;
        letter-spacing: 1px !important;
    }

    .product-rating-number {
        padding: 4px 7px !important;
        font-size: 12px !important;
    }
}


/* AHMED AKL - SAVE PROFILE BUTTON */

.fahad-save-button {
    background: #000000 !important;
    color: #ffffff !important;
    border: 1px solid #000000 !important;
    border-radius: 10px !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.fahad-save-button:hover {
    background: #000000 !important;
    border-color: #000000 !important;
}

/* AHMED AKL - RED PRODUCT PRICE */

.product-card .product-price,
.product-page .product-price,
.product-details .product-price {
    color: #000000 !important;
    font-weight: 800 !important;
}

/* AHMED AKL - OLD PRICE RED */

.product-card .product-old-price,
.product-old-price {
    color: #000000 !important;
    text-decoration: line-through !important;
    text-decoration-color: #000000 !important;
}
/* VANQERIO OFFERS BAR */

.vanq-offers-wrapper {
    width: 100%;
    padding: 6px 12px;
    background: #FFFFFF;
    box-sizing: border-box;
}

.vanq-offers-bar {
    width: 100%;
    background: #F5EADF;
    border: 1px solid #D8BFA7;
    border-radius: 12px;
    overflow: hidden;
    padding: 13px 0;
    box-sizing: border-box;
}

.vanq-offers-track {
    display: flex;
    width: max-content;
    animation: vanqOffersScroll 5s linear infinite;
    will-change: transform;
}

.vanq-offers-content {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 30px;
    flex-shrink: 0;
    white-space: nowrap;
    color: #65402F;
    font-family: Tahoma, Arial, sans-serif;
    font-size: 12px;
    font-weight: 500;
}

.vanq-discount {
    background: #000000;
    color: #FFFFFF;
    padding: 5px 13px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
}

@keyframes vanqOffersScroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(50%);
    }
}

.vanq-offers-bar:hover .vanq-offers-track {
    animation-play-state: paused;
}

/* MOBILE */
@media (max-width: 768px) {
    .vanq-offers-wrapper {
        padding: 5px 8px;
    }

    .vanq-offers-bar {
        padding: 10px 0;
        border-radius: 9px;
    }

    .vanq-offers-content {
        font-size: 11px;
        gap: 10px;
        padding: 0 20px;
    }

    .vanq-discount {
        font-size: 11px;
        padding: 5px 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .vanq-offers-track {
        animation: none;
    }
}

/* VANQERIO SLIM OFFERS BAR */

.vanq-offers-wrapper {
    padding: 5px 12px;
    background: #FFFFFF;
}

.vanq-offers-bar {
    min-height: 0;
    padding: 6px 0;
    border-radius: 14px;
    background: #F5EADF;
    border: 1px solid #D8BFA7;
    box-shadow: 0 2px 8px rgba(95,65,45,0.07);
}

.vanq-offers-content {
    font-size: 11px;
    gap: 12px;
}

.vanq-discount {
    font-size: 11px;
    padding: 4px 11px;
    border-radius: 30px;
}

@media (max-width: 768px) {
    .vanq-offers-wrapper {
        padding: 4px 8px;
    }

    .vanq-offers-bar {
        min-height: 0;
        padding: 5px 0;
        border-radius: 10px;
    }
}

/* VANQERIO FULL WIDTH OFFERS BAR */

.vanq-offers-wrapper {
    width: 100%;
    padding: 0;
    margin: 0;
    background: #F5EADF;
    box-sizing: border-box;
}

.vanq-offers-bar {
    width: 100%;
    min-height: 0;
    padding: 7px 0;
    margin: 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: #F5EADF;
    overflow: hidden;
    box-sizing: border-box;
}

.vanq-offers-track {
    display: flex;
    width: max-content;
    animation: vanqOffersScroll 5s linear infinite;
}

.vanq-offers-content {
    font-size: 12px;
    font-weight: 600;
    text-shadow: none;
}

@media (max-width: 768px) {
    .vanq-offers-wrapper {
        padding: 0;
    }

    .vanq-offers-bar {
        padding: 6px 0;
        border-radius: 0;
    }
}
/* Make offers bar touch the banner */

.vanq-offers-wrapper {
    padding: 0 !important;
    margin: 0 !important;
}

.vanq-offers-bar {
    margin: 0 !important;
    border-radius: 0;
}

.home-banner {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* VANQERIO OFFERS SPEED */

.vanq-offers-track {
    animation: vanqOffersScroll 4s linear infinite !important;
    will-change: transform;
}



/* Mobile Header Background */
@media (max-width: 600px) {
    header {
        background: url("header-bg.png") center center / cover no-repeat !important;
    }
}


/* Al Mashtoly Website Background */

html,
body {
    background-color: #F8F4EF !important;
}

/* Main page sections */
main,
section {
    background-color: #F8F4EF;
}

/* AL-MASHTOLY - Off White Theme */

html,
body,
main {
    background-color: #F8F4EF !important;
}

/* Product cards */
.product-card {
    background: #F8F4EF !important;
    border: 1px solid #E8DED3 !important;
}

/* Search bar */
.search-box {
    background: #F8F4EF !important;
    border: 1px solid #D8C7B7 !important;
}

/* Search input */
.search-box input {
    background: transparent !important;
    color: #632100 !important;
}

/* Search placeholder */
.search-box input::placeholder {
    color: #947E6E !important;
}

/* Keep search button color unchanged */

/* Banner width adjustment */

.home-banner {
    width: 100% !important;
    max-width: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Elegant gradient title lines */

.categories .section-title::before,
.categories .section-title::after {
    content: "" !important;
    display: block !important;
    flex: 1 1 0 !important;
    max-width: 85px !important;
    height: 2px !important;
    border-radius: 50px !important;
}

/* Right line */
.categories .section-title::before {
    background: linear-gradient(
        90deg,
        #000000 0%,
        #F2BE58 45%,
        transparent 100%
    ) !important;
}

/* Left line */
.categories .section-title::after {
    background: linear-gradient(
        90deg,
        transparent 0%,
        #F2BE58 45%,
        #000000 100%
    ) !important;
}

/* =====================================
   SHOP NOW - ULTRA SMOOTH 3D ANIMATION
===================================== */

.home-banner .home-banner-button {
    transform-origin: center center !important;

    animation: shopSmooth3D 2.5s ease-in-out infinite !important;

    will-change: transform;
}

@keyframes shopSmooth3D {

    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(116,44,6,0.20);
    }

    50% {
        transform: scale(1.12);
        box-shadow:
            0 9px 22px rgba(116,44,6,0.32),
            0 0 12px rgba(183,138,101,0.12);
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .home-banner .home-banner-button {
        animation: none !important;
    }
}

/* FIX LOGO CLIPPING */

header .logo {
    overflow: visible !important;
}

/* Remove old shine overlay */
header .logo::after {
    content: none !important;
    animation: none !important;
}

/* SHOP NOW - THIN WHITE SHINE */

.home-banner .home-banner-button {
    overflow: hidden !important;
    isolation: isolate;
}

/* White light line */
.home-banner .home-banner-button::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;

    width: 100% !important;
    height: 100% !important;

    background-image: linear-gradient(
        105deg,
        transparent 46%,
        rgba(255,255,255,0.15) 48%,
        rgba(187, 184, 184, 0.95) 50%,
        rgba(255,255,255,0.15) 52%,
        transparent 54%
    ) !important;

    background-size: 300% 100% !important;
    background-repeat: no-repeat !important;

    pointer-events: none !important;

    animation: shopWhiteLine 15s ease-in-out infinite !important;
}

/* Right to left */

/* Continuous White Shine */

.home-banner .home-banner-button::before {
    animation: shopWhiteLine 3s linear infinite alternate !important;
}


@keyframes shopWhiteLine {
    0% {
        background-position: 150% center;
    }

    100% {
        background-position: -150% center;
    }
}

/* ==========================================
   AL MASHTOLY - ALL 6 SUBCATEGORIES
   Unified Solid Gold Borders
========================================== */

:root {
    --sub-gold: #D9AD52;
    --sub-cream: #F8F4EF;
    --sub-brown: #000000;
}

/* جميع أزرار الأقسام الفرعية */
:is(
    .mobile-brands .brand-button,
    .accessories-types .accessory-button,
    .powerbank-brands .brand-button,
    .charger-brands .brand-button,
    .smartwatch-brands .smartwatch-brand-button,
    .headphone-brands .headphone-brand-button
) {
    border: 2px solid var(--sub-gold) !important;
    border-radius: 10px !important;

    background: var(--sub-cream) !important;
    background-image: none !important;

    color: var(--sub-brown) !important;

    box-shadow:
        0 3px 9px rgba(69, 36, 5, .16)
        !important;

    transition:
        transform .25s ease,
        box-shadow .25s ease !important;
}

/* القسم المحدد */
:is(
    .mobile-brands .brand-button,
    .accessories-types .accessory-button,
    .powerbank-brands .brand-button,
    .charger-brands .brand-button,
    .smartwatch-brands .smartwatch-brand-button,
    .headphone-brands .headphone-brand-button
).active {
    background: var(--sub-brown) !important;
    background-image: none !important;
    color: #FFFFFF !important;

    border: 2px solid var(--sub-gold) !important;
}

/* المرور على القسم */
:is(
    .mobile-brands .brand-button,
    .accessories-types .accessory-button,
    .powerbank-brands .brand-button,
    .charger-brands .brand-button,
    .smartwatch-brands .smartwatch-brand-button,
    .headphone-brands .headphone-brand-button
):hover {
    transform: translateY(-2px) !important;

    box-shadow:
        0 5px 13px rgba(69, 36, 5, .20)
        !important;
}

/* إحساس الضغط */
:is(
    .mobile-brands .brand-button,
    .accessories-types .accessory-button,
    .powerbank-brands .brand-button,
    .charger-brands .brand-button,
    .smartwatch-brands .smartwatch-brand-button,
    .headphone-brands .headphone-brand-button
):active {
    transform: translateY(1px) !important;

    box-shadow:
        0 1px 4px rgba(69, 36, 5, .13)
        !important;
}

/* الموبايل */
@media (max-width: 600px) {
    :is(
        .mobile-brands .brand-button,
        .accessories-types .accessory-button,
        .powerbank-brands .brand-button,
        .charger-brands .brand-button,
        .smartwatch-brands .smartwatch-brand-button,
        .headphone-brands .headphone-brand-button
    ) {
        border-radius: 9px !important;
    }
}

/* تقليل الحركة */
@media (prefers-reduced-motion: reduce) {
    :is(
        .mobile-brands .brand-button,
        .accessories-types .accessory-button,
        .powerbank-brands .brand-button,
        .charger-brands .brand-button,
        .smartwatch-brands .smartwatch-brand-button,
        .headphone-brands .headphone-brand-button
    ) {
        transition: none !important;
    }
}

/* ==================================================
   AL MASHTOLY - COMPLETE LUXURY GOLD DESIGN
   Solid Gold | Uniform Borders | Soft 3D Shadows
================================================== */

:root {
    --mashtoly-gold: #D9AD52;
    --mashtoly-brown: #000000;
    --mashtoly-cream: #F8F4EF;
    --mashtoly-shadow: rgba(69, 36, 5, .16);
}

/* ==================================================
   1. MAIN CATEGORY CARDS
================================================== */

.category-grid button.category-card {
    position: relative !important;
    border-radius: 17px !important;
    overflow: hidden !important;

    box-shadow:
        0 3px 9px var(--mashtoly-shadow)
        !important;

    transition:
        transform .25s ease,
        box-shadow .25s ease !important;
}

/* Uniform border without covering category images */

.category-grid button.category-card::after {
    content: "";
    position: absolute;
    inset: 0;

    border: 2px solid var(--mashtoly-gold);
    border-radius: inherit;

    background: transparent;
    pointer-events: none;
    z-index: 30;
}

.category-grid button.category-card:hover {
    transform: translateY(-2px) !important;

    box-shadow:
        0 5px 13px rgba(69, 36, 5, .20)
        !important;
}

/* ==================================================
   2. ALL SIX SUBCATEGORY GROUPS
================================================== */

:is(
    .mobile-brands .brand-button,
    .accessories-types .accessory-button,
    .powerbank-brands .brand-button,
    .charger-brands .brand-button,
    .smartwatch-brands .smartwatch-brand-button,
    .headphone-brands .headphone-brand-button
) {
    border: 2px solid var(--mashtoly-gold) !important;
    border-radius: 10px !important;

    background: var(--mashtoly-cream) !important;
    background-image: none !important;

    color: var(--mashtoly-brown) !important;

    box-shadow:
        0 3px 9px var(--mashtoly-shadow)
        !important;

    transition:
        transform .25s ease,
        box-shadow .25s ease !important;
}

/* Selected subcategory */

:is(
    .mobile-brands .brand-button,
    .accessories-types .accessory-button,
    .powerbank-brands .brand-button,
    .charger-brands .brand-button,
    .smartwatch-brands .smartwatch-brand-button,
    .headphone-brands .headphone-brand-button
).active,
:is(
    .mobile-brands .brand-button,
    .accessories-types .accessory-button,
    .powerbank-brands .brand-button,
    .charger-brands .brand-button,
    .smartwatch-brands .smartwatch-brand-button,
    .headphone-brands .headphone-brand-button
).active:hover {
    background: var(--mashtoly-brown) !important;
    background-image: none !important;
    color: #FFFFFF !important;
    border-color: var(--mashtoly-gold) !important;
}

/* Subcategory hover */

:is(
    .mobile-brands .brand-button,
    .accessories-types .accessory-button,
    .powerbank-brands .brand-button,
    .charger-brands .brand-button,
    .smartwatch-brands .smartwatch-brand-button,
    .headphone-brands .headphone-brand-button
):hover {
    transform: translateY(-2px) !important;

    box-shadow:
        0 5px 13px rgba(69, 36, 5, .20)
        !important;
}

/* Subcategory pressed */

:is(
    .mobile-brands .brand-button,
    .accessories-types .accessory-button,
    .powerbank-brands .brand-button,
    .charger-brands .brand-button,
    .smartwatch-brands .smartwatch-brand-button,
    .headphone-brands .headphone-brand-button
):active {
    transform: translateY(1px) !important;
}

/* ==================================================
   3. TOP CATEGORY NAVIGATION
================================================== */

nav {
    position: relative;

    border-top: 2px solid var(--mashtoly-gold) !important;
    border-bottom: 2px solid var(--mashtoly-gold) !important;

    box-shadow:
        0 3px 8px var(--mashtoly-shadow)
        !important;
}

/* ==================================================
   4. SEARCH BOX
================================================== */

.search-box {
    border: 2px solid var(--mashtoly-gold) !important;
    border-radius: 30px !important;

    box-shadow:
        0 3px 9px var(--mashtoly-shadow)
        !important;

    transition: box-shadow .25s ease;
}

.search-box:focus-within {
    box-shadow:
        0 5px 13px rgba(69, 36, 5, .20)
        !important;
}

/* ==================================================
   5. DISCOUNT BAR
================================================== */

.vanq-offers-bar {
    position: relative;

    border-top: 2px solid var(--mashtoly-gold) !important;
    border-bottom: 2px solid var(--mashtoly-gold) !important;

    box-shadow:
        0 3px 8px var(--mashtoly-shadow)
        !important;
}

.vanq-discount {
    border: 2px solid var(--mashtoly-gold) !important;
    border-radius: 20px !important;
}

/* ==================================================
   6. MAIN HOME BANNER
================================================== */

.home-banner {
    position: relative;

    border: 2px solid var(--mashtoly-gold) !important;
    border-radius: 16px;

    box-shadow:
        0 4px 12px var(--mashtoly-shadow)
        !important;
}

/* ==================================================
   7. SHOP NOW BUTTON
================================================== */

.home-banner .home-banner-button {
    border: 2px solid var(--mashtoly-gold) !important;
    border-radius: 50px !important;

    box-shadow:
        0 3px 9px var(--mashtoly-shadow)
        !important;
}

/* ==================================================
   8. MOBILE BOTTOM NAVIGATION
================================================== */

@media (max-width: 600px) {
    .mobile-bottom-nav {
        border-top: 2px solid var(--mashtoly-gold) !important;

        box-shadow:
            0 -3px 10px var(--mashtoly-shadow)
            !important;
    }
}

/* ==================================================
   9. MOBILE REFINEMENTS
================================================== */

@media (max-width: 600px) {

    .category-grid button.category-card {
        border-radius: 13px !important;
    }

    .search-box {
        border-radius: 25px !important;
    }

    .home-banner {
        border-radius: 12px;
    }

    :is(
        .mobile-brands .brand-button,
        .accessories-types .accessory-button,
        .powerbank-brands .brand-button,
        .charger-brands .brand-button,
        .smartwatch-brands .smartwatch-brand-button,
        .headphone-brands .headphone-brand-button
    ) {
        border-radius: 9px !important;
    }
}

/* ==================================================
   10. ACCESSIBILITY
================================================== */

@media (prefers-reduced-motion: reduce) {

    .category-grid button.category-card,
    .search-box,
    :is(
        .mobile-brands .brand-button,
        .accessories-types .accessory-button,
        .powerbank-brands .brand-button,
        .charger-brands .brand-button,
        .smartwatch-brands .smartwatch-brand-button,
        .headphone-brands .headphone-brand-button
    ) {
        transition: none !important;
    }

    .category-grid button.category-card:hover,
    :is(
        .mobile-brands .brand-button,
        .accessories-types .accessory-button,
        .powerbank-brands .brand-button,
        .charger-brands .brand-button,
        .smartwatch-brands .smartwatch-brand-button,
        .headphone-brands .headphone-brand-button
    ):hover {
        transform: none !important;
    }
}



/* FIX CART COUNTER WHITE BORDER */

header .cart-button #cartCount {
    border: 2px solid #F8F4EF !important;
    background: #F2BE58 !important;
    background-image: none !important;
    color: #FFFFFF !important;
    box-shadow: none !important;
}

/* MOBILE CART COUNTER */

@media (max-width: 600px) {
    header .cart-button #cartCount {
        border: 2px solid #F8F4EF !important;
        border-radius: 50% !important;
        background: #F2BE58 !important;
        color: #FFFFFF !important;
    }
}

/* ==========================================
   AL MASHTOLY - GRADIENT GOLD BORDERS
========================================== */

:root {
    --gold-gradient: linear-gradient(
        135deg,
        #FFF0B5 0%,
        #D9AD52 25%,
        #F5D780 50%,
        #A87825 75%,
        #E5C16B 100%
    );
}

/* 1. CATEGORY CARDS */

.category-grid button.category-card::after {
    border: 2px solid transparent !important;
    background: var(--gold-gradient) border-box !important;

    -webkit-mask:
        linear-gradient(#fff 0 0) padding-box,
        linear-gradient(#fff 0 0);

    -webkit-mask-composite: xor;

    mask:
        linear-gradient(#fff 0 0) padding-box,
        linear-gradient(#fff 0 0);

    mask-composite: exclude;
}

/* 2. ALL SUBCATEGORIES */

:is(
    .mobile-brands .brand-button,
    .accessories-types .accessory-button,
    .powerbank-brands .brand-button,
    .charger-brands .brand-button,
    .smartwatch-brands .smartwatch-brand-button,
    .headphone-brands .headphone-brand-button
) {
    border: 2px solid transparent !important;

    background:
        linear-gradient(#F8F4EF, #F8F4EF) padding-box,
        var(--gold-gradient) border-box !important;
}

/* SELECTED SUBCATEGORY */

:is(
    .mobile-brands .brand-button,
    .accessories-types .accessory-button,
    .powerbank-brands .brand-button,
    .charger-brands .brand-button,
    .smartwatch-brands .smartwatch-brand-button,
    .headphone-brands .headphone-brand-button
).active,
:is(
    .mobile-brands .brand-button,
    .accessories-types .accessory-button,
    .powerbank-brands .brand-button,
    .charger-brands .brand-button,
    .smartwatch-brands .smartwatch-brand-button,
    .headphone-brands .headphone-brand-button
).active:hover {
    border: 2px solid transparent !important;

    background:
        linear-gradient(#000000, #000000) padding-box,
        var(--gold-gradient) border-box !important;
}

/* 3. SEARCH AND SHOP NOW */

.search-box {
    border: 2px solid transparent !important;

    background:
        linear-gradient(#FFFFFF, #FFFFFF) padding-box,
        var(--gold-gradient) border-box !important;
}

.home-banner .home-banner-button {
    border: 2px solid transparent !important;

    background:
        linear-gradient(#000000, #000000) padding-box,
        var(--gold-gradient) border-box !important;
}

/* 4. BANNER */

.home-banner {
    border: 2px solid transparent !important;

    background:
        linear-gradient(#F8F4EF, #F8F4EF) padding-box,
        var(--gold-gradient) border-box !important;
}

/* 5. CART AND ACCOUNT CIRCLES */

header .cart-button::before,
header .account-button::before {
    border: 2px solid transparent !important;

    background:
        linear-gradient(#F8F4EF, #F8F4EF) padding-box,
        var(--gold-gradient) border-box !important;
}

/* 6. TOP NAV, OFFERS AND BOTTOM BAR */
/* Gradient edge without affecting contents */

nav,
.vanq-offers-bar,
.mobile-bottom-nav {
    border-color: transparent !important;
}

nav {
    border-image: var(--gold-gradient) 1 !important;
}

.vanq-offers-bar {
    border-image: var(--gold-gradient) 1 !important;
}

@media (max-width: 600px) {
    .mobile-bottom-nav {
        border-image: var(--gold-gradient) 1 !important;
    }
}

/* 7. DISCOUNT LABEL */

.vanq-discount {
    border: 2px solid transparent !important;

    background:
        linear-gradient(#bdbb6f, #000000) padding-box,
        var(--gold-gradient) border-box !important;
}

/* SEARCH BOX - MATCH WEBSITE BACKGROUND */

.search-box {
    background:
        linear-gradient(#F8F4EF, #F8F4EF) padding-box,
        var(--gold-gradient) border-box !important;
}

/* SEARCH INPUT */

.search-box input {
    background: #F8F4EF !important;
    background-color: #F8F4EF !important;
}

/* SEARCH BUTTON */

.search-box .search-button {
    background: transparent !important;
    background-color: transparent !important;
}

/* ==============================================
   AL MASHTOLY - PREMIUM METALLIC GOLD BORDERS
   Glossy 3D Gold - Like Shop Now Button
============================================== */

:root {
    --premium-gold: linear-gradient(
        135deg,
        #FFF8C9 0%,
        #FFD84B 12%,
        #B9790C 28%,
        #FFF3A3 43%,
        #D79413 58%,
        #FFE66B 76%,
        #965900 100%
    );

    --premium-shadow:
        0 2px 0 rgba(151, 91, 0, .30),
        0 4px 10px rgba(69, 36, 5, .20);
}

/* 1. MAIN CATEGORY CARDS */

.category-grid button.category-card::after {
    border: 2px solid transparent !important;
    background: var(--premium-gold) border-box !important;

    -webkit-mask:
        linear-gradient(#fff 0 0) padding-box,
        linear-gradient(#fff 0 0);

    -webkit-mask-composite: xor;

    mask:
        linear-gradient(#fff 0 0) padding-box,
        linear-gradient(#fff 0 0);

    mask-composite: exclude;
}

/* 2. ALL SIX SUBCATEGORY GROUPS */

:is(
    .mobile-brands .brand-button,
    .accessories-types .accessory-button,
    .powerbank-brands .brand-button,
    .charger-brands .brand-button,
    .smartwatch-brands .smartwatch-brand-button,
    .headphone-brands .headphone-brand-button
) {
    border: 2px solid transparent !important;

    background:
        linear-gradient(#F8F4EF, #F8F4EF) padding-box,
        var(--premium-gold) border-box !important;

    box-shadow: var(--premium-shadow) !important;
}

/* Selected subcategory */

:is(
    .mobile-brands .brand-button,
    .accessories-types .accessory-button,
    .powerbank-brands .brand-button,
    .charger-brands .brand-button,
    .smartwatch-brands .smartwatch-brand-button,
    .headphone-brands .headphone-brand-button
).active,
:is(
    .mobile-brands .brand-button,
    .accessories-types .accessory-button,
    .powerbank-brands .brand-button,
    .charger-brands .brand-button,
    .smartwatch-brands .smartwatch-brand-button,
    .headphone-brands .headphone-brand-button
).active:hover {
    border: 2px solid transparent !important;

    background:
        linear-gradient(#000000, #000000) padding-box,
        var(--premium-gold) border-box !important;

    color: #FFFFFF !important;
}

/* 3. SEARCH BOX */

.search-box {
    border: 2px solid transparent !important;

    background:
        linear-gradient(#F8F4EF, #F8F4EF) padding-box,
        var(--premium-gold) border-box !important;

    box-shadow: var(--premium-shadow) !important;
}

.search-box input {
    background: #F8F4EF !important;
}

/* 4. SHOP NOW BUTTON */

.home-banner .home-banner-button {
    border: 2px solid transparent !important;

    background:
        linear-gradient(#000000, #000000) padding-box,
        var(--premium-gold) border-box !important;

    box-shadow: var(--premium-shadow) !important;
}

/* 5. MAIN BANNER */

.home-banner {
    border: 2px solid transparent !important;

    background:
        linear-gradient(#F8F4EF, #F8F4EF) padding-box,
        var(--premium-gold) border-box !important;

    box-shadow: var(--premium-shadow) !important;
}

/* 6. CART + ACCOUNT GOLD CIRCLES */

header .cart-button::before,
header .account-button::before {
    border: 2px solid transparent !important;

    background:
        linear-gradient(#F8F4EF, #F8F4EF) padding-box,
        var(--premium-gold) border-box !important;

    box-shadow:
        0 2px 7px rgba(69, 36, 5, .20) !important;
}

/* 7. DISCOUNT LABEL */

.vanq-discount {
    border: 2px solid transparent !important;

    background:
        linear-gradient(#F2BE58, #000000) padding-box,
        var(--premium-gold) border-box !important;
}

/* 8. TOP NAVIGATION BAR */

nav {
    border-top: 2px solid #FFE66B !important;
    border-bottom: 2px solid #B9790C !important;

    box-shadow:
        0 2px 0 #D79413,
        0 4px 9px rgba(69,36,5,.18) !important;
}

/* 9. OFFERS BAR */

.vanq-offers-bar {
    border-top: 2px solid #FFE66B !important;
    border-bottom: 2px solid #B9790C !important;
}

/* 10. MOBILE BOTTOM BAR */

@media (max-width: 600px) {
    .mobile-bottom-nav {
        border-top: 2px solid #FFE66B !important;

        box-shadow:
            0 -2px 6px rgba(69,36,5,.18) !important;
    }
}

/* SHOP NOW - ALWAYS VISIBLE GRADIENT */

.home-banner .home-banner-button,
.home-banner .home-banner-button:hover,
.home-banner .home-banner-button:focus,
.home-banner .home-banner-button:active {
    background-color: #000000 !important;

    background-image:
        linear-gradient(
            180deg,
            #F2BE58 0%,
            #000000 100%
        ),
        linear-gradient(
            135deg,
            #FFF8C9 0%,
            #FFD84B 25%,
            #B9790C 50%,
            #FFE66B 75%,
            #965900 100%
        ) !important;

    background-origin: padding-box, border-box !important;
    background-clip: padding-box, border-box !important;

    border: 2px solid transparent !important;
    border-radius: 50px !important;

    color: #FFFFFF !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* ==========================================
   NAVIGATION BARS - GOLD TO BLACK
========================================== */

/* شريط الأقسام تحت البحث */
html body nav,
html body nav:hover {
    background: linear-gradient(
        180deg,
        #F2BE58 0%,
        #D9AD52 25%,
        #79551F 55%,
        #211807 80%,
        #000000 100%
    ) !important;

    background-image: linear-gradient(
        180deg,
        #F2BE58 0%,
        #D9AD52 25%,
        #79551F 55%,
        #211807 80%,
        #000000 100%
    ) !important;
}

/* شريط أسفل شاشة الموبايل */
html body .mobile-bottom-nav {
    background: linear-gradient(
        180deg,
        #F2BE58 0%,
        #D9AD52 25%,
        #79551F 55%,
        #211807 80%,
        #000000 100%
    ) !important;

    background-image: linear-gradient(
        180deg,
        #F2BE58 0%,
        #D9AD52 25%,
        #79551F 55%,
        #211807 80%,
        #000000 100%
    ) !important;
}

/* AL-MASHTOLY OFFERS BANNER */

.mashtoly-offers-banner {
    position: relative !important;
    width: 100vw !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    box-sizing: border-box !important;
}

.mashtoly-offers-banner img {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    object-fit: contain !important;
}

/* زر اكتشف العروض داخل البانر */

.mashtoly-offers-btn {
    position: absolute;
    right: 12%;
    bottom: 17%;
    z-index: 5;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 13 32px;
    border-radius: 50px;
    border: 1px solid #F2BE58;

    background: linear-gradient(
        180deg,
        #F2BE58 0%,
        #000000 100%
    );

    color: #FFFFFF !important;
    font-size: 17px;
    font-weight: 900;
    text-decoration: none;

    box-shadow: 0 5px 15px rgba(0,0,0,0.25);
    transition: filter 0.25s ease;
}

.mashtoly-offers-btn:hover {
    filter: brightness(1.15);
}

@media (max-width: 600px) {
    .mashtoly-offers-btn {
        right: 1%;
        bottom: 20%;
        padding: 4px 100px;
        font-size: 10px;
    }
}
