/* Custom CSS styles for Tasmeem-SA website */

/* Footer Section Styles */
/* -------------------- */

/* Main descriptive text in the footer profile */
.footer-middle .footer-profile p {
    color: #f8e1b9; /* Light gold/beige color */
}

/* Subheadings in the footer (e.g., "روابط تهمك", "خدمة العملاء") */
.footer-middle .menu-list h3,
.footer-middle .contact-links + h3,
.footer-middle h3.title { /* Combined selectors for all h3 titles in footer */
    color: #af7e26; /* Gold/brown color */
}

/* Links and secondary text in the footer lists (e.g., "روابط تهمك" links, names under contact icons) */
.footer-middle .footer-list a,
.footer-middle .contact-links a span,
.footer-middle .contact-links span.text-unicode {
    color: #f8e1b9; /* Light gold/beige color */
}

/* Ensure consistent link color for various states in footer lists */
.footer-middle .footer-list a:link,
.footer-middle .footer-list a:visited {
    color: #f8e1b9; /* Maintain color for unvisited and visited links */
}

/* Back to Top Button Styles */
/* ------------------------- */
.to-top a p,
.to-top a .icon {
    color: white; /* White color for "To Top" button text and icon */
}

/* Newsletter/Mail Section Styles */
/* ------------------------------ */
.title-mail strong,
.title-mail p {
    color: white; /* White color for newsletter title and text */
}

/* Social Media Icons */
/* ------------------ */
.social-icon .sicon-instagram2 {
    color: white; /* White color for Instagram icon */
}

/* Footer Logo */
/* ----------- */
.logo-footer img {
    width: 150px;  /* Set specific width for the footer logo */
    height: auto;  /* Maintain aspect ratio */
}

/* Header Section Styles */
/* -------------------- */

/* Salla Icons in the header (Menu, Search, SAR, User, Add) */
.sicon-menu,
.sicon-search,
.sicon-sar,
.sicon-user,
.sicon-add {
    color: #d39b41 !important; /* Gold/orange-brown color for all header Salla icons */
}

/* Shopping Cart SVG Icon */
.s-cart-summary-icon svg path {
    fill: gold !important; /* Pure gold color for the cart icon's fill */
}

/* Currency Text in Header (e.g., "العملة:", "ريال سعودي") */
.currency-btn span {
    color: #d39b41 !important; /* Gold/orange-brown color for currency text */
}

/* "القائمة" text next to the menu icon */
.mburger p {
    color: orange !important; /* Orange color for the "القائمة" text */
}

/* Total Amount in Shopping Cart Summary (e.g., "٥٠ ر.س") */
.s-cart-summary-total {
    color: #d39b41 !important; /* Gold/orange-brown color for the total amount */
}

/*--------------*/
.contact-links a {
    background-color: rgb(202 150 67);

}


/*----------------- pop ----------------*/


.popup {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
}

/* محتوى النافذة المنبثقة */
.popup-content {
    background: radial-gradient(circle, #022d65, #000000);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    width: 80%;
    max-width: 400px;
    height: auto;
    max-height: 90vh;
    border-radius: 5px;
    padding: 0;
}

/* الصورة */
.popup-content img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 5px;
}

/* زر الإغلاق (X) */
.close-x {
    color: white;
    font-size: 20px;
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    z-index: 2;
}

.close-x:hover,
.close-x:focus {
    color: #ccc;
}

/* Media Query جداً (الجوالات) */
@media (max-width: 600px) {
    .popup-content {
        width: 90%;
        max-width: 300px;
        max-height: 80vh;
        padding: 0;
    }
}