:root {
    --promolibro-blue: #03437c;
    --promolibro-blue-deep: #022d53;
    --promolibro-blue-soft: #4d6d8d;
    --promolibro-text: #1f2933;
    --promolibro-text-soft: #5f6b76;
    --promolibro-line: #d7e1ea;
    --promolibro-line-strong: #b8c9d8;
    --promolibro-surface: #ffffff;
    --promolibro-subtle: #f6f9fc;
    --promolibro-shadow: 0 8px 24px rgba(3, 67, 124, 0.06);
    --promolibro-shell: 1260px;
    --promolibro-announcement-height: 48px;
    --promolibro-header-main-height: 88px;
    --promolibro-header-nav-height: 54px;
}
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&display=swap');
.promolibro-announcement {
    background: #1b1d1f;
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    padding: 10px 0;
    text-align: center;
    line-height: 1.8;
    position: relative;
    z-index: 1000;
    width: 100%;
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.1);
    transition: opacity 0.22s ease, box-shadow 0.22s ease;
}

.promolibro-announcement__inner {
    max-width: var(--promolibro-shell);
    margin: 0 auto;
    padding: 0 56px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 1.8em;
    position: relative;
}

.promolibro-announcement__item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.promolibro-announcement__item.is-active {
    opacity: 1;
}

.promolibro-announcement__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    background: transparent;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
    z-index: 2;
}

.promolibro-announcement__arrow:hover,
.promolibro-announcement__arrow:focus {
    border-color: rgba(255, 255, 255, 0.55);
}

.promolibro-announcement__arrow--prev {
    left: 12px;
}

.promolibro-announcement__arrow--next {
    right: 12px;
}

html,
body {
    background: #ffffff;
    color: var(--promolibro-text);
}

.page-wrapper,
.page-main,
.columns,
.column.main {
    background: transparent;
}

.promolibro-shell,
.header-container,
.page-main,
.page-footer .container {
    max-width: var(--promolibro-shell);
    margin: 0 auto;
    width: calc(100% - 40px);
}

.page-main {
    padding-top: 10px;
    padding-bottom: 10px;
}

.catalog-category-view .page-main,
.catalogsearch-result-index .page-main {
    max-width: 1520px;
}

.breadcrumbs {
    background: transparent;
    border: 0;
    padding: 8px 0 22px;
}

.breadcrumbs .item a,
.breadcrumbs .item:not(:last-child):after,
.breadcrumbs strong {
    color: var(--promolibro-text-soft);
}

#banner-slider-carousel {
    position: relative;
}

#banner-slider-carousel .owl-nav {
    position: absolute;
    inset: 50% 0 auto;
    transform: translateY(-50%);
    z-index: 3;
    pointer-events: none;
}

#banner-slider-carousel .owl-nav button.owl-prev,
#banner-slider-carousel .owl-nav button.owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: auto;
}

#banner-slider-carousel .owl-nav button.owl-prev {
    left: 16px;
}

#banner-slider-carousel .owl-nav button.owl-next {
    right: 16px;
}

.promolibro-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: #ffffff;
    border-bottom: 1px solid var(--promolibro-line);
    transition: min-height 0.22s ease;
}

.promolibro-header__meta {
    border-bottom: 1px solid var(--promolibro-line);
    background: #ffffff;
    transition: opacity 0.22s ease, visibility 0.22s ease, max-height 0.22s ease, padding 0.22s ease, margin 0.22s ease;
}

.promolibro-header__meta-inner,
.promolibro-header__main-inner,
.promolibro-header__nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.promolibro-header__meta-inner {
    min-height: 38px;
}

.promolibro-header__main-inner {
    min-height: 88px;
    display: grid;
    grid-template-columns: minmax(220px, 320px) minmax(320px, 1fr) auto;
    align-items: center;
}

.promolibro-header__nav-inner {
    min-height: 54px;
}

.promolibro-header__main,
.promolibro-header__nav {
    transition: opacity 0.22s ease, visibility 0.22s ease, max-height 0.22s ease;
}

@keyframes promolibro-fade-slide-in {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body.promolibro-header-condensed .promolibro-announcement {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1002;
    animation: promolibro-fade-slide-in 0.22s ease;
}

body.promolibro-header-condensed .page-wrapper {
    padding-top: calc(var(--promolibro-announcement-height) + var(--promolibro-header-nav-height));
}

body.promolibro-header-condensed .promolibro-header {
    min-height: var(--promolibro-header-nav-height);
    border-bottom: 0;
}

body.promolibro-header-condensed .promolibro-header__nav {
    position: fixed;
    top: var(--promolibro-announcement-height);
    left: 0;
    right: 0;
    z-index: 1001;
    background: #ffffff;
    border-bottom: 1px solid var(--promolibro-line);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1);
    animation: promolibro-fade-slide-in 0.22s ease;
}

body.promolibro-header-condensed .promolibro-header__meta,
body.promolibro-header-condensed .promolibro-header__main {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    max-height: 0;
    overflow: hidden;
    border: 0;
}

.promolibro-header__welcome,
.promolibro-header__account,
.itm-welcome-message,
.itm-welcome-message b,
.user-login li a,
.user-account-dropdown > span,
.user-account-dropdown ul li a {
    color: var(--promolibro-text-soft);
    font-size: 13px;
}

.user-login {
    gap: 14px;
    align-items: center;
}

.user-login > li,
.user-login > li:nth-child(1),
.user-login > li:nth-child(2) {
    margin: 0;
    padding: 0;
    border: 0;
}

.user-login > li:nth-child(2) {
    padding-left: 14px;
    position: relative;
}

.user-login > li:nth-child(2)::before {
    content: '';
    position: absolute;
    left: 0;
    top: 3px;
    bottom: 3px;
    width: 1px;
    background: var(--promolibro-line);
}

.user-login a,
.user-account-dropdown > span,
.user-account-dropdown ul li a {
    color: var(--promolibro-text-soft);
}

.user-login a:hover,
.user-account-dropdown > span:hover,
.user-account-dropdown ul li a:hover {
    color: var(--promolibro-blue);
    text-decoration: none;
}

/* Dropdown Mi Cuenta — override itm_styles */
.user-account-dropdown {
    height: auto;
}

.user-account-dropdown > span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: auto;
    padding: 6px 10px;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--promolibro-text-soft);
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
    white-space: nowrap;
}

.user-account-dropdown > span:hover {
    background: var(--promolibro-subtle);
    color: var(--promolibro-blue);
}

.user-account-dropdown > span::after {
    font-family: 'Font Awesome 5 Free';
    content: '\f0d7';
    font-weight: 900;
    font-size: 10px;
    margin-left: 2px;
}

.user-account-dropdown > span > span > i {
    font-size: 15px;
    color: var(--promolibro-blue);
}

.user-account-dropdown > ul {
    position: absolute;
    top: 100%;
    right: 0;
    bottom: auto;
    transform: none;
    margin: 6px 0 0;
    padding: 6px 0;
    min-width: 180px;
    background: #ffffff;
    border: 1px solid var(--promolibro-line);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(3, 67, 124, 0.10);
    z-index: 200;
    list-style: none;
}

.user-account-dropdown > ul > li {
    margin: 0;
    padding: 0;
    border: 0;
}

.user-account-dropdown > ul > li > a {
    display: flex;
    align-items: center;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 500;
    color: var(--promolibro-text);
    background: transparent;
    border: none;
    text-align: left;
    white-space: nowrap;
    transition: background 0.15s ease, color 0.15s ease;
}

.user-account-dropdown > ul > li > a::before {
    display: none;
}

.user-account-dropdown > ul > li > a:hover {
    background: var(--promolibro-subtle);
    color: var(--promolibro-blue);
    text-decoration: none;
}

.user-account-dropdown > ul > li:nth-child(1) > a {
    border-top: none;
}

.user-account-dropdown > ul > li:last-child > a {
    border-top: 1px solid var(--promolibro-line);
    color: var(--promolibro-text-soft);
    margin-top: 4px;
    padding-top: 12px;
}

.promolibro-header__brand {
    display: flex;
    align-items: center;
    min-width: 0;
}

.promolibro-header__brand img {
    max-height: 72px;
    max-width: min(100%, 320px);
    width: auto;
    height: auto;
    display: block;
}

.promolibro-header__brand .logo {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
}

.promolibro-header__search {
    width: 100%;
    max-width: 100%;
}

.promolibro-search__label {
    display: none;
}

.promolibro-search__form {
    position: relative;
    display: flex;
    align-items: stretch;
    min-height: 50px;
    background: #ffffff;
    border: 1px solid var(--promolibro-line-strong);
}

.promolibro-search__input {
    flex: 1 1 auto;
    border: 0 !important;
    background: transparent !important;
    height: auto !important;
    padding: 0 16px !important;
    color: var(--promolibro-text);
    font-size: 15px;
    box-shadow: none !important;
}

.promolibro-search__input::placeholder {
    color: #7a8793;
    opacity: 1;
    font-style: normal;
}

.promolibro-search__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    border: 0;
    background: var(--promolibro-blue);
    color: #ffffff;
    transition: background 0.2s ease;
}

.promolibro-search__submit svg {
    width: 18px;
    height: 18px;
    display: block;
}

.promolibro-search__submit:hover {
    background: var(--promolibro-blue-deep);
}

.promolibro-search__advanced {
    display: inline-block;
    margin-top: 8px;
    color: var(--promolibro-text-soft);
    font-size: 12px;
}

.catalogsearch-advanced-index .form.search.advanced .actions-toolbar .action.search.primary {
    border-color: var(--promolibro-blue) !important;
    background: var(--promolibro-blue) !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

.catalogsearch-advanced-index .form.search.advanced .actions-toolbar .action.search.primary:hover,
.catalogsearch-advanced-index .form.search.advanced .actions-toolbar .action.search.primary:focus {
    border-color: var(--promolibro-blue-deep) !important;
    background: var(--promolibro-blue-deep) !important;
    color: #ffffff !important;
}

.promolibro-header__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.minicart-wrapper {
    margin: 0;
    position: relative;
}

.minicart-wrapper .action.showcart {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 48px;
    padding: 0;
    border: 1px solid var(--promolibro-line-strong);
    background: #ffffff;
    box-shadow: none;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    transform: none;
}

.minicart-wrapper .action.showcart:before,
.minicart-wrapper .action.showcart.active:before {
    display: none;
}

.minicart-wrapper .action.showcart:after,
.minicart-wrapper .action.showcart.active:after,
.minicart-wrapper.active .action.showcart:after,
.minicart-wrapper.active .action.showcart:before {
    display: none !important;
}

.minicart-wrapper .action.showcart.active,
.minicart-wrapper.active .action.showcart {
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    margin: 0;
    transform: none;
    border-color: var(--promolibro-line-strong);
    background: #ffffff;
    box-shadow: none;
}

.minicart-wrapper .action.showcart > .text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    clip: rect(0, 0, 0, 0);
    overflow: hidden;
    white-space: nowrap;
    border: 0;
}

.promolibro-cart-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--promolibro-blue);
}

.promolibro-cart-icon svg {
    width: 22px;
    height: 22px;
    display: block;
}

.minicart-wrapper .action.showcart .counter.qty {
    position: absolute;
    top: -8px;
    right: -8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    margin: 0;
    background: var(--promolibro-blue);
    color: #ffffff;
    border-radius: 999px;
    line-height: 1;
    z-index: 1;
}

.minicart-wrapper .action.showcart .counter.qty.empty {
    opacity: 0.5;
}

.minicart-wrapper .action.showcart .counter-number,
.minicart-wrapper .action.showcart .counter-label {
    position: static;
    width: auto;
    height: auto;
    clip: auto;
    overflow: visible;
    color: inherit;
    font-size: 11px;
    font-weight: 800;
}

.minicart-wrapper .action.showcart .counter-label {
    display: none;
}

.minicart-wrapper .action.showcart {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.minicart-wrapper .block-minicart {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    left: auto;
    margin: 0;
    width: min(420px, calc(100vw - 24px));
    min-width: 320px;
    border: 1px solid var(--promolibro-line);
    background: #ffffff;
    box-shadow: 0 14px 32px rgba(3, 67, 124, 0.12);
    z-index: 200;
}

.minicart-wrapper .block-minicart:before,
.minicart-wrapper .block-minicart:after {
    display: none !important;
}

.minicart-wrapper .block-minicart .block-title,
.minicart-wrapper .block-minicart .subtitle {
    display: none;
}

.promolibro-minicart__content {
    position: relative;
    padding: 24px;
}

.promolibro-minicart__content .action.close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 40px;
    height: 40px;
    border: 1px solid var(--promolibro-line);
    background: #ffffff;
}

.promolibro-minicart__summary {
    display: block;
    margin-bottom: 10px;
    padding-right: 56px;
    color: var(--promolibro-text);
    font-size: 15px;
    font-weight: 700;
}

.block-minicart .items-total,
.block-minicart .items-total .count {
    float: none !important;
}

.block-minicart .items-total {
    display: block;
}

.promolibro-minicart__summary .count {
    margin-right: 8px;
}

.promolibro-minicart__subtotal {
    display: block;
    margin-bottom: 22px;
    color: var(--promolibro-text);
}

.promolibro-minicart__subtotal .subtotal {
    margin: 0;
}

.promolibro-minicart__subtotal .amount.price-container,
.promolibro-minicart__subtotal .price-container {
    display: block;
    margin-top: 6px;
}

.promolibro-minicart__subtotal .price {
    font-size: 18px;
    font-weight: 800;
    color: var(--promolibro-text);
}

.promolibro-minicart__checkout {
    margin-bottom: 22px;
}

.promolibro-minicart__checkout .action.checkout {
    width: 100%;
    min-height: 52px;
    border: 0;
    background: var(--promolibro-blue);
    color: #ffffff;
    font-size: 16px;
    font-weight: 800;
    text-transform: none;
}

.promolibro-minicart__items {
    margin: 0 -24px;
    padding: 0 24px;
    max-height: 380px;
}

.promolibro-minicart-item {
    margin: 0;
    padding: 18px 0;
    border-top: 1px solid var(--promolibro-line);
}

.promolibro-minicart-item:first-child {
    border-top: 0;
}

.promolibro-minicart-item__product {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    min-width: 0;
}

.promolibro-minicart-item .product {
    min-width: 0;
    align-items: start;
}

.promolibro-minicart-item__photo {
    flex: 0 0 82px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 82px;
    height: 112px;
    background: #ffffff;
    border: 1px solid var(--promolibro-line);
    overflow: hidden;
}

.promolibro-minicart-item__image,
.promolibro-minicart-item__photo .product-image-photo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.promolibro-minicart-item__details {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.minicart-items .product-item-details.promolibro-minicart-item__details,
.minicart-items .product-item > .product-item-details {
    padding-left: 0 !important;
}

.promolibro-minicart-item__meta {
    min-width: 0;
}

.promolibro-minicart-item__name {
    display: block;
    margin: 0;
    font-size: 15px;
    line-height: 1.4;
}

.promolibro-minicart-item__name a,
.promolibro-minicart-item__name span {
    color: var(--promolibro-blue);
    display: -webkit-box;
    overflow: hidden;
    text-decoration: none;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.promolibro-minicart-item__pricing .price-container,
.promolibro-minicart-item__pricing .price-wrapper,
.promolibro-minicart-item__pricing .price {
    color: var(--promolibro-text);
    font-size: 16px;
    font-weight: 800;
}

.promolibro-minicart-item__pricing {
    margin-top: 6px;
}

.promolibro-minicart-item__footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 12px;
}

.promolibro-minicart-item__qty {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    margin: 0;
}

.promolibro-minicart-item__qty .label {
    margin: 0;
    color: var(--promolibro-text-soft);
    font-size: 13px;
    white-space: nowrap;
}

.promolibro-minicart-item__qty .item-qty {
    width: 48px;
    height: 34px;
    border: 1px solid var(--promolibro-line);
    text-align: center;
}

.promolibro-minicart-item__actions {
    display: flex;
    flex: 0 0 auto;
    justify-content: flex-end;
    align-items: flex-end;
}

.minicart-items .product.actions .primary,
.minicart-items .product.actions .action.edit {
    display: none !important;
}

.promolibro-minicart-item__actions .action.delete {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--promolibro-line);
    background: #ffffff;
    color: var(--promolibro-text-soft);
}

.promolibro-minicart-item__actions .action.delete:hover {
    border-color: #cf5a36;
    color: #cf5a36;
    text-decoration: none;
}

.promolibro-minicart-item__actions .action.delete::before {
    content: '';
    width: 16px;
    height: 16px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 3h6l1 2h5v2H3V5h5zm1 6h2v8h-2zm4 0h2v8h-2zM7 9h2v8H7zm-1 12a2 2 0 0 1-2-2V8h16v11a2 2 0 0 1-2 2z'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 3h6l1 2h5v2H3V5h5zm1 6h2v8h-2zm4 0h2v8h-2zM7 9h2v8H7zm-1 12a2 2 0 0 1-2-2V8h16v11a2 2 0 0 1-2 2z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.promolibro-minicart-item__actions .action.delete span {
    display: none;
}

.promolibro-minicart__footer {
    margin: 20px -24px 0;
    padding: 18px 24px 0;
    border-top: 1px solid var(--promolibro-line);
}

.promolibro-minicart__footer .action.viewcart {
    display: block;
    text-align: center;
    color: var(--promolibro-blue);
    font-size: 15px;
    font-weight: 700;
}

.promolibro-header__nav {
    border-top: 1px solid #edf2f7;
}

.promolibro-nav-toggle {
    display: none;
    align-items: center;
    gap: 12px;
    min-height: 52px;
    padding: 0 18px;
    background: #ffffff;
    border: 1px solid var(--promolibro-line);
    color: var(--promolibro-blue);
    font-size: 16px;
    font-weight: 800;
    line-height: 1;
}

.promolibro-nav-toggle__icon {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 18px;
    min-width: 18px;
}

.promolibro-nav-toggle__icon span {
    display: block;
    width: 18px;
    height: 2px;
    background: currentColor;
}

.promolibro-nav-toggle__label {
    display: inline-flex;
    align-items: center;
}

body.promolibro-nav-open .promolibro-nav-toggle {
    border-color: var(--promolibro-blue);
    background: #f7fbff;
}

.promolibro-nav {
    width: 100%;
}

.promolibro-nav__mobile-header,
.promolibro-nav__close,
.promolibro-nav-overlay {
    display: none;
}

.promolibro-nav__list {
    display: flex;
    align-items: center;
    gap: 5em;
    margin: 0;
    padding: 0;
    list-style: none;
}

.promolibro-nav__list > li {
    position: relative;
}

.promolibro-nav__list > li .expand-menu-button {
    display: none;
}

.promolibro-nav__list > li > a {
    display: inline-flex;
    align-items: center;
    min-height: 54px;
    padding: 0;
    color: var(--promolibro-blue);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    border-bottom: 2px solid transparent;
}

.promolibro-nav__list > li > a:hover {
    color: var(--promolibro-blue-deep);
    border-bottom-color: var(--promolibro-blue);
    text-decoration: none;
}

.promolibro-nav__list > li.parent > .submenu {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    width: 100%;
    padding: 28px 0 8px;
    margin: 0;
    list-style: none;
    background: #ffffff;
    border: 1px solid var(--promolibro-line);
    box-shadow: 0 10px 24px rgba(3, 67, 124, 0.08);
    z-index: 20;
}

.promolibro-nav__list > li.parent:hover > .submenu {
    display: block;
}

.promolibro-nav__list > li.parent > .submenu li {
    margin: 0;
}

.promolibro-nav__list > li.parent > .submenu a {
    display: block;
    padding: 10px 18px;
    color: var(--promolibro-text);
    font-size: 14px;
}

.promolibro-nav__list > li.parent > .submenu a:hover {
    background: var(--promolibro-subtle);
    color: var(--promolibro-blue);
    text-decoration: none;
}

@media (min-width: 901px) {
    .promolibro-header__nav-inner {
        position: relative;
    }

    .promolibro-nav__list {
        position: static;
    }

    .promolibro-nav__list > li {
        position: static;
    }

    .promolibro-nav__list > li.parent {
        position: static;
    }

    .promolibro-nav__list > li.parent > .submenu {
        display: none;
        left: 0;
        right: 0;
        width: 100%;
        min-width: 0;
        top: calc(100% - 10px);
        padding: 26px 18px 10px;
    }

    .promolibro-nav__list > li.parent > .submenu::before {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        top: -14px;
        height: 14px;
    }

    .promolibro-nav__list > li.parent:hover > .submenu {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 32px;
        align-items: start;
    }

    .promolibro-nav__list > li.parent > .submenu > li {
        padding: 0;
        min-width: 0;
    }

    .promolibro-nav__list > li.parent > .submenu > li > a {
        display: block;
        padding: 0 0 14px;
        margin-bottom: 14px;
        border-bottom: 2px solid #c55b3c;
        color: var(--promolibro-blue);
        font-size: 17px;
        font-weight: 800;
        letter-spacing: 0.01em;
        text-transform: uppercase;
        background: transparent;
    }

    .promolibro-nav__list > li.parent > .submenu > li > a:hover {
        background: transparent;
        color: var(--promolibro-blue-deep);
    }

    .promolibro-nav__list > li.parent > .submenu > li.parent > .submenu,
    .promolibro-nav__list > li.parent > .submenu > li > .submenu {
        display: block;
        position: static;
        margin: 0;
        padding: 0;
        list-style: none;
        border: 0;
        box-shadow: none;
        background: transparent;
    }

    .promolibro-nav__list > li.parent > .submenu > li > .submenu > li {
        border-bottom: 1px solid #eef3f7;
    }

    .promolibro-nav__list > li.parent > .submenu > li > .submenu > li > a {
        display: block;
        padding: 14px 0;
        color: #5f666d;
        font-size: 15px;
        font-weight: 600;
        line-height: 1.35;
        background: transparent;
    }

    .promolibro-nav__list > li.parent > .submenu > li > .submenu > li > a:hover {
        background: transparent;
        color: var(--promolibro-blue);
    }

    .promolibro-nav__list > li.parent > .submenu > li > .submenu > li > a::before {
        content: '';
        display: inline-block;
        width: 5px;
        height: 5px;
        margin-right: 12px;
        border-radius: 50%;
        background: #6c757d;
        vertical-align: middle;
    }

    .promolibro-nav__list > li.parent > .submenu > li > .submenu > li > .submenu {
        display: none !important;
    }
}

.columns {
    gap: 34px;
}

.sidebar-main {
    width: 250px;
}

.sidebar-main .block {
    background: #ffffff;
    border: 1px solid var(--promolibro-line);
    padding: 24px 22px;
    box-shadow: none;
}

.sidebar-main .block-title strong,
.filter-title strong {
    color: var(--promolibro-blue);
    font-size: 28px;
    font-weight: 700;
}

.filter .filter-options-title,
.sidebar-main .filter-options-title {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--promolibro-text-soft);
}

.filter .filter-subtitle {
    display: none;
}

.promolibro-filter .filter-options {
    margin: 0;
}

.promolibro-filter .filter-options-title {
    margin: 0;
    border-top: 1px solid #edf2f6;
}

.promolibro-filter .filter-options-title:first-of-type {
    border-top: 0;
}

.promolibro-filter-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 0;
    border: 0;
    background: transparent;
    color: var(--promolibro-text);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-align: left;
}

.promolibro-filter-toggle:hover,
.promolibro-filter-toggle:focus,
.promolibro-filter-toggle:active,
.promolibro-filter-toggle:focus-visible {
    background: transparent;
}

.promolibro-filter-toggle:focus,
.promolibro-filter-toggle:focus-visible {
    box-shadow: none;
}

.promolibro-filter-toggle::after {
    content: '+';
    flex: 0 0 auto;
    font-size: 18px;
    line-height: 1;
    color: var(--promolibro-blue);
}

.promolibro-filter-toggle.is-open::after {
    content: '-';
}

.promolibro-filter-panel {
    display: none;
    margin: 0;
    padding: 0 0 14px;
}

.promolibro-filter-panel.is-open {
    display: block;
}

.promolibro-filter-panel .items {
    max-height: 220px;
    overflow-y: auto;
    margin: 0;
    padding: 0 6px 0 0;
}

.promolibro-filter-panel .item {
    margin: 0;
}

.promolibro-filter-panel .item + .item {
    border-top: 1px solid #f0f4f7;
}

.filter .filter-options-content a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 0;
    color: var(--promolibro-text);
    font-size: 14px;
}

.filter .filter-options-content a:hover {
    color: var(--promolibro-blue);
    text-decoration: none;
}

.filter .filter-options-content .count {
    color: var(--promolibro-text-soft);
    font-size: 12px;
}

.toolbar-products {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 16px 26px;
    background: transparent;
    border: 0;
    margin-bottom: 28px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--promolibro-line);
}

.toolbar-products .pages,
.toolbar-products .modes,
.toolbar-products .sorter,
.toolbar-products .limiter,
.toolbar-products .toolbar-amount {
    margin: 0;
}

.toolbar-products .sorter,
.toolbar-products .modes,
.toolbar-products .limiter {
    background: transparent;
    border: 0;
    padding: 0;
}

.toolbar-products .toolbar-amount {
    color: #9aa4ad;
    font-size: 15px;
    font-weight: 600;
    flex: 1 1 auto;
    min-width: 220px;
    padding-right: 10px;
}

.toolbar-products .modes {
    display: flex;
    align-items: center;
    gap: 0;
}

.toolbar-products .toolbar-sorter.sorter {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-left: auto;
}

.toolbar-products .sorter-label {
    margin: 0;
    white-space: nowrap;
    font-size: 15px;
    font-weight: 700;
    color: var(--promolibro-text);
}

.toolbar-products .sorter-options,
.toolbar-products .limiter-options {
    min-width: 200px;
    height: 44px;
    border: 1px solid var(--promolibro-line);
    background: #ffffff;
    padding: 0 42px 0 14px;
}

.toolbar-products .sorter-action {
    margin: 0;
}

.toolbar-products .limiter {
    display: flex;
    align-items: center;
    gap: 12px;
}

.toolbar-products .limiter .label,
.toolbar-products .limiter-label {
    margin: 0;
    white-space: nowrap;
    font-size: 15px;
    font-weight: 700;
    color: var(--promolibro-text);
}

.toolbar-products .modes-mode {
    width: 42px;
    height: 42px;
    border: 1px solid var(--promolibro-line);
    background: #f3f5f7;
}

.toolbar-products .modes-mode.active,
.toolbar-products .modes-mode:hover {
    background: var(--promolibro-blue);
    border-color: var(--promolibro-blue);
}

.toolbar-products .modes-mode:before {
    color: #677481;
}

.toolbar-products .modes-mode.active:before,
.toolbar-products .modes-mode:hover:before {
    color: #ffffff;
}

.promolibro-toolbar--bottom .toolbar-products {
    justify-content: center;
    margin-top: 36px;
    margin-bottom: 0;
    padding-top: 18px;
    padding-bottom: 0;
    border-top: 1px solid var(--promolibro-line);
    border-bottom: 0;
}

.promolibro-toolbar--bottom .toolbar-products .modes,
.promolibro-toolbar--bottom .toolbar-products .sorter,
.promolibro-toolbar--bottom .toolbar-products .limiter {
    display: none;
}

.promolibro-toolbar--bottom .toolbar-products .pages {
    display: block;
    margin: 0;
}

.promolibro-toolbar--bottom .pages .items {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.promolibro-toolbar--bottom .pages .item {
    margin: 0;
}

.promolibro-toolbar--bottom .pages a,
.promolibro-toolbar--bottom .pages strong.page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--promolibro-line);
    background: #ffffff;
    color: var(--promolibro-text);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.promolibro-toolbar--bottom .pages a:hover {
    border-color: var(--promolibro-blue);
    color: var(--promolibro-blue);
}

.promolibro-toolbar--bottom .pages strong.page {
    border-color: var(--promolibro-blue);
    background: var(--promolibro-blue);
    color: #ffffff;
}

.promolibro-product-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 28px 20px;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
}

.promolibro-card-item {
    margin: 0 !important;
    width: 100% !important;
    min-width: 0;
    float: none !important;
    clear: none !important;
    padding: 0 !important;
}

.page-products .products-grid .product-items.promolibro-product-grid,
.page-products .products.wrapper.grid .product-items.promolibro-product-grid,
.page-products .products.wrapper.products-grid .product-items.promolibro-product-grid {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 28px 20px !important;
    margin: 0 !important;
}

.page-products .products-grid .product-items.promolibro-product-grid:before,
.page-products .products-grid .product-items.promolibro-product-grid:after {
    display: none !important;
}

.products-grid .product-item.promolibro-card-item,
.page-products .products-grid .product-item.promolibro-card-item,
.products.wrapper.grid.products-grid .product-item.promolibro-card-item,
.products.wrapper.products-grid .product-item.promolibro-card-item {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: none !important;
    float: none !important;
    flex: none !important;
}

.promolibro-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    background: transparent;
    border: 0;
    overflow: hidden;
    box-shadow: none;
    transition: transform 0.2s ease;
}

.promolibro-card:hover {
    transform: translateY(-3px);
}

.promolibro-card__media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    padding: 0;
    background: transparent;
    border-bottom: 0;
}

.promolibro-card__media .product-image-wrapper,
.promolibro-card__media .product-image-container,
.promolibro-card__media .product-image-photo {
    max-width: 100%;
    width: auto !important;
    height: auto !important;
}

.promolibro-card__image,
.promolibro-card__media img.product-image-photo {
    max-height: 280px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.promolibro-card__badge {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 6px 10px;
    background: var(--promolibro-blue);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.promolibro-card__body {
    display: flex;
    flex-direction: column;
    gap: 0;
    height: 100%;
    width: 100%;
    min-width: 0;
    padding: 14px 0 0;
}

.promolibro-card__title {
    margin: 0;
    font-size: 20px;
    line-height: 1.12;
    min-height: 2.24em;
}

.promolibro-card__title a {
    color: var(--promolibro-blue);
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.promolibro-card__title a:hover {
    color: var(--promolibro-blue-deep);
    text-decoration: none;
}

.promolibro-card__author {
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
    color: #242b33;
}

.promolibro-card__year {
    margin-top: 2px;
    font-size: 14px;
    color: #242b33;
}

.promolibro-card__price {
    margin-top: 2px;
}

.promolibro-card__price.price-box,
.promolibro-card__price .price-box,
.promolibro-card__body .price-box.price-final_price {
    margin: 2px 0 0;
}

.promolibro-card__price .price {
    color: var(--promolibro-blue);
    font-size: 20px;
    font-weight: 800;
}

.promolibro-card__actions {
    padding-top: 3px;
}

.promolibro-card__cta.action.primary,
.promolibro-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border: 1px solid #a53c22;
    background: #a53c22;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.promolibro-card__cta:hover {
    background: #8c311b;
    border-color: #8c311b;
    color: #ffffff;
    text-decoration: none;
}

.itm-product-wrapper {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
    gap: 36px;
    align-items: start;
    margin-bottom: 42px;
}

.catalog-product-view .itm-product-wrapper > .itm-product-left-column,
.catalog-product-view .itm-product-wrapper > .itm-product-right-column {
    width: auto !important;
    max-width: none !important;
    min-width: 0;
    padding: 0 !important;
}

.itm-product-left-column {
    position: static;
    width: 100%;
    max-width: 420px;
    justify-self: center;
}

.itm-product-left-column .product.media,
 .itm-product-left-column .product-info-main {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
    margin: 0;
}

.itm-product-left-column .product.media {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto;
}

.itm-product-left-column .gallery-placeholder,
.itm-product-left-column .fotorama-item,
.itm-product-left-column .fotorama__stage__frame {
    background: #ffffff;
}

.promolibro-product-cover {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 420px;
    aspect-ratio: 3 / 4.2;
    min-height: 0;
    background: #ffffff;
    margin: 0 auto;
}

.promolibro-product-cover__image {
    display: block;
    width: 100% !important;
    height: 100% !important;
    margin: auto;
    max-width: 100%;
    max-height: none;
    object-fit: contain;
    object-position: center center;
}

.fotorama__stage {
    background: #ffffff;
}

.itm-product-right-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.promolibro-product-head,
.promolibro-product-summary {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
}

.promolibro-product-head__collection {
    display: none;
}

.promolibro-product-head__title {
    margin: 0;
    color: var(--promolibro-text);
    font-size: 35px;
    font-weight: 500;
    line-height: 0.96;
}

.promolibro-product-head__subtitle {
    margin: 10px 0 0;
    font-size: 18px;
    color: var(--promolibro-text-soft);
    line-height: 1.45;
}

.itm-product-right-column .product-reviews-summary {
    margin: -4px 0 6px;
}

.itm-product-right-column .reviews-actions {
    margin: 0;
}

.itm-product-right-column .reviews-actions a {
    color: var(--promolibro-blue);
    font-size: 14px;
    font-weight: 500;
}

.itm-product-right-column .price-box.price-final_price {
    margin: 0;
}

.itm-product-right-column .price-box.price-final_price .price {
    color: var(--promolibro-blue);
    font-size: 37px;
    font-weight: 500;
}

.promolibro-product-summary__list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.promolibro-product-summary__list li {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    font-size: 16px;
    line-height: 1.45;
}

.promolibro-product-summary__list li span,
.promolibro-product-summary__sku span {
    color: #666666;
    font-size: 16px;
    font-weight: 400;
}

.promolibro-product-summary__list li strong,
.promolibro-product-summary__sku strong,
.promolibro-product-summary__status strong {
    color: var(--promolibro-text);
    font-size: 16px;
    font-weight: 400;
}

.promolibro-product-summary__list li strong.is-accent {
    color: var(--promolibro-blue);
}

.promolibro-product-summary__availability {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    margin-top: 30px;
    padding: 28px 24px;
    background: #f5f5f5;
}

.promolibro-product-summary__status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.promolibro-product-summary__sku {
    margin: 0;
    text-align: right;
}

.promolibro-product-summary__dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #2bb24c;
}

.promolibro-product-summary__description {
    margin-top: 28px;
}

.promolibro-product-summary__copy {
    color: #646464;
    font-size: 16px;
    line-height: 1.7;
}

.itm-product-right-column .product-add-form {
    margin-top: 6px;
}

.itm-product-right-column .product-add-form .box-tocart {
    margin: 0;
}

.itm-product-right-column .product-add-form .fieldset {
    display: flex;
    align-items: flex-end;
    gap: 14px;
    flex-wrap: wrap;
}

.itm-product-right-column .box-tocart .field.qty {
    margin: 0;
}

.itm-product-right-column .box-tocart .field.qty.promolibro-tocart-qty {
    display: flex;
    align-items: flex-end;
    gap: 14px;
}

.itm-product-right-column .box-tocart .field.qty.promolibro-tocart-qty .control {
    display: flex;
}

.itm-product-right-column .box-tocart .field.qty.promolibro-tocart-qty .label {
    display: block;
    margin: 0;
    padding-bottom: 12px;
    color: var(--promolibro-text);
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
}

.itm-product-right-column .box-tocart .input-text.qty {
    width: 64px;
    height: 64px;
    border: 1px solid var(--promolibro-line);
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    background: #f6f6f6;
}

.itm-product-right-column .box-tocart .actions {
    margin: 0;
    display: flex;
    align-items: flex-end;
}

.itm-product-right-column .box-tocart .tocart {
    min-width: 150px;
    height: 64px;
    border: 1px solid var(--promolibro-blue);
    background: var(--promolibro-blue);
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.itm-product-right-column .box-tocart .tocart:hover {
    background: var(--promolibro-blue-deep);
    border-color: var(--promolibro-blue-deep);
}

.itm-product-right-column .promolibro-product-stock-alert {
    margin-top: 8px;
}

.itm-product-right-column .promolibro-product-stock-alert .product.alert {
    margin: 0;
}

.itm-product-right-column .promolibro-product-stock-alert .action.alert {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    min-height: 52px;
    padding: 0 22px;
    border: 1px solid var(--promolibro-blue);
    background: #ffffff;
    color: var(--promolibro-blue);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-align: center;
    text-decoration: none;
    text-transform: none;
}

.itm-product-right-column .promolibro-product-stock-alert .action.alert:hover,
.itm-product-right-column .promolibro-product-stock-alert .action.alert:focus {
    border-color: var(--promolibro-blue-deep);
    color: var(--promolibro-blue-deep);
    text-decoration: none;
}

.itm-product-right-column .product-social-links,
.itm-product-right-column .product-addto-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px 22px;
}

.itm-product-right-column .product.info.extrahint {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--promolibro-line);
}

.itm-product-right-column .action.towishlist,
.itm-product-right-column .action.tocompare,
.itm-product-right-column .product-info-mailto {
    color: #6b6b6b;
    font-size: 15px;
}

.itm-product-right-column .product-addto-links .action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.itm-product-right-column .action.towishlist:before,
.itm-product-right-column .action.tocompare:before,
.itm-product-right-column .product-info-mailto:before {
    color: #9a9a9a;
}

.product.info.detailed {
    padding: 18px 24px;
}

.product.data.items {
    border: 0;
}

.product.data.items > .item.title > .switch {
    border: 1px solid var(--promolibro-line);
    background: #ffffff;
    color: var(--promolibro-text);
    min-height: 42px;
    padding: 0 16px;
}

.product.data.items > .item.title.active > .switch,
.product.data.items > .item.title > .switch:hover {
    background: var(--promolibro-blue);
    border-color: var(--promolibro-blue);
    color: #ffffff;
}

.product.info.detailed > .product.data.items > .data.item.title.active > a.data.switch,
.product.info.detailed > .product.data.items > .data.item.title > a.data.switch:hover,
.product.data.items > .item.title:not(.disabled) > .switch:active,
.product.data.items > .item.title.active > .switch:focus,
.product.data.items > .item.title.active > .switch:hover {
    background: var(--promolibro-blue) !important;
    border-color: var(--promolibro-blue) !important;
    color: #ffffff !important;
}

.product.data.items > .item.content {
    border: 0;
    padding: 24px 0 8px;
    color: var(--promolibro-text-soft);
    font-size: 16px;
    line-height: 1.7;
}

.content-products-table-content {
    color: var(--promolibro-text-soft);
    font-size: 16px;
    line-height: 1.8;
}

.content-products-table-content h1,
.content-products-table-content h2,
.content-products-table-content h3,
.content-products-table-content h4 {
    color: var(--promolibro-text);
    margin: 0 0 14px;
}

.content-products-table-content p,
.content-products-table-content ul,
.content-products-table-content ol {
    margin-bottom: 14px;
}

.promolibro-product-additional__table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid var(--promolibro-line);
}

.promolibro-product-additional__table th,
.promolibro-product-additional__table td {
    padding: 22px 28px;
    border: 1px solid var(--promolibro-line);
    text-align: left;
    vertical-align: middle;
    font-size: 16px;
    line-height: 1.5;
}

.promolibro-product-additional__table th {
    width: 58%;
    background: #fafbfc;
    color: #70757b;
    font-weight: 800;
}

.promolibro-product-additional__table td {
    color: var(--promolibro-text-soft);
}

.product.info.detailed .title {
    font-size: 28px;
}

.checkout-cart-index .page-title-wrapper {
    margin-bottom: 28px;
}

.checkout-cart-index .cart-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    grid-template-areas: 'form summary';
    gap: 40px;
    align-items: start;
}

.checkout-cart-index .form-cart {
    grid-area: form;
    min-width: 0;
    width: auto !important;
    max-width: none !important;
    float: none !important;
    clear: none !important;
}

.checkout-cart-index .cart.table-wrapper {
    border-top: 1px solid var(--promolibro-line);
}

.checkout-cart-index #shopping-cart-table thead th {
    padding: 18px 14px;
    border-bottom: 1px solid var(--promolibro-line);
    color: var(--promolibro-text);
    font-size: 15px;
    font-weight: 800;
}

.checkout-cart-index #shopping-cart-table tbody tr.item-info td {
    padding: 22px 14px;
    border-bottom: 1px solid var(--promolibro-line);
    vertical-align: top;
}

.checkout-cart-index #shopping-cart-table tbody tr.item-actions td {
    padding: 0 14px 20px;
    border-bottom: 1px solid var(--promolibro-line);
}

.checkout-cart-index .item-info-table-wrapper.promolibro-cart-item__media {
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.checkout-cart-index .item-info-table-wrapper.promolibro-cart-item__media > .product-item-photo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 108px;
    height: 146px;
    margin: 0;
    border: 1px solid var(--promolibro-line);
    background: #ffffff;
    overflow: hidden;
}

.checkout-cart-index .item-info-table-wrapper.promolibro-cart-item__media > .product-item-photo > img,
.checkout-cart-index .item-info-table-wrapper.promolibro-cart-item__media > .product-item-photo .product-image-photo {
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    object-fit: contain;
}

.checkout-cart-index .promolibro-cart-item__details {
    min-width: 0;
}

.checkout-cart-index .promolibro-cart-item__name {
    display: block;
    margin: 0 0 10px;
    font-size: 18px;
    line-height: 1.35;
}

.checkout-cart-index .promolibro-cart-item__name a {
    color: var(--promolibro-text);
    text-decoration: none;
}

.checkout-cart-index .promolibro-cart-item__name a:hover {
    color: var(--promolibro-blue);
}

.checkout-cart-index .promolibro-cart-item__format {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    background: var(--promolibro-subtle);
    color: var(--promolibro-blue);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.checkout-cart-index .item-options {
    margin-top: 12px;
}

.checkout-cart-index .item-options dt,
.checkout-cart-index .item-options dd,
.checkout-cart-index .cart.item.message {
    font-size: 13px;
    color: var(--promolibro-text-soft);
}

.checkout-cart-index .col.price .price,
.checkout-cart-index .col.subtotal .price {
    color: var(--promolibro-text);
    font-size: 18px;
    font-weight: 800;
}

.checkout-cart-index .col.qty .input-text.qty {
    width: 72px;
    height: 44px;
    border: 1px solid var(--promolibro-line);
    background: #ffffff;
    text-align: center;
    box-shadow: none;
}

.checkout-cart-index .item-actions .actions-toolbar {
    display: flex;
    gap: 10px;
}

.checkout-cart-index .item-actions .actions-toolbar .action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid var(--promolibro-line);
    background: #ffffff;
    color: var(--promolibro-text);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.checkout-cart-index .item-actions .actions-toolbar .action:hover {
    border-color: var(--promolibro-blue);
    color: var(--promolibro-blue);
}

.checkout-cart-index .cart.main.actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 28px;
}

.checkout-cart-index .cart.main.actions .action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border: 1px solid var(--promolibro-line);
    background: #ffffff;
    color: var(--promolibro-text);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
}

.checkout-cart-index .cart.main.actions .action.update {
    margin-left: auto;
}

.checkout-cart-index .cart.main.actions .action:hover {
    border-color: var(--promolibro-blue);
    color: var(--promolibro-blue);
}

.checkout-cart-index .cart-summary {
    grid-area: summary;
    width: auto !important;
    max-width: none !important;
    float: none !important;
    clear: none !important;
    position: relative;
    top: auto;
    right: auto;
    margin: 0;
    padding: 24px;
    border: 1px solid var(--promolibro-line);
    background: #ffffff;
}

.checkout-cart-index .cart-summary .summary.title,
.checkout-cart-index .cart-summary .title strong {
    color: var(--promolibro-text);
    font-size: 18px;
    font-weight: 800;
}

.checkout-cart-index .cart-summary .totals {
    border-top: 1px solid var(--promolibro-line);
}

.checkout-cart-index .cart-summary .totals th,
.checkout-cart-index .cart-summary .totals td {
    padding: 14px 0;
    border-color: var(--promolibro-line);
}

.checkout-cart-index .cart-summary .mark,
.checkout-cart-index .cart-summary .amount {
    color: var(--promolibro-text);
    background: transparent;
}

.checkout-cart-index .cart-summary .grand.totals .price {
    color: var(--promolibro-text);
    font-size: 22px;
    font-weight: 800;
}

.checkout-cart-index .cart-summary .checkout-methods-items .action.primary.checkout {
    min-height: 52px;
    border: 0;
    background: var(--promolibro-blue);
    color: #ffffff;
    font-size: 16px;
    font-weight: 800;
}

.checkout-cart-index .cart-summary .checkout-methods-items .action.primary.checkout:hover {
    background: var(--promolibro-blue-deep);
}

.checkout-cart-index .cart-summary .multicheckout {
    margin-top: 16px;
    text-align: center;
}

.page-footer.ps-footer {
    margin-top: 60px;
    background: #a5351d;
    border-top: 0;
    color: #ffffff;
}

.page-footer.ps-footer a {
    color: #ffffff;
}

.promolibro-footer__top {
    background: #a5351d;
    color: #ffffff;
}

.promolibro-footer__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 48px;
    padding: 34px 0 28px;
}

.promolibro-footer__column {
    min-width: 0;
}

.promolibro-footer__title {
    margin: 0 0 28px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
}

.promolibro-footer__text {
    margin: 0 0 24px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 15px;
    line-height: 1.75;
}

.promolibro-footer__newsletter {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.promolibro-footer__input {
    width: 100%;
    min-height: 56px;
    border: 2px solid #174f87;
    background: #ffffff;
    color: #174f87;
    padding: 0 14px;
    box-shadow: none;
}

.promolibro-footer__input::placeholder {
    color: #174f87;
    opacity: 1;
}

.promolibro-footer__button {
    min-height: 42px;
    padding: 0 20px;
    border: 0;
    background: #0d4c8c;
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
}

.promolibro-footer__links,
.promolibro-footer__contact {
    list-style: none;
    margin: 0;
    padding: 0;
}

.promolibro-footer__links li {
    margin: 0 0 14px;
    padding-left: 20px;
    position: relative;
}

.promolibro-footer__links li::before {
    content: '';
    position: absolute;
    left: 2px;
    top: 11px;
    width: 5px;
    height: 5px;
    background: #ffffff;
}

.promolibro-footer__links a {
    color: #ffffff;
    font-size: 15px;
    line-height: 1.5;
    text-decoration: none;
}

.promolibro-footer__links a:hover,
.promolibro-footer__contact a:hover,
.promolibro-footer__social-actions a:hover {
    opacity: 0.85;
    text-decoration: none;
}

.thematic-panel-button {
    top: calc(50% + 28px);
}

.helper-panel-button {
    top: calc(50% + 28px);
}

.promolibro-footer__social-card {
    max-width: 308px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    padding: 16px;
}

.promolibro-footer__social-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.promolibro-footer__avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: #ffffff;
    color: #a5351d;
    font-weight: 800;
    font-size: 24px;
}

.promolibro-footer__social-head strong,
.promolibro-footer__social-head span,
.promolibro-footer__social-card p {
    display: block;
    color: #ffffff;
}

.promolibro-footer__social-head span {
    opacity: 0.8;
    font-size: 14px;
}

.promolibro-footer__social-card p {
    margin: 0 0 16px;
    font-size: 14px;
    line-height: 1.6;
}

.promolibro-footer__social-actions {
    display: flex;
    gap: 10px;
}

.promolibro-footer__social-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 112px;
    min-height: 38px;
    padding: 0 16px;
    color: #a5351d;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.promolibro-footer__contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0 0 20px;
    color: #ffffff;
    font-size: 17px;
    line-height: 1.5;
}

.promolibro-footer__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    margin-top: 3px;
    flex: 0 0 auto;
}

.promolibro-footer__icon svg {
    width: 18px;
    height: 18px;
}

.promolibro-footer__social-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.75);
    padding: 14px 0;
}

.promolibro-footer__social-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.promolibro-footer__social-spacer {
    flex: 1 1 auto;
}

.promolibro-footer__social-icons {
    display: flex;
    gap: 4px;
}

.promolibro-footer__social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    background: #ffffff;
    color: #a5351d;
}

.promolibro-footer__social-icons svg {
    width: 20px;
    height: 20px;
}

.promolibro-footer__bottom {
    background: #0d4c8c;
    color: #ffffff;
}

.promolibro-footer__bottom-inner {
    padding: 28px 0 24px;
    text-align: center;
}

.promolibro-footer__bottom-inner p {
    margin: 0;
    color: #ffffff;
    font-size: 14px;
    line-height: 1.7;
}

.promolibro-newsletter-band {
    background: #ffffff;
    border-top: 1px solid var(--promolibro-line);
}

.promolibro-newsletter-band__inner {
    padding-top: 60px;
    padding-bottom: 56px;
}

.promolibro-newsletter-band__header {
    margin-bottom: 34px;
    text-align: center;
}

.promolibro-newsletter-band__title {
    position: relative;
    display: inline-block;
    margin: 0;
    padding-bottom: 18px;
    color: var(--promolibro-text);
    font-size: 28px;
    font-weight: 400;
    line-height: 1.2;
}

.promolibro-newsletter-band__title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 96px;
    height: 4px;
    background: #f0cf19;
    transform: translateX(-50%);
}

.promolibro-newsletter-band__form {
    margin: 0;
}

.promolibro-newsletter-band__fields {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) auto;
    gap: 26px;
    align-items: end;
    margin-bottom: 20px;
}

.promolibro-newsletter-band__field {
    margin: 0;
}

.promolibro-newsletter-band__field > .label {
    display: block;
    margin-bottom: 10px;
    color: #747474;
    font-size: 14px;
    font-weight: 600;
}

.promolibro-newsletter-band__field > .label span {
    display: block;
}

.promolibro-newsletter-band__field .control {
    position: relative;
}

.promolibro-newsletter-band__field input {
    width: 100%;
    height: 50px;
    border: 0;
    border-bottom: 1px solid #c8c8c8;
    background: transparent;
    padding: 0;
    color: var(--promolibro-text);
    font-size: 16px;
}

.promolibro-newsletter-band__field input:focus {
    border-color: var(--promolibro-text);
    box-shadow: none;
}

.promolibro-newsletter-band__actions {
    margin: 0;
}

.action.subscribe.primary.promolibro-newsletter-band__button,
.promolibro-newsletter-band__button {
    min-width: 180px;
    height: 50px;
    border: 0 !important;
    background: var(--promolibro-blue) !important;
    color: #ffffff !important;
    font-size: 16px;
    font-weight: 800;
    box-shadow: none !important;
}

.action.subscribe.primary.promolibro-newsletter-band__button:hover,
.action.subscribe.primary.promolibro-newsletter-band__button:focus,
.promolibro-newsletter-band__button:hover,
.promolibro-newsletter-band__button:focus {
    background: var(--promolibro-blue-deep) !important;
    color: #ffffff !important;
}

.promolibro-newsletter-band__button span::after {
    content: ' >';
}

.promolibro-newsletter-band__choices {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 28px;
    align-items: flex-start;
}

.promolibro-newsletter-band__choice {
    display: grid;
    grid-template-columns: 20px minmax(0, auto);
    align-items: start;
    column-gap: 12px;
    margin: 0;
}

.promolibro-newsletter-band__choice input[type='checkbox'] {
    margin: 3px 0 0 !important;
    width: 20px;
    min-width: 20px;
    height: 20px;
    flex: 0 0 auto;
}

.promolibro-newsletter-band__choice label {
    display: block !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    color: var(--promolibro-text);
    font-size: 15px;
    line-height: 1.5;
}

.promolibro-newsletter-band__choice label > span {
    position: static !important;
    top: auto !important;
    left: auto !important;
    width: auto !important;
    height: auto !important;
    display: inline !important;
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transform: none !important;
}

.promolibro-newsletter-band__choice input[type='checkbox']:checked ~ label > span {
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
}

.promolibro-newsletter-band__choice input[type='checkbox'] ~ label::before,
.promolibro-newsletter-band__choice input[type='checkbox'] ~ label > span::before {
    content: none !important;
    display: none !important;
}

.promolibro-newsletter-band a,
.page-footer.ps-footer .promolibro-newsletter-band a,
.promolibro-newsletter-band__choice a {
    color: #d5a400 !important;
}

.promolibro-newsletter-band__choice label::before,
.promolibro-newsletter-band__choice label::after {
    display: none !important;
}

.promolibro-newsletter-band__choice a {
    color: #d5a400;
    font-weight: 700;
}

.promolibro-newsletter-band__choice a:hover {
    color: #b88d00;
}

.promolibro-newsletter-band .field-recaptcha {
    margin-top: 18px;
}

.promolibro-newsletter-band div.mage-error,
.promolibro-newsletter-band label.mage-error {
    margin-top: 8px;
    color: #c62828;
    font-size: 12px;
}

@media (max-width: 1440px) {
    .promolibro-product-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 1199px) {
    .promolibro-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .itm-product-wrapper,
    .promolibro-product-summary__grid {
        grid-template-columns: 1fr;
    }

    .itm-product-left-column {
        position: static;
    }

    .promolibro-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 36px 28px;
    }

    .promolibro-newsletter-band__fields {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .promolibro-newsletter-band__actions {
        grid-column: 1 / -1;
    }

    .checkout-cart-index .cart-container {
        grid-template-columns: 1fr;
        grid-template-areas:
            'form'
            'summary';
    }

    .checkout-cart-index .cart-summary,
    .checkout-cart-index .cart-summary._sticky {
        position: static !important;
        top: auto !important;
    }
}

@media (max-width: 900px) {
    body.promolibro-header-condensed .page-wrapper {
        padding-top: calc(var(--promolibro-announcement-height) + var(--promolibro-header-main-height));
    }

    body.promolibro-header-condensed .promolibro-header {
        min-height: var(--promolibro-header-main-height);
    }

    body.promolibro-header-condensed .promolibro-header__main {
        position: fixed;
        top: var(--promolibro-announcement-height);
        left: 0;
        right: 0;
        z-index: 1001;
        background: #ffffff;
        border-bottom: 1px solid var(--promolibro-line);
        box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1);
        animation: promolibro-fade-slide-in 0.22s ease;
    }

    body.promolibro-header-condensed .promolibro-header__meta,
    body.promolibro-header-condensed .promolibro-header__nav {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        max-height: 0;
        overflow: hidden;
        border: 0;
    }

    body.promolibro-header-condensed .promolibro-header__main {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        max-height: none;
        overflow: visible;
    }

    body.promolibro-nav-open {
        overflow: hidden;
    }

    .promolibro-header__main-inner,
    .promolibro-header__nav-inner,
    .promolibro-header__meta-inner {
        flex-wrap: wrap;
    }

    .toolbar-products {
        gap: 12px 18px;
    }

    .toolbar-products .toolbar-sorter.sorter {
        margin-left: 0;
    }

    .promolibro-header__main-inner {
        display: flex;
    }

    .promolibro-header__search {
        order: 3;
        width: 100%;
        max-width: none;
        flex-basis: 100%;
    }

    .promolibro-nav-toggle {
        display: inline-flex;
    }

    .promolibro-nav {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: min(360px, 88vw);
        height: 100vh;
        background: #ffffff;
        border-right: 1px solid var(--promolibro-line);
        box-shadow: 0 18px 42px rgba(15, 23, 42, 0.18);
        transform: translateX(-100%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
        z-index: 99999;
        overflow-y: auto;
        flex-basis: auto;
    }

    body.promolibro-nav-open .promolibro-nav {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }

    .promolibro-nav-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.38);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        z-index: 99998;
    }

    body.promolibro-nav-open .promolibro-nav-overlay {
        opacity: 1;
        visibility: visible;
    }

    .promolibro-nav__mobile-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        padding: 16px 18px;
        background: var(--promolibro-blue);
        color: #ffffff;
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .promolibro-nav__mobile-title {
        font-size: 18px;
        font-weight: 800;
        letter-spacing: 0.02em;
    }
    .page-footer.ps-footer {
        z-index: 9;
    }
    .promolibro-nav__close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        border: 0;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.14);
        color: #ffffff;
        font-size: 28px;
        line-height: 1;
        cursor: pointer;
    }
    .promolibro-header__meta-inner, .promolibro-header__main-inner, .promolibro-header__nav-inner {
        gap: 0;
    }
    .promolibro-nav__list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px 18px 24px;
        gap: 0 !important;
    }

    .promolibro-nav__list > li > a {
        min-height: 46px;
        padding: 12px 0;
    }

    .promolibro-nav__list > li.parent > .submenu {
        position: static;
        display: block;
        min-width: 0;
        padding: 0 0 0 12px;
        background: transparent;
        border: 0;
        box-shadow: none;
    }

    .promolibro-product-grid,
    .page-products .products-grid .product-items.promolibro-product-grid,
    .page-products .products.wrapper.grid .product-items.promolibro-product-grid,
    .page-products .products.wrapper.products-grid .product-items.promolibro-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 24px 16px !important;
    }

    .promolibro-card__media {
        min-height: 220px;
    }

    .promolibro-card__title {
        font-size: 18px;
        min-height: 2.3em;
    }

    .promolibro-card__author,
    .promolibro-card__year {
        font-size: 15px;
    }

    .promolibro-card__price .price {
        font-size: 18px;
    }

    .promolibro-card__cta.action.primary,
    .promolibro-card__cta {
        width: 100%;
        min-height: 40px;
        padding: 0 14px;
    }

    .promolibro-footer__grid {
        grid-template-columns: 1fr;
    }

    .promolibro-footer__social-bar-inner {
        justify-content: flex-end;
    }

    .promolibro-footer__social-spacer {
        display: none;
    }

    .promolibro-footer__contact li {
        font-size: 15px;
    }

    .promolibro-newsletter-band__inner {
        padding-top: 44px;
        padding-bottom: 40px;
    }

    .promolibro-newsletter-band__fields {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .promolibro-newsletter-band__choices {
        flex-direction: column;
        gap: 14px;
    }

    .checkout-cart-index .cart.main.actions {
        flex-wrap: wrap;
    }
    .promolibro-shell.promolibro-header__meta-inner .promolibro-header__account {
        display: block;
        width: 100%;
        margin: 2rem 0;
    }
    .promolibro-shell.promolibro-header__meta-inner .promolibro-header__account .user-login {
        width: 100%;
        display: flex;
        justify-content: space-between;
    }
    .promolibro-shell.promolibro-header__meta-inner .promolibro-header__account .user-login li {
        width: 100%;
        border: 1px solid var(--promolibro-line);
        padding: 1rem;
        text-align: center;
        display: flex;
        justify-content: center;
    }
    span.itm-welcome-message {
        display: block;
        margin: 11px 0 0 0;
        padding: 0;
        border-right: 0;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .promolibro-shell,
    .header-container,
    .page-main {
        width: calc(100% - 24px);
    }

    .promolibro-product-grid,
    .page-products .products-grid .product-items.promolibro-product-grid,
    .page-products .products.wrapper.grid .product-items.promolibro-product-grid,
    .page-products .products.wrapper.products-grid .product-items.promolibro-product-grid {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
    }

    .promolibro-card__media {
        min-height: 260px;
    }

    .promolibro-card__title {
        font-size: 20px;
    }

    .promolibro-card__body {
        padding-top: 12px;
    }

    .promolibro-toolbar--top .toolbar-products,
    .promolibro-toolbar--bottom .toolbar-products {
        align-items: stretch;
        gap: 12px;
    }

    .toolbar-products .modes,
    .toolbar-products .toolbar-amount,
    .toolbar-products .toolbar-sorter.sorter,
    .toolbar-products .limiter {
        width: 100%;
        justify-content: flex-start;
        margin-left: 0;
    }

    .toolbar-products .modes {
        display: flex;
        align-items: center;
        gap: 10px;
        order: 1;
    }

    .toolbar-products .modes-label {
        margin: 0;
        color: var(--promolibro-text);
        font-size: 15px;
        font-weight: 700;
        white-space: nowrap;
    }

    .toolbar-products .modes-mode {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-indent: -9999px;
        overflow: hidden;
        font-size: 0;
        line-height: 0;
    }

    .toolbar-products .modes-mode:before {
        text-indent: 0;
        font-size: 18px;
        line-height: 1;
    }

    .toolbar-products .toolbar-amount {
        order: 2;
        justify-content: center;
        text-align: center;
        min-width: 0;
        padding-right: 0;
        color: #8f99a3;
    }

    .toolbar-products .toolbar-sorter.sorter {
        order: 3;
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
        align-items: stretch;
    }

    .toolbar-products .sorter-label {
        font-size: 14px;
    }

    .toolbar-products .sorter-options {
        width: 100%;
        min-width: 0;
    }

    .toolbar-products .sorter-action {
        display: none;
    }

    .promolibro-product-head__title {
        font-size: 40px;
    }

    .checkout-cart-index .item-info-table-wrapper.promolibro-cart-item__media {
        grid-template-columns: 88px minmax(0, 1fr);
        gap: 12px;
        align-items: start;
    }

    .checkout-cart-index .item-info-table-wrapper.promolibro-cart-item__media > .product-item-photo {
        width: 88px;
        height: 122px;
        align-self: start;
    }

    .checkout-cart-index #shopping-cart-table tbody tr.item-info td.col.item {
        padding-top: 16px;
        padding-bottom: 14px;
    }

    .checkout-cart-index .promolibro-cart-item__details {
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

    .checkout-cart-index .promolibro-cart-item__name {
        margin-bottom: 2px;
        font-size: 16px;
        line-height: 1.3;
    }

    .checkout-cart-index .promolibro-cart-item__format {
        min-height: 24px;
        padding: 0 8px;
        font-size: 11px;
    }

    .checkout-cart-index .item-options {
        margin-top: 4px;
    }

    .checkout-cart-index .item-options dt,
    .checkout-cart-index .item-options dd,
    .checkout-cart-index .cart.item.message {
        font-size: 12px;
    }

    .checkout-cart-index .cart.main.actions .action,
    .checkout-cart-index .cart.main.actions .action.update {
        width: 100%;
        margin-left: 0;
    }

    .promolibro-minicart-item__product {
        gap: 12px;
    }

    .promolibro-minicart-item__photo {
        flex-basis: 72px;
        width: 72px;
        height: 98px;
    }

    .promolibro-minicart-item__name {
        font-size: 14px;
    }

    .promolibro-minicart-item__footer {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .promolibro-minicart-item__actions {
        width: auto;
        justify-content: flex-end;
    }
}

/* =============================================
   Badge de descuento promocional
   ============================================= */
.promolibro-badge.promolibro-badge--promo {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 8px;
    border-radius: 999px;
    background: #ec0202;
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
    box-shadow: 0 2px 8px rgba(236, 2, 2, 0.35);
    pointer-events: none;
}

.promolibro-badge--pdp {
    position: static;
    display: inline-flex;
    margin-top: 8px;
    box-shadow: none;
}

/* Ocultar el badge de final_price.phtml dentro de tarjetas (ya tienen badge propio en la imagen) */
.promolibro-card .promolibro-pdp-badge-wrap {
    display: none;
}

/* Badge sobre imagen en ficha de producto */
.promolibro-product-cover {
    position: relative;
}

.promolibro-badge--gallery {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
}

/* =============================================
   PDP: layout de precios apilados verticalmente
   ============================================= */
.itm-product-right-column .price-box.price-final_price {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.itm-product-right-column .price-box.price-final_price .special-price {
    order: 1;
}

.itm-product-right-column .price-box.price-final_price .old-price {
    order: 2;
}

.itm-product-right-column .price-box.price-final_price .special-price .price-label,
.itm-product-right-column .price-box.price-final_price .old-price .price-label {
    display: none;
}

.itm-product-right-column .price-box.price-final_price .special-price .price {
    font-size: 26px;
    font-weight: 800;
    color: var(--promolibro-blue);
}

.itm-product-right-column .price-box.price-final_price .old-price .price {
    font-size: 15px;
    font-weight: 400;
    color: var(--promolibro-text-muted, #888);
    text-decoration: line-through;
}

.itm-product-right-column .price-box.price-final_price .promolibro-pdp-badge-wrap {
    order: 3;
    margin-top: 4px;
}

/* =============================================
   Minicart: label + ícono alineado con search
   ============================================= */
.minicart-wrapper .action.showcart {
    width: auto;
    height: 50px;
    padding: 0 14px;
    gap: 8px;
}

.promolibro-cart-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--promolibro-blue);
    white-space: nowrap;
}

/* Estado vacío del minicarrito */
.promolibro-minicart__empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 32px 16px;
    text-align: center;
}

.promolibro-minicart__empty-icon {
    display: inline-flex;
    color: var(--promolibro-line-strong);
}

.promolibro-minicart__empty-icon svg {
    width: 48px;
    height: 48px;
}

.promolibro-minicart__empty .subtitle.empty {
    display: block;
    font-size: 14px;
    font-weight: 400;
    color: var(--promolibro-text-soft);
    line-height: 1.5;
}

/* =============================================
   Barra superior: mensaje promocional
   ============================================= */
.itm-welcome-message,
.itm-welcome-message span {
    font-size: 13px;
    line-height: 1.4;
}

/* =============================================
   Panel de ayuda (izquierda)
   ============================================= */
.modal-side-wrapper {
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow-y: auto;
    align-items: stretch;
    align-content: flex-start;
    color: var(--promolibro-text);
}

.modal-side-wrapper a,
.modal-side-wrapper a:visited {
    color: var(--promolibro-text) !important;
    text-decoration: none;
}

.modal-side-wrapper a:hover {
    color: var(--promolibro-blue-deep);
    text-decoration: underline;
}

.modal-side-wrapper strong {
    color: var(--promolibro-text);
}

.modal-side-header h3 {
    background: var(--promolibro-blue);
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    padding: 14px 20px;
    margin: 0;
}

.modal-side-body {
    padding: 0 20px 24px;
    flex: 1;
    overflow-y: auto;
}

.modal-side-body > h3 {
    background: var(--promolibro-blue);
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    padding: 14px 20px;
    margin: 20px -20px 12px;
}

.modal-side-body > ul {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
}

.modal-side-body > ul > li {
    border-bottom: 1px solid var(--promolibro-line);
    padding: 12px 0;
    font-size: 14px;
    color: var(--promolibro-text);
}

.modal-side-body > ul > li > a,
.modal-side-body > ul > li > a:visited {
    font-size: 14px;
    color: var(--promolibro-text);
    text-decoration: none;
    font-weight: 400;
    border-bottom: 1px dotted #000000;
}
.modal-side-body  p a {
    border-bottom: 1px dotted #000000;
}

.modal-side-body > ul > li > a:hover {
    color: var(--promolibro-blue);
}

.modal-side-body > p {
    font-size: 14px;
    color: var(--promolibro-text);
    line-height: 1.6;
    margin: 0 0 12px;
    font-weight: 400;
}

.modal-side-body > p a {
    color: var(--promolibro-blue);
    text-decoration: none;
}

.modal-side-body > p a:hover {
    text-decoration: underline;
}

.helper-panel-credits {
    margin-top: 20px;
    font-size: 13px;
    color: var(--promolibro-text-soft);
}

.helper-panel-credits a {
    color: var(--promolibro-blue);
    font-weight: 600;
    text-decoration: none;
}

/* =============================================
   Panel de editoriales (derecha)
   ============================================= */
.thematic-side-wrapper {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    color: var(--promolibro-text);
}

.thematic-side-wrapper a,
.thematic-side-wrapper a:visited {
    color: var(--promolibro-text);
    text-decoration: none;
}

.thematic-side-wrapper a:hover {
    color: var(--promolibro-blue);
}

.editoriales-panel__header h3 {
    background: var(--promolibro-blue);
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    padding: 14px 20px;
    margin: 0;
    position: sticky;
    top: 0;
    z-index: 1;
}

.editoriales-panel__body {
    padding: 8px 0 24px;
    overflow-y: auto;
}

.editoriales-panel__group {
    margin-bottom: 4px;
}

.editoriales-panel__letter {
    display: block;
    padding: 6px 20px 4px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--promolibro-blue);
    background: var(--promolibro-subtle);
    border-top: 1px solid var(--promolibro-line);
}

.editoriales-panel__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.editoriales-panel__item {
    border-bottom: 1px solid var(--promolibro-line);
}

.editoriales-panel__item a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    font-size: 13px;
    color: var(--promolibro-text) !important;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
}

.editoriales-panel__item a:hover {
    background: var(--promolibro-subtle);
    color: var(--promolibro-blue);
}

.editoriales-panel__count {
    font-size: 12px;
    color: var(--promolibro-text-soft);
    margin-left: 6px;
    flex-shrink: 0;
}

.editoriales-panel__empty {
    padding: 24px 20px;
    font-size: 14px;
    color: var(--promolibro-text-soft);
}
