#Content > #content {
    padding: 20px 10px;
}
body .owl-theme:not(.owl-single):not(.owl-bordered) .owl-wrapper .owl-item, body .owl-theme:not(.owl-single):not(.owl-bordered) .owl-stage-outer .owl-item {
 padding: 0 10px;
}
body .c-content-product-2 .c-info {
    padding: 0 10px;
}

/* Contenedor con altura fija */
body .c-content-product-2 .c-info {
  /* Ajusta la altura a line-height × 3; aquí suponemos 1.5em de line-height */
  height: 4.5em;
  overflow: hidden;
}

/* Párrafo truncado a 3 líneas con ellipsis */
body .c-content-product-2 .c-info .c-title {
  display: -webkit-box;             /* Necesario para line-clamp */
  -webkit-box-orient: vertical;     
  -webkit-line-clamp: 3;            /* Máximo de 3 líneas */
  overflow: hidden;                 
  text-overflow: ellipsis;          /* Puntitos al final */
  /* Asegúrate de que tu line-height sea consistente: */
  line-height: 1.5em;
}

label.form-required::after {
  content: "*";
  color: #32c5d2;
  font-weight: bold;
  margin-left: 4px;
}

body .c-product-add-to-cart {
    min-height: 190px !important;
    max-height: 190px !important;
}

body .inlinef {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    width: 100%;
    box-sizing: border-box;
    font-size: 17px;
}
body .minilabel {
    font-weight: 300;
    font-size: 17px;
}

body #block-jango-sub-content .c-product-meta > .c-product-review {
    margin-bottom: 1em;
}
body #bootstrap-fieldgroup-nav-item--additional-information {
    text-align: left;
}
body .commerce-checkout-flow .fieldset-wrapper > div {
    display: flex;
    flex-direction: column;
}
body .commerce-checkout-flow .fieldset-wrapper > div > div{
    margin: 0;
}
/*
body .preserve-webform-container-inline div, 
body .preserve-webform-container-inline div.form-item {
    display: inline-flex;
}

body .preserve-webform-container-inline div label, 
body .preserve-webform-container-inline div.form-item label{
    padding: 0 0 0 5px;
}*/

/* Estilo más controlado para alinear los radio buttons y las etiquetas */
body .preserve-webform-container-inline div.form-group {
    margin: 0;
}
body .preserve-webform-container-inline div.form-item {
    display: inline-flex;
    margin-bottom: 0.8rem !important;
    gap: 0.5rem;
}

body .preserve-webform-container-inline div.form-item input[type="radio"] {
margin: 0;
vertical-align: middle;
cursor: pointer;
}

body .preserve-webform-container-inline div.form-item label {
margin: 0;
padding: 0;
cursor: pointer;
}
  

@media screen and (min-width: 780px), (orientation: landscape) and (min-device-height: 780px) {
    body .ancho-sidebar {
        width: 35%;
    }
}

body .ui-widget.ui-widget-content {
    z-index: 9998;
}

/** legends **/
.field--widget-commerce-shipping-rate fieldset > legend {
    display: none !important;
}
fieldset > legend {
    display: block !important;
    font-size: 24px;
    text-transform: uppercase;
    font-weight: 600 !important;
    color: #3f444a;
    border-bottom: 0;
    margin-bottom: 0;
}
fieldset.checkout-pane-customer-comments > legend span.fieldset-legend  {
    font-weight: 300 !important;
    font-size: 18px !important;
    text-transform: none !important;
}
fieldset.checkout-pane-pickup-location > legend {
    font-weight: 300 !important;
    font-size: 18px;
    text-transform: none;    
}

.ui-dialog {
    position: absolute;
    top: 0;
    left: 0;
    padding: .2em;
    outline: 0;
    max-width: 100%;
}

.pickup-selector-button {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    cursor: pointer;
    appearance: button;
    background: #fff;
    border: 0.8px solid rgb(228, 228, 231);
    border-radius: 6px;
    box-sizing: border-box;
    color: #000;
    gap: 8px;
    font: 400 14px/20px "Roboto Condensed";
    height: auto;
    margin: 0 0;
    padding: 12px 16px;
    text-align: left;
    transition: 0.15s cubic-bezier(0.4, 0, 0.2, 1) color, background-color, border-color, text-decoration-color, fill, stroke, -webkit-text-decoration-color;
    -webkit-tap-highlight-color: transparent;
  }
  .transition-colors {
    transition-property: color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, -webkit-text-decoration-color;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.pickup-card {
    font: 300 14px/20px "Roboto Condensed";
    border-style: solid;
    border-color: #e5e7eb;    
}

.p-4 {
    padding: 0.5em 0;
}

.border {
    border-width: 1px;
}

.rounded-lg {
    border-radius: var(--radius);
}

.cursor-pointer {
    cursor: pointer;
}

.text-gray-500 {
    --tw-text-opacity: 1;
    color: rgb(107 114 128);
}

.pickup-card.p-4 {
    padding: 1em !important;
}
.pickup-card .text-sm {
    font-size: 18px;
    line-height: 1.25em;
}
.pickup-card .font-medium {
    font-weight: 500;
}
.pickup-card .text-gray-600 {
    --tw-text-opacity: 1;
    color: rgb(75 85 99);
}

.pickup-card .mt-1 {
    margin: 0 0 0 0;
}
@media (hover: hover) {
    body .hover\:bg-gray-50:hover {
        --tw-bg-opacity: 1;
        background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1));
    }
}
body .pickup-condensed {
    flex-direction: column !important;
    place-items: self-start !important;
    font-weight: 300 !important;  
}
body .pickup-condensed h3 {
    font: 400 14px/20px Roboto, "Roboto Condensed";
    color: #3f444a !important;
    font-size: 16px !important;
    margin: 0 0 !important;
}
body .pickup-condensed p.mt-1 {
    margin: 0 0 0 0;
}
.fieldset-legend, footer big {
    display: block !important;
    font-size: 24px;
    text-transform: uppercase;
    font-weight: 600 !important;
    color: #3f444a;
    border-bottom: 0;
}
[id^=field-telefono-values] > tbody > tr:hover {
    background-color: transparent;
}
[id^=field-telefono-values] > thead {
    display: none;
}
[id^=field-telefono-values] {
    border: 0 solid;
    display: flex;    
    margin-bottom: 0;
}
[id^=field-telefono-values] > tbody {
    border: 0 solid;
    display: flex;
}
[id^=field-telefono-values] > tbody > tr  {
    border: 0 solid;
}
[id^=field-telefono-values] > tbody > tr > td {
    margin: 0 0 0 0;
    padding: 0 0 0 0;
    border: 0 solid;
}
[id^=field-telefono-values] input {
    height: 46px;
    padding: 10px 16px;
    font-size: 18px;
    line-height: 1.33333;
    border-radius: 6px;
}
.field--name-field-fecha-de-nacimiento,
.field--name-field-dni-nie-cif,
.field--name-field-tipo-de-documento {
    max-width: 300px;
    display: inline-block;
}

body .c-shop-product-details-2 .c-product-gallery > .c-product-gallery-content > .c-zoom {
	aspect-ratio: 1 / 1;
	height: auto;
}

body .c-shop-product-details-2 .c-product-gallery > .c-product-gallery-thumbnail > .c-product-thumb {
	aspect-ratio: 1 / 1;
	height: auto !important;
}

body .c-shop-product-details-2 .c-product-gallery > .c-product-gallery-content {
	height: auto;
}

/* Imitamos las clases y estilos de D7 */
body .ui-widget {
    font-family: "Roboto Condensed", sans-serif;
    padding: 0px !important;
    margin: 0px !important;
    font-weight: 300;
    font-size: 17px; 
}

body div.messages.commerce-add-to-cart-confirmation .message-inner {
    display: flex;
    flex-direction: row;
  }  
  /* Título del popup */
  body div.messages.commerce-add-to-cart-confirmation .message-inner .added-product-title {
    float: left;
    font-size: 14px;
    font-weight: bold;
    padding: 10px 30px 10px 20px;
    text-align: center;
    text-transform: uppercase;
  }
  body div.messages.commerce-add-to-cart-confirmation .message-inner > div:first-child {
    display: flex;
    flex-direction: column;
    padding: .4em 1em;
    width: 65%;
  }
  /* Donde se ve la imagen, el nombre, cantidad, total */
  body div.messages.commerce-add-to-cart-confirmation .view-content .views-row {
    display: flex;
    align-items: flex-start;
    gap: 20px;
  }

  body div.messages.commerce-add-to-cart-confirmation .views-row .views-field-total-price__number {
    position: static;
    /* top: 15px; */
    /* right: 37px; */
    /* font-size: 16px; */
    clear: both;
    font-size: 20px;
    margin-top: 25px;
}
  
  /*body div.messages.commerce-add-to-cart-confirmation .views-field-field-single-image img {
    border: 1px solid #ccc;
  }*/
  
  /*Clases de la vista */
  .envoltorio-add-to-cart {
    display: flex;
    flex-direction: row !important;
  }
  .etiqueta-add-to-cart {
    font-weight: 600;
  }
  .campo-add-to-cart {
    padding: 0 0 0 4px;
  }

  /* Total en negrita y color oscuro */
  body div.messages.commerce-add-to-cart-confirmation .views-field-total-price__number .field-content {
    color: #252525;
    font-weight: bold;
  }
  
  /* Botones */
  body div.messages.commerce-add-to-cart-confirmation .message-inner .button-wrapper {
    background-color: #e4e4e4;
    display: flex;
    flex-direction: column;
    flex-grow: 2;
  }
  body div.messages.commerce-add-to-cart-confirmation .message-inner .button.checkout,
  body div.messages.commerce-add-to-cart-confirmation .message-inner .button.action {
      display: flex;
      flex-direction: row;
      justify-content: center;
      min-width: 100%;
  }
  body div.messages.commerce-add-to-cart-confirmation .message-inner .button.checkout a {
    background: #e74c3c;
    border-color: #e74c3c;
    color: #fff;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 4px;
    width: 100%;
    margin: 15px 15px 0;
  }

  body div.messages.commerce-add-to-cart-confirmation .message-inner .button.neutral a {
    background: #7f8c97;
    border-color: #7f8c97;
  }

  body div.messages.commerce-add-to-cart-confirmation .message-inner .button.action a {
    background: #32c5d2;
    border-color: #32c5d2;
    color: #fff;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 4px;
    width: 100%;
    margin: 15px 15px 0;
  }  

  /*body div.messages.commerce-add-to-cart-confirmation .message-inner .button.continue a {
    background-color: #dadada;
    color: #333;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 4px;
  }

   Botón de cierre extra (X)   
  body div.messages.commerce-add-to-cart-confirmation .commerce-add-to-cart-confirmation-close {
    display: block;
    height: 30px;
    position: absolute;
    width: 30px;
    z-index: 9999;
    right: 0;
    top: 0;
  }
  body div.messages.commerce-add-to-cart-confirmation .commerce-add-to-cart-confirmation-close:hover {
    color: #000;
  }*/
  

  /* Quitar borde y background del .ui-dialog (marco del popup) */
  body .ui-dialog.commerce-confirmation-popup.ui-widget.ui-widget-content {
    border: none;
    box-shadow: none;
    padding: 0;
    border-color: #6b6b6b;
    border-top-color: rgb(107, 107, 107);
    border-right-color: rgb(107, 107, 107);
    border-bottom-color: rgb(107, 107, 107);
    border-left-color: rgb(107, 107, 107);
    -moz-box-shadow: 0 2px 15px #57595a;
    -webkit-box-shadow: 0 2px 15px #57595a;
    box-shadow: 0 2px 15px #57595a;
  }
  
  /* Quitar la barra de título del popup jQuery UI */

  /*
    body .ui-dialog .ui-dialog-titlebar.ui-corner-all.ui-widget-header {
        display: none;
    }
    body .ui-dialog .ui-dialog-content {
        position: relative;
        border: 0;
        padding: 0 0;
        overflow: hidden;
    }*/
    body .ui-widget-header {
        border: 1px solid #ffffff/*{borderColorHeader}*/;
        background: #ffffff/*{bgColorHeader}*/ /*{bgImgUrlHeader}*/ /*{bgHeaderXPos}*/ /*{bgHeaderYPos}*/ /*{bgHeaderRepeat}*/;
        color: #333333/*{fcHeader}*/;
        font-weight: bold;
    }
    body .ui-dialog .ui-dialog-content {
        padding: 0 0;
    }

    body .ui-dialog .ui-dialog-titlebar-close {
        background: transparent;
        border: solid 0;
        padding: 0 20px 0 0;
    }
    .icon-aspa {
        font-size: 24px;
        color: #333;
    }
    .icon-aspa:hover {
    color: #000;
    }
    .color_green {
        color: #27ae60;
    }
    
    .color_intenso {
        color: #000;
        font-weight: 600;
    }
	
	#btnAyudacompra {
		display:flex;
		margin-left: 30px;
	}
	
	#btnAyudacompra > span {
		margin-top: 8px;
	}
    #block-jango-sub-formularioexpuestoshoppage {
        display: flex; 
        margin-bottom: 30px;   
    }

/* themes/custom/jango_sub/css/custom-filters.css */

/* Contenedor que envuelve Min + Slider + Max */
#edit-commerce-price-number-wrapper .fieldset-wrapper {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "min slider max";
    column-gap: 0.5rem;
    align-items: center;
  }
  
  /* Asignamos la zona correspondiente a cada uno */
  .form-item-commerce-price-number-min { grid-area: min; }
  .bef-slider                     { grid-area: slider; }
  .form-item-commerce-price-number-max { grid-area: max; }
  
  /* Ajustes extra: inputs más pequeños */
  #edit-commerce-price-number-min,
  #edit-commerce-price-number-max {
    width: 4rem;
  }
  
  /* Chrome, Safari, Edge, Opera */
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

button.bootstrap-touchspin-down, button.bootstrap-touchspin-up {
    border: 1px solid #d0d7de;
    padding: 4.2px !important;
    display: block;
}
body .c-shop-cart-page-1 .c-cart-qty input {
    border: 1px solid #d0d7de;
    /*padding: 5px;*/
    padding: 4px 4px 4px 0;
    width: 100%;
    text-align: center;
}

body .bootstrap-touchspin-injected {
    max-width: 6em;
}

body .bootstrap-touchspin-injected input {
    padding: 4px 4px 4px 0;
    text-align: center;
    padding-right: 4px !important;
}

/* Oculta sólo los labels de los dos selects de atributos  */
.c-shop-product-details-2 [id^="commerce-product-add-to-cart-form"] .form-item-purchased-entity-0-attributes-attribute-color label,
.c-shop-product-details-2 [id^="commerce-product-add-to-cart-form"] .form-item-purchased-entity-0-attributes-attribute-size label {
  /*display: none !important;*/
  flex-direction: row !important;
}
.node-product-teaser [id^="commerce-product-add-to-cart-form"] .form-item-purchased-entity-0-attributes-attribute-color label,
.node-product-teaser [id^="commerce-product-add-to-cart-form"] .form-item-purchased-entity-0-attributes-attribute-size label {
  display: none !important;
}
body .node-product-teaser [id^="commerce-product-add-to-cart-form"] 
.field--widget-commerce-product-variation-attributes .form-wrapper .form-item select{
    max-width: 100%;
}
body [id^="commerce-product-add-to-cart-form"] .form-group {
    margin-bottom: 0;
}
/*body #commerce-product-add-to-cart-form .form-group {
    margin-bottom: 15px;
}*/
body [id^="commerce-product-add-to-cart-form"] .js-form-type-number {
    display: flex;
    flex-direction: row;
}
body [id^="commerce-product-add-to-cart-form"] .form-item label {
    font-weight: 300;
    font-size: 16px;
    margin: 0;
    padding: 4px 8px 4px 0px;
}
body #commerce-product-add-to-cart-form .form-item label {
    font-weight: 300;
    font-size: 16px;
    margin: 0;
    padding: 4px 8px 4px 0px;
}
#commerce-product-add-to-cart-form > label {
    padding: 8px 0 0 0;   
}
.ch-padding {
    padding: 0 10px;
}

/* Resp */
@media screen and (max-width: 992px) {
body .c-layout-header .c-navbar .c-logo img {
  /*max-height: 57px;*/
  max-height: 35px !important;
}
.juntoa {
    padding: 20px;
}
.juntoa .c-btn-blue {
    margin: 10px 0 20px;
}
}

/* fuerza que el menú esté siempre visible en hover */
.dropdown:hover .dropdown-menu {
  display: block;
  margin-top: 0; /* opcional: evita salto vertical */
}


/* Override jquery modulue */
body .ui-widget-overlay {
    background: #000000 /*{bgColorOverlay}*/ /*{bgImgUrlOverlay}*/ /*{bgOverlayXPos}*/ /*{bgOverlayYPos}*/ /*{bgOverlayRepeat}*/;
    opacity: .6 /*{opacityOverlay}*/;
    -ms-filter: "alpha(opacity=30)"/*{opacityFilterOverlay}*/;
}

/* Oculta solo el submit que sale dentro de product.variations */
body .node-product-teaser .c-product-add-to-cart form.commerce-order-item-add-to-cart-form input[type="submit"] {
  display: none !important;
}

.search-block-form .input-group {
    /** display: block !important; **/
    display: flex !important;
}
.c-layout-quick-search-shown .c-layout-header .c-quick-search {
    display: flex !important;
    flex-grow: 2;
}
@media (min-width: 992px) {
    .c-layout-header .c-quick-search > span {
       padding-right: 20px;
    }
}
@media (min-width: 992px) {
    .c-page-on-scroll.c-layout-header-fixed .c-layout-header .c-quick-search > span {
        padding-right: 20px;
}
}
.c-layout-quick-search-shown form[data-drupal-selector="search-block-form"] [data-drupal-selector="edit-actions"] {
    display: flex !important;
    width: auto;
}
@media (min-width: 992px) {
    .c-layout-quick-search-shown form[data-drupal-selector="search-block-form"] [data-drupal-selector="edit-actions"].form-actions .btn-medium {
        margin-top: 4px;
        margin-bottom: 4px;
    }
}
@media (max-width: 991px) {
    .c-layout-quick-search-shown form[data-drupal-selector="search-block-form"] [data-drupal-selector="edit-actions"].form-actions .btn-medium {
        margin-top: 4px;
        margin-bottom: 4px;
    }
}
.c-search-term, .c-empty  {
    margin: 20px 0;
}
.no-desbordable {
    margin: 0 !important;
    width: 100% !important;
}

.views-view-grid .node-product-teaser {
    margin-bottom: 20px;
}
[id^=edit-commerce-price-number-wrapper] {
    overflow: hidden !important;
}
[id^=edit-commerce-price-number-wrapper] .fieldset-wrapper {
    max-height: 99px !important;
    visibility: hidden;

}
.price-slider-full {
    padding: 0 1.5rem;
    margin-top: 1rem;
}

/* Better product **/

body .muy_dark figure {
    width: 100%;
    height: 150px;
    position: relative;
    overflow: hidden;
}

body .muy_dark figure:hover {
    cursor: pointer !important;
}

body .muy_dark figure label:hover {
    cursor: pointer !important;
}

body .muy_dark figure figcaption {
    padding: 0 0 0 0 !important;
}

body .muy_dark figure figcaption .clearfix {
    display: flex;
    flex-direction: row !important;
    height: 100px !important;
}

body .muy_dark figure figcaption .clearfix > div {
    display: flex;
    flex-direction: column;
}

body .muy_dark figure figcaption .clearfix > div:nth-child(2) {
    justify-content: flex-end;
}

body .muy_dark figure figcaption .clearfix label {
    line-height: 2em;
    text-align: right;
    color: #fff;
    display: block;
    height: 20px;
}

.box1 {
    width: 100%;
    height: 100%;
    background-color: #323a45;
    transform: skewX(-20deg) translateX(-300px);
    position: absolute;
    z-index: 10;
}

.box1 figcaption {
    transform: skewX(20deg) translateX(300px);
}

.box2 {
    width: 100%;
    height: 100%;
    background-size: 330px 150px;
    background-repeat: no-repeat;
    background-position: right;
    z-index: 0;
    background-color: #e2e2e2;
}

body .muy_dark .photoframe {
    border: 0 solid;
    z-index: 1;
    background: #323a45;
    border-radius: 10px;
    overflow: hidden;
}

body .muy_dark .photoframe .oferta_en {
    color: #fff;
    background: #0060ac;
    padding: 10px 15px;
    text-transform: uppercase;
    display: inline-flex;
    left: -3px;
    position: relative;
    line-height: 16px;
}

body .muy_dark .photoframe .novedad_en {
    color: #fff;
    background: #c0392b;
    padding: 10px 15px;
    text-transform: uppercase;
    display: inline-flex;
    left: -3px;
    position: relative;
    line-height: 16px;
}

body .muy_dark .photoframe .articulo_en {
    color: #fff;
    background: #696969;
    padding: 10px 15px;
    text-transform: uppercase;
    display: inline-flex;
    left: -3px;
    position: relative;
    line-height: 16px;
}

body .muy_dark .photoframe .color_dark {
    color: #fff;
    padding: 10px 10px 0;
    display: block;
    font-size: 1.2em;
    line-height: 1.2em;
}

body .muy_dark .photoframe .field-commerce-price {
    color: #fff;
}
.p_list_description {
    /*width: 375px;*/
    width: 415px;
}

body .compacto i{
    width: 20px;
    font-size: 18px;
    color: #ddd; 
}
@media only screen and (max-width: 1200px),only screen and (max-width:1200px) and (orientation:landscape) {
    body .muy_dark .p_list_description {
        width:calc(100% - 300px);
        margin: 0;
    }

    body .muy_dark figure figcaption .clearfix {
        display: flex;
        flex-direction: column !important;
        justify-content: space-between;
    }

    body .muy_dark figure figcaption .clearfix > div {
        display: flex;
        flex-direction: row;
    }

    body .muy_dark figure figcaption .clearfix > div:nth-child(2) {
        justify-content: flex-start;
    }

    body .muy_dark .photoframe .color_dark {
        font-size: 15px;
    }

    body .muy_dark figure figcaption .clearfix label {
        text-align: left;
        font-size: 13px;
        margin-bottom: 0;
    }

    body .muy_dark .photoframe .field-commerce-price {
        font-size: 24px;
    }

    body .muy_dark .photoframe .scheme_color {
        margin: 0 10px;
    }

    body .el_precio {
        margin: 0 15px;
        font-size: 0.8em;
    }
}

@media only screen and (max-width: 767px) {
    body .box1 {
        width:100%;
        height: 100%;
        background-color: #323a45;
        transform: skewX(-20deg) translateX(-125px);
        position: absolute;
        z-index: 10;
    }

    body .box1 figcaption {
        transform: skewX(20deg) translateX(125px);
    }

    body .muy_dark .p_list_description {
        width: calc(100% - 125px);
    }

    .nomobile {
        display: none !important
    }

    .onlymobile {
        display: block !important
    }

    body .box2 {
        width: 100%;
        height: 100%;
        background-size: 150px 150px;
        background-repeat: no-repeat;
        background-position: right;
        z-index: 0;
    }
}

@media only screen and (min-width: 768px) {
    .nomobile {
        display:block !important
    }

    .onlymobile {
        display: none !important
    }
}
/* fin*/

.single-variant-label {
  /* Haz que padding y border cuenten dentro del max-height/width */
  box-sizing: border-box;

  /* Tus estilos tipográficos */
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 300;
  font-size: 14px;
  line-height: 1.4em;

  /* Espaciado interior */
  padding: 10px 5px;

  /* Recorte a 3 líneas */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  word-wrap: break-word;

  /* Que como mucho ocupe 3 líneas de contenido (incluyendo ya el padding) */
  max-height: calc(1.6em * 3);
}
.mi-clase-single-option .form-item {
    margin-top: 0;
}
.single-variant-label span.single-variant-note {
  color: #bdbdbd
}

/* 1. Convierto el contenedor padre en flex */
#edit-shipping-information-shipping-profile,
#edit-payment-information-billing-information {
  display: flex !important;
  flex-direction: row;
  flex-wrap: wrap !important;
  gap: 1rem; /* espacio entre columnas */
}

/* 2. Hago que cada uno ocupe ~50% */
#edit-shipping-information-shipping-profile > #edit-shipping-information-shipping-profile-field-tipo-de-documento-wrapper,
#edit-shipping-information-shipping-profile > #edit-shipping-information-shipping-profile-field-dni-nie-cif-wrapper,
#edit-payment-information-billing-information > div[id^="edit-payment-information-billing-information-field-tipo-de-documento-wrapper"],
#edit-payment-information-billing-information > div[id^="edit-payment-information-billing-information-field-dni-nie-cif-wrapper"] {
  flex: 1 1 calc(50% - 0.5rem) !important;
  max-width: calc(50% - 0.5rem) !important;
}

/* 3. En móviles, vuelvo a 100% */
@media (max-width: 768px) {
  #edit-shipping-information-shipping-profile {
    display: block !important;
  }
  #edit-shipping-information-shipping-profile > #edit-shipping-information-shipping-profile-field-tipo-de-documento-wrapper,
  #edit-shipping-information-shipping-profile > #edit-shipping-information-shipping-profile-field-dni-nie-cif-wrapper,
  #edit-payment-information-billing-information > div[id^="edit-payment-information-billing-information-field-tipo-de-documento-wrapper"],
  #edit-payment-information-billing-information > div[id^="edit-payment-information-billing-information-field-dni-nie-cif-wrapper"] {
    flex: none !important;
    max-width: none !important;
    width: 100% !important;
  }
}

.line-item-summary .line-item-total-label, .line-item-total-raw {
    font-size: 20px;
}
.line-item-summary {
    margin-top: 0;
}
#edit-payment-information-payment-method--wrapper .fieldset-wrapper {
    margin: 10px 0;
}

/*Override CSS form*/
.layout-checkout-form .form-item {
    margin-top: 10px;
}
.layout-checkout-form .form-group {
    margin-bottom: 0;
}
.layout-checkout-form fieldset {
    padding: 0;
    margin: 20px 0 20px 0 !important;
    border: 0;
    min-width: 0;
}

 /*#block-jango-sub-footer4dark4columnslatestworks {
    padding-top: 40px;
 }*/


 @media (min-width: 991px) and (max-width: 1200px) {
 body .views-view-grid .btn-group-justified {
    display: flex;
    flex-direction: row;
    overflow: hidden;
 }
 body .views-view-grid .btn-group-justified > .btn-group {
    display: flex;
    flex-grow: 1;
    width: fit-content;  
 }
}
  .c-flex-start {
    padding: 0;
    background: transparent;
    display: flex;
    margin: 5px 0;
  }
  .c-flex-start > .nav.navbar-nav {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .c-flex-start > .nav.navbar-nav > li {
     margin: 5px;   
     background-color: #ffffff;
  }
  .c-flex-start > .nav > li > a:hover, .c-flex-start > .nav > li > a:focus {
    text-decoration: none;
    background-color: #ffffff;
  }
  .c-flex-start > .nav.navbar-nav > li > .c-link {
    letter-spacing: 1px;
    font-style: normal;
    transition: all 0.2s;
    padding: 10px;
    color: #3a3f45;
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
  }
  .nccss {
      /*margin-top: 20px;*/
  }
  .flexicar {
    display: flex;
    flex-direction: column; 
    padding: 20px;
  }
.flexicar .f_left {
    float: left;
}
.flexicar .m_right_15 {
    margin-right: 15px;
    min-width: 80px !important;
}
.flexicar hr {
    box-sizing: content-box;
    height: 0px;
}
.flex_row {
    display: flex;
    flex-direction: row;
}
.flex_col {
    display: flex;
    flex-direction: column;
}

#block-jango-sub-views-block-better-product-better-product {
    Margin: 0 0 20px;
}

.not-valid {
    line-height: 20px !important;
    display: flex;
}

.c-product-price {
    min-height: 60px;
    max-height: 60px;
}

#block-jango-sub-shoppseudobreadcrumb > div {
    padding: 0 0 25px 0;    
}
#block-jango-sub-shoppseudobreadcrumb > div > a,
#block-jango-sub-shoppseudobreadcrumb > div > span  {
letter-spacing: 1px;
    font-style: normal;
    transition: all 0.2s;
    padding: 10px 0;
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
}

#edit-actions > .link--previous {
	display: block;
    margin-top: 20px;
}

.layout-checkout-form #edit-actions {
	text-align: center;
}

.node-product-teaser .btn-group > .btn-group:last-child:not(:first-child) > .btn:first-child {
    background: #32c5d2;
    border-color: #32c5d2;
    color: white !important;
    font-weight: 600;
}
.node-product-teaser .btn-group > .btn-group:last-child:not(:first-child) > .btn:first-child:hover {
    background: #27a8b4 !important;
    border-color: #27a8b4 !important;
    color: white !important;
    font-weight: 600;
}
body .c-block {
    display: block;
}

body el_precio {
    max-height: 80px;
}

#edit-email-registration-login-returning-customer-name--description {
	visibility:hidden;
}

#edit-email-registration-login-returning-customer-password--description {
	visibility:hidden;
}
/* ***************************** */
/* Contenedor general del pedido */
.order-user {
  max-width: 960px;
  margin: 0 auto 3rem;
}

/* Título principal del pedido */
.order-user__title {
  font-weight: 600;
  margin-bottom: 1.5rem;
}

/* Cabecera: estado + fecha */
.order-user__header {
  background: #f5f7fa;
  padding: 1rem 1.25rem;
  border-radius: 8px;
  margin-bottom: 1.75rem;
}

.order-user__header-row {
  display: flex;
  gap: 0.5rem;
}

.order-user__label {
  font-weight: 600;
}

/* Bloque de líneas + totales */
.order-user__body {
  margin-bottom: 2rem;
}

/* Bloque de perfiles (facturación + envío) */
.order-user__customer-info {
  margin-top: 2rem;
}

.order-user__columns {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.order-user__column {
  flex: 1 1 280px;
}

/* Titulares de sección (Facturación / Envío) */
.order-user__section-title {
  font-weight: 600;
  margin: 0 0 0.75rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid #e0e4ea;
}

/* Afinar un poco los perfiles internos */
.order-user__column .profile {
  line-height: 1.5;
}

.order-user__column .field {
  margin-bottom: 0.35rem;
}

.order-user__column .field__label {
  font-weight: 600;
  margin-right: 0.25rem;
}

/* Responsive: una sola columna en pantallas estrechas */
@media (max-width: 768px) {
  .order-user__columns {
    flex-direction: column;
  }
}
/* ***************************** */
/* === Pestañas de menú local (Ver / Editar / Pedidos, etc.) === */

/* Contenedor de las pestañas */
#block-jango-sub-local-tasks ul {
  list-style: none;             /* sin bullets */
  margin: 0 0 1.5rem;           /* un poco de aire debajo */
  padding: 0;                   /* quitar padding-inline-start */
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;                  /* separación entre pestañas */
}

/* Cada pestaña */
#block-jango-sub-local-tasks li {
  margin: 0;
}

/* Enlace de la pestaña */
#block-jango-sub-local-tasks a {
  display: inline-block;
  padding: 0.45rem 0.9rem;
  border: 1px solid #dadfe6;
  border-radius: 4px;
  background: #f7f8fb;
  text-decoration: none;
  color: #444;
}

/* Hover */
#block-jango-sub-local-tasks a:hover {
  background: #ffffff;
  border-color: #c0cadb;
}

/* Pestaña activa: usa la clase is-active que ya viene en el HTML */
#block-jango-sub-local-tasks a.is-active {
  background: #ffffff;
  border-color: #2c4f8f;
  color: #2c4f8f;
  font-weight: 600;
}


/******************/
/* Encabezado de la página de cuenta de usuario (encima de las tabs) */
#block-jango-sub-local-tasks .user-account-header {
  margin-bottom: 1rem;
}

#block-jango-sub-local-tasks .user-account-header__title {
  font-weight: 600;
  margin: 0;
}

#block-jango-sub-local-tasks .user-account-header__subtitle {
  margin-top: 0.25rem;
  color: #6b7280; /* gris suave */
}

/* 1) Klaro siempre por encima (máximo z-index “seguro”) */
#klaro,
.klaro,
.klaro .cookie-notice,
.klaro .cookie-modal {
  z-index: 2147483647 !important;
}

/* Asegura que z-index aplique */
.klaro .cookie-notice,
.klaro .cookie-modal,
#klaro {
  position: fixed !important;
}