/*
Theme Name: Astra Child
Theme URI: https://example.com/
Description: Child theme for Astra
Author: Your Name
Template: astra
Version: 1.0.0
*/

/* هنا تحط كل CSS اللي جمعتهم */
@import url("../astra/style.css");

/* ======= ابدأ هنا تكتب كل كود CSS المخصص ======= */


/* صفحة السوبر ماركت */
.supermarket-intro {
  text-align: center;
  margin: 40px auto 30px;
  max-width: 720px;
}
.supermarket-intro h1 {
  font-size: 32px;
  color: #222;
  margin-bottom: 10px;
}
.supermarket-intro p {
  font-size: 16px;
  color: #555;
  line-height: 1.8;
}

/* كروت الأقسام */
.products .product-category {
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
  transition: .3s;
}
.products .product-category:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,.15);
}
.products .product-category img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.products .product-category h2 {
  font-size: 16px;
  padding: 12px 6px;
  text-align: center;
  background: #fff;
}
.products .product-category h2 mark {
  background: #e65c00;
  color: #fff;
  border-radius: 12px;
  padding: 2px 10px;
  font-size: 12px;
}

@media(max-width:768px){
  .products .product-category img {
    height: 150px;
  }
}



.restaurants-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
}

.restaurant-card{
  text-align:center;
  text-decoration:none;
  color:#000;
}

.restaurant-card img{
  width:100%;
  height:200px;
  object-fit:cover;
  border-radius:14px;
}

.restaurant-card h3{
  margin:8px 0 4px;
  font-size:18px;
}

.restaurant-card span{
  font-size:14px;
  color:#777;
}

/* موبايل */
@media(max-width:600px){
  .restaurants-grid{
    grid-template-columns:repeat(2,1fr);
  }

}



.restaurant-card{
  position:relative;
  overflow:hidden;
  border-radius:14px;
  text-decoration:none;
}

.restaurant-card img{
  width:100%;
  height:220px;
  object-fit:cover;
  display:block;
}

/* المستطيل الصغير تحت */
.restaurant-overlay{
  position:absolute;
  bottom:12px;
  left:50%;
  transform:translateX(-50%);
  background:rgba(255,255,255,0.92);
  padding:8px 14px;
  border-radius:10px;
  text-align:center;
  width:85%;
}

/* الاسم */
.restaurant-overlay h3{
  margin:0;
  font-size:16px;
  color:#000;
  font-weight:600;
}

/* عدد المنتجات */
.restaurant-overlay span{
  display:block;
  margin-top:2px;
  font-size:13px;
  color:#666;
}

/* Grid */
.restaurants-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
}

/* موبايل */
@media(max-width:600px){
  .restaurants-grid{
    grid-template-columns:repeat(2,1fr);
  }
  .restaurant-card img{
    height:200px;
  }
}


.restaurant-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  transition: all 0.35s ease;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.restaurant-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0,0,0,0.18);
}

.restaurant-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.30),
    rgba(0,0,0,0.15),
    rgba(0,0,0,0)
  );
  z-index: 1;
}


.restaurant-info {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  background: rgba(255,255,255,0.92);
  padding: 8px 16px;
  border-radius: 14px;
  text-align: center;
  backdrop-filter: blur(6px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.12);
}

.restaurant-info h3 {
  font-size: 15px;
  margin: 0;
  font-weight: 700;
  color: #222;
}

.restaurant-info span {
  font-size: 12px;
  color: #666;
}


@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.restaurant-card {
  animation: fadeUp 0.6s ease forwards;
}

.restaurant-card.empty {
  filter: grayscale(100%);
  opacity: 0.6;
}

.restaurant-card.empty .restaurant-info span {
  color: #e65c00;
  font-weight: bold;
}


@media (max-width: 600px) {
  .restaurant-info h3 {
    font-size: 14px;
  }
  .restaurant-info span {
    font-size: 11px;
  }
}


 .info-overlay h3 { 
  margin: 0; 
  font-size: 18px; 
  font-weight: bold; 
  color: #ffffff; /* خلي الاسم أبيض */
}

/* إخفاء فوتر Astra الأصلي */
#colophon {
  display: none !important;
}
:root {
  --main-color: #FF770F;
}

/* ===== Footer Full Width ===== */
.site-footer {
  width: 100%; /* عرض كامل */
  background: #333;
  color: #fff;
  padding: 60px 20px 30px 20px;
  font-family: Arial, sans-serif;
  box-sizing: border-box;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px; /* العرض الداخلي للمحتوى */
  margin: 0 auto; /* يظل المحتوى في منتصف الصفحة */
  gap: 30px;
  text-align: right; /* للغة العربية */
}

.footer-logo h2 {
  color: var(--main-color);
  font-size: 28px;
  margin-bottom: 10px;
}

.footer-logo p { color: #ccc; font-size: 14px; }

.footer-links h3,
.footer-social h3,
.footer-contact h3 { font-size: 18px; margin-bottom: 15px; color: var(--main-color); }

.footer-links ul { list-style: none; padding: 0; margin: 0; }
.footer-links ul li { margin-bottom: 10px; }
.footer-links ul li a { color: #fff; text-decoration: none; transition: 0.3s; }
.footer-links ul li a:hover { color: var(--main-color); }

.footer-social .social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  margin: 0 5px 10px 0;
  background: #555;
  border-radius: 50%;
  color: #fff;
  font-size: 18px;
  transition: 0.3s;
}
.footer-social .social-icons a:hover { background: var(--main-color); color: #fff; }

.footer-contact p { margin: 5px 0; color: #ccc; font-size: 14px; }

.footer-bottom {
  width: 100%;
  text-align: center;
  margin-top: 40px;
  border-top: 1px solid #555;
  padding-top: 20px;
  font-size: 14px;
  color: #aaa;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .footer-container { flex-direction: column; align-items: center; text-align: center; }
  .footer-social .social-icons a { margin: 0 5px; }
}

.feedback-section-pro {
  background: #f9f9f9;
  color: #333;
  padding: 80px 15px;
  border-radius: 20px;
  margin: 50px auto;
  font-family: 'Arial', sans-serif;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.feedback-section-pro .container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.feedback-section-pro h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

.feedback-section-pro p {
  font-size: 18px;
  margin-bottom: 40px;
}

.feedback-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  align-items: flex-start;
}

.feedback-section-pro .cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #FF770F;
  color: #fff;
  padding: 15px 30px;
  font-size: 18px;
  font-weight: bold;
  border-radius: 50px;
  text-decoration: none;
  transition: 0.3s ease;
}

.feedback-section-pro .cta-btn:hover {
  background: #ff941f;
}

.feedback-section-pro .feedback-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 450px;
  width: 100%;
}

.feedback-section-pro .feedback-form input,
.feedback-section-pro .feedback-form textarea {
  padding: 12px 15px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 16px;
  width: 100%;
  background: #fff;
}

.feedback-section-pro .feedback-form button {
  background: #FF770F;
  color: #fff;
  padding: 15px 25px;
  border: none;
  border-radius: 50px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s ease;
}

.feedback-section-pro .feedback-form button:hover {
  background: #ff941f;
}

/* Responsive */
@media (max-width: 900px) {
  .feedback-actions {
    flex-direction: column;
    gap: 20px;
  }
}
.team-section {
  max-width: 1200px;
  margin: 20px auto;
  padding: 10px 15px;
  text-align: center;
  font-family: Arial, sans-serif;
}

.team-section h2 {
  font-size: 32px;
  margin-bottom: 10px;
  color: #333;
}

.team-section .subtitle {
  color: #666;
  margin-bottom: 40px;
}

.team-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.team-card {
  flex: 0 0 250px;
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.team-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 15px;
  background-size: cover;
  background-position: center;
  border: 3px solid #FF770F;
}

.team-card h3 {
  font-size: 20px;
  color: #333;
  margin-bottom: 5px;
}

.team-card .role {
  font-size: 14px;
  color: var(--main-color);
  margin-bottom: 10px;
}

.team-card .description {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 900px) {
  .team-card {
    flex: 0 0 45%;
  }
}

@media (max-width: 500px) {
  .team-card {
    flex: 0 0 80%;
  }
}

.about-header {
  background: linear-gradient(135deg, #FF770F, #FF9A3C); /* خلفية برتقالية متدرجة */
  color: #fff;
  padding: 80px 20px;
  text-align: center;
  border-radius: 20px;
  margin-bottom: 50px;
}

.about-header .container {
  max-width: 1000px;
  margin: 0 auto;
}

.about-header h1 {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 15px;
}

.about-header p {
  font-size: 18px;
  line-height: 1.6;
  color: #fff;
}

/* Responsive */
@media (max-width: 900px) {
  .about-header h1 {
    font-size: 36px;
  }
  .about-header p {
    font-size: 16px;
  }
}

@media (max-width: 500px) {
  .about-header h1 {
    font-size: 28px;
  }
  .about-header p {
    font-size: 14px;
  }
}

.cta-section {
  background: linear-gradient(90deg, #FF770F, #FF9A3C);
  padding: 60px 15px;
  text-align: center;
  border-radius: 20px;
  margin: 50px auto;
  max-width: 1200px;
  color: #fff;
}

.cta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
}

.cta-text h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

.cta-text p {
  font-size: 18px;
  max-width: 600px;
  line-height: 1.6;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: #FF770F;
  padding: 15px 30px;
  font-size: 18px;
  font-weight: bold;
  border-radius: 50px;
  text-decoration: none;
  transition: 0.3s ease;
}

.cta-btn:hover {
  background: #ffd3b3;
  color: #FF770F;
}

.cta-btn i {
  font-size: 20px;
}

/* Responsive */
@media (max-width: 900px) {
  .cta-text h2 {
    font-size: 26px;
  }
  .cta-text p {
    font-size: 16px;
  }
}

@media (max-width: 500px) {
  .cta-btn {
    font-size: 16px;
    padding: 12px 25px;
  }
}

 .delivery-areas {
  max-width: 1200px;
  margin: 10px auto;
  padding: 5px 5px;
  text-align: center;
  font-family: Arial, sans-serif;
}

.delivery-areas h2 {
  font-size: 32px;
  margin-bottom: 10px;
  color: #333;
}

.delivery-areas .subtitle {
  color: #666;
  margin-bottom: 40px;
}

.areas-slider {
  display: flex;
  flex-wrap: wrap; /* لتبقى متجاوبة */
  justify-content: center;
  gap: 25px;
}

.area-card {
  flex: 0 0 220px;
  background: #fff;
  border-radius: 16px;
  padding: 25px 15px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.area-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.12);
}

.area-card .icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid #FF770F;
  color: #FF770F;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 15px;
}

.area-card:hover .icon {
  background: #FF770F;
  color: #fff;
}

.area-card h3 {
  font-size: 16px;
  font-weight: bold;
  color: #333;
}

/* Responsive */
@media (max-width: 900px) {
  .area-card {
    flex: 0 0 45%;
  }
}

@media (max-width: 500px) {
  .area-card {
    flex: 0 0 80%;
  }
}

 :root {
  --main-color: #FF770F;
}

.why-drako {
  max-width: 1200px;
  margin: 20px auto;
  padding: 10px 10px;
  text-align: center;
  font-family: Arial, sans-serif;
}

.why-drako h2 {
  font-size: 32px;
  margin-bottom: 10px;
  color: #333;
}

.why-drako .subtitle {
  color: #666;
  margin-bottom: 45px;
}

.why-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 30px;
}

.why-card {
  background: #fff;
  border-radius: 16px;
  padding: 40px 25px;
  width: 220px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.12);
}

.why-card .icon {
  width: 80px;
  height: 80px;
  border: 2px solid var(--main-color);
  color: var(--main-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto 20px;
  transition: 0.3s ease;
}

.why-card:hover .icon {
  background: var(--main-color);
  color: #fff;
}

.why-card h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #333;
}

.why-card p {
  font-size: 14px;
  color: #555;
}

/* Responsive */
@media (max-width: 900px) {
  .why-container {
    justify-content: center;
  }

  .why-card {
    width: 45%; /* صفين في الموبايل */
    margin-bottom: 20px;
  }
}

@media (max-width: 500px) {
  .why-card {
    width: 80%; /* كل كارت في صف لوحده */
    margin-bottom: 15px;
  }
}

  :root {
  --main-color: #FF770F;
}

.shop-by-category {
  max-width: 1200px;
  margin: 20px auto;
  padding: 10px 10px;
  text-align: center;
  font-family: Arial, sans-serif;
}

.shop-by-category h2 {
  font-size: 32px;
  margin-bottom: 10px;
  color: #333;
}

.shop-by-category .subtitle {
  color: #666;
  margin-bottom: 40px;
}

.category-slider {
  display: flex;
  gap: 25px;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-behavior: smooth;
  justify-content: center; /* يخلي الكروت في النص */
  align-items: center;
}

.category-slider::-webkit-scrollbar {
  height: 8px;
}

.category-slider::-webkit-scrollbar-thumb {
  background: var(--main-color);
  border-radius: 10px;
}

.category-card {
  flex: 0 0 300px;
  background: #fff;
  border-radius: 16px;
  padding: 35px 25px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.12);
}

.category-card .icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 2px solid var(--main-color);
  color: var(--main-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 20px;
  transition: 0.3s ease;
}

.category-card:hover .icon {
  background: var(--main-color);
  color: #fff;
}

.category-name {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin-bottom: 15px;
}

.shop-btn {
  display: inline-block;
  padding: 12px 25px;
  background: var(--main-color);
  color: #fff;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s ease;
}

.shop-btn:hover {
  background: #e65c00;
}

/* Responsive */
@media (max-width: 900px) {
  .category-card {
    flex: 0 0 45%; /* كارتين في الصف */
  }
}

@media (max-width: 500px) {
  .category-card {
    flex: 0 0 80%; /* كارت واحد في الصف */
  }
}
  :root {
  --main-color: #F9A825; /* أصفر برتقاني */
}

.order-steps {
  max-width: 1200px;
  margin: 20px auto;
  padding: 5px 5px;
  text-align: center;
  font-family: Arial, sans-serif;
}

.order-steps h2 {
  font-size: 32px;
  margin-bottom: 10px;
  color: #333;
}

.order-steps .subtitle {
  color: #666;
  margin-bottom: 45px;
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.step {
  background: #fff;
  padding: 30px 20px;
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.08);
  transition: 0.3s ease;
}

.step:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.icon {
  width: 70px;
  height: 70px;
  border: 2px solid var(--main-color);
  color: var(--main-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin: 0 auto 20px;
  transition: 0.3s ease;
}

.step:hover .icon {
  background: var(--main-color);
  color: #fff;
}

.step h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #333;
}

.step p {
  font-size: 14px;
  color: #555;
}

.order-btn {
  display: inline-block;
  margin-top: 45px;
  background: var(--main-color);
  color: #fff;
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  transition: 0.3s ease;
}

.order-btn:hover {
  background: #f57c00; /* برتقالي غامق شوية عند hover */
}

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

@media (max-width: 500px) {
  .steps-container {
    grid-template-columns: 1fr;
  }
}

 التصنيفات/* Add your CSS code here.

For example:
.example {
    color: red;
}

For brushing up on your CSS knowledge, check out http://www.w3schools.com/css/css_syntax.asp

End of comment */ 

   /* Horizontal Categories Like Talabat */

.product-buttons {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 10px;
  direction: rtl;
}

.product-buttons::-webkit-scrollbar {
  display: none;
}

.product-buttons button {
  background: none;
  border: none;
  padding: 0;
  min-width: 80px;
  text-align: center;
  cursor: pointer;
  color: #000;
}

.product-buttons button img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.product-buttons button span {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

/* Active State */
.product-buttons button.active img {
  border-color: #ff6600;
}

.product-buttons button.active span {
  color: #ff6600;
  font-weight: 600;
}


 
/* تصميم الأزرار للكمبيوتر */
.product-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
  text-align: right;
  direction: rtl;
}

/* تصميم الأزرار العادي */
.product-buttons button {
  border: none;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  backdrop-filter: blur(5px);
  color: #000;
  font-family: 'Tajawal', sans-serif;
  gap: 5px;
}

.product-buttons button img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 8px;
}

.product-buttons button.active {
  background-color: rgba(255, 111, 0, 0.8);
  color: #fff;
}

.product-buttons button:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* تصميم الموبايل مع Scroll أفقي */
@media screen and (max-width: 768px) {
  .product-buttons {
    flex-wrap: nowrap;           /* خليهم في سطر واحد */
    overflow-x: auto;            /* تفعيل الاسكرول أفقي */
    -webkit-overflow-scrolling: touch; /* smooth scroll على iOS */
    gap: 10px;
    padding-bottom: 5px;
  }

  .product-buttons button {
    flex: 0 0 auto;              /* منع الالتفاف */
    flex-direction: column;      /* الصورة فوق النص */
    min-width: 90px;             /* عرض ثابت لكل زر */
    padding: 8px;
  }

  .product-buttons button img {
    width: 40px;
    height: 40px;
    margin: 0;
  }
}

  /* ====== تنسيق صفحة المنتج على الموبايل ====== */
@media (max-width: 768px) {

  /* الحاوية العامة */
  .single-product .site-main {
    padding: 10px !important;
  }

  /* صورة المنتج */
  .single-product div.product div.images {
    width: 100% !important;
    margin-bottom: 15px;
  }

  /* محتوى المنتج */
  .single-product div.product div.summary {
    width: 100% !important;
    padding: 0 !important;
    text-align: right; /* خليها left لو الموقع إنجليزي */
  }

  /* اسم المنتج */
  .single-product .product_title {
    color: #000 !important;
    font-size: 20px !important;
    line-height: 1.5;
    margin-bottom: 10px;
  }

  /* السعر */
  .single-product .price,
  .single-product .price span {
    color: #000 !important;
    font-size: 18px;
    margin-bottom: 10px;
  }

  /* وصف المنتج */
  .single-product .woocommerce-product-details__short-description,
  .single-product .woocommerce-product-details__short-description p {
    color: #000 !important;
    font-size: 14px;
    line-height: 1.8;
  }

  /* زرار الإضافة للسلة */
  .single-product .single_add_to_cart_button {
    width: 100% !important;
    padding: 14px !important;
    font-size: 16px;
    border-radius: 8px;
  }

  /* إزالة أي خلفيات غريبة */
  .single-product div.product {
    background: transparent !important;
  }
}

  

 /* === صفحة السلة – نفس استايل checkout === */

/* خلفية الصفحة */
body.woocommerce-cart {
    background: #f7f7f7 !important;
    padding: 20px 0 !important;
}

/* العنوان */
.woocommerce-cart .entry-title {
    text-align: center;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #;
}

/* صندوق جدول السلة */
.woocommerce-cart .cart {
    background: #fff;
    padding: 25px;
    border-radius: 18px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
}

/* صندوق الإجمالي مثل order review */
.cart_totals {
    background: #fff;
    padding: 25px !important;
    border-radius: 18px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
}

/* جدول السلة */
.woocommerce-cart table.cart th,
.woocommerce-cart table.cart td {
    font-size: 16px !important;
    padding: 14px 10px !important;
}

/* صورة المنتج */
.woocommerce-cart .product-thumbnail img {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
}

/* الكمية نفس استايل الحقول */
.woocommerce-cart .quantity input.qty {
    padding: 14px 16px !important;
    border-radius: 14px !important;
    border: 1px solid #ddd !important;
    background:  !important;
    transition: 0.2s;
}

.woocommerce-cart .quantity input.qty:focus {
    border-color: #000 !important;
    background: #000 !important;
    box-shadow: 0 0 0 3px rgba(255,109,0,0.15);
}

/* زر تحديث السلة */
button[name="update_cart"] {
    background: linear-gradient(45deg, #ff6d00, #ff9500) !important;
    border-radius: 14px !important;
    color: #fff !important;
    padding: 14px 20px !important;
    border: none !important;
    font-size: 16px !important;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(255,109,0,0.3);
    transition: 0.2s;
}

button[name="update_cart"]:hover {
    background: linear-gradient(45deg, #ff8500, #ffb000) !important;
    transform: translateY(-2px);
}

/* زر التوجه إلى إتمام الطلب – نفس زر place_order */
.woocommerce a.checkout-button {
    width: 100% !important;
    padding: 18px !important;
    background: linear-gradient(45deg, #ff6d00, #ff9500) !important;
    border-radius: 16px !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #fff !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(255,109,0,0.4);
    transition: 0.2s;
}

.woocommerce a.checkout-button:hover {
    background: linear-gradient(45deg, #ff8500, #ffb000) !important;
    transform: translateY(-2px);
}

/* رسائل تنبيه */
.woocommerce-error, .woocommerce-message, .woocommerce-info {
    border-radius: 12px !important;
    padding: 15px 20px !important;
    font-size: 16px !important;
}

/* موبايل */
@media (max-width: 768px) {
    .woocommerce-cart .cart {
        padding: 18px;
    }
    .cart_totals {
        padding: 18px !important;
    }
    .woocommerce-cart .entry-title {
        font-size: 22px;
    }
}



/* ===== اجعل كل النصوص واضحة باللون الأسود ===== */
.woocommerce-cart,
.woocommerce-checkout {
    color: #000 !important;
}

/* اسم المنتج */
.woocommerce-cart .product-name a,
.woocommerce-checkout .product-name,
.woocommerce-cart .product-name,
.woocommerce-checkout h3,
.woocommerce-checkout label {
    color: #000 !important;
}

/* وصف المنتج */
.woocommerce-cart .product-name p,
.woocommerce-cart .product-name span,
.woocommerce-checkout .form-row p {
    color: #000 !important;
}

/* السعر والمجموع */
.woocommerce-cart .product-price,
.woocommerce-cart .product-subtotal,
.woocommerce-cart .cart-subtotal .amount,
.woocommerce-checkout .amount {
    color: #000 !important;
}

/* إجمالي الطلب */
.cart_totals th,
.cart_totals td,
.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
    color: #000 !important;
}

/* رسائل التنبيه */
.woocommerce-error,
.woocommerce-info,
.woocommerce-message {
    color: #000 !important;
}


}

 اتمام الطلب
  /* === صفحة الـ Checkout استايل جامد === */

/* خلفية ناعمة للصفحة */
body.woocommerce-checkout {
    background: #f7f7f7;
    padding: 20px 0;
}

/* صندوق الفورم */
.woocommerce-checkout form.checkout {
    background: #fff;
    padding: 25px;
    border-radius: 18px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
}

/* ترتيب الحقول */
.woocommerce-checkout .form-row {
    margin-bottom: 20px !important;
}

/* شكل الحقول */
.woocommerce-checkout input.input-text,
.woocommerce-checkout select,
.woocommerce-checkout textarea {
    width: 100% !important;
    padding: 14px 16px !important;
    border-radius: 14px !important;
    border: 1px solid #ddd !important;
    font-size: 16px !important;
    background: #fafafa !important;
    transition: 0.2s;
}

/* تأثير عند الضغط */
.woocommerce-checkout input:focus,
.woocommerce-checkout select:focus,
.woocommerce-checkout textarea:focus {
    border-color: #ff6d00 !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(255,109,0,0.15) !important;
}

/* استايل العناوين */
.woocommerce-checkout h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px !important;
    color: #222;
}

/* استايل صندوق المراجعة */
#order_review {
    background: #fff;
    padding: 25px;
    border-radius: 18px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.07);
}

/* استايل أزرار الدفع */
#place_order {
    width: 100% !important;
    padding: 18px !important;
    background: linear-gradient(45deg, #ff6d00, #ff9500) !important;
    border-radius: 16px !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #fff !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(255,109,0,0.4);
    transition: 0.2s;
}

/* تأثير Hover */
#place_order:hover {
    background: linear-gradient(45deg, #ff8500, #ffb000) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255,109,0,0.5);
}

/* رسائل تنبيه شيك */
.woocommerce-error, .woocommerce-message, .woocommerce-info {
    border-radius: 12px !important;
    padding: 15px 20px !important;
    font-size: 16px !important;
}




/* تغيير لون الهيدر في صفحة المتجر */
.woocommerce-shop .site-header,
.tax-product_cat .site-header,
.post-type-archive-product .site-header {
    background-color: #000 !important;
}

/* إجبار الهيدر على اللون الأسود في صفحة المتجر */
.woocommerce-shop .ast-transparent-header .site-header,
.post-type-archive-product .ast-transparent-header .site-header,


html, body {
  touch-action: manipulation;
}
* {
  touch-action: pan-x pan-y;
}
.tax-product_cat .ast-transparent-header .site-header {
    background-color: #000 !important;
    opacity: 1 !important;
    position: relative !important;
}

  html, body {
    width: 100%;
    height: auto;
    margin: 0px;
    padding: 0px;
    overflow-x: hidden; 
}
  /* شبكة المنتجات */
.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr); /* 4 أعمدة على الكمبيوتر */
    gap: 20px;
}

/* الموبايل: 2 عمود في الوسط */
@media (max-width: 768px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr); 
        justify-content: center; 
        gap: 15px;
    }
}

/* خلفية كل منتج */
.woocommerce ul.products li.product {
    background-color: #DFDFDE;
    padding: 10px;           
    margin: 0; 
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
}

/* الصور: كبيرة وواضحة */
.woocommerce ul.products li.product img {
    width: 95% !important;
    height: 220px !important;
    object-fit: cover !important;
    display: block !important;
    margin: 0 auto;
}

/* إخفاء التصنيف أو أي عناصر غير مطلوبة */
.woocommerce ul.products li.product .posted_in,
.woocommerce ul.products li.product .product_cat,
.woocommerce ul.products li.product .excerpt {
    display: none !important;
}

/* عنوان المنتج */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    color: #000000 !important;
    font-size: 14px;  
    font-weight: 600;
    margin: 2px 0; /* مسافة صغيرة جدًا فوق وتحت */
}

/* التقييم */
.woocommerce ul.products li.product .star-rating {
    color: #000000 !important;
    font-size: 12px;  
    margin: 2px 0; /* مسافة صغيرة */
}

/* السعر */
.woocommerce ul.products li.product .price {
    color: #000000 !important;
    font-size: 13px;  
    font-weight: 600;
    margin: 2px 0; /* مسافة صغيرة */
}

/* زر اطلب الآن */
.woocommerce ul.products li.product .button {
    font-size: 13px;      
    padding: 5px 10px;    
    margin: 2px 0 !important; /* مسافة صغيرة جدًا أسفل الزر */
}

/* Add your CSS code here.

For example:
.example {
    color: red;
}

For brushing up on your CSS knowledge, check out http://www.w3schools.com/css/css_syntax.asp

End of comment */ 

/* ====== روابط الخطوط (ضيفهم في <head> أولاً) ====== */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700&family=Poppins:wght@400;500;700&display=swap');

/* ====== إعدادات عامة ====== */
html {
    font-size: 16px;
    line-height: 1.5;
    scroll-behavior: smooth;
}

body {
    font-family: 'Tajawal', sans-serif;
    color: #333;
    margin: 0;
    padding: 0;
}

/* ====== نصوص الفقرات ====== */
p, li, span, input, textarea {
    font-family: 'Tajawal', sans-serif;
    font-weight: 400;
}

/* ====== النصوص الغامقة ====== */
strong, b {
    font-weight: 700;
}

/* ====== العناوين ====== */
h1, h2, h3, h4, h5, h6, .title {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    margin: 0 0 0.5em 0;
}

h1 { font-weight: 700; font-size: 2.5rem; }
h2 { font-weight: 700; font-size: 2rem; }
h3 { font-weight: 500; font-size: 1.75rem; }
h4 { font-weight: 500; font-size: 1.5rem; }

/* ====== الأزرار والقوائم ====== */
button, .btn, .menu-item, .nav-link {
    font-family: 'Tajawal', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    cursor: pointer;
}

/* ====== نصوص صغيرة أو الملاحظات ====== */
small, .note {
    font-size: 0.875rem;
    font-weight: 400;
}

/* ====== روابط ====== */
a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    text-decoration: underline;
}

/* ====== عناصر الإدخال ====== */
input, select, textarea {
    font-family: 'Tajawal', sans-serif;
    font-weight: 400;
    font-size: 1rem;
}

/* ====== ميديا كويري للأجهزة الصغيرة ====== */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
}



  :root {
  --main-color: #FF770F;
}

.customer-reviews {
  max-width: 1200px;
  margin: 15px auto;
  padding: 10px 10px;
  text-align: center;
  font-family: Arial, sans-serif;
}

.customer-reviews h2 {
  font-size: 32px;
  margin-bottom: 10px;
  color: #333;
}

.customer-reviews .subtitle {
  color: #666;
  margin-bottom: 40px;
}

.reviews-slider {
  display: flex;
  gap: 25px;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-behavior: smooth;
}
.reviews-slider {
  display: flex;
  gap: 25px;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-behavior: smooth;
  justify-content: center; /* هذا يحط الكروت في النص */
  align-items: center; /* لو عايز الكروت تكون عمودي في النص */
}


.reviews-slider::-webkit-scrollbar {
  height: 8px;
}

.reviews-slider::-webkit-scrollbar-thumb {
  background: var(--main-color);
  border-radius: 10px;
}

.review-card {
  flex: 0 0 300px;
  background: #fff;
  border-radius: 16px;
  padding: 35px 25px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.12);
}

.review-card .icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 2px solid var(--main-color);
  color: var(--main-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 20px;
  transition: 0.3s ease;
}

.review-card:hover .icon {
  background: var(--main-color);
  color: #fff;
}

.review-text {
  font-size: 16px;
  color: #555;
  margin-bottom: 20px;
  line-height: 1.6;
}

.customer-name {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin-bottom: 5px;
}

.customer-role {
  font-size: 14px;
  color: var(--main-color);
}

/* Responsive */
@media (max-width: 900px) {
  .review-card {
    flex: 0 0 45%; /* كارتين في الصف على الموبايل الكبير */
  }
}

@media (max-width: 500px) {
  .review-card {
    flex: 0 0 80%; /* كارت واحد في الصف على الموبايل الصغير */
  }
}


.cta-text h2 {
  font-weight: 600;
