/* ==========================================================
   Rintin Starter — Redesign Overrides
   Archivo separado para evitar problemas de parsing en custom.css (215KB).
   Se carga DESPUÉS de custom.css.
   ========================================================== */

/* ---- Design Tokens ---- */
:root {
    --rintin-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Core tokens */
    --rt-green: #39B54A;
    --rt-green-dark: #2D9A3C;
    --rt-green-light: #E8F5E9;
    --rt-bg: #FFFFFF;
    --rt-bg-light: #F8F8F8;
    --rt-border: #E5E5E5;
    --rt-border-light: #F0F0F0;
    --rt-text: #1A1A1A;
    --rt-text-muted: #999999;
    --rt-text-secondary: #666666;
    --rt-pink: #E91E8C;
    --rt-pink-light: #FCE4F0;
    --rt-price-green: #39B54A;
    --rt-price-pack: #E91E8C;
    --rt-red: #E53935;
    --rt-badge-green: #4CAF50;
    --rt-badge-pink: #E91E8C;

    /* Backward-compatible aliases */
    --rintin-green: var(--rt-green);
    --rintin-green-dark: var(--rt-green-dark);
    --rintin-pink: var(--rt-pink);
    --rintin-gray-bg: var(--rt-bg-light);
    --rintin-text: var(--rt-text);
    --rintin-border: var(--rt-border);
}

/* ==========================================================
   HEADER — V2 Design
   ========================================================== */

/* Header row: height 72px, horizontal padding 48px */
.rintin-header-top {
    padding: 0;
}

.rintin-header-row {
    height: 72px;
    padding-left: 48px;
    padding-right: 48px;
}

/* Logo: no flex-grow, fixed width */
.rintin-logo {
    flex: 0 0 auto;
}

/* Logo text */
.rintin-logo-text {
    font-family: 'Inter', sans-serif;
    font-size: 36px;
    font-weight: 900;
    color: var(--rt-text);
    letter-spacing: -1px;
    line-height: 1;
}

/* Search bar — V2: gray fill, no green button */
.rintin-search {
    display: flex;
    align-items: center;
    background: var(--rt-bg-light);
    border-radius: 22px;
    border: 1.5px solid var(--rt-border);
    overflow: hidden;
    width: 100%;
    height: 44px;
    max-width: 520px;
}

.rintin-search-wrapper {
    flex: 1 1 520px;
    justify-content: center;
}

.rintin-search button[type="submit"] {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: transparent !important;
    color: var(--rt-text-muted) !important;
    border: none;
}

.rintin-search button[type="submit"]:hover {
    color: var(--rt-text) !important;
    background: transparent !important;
}

/* Search icon inside button */
.rintin-search button[type="submit"] .rintin-icon {
    font-size: 18px;
    color: var(--rt-text-muted);
}

/* Header actions — V2: icon-only, 24px icons, gap 24px */
.rintin-header-actions {
    flex: 0 0 auto;
    gap: 24px;
}

/* Generic header icon (heart, etc.) */
.rintin-header-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rt-text);
    text-decoration: none;
    font-size: 24px;
    line-height: 1;
    transition: color 0.2s;
}

.rintin-header-icon:hover {
    color: var(--rt-green);
}

/* Account link — V2: icon-only 24px */
.rintin-account-link {
    font-size: 24px;
    gap: 0;
}

.rintin-account-link .rintin-icon {
    font-size: 24px;
}

/* Hide account text on all screen sizes in V2 */
.rintin-account-text {
    display: none !important;
}

/* Cart link — V2: 24px icon */
.rintin-cart-link {
    font-size: 24px;
}

.rintin-cart-link .rintin-icon {
    font-size: 24px;
}

/* Nav wrapper — V2: border-bottom only, no border-top */
.rintin-nav__inner {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 48px;
    border-top: none;
    border-bottom: 1px solid var(--rt-border);
}

/* Nav items — V2: gap 32px, no borders */
.rintin-main-menu {
    gap: 32px;
}

.rintin-main-menu > .nav-item {
    border-right: none;
}

.rintin-main-menu > .nav-item:first-child {
    border-left: none;
}

/* Nav links — V2: weight 500, no uppercase, color #666 */
.rintin-main-menu > .nav-item > .nav-link {
    font-size: 13px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    color: var(--rt-text-secondary);
    padding: 0 !important;
    white-space: nowrap;
    transition: color 0.2s;
    line-height: 48px;
}

/* Active & hover — V2: green #3a8750, weight 700 */
.rintin-main-menu > .nav-item > .nav-link:hover,
.rintin-main-menu > .nav-item.active > .nav-link,
.rintin-main-menu > .nav-item.current-menu-item > .nav-link {
    color: #3a8750;
    font-weight: 700;
}

/* OFERTAS / ESPECIALES item — pink #E91E8C, weight 700 */
.rintin-main-menu > .nav-item:last-child > .nav-link,
.rintin-main-menu > .nav-item > .nav-link[href*="especial"],
.rintin-main-menu > .nav-item > .nav-link[href*="ESPECIAL"],
.rintin-main-menu > .nav-item > .nav-link[href*="oferta"],
.rintin-main-menu > .nav-item > .nav-link[href*="OFERTA"] {
    color: var(--rt-pink);
    font-weight: 700;
}

.rintin-main-menu > .nav-item:last-child > .nav-link:hover,
.rintin-main-menu > .nav-item > .nav-link[href*="especial"]:hover,
.rintin-main-menu > .nav-item > .nav-link[href*="oferta"]:hover {
    color: #c2185b;
}

/* Mobile overrides */
@media (max-width: 991.98px) {
    .rintin-header-row {
        height: auto;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .rintin-header-top {
        padding: 8px 0 0;
    }

    .rintin-logo {
        flex: 1;
        text-align: center;
    }

    .rintin-logo-text {
        font-size: 1.5rem;
    }

    .rintin-header-actions {
        gap: 16px;
    }

    .rintin-header-icon,
    .rintin-account-link .rintin-icon,
    .rintin-cart-link .rintin-icon {
        font-size: 20px;
    }

    /* Hide wishlist on mobile */
    .rintin-header-icon[aria-label*="Favoritos"] {
        display: none;
    }
}

/* ==========================================================
   HERO BANNER — V2 Design (static, no carousel)
   ========================================================== */
.rintin-hero {
    padding: 0 !important;
}

.rintin-hero-wrap {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.rintin-hero-v2 {
    position: relative;
    border-radius: 0 !important;
    overflow: hidden;
    height: 460px;
    background: #1A2535;
}

/* Background image — fills the banner */
.rintin-hero-v2__bg {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
}

.rintin-hero-v2__bg-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Gradient overlay — dark left, semi-transparent right */
.rintin-hero-v2__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #1A2535CC 0%, #1A253588 50%, #1A253555 100%);
    z-index: 2;
    pointer-events: none;
}

/* Content overlay */
.rintin-hero-v2__content {
    position: absolute;
    top: 70px;
    left: 80px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 22px;
    max-width: 600px;
}

/* Label badge — yellow */
.rintin-hero-v2__label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffcc00;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 2px;
    width: fit-content;
}

.rintin-hero-v2__label i {
    font-size: 16px;
}

/* Title */
.rintin-hero-v2__title {
    font-family: 'Inter', sans-serif;
    font-size: 52px;
    font-weight: 900;
    color: #FFFFFF;
    letter-spacing: -1px;
    line-height: 1.15;
    margin: 0;
}

/* Subtitle */
.rintin-hero-v2__subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.87);
    line-height: 1.6;
    margin: 0;
    max-width: 520px;
}

/* CTA buttons row */
.rintin-hero-v2__ctas {
    display: flex;
    align-items: center;
    gap: 16px;
}

.rintin-hero-v2__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: 28px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    border: none;
}

.rintin-hero-v2__btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.rintin-hero-v2__btn--primary {
    background: #ffcc00;
    color: #1A1A1A;
    font-weight: 800;
}

.rintin-hero-v2__btn--primary:hover {
    color: #1A1A1A;
    background: #ffcc00;
}

.rintin-hero-v2__btn--primary i {
    font-size: 16px;
}

.rintin-hero-v2__btn--secondary {
    background: #FFFFFF;
    color: #1A1A1A;
    font-weight: 700;
}

.rintin-hero-v2__btn--secondary:hover {
    color: #1A1A1A;
    background: #FFFFFF;
}

/* Trust bar — bottom of hero */
.rintin-hero-v2__trust {
    position: absolute;
    bottom: 20px;
    left: 80px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 32px;
}

.rintin-hero-v2__trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.67);
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 500;
}

.rintin-hero-v2__trust-item i {
    font-size: 14px;
}

/* Hero mobile */
@media (max-width: 767px) {
    .rintin-hero-v2 {
        height: 400px;
    }

    .rintin-hero-v2__content {
        top: 40px;
        left: 24px;
        right: 24px;
        gap: 16px;
    }

    .rintin-hero-v2__label {
        font-size: 12px;
        letter-spacing: 1.5px;
    }

    .rintin-hero-v2__title {
        font-size: 32px;
    }

    .rintin-hero-v2__subtitle {
        font-size: 13px;
        display: none;
    }

    .rintin-hero-v2__ctas {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .rintin-hero-v2__btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    .rintin-hero-v2__trust {
        left: 24px;
        bottom: 16px;
        gap: 16px;
    }

    .rintin-hero-v2__trust-item {
        font-size: 11px;
    }
}

/* ==========================================================
   CATEGORIES V2 — Circle icons with horizontal scroll
   ========================================================== */
.rintin-categories-v2__title {
    font-size: 24px;
    font-weight: 800;
    color: var(--rt-text);
    margin: 0;
}

.rintin-categories-v2__see-all {
    font-size: 14px;
    font-weight: 600;
    color: #2979FF;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
}

.rintin-categories-v2__see-all:hover {
    color: #1565C0;
}

.rintin-categories-v2__scroll {
    display: flex;
    gap: 32px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 8px 0 16px;
    scrollbar-width: none;
}

.rintin-categories-v2__scroll::-webkit-scrollbar {
    display: none;
}

.rintin-categories-v2__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    width: 80px;
    text-decoration: none;
    scroll-snap-align: start;
    transition: transform 0.2s;
}

.rintin-categories-v2__item:hover {
    transform: translateY(-2px);
}

.rintin-categories-v2__circle {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    transition: box-shadow 0.2s;
}

.rintin-categories-v2__item:hover .rintin-categories-v2__circle {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.rintin-categories-v2__label {
    font-size: 13px;
    font-weight: 500;
    color: var(--rt-text);
    text-align: center;
    line-height: 1.2;
    white-space: nowrap;
}

.rintin-categories-v2__progress {
    display: flex;
    justify-content: center;
    padding-top: 4px;
}

.rintin-categories-v2__progress-track {
    position: relative;
    width: 200px;
    height: 4px;
    background: #E0E0E0;
    border-radius: 2px;
    overflow: hidden;
}

.rintin-categories-v2__progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 120px;
    height: 4px;
    background: #2979FF;
    border-radius: 2px;
    transition: left 0.15s ease-out;
}

/* ==========================================================
   PRODUCT CARDS — Pixel-perfect (.pen design)
   ========================================================== */

/* --- Card container --- */
.rintin-product-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--rt-border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

.rintin-product-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

/* --- Image area --- */
.rintin-product-card__image-wrap {
    position: relative;
    background: #fff;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
    height: 240px;
}

.rintin-product-card__image-link {
    display: block;
    width: 100%;
    height: 100%;
}

/* Ocultar overlays de plugins */
.rintin-product-card__image-wrap [class*="product-id"],
.rintin-product-card__image-wrap [class*="yith-wcwl"],
.rintin-product-card__image-wrap [class*="quick-view"],
.rintin-product-card__image-wrap [class*="compare"],
.rintin-product-card__image-wrap .sku,
.rintin-product-card__image-wrap .product_number,
.rintin-product-card__image-wrap [class*="overlay"]:not(.rintin-product-card__overlay-actions) {
    display: none !important;
}

.rintin-product-card__image-link > *:not(img) {
    display: none !important;
}

.rintin-product-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 16px 16px 0 0;
}

/* Category tag — pill with green dot (top-left) */
.rintin-product-card__cat-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.93);
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 11px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    color: var(--rt-text);
    z-index: 2;
    line-height: 1;
}

.rintin-product-card__cat-dot {
    width: 8px;
    height: 8px;
    border-radius: 4px;
    background: var(--rt-green);
    flex-shrink: 0;
}

/* Brand overlay (top-right on image) */
.rintin-product-card__brand-overlay {
    position: absolute;
    top: 16px;
    right: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 1.2px;
    text-transform: uppercase;
    z-index: 2;
}

/* Sale badge */
.rintin-product-card__badge--sale {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #dc3545;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 50px;
    z-index: 3;
}

/* When sale badge shows, push category tag down */
.rintin-product-card__badge--sale ~ .rintin-product-card__cat-tag {
    top: auto;
    bottom: 12px;
}

/* --- Card body --- */
.rintin-product-card__body {
    background: #fff;
    padding: 16px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    border-radius: 0 0 16px 16px;
    gap: 10px;
}

/* Hide old elements that may still be in custom.css */
.rintin-product-card__row--marca,
.rintin-product-card__row--precio-pack,
.rintin-product-card__row--precio-unit,
.rintin-product-card__sep,
.rintin-product-card__price-pack,
.rintin-product-card__price-unit,
.rintin-product-card__extra,
.rintin-product-card__badge--units,
.rintin-product-card__badge--pack {
    display: none !important;
}

/* Title */
.rintin-product-card__title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rintin-product-card__title a {
    color: var(--rt-text) !important;
    text-decoration: none;
}

/* Model */
.rintin-product-card__model {
    font-size: 11px;
    color: var(--rt-text-muted);
    margin: 0;
    font-family: 'Inter', sans-serif;
}

/* Divider */
.rintin-product-card__divider {
    height: 1px;
    background: var(--rt-border-light);
    width: 100%;
    flex-shrink: 0;
}

/* --- Price columns (side by side on desktop) --- */
.rintin-product-card__prices {
    display: flex;
    width: 100%;
}

.rintin-product-card__price-col {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 50%;
    padding: 12px 0;
}

.rintin-product-card__price-col--unit {
    border-right: 1px solid var(--rt-border-light);
    padding-right: 12px;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px;
}

/* Label takes full row, price + c/u share next row */
.rintin-product-card__price-col--unit .rintin-product-card__price-label {
    width: 100%;
}
.rintin-product-card__price-note--unit {
    margin-left: 4px;
}

.rintin-product-card__price-col--pack {
    padding-left: 16px;
}

.rintin-product-card__price-label {
    font-family: 'Inter', sans-serif;
    font-size: 9px;
    font-weight: 700;
    color: var(--rt-text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.rintin-product-card__price-label-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Pack badge (navy) */
.rintin-product-card__pack-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #3B4F7A;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 9px;
    font-weight: 800;
    border-radius: 10px;
    padding: 2px 8px;
    line-height: 1;
}

.rintin-product-card__pack-badge i {
    font-size: 11px;
}

/* Unit price — green */
.rintin-product-card__price-amount--unit {
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: var(--rt-green);
    line-height: 1;
}

/* "c/u" note */
.rintin-product-card__price-note--unit {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: var(--rt-green-dark);
}

/* Pack price — navy */
.rintin-product-card__price-amount--pack {
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: #1E3A5F;
    line-height: 1;
}

/* Override WooCommerce price_html styling inside pack column */
.rintin-product-card__price-amount--pack .woocommerce-Price-amount {
    font-size: 24px;
    font-weight: 800;
    color: #1E3A5F;
}

.rintin-product-card__price-amount--pack del {
    font-size: 13px;
    color: var(--rt-text-muted);
    font-weight: 500;
    text-decoration: line-through;
}

.rintin-product-card__price-amount--pack ins {
    text-decoration: none;
}

.rintin-product-card__price-note--pack {
    display: none;
}

/* Regular price crossed out (sale) */
.rintin-product-card__price-regular-crossed {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: var(--rt-text-muted);
    text-decoration: line-through;
    line-height: 1;
}

/* Discount badge — small bubble */
.rintin-product-card__discount-badge {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    background: var(--rt-red, #E53935);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 700;
    border-radius: 9999px;
    padding: 2px 7px;
    line-height: 1;
    width: auto;
    max-width: fit-content;
}

/* --- Actions row --- */
.rintin-product-card__actions {
    display: flex;
    gap: 10px;
    width: 100%;
    padding-bottom: 4px;
}

.rintin-product-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 42px;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

/* V2: single full-width green "Agregar" button — override WooCommerce a.button */
.rintin-product-card a.rintin-product-card__btn--add {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 42px;
    padding: 0 16px;
    border: none;
    border-radius: 50px;
    background: var(--rt-green);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
}

.rintin-product-card a.rintin-product-card__btn--add:hover {
    background: var(--rt-green-dark);
    color: #fff;
    text-decoration: none;
}

.rintin-product-card__btn--add i {
    font-size: 16px;
}

/* Loading spinner while adding to cart */
.rintin-product-card__btn--add.loading {
    pointer-events: none;
    color: transparent !important;
    position: relative;
}

.rintin-product-card__btn--add.loading i {
    visibility: hidden;
}

.rintin-product-card__btn--add.loading::after {
    content: '';
    position: absolute;
    inset: 0;
    margin: auto;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: rintin-spin 0.65s linear infinite;
}

/* Added state */
.rintin-product-card__btn--add.added {
    background: #2e6b40 !important;
}

/* Hide WooCommerce "View cart" link after add */
.rintin-product-card__actions .added_to_cart {
    display: none !important;
}

/* Legacy button styles (keep for backwards compat) */
.rintin-product-card__btn--detail {
    flex: 1;
    border: 1px solid var(--rt-border);
    background: transparent;
    color: var(--rt-text-secondary);
}

.rintin-product-card__btn--detail:hover {
    border-color: var(--rt-green);
    color: var(--rt-green);
}

.rintin-product-card__btn--detail i {
    font-size: 16px;
}

.rintin-product-card__btn--cart {
    width: 42px;
    flex-shrink: 0;
    background: var(--rt-green);
    color: #fff;
}

.rintin-product-card__btn--cart:hover {
    background: var(--rt-green-dark);
    color: #fff;
}

.rintin-product-card__btn--cart i {
    font-size: 18px;
}

.badge-nuevo {
    background-color: var(--rt-green) !important;
}

/* ==========================================================
   PRODUCT CARDS — Mobile overrides
   ========================================================== */
@media (max-width: 767px) {
    .rintin-product-card {
        border-radius: 12px;
    }

    .rintin-product-card__image-wrap {
        height: 180px;
        border-radius: 12px 12px 0 0;
    }

    .rintin-product-card__img {
        border-radius: 12px 12px 0 0;
    }

    /* Category tag — smaller on mobile */
    .rintin-product-card__cat-tag {
        gap: 4px;
        padding: 3px 8px;
        font-size: 9px;
        border-radius: 12px;
        top: 8px;
        left: 8px;
    }

    .rintin-product-card__cat-dot {
        width: 6px;
        height: 6px;
        border-radius: 3px;
    }

    .rintin-product-card__brand-overlay {
        display: none;
    }

    .rintin-product-card__body {
        padding: 10px 10px 12px 10px;
        gap: 6px;
    }

    .rintin-product-card__title {
        font-size: 13px;
    }

    .rintin-product-card__model {
        display: none;
    }

    /* Mobile: stack prices vertically instead of 2 columns */
    .rintin-product-card__prices {
        flex-direction: column;
        gap: 2px;
    }

    .rintin-product-card__price-col {
        width: 100%;
        padding: 0;
    }

    .rintin-product-card__price-col--unit {
        border-right: none;
        padding-right: 0;
    }

    .rintin-product-card__price-col--pack {
        padding-left: 0;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 4px;
    }

    /* Hide labels on mobile — show compact format */
    .rintin-product-card__price-label {
        display: none;
    }

    /* Label row — show only the badge on mobile, inline after price */
    .rintin-product-card__price-label-row {
        order: 2;
    }

    /* Unit price: prominent */
    .rintin-product-card__price-amount--unit {
        font-size: 14px;
    }

    .rintin-product-card__price-amount--unit::after {
        content: " c/u";
        font-size: 14px;
    }

    .rintin-product-card__price-note--unit {
        display: none;
    }

    /* Pack price: secondary, inline with badge */
    .rintin-product-card__price-amount--pack {
        font-size: 11px;
        color: #1E3A5F;
        font-weight: 700;
        order: 1;
    }

    .rintin-product-card__price-amount--pack .woocommerce-Price-amount {
        font-size: 11px;
        font-weight: 700;
    }

    .rintin-product-card__price-note--pack {
        display: none;
    }

    /* Sale price elements — compact on mobile */
    .rintin-product-card__price-regular-crossed {
        font-size: 11px;
    }

    .rintin-product-card__discount-badge {
        font-size: 9px;
        padding: 1px 6px;
    }

    /* Dividers thinner on mobile */
    .rintin-product-card__divider {
        display: none;
    }

    /* Actions compact */
    .rintin-product-card__actions {
        gap: 6px;
    }

    .rintin-product-card__btn {
        height: 32px;
        border-radius: 8px;
        font-size: 11px;
    }

    .rintin-product-card__btn--cart {
        width: 32px;
    }

    .rintin-product-card__btn--detail i {
        font-size: 13px;
    }

    .rintin-product-card__btn--cart i {
        font-size: 14px;
    }

    /* Agregar button — compact on mobile */
    .rintin-product-card a.rintin-product-card__btn--add {
        height: 34px;
        font-size: 12px;
        gap: 6px;
        padding: 0 12px;
    }

    .rintin-product-card__btn--add i {
        font-size: 14px;
    }
}

/* ==========================================================
   NOVEDADES CAROUSEL
   ========================================================== */
.rintin-novedades .carousel-control-prev,
.rintin-novedades .carousel-control-next {
    width: 40px;
    height: 40px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    opacity: 0.7;
}

.rintin-novedades .carousel-control-prev { left: 0; }
.rintin-novedades .carousel-control-next { right: 0; }

.rintin-novedades .carousel-control-prev:hover,
.rintin-novedades .carousel-control-next:hover {
    opacity: 1;
}

.rintin-novedades .carousel-control-prev-icon,
.rintin-novedades .carousel-control-next-icon {
    width: 1rem;
    height: 1rem;
}

/* Novedades indicators — dots → active pill */
.rintin-novedades .carousel-indicators {
    position: relative;
    margin-top: 1rem;
    margin-bottom: 0;
}

.rintin-novedades .carousel-indicators [data-bs-target] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #adb5bd;
    transition: width 0.3s, border-radius 0.3s;
}

.rintin-novedades .carousel-indicators .active {
    background-color: var(--rt-green);
    width: 24px;
    border-radius: 3px;
}

/* ==========================================================
   OFERTAS ESPECIALES
   ========================================================== */
.rintin-ofertas {
    background: #F0F4F1;
    color: var(--rt-text);
}

.rintin-ofertas__title {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--rt-text);
    letter-spacing: 0.02em;
    margin-bottom: 4px;
}

.rintin-ofertas__title .bi-fire {
    color: var(--rt-red, #E53935);
    margin-right: 6px;
}

.rintin-ofertas__subtitle {
    color: var(--rt-text-muted, #999);
    font-size: 0.875rem;
    margin: 0;
}

.rintin-ofertas__card-wrap .rintin-product-card {
    border: 1px solid var(--rt-border, #E5E5E5);
    box-shadow: none;
    max-width: none;
    margin: 0 auto;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.rintin-ofertas__card-wrap .rintin-product-card:hover {
    border-color: var(--rt-green, #39B54A);
    box-shadow: 0 2px 8px rgba(58, 135, 80, 0.1);
}

.rintin-ofertas .carousel-inner {
    padding-left: 44px;
    padding-right: 44px;
}

.rintin-ofertas .carousel-control-prev,
.rintin-ofertas .carousel-control-next {
    width: 36px;
    height: 36px;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border: 1px solid var(--rt-border, #E5E5E5);
    border-radius: 50%;
    opacity: 0.9;
}

.rintin-ofertas .carousel-control-prev { left: 0; }
.rintin-ofertas .carousel-control-next { right: 0; }

.rintin-ofertas .carousel-control-prev:hover,
.rintin-ofertas .carousel-control-next:hover {
    opacity: 1;
    background: #fff;
    border-color: var(--rt-green, #39B54A);
}

.rintin-ofertas .carousel-control-prev-icon,
.rintin-ofertas .carousel-control-next-icon {
    width: 0.875rem;
    height: 0.875rem;
    filter: invert(0) !important;
}

.rintin-ofertas .carousel-indicators {
    position: relative;
    margin-top: 1rem;
    margin-bottom: 0;
}

.rintin-ofertas .carousel-indicators [data-bs-target] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--rt-border, #E5E5E5);
    transition: width 0.3s, border-radius 0.3s;
}

.rintin-ofertas .carousel-indicators .active {
    background-color: var(--rt-green, #39B54A);
    width: 24px;
    border-radius: 3px;
}

/* ==========================================================
   CAROUSEL SECTIONS — Mobile: tighter spacing
   ========================================================== */
@media (max-width: 767px) {
    /* Reduce container padding so cards fill more width */
    .rintin-novedades > .container,
    .rintin-ofertas > .container,
    .rintin-recomendados > .container {
        padding-left: 10px;
        padding-right: 10px;
    }

    /* Tighter gutters between cards */
    .rintin-novedades .row.g-3,
    .rintin-ofertas .row.g-3,
    .rintin-recomendados .row.g-3 {
        --bs-gutter-x: 0.5rem;
        --bs-gutter-y: 0.5rem;
    }

    /* Remove carousel-inner padding (arrows) on mobile */
    .rintin-novedades .carousel-inner,
    .rintin-ofertas .carousel-inner {
        padding-left: 0;
        padding-right: 0;
    }

    /* Remove max-width on ofertas cards */
    .rintin-ofertas__card-wrap .rintin-product-card {
        max-width: none;
    }

    /* Reduce section vertical padding */
    .rintin-novedades.py-5,
    .rintin-ofertas.py-5,
    .rintin-recomendados.py-5 {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }
}

/* ==========================================================
   FEATURED / RECOMENDADOS — Filter Pills
   ========================================================== */
.rintin-recomendados h2 {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: 1px;
}

.rintin-recomendados .nav-tabs {
    border: none;
    display: flex;
    gap: 12px;
    justify-content: center;
}

.rintin-recomendados .nav-tabs .nav-link {
    border-radius: 20px;
    padding: 8px 20px;
    font-size: 13px;
    border: 1px solid var(--rt-border);
    color: var(--rt-text-secondary);
    font-weight: 500;
    text-transform: none;
    background: #fff;
    transition: all 0.2s;
}

.rintin-recomendados .nav-tabs .nav-link:hover {
    color: var(--rt-green);
    border-color: var(--rt-green);
}

.rintin-recomendados .nav-tabs .nav-link.active {
    background: var(--rt-green);
    color: #fff;
    font-weight: 600;
    border-color: var(--rt-green);
}

/* "Ver más" button */
.rintin-recomendados__ver-mas {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--rt-green);
    color: #fff;
    border-radius: 8px;
    padding: 12px 40px;
    font-weight: 600;
    font-size: 15px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s;
}

.rintin-recomendados__ver-mas:hover {
    background: var(--rt-green-dark);
    color: #fff;
}

/* Product count */
.rintin-recomendados__count {
    font-size: 13px;
    color: var(--rt-text-muted);
    text-align: center;
    margin-top: 12px;
}

/* Spinner */
.rintin-recomendados-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid #e0e0e0;
    border-top-color: var(--rt-green);
    border-radius: 50%;
    animation: rintin-spin 0.65s linear infinite;
}

@keyframes rintin-spin {
    to { transform: rotate(360deg); }
}

/* ==========================================================
   FOOTER — Light Theme
   ========================================================== */
.rintin-footer {
    background: var(--rt-bg-light);
    color: var(--rt-text);
    padding: 0;
    border-top: 1px solid var(--rt-border);
}

.rintin-footer > .container {
    padding-top: 48px;
    padding-bottom: 24px;
}

.rintin-footer__brand {
    display: inline-block;
    margin-bottom: 1rem;
    text-decoration: none;
}

.rintin-footer__logo-text {
    font-family: 'Inter', sans-serif;
    font-size: 32px;
    font-weight: 900;
    color: var(--rt-text);
    letter-spacing: -1px;
    line-height: 1;
}

.rintin-footer__tagline {
    color: var(--rt-text-secondary);
    font-size: 13px;
    line-height: 1.6;
}

.rintin-footer__social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.rintin-footer__social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--rt-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rt-text-secondary);
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.rintin-footer__social a:hover {
    background: var(--rt-green);
    transform: scale(1.1);
    color: #fff;
}

/* Footer column headings */
.rintin-footer__heading {
    color: var(--rt-text);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 12px;
    margin-bottom: 1rem;
}

/* Footer nav links */
.rintin-footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rintin-footer__links li {
    margin-bottom: 0.5rem;
}

.rintin-footer__links li::before {
    content: none;
}

.rintin-footer__links a {
    color: var(--rt-text-secondary);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
}

.rintin-footer__links a:hover {
    color: var(--rt-green);
}

/* WhatsApp CTA */
.rintin-footer__whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #25D366;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: background 0.2s;
}

.rintin-footer__whatsapp-btn:hover {
    background: #1ebe57;
    color: #fff;
}

/* Payment badges */
.rintin-footer__payments {
    display: flex;
    gap: 8px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--rt-border);
    justify-content: center;
}

.rintin-footer__payment-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 26px;
    border-radius: 4px;
    background: #fff;
    border: 1px solid var(--rt-border);
    font-size: 9px;
    font-weight: 700;
    color: var(--rt-text-secondary);
    letter-spacing: 0.5px;
}

/* Bottom bar */
.rintin-footer__bottom {
    margin-top: 24px;
    padding: 1rem 0;
    background: transparent;
    border-top: 1px solid var(--rt-border);
    color: var(--rt-text-muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.rintin-footer__legal {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 2rem;
}

.rintin-footer__legal a {
    color: var(--rt-text-muted);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 12px;
    transition: color 0.2s;
}

.rintin-footer__legal a:hover {
    color: var(--rt-green);
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 767px) {
    .rintin-hero .carousel-item img {
        min-height: 200px;
        max-height: 400px;
    }

    .rintin-novedades .carousel-control-prev,
    .rintin-novedades .carousel-control-next {
        display: none;
    }

    .rintin-recomendados .nav-tabs .nav-link {
        font-size: 0.75rem;
        padding: 0.5rem 0.6rem;
    }

    /* Categories mobile — match .pen Mobile Categories */
    .rintin-categories-v2.py-4 {
        padding-top: 1rem !important;
        padding-bottom: 0.5rem !important;
    }

    .rintin-categories-v2 > .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .rintin-categories-v2__title {
        font-size: 18px;
    }

    .rintin-categories-v2__see-all {
        font-size: 12px;
    }

    .rintin-categories-v2__scroll {
        gap: 20px;
        padding: 4px 0 12px;
    }

    .rintin-categories-v2__item {
        width: 64px;
        gap: 8px;
    }

    .rintin-categories-v2__circle {
        width: 56px;
        height: 56px;
        font-size: 24px;
    }

    .rintin-categories-v2__label {
        font-size: 11px;
    }

    .rintin-categories-v2__progress-track {
        height: 3px;
    }

    .rintin-categories-v2__progress-bar {
        height: 3px;
        width: 60px;
    }

    /* Footer mobile — match .pen Mobile Footer */
    .rintin-footer {
        text-align: left;
    }

    .rintin-footer > .container {
        padding: 28px 16px 20px;
    }

    .rintin-footer__brand {
        margin-bottom: 0.5rem;
    }

    .rintin-footer__logo-text {
        font-size: 24px;
    }

    .rintin-footer__tagline {
        font-size: 12px;
        line-height: 1.5;
        margin-bottom: 1rem;
    }

    /* Hide social icons on mobile */
    .rintin-footer__social {
        display: none;
    }

    /* 2 columns side by side: Tienda + Ayuda */
    .rintin-footer .row {
        flex-wrap: wrap;
    }

    /* Brand col = full width */
    .rintin-footer .row > .col-lg-3:first-child {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 1rem;
    }

    /* Tienda + Ayuda = 50% each, side by side */
    .rintin-footer .row > .col-lg-3:nth-child(2),
    .rintin-footer .row > .col-lg-3:nth-child(3) {
        flex: 0 0 50%;
        max-width: 50%;
        margin-bottom: 0.5rem;
    }

    /* Hide EMPRESA column on mobile */
    .rintin-footer .row > .col-lg-3:nth-child(4) {
        display: none;
    }

    .rintin-footer__heading {
        font-size: 13px;
        font-weight: 700;
        text-transform: capitalize;
        letter-spacing: 0;
        margin-top: 0;
        margin-bottom: 0.75rem;
    }

    .rintin-footer__links a {
        font-size: 12px;
    }

    .rintin-footer__links li {
        margin-bottom: 0.4rem;
    }

    /* Hide payment badges on mobile */
    .rintin-footer__payments {
        display: none;
    }

    /* Bottom bar */
    .rintin-footer__bottom {
        margin-top: 16px;
        padding: 0.75rem 0;
    }

    .rintin-footer__bottom .container {
        text-align: center;
        gap: 0.5rem;
    }

    .rintin-footer__bottom span {
        font-size: 11px;
    }

    /* Hide legal links on mobile */
    .rintin-footer__legal {
        display: none;
    }
}

/* ==========================================================
   HOMEPAGE V2 SECTIONS — Shared
   ========================================================== */

/* Section header: title left + link right */
.rintin-v2-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.rintin-v2-section-title {
    font-family: 'Inter', sans-serif;
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 1px;
    color: var(--rt-text);
    margin: 0;
}

.rintin-v2-section-link {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--rt-green);
    text-decoration: none;
}

.rintin-v2-section-link:hover {
    color: var(--rt-green-dark);
}

/* 4-column product grid */
.rintin-v2-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

/* "Ver más productos" button */
.rintin-v2-load-more {
    display: flex;
    justify-content: center;
    padding: 8px 0;
}

.rintin-v2-load-more__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 40px;
    border-radius: 50px;
    background: #fff;
    color: var(--rt-green);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid var(--rt-green);
    cursor: pointer;
    transition: all 0.2s;
}

.rintin-v2-load-more__btn:hover {
    background: var(--rt-green);
    border-color: var(--rt-green);
    color: #fff;
}

.rintin-v2-load-more__btn i {
    font-size: 16px;
}

.rintin-v2-result-count {
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: var(--rt-text-muted);
    margin-top: 8px;
}

/* ==========================================================
   NOVEDADES V2
   ========================================================== */
.rintin-novedades-v2 {
    padding: 40px 48px;
    background: var(--rt-bg);
}

/* ==========================================================
   EN OFERTA V2
   ========================================================== */
.rintin-ofertas-v2 {
    padding: 40px 48px;
    background: var(--rt-bg);
}

/* Filter pills */
.rintin-v2-filters {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rintin-v2-filter-pill {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: var(--rt-text-secondary);
    border: 1px solid var(--rt-border);
    background: transparent;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
}

.rintin-v2-filter-pill:hover {
    border-color: var(--rt-green);
    color: var(--rt-green);
}

.rintin-v2-filter-pill--active {
    background: var(--rt-green);
    color: #fff;
    border-color: var(--rt-green);
    font-weight: 600;
}

.rintin-v2-filter-pill--active:hover {
    background: var(--rt-green-dark);
    color: #fff;
}

/* ==========================================================
   TRUST BADGES V2
   ========================================================== */
.rintin-trust-badges-v2 {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 32px 48px;
    background: var(--rt-bg-light);
    border-top: 1px solid var(--rt-border);
    border-bottom: 1px solid var(--rt-border);
}

.rintin-trust-badges-v2__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.rintin-trust-badges-v2__item > i {
    font-size: 28px;
    color: var(--rt-green);
}

.rintin-trust-badges-v2__title {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--rt-text);
}

.rintin-trust-badges-v2__sub {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 400;
    color: var(--rt-text-muted);
}

/* ==========================================================
   ALL PRODUCTS V2
   ========================================================== */
.rintin-all-products-v2 {
    padding: 40px 48px;
    background: var(--rt-bg);
}

/* Load more spinner */
.rintin-v2-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: rintin-spin 0.6s linear infinite;
}

@keyframes rintin-spin {
    to { transform: rotate(360deg); }
}

.rintin-v2-load-more__btn--loading {
    pointer-events: none;
    opacity: 0.7;
}

/* ==========================================================
   HOMEPAGE V2 SECTIONS — Mobile
   ========================================================== */
@media (max-width: 767px) {
    .rintin-novedades-v2,
    .rintin-ofertas-v2,
    .rintin-all-products-v2 {
        padding: 20px 16px;
    }

    .rintin-v2-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .rintin-v2-section-title {
        font-size: 18px;
    }

    .rintin-v2-section-header {
        margin-bottom: 16px;
    }

    .rintin-v2-filters {
        flex-wrap: wrap;
    }

    .rintin-trust-badges-v2 {
        padding: 20px 16px;
        gap: 12px;
        justify-content: center;
    }

    .rintin-trust-badges-v2__item {
        flex: 1;
        min-width: 0;
        gap: 4px;
    }

    .rintin-trust-badges-v2__item > i {
        font-size: 22px;
    }

    .rintin-trust-badges-v2__title {
        font-size: 10px;
    }

    .rintin-trust-badges-v2__sub {
        display: none;
    }

    .rintin-v2-load-more__btn {
        padding: 10px 32px;
        font-size: 13px;
    }
}
