/*
Theme Name: Seniority Plus
Description: Tema hijo accesible de Storefront.
Author: El Valor de Aprender
Template: storefront
Version: 1.1.1
Text Domain: autonomia60plus
*/

:root {
    --a60-navy: #102f45;
    --a60-blue: #174966;
    --a60-green: #137565;
    --a60-green-dark: #0c574c;
    --a60-coral: #b94b38;
    --a60-cream: #f7f3e9;
    --a60-light: #eaf4f4;
    --a60-white: #ffffff;
    --a60-text: #26343d;
    --a60-muted: #52636e;
    --a60-border: #c8d4d9;
    --a60-focus: #f3b700;
    --a60-shadow: 0 5px 20px rgba(16, 47, 69, 0.12);
}

html {
    font-size: 18px;
    scroll-behavior: smooth;
}

body,
button,
input,
select,
textarea {
    color: var(--a60-text);
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;
}

body {
    background: var(--a60-white);
    line-height: 1.65;
}

h1,
h2,
h3,
h4 {
    color: var(--a60-navy);
    font-weight: 750;
    line-height: 1.22;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
}

h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.3rem);
}

h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.6rem);
}

a {
    color: var(--a60-green-dark);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

a:hover {
    color: var(--a60-coral);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 4px solid var(--a60-focus);
    outline-offset: 3px;
}

button,
.button,
.added_to_cart,
input[type="submit"],
.wp-element-button,
.wc-block-components-button {
    min-height: 50px;
    padding: 0.75rem 1.25rem;
    border: 2px solid var(--a60-green);
    border-radius: 9px;
    background: var(--a60-green);
    color: var(--a60-white);
    font-weight: 750;
    text-decoration: none;
}

button:hover,
.button:hover,
.added_to_cart:hover,
input[type="submit"]:hover,
.wp-element-button:hover,
.wc-block-components-button:hover {
    border-color: var(--a60-green-dark);
    background: var(--a60-green-dark);
    color: var(--a60-white);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="password"],
input[type="search"],
select,
textarea {
    min-height: 50px;
    padding: 0.7rem 0.85rem;
    border: 2px solid var(--a60-border);
    border-radius: 8px;
    background: var(--a60-white);
    font-size: 1rem;
}

label {
    color: var(--a60-navy);
    font-weight: 700;
}

.col-full {
    width: min(1180px, calc(100% - 2rem));
    max-width: none;
    margin-right: auto;
    margin-left: auto;
    padding: 0;
}

/* Barra superior */

.a60-trustbar {
    background: var(--a60-navy);
    color: var(--a60-white);
}

.a60-trustbar-inner {
    display: flex;
    width: min(1180px, calc(100% - 2rem));
    min-height: 48px;
    margin: 0 auto;
    align-items: center;
    justify-content: center;
    gap: 1rem 2.4rem;
    font-size: 0.9rem;
    font-weight: 650;
}

.a60-trustbar span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.a60-check {
    color: #8fe0c8;
    font-size: 1.15rem;
}

/* Encabezado y menú */

.site-header {
    padding-top: 1.5rem;
    padding-bottom: 0;
    border-bottom: 1px solid var(--a60-border);
    background: var(--a60-white);
}

.site-branding .site-title {
    margin-bottom: 0.15rem;
    font-size: clamp(1.8rem, 4vw, 2.45rem);
    font-weight: 800;
}

.site-branding .site-title a {
    color: var(--a60-blue);
    text-decoration: none;
}

.site-branding .site-description {
    color: var(--a60-muted);
    font-size: 0.94rem;
}

.site-search input[type="search"] {
    min-height: 52px;
    border-color: var(--a60-blue);
}

.storefront-primary-navigation {
    margin-top: 1.3rem;
    border-top: 1px solid #e1dbcf;
    background: var(--a60-cream);
}

.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
    padding: 1.05rem 1rem;
    color: var(--a60-navy);
    font-weight: 750;
}

.main-navigation ul li a:hover {
    color: var(--a60-green-dark);
}

.site-header-cart .cart-contents {
    color: var(--a60-navy);
    font-weight: 750;
}

/* Contenido */

.site-content {
    padding-top: 2rem;
}

.storefront-breadcrumb {
    margin-bottom: 1.5rem;
    padding: 1rem 0;
    color: var(--a60-muted);
}

/* Catálogo */

ul.products {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

ul.products::before,
ul.products::after {
    display: none;
}

ul.products li.product {
    float: none;
    width: auto;
    margin: 0;
    padding: 1.1rem;
    border: 1px solid var(--a60-border);
    border-radius: 12px;
    background: var(--a60-white);
    box-shadow: var(--a60-shadow);
    text-align: left;
}

ul.products li.product:hover {
    border-color: var(--a60-green);
    transform: translateY(-2px);
}

ul.products li.product img {
    width: 100%;
    aspect-ratio: 1 / 1;
    margin-bottom: 1rem;
    border-radius: 10px;
    background: var(--a60-light);
    object-fit: cover;
}

ul.products li.product .woocommerce-loop-product__title {
    min-height: 2.7em;
    color: var(--a60-navy);
    font-size: 1.1rem;
    font-weight: 750;
    line-height: 1.35;
}

ul.products li.product .price {
    display: block;
    color: var(--a60-green-dark);
    font-size: 1.25rem;
    font-weight: 800;
}

ul.products li.product .button {
    width: 100%;
}

/* Mensajes y tablas */

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    padding: 1rem 1.2rem;
    border-radius: 8px;
    font-size: 1rem;
}

.woocommerce-message {
    border-left: 6px solid var(--a60-green);
    background: #edf8f2;
}

.woocommerce-info {
    border-left: 6px solid var(--a60-blue);
    background: var(--a60-light);
}

.woocommerce-error {
    border-left: 6px solid #a52a2a;
    background: #fff0f0;
}

table th,
table td {
    padding: 0.85rem;
    border: 1px solid var(--a60-border);
}

table th {
    background: var(--a60-cream);
    color: var(--a60-navy);
}

/* Pie */

.site-footer {
    margin-top: 3rem;
    padding: 2.5rem 0;
    background: var(--a60-navy);
    color: #e8f1f5;
}

.site-footer a {
    color: var(--a60-white);
}

.a60-footer {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
}

.a60-footer h2 {
    margin-bottom: 0.4rem;
    color: var(--a60-white);
    font-size: 1.35rem;
}

.a60-footer p {
    margin: 0;
    color: #d4e2e8;
}

.a60-footer-legal {
    text-align: right;
}

@media (max-width: 900px) {
    html {
        font-size: 17px;
    }

    ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .a60-trustbar-inner {
        flex-wrap: wrap;
        padding: 0.6rem 0;
        gap: 0.4rem 1.2rem;
    }
}

@media (max-width: 600px) {
    .col-full {
        width: min(100% - 1.25rem, 1180px);
    }

    ul.products {
        grid-template-columns: 1fr;
    }

    .a60-trustbar-inner {
        display: grid;
        grid-template-columns: 1fr;
        padding: 0.7rem 0;
    }

    .a60-footer {
        grid-template-columns: 1fr;
    }

    .a60-footer-legal {
        text-align: left;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
    }
}

/* ==========================================================
   A60 HOME V1
   ========================================================== */

.page-template-template-fullwidth-php .site-main,
.a60-home {
    margin: 0;
}

.a60-home {
    margin-top: -2rem;
}

.a60-home .entry-title {
    display: none;
}

.a60-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.75fr);
    gap: 2rem;
    padding: clamp(2.5rem, 7vw, 5.5rem);
    border-radius: 0 0 24px 24px;
    background:
        radial-gradient(
            circle at 90% 15%,
            rgba(255, 255, 255, 0.45),
            transparent 32%
        ),
        linear-gradient(135deg, #e7f4f1, #f7f3e9);
}

.a60-eyebrow {
    margin-bottom: 0.65rem;
    color: var(--a60-green-dark);
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.a60-hero h1 {
    max-width: 780px;
    margin-bottom: 1rem;
}

.a60-hero-lead {
    max-width: 720px;
    color: var(--a60-muted);
    font-size: 1.18rem;
}

.a60-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin: 1.5rem 0;
}

.a60-button-secondary {
    border-color: var(--a60-blue);
    background: transparent;
    color: var(--a60-blue);
}

.a60-button-secondary:hover {
    border-color: var(--a60-navy);
    background: var(--a60-navy);
    color: #fff;
}

.a60-hero-points {
    display: grid;
    gap: 0.35rem;
    margin: 1.4rem 0 0;
    padding: 0;
    list-style: none;
}

.a60-hero-points li::before {
    margin-right: 0.55rem;
    color: var(--a60-green);
    content: "✓";
    font-weight: 900;
}

.a60-hero-panel {
    display: flex;
    min-height: 330px;
    padding: 2rem;
    border: 1px solid rgba(23, 73, 102, 0.18);
    border-radius: 20px;
    background: var(--a60-navy);
    color: #e9f3f5;
    box-shadow: var(--a60-shadow);
    flex-direction: column;
    justify-content: center;
}

.a60-hero-symbol {
    margin-bottom: 1rem;
    color: #8fe0c8;
    font-size: clamp(4rem, 9vw, 7rem);
    font-weight: 850;
    line-height: 1;
}

.a60-hero-panel p {
    margin: 0;
    font-size: 1.1rem;
}

.a60-section {
    padding: clamp(3rem, 7vw, 5.5rem) 0;
}

.a60-section-heading {
    max-width: 800px;
    margin-bottom: 2rem;
}

.a60-section-heading > p:last-child {
    color: var(--a60-muted);
    font-size: 1.08rem;
}

.a60-category-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1.2rem;
}

.a60-category-card {
    grid-column: span 2;
    padding: 1.5rem;
    border: 1px solid var(--a60-border);
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--a60-shadow);
    text-decoration: none;
}

.a60-category-card:nth-child(4) {
    grid-column: 2 / span 2;
}

.a60-category-card:hover {
    border-color: var(--a60-green);
    transform: translateY(-3px);
}

.a60-category-icon {
    display: grid;
    width: 54px;
    height: 54px;
    margin-bottom: 1rem;
    border-radius: 50%;
    background: var(--a60-light);
    color: var(--a60-blue);
    font-size: 1.6rem;
    place-items: center;
}

.a60-category-card h3 {
    margin-bottom: 0.55rem;
}

.a60-category-card p {
    color: var(--a60-muted);
}

.a60-category-card strong {
    color: var(--a60-green-dark);
}

.a60-why {
    padding-right: clamp(1rem, 4vw, 3rem);
    padding-left: clamp(1rem, 4vw, 3rem);
    border-radius: 22px;
    background: var(--a60-cream);
}

.a60-benefit-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.2rem;
}

.a60-benefit-grid article {
    padding: 1.35rem;
    border-radius: 12px;
    background: #fff;
}

.a60-benefit-grid article > span {
    display: grid;
    width: 42px;
    height: 42px;
    margin-bottom: 0.8rem;
    border-radius: 50%;
    background: var(--a60-green);
    color: #fff;
    font-weight: 800;
    place-items: center;
}

.a60-benefit-grid p {
    margin-bottom: 0;
    color: var(--a60-muted);
}

.a60-cta {
    display: flex;
    margin-top: 3rem;
    padding: clamp(2rem, 5vw, 3.5rem);
    border-radius: 20px;
    background: var(--a60-blue);
    color: #fff;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.a60-cta h2,
.a60-cta .a60-eyebrow {
    color: #fff;
}

.a60-cta p {
    margin-bottom: 0;
}

@media (max-width: 900px) {
    .a60-hero {
        grid-template-columns: 1fr;
    }

    .a60-hero-panel {
        min-height: 230px;
    }

    .a60-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .a60-category-card,
    .a60-category-card:nth-child(4) {
        grid-column: auto;
    }

    .a60-benefit-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .a60-hero {
        padding: 2rem 1.1rem;
        border-radius: 0 0 16px 16px;
    }

    .a60-hero-actions,
    .a60-cta {
        display: grid;
        grid-template-columns: 1fr;
    }

    .a60-category-grid,
    .a60-benefit-grid {
        grid-template-columns: 1fr;
    }

    .a60-cta {
        align-items: stretch;
    }
}

/* ==========================================================
   A60 HOME PRODUCTS V1
   Productos propios destacados en la portada
   ========================================================== */

.a60-home-products {
    max-width: 1100px;
    margin: 78px auto 30px;
    padding: 0;
}

.a60-home-products__heading {
    max-width: 740px;
    margin: 0 0 30px;
}

.a60-home-products__eyebrow {
    margin: 0 0 10px;
    color: #087f6b;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.09em;
}

.a60-home-products__heading h2 {
    margin: 0 0 12px;
    color: #0b344c;
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.12;
}

.a60-home-products__heading > p:last-child {
    margin: 0;
    color: #415663;
    font-size: 17px;
    line-height: 1.65;
}

.a60-home-products ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.a60-home-products ul.products::before,
.a60-home-products ul.products::after {
    display: none !important;
    content: none !important;
}

.a60-home-products ul.products li.product {
    display: flex !important;
    flex-direction: column;
    float: none !important;
    width: auto !important;
    min-width: 0 !important;
    height: 100%;
    margin: 0 !important;
    padding: 17px 17px 20px !important;
    border: 1px solid #d7e1e4;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 5px 16px rgba(11, 52, 76, 0.08);
    text-align: left !important;
}

.a60-home-products ul.products li.product:hover {
    border-color: #9fc8bf;
    box-shadow: 0 9px 24px rgba(11, 52, 76, 0.13);
    transform: translateY(-2px);
}

.a60-home-products ul.products li.product img {
    display: block !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: none !important;
    height: auto !important;
    aspect-ratio: 1 / 1;
    margin: 0 0 17px !important;
    border-radius: 9px;
    object-fit: cover;
}

.a60-home-products ul.products li.product
.woocommerce-loop-product__title {
    margin: 0 0 10px !important;
    padding: 0 !important;
    color: #0b344c;
    font-size: 19px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    text-align: left !important;
}

.a60-home-products ul.products li.product .price {
    margin: 0 0 15px !important;
    text-align: left !important;
}

.a60-home-products ul.products li.product
.a60-details-button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    width: auto !important;
    margin: auto 0 0 !important;
    padding: 12px 18px !important;
    border-radius: 7px;
    background: #087f6b !important;
    color: #fff !important;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
}

.a60-home-products__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    margin: 30px 0 0;
    padding: 21px 24px;
    border-radius: 10px;
    background: #edf7f4;
    color: #415663;
}

.a60-home-products__all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 19px;
    border-radius: 7px;
    background: #0b344c;
    color: #fff !important;
    font-weight: 700;
    text-decoration: none !important;
}

.a60-home-products__all:hover,
.a60-home-products__all:focus {
    background: #087f6b;
}

@media (max-width: 900px) {
    .a60-home-products ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .a60-home-products {
        margin-top: 55px;
    }

    .a60-home-products ul.products {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .a60-home-products__footer {
        align-items: flex-start;
        flex-direction: column;
    }
}


/* ==========================================================
   A60 SINGLE PRODUCT V1
   Ficha individual de producto en modo catálogo
   ========================================================== */

body.single-product .site-content {
    padding-top: 46px;
    padding-bottom: 70px;
}

body.single-product .content-area,
body.single-product .site-main {
    width: 100%;
    max-width: none;
    float: none;
    margin: 0;
}

body.single-product div.product {
    display: grid;
    grid-template-columns:
        minmax(0, 0.92fr)
        minmax(0, 1.08fr);
    column-gap: clamp(42px, 6vw, 82px);
    row-gap: 58px;
    align-items: start;
}

body.single-product div.product::before,
body.single-product div.product::after {
    display: none;
}

body.single-product div.product .woocommerce-product-gallery {
    grid-column: 1;
    float: none;
    width: 100%;
    margin: 0;
}

body.single-product div.product .woocommerce-product-gallery__wrapper {
    margin: 0;
}

body.single-product div.product
.woocommerce-product-gallery__image {
    overflow: hidden;
    border: 1px solid #d8e3e1;
    border-radius: 18px;
    background: #f8f5ec;
}

body.single-product div.product
.woocommerce-product-gallery__image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 18px;
}

body.single-product
.woocommerce-product-gallery
.flex-control-thumbs {
    position: static !important;
    display: flex !important;
    flex-wrap: wrap;
    gap: 10px;
    width: 100% !important;
    margin: 14px 0 0 !important;
    padding: 0 !important;
    transform: none !important;
    list-style: none;
}

body.single-product
.woocommerce-product-gallery
.flex-control-thumbs li {
    position: static !important;
    float: none !important;
    flex: 0 0 72px;
    width: 72px !important;
    margin: 0 !important;
}

body.single-product
.woocommerce-product-gallery
.flex-control-thumbs li:only-child {
    display: none !important;
}

body.single-product
.woocommerce-product-gallery
.flex-control-thumbs img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border: 2px solid transparent;
    border-radius: 10px;
}

body.single-product
.woocommerce-product-gallery
.flex-control-thumbs img.flex-active {
    border-color: #078974;
}

body.single-product div.product .summary {
    grid-column: 2;
    float: none;
    width: 100%;
    margin: 0;
    padding: clamp(30px, 4vw, 52px);
    border: 1px solid #d8e3e1;
    border-radius: 20px;
    background:
        linear-gradient(
            145deg,
            #ffffff 0%,
            #f5faf8 100%
        );
    box-shadow: 0 14px 34px rgba(12, 50, 68, 0.08);
}

body.single-product div.product .product_title {
    max-width: 760px;
    margin: 0 0 24px;
    color: #0c3244;
    font-size: clamp(38px, 5vw, 62px);
    line-height: 1.04;
    letter-spacing: -0.035em;
}

body.single-product div.product p.price,
body.single-product div.product span.price {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    margin: 0 0 28px;
    padding: 8px 14px;
    border-radius: 999px;
    background: #fff5dc;
    color: #795006;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.25;
}

body.single-product
div.product
.woocommerce-product-details__short-description {
    margin: 0 0 28px;
    color: #284653;
    font-size: 20px;
    line-height: 1.7;
}

body.single-product
div.product
.woocommerce-product-details__short-description p:last-child {
    margin-bottom: 0;
}

body.single-product div.product .product_meta {
    margin-top: 28px;
    padding: 22px 24px;
    border-top: 1px solid #d8e3e1;
    border-bottom: 1px solid #d8e3e1;
    color: #536b75;
    font-size: 15px;
    line-height: 1.8;
}

body.single-product div.product .product_meta > span {
    display: block;
}

body.single-product div.product .product_meta a {
    color: #006f63;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

body.single-product div.product .woocommerce-tabs {
    grid-column: 1 / -1;
    width: 100%;
    margin: 0;
    padding: clamp(28px, 4vw, 48px);
    border: 1px solid #d8e3e1;
    border-radius: 20px;
    background: #ffffff;
}

body.single-product
div.product
.woocommerce-tabs ul.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    float: none;
    width: 100%;
    margin: 0 0 34px;
    padding: 0 0 18px;
    border-bottom: 1px solid #d8e3e1;
}

body.single-product
div.product
.woocommerce-tabs ul.tabs::before,
body.single-product
div.product
.woocommerce-tabs ul.tabs::after {
    display: none;
}

body.single-product
div.product
.woocommerce-tabs ul.tabs li {
    display: block;
    margin: 0;
    padding: 0;
    border: 0;
}

body.single-product
div.product
.woocommerce-tabs ul.tabs li::after {
    display: none;
}

body.single-product
div.product
.woocommerce-tabs ul.tabs li a {
    display: block;
    padding: 12px 18px;
    border: 1px solid #b8cfcb;
    border-radius: 999px;
    background: #ffffff;
    color: #075f57;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
}

body.single-product
div.product
.woocommerce-tabs ul.tabs li.active a,
body.single-product
div.product
.woocommerce-tabs ul.tabs li a:hover,
body.single-product
div.product
.woocommerce-tabs ul.tabs li a:focus {
    border-color: #078974;
    background: #078974;
    color: #ffffff;
}

body.single-product
div.product
.woocommerce-tabs .panel {
    float: none;
    width: 100%;
    margin: 0;
    color: #284653;
    font-size: 18px;
    line-height: 1.75;
}

body.single-product
div.product
.woocommerce-tabs .panel h2:first-child {
    margin-top: 0;
    color: #0c3244;
    font-size: clamp(28px, 3.2vw, 38px);
    line-height: 1.15;
}

body.single-product div.product .related.products,
body.single-product div.product .upsells.products {
    grid-column: 1 / -1;
    width: 100%;
    margin: 0;
    padding-top: 6px;
}

body.single-product
div.product
.related.products > h2,
body.single-product
div.product
.upsells.products > h2 {
    margin: 0 0 28px;
    color: #0c3244;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.15;
}

body.single-product
div.product
.related.products ul.products,
body.single-product
div.product
.upsells.products ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
    margin: 0 !important;
}

body.single-product
div.product
.related.products ul.products::before,
body.single-product
div.product
.related.products ul.products::after,
body.single-product
div.product
.upsells.products ul.products::before,
body.single-product
div.product
.upsells.products ul.products::after {
    display: none;
}

body.single-product
div.product
.related.products ul.products li.product,
body.single-product
div.product
.upsells.products ul.products li.product {
    float: none !important;
    width: auto !important;
    min-width: 0;
    margin: 0 !important;
}

body.single-product .storefront-sticky-add-to-cart {
    display: none !important;
}

@media (max-width: 900px) {
    body.single-product div.product {
        grid-template-columns: minmax(0, 1fr);
        gap: 34px;
    }

    body.single-product
    div.product
    .woocommerce-product-gallery,
    body.single-product div.product .summary,
    body.single-product div.product .woocommerce-tabs,
    body.single-product div.product .related.products,
    body.single-product div.product .upsells.products {
        grid-column: 1;
    }

    body.single-product
    div.product
    .related.products ul.products,
    body.single-product
    div.product
    .upsells.products ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    body.single-product .site-content {
        padding-top: 26px;
    }

    body.single-product div.product .summary,
    body.single-product div.product .woocommerce-tabs {
        padding: 24px 20px;
        border-radius: 15px;
    }

    body.single-product div.product .product_title {
        font-size: 38px;
    }

    body.single-product
    div.product
    .woocommerce-product-details__short-description {
        font-size: 17px;
    }

    body.single-product
    div.product
    .related.products ul.products,
    body.single-product
    div.product
    .upsells.products ul.products {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ==========================================================
   A60 HIDE PRODUCT PAGINATION V1
   Oculta navegadores laterales de producto anterior/siguiente
   ========================================================== */

body.single-product .storefront-product-pagination {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

body.single-product {
    overflow-x: hidden;
}

/* ==========================================================
   A60 SHOP INTRO V1
   Encabezado editorial del catálogo general
   ========================================================== */

.woocommerce-shop .woocommerce-products-header {
    margin: 0 0 28px;
    padding: clamp(30px, 4.5vw, 54px);
    border: 1px solid #d8e3e1;
    border-radius: 20px;
    background:
        linear-gradient(
            135deg,
            #eaf6f3 0%,
            #f9f6ec 100%
        );
}

.woocommerce-shop
.woocommerce-products-header__title.page-title {
    max-width: 800px;
    margin: 0 0 18px;
    color: #0c3244;
    font-size: clamp(42px, 5.5vw, 66px);
    line-height: 1.04;
    letter-spacing: -0.035em;
}

.woocommerce-shop .a60-shop-intro {
    max-width: 840px;
}

.woocommerce-shop .a60-shop-eyebrow {
    margin: 0 0 12px;
    color: #00776a;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.3;
    letter-spacing: 0.11em;
}

.woocommerce-shop .a60-shop-lead {
    margin: 0;
    color: #284653;
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.65;
}

.woocommerce-shop .a60-shop-note {
    max-width: 760px;
    margin: 18px 0 0;
    padding-left: 16px;
    border-left: 3px solid #078974;
    color: #536b75;
    font-size: 15px;
    line-height: 1.6;
}

@media (max-width: 600px) {
    .woocommerce-shop .woocommerce-products-header {
        padding: 28px 22px;
        border-radius: 15px;
    }

    .woocommerce-shop
    .woocommerce-products-header__title.page-title {
        font-size: 42px;
    }

    .woocommerce-shop .a60-shop-lead {
        font-size: 17px;
    }
}

/* ==========================================================
   A60 SENIORITY LOGO V1
   Presentación responsiva del logo oficial
   ========================================================== */

.site-header .site-branding {
    display: flex;
    align-items: center;
    min-height: 112px;
    margin-bottom: 0;
}

.site-header .custom-logo-link {
    display: inline-flex;
    align-items: center;
    width: auto;
    max-width: 100%;
    margin: 0;
}

.site-header .custom-logo-link img.custom-logo {
    display: block;
    width: auto;
    height: 112px;
    max-width: min(420px, 100%);
    object-fit: contain;
    object-position: left center;
}

.site-header .site-description {
    margin-top: 7px;
    color: #536b75;
    font-size: 14px;
    line-height: 1.45;
}

@media (max-width: 768px) {
    .site-header .site-branding {
        min-height: 84px;
    }

    .site-header .custom-logo-link img.custom-logo {
        height: 78px;
        max-width: min(310px, 100%);
    }

    .site-header .site-description {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .site-header .site-branding {
        min-height: 72px;
    }

    .site-header .custom-logo-link img.custom-logo {
        height: 66px;
        max-width: min(260px, 100%);
    }
}

/* ==========================================================
   SENIORITY PLUS COMPACT HERO V1
   Reduce la altura del bloque principal conservando contenido
   ========================================================== */

.a60-home .a60-hero {
    gap: clamp(1.25rem, 2.5vw, 2rem);
    padding:
        clamp(1.75rem, 3.5vw, 3rem)
        clamp(1.75rem, 4vw, 3.5rem);
}

.a60-home .a60-eyebrow {
    margin-bottom: 0.45rem;
}

.a60-home .a60-hero h1 {
    margin-bottom: 0.65rem;
    line-height: 1.08;
}

.a60-home .a60-hero-lead {
    margin-bottom: 0;
    font-size: 1.08rem;
    line-height: 1.55;
}

.a60-home .a60-hero-actions {
    gap: 0.7rem;
    margin: 1rem 0;
}

.a60-home .a60-hero-points {
    gap: 0.2rem;
    margin-top: 0.85rem;
}

.a60-home .a60-hero-panel {
    min-height: 245px;
    padding: 1.5rem;
    border-radius: 18px;
}

.a60-home .a60-hero-symbol {
    margin-bottom: 0.6rem;
    font-size: clamp(3.5rem, 6vw, 5.4rem);
}

.a60-home .a60-hero-panel p {
    font-size: 1rem;
    line-height: 1.5;
}

@media (max-width: 900px) {
    .a60-home .a60-hero {
        padding: 2rem;
    }

    .a60-home .a60-hero-panel {
        min-height: 190px;
    }
}

@media (max-width: 600px) {
    .a60-home .a60-hero {
        gap: 1.25rem;
        padding: 1.5rem 1.1rem;
    }

    .a60-home .a60-hero-panel {
        min-height: 170px;
        padding: 1.25rem;
    }

    .a60-home .a60-hero-symbol {
        font-size: 3.5rem;
    }
}

/* ==========================================================
   SENIORITY PLUS HERO COMPACT V2
   Menor altura, menor separación y marca actualizada
   ========================================================== */

/*
 * Reduce el espacio entre la barra de navegación y la portada.
 */
body.home .site-content {
    padding-top: 1rem !important;
}

body.home .a60-home {
    margin-top: 0 !important;
}

/*
 * Compactación adicional del recuadro principal.
 */
body.home .a60-home .a60-hero {
    gap: clamp(1rem, 2vw, 1.5rem);
    padding:
        clamp(1.25rem, 2.5vw, 2rem)
        clamp(1.5rem, 3vw, 2.5rem);
}

body.home .a60-home .a60-eyebrow {
    margin-bottom: 0.35rem;
}

body.home .a60-home .a60-hero h1 {
    margin-bottom: 0.5rem;
    font-size: clamp(2rem, 3.25vw, 3.05rem);
    line-height: 1.06;
}

body.home .a60-home .a60-hero-lead {
    font-size: 1rem;
    line-height: 1.45;
}

body.home .a60-home .a60-hero-actions {
    gap: 0.6rem;
    margin: 0.75rem 0;
}

body.home .a60-home .a60-hero-points {
    gap: 0.1rem;
    margin-top: 0.55rem;
    line-height: 1.35;
}

body.home .a60-home .a60-hero-panel {
    min-height: 205px;
    padding: 1.25rem;
    border-radius: 16px;
}

/*
 * Nueva marca dentro de la tarjeta azul.
 */
body.home .a60-home .a60-hero-symbol {
    display: flex;
    margin-bottom: 0.65rem;
    font-size: clamp(2rem, 3.5vw, 3rem);
    line-height: 1;
    flex-direction: column;
    align-items: flex-start;
}

body.home .a60-hero-brand-main {
    display: block;
    color: #ffffff;
    font-weight: 800;
    letter-spacing: -0.035em;
}

body.home .a60-hero-brand-plus {
    display: block;
    margin-top: 0.15rem;
    color: #8fe0c8;
    font-weight: 800;
    letter-spacing: -0.025em;
}

body.home .a60-home .a60-hero-panel p {
    font-size: 0.95rem;
    line-height: 1.4;
}

@media (max-width: 900px) {
    body.home .site-content {
        padding-top: 0.8rem !important;
    }

    body.home .a60-home .a60-hero {
        padding: 1.5rem;
    }

    body.home .a60-home .a60-hero-panel {
        min-height: 165px;
    }

    body.home .a60-home .a60-hero-symbol {
        font-size: 2.35rem;
    }
}

@media (max-width: 600px) {
    body.home .site-content {
        padding-top: 0.6rem !important;
    }

    body.home .a60-home .a60-hero {
        gap: 1rem;
        padding: 1.25rem 1rem;
    }

    body.home .a60-home .a60-hero h1 {
        font-size: 2rem;
    }

    body.home .a60-home .a60-hero-panel {
        min-height: 145px;
        padding: 1rem;
    }

    body.home .a60-home .a60-hero-symbol {
        font-size: 2rem;
    }
}

/* ==========================================================
   SENIORITY PLUS HERO SPACING V3
   Acerca el bloque al menú y a la sección siguiente
   ========================================================== */

/*
 * Elimina espacios heredados del tema antes de la portada.
 */
body.home .site-content {
    padding-top: 0 !important;
}

body.home .site-content > .col-full {
    padding-top: 0 !important;
}

body.home #primary,
body.home .content-area,
body.home .site-main,
body.home article.hentry,
body.home .entry-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/*
 * Mantiene una separación visual mínima de 8 px.
 */
body.home .a60-home {
    margin-top: 0.5rem !important;
}

/*
 * Elimina cualquier margen externo adicional del hero.
 */
body.home .a60-home .a60-hero {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/*
 * Reduce el espacio que introduce la sección posterior.
 */
body.home .a60-home .a60-hero + .a60-section {
    padding-top: 0.75rem !important;
}

/*
 * Reduce también cualquier margen del rótulo inicial
 * de la sección siguiente.
 */
body.home .a60-home .a60-hero + .a60-section
.a60-section-heading,
body.home .a60-home .a60-hero + .a60-section
.a60-eyebrow {
    margin-top: 0 !important;
}

@media (max-width: 900px) {
    body.home .a60-home {
        margin-top: 0.4rem !important;
    }

    body.home .a60-home .a60-hero + .a60-section {
        padding-top: 0.65rem !important;
    }
}

@media (max-width: 600px) {
    body.home .a60-home {
        margin-top: 0.3rem !important;
    }

    body.home .a60-home .a60-hero + .a60-section {
        padding-top: 0.6rem !important;
    }
}

/* ==========================================================
   SENIORITY PLUS HERO POSITION V4
   Recupera el espacio estructural anterior al hero
   ========================================================== */

/*
 * En escritorio, el tema conserva aproximadamente 60 px
 * antes del contenido. El margen negativo recupera ese espacio.
 */
@media (min-width: 901px) {
    body.home .a60-home {
        margin-top: -3.4rem !important;
    }
}

/*
 * En pantallas medianas el desplazamiento es menor para evitar
 * cualquier aproximación excesiva al menú.
 */
@media (min-width: 601px) and (max-width: 900px) {
    body.home .a60-home {
        margin-top: -1.75rem !important;
    }
}

/*
 * En móviles se conserva una separación mínima y segura.
 */
@media (max-width: 600px) {
    body.home .a60-home {
        margin-top: -0.75rem !important;
    }
}

/*
 * Garantiza que el primer bloque no añada otro margen.
 */
body.home .a60-home > .a60-hero:first-child {
    margin-top: 0 !important;
}

/*
 * Mantiene muy próxima la sección siguiente.
 */
body.home .a60-home .a60-hero + .a60-section {
    padding-top: 0.5rem !important;
}