/*
Theme Name: 1000 Taj
Theme URI: https://yourwebsite.com
Author: Your Name
Author URI: https://yourwebsite.com
Description: A brief description of your theme.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: your-theme-textdomain
*/

html, body {
    overflow-x: hidden;
}

a {
    text-decoration: none;
}
  
.header-bg {
    background-color: #553a35;
}

.bg-topnavbar {
    background-color: #412e28;
}

.bg-brown {
    background-color: #3E2723;
}

.bg-brown-light {
    background-color: #886b6579;
    color: #dacecc !important;

}

.form-control, .services-single-item {
    background-color: #927771a6 !important;
}

.form-control::placeholder{
    color:  #fff !important;
}

.services-single-item img {
        margin: 10px 0;
}

.services-single-item {
    border: none;
}

.services-single-item {
    transition: transform 2s ease, box-shadow 0.3s ease;
}

.services-single-item:hover {
    transform: scale(1.05) rotate(3deg);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.services-single-item.shrink {
    transform: scale(0.5) rotate(360deg); /* Shrink and spin */
    opacity: 0.7; /* Make the element slightly transparent */
  }


.main-logo {
    width: 80px !important;
}


@media (max-width: 980px) {
    .logo {
        margin: 0 auto;
    }
}


.ht-brands-item {
    padding: 10px !important;
}

.ht-brands-item a img {
    border: 1px solid #9e7a6f;
    padding: 0;
    margin: 0;
    object-fit: cover; /* Fills the circle without stretching */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .ht-brands-item a img:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
  }
  
  

.woocommerce ul.products::before {
    content: none !important; /* Remove the empty element */
    display: none !important; /* Just in case */
}

/* Copy right text */

.copy-right-text {
    text-decoration: none;
    color: #fd6219;
}

.copy-right-text:hover {
    color: #d45419 !important;
}
/* remove before for top menu items that have not chiled menu */

.remove-before::before {
    content: none !important;
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
}

/* صفحه checkout */

/* حذف دکمه اضافه کردن به سبد خرید پس از اضافه کردن محصول به سبد*/

a.added_to_cart.wc-forward {
    display: none !important;
}


/* Account Part*/

nav.woocommerce-MyAccount-navigation ul li {
    text-decoration: none;
    padding: 5px;
    margin-top: 10px;
    list-style-type: none;
    background-color:#292929;
}

nav.woocommerce-MyAccount-navigation ul li a {
    text-decoration: none;
    color: #ddd !important;
    display: block;
}




.u-columns .u-column1 , .u-columns .u-column2 {
    min-width: 100% !important;
    max-width: 100% !important;
    padding: 30px;
}

/* Login */

/* Style for the login icon */
#login-icon {
    display: inline-block;
    background-color: #0073aa;
    color: white;
    padding: 10px 15px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    text-align: center;
}

#login-icon i {
    font-size: 18px;
}

/* User Info Styling */
#user-info {
    display: inline-block;
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
}

#logout-button {
    margin-left: 10px;
    background-color: #dc3545;
    color: white;
    padding: 5px 10px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

#logout-button:hover {
    background-color: #c82333;
}



/* صفحه Cart */

button[name="update_cart"],
button[name="apply_coupon"],
a.checkout-button,
button[name="woocommerce_checkout_place_order"],
button[name="save_account_details"],
.wc-forward,
a.woocommerce-button {
    background-color: #f57b42 !important;
    color: white !important;
    border: none !important;
    padding: 10px 20px !important;
    font-size: 16px !important;
    cursor: pointer !important;
    border-radius: 8px !important;
}

#coupon_code {
    min-width: 180px;
}

#payment {
    background-color: #ffffff !important;
}

div.payment_box {
    background-color: #ffffff !important;
}

div.payment_box::before {
    display: none !important;
}


div.payment_box p {
    background-color: #292929 !important;
    color: #ddd !important;
    padding: 10px;
}

.woocommerce-message, .woocommerce-info {
    background-color: #292929 !important;
    border-top-color: #f57b42 !important;
    color: #ddd !important;
}

.woocommerce-info a {
    color: #ddd !important;
    text-decoration: none;
}

.product-name a {
    text-decoration: none;
}

.col2-set {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

.col2-set .col-1,
.col2-set .col-2 {
    flex: 1;
    min-width: 100%; /* Stacks on small screens */
}

@media (min-width: 768px) {
    .col2-set .col-1,
    .col2-set .col-2 {
        min-width: 45%; /* Side by side on larger screens */
        max-width: 45%; /* Ensures they stay side by side */
    }
}

.woocommerce-checkout {
    margin-top: 0 !important;
    padding-top: 0 !important;
}







/* General Page Style */
body.woocommerce-checkout {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    padding-top: 50px;
}

/* Checkout Form Container */
.checkout.woocommerce-checkout {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header Styles */
.checkout h1,
.checkout h2,
.checkout h3 {
    color: #444;
    font-weight: bold;
}

/* Checkout Billing & Shipping */
.col2-set {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

/* Styling for Billing and Shipping Columns */
.col-1, .col-2 {
    width: 48%;
}

.col-1 input,
.col-2 input {
    background-color: #f7f7f7;
    border: 1px solid #ddd;
    padding: 12px;
    border-radius: 5px;
    width: 100%;
    margin-bottom: 15px;
    font-size: 16px;
}

.col-1 input:focus,
.col-2 input:focus {
    border-color: #666;
    outline: none;
}

/* Buttons */
button[type="submit"], .woocommerce-checkout .button {
    background-color: #4a4a4a;
    color: #fff;
    border: none;
    padding: 12px 25px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button[type="submit"]:hover, .woocommerce-checkout .button:hover {
    background-color: #333;
}

/* Order Review Section */
#order_review {
    background-color: #fafafa;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

#order_review h3 {
    color: #444;
    font-size: 22px;
    margin-bottom: 15px;
}

#order_review .woocommerce-checkout-review-order-table {
    width: 100%;
    border-collapse: collapse;
}

#order_review .woocommerce-checkout-review-order-table th,
#order_review .woocommerce-checkout-review-order-table td {
    padding: 10px;
    text-align: left;
}

#order_review .woocommerce-checkout-review-order-table th {
    background-color: #f7f7f7;
    color: #666;
}

#order_review .woocommerce-checkout-review-order-table td {
    background-color: #fff;
    color: #333;
    border-top: 1px solid #ddd;
}

/* Shipping Methods */
.woocommerce-checkout #shipping_method {
    margin-top: 20px;
    margin-bottom: 30px;
}

.woocommerce-checkout .shipping-calculator-button {
    background-color: #4a4a4a;
    color: #fff;
    border: none;
    padding: 8px 15px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.woocommerce-checkout .shipping-calculator-button:hover {
    background-color: #333;
}

/* Terms & Conditions */
.woocommerce-checkout .terms-conditions {
    font-size: 14px;
    color: #777;
    margin-top: 20px;
}

.woocommerce-checkout .terms-conditions a {
    color: #4a4a4a;
    text-decoration: none;
}

.woocommerce-checkout .terms-conditions a:hover {
    text-decoration: underline;
}

/* Payment Methods */
.woocommerce-checkout .payment_methods {
    margin-top: 30px;
}

/* Footer */
.checkout .woocommerce-checkout-review-order {
    margin-top: 30px;
}

.checkout .woocommerce-checkout-review-order .payment {
    margin-top: 20px;
}

/* Default: Center text for small screens */
.footer-area {
    text-align: center;
  }
  
  /* For medium and larger screens, align text to the right */
  @media (min-width: 992px) {
    .footer-area {
      text-align: right;
    }
  }
  



/* Product Grid Styling - Clean and Responsive */
.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columns on large screens */
    gap: 20px;
    padding: 20px;
    box-sizing: border-box; /* Ensure padding doesn’t mess with layout */
}


/* Responsive Grid Adjustments */
@media (max-width: 1800px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(4, 1fr); /* 4 columns for large screens */
    }
}

@media (max-width: 1400px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(3, 1fr); /* 3 columns for medium screens */
    }
}

@media (max-width: 1024px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr); /* 2 columns for tablets */
    }
}

@media (max-width: 768px) {
    .woocommerce ul.products {
        grid-template-columns: 1fr; /* 1 column for mobile */
    }
}

/* Ensure full-width on smallest screens */
@media (max-width: 768px) {
    .woocommerce ul.products li.product {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }
}

/* Cart Icon */

.cart-icon {
    position: relative;
}
  
.cart-count {
    position: absolute;
    bottom: -35px;
    right: -10px;
    background: #fd6219;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 12px;
}

  
/* Product Item Styles */
.woocommerce ul.products li.product {
    background: #fff;
    border: 1px solid #ddd;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%; /* Make sure each product takes its full grid space */
    margin: 0; /* Remove any rogue margins */
    box-sizing: border-box; /* Consistency in sizing */
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Product Image */
.woocommerce ul.products li.product .woocommerce-LoopProduct-link img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Product Title */
.woocommerce ul.products li.product h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 10px 0;
}

/* Product Price */
.woocommerce ul.products li.product span.price {
    color: #ff5a5f;
    font-weight: 700;
    font-size: 16px;
}

.woocommerce ul.products li.product span del {
    color: #888;
    margin-right: 5px;
}



.woocommerce ul.products li.product .button {
    background-color: #fd6219;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.woocommerce ul.products li.product .button:hover {
    background-color: #ff7b42; /* Slightly lighter shade */
    transform: scale(1.05); /* Optional: slight pop effect */
}



/* Ensure the pagination container stays clean */
.woocommerce nav.woocommerce-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
    padding: 0;
    border: none;
}

/* style single product page */

/* .numberstyle-qty {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 6px;
    overflow: hidden;
    max-width: 160px;
}

.numberstyle-qty .qty-btn {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    background: #f4f4f4;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    cursor: pointer;
    user-select: none;
    transition: background 0.3s ease;
}

.numberstyle-qty .qty-btn:hover {
    background: #ddd;
}

.numberstyle-qty input.qty {
    flex: 1; 
    height: 40px;
    text-align: center;
    border: none;
    font-size: 18px;
    font-weight: bold;
}

.numberstyle-qty .qty-btn.disabled {
    opacity: 0.5;
    pointer-events: none;
}


.numberstyle-qty input[type=number]::-webkit-inner-spin-button,
.numberstyle-qty input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.numberstyle-qty input[type=number] {
    -moz-appearance: textfield;
    appearance: textfield; 
} */


.woocommerce div.product form.cart button.single_add_to_cart_button {
    background-color: #fd6219; /* Dark gray */
    color: #fff; /* White text */
    border: none;
    padding: 13px 24px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.1s ease;
}

.woocommerce div.product form.cart button.single_add_to_cart_button:hover {
    background-color: #f57b42; /* Lighter gray on hover */
}

.woocommerce div.product form.cart button.single_add_to_cart_button:active {
    transform: scale(0.98); /* Slight "press" effect */
}


/* Page number buttons */
.woocommerce nav.woocommerce-pagination .page-numbers {
    min-width: 45px;
    height: 45px;
    line-height: 45px;
    padding: 0 10px;
    margin: 0 3px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    background-color: #eaeaea; /* Button default background */
    border-radius: 50px;
    box-shadow: 0 0 20px 3px rgba(0, 0, 0, 0.05);
    text-decoration: none;
    border: none;
}

.woocommerce nav.woocommerce-pagination ul.page-numbers,
.woocommerce nav.woocommerce-pagination ul li {
    background: none;
    border: none;
}

.woocommerce nav.woocommerce-pagination ul.page-numbers:hover,
.woocommerce nav.woocommerce-pagination ul li:hover {
    background: none;
    border: none;
}

/* Active and hover states */
.woocommerce nav.woocommerce-pagination .page-numbers:hover,
.woocommerce nav.woocommerce-pagination .page-numbers.current {
    color: #fff;
    background-color: #fd6219;
    border-color: #fd6219;
}
