/* Limit the number of lines for product titles and add ellipses */
.woocommerce ul.products li.product h2.woocommerce-loop-product__title {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Adjust the number of lines as needed */
    -webkit-box-orient: vertical;
    max-height: 2.4em; /* Adjust according to your font size */
    text-overflow: ellipsis;
}

/* Add border-radius to shop cards */
.woocommerce ul.products li.product {
    border-radius: 7px;
    overflow: hidden; /* Ensures that the border-radius is applied to the content inside the card */
}

.wc-block-components-price-slider__controls .wc-block-components-price-slider__amount {
    max-width: 100% !important;
}

.woocommerce-mini-cart__buttons .checkout.wc-forward {
    margin-left: 0 !important;
}

.woocommerce input[type="checkbox"]:checked::before{
     display: flex !important;
     flex-wrap: wrap !important;
     align-content: center;
}

.woocommerce input[type="checkbox"]{
    appearance: auto !important;
}

.ast-header-search form.search-form .search-field {
    max-width: 80vw;
}
.vendor-customer-registration.ast-animate-input label {
  pointer-events: unset !important;
}

.ast-logged-in-customer-info {
    display: none !important;
}

/* Minimalistic light-colored style for all input fields in the checkout page */
.woocommerce-checkout input[type="text"],
.woocommerce-checkout input[type="email"],
.woocommerce-checkout input[type="tel"],
.woocommerce-checkout input[type="password"],
.woocommerce-checkout input[type="number"],
.woocommerce-checkout select,
.woocommerce-checkout textarea {
    background-color: #f9f9f9; /* Light background color */
    border: 1px solid #ccc; /* Light gray border */
    color: #333; /* Dark gray text color */
    padding: 10px;
    border-radius: 5px; /* Increase border radius */
    box-shadow: none;
    transition: border-color 0.3s ease-in-out;
}

/* Style for focused input fields */
.woocommerce-checkout input[type="text"]:focus,
.woocommerce-checkout input[type="email"]:focus,
.woocommerce-checkout input[type="tel"]:focus,
.woocommerce-checkout input[type="password"]:focus,
.woocommerce-checkout input[type="number"]:focus,
.woocommerce-checkout select:focus,
.woocommerce-checkout textarea:focus {
    border-color: #66afe9; /* Light blue border on focus */
    outline: none !important; /* Ensure default dotted outline is removed */
    background-color: #ffffff; /* Slightly lighter background on focus */
}

/* Add margin below the phone input field */
#billing_phone {
    margin-bottom: 20px; /* Adjust the value as needed */
}

/* Decrease the size of the "Have a gift card?" heading */
.woocommerce-checkout h4 {
    font-size: 16px; /* Adjust the font size as needed */
    font-weight: normal; /* Optional: adjust font weight */
}

/* Add top margin to the order summary column */
#ast-order-review-wrapper {
    margin-top: 113px; /* Adjust the value as needed */
}

/* Add white background with light border to the order review sections */
.ast-mobile-order-review-wrap,
#ast-order-review-content {
    background-color: #ffffff; /* White background */
    border: 1px solid #e0e0e0; /* Light gray border */
    padding: 15px; /* Uniform padding */
    border-radius: 5px; /* Rounded corners */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

/* Ensure uniform padding for the inner table */
#ast-order-review-content .woocommerce-checkout-review-order-table {
    margin: 0;
    padding: 0;
    width: 100%;
    border-collapse: collapse;
}

/* Ensure uniform padding for the table cells */
#ast-order-review-content .woocommerce-checkout-review-order-table th,
#ast-order-review-content .woocommerce-checkout-review-order-table td {
    padding: 10px;
    border-bottom: 1px solid #e0e0e0; /* Light border for rows */
}

/* Remove border from the last table row */
#ast-order-review-content .woocommerce-checkout-review-order-table tfoot tr:last-child td,
#ast-order-review-content .woocommerce-checkout-review-order-table tfoot tr:last-child th {
    border-bottom: none;
}

/* Change background color to white and ensure uniform padding */
.ast-mobile-order-review-wrap {
    background-color: #ffffff; /* White background */
    border: 1px solid #e0e0e0; /* Light gray border */
    padding: 15px; /* Uniform padding */
    border-radius: 5px; /* Optional: rounded corners */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Optional: subtle shadow */
}

/* Ensure inner content has no additional padding */
#ast-order-review-content {
    margin: 0;
    padding: 0;
}

/* Style the table for consistency */
#ast-order-review-content .woocommerce-checkout-review-order-table {
    margin: 0;
    padding: 0;
    width: 100%;
    border-collapse: collapse;
}

/* Ensure uniform padding for the table cells */
#ast-order-review-content .woocommerce-checkout-review-order-table th,
#ast-order-review-content .woocommerce-checkout-review-order-table td {
    padding: 10px;
    border-bottom: 1px solid #e0e0e0; /* Light border for rows */
}

/* Remove border from the last table row */
#ast-order-review-content .woocommerce-checkout-review-order-table tfoot tr:last-child td,
#ast-order-review-content .woocommerce-checkout-review-order-table tfoot tr:last-child th {
    border-bottom: none;
}


/* Hide "Add to cart" button */
li.product .add_to_cart_button {
    display: none !important;
}

/* Hide "Add to wishlist" button/icon */
li.product .shopengine_add_to_list_action {
    display: none !important;
}

/* Hide "Compare" button/icon */
li.product .shopengine_comparison_add_to_list_action {
    display: none !important;
}

/* Hide "Quick view" button/icon */
li.product .shopengine-quickview-trigger {
    display: none !important;
}

/* Add border radius to the outer container of product category cards */
.single-cat-list-item {
    border-radius: 15px; /* Adjust the value as needed */
    overflow: hidden; /* Ensure content stays within rounded corners */
}

/* Ensure the background of the product category cards also has rounded corners */
.single-cat-list-item .product-category-wrap {
    background-color: #e8f5e9; /* Same background color */
    border-radius: 15px; /* Same value as the outer element */
    overflow: hidden; /* Ensure content stays within rounded corners */
    padding: 15px; /* Optional: add padding for better spacing */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Optional: add a subtle shadow */
}

/* Ensure images within the product category cards have rounded corners */
.single-cat-list-item .product-category-wrap img {
    border-radius: 15px; /* Same value as the outer element */
}

/* Style the inner content to match the card's design */
.single-cat-list-item .single-product-category {
    border-radius: 15px; /* Same value as the outer element */
    overflow: hidden; /* Ensure content stays within rounded corners */
    padding: 15px; /* Optional: add padding for better spacing */
}

/* Add border-radius to WooCommerce form fields */
.woocommerce input[type="text"],
.woocommerce input[type="password"],
.woocommerce input[type="tel"],
.woocommerce input[type="email"],
.woocommerce input[type="number"],
.woocommerce textarea,
.woocommerce select {
    border-radius: 5px;
    /* Adjust other styling properties as needed */
    border: 1px solid #ccc;
    padding: 8px;
    margin-bottom: 10px;
    width: 100%;
    box-sizing: border-box;
}

/* Adjust styles for specific fields if needed */
.woocommerce input[type="checkbox"] {
    /* Example styling for checkboxes */
    margin-right: 5px;
}

/* Additional styling for buttons */
.woocommerce .button {
    border-radius: 5px;
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.woocommerce .button:hover {
    background-color: #0056b3;
}


figcaption {
  display: none;
}

.footer-payment-icons img,
.ssl-seal img {
    display: inline-block;
    width: 40px; /* Adjust size as needed */
    margin-right: 8px;
    vertical-align: middle;
}

.footer-payment-icons {
    display: flex;
    justify-content: center; /* Center icons in footer */
    padding: 10px 0;
}

.ssl-seal {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
}

.ssl-seal .ssl-icon {
    margin-right: 8px;
}

.ssl-seal .ssl-text {
    font-weight: bold;
    color: #34a853; /* Adjust color as needed */
}

.mobile-image {
    display: none;
}

@media (max-width: 768px) {
    .desktop-image {
        display: none;
    }
    .mobile-image {
        display: block;
    }
}

/* Hide the My Account page title */
.woocommerce-account .page-title {
  display: none !important;
}
