.store-wordmark-wrap {
    display: flex;
    align-items: center;
}

.store-wordmark,
.store-wordmark:visited {
    display: inline-flex;
    align-items: center;
    min-height: var(--store-tap-target);
    color: var(--store-text);
    font-family: var(--store-font-heading);
    font-size: 26px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.03em;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity var(--store-transition);
}

.store-wordmark:hover {
    color: var(--store-text);
    opacity: 0.72;
}

.store-wordmark:focus-visible {
    outline: 2px solid transparent;
    box-shadow: var(--store-focus-ring);
    border-radius: var(--store-radius-sm);
}

@media (max-width: 1024px) {
    .store-wordmark {
        font-size: 22px;
    }
}

.store-delivery {
    width: 100%;
    font-family: var(--store-font-body);
}

.store-delivery__item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    border: 1px solid var(--store-border);
    border-radius: var(--store-radius-md);
    background: var(--store-bg);
}

.store-delivery__icon {
    display: block;
    width: 28px;
    height: 28px;
    color: var(--store-text);
}

.store-delivery__body {
    min-width: 0;
}

.store-delivery .store-delivery__title {
    margin: 0;
    color: var(--store-text);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
}

.store-delivery .store-delivery__text {
    margin: 2px 0 0;
    color: var(--store-text-secondary);
    font-size: 14px;
    line-height: 1.4;
}

.store-delivery__price {
    color: var(--store-text);
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
}

.store-footer {
    width: 100%;
    max-width: calc(var(--store-content-width) + (var(--store-gutter) * 2));
    margin-inline: auto;
    padding: clamp(48px, 6vw, 80px) var(--store-gutter) clamp(32px, 4vw, 48px);
    color: var(--store-text);
    font-family: var(--store-font-body);
    font-size: 14px;
    line-height: 1.55;
}

.store-footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
    gap: clamp(32px, 4vw, 64px);
}

.store-footer .store-footer__text {
    max-width: 38ch;
    margin: 16px 0 0;
    color: var(--store-text-secondary);
}

.store-footer .store-footer__title {
    margin: 0 0 14px;
    color: var(--store-text);
    font-family: var(--store-font-heading);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.store-footer .store-footer__list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.store-footer .store-footer__list li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.store-footer .store-footer__list a {
    color: var(--store-text-secondary);
    text-decoration: none;
    transition: color var(--store-transition);
}

.store-footer .store-footer__list a:hover {
    color: var(--store-text);
}

.store-footer .store-footer__list--plain li {
    color: var(--store-text-secondary);
}

.store-footer a:focus-visible {
    outline: 2px solid transparent;
    box-shadow: var(--store-focus-ring);
    border-radius: 4px;
}

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

    .store-footer__brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 560px) {
    .store-footer__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }
}

.store-card-points {
    display: grid;
    gap: 3px;
    width: 100%;
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
}

.store-card-points li {
    position: relative;
    margin: 0;
    padding: 0 0 0 13px;
    overflow: hidden;
    color: var(--store-text-secondary);
    font-family: var(--store-font-body);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.45;
    letter-spacing: 0;
    list-style: none;
    text-align: start;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.store-card-points li::before {
    content: "";
    position: absolute;
    top: 0.62em;
    left: 1px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--store-accent);
    opacity: 0.55;
}

.store-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 0;
    margin: 0;
    overflow: hidden;
    border-radius: var(--store-radius-md);
    background: var(--store-bg);
    color: var(--store-text);
    font-family: var(--store-font-body);
    text-align: start;
    transition: box-shadow var(--store-transition), transform var(--store-transition);
}

.store-card:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.store-card:focus-within {
    box-shadow: var(--store-focus-ring);
}

.store-card__media {
    position: relative;
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    padding: clamp(14px, 2vw, 28px);
    overflow: hidden;
    border-bottom: 1px solid #E8E8ED;
}

.store-card .store-card__img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.store-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    border-radius: 980px;
    background: var(--store-text);
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
}

.store-card--out .store-card__img {
    opacity: 0.55;
}

.store-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 6px;
    padding: 16px 20px 20px;
}

.store-card .store-card__brand {
    margin: 0;
    color: var(--store-text-secondary);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
}

.store-card .store-card__title {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: var(--store-text);
    font-family: var(--store-font-heading);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.01em;
    text-transform: none;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.store-card .store-card__link,
.store-card .store-card__link:hover {
    color: inherit;
    text-decoration: none;
}

.store-card .store-card__link::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}

.store-card .store-card__link:focus-visible {
    outline: none;
}

.store-card__footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 12px;
}

.store-card .store-card__price {
    min-width: 0;
    margin: 0;
    color: var(--wd-primary-color, var(--store-accent));
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
}

.store-card .store-card__price .woocommerce-Price-amount,
.store-card .store-card__price ins {
    color: inherit;
    text-decoration: none;
}

.store-card .store-card__price del {
    display: block;
    color: var(--store-text-secondary);
    font-size: 13px;
    font-weight: 400;
}

.store-card .store-card__price .woocommerce-price-suffix {
    display: block;
    margin-top: 2px;
    color: var(--store-text-secondary);
    font-size: 12px;
    font-weight: 400;
}

.store-card .store-card__cart {
    position: relative;
    z-index: 2;
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: var(--store-tap-target);
    height: var(--store-tap-target);
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--store-text);
    color: #FFFFFF;
    line-height: 1;
    text-decoration: none;
    transition: background-color var(--store-transition), transform var(--store-transition);
}

.store-card .store-card__cart:hover {
    background: var(--wd-primary-color, var(--store-accent));
    color: #FFFFFF;
    transform: scale(1.05);
}

.store-card .store-card__cart:focus-visible {
    outline: 2px solid transparent;
    box-shadow: var(--store-focus-ring);
}

.store-card .store-card__cart.loading {
    opacity: 0.6;
    pointer-events: none;
}

.store-card .store-card__cart.loading::after,
.store-card .store-card__cart.added::after {
    display: none;
}

.store-card .store-card__cart-done {
    display: none;
}

.store-card .store-card__cart.added {
    background: #1E8E3E;
}

.store-card .store-card__cart.added .store-card__cart-icon {
    display: none;
}

.store-card .store-card__cart.added .store-card__cart-done {
    display: block;
}

.store-card .added_to_cart {
    display: none;
}

.wd-product.wd-loop-item-2118 {
    --wd-prod-bg-sp: 0;
}

.wd-product.wd-loop-item-2118 .wd-product-wrapper {
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.wd-product.wd-loop-item-2118 .store-card {
    border: 1px solid #E8E8ED;
}

@media (max-width: 560px) {
    .store-card__body {
        gap: 4px;
        padding: 12px 12px 14px;
    }

    .store-card .store-card__title {
        font-size: 14px;
    }

    .store-card .store-card__price {
        font-size: 15px;
    }

    .store-card .store-card__cart {
        width: 38px;
        height: 38px;
    }

    .wd-product .store-card-points li:nth-child(3) {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .store-card,
    .store-card .store-card__cart {
        transition: none;
    }

    .store-card:hover,
    .store-card .store-card__cart:hover {
        transform: none;
    }
}

.widget_price_filter .price_slider_wrapper {
    padding-top: 4px;
}

.widget_price_filter .price_slider_amount {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 13px;
}

.widget_price_filter .price_slider_amount .price_label {
    order: -1;
    color: var(--store-text-secondary);
    font-size: 13px;
}

.widget_price_filter .price_slider_amount .button {
    min-height: 32px;
    padding: 4px 14px;
    border-radius: 980px;
    font-size: 13px;
}

.sidebar-container .widget,
.wd-sidebar .widget {
    margin-bottom: 22px;
    padding-bottom: 22px;
}

.sidebar-container .widget-title,
.wd-sidebar .widget-title {
    margin-bottom: 12px;
    font-family: var(--store-font-heading);
    font-size: 15px;
    font-weight: 700;
    text-transform: none;
}

.wd-sidebar .woodmart-woocommerce-layered-nav .wd-scroll-content,
.wd-sidebar .woodmart-woocommerce-layered-nav > ul {
    max-height: 232px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
}

.wd-sidebar .woodmart-woocommerce-layered-nav li a,
.wd-sidebar .widget_product_categories li a {
    font-size: 14px;
}

.woodmart-woocommerce-layered-nav .count,
.wd-sidebar .woodmart-woocommerce-layered-nav .wd-filter-lable + .count,
.widget_product_categories .count {
    display: none;
}

.wd-sidebar .wd-widget-collapse .widget-title {
    margin-bottom: 0;
    cursor: pointer;
}

.wd-sidebar .wd-widget-collapse.wd-opened .widget-title {
    margin-bottom: 12px;
}

.wd-sidebar .widget.wd-widget-collapse {
    margin-bottom: 0;
    padding: 14px 0;
}

.store-card-desc {
    display: -webkit-box;
    width: 100%;
    margin: 8px 0 0;
    overflow: hidden;
    color: var(--store-text-secondary);
    font-family: var(--store-font-body);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.45;
    text-align: start;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

@media (max-width: 560px) {
    .store-card-points li {
        font-size: 12px;
    }
}

.product-labels .product-label.out-of-stock,
.wd-product .product-labels .product-label.out-of-stock {
    --wd-label-color: #FFFFFF;
    background-color: var(--store-text);
    color: #FFFFFF;
}

.e-con.store-slot--footer,
.e-con.store-slot--delivery {
    --padding-top: 0px;
    --padding-right: 0px;
    --padding-bottom: 0px;
    --padding-left: 0px;
    --margin-top: 0px;
    --margin-bottom: 0px;
    --gap: 0px;
}

.e-con.store-slot--footer .elementor-widget-html,
.e-con.store-slot--delivery .elementor-widget-html {
    margin: 0;
}

/* Casavoltio logo (replaces the "Tienda" text wordmark) */
.store-wordmark .store-logo {
    display: block;
    width: auto;
    height: 38px;
    max-width: 100%;
}

.store-wordmark--footer .store-logo {
    height: 34px;
}

@media (max-width: 1024px) {
    .store-wordmark .store-logo {
        height: 28px;
    }
}

/* Contacto page */
.cv-contact {
    max-width: 760px;
    margin-inline: auto;
}

.cv-contact h1 {
    margin-bottom: 16px;
}

.cv-contact .wpcf7 {
    margin-top: 24px;
}

/* Legal pages (Aviso legal, Privacidad, Cookies, Condiciones, Envíos, Devoluciones) */
.cv-legal {
    max-width: 820px;
    margin-inline: auto;
    font-size: 16px;
    line-height: 1.7;
}

.cv-legal h1 {
    margin-bottom: 8px;
}

.cv-legal h2 {
    margin: 36px 0 12px;
    font-size: 22px;
}

.cv-legal h3 {
    margin: 24px 0 8px;
    font-size: 18px;
}

.cv-legal ul,
.cv-legal ol {
    margin-bottom: 16px;
    padding-left: 22px;
}

.cv-legal li + li {
    margin-top: 6px;
}

.cv-legal .cv-legal__updated {
    color: var(--store-text-secondary);
    font-size: 14px;
}

.cv-legal .cv-legal__box {
    margin: 24px 0;
    padding: 20px 24px;
    border: 1px solid var(--store-border);
    border-radius: var(--store-radius-md);
    background: var(--store-bg-secondary);
}

.cv-legal .cv-legal__box > :last-child,
.cv-legal .cv-legal__box ul:last-child {
    margin-bottom: 0;
}

/* Footer legal row */
.store-footer .store-footer__legal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
    margin-top: clamp(32px, 4vw, 48px);
    padding-top: 24px;
    border-top: 1px solid var(--store-border);
    font-size: 13px;
}

.store-footer .store-footer__copy {
    margin: 0;
    color: var(--store-text-secondary);
}

.store-footer .store-footer__legal-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.store-footer .store-footer__legal-list a {
    color: var(--store-text-secondary);
    text-decoration: none;
    transition: color var(--store-transition);
}

.store-footer .store-footer__legal-list a:hover {
    color: var(--store-text);
    text-decoration: underline;
}

/* Keep the last footer row clear of the floating WhatsApp button. */
.store-footer .store-footer__legal {
    padding-bottom: 72px;
}

/* ==========================================================================
   Footer Casavoltio (pro, dark) – 2026-12
   ========================================================================== */
.footer-container.wd-footer,
footer.footer-container {
    background: #101A2E !important;
    border-top: 0 !important;
}

.store-footer.cvf {
    padding-top: clamp(40px, 5vw, 64px);
    padding-bottom: clamp(20px, 2.4vw, 28px);
    color: rgba(255, 255, 255, 0.72);
    font-family: var(--store-font-body);
    font-size: 14px;
    line-height: 1.6;
}

.cvf a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    transition: color 0.2s ease;
}

.cvf a:hover,
.cvf a:focus-visible {
    color: #FFFFFF;
}

.cvf svg {
    flex: none;
    width: 20px;
    height: 20px;
}

.cvf ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Trust strip */
.cvf__trust {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    padding-bottom: clamp(28px, 3.5vw, 40px) !important;
    margin-bottom: clamp(32px, 4vw, 48px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cvf__trust li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}

.cvf__trust svg {
    width: 40px;
    height: 40px;
    padding: 9px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.07);
    color: #7FB0FF;
}

.cvf__trust span {
    display: flex;
    flex-direction: column;
    font-size: 13px;
    line-height: 1.4;
}

.cvf__trust strong {
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 600;
}

/* Main grid */
.cvf__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
    gap: clamp(28px, 4vw, 56px);
}

.cvf__logo {
    display: block;
    width: auto;
    height: 30px;
}

.cvf__text {
    max-width: 360px;
    margin: 18px 0 20px;
    color: rgba(255, 255, 255, 0.66);
}

.cvf__contact {
    display: grid;
    gap: 10px;
}

.cvf__contact a,
.cvf__addr {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.78);
}

.cvf__contact svg {
    width: 18px;
    height: 18px;
    color: #7FB0FF;
}

.cvf__contact strong {
    color: #FFFFFF;
    font-weight: 600;
}

.cvf__title {
    margin: 4px 0 16px;
    color: #FFFFFF;
    font-family: var(--store-font-heading);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.cvf__col ul {
    display: grid;
    gap: 10px;
}

.cvf__col li {
    margin: 0;
}

/* Payments */
.cvf__pay {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px 24px;
    margin-top: clamp(32px, 4vw, 48px);
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cvf__pay-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: #FFFFFF;
    font-weight: 600;
}

.cvf__pay-label svg {
    width: 18px;
    height: 18px;
    color: #4ADE80;
}

.cvf .cv-pay {
    gap: 8px;
}

/* Bottom bar */
.cvf__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 24px;
    padding-top: 20px;
    font-size: 13px;
}

.cvf__copy {
    margin: 0;
    color: rgba(255, 255, 255, 0.56);
}

.cvf__legal {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 20px;
}

.cvf__legal a {
    color: rgba(255, 255, 255, 0.6);
}

/* Shop archives: breathing room between pagination and footer */
.woocommerce.archive .main-page-wrapper {
    padding-bottom: clamp(48px, 6vw, 88px);
}

.woocommerce.archive .wd-loop-footer {
    margin-bottom: 0;
    padding-top: 8px;
}

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

    .cvf__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px 20px;
    }

    .cvf__brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767px) {
    .store-footer.cvf {
        font-size: 14px;
    }

    .cvf__trust svg {
        width: 36px;
        height: 36px;
        padding: 8px;
    }

    .cvf__trust span,
    .cvf__trust strong {
        font-size: 12.5px;
    }

    .cvf__grid > .cvf__col:last-child {
        grid-column: 1 / -1;
    }

    .cvf__grid > .cvf__col:last-child ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 20px;
    }

    .cvf__pay {
        flex-direction: column;
        align-items: flex-start;
    }

    .cvf__bottom {
        flex-direction: column-reverse;
        align-items: flex-start;
        gap: 14px;
    }
}

/* Footer fine-tuning (theme img/li defaults) */
.cvf img.cvf__logo {
    width: auto !important;
    height: 30px !important;
    max-width: 100%;
}

.cvf li {
    margin: 0 !important;
    padding: 0 !important;
}

.cvf__contact li + li {
    margin-top: 0 !important;
}

body.cv-at-footer .scrollToTop {
    opacity: 0 !important;
    visibility: hidden !important;
}
