:root {
    --primary-color: #DF6200;
    --semi-white-color: #FAF6F3;
}
/* Menu */
[class*=header-menu] .menu>li.current-menu-item a{
    font-weight: 700;
}
.site-branding svg{
    width: initial;
}
.ct-search-results a{
    font-weight: 400;
}
header div[data-sticky]{
    box-shadow: 0 3px 6px rgba(0, 0, 0, .16);
}
body:not(.home) main#main {
    margin-top: 25px;
    margin-bottom: 25px;
}

/* Login/Register */
#registerform {
    display: flex;
    flex-direction: column;
}

/* Asignamos un orden base a todos usando una variable */
#registerform p {
    width: 100%;
}
/* Todos los elementos del 6 en adelante los mandamos al inicio */
#registerform p:nth-child(n+6) {
    order: 2;
}
#registerform p:nth-child(9) {
    order: 1;
}
#registerform p:nth-child(9) label {
    font-weight: 500;
}
#registerform label[for="ct_user_email"]:after {
    content: '*';
    color: red;
    font-weight: 700;
    margin-left: 3px;
}
.hide-wc-default-email {
    display: none !important;
}
.woocommerce-privacy-policy-text{
    display: none;
}
@media (min-width: 480px) {
    .ct-account-modal .ct-account-forms {
        padding: 25px 55px;
    }
}
.ct-search-form[data-form-controls=inside] .wp-element-button{
    --theme-icon-size: 18px;
}
.ct-search-box .ct-search-form{
    max-width: 100%;
    width: 500px !important;
    margin: auto;
    width: 24px;
    min-height: 24px;
}
.ct-search-box {
    margin-left: 0;
}
.ct-open-quick-view.ct-button .ct-icon-container::before{
    content: '';
    background-image: url(../images/visibility.png);
    background-size: contain;
    width: 14px;
    height: 10px;
}
.ct-open-quick-view.ct-button .ct-icon-container svg {
    display: none;
}
.ct-open-quick-view.ct-button:hover .ct-icon-container::before{
    filter: brightness(0) invert(1);
}
.ct-product-gallery-container .flexy-arrow-prev{
    transform: rotate(180deg);
}
.ct-product-gallery-container .flexy-arrow-next svg,
.ct-product-gallery-container .flexy-arrow-prev svg{
    display: none;
}
.ct-product-gallery-container .flexy-arrow-next::before{
    content: '';
    background-image: url(../images/arrow_gallery.png);
    background-size: contain;
    width: 12px;
    height: 20px;
}
.ct-product-gallery-container .flexy-arrow-prev::before{
    content: '';
    background-image: url(../images/arrow_gallery.png);
    background-size: contain;
    width: 12px;
    height: 20px;
}
figure .onsale,
figure .out-of-stock-badge{
    border-radius: 1rem;
}

/* Cookie banner */
#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content #moove-gdpr-menu li.menu-item-selected button{
    background-color: #f1f1f1 !important;
    color: #df6200 !important;
}
#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content #moove-gdpr-menu li button{
    background-color: #fff !important;
    color: #000 !important;
}
#moove_gdpr_cookie_info_bar {
    background-color: #CCCCCC !important;
    border-top: unset !important
}

.moove-gdpr-info-bar-container {
    padding: 0 !important;
    margin-top: 5px !important;
    margin-bottom: 5px !important;
}

.mgbutton {
    background-color: var(--primary-color) !important;
    height: 48px !important;
    color: var(--semi-white-color) !important;
    opacity: unset !important;
    box-shadow: none !important;
}

.mgbutton:hover {
    background-color: var(--semi-white-color) !important;
    border: 1px solid var(--primary-color) !important;
    color: var(--primary-color) !important;
}

.moove-gdpr-infobar-close-btn {
    background-color: var(--semi-white-color) !important;
    box-shadow: inset 0 0 0 1px var(--primary-color) !important;
    color: var(--primary-color) !important;
    height: 48px !important;
    width: 48px !important;
}

.btn-contact-footer:hover {
    border: 1px solid var(--primary-color);
}

/*
[data-footer*="type-1"] .ct-footer [data-row="middle"] {
    --grid-template-columns: 1fr 5fr 1fr;
}

.footer-container {
    max-width: 100%;
    width: 560px;
}
.footer-container div[id^=gspb_col-id]{
    padding: 15px 5px !important;
    width: initial !important;
}
.footer-container div[id^=gspb_col-id] p{
    text-align: left;
}
*/
.p-popup-ofertas {
  margin-block-end: 15px;
}

/* Blocksy Flexy - imagen activa */
div.woocommerce-product-gallery li.active .ct-media-container::after {
    border-color: var(--primary-color) !important;
}

.ct-cart-actions .quantity .ct-decrease, .ct-cart-actions .quantity .ct-increase {
    color: var(--primary-color) !important;
}

.ct-cart-actions .quantity .ct-decrease:hover, .ct-cart-actions .quantity .ct-increase:hover {
    color: unset;
    background: none;
}

.woocommerce div.product .ct-cart-actions .quantity input.qty {
    border: 1px solid var(--primary-color) !important;
    border-radius: 50px !important;
}

/* Cart */
.cart-product-name-above-qty{
    font-weight: 700;
    margin-bottom: 5px;
    max-width: 100% !important;
}
.woocommerce-cart-form__cart-item .product-name .price *{
    display: none;
}
.woocommerce-cart-form__cart-item div.quantity input[type=number]{
    border-radius: 50px !important;
}
.woocommerce-cart-form__cart-item >.product-name *{
    display: none;
}
.woocommerce-cart-form .quantity{
    width: 156px;
    margin-top: 3px;
}
@media (max-width:999.98px) {
    [class*=ct-woocommerce] .shop_table tr.cart_item>.product-price, 
    [class*=ct-woocommerce] .shop_table tr.cart_item>.product-quantity, 
    [class*=ct-woocommerce] .shop_table tr.cart_item>.product-subtotal, 
    [class*=ct-woocommerce] .shop_table tr.cart_item>.product-remove{
        display: block !important;
    }
}
/* Thank you page */
.woocommerce-thankyou-order-received{
    background: #28A745 !important; 
    color: #fff !important;
}
.woocommerce-bacs-bank-details {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 30px;
    font-family: 'Inter';
}
.woocommerce-bacs-bank-details h2 {
    font-size: 18px;
}
.woocommerce-bacs-bank-details .wc-bacs-bank-details-account-name{
    font-size: 16px;
}
/* Checkout */
.woocommerce-checkout input{ 
    border-color: #666666;
}
.woocommerce-checkout .select2-selection{
    border-color: #666666 !important;
}
.woocommerce-checkout .quantity .input-text.qty {
    border-radius: 40px !important;
    border-color: #DF6200;
}
.quantity[data-type=type-2] .ct-increase:before, .quantity[data-type=type-2] .ct-decrease:before{
    color: #DF6200;
}
.woocommerce-shipping-methods input[type=radio]:checked{
    background-color: #fff;
    border-width: 2px;
}
.woocommerce-shipping-methods input[type=radio]:before{
    width: 8px;
    height: 8px;
    background-color: #DF6200;
}

body.woocommerce-order-received {
    width: 100%;
    max-width: 100%;
    margin: 0;
}
/* My account - Pedidos */
table.shop_table th{
    vertical-align: middle !important;
}
.woocommerce-button.button.view{
    padding: 10px;
    max-width: 140px;
    width: 100px;
    min-height: 40px;
}
.woocommerce-MyAccount-navigation li{
    margin-bottom: 12px;
}
.woocommerce-MyAccount-navigation li a{
    border-radius: 180px !important;
    font-weight: 400 !important;
    height: 48px !important;
    border-radius: 0;
    background-color: #FAF6F3;
    border: none !important;
}
.woocommerce-customer-details address{
    border-color: #CCCCCC !important;
    border-style: solid !important;
    border-radius: 0 !important;
    color: #666666 !important;
}
.woocommerce-EditAccountForm.edit-account fieldset{
    border: 1px dashed #d98664;
    display: none;
}
.woocommerce-EditAccountForm.edit-account fieldset legend{
    display: none;
}

/* Forms */
.cf7-custom-form .grid-row {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}
.cf7-custom-form .grid-column {
    flex: 1;
}
.cf7-custom-form .full-width {
    flex-direction: column;
}
.cf7-custom-form input[type="text"],
.cf7-custom-form input[type="email"],
.cf7-custom-form input[type="tel"],
.cf7-custom-form textarea {
    width: 100%;
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    padding: 10px;
}
.cf7-custom-form .submit-btn input {
    background-color: #e66b00; /* El naranja de tu imagen */
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
}
.cf7-custom-form .grid-row input[type="file"] {
    background: var(--semi-white-color);
    padding: 15px;
}

/* Direcciones */
.woocommerce-Address {
    border: 1px solid #CCCCCC !important;
    border-radius: 0 !important;
}
.woocommerce-Address a{
    font-size: 15px;
    text-decoration: underline;
}
.woocommerce-Addresses .woocommerce-Address-title{
    margin-bottom: 0px !important;
}



