.elementor-section{
    --e-global-color-primary:#3B2CA2 !important;
    --e-global-color-text:#324A6D !important;
}

/* OVERALL CSS */
.woocommerce-breadcrumb,.woocommerce-breadcrumb a{
    text-transform: uppercase !important;
    font-size: 14px !important;
    letter-spacing: 0.3px !important;
    color: #6B7280 !important;
}




.exp_comprd_sec .exppanel {
	padding: 0 3%;
	background-color: white;
    max-height: 0;
	overflow: hidden;
	transition: max-height 0.2s ease-out;
	border-bottom: 2px solid #adadad;
}
.exp_comprd_sec .exppanel:last-child{
	border-bottom: 0px solid #adadad;
}

.expcomppopup{
  display:none;
}

.expcomppopup .hidden-info-field{
display:none;
}	

.exp_loader{
	display:none;
}
.active.exp_loader{
	display:block;
}
.exp_comprd_sec{
	margin: 50px 0;
	border-top: 2px solid #adadad;
}
.expcomppopup .wpforms-container{
margin-bottom: 19px !important;
}
.exp_comprd_sec .expaccordion {
    background: transparent !important;
    border: 0 !important;
    font-size: 30px;
    outline: 0 !important;
    font-weight: 700;
    color: #1F2124 !important;
    display: block;
    text-align: center;
    width: 100%;
    position: relative;
    margin-bottom: 37px;
    margin-top: 37px;
}
.exp_comprd_sec .expaccordion::before{
	content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: #ffffff;
    left: 15px;
    top: 16px;
    border-top: 5px solid #adadad;
    border-left: 5px solid #adadad;
    transform: rotate(225deg);
}
.exp_comprd_sec .expaccordion.active::before{
    transform: rotate(45deg);
    top: 25px !important;
}
.exp_comprd_sec .product-box{
	border: 2px solid #cecece;
	padding: 10px;
	text-align: center;
}
.exp_comprd_sec .product-box img{
	width: 100%;
	/*height: 260px;*/
	height: auto;
}
.exp_comprd_sec .product-box h3{
	color: #144a7e;
	font-size:18px;
	font-weight: 600;
	margin-bottom: 0px;
}
.exp_comprd_sec .comp_prd_item {
    display: grid;
    grid-template-columns: 1fr auto 1fr 1fr;
    margin-bottom: 50px;
    gap: 30px;
    align-items: center;
}
.exp_comprd_sec .jointsetion img{
	width: 85px;
}
.exp_comprd_sec .pricesec {
    display: flex;
    flex-direction: column;
    padding: 15%;
    align-items: center;
    gap: 20px;
}
.exp_comprd_sec .price{
display:flex;
gap:5px;
align-items:center;
justify-content:center;
}
.exp_comprd_sec .price span,
.exp_comprd_sec .pricesec .woocommerce-Price-amount {
    font-size: 18px;
    font-weight: 800;
    color: #144a7e;
}
.exp_comprd_sec .pricesec .contact_popup_open{
	font-size: 15px;
    font-weight: 400;
    color:#fff !important;
    background-color: #144A7E !important;
    border:2px solid #144A7E !important;
    border-radius: 100px 100px 100px 100px;
    padding: 16px 55px 16px 55px;
    outline: 0 !important;
}
.exp_comprd_sec .pricesec .contact_popup_open:focus,
.exp_comprd_sec .pricesec .contact_popup_open:hover{
	color: #F01F15 !important;
    background-color: #FFFFFF !important;
    border:2px solid #F01F15 !important;
}
.expcomppopup.active {
    display: flex;
    background: #00000057;
    position: fixed;
    top: 0;
    height: 100vh;
    z-index: 999;
    width: 100%;
}
.expcomppopup_inner_main {
    width: 100%;
    max-width: 51vw;
    margin: auto;
    background: #fff;
    padding: 30px;
    position: relative;
}
.topsec {
    position: absolute;
    right: 15px;
    top: 15px;
}
.topsec i{
	font-size: 20px !important;
	color: #000000 !important; 
}
.expcomppopup .close {
    text-align: right;
}
.expcomppopup .wpforms-head-container {
    padding-bottom: 10px !important;
}
.expcomppopup .wpforms-title {
    color: #000000 !important;
    font-size: 19px !important;
    font-weight: 600 !important;
    line-height: 20px !important;
    text-align: center;
    letter-spacing: -0.37px;
    padding-bottom: 15px !important;
    border-bottom: 2px solid #467ff7 !important;
    margin: 0px 0px 35px !important;

}
.expcomppopup .wpforms-description{
	color: #000000 !important;
	width: 80% !important;
    margin: 0 auto !important;
    font-size: 18px !important;
    font-weight: 600 !important;
}
.expcomppopup .wpforms-submit-container,
.expcomppopup .wpforms-field-container {
    width: 80% !important;
    margin: 0 auto !important;
}
.expcomppopup .wpforms-submit-container{
	text-align: center !important;
}
.expcomppopup .wpforms-field-container textarea,
.expcomppopup .wpforms-field-container input{
	width: 100% !important;
	max-width: 100% !important;
	color: #000000 !important;
	border-color: #0E4BD5 !important;
    border-width: 0px 0px 1px 0px !important
}
.expcomppopup ::placeholder {
  color: #656565 !important;
  opacity: 1 !important; /* Firefox */
}

.expcomppopup ::-ms-input-placeholder,
.expcomppopup ::-ms-input-placeholder{
  color: #656565 !important;
  opacity: 1 !important;
}
.expcomppopup .wpforms-field-container textarea:focus,
.expcomppopup .wpforms-field-container input:focus{
	border-color: #c8d5dc !important;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1) !important;
    outline: 0 !important;
}
.expcomppopup .wpforms-submit-container .wpforms-submit {
    font-size: 16px !important;
    font-weight: 500 !important;
    text-transform: capitalize !important;
    letter-spacing: 0px !important;
    border-style: solid;
    border-width: 1px 1px 1px 1px !important;
    border-radius: 0px 0px 0px 0px;
    padding: 10px 50px 10px 50px !important;
    text-align: center !important;
    transition: all .3s;
    background: #144a7e !important;
    outline: 0 !important;
    height: 50px !important;
    margin-top: 15px !important;
}
.expcomppopup .wpforms-submit-container .wpforms-submit::after{
	display: none !important;
}
.expcomppopup .wpforms-submit-container .wpforms-submit:focus,
.expcomppopup .wpforms-submit-container .wpforms-submit:hover {
    
    background: #467ff7 !important;
    outline: 0 !important;
}
@media screen and (max-width:1024px){
	.expcomppopup_inner_main {
	    max-width: 90vw;
	}
}
@media screen and (max-width:767px){
	.exp_comprd_sec .comp_prd_item {
    	grid-template-columns: 1fr auto 1fr;
    	padding-bottom: 50px;
    	border-bottom: 2px solid #adadad;
	}
	.exp_comprd_sec .comp_prd_item:last-child {
    	border-bottom: 0px solid #adadad;
    	padding-bottom: 0px;
	}
	.exp_comprd_sec .jointsetion,
	.exp_comprd_sec .product-box{
		grid-column: span 1;
		grid-row: span 1;
	}
	.exp_comprd_sec .pricesec{
		grid-column: span 3;
		grid-row: span 1;
		padding: 0px !important;
	}
	.expcomppopup_inner_main {
	    width: 95%;
	}
	.expcomppopup .wpforms-description{
		width: 100% !important;
	}
	.expcomppopup .wpforms-submit-container,
	.expcomppopup .wpforms-field-container {
	    width: 100% !important;
	}
}
@media screen and (max-width:575px){
	.exp_comprd_sec .product-box img{
		height: auto;
	}
	.exp_comprd_sec .jointsetion img {
	    width: 30px;
	}
	.exp_comprd_sec .comp_prd_item {
    	gap:15px;
	}
	.exp_comprd_sec .product-box h3 {
	    font-size: 14px;
	}
	.exp_comprd_sec .expaccordion {
	    font-size: 22px;
	    margin-bottom: 15px;
	    margin-top: 15px;
	}
	.exp_comprd_sec .expaccordion::before {
	    width: 15px;
	    height: 15px;
	    border-top: 3px solid #7f7c7c;
	    border-left: 3px solid #7f7c7c;
	}
	.expcomppopup .wpforms-submit-container .wpforms-submit {
	    padding: 10px !important;
        display: block !important;
        width: 100% !important;
        text-wrap: pretty;
        height: auto !important;
        line-height: 24px;
	}
}
@media screen and (min-width:1200px){
	.expcomppopup .wpforms-title {
	    margin: 0px 30px 35px !important;

	}
}


/* saurabh9560 */

/* Elementor Element Color Vars */
.elementor-element {
    --links-normal-color: #3B2CA2 !important;
    --tables-links-normal-color: #3B2CA2 !important;
    --tables-buttons-border-color: #3B2CA2 !important;
}

/* Custom styles for Elementor Section */
.elementor-39 .elementor-element.elementor-element-90d23c4:not(.elementor-motion-effects-element-type-background) {
    background-image: linear-gradient(to right, #FF3300, #3200FF);
}

/* Custom styles for Elementor Nav Menu */
.elementor-39 .elementor-element.elementor-element-9d43b41 .elementor-nav-menu--dropdown li:not(:last-child){
    border: 0.5px solid #E8ECFF !important;
}

.elementor-39 .elementor-element.elementor-element-9d43b41 .elementor-nav-menu--dropdown a,
.elementor-39 .elementor-element.elementor-element-9d43b41 .elementor-menu-toggle {
    color: #3B2CA2 !important;
    font-weight: 500;
}

.elementor-39 .elementor-element.elementor-element-9d43b41 .elementor-nav-menu--dropdown {
    box-shadow: 0 8px 25px rgba(59, 44, 162, 0.15);
    background: linear-gradient(135deg, #FFFFFF 0%, #F0F2FF 100%);
    border: none;
    border-radius: 4px;
}

.elementor-39 .elementor-element.elementor-element-9d43b41 .elementor-nav-menu--dropdown a:hover {
    color: #D9461C !important;
    background-color: rgba(217, 70, 28, 0.07) !important;
}

/* Enhanced My Account nav styles */
.elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce .woocommerce-MyAccount-navigation ul li a {
    background: none !important;
    color: #667199 !important;
    border-radius: 0 !important;
    transition: all 0.3s ease !important;
    font-family: "Poppins", Sans-serif !important;
    font-weight: 500 !important;
    text-transform: capitalize !important;
    letter-spacing: 0.3px !important;
    font-size: 14px !important;
    padding: 16px 20px !important;
    border-left: none !important;
}

.elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce .woocommerce-MyAccount-navigation ul li:not(.is-active) a:hover {
    color: #3B2CA2 !important;
    background-color: #f5f7fd !important;
    transform: translateX(4px) !important;
    font-weight: 600 !important;
}

.elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce .woocommerce-MyAccount-navigation ul li.is-active a {
    color: #3B2CA2 !important;
    background-color: #f5f7fd !important;
    font-weight: 600 !important;
    border-left: none !important;
    padding-left: 20px !important;
}

/* Enhanced typography for navigation text spans */
.woocommerce-MyAccount-navigation .wcmamtx_sticky_icon_name {
    text-transform: capitalize !important;
    letter-spacing: 0.4px !important;
    font-family: "Poppins", Sans-serif !important;
    font-weight: inherit !important;
    transition: all 0.3s ease !important;
}

/* Additional enhancements for better visual hierarchy */
.elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce .woocommerce-MyAccount-navigation ul li a:focus {
    outline: 2px solid #3B2CA2 !important;
    outline-offset: -2px !important;
    color: #3B2CA2 !important;
}

.woocommerce-MyAccount-navigation {
    border: 1px solid #E4E8F5;
    border-radius: 12px;
    padding: 0;
    background: #FFFFFF;
    box-shadow: 0 4px 16px rgba(59, 44, 162, 0.08);
    overflow: hidden;
    transition: all 0.3s ease !important;
}

.woocommerce-MyAccount-navigation:hover {
    box-shadow: 0 6px 20px rgba(59, 44, 162, 0.12) !important;
    border-color: rgba(59, 44, 162, 0.2) !important;
}

/* Navigation list styling */
.woocommerce-MyAccount-navigation ul {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

/* Navigation items */
.woocommerce-MyAccount-navigation li {
    margin: 0 !important;
    border-bottom: 1px solid #F1F5F9 !important;
    transition: all 0.3s ease !important;
}

.woocommerce-MyAccount-navigation li:last-child {
    border-bottom: none !important;
}

/* Navigation links */
.woocommerce-MyAccount-navigation li a {
    display: flex !important;
    align-items: center !important;
    padding: 16px 20px !important;
    color: #667199 !important;
    text-decoration: none !important;
    font-family: "Poppins", Sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-transform: capitalize !important;
    letter-spacing: 0.3px !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    border-radius: 0 !important;
    background: none !important;
}

/* Hide existing FontAwesome icon for wishlist */
.woocommerce-MyAccount-navigation-link--wishlist a i.fa {
    display: none !important;
}

/* Hover effects */
.woocommerce-MyAccount-navigation li:hover {
    background: rgba(59, 44, 162, 0.05) !important;
}

.woocommerce-MyAccount-navigation li a:hover {
    color: #3B2CA2 !important;
    padding-left: 28px !important;
    font-weight: 600 !important;
    transform: translateX(2px) !important;
}

.woocommerce-MyAccount-navigation li a:hover::before {
    color: #3B2CA2 !important;
    transform: scale(1.15) !important;
}

.woocommerce-MyAccount-navigation li a:hover .wcmamtx_sticky_icon_name {
    color: #3B2CA2 !important;
    font-weight: 600 !important;
}

/* Active state styling */
.woocommerce-MyAccount-navigation li.is-active {
    background: transparent !important;
    border-left: none !important;
    position: relative !important;
}

.woocommerce-MyAccount-navigation li.is-active a {
    color: #3B2CA2 !important;
    font-weight: 700 !important;
    padding-left: 20px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.woocommerce-MyAccount-navigation li.is-active a::before {
    color: #3B2CA2 !important;
    transform: scale(1.1) !important;
}

.woocommerce-MyAccount-navigation li.is-active a .wcmamtx_sticky_icon_name {
    color: #3B2CA2 !important;
    font-weight: 700 !important;
}

/* Text span styling */
.woocommerce-MyAccount-navigation .wcmamtx_sticky_icon_name {
    flex: 1 !important;
    text-transform: capitalize !important;
    letter-spacing: 0.3px !important;
}

/* Animation for smooth transitions */
.woocommerce-MyAccount-navigation li a {
    position: relative !important;
    overflow: hidden !important;
}

.woocommerce-MyAccount-navigation li a::after {
    content: '' !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    height: 100% !important;
    width: 0px !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s ease !important;
}

.woocommerce-MyAccount-navigation li.is-active a::after {
    width: 4px !important;
}

/* WooCommerce Address box styles */
.woocommerce-Address,
.woocommerce-account .col2-set .u-column2.col-2 {
    background: #FFFFFF;
    border: 1px solid #E4E8F5;
    border-radius: 4px;
    padding: 2rem;
    position: relative;
    transition: all 0.3s ease-in-out;
    width: 47% !important;
}

.woocommerce-account .col2-set .u-column2.col-2{ 
    margin: 0px 20px;
    padding: 0 30px;
}

.e-my-account-tab.e-my-account-tab__dashboard #customer_login .u-column1.col-1 {
    width: 48%;
}

.e-my-account-tab.e-my-account-tab__dashboard #customer_login .u-column2.col-2 {
    border: none !important;
}


address{
    border: none !important;
}

/* WooCommerce Account Headings */
.elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce h2 {
    color: #667199 !important;
    font-size: 16px;
    font-weight: 600 !important;
    text-transform: uppercase;
}

/* Menu Cart Button */
a.elementor-menu-cart__toggle_button,
a.elementor-menu-cart__toggle_button:hover {
    background: none !important;
    box-shadow: none !important;
}



/* Hide CTA content */
.elementor-cta__content {
    display: none !important;
}

/* Softer background tone for section */
.elementor-39 .elementor-element.elementor-element-5ce046a:not(.elementor-motion-effects-element-type-background),
.elementor-39 .elementor-element.elementor-element-5ce046a > .elementor-motion-effects-container > .elementor-motion-effects-layer {
    background: linear-gradient(135deg, #F8F9FF 0%, #F0F2FF 100%) !important;
}


.elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce-Address address, .elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce-Addresses address {
   padding: 0px 0px 0px 0px !important;
   font-size: 18px !important;
    color:#667199 !important;
    font-weight: 500 !important;
    font-style: normal !important;
}

.elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce-Address .edit, .elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce-Addresses .edit{
    margin-left: 0px !important;
    color: #AAB4D9 !important;
}

.elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce a:hover{
    color: #3B2CA2 !important
}

.woocommerce-Address{
    padding-top: 30px !important;
    padding-bottom: 30px !important;
}

.elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce-MyAccount-content h2:first-of-type{
    margin: 0px !important;
    margin-bottom: 12px !important;
}


/* Primary Buttons */
.elementor-button,
.woocommerce-Button, .single_add_to_cart_button,.sib-default-btn,.woocommerce-form-login__submit, .elementor-72 .elementor-element.elementor-element-66bd3b4 .woocommerce .wc-proceed-to-checkout .checkout-button , #place_order, .button.wc-backward, .tinv-wishlist .tinvwl-table-manage-list .product-action button ,.elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce-address-fields .button{
    background: #D9461C !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 4px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease-in-out !important;
    padding: 16px 55px;
}

.elementor-button:hover,
.woocommerce-Button:hover, .single_add_to_cart_button:hover,.sib-default-btn:hover, .woocommerce-form-login__submit:hover, .elementor-72 .elementor-element.elementor-element-66bd3b4 .woocommerce .wc-proceed-to-checkout .checkout-button:hover,  #place_order:hover, .button.wc-backward:hover, .tinv-wishlist .tinvwl-table-manage-list .product-action button:hover, .elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce-address-fields .button:hover{
    background: #B23311 !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(217, 70, 28, 0.25) !important;
}
/* Outlined Button Variant */
.BTN-tuttiprod .elementor-button-link, .elementor-element-6e915c69 .elementor-button--view-cart  {
    color: #3B2CA2 !important;
    background: none !important;
    border: 1px solid #3B2CA2 !important;
    border-radius: 4px;
    box-shadow: none !important;
    transition: all 0.3s ease-in-out !important;
}

.BTN-tuttiprod .elementor-button-link:hover, .elementor-element-6e915c69 .elementor-button--view-cart:hover {
    background: #3B2CA2 !important; 
    color: #FFFFFF !important;
    box-shadow: 0 6px 16px rgba(59, 44, 162, 0.25) !important;
    border: 1px solid #3B2CA2 !important;
    transform: translateY(-1px);
}
/* Secondary Buttons */
.woocommerce-cart .shipping-calculator-form button[name="calc_shipping"]{
    background: #3B2CA2 !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 4px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease-in-out !important;
    padding: 12px 24px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}
.woocommerce-cart .shipping-calculator-form button[name="calc_shipping"]:hover {
    background: #412ec3 !important;
    box-shadow: 0 4px 12px rgba(61, 38, 235, 0.3) !important;
    transform: translateY(-1px);
}

.elementor-element-22f22951 .elementor-widget-wrap.elementor-element-populated::before, .elementor-element-c2d43e4 .elementor-widget-wrap.elementor-element-populated::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(59, 44, 162, 0.2); /* Change to your overlay color */
    pointer-events: none;
}

.sib_signup_box_inside_2 a{
    color: #3B2CA2 !important;
}



/* ---------------------- Categorie principali Color Fix --------------------- */

.elementor-67 .elementor-element.elementor-element-11eaa88 .jet-woo-categories .jet-woo-categories__inner-box:hover .jet-woo-categories-content {
    background-color:#412ec3 ;
}


.elementor-67 .elementor-element.elementor-element-11eaa88 .jet-woo-categories .jet-woo-categories__item:hover .jet-woo-category-img-overlay__hover {
    background-color: rgba(165, 160, 193, 0.3);
}


/* Cart Icon Fix */

body:not(.rtl) .elementor-39 .elementor-element.elementor-element-6e915c69 .elementor-menu-cart__toggle .elementor-button-icon .elementor-button-icon-qty[data-counter] {
    right: calc(50% - 20px);
}


.elementor-element-54b627e, .elementor-element-f0d186c {
	text-align: center;
}

.elementor-element-b7530cb {
	margin-bottom: 0 !important;
}

/* Search Bar Fix */

.dgwt-wcas-pd-price del, .dgwt-wcas-tpd-price del {
    text-decoration: none !important;
}

.dgwt-wcas-pd-price del .amount {
    font-size: 12px !important;
    font-size: 100%;
    text-decoration: line-through;
}

.dgwt-wcas-tpd-price del .amount {
    font-size: 11px !important;
    font-size: 100%;
    text-decoration: line-through;
}

.dgwt-wcas-tpd-price ins .amount {
    font-size: 14px !important;
    font-size: 100%;
}

.dgwt-wcas-details-space .dgwt-wcas-details-hr, .dgwt-wcas-details-space .dgwt-wcas-stock, .dgwt-wcas-details-space .dgwt-wcas-pd-addtc {
    display: none !important;
}

.dgwt-wcas-product-details .product-badges .condition-badge {
    position: absolute;
    top: 10px;
    left: 10px;
}

.dgwt-wcas-sp ins {
    text-decoration: none !important;
}

.dgwt-wcas-sp del {
    text-decoration: none !important;
}

.dgwt-wcas-sp bdi, .dgwt-wcas-sp bdi .woocommerce-Price-currencySymbol {
    font-size: 16px !important;
    font-weight: bold !important;
    opacity: 1 !important;
}

.dgwt-wcas-sp del bdi, .dgwt-wcas-sp del bdi .woocommerce-Price-currencySymbol {
    font-size: 11px !important;
    font-weight: normal !important;
    opacity: 1 !important;
    text-decoration: line-through !important;
}

.dgwt-wcas-tax-product-details {
    position: relative;
}

.dgwt-wcas-tax-product-details .product-badges {
    position: absolute;
    top: 10px;
    left: 10px;
}

.dgwt-wcas-tax-product-details .product-badges .condition-badge {
    padding: 4px 4px;
    font-size: 7px;
    min-width: 60px;
    gap: 6px;
    justify-content: right;
}

.dgwt-wcas-tax-product-details .product-badges .condition-badge::before {
    left: 2px !important;
}

.dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input {
    border-radius: 4px !important;
    font-family: "Poppins", Sans-serif !important;
}


/* Main card Redesign */
.elementor-menu-cart__product-image img{
    border-radius: 4px !important;
}
.elementor-element-6e915c69 .elementor-menu-cart__product-name a{
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #1F2937 !important;
    margin-bottom: 4px !important;
    line-height: 1.4;
}
.elementor-menu-cart__product-price span .product-quantity, .elementor-menu-cart__product-price{
    font-size: 13px !important;
    color: #718096 !important;
    font-weight: 600 !important;
}
.elementor-element-6e915c69 .elementor-menu-cart__subtotal{
    border-bottom: 0px !important;
    border-top: 1px solid #e2e8f0 !important;
}
.elementor-menu-cart__product{
    border-bottom: 1px solid #f1f5f9 !important
}
.elementor-menu-cart__subtotal{
    display: flex !important;
    justify-content: space-between !important;
}
.elementor-menu-cart__subtotal strong{
    font-family: "Poppins", Sans-serif !important;
    font-size: 14px !important;
    text-transform: uppercase;
    letter-spacing: 0.5px !important;
    font-weight: 700 !important;
}
.elementor-element-6e915c69 .elementor-menu-cart__subtotal {
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    color: #1F2937 !important;
}


/* ===== ELEMENTOR FORM STYLING (Ritiro Usato Form) ===== */

/* Fix gap issue between form fields */
.elementor-form .elementor-form-fields-wrapper {
    gap: 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
}

/* Preserve two-column layout for name and email fields */
.elementor-field-group-nome,
.elementor-field-group-email {
    display: inline-block !important;
    width: calc(50% - 5px) !important;
    vertical-align: top !important;
}

.elementor-field-group-nome {
    margin-right: 10px !important;
}

.elementor-field-group-email {
    margin-right: 0 !important;
}


/* Full width fields */
.elementor-field-group-oggetto,
.elementor-field-group-messaggio,
.elementor-field-group-privacy,
.elementor-field-type-recaptcha_v3 {
    width: 100% !important;
    display: block !important;
}

/* Input Fields Styling */
.elementor-form .elementor-field-textual,
.elementor-form input[type="text"],
.elementor-form input[type="email"],
.elementor-form input[type="tel"],
.elementor-form input[type="password"],
.elementor-form select,
.elementor-form textarea {
    width: 100% !important;
    padding: 12px 16px !important;
    border: 1px solid #d1d5db !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-family: "Poppins", Sans-serif !important;
    background: white !important;
    transition: all 0.2s ease !important;
    color: #1F2937 !important;
    box-shadow: 0 2px 8px rgba(59, 44, 162, 0.08) !important;
}

/* Input Focus States */
.elementor-form .elementor-field-textual:focus,
.elementor-form input[type="text"]:focus,
.elementor-form input[type="email"]:focus,
.elementor-form input[type="tel"]:focus,
.elementor-form input[type="password"]:focus,
.elementor-form select:focus,
.elementor-form textarea:focus {
    border-color: #667eea !important;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1) !important;
    outline: none !important;
    transform: translateY(-1px) !important;
}

/* Input Hover States */
.elementor-form .elementor-field-textual:hover,
.elementor-form input[type="text"]:hover,
.elementor-form input[type="email"]:hover,
.elementor-form input[type="tel"]:hover,
.elementor-form input[type="password"]:hover,
.elementor-form select:hover,
.elementor-form textarea:hover {
    border-color: #667eea  !important;
}

/* Placeholder Styling */
.elementor-form input::placeholder,
.elementor-form textarea::placeholder {
    color: #9ca3af !important;
    font-weight: 400 !important;
    opacity: 1 !important;
}


/* Field Groups */
.elementor-field-group {
    margin-bottom: 20px !important;
}



/* Textarea Specific */
.elementor-form textarea.elementor-field-textual {
    min-height: 120px !important;
    resize: vertical !important;
}



.elementor-field-type-acceptance input[type="checkbox"] {
    appearance: none !important;
    width: 18px !important;
    height: 18px !important;
    border: 2px solid #d1d5db !important;
    border-radius: 4px !important;
    background: #FFFFFF !important;
    cursor: pointer !important;
    position: relative !important;
    transition: all 0.3s ease !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
}

.elementor-field-type-acceptance input[type="checkbox"]:checked {
    border-color: #3B2CA2 !important;
    background: #3B2CA2 !important;
}

.elementor-field-type-acceptance input[type="checkbox"]:checked:after {
    content: '\f00c' !important;
    font-family: "Line Awesome Free" !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    color: #FFFFFF !important;
    font-size: 12px !important;
    font-weight: bold !important;
}


.elementor-field-type-acceptance label a {
    color: #3B2CA2 !important;
    text-decoration: underline !important;
    transition: color 0.3s ease !important;
}

/* reCAPTCHA Container */
.elementor-field-type-recaptcha_v3 {
    margin-bottom: 20px !important;
}

/* Form Validation Messages */
.elementor-message {
    padding: 12px 16px !important;
    border-radius: 8px !important;
    margin-bottom: 20px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
}

.elementor-message.elementor-message-success {
    background: rgba(34, 197, 94, 0.1) !important;
    border: 1px solid rgba(34, 197, 94, 0.3) !important;
    color: #166534 !important;
}

.elementor-message.elementor-message-error {
    background: rgba(239, 68, 68, 0.1) !important;
    border: 1px solid rgba(239, 68, 68, 0.3) !important;
    color: #991b1b !important;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .elementor-form {
        padding: 25px !important;
    }
    
    .elementor-form .elementor-field-textual,
    .elementor-form input[type="text"],
    .elementor-form input[type="email"],
    .elementor-form input[type="tel"],
    .elementor-form input[type="password"],
    .elementor-form select,
    .elementor-form textarea {
        padding: 14px 16px !important;
        font-size: 16px !important;
    }
    
    .elementor-form .elementor-button {
        width: 100% !important;
        padding: 18px !important;
        font-size: 16px !important;
    }
    
    .elementor-field-type-acceptance .elementor-field-subgroup {
        align-items: flex-start !important;
    }
    
    /* Keep two-column layout on tablets */
    .elementor-field-group-nome,
    .elementor-field-group-email {
        width: calc(50% - 10px) !important;
    }
}

@media (max-width: 480px) {
    .elementor-form {
        padding: 20px !important;
    }
    
    .elementor-form .elementor-field-textual,
    .elementor-form input[type="text"],
    .elementor-form input[type="email"],
    .elementor-form input[type="tel"],
    .elementor-form input[type="password"],
    .elementor-form select,
    .elementor-form textarea {
        padding: 12px 14px !important;
    }
    
    .elementor-widget-form .elementor-heading-title {
        font-size: 24px !important;
        margin-bottom: 25px !important;
    }
    
    /* Stack fields vertically on small mobile screens */
    .elementor-field-group-nome,
    .elementor-field-group-email {
        width: 100% !important;
        display: block !important;
    }
    
    .elementor-field-group-nome {
        margin-right: 0 !important;
        margin-bottom: 20px !important;
    }
}

.elementor-22001 .elementor-element.elementor-element-ac1f87c .elementor-field-group{
    justify-content: center !important;
}
#form-field-privacy{
    top: 5px;
}


/* ritiro-usato Page Redesign */

.service-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
    overflow: hidden !important;
}

.service-card::before {
    content: '' !important;
    position: absolute !important;
    top: -1 !important;
    left: 0 !important;
    right: 0 !important;
    height: 5px !important;
    background: linear-gradient(90deg, #4f46e5, #7c3aed) !important;
}

.service-card:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08) !important;
    border-color: #4f46e5 !important;
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card {
    animation: fadeInUp 0.4s ease-out;
}

.service-card:nth-child(1) { animation-delay: 0.05s; }
.service-card:nth-child(2) { animation-delay: 0.1s; }
.service-card:nth-child(3) { animation-delay: 0.15s; }

.contact-item {
    transition: background-color 0.2s ease !important;
}

.contact-item:hover {
    background-color: #f7fafc !important;
    border-radius: 4px !important;
}

@media screen and (max-width:767px){
    .e-my-account-tab.e-my-account-tab__dashboard #customer_login .u-column1.col-1, .woocommerce-account .col2-set .u-column2.col-2{
        width: 100% !important;
        padding: 0px !important;
        margin: 0px !important;
    }

    .elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce h2{
        margin-bottom: 0px !important;
    }

}

/* Cart Icon quantity position issue */

body:not(.rtl) .elementor-39 .elementor-element.elementor-element-6e915c69 .elementor-menu-cart__toggle .elementor-button-icon .elementor-button-icon-qty[data-counter] {
    top: -4px !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) translateX(10px);
}

/* ===== WISHLIST COMPONENT STYLING ===== */

/* Main wishlist container */
.tinv-wishlist.woocommerce.tinv-wishlist-clear {
    padding: 0px !important;
    font-family: "Poppins", Sans-serif !important;
    background: #FFFFFF;
    border: 1px solid #E4E8F5;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(59, 44, 162, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Wishlist header */
.tinv-wishlist .tinv-header {
    text-align: center;
    margin-bottom: 0px !important;
    position: relative;
}

.tinv-wishlist .tinv-header h2 {
    color: #1F2937 !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    margin: 0 !important;
    letter-spacing: -0.5px;
    position: relative;
}

/* Wishlist table styling */
.tinv-wishlist .tinvwl-table-manage-list {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    background: #FFFFFF !important;
    border-radius: 8px !important;
    overflow: hidden !important;
}

/* Table header */
.tinv-wishlist .tinvwl-table-manage-list thead {
    background: linear-gradient(135deg, #F8F9FF 0%, #F0F2FF 100%) !important;
}

.tinv-wishlist .tinvwl-table-manage-list thead th {
    padding: 20px 16px !important;
    font-family: "Poppins", Sans-serif !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #374151 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border: none !important;
    text-align: left !important;
    position: relative !important;
}

.tinv-wishlist .tinvwl-table-manage-list thead th:first-child {
    width: 60px !important;
    text-align: center !important;
}

.tinv-wishlist .tinvwl-table-manage-list thead th.product-thumbnail {
    width: 100px !important;
    text-align: center !important;
}

.tinv-wishlist .tinvwl-table-manage-list thead th.product-action {
    width: 180px !important;
    text-align: center !important;
}

/* Table body rows */
.tinv-wishlist .tinvwl-table-manage-list tbody tr.wishlist_item {
    background: #FFFFFF !important;
    border-bottom: 1px solid #F1F5F9 !important;
    transition: all 0.3s ease !important;
    position: relative !important;
}

.tinv-wishlist .tinvwl-table-manage-list tbody tr.wishlist_item:last-child {
    border-bottom: none !important;
}



/* Table cells */
.tinv-wishlist .tinvwl-table-manage-list tbody td {
    padding: 24px 16px !important;
    vertical-align: middle !important;
    border: none !important;
}

/* Remove button */
.tinv-wishlist .tinvwl-table-manage-list .product-remove {
    text-align: center !important;
    padding-right: 0 !important;
}

.tinv-wishlist .tinvwl-table-manage-list .product-remove button {
    background: none !important;
    border: none !important;
    color: #d6dce5 !important;
    font-size: 14px !important;
    cursor: pointer !important;
    padding: 8px !important;
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
    width: 36px !important;
    height: 36px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.tinv-wishlist .tinvwl-table-manage-list .product-remove button:hover {
    background: rgba(239, 68, 68, 0.1) !important;
    color: #EF4444 !important;
}

/* Product thumbnail */
.tinv-wishlist .tinvwl-table-manage-list .product-thumbnail {
    text-align: center !important;
}

.tinv-wishlist .tinvwl-table-manage-list .product-thumbnail img {
    width: 100px !important;
    height: auto !important;
    object-fit: cover !important;
    border-radius: 8px !important;
    border: 1px solid #E5E7EB !important;
    transition: all 0.3s ease !important;
}


/* Product name */
.tinv-wishlist .tinvwl-table-manage-list .product-name {
    padding-left: 20px !important;
}

.tinv-wishlist .tinvwl-table-manage-list .product-name a {
    color: #1F2937 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    line-height: 1.4 !important;
    transition: color 0.3s ease !important;
}

.tinv-wishlist .tinvwl-table-manage-list .product-name a:hover {
    color: #3B2CA2 !important;
}

/* Product price */
.tinv-wishlist .tinvwl-table-manage-list .product-price {
    text-align: center !important;
}

.tinv-wishlist .tinvwl-table-manage-list .product-price .woocommerce-Price-amount, .tinv-wishlist .tinvwl-table-manage-list .product-price .woocommerce-Price-currencySymbol {
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    color: #1F2937 !important;
    font-size: 17px !important;
    font-weight: 600 !important;
}

/* Stock status */
.tinv-wishlist .tinvwl-table-manage-list .product-stock {
    text-align: center !important;
    display: none;
}

.tinv-wishlist .tinvwl-table-manage-list .product-stock .stock {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 6px 12px !important;
    border-radius: 20px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    margin: 0 !important;
}

.tinv-wishlist .tinvwl-table-manage-list .product-stock .stock.in-stock {
    background: rgba(34, 197, 94, 0.1) !important;
    color: #166534 !important;
    border: 1px solid rgba(34, 197, 94, 0.2) !important;
}

.tinv-wishlist .tinvwl-table-manage-list .product-stock .stock.out-of-stock {
    background: rgba(239, 68, 68, 0.1) !important;
    color: #991B1B !important;
    border: 1px solid rgba(239, 68, 68, 0.2) !important;
}

.tinv-wishlist .tinvwl-table-manage-list .product-stock .stock i {
    font-size: 12px !important;
    margin-right: 0px !important;
}

/* Add to cart button */
.tinv-wishlist .tinvwl-table-manage-list .product-action {
    text-align: center !important;
    padding-right: 40px !important;
}

.tinv-wishlist .tinvwl-table-manage-list .product-action button {
    padding: 12px 20px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    font-family: "Poppins", Sans-serif !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}


.tinv-wishlist .tinvwl-table-manage-list .product-action button i {
    font-size: 14px !important;
}

.tinv-wishlist .tinvwl-table-manage-list .product-action button .tinvwl-txt {
    display: inline !important;
}



/* Empty state message */
.tinv-wishlist .cart-empty.woocommerce-info {
    background: linear-gradient(135deg, #F8F9FF 0%, #F0F2FF 100%) !important;
    border: 2px dashed #AAB4D9 !important;
    border-radius: 12px !important;
    padding: 50px 30px !important;
    text-align: center !important;
    color: #6B7280 !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    position: relative;
    overflow: hidden;
    margin: 40px !important;
}

.tinv-wishlist .cart-empty.woocommerce-info::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 44, 162, 0.03) 0%, transparent 70%);
    animation: wishlistPulse 4s ease-in-out infinite;
}

.tinv-wishlist .cart-empty.woocommerce-info::after {
    content: '\e922';
    font-family: "Line Awesome Free";
    font-weight: 900;
    display: block;
    font-size: 48px;
    opacity: 0.6;
     color: #9CA3AF !important;
}

/* Return to shop section */
.tinv-wishlist .return-to-shop {
    text-align: center !important;
    margin-bottom: 40px !important;
}

/* Return to shop button */
.tinv-wishlist .return-to-shop .button.wc-backward {
    padding: 16px 32px !important;
    position: relative !important;
    overflow: hidden !important;
    font-weight: 600 !important;
}

/* Animations */
@keyframes wishlistPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.03;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.06;
    }
}

@keyframes wishlistFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Responsive design */
@media (max-width: 1024px) {
    .tinv-wishlist .tinvwl-table-manage-list thead th.product-name .tinvwl-full {
        display: none !important;
    }
    
    .tinv-wishlist .tinvwl-table-manage-list thead th.product-name .tinvwl-mobile {
        display: inline !important;
    }
    
    .tinv-wishlist .tinvwl-table-manage-list .product-action button .tinvwl-txt {
        display: none !important;
    }
    
    .tinv-wishlist .tinvwl-table-manage-list .product-action button {
        padding: 12px !important;
        width: 44px !important;
        height: 44px !important;
        justify-content: center !important;
    }
}

@media (max-width: 768px) {
    .tinv-wishlist.woocommerce.tinv-wishlist-clear {
        padding: 20px 15px;
        margin: 15px 0;
        border-radius: 8px;
    }
    
    .tinv-wishlist .tinv-header h2 {
        font-size: 24px !important;
    }
    
    .tinv-wishlist .tinvwl-table-manage-list {
        font-size: 14px !important;
    }
    
    .tinv-wishlist .tinvwl-table-manage-list thead th {
        padding: 16px 12px !important;
        font-size: 12px !important;
    }
    
    .tinv-wishlist .tinvwl-table-manage-list tbody td {
        padding: 16px 12px !important;
    }
    
    .tinv-wishlist .tinvwl-table-manage-list .product-thumbnail img {
        width: 60px !important;
        height: 60px !important;
    }
    
    .tinv-wishlist .tinvwl-table-manage-list .product-name {
        padding-left: 12px !important;
    }
    
    .tinv-wishlist .tinvwl-table-manage-list .product-name a {
        font-size: 14px !important;
    }
    
    .tinv-wishlist .tinvwl-table-manage-list .product-price .woocommerce-Price-amount {
        font-size: 16px !important;
    }
    
    .tinv-wishlist .cart-empty.woocommerce-info {
        padding: 40px 20px !important;
        font-size: 16px !important;
    }
    
    .tinv-wishlist .cart-empty.woocommerce-info::after {
        font-size: 40px;
        margin-bottom: 12px;
    }
    
    .tinv-wishlist .return-to-shop .button.wc-backward {
        padding: 14px 28px !important;
        font-size: 15px !important;
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .tinv-wishlist.woocommerce.tinv-wishlist-clear {
        padding: 15px 10px;
    }
    
    .tinv-wishlist .tinv-header h2 {
        font-size: 22px !important;
    }
    
    /* Stack table layout for mobile */
    .tinv-wishlist .tinvwl-table-manage-list,
    .tinv-wishlist .tinvwl-table-manage-list thead,
    .tinv-wishlist .tinvwl-table-manage-list tbody,
    .tinv-wishlist .tinvwl-table-manage-list th,
    .tinv-wishlist .tinvwl-table-manage-list td,
    .tinv-wishlist .tinvwl-table-manage-list tr {
        display: block !important;
    }
    
    .tinv-wishlist .tinvwl-table-manage-list thead tr {
        position: absolute !important;
        top: -9999px !important;
        left: -9999px !important;
    }
    
    .tinv-wishlist .tinvwl-table-manage-list tr.wishlist_item {
        border: 1px solid #E5E7EB !important;
        border-radius: 8px !important;
        margin-bottom: 16px !important;
        padding: 16px !important;
        background: #FFFFFF !important;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) !important;
    }
    
    .tinv-wishlist .tinvwl-table-manage-list tr.wishlist_item:hover {
        transform: none !important;
    }
    
    .tinv-wishlist .tinvwl-table-manage-list td {
        border: none !important;
        padding: 8px 0 !important;
        position: relative !important;
        padding-left: 35% !important;
        text-align: left !important;
    }
    
    .tinv-wishlist .tinvwl-table-manage-list td:before {
        content: attr(data-label) !important;
        position: absolute !important;
        left: 0 !important;
        width: 30% !important;
        padding-right: 10px !important;
        white-space: nowrap !important;
        font-weight: 600 !important;
        color: #374151 !important;
        font-size: 12px !important;
        text-transform: uppercase !important;
    }
    
    .tinv-wishlist .tinvwl-table-manage-list .product-remove {
        position: absolute !important;
        top: 16px !important;
        right: 16px !important;
        padding: 0 !important;
    }
    
    .tinv-wishlist .tinvwl-table-manage-list .product-remove:before {
        display: none !important;
    }
    
    .tinv-wishlist .tinvwl-table-manage-list .product-thumbnail {
        text-align: left !important;
        padding-left: 0 !important;
    }
    
    .tinv-wishlist .tinvwl-table-manage-list .product-thumbnail:before {
        display: none !important;
    }
    
    .tinv-wishlist .tinvwl-table-manage-list .product-thumbnail img {
        width: 80px !important;
        height: 80px !important;
    }
    
    .tinv-wishlist .tinvwl-table-manage-list .product-name {
        padding-left: 0 !important;
    }
    
    .tinv-wishlist .tinvwl-table-manage-list .product-action {
        text-align: left !important;
    }
    
    .tinv-wishlist .tinvwl-table-manage-list .product-action button {
        width: 100% !important;
        justify-content: center !important;
        padding: 12px 16px !important;
    }
    
    .tinv-wishlist .tinvwl-table-manage-list .product-action button .tinvwl-txt {
        display: inline !important;
    }
    
    .tinv-wishlist .cart-empty.woocommerce-info {
        padding: 35px 15px !important;
        font-size: 15px !important;
    }
    
    .tinv-wishlist .return-to-shop .button.wc-backward {
        padding: 12px 24px !important;
        font-size: 14px !important;
    }
}

table.tinvwl-table-manage-list tbody>tr:nth-child(odd)>td, table.tinvwl-table-manage-list tbody>tr:nth-child(even)>td{
   background-color: hsl(0,0%,100%) !important;
}

.tinv-wishlist table.tinvwl-table-manage-list{
    margin-bottom: 0px !important;
}

table.tinvwl-table-manage-list tfoot{
    display: none !important;
}

.tinv-wishlist .product-thumbnail{
    min-width: 110px !important;
}

/* Override the default cross icon with Font Awesome delete icon */
.ftinvwl-times:before {
    content: "\f2ed" !important; /* Line Awesome trash icon */
    font-family: "Line Awesome Free" !important;
    font-weight: 900 !important;
    font-size: 18px !important;
}

.elementor-1907 .elementor-element.elementor-element-2c7c0d5 .woocommerce-breadcrumb{
    display: none !important;
}

.elementor-1907 .elementor-element.elementor-element-9ee8f71{
    padding: 3% 0% 1% 0% !important;
}

.tinv-wishlist .product-action .button{
    padding: 12px 10px !important;
    font-weight: 600 !important;
}

.CONT-righeamici section{
    border-bottom: 1px solid #9CA3AF !important;
}

/* ===== ACCOUNT FORM INPUT STYLES (cloned from checkout-page.css) ===== */

/* WooCommerce Account Form Fields */
.woocommerce-MyAccount-content .form-row input[type="text"],
.woocommerce-MyAccount-content .form-row input[type="email"],
.woocommerce-MyAccount-content .form-row input[type="tel"],
.woocommerce-MyAccount-content .form-row input[type="password"],
.woocommerce-MyAccount-content .form-row select,
.woocommerce-MyAccount-content .form-row textarea,
.woocommerce-EditAccountForm input[type="text"],
.woocommerce-EditAccountForm input[type="email"],
.woocommerce-EditAccountForm input[type="tel"],
.woocommerce-EditAccountForm input[type="password"],
.woocommerce-EditAccountForm select,
.woocommerce-EditAccountForm textarea,
.woocommerce-address-fields input[type="text"],
.woocommerce-address-fields input[type="email"],
.woocommerce-address-fields input[type="tel"],
.woocommerce-address-fields input[type="password"],
.woocommerce-address-fields select,
.woocommerce-address-fields textarea {
    font-family: "Poppins", Sans-serif !important;
    width: 100% !important;
    padding: 12px 16px !important;
    border: 1px solid #d1d5db !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    background: white !important;
    color: #374151 !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
}

/* Account Form Input Focus States */
.woocommerce-MyAccount-content .form-row input:focus,
.woocommerce-MyAccount-content .form-row select:focus,
.woocommerce-MyAccount-content .form-row textarea:focus,
.woocommerce-EditAccountForm input:focus,
.woocommerce-EditAccountForm select:focus,
.woocommerce-EditAccountForm textarea:focus,
.woocommerce-address-fields input:focus,
.woocommerce-address-fields select:focus,
.woocommerce-address-fields textarea:focus {
    outline: none !important;
    border-color: #667eea !important;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1) !important;
}

/* Account Form Input Placeholders */
.woocommerce-MyAccount-content .form-row input::placeholder,
.woocommerce-MyAccount-content .form-row textarea::placeholder,
.woocommerce-EditAccountForm input::placeholder,
.woocommerce-EditAccountForm textarea::placeholder,
.woocommerce-address-fields input::placeholder,
.woocommerce-address-fields textarea::placeholder {
    color: #9ca3af !important;
    font-weight: 400 !important;
}

/* Account Form Labels */
.woocommerce-MyAccount-content .form-row label,
.woocommerce-EditAccountForm .form-row label,
.woocommerce-address-fields .form-row label {
    font-family: "Poppins", Sans-serif !important;
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #374151;
    font-size: 14px;
}

.woocommerce-MyAccount-content .form-row label .required,
.woocommerce-EditAccountForm .form-row label .required,
.woocommerce-address-fields .form-row label .required {
    color: #e74c3c;
    margin-left: 2px;
}

/* Account Form Select Styling */
.woocommerce-MyAccount-content .form-row select,
.woocommerce-EditAccountForm .form-row select,
.woocommerce-address-fields .form-row select {
    font-family: "Poppins", Sans-serif !important;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 40px;
    appearance: none;
}

/* Password Input Container Styling */
.woocommerce-EditAccountForm .password-input {
    position: relative;
    display: inline-block;
    width: 100%;
}

.woocommerce-EditAccountForm .password-input input {
    padding-right: 45px !important;
}

.woocommerce-EditAccountForm .show-password-input {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    font-size: 16px;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.woocommerce-EditAccountForm .show-password-input:hover {
    color: #374151;
}

.elementor-element-c5af3fd button.woocommerce-Button.button, .elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce-address-fields .button{
    margin-top: 0px !important;
}

.woocommerce-EditAccountForm fieldset legend {
    font-family: "Poppins", Sans-serif !important;
    font-weight: 600;
    color: #1F2937;
    font-size: 16px;
    padding: 0 10px;
    background: white;
}

/* Form Grid Layout */
.woocommerce-EditAccountForm .form-row {
    margin-bottom: 20px;
    width: 100% !important;
}

.woocommerce-EditAccountForm .form-row-wide {
    grid-column: 1 / -1;
}

.woocommerce-EditAccountForm .form-row-first,
.woocommerce-EditAccountForm .form-row-last {
    width: calc(50% - 10px) !important;
    display: inline-block;
    vertical-align: top;
}

.woocommerce-EditAccountForm .form-row-first {
    margin-right: 20px;
}

.woocommerce-EditAccountForm .clear {
    clear: both;
    height: 0;
    overflow: hidden;
}

/* Responsive Design for Account Forms */
@media (max-width: 768px) {
    .woocommerce-EditAccountForm .form-row-first,
    .woocommerce-EditAccountForm .form-row-last {
        width: 100% !important;
        display: block;
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .woocommerce-EditAccountForm fieldset {
        padding: 15px;
        margin: 15px 0;
    }
    
    .woocommerce-MyAccount-content .form-row input[type="text"],
    .woocommerce-MyAccount-content .form-row input[type="email"],
    .woocommerce-MyAccount-content .form-row input[type="tel"],
    .woocommerce-MyAccount-content .form-row input[type="password"],
    .woocommerce-EditAccountForm input[type="text"],
    .woocommerce-EditAccountForm input[type="email"],
    .woocommerce-EditAccountForm input[type="tel"],
    .woocommerce-EditAccountForm input[type="password"],
    .woocommerce-address-fields input[type="text"],
    .woocommerce-address-fields input[type="email"],
    .woocommerce-address-fields input[type="tel"],
    .woocommerce-address-fields input[type="password"] {
        padding: 14px 16px !important;
        font-size: 16px !important;
    }
    
    .woocommerce-EditAccountForm .woocommerce-Button {
        width: 100%;
        padding: 18px 24px !important;
    }
}

@media (max-width: 480px) {
    .woocommerce-MyAccount-content .form-row input,
    .woocommerce-MyAccount-content .form-row select,
    .woocommerce-MyAccount-content .form-row textarea,
    .woocommerce-EditAccountForm input,
    .woocommerce-EditAccountForm select,
    .woocommerce-EditAccountForm textarea,
    .woocommerce-address-fields input,
    .woocommerce-address-fields select,
    .woocommerce-address-fields textarea {
        padding: 12px 14px !important;
    }
    
    .woocommerce-EditAccountForm fieldset {
        padding: 12px;
    }
    
    .woocommerce-EditAccountForm fieldset legend {
        font-size: 14px;
    }
}

/* ===== ACCOUNT NAVIGATION ICONS STYLING ===== */

/* Base styling for all account link icons */
.wcmamtx_dashboard_link .wcmtx_icon_src::before {
    font-family: "Line Awesome Free" !important;
    font-weight: 900 !important;
    font-size: 24px !important;
    display: block !important;
    text-align: center !important;
    margin-bottom: 8px !important;
    color: #667199 !important;
    transition: all 0.3s ease !important;
}

/* Individual icon assignments */
.wcmamtx_dashboard_link.dashboard-link .wcmtx_icon_src::before {
    content: "\f3fd" !important; /* dashboard icon */
}

.wcmamtx_dashboard_link.orders-link .wcmtx_icon_src::before {
    content: "\f07a" !important; /* shopping cart icon */
}

.wcmamtx_dashboard_link.edit-address-link .wcmtx_icon_src::before {
    content: "\f3c5" !important; /* map marker icon */
}

.wcmamtx_dashboard_link.edit-account-link .wcmtx_icon_src::before {
    content: "\f2bd" !important; /* user cog icon */
}

.wcmamtx_dashboard_link.customer-logout-link .wcmtx_icon_src::before {
    content: "\f2f5" !important; /* sign out icon */
}

.wcmamtx_dashboard_link.custom-link-191201-link .wcmtx_icon_src::before {
    content: "\f004" !important; /* heart icon for wishlist */
}

/* Account links container styling */
.wcmtx-my-account-links {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
    padding: 20px 0 !important;
}

/* Account link styling */
.wcmamtx_dashboard_link {
    background: #FFFFFF !important;
    border: 1px solid #E4E8F5 !important;
    border-radius: 12px !important;
    padding: 24px 16px !important;
    text-align: center !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    overflow: hidden !important;
}

.wcmamtx_dashboard_link::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 4px !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0) !important;
    transition: transform 0.3s ease !important;
}

.wcmamtx_dashboard_link:hover::before {
    transform: scaleX(1) !important;
}

.wcmamtx_dashboard_link:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 8px 25px rgba(59, 44, 162, 0.15) !important;
    border-color: #3B2CA2 !important;
}

.wcmamtx_dashboard_link:hover .wcmtx_icon_src::before {
    color: #3B2CA2 !important;
    transform: scale(1.1) !important;
}

.wcmamtx_dashboard_link a {
    text-decoration: none !important;
    color: #667199 !important;
    font-family: "Poppins", Sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    transition: color 0.3s ease !important;
    display: block !important;
}

.wcmamtx_dashboard_link:hover a {
    color: #3B2CA2 !important;
}

.wcmamtx_dashboard_link .wcmtx_icon_src {
    margin: 0 0 12px 0 !important;
    padding: 0 !important;
}

/* Responsive design for account navigation */
@media (max-width: 768px) {
    .wcmtx-my-account-links {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }
    
    .wcmamtx_dashboard_link {
        padding: 20px 12px !important;
    }
    
    .wcmamtx_dashboard_link .wcmtx_icon_src::before {
        font-size: 22px !important;
        margin-bottom: 6px !important;
    }
    
    .wcmamtx_dashboard_link a {
        font-size: 12px !important;
    }
}

@media (max-width: 480px) {
    .wcmtx-my-account-links {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    
    .wcmamtx_dashboard_link {
        padding: 16px 8px !important;
    }
    
    .wcmamtx_dashboard_link .wcmtx_icon_src::before {
        font-size: 20px !important;
        margin-bottom: 4px !important;
    }
    
    .wcmamtx_dashboard_link a {
        font-size: 11px !important;
        line-height: 1.2 !important;
    }
}
div.wcmtx-my-account-links a:hover{
    border: 0px;
}
.elementor-widget-woocommerce-my-account .e-my-account-tab__dashboard:not(.e-my-account-tab__dashboard--custom) .woocommerce-MyAccount-content-wrapper,.elementor-widget-woocommerce-my-account .e-my-account-tab__orders .woocommerce-MyAccount-content-wrapper{
    border: 1px solid #E4E8F5 !important;
    border-radius: 4px !important;
}

/* ===== ADDRESS EDIT ICON STYLING ===== */

/* Address header layout */
.woocommerce-Address-title.title {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 16px !important;
    position: relative !important;
}

/* Address edit links */
.woocommerce-Address-title .edit {
    color: transparent !important;
    font-size: 0 !important;
    text-decoration: none !important;
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    background: rgba(170, 180, 217, 0.15) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    margin-left: auto !important;
    margin-top: 0 !important;
    flex-shrink: 0 !important;
}

/* Add Font Awesome edit icon */
.woocommerce-Address-title .edit::before {
    content: "\f044" !important; /* Line Awesome edit icon */
    font-family: "Line Awesome Free" !important;
    font-weight: 900 !important;
    font-size: 16px !important;
    color: #AAB4D9 !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    transition: all 0.3s ease !important;
    z-index: 1 !important;
}

/* Hover effects */
.woocommerce-Address-title .edit:hover {
    background: rgba(59, 44, 162, 0.1) !important;
    transform: translateY(-1px) !important;
}

.woocommerce-Address-title .edit:hover::before {
    color: #3B2CA2 !important;
    transform: translate(-50%, -50%) scale(1.1) !important;
}

/* Address h2 styling with improved typography */
.woocommerce-Address-title h2 {
    margin: 0 !important;
    margin-top: 0 !important;
    flex: 1 !important;
    font-family: "Poppins", Sans-serif !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #1F2937 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    line-height: 1.2 !important;
}

/* Responsive design */
@media (max-width: 768px) {
    .woocommerce-Address-title.title {
        flex-direction: row !important;
        align-items: center !important;
        gap: 12px !important;
    }
    
    .woocommerce-Address-title .edit {
        width: 32px !important;
        height: 32px !important;
        margin-top: 0 !important;
    }
    
    .woocommerce-Address-title .edit::before {
        font-size: 14px !important;
    }
    
    .woocommerce-Address-title h2 {
        font-size: 16px !important;
        margin-top: 0 !important;
    }
}

@media (max-width: 480px) {
    .woocommerce-Address-title .edit {
        width: 30px !important;
        height: 30px !important;
        margin-top: 0 !important;
    }
    
    .woocommerce-Address-title .edit::before {
        font-size: 13px !important;
    }
    
    .woocommerce-Address-title h2 {
        font-size: 14px !important;
        margin-top: 0 !important;
    }
}

/* ===== WOOCOMMERCE LOGIN/REGISTER FORM INPUT STYLING ===== */

/* Reusable input class for WooCommerce login/register forms */
.wc-form-input,
.woocommerce-form-login .woocommerce-Input,
.woocommerce-form-register .woocommerce-Input,
.woocommerce-form-login input[type="text"],
.woocommerce-form-login input[type="email"],
.woocommerce-form-login input[type="password"],
.woocommerce-form-register input[type="text"],
.woocommerce-form-register input[type="email"],
.woocommerce-form-register input[type="password"],
#customer_login input[type="text"],
#customer_login input[type="email"],
#customer_login input[type="password"] {
    font-family: "Poppins", Sans-serif !important;
    width: 100% !important;
    padding: 12px 16px !important;
    border: 1px solid #d1d5db !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    background: white !important;
    color: #374151 !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
    box-shadow: 0 2px 8px rgba(59, 44, 162, 0.08) !important;
}

/* Focus states for login/register inputs */
.wc-form-input:focus,
.woocommerce-form-login .woocommerce-Input:focus,
.woocommerce-form-register .woocommerce-Input:focus,
.woocommerce-form-login input[type="text"]:focus,
.woocommerce-form-login input[type="email"]:focus,
.woocommerce-form-login input[type="password"]:focus,
.woocommerce-form-register input[type="text"]:focus,
.woocommerce-form-register input[type="email"]:focus,
.woocommerce-form-register input[type="password"]:focus,
#customer_login input[type="text"]:focus,
#customer_login input[type="email"]:focus,
#customer_login input[type="password"]:focus {
    outline: none !important;
    border-color: #667eea !important;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1) !important;
    transform: translateY(-1px) !important;
}

/* Hover states for login/register inputs */
.wc-form-input:hover,
.woocommerce-form-login .woocommerce-Input:hover,
.woocommerce-form-register .woocommerce-Input:hover,
.woocommerce-form-login input[type="text"]:hover,
.woocommerce-form-login input[type="email"]:hover,
.woocommerce-form-login input[type="password"]:hover,
.woocommerce-form-register input[type="text"]:hover,
.woocommerce-form-register input[type="email"]:hover,
.woocommerce-form-register input[type="password"]:hover,
#customer_login input[type="text"]:hover,
#customer_login input[type="email"]:hover,
#customer_login input[type="password"]:hover {
    border-color: #667eea !important;
}

/* Placeholder styling for login/register inputs */
.wc-form-input::placeholder,
.woocommerce-form-login .woocommerce-Input::placeholder,
.woocommerce-form-register .woocommerce-Input::placeholder,
.woocommerce-form-login input::placeholder,
.woocommerce-form-register input::placeholder,
#customer_login input::placeholder {
    color: #9ca3af !important;
    font-weight: 400 !important;
    opacity: 1 !important;
}

/* Label styling for login/register forms */
.woocommerce-form-login label,
.woocommerce-form-register label,
#customer_login label {
    font-family: "Poppins", Sans-serif !important;
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #374151;
    font-size: 14px;
}

.woocommerce-form-login label .required,
.woocommerce-form-register label .required,
#customer_login label .required {
    color: #e74c3c;
    margin-left: 2px;
}

/* Password input container styling for login/register */
.woocommerce-form-login .password-input,
.woocommerce-form-register .password-input,
#customer_login .password-input {
    position: relative;
    display: inline-block;
    width: 100%;
}

.woocommerce-form-login .password-input input,
.woocommerce-form-register .password-input input,
#customer_login .password-input input {
    padding-right: 45px !important;
}

.woocommerce-form-login .show-password-input,
.woocommerce-form-register .show-password-input,
#customer_login .show-password-input {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    font-size: 16px;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.woocommerce-form-login .show-password-input:hover,
.woocommerce-form-register .show-password-input:hover,
#customer_login .show-password-input:hover {
    color: #374151;
}

/* Checkbox styling for remember me and privacy policy */
.woocommerce-form-login .woocommerce-form__input-checkbox,
.woocommerce-form-register input[type="checkbox"],
#customer_login input[type="checkbox"] {
    appearance: none !important;
    width: 18px !important;
    height: 18px !important;
    border: 2px solid #d1d5db !important;
    border-radius: 4px !important;
    background: #FFFFFF !important;
    cursor: pointer !important;
    position: relative !important;
    transition: all 0.3s ease !important;
    flex-shrink: 0 !important;
    margin: 0 8px 0 0 !important;
    vertical-align: middle !important;
}

.woocommerce-form-login .woocommerce-form__input-checkbox:checked,
.woocommerce-form-register input[type="checkbox"]:checked,
#customer_login input[type="checkbox"]:checked {
    border-color: #3B2CA2 !important;
    background: #3B2CA2 !important;
}

.woocommerce-form-login .woocommerce-form__input-checkbox:checked:after,
.woocommerce-form-register input[type="checkbox"]:checked:after,
#customer_login input[type="checkbox"]:checked:after {
    content: '\f00c' !important;
    font-family: "Line Awesome Free" !important;
    font-weight: 900 !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    color: #FFFFFF !important;
    font-size: 12px !important;
}

/* Form row styling for login/register */
.woocommerce-form-login .form-row,
.woocommerce-form-register .form-row,
#customer_login .form-row {
    margin-bottom: 20px;
}

/* Lost password link styling */
.woocommerce-LostPassword a,
.woocommerce-form-login .woocommerce-LostPassword a,
#customer_login .woocommerce-LostPassword a {
    color: #3B2CA2 !important;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    transition: color 0.2s ease !important;
}

.woocommerce-LostPassword a:hover,
.woocommerce-form-login .woocommerce-LostPassword a:hover,
#customer_login .woocommerce-LostPassword a:hover {
    color: #D9461C !important;
    text-decoration: underline !important;
}

/* Privacy policy links */
.woocommerce-privacy-policy-text a {
    color: #3B2CA2 !important;
    text-decoration: underline !important;
    transition: color 0.3s ease !important;
}

.woocommerce-privacy-policy-text a:hover {
    color: #D9461C !important;
}

/* Form container improvements */
.woocommerce-form-login,
.woocommerce-form-register,
#customer_login .col-1,
#customer_login .col-2 {
    background: #FFFFFF;
    border-radius: 8px;
    position: relative;
}

/* Responsive design for login/register forms */
@media (max-width: 768px) {
    .wc-form-input,
    .woocommerce-form-login .woocommerce-Input,
    .woocommerce-form-register .woocommerce-Input,
    .woocommerce-form-login input[type="text"],
    .woocommerce-form-login input[type="email"],
    .woocommerce-form-login input[type="password"],
    .woocommerce-form-register input[type="text"],
    .woocommerce-form-register input[type="email"],
    .woocommerce-form-register input[type="password"],
    #customer_login input[type="text"],
    #customer_login input[type="email"],
    #customer_login input[type="password"] {
        padding: 14px 16px !important;
        font-size: 16px !important;
    }
    
    .woocommerce-form-login label,
    .woocommerce-form-register label,
    #customer_login label {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .wc-form-input,
    .woocommerce-form-login .woocommerce-Input,
    .woocommerce-form-register .woocommerce-Input,
    .woocommerce-form-login input,
    .woocommerce-form-register input,
    #customer_login input {
        padding: 12px 14px !important;
    }
    
    .woocommerce-form-login .form-row,
    .woocommerce-form-register .form-row,
    #customer_login .form-row {
        margin-bottom: 18px;
    }
    
    #customer_login .u-columns {
        flex-direction: column !important;
    }
    
    #customer_login .u-column1,
    #customer_login .u-column2 {
        width: 100% !important;
        margin-bottom: 30px;
    }
}

/* ===== SELECT2 DROPDOWN STYLING FOR COUNTRY/STATE SELECT ===== */

/* Target the Select2 container for billing country/state */
#select2-billing_country-container,
#select2-billing_state-container,
#billing_country + .select2-container,
.select2-container[data-select2-id*="billing_country"],
.select2-container[data-select2-id*="billing_state"],
#billing_country_field .select2-container,
#billing_state_field .select2-container,
.country_to_state + .select2-container {
    width: 100% !important;
    font-size: 14px !important;
}

/* Target Select2 dropdown that appears separately */
.select2-dropdown[id*="billing_country"],
.select2-dropdown[id*="billing_state"],
span.select2-dropdown.select2-dropdown--below {
    background: #FFFFFF !important;
    border: 1px solid #667eea !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.15) !important;
    margin-top: 2px !important;
    z-index: 9999 !important;
    font-family: "Poppins", Sans-serif !important;
}

/* Select2 search container */
.select2-dropdown[id*="billing_country"] .select2-search--dropdown,
.select2-dropdown[id*="billing_state"] .select2-search--dropdown,
span.select2-dropdown.select2-dropdown--below .select2-search--dropdown {
    padding: 8px !important;
}

/* Select2 search input field */
.select2-dropdown[id*="billing_country"] .select2-search__field,
.select2-dropdown[id*="billing_state"] .select2-search__field,
span.select2-dropdown.select2-dropdown--below .select2-search__field {
    padding: 8px 12px !important;
    border: 1px solid #d1d5db !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    background: #FFFFFF !important;
    color: #374151 !important;
    margin: 8px !important;
    width: calc(100% - 16px) !important;
    font-family: "Poppins", Sans-serif !important;
}

.select2-dropdown[id*="billing_country"] .select2-search__field:focus,
.select2-dropdown[id*="billing_state"] .select2-search__field:focus,
span.select2-dropdown.select2-dropdown--below .select2-search__field:focus {
    border-color: #667eea !important;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.1) !important;
    outline: none !important;
}

/* Select2 results container */
.select2-dropdown[id*="billing_country"] .select2-results,
.select2-dropdown[id*="billing_state"] .select2-results,
span.select2-dropdown.select2-dropdown--below .select2-results {
    font-family: "Poppins", Sans-serif !important;
}

/* Select2 results options list */
.select2-dropdown[id*="billing_country"] .select2-results__options,
.select2-dropdown[id*="billing_state"] .select2-results__options,
span.select2-dropdown.select2-dropdown--below .select2-results__options {
    max-height: 200px !important;
    overflow-y: auto !important;
    padding: 4px 0 !important;
    list-style: none !important;
    margin: 0 !important;
}

/* Select2 individual result options */
.select2-dropdown[id*="billing_country"] .select2-results__option,
.select2-dropdown[id*="billing_state"] .select2-results__option,
span.select2-dropdown.select2-dropdown--below .select2-results__option {
    padding: 10px 16px !important;
    font-size: 14px !important;
    color: #374151 !important;
    background: #FFFFFF !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    border: none !important;
    font-family: "Poppins", Sans-serif !important;
}

/* Select2 highlighted option */
.select2-dropdown[id*="billing_country"] .select2-results__option--highlighted,
.select2-dropdown[id*="billing_state"] .select2-results__option--highlighted,
span.select2-dropdown.select2-dropdown--below .select2-results__option--highlighted {
    background: rgba(102, 126, 234, 0.1) !important;
    color: #1F2937 !important;
}

/* Select2 selected option */
.select2-dropdown[id*="billing_country"] .select2-results__option[data-selected="true"],
.select2-dropdown[id*="billing_state"] .select2-results__option[data-selected="true"],
span.select2-dropdown.select2-dropdown--below .select2-results__option[data-selected="true"] {
    background: #667eea !important;
    color: #FFFFFF !important;
    font-weight: 500 !important;
}

/* Select2 Selection (Main dropdown button) */
#select2-billing_country-container .select2-selection--single,
#select2-billing_state-container .select2-selection--single,
#billing_country + .select2-container--default .select2-selection--single,
.select2-container[data-select2-id*="billing_country"] .select2-selection--single,
.select2-container[data-select2-id*="billing_state"] .select2-selection--single,
#billing_country_field .select2-container--default .select2-selection--single,
#billing_state_field .select2-container--default .select2-selection--single,
.country_to_state + .select2-container--default .select2-selection--single {
    height: auto !important;
    padding: 12px 16px !important;
    border: 1px solid #d1d5db !important;
    border-radius: 8px !important;
    background: #FFFFFF !important;
    color: #374151 !important;
    font-size: 14px !important;
    transition: all 0.2s ease !important;
    box-shadow: none !important;
    outline: none !important;
}

/* Select2 Selection Focus */
#select2-billing_country-container.select2-container--focus .select2-selection--single,
#select2-billing_country-container.select2-container--open .select2-selection--single,
#select2-billing_state-container.select2-container--focus .select2-selection--single,
#select2-billing_state-container.select2-container--open .select2-selection--single,
#billing_country + .select2-container--default.select2-container--focus .select2-selection--single,
#billing_country + .select2-container--default.select2-container--open .select2-selection--single,
.select2-container[data-select2-id*="billing_country"].select2-container--focus .select2-selection--single,
.select2-container[data-select2-id*="billing_country"].select2-container--open .select2-selection--single,
.select2-container[data-select2-id*="billing_state"].select2-container--focus .select2-selection--single,
.select2-container[data-select2-id*="billing_state"].select2-container--open .select2-selection--single,
#billing_country_field .select2-container--default.select2-container--focus .select2-selection--single,
#billing_country_field .select2-container--default.select2-container--open .select2-selection--single,
#billing_state_field .select2-container--default.select2-container--focus .select2-selection--single,
#billing_state_field .select2-container--default.select2-container--open .select2-selection--single,
.country_to_state + .select2-container--default.select2-container--focus .select2-selection--single,
.country_to_state + .select2-container--default.select2-container--open .select2-selection--single {
    border-color: #667eea !important;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1) !important;
    outline: none !important;
}

/* Select2 Rendered Text */
#select2-billing_country-container .select2-selection--single .select2-selection__rendered,
#select2-billing_state-container .select2-selection--single .select2-selection__rendered,
#billing_country + .select2-container--default .select2-selection--single .select2-selection__rendered,
.select2-container[data-select2-id*="billing_country"] .select2-selection--single .select2-selection__rendered,
.select2-container[data-select2-id*="billing_state"] .select2-selection--single .select2-selection__rendered,
#billing_country_field .select2-container--default .select2-selection--single .select2-selection__rendered,
#billing_state_field .select2-container--default .select2-selection--single .select2-selection__rendered,
.country_to_state + .select2-container--default .select2-selection--single .select2-selection__rendered {
    font-family: "Poppins", Sans-serif !important;
    color: #374151 !important;
    line-height: 1.4 !important;
    padding: 0 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
}

/* Select2 Placeholder */
#select2-billing_country-container .select2-selection--single .select2-selection__placeholder,
#select2-billing_state-container .select2-selection--single .select2-selection__placeholder,
#billing_country + .select2-container--default .select2-selection--single .select2-selection__placeholder,
.select2-container[data-select2-id*="billing_country"] .select2-selection--single .select2-selection__placeholder,
.select2-container[data-select2-id*="billing_state"] .select2-selection--single .select2-selection__placeholder,
#billing_country_field .select2-container--default .select2-selection--single .select2-selection__placeholder,
#billing_state_field .select2-container--default .select2-selection--single .select2-selection__placeholder,
.country_to_state + .select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #9ca3af !important;
    font-weight: 400 !important;
}

/* Select2 Arrow */
#select2-billing_country-container .select2-selection--single .select2-selection__arrow,
#select2-billing_state-container .select2-selection--single .select2-selection__arrow,
#billing_country + .select2-container--default .select2-selection--single .select2-selection__arrow,
.select2-container[data-select2-id*="billing_country"] .select2-selection--single .select2-selection__arrow,
.select2-container[data-select2-id*="billing_state"] .select2-selection--single .select2-selection__arrow,
#billing_country_field .select2-container--default .select2-selection--single .select2-selection__arrow,
#billing_state_field .select2-container--default .select2-selection--single .select2-selection__arrow,
.country_to_state + .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100% !important;
    right: 12px !important;
    top: 0 !important;
}

/* Select2 Arrow when open */
#select2-billing_country-container.select2-container--open .select2-selection--single .select2-selection__arrow b,
#select2-billing_state-container.select2-container--open .select2-selection--single .select2-selection__arrow b,
#billing_country + .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b,
.select2-container[data-select2-id*="billing_country"].select2-container--open .select2-selection--single .select2-selection__arrow b,
.select2-container[data-select2-id*="billing_state"].select2-container--open .select2-selection--single .select2-selection__arrow b,
#billing_country_field .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b,
#billing_state_field .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b,
.country_to_state + .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
    border-color: transparent transparent #6b7280 transparent !important;
    border-width: 0 4px 5px 4px !important;
}

/* Select2 Dropdown */
#select2-billing_country-container .select2-dropdown,
#select2-billing_state-container .select2-dropdown,
#billing_country + .select2-container--default .select2-dropdown,
.select2-container[data-select2-id*="billing_country"] .select2-dropdown,
.select2-container[data-select2-id*="billing_state"] .select2-dropdown,
#billing_country_field .select2-container--default .select2-dropdown,
#billing_state_field .select2-container--default .select2-dropdown,
.country_to_state + .select2-container--default .select2-dropdown {
    background: #FFFFFF !important;
    border: 1px solid #667eea !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.15) !important;
    margin-top: 2px !important;
    z-index: 9999 !important;
}

/* Select2 Search Input */
#select2-billing_country-container .select2-search--dropdown .select2-search__field,
#select2-billing_state-container .select2-search--dropdown .select2-search__field,
#billing_country + .select2-container--default .select2-search--dropdown .select2-search__field,
.select2-container[data-select2-id*="billing_country"] .select2-search--dropdown .select2-search__field,
.select2-container[data-select2-id*="billing_state"] .select2-search--dropdown .select2-search__field,
#billing_country_field .select2-container--default .select2-search--dropdown .select2-search__field,
#billing_state_field .select2-container--default .select2-search--dropdown .select2-search__field,
.country_to_state + .select2-container--default .select2-search--dropdown .select2-search__field {
    padding: 8px 12px !important;
    border: 1px solid #d1d5db !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    background: #FFFFFF !important;
    color: #374151 !important;
    margin: 8px !important;
    width: calc(100% - 16px) !important;
}

#select2-billing_country-container .select2-search--dropdown .select2-search__field:focus,
#select2-billing_state-container .select2-search--dropdown .select2-search__field:focus,
#billing_country + .select2-container--default .select2-search--dropdown .select2-search__field:focus,
.select2-container[data-select2-id*="billing_country"] .select2-search--dropdown .select2-search__field:focus,
.select2-container[data-select2-id*="billing_state"] .select2-search--dropdown .select2-search__field:focus,
#billing_country_field .select2-container--default .select2-search--dropdown .select2-search__field:focus,
#billing_state_field .select2-container--default .select2-search--dropdown .select2-search__field:focus,
.country_to_state + .select2-container--default .select2-search--dropdown .select2-search__field:focus {
    border-color: #667eea !important;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.1) !important;
    outline: none !important;
}

/* Select2 Results */
#select2-billing_country-container *,
#select2-billing_state-container *,
#billing_country + .select2-container--default *,
.select2-container[data-select2-id*="billing_country"] *,
.select2-container[data-select2-id*="billing_state"] *,
#billing_country_field .select2-container--default *,
#billing_state_field .select2-container--default *,
.country_to_state + .select2-container--default * {
    font-family: "Poppins", Sans-serif !important;
}

#select2-billing_country-container .select2-results > .select2-results__options,
#select2-billing_state-container .select2-results > .select2-results__options,
#billing_country + .select2-container--default .select2-results > .select2-results__options,
.select2-container[data-select2-id*="billing_country"] .select2-results > .select2-results__options,
.select2-container[data-select2-id*="billing_state"] .select2-results > .select2-results__options,
#billing_country_field .select2-container--default .select2-results > .select2-results__options,
#billing_state_field .select2-container--default .select2-results > .select2-results__options,
.country_to_state + .select2-container--default .select2-results > .select2-results__options {
    max-height: 200px !important;
    overflow-y: auto !important;
    padding: 4px 0 !important;
}

/* Select2 Result Options */
#select2-billing_country-container .select2-results__option,
#select2-billing_state-container .select2-results__option,
#billing_country + .select2-container--default .select2-results__option,
.select2-container[data-select2-id*="billing_country"] .select2-results__option,
.select2-container[data-select2-id*="billing_state"] .select2-results__option,
#billing_country_field .select2-container--default .select2-results__option,
#billing_state_field .select2-container--default .select2-results__option,
.country_to_state + .select2-container--default .select2-results__option {
    padding: 10px 16px !important;
    font-size: 14px !important;
    color: #374151 !important;
    background: #FFFFFF !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    border: none !important;
}

/* Select2 Result Option Hover */
#select2-billing_country-container .select2-results__option--highlighted[aria-selected],
#select2-billing_state-container .select2-results__option--highlighted[aria-selected],
#billing_country + .select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container[data-select2-id*="billing_country"] .select2-results__option--highlighted[aria-selected],
.select2-container[data-select2-id*="billing_state"] .select2-results__option--highlighted[aria-selected],
#billing_country_field .select2-container--default .select2-results__option--highlighted[aria-selected],
#billing_state_field .select2-container--default .select2-results__option--highlighted[aria-selected],
.country_to_state + .select2-container--default .select2-results__option--highlighted[aria-selected] {
    background: rgba(102, 126, 234, 0.1) !important;
    color: #1F2937 !important;
}

/* Select2 Result Option Selected */
#select2-billing_country-container .select2-results__option[aria-selected="true"],
#select2-billing_state-container .select2-results__option[aria-selected="true"],
#billing_country + .select2-container--default .select2-results__option[aria-selected="true"],
.select2-container[data-select2-id*="billing_country"] .select2-results__option[aria-selected="true"],
.select2-container[data-select2-id*="billing_state"] .select2-results__option[aria-selected="true"],
#billing_country_field .select2-container--default .select2-results__option[aria-selected="true"],
#billing_state_field .select2-container--default .select2-results__option[aria-selected="true"],
.country_to_state + .select2-container--default .select2-results__option[aria-selected="true"] {
    background: #667eea !important;
    color: #FFFFFF !important;
    font-weight: 500 !important;
}

/* Select2 No Results */
#select2-billing_country-container .select2-results__option--nodata,
#select2-billing_state-container .select2-results__option--nodata,
#billing_country + .select2-container--default .select2-results__option--nodata,
.select2-container[data-select2-id*="billing_country"] .select2-results__option--nodata,
.select2-container[data-select2-id*="billing_state"] .select2-results__option--nodata,
#billing_country_field .select2-container--default .select2-results__option--nodata,
#billing_state_field .select2-container--default .select2-results__option--nodata,
.country_to_state + .select2-container--default .select2-results__option--nodata {
    color: #6b7280 !important;
    font-style: italic !important;
    text-align: center !important;
    padding: 16px !important;
}

/* Select2 Loading */
#select2-billing_country-container .select2-results__option--loading,
#select2-billing_state-container .select2-results__option--loading,
#billing_country + .select2-container--default .select2-results__option--loading,
.select2-container[data-select2-id*="billing_country"] .select2-results__option--loading,
.select2-container[data-select2-id*="billing_state"] .select2-results__option--loading,
#billing_country_field .select2-container--default .select2-results__option--loading,
#billing_state_field .select2-container--default .select2-results__option--loading,
.country_to_state + .select2-container--default .select2-results__option--loading {
    color: #6b7280 !important;
    text-align: center !important;
    padding: 16px !important;
}

/* Mobile Responsive for Select2 Country/State Select */
@media (max-width: 768px) {
    #select2-billing_country-container .select2-selection--single,
    #select2-billing_state-container .select2-selection--single,
    #billing_country + .select2-container--default .select2-selection--single,
    .select2-container[data-select2-id*="billing_country"] .select2-selection--single,
    .select2-container[data-select2-id*="billing_state"] .select2-selection--single,
    #billing_country_field .select2-container--default .select2-selection--single,
    #billing_state_field .select2-container--default .select2-selection--single,
    .country_to_state + .select2-container--default .select2-selection--single {
        padding: 14px 16px !important;
        font-size: 16px !important;
    }
    
    #select2-billing_country-container .select2-selection--single .select2-selection__rendered,
    #select2-billing_state-container .select2-selection--single .select2-selection__rendered,
    #billing_country + .select2-container--default .select2-selection--single .select2-selection__rendered,
    .select2-container[data-select2-id*="billing_country"] .select2-selection--single .select2-selection__rendered,
    .select2-container[data-select2-id*="billing_state"] .select2-selection--single .select2-selection__rendered,
    #billing_country_field .select2-container--default .select2-selection--single .select2-selection__rendered,
    #billing_state_field .select2-container--default .select2-selection--single .select2-selection__rendered,
    .country_to_state + .select2-container--default .select2-selection--single .select2-selection__rendered {
        font-size: 16px !important;
    }
    
    #select2-billing_country-container .select2-dropdown,
    #select2-billing_state-container .select2-dropdown,
    #billing_country + .select2-container--default .select2-dropdown,
    .select2-container[data-select2-id*="billing_country"] .select2-dropdown,
    .select2-container[data-select2-id*="billing_state"] .select2-dropdown,
    #billing_country_field .select2-container--default .select2-dropdown,
    #billing_state_field .select2-container--default .select2-dropdown,
    .country_to_state + .select2-container--default .select2-dropdown {
        font-size: 16px !important;
    }
    
    #select2-billing_country-container .select2-results__option,
    #select2-billing_state-container .select2-results__option,
    #billing_country + .select2-container--default .select2-results__option,
    .select2-container[data-select2-id*="billing_country"] .select2-results__option,
    .select2-container[data-select2-id*="billing_state"] .select2-results__option,
    #billing_country_field .select2-container--default .select2-results__option,
    #billing_state_field .select2-container--default .select2-results__option,
    .country_to_state + .select2-container--default .select2-results__option {
        padding: 12px 16px !important;
        font-size: 16px !important;
    }
    
    #select2-billing_country-container .select2-search--dropdown .select2-search__field,
    #select2-billing_state-container .select2-search--dropdown .select2-search__field,
    #billing_country + .select2-container--default .select2-search--dropdown .select2-search__field,
    .select2-container[data-select2-id*="billing_country"] .select2-search--dropdown .select2-search__field,
    .select2-container[data-select2-id*="billing_state"] .select2-search--dropdown .select2-search__field,
    #billing_country_field .select2-container--default .select2-search--dropdown .select2-search__field,
    #billing_state_field .select2-container--default .select2-search--dropdown .select2-search__field,
    .country_to_state + .select2-container--default .select2-search--dropdown .select2-search__field {
        font-size: 16px !important;
        padding: 10px 12px !important;
    }
}

@media (max-width: 480px) {
    #select2-billing_country-container .select2-selection--single,
    #select2-billing_state-container .select2-selection--single,
    #billing_country + .select2-container--default .select2-selection--single,
    .select2-container[data-select2-id*="billing_country"] .select2-selection--single,
    .select2-container[data-select2-id*="billing_state"] .select2-selection--single,
    #billing_country_field .select2-container--default .select2-selection--single,
    #billing_state_field .select2-container--default .select2-selection--single,
    .country_to_state + .select2-container--default .select2-selection--single {
        padding: 12px 14px !important;
    }
    
    #select2-billing_country-container .select2-results > .select2-results__options,
    #select2-billing_state-container .select2-results > .select2-results__options,
    #billing_country + .select2-container--default .select2-results > .select2-results__options,
    .select2-container[data-select2-id*="billing_country"] .select2-results > .select2-results__options,
    .select2-container[data-select2-id*="billing_state"] .select2-results > .select2-results__options,
    #billing_country_field .select2-container--default .select2-results > .select2-results__options,
    #billing_state_field .select2-container--default .select2-results > .select2-results__options,
    .country_to_state + .select2-container--default .select2-results > .select2-results__options {
        max-height: 180px !important;
    }
}

/* Global Select2 Overrides for Country/State Select */
#select2-billing_country-container .select2-results__option--highlighted[aria-selected],
#select2-billing_country-container .select2-results__option--highlighted[data-selected],
#select2-billing_state-container .select2-results__option--highlighted[aria-selected],
#select2-billing_state-container .select2-results__option--highlighted[data-selected],
#billing_country + .select2-container--default .select2-results__option--highlighted[aria-selected],
#billing_country + .select2-container--default .select2-results__option--highlighted[data-selected],
.select2-container[data-select2-id*="billing_country"] .select2-results__option--highlighted[aria-selected],
.select2-container[data-select2-id*="billing_country"] .select2-results__option--highlighted[data-selected],
.select2-container[data-select2-id*="billing_state"] .select2-results__option--highlighted[aria-selected],
.select2-container[data-select2-id*="billing_state"] .select2-results__option--highlighted[data-selected],
#billing_country_field .select2-container--default .select2-results__option--highlighted[aria-selected],
#billing_country_field .select2-container--default .select2-results__option--highlighted[data-selected],
#billing_state_field .select2-container--default .select2-results__option--highlighted[aria-selected],
#billing_state_field .select2-container--default .select2-results__option--highlighted[data-selected],
.country_to_state + .select2-container--default .select2-results__option--highlighted[aria-selected],
.country_to_state + .select2-container--default .select2-results__option--highlighted[data-selected] {
    background-color: #667eea !important;
    color: #FFFFFF !important;
}

#select2-billing_country-container .select2-results__option[aria-selected=true],
#select2-billing_country-container .select2-results__option[data-selected=true],
#select2-billing_state-container .select2-results__option[aria-selected=true],
#select2-billing_state-container .select2-results__option[data-selected=true],
#billing_country + .select2-container--default .select2-results__option[aria-selected=true],
#billing_country + .select2-container--default .select2-results__option[data-selected=true],
.select2-container[data-select2-id*="billing_country"] .select2-results__option[aria-selected=true],
.select2-container[data-select2-id*="billing_country"] .select2-results__option[data-selected=true],
.select2-container[data-select2-id*="billing_state"] .select2-results__option[aria-selected=true],
.select2-container[data-select2-id*="billing_state"] .select2-results__option[data-selected=true],
#billing_country_field .select2-container--default .select2-results__option[aria-selected=true],
#billing_country_field .select2-container--default .select2-results__option[data-selected=true],
#billing_state_field .select2-container--default .select2-results__option[aria-selected=true],
#billing_state_field .select2-container--default .select2-results__option[data-selected=true],
.country_to_state + .select2-container--default .select2-results__option[aria-selected=true],
.country_to_state + .select2-container--default .select2-results__option[data-selected=true] {
    background-color: #f4f5ff !important;
}

#select2-billing_country-container .select2-dropdown,
#select2-billing_state-container .select2-dropdown,
#billing_country + .select2-dropdown,
.select2-container[data-select2-id*="billing_country"] .select2-dropdown,
.select2-container[data-select2-id*="billing_state"] .select2-dropdown,
#billing_country_field .select2-dropdown,
#billing_state_field .select2-dropdown,
.country_to_state + .select2-dropdown {
    border: 1px solid #d1d5db !important;
}

#select2-billing_country-container .select2-search--dropdown .select2-search__field,
#select2-billing_state-container .select2-search--dropdown .select2-search__field,
#billing_country + .select2-container--default .select2-search--dropdown .select2-search__field,
.select2-container[data-select2-id*="billing_country"] .select2-search--dropdown .select2-search__field,
.select2-container[data-select2-id*="billing_state"] .select2-search--dropdown .select2-search__field,
#billing_country_field .select2-container--default .select2-search--dropdown .select2-search__field,
#billing_state_field .select2-container--default .select2-search--dropdown .select2-search__field,
.country_to_state + .select2-container--default .select2-search--dropdown .select2-search__field {
    padding: 8px 14px !important;
}

/* ===== Mobile Mega Menu: Logo + Language Switcher ===== */
#mega-menu-menu-1 > li.mobile-menu-logo {
  padding: 14px 16px;
  border-bottom: 1px solid #e5e7eb;
}
#mega-menu-menu-1 > li.mobile-menu-logo a {
  display: block;
}

#mega-menu-menu-1 > li.mobile-language-switcher {
  padding: 10px 16px 16px;
  border-bottom: 1px solid #e5e7eb;
}

/* GTranslate dropdown (mobile variant) */
#mega-menu-menu-1 .gtranslate-dropdown--mobile {
  width: 100%;
  font-family: "Poppins", Sans-serif !important;
}
#mega-menu-menu-1 .gtranslate-dropdown--mobile .gtranslate-current {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 10px 12px;
  cursor: pointer;
}
#mega-menu-menu-1 .gtranslate-dropdown--mobile .gtranslate-current-content {
  display: flex;
  align-items: center;
  gap: 10px;
}
#mega-menu-menu-1 .gtranslate-dropdown--mobile .gtranslate-arrow {
  color: #6b7280;
  font-size: 18px;
  line-height: 1;
}

@media screen and (min-width:768px){
    .gtranslate-dropdown.active {
            box-shadow: 0 0 0 1px #303A8D; 
    }
    #mega-menu-menu-1 .mega-menu-item.mobile-language-switcher {
        display: none !important;
    }
}


/* Options panel */
#mega-menu-menu-1 .gtranslate-dropdown--mobile .gtranslate-options {
  display: none;
  margin-top: 8px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
#mega-menu-menu-1 .gtranslate-dropdown--mobile.active .gtranslate-options {
  display: block;
}

/* Option item */
#mega-menu-menu-1 .gtranslate-dropdown--mobile .gtranslate-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  color: #111827;
  text-decoration: none;
  transition: background-color .2s ease;
}
#mega-menu-menu-1 .gtranslate-dropdown--mobile .gtranslate-option.current {
  background: #f3f4f6;
}
#mega-menu-menu-1 .gtranslate-dropdown--mobile .gtranslate-option:hover {
  background: #f9fafb;
}

/* Flag + text */
#mega-menu-menu-1 .gtranslate-dropdown--mobile img.flagicon_lang {
  width: 20px;
  height: 14px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.06);
}
#mega-menu-menu-1 .gtranslate-dropdown--mobile .gtranslate-name {
  font-weight: 600;
  color: #1f2937;
}

/* Improve tap targets on small screens */
@media (max-width: 480px) {
  #mega-menu-menu-1 .gtranslate-dropdown--mobile .gtranslate-current {
    padding: 12px 14px;
  }
  #mega-menu-menu-1 .gtranslate-dropdown--mobile .gtranslate-option {
    padding: 12px 14px;
  }
}

/* ===== Mobile Language Switcher – minimal look, full width ===== */
#mega-menu-menu-1 > li.mobile-language-switcher {
  padding: 8px 16px 16px;
  border-bottom: 1px solid #eee;
}
#mega-menu-menu-1 .gtranslate-dropdown--mobile {
  display: block;
  width: 100%;
  font-family: "Poppins", Sans-serif !important;
}

/* Current (collapsed) row */
#mega-menu-menu-1 .gtranslate-dropdown--mobile .gtranslate-current {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;                     /* minimal */
  border: 1px solid #e5e7eb;            /* soft gray */
  border-radius: 6px;
  padding: 12px 14px;
  cursor: pointer;
}
#mega-menu-menu-1 .gtranslate-dropdown--mobile .gtranslate-current-content {
  display: flex;
  align-items: center;
  gap: 10px;
}
#mega-menu-menu-1 .gtranslate-dropdown--mobile .gtranslate-arrow {
  color: #6b7280;
  font-size: 18px;
  line-height: 1;
}

/* Options panel – full width, minimal */
#mega-menu-menu-1 .gtranslate-dropdown--mobile .gtranslate-options {
  display: none;
  margin-top: 8px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  background: #fff;
  box-shadow: none;                      /* minimal */
  overflow: hidden;
}
#mega-menu-menu-1 .gtranslate-dropdown--mobile.active .gtranslate-options {
  display: block;
}

/* Option rows */
#mega-menu-menu-1 .gtranslate-dropdown--mobile .gtranslate-option {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 10px;
  padding: 12px 14px;
  color: #111827;
  text-decoration: none;
  border-top: 1px solid #f1f5f9;
  transition: background-color .15s ease;
}
#mega-menu-menu-1 .gtranslate-dropdown--mobile .gtranslate-option:first-child {
  border-top: 0;
}
#mega-menu-menu-1 .gtranslate-dropdown--mobile .gtranslate-option.current {
  background: #f9fafb;                  /* subtle highlight */
}
#mega-menu-menu-1 .gtranslate-dropdown--mobile .gtranslate-option:hover {
  background: #f3f4f6;                  /* minimal hover */
}

/* Flag + full language name */
#mega-menu-menu-1 .gtranslate-dropdown--mobile img.flagicon_lang {
  width: 18px;
  height: 12px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.06);
}
#mega-menu-menu-1 .gtranslate-dropdown--mobile .gtranslate-name {
  font-weight: 600;
  color: #1f2937;
}

/* Small screens */
@media (max-width: 480px) {
  #mega-menu-menu-1 .gtranslate-dropdown--mobile .gtranslate-current {
    padding: 12px 14px;
  }
  #mega-menu-menu-1 .gtranslate-dropdown--mobile .gtranslate-option {
    padding: 12px 14px;
  }
}

/* Fix: make wrapper full-width and keep left alignment inside mobile sidebar */
#mega-menu-menu-1 li.mobile-language-switcher .gtranslate-custom-wrapper{
  display:block;
  width:100%;
}
#mega-menu-menu-1 .gtranslate-dropdown--mobile .gtranslate-options{
  text-align:left; /* prevent centered options inherited from menu */
}
#mega-menu-menu-1 .gtranslate-dropdown--mobile .gtranslate-option{
  justify-content:flex-start; /* explicit left align of content */
}
/* UX: rotate arrow when open */
#mega-menu-menu-1 .gtranslate-dropdown--mobile .gtranslate-arrow{
  transition:transform .2s ease;
}
#mega-menu-menu-1 .gtranslate-dropdown--mobile.active .gtranslate-arrow{
  transform:rotate(180deg);
}
