/* ========================================
   AMOG - HOME
   ======================================== */

/* Elimina el espacio que Astra añade a la página de inicio */
body.home.ast-page-builder-template .site-main > article {
    padding: 0 !important;
}

/* Hace que el contenido de la Home use todo el ancho */
body.home .ast-container {
    max-width: 100%;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
}

/* Elimina separación vertical extra en la Home */
body.home .site-content {
    padding-top: 0;
}

body.home .site-main {
    margin-top: 0;
}
/* =========================================
   HERO AMOG
   ========================================= */

/* Altura del Hero AMOG en escritorio */
@media (min-width: 769px) {
    body.home .wp-block-cover.amog-hero {
        min-height: 520px !important;
        overflow: hidden;
    }
}

/* Imagen de la libélula */
body.home .wp-block-cover img.wp-block-cover__image-background {
    position: absolute !important;

   width: 55% !important;
height: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    min-height: 0 !important;

    top: 50% !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;

    transform: translate(-50%, -50%) !important;

    object-fit: contain !important;
    object-position: center center !important;
}

/* =========================================
   HERO AMOG - AJUSTES PARA CELULAR
   ========================================= */

@media (max-width: 768px) {

    /* Altura del Hero */
    body.home .amog-hero {
        min-height: 450px !important;
        overflow: hidden !important;
    }

    /* Libélula */
    body.home .amog-hero img.wp-block-cover__image-background {
        position: absolute !important;

        width: 82% !important;
        height: auto !important;
        max-width: none !important;
        min-width: 0 !important;
        min-height: 0 !important;

        top: 54% !important;
        left: 50% !important;
        right: auto !important;
        bottom: auto !important;

        transform: translate(-50%, -50%) !important;

        object-fit: contain !important;
        object-position: center center !important;
    }

    /* Título del Hero */
    body.home .amog-hero .wp-block-cover__inner-container h1  {
        position: absolute !important;

        top: 95px !important;
        left: 50% !important;

        width: 90% !important;
        max-width: 360px !important;

        transform: translateX(-50%) !important;

        margin: 0 !important;

        font-size: 34px !important;
        line-height: 0.95 !important;
        letter-spacing: -1px !important;

        text-align: center !important;
        white-space: normal !important;

        z-index: 2 !important;
    }
}
/* ==========================================
   TEXTO HERO AMOG
   ========================================== */

/* ==========================================
   TEXTO HERO AMOG
   ========================================== */

body.home .amog-hero .wp-block-cover__inner-container {
    position: absolute !important;
    top: 65px !important;
    left: 0 !important;

    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 40px !important;

    z-index: 2;
}

body.home .amog-hero h1 {
    margin: 0 auto !important;
position: relative !important;
top: 60px !important;


    color: #111111 !important;

    font-size: clamp(42px, 5vw, 76px) !important;
    font-weight: 500 !important;
    line-height: 0.92 !important;
    letter-spacing: -0.04em !important;

    text-align: center;
}

/* AMOG - Posición del título principal */
body.home .entry-content > h1.wp-block-heading {
    position: relative !important;
    top: 60px !important;
    z-index: 3;
}
/* =========================================
   TARJETAS DE COLECCIONES
   ========================================= */

.amog-collection-card {
    min-height: 520px;
    position: relative;
    overflow: hidden;
}

.amog-collection-card .wp-block-cover__background {
    background-color: #000000 !important;
    opacity: 0.18 !important;
}

body.home .amog-collection-card .wp-block-cover__inner-container {
    position: absolute !important;

    top: auto !important;
    right: auto !important;
    bottom: 28px !important;
    left: 32px !important;

    width: calc(100% - 64px) !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;

    z-index: 2 !important;
}
body.home .amog-collection-card p {
    margin: 0 !important;
    text-align: left !important;
    color: #ffffff !important;
    font-size: 34px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    letter-spacing: -0.03em !important;
}
.amog-collection-card p {
    text-align: left !important;
}

.amog-collection-card p,
.amog-collection-card h2,
.amog-collection-card h3 {
    margin: 0 !important;
    color: #ffffff !important;
    font-size: 34px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    letter-spacing: -0.03em !important;
}
/* =========================================
   AMOG — TARJETAS DE COLECCIONES
   ========================================= */

body.home .amog-collection-card {
    position: relative !important;

    min-height: unset !important;
    height: auto !important;

    aspect-ratio: 3 / 4 !important;

    overflow: hidden !important;
}

/* Contenedor interno */
body.home .amog-collection-card .wp-block-cover__inner-container {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Nombre de la colección */
body.home .amog-collection-card .wp-block-cover__inner-container p {
    position: absolute !important;
    left: 34px !important;
    bottom: 28px !important;
    top: auto !important;
    right: auto !important;

    margin: 0 !important;

    color: #ffffff !important;
    font-size: 30px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    text-align: left !important;

    z-index: 3 !important;
}
/* =========================================
   AMOG — SECCIÓN COLECCIONES
   ========================================= */

body.home .amog-disciplines {
    max-width: 1280px;
    margin: 0 auto;
    padding: 80px 32px 100px;
}

/* Separación entre columnas */
body.home .amog-disciplines .wp-block-columns {
    gap: 24px !important;
    margin-bottom: 24px !important;
}

/* Evita espacio extra después de la última fila */
body.home .amog-disciplines .wp-block-columns:last-of-type {
    margin-bottom: 0 !important;
}
/* =========================================
   TÍTULO SECCIÓN COLECCIONES
   ========================================= */

body.home .amog-disciplines > h2 {
    margin: 0 0 36px 0 !important;

    font-size: clamp(36px, 4vw, 58px) !important;
    font-weight: 500 !important;
    line-height: 0.95 !important;
    letter-spacing: -0.04em !important;

    color: #111111 !important;
}
@media (max-width: 768px) {

    /* Sección Colecciones */
    body.home .amog-disciplines{
        padding: 56px 20px 72px !important;
    }

    /* Título */
    body.home .amog-disciplines > h2 {
        font-size: 38px !important;
        line-height: 0.95 !important;
        margin-bottom: 28px !important;
        letter-spacing: -0.03em !important;
    }

    /* Una tarjeta por fila */
    body.home .amog-disciplines .wp-block-column {
    width: 100% !important;
    margin: 0 0 10px 0 !important;
}

    body.home .amog-disciplines .wp-block-column {
        width: 100% !important;
        margin: 0 0 12px 0 !important;
    }

    /* Tarjetas más compactas en móvil */
    body.home .amog-collection-card {
        width: 100% !important;
        aspect-ratio: 4 / 5 !important;
        min-height: 0 !important;
    }

    /* Texto de cada colección */
    body.home .amog-collection-card .wp-block-cover__inner-container p {
        left: 20px !important;
        bottom: 20px !important;
        font-size: 24px !important;
}       
/* Cierra @media móvil */
}
/* =========================================
   AMOG - DISCIPLINA SPORT
   ========================================= */

/* SPORT - escritorio */
@media (min-width: 769px) {

    body.home .amog-disciplines .amog-collection-card.amog-discipline-sport {
        width: 100% !important;
        height: 420px !important;
        min-height: 0 !important;
        max-height: 420px !important;
        aspect-ratio: auto !important;
        overflow: hidden !important;
    }

}

/* SPORT - móvil */
@media (max-width: 768px) {

    body.home .amog-disciplines .amog-collection-card.amog-discipline-sport {
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        aspect-ratio: 4 / 5 !important;
        overflow: hidden !important;
    }

}
/* =========================================
   AMOG - PRODUCTO INDIVIDUAL
   Estructura general
   ========================================= */

.single-product .site-main {
    padding-top: 48px;
}

.single-product div.product {
    max-width: 1180px;
    margin: 0 auto;
}

.single-product div.product .woocommerce-product-gallery {
    width: 52%;
}

.single-product div.product .summary {
    width: 42%;
    margin-top: 0;
}

.single-product div.product .product_title {
    font-size: 34px;
    line-height: 1.1;
    margin-bottom: 14px;
}

.single-product div.product p.price,
.single-product div.product span.price {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 28px;
}

.single-product div.product .product_meta {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid rgba(0, 0, 0, 0.12);
}

@media (max-width: 768px) {

    .single-product .site-main {
        padding-top: 24px;
    }

    .single-product div.product .woocommerce-product-gallery,
    .single-product div.product .summary {
        width: 100%;
        float: none;
    }

    .single-product div.product .summary {
        margin-top: 28px;
    }

    .single-product div.product .product_title {
        font-size: 30px;
    }

}
/* =========================================
   AMOG - PRODUCTO
   Selectores y botón de compra
   ========================================= */

/* Etiquetas Talla / Color */
.single-product div.product form.cart .variations label {
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.02em;
    color: #111;
}

/* Selectores */
.single-product div.product form.cart .variations select {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid #d8d8d8;
    border-radius: 0;
    background-color: #fff;
    color: #111;
    font-size: 14px;
}

/* Espacio entre atributos */
.single-product div.product form.cart .variations td {
    padding-bottom: 14px;
}

/* Cantidad */
.single-product div.product form.cart .quantity .qty {
    height: 52px;
    border-radius: 0;
    border: 1px solid #d8d8d8;
}

/* Botón principal */
.single-product div.product form.cart .single_add_to_cart_button {
    min-height: 52px;
    padding: 0 32px !important;
    border-radius: 0 !important;

    background: #33FFCC !important;
    color: #111 !important;

    font-weight: 600 !important;
    font-size: 14px !important;
    letter-spacing: 0.04em;
    text-transform: uppercase;

    transition:
        transform 0.2s ease,
        background-color 0.2s ease;
}

/* Hover */
.single-product div.product form.cart .single_add_to_cart_button:hover {
    background: #111 !important;
    color: #fff !important;
    transform: translateY(-1px);
}
/* =========================================
   AMOG - BOTONES DE TALLA
   ========================================= */

.single-product .amog-size-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.single-product .amog-size-button {
    min-width: 52px;
    height: 44px;
    padding: 0 14px;

    border: 1px solid #cfcfcf;
    background: #fff;
    color: #111;

    font-size: 13px;
    font-weight: 600;
    cursor: pointer;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}

.single-product .amog-size-button:hover {
    border-color: #111;
}

.single-product .amog-size-button.is-active {
    background: #111;
    color: #fff;
    border-color: #111;
}
/* =========================================
   AMOG - SWATCHES DE COLOR
   ========================================= */

.single-product .amog-color-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.single-product .amog-color-swatch {
    display: flex;
    align-items: center;
    gap: 8px;

    min-height: 44px;
    padding: 7px 14px;

    background: #fff;
    border: 1px solid #cfcfcf;
    color: #111;

    cursor: pointer;
    font-size: 13px;
    font-weight: 500;

    transition:
        border-color 0.2s ease,
        background-color 0.2s ease;
}

.single-product .amog-color-swatch:hover {
    border-color: #111;
}

.single-product .amog-color-swatch.is-active {
    border: 2px solid #111;
    padding: 6px 13px;
}

.single-product .amog-color-sample {
    display: block;
    width: 20px;
    height: 20px;

    border-radius: 50%;
    border: 1px solid #bdbdbd;

    flex-shrink: 0;
    background-repeat: no-repeat;
}
/* =========================================
   AMOG - FICHA DE PRODUCTO
   Ocultar tabla técnica de atributos
   ========================================= */

.single-product .woocommerce-product-attributes {
    display: none !important;
}

.single-product .woocommerce-Tabs-panel--additional_information {
    display: none !important;
}
/* =========================================
   AMOG - INFORMACIÓN DE PRODUCTO
   ========================================= */

.single-product .amog-product-info {
    width: 100%;
    max-width: 1100px;
    margin: 50px auto 20px;
}

/* DISCIPLINAS */
.single-product .amog-disciplines-product {
    margin-bottom: 28px;
}

.single-product .amog-disciplines-product h3 {
    margin: 0 0 6px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.4px;
}

.single-product .amog-disciplines-product .amog-info-content {
    font-size: 14px;
    opacity: 0.75;
}


/* =========================================
   ACORDEONES
   ========================================= */

.single-product .amog-accordions {
    width: 100%;
    border-top: 1px solid #dcdcdc;
}

.single-product .amog-accordion {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #dcdcdc;
}

/* CABECERA */
.single-product .amog-accordion summary {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;
    padding: 18px 0;

    cursor: pointer;
    list-style: none;

    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.3px;

    outline: none;
}

/* Quitar flecha nativa */
.single-product .amog-accordion summary::-webkit-details-marker {
    display: none;
}

.single-product .amog-accordion summary::marker {
    display: none;
    content: "";
}


/* SIGNO + */
.single-product .amog-accordion-icon {
    font-size: 20px;
    font-weight: 300;
    line-height: 1;

    transition: transform 0.25s ease;
}


/* Al abrir, convertir + en × */
.single-product .amog-accordion[open] .amog-accordion-icon {
    transform: rotate(45deg);
}


/* CONTENIDO */
.single-product .amog-accordion-content {
    padding: 0 0 20px;

    max-width: 750px;

    font-size: 14px;
    line-height: 1.7;
    opacity: 0.75;
}

.single-product .amog-accordion-content p {
    margin: 0;
}


/* Evitar borde negro de Astra/navegador */
.single-product .amog-accordion summary:focus,
.single-product .amog-accordion summary:focus-visible {
    outline: none;
    box-shadow: none;
}


/* =========================================
   MÓVIL
   ========================================= */

@media (max-width: 768px) {

    .single-product .amog-product-info {
        margin-top: 35px;
    }

    .single-product .amog-accordion summary {
        padding: 16px 0;
    }

}
/* =========================================
   AMOG - AJUSTE EDITORIAL INFO PRODUCTO
   ========================================= */

/* Contenedor general */
.single-product .amog-product-info {
    width: calc(100% - 40px);
    max-width: 920px;
    margin: 45px auto 30px;
}

/* Disciplinas */
.single-product .amog-disciplines-product {
    margin-bottom: 24px;
}

.single-product .amog-disciplines-product h3 {
    margin-bottom: 7px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.single-product .amog-disciplines-product .amog-info-content {
    font-size: 13px;
    line-height: 1.5;
    opacity: 0.7;
}

/* Acordeones */
.single-product .amog-accordions {
    width: 100%;
}

.single-product .amog-accordion summary {
    padding: 17px 0;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.15px;
}

/* + / × */
.single-product .amog-accordion-icon {
    font-size: 18px;
    margin-left: 20px;
}

/* Texto desplegado */
.single-product .amog-accordion-content {
    max-width: 680px;
    padding: 0 35px 19px 0;

    font-size: 13px;
    line-height: 1.65;
    opacity: 0.68;
}


/* MÓVIL */
@media (max-width: 768px) {

    .single-product .amog-product-info {
        width: calc(100% - 32px);
        margin: 32px auto 20px;
    }

    .single-product .amog-disciplines-product {
        margin-bottom: 20px;
    }

    .single-product .amog-accordion summary {
        padding: 16px 0;
    }

    .single-product .amog-accordion-content {
        padding-right: 15px;
    }
}
/* =========================================
   AMOG - GUÍA DE TALLAS
   Imagen "Cómo medirte"
   ========================================= */

.single-product .amog-size-guide-image {
    margin-top: 24px;
}

.single-product .amog-size-guide-image h4 {
    margin: 0 0 12px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.single-product .amog-size-guide-image img {
    display: block;
    width: 100%;
    max-width: 420px;
    height: auto;
    margin: 0 auto;
    box-shadow: none;
}
/* =========================================
   AMOG - AJUSTE ESPACIADO GUÍA DE TALLAS
   ========================================= */

.single-product .amog-size-guide-image {
    margin-top: 18px;
}

.single-product .amog-size-guide-image h4 {
    margin-bottom: 10px;
}

.single-product .amog-size-guide-image img {
    margin: 0;
    max-width: 380px;
}

/* Evitar demasiado espacio al final del acordeón */
.single-product .amog-size-guide-public {
    padding-bottom: 4px;
}

/* Nota de guía */
.single-product .amog-size-guide-note {
    margin: 14px 0 0;
    font-size: 12px;
    line-height: 1.6;
    opacity: 0.7;
}
/* =========================================
   AMOG - GUÍA DE TALLAS EN MÓVIL
   Scroll horizontal
   ========================================= */

@media (max-width: 768px) {

    .single-product .amog-size-guide-table-wrap {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .single-product .amog-size-guide-table {
        min-width: 620px;
        width: 100%;
        border-collapse: collapse;
    }

}
/* Mantener fija la primera columna en móvil */
@media (max-width: 768px) {

    .single-product .amog-size-guide-table th:first-child,
    .single-product .amog-size-guide-table td:first-child {
        position: sticky;
        left: 0;
        z-index: 2;
        background: #fff;
    }

    .single-product .amog-size-guide-table th:first-child {
        z-index: 3;
    }

}

/* ==========================================
   AMOG - FOOTER
   ========================================== */

.amog-footer {
    width: 100%;
    background: #111;
    color: #fff;
    margin-top: 40px;
}

.amog-footer-inner {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 70px 0 28px;
}

/* Marca */

.amog-footer-brand {
    margin-bottom: 55px;
}

.amog-footer-logo {
    font-size: 25px;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.2;
}

.amog-footer-brand p {
    margin: 8px 0 0;
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    opacity: 0.7;
}

/* Columnas */

.amog-footer-columns {
    display: grid;
    grid-template-columns: 2fr 1.3fr 1fr;
    gap: 70px;
    padding-bottom: 60px;
}

.amog-footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.amog-footer-column h3 {
    color: #fff;
    margin: 0 0 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.16em;
}

.amog-footer-column a {
    display: block;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 8px;
    opacity: 0.72;
    transition: opacity 0.2s ease;
}

.amog-footer-column a:hover {
    color: #fff;
    opacity: 1;
}

/* Parte inferior */

.amog-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.amog-footer-bottom p {
    margin: 0;
    color: #fff;
    font-size: 11px;
    opacity: 0.6;
}

.amog-footer-legal {
    display: flex;
    align-items: center;
    gap: 25px;
}

.amog-footer-legal a {
    color: #fff;
    text-decoration: none;
    font-size: 11px;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.amog-footer-legal a:hover {
    color: #fff;
    opacity: 1;
}


/* ==========================================
   AMOG - FOOTER MÓVIL
   ========================================== */

@media (max-width: 768px) {

    .amog-footer {
        margin-top: 60px;
    }

    .amog-footer-inner {
        width: 88%;
        padding: 50px 0 25px;
    }

    .amog-footer-brand {
        margin-bottom: 45px;
    }

    .amog-footer-logo {
        font-size: 21px;
    }

    .amog-footer-brand p {
        font-size: 10px;
        letter-spacing: 0.14em;
    }

    .amog-footer-columns {
        grid-template-columns: 1fr;
        gap: 38px;
        padding-bottom: 45px;
    }

    .amog-footer-column h3 {
        margin-bottom: 14px;
    }

    .amog-footer-column a {
        font-size: 13px;
        margin-bottom: 7px;
    }

    .amog-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .amog-footer-legal {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* ==========================================
   AMOG - ACORDEONES DEL FOOTER
   Escritorio
   ========================================== */

.amog-footer-accordion-toggle {
    width: auto;
    padding: 0;
    margin: 0 0 20px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #fff;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.16em;
    text-align: left;
    cursor: default;
    box-shadow: none;
}

.amog-footer-accordion-toggle:hover,
.amog-footer-accordion-toggle:focus {
    background: transparent;
    color: #fff;
    border: 0;
    box-shadow: none;
}

.amog-footer-accordion-icon {
    display: none;
}

.amog-footer-accordion-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}


/* ==========================================
   AMOG - ACORDEONES DEL FOOTER EN MÓVIL
   ========================================== */

@media (max-width: 768px) {

    .amog-footer-accordion {
        width: 100%;
        gap: 0;
    }

    .amog-footer-accordion-toggle {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin: 0;
        padding: 16px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.18);
        cursor: pointer;
    }

    .amog-footer-accordion:last-of-type {
        border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    }

    .amog-footer-accordion-icon {
        display: block;
        font-size: 20px;
        font-weight: 300;
        line-height: 1;
        letter-spacing: 0;
    }

    .amog-footer-accordion-content {
        display: none;
        padding: 4px 0 8px;
    }

    .amog-footer-accordion.is-open
    .amog-footer-accordion-content {
        display: flex;
    }

}

/* ==========================================
   AMOG - CHECKOUT MÓVIL
   Base visual
   ========================================== */

@media (max-width: 768px) {

    /* Contenedor general */
    body.woocommerce-checkout .site-content {
        padding-left: 18px;
        padding-right: 18px;
    }

    /* Título principal */
    body.woocommerce-checkout h1 {
        font-size: 28px;
        line-height: 1.1;
        margin-bottom: 32px;
        letter-spacing: -0.02em;
    }

    /* Títulos de secciones */
    body.woocommerce-checkout h2,
    body.woocommerce-checkout h3 {
        font-size: 19px;
        line-height: 1.25;
        margin-top: 28px;
        margin-bottom: 16px;
    }

    /* Campos a una sola columna */
    body.woocommerce-checkout .form-row-first,
    body.woocommerce-checkout .form-row-last {
        width: 100% !important;
        float: none !important;
    }

    /* Separación entre campos */
   body.woocommerce-checkout .form-row {
    margin-bottom: 16px !important;
}
body.woocommerce-checkout .form-row-first,
body.woocommerce-checkout .form-row-last {
    margin-bottom: 16px !important;
}
    /* Inputs y selectores */
    body.woocommerce-checkout input.input-text,
    body.woocommerce-checkout select,
    body.woocommerce-checkout textarea {
        width: 100%;
        min-height: 52px;
        padding: 12px 14px;
        border: 1px solid #cfcfcf;
        border-radius: 3px;
        background: #fff;
        font-size: 16px;
        box-shadow: none;
    }

    /* Evita zoom automático de iPhone en inputs */
    body.woocommerce-checkout input,
    body.woocommerce-checkout select,
    body.woocommerce-checkout textarea {
        font-size: 16px;
    }

}
/* Separación entre filas de campos del checkout */
@media (max-width: 768px) {

    body.woocommerce-checkout
    .wc-block-components-address-form {
        row-gap: 12px;
    }

    body.woocommerce-checkout
    .wc-block-components-address-form
    > div {
        margin-bottom: 8px;
    }

}


/* ==========================================
   AMOG - CHECKOUT
   Espacio antes de País / Región
   ========================================== */


/* =========================================
   AMOG - HERO
   Entrada de la libélula
   ========================================= */

.amog-hero {
    animation: amogHeroEntrada 1.2s ease-out both;
    transform-origin: center center;
}

@keyframes amogHeroEntrada {
    0% {
        opacity: 0;
        transform: scale(0.92);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* =====================================
   AMOG - Animación del título principal
===================================== */

body.home .entry-content > h1.wp-block-heading {
    animation: amogTituloEntrada 1.2s ease-out both;
    animation-delay: 0.15s;
}

@keyframes amogTituloEntrada {
    0% {
        opacity: 0;
        transform: scale(0.92);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    body.home .entry-content > h1.wp-block-heading {
        animation: none;
    }
}

/* AMOG - Acercar título y libélula en móvil */

@media (max-width: 767px) {
    body.home .amog-hero {
        margin-top: -35px !important;
        min-height: 320px !important;
    }
}

/* AMOG - Tamaño del título en escritorio */

@media (min-width: 768px) {

    body.home .entry-content > h1.wp-block-heading {
        font-size: 46px !important;
        line-height: 1.1 !important;
        text-align: center !important;
    }

}

/* AMOG - Refinamiento del Hero en escritorio */

@media (min-width: 768px) {

    body.home .entry-content > h1.wp-block-heading {
        position: relative;
        top: -30px;
        margin-bottom: -10px !important;
    }

}


/* AMOG | Tarjetas de categorías de TIENDA */

.amog-shop-card {
    overflow: hidden;
    cursor: pointer;
    transition: filter 0.35s ease;
}

@media (hover: hover) {
    .amog-shop-card:hover {
        filter: brightness(1.07);
    }
}


/* AMOG | Tipografía de categorías TIENDA */

.amog-shop-card .wp-block-cover__inner-container p {
    font-size: clamp(18px, 2vw, 26px);
    font-weight: 400;
    letter-spacing: 0.12em;
    line-height: 1.3;
    text-transform: uppercase;
    color: #ffffff;
    text-align: center;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
    margin: 0;
}



/* AMOG | Ajuste de fotografía de TOPS */

.amog-shop-tops {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}


/* AMOG | Fotografías de categorías TIENDA */

body.home .amog-shop-card img.wp-block-cover__image-background {
    position: absolute !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    max-width: none !important;

    top: 0 !important;
    left: 0 !important;
    right: auto !important;
    bottom: auto !important;

    transform: none !important;

    object-fit: cover !important;
    object-position: center center !important;
}


/* AMOG | TIENDA - Dos columnas en móvil */

@media (max-width: 767px) {

    /* Filas de categorías de tienda */
    body.home .wp-block-columns:has(> .wp-block-column > .amog-shop-card) {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 10px !important;
        margin-bottom: 10px !important;
    }

    /* Cada categoría ocupa la mitad */
    body.home .wp-block-columns:has(> .wp-block-column > .amog-shop-card) > .wp-block-column {
        flex: 1 1 0 !important;
        min-width: 0 !important;
        margin: 0 !important;
    }

    /* Tarjetas verticales */
    body.home .amog-shop-card {
        aspect-ratio: 3 / 4 !important;
        min-height: 0 !important;
        padding: 0 !important;
    }

    /* Fotografías cubriendo la tarjeta */
    body.home .amog-shop-card img.wp-block-cover__image-background {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center center !important;
    }

    /* Nombres adaptados al móvil */
    body.home .amog-shop-card .wp-block-cover__inner-container p {
font-size: clamp(14px, 3.8vw, 17px) !important;
letter-spacing: 0.04em !important;
        line-height: 1.2 !important;
    }
}

/* AMOG | Espaciado uniforme de TIENDA en móvil */

@media (max-width: 767px) {

    body.home .wp-block-columns:has(> .wp-block-column > .amog-shop-card) {
        gap: 10px !important;
        margin-bottom: 10px !important;
    }

    body.home .wp-block-columns:has(> .wp-block-column > .amog-shop-card)
    > .wp-block-column {
        margin-bottom: 0 !important;
    }

    body.home .wp-block-columns:has(> .wp-block-column > .amog-shop-card)
    + .wp-block-columns:has(> .wp-block-column > .amog-shop-card) {
        margin-top: 0 !important;
    }
}



/* AMOG | DISCIPLINAS - Distribución horizontal */

body.home .amog-disciplines {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 12px !important;
    align-items: stretch !important;
}

/* Encabezado en toda la primera fila */
body.home .amog-disciplines > h2 {
    grid-column: 1 / -1 !important;
    margin-bottom: 12px !important;
}

/* Mantener las columnas originales sin sus contenedores */
body.home .amog-disciplines > .wp-block-columns {
    display: contents !important;
}

/* Una tarjeta por columna */
body.home .amog-disciplines > .wp-block-columns > .wp-block-column {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    flex: none !important;
}

/* Tarjetas compactas */
body.home .amog-disciplines .amog-collection-card {
    width: 100% !important;
    min-height: 0 !important;
    aspect-ratio: 3 / 4 !important;
    padding: 0 !important;
    overflow: hidden !important;
}


/* AMOG | DISCIPLINAS - Altura uniforme */

@media (min-width: 768px) {

    body.home .amog-disciplines > .wp-block-columns > .wp-block-column {
        align-self: stretch !important;
        height: auto !important;
    }

    body.home .amog-disciplines .amog-collection-card {
        box-sizing: border-box !important;
        width: 100% !important;
        height: 100% !important;
        min-height: 0 !important;
        aspect-ratio: 3 / 4 !important;
        margin: 0 !important;
    }

    body.home .amog-disciplines .amog-discipline-sport {
        height: 100% !important;
        min-height: 0 !important;
    }
}

/* AMOG | Distribución uniforme de disciplinas */

@media (min-width: 769px) {

    body.home .amog-disciplines {
        display: grid !important;
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
        gap: 10px !important;
        align-items: stretch !important;
    }

    body.home .amog-disciplines > h2 {
        grid-column: 1 / -1 !important;
        margin-bottom: 12px !important;
    }

body.home .amog-disciplines .amog-disciplines-track {
    display: contents !important;
}

body.home .amog-disciplines .amog-disciplines-track > .wp-block-columns {
    display: contents !important;
}

    body.home .amog-disciplines > .wp-block-columns > .wp-block-column {
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        height: auto !important;
        margin: 0 !important;
        flex: none !important;
    }

    body.home .amog-disciplines .amog-collection-card {
        width: 100% !important;
        height: 100% !important;
        min-height: 0 !important;
        max-height: none !important;
        aspect-ratio: 3 / 4 !important;
        margin: 0 !important;
    }

    body.home .amog-disciplines .amog-collection-card.amog-discipline-sport {
        width: 100% !important;
        height: 100% !important;
        min-height: 0 !important;
        max-height: none !important;
        aspect-ratio: 3 / 4 !important;
    }
}

/* AMOG | Disciplinas: carrusel horizontal móvil */

@media (max-width: 768px) {

/* Contenedor principal: título fuera del desplazamiento */
body.home .amog-disciplines {
    display: block !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
}

/* Carrusel: solo se desplazan las tarjetas */
body.home .amog-disciplines .amog-disciplines-track {
    display: grid !important;
    grid-template-columns: repeat(5, 42vw) !important;
    gap: 10px !important;

    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;

    padding: 0 12px 15px !important;
    box-sizing: border-box;
}

 body.home .amog-disciplines .amog-disciplines-track > .wp-block-columns {
    display: contents !important;
}

    body.home .amog-disciplines > h2 {
        grid-column: 1 / -1 !important;
        position: sticky;
        left: 0;
        margin-bottom: 12px !important;
    }


 body.home .amog-disciplines .amog-disciplines-track > .wp-block-columns > .wp-block-column {
        width: 42vw !important;
        min-width: 42vw !important;
        max-width: 42vw !important;
        margin: 0 !important;
        flex: none !important;
        scroll-snap-align: start;
    }

    body.home .amog-disciplines .amog-collection-card,
    body.home .amog-disciplines .amog-collection-card.amog-discipline-sport {
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        aspect-ratio: 3 / 4 !important;
        margin: 0 !important;
    }

    body.home .amog-disciplines .amog-collection-card p {
        font-size: 13px !important;
        line-height: 1.2 !important;
        overflow-wrap: normal !important;
        word-break: normal !important;
    }
}
/* AMOG | Alineación del título de disciplinas en móvil */

@media (max-width: 768px) {
    body.home .amog-disciplines > h2 {
        padding-left: 20px !important;
        padding-right: 20px !important;
        box-sizing: border-box !important;
    }
}


/* AMOG | Prueba de separación en móvil */
@media (max-width: 768px) {
    body.home .amog-shop {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    body.home .amog-disciplines {
        margin-top: 0 !important;
    }
}

/* AMOG | Fotografías a pantalla completa en DISCIPLINAS */
body.home .amog-disciplines .amog-collection-card {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

body.home .amog-disciplines .amog-collection-card
.wp-block-cover__image-background {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
}

/* AMOG | Reducir espacio antes del footer */
body.home .amog-disciplines {
    margin-bottom: -24px !important;
}

/* AMOG | Reducir espacio inferior de DISCIPLINAS en móvil */
@media (max-width: 768px) {
    body.home .amog-disciplines {
        margin-bottom: -100px !important;
    }
}

/* AMOG | Alinear título DISCIPLINAS en móvil */
@media (max-width: 768px) {
    body.home .amog-disciplines > h2 {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}
/* AMOG | Igualar títulos TIENDA y DISCIPLINAS en móvil */
@media (max-width: 768px) {
    body.home .amog-disciplines > h2 {
        font-size: 22px !important;
        line-height: 1.3 !important;
        font-weight: 600 !important;
        letter-spacing: 0 !important;
    }
}
/* AMOG | Igualar títulos TIENDA y DISCIPLINAS en escritorio */
@media (min-width: 769px) {
    body.home .amog-disciplines > h2 {
        font-size: 28px !important;
        line-height: 1.3 !important;
        font-weight: 600 !important;
        letter-spacing: 0 !important;
    }
}


/* =========================================
   AMOG | Encabezado fijo
   Computadora y móvil
========================================= */

#masthead {
    position: sticky !important;
    top: 0;
    z-index: 9999;
    background-color: #ffffff;
    width: 100%;
}

/* Evitar que el contenido quede sobre el menú */
#masthead .main-header-bar {
    background-color: #ffffff;
}

/* Ajuste cuando WordPress muestra la barra de administración */
body.admin-bar #masthead {
    top: 32px;
}

@media (max-width: 782px) {
    body.admin-bar #masthead {
        top: 46px;
    }
}


/* =========================================
   AMOG - DISPONIBILIDAD DE VARIACIONES
   ========================================= */

/* Opciones no disponibles */
.single-product .amog-size-button.is-unavailable,
.single-product .amog-color-swatch.is-unavailable {
    position: relative;
    opacity: 0.38;
    filter: grayscale(65%);
}

/* Diagonal sobre tallas no disponibles */
.single-product .amog-size-button.is-unavailable {
    overflow: hidden;
}

.single-product .amog-size-button.is-unavailable::after {
    content: "";
    position: absolute;
    top: 50%;
    left: -15%;
    width: 130%;
    height: 1.5px;
    background: #777;
    transform: rotate(-35deg);
    pointer-events: none;
}

/* Diagonal sobre la muestra de color */
.single-product .amog-color-swatch.is-unavailable
.amog-color-sample {
    position: relative;
    overflow: hidden;
}

.single-product .amog-color-swatch.is-unavailable
.amog-color-sample::after {
    content: "";
    position: absolute;
    top: 50%;
    left: -20%;
    width: 140%;
    height: 2px;
    background: #777;
    transform: rotate(-45deg);
    pointer-events: none;
}

/* Mantener la posibilidad de cambiar de opción */
.single-product .amog-size-button.is-unavailable,
.single-product .amog-color-swatch.is-unavailable {
    cursor: pointer;
}
