/*
 Theme Name: Divi Child
 Theme URI: https://www.elegantthemes.com/gallery/divi/
 Description: Ecomme base child theme
 Author: DKN Media
 Author URI: https://www.elegantthemes.com
 Template: Divi
 Version: 1.0.0
*/
 
/* =Theme customization starts here
------------------------------------------------------- */

:root {
    --primary-color: #000; /* Change in seasonal CSS */
    --background-color: #ffffff;
  	--secondary-color: #B90E47;
  	--heading-color: #000;
  	--text-color: #242424;
}


.container, .et-db #et-boc .et-l .container, .et-db #et-boc .et-l .et_pb_row, .et-db #et-boc .et-l .et_pb_slider .et_pb_container, .et-db #et-boc .et-l .et_pb_fullwidth_section .et_pb_title_container, .et-db #et-boc .et-l .et_pb_fullwidth_section .et_pb_title_featured_container, .et-db #et-boc .et-l .et_pb_fullwidth_header:not(.et_pb_fullscreen) .et_pb_fullwidth_header_container {
	width: 80vw;
}

/* BASE CSS */
* {
    margin: 0;
    padding: 0;
}

*,
*::after,
*::before {
    box-sizing: inherit;
}

html {
    box-sizing: border-box;
    font-size: 62.5%;
}

@media only screen and (max-width: 68.75em){html{font-size:50%}}

body {
	
    /*font-family: Comfortaa, Arial, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen-Sans, Ubuntu, Cantarell, Helvetica Neue, sans-serif;*/
	font-size: 1.6rem;
    font-weight: 300;
    line-height: 1.6;
    color: #242424;
}

.ct-headings {
	/*font-family: Comfortaa, sans-serif;*/
	font-weight: 500;
}

.ct-headings h1 {
	font-size: 4.2rem;
	line-height: 1.1;
}

.ct-headings h2 {
	font-size: 3.6rem;
	line-height: 1.2;
}

.ct-headings h3 {
	font-size: 3.2rem;
	line-height: 1.3;
}

.ct-headings h4 {
	font-size: 2.6rem;
	line-height: 1.4;
}

.ct-headings h5 {
	font-size: 2.4rem;
	line-height: 1.5;
}

/* START fix columns height */

.el-flex-row {
	display: flex;
	flex-wrap: wrap;
  }
  
  .el-flex-row .et_pb_column {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
  }

/* END fix columns height */
/* Start of custom message */
/* Custom Product Message Style */
.custom-product-message {
    background-color: rgba(255, 69, 0, 0.1); /* Light orange background */
    color: #ff4500; /* Dark orange text */
    border-left: 5px solid #ff4500; /* Bold left border */
    padding: 15px;
    margin-bottom: 20px;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
}

.custom-message-icon {
    background-color: #ff4500; /* Icon background color */
    color: white;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
    font-size: 1.4rem;
    font-weight: bold;
}

/* END OF STYLING CUSTOM MESSAGE */


/* Child Categories Styles */
.child-categories {
    width: 100%;
    margin: 20px 0;
    position: relative;
}

/* Style 1: With Images */
.child-categories.style-1 {
    display: flex;
    overflow-x: auto;
    padding: 20px 40px;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    position: relative;
}

.child-categories.style-1::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.style-1 .child-category-item {
    flex: 0 0 200px;
    margin: 0 10px;
    text-align: center;
}

.style-1 .child-category-item a {
    text-decoration: none;
    display: block;
}

.style-1 .child-category-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

.style-1 .child-category-item:hover img {
    transform: scale(1.05);
}

.style-1 .child-category-item span {
    display: block;
    text-align: center;
    color: #333;
    font-weight: 500;
}

.style-1::before,
.style-1::after {
    content: "";
    position: absolute;
    top: 0;
    width: 40px;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.style-1::before {
    left: 0;
    background: linear-gradient(to right, #fff, transparent);
}

.style-1::after {
    right: 0;
    background: linear-gradient(to left, #fff, transparent);
}

/* Style 2: Without Images */
.style-2 {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.style-2 .child-category-item {
    flex: 0 0 auto;
}

.style-2 .child-category-item a {
    display: inline-block;
    padding: 8px 16px;
    background: #f5f5f5;
    border-radius: 20px;
    color: #333;
    text-decoration: none;
    transition: background-color 0.3s;
}

.style-2 .child-category-item a:hover {
    background: #e0e0e0;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .child-categories.style-1 {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        overflow: visible;
        padding: 0;
    }
    
    .style-1::before,
    .style-1::after {
        display: none;
    }
    
    .style-1 .child-category-item {
        flex: none;
        margin: 0;
    }
    
    .style-2 {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .style-2 .child-category-item {
        width: 100%;
    }
    
    .style-2 .child-category-item a {
        display: block;
        text-align: center;
    }
}

/* Quantity choise width */
.et_pb_wc_add_to_cart .quantity input.qty {
    border: 0 solid #333 !important;
    width: 4.3em;
    max-width: none;
    padding: 12px 0px 12px 0px;
}

/* Space below price by quantity */
.wpcpq-wrap.wpcpq-wrap-67 {
    margin-bottom: 16px !important;
}

#commentform {
    margin-top: 18px;
    display: flex;
    flex-direction: column;
}

span#reply-title {
    margin-bottom: 18px;
}

/* WPC ADDONS */

.wpcpo-total {
    display: none;
}

.wpcpo-wrapper {
    margin-bottom: 36px !important;
    padding: 15px;
    background: #f7f7f7;
    border-radius: 6px;
    border-bottom: 3px solid #B90E46;
    box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, .1);
}

.et_pb_module.et_pb_code.et_pb_code_0_tb_body {
	margin-bottom: 36px !important;
    padding: 15px;
    background: #f7f7f7;
    border-radius: 6px;
    border-bottom: 3px solid #B90E46;
    box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, .1);
}

/* WPCLEVER STYLE */

.woocommerce form .form-row {
	margin-bottom: 18px !important;
}

/* PRODUCT TEXT INPUT STYLE */

input#wpcpo-679ca7b5e8609 {
    padding: 12px;
    border: 1px solid #000 !important;
    border-radius: 3px;
    width: -webkit-fill-available;
}

input#wpcpo-679ca76e8377f {
  	padding: 12px;
    border: 1px solid #000 !important;
    border-radius: 3px;
    width: -webkit-fill-available;
}

input#wpcpo-679ca7b5e8369 {
    border: 1px solid #000 !important;
    border-radius: 3px;
}

/* PAYMENT STYLES */
/* li.wc_payment_method {
    padding: 10px;
    background-color: #f8f8f8;
    color: black !important;
    border-radius: 3px;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, .3);
} */

li.wc_payment_method.payment_method_stripe {
    margin-bottom: 18px !important;
}

/* .et_pb_wc_checkout_payment_info_0_tb_body #payment div.payment_box {
    background-color: black !important;
  	border-radius: 3px;
} */

/* p.form-row.woocommerce-SavedPaymentMethods-saveNew.woocommerce-validated {
    background: black !important;
    border-radius: 3px;
    padding: 5px;
} */

/* Footer Design */
@media (max-width: 980px) {
    .et_pb_menu--style-left_aligned .et_pb_menu__wrap {
        justify-content: flex-start;
    }
}

/* START FILTER CATEGORY GROW */
/* Targeted Hover Scale for Divi Plus Product Categories */
.et-db #et-boc .et-l .dipl_woo_product_category {
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.et-db #et-boc .et-l .dipl_woo_product_category:hover {
    transform: scale(1.05) !important;
    z-index: 9;
}
/* END FILTER CATEGORY GROW */
