* {
    outline: none !important;
}

#page .site-content {
    margin-top: 0 !important;
}

/* Swiper carousel styles - only for child widget with cebrita-swiper-carousel class */
.cebrita-products {
    position: relative;
    width: 100%;
    padding: 0 !important;
}

.cebrita-products .cebrita-swiper-carousel {
    overflow: hidden;
}

.woocommerce-Price-amount,
.site-header-cart-side .widget_shopping_cart .mini_cart_item .quantity .amount,
.wc-block-components-formatted-money-amount {
    font-weight: 800;
    font-family: var(--font-secondary);
    font-size: 24px;
    color: var(--wine-300);
    line-height: 1;
}

.widget_shopping_cart .mini_cart_item .quantity {
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

/* Swiper básico en wrapper directo (sin cebrita-swiper-host) */
.cebrita-swiper-carousel>.swiper-wrapper {
    display: flex;
    transition: transform 0.3s ease;
}

.cebrita-swiper-carousel .swiper-slide {
    flex-shrink: 0;
    width: auto;
    min-width: 0;
    height: auto;
}

/* Asegurar que elementos internos no rompan el cálculo de ancho */
.cebrita-swiper-carousel .swiper-slide>li {
    width: 100%;
    box-sizing: border-box;
}

.cebrita-swiper-carousel .swiper-slide .product-block {
    width: 100%;
}

/* Swiper navigation arrows - child widget only */
.cebrita-products .swiper-button-prev,
.cebrita-products .swiper-button-next,
.cebrita-blog .swiper-button-prev,
.cebrita-blog .swiper-button-next,
.woocommerce-carousel .slick-arrow {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 40px !important;
    height: 40px !important;
    background: var(--wine-100) !important;
    border: 2px solid var(--wine-300) !important;
    border-radius: 50% !important;
    color: var(--wine-300) !important;
    transition: all ease-in-out .7s !important;
    z-index: 10 !important;
    text-stroke: 1px currentColor;
    -webkit-text-stroke: 1px currentColor;
}

.cebrita-products .swiper-button-prev:hover,
.cebrita-products .swiper-button-next:hover,
.cebrita-blog .swiper-button-prev:hover,
.cebrita-blog .swiper-button-next:hover {
    background: var(--wine-300) !important;
    color: var(--cream-100) !important;
}

.woocommerce-carousel .slick-arrow:hover {
    background: var(--red-300) !important;
    color: var(--cream-100) !important;
}

.cebrita-products .swiper-button-prev:after,
.cebrita-products .swiper-button-next:after,
.cebrita-blog .swiper-button-prev:after,
.cebrita-blog .swiper-button-next:after,
.woocommerce-carousel .slick-arrow:before {
    color: currentColor;
    font-size: 17px !important;
}

.cebrita-inline-buttons .add_to_cart_button:hover {
    opacity: 0.9;
}

.cebrita-inline-buttons .add_to_cart_button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.cebrita-inline-buttons .add_to_cart_button.loading {
    opacity: 0.7;
    cursor: wait;
}

.cebrita-inline-buttons {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
}

.cebrita-inline-buttons .add_to_cart_button,
.cebrita-inline-buttons .woosw-btn,
.cebrita-added-to-cart-output .added_to_cart,
.cebrita-inline-buttons .cebrita-add-to-cart-control .button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 47px;
    min-height: 47px;
    gap: 10px;
    margin: 0 !important;
}

.cebrita-inline-buttons .cebrita-inline-add-to-cart {
    width: 100%;
}

.cebrita-inline-buttons .cebrita-add-to-wishlist .woosw-btn {
    font-size: 0;
    padding: 0;
    background: transparent;
    position: relative;
    transition: all ease-in-out .5s !important;
    color: var(--cream-400);
}

.cebrita-inline-buttons .cebrita-add-to-wishlist .woosw-btn:hover {
    background: var(--wine-300);
    color: var(--cream-100);
}

.cebrita-inline-buttons .cebrita-add-to-wishlist .woosw-added:hover:before {
    color: var(--cream-100);
}

.cebrita-inline-buttons .cebrita-add-to-wishlist .woosw-btn:before {
    font-size: 21px !important;
    color: currentColor;
    position: absolute;
    margin: auto;
    transition: all ease-in-out .5s !important;
}

.cebrita-inline-buttons .cebrita-add-to-wishlist .woosw-added:before {
    color: var(--wine-300);
}

.cebrita-inline-add-to-cart .button.loading {
    font-size: 0 !important;
}

/* Swiper pagination bullets */
.cebrita-products .swiper-pagination-bullet {
    background: var(--wine-300) !important;
    opacity: 0.5 !important;
}

.cebrita-products .swiper-pagination-bullet.swiper-pagination-bullet-active {
    opacity: 1 !important;
    background: var(--wine-300) !important;
}

#recursos-inicio ul.products li.product,
.cebrita-products li.product {
    padding: 15px !important;
    height: 100%;
    list-style: none;
}

#recursos-inicio ul.products li.product img,
.cebrita-products li.product .product-block .product-image img {
    height: 210px;
    width: 100%;
    object-fit: cover;
}

.bookory-products li.product .product-block,
.cebrita-products li.product .product-block {
    padding: 20px;
    background: var(--cream-100);
    border: 2px solid var(--cream-300);
    border-radius: 12px;
    margin: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.cebrita-products ul.products li.product .product-block {
    padding: 20px;
    background: var(--cream-100);
    border: 2px solid var(--cream-300);
    border-radius: 12px;
    margin: 0;
}

.cebrita-products li.product .product-block .product-image {
    overflow: hidden;
    border-radius: 15px;
}

#recursos-inicio .woocommerce-carousel .slick-list .slick-slide li.product .product-block:before,
.single-product div.product form.cart::before,
.single-product div.product form.cart::after,
.cebrita-content-product .cebrita-summary .cebrita-inline-add-to-cart .button:before,
.woosq-popup .cebrita-summary .cebrita-inline-buttons .button:before,
.cebrita-products .woocommerce-carousel .slick-list .slick-slide li.product .product-block:before,
.site-header-cart-side .widget_shopping_cart p.total:before,
.site-header-cart-side .widget_shopping_cart p.total:after,
.related>h2:first-child:before,
.upsells>h2:first-child:before,
.related>h2:first-child:after,
.upsells>h2:first-child:after {
    content: none !important;
}

.bookory-products .woocommerce-loop-product__title a,
.cebrita-products .woocommerce-loop-product__title a,
.cebrita-blog .hfe-post-content .hfe-post-title a,
.cebrita-blog-grid .hfe-post-content .hfe-post-title a {
    font-size: 18px;
    color: var(--neutral);
}

.bookory-products .woocommerce-loop-product__title a:hover,
.cebrita-products .woocommerce-loop-product__title a:hover,
.cebrita-blog .hfe-post-content .hfe-post-title a:hover,
.cebrita-blog-grid .hfe-post-content .hfe-post-title a:hover {
    color: var(--wine-300);
}

.cebrita-blog .hfe-post-content .hfe-post-excerpt,
.cebrita-blog-grid .hfe-post-content .hfe-post-excerpt {
    font-size: 16px;
    color: var(--neutral);
    font-weight: 400;
    line-height: 1.5;
    display: -webkit-box;
    line-clamp: 3;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cebrita-products ul.products li.product img {
    height: 210px;
    object-fit: cover;
}

.woocommerce-loop-product__author,
.product-price-range {
    line-height: 1;
}

.woocommerce-loop-product__author a {
    font-size: 15px;
    color: var(--neutral) !important;
    font-weight: 400;
}

.woocommerce-loop-product__author a:hover {
    color: var(--wine-300) !important;
}

.cebrita-products ul.products li.product .product-block {
    padding: 20px;
    background: var(--cream-100);
    border: 2px solid var(--cream-300);
    border-radius: 12px;
    margin: 0;
}

.cebrita-inline-add-to-cart .button:hover,
.cebrita-added-to-cart-output .added_to_cart:hover {
    background: var(--wine-300);
    color: var(--cream-100);
}

.cebrita-products ul.products li.product {
    padding: 15px !important;
    margin: 0 !important;
    height: auto;
}

.cebrita-products ul.products li.product img {
    height: 210px;
    object-fit: cover;
}

.cebrita-products ul.products li.product .product-block {
    padding: 20px;
    background: var(--cream-100);
    border: 2px solid var(--cream-300);
    border-radius: 12px;
    margin: 0;
}

.cebrita-products .slick-arrow {
    border: 2px solid var(--wine-300);
    color: var(--wine-300);
    background: var(--wine-100);
    transition: all ease-in-out .7s;
}

.cebrita-products .slick-arrow:hover {
    color: var(--wine-100);
    background: var(--wine-300);
}

.cebrita-products .slick-arrow:before {
    color: currentColor;
}

.woosq-popup {
    overflow: visible;
}

/* Fix for Elementor full width pages */
body.elementor-page:not(.product-template-default) .col-full {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}

body {
    background-color: var(--cream-200) !important;
}

#menu-principal>.elementor-element {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

#menu-principal .logo-header {
    max-width: 200px;
}

#menu-principal .buscar-header {
    max-width: 300px;
}

#menu-principal .buscar-header .search-field {
    padding: 13px 20px 13px 45px !important;
}

#menu-principal .buscar-header button {
    left: 8px !important;
    right: auto !important;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: auto;
    width: 30px;
}

#menu-principal .buscar-header .elementor-widget-bookory-search {
    width: 100%;
}

#menu-principal .icons-header {
    max-width: 146px;
}

#menu-principal .menu-movil-header {
    width: auto;
    min-width: 38px;
    display: none;
}

#menu-principal .menu-movil-header .menu-mobile-nav-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

}

.main-navigation ul.menu>li.menu-item>a {
    padding: 0 10px !important;
    height: 100%;
    display: flex !important;
    align-items: center;
    min-height: 80px;
}

.main-navigation ul.menu {
    height: 100%;
    margin: auto !important;
}

#menu-principal .menu-header>.elementor-element,
#menu-principal .menu-header>.elementor-element .elementor-nav-menu-wrapper,
#menu-principal .menu-header>.elementor-element .primary-navigation,
#menu-principal .menu-header>.elementor-element .main-navigation ul li,
#menu-principal .menu-header>.elementor-element .main-navigation,
.cebrita-gallery-stage .swiper {
    height: 100%;
}

.header-group-action .site-header-wishlist .count,
.header-group-action .site-header-cart .count {
    background-color: var(--green-300) !important;
    color: var(--cream-900) !important;
    min-width: 16px !important;
    min-height: 16px !important;
    aspect-ratio: 1;
    border-radius: 50% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px !important;
    top: -6px !important;
    right: -10px !important;
}

.main-navigation ul.menu>li.menu-item>a {
    font-family: "Lato" !important;
    font-weight: 500 !important;
}

.header-group-action a:hover,
.main-navigation ul.menu>li.menu-item:hover>a,
.main-navigation ul.menu>li.menu-item>a:hover,
.single-bookory_menu_item .elementor-icon-list-items li a:hover,
.mega-menu .elementor-icon-list-items li a:hover,
.single-bookory_menu_item .elementor-icon-list-items li:hover a,
.mega-menu .elementor-icon-list-items li:hover a,
.main-navigation ul.menu li.menu-item .sub-menu .menu-item:hover a,
.main-navigation ul.menu li.menu-item .sub-menu .menu-item a:hover,
.main-navigation ul.menu>li.menu-item.current-menu-parent>a,
.main-navigation ul.menu>li.menu-item.current-menu-item>a,
.main-navigation ul.menu>li.menu-item.current-menu-ancestor>a,
.main-navigation ul.menu li.menu-item .sub-menu .menu-item.current-menu-item>a {
    color: var(--wine-300) !important;
}

.header-group-action a i,
.header-group-action a:before,
.single-bookory_menu_item .elementor-icon-list-items li a span,
.mega-menu .elementor-icon-list-items li a span,
.main-navigation ul.menu ul.sub-menu li.menu-item a>span,
.main-navigation ul.nav-menu ul.sub-menu li.menu-item a>span {
    color: currentColor !important;
}

.main-navigation ul.menu>li.menu-item>a>span:before,
.main-navigation ul.menu ul.sub-menu li.menu-item a>span:before,
.main-navigation ul.nav-menu ul.sub-menu li.menu-item a>span:before {
    background-color: currentColor !important;
}

#footer-principal .logo-footer img {
    max-width: 230px;
    padding: 0 30px;
}

#footer-principal .logo-footer .elementor-icon-list-items {
    margin: auto !important;
    gap: 10px;
}

#footer-principal .logo-footer .elementor-icon-list-items li {
    margin: auto !important;
}

#footer-principal .logo-footer .elementor-icon-list-items li a {
    color: var(--white) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 4px;
}

#footer-principal .logo-footer .elementor-icon-list-items li a .elementor-icon-list-icon {
    margin: 0;
    color: currentColor !important;
}

#footer-principal .logo-footer .elementor-icon-list-items li a .elementor-icon-list-text:empty {
    display: none;
}

#footer-principal .logo-footer .elementor-icon-list-items li a svg {
    fill: currentColor !important;
    margin: auto;
}

#footer-principal .logo-footer .elementor-icon-list-items li a:hover {
    color: var(--wine-200) !important;
}

#footer-principal .links-footer {
    padding: 0 30px;
    max-width: 18%;
}

#footer-principal .links-footer .elementor-heading-title {
    color: var(--white);
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 21px;
}

#footer-principal .links-footer .elementor-icon-list-item a {
    color: var(--white);
    font-family: var(--font-secondary);
    font-weight: 400;
    font-size: 16px;
    transition: all ease-in-out .6s !important;
}

#footer-principal .links-footer .elementor-icon-list-item a:hover {
    color: var(--wine-200) !important;
}

#footer-principal .links-footer .elementor-icon-list-item a span {
    transition: inherit !important;
}

#footer-bottom {
    border-top: 1px solid var(--wine-200);
}

#footer-bottom .elementor-element span,
#footer-bottom .elementor-element {
    color: var(--white);
    font-family: var(--font-secondary);
    font-weight: 400;
    font-size: 16px;
}

#footer-bottom .elementor-element a {
    color: var(--wine-200);
    font-weight: 600;
    transition: all ease-in-out .6s !important;
}

#footer-bottom .elementor-element a:hover {
    color: var(--red-300);
}

.titulo-slider {
    font-family: var(--font-primary) !important;
    color: var(--wine-300) !important;
    font-size: 56px !important;
    line-height: 60px !important;
}

.texto-slider {
    font-family: var(--font-secondary) !important;
    color: var(--cream-900) !important;
    font-size: 20px !important;
    line-height: 24px !important;
    font-weight: 400;
}

.btn-principal,
.button-primary .elementor-button {
    border: 1px solid var(--red-300) !important;
    background-color: var(--red-300) !important;
    color: var(--cream-200) !important;
    font-family: var(--font-secondary) !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    padding: 12px 32px !important;
    border-radius: 5px !important;
    transition: all ease-in-out .6s !important;
    border-radius: 6px;
    line-height: 1.2 !important;
}

.btn-principal:hover,
.button-primary .elementor-button:hover {
    border-color: var(--wine-300) !important;
    background-color: var(--wine-300) !important;
    color: var(--white) !important;
}

.btn-secondary,
.button-secondary .elementor-button {
    border: 1px solid var(--wine-300) !important;
    background-color: var(--wine-100) !important;
    color: var(--wine-300) !important;
    font-family: var(--font-secondary) !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    padding: 12px 32px !important;
    border-radius: 5px !important;
    transition: all ease-in-out .6s !important;
    border-radius: 6px;
    line-height: 1.2 !important;
}

.btn-secondary:hover,
.button-secondary .elementor-button:hover {
    border-color: var(--wine-300) !important;
    background-color: var(--wine-300) !important;
    color: var(--white) !important;
}

.btn-recursos .elementor-button:hover {
    background-color: var(--red-300) !important;
}

.elementor-widget-heading .elementor-heading-title {
    font-family: var(--font-primary) !important;
}

#niveles-inicio .card-nivel .elementor-cta__content {
    padding: 20px 30px;
    min-height: 120px;
    border-radius: 12px;
}

#niveles-inicio .card-nivel .elementor-cta__title {
    color: var(--wine-300) !important;
    font-family: var(--font-tertiary) !important;
    font-size: 40px !important;
    line-height: 1 !important;
}

#niveles-inicio .card-nivel .elementor-cta__description,
.editor-styles-wrapper table.wc-block-cart-items .wc-block-cart-items__row .wc-block-components-product-name,
table.wc-block-cart-items .wc-block-cart-items__row .wc-block-components-product-name {
    color: var(--cream-900) !important;
    font-family: var(--font-secondary) !important;
    font-size: 16px !important;
    line-height: 1.1 !important;
}

#niveles-inicio .card-nivel .elementor-cta__bg {
    background-size: contain;
    background-position: center left;
}

#niveles-inicio #prekinder .elementor-cta__bg {
    background-color: var(--green-200) !important;
}

#niveles-inicio #kinder .elementor-cta__bg {
    background-color: var(--green-300) !important;
}

#niveles-inicio #primaria .elementor-cta__bg {
    background-color: var(--blue-300) !important;
}

.decorativo-section {
    animation: none !important;
    transition: none !important;
}

#elegirnos-inicio .card-central,
#incluir-portafolio .card-central {
    position: relative;
}

#elegirnos-inicio .card-central:before,
#incluir-portafolio .card-central:before,
#elegirnos-inicio .card-central:after,
#incluir-portafolio .card-central:after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--wine-300);
}

#elegirnos-inicio .card-central:before,
#incluir-portafolio .card-central:before {
    left: -3.5%;
}

#elegirnos-inicio .card-central:after,
#incluir-portafolio .card-central:after {
    right: -3.5%;
}

#incluir-portafolio .card-central:before,
#incluir-portafolio .card-central:after {
    background: var(--cream-200);
}

.font-tertiary {
    font-family: var(--font-tertiary) !important;
}

#celebrar-aprendizaje .font-tertiary {
    font-size: 52px;
}

.cebrita-blog .hfe-post-car,
.cebrita-blog-grid .hfe-post-card,
.bookory-products .hfe-post-card-wrapper .hfe-post-card {
    border-radius: 12px;
    padding: 16px 20px 30px;
    border: 2px solid var(--cream-300);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
}

.bookory-products .hfe-post-card-wrapper {
    padding: 15px !important;
    height: 100%;
    list-style: none;
}

.hfe-post-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    gap: 15px;
}

.cebrita-blog .hfe-post-card img {
    border-radius: 12px;
    height: 190px;
    object-fit: cover;
}

.cebrita-blog .hfe-post-card .hfe-read-more,
.cebrita-blog-grid .hfe-post-card .hfe-read-more {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 700;
    font-family: var(--font-secondary);
    color: var(--red-300);
    margin-top: auto;
    text-decoration: none;
}

.cebrita-blog .hfe-post-card .hfe-read-more:after,
.cebrita-blog-grid .hfe-post-card .hfe-read-more:after {
    content: "";
    font-family: "bookory-icon";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    line-height: 1;
    vertical-align: middle;
    font-size: 16px;
    font-weight: 700;
}

.cebrita-inline-add-to-cart .button,
.cebrita-added-to-cart-output .added_to_cart,
.woocommerce-page .woosq-popup .cebrita-inline-add-to-cart .single_add_to_cart_button {
    background-color: var(--red-300);
    color: var(--cream-200);
    padding: 10px 24px;
    border: none;
    font-family: var(--font-secondary);
    font-size: 16px;
    font-weight: 400;
    border-radius: 12px;
    width: 100%;
    text-align: center;
}

.mfp-woosq .mfp-close {
    top: -40px;
    right: -40px;
    background: var(--wine-300);
    color: var(--cream-200);
    padding: 2px;
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    transition: all ease-in-out .6s;
}

.mfp-woosq .mfp-close:hover {
    top: -40px;
    right: -40px;
    background: var(--cream-200) !important;
    color: var(--wine-300);
}

.mfp-woosq .mfp-close:before {
    color: currentColor !important;
}

#woosq-popup .single-product div.product form.cart .quantity {
    min-width: 160px;
    margin: 0 !important;
}

#woosq-popup .single-product div.product .single_add_to_cart_button {
    margin: 0 !important;
    height: auto !important;
}

#woosq-popup .cebrita-summary form.cart .woosw-btn,
#woosq-popup .cebrita-summary form.cart .woosc-btn {
    margin: 0 !important;
    width: 52px !important;
    height: 52px !important;
}

#woosq-popup .cebrita-summary form.cart .woosw-btn:before,
#woosq-popup .cebrita-summary form.cart .woosc-btn:before {
    font-size: 18px !important;
}

#woosq-popup .single-product div.product form.cart .quantity .qty {
    width: auto !important;
    height: 40px !important;
}

#woosq-popup .single-product div.product form.cart {
    gap: 10px;
    align-items: flex-end !important;
}

.single-product div.product form.cart .quantity button,
.wc-block-components-quantity-selector .wc-block-components-quantity-selector__button {
    height: 40px !important;
    width: 40px !important;
    color: var(--wine-300) !important;
    box-shadow: none !important;
}

.single-product div.product form.cart .quantity button:hover,
.wc-block-components-quantity-selector .wc-block-components-quantity-selector__button:hover,
.wc-block-components-quantity-selector .wc-block-components-quantity-selector__button:focus {
    color: var(--cream-100) !important;
    background: var(--wine-300) !important;
}

.wc-block-components-quantity-selector .wc-block-components-quantity-selector__button:disabled {
    pointer-events: none;
}

.cebrita-blog .cebrita-post-category,
.cebrita-post-category {
    position: absolute;
    top: 16px;
    left: 20px;
    margin: 0;
    display: flex;
    gap: 10px;
}

.cebrita-products .product-caption,
.bookory-products .product .product-block .product-caption {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 17px;
    height: 100%;
    padding: 0;
}

.cebrita-products .product-caption h3,
.bookory-products .product-caption h3,
.cebrita-blog-grid .hfe-post-card h3,
.cebrita-blog .hfe-post-card h3 {
    font-size: 16px;
    margin-bottom: 0;
    font-weight: 600;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-cat-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cebrita-product-category a,
.product-cat-badges a {
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    line-clamp: 1;
    font-family: var(--font-secondary);
    font-weight: 400;
    font-size: 14px;
    padding: 8px 14px;
    border-radius: 8px;
    line-height: 1;
    background: var(--wine-300);
    color: var(--cream-100);
    transition: all ease-in-out .5s;
}

.cebrita-post-category .cebrita-category-link,
.cebrita-blog .cebrita-post-category a {
    background-color: var(--wine-100);
    color: var(--wine-300);
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    line-clamp: 1;
    font-family: var(--font-secondary);
    font-weight: 400;
    font-size: 14px;
    padding: 8px 14px;
    border-radius: 8px;
    line-height: 1;
    transition: all ease-in-out .5s;
}

.cebrita-post-category .cebrita-category-link:hover,
.cebrita-blog .cebrita-post-category a:hover,
.cebrita-product-category a:hover,
.product-cat-badges a:hover {
    background: var(--red-300);
    color: var(--cream-100);
}

.product-cat-badges .product_cat-pre-kinder {
    background-color: var(--green-200);
    color: var(--wine-300);
}

.product-cat-badges .product_cat-kinder {
    background-color: var(--green-300);
    color: var(--wine-300);
}

.product-cat-badges .product_cat-primaria {
    background-color: var(--blue-300);
    color: var(--wine-300);
}

#page .site-content {
    margin: auto;
}

#portada-page h1 {
    font-family: var(--font-primary);
    font-size: 56px;
}

h2.elementor-heading-title {
    font-size: 40px;
}

.decorativo-title {
    font-size: 1.3em;
    line-height: 1;
}

.mas-facil img {
    max-width: 100px;
}

.mas-facil h3 {
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--cream-900);
}

.mas-facil p {
    font-family: var(--font-secondary);
    font-weight: 400;
    font-size: 16px;
    margin-bottom: 0;
    color: var(--cream-900);
}

.woocommerce-page .breadcrumb-wrap .elementor-section {
    min-height: 320px;
    display: flex;
    align-items: center;
    background-image: url("../../../../uploads/2026/09/banner-tienda.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin: 0 !important;
}

.cebrita-page-blog .breadcrumb-wrap .elementor-section {
    min-height: 320px;
    display: flex;
    align-items: center;
    background-image: url("../../../../uploads/2026/09/banner-blog.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin: 0 !important;
}

.cebrita-product-banner:before {
    content: "";
    background-image: url("../../../../uploads/2022/02/deco-banner-bundle.png");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    left: -120px;
    bottom: -100px;
    z-index: 0;
    display: block;
    width: 510px;
    height: 266px;
    mix-blend-mode: luminosity;
    opacity: .4;
}

.woocommerce-page .breadcrumb-wrap .bookory-woocommerce-title,
.wp-singular .breadcrumb-wrap .bookory-woocommerce-title {
    margin: auto;
    font-family: var(--font-primary);
    color: var(--cream-200);
    font-size: 56px;
}

.cebrita-page-blog .breadcrumb-wrap .elementor-section .bookory-woocommerce-title {
    font-family: var(--font-tertiary);
    color: var(--wine-300);
    font-size: 72px;
}

.woocommerce-page .breadcrumb-wrap .woocommerce-breadcrumb,
.wp-singular .breadcrumb-wrap .woocommerce-breadcrumb,
.cebrita-single-blog .breadcrumb-wrap,
#secondary.widget-area .widget .count,
.single-product div.product::before,
.single-product div.product::after,
.single-product div.product .content-single-wrapper:after,
.slick-track:before,
.slick-track:after,
.slick-track:after,
.tax-product_cat .breadcrumb-wrap .elementor>.elementor-top-section:nth-child(2),
.product-template-default .breadcrumb-wrap,
.cebrita-page-blog .breadcrumb-wrap .woocommerce-breadcrumb,
.cebrita-product-brand .cebrita-country-link .cebrita-country-name {
    display: none !important;
}

#masthead * {
    outline: none !important;
}

#secondary.widget-area .widget,
#secondary.widget-area .widget .widget-title {
    padding: 0;
    margin: 0;
    border: none;
    border-radius: 0;
}

#secondary.widget-area .widget:first-child {
    padding-top: 24px;
    border-top: 1px solid var(--cream-300);
}

#secondary.widget-area .widget:not(:last-child) {
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--cream-300);
}

#secondary.widget-area .widget .widget-title {
    margin-bottom: 25px;
    color: var(--cream-900);
    font-weight: 700;
    font-size: 18px;
    font-family: var(--font-secondary);
}

#secondary.widget-area .product-categories .cat-item a {
    font-size: 16px;
    font-weight: 400;
    font-family: var(--font-secondary);
    color: var(--cream-800);
    display: flex;
    align-items: center;
    line-height: 1;
    gap: 12px;
}

#secondary.widget-area .product-categories .cat-item a:before {
    margin-right: 0;
    margin-top: 0;
}

.bookory-products .product,
.cebrita-tab-panel--description .elementor-widget-text-editor li:not(:last-child) {
    border: none !important;
    margin-bottom: 15px !important;
}

.bookory-products .product:before {
    content: none !important;
}

.bookory-products .product .product-block {
    padding: 24px;
    background: var(--cream-100);
    border: 1px solid var(--cream-300);
    border-radius: 12px;
}

.bookory-products .product .product-block .product-caption>* {
    margin-bottom: 0 !important;
}

.pagination .page-numbers,
.woocommerce-pagination .page-numbers {
    gap: 12px;
}

.pagination .page-numbers li,
.woocommerce-pagination .page-numbers li {
    margin: 0;
}

.pagination .page-numbers li .page-numbers,
.woocommerce-pagination .page-numbers li .page-numbers {
    border-radius: 4px !important;
    background-color: transparent !important;
    border: 1px solid var(--wine-300) !important;
    color: var(--wine-300) !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    font-family: var(--font-secondary);
    min-width: 39px;
    min-height: 39px;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.pagination .page-numbers li .page-numbers.current,
.pagination .page-numbers li .page-numbers:hover,
.woocommerce-pagination .page-numbers li .page-numbers.current,
.woocommerce-pagination .page-numbers li .page-numbers:hover {
    background-color: var(--wine-300) !important;
    color: var(--cream-100) !important;
}

.pagination .page-numbers li .page-numbers.next i,
.woocommerce-pagination .page-numbers li .page-numbers.next i,
.pagination .page-numbers li .page-numbers.prev i,
.woocommerce-pagination .page-numbers li .page-numbers.prev i,
.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery-horizontal .flex-control-nav li {
    margin: 0 !important;
}

.single-product .pswp__button {
    padding: 0;
}

.content-single-wrapper {
    display: flex;
    gap: 30px;
    justify-content: space-between;
}

.single-product div.product .cebrita-single-product-gallery,
.single-product div.product .woocommerce-product-gallery {
    width: 100%;
}

.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
}

.single-product div.product .woocommerce-product-gallery {
    max-width: 45% !important;
}

#wpgs-gallery .wcgs-thumb.spswiper-slide img {
    border-radius: 8px !important;
    width: 120px;
    height: 120px;
    object-fit: cover;
}

#wpgs-gallery.vertical .wcgs-carousel .spswiper-slide {
    padding: 50px;
}

#wpgs-gallery.wcgs-woocommerce-product-gallery.vertical {
    margin: 0 !important;
    gap: 15px;
}

#wpgs-gallery.vertical.wcgs-woocommerce-product-gallery .wcgs-carousel {
    padding: 50px;
    border-radius: 12px;
    background: var(--cream-100);
    width: calc(80% - 15px) !important;
    display: flex;
    align-items: center;
}

#wpgs-gallery.vertical .gallery-navigation-carousel-wrapper:not(.wcgs-hidden) {
    min-width: 120px;
    max-height: 600px !important;
}

#wpgs-gallery.vertical .wcgs-carousel .spswiper-slide {
    padding: 0 50px;
}

.wcgs-carousel .wcgs-spswiper-arrow.wcgs-spswiper-button-next {
    right: 15px !important;
}

.wcgs-carousel .wcgs-spswiper-arrow.wcgs-spswiper-button-prev {
    left: 15px !important;
}

.woocommerce-page #page .site-content,
.cebrita-single-blog #page .site-content,
.cebrita-page-blog #page .site-content {
    margin-top: 60px !important;
}

.gridlist-toggle a {
    font-size: 16px;
}

.editor-styles-wrapper .wp-block-quote:before,
.hentry .entry-content .wp-block-quote:before {
    background-color: transparent !important;
}

/* ---------- Custom dropdowns para orderby y per page ---------- */

.bookory-sorting {
    gap: 10px;
    align-items: center;
}

.cebrita-blog-filter-wrapper {
    flex: 1;
}

.cebrita-blog-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.cebrita-blog-filter-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: var(--cream-100);
    border: 1px solid var(--cream-300);
    border-radius: 6px;
    color: var(--cream-900);
    font-family: var(--font-secondary);
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    transition: all ease-in-out .5s;
}

.cebrita-blog-filter-btn:hover,
.cebrita-blog-filter-btn.is-active {
    background: var(--wine-300);
    color: var(--cream-100);
    border-color: var(--wine-300);
}

/* ---------- Custom dropdowns para orderby y per page ---------- */

.bookory-sorting .bookory-orderby-control,
.bookory-sorting .bookory-per-page-control {
    position: relative;
    display: inline-block;
}

.bookory-sorting .bookory-custom-select {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    min-width: 180px;
    padding: 8px 12px;
    background: #f5f5f5;
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text);
    font-size: 15px;
    font-family: var(--font-secondary);
    font-weight: 400;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background .5s ease-in-out, color .5s ease-in-out;
}

.bookory-sorting .bookory-per-page-control .bookory-custom-select {
    min-width: 100px;
}

.bookory-sorting .bookory-custom-select-label {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin: auto;
}

.bookory-sorting .bookory-custom-select-chevron {
    flex-shrink: 0;
    font-size: 20px;
    line-height: 1;
    color: currentColor;
    transition: transform 0.2s ease;
}

.bookory-sorting .bookory-custom-select[aria-expanded="true"] .bookory-custom-select-chevron {
    transform: rotate(180deg);
}

.bookory-sorting .bookory-custom-select-list {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 1000;
    min-width: 100%;
    margin: 0;
    padding: 6px 0;
    list-style: none;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-4px);
    transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
}

.bookory-sorting .bookory-custom-select-list.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.bookory-sorting .bookory-custom-select-item {
    margin: 0;
}

.bookory-sorting .bookory-custom-select-option {
    display: block;
    width: 100%;
    padding: 8px 12px;
    background: transparent;
    border: none;
    border-radius: 0;
    color: var(--text);
    font-size: 13px;
    text-align: left;
    cursor: pointer;
    transition: background 0.1s ease;
}

.bookory-sorting .bookory-custom-select-option[aria-selected="true"],
.bookory-sorting .bookory-custom-select-option[aria-selected="true"]:hover,
.bookory-sorting .bookory-custom-select-option:hover {
    background: var(--red-300);
    color: var(--cream-100);
}

.cebrita-content-product .col-full::before,
.cebrita-content-product .col-full::after {
    content: none;
}

.cebrita-content-product .col-full {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
}

.cebrita-content-product .col-full .woocommerce {
    width: 100%;
}

.cebrita-content-product .col-full #primary {
    flex: 1;
    order: 2;
}

.cebrita-content-product .col-full #secondary {
    order: 1;
}

.cebrita-content-product .col-full #secondary>#text-1 {
    padding-top: 0 !important;
    border-top: none !important;
}

.cebrita-content-product .col-full #secondary #text-1 .elementor-section {
    margin: 0 !important;
}

/* Product content */
.product-template-default .site-main>.product {
    gap: 20px;
    display: flex;
    flex-direction: column;
    color: var(--text);
}

.cebrita-breadcrumbs {
    font-size: 13px;
    color: var(--lighter);
    margin: 0 !important;
}

.cebrita-breadcrumbs a,
.cebrita-breadcrumbs span {
    color: var(--neutral);
    text-decoration: none;
    font-size: 16px;
    font-family: var(--font-secondary);
    font-weight: 400;
}

.cebrita-breadcrumbs a:hover,
.cebrita-breadcrumbs .current-product {
    color: var(--wine-300);
}

.cebrita-crumb-sep {
    margin: 0 6px;
}

.cebrita-breadcrumbs .current-product {
    font-weight: 600;
}

.cebrita-single-product-main {
    display: flex;
    gap: 20px;
    align-items: stretch;
    overflow: hidden;
}

.cebrita-content-product .cebrita-single-product-main .cebrita-summary {
    min-width: 400px;
    max-width: 40%;
    border: none !important;
}

@media (max-width: 900px) {
    .cebrita-single-product-main {
        display: grid;
        grid-template-columns: 1fr;
    }
}

/* Gallery */
.cebrita-gallery {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 14px;
    height: 100%;
}

.cebrita-gallery-thumbs {
    max-height: 480px;
}

.cebrita-gallery-thumbs-images,
.widget_shopping_cart .buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cebrita-gallery-thumb {
    padding: 0 !important;
    border: 2px solid transparent;
    border-radius: 8px !important;
    overflow: hidden;
    cursor: pointer;
    background: transparent !important;
    line-height: 0;
    height: auto !important;
    margin: 0 !important;
}

.cebrita-gallery-thumb img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.cebrita-gallery-thumb.is-active {
    border-color: var(--primary);
}

.cebrita-gallery-stage {
    position: relative;
    background-color: var(--cream-100);
    border-radius: 12px;
    overflow: hidden;
    padding: 30px 66px;
    min-height: 500px;
}

.cebrita-gallery-slide img,
.cebrita-gallery-slide {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cebrita-gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: 1px solid var(--border);
    background: var(--red-300) !important;
    color: var(--cream-100) !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer;
    font-size: 0 !important;
}

.cebrita-gallery-nav:before {
    font-family: "bookory-icon";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    line-height: 1;
    vertical-align: middle;
    -webkit-text-stroke: 1px currentColor;
    position: absolute;
    margin: auto;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;

}

.cebrita-gallery-prev:before {
    content: "";
    font-size: 18px;
}

.cebrita-gallery-next:before {
    content: "";
    font-size: 18px;
}

.cebrita-gallery-prev {
    left: 12px;
}

.cebrita-gallery-next {
    right: 12px;
}

/* Summary */
.cebrita-summary {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.product-cat-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.product-cat-badge {
    color: var(--primary);
    text-decoration: none;
}

.cebrita-product-title,
.woosq-popup .product_title {
    font-size: 40px;
    line-height: 1.2;
    margin: 0;
    color: var(--wine-300);
    font-family: var(--font-primary);
}

.cebrita-product-brand,
.cebrita-countries,
.cebrita-countries .cebrita-country {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    width: fit-content;
}

.cebrita-product-brand a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--neutral);
    font-size: 20px;
    font-weight: 700;
}

.cebrita-product-brand a:hover {
    color: var(--red-300);
}

.cebrita-flag {
    width: auto;
    height: 20px;
}

.cebrita-price {
    line-height: 1;
}

.cebrita-stock {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    font-weight: 400;
    font-style: italic;
}

.cebrita-stock-icon {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.is-in-stock .cebrita-stock-icon {
    background: #2e7d32;
}

.is-low-stock .cebrita-stock-icon {
    background: #ed6c02;
}

.is-out-stock .cebrita-stock-icon {
    background: #d32f2f;
}

.cebrita-divider {
    margin: 4px 0;
    background-color: var(--neutral);
    min-height: 1px;
}

.cebrita-short-description,
.woosq-popup .product-short-description {
    color: var(--neutral);
    font-size: 15px;
    line-height: 1.6;
}

.cebrita-short-description h2,
.woosq-popup .product-short-description h2 {
    font-size: 18px;
    font-family: var(--font-secondary);
    color: var(--neutral)
}

.cebrita-tab-panel h2 {
    font-size: 20px;
    font-family: var(--font-secondary);
    color: var(--neutral);
    margin: 20px 0;
}

.cebrita-tab-panel {
    font-size: 16px;
    color: var(--neutral);
    line-height: 1.3;
}

.cebrita-short-description .cebrita-divider,
.woosq-popup .product-short-description .cebrita-divider {
    margin: 18px 0;
}

.cebrita-short-description p:last-child,
.woosq-popup .product-short-description p:last-child {
    margin-bottom: 0;
    color: var(--wine-300);
    display: flex;
    align-items: center;
    font-weight: 300;
    gap: 10px;
}

.cebrita-short-description p:last-child:before,
.woosq-popup .product-short-description p:last-child:before {
    content: "";
    display: inline-block;
    width: 19px;
    height: 19px;
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='0 0 16 20'%3E%3Cpath d='M6.5 13H9.5L8.925 9.775C9.25833 9.60833 9.52083 9.36667 9.7125 9.05C9.90417 8.73333 10 8.38333 10 8C10 7.45 9.80417 6.97917 9.4125 6.5875C9.02083 6.19583 8.55 6 8 6C7.45 6 6.97917 6.19583 6.5875 6.5875C6.19583 6.97917 6 7.45 6 8C6 8.38333 6.09583 8.73333 6.2875 9.05C6.47917 9.36667 6.74167 9.60833 7.075 9.775L6.5 13ZM8 20C5.68333 19.4167 3.77083 18.0875 2.2625 16.0125C0.754167 13.9375 0 11.6333 0 9.1V3L8 0L16 3V9.1C16 11.6333 15.2458 13.9375 13.7375 16.0125C12.2292 18.0875 10.3167 19.4167 8 20ZM8 17.9C9.73333 17.35 11.1667 16.25 12.3 14.6C13.4333 12.95 14 11.1167 14 9.1V4.375L8 2.125L2 4.375V9.1C2 11.1167 2.56667 12.95 3.7 14.6C4.83333 16.25 6.26667 17.35 8 17.9Z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='0 0 16 20'%3E%3Cpath d='M6.5 13H9.5L8.925 9.775C9.25833 9.60833 9.52083 9.36667 9.7125 9.05C9.90417 8.73333 10 8.38333 10 8C10 7.45 9.80417 6.97917 9.4125 6.5875C9.02083 6.19583 8.55 6 8 6C7.45 6 6.97917 6.19583 6.5875 6.5875C6.19583 6.97917 6 7.45 6 8C6 8.38333 6.09583 8.73333 6.2875 9.05C6.47917 9.36667 6.74167 9.60833 7.075 9.775L6.5 13ZM8 20C5.68333 19.4167 3.77083 18.0875 2.2625 16.0125C0.754167 13.9375 0 11.6333 0 9.1V3L8 0L16 3V9.1C16 11.6333 15.2458 13.9375 13.7375 16.0125C12.2292 18.0875 10.3167 19.4167 8 20ZM8 17.9C9.73333 17.35 11.1667 16.25 12.3 14.6C13.4333 12.95 14 11.1167 14 9.1V4.375L8 2.125L2 4.375V9.1C2 11.1167 2.56667 12.95 3.7 14.6C4.83333 16.25 6.26667 17.35 8 17.9Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Actions */
.cebrita-content-product .cebrita-summary .cebrita-inline-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.cebrita-content-product .cebrita-summary .cebrita-inline-add-to-cart form.cart,
.woosq-popup .cebrita-summary .cebrita-inline-add-to-cart form.cart {
    display: flex !important;
    align-items: flex-end !important;
    gap: 12px !important;
    margin: 0 !important;
    border: none !important;
}

.cebrita-content-product .cebrita-summary .quantity_wrap .quantity_label,
.single-product div.product form.cart .quantity_wrap .quantity_label {
    margin-top: 0 !important;
    display: none !important;
}

.cebrita-content-product .cebrita-summary .cebrita-inline-add-to-cart .quantity,
.site-header-cart-side .widget_shopping_cart .buttons a:not(.checkout),
.wc-block-components-quantity-selector:where(:has(input:not([type=hidden]))) {
    margin: 0 !important;
    width: auto !important;
    height: auto !important;
    border: 1px solid var(--wine-300) !important;
    color: var(--wine-300) !important;
    border-radius: 12px !important;
    background: var(--wine-100);
    overflow: hidden;
}

.cebrita-content-product .cebrita-summary .cebrita-inline-add-to-cart .qty,
.wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input {
    min-width: 80px !important;
    min-height: 40px !important;
    color: var(--wine-300) !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: none !important;
}

.cebrita-content-product .cebrita-summary .cebrita-inline-add-to-cart .button,
.site-header-cart-side .widget_shopping_cart .buttons a.checkout,
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button,
.wc-block-components-totals-coupon__form .wc-block-components-totals-coupon__button {
    background: var(--red-300) !important;
    color: var(--cream-200) !important;
    padding: 10px 24px !important;
    border: none !important;
    font-family: var(--font-secondary) !important;
    width: 100% !important;
    cursor: pointer;
    margin: 0 !important;
    min-height: 42px;
    flex: 1;
    border-radius: 12px !important;
    box-shadow: none !important;
}

.cebrita-content-product .cebrita-summary .cebrita-inline-add-to-cart .button:hover,
.woocommerce-page .woosq-popup .cebrita-summary .cebrita-inline-add-to-cart .single_add_to_cart_button:hover,
.site-header-cart-side .widget_shopping_cart .buttons a:hover,
.wc-block-cart__submit-button:hover,
.wc-block-components-checkout-place-order-button:hover,
.wc-block-components-totals-coupon__form .wc-block-components-totals-coupon__button:hover {
    background: var(--wine-300) !important;
    color: var(--cream-100) !important;
}

.cebrita-content-product .cebrita-summary .cebrita-inline-add-to-cart .woosw-btn,
.woocommerce-page .woosq-popup .cebrita-summary .cebrita-inline-add-to-cart .woosw-btn,
.editor-styles-wrapper table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__quantity .wc-block-cart-item__remove-link,
table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__quantity .wc-block-cart-item__remove-link {
    background: transparent;
    border-radius: 50% !important;
    cursor: pointer;
    font-size: 0 !important;
    min-width: 42px !important;
    min-height: 42px !important;
    margin: 0 !important;
    transition: all ease-in-out .5s !important;
    position: relative;
}

.cebrita-content-product .cebrita-summary .cebrita-inline-add-to-cart .woosw-btn:hover,
.woocommerce-page .woosq-popup .cebrita-summary .cebrita-inline-add-to-cart .woosw-btn:hover,
.editor-styles-wrapper table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__quantity .wc-block-cart-item__remove-link:hover,
table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__quantity .wc-block-cart-item__remove-link:hover {
    background-color: var(--wine-300) !important;
    color: var(--cream-100) !important;
}

.cebrita-content-product .cebrita-summary .cebrita-inline-add-to-cart .woosw-btn:before,
.woocommerce-page .woosq-popup .cebrita-summary .cebrita-inline-add-to-cart .woosw-btn:before {
    font-size: 19px !important;
    color: currentColor !important;
    position: absolute;
    margin: auto;
    transition: all ease-in-out .5s !important;
    margin: 0 !important;
    line-height: 1 !important;
}

/* Tabs */
.cebrita-tabs {
    margin-top: 8px;
}

.cebrita-tabs-nav,
.cebrita-blog-filter {
    display: flex;
    justify-content: center;
    gap: 24px;
    border-bottom: 1px solid var(--cream-400);
}

.cebrita-tab-trigger,
.cebrita-blog-filter-btn {
    background: none !important;
    border: none;
    padding: 12px !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    color: var(--cream-400) !important;
    cursor: pointer;
    border-bottom: 3px solid transparent !important;
    border-radius: 0 !important;
    font-family: var(--font-secondary);
    margin-bottom: -1px;
    line-height: 1;
}

.cebrita-tab-trigger.is-active,
.cebrita-tab-trigger:hover,
.cebrita-blog-filter-btn.is-active,
.cebrita-blog-filter-btn:hover {
    color: var(--wine-300) !important;
    border-bottom-color: var(--red-300) !important;
}

.cebrita-tab-panel {
    display: none;
    padding: 40px 50px;
    background: var(--cream-100);
    border-radius: 0 0 24px 24px;
}

.cebrita-tab-panel {
    display: none;
    padding: 40px 50px;
    background: var(--cream-100);
    border-radius: 0 0 24px 24px;
}

.cebrita-tab-panel.is-active {
    display: block;
}

.cebrita-related {
    margin-top: 60px;
    border-top: 1px solid var(--cream-500);
}

#reviews #comments h2 {
    font-size: 30px;
    color: var(--wine-300);
    margin-bottom: 30px;
}

.comment-respond .comment-form .submit {
    border-radius: 12px;
    background-color: var(--red-300);
    padding: 10px 24px !important;
    min-height: 42px;
    font-size: 14px !important;
    min-width: 150px;
}

.comment-respond .comment-form .submit:hover {
    background-color: var(--wine-300);
}

.related>h2:first-child,
.upsells>h2:first-child,
.cebrita-related>h2:first-child {
    color: var(--wine-300) !important;
    font-size: 48px !important;
    font-family: var(--font-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2307692308;
    margin-bottom: 40px;
}

.cebrita-product-banner {
    margin-top: 15px;
    background-color: var(--wine-300);
    color: var(--cream-100);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    padding: 30px;
    padding: 50px;
    position: relative;
}

.cebrita-product-banner .cebrita-product-banner-image {
    width: 50%;
    z-index: 1;
}

.cebrita-product-banner .cebrita-product-banner-content {
    width: 45%;
    z-index: 1;
}

.cebrita-product-banner .cebrita-product-banner-title {
    color: currentColor;
    font-size: 32px;
    font-family: var(--font-primary);
    margin-bottom: 20px;
}

.cebrita-product-banner .cebrita-product-banner-description,
.wc-block-cart__submit-button .wc-block-components-button__text {
    color: currentColor;
    font-size: 16px;
    font-family: var(--font-secondary);
    font-weight: 400;
}

.cebrita-product-banner .cebrita-product-banner-button {
    background: var(--red-300);
    color: var(--cream-100);
    border-radius: 12px;
    transition: all ease-in-out .7s;
    min-height: 42px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 10px 24px;
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 16px;
    gap: 15px;
}

.cebrita-product-banner .cebrita-product-banner-button:after {
    color: currentColor;
    font-size: 20px;
    content: "";
    font-family: "bookory-icon";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    line-height: 1;
    vertical-align: middle;
}

.cebrita-product-banner .cebrita-product-banner-button:hover {
    background: var(--wine-300);
    color: var(--cream-100);
}

.cebrita-product-banner .cebrita-product-banner-image img {
    width: 100%;
}

.product_cat-pre-kinder .cebrita-product-banner {
    background-color: var(--green-200);
    color: var(--wine-300);
}

.product_cat-kinder .cebrita-product-banner {
    background-color: var(--green-300);
    color: var(--wine-300);
}

.product_cat-primaria .cebrita-product-banner {
    background-color: var(--blue-300);
    color: var(--wine-300);
}

.woosq-product>.product>div {
    width: 80% !important;
}

.woosq-popup {
    max-width: 1200px;
}

.woosq-product>.product>div.thumbnails {
    overflow: hidden;
}

.item-portafolio .items-contenido {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.item-portafolio .items-contenido .elementor-widget-heading h3 {
    min-width: 70px;
}

.item-portafolio .items-contenido h3.elementor-widget-heading span {
    font-size: 35px;
}

.item-portafolio .items-contenido .elementor-widget-text-editor p {
    font-size: 16px;
    line-height: 1.2;
}

.item-portafolio .items-contenido .elementor-widget-text-editor p:last-child {
    margin-bottom: 0;
}

.badge-docente {
    background: var(--cream-100);
    color: var(--wine-300);
    width: max-content;
    padding: 10px 15px;
    border-radius: 12px;
    display: inline-block;
    margin: auto;
    font-size: 20px;
    font-family: var(--font-secondary);
}

.badge-docente p.elementor-heading-title {
    font-family: var(--font-secondary) !important;
    font-weight: 700 !important;
}

/* Cebrita summary dentro del popup de WPC Smart Quick View */
#woosq-popup .cebrita-summary .cebrita-inline-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

#woosq-popup .cebrita-summary .cebrita-inline-add-to-cart {
    flex: 1;
    min-width: 0;
}

#woosq-popup .cebrita-summary .cebrita-inline-add-to-cart form.cart {
    display: flex !important;
    align-items: flex-end !important;
    gap: 10px !important;
    margin: 0 !important;
}

#woosq-popup .cebrita-summary .cebrita-inline-add-to-cart .single_add_to_cart_button {
    flex: 1;
    min-height: 42px;
    margin: 0 !important;
}

.woosq-product>.product>.summary,
.woosq-product>.product>.thumbnails,
.woosq-popup {
    height: auto;
    max-height: 100%;
}

.woosq-product>.product {
    max-height: 80vh;
}

.site-header-cart-side .widget_shopping_cart .mini_cart_item a {
    font-size: 17px;
}

.widget_shopping_cart .buttons {
    padding: 20px !important;
}

.site-header-cart-side .widget_shopping_cart .buttons a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 42px;
}

.site-header-cart-side {
    font-family: var(--font-secondary);
}

.site-header-cart-side .widget_shopping_cart p.total {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0;
}

.entry-content table:not(.shop_table) td,
.entry-content table:not(.shop_table) th {
    padding: 10px !important;
    display: table-cell;
    vertical-align: middle;
    border: none !important;
}

.editor-styles-wrapper table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__wrap,
table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__wrap {
    gap: 10px;
}

.editor-styles-wrapper table.wc-block-cart-items thead,
table.wc-block-cart-items thead,
.editor-styles-wrapper table.wc-block-cart-items tbody tr:not(:last-child),
table.wc-block-cart-items tbody tr:not(:last-child) {
    border-bottom: 1px solid var(--cream-400);
}

.wc-block-components-form .wc-block-components-text-input input[type=email],
.wc-block-components-form .wc-block-components-text-input input[type=number],
.wc-block-components-form .wc-block-components-text-input input[type=password],
.wc-block-components-form .wc-block-components-text-input input[type=tel],
.wc-block-components-form .wc-block-components-text-input input[type=text],
.wc-block-components-form .wc-block-components-text-input input[type=url],
.wc-block-components-text-input input[type=email],
.wc-block-components-text-input input[type=number],
.wc-block-components-text-input input[type=password],
.wc-block-components-text-input input[type=tel],
.wc-block-components-text-input input[type=text],
.wc-block-components-text-input input[type=url],
.wc-blocks-components-select .wc-blocks-components-select__container,
.wc-blocks-components-select .wc-blocks-components-select__select {
    background-color: transparent !important;
    border-color: var(--wine-300) !important;
}

/* =========================================================
   Cebrita Blog (widget carrusel + grid + filtrador del archive)
   ========================================================= */

/* Carrusel Swiper del widget de blog */
.cebrita-blog .cebrita-swiper-carousel {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.cebrita-blog .swiper-slide {
    height: auto;
    display: flex;
}

/* Tarjeta de post: mismas reglas que .cebrita-blog  .hfe-post-card,
   pero sin el scope para que el widget se vea igual en cualquier page */
.cebrita-blog .hfe-post-card {
    border-radius: 12px;
    padding: 16px 20px 30px;
    border: 2px solid var(--cream-300);
    position: relative;
    height: 100%;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cebrita-blog .hfe-post-card .hfe-post-image a {
    display: block;
    line-height: 0;
}

.cebrita-blog .hfe-post-card img {
    border-radius: 12px;
    height: 190px;
    width: 100%;
    object-fit: cover;
}

/* Flechas del carrusel de blog: mismo estilo que las del carrusel de productos */
.cebrita-blog .swiper-button-prev,
.cebrita-blog .swiper-button-next {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 40px !important;
    height: 40px !important;
    background: var(--wine-100) !important;
    border: 2px solid var(--wine-300) !important;
    border-radius: 50% !important;
    color: var(--wine-300) !important;
    transition: all ease-in-out .7s !important;
    z-index: 10 !important;
}

.cebrita-blog .swiper-button-prev:hover,
.cebrita-blog .swiper-button-next:hover {
    background: var(--wine-300) !important;
    color: var(--cream-100) !important;
}

.cebrita-blog .swiper-button-prev:after,
.cebrita-blog .swiper-button-next:after {
    color: currentColor;
    font-size: 17px !important;
}

.cebrita-blog .swiper-pagination-bullet {
    background: var(--wine-300) !important;
    opacity: 0.5 !important;
}

.cebrita-blog .swiper-pagination-bullet.swiper-pagination-bullet-active {
    opacity: 1 !important;
    background: var(--wine-300) !important;
}

/* Grid estático (modo sin carrusel del widget y archive del blog):
   máximo 3 columnas */
.cebrita-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    align-items: stretch;
    margin-top: 30px;
}

@media (max-width: 1024px) {
    .cebrita-blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .cebrita-blog-grid {
        grid-template-columns: 1fr;
    }
}

/* Página de archivo del blog */
.cebrita-blog-archive .cebrita-blog-header {
    margin-bottom: 20px;
}

.cebrita-blog-archive .cebrita-blog-title {
    margin: 0;
}

/* Filtrador: All + categorías padre */
.cebrita-blog-empty {
    margin: 40px 0;
}

/* =========================================================
   Cebrita Single Blog (individual del blog)
   Banner dividido: imagen destacada a la izquierda; a la
   derecha migas (Home / Blog / categoría padre-hijo /
   artículo actual), titular, fecha y share en redes.
   Layout propio: la sidebar "Sidebar Single Post" es una
   columna más del mismo diseño (o nada si no tiene
   widgets); el formato no cambia en ningún caso.
   ========================================================= */

.cebrita-single-post-wrap .site-main {
    margin: 0;
    padding: 0;
}

/* ---------- Banner dividido ---------- */

.cebrita-post-banner {
    display: flex;
    align-items: stretch;
    gap: 30px;
    background-color: var(--cream-100);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 40px;
}

.cebrita-post-banner-image {
    flex: 0 0 57%;
    min-width: 0;
    height: 450px;
}

.cebrita-post-banner-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.cebrita-post-banner-panel {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 15px;
    padding: 40px 0;
}

.cebrita-post-banner-crumbs {
    font-family: var(--font-secondary);
    font-size: 14px;
    line-height: 1.6;
}

.cebrita-post-banner-crumbs a {
    color: var(--cream-700);
    text-decoration: none;
    transition: color 0.3s ease;
}

.cebrita-post-banner-crumbs a:hover {
    color: var(--wine-300);
}

.cebrita-post-banner-crumbs .cebrita-crumb-sep {
    margin: 0 8px;
    color: var(--cream-500);
}

.cebrita-post-banner-crumbs .cebrita-crumb-current {
    color: var(--wine-300);
    font-weight: 600;
}

.cebrita-post-banner-title {
    margin: 0;
    font-family: var(--font-primary);
    font-size: 34px;
    line-height: 1.25;
    color: var(--wine-300);
}

.cebrita-post-banner-date {
    font-family: var(--font-secondary);
    font-size: 14px;
    color: var(--cream-600);
}

/* ---------- Share en redes ---------- */

.cebrita-post-share {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--cream-300);
}

.cebrita-post-share-label {
    font-family: var(--font-secondary);
    font-size: 14px;
    color: var(--cream-700);
}

.cebrita-post-share-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: var(--wine-300);
    transition: all ease-in-out 0.3s;
}

.cebrita-post-share-link svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.cebrita-post-share-link:hover {
    color: var(--wine-300);
    transform: translateY(-2px);
}

/* ---------- Layout contenido + sidebar ---------- */

/* Contrato unificado del child: #primary.content-area y
   #secondary.widget-area son HERMANOS y el ancho lo resuelven los
   estilos del tema padre (.content-area flotada + .widget-area 360px;
   posición left/right según body class). El banner y el contenido
   del single del blog usan el mismo markup haya o no sidebar: solo
   cambia el ancho de columna. */

/* ---------- Banner responsivo ---------- */

@media (max-width: 768px) {
    .cebrita-post-banner {
        flex-direction: column;
        padding: 20px;
    }

    .cebrita-post-banner-image {
        flex-basis: auto;
    }

    .cebrita-post-banner-image img {
        aspect-ratio: 16 / 10;
    }

    .cebrita-post-banner-title {
        font-size: 26px;
    }
}

.cebrita-post-content {
    font-family: var(--font-secondary);
    font-size: 16px;
    line-height: 1.7;
    color: var(--cream-800);
}

.cebrita-post-content p {
    margin: 0 0 1.2em;
}

.cebrita-post-content h2,
.cebrita-post-content h3,
.cebrita-post-content h4 {
    font-family: var(--font-primary);
    color: var(--cream-900);
    margin: 1.5em 0 0.6em;
}

.cebrita-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.cebrita-post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 35px;
}

.cebrita-post-tag {
    display: inline-flex;
    padding: 6px 14px;
    border: 1px solid var(--cream-300);
    border-radius: 999px;
    font-family: var(--font-secondary);
    font-size: 13px;
    color: var(--cream-700);
    text-decoration: none;
    transition: all ease-in-out .4s;
}

.cebrita-post-tag:hover {
    border-color: var(--wine-300);
    color: var(--wine-300);
}


/* =========================================================
   Cebrita Single Blog - Artículos relacionados (Swiper)
   ========================================================= */

.cebrita-related {
    margin-bottom: 60px;
    margin-top: 60px;
    padding-top: 60px;
}

.related,
.upsells {
    margin: 0 !important;
    padding: 0 !important;
}

.cebrita-related .swiper-slide {
    height: auto;
    display: flex;
}

.cebrita-related .hfe-post-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    border: 1px solid var(--cream-300);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color ease-in-out .3s, box-shadow ease-in-out .3s;
}

.cebrita-related .hfe-post-card:hover {
    border-color: var(--wine-300);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.cebrita-related .hfe-post-image img {
    display: block;
    width: 100%;
    height: auto;
}

.cebrita-related .hfe-post-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 18px;
    flex: 1 1 auto;
}

.cebrita-related .hfe-post-title {
    margin: 0;
    font-family: var(--font-primary);
    font-size: 17px;
    line-height: 1.35;
}

.cebrita-related .hfe-post-title a {
    color: var(--cream-900);
    text-decoration: none;
    transition: color ease-in-out .3s;
}

.cebrita-related .hfe-post-title a:hover {
    color: var(--wine-300);
}

.cebrita-related .hfe-post-excerpt {
    font-family: var(--font-secondary);
    font-size: 14px;
    line-height: 1.6;
    color: var(--cream-700);
}

.cebrita-related .hfe-read-more {
    margin-top: auto;
    font-family: var(--font-secondary);
    font-size: 14px;
    font-weight: 600;
    color: var(--wine-300);
    text-decoration: none;
}

.cebrita-related .hfe-read-more:hover {
    text-decoration: underline;
}

.cebrita-related .cebrita-swiper-controls {
    margin-top: 18px;
}

#secondary .widget .wp-block-group__inner-container>h2 {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.hentry strong,
.hentry th,
.hentry dt {
    color: currentColor !important;
}
