/*
Theme Name:     Delirio
Description:    Tema hijo de Blocksy para Delirio.
Author:         Trazotres
Template:       blocksy
Version:        0.2.0
Text Domain:    blocksy-delirio
*/

:root {
	--dl-ink: #0F1B26;
	--dl-muted: #55626E;
	--dl-line: #DDE2E7;
	--dl-azul: #002D54;
	--dl-azul-2: #00416C;
	--dl-pop: #FFBC0F;
	--theme-font-family: 'Archivo', sans-serif;
	--theme-button-border-radius: 0px;
	--theme-border-radius: 0px;
}

body { font-family: 'Archivo', sans-serif; color: var(--dl-ink); }
h1, h2, h3, h4, h5, h6, .product_title { font-family: 'Archivo', sans-serif; font-weight: 800; line-height: 1.05; letter-spacing: -0.01em; }

/* Botones */
.button, button.button, .single_add_to_cart_button, .wp-element-button {
	border-radius: 0 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.06em;
	font-weight: 700;
}

/* Ficha */
.single-product .product_title { text-transform: uppercase; font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem); }
.single-product .summary .price { color: var(--dl-azul); font-weight: 700; font-size: 1.5rem; }
.single-product .woocommerce-product-details__short-description { color: var(--dl-muted); max-width: 60ch; line-height: 1.6; }

.dl-fit { margin: 0 0 1rem; }
.dl-fit p { margin: 0 0 .4rem; font-size: .95rem; line-height: 1.5; }
.dl-fit__modelo { display: flex; align-items: center; gap: .5rem; color: var(--dl-ink); }
.dl-dot { width: .6rem; height: .6rem; border-radius: 50%; background: var(--dl-pop); flex: none; }
.dl-fit__ajuste { color: var(--dl-muted); }

.dl-envio { margin: .75rem 0 0; font-size: .9rem; color: var(--dl-muted); }

.dl-detalles { margin-top: 1.5rem; border-bottom: 1px solid var(--dl-line); }
.dl-detalles details { border-top: 1px solid var(--dl-line); }
.dl-detalles summary { cursor: pointer; list-style: none; padding: 1rem 0; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; display: flex; justify-content: space-between; }
.dl-detalles summary::-webkit-details-marker { display: none; }
.dl-detalles summary::after { content: '+'; font-weight: 400; font-size: 1.2rem; line-height: 1; }
.dl-detalles details[open] summary::after { content: '\2212'; }
.dl-detalles details p { margin: 0 0 1rem; color: var(--dl-muted); line-height: 1.6; max-width: 60ch; }
.dl-detalles a { color: var(--dl-azul); text-decoration: underline; }

/* Swatches: tallas rectas */
.ct-variation-swatches[data-swatches-type="button"] .ct-swatch-container,
.ct-variation-swatches[data-swatches-type="button"] .ct-swatch { border-radius: 0 !important; min-width: 3rem; }
.ct-variation-swatches[data-swatches-type="button"] .ct-out-of-stock .ct-swatch { text-decoration: line-through; }

/* Guía de tallas y favoritos con texto visible */
.ct-product-additional-actions { gap: 1.25rem; }
.ct-product-additional-actions button { display: inline-flex; align-items: center; gap: .4rem; font: 600 .85rem/1 'Archivo', sans-serif; color: var(--dl-ink); }
.ct-product-additional-actions button::after { content: attr(aria-label); }
.ct-size-guide-button-single::after { text-decoration: underline; text-underline-offset: 3px; }

/* Video */
.dl-video { position: relative; aspect-ratio: 4 / 5; background: #F4F6F8; }
.dl-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.dl-video__sonido { position: absolute; right: 12px; bottom: 12px; background: rgba(15, 27, 38, .78); color: #fff; border: 0; padding: .55rem .8rem; font: 700 .75rem/1 'Archivo', sans-serif; text-transform: uppercase; letter-spacing: .06em; cursor: pointer; }
/* Fondo y cabecera */
body { background-color: #FFFFFF; }
.site-title-container { display: none; }
.site-logo-container img { max-height: 30px; width: auto; }
@media (min-width: 1000px) { .site-logo-container img { max-height: 38px; } }
