/* ================= RESET ================= */
*{
  box-sizing:border-box;
  margin:0;
  padding:0;
  font-family:Arial, sans-serif;
}

/* ================= HEADER ================= */
body{
  padding-top:80px;
}

.main-header{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:80px;
  background:#000;
  z-index:999;
  transition:transform .4s ease, box-shadow .4s ease;
}

.main-header.scrolled{
  box-shadow:0 8px 30px rgba(0,0,0,.35);
}

.main-header.hide{
  transform:translateY(-100%);
}

.header-container{
  max-width:1300px;
  margin:auto;
  padding:18px 20px;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

/* LOGO */
.logo a{
  font-size:24px;
  font-weight:bold;
  color:#fff;
  text-decoration:none;
}
.logo span{ color:#f1c40f; }

/* NAV */
.main-nav{
  display:flex;
  gap:25px;
}
.main-nav a{
  color:#fff;
  text-decoration:none;
  font-size:15px;
  position:relative;
}
.main-nav a::after{
  content:'';
  position:absolute;
  bottom:-6px;
  left:0;
  width:0;
  height:2px;
  background:#f1c40f;
  transition:.3s;
}
.main-nav a:hover::after{ width:100%; }

/* ACTIONS */
.header-actions{
  display:flex;
  align-items:center;
  gap:18px;
}
.header-actions .icon{
  color:#fff;
  font-size:18px;
  position:relative;
}
.cart-count{
  position:absolute;
  top:-6px;
  right:-10px;
  background:#e63946;
  color:#fff;
  font-size:12px;
  padding:3px 7px;
  border-radius:50%;
  min-width:18px;
  text-align:center;
  font-weight:bold;
}
.cta-btn{
  background:#f1c40f;
  color:#000;
  padding:10px 20px;
  border-radius:30px;
  font-weight:bold;
  text-decoration:none;
  transition:.3s;
}
.cta-btn:hover{ background:#fff; }

/* MOBILE NAV */
.menu-toggle{
  display:none;
  color:#fff;
  font-size:22px;
}
@media(max-width:992px){
  body{ padding-top:65px; }
  .main-header{ height:65px; }

  .main-nav{
    position:absolute;
    top:100%;
    right:0;
    background:#000;
    width:100%;
    flex-direction:column;
    display:none;
    padding:20px;
  }
  .main-nav.active{ display:flex; }
  .menu-toggle{ display:block; }
}

/* ================= HERO SLIDER ================= */
.hero-slider{
  height:70vh;
  position:relative;
  overflow:hidden;
}

.slide{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  opacity:0;
  transition:opacity 1s ease;
}
.slide.active{ opacity:1; }

.slider-overlay{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.55);
  color:#fff;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;
  padding:20px;
}
.slider-overlay h1{ font-size:40px; margin-bottom:15px; }
.slider-overlay span{ color:#f1c40f; }
.slider-overlay a{
  margin-top:20px;
  padding:12px 30px;
  background:#fff;
  color:#000;
  text-decoration:none;
  border-radius:30px;
}

/* ================= OFFERS ================= */
.offers{
  padding:70px 8%;
  background:#fafafa;
}
.offers h2{
  text-align:center;
  font-size:32px;
  margin-bottom:40px;
}
.offers-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:30px;
}
.offer-card{
  position:relative;
  background:#fff;
  border-radius:14px;
  padding:20px;
  text-align:center;
  box-shadow:0 10px 30px rgba(0,0,0,.08);
  transition:transform .4s;
}
.offer-card:hover{ transform:translateY(-8px); }
.offer-card img{
  width:100%;
  max-height:200px;
  object-fit:contain;
}
.old-price{
  text-decoration:line-through;
  color:#888;
}
.new-price{
  font-size:20px;
  font-weight:bold;
  margin:8px 0;
}

/* DISCOUNT BADGE */
.discount-badge{
  position:absolute;
  top:15px;
  left:15px;
  background:#e63946;
  color:#fff;
  padding:6px 12px;
  font-size:14px;
  border-radius:20px;
}

/* PRODUCT ACTION BUTTONS */
.product-actions{
  display:flex;
  flex-direction:column;
  gap:10px;
  margin-top:15px;
}
.product-actions button,
.product-actions .details-btn{
  width:100%;
  padding:12px;
  border-radius:30px;
  font-size:14px;
  font-weight:bold;
  background:#000;
  color:#fff;
  border:none;
  text-align:center;
  cursor:pointer;
  text-decoration:none;
  transition:background .3s ease;
}
.product-actions button:hover,
.product-actions .details-btn:hover{
  background:#333;
}

/* ================= TESTIMONIALS ================= */
.testimonials{
  padding:70px 8%;
  background:linear-gradient(135deg, #f9fafb, #ffffff);
  text-align:center;
}

.testimonials h2{
  font-size:30px;
  margin-bottom:40px;
  color:#0f2027; /* نفس درجة الداكن المستخدمة في الهيدر */
}

.testimonials-slider{
  max-width:600px;
  margin:auto;
}

.testimonial{
  display:none;
  font-size:16px;
  line-height:1.8;
  color:#555;
  background:#ffffff;
  padding:25px 30px;
  border-radius:18px;
  box-shadow:0 10px 30px rgba(0,0,0,0.08);
}

.testimonial.active{
  display:block;
}

.stars{
  color:#ffd369; /* الذهبي الموحد */
  font-size:22px;
  margin:15px 0;
}

/* ================= WHY US ================= */
.why-us{
  padding:80px 8%;
  background:#fafafa;
  text-align:center;
}
.why-us h2{
  font-size:32px;
  margin-bottom:50px;
}
.why-us-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:30px;
}
.why-card{
  background:#fff;
  padding:35px 25px;
  border-radius:18px;
  box-shadow:0 10px 25px rgba(0,0,0,.08);
  transition:.4s;
}
.why-card:hover{
  transform:translateY(-8px);
}
.why-card i{
  font-size:36px;
  color:#f1c40f;
  margin-bottom:20px;
}

/* ================= CATEGORIES ================= */
.categories{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
  gap:25px;
  padding:60px 8%;
}
.categories a{
  background:#000;
  color:#fff;
  text-decoration:none;
  padding:50px 20px;
  border-radius:20px;
  text-align:center;
  font-size:22px;
  transition:.4s;
}
.categories a:hover{
  background:#f1c40f;
  color:#000;
}

/* ================= FOOTER ================= */
.site-footer{
  background:#000;
  color:#fff;
  padding:70px 8% 30px;
}
.footer-container{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:40px;
  margin-bottom:40px;
}
.footer-col h3 span{ color:#f1c40f; }
.footer-col ul{ list-style:none; }
.footer-col ul li a{
  color:#ccc;
  text-decoration:none;
  font-size:14px;
}
.footer-bottom{
  text-align:center;
  border-top:1px solid #222;
  padding-top:20px;
  font-size:14px;
  color:#aaa;
}

/* ================= MOBILE ================= */
@media(max-width:900px){
  .slider-overlay h1{ font-size:28px; }
  .categories{ grid-template-columns:1fr; }
}

/* ================= PRODUCT PAGE ================= */
.product-page{
  padding:80px 8%;
}

.product-page-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:50px;
  align-items:flex-start;
}

/* Gallery */
.product-gallery .main-image{
  width:100%;
  border-radius:20px;
  margin-bottom:15px;
}

.thumbs{
  display:flex;
  gap:10px;
}

.thumbs img{
  width:70px;
  height:70px;
  object-fit:cover;
  border-radius:10px;
  cursor:pointer;
  border:2px solid transparent;
}

.thumbs img:hover{
  border-color:#f1c40f;
}

/* Info */
.product-info h1{
  font-size:32px;
  margin-bottom:10px;
}

.rating{
  color:#f1c40f;
  margin-bottom:10px;
}

.product-desc{
  margin:20px 0;
  line-height:1.8;
  color:#555;
}

.specs{
  list-style:none;
  margin-bottom:25px;
}

.specs li{
  margin-bottom:8px;
  font-size:14px;
}

/* Back link */
.back-link{
  display:inline-block;
  margin-top:20px;
  color:#000;
  text-decoration:none;
  font-weight:bold;
}

.back-link:hover{
  text-decoration:underline;
}

/* Responsive */
@media(max-width:900px){
  .product-page-grid{
    grid-template-columns:1fr;
  }
}

/* ================= CATEGORY PAGE ================= */
.category-page{
  padding:60px 20px;
  max-width:1300px;
  margin:auto;
}

.category-header{
  text-align:center;
  margin-bottom:40px;
}

.category-header h1{
  font-size:32px;
  margin-bottom:10px;
}

.category-header p{
  color:#777;
}

.products-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:30px;
}

.product-card{
  background:#fff;
  border-radius:12px;
  overflow:hidden;
  box-shadow:0 10px 25px rgba(0,0,0,.08);
  transition:.3s;
}

.product-card:hover{
  transform:translateY(-6px);
}

.product-image img{
  width:100%;
  height:260px;
  object-fit:cover;
}

.product-info{
  padding:15px;
  text-align:center;
}

.product-info h3{
  font-size:18px;
  margin-bottom:8px;
}

.product-info .price{
  font-weight:bold;
  color:#c9a14a;
}

.product-actions{
  display:flex;
  gap:10px;
  padding:15px;
}

.product-actions a{
  flex:1;
  text-align:center;
  padding:10px;
  border-radius:6px;
  font-weight:bold;
  text-decoration:none;
  transition:.3s;
}

.details-btn{
  background:#111;
  color:#fff;
}

.details-btn:hover{
  background:#333;
}

.order-btn{
  background:#c9a14a;
  color:#000;
}

.order-btn:hover{
  background:#b8903e;
}

@media(max-width:600px){
  .product-image img{
    height:220px;
  }
}
/* ================= FIX ORDER NOW BUTTON ================= */

.product-actions{
  display:flex;
  flex-direction:column;
  gap:12px;
}

.order-now-btn,
.order-btn{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:14px;
  border-radius:30px;
  font-size:15px;
  font-weight:bold;
  text-decoration:none;
  background:linear-gradient(135deg,#c9a14a,#f3d98b);
  color:#000;
  border:none;
  cursor:pointer;
  transition:all .3s ease;
}

.order-now-btn:hover,
.order-btn:hover{
  transform:translateY(-3px);
  box-shadow:0 10px 25px rgba(0,0,0,.2);
}
/* ================= ORDER PAGE FIX ================= */

.order-page{
  min-height:calc(100vh - 100px);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:40px 20px;
  background:#f5f5f5;
}

.order-box{
  width:100%;
  max-width:520px;
  background:#fff;
  padding:30px;
  border-radius:20px;
  box-shadow:0 20px 50px rgba(0,0,0,.15);
}

.order-page h1{
  text-align:center;
  margin-bottom:25px;
  font-size:28px;
}

.order-summary{
  background:#fafafa;
  padding:15px;
  border-radius:12px;
  margin-bottom:25px;
  border:1px solid #eee;
}

.order-summary p{
  font-size:15px;
  margin-bottom:8px;
}

.order-page form label{
  display:block;
  margin-bottom:6px;
  margin-top:15px;
  font-weight:bold;
  font-size:14px;
}

.order-page form input,
.order-page form textarea{
  width:100%;
  padding:12px 14px;
  border-radius:10px;
  border:1px solid #ccc;
  font-size:14px;
  transition:.3s;
}

.order-page form input:focus,
.order-page form textarea:focus{
  border-color:#c9a14a;
  outline:none;
}

.confirm-order{
  margin-top:25px;
  width:100%;
  padding:15px;
  border-radius:30px;
  border:none;
  background:#000;
  color:#fff;
  font-size:16px;
  font-weight:bold;
  cursor:pointer;
  transition:.3s;
}

.confirm-order:hover{
  background:#c9a14a;
  color:#000;
}
/* ================= FIX ORDER TITLE POSITION ================= */

.order-page{
  flex-direction: column;
}

.order-page h1{
  width: 100%;
  text-align: center;
  margin-bottom: 30px;
}
/* ================= ORDER SUCCESS MESSAGE ================= */

.order-success{
  text-align:center;
  padding:40px 20px;
}

.order-success h2{
  font-size:26px;
  color:#2e7d32;
  margin-bottom:15px;
}

.order-success p{
  font-size:16px;
  color:#555;
  margin-bottom:25px;
}

.back-home{
  display:inline-block;
  padding:12px 30px;
  border-radius:30px;
  background:#000;
  color:#fff;
  text-decoration:none;
  font-weight:bold;
  transition:.3s;
}

.back-home:hover{
  background:#c9a14a;
  color:#000;
}
.modern-footer {
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  color: #fff;
  padding: 60px 20px 20px;
  font-family: 'Cairo', sans-serif;
}

.footer-content {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.footer-col h3,
.footer-col h4 {
  margin-bottom: 15px;
  font-size: 20px;
  color: #ffd369;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.8;
  opacity: 0.9;
}

.trust-list {
  list-style: none;
  padding: 0;
}

.trust-list li {
  margin-bottom: 8px;
  font-size: 14px;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.social-links a {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  transition: transform 0.3s ease, background 0.3s ease;
}

.social-links a.facebook {
  background: #1877f2;
}

.social-links a.instagram {
  background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af);
}

.social-links a:hover {
  transform: translateY(-5px);
}

.footer-note {
  font-size: 13px;
  opacity: 0.85;
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  padding-top: 15px;
  border-top: 1px solid rgba(255,255,255,0.2);
  font-size: 13px;
  opacity: 0.8;
}
:root {
  --dark-1: #0f2027;
  --dark-2: #203a43;
  --dark-3: #2c5364;
  --gold: #ffd369;
  --white: #ffffff;
}

/* ===== HEADER ===== */
.main-header {
  background: linear-gradient(135deg, var(--dark-1), var(--dark-2), var(--dark-3));
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  max-width: 1200px;
  margin: auto;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO */
.logo a {
  font-size: 26px;
  font-weight: 700;
  color: var(--gold);
  text-decoration: none;
}

.logo span {
  color: var(--white);
}

/* NAV */
.main-nav {
  display: flex;
  gap: 25px;
}

.main-nav a {
  color: var(--white);
  text-decoration: none;
  font-size: 15px;
  position: relative;
  padding-bottom: 5px;
}

.main-nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.main-nav a:hover {
  color: var(--gold);
}

.main-nav a:hover::after {
  width: 100%;
}

/* ACTIONS */
.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.icon {
  color: var(--white);
  font-size: 18px;
  position: relative;
}

.cart-count {
  position: absolute;
  top: -6px;
  right: -10px;
  background: var(--gold);
  color: #000;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 50%;
}

/* CTA */
.cta-btn {
  background: var(--gold);
  color: #000;
  padding: 8px 18px;
  border-radius: 25px;
  font-size: 14px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255,211,105,0.4);
}

/* MOBILE */
.menu-toggle {
  display: none;
  color: var(--white);
  font-size: 22px;
  cursor: pointer;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
/* ===== FIX HEADER LAYOUT ON MOBILE ===== */

.header-container {
  flex-wrap: nowrap;
}

.header-actions {
  order: 2;
  display: flex !important;
}

.menu-toggle {
  order: 3;
}

.logo {
  order: 1;
  flex-shrink: 0;
}

.header-actions .cta-btn {
  display: none; /* إخفاء زر تسوق الآن فقط */
}
  .main-nav {
    position: absolute;
    top: 100%;
    right: 0;
    background: linear-gradient(135deg, var(--dark-1), var(--dark-3));
    width: 100%;
    flex-direction: column;
    gap: 0;
    display: none;
  }

  .main-nav a {
    padding: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .main-nav.active {
    display: flex;
  }

  
  
  
  
  
  /* show header actions on mobile and keep them above the mobile menu */
.header-actions {
  display: flex !important;
  align-items: center;
  gap: 12px;
  z-index: 1200; /* أعلى من قائمة navigation لتظل أيقونات الهيدر قابلة للنقر */
}

/* لو أردت إخفاء زر CTA (اختياري) على شاشات صغيرة، أزل التعليق عن السطر التالي */
// .header-actions .cta-btn { display: none !important; }
  
  
  
  
  
  
  
  

  .menu-toggle {
    display: block;
  }
}
/* ===== ALL PRODUCTS SECTION ===== */
.all-products {
    margin-top: 60px;
}

.all-products h2 {
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 40px;
    position: relative;
    color: #111;
}

/* خط زخرفي تحت العنوان */
.all-products h2::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background-color: #c9a24d; /* لون ذهبي أنيق */
    margin: 12px auto 0;
    border-radius: 2px;
}
.category-header {
    text-align: center;
    margin-bottom: 50px;
}

.category-header h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.category-header p {
    font-size: 16px;
    color: #666;
}
.offers-badge {
    display: inline-block;
    margin: 0 auto 45px;
    padding: 14px 32px;
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #ff6a00, #ff2d2d);
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(255, 60, 60, 0.35);
    letter-spacing: 0.5px;
    cursor: default;
    transition: all 0.35s ease;
}

/* توسيط العنوان */
.offers {
    text-align: center;
}

/* تأثير تفاعلي */
.offers-badge:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 16px 35px rgba(255, 60, 60, 0.5);
}
/* ======================================
   OFFERS SECTION – MODERN & MOBILE FIRST
   ====================================== */

/* توسيط عنوان العروض */
.offers {
    text-align: center;
}

/* شبكة العروض (الكمبيوتر) */
.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 26px;
    margin-top: 30px;
}

/* كارت العرض */
.offer-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 22px;
    position: relative;
    overflow: hidden;
    transition: all 0.35s ease;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

/* صورة العرض */
.offer-card img {
    width: 100%;
    border-radius: 16px;
    transition: transform 0.4s ease;
}

/* عنوان المنتج */
.offer-card h3 {
    margin: 14px 0 6px;
    font-size: 1.1rem;
}

/* الأسعار */
.offer-card .old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 0.9rem;
}

.offer-card .new-price {
    font-size: 1.2rem;
    font-weight: bold;
    color: #e11d48;
}

/* أزرار */
.offer-card .product-actions {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.offer-card .product-actions a {
    flex: 1;
    padding: 12px 0;
    border-radius: 14px;
    font-size: 0.95rem;
    text-align: center;
}

/* ===== Hover / Glow (كمبيوتر) ===== */
.offer-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(255, 80, 80, 0.35);
}

.offer-card:hover img {
    transform: scale(1.08);
}

.offer-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 90, 90, 0.22),
        rgba(255, 140, 0, 0.22)
    );
    opacity: 0;
    transition: opacity 0.35s ease;
}

.offer-card:hover::before {
    opacity: 1;
}

.offer-card > * {
    position: relative;
    z-index: 1;
}

/* ======================================
   MOBILE OPTIMIZATION (الأهم)
   ====================================== */
@media (max-width: 768px) {

    /* العروض تظهر كقائمة */
    .offers-grid {
        display: flex;
        flex-direction: column;
        gap: 30px;
        padding: 0 14px;
    }

    /* كل كارت واضح ومنفصل */
    .offer-card {
        border-radius: 24px;
        padding: 24px;
        box-shadow: 0 14px 38px rgba(0, 0, 0, 0.14);
    }

    /* الصورة أوضح */
    .offer-card img {
        border-radius: 18px;
    }

    /* الأزرار أكبر وأسهل للمس */
    .offer-card .product-actions a {
        padding: 14px 0;
        font-size: 1rem;
        border-radius: 16px;
    }

    /* إحساس اللمس */
    .offer-card:active {
        transform: scale(0.97);
    }
}
/* TESTIMONIALS GLASS SLIDER */
.testimonials {
    padding: 70px 15px;
    background: linear-gradient(135deg, #f4f4f4, #ffffff);
    text-align: center;
    overflow: hidden;
}

.testimonials h2 {
    margin-bottom: 35px;
}

.testimonials-container {
    max-width: 100%;
    overflow: hidden;
    position: relative;
}

.testimonials-track {
    display: flex;
    transition: transform 0.6s ease;
    will-change: transform;
}

.testimonial-card {
    min-width: 100%;
    padding: 20px;
    box-sizing: border-box;
    opacity: 0.35;
    transform: scale(0.85);
    transition: all 0.5s ease;
}

.testimonial-card.active {
    opacity: 1;
    transform: scale(1);
}

.testimonial-card img {
    width: 100%;
    max-width: 380px;
    margin: auto;
    display: block;
    border-radius: 20px;

    /* Glass Effect */
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    /* Shadow */
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.15),
        inset 0 0 0 rgba(255, 255, 255, 0.2);
}

/* ===== TESTIMONIALS SLIDER ===== */

.testimonials {
    padding: 80px 15px;
    background: #f7f7f7;
    overflow: hidden;
    text-align: center;
}

.testimonials h2 {
    margin-bottom: 40px;
}

.testimonials-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    align-items: center;
    transition: transform 0.7s ease;
    will-change: transform;
}

.testimonial-card {
    flex: 0 0 100%;
    padding: 20px;
    box-sizing: border-box;
    opacity: 0.25;
    transform: scale(0.85);
    transition: all 0.6s ease;
}

.testimonial-card img {
    width: 100%;
    max-width: 360px;
    margin: auto;
    display: block;
    border-radius: 20px;
    box-shadow: 0 20px 45px rgba(0,0,0,0.2);
}

.testimonial-card.active {
    opacity: 1;
    transform: scale(1);
}

/* ===== DESKTOP CENTER MODE ===== */
@media (min-width: 992px) {

    .testimonials-container {
        max-width: 1200px;
        margin: auto;
    }

    .testimonial-card {
        flex: 0 0 33.333%;
        opacity: 0.35;
        transform: scale(0.85);
    }

    .testimonial-card.active {
        opacity: 1;
        transform: scale(1);
        z-index: 3;
    }

    .testimonial-card.side {
        opacity: 0.6;
        transform: scale(0.92);
        z-index: 2;
    }
}
/* Hide testimonials on desktop */
/* QUICK CATEGORIES UNDER HERO */
.quick-categories {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: -25px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    z-index: 10;
    position: relative;
}

.quick-categories a {
    padding: 10px 18px;
    background: #ffffff;
    color: #000;
    font-size: 14px;
    border-radius: 30px;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.quick-categories a:hover {
    background: #000;
    color: #fff;
    transform: translateY(-2px);
}

/* Mobile tuning */
@media (max-width: 480px) {
    .quick-categories a {
        font-size: 13px;
        padding: 9px 15px;
    }
}
.offers .offer-card {
    
    position: relative;
}

.offers .discount-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #e63946;
    color: #fff;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: bold;
    border-radius: 20px;
    z-index: 10;
    box-shadow: 0 6px 15px rgba(0,0,0,0.25);
}
/* ===== FINAL FORCE FIX FOR CLICK ISSUE ===== */
.offer-card::before,
.offer-card::after {
    pointer-events: none !important;
}

.offer-card a,
.offer-card button {
    position: relative;
    z-index: 999 !important;
}
/* ===== REDESIGN DETAILS BUTTON ONLY ===== */

.product-actions .details-btn {
    display: flex;
    align-items: center;
    justify-content: center;

    background: linear-gradient(135deg, #111, #333);
    color: #fff !important;

    padding: 14px;
    border-radius: 30px;

    font-size: 15px;
    font-weight: bold;
    text-decoration: none;

    position: relative;
    z-index: 9999;              /* فوق أي overlay */
    pointer-events: auto;       /* ضمان النقر */

    transition: all 0.3s ease;
}

/* Hover */
.product-actions .details-btn:hover {
    background: linear-gradient(135deg, #000, #555);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.35);
}

/* Active (لمس الموبايل) */
.product-actions .details-btn:active {
    transform: scale(0.97);
}
/* ================= FIX DISCOUNT ALWAYS VISIBLE ================= */

/* خصم 30% لكل المنتجات */
.product-card::before {
    content: "-30%";
    position: absolute;
    top: 12px;
    left: 12px;
    background: #e63946;
    color: #fff;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: bold;
    border-radius: 20px;
    z-index: 20;
    box-shadow: 0 6px 15px rgba(0,0,0,0.25);

    /* الأهم */
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: none;
}

/* منع أي hover يخفي الخصم */
.product-card:hover::before {
    opacity: 1 !important;
    visibility: visible !important;
}

/* ================= OFFERS 70% ================= */

/* خصم 70% للعروض فقط */
.offers .offer-card .discount-badge {
    background: linear-gradient(135deg, #ff0000, #ff6a00);
    font-size: 15px;
    opacity: 1 !important;
    visibility: visible !important;
}

/* منع اختفاء خصم العروض */
.offers .offer-card:hover .discount-badge {
    opacity: 1 !important;
    visibility: visible !important;
}
/* =====================================================
   FINAL MOBILE & UI FIXES – WATCHES ONE
   ضع هذا الجزء في آخر ملف style.css
   ===================================================== */


/* =====================================================
   1️⃣ MOBILE: عرض منتجين بجانب بعض (حل نهائي)
   ===================================================== */
@media (max-width: 600px) {

  .products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .product-card {
    border-radius: 14px;
  }

  .product-image img {
    height: 170px;
    object-fit: cover;
  }

  .product-info h3 {
    font-size: 14px;
  }

  .product-info .price {
    font-size: 14px;
  }

  .product-actions {
    padding: 10px;
  }

  .product-actions a {
    font-size: 13px;
    padding: 8px;
  }
}


/* =====================================================
   2️⃣ تصغير قسم CATEGORIES على الهاتف
   ===================================================== */
@media (max-width: 600px) {

  .categories {
    padding: 30px 15px;
    gap: 12px;
  }

  .categories a {
    padding: 20px 10px;
    font-size: 16px;
    border-radius: 14px;
    background: #111;
  }
}


/* =====================================================
   3️⃣ الخصم يظهر دائمًا (بدون hover)
   ===================================================== */
.discount-badge {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}


/* =====================================================
   4️⃣ إصلاح مشكلة عدم الضغط على زر التفاصيل
   ===================================================== */
.offer-card::before,
.offer-card::after {
  pointer-events: none;
}


/* =====================================================
   5️⃣ أيقونات السوشيال – نسخة احترافية نهائية
   ===================================================== */
.social-links {
  display: flex;
  gap: 14px;
}

.social-links a {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  box-shadow:
    0 6px 18px rgba(0,0,0,0.35),
    inset 0 0 0 1px rgba(255,255,255,0.25);

  transition: all 0.35s ease;
}

.social-links a i {
  color: #ffffff !important;
  font-size: 20px;
  font-weight: 900;

  text-shadow:
    0 0 6px rgba(255,255,255,0.35),
    0 2px 6px rgba(0,0,0,0.6);

  opacity: 1 !important;
}

.social-links a:hover {
  transform: translateY(-4px) scale(1.05);
}

/* ألوان المنصات */
.social-links a.facebook {
  background: #1877f2;
}

.social-links a.instagram {
  background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af);
}

.social-links a.whatsapp {
  background: #25d366;
}
/* ===============================
   TESTIMONIALS – FINAL FIX
   =============================== */

.testimonials {
    display: block !important;
}

.testimonials-container {
    overflow: hidden;
    position: relative;
}

.testimonials-track {
    display: flex;
    transition: transform 0.7s ease;
    will-change: transform;
}

.testimonial-card {
    flex: 0 0 100%;
    padding: 20px;
    opacity: 0.3;
    transform: scale(0.85);
    transition: all 0.6s ease;
}

.testimonial-card.active {
    opacity: 1;
    transform: scale(1);
}

@media (min-width: 992px) {

    .testimonial-card {
        flex: 0 0 33.333%;
        opacity: 0.4;
        transform: scale(0.85);
    }

    .testimonial-card.active {
        opacity: 1;
        transform: scale(1);
        z-index: 3;
    }

    .testimonial-card.side {
        opacity: 0.7;
        transform: scale(0.92);
    }
}
/* ===== FOOTER SOCIAL ICONS – FINAL FIX ===== */

.social-links {
  display: flex;
  gap: 14px;
  margin-bottom: 12px;
}

.social-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;

  /* الأهم */
  color: #ffffff !important;
  font-size: 22px;
  line-height: 1;

  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0,0,0,0.35);
  transition: all 0.3s ease;
}

/* Facebook */
.social-icon.facebook {
  background: #1877f2;
}

/* Instagram */
.social-icon.instagram {
  background: linear-gradient(
    45deg,
    #f58529,
    #dd2a7b,
    #8134af
  );
}

/* WhatsApp */
.social-icon.whatsapp {
  background: #25d366;
}

/* Hover */
.social-icon:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 28px rgba(0,0,0,0.45);
}

/* تأكيد ظهور الأيقونة بوضوح */
.social-icon i {
  color: #ffffff !important;
  font-weight: normal;
}
/* ================= HIDE TESTIMONIALS ON DESKTOP ================= */

/* افتراضيًا ظاهر */
.testimonials {
    display: block;
}

/* ===== FORCE HIDE TESTIMONIALS ON DESKTOP ONLY ===== */

/* إظهار افتراضي */
section.testimonials {
    display: block;
}

/* إخفاء قسري على الكمبيوتر */
@media screen and (min-width: 992px) {
    section.testimonials {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        overflow: hidden !important;
    }
}
/* ================= FIX PRODUCT PAGE MOBILE GAP ================= */

/* منع أي تمرير أفقي نهائيًا */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

/* ضبط قسم صفحة المنتج */
.product-page {
    width: 100%;
    overflow-x: hidden;
}

/* Grid الصفحة */
.product-page-grid {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
}

/* Gallery */
.product-gallery {
    width: 100%;
    text-align: center;
}

/* الصورة الرئيسية */
.product-gallery .main-image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: 18px;
}

/* الصور المصغرة */
.thumbs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.thumbs img {
    max-width: 70px;
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 10px;
}

/* ===== MOBILE FIX ===== */
@media (max-width: 768px) {

    .product-page {
        padding: 40px 15px;
    }

    .product-page-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .product-info {
        text-align: center;
    }
}
/* ================= PRODUCT DESCRIPTION ================= */

.product-desc {
  background: #f9f9f9;
  border-right: 4px solid #c9a24d; /* لون ذهبي أنيق */
  padding: 18px 20px;
  margin: 20px 0;
  line-height: 1.9;
  font-size: 15.5px;
  color: #333;
  border-radius: 6px;
}

.product-desc::before {
  content: "تفاصيل المنتج";
  display: block;
  font-weight: bold;
  font-size: 14px;
  color: #111;
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .product-desc {
    font-size: 14.5px;
    padding: 15px;
  }
}
/* ================= PRICE STYLE ================= */

.product-price-box {
  margin: 18px 0 22px;
}

.old-price {
  display: block;
  font-size: 15px;
  color: #888;
  text-decoration: line-through;
  margin-bottom: 4px;
}

.current-price {
  font-size: 28px;
  font-weight: bold;
  color: #c0392b;
}


/* ===== Shipping UI Upgrade ===== */

.shipping-card {
  border: 1px solid #eee;
  padding: 18px;
  border-radius: 12px;
  background: #fafafa;
  margin: 20px 0;
}

.shipping-label {
  display: block;
  font-weight: bold;
  margin-bottom: 8px;
}

.shipping-select {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 15px;
  margin-bottom: 15px;
}

.shipping-info {
  background: #fff;
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px dashed #ddd;
}

.shipping-info.hidden {
  display: none;
}

.info-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: 15px;
}

.total-card {
  background: linear-gradient(135deg, #c59d5f, #b08a4a);
  color: #fff;
  padding: 14px;
  border-radius: 10px;
  font-size: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo-link {
    display: flex;
    align-items: center;
    gap: 6px;
}

.site-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
}
/* ===== Product Swipe Slide Effect ===== */

.product-gallery {
    overflow: hidden;
    position: relative;
}

.product-image {
    width: 100%;
    display: block;
    touch-action: pan-y;
    transition: transform 0.35s ease;
    will-change: transform;
}
.product-image {
    touch-action: pan-y;
    transition: transform 0.25s ease;
}
.thumbs {
    position: relative;
    z-index: 9999;
}

.thumbs img {
    pointer-events: auto !important;
    cursor: pointer;
}
/* ===== Elegant Order Products List ===== */

.order-products {
  text-align: right;
  margin-bottom: 12px;
}

.order-item {
  background: #f8f8f8;
  padding: 10px 14px;
  margin-bottom: 8px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  border-right: 4px solid #c59d5f;
  transition: 0.3s ease;
}

.order-item:hover {
  background: #f1f1f1;
}


/* ===== FIX CUSTOMER FORM WIDTH ===== */

.order-box {
  max-width: 520px;
  width: 100%;
}

.order-page form {
  width: 100%;
}

.order-page form input,
.order-page form textarea,
.order-page form select {
  width: 100% !important;
  box-sizing: border-box;
}
.order-summary {
  margin-bottom: 25px;
}
/* =========================================
   ORDER PAGE FINAL STRUCTURE FIX
   ========================================= */

.order-page {
  display: block !important;
  padding: 60px 20px !important;
  background: #f5f5f5;
}

.order-box {
  width: 100% !important;
  max-width: 520px !important;
  margin: 0 auto !important;
}

.order-page h1 {
  text-align: center;
}

.order-page form {
  width: 100% !important;
}



/* ===== CLEAN TESTIMONIALS SLIDER ===== */

.testimonials-track {
  display: block !important;
}

.testimonial-card {
  display: none !important;
  width: 100% !important;
}

.testimonial-card.active {
  display: block !important;
  opacity: 1 !important;
  transform: none !important;
}

/* ================= CART POPUP ================= */

.cart-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
}

.cart-popup-overlay.active {
  display: flex;
}

.cart-popup-box {
  background: #fff;
  width: 90%;
  max-width: 420px;
  padding: 30px;
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 25px 60px rgba(0,0,0,.35);
  animation: popupFade .25s ease;
}

@keyframes popupFade {
  from { transform: scale(.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.popup-primary {
  display: block;
  background: linear-gradient(135deg,#c9a14a,#f3d98b);
  color: #000;
  padding: 12px;
  border-radius: 25px;
  font-weight: bold;
  text-decoration: none;
  margin-bottom: 10px;
}

.popup-secondary {
  background: transparent;
  border: 1px solid #ccc;
  padding: 10px;
  border-radius: 20px;
  font-size: 13px;
  cursor: pointer;
}

.popup-links {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 10px;
}

.popup-links a {
  font-size: 13px;
  padding: 6px 12px;
  border: 1px solid #ddd;
  border-radius: 20px;
  text-decoration: none;
  color: #555;
}

.popup-links a:hover {
  background: #f5f5f5;
}


/* ================= CART PAGE MODERN ================= */

.cart-page {
  max-width: 1100px;
  margin: 60px auto;
  padding: 0 20px;
}

.cart-title {
  text-align: center;
  margin-bottom: 40px;
  font-size: 28px;
}

.cart-empty {
  text-align: center;
  font-size: 18px;
}

.cart-shop-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 30px;
  background: #000;
  color: #fff;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
}

.cart-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cart-item {
  background: #fff;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  align-items: center;
  gap: 15px;
}

.cart-item-info h3 {
  font-size: 16px;
  margin-bottom: 5px;
}

.cart-price {
  color: #777;
  font-size: 14px;
}

.cart-qty input {
  width: 70px;
  padding: 8px;
  border-radius: 8px;
  border: 1px solid #ccc;
  text-align: center;
}

.cart-line-total {
  font-weight: bold;
  font-size: 16px;
}

.cart-summary {
  background: #fff;
  padding: 25px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  height: fit-content;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 15px;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  font-size: 18px;
  font-weight: bold;
  margin: 20px 0;
}

.cart-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-update,
.btn-clear,
.btn-checkout {
  padding: 14px;
  border-radius: 30px;
  text-align: center;
  font-weight: bold;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn-update {
  background: #000;
  color: #fff;
}

.btn-clear {
  background: #a00;
  color: #fff;
}

.btn-checkout {
  background: #c59d5f;
  color: #000;
}

/* ===== MOBILE ===== */

@media (max-width: 768px) {

  .cart-container {
    grid-template-columns: 1fr;
  }

  .cart-item {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cart-qty {
    margin: 10px 0;
  }

  .cart-summary {
    margin-top: 30px;
  }

}