/*
 Theme Name:  Divi Child Theme Dema
 Theme URI:    https://demamarketing.com/
 Description:  Child Theme for Divi
 Author:       Marianadenmanty
 Author URI:   https://demamarketing.com/
 Template:     Divi
 Version:      1.0.0
*/

/*****Add any custom CSS below this line*****/
@font-face {
    font-family: 'Country Western Script';
    src: url('/wp-content/uploads/et-fonts/Country-Western-Script-Black-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Make the main content area a flex container */
#et-main-area {
    display: flex;
    flex-direction: column;
    min-height: 88vh; /* Full height of the viewport */
}

/* Ensure main content takes available space */
#main-content {
    flex: 1; /* Allow the main content to grow */
}


.site-logo {
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    width: 200px;
    z-index: 100000;
    position: fixed !important;
    top: -40px;
    bottom: auto;
    left: 3%;
    right: auto;
    text-align: left;
    margin-left: 0;
}
/*Header and footer*/
/*HEADER TEST*/
/* Full-width header container */

.header-right {
    display: flex;
    justify-content: flex-end; /* Align both elements to the right */
    align-items: center; /* Vertically center the elements */
}

/* Phone link styling */
.phone-link {
    text-align: right;
    padding: 5px 10px 0 0;
    color: #FFFFFF !important;

}

/* Phone link styles */
.phone-link a {
    text-decoration: none;
    color: #FFFFFF !important;
    font-size: 16px;
    font-weight: 700;
}

/* Phone icon styling */
.phone-link i {
    margin-right: 8px; /* Space between icon and text */
}

/* Sticky header content */
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 2560px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    position: sticky !important;
    top: 0;
    z-index: 1000;
}

#mega-toggle-block-2 {
    display: flex;
    justify-content: center; /* Centers the button horizontally */
    align-items: center; /* Centers the button vertically */
}

.dgwt-wcas-search-icon:hover svg path {
    fill: #AA3B3E; /* Change this to your desired red color */
}


.dgwt-wcas-search-wrapp {
    display: flex;
    justify-content: center; /* Centers the search icon button horizontally */
    align-items: center; /* Centers the search icon button vertically */
    width: 100%; /* Ensure it spans the entire width of the container */
}

.dgwt-wcas-search-icon {
    margin: 0 auto; /* Ensures the search icon stays centered */
}


/* Image container styling */
.image-container {
    overflow: visible; /* Allow image to overflow out of container */
}

.image-container img {
    margin-bottom: -40px; /* Adjust to allow image to overflow left */
    max-height: 120px; /* Increase height as needed */
}
/* Menu container styling */
.menu-container {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* Cart container styling */
.cart-container {
    margin-left: 20px;
}
.menu-account-menu-container {
    text-align: center; /* Center the entire menu container */
}

.menu-account-menu-container ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-account-menu-container ul li {
    display: inline-block;
    margin-right: 20px; /* Space between menu items */
}

.menu-account-menu-container ul li:last-child {
    margin-right: 0; /* Remove space after the last item */
}

.menu-account-menu-container ul li a {
    text-decoration: none;
    color: #FFFFFF; /* Adjust text color */
    padding: 10px 15px; /* Add padding to the menu items */
    font-size: 14px; /* Adjust font size if needed */
}

.cart-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.cart-container [xoo_wsc_cart], .cart-container [maxmegamenu] {
    margin-left: 15px;
}

.cart-container [xoo_wsc_cart] {
    display: inline-block;
    margin-right: 5px;
}

.cart-container [maxmegamenu] {
    display: inline-block;
}

.menu-account-menu-container ul li a:hover {
    color: #fff1b8; /* Change color on hover */
}

.xoo-wsc-sc-bkcont {
    display: flex;
    align-items: center;
}

.xoo-wsc-sc-bki {
    margin-right: 5px; /* Adjust space between cart icon and count */
}

.xoo-wsc-sc-count {
    font-weight: bold; /* Make the cart count bold */
}


/*HEADER PHONE FOR MOBILE*/
.header-phone {
    margin: 5px 10px 0 0 !important;
    text-align: right;
    font-weight: 700;
}
.header-phone a {
    color: #FFFFFF !important;
}

.xoo-wsc-sc-count {
    background-color: #aa3b3e;
    color: #ffffff;
}

.xoo-wsc-sc-cont {
    color: #ffffff;
}

.footer-links {
    color: #FFFFFF !important;
}
.footer-links i {
    padding-right: 5px;
}
.footer-links ul {
    list-style-type: none;
    line-height: 35px !important;
    padding: 0px !important;
}
.footer-links h3 {
    color: #FFFFFF !important;
}
.footer-links a {
    color: #FFFFFF !important;
}

.footer-links a:hover {
    color: #aa3b3e !important;
    padding-left: 5px;
    transition-delay: 100ms;
    transition-duration: 200ms;
}

#cookie-notice {
    min-width: 30% !important;
    margin-left: 40%;
}
#cookie-notice a {
    color: #FFFFFF !important;
}

p.demo_store {
    padding: 15px !important;
    width: 35% !important;
    font-size: 15px !important;
    background-color: #3d3c42;
}

.main-button, .news-block a, .woocommerce-form-coupon button, #place_order {
    color: #FFFFFF !important;
    background-color: #AA3B3E !important;
    display: inline-block !important; /* Use flexbox */
    justify-content: center; /* Center the text horizontally */
    align-items: center; /* Center the text vertically */
    padding: 10px 20px !important;
    border-radius: 10px;
    font-size: 20px;
    transition: all 300ms ease 0ms;

}
.main-button:hover, .news-block a:hover, .woocommerce-form-coupon button:hover, #place_order:hover {
    background-color: #940A0D !important;
}

.et_pb_button_wrapper .et_pb_more_button {
    display: none !important;
}

/*RESIZE IMAGE ON PLOG POSTS*/
/* Limit the width of images in blog posts */
.et_pb_title_featured_container img {
    max-width: 500px; /* Adjust this value to your desired max width */
    min-width: 30%;      /* Ensures the image is responsive */
    height: auto;     /* Maintains aspect ratio */
    margin: 0 auto;   /* Center the image */
    display: block;   /* Ensures it behaves like a block element */
}

.et_pb_slide_image img {
    opacity: 1 !important;
    transform: none !important;
}
/*Hide image file name in gallery*/
.mfp-title {
    display: none;
}


/*Product Categories List with links*/

.category-list {
    list-style-type: none !important;
    padding: 0 !important;
    margin: 0;
}

.category-list li {
    margin: 0;
    position: relative;
    padding-left: 10px;
    padding-right: 10px;
}


.category-list .category-secondary a {
    margin-left:40px;
    font-size: 16px;
    padding:5px;

}

.category-list .category-tertiary a {
    margin-left:80px;
    font-size: 14px;
    padding:2px;
}

.category-list a {
    display: block;
    text-decoration: none;
    color: #ffffff !important;
    font-size: 14px;
    padding: 2px;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    border-bottom: 1px solid #FFFFFF;
}

.category-list li:hover {
    background-color: #AA3B3E;
}

.category-list li.active {
    background-color: #AA3B3E;
}
.toggle-categories {
    display: none;
    background-color: #AA3B3E;
    color: #fff;
    border: none;
    padding: 10px 15px;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    text-align: left;
}

.vertically-centered-column {
    justify-content: center;
    display: flex;
    flex-direction: column;
    margin-top: 30px;
}



/*Change background opacity of WooCommerce single product zoomed image*/
.pswp__bg {
    opacity: 0.8 !important;
}

.custom-category-image img {
    object-fit: fill; /* Ensures the image covers the space without distortion */
}

.custom-category-image {
    text-align: center; /* Optional: Center the images within the column */
    margin-bottom: 15px; /* Space between image and category name */
}

.custom-category-image a {
    width: 100%;
    height: 100%;
}

/* Customize the category heading */
ul.products li.product-category h3.woocommerce-loop-category__title {
    /*font-family: 'COUNTRY WESTERN BLACK', Helvetica, Arial, Lucida, sans-serif;*/
    font-weight: 500;
    font-size: 20px !important;
    text-align: center;
    color: #3d3c42; /* You can change the color if needed */
}

/* Hide the number of products in the category */
ul.products li.product-category mark.count {
    display: none;
}


    /* Customize link colors */
.woocommerce-form .woocommerce-LostPassword a,
.woocommerce-privacy-policy-link {
    color: #0073AA; /* Link text color */
}

.woocommerce-form .woocommerce-LostPassword a:hover,
.woocommerce-privacy-policy-link:hover {
    color: #AA3B3E; /* Link hover color */
}


/*CUSTOMIZE MY-ACCOUNT NAVIGATION */
/* Styles for My Account Navigation Links */
/* Remove list markers and bullets */
.woocommerce-MyAccount-navigation ul {
    list-style: none !important; /* Remove bullets */
    padding: 0 !important;
    margin: 0;
}

.woocommerce-MyAccount-navigation li {
    margin: 0;
    position: relative;
    padding-left: 0 !important; /* No left padding for bullets */
    background-color: #3d3c42; /* Gray background for non-active links */

}

.woocommerce-MyAccount-navigation-link a {
    display: block;
    text-decoration: none;
    font-size: 14px;
    padding: 5px;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    border-bottom: 1px solid #FFFFFF; /* Divider line */
    color: #ffffff !important; /* Change text color on hover */
}

.woocommerce-MyAccount-navigation-link:hover a,
.woocommerce-MyAccount-navigation-link.is-active a {
    background-color: #AA3B3E; /* Active and hover background */
}


/* Make My Account navigation links look like links */
.woocommerce-MyAccount-navigation-link a {
    color: #0073AA; /* Default link color */
    font-weight: bold; /* Make the links bold for better visibility */
}

/* Change link color on hover */
.woocommerce-MyAccount-navigation-link a:hover {
    color: #AA3B3E; /* Change color on hover */
    text-decoration: none; /* Remove underline on hover for cleaner look */
}

/* Make content links look like links */
.woocommerce-MyAccount-content a {
    color: #0073AA; /* Default link color */
    text-decoration: underline; /* Underline the links */
}

/* Change content link color on hover */
.woocommerce-MyAccount-content a:hover {
    color: #AA3B3E; /* Change color on hover */
    text-decoration: none; /* Remove underline on hover */
}



.woocommerce-button.view {
    color: #FFFFFF !important;
    text-transform: uppercase !important;
    background-color: #3d3c42 !important;
    display: flex !important; /* Use flexbox */
    justify-content: center; /* Center the text horizontally */
    align-items: center; /* Center the text vertically */
    padding: 5px !important;
}

.woocommerce-button.view:hover {
    background-color: #AA3B3E !important;
}

/* Remove the icon from the View Order button on hover */
.woocommerce-button.view:hover::after {
    display: none; /* Hide the icon */
}

/* Add hover effect to WooCommerce category images */
.woocommerce ul.products li.product-category a img {
    transition: transform 0.3s ease, opacity 0.3s ease; /* Smooth transition for transform and opacity */
}
ul.products.columns-4 li.product-category a picture img {
    border: 2px solid #AA3B3E;
    border-radius: 5px; /* Adjust the radius as needed */
    overflow: hidden; /* Ensures no part of the image exceeds the border radius */
}

.woocommerce ul.products li.product-category a:hover img {
    transform: scale(1.1); /* Scale image on hover */
    opacity: 0.8; /* Change opacity on hover */
}


/* Custom Form Style (applies to both login and register) */
.custom-login-form, .custom-register-form {
    max-width: 400px;
    margin: 0 auto;
    background-color: #f7f7f7;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
}

.custom-login-form h2, .custom-register-form h2 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

.custom-login-form .woocommerce-form-row, .custom-register-form .woocommerce-form-row {
    margin-bottom: 20px;
}

.custom-login-form label, .custom-register-form label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #555;
}

.custom-login-form input[type="text"], .custom-login-form input[type="password"],
.custom-register-form input[type="text"], .custom-register-form input[type="email"],
.custom-register-form input[type="password"], .custom-register-form input[type="tel"] {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #fff;
    transition: border-color 0.3s ease;
}

.custom-login-form input[type="text"]:focus, .custom-login-form input[type="password"]:focus,
.custom-register-form input[type="text"]:focus, .custom-register-form input[type="email"]:focus,
.custom-register-form input[type="password"]:focus, .custom-register-form input[type="tel"]:focus {
    border-color: #1e87f0;
    outline: none;
}

.custom-login-form .woocommerce-button, .custom-register-form .woocommerce-button {
    width: 100%;
    padding: 12px;
    background-color: #3d3c42;
    color: #fff;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.custom-login-form .woocommerce-button:hover, .custom-register-form .woocommerce-button:hover {
    background-color: #AA3B3E;
}

.custom-login-form .form-row, .custom-register-form .form-row {
    text-align: center;
}

.custom-login-form .form-row span.required, .custom-register-form .form-row span.required {
    color: red;
}

.custom-login-form p.form-row, .custom-register-form p.form-row {
    margin-bottom: 0;
}

.woocommerce-error, .woocommerce-message, .woocommerce-info {
    background-color: #ffebe8;
    border-left: 3px solid #d54e21;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    color: #333;
}

.woocommerce-error li {
    margin-left: 0;
}

.woocommerce-error:before {
    content: "\f071";
    font-family: "FontAwesome";
    margin-right: 5px;
    color: #d54e21;
}

/* Container for form links (login & register) */
.login-links, .register-links {
    margin-top: 20px;
    text-align: center;
}

.login-links a, .register-links a, .already-registered а {
    display: inline-block;
    margin-top: 10px;
    color: #0071a1;
    font-size: 14px;
    text-decoration: none;
}

.login-links a:hover, .register-links a:hover, .already-registered а {
    color: #005880;
    text-decoration: underline;
}



/*BLOG POST CREATION FORM*/
/* Style the form container */
.post-upload form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Style each form field label */
.post-upload form label {
    font-size: 16px;
    color: #333;
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

/* Style the input fields */
.post-upload form input[type="text"],
.post-upload form input[type="file"],
.post-upload  input[type="date"],
.post-upload form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

/* Add hover and focus effects to inputs */
.post-upload form input[type="text"]:focus,
.post-upload form input[type="file"]:focus,
.post-upload form input[type="date"]:focus,
.post-upload form textarea:focus {
    border-color: #0073aa;
    outline: none;
}

/* Style the textarea */
.post-upload form textarea {
    resize: vertical;
    min-height: 120px;
}

/* Style the submit button */
.post-upload form button[type="submit"] {
    display: inline-block;
    background-color: #3d3c42;
    color: white;
    font-size: 16px;
    font-weight: 600;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* Add hover effect to the button */
.post-upload form button[type="submit"]:hover {
    background-color: #AA3B3E;
}

/* Optional: Style the form headings */
.post-upload form h3 {
    font-size: 24px;
    color: #0073aa;
    margin-bottom: 20px;
    text-align: center;
}
.post-upload h3 {
    text-align: center;
}
/*END OF BLOG POST CREATION FORM*/




.woocommerce-shipping-methods {
    display: block; /* Ensure the shipping methods container is displayed */
}

.woocommerce-shipping-methods li {
    display: list-item; /* Show all items initially */
}

/* Hide items whose radio inputs are not checked */
.woocommerce-shipping-methods li:not(:has(input[type="radio"]:checked)) {
    display: none; /* Hide items without checked radio buttons */
}



/* Hide the original label */
#billing_address_1_field label {
    display: none; /* Hide the original label */
}



.custom-product-list {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.custom-product-info {
    flex: 0 1 100%;
    text-align: center;
    position: relative;
    background-color: #fff;
    margin-bottom: 20px;
    transition: 0.2s;
    -moz-transition: 0.2s;
    -webkit-transition: 0.2s;
    -o-transition: 0.2s;
}

.product-image {
    border-bottom: 1px solid #ececec;
    overflow: hidden;
}

.product-info {
    padding: 15px;
}
.product-name h2 {
    font-size: 20px;
    color: #000;
    font-weight: 600;
    line-height: 1.2;
}

.last-row-product {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.product-price del {
    color: #3bb77e;
}
.regular-price del bdi {
    /* color: red; */
    font-size: 15px;
    font-weight: 400;
}
.regular-price bdi {
    font-weight: bold;
    font-size: 20px;
}
.sale-price {
    font-weight: bold;
    font-size: 20px;
}
.add-to-cart {
    color: #FFFFFF !important;
    border-width: 0px !important;
    border-color: #e31e25;
    border-radius: 10px;
    letter-spacing: 0px;
    font-size: 14px;
    font-weight: 700 !important;
    background-color: #AA3B3E;
    padding: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
}
.add-to-cart:hover {
    background-color: #3d3c42;
}
.add-to-cart i {
    margin-right: 5px;
}
.et-cart-info {
    display: none;
}



.menu-category .products {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.menu-category .products li {
    width: 31% !important;
    margin-right: 3% !important;
    margin-bottom: 3% !important;
    border: 1px solid #ECECEC;
    border-radius: 15px;
    overflow: hidden;
}
.menu-category .products li.last {
    margin-right: 0% !important;
}
.menu-category .woocommerce ul.products li.product a img {
    margin-bottom: 0px !important;
}
.menu-category a.added_to_cart {
    display: none !important;
}
.left-product {
    text-align: left;
}
.right-button-cart form {
    margin: 0px !important;
    padding: 0px !important;
}
.product-price span {
    color: #000000;
}
.product-weight p {
    color: #000000;
}
.product-weight {
    margin-top: -5px;
}

/*NEWS SLIDER*/


.news-block .et-pb-controllers, .et-pb-slider-arrows{
    display: none;
}

/* Ensure the original image behaves as expected */
.et_pb_slide_image img {
    cursor: zoom-in;
    transition: transform 0.3s ease-in-out;
    max-width: 100%;
}

/* The zoomed image that will be displayed outside the container */
.zoomed-image {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -45%) scale(0.4); /* Centered and zoomed */
    z-index: 9999998;
    max-width: none;
    max-height: none;
    width: auto;
    height: auto;
    cursor: zoom-out;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5); /* Optional: adds shadow around the image */
}

/* Dark background overlay */
.zoomed-overlay {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 99998;
    overflow: auto;
}

/* Display overlay and zoomed image when active */
.zoomed-overlay.active,
.zoomed-image.active {
    display: block; /* Show when active */
}



/* END OF NEWS SLIDER*/

/* PROFILE DASHBOARD */
.woocommerce-MyAccount-content-custom {
    max-width: 800px;
    margin: 0 auto;
    font-family: Arial, sans-serif;
    color: #333;
    text-align: center;
}

.woocommerce-MyAccount-content-custom h2,
.woocommerce-MyAccount-content-custom h3 {
    color: #c0392b;
}

.woocommerce-MyAccount-content-custom h2 {
    font-size: 1.8em;
    margin-bottom: 10px;
}

.woocommerce-MyAccount-content-custom h3 {
    font-size: 1.4em;
    margin-top: 20px;
    border-bottom: 2px solid #bdc3c7; /* Add a border for separation */
    padding-bottom: 5px; /* Space below the heading */
}

.woocommerce-MyAccount-content-custom p,
.woocommerce-MyAccount-content-custom ul {
    line-height: 1.6; /* Ensure proper line height for readability */
    margin: 0; /* Remove default margin to prevent extra spacing */
}

/* Profile summary list */
.woocommerce-MyAccount-content-custom ul {
    list-style-type: none; /* Remove bullet points */
    padding: 0; /* Remove padding */
    margin: 20px 0; /* Add margin to separate from other content */
}

.woocommerce-MyAccount-content-custom ul li {
    margin: 5px 0; /* Space between list items */
}

/* Style for strong elements */
.woocommerce-MyAccount-content-custom ul li strong {
    color: #2c3e50; /* Change color for emphasis */
}

/* Quick links */
.woocommerce-MyAccount-content-custom a {
    color: #2980b9; /* Link color */
    text-decoration: none;
    font-weight: bold;
}

.woocommerce-MyAccount-content-custom a:hover {
    text-decoration: underline; /* Underline on hover */
}

/* Recent orders styling */
.woocommerce-MyAccount-content-custom .recent-orders ul li {
    border-bottom: 1px solid #ecf0f1; /* Separator line */
    padding: 5px 0; /* Space for each item */
}

.woocommerce-MyAccount-content-custom .recent-orders ul li a {
    color: #27ae60; /* Order link color */
}

.woocommerce-MyAccount-content-custom .recent-orders ul li a:hover {
    color: #2ecc71; /* Color change on hover */
}

/* Additional spacing and alignment */
.woocommerce-MyAccount-content-custom .woocommerce-notices-wrapper {
    margin-bottom: 20px; /* Space below notices */
}
/*END PROFILE DASHBOARD*/

/*CHECKOUT PAGE CUSTOMIZATION*/
.woocommerce-info {
    background-color: #AA3B3E !important;
}

.woocommerce-info a {
    color: #AA3B3E;
}
.woocommerce-info a:hover {
    color: #940A0D;
}


.woocommerce-shipping-fields {
    display: none;
}


/* General Checkout Page Styles */
.woocommerce-checkout {
    /*background-color: #f4f4f4;*/
    font-family: Arial, sans-serif;
    color: #3d3c42;
}

/* Form Fields */
.woocommerce-checkout input[type="text"],
.woocommerce-checkout input[type="email"],
.woocommerce-checkout input[type="tel"],
.woocommerce-checkout input[type="password"],
.woocommerce-checkout select,
.woocommerce-checkout textarea {
    background-color: #ffffff;
    border: 1px solid #dcdcdc;
    color: #3d3c42;
    padding: 10px;
    border-radius: 5px;
    font-size: 14px;
}

/* 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 select:focus,
.woocommerce-checkout textarea:focus {
    border-color: #AA3B3E;
    box-shadow: 0 0 5px rgba(170, 59, 62, 0.5);
}

/* Read-Only Fields */
.woocommerce-checkout input[readonly],
.woocommerce-checkout select[readonly],
.woocommerce-checkout textarea[readonly] {
    background-color: #f7f7f7;
    border: 1px solid #ddd;
    color: #aaa;
}

/* Disabled Fields */
.woocommerce-checkout input[disabled],
.woocommerce-checkout select[disabled],
.woocommerce-checkout textarea[disabled] {
    background-color: #f4f4f4;
    color: #ccc;
    cursor: not-allowed;
}


/* Shipping Method & Payment Method Section */
.woocommerce-checkout .woocommerce-shipping-methods .shipping {
    font-size: 16px;
    font-weight: bold;
    color: #3d3c42;
}

.woocommerce-checkout .woocommerce-payment-methods .payment_method {
    font-size: 16px;
    font-weight: bold;
    color: #3d3c42;
}

/* Order Summary */
.woocommerce-checkout .order-total {
    font-size: 20px;
    font-weight: bold;
    color: #AA3B3E;
}

/* Section Headings */
.woocommerce-checkout h3 {
    color: #AA3B3E;
}

/* Form Labels */
.woocommerce-checkout label {
    color: #3d3c42;
    font-weight: bold;
}

/* Error Messages */
.woocommerce-error {
    background-color: #FDE8E6;
    border-color: #F5C2C4;
    color: #AA3B3E;
    padding: 10px;
    border-radius: 5px;
}

/* Success Messages */
.woocommerce-message {
    background-color: #E6F7F0;
    border-color: #B0E6C6;
    color: #3d3c42;
    padding: 10px;
    border-radius: 5px;
}
input[readonly],
textarea[readonly],
select[readonly] {
    background-color: #f0f0f0;  /* Light gray background to indicate readonly */
    border: 1px solid #ccc;      /* Light border to show the field is still active */
    color: #666;                 /* Gray text to indicate the field is not editable */
    cursor: not-allowed;         /* Show a not-allowed cursor to show the field is disabled */
}

input[readonly]:hover,
textarea[readonly]:hover,
select[readonly]:hover {
    background-color: #f0f0f0;  /* Same background when hovering */
    border: 1px solid #ccc;      /* Keep the same border when hovering */
    cursor: not-allowed;         /* Keep the same cursor on hover */
}
/*END OF CHECKOUT PAGE CUSTOMIZATION*/

@media screen and (max-width: 1200px) and (min-width: 600px) {
    .et-db #et-boc .et-l .menu-category.et_pb_shop ul.products.columns-3 li.product {
        width: 46% !important;
        margin: 0 1.5% !important;
        margin-bottom: 3% !important;
    }
    .woocommerce ul.products li.last, .woocommerce-page ul.products li.last {
        /*margin-right: 3% !important;*/
    }

}

@media only screen and (max-width: 767px) {
    .et_pb_slide_image {
        display: block !important; /* Make the image visible */
        position: relative !important; /* Override position settings */
        margin: 50px auto 0 !important; /* Override margin */
        padding: 0 !important; /* Remove any padding */
        margin-top: 6% !important; /* Adjust margin-top if needed */
    }

    .et_pb_slider_container_inner {
        display: flex !important;
        flex-direction: column; /* Stacks the children vertically */
        justify-content: center; /* Centers the content */
        align-items: center; /* Centers the content */
    }

    .et_pb_slide_description {
        order: -1; /* Makes sure the description appears first */
        margin-bottom: 20px; /* Adds some space below the description */
    }

    .et_pb_slide_image {
        display: block !important; /* Ensures the image displays as block */
        margin: 0 auto; /* Centers the image */
        max-width: 100%; /* Ensures the image is responsive */
        height: auto; /* Maintains the aspect ratio */
    }
    .zoomed-image {
        transform: translate(-50%, -45%) scale(0.3); /* Centered and zoomed */
    }
}


/* Responsive: Adjust padding for smaller screens */
@media (max-width: 768px) {
    form {
        padding: 15px;
    }

    form h3 {
        font-size: 20px;
    }

    form button[type="submit"] {
        width: 100%;
        padding: 12px;
    }
    .category-list {
        display: none; /* Hide by default on mobile */
    }
    .toggle-categories {
        display: block; /* Show the toggle button on mobile */
    }
}


@media (max-width: 480px) {
    .et-db #et-boc .et-l .et_pb_shop ul.products.columns-1 li.product,
    .et-db #et-boc .et-l .et_pb_shop ul.products.columns-2 li.product,
    .et-db #et-boc .et-l .et_pb_shop ul.products.columns-3 li.product,
    .et-db #et-boc .et-l .et_pb_shop ul.products.columns-4 li.product,
    .et-db #et-boc .et-l .et_pb_shop ul.products.columns-5 li.product,
    .et-db #et-boc .et-l .et_pb_shop ul.products.columns-6 li.product {
        width: 100% !important;
        margin-right: 0 !important;
    }
}
.hidden { display: none !important; }


@media only screen and (max-width: 980px) {
    html {
        overflow-x: hidden; /* Prevent horizontal scrolling */
    }
}

@media (min-width: 981px) {
    .vertically-centered-column {
        margin-top: 0;
    }
    .category-list a {
        font-size: 16px;
        padding: 10px;
    }
}

/* Show Header-Mobile at 940px and below */
@media only screen and (max-width: 1246px) {
    .header-mobile {
        display: block !important;
    }
    .header-desktop {
        display: none !important;
    }
}

/* Show Header-Desktop above 940px */
@media only screen and (min-width: 1247px) {
    .header-mobile {
        display: none !important;
    }
    .header-desktop {
        display: block !important;
    }
}

@media screen and (max-width: 600px) {
    .homepage-background {
        background-image: url('https://www.lapizzetta-varna.com/wp-content/uploads/pizza-background-wallpaper-700.webp'); !important;
    }

    .et-db #et-boc .et-l .menu-category.et_pb_shop ul.products.columns-3 li.product {
        width: 100% !important;
        margin-right: 0% !important;
    }
}

@media (min-width: 601px) and (max-width: 1200px) {
    .homepage-background {
        background-image: url('https://www.lapizzetta-varna.com/wp-content/uploads/pizza-background-wallpaper-1200.webp'); !important;
    }
}

@media (min-width: 1201px) {
    .homepage-background {
        background-image: url('https://www.lapizzetta-varna.com/wp-content/uploads/pizza-background-wallpaper.webp'); !important;
    }
}
