/* Ajustes AlphaPC · Octubre 2026: carrusel y fichas de producto. */
/* Las flechas ocupan su propia fila, nunca encima del enlace Explorar tienda. */
.alpha-offers-section .alpha-offers-controls{
    display:flex;justify-content:flex-end;align-items:center;
    gap:12px;position:static;z-index:auto;margin:0 0 18px;
    min-height:44px;
}
.alpha-offers-section .alpha-offers-heading{margin-bottom:18px}
.alpha-offers-section .alpha-offers-carousel{clear:both;min-width:0}
.alpha-offers-section .alpha-offers-carousel.alpha-no-offer-scroll .alpha-offers-controls{display:none}
@media(max-width:600px){
    .alpha-offers-section .alpha-offers-heading{flex-wrap:wrap;gap:10px;margin-bottom:16px}
    .alpha-offers-section .alpha-offers-heading>div{min-width:0;flex:1 1 100%}
    .alpha-offers-section .alpha-offers-heading .alpha-more{white-space:normal}
    .alpha-offers-section .alpha-offers-controls{margin:0 0 12px}
}
/* WooCommerce: pestañas con botones claros y contenido sin superposiciones. */
.single-product .woocommerce-tabs{
    clear:both;width:100%;max-width:100%;margin:48px 0 46px!important;
    padding:0;border:1px solid #e0e9df;border-radius:14px;overflow:hidden;
    box-shadow:0 9px 30px rgba(10,30,15,.055);background:#fff;
}
.single-product .woocommerce-tabs ul.tabs{
    display:flex!important;flex-wrap:wrap;gap:8px;
    align-items:stretch;margin:0!important;padding:16px 18px!important;
    list-style:none;background:#f3f7f1;border-bottom:1px solid #e0e9df;
    overflow:visible!important;
}
.single-product .woocommerce-tabs ul.tabs::before,
.single-product .woocommerce-tabs ul.tabs::after,
.single-product .woocommerce-tabs ul.tabs li::before,
.single-product .woocommerce-tabs ul.tabs li::after{display:none!important;content:none!important}
.single-product .woocommerce-tabs ul.tabs li{
    float:none!important;position:static!important;display:block!important;
    margin:0!important;padding:0!important;border:1px solid #d9e5d5!important;
    border-radius:8px!important;background:#fff!important;box-shadow:none!important;
}
.single-product .woocommerce-tabs ul.tabs li a{
    display:block;min-height:44px;padding:12px 23px!important;
    color:#25352a!important;font-weight:800!important;font-size:14px;
    text-decoration:none!important;white-space:normal;line-height:1.35;
}
.single-product .woocommerce-tabs ul.tabs li.active{
    background:#15251b!important;border-color:#15251b!important;
}
.single-product .woocommerce-tabs ul.tabs li.active a{color:#b7ff54!important}
.single-product .woocommerce-tabs ul.tabs li a:focus-visible{
    outline:3px solid #78bd15;outline-offset:3px;border-radius:7px;
}
.single-product .woocommerce-tabs .woocommerce-Tabs-panel{
    padding:28px 30px 36px!important;margin:0!important;
    min-width:0;max-width:100%;overflow-wrap:anywhere;line-height:1.75;
}
.single-product .woocommerce-tabs .woocommerce-Tabs-panel>h2:first-child{display:none}
.single-product .woocommerce-tabs .woocommerce-Tabs-panel h2{
    font-size:clamp(21px,2.5vw,29px)!important;line-height:1.2;margin:0 0 16px!important;
}
.single-product .woocommerce-tabs .woocommerce-Tabs-panel h3{
    font-size:19px;line-height:1.3;margin:24px 0 12px;
}
.single-product .woocommerce-tabs .woocommerce-Tabs-panel p{margin:0 0 15px}
.single-product .woocommerce-tabs .woocommerce-Tabs-panel ul{
    padding-left:22px;margin:10px 0 20px;
}
.single-product .woocommerce-tabs .woocommerce-Tabs-panel li{margin-bottom:8px}
.single-product .woocommerce-tabs .woocommerce-Tabs-panel img{
    max-width:100%;height:auto;object-fit:contain;
}
.single-product .alpha-specs-table{
    width:100%;max-width:100%;border-collapse:collapse!important;
    table-layout:fixed;border:1px solid #e3eae0;
}
.single-product .alpha-specs-table tr{border-bottom:1px solid #e3eae0}
.single-product .alpha-specs-table tr:nth-child(even){background:#f6f9f5}
.single-product .alpha-specs-table th,
.single-product .alpha-specs-table td{
    padding:14px 18px!important;text-align:left;vertical-align:top;
    border:0!important;overflow-wrap:anywhere;word-break:normal;
}
.single-product .alpha-specs-table th{width:36%;font-weight:800;color:#28402d}
.single-product .alpha-specs-table td{color:#303b33}
.single-product .alpha-specs h2{display:block!important}
/* Productos relacionados: sección siempre visible, tarjetas reales cuando haya existencias. */
.single-product .alpha-related-products{
    clear:both;max-width:100%;margin:34px 0 55px;padding:30px 0 0;
    border-top:1px solid #dfe8df;
}
.single-product .alpha-related-heading{
    display:flex;justify-content:space-between;align-items:flex-end;
    gap:20px;margin-bottom:22px;
}
.single-product .alpha-related-eyebrow{
    font-size:11px;font-weight:800;letter-spacing:.14em;color:#609717;
}
.single-product .alpha-related-heading h2{
    font:900 clamp(26px,3vw,36px)/1.12 "Barlow Condensed",sans-serif;
    margin:4px 0 6px;text-transform:uppercase;
}
.single-product .alpha-related-heading h2 span{color:#5d9d11}
.single-product .alpha-related-heading p{margin:0;color:#64736b;font-size:13px}
.single-product .alpha-related-controls{display:flex;gap:10px;flex:none}
.single-product .alpha-related-controls button{
    width:44px;height:44px;border-radius:50%;
    background:#15251b;color:#b7ff54;border:1px solid #36513a;
    font-size:28px;line-height:1;display:grid;place-items:center;
}
.single-product .alpha-related-controls button:disabled{
    opacity:.3;cursor:not-allowed;
}
.single-product .alpha-related-controls button:focus-visible,
.single-product .alpha-related-track:focus-visible{
    outline:3px solid #74b800;outline-offset:3px;
}
.single-product .alpha-related-track{
    display:grid;grid-auto-flow:column;
    grid-auto-columns:calc((100% - 48px)/4);gap:16px;overflow-x:auto;
    scroll-snap-type:x mandatory;scroll-behavior:smooth;
    padding:5px 3px 16px;overscroll-behavior-inline:contain;scrollbar-width:none;
}
.single-product .alpha-related-track::-webkit-scrollbar{display:none}
.single-product .alpha-related-card{
    min-width:0;display:flex;flex-direction:column;scroll-snap-align:start;
    background:#fff;border:1px solid #e0e9e0;border-radius:11px;
    overflow:hidden;transition:box-shadow .2s ease;
}
.single-product .alpha-related-card:hover{box-shadow:0 11px 29px #101c1320}
.single-product .alpha-related-image{
    display:flex;justify-content:center;align-items:center;
    aspect-ratio:1.3;background:#fff;padding:18px;
}
.single-product .alpha-related-image img{
    display:block;max-width:100%;max-height:100%;object-fit:contain;
}
.single-product .alpha-related-details{padding:16px;display:flex;flex-direction:column;flex:1}
.single-product .alpha-related-details h3{
    font-size:13px;line-height:1.45;margin:0 0 16px;flex:1;
}
.single-product .alpha-related-price{
    font-size:19px;font-weight:900;margin-bottom:12px;color:#1b251d;
}
.single-product .alpha-related-price ins{text-decoration:none;color:#356b0e}
.single-product .alpha-related-price del{font-size:13px;color:#8b948c;margin-right:7px}
.single-product .alpha-related-link{
    text-align:center;background:#a6ff00;color:#14220e;border-radius:6px;
    padding:11px 9px;font-size:12px;font-weight:900;
}
.single-product .alpha-related-empty{
    background:#f6f9f6;padding:22px;border:1px dashed #ccd9ca;
    border-radius:10px;color:#687769;font-size:14px;
}
@media(max-width:1050px){
    .single-product .alpha-related-track{grid-auto-columns:calc((100% - 28px)/3);gap:14px}
}
@media(max-width:760px){
    .single-product .woocommerce div.product div.images,
    .single-product .woocommerce div.product div.summary,
    .woocommerce.single-product div.product div.images,
    .woocommerce.single-product div.product div.summary{
        width:100%!important;float:none!important;clear:both;max-width:100%;min-width:0;
    }
    .single-product .woocommerce-tabs{margin:32px 0 30px!important}
    .single-product .woocommerce-tabs ul.tabs{padding:12px!important;gap:8px}
    .single-product .woocommerce-tabs ul.tabs li{flex:1 1 calc(50% - 4px);min-width:0}
    .single-product .woocommerce-tabs ul.tabs li a{
        text-align:center;padding:12px 8px!important;font-size:13px;min-height:45px;
    }
    .single-product .woocommerce-tabs .woocommerce-Tabs-panel{padding:23px 18px 25px!important}
    .single-product .alpha-related-track{grid-auto-columns:calc((100% - 12px)/2);gap:12px}
}
@media(max-width:520px){
    .single-product .woocommerce-tabs{border-radius:10px}
    .single-product .woocommerce-tabs ul.tabs{gap:6px;padding:10px!important}
    .single-product .woocommerce-tabs ul.tabs li{flex:1 1 calc(50% - 3px)}
    .single-product .woocommerce-tabs .woocommerce-Tabs-panel{padding:21px 15px 24px!important}
    .single-product .woocommerce-tabs .woocommerce-Tabs-panel h2{font-size:21px!important}
    .single-product .alpha-specs-table{border:0!important}
    .single-product .alpha-specs-table tr{display:grid;grid-template-columns:1fr;gap:0}
    .single-product .alpha-specs-table th,
    .single-product .alpha-specs-table td{display:block;width:100%;padding:9px 12px!important}
    .single-product .alpha-specs-table th{
        background:#edf3e9;color:#28402d;font-size:12px;
    }
    .single-product .alpha-specs-table td{font-size:13px}
    .single-product .alpha-related-heading{flex-wrap:wrap;gap:10px}
    .single-product .alpha-related-track{grid-auto-columns:min(82%,265px)}
    .single-product .alpha-related-controls{margin-left:auto}
    .single-product .alpha-related-products{margin-bottom:35px}
}
@media(prefers-reduced-motion:reduce){
    .single-product .alpha-related-track{scroll-behavior:auto}
}
