* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cairo', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: #0b0b0b;
    color: #f1f1f1;
    min-height: 100vh;
}
header {
    padding: 35px 25px; 
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 6%;
    background-color: #141414;
    border-bottom: 2px solid #d4af37;
    flex-wrap: wrap;
    gap: 20px;
}

.logo img {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 2px solid #d4af37;
    object-fit: cover;
    transition: 0.5s;
}

.logo img:hover {
    box-shadow: 0 0 20px #d4af37;
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 35px;
    align-items: center;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.nav-links a {
    text-decoration: none;
    color: #f1f1f1;
    font-weight: 700;
    font-size: 18px;
    transition: 0.3s;
    position: relative;
    padding: 5px 0;
}

.nav-links a:hover {
    color: #d4af37;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #d4af37;
    transition: 0.4s;
}

.nav-links a:hover::after {
    width: 100%;
}

.lang-btn {
    cursor: pointer;
    padding: 12px 22px;
    border-radius: 8px;
    background: transparent;
    border: 2px solid #d4af37;
    color: #d4af37;
    font-size: 16px;
    font-weight: bold;
    transition: 0.3s;
}

.lang-btn:hover {
    background: #d4af37;
    color: #0b0b0b;
    box-shadow: 0 0 10px #d4af37;
}

.cart-btn {
    padding: 12px 22px !important;
    border: 2px solid #d4af37 !important;
    border-radius: 8px !important;
    background: transparent !important;
    color: #d4af37 !important;
    font-size: 16px !important;
    font-weight: bold !important;
    text-decoration: none !important;
    transition: 0.3s !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.cart-btn:hover {
    background: #d4af37 !important;
    color: #0b0b0b !important;
    box-shadow: 0 0 10px #d4af37 !important;
}
.hero-slider {
    position: relative;
    height: 50vh;
    width: 100%;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0; 
    transition: opacity 1.5s ease-in-out; 
    background-color: #0b0b0b;
}

.slide.active {
    opacity: 1;
}

.slide::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    top: 50%;
    transform: translateY(-50%);
}

.hero-content h1 {
    font-size: 45px;
    color: #d4af37;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
    margin-bottom: 10px;
}

.hero-btn {
    color: #d4af37 !important;
    border: 2px solid #d4af37;
    padding: 10px 25px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
}

.hero-btn:hover {
    background-color: #d4af37;
    color: #0b0b0b !important;
}

.product-features {
    list-style: none;
    font-size: 13px;
    color: #aaa;
    margin: 10px 0;
    text-align: left;
    padding-left: 10px;
}

.product-features li::before {
    content: "✓";
    color: #d4af37;
    margin-right: 5px;
}

.price {
    font-size: 22px;
    font-weight: bold;
    color: #d4af37;
    margin: 10px 0;
}

.ar { display: none !important; }

body.lang-ar .en { display: none !important; }
body.lang-ar .ar { display: inline !important; }

body.lang-ar { 
    direction: rtl; 
    text-align: right; 
}

.product-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 35px;
    padding: 50px 20px;
    width: 100%;
}

.product-card {
    background-color: #161616;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 18px;
    padding: 35px 25px;
    width: 360px;
    text-align: center;
    transition: 0.3s ease;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: #d4af37;
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.25);
}

.image-container {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    width: 100%;
    height: 280px;
    background-color: #101010;
    margin-bottom: 20px;
    border: 1px solid #222;
}

.product-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 12px;
}

.product-description {
    position: static;
    width: 100%;
    height: auto;
    background: transparent;
    color: #cccccc;
    display: block;
    padding: 10px 0 15px 0;
    text-align: center;
    opacity: 1;
    font-size: 15px;
    line-height: 1.7;
}

.product-card h3 {
    color: #f1f1f1;
}

.product-card button {
    width: 100%;
    padding: 14px;
    background: transparent;
    color: #d4af37;
    border: 2px solid #d4af37;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
    font-weight: bold;
    font-size: 16px;
    overflow: hidden;
}

.product-card button:hover {
    background: #d4af37;
    color: #0b0b0b;
}

.products {
    margin-top: 50px;
    padding: 50px 20px;
}

.why-choose-us {
    padding: 40px 20px;
    background-color: #0f0f0f;
    color: #fff;
    text-align: center;
    width: 100%;
    clear: both;
    margin-top: 80px;
    border-top: 1px solid #222;
}

.feature-item {
    background: #161616;
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 6px 18px rgba(0,0,0,0.4);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-item h3 {
    color: #d4af37;
    font-size: 18px;
    margin-bottom: 12px;
}

.feature-item p {
    color: #aaa;
    font-size: 14px;
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    text-align: center;
    font-size: 32px;
    color: #d4af37;
    margin-bottom: 10px;
}

.testimonials {
    padding: 60px 20px;
    text-align: center;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    max-width: 1100px;
    margin: 40px auto 0;
}

.testimonial-box {
    background: #161616;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 14px;
    padding: 28px;
    color: #cccccc;
    font-size: 15px;
    line-height: 1.7;
}

.cart-table {
    width: 80%;
    margin: 30px auto;
    border-collapse: collapse;
    background-color: #161616;
    color: white;
    border: 1px solid #d4af37;
}

.cart-table th {
    background-color: #d4af37;
    color: #0b0b0b;
    padding: 15px;
    text-transform: uppercase;
}

.cart-table td {
    padding: 15px;
    border-bottom: 1px solid #262626;
    text-align: center;
}

#total {
    color: #d4af37;
    text-align: center;
    margin-top: 20px;
    font-size: 1.2rem;
    font-weight: bold;
}

.clear-btn {
    display: block;
    margin: 20px auto;
    padding: 10px 20px;
    background: transparent;
    color: #d4af37;
    border: 1px solid #d4af37;
    cursor: pointer;
    transition: 0.3s;
    border-radius: 5px;
}

.clear-btn:hover {
    background: #d4af37;
    color: #0b0b0b;
}

.checkout-btn {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 30px auto;
    padding: 15px;
    background-color: #d4af37;
    color: #0b0b0b;
    font-weight: bold;
    font-size: 1.1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-transform: uppercase;
    transition: 0.4s;
}

.checkout-btn:hover {
    background-color: #fff;
    transform: scale(1.02);
    box-shadow: 0 0 15px #d4af37;
}

.about-us-section {
    background: #0f0f0f;
    padding: 60px 20px;
    border-top: 1px solid #222;
}

.about-us-section .container {
    width: 100%;
    max-width: 1000px;
    margin: auto;
}

.about-header {
    text-align: center;
    margin-bottom: 40px;
}

.about-header h2 {
    font-size: 42px;
    color: #d4af37;
    margin-bottom: 15px;
}

.about-header .line {
    width: 90px;
    height: 4px;
    background: #d4af37;
    margin: auto;
    border-radius: 20px;
}

.about-content {
    display: flex;
    justify-content: center;
}

.about-card {
    background: #161616;
    width: 100%;
    max-width: 900px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 18px;
    padding: 50px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.6);
}

.about-card p {
    font-size: 22px;
    line-height: 2;
    color: #cccccc;
    margin-bottom: 30px;
}

.about-card p:last-child {
    margin-bottom: 0;
}

.details-main-container {
    max-width: 1000px;
    margin: 50px auto;
    padding: 20px;
}

.product-card.details-card {
    width: 100% !important;
    max-width: 800px;
    margin: 0 auto;
    text-align: right;
    display: block;
    padding: 40px;
}

.details-image-box {
    height: 350px !important;
    margin-bottom: 30px;
}

.details-image-box img {
    object-fit: contain !important;
}

.details-title {
    color: #d4af37;
    font-size: 28px;
    margin-bottom: 15px;
    text-align: center;
}

.details-section {
    margin-bottom: 25px;
}

.gold-heading {
    color: #d4af37;
    margin-bottom: 10px;
}

.details-text {
    color: #cccccc;
    font-size: 16px;
    line-height: 1.8;
}

.details-list {
    color: #cccccc;
    font-size: 15px;
    line-height: 1.8;
    padding-right: 20px;
    list-style-type: disc;
}

.details-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.add-cart-action-btn {
    flex: 2;
}

.details-link-btn {
    flex: 1;
    text-align: center;
    padding: 14px;
    text-decoration: none;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid #d4af37;
    color: #d4af37;
    font-weight: bold;
    transition: 0.3s;
}

.details-link-btn:hover {
    background-color: #d4af37;
    color: #0b0b0b;
}

@media (max-width:768px){
    .navbar{
        display:flex;
        flex-direction:column;
        justify-content:center;
        align-items:center;
        padding:15px;
        gap:15px;
    }

    .logo img{
        width:100px;
        height:100px;
    }

    .nav-links{
        display:flex;
        flex-wrap:wrap;
        justify-content:center;
        align-items:center;
        gap:16px;
        width:100%;
    }

    .nav-links li{
        list-style:none;
    }

    .nav-links a{
        font-size:16px;
        font-weight:800;
        color:#f1f1f1;
        letter-spacing:.5px;
    }

    .cart-btn{
        padding:10px 16px;
        font-size:15px;
        font-weight:bold;
    }

    .hero-slider{
        height:45vh;
    }

    .hero-content h1{
        font-size:24px;
        line-height:1.3;
        padding: 0 15px;
    }

    .hero-content p{
        font-size:15px;
    }

    .product-card {
        width: 100% !important;
        margin: 0 0 20px 0 !important; 
        max-width: 100% !important;
    }

    .product-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 10px;
        width: 100%;
    }

    .about-card {
        padding: 30px 20px;
        max-width: 95%;
    }

    .about-header h2 {
        font-size: 26px;
    }

    .about-card p {
        font-size: 16px;
    }

    .features-grid {
        display: flex;
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }

    .feature-item {
        width: 100%;
    }

    html, body {
        height: auto !important;
        min-height: 100% !important;
        overflow-x: hidden;
    }

    .about-us-section {
        min-height: auto !important;
        height: auto !important;
        padding: 20px 10px 30px 10px !important;
    }

    .cart-table {
        width: 95%;
        font-size: 13px;
    }

    .cart-table th,
    .cart-table td {
        padding: 8px;
    }
}

/* ==========================================
   إضافات: الفوتر (كان غير موجود إطلاقاً)
   ========================================== */
.site-footer {
    background-color: #141414;
    border-top: 2px solid #d4af37;
    padding: 50px 6% 20px;
    margin-top: 80px;
    color: #cccccc;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h3 {
    color: #d4af37;
    font-size: 18px;
    margin-bottom: 18px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #cccccc;
    text-decoration: none;
    font-size: 15px;
    transition: 0.3s;
}

.footer-section a:hover {
    color: #d4af37;
}

.footer-section p {
    font-size: 15px;
    margin-bottom: 8px;
    color: #aaa;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icons a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d4af37;
    border-radius: 50%;
    color: #d4af37;
    transition: 0.3s;
}

.social-icons a:hover {
    background: #d4af37;
    color: #0b0b0b;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #262626;
    font-size: 14px;
    color: #888;
}

/* ==========================================
   إضافات: رسالة التنبيه (Toast) بدل alert()
   ========================================== */
.pb-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: #161616;
    border: 1px solid #d4af37;
    color: #f1f1f1;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 6px 20px rgba(0,0,0,0.5);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 999;
    pointer-events: none;
}

.pb-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ==========================================
   إضافات: إتاحة الوصول - تركيز لوحة المفاتيح
   ========================================== */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #d4af37;
    outline-offset: 2px;
}

/* تقليل الحركة لمن يفضّل ذلك */
@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
        animation: none !important;
    }
}

/* ==========================================
   إضافات: الجوال - الفوتر
   ========================================== */
@media (max-width: 768px) {
    .site-footer {
        padding: 40px 20px 20px;
    }
    .footer-container {
        gap: 30px;
        text-align: center;
    }
    .social-icons {
        justify-content: center;
    }
}

/* ==========================================
   إضافات: عناصر بطاقة المنتج (بدل inline styles)
   ========================================== */
.product-title-link {
    text-decoration: none;
    color: inherit;
}

.card-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

/* ==========================================
   إضافات: صفحة السلة (بدل inline styles)
   ========================================== */
.cart-page-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 30px;
    background: #161616;
    border: 1px solid #d4af37;
    border-radius: 12px;
    color: #fff;
}

.cart-page-title {
    color: #d4af37;
    text-align: center;
    margin-bottom: 20px;
}

.cart-table thead tr {
    border-bottom: 2px solid #d4af37;
}

.cart-empty-row {
    text-align: center;
    padding: 20px;
    color: #ccc;
}

.remove-item-btn {
    background: #b33a3a;
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.remove-item-btn:hover {
    background: #ff4d4d;
}

.cart-action-cell {
    text-align: center;
}

.cart-buttons-row {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.cart-secondary-btn {
    padding: 12px 20px;
    background: #333;
    color: #fff;
    border: 1px solid #555;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.cart-secondary-btn:hover {
    background: #444;
}

.back-to-shop-wrap {
    text-align: center;
    margin-top: 25px;
}

.back-to-shop-wrap a {
    color: #d4af37;
    text-decoration: none;
}

.back-to-shop-wrap a:hover {
    text-decoration: underline;
}

/* ==========================================
   إضافات: صفحة المتجر (Shop)
   ========================================== */
.shop-section-title {
    text-align: center;
    color: #d4af37;
    padding: 40px 0 10px;
    font-size: 32px;
}

.price-hidden {
    visibility: hidden;
}

/* ==========================================
   إضافات: صفحة الباقات (Packages)
   ========================================== */
.packages-main {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
}

.packages-title {
    color: #d4af37;
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.package-image-wrap {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.package-image-wrap img {
    max-height: 100%;
    object-fit: contain;
}

.no-packages-msg {
    color: #ccc;
    text-align: center;
    grid-column: 1 / -1;
}
/* ===================== Privacy / Policy Pages ===================== */
.policy-page {
    padding: 60px 20px;
    max-width: 900px;
    margin: 0 auto;
}

.policy-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
}

.policy-content,
.policy-content p,
.policy-content li {
    line-height: 1.9;
    font-size: 1.05rem;
    font-weight: 400;
    color: #f5f5f5 !important;
    opacity: 1 !important;
    filter: none !important;
    text-shadow: none;
}

.policy-content h2 {
    margin-top: 35px;
    margin-bottom: 12px;
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffcc00 !important;
    opacity: 1 !important;
}

.policy-content p {
    margin-bottom: 14px;
}

.policy-content ul {
    margin: 0 0 14px 0;
    padding-inline-start: 22px;
}

.policy-content ul li {
    margin-bottom: 8px;
}

.policy-content.ar {
    direction: rtl;
    text-align: right;
    font-family: 'Cairo', 'Tahoma', sans-serif;
}

.policy-content.en {
    direction: ltr;
    text-align: left;
    font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
}

