/*
 Theme Name:     WooCommerce Theme
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme adaptado para Vinoteca Navarra
 Author:         Elegant Themes & Digital Design
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.0
 Text Domain:    vinoteca
*/
 
 
/* =Theme customization starts here
------------------------------------------------------- */

.dnone {display: none;}
.clear {clear: both;}

#top-menu li {padding-right: 19px;}
.nav li ul {padding: 10px 0;}
#top-menu li li a {padding: 6px 0;}

.entry-content ul,
.entry-content ol {padding-left: 1.4rem;}

.et_color_scheme_red .et_pb_counter_amount, .et_color_scheme_red .et_pb_featured_table .et_pb_pricing_heading, .et_color_scheme_red #top-header {background: #A90028 !important; }
.et_button_no_icon.et_button_icon_visible.et_button_left .et_pb_button, .et_button_no_icon.et_button_left .et_pb_button:hover, .et_button_no_icon .et_pb_button, .et_button_no_icon .et_pb_button:hover {padding: 0.8em 1.7em!important; }
.et_color_scheme_red a {color: #A90028;}

.et_pb_blog_grid .et_pb_post {padding: 0;}
.et_pb_post .entry-featured-image-url {margin-bottom: 21px;}
.et_pb_blog_grid .et_pb_image_container {margin: 0 0 21px;}
.et_pb_blog_grid .entry-title {padding-bottom: 4px;}
.et_pb_blog_grid .post-meta {margin-bottom: 17px; font-size: 14px !important;}
.et_pb_blog_grid div.post-content a.more-link {margin-top: 10px; display: block;}
.et_pb_blog_grid div.post-content a.more-link:after {font-family: 'ETmodules'; content: "5"; font-size: 16px; font-weight: 800; vertical-align: bottom; }
.et_pb_blog_grid div.post-content a.more-link {}

@media (min-width: 481px) {
    .et_header_style_left #logo {max-width: 200px;}
}

@media (min-width: 981px) {
    #logo {max-width: 182px;}
    .et_pb_gutters3 .et_pb_column_4_4 .et_pb_grid_item, .et_pb_gutters3 .et_pb_column_4_4 .et_pb_shop_grid .woocommerce ul.products li.product, .et_pb_gutters3 .et_pb_column_4_4 .et_pb_widget, .et_pb_gutters3.et_pb_row .et_pb_column_4_4 .et_pb_grid_item, .et_pb_gutters3.et_pb_row .et_pb_column_4_4 .et_pb_shop_grid .woocommerce ul.products li.product, .et_pb_gutters3.et_pb_row .et_pb_column_4_4 .et_pb_widget,.et_pb_gutters3.et-db #et-boc .et-l .et_pb_column_4_4 .et_pb_shop_grid .woocommerce ul.products li.product {width: 23.72%; margin-right: 1.7%; margin-bottom: 4.5%; }
    .et-db #et-boc .et-l .et_pb_gutters3.et_pb_row .et_pb_column_3_4 .et_pb_grid_item, .et-db #et-boc .et-l .et_pb_gutters3.et_pb_row .et_pb_column_3_4 .et_pb_shop_grid .woocommerce ul.products li.product, .et-db #et-boc .et-l .et_pb_gutters3.et_pb_row .et_pb_column_3_4 .et_pb_widget, .et_pb_gutters3.et-db #et-boc .et-l .et_pb_column_3_4 .et_pb_grid_item, .et_pb_gutters3.et-db #et-boc .et-l .et_pb_column_3_4 .et_pb_shop_grid .woocommerce ul.products li.product, .et_pb_gutters3.et-db #et-boc .et-l .et_pb_column_3_4 .et_pb_widget {width: 32.17%; margin-right: 1.7%; margin-bottom: 4.5%;}
    .et-db #et-boc .et-l .et_pb_gutters3.et_pb_row .et_pb_column_3_4 .et_pb_grid_item.et_pb_portfolio_item:nth-child(3n), .et-db #et-boc .et-l .et_pb_gutters3.et_pb_row .et_pb_column_3_4 .et_pb_shop_grid .woocommerce ul.products li.product:nth-child(3n), .et-db #et-boc .et-l .et_pb_gutters3.et_pb_row .et_pb_column_3_4 .et_pb_widget:nth-child(3n), .et_pb_gutters3.et-db #et-boc .et-l .et_pb_column_3_4 .et_pb_grid_item.et_pb_portfolio_item:nth-child(3n), .et_pb_gutters3.et-db #et-boc .et-l .et_pb_column_3_4 .et_pb_shop_grid .woocommerce ul.products li.product:nth-child(3n), .et_pb_gutters3.et-db #et-boc .et-l .et_pb_column_3_4 .et_pb_widget:nth-child(3n),
    .et_pb_gutters3 .et_pb_column_4_4 .et_pb_shop_grid .woocommerce ul.products li.product:nth-child(4n) ,.et_pb_gutters3 .et_pb_column_4_4 .et_pb_shop_grid .woocommerce ul.products li.product:nth-child(4n) {margin-right: 0 !important;}
}

/* botones */
body #page-container .et_pb_section .et_pb_wc_cart_totals_0_tb_body .cart_totals a.checkout-button.button,
.woocommerce #content input.button, .woocommerce #content input.button.alt, .woocommerce #respond input#submit, .woocommerce #respond input#submit.alt, .woocommerce-page #content input.button, .woocommerce-page #content input.button.alt, .woocommerce-page #respond input#submit, .woocommerce-page #respond input#submit.alt, .woocommerce-page a.button, .woocommerce-page a.button.alt, .woocommerce-page button.button, .woocommerce-page button.button.alt, .woocommerce-page button.button.alt.disabled, .woocommerce-page input.button, .woocommerce-page input.button.alt, .woocommerce a.button, .woocommerce a.button.alt, .woocommerce button.button, .woocommerce button.button.alt, .woocommerce button.button.alt.disabled, .woocommerce button.button:disabled, .woocommerce button.button:disabled[disabled], .woocommerce input.button, .woocommerce input.button.alt,
.woocommerce.et_pb_button_helper_class a.button.alt, .woocommerce-page.et_pb_button_helper_class a.button.alt, 
.et_color_scheme_red .et_pb_bg_layout_light .et_pb_newsletter_button,
.et_button_no_icon.woocommerce-page button.button.alt,
.et_color_scheme_red.woocommerce button.button,
.et_button_no_icon.woocommerce button.button,
.et_button_no_icon.woocommerce-page button.button,
.et_pb_button_module_wrapper a,
.et_color_scheme_red .et_pb_contact_submit {border: none; border-radius: 0; padding: 10.4px 22.1px !important; color:  #fff !important; font-size: 13px; background-color:#A90028 !important; background-image: linear-gradient(154deg,#A90028 0%,#A90028 100%) !important;}
.et_color_scheme_red .et_pb_bg_layout_light .et_pb_newsletter_button:hover,
.et_color_scheme_red.woocommerce button.button:hover,
body #page-container .et_pb_section .et_pb_wc_add_to_cart_0_tb_body .button:hover,
.et_pb_button_module_wrapper a:hover,
.et_button_no_icon.woocommerce-page button.button:hover,
.woocommerce button.button:hover, .woocommerce-page button.button:hover,
.et_color_scheme_red .et_pb_contact_submit:hover {padding: 10.4px 22.1px !important; background-image: linear-gradient(154deg,#A90028 0%,#8c0832 100%) !important; }
.et_color_scheme_red.woocommerce-page a.button:hover {background-image: linear-gradient(154deg,#A90028 0%,#8c0832 100%) !important; }


/* Inputs */
.woocommerce-cart table.cart td.actions .coupon .input-text {padding: 10px 16px;}


/* =Ajustes generales
------------------------------------------------------- */

body {font-weight: 400;}

#main-header {border-bottom: 1px solid rgba(0,0,0,.15);}

.page-content h1,
.page-content h2,
.page-content h3,
.page-content h4,
.page-content h5,
.post h1,
.post h2,
.post h3,
.post h4,
.post h5 {font-weight: 400;}


.et_pb_wc_related_products ul.products li.product a img, .et_pb_wc_upsells ul.products li.product a img {
    margin-bottom: 9px !important;
}
.product-presentacion {margin-top: -10px; color: #000;font-size: 13px; text-align: center;}

body .et-shadow {border: none;}
body .et-box.et-shadow {}
body .et-shadow .et-box-content {color: #fff; text-align: center; background-image: linear-gradient(154deg,#A90028 0%,#8c0832 100%); -moz-box-shadow: none; -webkit-box-shadow: none; box-shadow: none; text-shadow: none; font-size: 16px;}
body .et-shadow .et-box-content h1, body .et-shadow .et-box-content h2, body .et-shadow .et-box-content h3, body .et-shadow .et-box-content h4, body .et-shadow .et-box-content h5, body .et-shadow .et-box-content h6 {color: #fff; }
body a.small-button {margin-top: 1rem; text-shadow: none !important; font-size: 13px; border: none !important; border-radius: 0; color: #fff !important; letter-spacing: 1px;font-weight: 500 !important;  font-style: normal; text-transform: uppercase; background: #A90028;}
body a.small-button:hover {cursor: pointer !important; color: #fff !important; background-image: linear-gradient(154deg,#A90028 0%,#8c0832 100%) !important; -webkit-transition: background-color .4s,color .4s,opacity .4s ease-in-out,-webkit-transform .4s; transition: background-color .4s,color .4s,opacity .4s ease-in-out,-webkit-transform .4s; transition: background-color .4s,color .4s,transform .4s,opacity .4s ease-in-out; transition: background-color .4s,color .4s,transform .4s,opacity .4s ease-in-out,-webkit-transform .4s; }
body .et-shadow a.small-button {color: #A90028 !important; background: #fff;}
body .et-shadow a.small-button:hover {color: #A90028 !important; background: rgba(255, 255, 255, .9) !important;  }



/* =Página de producto
------------------------------------------------------- */

.page .woocommerce-breadcrumb,
.woocommerce .woocommerce-breadcrumb {margin-bottom: 0;text-transform: uppercase; font-size: 11px; letter-spacing: 0.5px;}
.page .woocommerce-breadcrumb a,
.woocommerce .woocommerce-breadcrumb a {color: #000;}

.woocommerce-message, .woocommerce-error, .woocommerce-info {font-size: 14px !important;}

.descripcion-breve p {padding-bottom: 8px;}
.descripcion-breve strong {display: block; color: #999; font-size: 90%; margin-left: 11px;}
.woocommerce div.product form.cart div.quantity, 
.woocommerce-page div.product form.cart div.quantity, 
.woocommerce #content div.product form.cart div.quantity, 
.woocommerce-page #content div.product form.cart div.quantity {margin-right: 10px !important;}
.et_pb_wc_add_to_cart .quantity input.qty {height: 43px}

/* Lotes destacados */
.product .related h2 {padding-bottom: 46px;}

/* Filtrador productos */
.wpf_items_wrapper label.wpf_item_name {letter-spacing: 1px; font-size: 16px; text-transform: uppercase;}


/* Carrito */
#add_payment_method table.cart img, .woocommerce-cart table.cart img, .woocommerce-checkout table.cart img {width: 80px;}

/* Resumen de compra */
.checkout-message {margin-bottom: 0 !important;}
.woocommerce-NoticeGroup {position: absolute; z-index: 2; left: 0; right: 0; text-align: center;}
.woocommerce-checkout .et_pb_section {font-size: 15px;}

.woocommerce-checkout .et_right_sidebar #left-area {width: 100%; float: none; padding-right: 0;}

.woocommerce-checkout form.woocommerce-checkout {position: relative;}
.woocommerce-checkout .datos-cliente {padding-bottom: 3rem;}
.woocommerce-checkout .datos-pedido {position: relative; padding: 3rem 0; color: #fff;}
.woocommerce-checkout .datos-pedido:after {content: ""; display: block; width: 200%; position: absolute; top: 0; left: -50%; bottom: 0; background: #555; z-index: -1;}
.woocommerce-checkout .datos-cliente .woocommerce-billing-fields {margin-bottom: 1rem;}
.woocommerce-checkout .datos-pedido .woocommerce-shipping-fields {margin-bottom: 1rem;}
.woocommerce-checkout .datos-cliente h3,
.woocommerce-checkout .datos-pedido h3 {font-weight: 300;}
.woocommerce-checkout .datos-pedido h3 {color: #fff;}
.woocommerce-checkout .datos-pedido table.shop_table,
.woocommerce-checkout .datos-pedido #payment {border-radius: 0; border: 1px solid rgba(255,255,255,0.3); background-color: transparent;}

.woocommerce-checkout .datos-pedido table.shop_table th,
.woocommerce-checkout .datos-pedido table.shop_table td,
.woocommerce-checkout #main-content .datos-pedido .cart-subtotal td {border-color: rgba(255,255,255,0.3);}
.woocommerce-checkout .datos-pedido .place-order a {color: #fff; text-decoration: underline;}
.woocommerce-checkout .datos-pedido .place-order button.alt:hover {padding: 0.8em 1.7em !important; background-image: linear-gradient(154deg,#A90028 0%,#8c0832 100%) !important;}

#customer_details .col-1 {margin-bottom: 2.5rem; }

@media (min-width: 981px) {

    .woocommerce-checkout form.woocommerce-checkout {display: -ms-flexbox; display: -webkit-box; display: flex; direction: ltr;}
    .woocommerce-checkout .datos-cliente {-ms-flex-order: 1; -webkit-box-ordinal-group: 2; order: 1; margin-right: 5.5%; width: 47.25%; padding-top: 3rem; padding-bottom: 4rem;}
    .woocommerce-checkout .datos-pedido {position: inherit;-ms-flex-order: 1; -webkit-box-ordinal-group: 2; order: 1; width: 47.25%;    padding-top: 3.55rem; padding-left: 2rem; }
    .woocommerce-checkout .datos-pedido:after {content: ""; display: block; width: 200%; position: absolute; top: 0; left: 0; bottom: 0; background: #555; z-index: -1;}

}

.resumen-sidebar:after {content: ""; display: block; width: 200%; position: absolute; top: 0; left: -50%; bottom: 0; background: #555; z-index: -1;}
@media (min-width: 981px) {
    .woocommerce-checkout.et_right_sidebar #left-area {float: none; width: 100%; padding-right: 0;}
    .woocommerce-checkout #main-content .container:before {display: none; }
    .resumen-sidebar:after {left: 0;}
}

.resumen-sidebar .woocommerce-terms-and-conditions-checkbox-text {color: #fff;}
.resumen-sidebar .woocommerce-terms-and-conditions-checkbox-text a {color: #fff; text-decoration: underline;}
.woocommerce .resumen-sidebar form .form-row .validate-required label {line-height: 1.2;}
.wc_payment_method img {width: 78px;}

.resumen-sidebar thead,
.resumen-sidebar .product-price,
.resumen-sidebar .checkout-message,
.et_pb_wc_checkout_shipping .checkout-message,
.resumen-sidebar .woocommerce-NoticeGroup,
.et_pb_wc_checkout_shipping .woocommerce-NoticeGroup,
.woocommerce-checkout #sidebar {display: none;}

.woocommerce-order {margin-top: 2rem;}
.woocommerce-notice--success {font-weight: 800;}

.wc-bacs-bank-details .account_number,
.wc-bacs-bank-details .sort_code {display: none;}

/* Mi cuenta */
.woocommerce-privacy-policy-text {margin-bottom: 1rem; font-size: 14px;}

nav.woocommerce-MyAccount-navigation ul {list-style-type: none; padding-left: 0; font-size: 17px; line-height: 26px; display: flex; font-size: 14px; font-weight: 600; padding: 0; flex-direction: column; }
.woocommerce-account .woocommerce-MyAccount-content {padding-top: 2rem;}
.woocommerce-Address {margin-bottom: 1rem;}

@media (min-width: 769px) {
    nav.woocommerce-MyAccount-navigation ul {flex-direction: row;}
   .woocommerce-account .woocommerce-MyAccount-navigation {width: 100%; }
   .woocommerce-account .woocommerce-MyAccount-content {width: 100%; border: 1px solid rgba(0,0,0,0.1); padding: 2rem; }
}

nav.woocommerce-MyAccount-navigation ul li {padding: 8px 20px; background-color: rgba(0,0,0,0.05); border-bottom: 1px solid rgba(0,0,0,0.05); }
nav.woocommerce-MyAccount-navigation ul li a {color: #000;} 
nav.woocommerce-MyAccount-navigation ul li.is-active {background-color: rgba(0,0,0,0.1); }
nav.woocommerce-MyAccount-navigation ul li.is-active a {color: rgba(0,0,0,0.8); cursor: default; }
nav.woocommerce-MyAccount-navigation ul li:not(.is-active):hover {background-color: rgba(0,0,0,0.07); }


/* =Noticias
------------------------------------------------------- */

.seleccion,
.cata {margin-top:  30px; border-top: 1px solid #e2e2e2; padding-top: 30px;}
.seleccion h2 {margin-bottom: 1rem; font-size: 30px;}
.seleccionado {display: flex; margin-bottom: 2rem;}
.seleccionado-imagen {flex: 1; margin-right: 1.5rem; max-width: 60px; }
.seleccionado-imagen img {border: 1px solid #e2e2e2;}
.selecionado-txt {flex: 1; padding-top: 0.2rem;}
.selecionado-txt h3 {}
.selecionado-txt > h4 {font-size: 16px; font-weight: 800; color: #a4a4a4; margin-top: -0.35rem;}
.seleccionado-descripcion {}

@media (min-width: 769px) {
    .seleccionado-imagen {max-width: 110px; }
}

@media (max-width: 479px) {

    img.alignleft {float: none; width: 100%; margin-bottom: 1rem;}

}

