/* =========================================================
   POLERAS — UBICACIÓN DEL ESTAMPADO
========================================================= */

.turo-print-placement {
    margin: 18px 0 20px;
    padding: 0;
    border: 0;
    font-family: var(--turo-font-family, inherit);
}

.turo-print-placement__label {
    margin: 0;
    padding: 0;
    color: #111;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.25;
}

.turo-print-placement__label em {
    color: #e8504f;
    font-style: normal;
}

.turo-print-placement__intro {
    margin: 5px 0 11px;
    color: #737373;
    font-size: 12px;
    line-height: 1.45;
}

.turo-print-placement__options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}

.turo-print-placement__options--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.turo-print-placement__option {
    position: relative;
    margin: 0;
    cursor: pointer;
}

.turo-print-placement__option input {
    position: absolute;
    inline-size: 1px;
    block-size: 1px;
    opacity: 0;
    pointer-events: none;
}

.turo-print-placement__card {
    display: flex;
    min-height: 66px;
    padding: 12px 14px;
    border: 1.5px solid #dedede;
    border-radius: 14px;
    background: #fff;
    flex-direction: column;
    justify-content: center;
    transition: border-color .18s ease, background-color .18s ease, transform .18s ease;
}

.turo-print-placement__card strong {
    color: #111;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
}

.turo-print-placement__card small {
    margin-top: 3px;
    color: #777;
    font-size: 10px;
    font-weight: 500;
    line-height: 1.3;
}

.turo-print-placement__option:hover .turo-print-placement__card {
    border-color: #aaa;
}

.turo-print-placement__option input:checked + .turo-print-placement__card {
    border-color: #111;
    background: #f7f7f7;
    box-shadow: inset 0 0 0 1px #111;
}

.turo-print-placement__option input:focus-visible + .turo-print-placement__card {
    outline: 2px solid #111;
    outline-offset: 3px;
}

.turo-print-placement__dog-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #fff8b9;
    color: #111;
}

.turo-print-placement__dog-note > span {
    flex: 0 0 auto;
    margin-top: 1px;
    font-size: 12px;
}

.turo-print-placement__dog-note p {
    margin: 0;
    font-size: 11px;
    font-weight: 650;
    line-height: 1.45;
}

@media (max-width: 760px) {
    .turo-print-placement__options--three {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .turo-print-placement__card {
        min-height: 62px;
        padding: 11px 12px;
    }
}


/* =========================================================
   TURO'S DOG CLUB — COLOR DE TIRITAS
========================================================= */

.turo-dog-stripes {
    margin: 18px 0 20px;
    padding: 0;
    border: 0;
    font-family: var(--turo-font-family, inherit);
}

.turo-dog-stripes__swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.turo-dog-stripes__swatch {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 38px;
    margin: 0;
    padding: 8px 11px;
    border: 1.5px solid #dedede;
    border-radius: 999px;
    background: #fff;
    color: #111;
    cursor: pointer;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.turo-dog-stripes__swatch input {
    position: absolute;
    inline-size: 1px;
    block-size: 1px;
    opacity: 0;
    pointer-events: none;
}

.turo-dog-stripes__dot {
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
    border: 1px solid rgba(0, 0, 0, .12);
    border-radius: 50%;
    background: var(--stripe-color);
}

.turo-dog-stripes__swatch:has(input:checked) {
    border-color: #111;
    background: #f7f7f7;
    box-shadow: inset 0 0 0 1px #111;
}

.turo-dog-stripes__swatch:has(input:focus-visible) {
    outline: 2px solid #111;
    outline-offset: 2px;
}

@media (max-width: 480px) {
    .turo-dog-stripes__swatches {
        gap: 7px;
    }

    .turo-dog-stripes__swatch {
        min-height: 36px;
        padding: 7px 10px;
    }
}

/* =========================================================
   POLERAS — PRECIO + BOTÓN AL FINAL
========================================================= */

.single-product form.cart .turo-print-purchase-end {
    display: flex;
    width: 100%;
    margin-top: 18px;
    flex-direction: column;
    gap: 10px;
}

.single-product form.cart .turo-print-purchase-end .turo-purchase-price {
    width: 100% !important;
    margin: 0 !important;
    align-self: stretch !important;
}

.single-product form.cart .turo-print-purchase-end .single_add_to_cart_button,
.single-product form.cart .turo-print-purchase-end .turo-disabled-cart-trigger {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    float: none !important;
    clear: both !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    min-height: 50px;
    margin: 0 !important;
    padding: 0 28px;
    justify-self: stretch !important;
}

.single-product form.cart .turo-print-purchase-end .turo-disabled-cart-trigger[hidden] {
    display: none !important;
}

@media (max-width: 480px) {
    .single-product form.cart .turo-print-purchase-end {
        margin-top: 16px;
        gap: 9px;
    }

    .single-product form.cart .turo-print-purchase-end .single_add_to_cart_button,
    .single-product form.cart .turo-print-purchase-end .turo-disabled-cart-trigger {
        min-height: 48px;
    }
}

/* Cuando falta talla/modelo, product-selection.js muestra el botón auxiliar.
   Como ambos botones ahora viven al final, ocultamos el real hasta que corresponda. */
.single-product form.cart .turo-print-purchase-end:has(.turo-disabled-cart-trigger:not([hidden])) .single_add_to_cart_button {
    display: none !important;
}

.single-product form.cart .turo-print-purchase-end .turo-disabled-cart-trigger,
.single-product form.cart .turo-print-purchase-end .single_add_to_cart_button {
    order: 2;
}

.single-product form.cart .turo-print-purchase-end .turo-purchase-price {
    order: 1;
}

/* =========================================================
   POLERAS NORMALES — FLUJO DE COMPRA UNIFICADO
   Reutiliza el lenguaje visual de las personalizadas.
========================================================= */
.turo-print-placement__label {
    display: flex;
    align-items: center;
    gap: 8px;
}

.single-product .turo-normal-size-help {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 10px 0 22px;
    padding: 11px 13px;
    border-radius: 12px;
    background: #f5f7ef;
    color: #444;
    font-family: var(--turo-font-family, inherit);
    font-size: 11px;
    line-height: 1.4;
}

.single-product .turo-normal-size-help a {
    flex: 0 0 auto;
    color: #111;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.single-product .turo-normal-quantity-wrap {
    margin: 18px 0 8px;
    font-family: var(--turo-font-family, inherit);
}

.single-product .turo-normal-quantity-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 10px;
    color: #111;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.25;
}

.single-product .turo-normal-quantity-wrap .quantity {
    margin: 0 !important;
}

@media (max-width: 767px) {
    .single-product .turo-normal-size-help {
        display: block;
        margin-bottom: 20px;
        padding: 11px 12px;
    }

    .single-product .turo-normal-size-help a {
        display: inline-block;
        margin-top: 5px;
    }
}
