/* =============================================
   REGALATE REGALAME - SHOP CSS v3.0
   Bootstrap-Based Premium Design
   ============================================= */

/* --- Fuentes & Variables --- */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200&display=swap');

:root {
    --rr-primary: #de3f3f;
    --rr-primary-rgb: 222, 63, 63;
    --rr-primary-hover: #c43030;
    --rr-primary-light: rgba(222, 63, 63, 0.1);
    --rr-dark: #1a0a0a;
    --rr-bg: #f8f6f6;
    --rr-text: #2d2020;
    --rr-muted: #7a6a6a;
    --rr-white: #ffffff;
    --rr-border: rgba(222, 63, 63, 0.12);
    --rr-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
    --rr-shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.13);
    --rr-radius: 16px;
    --rr-radius-sm: 10px;
    --rr-radius-xl: 24px;
    --rr-transition: all 0.3s cubic-bezier(.4, 0, .2, 1);
}

/* --- Base --- */
html,
body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background-color: var(--rr-bg);
    color: var(--rr-text);
    line-height: 1.65;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: var(--rr-primary);
}

/* =============================================
   NAVBAR / HEADER
   ============================================= */
.rr-navbar {
    background: rgba(248, 246, 246, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--rr-border);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 9999;
}

.rr-navbar .navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--rr-text);
}

.rr-navbar .brand-icon {
    width: 38px;
    height: 38px;
    background: var(--rr-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rr-navbar .brand-icon img {
    width: 22px;
    height: 22px;
    filter: invert(1);
}

.rr-navbar .nav-link {
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--rr-text);
    padding: 0.5rem 1rem !important;
    border-radius: 8px;
    transition: var(--rr-transition);
}

.rr-navbar .nav-link:hover,
.rr-navbar .nav-link.active {
    color: var(--rr-primary);
    background: var(--rr-primary-light);
}

.rr-navbar-inner {
    min-height: 72px;
    display: flex;
    align-items: center;
}

@media (max-width: 991px) {
    .rr-navbar {
        height: auto !important;
    }

    #mobileMenuPanel {
        background: #fff;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    }
}

/* Logo utility */
.rr-logo-img {
    transition: transform 0.3s ease;
}

.rr-logo-img:hover {
    transform: scale(1.02);
}

/* --- Cart Dropdown on hover --- */
.rr-cart-wrapper {
    position: relative;
}

.rr-cart-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
    transition: var(--rr-transition);
    color: var(--rr-text);
    text-decoration: none;
}

.rr-cart-btn:hover {
    background: var(--rr-primary-light);
}

.rr-cart-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: var(--rr-primary);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.rr-cart-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    width: 320px;
    background: #fff;
    border-radius: var(--rr-radius);
    box-shadow: var(--rr-shadow-lg);
    border: 1px solid var(--rr-border);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: var(--rr-transition);
    z-index: 10000;
}

.rr-cart-wrapper:hover .rr-cart-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.rr-cart-dropdown-header {
    padding: 14px 16px;
    border-bottom: 1px solid #f0f0f0;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.rr-cart-items {
    max-height: 240px;
    overflow-y: auto;
    padding: 8px;
}

.rr-cart-item {
    display: flex;
    gap: 12px;
    padding: 10px;
    border-radius: 10px;
    transition: var(--rr-transition);
}

.rr-cart-item:hover {
    background: var(--rr-bg);
}

.rr-cart-item-img {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid #eee;
    flex-shrink: 0;
}

.rr-cart-item-name {
    font-weight: 600;
    font-size: 0.875rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    color: var(--rr-text);
}

.rr-cart-item-name:hover {
    color: var(--rr-primary);
}

.rr-cart-item-price {
    font-size: 0.8rem;
    color: var(--rr-muted);
    margin-top: 4px;
    display: block;
}

.rr-cart-dropdown-footer {
    padding: 14px 16px;
    border-top: 1px solid #f0f0f0;
}

.rr-cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    margin-bottom: 12px;
}

.rr-cart-total-price {
    color: var(--rr-primary);
    font-size: 1.1rem;
}

.rr-cart-empty {
    padding: 24px;
    text-align: center;
    color: var(--rr-muted);
    font-size: 0.875rem;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn-rr-primary {
    background: var(--rr-primary);
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.04em;
    transition: var(--rr-transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-rr-primary:hover {
    background: var(--rr-primary-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(222, 63, 63, 0.3);
}

.btn-rr-outline {
    background: transparent;
    color: var(--rr-primary);
    border: 2px solid var(--rr-primary);
    padding: 11px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.875rem;
    transition: var(--rr-transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-rr-outline:hover {
    background: var(--rr-primary);
    color: #fff;
    transform: translateY(-2px);
}

.btn-rr-ghost {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.6);
    padding: 11px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.875rem;
    transition: var(--rr-transition);
}

.btn-rr-ghost:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border-color: #fff;
}

/* =============================================
   HOME - HERO
   ============================================= */
.rr-hero {
    padding: 80px 0 60px;
    background: linear-gradient(135deg, var(--rr-bg) 0%, #fff 100%);
    overflow: hidden;
}

.rr-hero-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--rr-primary);
    margin-bottom: 16px;
}

.rr-hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--rr-dark);
    margin-bottom: 20px;
}

.rr-hero-title span {
    color: var(--rr-primary);
}

.rr-hero-desc {
    font-size: 1.05rem;
    color: var(--rr-muted);
    max-width: 480px;
    margin-bottom: 36px;
}

.rr-hero-img-wrap {
    border-radius: var(--rr-radius-xl);
    overflow: hidden;
    box-shadow: var(--rr-shadow-lg);
    position: relative;
}

.rr-hero-img-wrap img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
}

.rr-hero-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: #fff;
    padding: 12px 18px;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    font-weight: 700;
}

.rr-hero-badge .badge-icon {
    width: 36px;
    height: 36px;
    background: var(--rr-primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rr-primary);
}

.rr-hero-badge .badge-icon .material-symbols-outlined {
    font-size: 20px;
}

/* --- About Strip --- */
.rr-about-strip {
    background: var(--rr-primary-light);
    border-radius: var(--rr-radius-xl);
    padding: 48px;
    margin: 60px 0;
}

.rr-about-strip .rr-feature-icon {
    font-size: 2rem;
    color: var(--rr-primary);
    margin-bottom: 12px;
}

/* =============================================
   SECTION TITLES
   ============================================= */
.rr-section-eyebrow {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--rr-primary);
    margin-bottom: 8px;
}

.rr-section-title {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--rr-dark);
    margin-bottom: 0;
}

/* =============================================
   PRODUCT CARDS
   ============================================= */
.rr-product-card {
    background: #fff;
    border-radius: var(--rr-radius);
    overflow: hidden;
    border: 1px solid var(--rr-border);
    transition: var(--rr-transition);
    height: 100%;
}

.rr-product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--rr-shadow-lg);
    border-color: var(--rr-primary);
}

.rr-product-thumb {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    background: var(--rr-bg);
}

.rr-product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(.4, 0, .2, 1);
    display: block;
}

.rr-product-card:hover .rr-product-thumb img {
    transform: scale(1.08);
}

.rr-product-action {
    position: absolute;
    bottom: 14px;
    right: 14px;
    background: var(--rr-primary);
    color: #fff;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--rr-transition);
    text-decoration: none;
}

.rr-product-card:hover .rr-product-action {
    opacity: 1;
    transform: translateY(0);
}

.rr-product-action .material-symbols-outlined {
    font-size: 20px;
}

.rr-product-body {
    padding: 18px 20px 20px;
}

.rr-product-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--rr-dark);
    margin-bottom: 4px;
    transition: var(--rr-transition);
}

.rr-product-card:hover .rr-product-title {
    color: var(--rr-primary);
}

.rr-product-subtitle {
    font-size: 0.78rem;
    color: var(--rr-muted);
}

.rr-product-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--rr-primary);
    margin-top: 12px;
}

/* =============================================
   CATALOG PAGE
   ============================================= */
.rr-catalog-hero {
    position: relative;
    border-radius: var(--rr-radius-xl);
    overflow: hidden;
    height: 220px;
    margin-bottom: 40px;
}

.rr-catalog-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.rr-catalog-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(222, 63, 63, 0.9) 0%, rgba(222, 63, 63, 0.4) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 40px;
    color: #fff;
}

.rr-catalog-hero-overlay h1 {
    font-size: 2.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.rr-catalog-hero-overlay p {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
}

/* --- Sidebar Filters --- */
.rr-filter-card {
    background: #fff;
    border-radius: var(--rr-radius);
    padding: 24px;
    border: 1px solid var(--rr-border);
    margin-bottom: 24px;
}

.rr-filter-title {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--rr-muted);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.rr-filter-title .material-symbols-outlined {
    font-size: 1rem;
    color: var(--rr-primary);
}

.rr-cat-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 14px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--rr-text);
    transition: var(--rr-transition);
    text-decoration: none;
    margin-bottom: 4px;
}

.rr-cat-link:hover {
    background: var(--rr-primary-light);
    color: var(--rr-primary);
}

.rr-cat-link.active {
    background: var(--rr-primary);
    color: #fff;
    font-weight: 700;
}

.rr-cat-link.active:hover {
    background: var(--rr-primary-hover);
    color: #fff;
}

.rr-price-inputs {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    flex-direction: column;
}

.rr-price-inputs input {
    width: 45%;
    flex: 1;
    min-width: 0;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 8px 6px;
    font-size: 0.8rem;
    font-family: 'Space Grotesk', sans-serif;
    transition: var(--rr-transition);
    text-align: center;
}

.rr-price-inputs input:focus {
    border-color: var(--rr-primary);
    outline: none;
    box-shadow: 0 0 0 3px var(--rr-primary-light);
}

/* --- Sort bar --- */
.rr-sort-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    background: #fff;
    border-radius: 12px;
    padding: 12px 20px;
    border: 1px solid var(--rr-border);
}

.rr-sort-bar select {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 0.85rem;
    font-family: 'Space Grotesk', sans-serif;
    cursor: pointer;
    transition: var(--rr-transition);
}

.rr-sort-bar select:focus {
    border-color: var(--rr-primary);
    outline: none;
    box-shadow: 0 0 0 3px var(--rr-primary-light);
}

/* =============================================
   PRODUCT DETAIL PAGE
   ============================================= */
.rr-breadcrumb {
    background: #fff;
    border-radius: 12px;
    padding: 12px 20px;
    border: 1px solid var(--rr-border);
    margin-bottom: 32px;
    font-size: 0.85rem;
    color: var(--rr-muted);
}

.rr-breadcrumb a {
    color: var(--rr-muted);
    transition: var(--rr-transition);
}

.rr-breadcrumb a:hover {
    color: var(--rr-primary);
}

.rr-breadcrumb span {
    color: var(--rr-text);
    font-weight: 600;
}

.rr-breadcrumb .sep {
    margin: 0 8px;
}

.rr-product-main-img {
    border-radius: var(--rr-radius);
    overflow: hidden;
    border: 1px solid #eee;
    aspect-ratio: 1;
    background: var(--rr-bg);
}

.rr-product-main-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--rr-transition);
}

.rr-thumb-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 12px;
}

.rr-thumb-item {
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    aspect-ratio: 1;
    transition: var(--rr-transition);
}

.rr-thumb-item:hover,
.rr-thumb-item.active {
    border-color: var(--rr-primary);
}

.rr-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.rr-product-eyebrow {
    display: inline-block;
    background: var(--rr-primary-light);
    color: var(--rr-primary);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 12px;
}

.rr-product-title-lg {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 700;
    color: var(--rr-dark);
    line-height: 1.2;
    margin-bottom: 8px;
}

.rr-product-price-lg {
    font-size: 2rem;
    font-weight: 800;
    color: var(--rr-primary);
}

.rr-product-price-lg .unit {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--rr-muted);
    margin-left: 8px;
}

.rr-product-desc {
    font-size: 1rem;
    color: var(--rr-muted);
    line-height: 1.75;
    padding-left: 16px;
    border-left: 4px solid var(--rr-primary);
    margin: 20px 0 28px;
}

.rr-wholesale-table {
    background: #fff;
    border-radius: var(--rr-radius-sm);
    border: 1px solid var(--rr-border);
    overflow: hidden;
    margin-bottom: 28px;
}

.rr-wholesale-table-header {
    background: var(--rr-bg);
    padding: 12px 16px;
    font-size: 0.85rem;
    font-weight: 700;
    border-bottom: 1px solid var(--rr-border);
}

.rr-wholesale-table table {
    width: 100%;
    border-collapse: collapse;
}

.rr-wholesale-table td,
.rr-wholesale-table th {
    padding: 10px 16px;
    font-size: 0.875rem;
    border-bottom: 1px solid #f5f5f5;
}

.rr-wholesale-table th {
    color: var(--rr-muted);
    font-weight: 600;
    font-size: 0.8rem;
}

.rr-wholesale-table td:nth-child(2) {
    color: var(--rr-primary);
    font-weight: 700;
}

.rr-discount-badge {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 700;
}

.rr-qty-input {
    display: flex;
    align-items: center;
    background: #f0f0f0;
    border-radius: 50px;
    padding: 4px 8px;
    width: fit-content;
    gap: 4px;
}

.rr-qty-btn {
    background: none;
    border: none;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--rr-transition);
    color: var(--rr-text);
}

.rr-qty-btn:hover {
    background: var(--rr-primary);
    color: #fff;
}

.rr-qty-field {
    width: 44px;
    text-align: center;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    background: transparent;
}

.rr-trust-badges {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid #eee;
    margin-top: 24px;
    text-align: center;
}

.rr-trust-badge .material-symbols-outlined {
    color: var(--rr-primary);
    font-size: 1.6rem;
    display: block;
    margin-bottom: 6px;
}

.rr-trust-badge p {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0;
    color: var(--rr-dark);
}

.rr-customization-box {
    background: #fff8f5;
    border: 1.5px dashed var(--rr-primary);
    border-radius: var(--rr-radius-sm);
    padding: 22px;
    margin-bottom: 24px;
}

.rr-cart-notice {
    background: var(--rr-primary-light);
    color: var(--rr-primary);
    padding: 12px 18px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.rr-additionals-box {
    background: #fff;
    border: 1.5px solid #eee;
    border-radius: var(--rr-radius-sm);
    padding: 22px;
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.form-switch .form-check-input {
    width: 2.8em;
    height: 1.5em;
    cursor: pointer;
}

.form-switch .form-check-input:checked {
    background-color: var(--rr-primary);
    border-color: var(--rr-primary);
}

.rr-add-toggle:focus {
    box-shadow: 0 0 0 0.25rem var(--rr-primary-light);
}

/* =============================================
   CART PAGE
   ============================================= */
.rr-page-section {
    background: var(--rr-bg);
    min-height: 50vh;
    padding: 30px 0;
}

.rr-cart-table-wrap {
    background: #fff;
    border-radius: var(--rr-radius);
    padding: 28px;
    box-shadow: var(--rr-shadow);
    border: 1px solid var(--rr-border);
}

.rr-cart-table {
    width: 100%;
    border-collapse: collapse;
}

.rr-cart-table thead th {
    padding: 12px 8px;
    text-align: left;
    border-bottom: 2px solid #f0f0f0;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--rr-muted);
    font-weight: 700;
}

.rr-cart-table tbody td {
    padding: 18px 8px;
    border-bottom: 1px solid #f9f9f9;
    vertical-align: middle;
}

.rr-cart-table tbody tr:last-child td {
    border-bottom: none;
}

.rr-cart-product-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.rr-cart-product-img {
    width: 68px;
    height: 68px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid #eee;
    flex-shrink: 0;
}

.rr-cart-qty-btns {
    display: flex;
    align-items: center;
    background: #f0f0f0;
    border-radius: 50px;
    padding: 4px 8px;
    gap: 4px;
    width: fit-content;
}

.rr-cart-qty-btns a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1rem;
    color: var(--rr-text);
    transition: var(--rr-transition);
}

.rr-cart-qty-btns a:hover {
    background: var(--rr-primary);
    color: #fff;
}

.rr-cart-qty-btns span {
    padding: 0 8px;
    font-weight: 700;
    min-width: 24px;
    text-align: center;
}

.rr-remove-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: #ffebeb;
    color: #e53935;
    border-radius: 50%;
    transition: var(--rr-transition);
    font-size: 0.9rem;
}

.rr-remove-btn:hover {
    background: #e53935;
    color: #fff;
}

.rr-cart-summary-card {
    background: var(--rr-dark);
    color: #fff;
    border-radius: var(--rr-radius);
    padding: 32px;
    box-shadow: var(--rr-shadow-lg);
}

.rr-cart-summary-card h3 {
    color: #fff;
    font-size: 1.15rem;
    font-weight: 700;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}

.rr-cart-summary-card h5 {
    color: rgba(255, 255, 255, 0.9) !important;
}

.rr-cart-summary-card .label,
.rr-cart-summary-card label {
    color: rgba(255, 255, 255, 0.7) !important;
}

.rr-cart-summary-card .text-muted {
    color: rgba(255, 255, 255, 0.5) !important;
}

.rr-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: #fff;
    /* Asegurando fuente clara sobre fondo oscuro */
}

.rr-summary-row .label {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.rr-summary-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 24px;
    color: #fff;
}

.rr-summary-total-row .t-label {
    font-weight: 700;
    font-size: 1rem;
}

.rr-summary-total-row .t-price {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--rr-primary);
}

.rr-secure-badge {
    text-align: center;
    font-size: 0.75rem;
    opacity: 0.5;
    margin-top: 16px;
}

/* =============================================
   CHECKOUT PAGE
   ============================================= */
.rr-checkout-card {
    background: #fff;
    border-radius: var(--rr-radius);
    padding: 32px;
    border: 1px solid var(--rr-border);
    box-shadow: var(--rr-shadow);
}

.rr-checkout-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--rr-dark);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--rr-primary);
    display: inline-block;
}

.rr-form-label {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--rr-muted);
    margin-bottom: 6px;
    display: block;
}

.rr-form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #e0e0e0;
    border-radius: 10px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9rem;
    transition: var(--rr-transition);
    background: #fff;
    margin-bottom: 18px;
}

.rr-form-control:focus {
    border-color: var(--rr-primary);
    outline: none;
    box-shadow: 0 0 0 4px var(--rr-primary-light);
}

.rr-order-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.rr-order-table th,
.rr-order-table td {
    padding: 10px 8px;
    border-bottom: 1px solid #f0f0f0;
}

.rr-order-table th {
    font-weight: 700;
    color: var(--rr-muted);
    font-size: 0.78rem;
    text-transform: uppercase;
}

.rr-order-table tfoot td,
.rr-order-table tfoot th {
    border-top: 2px solid var(--rr-border);
    font-weight: 700;
}

.rr-order-total td,
.rr-order-total th {
    font-size: 1.1rem;
    color: var(--rr-primary);
    font-weight: 800;
}

.rr-payment-option {
    padding: 14px 18px;
    border: 1.5px solid #e0e0e0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: var(--rr-transition);
    margin-bottom: 10px;
}

.rr-payment-option:has(input:checked) {
    border-color: var(--rr-primary);
    background: var(--rr-primary-light);
}

/* =============================================
   CTA BANNER
   ============================================= */
.rr-cta {
    background: var(--rr-dark);
    border-radius: var(--rr-radius-xl);
    padding: 64px 48px;
    text-align: center;
    color: #fff;
    margin: 80px 0 60px;
    position: relative;
    overflow: hidden;
}

.rr-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0 L40 0 L40 40' stroke='rgba(255,255,255,0.04)' fill='none' stroke-width='1'/%3E%3C/svg%3E");
}

.rr-cta h2 {
    color: #fff;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 16px;
    position: relative;
}

.rr-cta p {
    opacity: 0.75;
    font-size: 1.05rem;
    max-width: 520px;
    margin: 0 auto 32px;
    position: relative;
}

/* =============================================
   FOOTER
   ============================================= */
.rr-footer {
    background: #fff;
    border-top: 1px solid var(--rr-border);
    padding: 56px 0 28px;
}

.rr-footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--rr-dark);
    margin-bottom: 14px;
}

.rr-footer-desc {
    font-size: 0.88rem;
    color: var(--rr-muted);
    line-height: 1.7;
    margin-bottom: 20px;
}

.rr-footer-social {
    display: flex;
    gap: 10px;
}

.rr-footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--rr-primary-light);
    color: var(--rr-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--rr-transition);
}

.rr-footer-social a:hover {
    background: var(--rr-primary);
    color: #fff;
}

.rr-footer-social a svg {
    width: 18px;
    height: 18px;
}

.rr-footer-heading {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.13em;
    color: var(--rr-muted);
    margin-bottom: 18px;
}

.rr-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rr-footer ul li {
    margin-bottom: 10px;
}

.rr-footer ul li a {
    font-size: 0.875rem;
    color: var(--rr-text);
    transition: var(--rr-transition);
}

.rr-footer ul li a:hover {
    color: var(--rr-primary);
    padding-left: 4px;
}

.rr-footer-contact li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--rr-muted);
    margin-bottom: 10px;
}

.rr-footer-contact .material-symbols-outlined {
    font-size: 1rem;
    color: var(--rr-primary);
}

.rr-footer-bottom {
    border-top: 1px solid var(--rr-border);
    margin-top: 40px;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.8rem;
    color: var(--rr-muted);
}

/* =============================================
   WHATSAPP FLOAT
   ============================================= */
.rr-whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 58px;
    height: 58px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
    transition: var(--rr-transition);
    z-index: 5000;
    color: #fff;
}

@media (max-width: 767px) {
    .rr-whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 52px;
        height: 52px;
    }
}

.rr-whatsapp-float:hover {
    transform: scale(1.1);
    color: #fff;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
}

.rr-whatsapp-float svg {
    width: 30px;
    height: 30px;
}

/* =============================================
   RESPONSIVE TWEAKS & UTILITIES
   ============================================= */

/* Mobile-first touch targets */
@media (max-width: 991px) {

    .btn-rr-primary,
    .btn-rr-outline,
    .rr-cart-btn,
    .rr-qty-btn,
    .rr-remove-btn {
        min-height: 48px;
        min-width: 44px;
    }
}

/* Specific breakage points */
@media (max-width: 991px) {
    .rr-navbar-inner {
        height: 65px;
        padding: 0 10px;
    }

    .rr-hero {
        padding: 30px 0;
    }

    .rr-cart-table-wrap {
        padding: 0;
        border: none;
        box-shadow: none;
        background: transparent;
    }

    .rr-cart-table thead {
        display: none;
    }

    .rr-cart-table tbody tr {
        display: block;
        background: #fff;
        border-radius: 20px;
        padding: 18px;
        margin-bottom: 20px;
        border: 1px solid #eee;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
        position: relative;
    }

    .rr-cart-table tbody td {
        display: block;
        padding: 5px 0;
        border: none;
        width: 100% !important;
    }

    .rr-cart-product-info {
        display: flex !important;
        align-items: flex-start !important;
        gap: 15px;
        margin-bottom: 15px;
        border-bottom: 1px solid #f8f8f8;
        padding-bottom: 15px;
    }

    .rr-cart-product-img {
        width: 65px !important;
        height: 65px !important;
        border-radius: 12px;
    }

    .rr-cart-qty-btns {
        width: 100%;
        justify-content: space-between;
        max-width: 120px;
    }

    .rr-remove-btn {
        position: absolute;
        top: 15px;
        right: 15px;
        z-index: 5;
    }

    .rr-cart-summary-card {
        padding: 24px 18px;
        border-radius: 24px;
    }
}

/* Small mobile optimizations */
@media (max-width: 576px) {
    .rr-navbar {
        height: 70px;
    }

    .rr-logo-img {
        height: 60px !important;
    }

    .rr-product-title-lg {
        font-size: 1.5rem;
    }

    .rr-product-price-lg {
        font-size: 1.4rem;
    }

    .rr-trust-badges {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .rr-trust-badge {
        background: #fcfcfc;
        border: 1px solid #f0f0f0;
    }
}

/* Utilities */
.rr-mobile-only {
    display: none !important;
}

.rr-desktop-only {
    display: flex !important;
}

@media (min-width: 992px) {
    .navbar-nav {
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

@media (max-width: 991px) {
    .rr-mobile-only {
        display: block !important;
    }

    .rr-desktop-only {
        display: none !important;
    }

    /* Header specific tweak for cart button in mobile */
    .rr-mobile-only.rr-cart-btn {
        display: flex !important;
    }
}

/* Visibility Fixes */
.d-lg-flex.rr-desktop-only {
    display: none !important;
}

@media (min-width: 992px) {
    .d-lg-flex.rr-desktop-only {
        display: flex !important;
    }
}