/*
Theme Name: Scratch wooCommerce Theme
Theme URI: http://yourwebsite.com
Author: Mohamed Rafat
Author URI: http://yourwebsite.com
Description: Custom WooCommerce Theme
Version: 1.0
*/
/* home page store css style */
body{
	  font-family: "Readex Pro", sans-serif;
}
.sidebar {
  background-color: #f8f9fa;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);

}

.sidebar h4 {
  margin-bottom: 15px;
  font-size: 1.5rem;
  color: #333;
}

.sidebar .list-group-item {
  border: none;
  padding: 10px 15px;
}

.sidebar .list-group-item a {
  color: #007bff;
  text-decoration: none;
}

.sidebar .list-group-item a:hover {
  text-decoration: underline;
}

.product-card {
  border: none;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}



.card-img-top {
  border-radius: 8px 8px 0 0;
}

.card-title {
  font-size: 1.25rem;
  color: #333;
}

.price {
  font-size: 1.1rem;
  color: #28a745;
}

.btn-primary {
  background-color: #007bff;
  border-color: #007bff;
  transition: background-color 0.3s;
}

.btn-primary:hover {
  background-color: #0056b3;
  border-color: #0056b3;
}

.pagination-wrapper {
  text-align: center;
}

.pagination {
  display: flex;
  justify-content: center;
  padding: 10px 0;
}

.pagination li {
  margin: 0 5px;
}

.pagination a,
.pagination span {
  padding: 8px 12px;
  border-radius: 4px;
  border: 1px solid #007bff;
  color: #007bff;
  text-decoration: none;
}

.pagination a:hover {
  background-color: #007bff;
  color: white;
}

.pagination .current {
  background-color: #007bff;
  color: white;
  border: 1px solid #007bff;
}


.woocommerce a.added_to_cart {
    padding-top: .5em;
    display: inline-block;
    background:black;
    color:white;
    text-align:center;
    padding:10px;
    text-decoration:none;
    cursor:pointer;
}
/* End home page css style */

/* product single page */


/* Product image */
.product-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Product title */
.product-title {
  font-size: 2rem;
  margin: 10px 0;
}

/* Price styles */
.price {
  font-size: 1.5rem;
  color: #d9534f; /* Bootstrap danger color */
  margin-bottom: 15px;
}

/* Short description styles */
.short-description {
  font-size: 1rem;
  margin-bottom: 20px;
  color: #555;
}

/* Add to cart buttons */
.add-to-cart {
  display: flex;
  flex-direction: column; /* Stack buttons vertically */
}

.add-to-cart .btn {
  margin-bottom: 10px; /* Space between buttons */
}

/* Product description */
.product-description {
  background-color: #f9f9f9; /* Light background for the description */
  padding: 20px;
  border-radius: 8px;
  margin-top: 30px;
}

/* Reviews section */
.product-reviews {
  margin-top: 30px;
}

/* Comments styles */
.comment-list .comment {
  margin-bottom: 20px; /* Space between comments */
}

.comment-author img {
  border-radius: 50%; /* Round profile pictures */
  margin-right: 10px;
}

.comment-body {
  background-color: #f1f1f1; /* Light gray background for comments */
  padding: 15px;
  border-radius: 5px;
}

/* Responsive styles */
@media (max-width: 768px) {
  .product-title {
      font-size: 1.5rem;
  }

  .price {
      font-size: 1.2rem;
  }
}

/* end product single page */

/* Cart page style */
.wc-block-cart__submit-container{
	background: #212529;
}
.wc-block-cart__submit-container a{
	color: white;
	text-decoration: none;
}
/* End cart page */




/* admin dashboard page style */

/* custom-dashboard.css */

/* تخصيص بطاقة لوحة التحكم */
.dashboard-card {
  transition: transform 0.3s, box-shadow 0.3s;
}

.dashboard-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

/* تخصيص الأيقونات */
.dashboard-card .bi {
  color: #6c757d;
  transition: color 0.3s;
}

.dashboard-card:hover .bi {
  color: inherit;
}

/* تخصيص العناوين */
.dashboard-card .card-title {
  margin-bottom: 15px;
  font-size: 1.25rem;
  color: #343a40;
}

/* تخصيص الأزرار داخل البطاقات */
.dashboard-card .btn {
  margin-top: 10px;
  padding: 10px 20px;
  font-size: 0.9rem;
}

/* تحسين استجابة التصميم على الأجهزة الصغيرة */
@media (max-width: 767.98px) {
  .dashboard-card .card-body {
      padding: 20px;
  }

  .dashboard-card .bi {
      font-size: 2.5rem;
  }
}

/* تخصيص التنبيهات */
.alert {
  border-radius: 10px;
  background-color: #d1e7dd;
  color: #0f5132;
  font-size: 1.1rem;
}

/* تخصيص الأزرار في التنبيهات */
.alert .alert-link {
  font-weight: bold;
  text-decoration: underline;
}

/* تخصيص الخلفية العامة للوحة التحكم */
.my-account-dashboard {
  background-color: #f8f9fa;
  padding: 30px 15px;
  border-radius: 10px;
}

/* إضافة تباعد أسفل البطاقات */
.my-account-dashboard .card + .card {
  margin-top: 20px;
}

/* end admin dashboard page style */

/* cateogry product page */


/* end product cateogry page */

/* single page preview product */



/* End single page preview product */

/* Cart table styles */
.cart-table {
  background-color: #fff; /* White background for the table */
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.table th, .table td {
  vertical-align: middle; /* Center content vertically */
}

.table th {
  background-color: #f8f9fa; /* Light gray background for header */
}

/* Cart totals */
.cart-totals {
  margin-top: 20px;
}

/* owl carousel */

.owl-nav .owl-prev,
.owl-nav .owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #000; /* Arrow background */
    color: #fff; /* Arrow color */
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
}

.owl-nav .owl-prev {
    left: -25px; /* Adjust position for the left arrow */
}

.owl-nav .owl-next {
    right: -25px; /* Adjust position for the right arrow */
}


/* end owl carousel */