body {
    margin: 0;
     font-family: 'Tajawal', sans-serif !important;
}

.custom-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background-color: #fff;
  border-bottom: 1px solid #ddd;
  position: relative;
  z-index: 1000;
}

.custom-logo {
  order: 3;
  width: 60px;
  height: 60px;
  background-size: cover;
  background-position: center;
  border-radius: 8px;

}
.cart-icon {
  order: 2;
  font-size: 1.3rem;
  text-align: center;
  margin: 0 15px;
}


.cart-icon a {
  color: #333;
  text-decoration: none;
}


.cart-count {
  background: none !important;
  color: inherit;
  font-weight: normal;
  font-size: 14px;
  padding: 0;
  border-radius: 0;
  position: static;
}

.menu-container {
    order: 1;
    
}

.menu-toggle {
    font-size: 1rem;
    cursor: pointer;
    color: #fff;
    background: #333;
    padding: 10px 16px;
    border-radius: 8px;
    display: inline-block;
    min-width: 100px;
    text-align: center;
    transition: background 0.3s ease;
    z-index: 1001;
    position: relative;
}

.menu-toggle:hover {
    background: #444;
}

.menu-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    padding: 10px 15px;
    min-width: 150px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    flex-direction: column;
}

.menu-links.show {
    display: flex;
}

.menu-links a {
    margin: 8px 0;
    text-decoration: none;
    color: #333;
}

/* Force all WooCommerce and theme buttons to dark grey */
/* Change product title link color to dark grey */
.woocommerce ul.products li.product a,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    color: #333 !important;
}

/* Optional: Darker color on hover */
.woocommerce ul.products li.product a:hover,
.woocommerce ul.products li.product .woocommerce-loop-product__title:hover {
    color: #111 !important;
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce input[type="submit"],
.woocommerce #respond input#submit,
.woocommerce-page a.button,
.woocommerce-page button.button,
.woocommerce-page input.button,
.woocommerce-page input[type="submit"],
.ast-button,
.ast-custom-button,
.button,
.button.alt,
input[type="button"],
input[type="submit"],
.wp-block-button__link {
    background-color: #333 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 10px 20px;
    box-shadow: none !important;
    text-shadow: none !important;
    transition: background 0.3s ease;
}

/* Hover state */
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce input[type="submit"]:hover,
.ast-button:hover,
.ast-custom-button:hover,
.wp-block-button__link:hover {
    background-color: #444 !important;
    color: #fff !important;
}

/* Fix "Scroll to Top" arrow */
#ast-scroll-top,
#ast-scroll-top:focus,
#ast-scroll-top:active {
    background-color: #333 !important;
    color: #fff !important;
    border-radius: 50% !important;
}

/* Optional: Hover effect for scroll button */
#ast-scroll-top:hover {
    background-color: #444 !important;
}
/* --- Product Title --- */
.wp-block-woocommerce-product-collection .wp-block-post-title {
    color: #333 !important;
    text-align: center;
    font-weight: 600;
    margin-top: 10px;
    margin-bottom: 5px;
}

/* --- Product Image Styling --- */
.wp-block-woocommerce-product-collection .wp-block-woocommerce-product-image img {
    border-radius: 8px;
    transition: transform 0.3s ease;
}
.wp-block-woocommerce-product-collection .wp-block-woocommerce-product-image img:hover {
    transform: scale(1.03);
}

/* --- Product Button --- */
.wp-block-woocommerce-product-collection .wp-block-woocommerce-product-button a {
    background-color: #333 !important;
    color: #fff !important;
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 14px;
    transition: background 0.3s ease;
    display: inline-block;
}
.wp-block-woocommerce-product-collection .wp-block-woocommerce-product-button a:hover {
    background-color: #111 !important;
}

/* --- Product Price --- */
.wp-block-woocommerce-product-collection .wp-block-woocommerce-product-price {
    font-weight: bold;
    color: #222;
    text-align: center;
    margin-bottom: 10px;
}

/* --- Grid spacing --- */
.wp-block-woocommerce-product-collection {
    gap: 30px;
    padding: 40px 20px;
}a {
    color: #333 !important;
}
a:hover {
    color: #000 !important;
}
.woocommerce ul.products li.product .button,
.woocommerce-page ul.products li.product .button,
.wp-block-button__link,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
    color: #fff !important;
}
.home-blog-section {
  padding: 60px 20px;
  background: #f9f9f9;
  text-align: center;
}

.home-blog-section h2 {
  font-size: 2rem;
  margin-bottom: 40px;
}

.home-blog-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  max-width: 900px;
  margin: auto;
}

.home-blog-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
  text-align: left;
  transition: transform 0.3s ease;
  width: 100%;
}

.home-blog-card:hover {
  transform: translateY(-4px);
}

.home-blog-card a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.blog-image {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
}

.blog-content {
  padding: 20px;
}

.blog-content h3 {
  margin-top: 0;
  font-size: 1.25rem;
  color: #222;
}

.blog-content p {
  color: #555;
}

.read-more {
  display: inline-block;
  margin-top: 10px;
  color: #333;
  font-weight: bold;
}
.custom-home-section {
  display: flex;
  flex-direction: column;
  gap: 60px;
  padding: 40px 20px;
  direction: rtl; /* Arabic alignment */
}

.home-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  padding: 20px;
}

.home-block .text {
  flex: 1;
  padding: 20px;
}

.home-block .text h2 {
  margin-top: 0;
  font-size: 1.75rem;
  color: #222;
}

.home-block .text p {
  color: #555;
  line-height: 1.6;
}

.home-block .image {
  flex: 1;
  height: 300px;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
}

.cta-button {
  margin-top: 15px;
  display: inline-block;
  background: #333;
  color: #fff !important; /* Force white text */
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s ease;
}


.cta-button:hover {
  background: #555;
}

/* External banner */
.external-store-banner {
  height: 250px;
  background-image: url('<?php echo get_template_directory_uri(); ?>/assets/img/external-banner.jpg');
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.external-store-banner .overlay-text {
  background: rgba(0,0,0,0.5);
  color: white;
  padding: 30px 40px;
  border-radius: 10px;
  text-align: center;
}

@media (max-width: 768px) {
  .home-block {
    flex-direction: column;
  }

  .home-block .image {
    width: 100%;
    height: 200px;
  }

  .home-block .text {
    width: 100%;
    padding: 10px 0;
  }
}
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.menu-links a.active {
    background-color: #ddd; /* Light grey highlight */
    color: #000; /* Ensure text is readable */
    font-weight: bold;
    border: none; /* Remove underline if still there */
    padding: 8px 12px;
    border-radius: 6px;
}

.menu-links a:hover {
    background-color: #eee;
    color: #000;
    border-radius: 6px;
}
.workshops-section {
    background-color: #ffcc33; /* bold yellow */
    padding: 40px 20px;
    border-radius: 12px;
    margin: 40px 0;
    color: #333; /* Make sure text is readable */
}

.workshops-section h2,
.workshops-section p,
.workshops-section a {
    color: #333 !important; /* Ensure text/buttons aren't white-on-yellow */
}

.workshops-section .cta-button {
    background-color: #333 !important;
    color: #fff !important;
    border: none;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    border-radius: 8px;
    font-size: 1rem;
}


.workshops-section .cta-button:hover {
    background-color: #111 !important;
}
@media (max-width: 768px) {
    .workshops-section {
        padding: 30px 15px;
        display: block;
    }

    .workshops-section img {
        width: 100%;
        height: auto;
        display: block;
        margin: 20px 0;
    }
}
.home-blog-section {
    direction: rtl;
    text-align: right;
}

.home-blog-section * {
    direction: rtl;
    text-align: right;
}

.custom-footer {
  background-color: #f2f2f2;
  padding: 20px;
  text-align: center;
  font-size: 0.9rem;
  color: #444;
  margin-top: 40px;
}

.footer-links {
  margin-bottom: 10px;
}

.footer-links a {
  margin: 0 10px;
  text-decoration: none;
  color: #444;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #000;
}

.footer-copy {
  color: #666;
}

