@media (min-width: 1500px) {
  .container {
    width: 100%;
    max-width: 1500px;
    box-sizing: border-box;
  }
}

.search-product-numbers {
  display: none;
}

@media (min-width: 768px) {
  .header-top .search-widget form input[type="text"] {
    border: 1px solid #e1e1e1;
    border-left: 1px solid #e1e1e1;
    padding: 11px 15px;
    padding-right: 35px;
  }
}

img.logo {
  width: auto;
  height: 68px;
}

.page-product #wrapper .container .row {
  margin-top: 60px;
}

.page-product .images-container {
  display: flex;
  flex-direction: row-reverse;
}

.page-product ul.product-images.js-qv-product-images {
  display: flex;
  flex-direction: column;
}

.page-product #wrapper .breadcrumb {
  text-align: center;
}

.page-product li.label.out_of_stock {
  display: none;
}

.page-product .product-cover img {
  box-shadow: none;
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
  border: 0;
}

.page-product#product .product-price {
  color: #BB9551;
}

.page-product#product .product-description {
  padding-top: 20px;
}

.page-product .product-description p {
  text-align: left !important;
  margin-bottom: 20px;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  line-height: 26px;
}

.page-product .product-description h3 {
  text-align: left !important;
  margin-bottom: 30px;
}

.page-product .product-cover{
  width: min(100vw, 100%);
}

.product-images > li.thumb-container > .thumb.selected, .product-images > li.thumb-container > .thumb:hover {
  border: 0;
}

.product-images>li.thumb-container>.thumb.selected, .product-images>li.thumb-container>.thumb:hover {
  border: 0;
}

.product-images > li.thumb-container > .thumb {
  border: 0;
}

.featured-products h2 span {
  text-transform: uppercase;
}

.tax-shipping-delivery-label {
  display: none;
}

.social-sharing {
  display: none;
}

.product-extra-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 1023px) {
	.product-extra-buttons {
	  flex-direction: column;
	}
}

.product-attachments {
    display: flex;
}

@media (min-width: 768px) {
	img.js-qv-product-cover {
		width: auto !important;
	}

	.page-product .product-cover {
		padding-left: 90px;
		padding-right: 90px;
		text-align: center;
	}

	.page-product .product-cover img.js-qv-product-cover {
		max-width: 100%;
		display: block;
		margin-left: auto;
		margin-right: auto;
	}
}

.product-extra-buttons a.btn.btn-secondary {
  text-transform: none;
  font-weight: 400;
  display: flex;
  align-items: flex-end;
  background-color: transparent;
}

.product-cover .layer .zoom-in {
    margin-right: 100px;
}

.product-extra-buttons a.btn.btn-secondary img {
  margin-right: 10px;
}

.product-extra-buttons a.btn.btn-secondary i.fa {
  margin-right: 8px;
  font-size: 17px;
}

#module-author_page-author #wrapper .container .row {
  display: flex;
}

#module-author_page-author .sidebar {
  max-width: 300px;
  margin-left: 15px;
}

#module-author_page-author div#content-wrapper {
  max-width: 1200px;
}

 .content {
  display: flex;
  align-items: center;
  gap: 30px;
}

#module-author_page-author #wrapper .breadcrumb {
  text-align: center;
}

.authorBooksContainer {
  margin-top: 30px;
}

.authorBooksContainer h2 {
  text-align: center;
  font-size: 28px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.authorBooksContainer {
  margin-top: 80px;
}

#products .product-description, .featured-products .product-description, .product-accessories .product-description, .product-item .product-miniature .product-description {
  position: relative;
  height: auto;
  width: auto;
  margin: 0;
  z-index: 0;
  padding-top: 0px;
  padding-bottom: 0px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.display-mode{
  display: none !important;
}

.product-item .product-miniature .product-title a {
  font-size: 19px;font-weight: 500;
}

span.price {
    font-size: 19px;
}

li.label.out_of_stock {
    display: none;
}

.author-item.selected a {
  font-weight: 600;
}

.author-item.selected {
  background: #d2d8e4;
}

#module-author_page-author #wrapper .container .row {
    display: flex;
    flex-wrap: nowrap;
    margin-bottom: 20px;
}

#module-author_page-author #wrapper .container .products.row {
    display: flex;
    flex-wrap: wrap;
    gap: 50px 30px;
}

li.label.new {
    display: none;
}

@media (min-width: 768px) {
	.footer-top {
		display: flex;
		justify-content: center;
	}

	.storeConfiguration {
		padding: 0px 10px 0px 0px;
		width: 25%;
		text-align: left;
        padding-left: 4vw;
	}
}

.storeConfiguration p {
    margin-bottom: 20px;
}

.storeConfiguration p img {
    margin-right: 5px;
}

.storeConfiguration p a {
    text-transform: none;
    color: #000;
}

.socialLinks {
    display: flex;
    gap: 15px;
    margin-left: 5px;
    justify-content: flex-start;
}

.socialLinks img {
    width: 16px;
    height: 16px;
}

.socialLinks a {
    color: #000;
}

.socialLinks svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    vertical-align: middle;
}

.storeConfiguration .mail-line svg {
    width: 18px;
    height: 18px;
    fill: #000;
    vertical-align: middle;
    margin-right: 8px;
}

#footer .gdpr_consent {
    margin-top: 12px;
    width: 100%;
}

#footer .gdpr_consent .psgdpr_consent_message {
    display: flex;
    align-items: center;
    margin: 0;
    font-size: 12px;
    line-height: 16px;
    color: #fff;
    cursor: pointer;
}

#footer .gdpr_consent .custom-checkbox input[type="checkbox"] + span {
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    margin-right: 8px;
    background: #fff;
    border: 1px solid #fff;
    border-radius: 2px;
}

#footer .gdpr_consent .custom-checkbox input[type="checkbox"] + span .psgdpr_consent_icon {
    color: #000;
    font-size: 14px;
    line-height: 14px;
}

#footer .gdpr_consent a {
    color: #fff;
    text-decoration: none;
    text-transform: none;
}

#footer .gdpr_consent a:hover {
    color: #fff;
}

#footer .block_newsletter [type="submit"][disabled],
#footer #newsletter [type="submit"][disabled] {
    opacity: .55;
    cursor: not-allowed;
}

.storeConfiguration .column-title img {
    max-height: 60px;
    width: auto;
}


div#carousel {
  display: block;
}

div#carouselMobile {
  display: none;
}

@media (max-width: 767px) {

  div#carousel {
    display: none;
  }

  div#carouselMobile {
    display: block;
  }

  
}

.img-block a img {
    width: 100%;
    height: auto;
}

/* Las portadas ya no llevan bandas blancas (los tipos de imagen son 2:3),
   asi que se reserva a los lados el mismo hueco que ocupaban antes: 1/6 del ancho. */
.product-image-block {
    padding-left: 16.667%;
    padding-right: 16.667%;
    box-sizing: border-box;
}

#blockcart-modal .cart-content .cart-content-btn .btn-primary {
    background-color: #BB9551;
}

.cart-content-btn {
    margin-top: 20px;
}

#blockcart-modal .modal-dialog .modal-content .modal-header {
    background: black;
    border: 1px solid white;
}

#blockcart-modal .modal-header .close .material-icons {
    color: white;
}

.blockreassurance_product p {
    font-size: 12px;
    color: #4b4b4b !important;
}

.blockreassurance_product div {
    margin-bottom: 10px;
}

.blockreassurance_product .item-product {
    height: 45px;
    margin-right: 10px;
}

.blockreassurance_product path#color {
    fill: #000000;
}

.blockreassurance_product path#fill {
    fill: gray;
}

@media (max-width: 768px) {
  #module-author_page-author #wrapper .container .row {
    display: flex;
    flex-direction: column;
  }
  
  #module-author_page-author .authorPage .content {
    flex-direction: column;
	}

  .author-list {
    display: none;
   }

   #module-author_page-author #wrapper .container .products.row {
   flex-wrap: nowrap;
   }
   
}

@media (max-width: 426px) {
  #module-author_page-author .container .authorPage .content {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-direction: column;
}
}

.product-features>dl.data-sheet dd.value, .product-features>dl.data-sheet dt.name{
	text-transform: none;
}

#product-availability{
	display: none;
}

.row.sort-by-row {
    display: none;
}

section#content {
    z-index: 0;
}

.new-product-slider .owl-controls.clickable {
    display: none !important;
}

.new-product-slider .owl-wrapper {
    display: flex;
    width: 100vw !important;
    flex-wrap: wrap;
	transform: none !important;
}

 .new-product-slider.owl-carousel .owl-item {
	 margin-bottom: 30px;
 }
 
 footer.form-footer.text-sm-center.clearfix {
    text-align: center;
}

@media (max-width: 479px) {
.col-md-6.col-xs-6.qty {
    padding-right: 0px;
    padding-left: 0px;
}
}

.cart-grid-body a.label:hover {
    color: #BB9551;
}
@media (max-width: 479px) {
.checkout.cart-detailed-actions.card-block a.btn.btn-primary {
	width: 100%;
}
}

@media (min-width: 768px) and (max-width: 991px) {
    #header .logo {
        width: auto;
        height: 56px;
    }
}

.footer-links > li > a {
	text-transform: none;
}

#footer #block_myaccount_infos{
	display: none;
}

@media (min-width: 768px) {
    #header .header-msg-block .message span {
        text-transform: none;
    }
}

@media (min-width: 768px) {
    #header a {
        text-transform: none;
    }
}

div#mc_embed_shell {
    display: none;
}

.footer-before .container {
    display: grid;
    grid-template-columns: 9fr 3fr;
    align-items: center;
}

.instagram-footer-widget-fullwidth {
    grid-column: 1 / -1;
	background: #bb9551;
}

/* El widget de Instagram se pinta a 100vw y esa medida INCLUYE la barra de scroll,
   asi que sobresale ~15px y genera scroll horizontal. Se recorta en el contenedor. */
.footer-before {
    overflow-x: hidden;
}

.footer-socials ul {
    display: flex;
}


@media (max-width: 767px) {
    .footer-before .container {
        grid-template-columns: 1fr !important;
    }
}

.newsletter-block {
    width: 100%;
    display: flex;
    gap: 20px;
    margin-right: 40px;
	align-items: center;
}

@media (max-width: 991px) {
    .newsletter-block{
        margin-top: -20px;
		flex-direction: column;
    }
}

@media (min-width: 992px) {
    #footer .newsletter-block .newsletter-title {
        flex: 0 0 auto;
        width: auto;
        align-self: flex-start;
    }
    #footer .footer-before .footer-socials {
        align-self: start;
        height: 60px;
        display: flex;
        align-items: center;
    }
    #footer .newsletter-block .block.newsletter {
        flex: 0 1 602px;
        width: auto;
        max-width: 602px;
    }
    #footer .newsletter-block .block.newsletter .content,
    #footer .newsletter-block .block.newsletter .form.subscribe,
    #footer .newsletter-block .block.newsletter .field.newsletter,
    #footer .newsletter-block .block.newsletter .control {
        width: 100%;
        display: block;
    }
}

/* Home slider: imagen centrada (contain) con fondo difuminado que extiende el color del banner */
.home-image-slider .slider-image {
    position: relative;
    aspect-ratio: 1905 / 582;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}
.home-image-slider .slider-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: inherit;
    background-position: center;
    background-size: cover;
    filter: blur(28px);
    transform: scale(1.15);
    z-index: 0;
}
.home-image-slider .slider-image > a,
.home-image-slider .slider-image figure {
    position: relative;
    z-index: 1;
    height: 100%;
    margin: 0;
}
.home-image-slider .slider-image figure {
    display: flex;
    align-items: center;
    justify-content: center;
}
.home-image-slider .carousel-item img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
}
.home-image-slider .carousel-inner .slider-description {
    z-index: 2;
}

#header #_desktop_top_menu.main-menu,
#header .main-menu.js-top-menu {
    z-index: 1000;
}

#header .header-nav .user-info #header-menu-content.header-menu-links {
    display: block !important;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .28s ease, transform .28s ease, visibility 0s linear .28s;
    pointer-events: none;
}

#header .header-nav .user-info #header-menu-content.header-menu-links.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity .28s ease, transform .28s ease;
    pointer-events: auto;
}

.storeConfiguration svg {
    width: 18px;
    height: 18px;
}

.storeConfiguration .column-title img,
.storeConfiguration img {
    max-height: 60px;
    width: auto;
}

@media (min-width: 768px) {
    #header .header-nav {
        background: #000;
        border-bottom: 0;
    }
    #header .header-nav .header-nav-marquee {
        overflow: hidden;
        width: 100%;
    }
    /* Parent theme custom.css paints the checkout nav white and 100px tall via
       body#checkout #header .header-nav (2 ids); overridden at equal specificity */
    body#checkout #header .header-nav {
        height: auto;
        float: none;
        background-color: #000;
        border-bottom: 0;
        margin-bottom: 0;
        box-shadow: none;
    }
    body#checkout #header .header-top {
        min-height: 120px;
    }
    body#checkout #header #_desktop_logo {
        padding-top: 16px;
    }
}

.header-marquee {
    overflow: hidden;
    white-space: nowrap;
    display: flex;
}

.marquee-track {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    flex-shrink: 0;
    min-width: 100%;
    animation: marquee-scroll 60s linear infinite;
    will-change: transform;
}

.header-marquee:hover .marquee-track {
    animation-play-state: paused;
}

@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

#header .header-nav .marquee-item {
    display: inline-flex;
    align-items: center;
    color: #fff;
    padding: 12px 0;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
}

#header .header-nav .marquee-item::after {
    content: "\2726";
    color: #bb9551;
    margin: 0 32px;
    font-size: inherit;
}

#header .header-nav .marquee-item .marquee-tag {
    color: #bb9551;
    font-weight: 500;
    font-size: inherit;
    margin-right: 8px;
}

#header .header-nav .marquee-item a {
    color: #fff;
    font-size: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
    text-decoration: none;
    text-transform: uppercase;
    border-bottom: 1px solid transparent;
    padding-bottom: 1px;
    transition: color .2s ease, border-color .2s ease;
}

#header .header-nav .marquee-item a:hover {
    color: #bb9551;
    border-color: #bb9551;
}

@media (min-width: 1024px) and (max-width: 1680px) {
    #header .header-top .container {
        padding-left: 48px;
        padding-right: 48px;
    }
}

#header .header-top #_desktop_user_info {
    float: right;
    margin: 21px -14px 0 0;
}

#header #_desktop_user_info .myaccount-icon {
    display: inline-block;
}

#header #_desktop_user_info .myaccount-icon i {
    display: inline-block;
    width: 48px;
    height: 48px;
    line-height: 46px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e9e9e9;
    text-align: center;
    font-size: 20px;
    color: #000;
}

#header #_desktop_user_info .myaccount-icon:hover i {
    background: #000;
    color: #fff;
    border-color: #000;
}

/* En movil el icono de cuenta se mueve a #_mobile_user_info y pierde el estilo:
   se le da el mismo circulo oscuro que a la busqueda y al carrito. */
@media (max-width: 767px) {
    /* margen izquierdo 10 y derecho 5 (+5 del carrito) = 10px de hueco a cada lado */
    #header #_mobile_user_info {
        margin: 8px 5px 17px 10px;
    }

    #header #_mobile_user_info .user-info,
    #header #_mobile_user_info .account-preview {
        margin: 0;
        line-height: 0;
    }

    #header #_mobile_user_info .myaccount-icon {
        display: inline-block;
        width: 35px;
        height: 35px;
        line-height: 35px;
        border-radius: 50%;
        background: #333;
        text-align: center;
    }

    #header #_mobile_user_info .myaccount-icon i {
        width: auto;
        height: auto;
        border: 0;
        border-radius: 0;
        background: none;
        color: #fff;
        font-size: 18px;
        line-height: 35px;
    }

    #header #_mobile_user_info a:hover .myaccount-icon {
        background: #000;
    }
}

/* ===== Vista rápida (quickview) — rediseño 2 columnas, todo negro ===== */
.pl-quickview .modal-dialog {
    max-width: 1000px;
    width: calc(100vw - 48px);
    margin: 40px auto;
}

.pl-quickview .modal-content {
    min-height: 0;
    border: 0;
    border-radius: 0;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}

/* Centrado vertical del modal (y que pueda hacer scroll si no cabe) */
.pl-quickview.modal.in,
.pl-quickview.modal.show {
    display: flex !important;
    align-items: center;
}

/* Fondo mas oscuro tras el modal de vista rapida */
.pl-quickview.in ~ .modal-backdrop,
.pl-quickview.show ~ .modal-backdrop,
.modal-backdrop.pl-qv-dark {
    opacity: .78;
}

.pl-quickview .modal-body {
    position: relative;
    padding: 0;
    animation: pl-qv-in .28s ease-out both;
}

@keyframes pl-qv-in {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: none; }
}

.pl-quickview .modal-body::after {
    content: "";
    display: table;
    clear: both;
}

.pl-qv-close {
    position: absolute;
    top: 0;
    right: 0;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    font-size: 22px;
    line-height: 1;
    color: #232323;
    opacity: 1;
    cursor: pointer;
    z-index: 2;
    transition: background .15s ease, color .15s ease;
}

.pl-qv-close:hover {
    background: #000;
    color: #fff;
    opacity: 1;
}

.pl-qv-grid {
    display: grid;
    grid-template-columns: 388px 1fr;
    align-items: stretch;
}

/* --- columna izquierda: portada + envío (fondo gris claro) --- */
.pl-qv-media {
    background: #ffffff;
    padding: 48px 44px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 22px;
}

.pl-qv-cover {
    width: 100%;
    max-width: 300px;
}

.pl-qv-cover img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 460px;
    object-fit: contain;
    object-position: top center;
    border: 0;
    border-radius: 0;
}

.pl-qv-envio {
    display: none;
    margin: 0;
    width: 100%;
    max-width: 300px;
    font-size: 12px;
    line-height: 1.5;
    color: #7A7A7A;
}

/* --- columna derecha: contenido --- */
.pl-qv-info {
    background: #F1F1F1;
    padding: 48px 52px 44px 44px;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.pl-qv-coleccion {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: #000;
    margin-bottom: 12px;
}

.pl-quickview .pl-qv-title {
    margin: 0;
    font-size: 29px;
    font-weight: 700;
    line-height: 1.14;
    letter-spacing: -.2px;
    text-transform: uppercase;
    color: #000;
}

.pl-qv-autor {
    margin-top: 8px;
    font-size: 17px;
    font-weight: 400;
    color: #7A7A7A;
}

.pl-qv-desc {
    margin-top: 18px;
    font-size: 16px;
    line-height: 1.6;
    color: #232323;
    max-width: 46ch;
}

.pl-qv-desc p {
    margin: 0 0 8px;
    font-size: 16px;
    line-height: 1.6;
    text-align: left;
}

.pl-qv-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.pl-qv-chip {
    padding: 6px 10px;
    border: 1px solid #e1e1e1;
    border-radius: 0;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .8px;
    text-transform: uppercase;
    color: #7A7A7A;
    white-space: nowrap;
}

.pl-qv-sep {
    height: 1px;
    background: #e1e1e1;
    margin: 28px 0 24px;
}

.pl-qv-buy {
    display: flex;
    flex-direction: column;
}

.pl-qv-price-row {
    display: flex;
    align-items: flex-end;
    gap: 14px;
}

.pl-qv-price {
    font-size: 34px;
    font-weight: 700;
    color: #000;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.pl-qv-tax {
    font-size: 12px;
    color: #7A7A7A;
    padding-bottom: 5px;
}

.pl-qv-actions {
    display: flex;
    gap: 14px;
    margin-top: 20px;
    align-items: stretch;
}

/* PrestaShop envuelve #quantity_wanted con bootstrap-touchspin: se anula su UI y mandan los botones del stepper */
.pl-qv-stepper {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    height: 56px;
    border: 1px solid #e1e1e1;
    background: #fff;
}

.pl-qv-stepper .input-group.bootstrap-touchspin {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    width: 34px;
    min-width: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
}

.pl-qv-stepper .input-group-btn-vertical,
.pl-qv-stepper .bootstrap-touchspin-up,
.pl-qv-stepper .bootstrap-touchspin-down,
.pl-qv-stepper .input-group-addon {
    display: none !important;
}

.pl-qv-step {
    width: 46px;
    height: 100%;
    padding: 0;
    border: none;
    background: transparent;
    box-shadow: none;
    font-size: 20px;
    color: #232323;
    cursor: pointer;
    transition: background .15s ease;
}

.pl-qv-step:hover {
    background: #F1F1F1;
    color: #232323;
}

.pl-quickview .pl-qv-stepper input.pl-qv-qty,
.pl-quickview input.pl-qv-qty {
    flex: 0 0 auto;
    width: 34px;
    min-width: 34px;
    height: 54px;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    color: #000;
    -moz-appearance: textfield;
}

.pl-qv-qty::-webkit-outer-spin-button,
.pl-qv-qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.pl-quickview .pl-qv-add {
    flex: 1;
    min-width: 0;
    height: 56px;
    padding: 0 20px;
    border: none;
    border-radius: 0;
    background: #333;
    box-shadow: none;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #fff;
    cursor: pointer;
    transition: background .2s ease;
}

.pl-quickview .pl-qv-add:hover,
.pl-quickview .pl-qv-add:focus {
    background: #000;
    color: #fff;
}

.pl-quickview .pl-qv-add[disabled] {
    opacity: .5;
    cursor: not-allowed;
}

.pl-qv-min {
    margin: 10px 0 0;
    font-size: 12px;
    color: #7A7A7A;
}

/* Ver ficha completa: sin subrayado en reposo, aparece de izquierda a derecha en hover; la flecha se desplaza */
.pl-quickview .pl-qv-link {
    align-self: flex-start;
    margin-top: 26px;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #000;
    text-decoration: none;
    padding-bottom: 6px;
}

.pl-quickview .pl-qv-link:hover {
    color: #000;
    text-decoration: none;
}

.pl-qv-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: #000;
    transition: width .34s cubic-bezier(.2, .7, .3, 1);
}

.pl-quickview .pl-qv-link:hover::after {
    width: 100%;
}

.pl-qv-link-arrow {
    display: inline-block;
    transition: transform .3s cubic-bezier(.2, .7, .3, 1);
}

.pl-quickview .pl-qv-link:hover .pl-qv-link-arrow {
    transform: translateX(5px);
}

@media (max-width: 767px) {
    .pl-qv-grid {
        grid-template-columns: 300px 1fr;
    }
    .pl-qv-media {
        padding: 32px 28px;
    }
    .pl-qv-info {
        padding: 32px 32px 32px 28px;
    }
}

@media (max-width: 575px) {
    .pl-qv-grid {
        grid-template-columns: 1fr;
    }
    .pl-qv-media {
        padding: 30px 24px 22px;
    }
    .pl-qv-cover {
        max-width: 168px;
    }
    .pl-qv-envio {
        text-align: center;
    }
    .pl-qv-info {
        padding: 28px 24px 26px;
    }
    .pl-quickview .pl-qv-title {
        font-size: 23px;
    }
    .pl-qv-price {
        font-size: 30px;
    }
}

/* Las miniaturas del detalle llevan width="100" fijo y en movil su columna es mas
   estrecha, asi que se recortaban por la derecha. */
.product-images img.thumb,
.js-qv-product-images img {
    max-width: 100%;
    height: auto;
}

/* En movil la columna del importe del carrito se queda en 30px y parte "21,90 €" en dos lineas. */
@media (max-width: 767px) {
    .cart-grid-body .product-line-grid-right .price,
    .cart-grid-body .product-line-grid-right .product-price {
        white-space: nowrap;
    }

    .cart-grid-body .product-line-grid-right .col-xs-2.price {
        flex: 0 0 auto;
        width: auto;
        max-width: none;
        min-width: 84px;
        text-align: right;
    }
}
/* Ficcion sigue siendo una categoria navegable, pero no se lista en el menu de Colecciones. */
#header .top-menu li#category-56,
#mobile_top_menu_wrapper .top-menu li#category-56 {
    display: none;
}

/* Pagina CMS "Distribucion" (id 4): mismo diseno de fichas que aticodeloslibros.com */
.distribucion-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.distribucion-header {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 20px;
    border-bottom: 3px solid #141414;
}

.distribucion-header h1 {
    color: #333;
    font-size: 2.5em;
    margin-bottom: 10px;
}

.region-section {
    margin-bottom: 60px;
}

.region-title {
    background: #141414;
    color: white;
    padding: 15px 20px;
    margin-bottom: 30px;
    border-radius: 5px;
    font-size: 1.8em;
    font-weight: bold;
}

.distribuidores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.distribuidor-card {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.distribuidor-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

.pais-nombre {
    color: #141414;
    font-size: 1.4em;
    font-weight: bold;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #141414;
    display: flex;
    align-items: center;
    gap: 10px;
}

.empresa-nombre {
    color: #333;
    font-weight: bold;
    font-size: 1.1em;
    margin-bottom: 15px;
}

.direccion {
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
}

.direccion p {
    margin: 5px 0;
}

.contacto-info {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #ddd;
}

.contacto-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 8px 0;
    color: #555;
}

.contacto-item i {
    color: #141414;
    width: 20px;
}

.contacto-item a {
    color: #141414;
    text-decoration: none;
}

.contacto-item a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .distribuidores-grid {
        grid-template-columns: 1fr;
    }

    .distribucion-header h1 {
        font-size: 1.8em;
    }

    .region-title {
        font-size: 1.4em;
    }
}

/* The parent theme custom.css uppercases every <a>; emails and URLs must stay readable. */
.distribucion-container .contacto-item a {
    text-transform: none;
}

/* ==========================================================================
   Carrito (pl-cart-*) — rediseño 31 jul 2026
   ========================================================================== */

.pl-cart {
    background: #ffffff;
}

.pl-cart .pl-cart-wrap {
    max-width: 1500px;
    width: 100%;
    box-sizing: border-box;
    margin: 0 auto;
    padding: 52px 40px 80px;
}

.pl-cart .pl-cart-head {
    display: flex;
    align-items: baseline;
    gap: 14px;
    border-bottom: 3px solid #000000;
    padding-bottom: 16px;
}

.pl-cart .pl-cart-title {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -.2px;
    text-transform: uppercase;
    color: #000000;
    line-height: 1.1;
}

.pl-cart .pl-cart-count {
    font-size: 14px;
    color: #7A7A7A;
    text-transform: none;
}

.pl-cart .pl-cart-cols {
    display: flex;
    flex-wrap: wrap;
    gap: 56px;
    align-items: flex-start;
    margin-top: 36px;
}

.pl-cart .pl-cart-main {
    flex: 1 1 560px;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.pl-cart .pl-cart-aside {
    flex: 0 1 380px;
    min-width: 300px;
    position: sticky;
    top: 24px;
}

/* --- listado ------------------------------------------------------------ */

.pl-cart .pl-cart-thead,
.pl-cart .pl-cart-row {
    display: grid;
    grid-template-columns: 1fr 150px 120px 40px;
    gap: 24px;
}

.pl-cart .pl-cart-thead {
    padding-bottom: 12px;
    border-bottom: 1px solid #e1e1e1;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #7A7A7A;
}

.pl-cart .pl-cart-col-qty {
    text-align: center;
}

.pl-cart .pl-cart-col-sub {
    text-align: right;
}

.pl-cart .pl-cart-row {
    align-items: center;
    padding: 28px 0;
    border-bottom: 1px solid #e1e1e1;
    list-style: none;
}

.pl-cart .pl-cart-product {
    display: flex;
    gap: 22px;
    align-items: flex-start;
    min-width: 0;
}

.pl-cart .pl-cart-cover {
    display: block;
    flex: none;
    width: 92px;
    line-height: 0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .18);
    background: #F1F1F1;
}

.pl-cart .pl-cart-cover img {
    width: 92px;
    height: 138px;
    object-fit: cover;
    display: block;
}

.pl-cart .pl-cart-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.pl-cart .pl-cart-collection {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #7A7A7A;
}

.pl-cart a.pl-cart-name {
    font-size: 17px;
    font-weight: 500;
    line-height: 1.3;
    text-transform: uppercase;
    color: #000000;
    text-decoration: none;
}

.pl-cart a.pl-cart-name:hover {
    color: #000000;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.pl-cart .pl-cart-author {
    font-size: 14px;
    color: #7A7A7A;
}

.pl-cart .pl-cart-unit {
    font-size: 14px;
    font-weight: 500;
    color: #232323;
    margin-top: 2px;
}

.pl-cart .pl-cart-unit-old {
    text-decoration: line-through;
    color: #7A7A7A;
    font-weight: 400;
    margin-right: 6px;
}

.pl-cart .pl-cart-unit-suffix {
    color: #7A7A7A;
    font-weight: 400;
}

.pl-cart .pl-cart-unit-full {
    display: block;
    font-size: 12px;
    color: #7A7A7A;
    font-weight: 400;
}

.pl-cart .pl-cart-attribute,
.pl-cart .pl-cart-customization {
    font-size: 13px;
    color: #7A7A7A;
    text-transform: none;
}

/* --- cantidad ----------------------------------------------------------- */

.pl-cart .pl-cart-qty {
    display: flex;
    justify-content: center;
}

.pl-cart .pl-cart-stepper {
    display: flex;
    align-items: center;
    border: 1px solid #e1e1e1;
    height: 48px;
}

.pl-cart .pl-cart-step {
    width: 42px;
    height: 100%;
    border: 0;
    padding: 0;
    background: transparent;
    font-size: 19px;
    line-height: 1;
    color: #232323;
    cursor: pointer;
    transition: background .18s;
}

.pl-cart .pl-cart-step:hover {
    background: #F1F1F1;
}

.pl-cart input.pl-cart-qty-input {
    width: 34px;
    min-width: 34px;
    height: 100%;
    border: 0;
    padding: 0;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    color: #000000;
    background: transparent;
    box-shadow: none;
    -moz-appearance: textfield;
}

.pl-cart input.pl-cart-qty-input:focus {
    outline: none;
    box-shadow: none;
}

/* TouchSpin wraps the quantity input at runtime and injects its own arrows. */
.pl-cart .pl-cart-stepper .bootstrap-touchspin {
    flex: 1;
    display: flex;
    height: 100%;
    box-shadow: none;
}

.pl-cart .pl-cart-stepper .input-group-btn-vertical,
.pl-cart .pl-cart-stepper .bootstrap-touchspin-up,
.pl-cart .pl-cart-stepper .bootstrap-touchspin-down,
.pl-cart .pl-cart-stepper .input-group-addon {
    display: none !important;
}

.pl-cart .pl-cart-qty-gift {
    font-size: 16px;
    font-weight: 700;
}

/* --- subtotal y borrar --------------------------------------------------- */

.pl-cart .pl-cart-subtotal {
    text-align: right;
    font-size: 19px;
    font-weight: 700;
    color: #000000;
}

.pl-cart .pl-cart-remove {
    justify-self: end;
}

.pl-cart a.pl-cart-remove-btn {
    width: 40px;
    height: 40px;
    border: 1px solid #e1e1e1;
    background: #ffffff;
    color: #232323;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background .18s, color .18s, border-color .18s;
}

.pl-cart a.pl-cart-remove-btn:hover {
    background: #000000;
    color: #ffffff;
    border-color: #000000;
}

/* --- carrito vacío ------------------------------------------------------- */

.pl-cart .pl-cart-empty {
    padding: 56px 0;
    text-align: center;
    border-bottom: 1px solid #e1e1e1;
}

.pl-cart .pl-cart-empty-title {
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #000000;
}

.pl-cart .pl-cart-empty-text {
    font-size: 14px;
    color: #7A7A7A;
    margin-top: 10px;
}

/* --- continuar comprando ------------------------------------------------- */

.pl-cart a.pl-cart-back {
    position: relative;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 28px;
    padding-bottom: 6px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #000000;
    text-decoration: none;
}

.pl-cart a.pl-cart-back:hover {
    color: #000000;
}

.pl-cart .pl-cart-back-arrow {
    display: inline-block;
    transition: transform .3s cubic-bezier(.2, .7, .3, 1);
}

.pl-cart a.pl-cart-back:hover .pl-cart-back-arrow {
    transform: translateX(-5px);
}

.pl-cart .pl-cart-back-line {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0;
    background: #000000;
    transition: width .34s cubic-bezier(.2, .7, .3, 1);
}

.pl-cart a.pl-cart-back:hover .pl-cart-back-line {
    width: 100%;
}

/* --- resumen del pedido -------------------------------------------------- */

.pl-cart .pl-cart-summary {
    border: 1px solid #e1e1e1;
    background: #ffffff;
}

.pl-cart .pl-cart-summary-head {
    margin: 0 28px;
    padding: 26px 0 18px;
    border-bottom: 1px solid #e1e1e1;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: #000000;
}

.pl-cart .pl-cart-subtotals {
    padding: 20px 28px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pl-cart .pl-cart-sub {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    font-size: 15px;
    color: #232323;
}

.pl-cart .pl-cart-sub-value {
    font-weight: 500;
    white-space: nowrap;
}

.pl-cart .pl-cart-shipping-details:empty {
    display: none;
}

.pl-cart .pl-cart-shipping-details {
    font-size: 12px;
    color: #7A7A7A;
}

.pl-cart .pl-cart-total {
    margin: 22px 28px 0;
    background: #F1F1F1;
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
}

.pl-cart .pl-cart-total-label {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .6px;
    text-transform: uppercase;
    color: #000000;
}

.pl-cart .pl-cart-total-value {
    font-size: 26px;
    font-weight: 700;
    color: #000000;
    line-height: 1;
    white-space: nowrap;
}

.pl-cart .pl-cart-tax {
    padding: 8px 28px 0;
    font-size: 12px;
    color: #7A7A7A;
}

.pl-cart .pl-cart-actions {
    padding: 22px 28px 26px;
}

.pl-cart .pl-cart-warning {
    font-size: 13px;
    color: #b00020;
    margin: 0 0 12px;
}

.pl-cart .pl-cart-checkout {
    width: 100%;
    height: 58px;
    border: 0;
    background: #333333;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .2s;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.pl-cart a.pl-cart-checkout:hover,
.pl-cart button.pl-cart-checkout:hover {
    background: #000000;
    color: #ffffff;
}

.pl-cart .pl-cart-checkout[disabled] {
    opacity: .45;
    cursor: not-allowed;
}

.pl-cart .pl-cart-links {
    border-top: 1px solid #e1e1e1;
    display: flex;
    flex-direction: column;
}

.pl-cart a.pl-cart-link {
    padding: 16px 28px;
    font-size: 13px;
    font-weight: 500;
    color: #232323;
    border-bottom: 1px solid #e1e1e1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    text-transform: none;
    transition: background .18s, color .18s;
}

.pl-cart a.pl-cart-link:last-child {
    border-bottom: 0;
}

.pl-cart a.pl-cart-link:hover {
    background: #F1F1F1;
    color: #000000;
}

/* --- cupones (solo si PS_CART_RULE_FEATURE_ACTIVE) ----------------------- */

.pl-cart .block-promo {
    padding: 0 28px;
}

.pl-cart .block-promo .promo-code {
    padding: 0 0 8px;
}

/* --- responsive ---------------------------------------------------------- */

@media (max-width: 1199px) {
    .pl-cart .pl-cart-cols {
        gap: 36px;
    }
}

@media (max-width: 991px) {
    .pl-cart .pl-cart-wrap {
        padding: 36px 24px 64px;
    }

    .pl-cart .pl-cart-cols {
        display: block;
    }

    .pl-cart .pl-cart-main {
        display: block;
    }

    .pl-cart .pl-cart-aside {
        position: static;
        margin-top: 40px;
        max-width: 420px;
    }

    .pl-cart a.pl-cart-back {
        display: inline-flex;
    }
}

@media (max-width: 767px) {
    .pl-cart .pl-cart-wrap {
        padding: 28px 16px 56px;
    }

    .pl-cart .pl-cart-title {
        font-size: 24px;
    }

    .pl-cart .pl-cart-thead {
        display: none;
    }

    .pl-cart .pl-cart-row {
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "product remove"
            "qty     subtotal";
        gap: 18px 12px;
        padding: 22px 0;
    }

    .pl-cart .pl-cart-product {
        grid-area: product;
        gap: 16px;
    }

    .pl-cart .pl-cart-remove {
        grid-area: remove;
    }

    .pl-cart .pl-cart-qty {
        grid-area: qty;
        justify-content: flex-start;
    }

    .pl-cart .pl-cart-subtotal {
        grid-area: subtotal;
        align-self: center;
        white-space: nowrap;
    }

    .pl-cart .pl-cart-cover,
    .pl-cart .pl-cart-cover img {
        width: 72px;
    }

    .pl-cart .pl-cart-cover img {
        height: 108px;
    }

    .pl-cart a.pl-cart-name {
        font-size: 15px;
    }

    .pl-cart .pl-cart-aside {
        max-width: none;
    }
}

/* Ático's own custom-oz.css carries `#content-wrapper a { text-transform: none !important }`,
   which outranks the plain class selectors above. Keep both: the id-qualified copy only
   matters where that rule exists. */
#content-wrapper .pl-cart a.pl-cart-name,
#content-wrapper .pl-cart a.pl-cart-back,
#content-wrapper .pl-cart a.pl-cart-checkout {
    text-transform: uppercase !important;
}

#content-wrapper .pl-cart a.pl-cart-link {
    text-transform: none !important;
}

#cms .page-content > h2:first-child {
    margin-bottom: 1.5rem;
}

#cms .page-content h2:not(:first-child) {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

#cms .page-content h3 {
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
}

#cms .page-content p,
#cms .page-content ul,
#cms .page-content ol {
    margin-bottom: 1.1rem;
    line-height: 1.7;
}

#cms .page-content ul,
#cms .page-content ol {
    padding-left: 1.5rem;
}

#cms .page-content li p {
    margin-bottom: 0.4rem;
}

#ht_cookielaw.active .cookie-text {
    color: #ffffff;
}
