html { scroll-behavior: smooth; }
.product-list-main { margin-top: 24px; }
.category-breadcrumb { margin-top: 0; }
.category-description { max-width: 760px; margin: 0 auto 24px; text-align: center; }
.category-intro { max-width: 900px; margin: 0 auto 20px; padding: 18px 20px; border: 1px solid #e7eef4; border-radius: 16px; background: #f7fafc; }
.category-intro p { margin: 0; color: #374151; font-size: 15px; line-height: 1.65; }
.filtro-bloque { margin-bottom: 1.5rem; }
.filtro-bloque > label { display: block; margin-bottom: .5rem; font-weight: 600; }
.filters-empty { color: #9ca3af; }
.whatsapp-icon { width: 50px; height: 50px; }

.atributo-select {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.atributo-select label {
    font-size: 12px;
    font-weight: 600;
    color: #555;
}

.select-variante {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding: 8px 34px 8px 10px;
    font-size: 14px;
    border-radius: 8px;
    border: 1px solid #ddd;
    background-color: #fff;
    background-image: url("data:image/svg+xml;utf8,<svg fill='gray' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 10px center;
    cursor: pointer;
    transition: .2s ease;
}

.select-variante:hover {
    border-color: #999;
}

.select-variante:focus {
    outline: none;
    border-color: #0d6efd;
    box-shadow: 0 0 0 2px rgba(13,110,253,.15);
}

.resumen-variantes {
    font-size: 13px;
    color: #ffffff;
    margin: 6px 0 10px;
}

.resumen-variantes div {
    line-height: 1.3;
}

.producto-agotado {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 14px 18px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 6px 18px rgba(220, 38, 38, 0.25);
    user-select: none;
}

.product-sale-meta {
    display: grid;
    gap: 2px;
    margin: 10px 0 8px;
    padding: 9px 11px;
    border: 1px solid #dbe7ec;
    border-radius: 9px;
    background: #f5fafb;
    color: #24343b;
    line-height: 1.25;
}

.product-sale-meta__label {
    color: #64757d;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.product-sale-meta strong {
    color: #172b33;
    font-size: 13px;
    font-weight: 750;
}

.product-sale-meta small {
    color: #52656d;
    font-size: 11px;
}

.btn-primary,
.product-card .btn-primary,
.product-link-button,
.price-btn,
.product-card .add-to-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 18px;
    border: 1px solid #0d3b66;
    border-radius: 10px;
    background: linear-gradient(135deg, #0d3b66 0%, #1d5c8f 100%);
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    box-shadow: 0 8px 18px rgba(13, 59, 102, 0.18);
    cursor: pointer;
}

.btn-primary:hover,
.product-card .btn-primary:hover,
.product-link-button:hover,
.price-btn:hover,
.product-card .add-to-cart:hover {
    transform: translateY(-1px);
    filter: brightness(1.04);
    box-shadow: 0 10px 22px rgba(13, 59, 102, 0.22);
}

.btn-primary:focus-visible,
.product-card .btn-primary:focus-visible,
.product-link-button:focus-visible,
.price-btn:focus-visible,
.product-card .add-to-cart:focus-visible {
    outline: 3px solid rgba(245, 158, 11, 0.35);
    outline-offset: 2px;
}

.price-btn {
    width: 100%;
    margin-top: 12px;
    background: linear-gradient(135deg, #c0c7cf 0%, #8a939c 100%);
    border-color: #8a939c;
    color: #0f172a;
    box-shadow: 0 8px 18px rgba(100, 116, 139, 0.22);
}

.price-btn:hover {
    filter: brightness(1.03);
    box-shadow: 0 10px 22px rgba(100, 116, 139, 0.28);
}

.product-card .add-to-cart {
    width: 100%;
    background: linear-gradient(135deg, #0d3b66 0%, #175a8b 100%);
}

.product-card .product-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.product-card .product-actions .product-link-button {
    flex: 0 0 auto;
    width: auto;
    min-width: 64px;
    align-self: center;
    border-color: #0d3b66;
    background: linear-gradient(135deg, #0d3b66 0%, #175a8b 100%);
    color: #ffffff;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 28px auto 0;
    padding: 8px 0 0;
    flex-wrap: wrap;
}

.pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    min-height: 42px;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid #0d3b66;
    background: linear-gradient(135deg, #0d3b66 0%, #1f5d8e 100%);
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 8px 18px rgba(13, 59, 102, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.pagination a:hover {
    transform: translateY(-1px);
    filter: brightness(1.04);
    box-shadow: 0 10px 22px rgba(13, 59, 102, 0.22);
}

.pagination a:focus-visible {
    outline: 3px solid rgba(245, 158, 11, 0.55);
    outline-offset: 3px;
}

.pagination-placeholder {
    display: inline-block;
    min-width: 120px;
    min-height: 42px;
}

.pagination a[aria-disabled="true"] {
    opacity: 0.5;
    pointer-events: none;
    cursor: not-allowed;
    background: linear-gradient(135deg, #c0c7cf 0%, #8a939c 100%);
    border-color: #8a939c;
    color: #0f172a;
    box-shadow: 0 8px 18px rgba(100, 116, 139, 0.18);
}

.page-info {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, #f8fafc 0%, #e9edf2 100%);
    border: 1px solid #dfe7ee;
    color: #334155;
    font-size: 14px;
    font-weight: 700;
}
