/* =============================================================
   IPADECONGRESO TEMPLATE - tienda.css (clonada de cenaipade, paleta del congreso IPADE)
   iPos-specific styles (NOT part of the original design)
   Uses the IPADE palette tokens defined in styles.css
   ============================================================= */

/* =============================================================
   1. SEARCH OVERLAY
   ============================================================= */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.98);
    z-index: 1300;
    display: none;
    flex-direction: column;
}
.search-overlay.open {
    display: flex;
}
.search-overlay-header {
    padding: 1.5rem 2.5rem;
    border-bottom: 1px solid var(--brand-200);
}
.search-overlay-input-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    max-width: 1400px;
    margin: 0 auto;
}
.search-overlay-icon {
    color: var(--brand-400);
    flex-shrink: 0;
}
.search-overlay-icon svg {
    width: 20px;
    height: 20px;
}
.search-overlay-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1.25rem;
    font-family: var(--font-body);
    color: var(--texto);
    background: transparent;
}
.search-overlay-input::placeholder {
    color: var(--brand-400);
}
.search-overlay-close {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--brand-500);
    padding: 0;
    line-height: 1;
    flex-shrink: 0;
    transition: color 0.3s;
}
.search-overlay-close:hover {
    color: var(--texto);
}
.search-overlay-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem 2.5rem;
}
.search-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}
@media (max-width: 768px) {
    .search-overlay-header {
        padding: 1rem 1.5rem;
    }
    .search-overlay-body {
        padding: 1rem 1.5rem;
    }
    .search-results-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
}

/* =============================================================
   2. CART DRAWER
   ============================================================= */
.cart-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(1,30,79,0.5);
    z-index: 1200;
    display: none;
    transition: opacity 0.3s;
}
.cart-drawer-overlay.open {
    display: block;
}
.cart-drawer {
    position: fixed;
    top: 0;
    right: -420px;
    width: 400px;
    max-width: 90vw;
    height: 100%;
    background: var(--brand-white);
    z-index: 1201;
    display: flex;
    flex-direction: column;
    transition: right 0.3s ease;
    box-shadow: -4px 0 24px rgba(0,0,0,0.12);
}
.cart-drawer.open {
    right: 0;
}
.cart-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid var(--brand-200);
}
.cart-drawer-header h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 500;
    margin: 0;
    color: var(--texto);
}
.cart-drawer-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--texto);
    padding: 0;
    line-height: 1;
    transition: color 0.3s;
}
.cart-drawer-close:hover {
    color: var(--brand-500);
}
.cart-drawer-body,
.cart-drawer-content {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 1.5rem;
}
.cart-drawer-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--brand-200);
}
.cart-drawer-subtotal {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--texto);
    margin-bottom: 1rem;
}
.cart-drawer-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.cart-drawer-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--brand-100);
}
.cart-drawer-item-image,
.cart-drawer-item-img {
    width: 80px;
    height: 80px;
    border-radius: var(--radio);
    overflow: hidden;
    flex-shrink: 0;
    background: var(--brand-100);
}
.cart-drawer-item-image img,
.cart-drawer-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cart-drawer-item-info {
    flex: 1;
    min-width: 0;
}
.cart-drawer-item-info h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0 0 0.25rem;
    color: var(--texto);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cart-drawer-item-variant {
    font-size: 0.8rem;
    color: var(--brand-400);
}
.cart-drawer-item-price {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--texto);
}
.cart-drawer-item-bottom {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: 0.5rem;
}
.cart-drawer-item-remove {
    color: var(--brand-400);
    transition: color 0.3s;
    background: none;
    border: none;
    cursor: pointer;
}
.cart-drawer-item-remove:hover {
    color: #ef4444;
}
.cart-drawer-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 1rem;
    color: var(--brand-400);
    gap: 1rem;
    height: 100%;
}
.cart-drawer-empty h4 {
    color: var(--texto);
    font-size: 1rem;
}

/* =============================================================
   3. WISHLIST DRAWER
   ============================================================= */
.wishlist-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(1,30,79,0.5);
    z-index: 1200;
    display: none;
}
.wishlist-drawer-overlay.open {
    display: block;
}
.wishlist-drawer {
    position: fixed;
    top: 0;
    right: -420px;
    width: 400px;
    max-width: 90vw;
    height: 100%;
    background: var(--brand-white);
    z-index: 1201;
    display: flex;
    flex-direction: column;
    transition: right 0.3s ease;
    box-shadow: -4px 0 24px rgba(0,0,0,0.12);
}
.wishlist-drawer.open {
    right: 0;
}
.wishlist-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--brand-100);
}
.wishlist-item-img {
    width: 64px;
    height: 64px;
    border-radius: var(--radio);
    overflow: hidden;
    flex-shrink: 0;
    background: var(--brand-100);
}
.wishlist-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.wishlist-item-info {
    flex: 1;
}
.wishlist-item-info h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--texto);
}
.wishlist-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--brand-400);
}

/* =============================================================
   4. CART / WISHLIST BADGE
   ============================================================= */
.cart-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 18px;
    height: 18px;
    background: var(--azul);
    color: var(--brand-white);
    font-size: 10px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.navbar-icon-link {
    position: relative;
}

/* =============================================================
   5. PRODUCT GRID / LISTING
   ============================================================= */
.product-grid,
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    justify-content: center;
}
@media (max-width: 600px) {
    .product-grid,
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
}

.product-card {
    background: var(--brand-white);
    border-radius: var(--radio);
    border-top: 3px solid transparent;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    transform: translateY(-4px);
    border-top-color: var(--dorado);
    box-shadow: 0 18px 40px rgba(65,64,66,.14);
}

.product-card-image-wrapper {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--brand-100);
}
.product-card-image,
.product-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s;
}
.product-card:hover .product-card-image,
.product-card:hover .product-card-img {
    transform: scale(1.05);
}

.product-card-badges {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    z-index: 2;
}
.product-badge-sale,
.product-discount-badge {
    background: var(--dorado) !important;
    background: var(--brand-black);
    color: var(--brand-white);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radio);
    font-size: 0.75rem;
    font-weight: 700;
}
.product-badge-stock {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: #ef4444;
    color: var(--brand-white);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radio);
    font-size: 0.75rem;
    font-weight: 700;
}

.product-card-body,
.product-card-info {
    padding: 1rem 1.25rem 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card-category {
    font-size: 0.75rem;
    color: var(--brand-400);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.product-card-title {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 500;
    margin: 0 0 0.5rem;
    color: var(--texto);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-card-title a {
    color: inherit;
    text-decoration: none;
}
.product-card-title a:hover {
    color: var(--brand-500);
}

.product-card-price,
.product-card-prices {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.price-current,
.product-price-regular {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--texto);
}

.price-compare,
.product-price-sale {
    text-decoration: line-through;
    color: var(--brand-400);
    font-size: 0.85rem;
}

/* Product detail button on cards */
.product-card .product-detail-btn {
    display: block;
    padding: 0.625rem 1rem;
    border: 1px solid var(--brand-black);
    border-radius: var(--radio);
    background: transparent;
    color: var(--texto);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    font-family: var(--font-body);
    text-decoration: none;
    text-align: center;
    margin-top: 0.75rem;
}
.product-card .product-detail-btn:hover {
    background: var(--brand-black);
    color: var(--brand-white);
}

/* Product actions on hover */
.product-card-actions {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 2;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s;
}
.product-card:hover .product-card-actions {
    opacity: 1;
    transform: translateX(0);
}
.product-card-action {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    color: var(--texto);
    transition: all 0.3s;
}
.product-card-action:hover {
    background: var(--brand-black);
    color: var(--brand-white);
}

/* =============================================================
   6. PRODUCT DETAIL PAGE
   ============================================================= */
.product-detail,
.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}
@media (max-width: 768px) {
    .product-detail,
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.product-detail-section {
    padding: 2rem 0 3rem;
}

.product-gallery {
    position: sticky;
    top: 120px;
}

.product-gallery-main {
    aspect-ratio: 1;
    border-radius: var(--radio);
    overflow: hidden;
    background: var(--brand-100);
    margin-bottom: 0.75rem;
}
.product-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.image-popup-no-margins {
    cursor: zoom-in;
    display: block;
}

.product-gallery-thumbs {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
}
.product-thumb {
    width: 72px;
    height: 72px;
    border-radius: var(--radio);
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    flex-shrink: 0;
    transition: border-color 0.3s;
}
.product-thumb:hover,
.product-thumb.active {
    border-color: var(--brand-black);
}
.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    padding: 0;
}
.product-info .product-brand,
.product-info-brand {
    font-size: 0.75rem;
    color: var(--brand-400);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.product-info h1,
.product-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 500;
    margin: 0 0 1rem;
    color: var(--texto);
    line-height: 1.3;
}

.product-price,
.product-info-price,
.product-detail-price-row,
.product-price-section {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}
.product-detail-price-current,
.product-price-current {
    color: var(--azul) !important;
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--texto);
}
.product-detail-price-compare,
.product-price-compare {
    font-size: 1.1rem;
    text-decoration: line-through;
    color: var(--brand-400);
}

.product-info-sku {
    font-size: 0.85rem;
    color: var(--brand-400);
    margin-bottom: 1rem;
}

.product-description,
.product-info-description {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--brand-500);
    margin-bottom: 1.5rem;
}

/* Product Options */
.product-options {
    margin-bottom: 1.5rem;
}

/* Add to Cart button */
.product-add-to-cart,
.btn-add-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    background: var(--brand-black);
    color: var(--brand-white);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.875rem;
    border-radius: var(--radio);
    border: none;
    cursor: pointer;
    transition: background 0.3s;
    width: 100%;
}
.product-add-to-cart:hover,
.btn-add-cart:hover {
    background: var(--brand-700);
}

/* Disponibles en la ficha (10000 = sin inventario / sobre pedido: no se muestra) */
.product-stock {
    font-size: 0.875rem;
    color: var(--texto-suave);
    margin-bottom: 0.75rem;
}
.product-stock strong {
    color: var(--dorado-oscuro);
    font-weight: 700;
}
.product-stock[data-disp="10000"] {
    display: none;
}
/* Aviso de tope de disponibles (ficha y carrito) */
.stock-max-msg {
    display: block;
    font-size: 0.8rem;
    color: var(--dorado-oscuro);
    margin-top: 0.5rem;
}

/* Product Actions (add to cart + wishlist) */
.product-actions {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}
.btn-wishlist {
    width: 50px;
    height: 50px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--brand-200);
    border-radius: 50%;
    background: var(--brand-white);
    color: var(--texto);
    cursor: pointer;
    transition: all 0.3s;
    flex-shrink: 0;
}
.btn-wishlist:hover {
    border-color: #ef4444;
    color: #ef4444;
}
.btn-wishlist svg {
    width: 22px;
    height: 22px;
}

/* Quantity wrapper */
.product-qty-wrap,
.quantity-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.quantity-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--texto);
}
.quantity-control {
    display: flex;
    align-items: center;
    border: 1px solid var(--brand-200);
    border-radius: var(--radio);
    overflow: hidden;
}
.quantity-control button {
    width: 40px;
    height: 40px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--texto);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}
.quantity-control button:hover {
    background: var(--brand-100);
}
.quantity-control input {
    width: 48px;
    height: 40px;
    border: none;
    text-align: center;
    font-size: 1rem;
    font-family: var(--font-body);
    font-weight: 600;
    background: transparent;
    color: var(--texto);
}

/* Product Tabs */
.product-tabs {
    margin-top: 3rem;
}
.product-tabs-nav {
    display: flex;
    border-bottom: 1px solid var(--brand-200);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}
.product-tab-btn {
    padding: 0.75rem 0;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--brand-400);
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    cursor: pointer;
    transition: all 0.3s;
}
.product-tab-btn:hover { color: var(--texto); }
.product-tab-btn.active {
    color: var(--texto);
    border-bottom-color: var(--brand-black);
}
.product-tab-content {
    display: none;
    line-height: 1.8;
    color: var(--brand-500);
}
.product-tab-content.active { display: block; }

@media (max-width: 768px) {
    .product-gallery {
        position: static;
    }
}

/* =============================================================
   7. VARIANT SELECTORS
   ============================================================= */
.variant-selector {
    margin-bottom: 1.25rem;
}
.variant-label,
.variant-selector-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--texto);
    display: block;
    margin-bottom: 0.5rem;
}
.variant-selector-label span {
    font-weight: 400;
    color: var(--brand-500);
}
.variant-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.variant-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem !important;
    margin-bottom: 1rem;
}
.variant-option,
.variant-btn {
    display: inline-block;
    margin: 0.25rem !important;
    padding: 10px 20px !important;
    border: 2px solid var(--brand-200, #ddd);
    border-radius: var(--radio);
    background: var(--brand-white, #fff);
    font-size: 0.875rem;
    font-family: var(--font-body);
    font-weight: 600;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    cursor: pointer;
    transition: all 200ms ease;
    color: var(--texto);
    user-select: none;
    white-space: nowrap;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    min-width: 60px;
    text-align: center;
}
.variant-option:hover,
.variant-btn:hover {
    background-color: var(--brand-100);
    border-color: var(--brand-black);
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}
.variant-option.active,
.variant-btn.active {
    border-color: var(--brand-black, #000);
    background: var(--brand-black, #000);
    color: var(--brand-white, #fff);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    transform: translateY(-1px);
}
.variant-btn--disabled,
.variant-btn.tachado {
    opacity: 0.6;
    cursor: not-allowed;
    color: #949494;
    text-decoration: line-through;
}
.variant-swatch {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid var(--brand-200);
    cursor: pointer;
    transition: border-color 0.3s;
}
.variant-swatch:hover,
.variant-swatch.active {
    border-color: var(--brand-black);
}

/* Product Option Dropdowns (backend-generated) */
.opcion_area {
    margin-bottom: 1.25rem;
    border: none;
}
.product-option {
    margin-bottom: 0.5rem;
}
.product-option .option-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--texto);
}
.product-option select,
.opcion_area select.selectOption,
.opcion_area select {
    width: 100%;
    padding: 0.6rem 2rem 0.6rem 0.8rem;
    font-size: 0.9rem;
    font-family: var(--font-body);
    color: var(--texto);
    background: var(--brand-white);
    border: 1px solid var(--brand-200);
    border-radius: var(--radio);
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.8rem center;
    transition: border-color 0.3s;
    outline: none;
}
.product-option select:focus,
.opcion_area select:focus {
    border-color: var(--brand-black);
}
.opcion_area input[type="text"],
.opcion_area input[type="number"],
.opcion_area input[type="date"],
.opcion_area textarea,
.option-input {
    width: 100%;
    padding: 0.6rem 0.8rem;
    font-size: 0.9rem;
    font-family: var(--font-body);
    color: var(--texto);
    border: 1px solid var(--brand-200);
    border-radius: var(--radio);
    transition: border-color 0.3s;
    outline: none;
}
.opcion_area input[type="text"]:focus,
.opcion_area input[type="number"]:focus,
.opcion_area textarea:focus,
.option-input:focus {
    border-color: var(--brand-black);
}
/* Hide the legacy <br> and <hr> from generales fallback */
.opcion_area > br,
.opcion_area > hr {
    display: none;
}
.selector-producto {
    border: none;
    padding: 0;
}

/* Multi-select options */
.muliselectopciones {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}
.opcion_multiple_opciones {
    border: 1px solid var(--brand-200);
    border-radius: var(--radio);
    padding: 0.5rem 1rem;
    width: auto;
    min-width: 80px;
    height: auto;
    min-height: 40px;
    display: inline-flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    font-size: 0.85rem;
    font-family: var(--font-body);
    color: var(--texto);
    cursor: pointer;
    margin-right: 0;
    margin-bottom: 0;
    position: relative;
    transition: all 0.3s;
    background-color: var(--brand-white);
}
.opcion_multiple_opciones:hover {
    border-color: var(--brand-black);
}
.opcion_multiple_opciones.active {
    border-color: var(--brand-black);
    background-color: var(--brand-black);
    color: var(--brand-white);
}
.opcion_multiple_opciones.active .opcion_multiple_cerrar {
    display: block;
    color: var(--brand-white);
}
.opcion_multiple_cerrar {
    position: absolute;
    top: 2px;
    right: 6px;
    font-weight: 600;
    font-size: 0.7rem;
    display: none;
}

/* Variant cards grid (grouped variants) */
.variant-cards-grid {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}
.variant-cards-grid > div {
    flex: 1;
    min-width: 110px;
    max-width: 200px;
}
.variant-cards-grid .qty-option {
    height: 100%;
    margin-bottom: 0;
    padding: 12px 16px;
}
.variant-cards-grid .qty-option .qty-price {
    font-size: 16px;
}
.variant-cards-grid .qty-option .qty-label {
    font-size: 11px;
}
.variant-cards-grid .qty-option .product-detail-price-compare {
    font-size: 0.8rem;
}
.variant-cards-grid .variant-kueski {
    display: none;
}
.variant-cards-grid ~ #infoprod_none {
    display: none;
}

/* =============================================================
   8. PAGINATION
   ============================================================= */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 2rem 0;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
}
.pagination a,
.pagination span,
.pagination-item,
.pagination-link {
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--brand-200);
    border-radius: var(--radio);
    text-decoration: none;
    color: var(--texto);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s;
}
.pagination a:hover,
.pagination-item:hover,
.pagination-link:hover {
    border-color: var(--brand-black);
}
.pagination .active,
.pagination-item.active,
.pagination-link.active {
    background: var(--brand-black);
    border-color: var(--brand-black);
    color: var(--brand-white);
}
.pagination-link.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

/* =============================================================
   9. BREADCRUMBS
   ============================================================= */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.8rem;
    flex-wrap: wrap;
}
.breadcrumb li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--brand-400);
    list-style: none;
}
.breadcrumb li + li::before {
    content: '\203A';
    color: var(--brand-300);
    font-size: 0.9rem;
}
.breadcrumb li:last-child {
    font-weight: 600;
    color: var(--texto);
}
.breadcrumb a {
    color: var(--brand-400);
    text-decoration: none;
    transition: color 0.3s;
}
.breadcrumb a:hover {
    color: var(--texto);
}
.breadcrumb .separator {
    color: var(--brand-300);
    font-size: 0.9rem;
}
    .breadcrumb .current {
        font-weight: 600;
        color: var(--dorado-claro);
    }

/* Page Banner */
.page-banner {
    background: var(--azul);
    padding: clamp(2.5rem, 6vw, 4rem) 0;
    text-align: center;
}
.page-banner::before {
    content: "";
    display: block;
    width: clamp(3.5rem, 7vw, 5.5rem);
    height: 2px;
    margin: 0 auto 1.1rem;
    background: var(--dorado);
}
.page-banner h1 {
    color: var(--brand-white);
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3.6vw, 2.6rem);
    font-weight: 400;
    margin: 0 0 0.5rem;
    text-transform: uppercase;
}
.page-banner .breadcrumb {
    justify-content: center;
    background: none;
    border: none;
    padding: 0;
}
.page-banner .breadcrumb li,
.page-banner .breadcrumb a {
    color: var(--brand-300);
}
.page-banner .breadcrumb a:hover {
    color: var(--brand-white);
}
.page-banner .breadcrumb li:last-child {
    color: var(--brand-white);
}

/* =============================================================
   10. FILTERS SIDEBAR
   ============================================================= */
.products-layout,
.tienda-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 2rem;
    padding: 2rem 0;
}
@media (max-width: 768px) {
    .products-layout,
    .tienda-layout {
        grid-template-columns: 1fr;
    }
}
/* productos.html sin filtros ni ordenamiento: la cuadricula ocupa todo el ancho */
.tienda-layout--sin-filtros {
    grid-template-columns: minmax(0, 1fr);
}

.filter-sidebar,
.tienda-sidebar {
    background: var(--brand-white);
    border-radius: var(--radio);
    padding: 1.5rem;
    height: fit-content;
    position: sticky;
    top: 120px;
    border: 1px solid var(--brand-200);
}
button.tienda-sidebar-mobile-close {
    display: none !important;
}
@media (max-width: 768px) {
    .filter-sidebar,
    .tienda-sidebar {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1100;
        border-radius: var(--radio);
        overflow-y: auto;
        padding-top: 4rem;
        border: none;
    }
    .filter-sidebar.active,
    .tienda-sidebar.sidebar-open {
        display: block;
    }
    button.tienda-sidebar-mobile-close {
        display: block !important;
    }
}

.filter-group,
.filter-section {
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--brand-100);
}
.filter-group:last-child,
.filter-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.filter-title,
.filter-section h3,
.filter-section h4 {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    color: var(--texto);
}

.tienda-section {
    padding-top: 1.5rem;
}

.filter-option,
.filter-link {
    display: block;
    padding: 0.375rem 0;
    color: var(--brand-500);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s;
    cursor: pointer;
}
.filter-option:hover,
.filter-option.active,
.filter-link:hover,
.filter-link.active {
    color: var(--texto);
    font-weight: 600;
}
.filter-link.subcate {
    padding-left: 1rem;
    font-size: 0.825rem;
}
.filter-link.subcate2 {
    padding-left: 2rem;
    font-size: 0.8rem;
}

/* Filter Select Dropdowns */
.filter-select {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--brand-200);
    border-radius: var(--radio);
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--texto);
    background: var(--brand-white);
    cursor: pointer;
    appearance: auto;
    -webkit-appearance: auto;
}
.filter-select:focus {
    outline: none;
    border-color: var(--brand-black);
}

button.filter-toggle {
    display: none;
    width: 100%;
    padding: 0.75rem;
    background: var(--brand-black);
    color: var(--brand-white);
    border: none;
    border-radius: var(--radio);
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    margin-bottom: 1rem;
    transition: background 0.3s;
}
button.filter-toggle:hover {
    background: var(--brand-700);
}
@media (max-width: 768px) {
    button.filter-toggle {
        display: block;
    }
}

.btn-apply-filters {
    padding: 0.6rem 1rem;
    background: var(--brand-black);
    color: var(--brand-white);
    border: none;
    border-radius: var(--radio);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}
.btn-apply-filters:hover {
    background: var(--brand-700);
}

/* Price Slider */
.filter-sidebar .filtro_slider {
    margin-top: 0.5rem;
}
.filter-sidebar #amount {
    font-weight: 600;
    color: var(--texto) !important;
    font-size: 0.85rem;
}
#slider-range, #slider-range-2 {
    margin: 0.5rem 0 1rem;
}
#amount, #amount-2 {
    border: none;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--texto);
    background: transparent;
    width: 100%;
    text-align: center;
    margin-bottom: 0.5rem;
}

/* Sidebar close button (mobile) */
@media (max-width: 768px) {
    .filter-sidebar > button:first-child {
        display: block !important;
        z-index: 10;
    }
}

/* =============================================================
   11. SORT DROPDOWN
   ============================================================= */
.products-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.products-toolbar .filter-select,
.products-toolbar select {
    width: auto;
    min-width: 180px;
}
.products-count {
    font-size: 0.85rem;
    color: var(--brand-400);
}

.sort-dropdown {
    position: relative;
    display: inline-block;
}
.sort-dropdown select,
.products-toolbar select {
    padding: 0.5rem 2rem 0.5rem 0.75rem;
    border: 1px solid var(--brand-200);
    border-radius: var(--radio);
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--texto);
    background: var(--brand-white);
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    outline: none;
    transition: border-color 0.3s;
}
.sort-dropdown select:focus,
.products-toolbar select:focus {
    border-color: var(--brand-black);
}
.sort-option {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    cursor: pointer;
}

/* =============================================================
   12. CART PAGE
   ============================================================= */
.cart-page {
    padding: 2rem 0 3rem;
}
.cart-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 2rem;
    align-items: start;
}
@media (max-width: 768px) {
    .cart-layout {
        grid-template-columns: 1fr;
    }
}

.cart-table {
    width: 100%;
}
.cart-header-row {
    display: grid;
    grid-template-columns: 90px 1fr 120px 100px 120px 40px;
    gap: 1rem;
    align-items: center;
    padding: 0.75rem 0;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--brand-400);
    border-bottom: 1px solid var(--brand-200);
}
.cart-row,
.cart-item {
    display: grid;
    grid-template-columns: 90px 1fr 120px 100px 120px 40px;
    gap: 1rem;
    align-items: center;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--brand-100);
}
@media (max-width: 768px) {
    .cart-header-row {
        display: none;
    }
    .cart-row,
    .cart-item {
        grid-template-columns: 60px 1fr;
        gap: 0.75rem;
    }
}

.cart-item-image {
    width: 80px;
    height: 80px;
    border-radius: var(--radio);
    overflow: hidden;
}
.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cart-item-info h4 {
    font-size: 0.95rem;
    margin: 0 0 0.25rem;
    color: var(--texto);
}
.cart-item-info p {
    font-size: 0.85rem;
    color: var(--brand-400);
}
.cart-item-price {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--texto);
}
.cart-item-remove {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--brand-400);
    padding: 0.5rem;
    transition: color 0.3s;
}
.cart-item-remove:hover {
    color: #ef4444;
}
/* Fila de la pagina /cart con muchas opciones: la columna 1fr debe poder encogerse (min-width:0) y partir texto largo */
.cart-item-info {
    min-width: 0;
}
.cart-item-info h4 {
    overflow-wrap: anywhere;
}
.cart-item-options {
    margin-top: 0.35rem;
    font-size: 0.8rem;
    line-height: 1.5;
    color: var(--brand-500);
    overflow-wrap: anywhere;
}
.cart-item-options:empty {
    display: none;
}
/* Opciones plegables (carrito y drawer): cerradas por defecto, toggleOpciones() en funciones.js */
.opts-panel:not(.is-open) {
    display: none;
}
.opts-panel:empty + .opts-toggle {
    display: none;
}
.opts-toggle {
    display: inline-block;
    margin-top: 0.25rem;
    padding: 0;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--azul);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.opts-toggle:hover {
    color: var(--dorado-oscuro);
}
.opts-toggle:focus-visible {
    outline: 2px solid var(--azul);
    outline-offset: 2px;
}
.cart-item-cant {
    text-align: center;
}
@media (max-width: 768px) {
    .cart-item {
        grid-template-columns: 60px 1fr auto;
        gap: 0.25rem 0.75rem;
        align-items: start;
    }
    .cart-item-image {
        width: 60px;
        height: 60px;
        grid-row: span 4;
    }
    .cart-item-remove {
        grid-column: 3;
        grid-row: 1;
    }
    .cart-item-price,
    .cart-item-cant {
        grid-column: 2;
        text-align: left;
    }
    .cart-item-cant::before {
        content: "x ";
    }
}

.cart-total,
.cart-summary {
    background: var(--brand-100);
    border-radius: var(--radio);
    padding: 1.5rem;
    position: sticky;
    top: 120px;
}
.cart-summary h3 {
    font-family: var(--font-display);
    font-weight: 500;
    margin: 0 0 1rem;
    color: var(--texto);
}
.cart-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    font-size: 0.95rem;
    color: var(--brand-500);
}
.cart-summary-total {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0 0;
    border-top: 1px solid var(--brand-200);
    margin-top: 0.5rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--texto);
    font-family: var(--font-display);
}
.cart-summary .btn,
.cart-actions .btn {
    width: 100%;
    margin-top: 1rem;
}

.cart-empty {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--brand-400);
}
.cart-empty h3 {
    color: var(--texto);
    margin: 1rem 0;
}
.cart-empty svg {
    color: var(--brand-300);
    margin-bottom: 1rem;
}

.cart-actions {
    margin-top: 1rem;
}

/* =============================================================
   13. LOGIN / REGISTER PAGE
   ============================================================= */
.login-page {
    padding: 3rem 0 4rem;
    min-height: 60vh;
    display: flex;
    align-items: center;
}
.login-grid,
.auth-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}
@media (max-width: 768px) {
    .login-grid,
    .auth-container {
        grid-template-columns: 1fr;
    }
}

.login-form,
.register-form,
.auth-card {
    background: var(--brand-white);
    border: 1px solid var(--brand-200);
    border-radius: var(--radio);
    padding: 2rem;
}
.login-form h2,
.register-form h2,
.auth-card h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--texto);
}
.login-form p,
.register-form p,
.auth-card p {
    color: var(--brand-500);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.login-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--brand-200);
    border-radius: var(--radio);
    font-size: 0.95rem;
    font-family: var(--font-body);
    color: var(--texto);
    background: var(--brand-white);
    transition: border-color 0.3s;
    outline: none;
    margin-bottom: 1rem;
}
.login-input:focus {
    border-color: var(--brand-black);
}

.login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.875rem 2rem;
    background: var(--brand-black);
    color: var(--brand-white);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.875rem;
    border-radius: var(--radio);
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}
.login-btn:hover {
    background: var(--brand-700);
}

/* =============================================================
   14. MY ACCOUNT
   ============================================================= */
.account-page {
    padding: 2rem 0 3rem;
}
.account-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 2rem;
    align-items: start;
}
@media (max-width: 1024px) {
    .account-layout {
        grid-template-columns: 1fr;
    }
}

.account-nav,
.account-sidebar {
    background: var(--brand-white);
    border: 1px solid var(--brand-200);
    border-radius: var(--radio);
    overflow: hidden;
}
.account-sidebar-user {
    padding: 1.5rem;
    text-align: center;
    background: var(--brand-100);
    border-bottom: 1px solid var(--brand-200);
}
.account-sidebar-user .avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--brand-black);
    color: var(--brand-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    margin: 0 auto 0.75rem;
}
.account-nav a,
.account-sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--texto);
    text-decoration: none;
    border-bottom: 1px solid var(--brand-100);
    transition: all 0.3s;
}
.account-nav a:hover,
.account-sidebar-nav a:hover {
    background: var(--brand-100);
}
.account-nav a.active,
.account-sidebar-nav a.active {
    color: var(--texto);
    border-left: 3px solid var(--brand-black);
    font-weight: 700;
}

.account-content {
    background: var(--brand-white);
    border: 1px solid var(--brand-200);
    border-radius: var(--radio);
    padding: 2rem;
}
.account-content h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--brand-200);
    color: var(--texto);
}

/* Orders */
.order-list,
.orders-table {
    width: 100%;
    border-collapse: collapse;
}
.orders-table th {
    padding: 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--brand-400);
    border-bottom: 1px solid var(--brand-200);
    text-align: left;
}
.order-item,
.orders-table td {
    padding: 0.75rem;
    font-size: 0.875rem;
    border-bottom: 1px solid var(--brand-100);
    vertical-align: middle;
}
.order-status {
    display: inline-flex;
    padding: 0.2rem 0.65rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radio);
}
.order-status.completed {
    background: rgba(52,211,153,0.1);
    color: #059669;
}
.order-status.pending {
    background: rgba(251,191,36,0.1);
    color: #d97706;
}

/* Mi Cuenta > historial (micuenta_pedidos + micuenta_pedidos_pedido) */
.orders-table-wrap {
    overflow-x: auto;
}
.orders-table .order-status {
    background: var(--dorado-claro);
    color: var(--dorado-oscuro);
}
.orders-table .order-status:empty {
    display: none;
}
.orders-total {
    font-weight: 700;
    color: var(--azul);
    white-space: nowrap;
}
.orders-ver {
    text-align: right;
    white-space: nowrap;
}
.orders-blank {
    text-align: center;
    padding: 1.5rem 0;
}
.orders-blank p {
    color: var(--texto-suave);
    margin-bottom: 1rem;
}
.gracias-back {
    display: inline-block;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--azul);
    text-decoration: none;
}
.gracias-back:hover {
    color: var(--dorado-oscuro);
}

/* Addresses */
.address-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
@media (max-width: 768px) {
    .address-grid {
        grid-template-columns: 1fr;
    }
}
.address-card {
    border: 1px solid var(--brand-200);
    border-radius: var(--radio);
    padding: 1.25rem;
}
.address-card p {
    font-size: 0.875rem;
    color: var(--brand-500);
    line-height: 1.7;
}
.address-card-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

/* =============================================================
   15. BLOG
   ============================================================= */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}
@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

.blog-card {
    overflow: hidden;
    background: var(--brand-white);
    border-radius: var(--radio);
    transition: box-shadow 0.3s;
    border: 1px solid var(--brand-200);
}
.blog-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.blog-card-img,
.blog-card-image {
    aspect-ratio: 16/10;
    overflow: hidden;
}
.blog-card-img img,
.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.blog-card:hover .blog-card-img img,
.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-body,
.blog-card-content {
    padding: 1.5rem;
}
.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.75rem;
    color: var(--brand-400);
    margin-bottom: 0.75rem;
}
.blog-card-meta .blog-tag {
    background: var(--brand-black);
    color: var(--brand-white);
    padding: 0.15rem 0.5rem;
    font-weight: 700;
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: var(--radio);
}

.blog-card-title {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    color: var(--texto);
}
.blog-card-title a {
    color: inherit;
    text-decoration: none;
}
.blog-card-title a:hover {
    color: var(--brand-500);
}

.blog-card-excerpt {
    font-size: 0.875rem;
    color: var(--brand-500);
    line-height: 1.7;
    margin-bottom: 0.75rem;
}
.blog-card-link {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--texto);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    letter-spacing: 0.05em;
}
.blog-card-link:hover {
    color: var(--brand-500);
}

/* Blog Detail */
.blog-detail {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0 3rem;
}
.blog-detail-header {
    text-align: center;
    margin-bottom: 2rem;
}
.blog-detail-header h1 {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 500;
    color: var(--texto);
    margin-bottom: 0.75rem;
}
.blog-detail-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--brand-400);
}
.blog-detail-image {
    border-radius: var(--radio);
    overflow: hidden;
    margin-bottom: 2rem;
}
.blog-detail-image img {
    width: 100%;
    height: auto;
}
.blog-detail-content {
    font-size: 1rem;
    line-height: 1.9;
    color: var(--texto);
}
.blog-detail-content p {
    margin-bottom: 1.25rem;
}
.blog-detail-content h2 {
    font-family: var(--font-display);
    margin: 2rem 0 1rem;
}
.blog-detail-content blockquote {
    border-left: 3px solid var(--brand-black);
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--brand-500);
}

/* =============================================================
   16. CONTACT PAGE
   ============================================================= */
.contact-page {
    padding: 3rem 0 4rem;
}
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}
@media (max-width: 768px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }
}

.contact-info {
    padding: 2rem;
    background: var(--brand-100);
    border-radius: var(--radio);
}
.contact-info h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: var(--texto);
}
.contact-info-item {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}
.contact-info-item svg {
    flex-shrink: 0;
    color: var(--texto);
    margin-top: 2px;
}
.contact-info-item h4 {
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
    color: var(--texto);
}
.contact-info-item p,
.contact-info-item a {
    font-size: 0.875rem;
    color: var(--brand-500);
    text-decoration: none;
}
.contact-info-item a:hover {
    color: var(--texto);
}

.contact-form {
    background: var(--brand-white);
    border: 1px solid var(--brand-200);
    border-radius: var(--radio);
    padding: 2rem;
}
.contact-form h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: var(--texto);
}
.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
@media (max-width: 768px) {
    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
}

.contact-map {
    margin-top: 2rem;
    border-radius: var(--radio);
    overflow: hidden;
    height: 400px;
}
.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* contacto two-column layout */
.contacto-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    color: #fff;
    transition: background 0.2s;
}
.contacto-social-link:hover {
    background: rgba(255,255,255,0.3);
}
/* Contactos por sede (contacto_forma.html) */
.contacto-sedes {
    list-style: none;
    margin: 1.25rem 0 0;
    padding: 0;
}
.contacto-sede {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 1rem 0;
    border-top: 1px solid rgba(255,255,255,0.15);
}
.contacto-sede:first-child {
    padding-top: 0;
    border-top: 0;
}
.contacto-sede:last-child { padding-bottom: 0; }
.contacto-sede-ciudad {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--dorado);
}
.contacto-sede-nombre {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.4;
    color: #fff;
}
.contacto-sede-email {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    overflow-wrap: anywhere;
}
.contacto-sede-email:hover,
.contacto-sede-email:focus-visible {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}
@media (max-width: 768px) {
    .contacto-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Store selector */
.store-selector-section {
    margin-bottom: 2rem;
}
.store-selector-section h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}
#drp_tiendas_select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--brand-200);
    border-radius: var(--radio);
    font-size: 0.95rem;
    font-family: var(--font-body);
    color: var(--texto);
    background: var(--brand-white);
    outline: none;
    transition: border-color 0.3s;
    cursor: pointer;
}
#drp_tiendas_select:focus {
    border-color: var(--brand-black);
}

/* =============================================================
   17. CATEGORIES PAGE
   ============================================================= */
.categories-page {
    padding: 2rem 0 3rem;
}
.categories-page .categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}
.category-card {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: var(--radio);
    overflow: hidden;
    display: block;
}
.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.category-card:hover img {
    transform: scale(1.05);
}
.category-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(1,30,79,0.75), transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
}
.category-card-overlay h3 {
    font-family: var(--font-display);
    color: var(--brand-white);
    font-size: 1.25rem;
    font-weight: 500;
}

/* =============================================================
   18. 404 ERROR PAGE
   ============================================================= */
.error-page,
.page-404 {
    text-align: center;
    padding: 5rem 1.5rem;
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.error-page h1,
.page-404 h1 {
    font-family: var(--font-display);
    font-size: 8rem;
    color: var(--brand-200);
    line-height: 1;
    margin-bottom: 0.75rem;
}
.error-page h2,
.page-404 h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--texto);
    margin-bottom: 0.75rem;
}
.error-page p,
.page-404 p {
    color: var(--brand-500);
    margin-bottom: 1.5rem;
    max-width: 400px;
}
@media (max-width: 480px) {
    .error-page h1,
    .page-404 h1 {
        font-size: 5rem;
    }
}

/* Coming Soon */
.coming-soon {
    text-align: center;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--brand-100);
    padding: 1.5rem;
}
.coming-soon h1 {
    font-family: var(--font-display);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--texto);
}
.coming-soon p {
    color: var(--brand-500);
}

/* =============================================================
   19. LOADING SPINNER
   ============================================================= */
#loading {
    width: 40px;
    height: 40px;
    border: 3px solid var(--brand-200);
    border-top-color: var(--brand-black);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 1rem 0;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* =============================================================
   20. GENERALES MOBILE MENU (dl-menu) OVERRIDES
   ============================================================= */
.dl-menuwrapper {
    position: relative;
}
.dl-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}
.dl-menu li {
    position: relative;
}
.dl-menu li a {
    display: block;
    padding: 0.875rem 1.5rem;
    color: var(--brand-300);
    text-decoration: none;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--brand-700);
    transition: background 0.3s, color 0.3s;
    background: var(--brand-black);
}
.dl-menu li a:hover {
    background: var(--brand-800);
    color: var(--brand-white);
}
.dl-submenu {
    list-style: none;
    margin: 0;
    padding: 0;
    background: var(--brand-800);
}
.dl-submenu li a {
    padding-left: 2.5rem;
    font-size: 0.9rem;
    background: var(--brand-800);
}
.dl-submenu .dl-submenu li a {
    padding-left: 3.5rem;
    font-size: 0.85rem;
}
.dl-menu .dl-back {
    display: none;
}

/* Mobile overlay */
.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(1,30,79,0.5);
    z-index: 200;
}
.mobile-overlay.active {
    display: block;
}

/* iPos Mobile menu panel */
.nav-menu-mobile {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    max-width: 85vw;
    height: 100vh;
    height: 100dvh;
    background: var(--brand-black);
    z-index: 201;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding: 60px 24px 24px;
    box-shadow: -4px 0 20px rgba(0,0,0,0.2);
    box-sizing: border-box;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}
.nav-menu-mobile.open {
    transform: translateX(0);
}
.mobile-menu-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    color: var(--brand-white);
    padding: 4px 8px;
    z-index: 1;
}
.nav-menu-mobile .dl-menu > li {
    border-bottom: 1px solid var(--brand-700);
}
.nav-menu-mobile .dl-menu > li > a {
    display: block;
    padding: 14px 0;
    font-size: 15px;
    font-weight: 500;
    color: var(--brand-white);
    text-decoration: none;
    font-family: var(--font-display);
    transition: color 0.3s;
    background: transparent;
    border-bottom: none;
}
.nav-menu-mobile .dl-menu > li > a:hover {
    color: var(--brand-white);
}
.nav-menu-mobile .dl-submenu {
    list-style: none;
    padding: 0 0 8px 16px;
    margin: 0;
    border-left: 2px solid var(--dorado);
    background: transparent;
    display: none;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease;
}
.nav-menu-mobile .dl-menu > li.open > .dl-submenu {
    display: block;
    max-height: 2000px;
}
.nav-menu-mobile .dl-menu > li > a.has-submenu::after {
    content: '+';
    float: right;
    font-size: 20px;
    line-height: 1;
    transition: transform 0.3s;
}
.nav-menu-mobile .dl-menu > li.open > a.has-submenu::after {
    content: '−';
}
.nav-menu-mobile .dl-submenu a {
    display: block;
    font-size: 14px;
    font-weight: 400;
    padding: 10px 0;
    color: var(--texto-sobre-azul);
    text-decoration: none;
    border-bottom: 1px solid var(--brand-700);
    font-family: var(--font-body);
    background: transparent;
}
.nav-menu-mobile .dl-submenu a:hover {
    color: var(--brand-white);
}

/* =============================================================
   21. NICE NUMBER OVERRIDES
   ============================================================= */
.nice-number {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--brand-200);
    border-radius: var(--radio);
    overflow: hidden;
}
.nice-number-button,
.nice-number button {
    width: 40px;
    height: 40px;
    background-color: var(--brand-black);
    color: var(--brand-white);
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}
.nice-number-button:hover,
.nice-number button:hover {
    background-color: var(--brand-700);
}
.nice-number input {
    width: 48px;
    height: 40px;
    text-align: center;
    border: none;
    font-size: 1rem;
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--texto);
    background: transparent;
    -moz-appearance: textfield;
}
.nice-number input::-webkit-outer-spin-button,
.nice-number input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* =============================================================
   22. MAGNIFIC POPUP OVERRIDES
   ============================================================= */
.mfp-bg {
    background: rgba(1,30,79,0.95) !important;
}
.mfp-wrap {
    z-index: 1500 !important;
}
.mfp-close {
    color: var(--brand-white) !important;
    font-size: 2rem !important;
    opacity: 0.8;
    transition: opacity 0.3s;
}
.mfp-close:hover {
    opacity: 1;
}

/* =============================================================
   23. GENERIC PAGE (pantalla.html)
   ============================================================= */
.page-content {
    padding: 2rem 0 3rem;
    min-height: 40vh;
}
.page-content h1,
.page-content h2 {
    font-family: var(--font-display);
    font-weight: 500;
    color: var(--texto);
    margin-bottom: 1rem;
}
.page-content h1 {
    font-size: 2.25rem;
}
.page-content h2 {
    font-size: 1.5rem;
}
.page-content p {
    color: var(--brand-500);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}
.page-content img {
    border-radius: var(--radio);
    margin: 1rem 0;
}
.page-content a {
    color: var(--texto);
    text-decoration: underline;
    transition: color 0.3s;
}
.page-content a:hover {
    color: var(--brand-500);
}

/* =============================================================
   24. FORM ELEMENTS
   ============================================================= */
.form-group {
    margin-bottom: 1rem;
}
.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--texto);
    margin-bottom: 0.375rem;
}
.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--brand-200);
    border-radius: var(--radio);
    font-size: 0.95rem;
    font-family: var(--font-body);
    color: var(--texto);
    background: var(--brand-white);
    transition: border-color 0.3s;
    outline: none;
    box-sizing: border-box;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--brand-black);
}
.form-textarea {
    resize: vertical;
    min-height: 120px;
}
.form-row {
    display: block;
    margin-bottom: 1rem;
}
.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
@media (max-width: 768px) {
    .form-row-2 {
        grid-template-columns: 1fr;
    }
}

.form-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    background: var(--brand-black);
    color: var(--brand-white);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.875rem;
    border-radius: var(--radio);
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}
.form-submit:hover {
    background: var(--brand-700);
}

/* Checkout form */
.checkout-form-section {
    background: var(--brand-white);
    border: 1px solid var(--brand-200);
    border-radius: var(--radio);
    padding: 2rem;
    margin-bottom: 1.5rem;
}
.checkout-form-section h3 {
    font-family: var(--font-display);
    margin: 0 0 1.5rem;
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--texto);
}

/* =============================================================
   25. CONFIRMATION / THANK YOU PAGE
   ============================================================= */
.confirmation-page,
.gracias-page,
.thank-you {
    text-align: center;
    padding: 5rem 1.5rem;
    max-width: 600px;
    margin: 0 auto;
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.confirmation-page svg,
.gracias-page svg,
.thank-you svg {
    color: var(--emerald-400);
    margin-bottom: 1.5rem;
}
.confirmation-page h1,
.gracias-page h1,
.thank-you h1 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 500;
    color: var(--texto);
    margin-bottom: 0.75rem;
}
.confirmation-page p,
.gracias-page p,
.thank-you p {
    color: var(--brand-500);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* =============================================================
   26. RELATED PRODUCTS
   ============================================================= */
.related-products-section {
    padding: 4rem 0;
    background: linear-gradient(180deg, #f5f5f0 0%, #ffffff 100%);
    margin-top: 3rem;
}

.related-products-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 500;
    text-align: center;
    margin-bottom: 2.5rem;
    color: var(--texto);
    position: relative;
    padding-bottom: 1rem;
}

.related-products-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--brand-black);
    border-radius: var(--radio);
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.related-product-card {
    display: block;
    background: white;
    border-radius: var(--radio);
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.related-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.related-product-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background: #f9f9f7;
}

.related-product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.related-product-card:hover .related-product-image {
    transform: scale(1.05);
}

.related-product-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background-color: #16A34A;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radio);
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
}

.related-product-content {
    padding: 1rem;
}

.related-product-title {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--texto);
    margin: 0 0 0.75rem 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.8em;
}

.related-product-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.related-price-current {
    color: var(--azul) !important;
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--texto);
}

.related-price-compare {
    font-size: 0.9rem;
    color: var(--brand-400);
    text-decoration: line-through;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .related-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .related-products-section {
        padding: 3rem 0;
    }

    .related-products-title {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }

    .related-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .related-products-section {
        padding: 2rem 0;
    }

    .related-products-title {
        font-size: 1.5rem;
    }

    .related-products-grid {
        gap: 0.75rem;
    }

    .related-product-content {
        padding: 0.75rem;
    }

    .related-product-title {
        font-size: 0.85rem;
    }

    .related-price-current {
        font-size: 1rem;
    }
}

/* =============================================================
   27. UTILITY BUTTONS
   ============================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    min-height: 2.9rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radio);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: background-color .2s, color .2s, border-color .2s;
    text-decoration: none;
    border: 2px solid transparent;
}

.btn-primary:hover {
    background: var(--brand-700);
}
.btn-outline {
    background: transparent;
    border: 2px solid var(--azul);
    color: var(--azul);
}
.btn-outline:hover {
    background: var(--brand-black);
    color: var(--brand-white);
}

/* =============================================================
   28. SOCIAL ICONS
   ============================================================= */
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 0;
}
.social-icon:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}
.social-icon .social-icon-name {
    font-size: 0;
    width: 0;
    height: 0;
    overflow: hidden;
}
.social-icon[data-network="facebook"]::before { content: "f"; font-family: var(--font-body); font-size: 1rem; font-weight: 700; }
.social-icon[data-network="instagram"]::before { content: "\1F4F7"; font-size: 0.9rem; }
.social-icon[data-network="twitter"]::before { content: "\1D54F"; font-size: 0.9rem; font-weight: 700; }
.social-icon[data-network="tiktok"]::before { content: "\266A"; font-size: 1rem; }
.social-icon[data-network="youtube"]::before { content: "\25B6"; font-size: 0.8rem; }
.social-icon[data-network="pinterest"]::before { content: "P"; font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; }
.social-icon[data-network="linkedin"]::before { content: "in"; font-size: 0.8rem; font-weight: 700; }

/* =============================================================
   29. FOOTER (iPos additions)
   ============================================================= */
.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}
.footer-social .social-icon {
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.85);
}
.footer-social .social-icon:hover {
    background: rgba(255,255,255,0.2);
    color: var(--brand-white);
}
.footer-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.85);
    transition: all 0.2s;
    text-decoration: none;
}
.footer-social-icon:hover {
    background: rgba(255,255,255,0.25);
    color: var(--brand-white);
    transform: translateY(-2px);
}
.footer-social-svg {
    width: 20px;
    height: 20px;
}
.footer-selectors {
    display: flex;
    gap: 16px;
    justify-content: center;
    padding: 16px 0;
}
.footer-selectors select {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.85);
    padding: 6px 12px;
    border-radius: var(--radio);
    font-size: 13px;
    font-family: var(--font-body);
    cursor: pointer;
}
.footer-selectors select option {
    background: var(--brand-black);
    color: var(--brand-white);
}
.footer-bottom a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color 0.3s;
}
.footer-bottom a:hover {
    color: var(--brand-white);
}
footer .payment-icon img {
    height: 20px;
    width: auto;
}

/* =============================================================
   30. WHATSAPP FLOAT
   ============================================================= */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: var(--wa-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-white);
    box-shadow: 0 4px 12px rgba(37,211,102,0.4);
    z-index: 999;
    transition: transform 0.3s, background 0.3s;
    text-decoration: none;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    background: var(--wa-green-hover);
}

/* =============================================================
   31. AVAILABILITY TABLE
   ============================================================= */
.disponibilidad_table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 0.5rem;
    font-size: 0.85rem;
}
.disponibilidad_table td {
    padding: 0.375rem 0.5rem;
    border-bottom: 1px solid var(--brand-100);
}

/* =============================================================
   32. COOKIES BAR
   ============================================================= */
.cookies_btn {
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: var(--radio);
    font-family: var(--font-body);
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.3s;
}

/* =============================================================
   33. FILE UPLOAD (Adjuntar imagen)
   ============================================================= */
.adjuntar_archivo_opciones_area {
    height: auto !important;
    max-width: 100% !important;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--brand-200);
    border-radius: var(--radio);
    background: var(--brand-100);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: border-color 0.3s, background 0.3s;
    margin: 1rem 0;
}
.adjuntar_archivo_opciones_area:hover {
    border-color: var(--brand-black);
    background: var(--brand-white);
}
.adjuntar_archivo_opciones_area_boton {
    position: relative !important;
    background: none !important;
    border: none !important;
    color: var(--texto) !important;
    height: auto !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    line-height: 1.4 !important;
    padding: 0 !important;
    background-image: none !important;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    text-shadow: none;
}
.adjuntar_archivo_opciones_area_boton::before {
    content: "";
    display: block;
    width: 48px;
    height: 48px;
    margin: 0 auto 0.75rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 48 48' stroke='%23999' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M28 8H12a4 4 0 00-4 4v24a4 4 0 004 4h24a4 4 0 004-4V20M28 8l12 12M28 8v12h12'/%3E%3Cpath stroke-linecap='round' d='M16 28l4-4 3 3 5-5 8 8'/%3E%3Ccircle cx='18' cy='20' r='2'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}
.adjuntar_archivo_opciones_area_boton::after {
    content: "Arrastra tu archivo o haz clic para seleccionar\APNG, JPG, PDF hasta 10MB";
    display: block;
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--brand-400);
    margin-top: 0.35rem;
    line-height: 1.6;
    white-space: pre-line;
}
.adjuntar_archivo_opciones {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    opacity: 0 !important;
    cursor: pointer !important;
}
.imagen_vista_previa {
    height: 80px !important;
    margin: 0.5rem 0 !important;
    border-radius: var(--radio);
    border: 1px solid var(--brand-200);
    object-fit: cover;
}

/* =============================================================
   34. INDEX COMPONENTS (iPos Homepage Sections)
   ============================================================= */
.index-products {
    text-align: center;
}
.index-products .product-grid {
    grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1024px) {
    .index-products .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 768px) {
    .index-products .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.index-collections {
    text-align: center;
}
.index-collections .categories-grid {
    grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 768px) {
    .index-collections .categories-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Index Image + Text */
.index-image-text {
    overflow: hidden;
}
.index-image-text .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
@media (max-width: 768px) {
    .index-image-text .container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}
.index-image-text-img {
    border-radius: var(--radio);
    overflow: hidden;
}
.index-image-text-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.index-image-text-content {
    padding: 1.5rem 0;
}
.index-image-text-content h2 {
    font-family: var(--font-display);
    margin-bottom: 1rem;
    color: var(--texto);
}
.index-image-text-content p {
    color: var(--brand-500);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Index Newsletter */
.index-newsletter {
    background-color: var(--brand-black);
    color: var(--brand-white);
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 5rem 1.5rem;
}
@media (min-width: 1024px) {
    .index-newsletter { padding: 6rem 3rem; }
}
.newsletter-form {
    display: flex;
    gap: 0.5rem;
    max-width: 480px;
    margin: 0 auto;
}
.newsletter-form input {
    flex: 1;
    padding: 0.875rem 1.25rem;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radio);
    font-size: 0.95rem;
    background: transparent;
    color: var(--brand-white);
    outline: none;
    font-family: var(--font-body);
}
.newsletter-form input::placeholder {
    color: rgba(255,255,255,0.4);
}
.newsletter-form input:focus {
    border-color: var(--brand-white);
}
@media (max-width: 480px) {
    .newsletter-form {
        flex-direction: column;
    }
    .newsletter-form .btn {
        width: 100%;
    }
}

/* Index Brands */
.brands-track {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}
.brand-item {
    display: flex;
    align-items: center;
    justify-content: center;
}
.brand-item img {
    max-height: 50px;
    width: auto;
    opacity: 0.5;
    filter: grayscale(100%);
    transition: all 0.3s;
}
.brand-item:hover img {
    opacity: 1;
    filter: grayscale(0%);
}

/* Index FAQ */
.faq-item {
    border-bottom: 1px solid var(--brand-200);
}
.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1.25rem 0;
    background: transparent;
    border: none;
    text-align: left;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 500;
    color: var(--texto);
    cursor: pointer;
    transition: color 0.3s;
}
.faq-question:hover { color: var(--brand-500); }
.faq-question svg {
    flex-shrink: 0;
    transition: transform 0.3s;
    color: var(--brand-400);
}
.faq-item.open .faq-question svg {
    transform: rotate(45deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s;
}
.faq-item.open .faq-answer {
    max-height: 300px;
}
.faq-answer p {
    padding-bottom: 1.25rem;
    color: var(--brand-500);
    line-height: 1.8;
}

/* Index Video */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    border-radius: var(--radio);
    overflow: hidden;
    background: var(--brand-black);
}
.video-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Index Map */
.index-map {
    border-radius: var(--radio);
    overflow: hidden;
}
.index-map iframe {
    width: 100%;
    height: 450px;
    border: none;
}

/* =============================================================
   35. HERO SLIDER (iPos slideshow)
   ============================================================= */
.hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: var(--brand-black);
}
.move-slides-wrap {
    position: relative;
    width: 100%;
    height: 500px;
}
.move-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.8s ease;
    z-index: 0;
}
.move-slide.active {
    opacity: 1;
    z-index: 1;
}
.move-slide img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 4rem 3rem 3rem;
    background: linear-gradient(to top, rgba(1,30,79,0.75) 0%, rgba(1,30,79,0.2) 60%, transparent 100%);
    color: var(--brand-white);
    z-index: 2;
}
.slide-content h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 500;
    margin: 0 0 0.75rem;
    line-height: 1.2;
    color: var(--brand-white);
    max-width: 700px;
}
.slide-content p {
    font-size: 1.1rem;
    margin: 0 0 1.5rem;
    color: rgba(255,255,255,0.9);
    max-width: 600px;
    line-height: 1.6;
}
.slider-dots {
    position: absolute;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
}
.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s;
}
.slider-dot.active {
    background: var(--brand-white);
    transform: scale(1.2);
}
@media (max-width: 768px) {
    .move-slides-wrap {
        height: 350px;
    }
    .slide-content {
        padding: 2rem 1.5rem;
    }
    .slide-content h2 {
        font-size: 1.5rem;
    }
    .slide-content p {
        font-size: 0.95rem;
    }
}

/* =============================================================
   36. OVERRIDE for iPos formulario float issue
   ============================================================= */
.index-formulario-section input,
.index-formulario-section textarea,
.index-formulario-section select {
    float: none !important;
}

/* =============================================================
   37. RESPONSIVE ADJUSTMENTS
   ============================================================= */
@media (max-width: 1024px) {
    .product-grid,
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .product-grid,
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .product-grid,
    .products-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 0.75rem;
    }
    .variant-cards-grid > div {
        min-width: 90px;
        max-width: none;
    }
    .variant-cards-grid .qty-option {
        padding: 10px 12px;
    }
    .variant-cards-grid .qty-option .qty-price {
        font-size: 14px;
    }
}
/* =============================================================
   INDEX COMPONENTS - TWO PHOTOS
   ============================================================= */
.two-photos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}
@media (max-width: 768px) {
    .two-photos-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}
.two-photos-card {
    position: relative;
}
.two-photos-image-wrap {
    position: relative;
    overflow: hidden;
    border-radius: var(--radio);
    aspect-ratio: 4/3;
}
.two-photos-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.two-photos-card:hover .two-photos-image {
    transform: scale(1.05);
}
.two-photos-text {
    margin-top: 1rem;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--brand-500);
}

/* =============================================================
   INDEX COMPONENTS - IMAGEN Y TEXTO
   ============================================================= */
.index-imagentexto {
    padding: 4rem 0;
}
.imagentexto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.imagentexto-image-wrap {
    position: relative;
    overflow: hidden;
    border-radius: var(--radio);
    background: var(--brand-100);
}
.imagentexto-image-wrap img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}
.index-imagentexto:hover .imagentexto-image-wrap img {
    transform: scale(1.03);
}
.imagentexto-content {
    padding: 2rem 0;
}
.imagentexto-content .section-title {
    margin-bottom: 1.5rem;
}
.imagentexto-text {
    color: var(--brand-400);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1rem;
}
.imagentexto-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
@media (max-width: 768px) {
    .index-imagentexto {
        padding: 3rem 0;
    }
    .imagentexto-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .imagentexto-content {
        padding: 0;
    }
}

/* =============================================================
   INDEX COMPONENTS - TRES IMAGENES
   ============================================================= */
.index-tresimagenes {
    padding: 4rem 0;
}
.tresimagenes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.tresimagenes-item {
    position: relative;
}
.tresimagenes-image-wrap {
    position: relative;
    overflow: hidden;
    border-radius: var(--radio);
    aspect-ratio: 1;
    background: var(--brand-100);
}
.tresimagenes-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.tresimagenes-item:hover .tresimagenes-image-wrap img {
    transform: scale(1.08);
}
@media (max-width: 992px) {
    .tresimagenes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .tresimagenes-item:last-child {
        grid-column: 1 / -1;
        max-width: 50%;
        margin: 0 auto;
    }
}
@media (max-width: 576px) {
    .index-tresimagenes {
        padding: 3rem 0;
    }
    .tresimagenes-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .tresimagenes-item:last-child {
        max-width: 100%;
    }
}

/* =============================================================
   INDEX COMPONENTS - SLIDESHOW 2
   ============================================================= */
.index-slideshow2 {
    position: relative;
    overflow: hidden;
    background: var(--brand-black);
}
.slideshow2-wrapper {
    position: relative;
    width: 100%;
    height: 600px;
}
.slideshow2-track {
    position: relative;
    width: 100%;
    height: 100%;
}
.slideshow2-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.slideshow2-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}
.slideshow2-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.slideshow2-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.slideshow2-content {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    background: var(--brand-black);
    color: var(--brand-white);
}
.slideshow2-content-inner {
    max-width: 500px;
}
.slideshow2-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}
.slideshow2-text {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
}
.slideshow2-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.slideshow2-cta svg {
    transition: transform 0.3s ease;
}
.slideshow2-cta:hover svg {
    transform: translateX(4px);
}
.slideshow2-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    pointer-events: none;
    z-index: 10;
}
.slideshow2-arrow {
    pointer-events: all;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--texto);
}
.slideshow2-arrow:hover {
    background: var(--brand-white);
    transform: scale(1.1);
}
.slideshow2-pagination {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 10;
}
.slideshow2-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}
.slideshow2-dot.active {
    background: var(--brand-white);
    width: 32px;
    border-radius: var(--radio);
}
@media (max-width: 992px) {
    .slideshow2-wrapper {
        height: 500px;
    }
    .slideshow2-slide {
        grid-template-columns: 1fr;
    }
    .slideshow2-image {
        display: none;
    }
    .slideshow2-content {
        padding: 2rem;
    }
    .slideshow2-title {
        font-size: 2rem;
    }
}
@media (max-width: 576px) {
    .slideshow2-wrapper {
        height: 400px;
    }
    .slideshow2-content {
        padding: 1.5rem;
    }
    .slideshow2-title {
        font-size: 1.75rem;
    }
    .slideshow2-text {
        font-size: 1rem;
    }
    .slideshow2-controls {
        padding: 0 1rem;
    }
    .slideshow2-arrow {
        width: 40px;
        height: 40px;
    }
}

/* =============================================================
   INDEX COMPONENTS - PRODUCTO
   ============================================================= */
.index-producto {
    padding: 4rem 0;
    background: var(--brand-50, #fafafa);
}
.index-producto .section-header {
    text-align: center;
    margin-bottom: 3rem;
}
.index-producto .section-description {
    margin-top: 1rem;
    color: var(--brand-400);
    font-size: 1.1rem;
}
.producto-ficha-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--brand-white);
    border-radius: var(--radio);
    padding: 3rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
@media (max-width: 768px) {
    .index-producto {
        padding: 3rem 0;
    }
    .producto-ficha-wrapper {
        padding: 2rem 1.5rem;
    }
}

/* =============================================================
   INDEX COMPONENTS - MARCAS
   ============================================================= */
.index-marcas {
    padding: 4rem 0;
}
.index-marcas .section-header {
    text-align: center;
    margin-bottom: 3rem;
}
.index-marcas .section-description {
    margin-top: 1rem;
    color: var(--brand-400);
}
.marcas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    align-items: center;
}
.marcas-item {
    display: block;
    text-decoration: none;
    transition: transform 0.3s ease;
}
.marcas-item:hover {
    transform: translateY(-4px);
}
.marcas-image-wrap {
    position: relative;
    padding: 2rem;
    background: var(--brand-white);
    border: 1px solid var(--brand-200);
    border-radius: var(--radio);
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 3/2;
    transition: all 0.3s ease;
}
.marcas-item:hover .marcas-image-wrap {
    border-color: var(--brand-300);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.marcas-image-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}
.marcas-item:hover .marcas-image-wrap img {
    filter: grayscale(0%);
    opacity: 1;
}
@media (max-width: 768px) {
    .index-marcas {
        padding: 3rem 0;
    }
    .marcas-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 1.5rem;
    }
    .marcas-image-wrap {
        padding: 1.5rem;
    }
}

/* =============================================================
   INDEX COMPONENTS - PRODUCTOS CON IMAGEN
   ============================================================= */
.products-imagen-banner {
    position: relative;
    width: 100%;
    height: 400px;
    background-size: cover;
    background-position: center;
    border-radius: var(--radio);
    overflow: hidden;
}
.products-imagen-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}
.products-imagen-banner-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    text-align: center;
    margin: 0;
}
.btn-white {
    background: white;
    color: var(--texto);
    border-color: white;
}
.btn-white:hover {
    background: var(--brand-black);
    color: white;
    border-color: var(--brand-black);
}
@media (max-width: 768px) {
    .products-imagen-banner {
        height: 300px;
    }
    .products-imagen-banner-title {
        font-size: 1.8rem;
    }
}

/* =============================================================
   PANTALLA (CUSTOM PAGES)
   ============================================================= */
.pantalla-content {
    padding: 4rem 0;
}
.pantalla-content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--brand-600);
}
.pantalla-content-wrapper h1,
.pantalla-content-wrapper h2,
.pantalla-content-wrapper h3 {
    font-family: var(--font-display);
    color: var(--texto);
    margin-top: 2rem;
    margin-bottom: 1rem;
}
.pantalla-content-wrapper h1 {
    font-size: 2rem;
}
.pantalla-content-wrapper h2 {
    font-size: 1.5rem;
}
.pantalla-content-wrapper h3 {
    font-size: 1.25rem;
}
.pantalla-content-wrapper p {
    margin-bottom: 1rem;
}
.pantalla-content-wrapper ul,
.pantalla-content-wrapper ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
}
.pantalla-content-wrapper li {
    margin-bottom: 0.5rem;
}
.pantalla-content-wrapper a {
    color: var(--texto);
    text-decoration: underline;
}
.pantalla-content-wrapper a:hover {
    opacity: 0.7;
}
@media (max-width: 768px) {
    .pantalla-content {
        padding: 3rem 0;
    }
}

/* =============================================================
   TIENDA TOOLBAR
   ============================================================= */
.tienda-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--brand-200);
}
.tienda-results-count {
    font-size: 0.9rem;
    color: var(--brand-500);
    margin: 0;
}
.tienda-toolbar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.tienda-sort-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.tienda-sort-wrap label {
    font-size: 0.85rem;
    color: var(--brand-600);
    white-space: nowrap;
}
.tienda-sort-wrap select,
.tienda-sort-wrap .form-select {
    min-width: 180px;
    max-width: 220px;
    font-size: 0.85rem;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--brand-200);
    border-radius: var(--radio);
    background: white;
    color: var(--texto);
}
@media (max-width: 768px) {
    .tienda-toolbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .tienda-toolbar-right {
        width: 100%;
    }
    .tienda-sort-wrap {
        width: 100%;
    }
    .tienda-sort-wrap select,
    .tienda-sort-wrap .form-select {
        width: 100%;
        min-width: auto;
        max-width: none;
    }
}

/* =============================================================
   QUANTITY SELECTOR
   ============================================================= */
.quantity-selector {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--brand-200);
    border-radius: var(--radio);
    overflow: hidden;
    background: white;
}
.quantity-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--brand-100);
    color: var(--texto);
    font-size: 1.25rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.quantity-btn:hover {
    background: var(--brand-200);
}
.quantity-btn:active {
    background: var(--brand-300);
}
.quantity-input {
    width: 60px;
    height: 40px;
    border: none;
    border-left: 1px solid var(--brand-200);
    border-right: 1px solid var(--brand-200);
    text-align: center;
    font-size: 1rem;
    font-weight: 500;
    color: var(--texto);
    -moz-appearance: textfield;
}
.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.quantity-input:focus {
    outline: none;
}

/* =============================================================
   11. BLOG
   ============================================================= */

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Blog Card */
.blog-card {
    background: white;
    border-radius: var(--radio);
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.blog-card-image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--brand-100);
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-date {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--brand-400);
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.blog-card-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--texto);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.blog-card-excerpt {
    font-size: 0.95rem;
    color: var(--brand-500);
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
}

.blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--texto);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: gap 0.2s ease;
}

.blog-card-link::after {
    content: '→';
    font-size: 1.1rem;
}

.blog-card-link:hover {
    gap: 0.75rem;
}

/* Blog Detail */
.blog-detail {
    background: white;
}

.blog-content {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--brand-600);
}

.blog-content h2,
.blog-content h3,
.blog-content h4 {
    font-family: var(--font-heading);
    color: var(--texto);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.blog-content h2 {
    font-size: 1.75rem;
}

.blog-content h3 {
    font-size: 1.5rem;
}

.blog-content h4 {
    font-size: 1.25rem;
}

.blog-content p {
    margin-bottom: 1.25rem;
}

.blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radio);
    margin: 2rem 0;
}

.blog-content ul,
.blog-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.blog-content li {
    margin-bottom: 0.75rem;
}

.blog-content blockquote {
    border-left: 4px solid var(--brand-primary);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--brand-500);
}

/* Page Banner Compact (for blog detail) */
.page-banner--compact {
    padding: 1.5rem 0;
}

/* =============================================================
   12. MOBILE LAYOUT FIXES
   ============================================================= */

/* Mobile header: [hamburguesa] [logo] [carrito] */
@media (max-width: 1023px) {
    .navbar-main {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        position: relative;
    }

    /* Hamburger first */
    .navbar-hamburger {
        order: 1;
        margin-right: 0.75rem;
    }

    /* Logo center */
    .navbar-logo {
        order: 2;
        flex: 1;
        text-align: left;
    }

    /* Mobile cart last */
    .navbar-cart-mobile {
        order: 3;
        display: flex !important;
        align-items: center;
        justify-content: center;
        position: relative;
    }

    /* Hide desktop icons on mobile */
    .navbar-icons {
        display: none !important;
    }

    /* Categories bar - make text bigger */
    .navbar-categories {
        font-size: 1.1rem !important;
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    .navbar-cat-link {
        font-size: 1.1rem !important;
        padding: 0.75rem 1rem !important;
    }
}

/* Desktop: hide mobile cart */
@media (min-width: 1024px) {
    .navbar-cart-mobile {
        display: none !important;
    }
}

/* Mobile filter buttons spacing */
@media (max-width: 1023px) {
    .filter-toggle {
        margin-bottom: 1.5rem;
        padding: 0.75rem 1.25rem !important;
        gap: 0.5rem;
    }

    .tienda-sidebar-mobile-close {
        width: 100%;
        justify-content: center;
        margin-bottom: 1.5rem;
        padding: 0.75rem 1.25rem !important;
    }
}

/* =============================================================
   13. EVENTOS (Event Registry / Gift Registry)
   ============================================================= */

/* Event login page */
.event-login-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 3rem 0;
}

.event-login-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.event-login-form {
    background: white;
    padding: 2rem;
    border-radius: var(--radio);
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

/* Event search */
.event-search-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 3rem 0;
}

.events-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2rem;
    background: white;
    border-radius: var(--radio);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.events-table thead {
    background: var(--brand-100);
}

.events-table th,
.events-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--brand-200);
}

.events-table th {
    font-weight: 600;
    color: var(--texto);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.events-table tbody tr {
    transition: background 0.2s ease;
}

.events-table tbody tr:hover {
    background: var(--brand-50);
}

.events-table tbody tr:last-child td {
    border-bottom: none;
}

.event-link {
    color: var(--brand-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.event-link:hover {
    color: var(--texto);
    text-decoration: underline;
}

/* Event content page (product catalog for gift registry) */
.event-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    padding: 3rem 0;
}

.event-sidebar {
    position: sticky;
    top: 2rem;
    height: fit-content;
}

.event-main {
    min-width: 0;
}

.event-header {
    margin-bottom: 2rem;
}

.event-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.event-info {
    color: var(--brand-500);
    font-size: 1rem;
}

.event-filter-group {
    margin-bottom: 2rem;
}

.event-filter-title {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--texto);
}

.event-filter-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.event-filter-item {
    margin-bottom: 0.75rem;
}

.event-filter-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem;
    color: var(--brand-600);
    text-decoration: none;
    border-radius: var(--radio);
    transition: all 0.2s ease;
}

.event-filter-link:hover {
    background: var(--brand-100);
    color: var(--texto);
}

.event-filter-link.active {
    background: var(--brand-black);
    color: white;
    font-weight: 500;
}

.event-filter-count {
    font-size: 0.85rem;
    opacity: 0.7;
}

/* Event blank state */
.event-blank {
    text-align: center;
    padding: 4rem 2rem;
}

.event-blank-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    opacity: 0.3;
}

.event-blank-title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--texto);
}

.event-blank-text {
    color: var(--brand-500);
    margin-bottom: 2rem;
}

/* Event registration form */
.event-form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 3rem 0;
}

.event-form {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radio);
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.event-form-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.event-form-section {
    margin-bottom: 2rem;
}

.event-form-section-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--texto);
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--brand-200);
}

.event-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Couple login - gifts received panel */
.event-gifts-panel {
    background: white;
    padding: 2rem;
    border-radius: var(--radio);
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    margin-top: 2rem;
}

.event-gifts-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--texto);
}

.event-gifts-table {
    width: 100%;
    border-collapse: collapse;
}

.event-gifts-table thead {
    background: var(--brand-100);
}

.event-gifts-table th,
.event-gifts-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--brand-200);
}

.event-gifts-table th {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--texto);
}

.event-gifts-table tbody tr:hover {
    background: var(--brand-50);
}

.event-gift-image {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: var(--radio);
}

/* Mobile responsive */
@media (max-width: 1023px) {
    .event-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .event-sidebar {
        position: static;
    }

    .event-form-row {
        grid-template-columns: 1fr;
    }

    .events-table {
        font-size: 0.9rem;
    }

    .events-table th,
    .events-table td {
        padding: 0.75rem 0.5rem;
    }

    .event-gifts-table {
        font-size: 0.9rem;
    }

    .event-gifts-table th,
    .event-gifts-table td {
        padding: 0.5rem;
    }
}

/* =============================================================
   14. MI CUENTA (My Account)
   ============================================================= */

.account-section-box {
    background: white;
    padding: 2rem;
    border-radius: var(--radio);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-bottom: 2rem;
}

.account-section-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: var(--texto);
}

.account-section-content {
    margin-top: 1rem;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .account-section-box {
        padding: 1.5rem;
    }

    .account-section-title {
        font-size: 1.25rem;
    }
}

/* =============================================================
   15. PAGINATION
   ============================================================= */

.blog-pagination,
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.blog-pagination a,
.pagination a,
.blog-pagination span,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.75rem;
    border: 1px solid var(--brand-200);
    border-radius: var(--radio);
    background: white;
    color: var(--texto);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.blog-pagination a:hover,
.pagination a:hover {
    background: var(--brand-black);
    color: white;
    border-color: var(--brand-black);
}

.blog-pagination .active,
.pagination .active {
    background: var(--brand-black);
    color: white;
    border-color: var(--brand-black);
}

.blog-pagination .disabled,
.pagination .disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

/* =============================================================
   FICHA SIN GALERIA (producto_ficha / producto_ficha_solo)
   Mobile first: una columna (descripcion y luego compra);
   desde 64rem, descripcion a la izquierda y compra a la derecha.
   ============================================================= */
.product-detail--desc {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
}
.product-main-desc {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--texto);
    overflow-wrap: break-word;
}
.product-main-desc > :first-child { margin-top: 0; }
.product-main-desc > :last-child { margin-bottom: 0; }
.product-main-desc p { margin: 0 0 1rem; }
.product-main-desc h2,
.product-main-desc h3,
.product-main-desc h4 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.2;
    color: var(--azul);
    margin: 1.75rem 0 0.75rem;
}
.product-main-desc h2 { font-size: 1.5rem; }
.product-main-desc h3 { font-size: 1.25rem; }
.product-main-desc h4 { font-size: 1.1rem; color: var(--dorado-oscuro); }
.product-main-desc ul,
.product-main-desc ol { margin: 0 0 1rem; padding-left: 1.25rem; }
.product-main-desc li { margin-bottom: 0.35rem; }
.product-main-desc a { color: var(--azul); text-decoration: underline; text-underline-offset: 3px; }
.product-main-desc img,
.product-main-desc video,
.product-main-desc iframe { max-width: 100%; height: auto; }
.product-main-desc table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }

/* Columna izquierda: descripcion principal + Descripcion1 (Titulo1 como encabezado) */
.product-main-col {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    min-width: 0;
}
/* Si las dos vienen vacias (display:none desde el backend), se oculta la columna */
.product-main-col:has(> .product-main-desc:first-child[style*="none"] + .product-main-desc[style*="none"]) { display: none; }
/* Linea separadora solo cuando la descripcion principal esta visible */
.product-main-desc:not([style*="none"]) + .product-main-desc {
    padding-top: 2rem;
    border-top: 1px solid var(--linea);
}
.product-main-desc .product-main-desc-tit { margin-top: 0; }
.product-main-desc-tit:empty { display: none; }

/* Breadcrumb de la ficha: solo el nombre del producto, sobre el banner azul */
.page-banner .breadcrumb .current { color: var(--brand-white); }

@media (min-width: 64rem) {
    .product-detail--desc {
        /* Descripciones 35% / compra 65% */
        grid-template-columns: minmax(0, 35fr) minmax(0, 65fr);
        /* El alto lo marca la descripcion (minimo 32rem para que la compra no quede en una caja chica) */
        grid-template-rows: minmax(32rem, auto);
        gap: 4rem;
    }
    /* Columna de compra: no estira la fila (height:0) y llena el alto de la descripcion,
       topado al alto de la ventana; si no cabe (muchas opciones) hace scroll solo ella.
       Sticky para que siga a la vista mientras se lee una descripcion larga. */
    .product-detail--desc > .product-info {
        height: 0;
        min-height: min(100%, calc(100vh - var(--header-h) - 2rem));
        position: sticky;
        top: calc(var(--header-h) + 1rem);
        overflow-y: auto;
        scrollbar-width: thin;
        scrollbar-gutter: stable;
        padding-right: 0.75rem;
    }
    /* Sin descripciones: la columna de compra queda sola, centrada y sin scroll propio */
    /* (:has no se puede anidar, por eso se compara directo con las dos descripciones) */
    .product-detail--desc:has(> .product-main-col > .product-main-desc:first-child[style*="none"] + .product-main-desc[style*="none"]) {
        grid-template-columns: minmax(0, 36rem);
        grid-template-rows: auto;
        justify-content: center;
    }
    .product-detail--desc:has(> .product-main-col > .product-main-desc:first-child[style*="none"] + .product-main-desc[style*="none"]) > .product-info {
        height: auto;
        min-height: 0;
        position: static;
        overflow: visible;
        padding-right: 0;
    }
}

/* =============================================================
   VARIANTES COMO BOTONES (producto_ficha_precio en .variant-cards-grid)
   El backend pinta una tarjeta por variante; selectVariantCard() (js/funciones.js)
   marca la activa. Fuera del grid (precio de la variante elegida o "desde")
   el bloque se ve como un precio normal.
   ============================================================= */
.qty-option {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.qty-option .qty-label,
.qty-option .qty-stock { display: none; }

.variant-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 10rem), 1fr));
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}
.variant-cards-grid > div,
.variant-cards-grid > .product-info-price {
    display: block;
    min-width: 0;
    max-width: none;
    margin: 0;
}
.variant-cards-grid .qty-option {
    position: relative;
    height: 100%;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.25rem;
    margin: 0;
    padding: 0.9rem 1rem;
    background: var(--brand-white);
    border: 1.5px solid var(--linea);
    border-radius: var(--radio);
    cursor: pointer;
    text-align: left;
    transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
    -webkit-tap-highlight-color: transparent;
}
.variant-cards-grid .qty-option:hover { border-color: var(--azul); }
.variant-cards-grid .qty-option:focus-visible { outline: 3px solid var(--azul); outline-offset: 2px; }
.variant-cards-grid .qty-option.active {
    border-color: var(--azul);
    background: var(--dorado-claro);
    box-shadow: inset 0 0 0 1px var(--azul);
}
/* Marca de seleccion */
.variant-cards-grid .qty-option.active::after {
    content: "";
    position: absolute;
    top: 0.6rem;
    right: 0.6rem;
    width: 0.55rem;
    height: 0.55rem;
    background: var(--dorado);
}
.variant-cards-grid .qty-option .qty-label {
    display: block;
    padding-right: 1rem;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.35;
    color: var(--texto);
}
.variant-cards-grid .qty-option .qty-label br:last-child { display: none; }
.variant-cards-grid .qty-option .qty-label strong { font-weight: 700; }
.variant-cards-grid .qty-option .price-lg { font-size: 1.05rem; }
.variant-cards-grid .qty-option .price-compare { font-size: 0.8rem; }
.variant-cards-grid .qty-option .qty-stock {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--dorado-oscuro);
}
/* Variante agotada (StockActivoXX = "activo"): se puede ver pero se distingue */
.variant-cards-grid .qty-option.activo { opacity: 0.6; }
.variant-cards-grid .qty-option.activo .price-lg { text-decoration: line-through; }
.variant-cards-grid .variant-kueski { display: none; }

/* =============================================================
   CONFIRMACION V2 (confirmacionv2*.html, armarDetalleVentaV3)
   ============================================================= */
.conf2 {
    max-width: 800px;
    margin: 0 auto;
    padding-top: 2rem;
    padding-bottom: 4rem;
}
.conf2-titulo {
    text-align: center;
}
.conf2-avisos:empty {
    display: none;
}
.conf2-avisos {
    margin-bottom: 1.5rem;
}
.conf2-card {
    background: var(--brand-white);
    border-top: 3px solid var(--dorado);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 1.75rem 2rem;
    margin-bottom: 1.5rem;
}
.conf2-card-tit {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--azul);
    margin-bottom: 1rem;
}
.conf2-texto {
    color: var(--texto-suave);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}
.conf2-pedido-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--linea);
}
.conf2-pedido-head .conf2-card-tit {
    margin-bottom: 0.25rem;
}
.conf2-meta {
    font-size: 0.875rem;
    color: var(--texto-suave);
}
.conf2-badge {
    flex-shrink: 0;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.25rem 0.65rem;
    background: var(--dorado-claro);
    color: var(--dorado-oscuro);
}

/* Renglones */
.conf2-prod {
    display: grid;
    grid-template-columns: 64px 1fr auto;
    gap: 1rem;
    align-items: start;
    padding: 1rem 0;
    border-bottom: 1px solid var(--linea);
}
.conf2-prod-img img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    border: 1px solid var(--linea);
    background: var(--brand-white);
}
.conf2-prod-info {
    min-width: 0;
    overflow-wrap: anywhere;
}
.conf2-prod-nombre {
    font-weight: 500;
    color: var(--texto);
}
.conf2-prod-cant {
    color: var(--dorado-oscuro);
    font-weight: 700;
}
.conf2-prod-det {
    font-size: 0.8rem;
    line-height: 1.5;
    color: var(--texto-suave);
}
.conf2-prod-desc {
    font-size: 0.8rem;
    color: var(--dorado-oscuro);
}
.conf2-prod-total {
    font-weight: 700;
    color: var(--azul);
    white-space: nowrap;
}

/* Totales */
.conf2-totales {
    margin-top: 1rem;
}
.conf2-totales > div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.3rem 0;
    color: var(--texto-suave);
}
.conf2-totales dd {
    margin: 0;
    color: var(--texto);
    font-weight: 500;
}
.conf2-totales .conf2-total {
    margin-top: 0.5rem;
    padding-top: 0.75rem;
    border-top: 2px solid var(--linea);
    color: var(--texto);
    font-weight: 700;
}
.conf2-totales .conf2-total dd {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--azul);
}

/* Envio / pago */
.conf2-info {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem 2rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--linea);
}
.conf2-info-item h3 {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--dorado-oscuro);
    margin-bottom: 0.4rem;
}
.conf2-info-item p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--texto-suave);
    overflow-wrap: anywhere;
}

.conf2-botones-factura {
    text-align: center;
    margin-bottom: 1.5rem;
}
.conf2-qr {
    text-align: center;
    margin-top: 2rem;
}
.conf2-qr img {
    margin: 0 auto;
}
.conf2-qr p {
    margin-top: 0.5rem;
    font-weight: 700;
    color: var(--texto);
}
.conf2-powered {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.8rem;
    color: var(--texto-suave);
}
.conf2-powered a {
    color: var(--azul);
}

@media (max-width: 600px) {
    .conf2-card {
        padding: 1.25rem 1rem;
    }
    .conf2-prod {
        grid-template-columns: 52px 1fr;
        gap: 0.25rem 0.75rem;
    }
    .conf2-prod-img {
        grid-row: span 2;
    }
    .conf2-prod-img img {
        width: 52px;
        height: 52px;
    }
    .conf2-prod-total {
        grid-column: 2;
    }
    .conf2-info {
        grid-template-columns: 1fr;
    }
}
