@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.css");
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    color-scheme: light;
    
    /* Colores principales del proyecto 2.0 */
    --primary: #7E22CE;           /* Color brand principal */
    --primary-deep: #6B21A8;
    --primary-soft: rgba(126, 34, 206, 0.12);
    
    --accent: #7DD3FC;            /* Celeste del 2.0 */
    --text: #0F172A;
    --muted: #475569;
    
    --bg: #F8FAFC;
    --surface: #ffffff;
    --surface-soft: #F8FAFC;
    --surface-muted: #F1F5F9;
    
    --border: rgba(15, 23, 42, 0.08);
    --border-strong: rgba(15, 23, 42, 0.14);
    
    --shadow-soft: 0 20px 55px rgba(15, 23, 42, 0.08);
    --shadow-card: 0 18px 42px rgba(15, 23, 42, 0.06);
    
    --radius: 1.75rem;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background:
        radial-gradient(circle at top center, rgba(255, 255, 255, 0.9), transparent 30%),
        linear-gradient(180deg, #fbf8f4 0%, #f6f7fb 100%);
    color: var(--text);
    line-height: 1.6;
}

a {
    color: var(--primary-deep);
    text-decoration: none;
}

a:hover {
    color: var(--primary);
}

.site-main {
    overflow: hidden;
}

body:not(.home-page) .site-main {
    padding-top: 7rem;
}

.page-shell {
    position: relative;
}

.page-shell::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 320px;
    pointer-events: none;
    background:
        radial-gradient(circle at 15% 20%, rgba(125, 211, 252, 0.12), transparent 28%),
        radial-gradient(circle at 85% 0%, rgba(126, 34, 206, 0.1), transparent 24%);
    z-index: 0;
}

.page-shell > .container {
    position: relative;
    z-index: 1;
}

.page-hero,
.page-hero-compact {
    text-align: center;
    max-width: 980px;
    margin-inline: auto;
}

.page-hero-compact {
    text-align: left;
    max-width: 100%;
}

.page-title {
    font-size: clamp(2.5rem, 5vw, 4.4rem);
    line-height: 1.02;
    letter-spacing: -0.05em;
    font-weight: 800;
}

.page-subtitle {
    max-width: 760px;
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.75;
}

.site-navbar {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(16, 34, 71, 0.06);
    box-shadow: 0 8px 26px rgba(16, 34, 71, 0.04);
    transition: background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.site-navbar.is-scrolled {
    background: rgba(255, 255, 255, 0.96) !important;
    border-bottom-color: rgba(124, 58, 237, 0.08);
    box-shadow: 0 16px 36px rgba(16, 34, 71, 0.08);
}

.navbar-brand {
    color: var(--text) !important;
}

.brand-mark,
.footer-brand-mark {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #ffffff, #f4efff);
    border: 1px solid rgba(124, 58, 237, 0.18);
    box-shadow: 0 10px 25px rgba(124, 58, 237, 0.08);
}

.brand-mark img,
.footer-brand-mark img {
    border-radius: 50%;
    object-fit: cover;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.brand-copy strong {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.brand-copy small {
    margin-top: 0.18rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.65rem;
}

.navbar .nav-link {
    color: var(--muted) !important;
    font-weight: 600;
    padding-inline: 1rem !important;
    transition: color 0.25s ease, transform 0.25s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--text) !important;
}

.nav-primary {
    gap: 0.15rem;
}

.nav-link-animated {
    position: relative;
}

.nav-link-animated::after {
    content: "";
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 0.35rem;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0.25);
    transform-origin: center;
    opacity: 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-link-animated:hover::after,
.nav-link-animated:focus-visible::after {
    transform: scaleX(1);
    opacity: 1;
}

.search-shell {
    min-width: min(100%, 260px);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #f7f7fb;
    border: 1px solid rgba(16, 34, 71, 0.05);
    border-radius: 999px;
    padding: 0.7rem 1rem;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.search-shell:focus-within {
    background: #fff;
    border-color: rgba(124, 58, 237, 0.18);
    box-shadow: 0 12px 32px rgba(124, 58, 237, 0.12);
    transform: translateY(-1px);
}

.search-shell i {
    color: #94a3b8;
}

.search-shell .form-control {
    background: transparent;
    padding: 0;
    color: var(--text);
    min-width: 0;
}

.search-shell .form-control::placeholder {
    color: #94a3b8;
}

.btn-brand,
.btn-primary,
.btn-success {
    background: linear-gradient(135deg, #8b2be2, #6d28d9);
    border: none;
    color: #fff;
    border-radius: 1rem;
    font-weight: 700;
    box-shadow: 0 14px 30px rgba(124, 58, 237, 0.22);
}

.btn-brand:hover,
.btn-primary:hover,
.btn-success:hover {
    background: linear-gradient(135deg, #7c25cb, #5b21b6);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 18px 36px rgba(124, 58, 237, 0.24);
}

.btn-brand,
.btn-primary,
.btn-success,
.btn-soft,
.btn-outline-primary,
.btn-brand-soft,
.cart-link,
.footer-social,
.soft-card,
.testimonial-card,
.product-card,
.about-visual,
.icon-chip {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.btn-soft,
.btn-outline-primary,
.btn-brand-soft {
    background: #fff;
    color: var(--text);
    border: 1px solid var(--border-strong);
    border-radius: 1rem;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(16, 34, 71, 0.06);
}

.btn-soft:hover,
.btn-outline-primary:hover,
.btn-brand-soft:hover {
    color: var(--primary-deep);
    border-color: rgba(124, 58, 237, 0.22);
    background: #fff;
}

.user-chip {
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: #f6f1ff;
    color: var(--primary-deep);
    font-weight: 700;
}

.cart-link {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    border: 1px solid rgba(16, 34, 71, 0.08);
    background: rgba(255, 255, 255, 0.92);
    font-size: 1.25rem;
}

.cart-link:hover {
    color: var(--primary);
    border-color: rgba(124, 58, 237, 0.18);
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 18px 32px rgba(124, 58, 237, 0.12);
}

.home-hero {
    min-height: 640px;
    display: flex;
    align-items: center;
    background: #f8f5f1;
}

.home-hero::before {
    content: "";
    position: absolute;
    inset: auto auto 10% 6%;
    width: 14rem;
    height: 14rem;
    border-radius: 50%;
    background: rgba(125, 211, 252, 0.18);
    filter: blur(28px);
    z-index: 0;
}

.home-hero-media,
.home-hero-overlay {
    position: absolute;
    inset: 0;
}

.home-hero-media {
    transform: scale(1.04);
    will-change: transform;
}

.home-hero-media img {
    filter: saturate(0.78) brightness(1.08);
}

.home-hero-orb,
.home-hero-grid {
    position: absolute;
    pointer-events: none;
}

.home-hero-orb {
    border-radius: 50%;
    filter: blur(12px);
    opacity: 0.75;
    z-index: 0;
}

.home-hero-orb-one {
    width: 180px;
    height: 180px;
    top: 14%;
    right: 10%;
    background: radial-gradient(circle, rgba(125, 211, 252, 0.45), rgba(125, 211, 252, 0));
    animation: floatOrb 8s ease-in-out infinite;
}

.home-hero-orb-two {
    width: 220px;
    height: 220px;
    bottom: 8%;
    right: 22%;
    background: radial-gradient(circle, rgba(126, 34, 206, 0.22), rgba(126, 34, 206, 0));
    animation: floatOrb 10s ease-in-out infinite reverse;
}

.home-hero-grid {
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.14) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(90deg, rgba(0, 0, 0, 1) 18%, rgba(0, 0, 0, 0) 100%);
    opacity: 0.4;
    z-index: 0;
}

.home-hero-overlay {
    background:
        linear-gradient(90deg, rgba(251, 248, 244, 0.97) 0%, rgba(251, 248, 244, 0.89) 42%, rgba(251, 248, 244, 0.58) 68%, rgba(251, 248, 244, 0.36) 100%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.18));
}

.min-vh-hero {
    min-height: 640px;
}

.hero-copy {
    max-width: 640px;
    padding-block: 5rem;
}

.hero-metrics {
    max-width: 600px;
}

.hero-metric {
    height: 100%;
    padding: 1rem 1.1rem;
    border-radius: 1.4rem;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.75);
    box-shadow: 0 18px 30px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(14px);
}

.hero-metric strong {
    display: block;
    font-size: 1.05rem;
    color: var(--text);
    font-weight: 800;
}

.hero-metric span {
    display: block;
    font-size: 0.88rem;
    color: var(--muted);
}

.eyebrow-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    background: rgba(168, 85, 247, 0.12);
    color: var(--primary);
    font-size: 0.92rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 1.5rem;
}

.hero-title,
.section-heading h2,
.section-copy h2,
.about-title {
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1.02;
}

.hero-title {
    font-size: clamp(3.2rem, 7vw, 5.5rem);
    max-width: 720px;
    margin-bottom: 1.6rem;
}

.hero-title span,
.about-title span {
    background: linear-gradient(135deg, #7c3aed, #7ab8ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.text-purple {
    color: var(--primary);
}

.hero-text,
.section-lead,
.section-heading p,
.section-copy p,
.soft-card p,
.testimonial-card p {
    color: var(--muted);
    font-size: 1.08rem;
}

.section-block {
    padding: 5rem 0;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 3rem;
}

.section-heading h2,
.section-copy h2 {
    font-size: clamp(2.1rem, 4vw, 3.4rem);
    margin-bottom: 1rem;
}

.soft-card,
.testimonial-card,
.product-card,
.section-surface,
.checkout-panel,
.profile-panel,
.magazine-card,
.contact-card,
.quiz-card,
.table-responsive {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(246, 248, 252, 0.94));
    border: 1px solid rgba(16, 34, 71, 0.06);
    border-radius: 1.9rem;
    box-shadow: var(--shadow-card);
}

.soft-card {
    padding: 2rem;
}

.soft-card:hover,
.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.12);
}

.soft-card:hover .icon-chip,
.info-feature:hover .icon-chip {
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 16px 28px rgba(124, 58, 237, 0.16);
}

.soft-card h3,
.info-feature h3,
.testimonial-card h3,
.product-content h3 {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text);
}

.icon-chip {
    width: 58px;
    height: 58px;
    border-radius: 1.15rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    box-shadow: 0 10px 24px rgba(16, 34, 71, 0.08);
    font-size: 1.45rem;
    margin-bottom: 1.75rem;
}

.text-sky {
    color: #72c5ff;
}

.text-teal {
    color: #18b78b;
}

.about-title {
    font-size: clamp(2.35rem, 4.7vw, 4.4rem);
    margin-bottom: 1.5rem;
}

.info-feature {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    margin-top: 2rem;
}

.info-feature .icon-chip {
    margin-bottom: 0;
    flex-shrink: 0;
}

.about-visual {
    overflow: hidden;
    border-radius: 2.1rem;
    box-shadow: var(--shadow-soft);
}

.about-visual img {
    display: block;
    min-height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.about-visual:hover img {
    transform: scale(1.04);
}

.testimonial-card {
    padding: 2.25rem 2rem;
    text-align: center;
}

.testimonial-avatar {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 800;
    color: var(--primary-deep);
    background: linear-gradient(180deg, #ffffff, #ede7ff);
    border: 3px solid #fff;
    box-shadow: 0 10px 24px rgba(124, 58, 237, 0.14);
}

.testimonial-stars {
    color: #ffb400;
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
    display: inline-flex;
    gap: 0.28rem;
    justify-content: center;
}

.testimonial-quote-mark {
    display: inline-flex;
    margin-bottom: 0.85rem;
    color: rgba(124, 58, 237, 0.28);
    font-size: 1.8rem;
}

.testimonial-quote {
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-card span {
    color: var(--primary);
    font-weight: 600;
}

.section-featured {
    background: linear-gradient(180deg, rgba(255,255,255,0.4), rgba(255,255,255,0.12));
}

.section-link {
    color: var(--primary);
    font-weight: 800;
}

.section-link i {
    margin-left: 0.35rem;
}

.product-card {
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 56px rgba(16, 34, 71, 0.12);
}

.product-card-catalog .card-img-top {
    height: 100%;
    object-fit: contain;
    padding: 1rem;
    transition: transform 0.55s ease;
}

.product-card-clickable {
    cursor: pointer;
}

.product-card-clickable:focus-visible {
    outline: 3px solid rgba(125, 211, 252, 0.9);
    outline-offset: 4px;
}

.product-card-catalog:hover .card-img-top {
    transform: scale(1.06);
}

.product-media-catalog {
    min-height: 224px;
    max-height: 224px;
}

.product-floating-badges {
    position: absolute;
    top: 1rem;
    left: 1rem;
    right: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: space-between;
    align-items: flex-start;
}

.product-floating-badges .badge:last-child {
    margin-left: auto;
}

.product-media {
    position: relative;
    background: linear-gradient(180deg, #f7f8fc, #eff2f8);
    min-height: 280px;
}

.product-card .card-img-top {
    height: 280px;
    object-fit: contain;
    padding: 1rem;
}

.product-status {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text);
    border: 1px solid rgba(16, 34, 71, 0.08);
    font-size: 0.88rem;
    font-weight: 700;
}

.product-status.is-out {
    color: #b42318;
}

.product-content {
    padding: 1.65rem;
}

.product-content-catalog {
    min-height: 270px;
    padding: 1.3rem 1.2rem 1.15rem;
}

.product-content-catalog h3 {
    font-size: 1.02rem;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-content p {
    color: var(--muted);
    margin-bottom: 1.35rem;
}

.product-card-description {
    font-size: 0.95rem;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: calc(1.55em * 4);
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
}

.product-meta-catalog {
    gap: 0.75rem;
}

.product-meta-catalog .btn-soft.btn-sm {
    padding-inline: 0.85rem;
    white-space: nowrap;
}

.product-card-actions {
    position: relative;
    z-index: 2;
}

.price-stack strong {
    color: var(--text);
    font-size: 2rem;
    line-height: 1;
    letter-spacing: -0.04em;
}

.btn-cart {
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.product-out-text {
    color: #b42318;
    font-size: 0.9rem;
    font-weight: 700;
}

.site-footer {
    background: #10192f;
    margin-top: 5rem;
}

.science-hero {
    background:
        radial-gradient(circle at top right, rgba(125, 211, 252, 0.12), transparent 30%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 247, 252, 0.95));
}

.science-panel,
.faq-aside-card,
.contact-card,
.info-tile {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 248, 252, 0.94));
    border: 1px solid rgba(16, 34, 71, 0.06);
    border-radius: 1.75rem;
    box-shadow: var(--shadow-soft);
}

.science-panel,
.faq-aside-card,
.info-tile {
    padding: 1.75rem;
}

.science-mini-card {
    height: 100%;
    padding: 1.1rem 1.15rem;
    border-radius: 1.35rem;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(16, 34, 71, 0.06);
    box-shadow: 0 14px 26px rgba(15, 23, 42, 0.06);
}

.science-mini-card strong {
    display: block;
    margin-bottom: 0.35rem;
}

.science-mini-card p {
    color: var(--muted);
    font-size: 0.92rem;
}

.science-check-list li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    color: var(--muted);
}

.science-check-list li + li {
    margin-top: 1rem;
}

.science-check-list i {
    color: var(--primary);
    font-size: 1.1rem;
    margin-top: 0.1rem;
}

.article-card {
    border-radius: 1.7rem;
}

.article-card-figure {
    height: 240px;
}

.article-card-figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
}

.article-card:hover .article-card-figure img {
    transform: scale(1.08);
}

.pdf-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ef4444;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.article-card-label {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.faq-accordion .accordion-item,
.faq-item {
    border: 1px solid rgba(16, 34, 71, 0.06);
    border-radius: 1.35rem !important;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    background: rgba(255, 255, 255, 0.95);
}

.faq-accordion .accordion-button {
    padding: 1.25rem 1.4rem;
    font-weight: 700;
    background: transparent;
    box-shadow: none;
}

.faq-accordion .accordion-button:not(.collapsed) {
    color: var(--primary-deep);
    background: rgba(126, 34, 206, 0.04);
}

.faq-accordion .accordion-body {
    padding: 0 1.4rem 1.25rem;
}

.contact-icon {
    width: 76px;
    height: 76px;
    border-radius: 1.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.contact-icon.whatsapp {
    background: rgba(34, 197, 94, 0.12);
    color: #16a34a;
}

.contact-icon.email {
    background: rgba(59, 130, 246, 0.12);
    color: #2563eb;
}

.info-tile i {
    display: inline-flex;
    margin-bottom: 1rem;
    font-size: 2rem;
    color: var(--primary);
}

.quiz-step-badge {
    padding: 0.75rem 1rem;
    border-radius: 999px;
    font-size: 0.92rem;
}

.quiz-progress {
    height: 10px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.08);
}

.quiz-option {
    min-height: 108px;
    justify-content: flex-start;
    border-radius: 1.25rem;
    text-align: left;
    border: 1px solid rgba(16, 34, 71, 0.08);
    background: rgba(255, 255, 255, 0.9);
    transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.quiz-option:hover {
    transform: translateY(-4px);
    background: rgba(124, 58, 237, 0.06);
    border-color: rgba(124, 58, 237, 0.18);
    box-shadow: 0 16px 28px rgba(124, 58, 237, 0.12);
}

.cart-product-media {
    width: 84px;
    height: 84px;
    overflow: hidden;
    border-radius: 1rem;
    background: linear-gradient(180deg, #f8fbff, #eef2f8);
}

.cart-qty-control {
    border: 1px solid rgba(16, 34, 71, 0.08);
    border-radius: 1rem;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.8);
}

.summary-panel {
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.08);
}

.checkout-steps {
    padding: 1rem;
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(16, 34, 71, 0.06);
    backdrop-filter: blur(12px);
}

.step-item {
    text-align: center;
    flex: 1;
    min-width: 120px;
}

.step-circle {
    width: 40px;
    height: 40px;
    background: #e9ecef;
    color: #6c757d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    font-weight: 800;
    transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.step-item.active .step-circle {
    background: linear-gradient(135deg, var(--primary), #5b21b6);
    color: white;
    box-shadow: 0 16px 28px rgba(126, 34, 206, 0.22);
    transform: translateY(-2px);
}

.checkout-choice {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.25rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(16, 34, 71, 0.08);
    background: rgba(255, 255, 255, 0.84);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease, background-color 0.25s ease;
}

.checkout-choice:hover,
.checkout-choice.is-active {
    border-color: rgba(124, 58, 237, 0.24);
    background: rgba(248, 244, 255, 0.88);
    box-shadow: 0 16px 26px rgba(124, 58, 237, 0.08);
    transform: translateY(-2px);
}

.filter-panel,
.search-shell-panel,
.filter-select {
    background: rgba(255, 255, 255, 0.9);
}

.filter-select {
    min-height: 54px;
    border-radius: 1rem;
    border: 1px solid rgba(16, 34, 71, 0.08);
    box-shadow: none;
}

.filter-clear-btn {
    min-height: 54px;
    border-radius: 1rem;
}

.empty-state {
    padding: 2.5rem 1.5rem;
}

.privacy-card {
    max-width: 100%;
}

.privacy-intro p,
.privacy-section p,
.privacy-section li {
    color: var(--muted);
    line-height: 1.78;
}

.privacy-section + .privacy-section {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(16, 34, 71, 0.08);
}

.privacy-section h2 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 1rem;
}

.privacy-section ul {
    padding-left: 1.2rem;
    margin-bottom: 1rem;
}

.privacy-section li + li {
    margin-top: 0.55rem;
}

.privacy-contact-box {
    margin-top: 1rem;
    padding: 1.25rem 1.35rem;
    border-radius: 1.25rem;
    background: linear-gradient(180deg, #fafbfe, #f4f7fb);
    border: 1px solid rgba(16, 34, 71, 0.06);
}

.privacy-contact-box p:last-child {
    margin-bottom: 0;
}

.assistant-widget {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 1055;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.85rem;
}

.assistant-toggle {
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.95rem 1.15rem;
    border-radius: 1.35rem;
    color: #fff;
    background: linear-gradient(135deg, #7E22CE, #4f46e5);
    box-shadow: 0 22px 42px rgba(79, 70, 229, 0.28);
}

.assistant-toggle-icon {
    width: 2.7rem;
    height: 2.7rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    font-size: 1.2rem;
}

.assistant-toggle-copy {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.1;
}

.assistant-toggle-copy strong {
    font-size: 0.98rem;
}

.assistant-toggle-copy small {
    opacity: 0.85;
}

.assistant-panel {
    width: min(390px, calc(100vw - 1.5rem));
    max-height: min(78vh, 760px);
    display: flex;
    flex-direction: column;
    border-radius: 1.75rem;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(16, 34, 71, 0.08);
    box-shadow: 0 26px 60px rgba(15, 23, 42, 0.18);
    backdrop-filter: blur(18px);
}

.assistant-header {
    padding: 1.15rem 1.2rem 1rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid rgba(16, 34, 71, 0.06);
    background:
        radial-gradient(circle at top right, rgba(125, 211, 252, 0.18), transparent 35%),
        linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,250,255,0.96));
}

.assistant-eyebrow {
    display: inline-block;
    margin-bottom: 0.35rem;
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.assistant-header h3 {
    margin: 0 0 0.2rem;
    font-size: 1.1rem;
    font-weight: 800;
}

.assistant-header p {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.assistant-header-actions {
    display: flex;
    gap: 0.5rem;
}

.assistant-icon-btn {
    width: 2.2rem;
    height: 2.2rem;
    border: 1px solid rgba(16, 34, 71, 0.08);
    background: #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
}

.assistant-body {
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    background: linear-gradient(180deg, rgba(252, 252, 255, 0.98), rgba(246, 248, 252, 0.96));
}

.assistant-message {
    display: flex;
    flex-direction: column;
    max-width: 92%;
}

.assistant-message-user {
    align-self: flex-end;
}

.assistant-message-bot {
    align-self: flex-start;
}

.assistant-bubble {
    padding: 0.9rem 1rem;
    border-radius: 1.2rem;
    line-height: 1.6;
    font-size: 0.95rem;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
}

.assistant-message-bot .assistant-bubble {
    background: #fff;
    color: var(--text);
    border: 1px solid rgba(16, 34, 71, 0.06);
}

.assistant-message-user .assistant-bubble {
    background: linear-gradient(135deg, var(--primary), #5b21b6);
    color: #fff;
}

.assistant-suggestions {
    display: flex;
    gap: 0.55rem;
    padding: 0 1rem 1rem;
    overflow-x: auto;
}

.assistant-typing {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0 1rem 0.75rem;
}

.assistant-typing span {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: rgba(126, 34, 206, 0.45);
    animation: assistantPulse 1s infinite ease-in-out;
}

.assistant-typing span:nth-child(2) {
    animation-delay: 0.15s;
}

.assistant-typing span:nth-child(3) {
    animation-delay: 0.3s;
}

.assistant-suggestion-chip {
    border: 1px solid rgba(16, 34, 71, 0.08);
    background: #fff;
    color: var(--text);
    border-radius: 999px;
    padding: 0.55rem 0.85rem;
    white-space: nowrap;
    font-size: 0.84rem;
    font-weight: 700;
}

.assistant-form {
    display: flex;
    align-items: flex-end;
    gap: 0.75rem;
    padding: 1rem;
    border-top: 1px solid rgba(16, 34, 71, 0.06);
    background: #fff;
}

.assistant-input {
    flex: 1;
    resize: none;
    min-height: 52px;
    max-height: 140px;
    border: 1px solid rgba(16, 34, 71, 0.08);
    border-radius: 1rem;
    padding: 0.85rem 0.95rem;
    line-height: 1.5;
}

.assistant-send {
    width: 3rem;
    height: 3rem;
    border: none;
    border-radius: 1rem;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), #4f46e5);
    box-shadow: 0 16px 28px rgba(79, 70, 229, 0.22);
}

.assistant-widget.is-loading .assistant-send,
.assistant-widget.is-loading .assistant-input {
    opacity: 0.75;
}

.assistant-product-list {
    display: grid;
    gap: 0.65rem;
    margin-top: 0.65rem;
}

.assistant-product-card {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 0.75rem;
    align-items: center;
    padding: 0.7rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(16, 34, 71, 0.06);
    color: inherit;
}

.assistant-product-media,
.assistant-product-placeholder {
    width: 56px;
    height: 56px;
    border-radius: 0.9rem;
    overflow: hidden;
    background: linear-gradient(180deg, #f8fbff, #eef2f8);
    display: flex;
    align-items: center;
    justify-content: center;
}

.assistant-product-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.35rem;
}

.assistant-product-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.assistant-product-copy strong,
.assistant-product-copy span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.assistant-product-copy span,
.assistant-product-copy small {
    color: var(--muted);
}

@keyframes assistantPulse {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.45;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

.footer-title {
    color: #fff;
    font-weight: 800;
    margin-bottom: 1.25rem;
}

.footer-copy {
    color: rgba(255, 255, 255, 0.72);
}

.footer-links li + li {
    margin-top: 0.9rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.72);
    transition: color 0.25s ease, transform 0.25s ease;
}

.footer-links a:hover,
.footer-social:hover {
    color: #fff;
}

.footer-links a:hover {
    transform: translateX(4px);
}

.footer-social {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.06);
    font-size: 1.15rem;
}

.footer-social:hover {
    background: linear-gradient(135deg, var(--primary), #5b21b6);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 16px 28px rgba(124, 58, 237, 0.24);
}

.footer-app-card {
    padding: 1.25rem;
    border-radius: 1.6rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(14px);
}

.footer-qr-frame {
    display: inline-flex;
    padding: 0.9rem;
    border-radius: 1.25rem;
    background: #ffffff;
}

.footer-qr-image {
    border-radius: 1rem;
}

.footer-subscribe {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-subscribe .form-control {
    min-height: 48px;
    border-radius: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.footer-subscribe .form-control::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.footer-subscribe .btn {
    width: 48px;
    height: 48px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.card-modern {
    border: none;
    border-radius: 2rem;
    box-shadow: var(--shadow-soft);
}
/* El logo de México en el footer */
/* Nuevo estilo para el logo pequeño en el footer */
.footer-logo-small {
    width: 45px; /* Tamaño pequeño */
    height: auto;
    margin-left: 10px; /* Espacio entre el QR y el logo */
    opacity: 0.8;      /* Un toque sutil */
    transition: opacity 0.3s ease;
}

.footer-logo-small:hover {
    opacity: 1;
}

/* Estilo para el contenedor del logo Hecho en México */
.footer-logo-frame {
    display: inline-flex;
    padding: 0.9rem;
    border-radius: 1.25rem;
    background: #ffffff;
    align-items: center;
    justify-content: center;
    width: 100px; /* Igualamos el ancho al del QR */
    height: 100px;
    box-shadow: var(--shadow-soft); /* O usa shadow si prefieres más fuerza */
}

.footer-logo-frame img {
    max-width: 100%;
    height: auto;
}
/**/

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    background: var(--primary-soft);
    color: var(--primary);
}

.product-action {
    border-radius: 1rem;
}

.btn-circle {
    width: 3rem;
    height: 3rem;
    padding: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-circle:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(124, 58, 237, 0.18);
}

.feature-pill {
    border-radius: 1.25rem;
    background: var(--surface);
    color: var(--primary-deep);
    border: 1px solid rgba(124, 58, 237, 0.16);
}

.hero-feature {
    border-radius: 1.75rem;
    background: white;
    box-shadow: var(--shadow-soft);
}

.hero-feature .icon-box,
.magazine-card .icon-card {
    width: 3rem;
    height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    background: rgba(124, 58, 237, 0.12);
    color: var(--primary-deep);
}

.section-title {
    letter-spacing: -0.03em;
}

.section-card {
    border: 1px solid rgba(16, 34, 71, 0.06);
    border-radius: 1.75rem;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
}

.section-card img {
    border-top-left-radius: 1.75rem;
    border-top-right-radius: 1.75rem;
    height: 220px;
    object-fit: cover;
}

.rounded-panel {
    border-radius: 2rem;
}

.table-responsive {
    padding: 1.2rem;
}

.table th,
.table td {
    border-top: none;
    vertical-align: middle;
}

.table tbody tr:nth-child(odd) {
    background: rgba(244, 246, 251, 0.8);
}

.qty-control {
    min-width: 34px;
    min-height: 34px;
    border-radius: 0.9rem;
    border: 1px solid rgba(16, 34, 71, 0.1);
}

.qty-input {
    width: 4rem;
    max-width: 4rem;
    text-align: center;
    border-radius: 0.9rem;
}

.step-pill {
    border-radius: 2rem;
    background: var(--surface-soft);
    padding: 0.65rem 1rem;
    color: var(--muted);
}

.step-pill.active {
    background: var(--primary);
    color: #ffffff;
}

.admin-sidebar {
    background: linear-gradient(180deg, #0f172a, #10213b);
    border-radius: 2rem;
}

.admin-sidebar .nav-link {
    color: rgba(255,255,255,0.82);
}

.admin-sidebar .nav-link.active-admin {
    background: rgba(255,255,255,0.08);
    color: #ffffff;
}

.admin-panel {
    min-height: 100vh;
}

.admin-panel .card {
    border-radius: 1.75rem;
}

.badge-state {
    border-radius: 1rem;
    padding: 0.45rem 0.8rem;
    font-size: 0.8rem;
    font-weight: 600;
}

.badge-state.pendiente {
    background: rgba(245, 158, 11, 0.12);
    color: #b45309;
}

.badge-state.pagado {
    background: rgba(16, 185, 129, 0.14);
    color: #047857;
}

.badge-state.enviado,
.badge-state.entregado {
    background: rgba(124, 58, 237, 0.12);
    color: var(--primary-deep);
}

.badge-state.cancelado {
    background: rgba(239, 68, 68, 0.12);
    color: #b91c1c;
}

.customer-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.customer-detail-label {
    display: block;
    margin-bottom: 0.35rem;
    color: #6c757d;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.customer-address-card,
.customer-order-card,
.customer-review-card,
.customer-order-meta {
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.customer-order-card table th {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.profile-panel .avatar {
    width: 62px;
    height: 62px;
    font-size: 1.4rem;
}

.feature-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.magazine-graphic {
    position: relative;
    overflow: hidden;
}

.magazine-graphic img {
    width: 100%;
    display: block;
    height: 100%;
    object-fit: cover;
}

.magazine-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15,23,42,0.03), rgba(15,23,42,0.4));
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
}

.magazine-overlay h3,
.magazine-overlay p {
    color: #ffffff;
}

.icon-contact {
    width: 56px;
    height: 56px;
    font-size: 1.5rem;
}

.quiz-option {
    min-height: 100px;
    justify-content: flex-start;
    border-radius: 1.25rem;
    text-align: left;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.quiz-option:hover {
    transform: translateY(-3px);
    background: rgba(124, 58, 237, 0.08);
}

.result-panel {
    border-radius: 1.75rem;
    background: var(--surface-soft);
}

.checkout-panel .fs-4 {
    color: var(--primary);
}

.footer-note {
    border-top: 1px solid rgba(16, 34, 71, 0.08);
}

.btn-purple {
    background-color: #6f42c1;
    color: white;
    border: none;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-purple:hover {
    background-color: #5a32a3;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(111, 66, 193, 0.2);
}

.product-thumbnail {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: white;
    padding: 0.5rem;
}

.breadcrumb-custom {
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 2rem;
}

.breadcrumb-custom a {
    text-decoration: none;
    color: var(--muted);
}

.breadcrumb-custom span {
    color: var(--text);
    font-weight: 500;
}

.price-big {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text);
    margin: 1.5rem 0;
}

.product-page {
    padding-top: 3rem;
}

#catalogResults {
    transition: opacity 0.2s ease;
}

#catalogResults.catalog-loading {
    opacity: 0.55;
    pointer-events: none;
}

.page-shell-catalog .page-hero-compact {
    margin-bottom: 2.25rem !important;
}

.page-shell-catalog #catalogResults[data-animate] {
    opacity: 1;
    transform: none;
}

.product-gallery-card,
.product-copy-panel,
.product-purchase-card {
    border: 1px solid rgba(16, 34, 71, 0.06);
    border-radius: 2rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 248, 252, 0.92));
    box-shadow: var(--shadow-soft);
}

.product-gallery-card {
    padding: 1.5rem;
}

.product-gallery-frame {
    padding: 1.75rem;
    border-radius: 1.5rem;
    background: linear-gradient(180deg, #fbfbfe, #eef2f8);
    border: 1px solid rgba(16, 34, 71, 0.06);
}

.product-main-image {
    max-height: 520px;
    object-fit: contain;
}

.product-main-image-placeholder {
    height: 520px;
}

.product-thumb-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 1rem;
}

.product-thumb-button {
    border-radius: 1rem;
}

.product-thumb-button.is-active .product-thumbnail,
.product-thumb-button:hover .product-thumbnail {
    border-color: rgba(124, 58, 237, 0.35);
    box-shadow: 0 10px 22px rgba(124, 58, 237, 0.12);
    transform: translateY(-2px);
}

.product-thumbnail {
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.product-copy-panel {
    padding: 2rem;
}

.product-page-title {
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    line-height: 1.02;
    letter-spacing: -0.05em;
    font-weight: 800;
    margin-bottom: 1rem;
}

.product-rating-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.product-price-row {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 1.5rem;
}

.product-price-note {
    color: var(--muted);
    font-size: 0.95rem;
}

.product-intro {
    color: var(--muted);
    font-size: 1.08rem;
    margin-bottom: 1.75rem;
}

.product-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.product-feature-card {
    min-height: 132px;
    padding: 1.3rem 1rem;
    border-radius: 1.35rem;
    background: linear-gradient(180deg, #fafbfe, #f4f7fb);
    border: 1px solid rgba(16, 34, 71, 0.06);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 24px rgba(16, 34, 71, 0.05);
}

.product-feature-icon {
    width: 2.8rem;
    height: 2.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #93a1b7;
    font-size: 1.35rem;
    margin-bottom: 0.6rem;
}

.product-feature-label {
    color: #7b8aa4;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.3rem;
}

.product-feature-value {
    color: var(--text);
    font-size: 1.45rem;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.product-purchase-card {
    padding: 1.5rem;
}

.product-qty-row {
    justify-content: space-between;
    align-items: end;
    gap: 1rem;
}

.product-qty-input {
    max-width: 120px;
}

.product-usage-box {
    background: linear-gradient(180deg, #f8f4ff, #f3efff);
}

.product-badge-info {
    display: inline-flex;
    flex-direction: column;
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    background: #fdfcff;
    border: 1px solid #ede9fe;
    min-width: 120px;
    box-shadow: 0 2px 4px rgba(111, 66, 193, 0.05);
}

.product-badge-info .label {
    font-size: 0.75rem;
    color: var(--muted);
    text-transform: uppercase;
    font-weight: 600;
}

.product-badge-info .value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.benefits-list li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    color: var(--text);
}

.benefits-list li i {
    color: #10b981;
    margin-right: 0.75rem;
}

.qty-selector {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.qty-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.qty-btn:hover {
    background: var(--surface-soft);
}

.info-tabs .nav-link {
    border: none;
    color: var(--muted);
    font-weight: 600;
    padding: 1rem 2rem;
    border-bottom: 3px solid transparent;
}

.info-tabs .nav-link.active {
    color: #6f42c1;
    border-bottom-color: #6f42c1;
    background: transparent;
}

.usage-box {
    background-color: #f5f3ff;
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid #ddd6fe;
}

.usage-box h4 {
    color: #5b21b6;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.guarantee-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--muted);
    margin-top: 1rem;
}

.bg-purple {
    background-color: #6f42c1;
}

@media (max-width: 1199px) {
    .search-shell {
        min-width: 100%;
    }

    .nav-primary {
        margin-top: 1rem;
        margin-bottom: 1rem;
    }
}

@media (max-width: 768px) {
    .home-hero,
    .min-vh-hero {
        min-height: 520px;
    }

    .hero-copy {
        padding-block: 4rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .product-meta,
    .footer-subscribe,
    .info-feature {
        align-items: flex-start;
    }

    .product-meta {
        flex-direction: column;
    }

    .qty-selector {
        flex-direction: column;
        align-items: flex-start;
    }

    .page-title,
    .about-title,
    .product-page-title {
        font-size: 2.35rem;
    }

    .page-subtitle {
        font-size: 1rem;
    }

    .product-feature-grid {
        grid-template-columns: 1fr;
    }

    .product-meta {
        gap: 1.25rem;
    }

    .product-content-catalog {
        min-height: auto;
    }

    .product-card-description {
        -webkit-line-clamp: 3;
        min-height: calc(1.55em * 3);
    }

    .product-media-catalog {
        min-height: 210px;
        max-height: 210px;
    }

    .product-floating-badges {
        right: auto;
        max-width: calc(100% - 2rem);
    }

    .contact-icon {
        width: 62px;
        height: 62px;
        font-size: 1.6rem;
    }

    .assistant-widget {
        right: 0.85rem;
        bottom: 0.85rem;
        left: auto;
        align-items: flex-end;
    }

    .assistant-toggle {
        width: 4rem;
        height: 4rem;
        padding: 0;
        border-radius: 50%;
        justify-content: center;
        gap: 0;
        box-shadow: 0 18px 34px rgba(79, 70, 229, 0.3);
    }

    .assistant-toggle-copy {
        display: none;
    }

    .assistant-toggle-icon {
        width: 100%;
        height: 100%;
        background: transparent;
        font-size: 1.35rem;
    }

    .assistant-panel {
        width: min(340px, calc(100vw - 1rem));
        max-height: min(62vh, 520px);
        border-radius: 1.4rem;
    }

    .assistant-header {
        padding: 0.9rem 1rem 0.85rem;
    }

    .assistant-header h3 {
        font-size: 1rem;
    }

    .assistant-header p {
        font-size: 0.82rem;
    }

    .assistant-body {
        padding: 0.85rem;
        gap: 0.7rem;
    }

    .assistant-bubble {
        font-size: 0.9rem;
        padding: 0.8rem 0.9rem;
        line-height: 1.5;
    }

    .assistant-suggestions {
        padding: 0 0.85rem 0.85rem;
        gap: 0.45rem;
    }

    .assistant-suggestion-chip {
        font-size: 0.78rem;
        padding: 0.48rem 0.72rem;
    }

    .assistant-form {
        padding: 0.85rem;
        gap: 0.6rem;
    }

    .assistant-input {
        min-height: 46px;
        font-size: 0.9rem;
        padding: 0.75rem 0.85rem;
    }

    .assistant-send {
        width: 2.7rem;
        height: 2.7rem;
        border-radius: 0.85rem;
    }

    .assistant-product-card {
        grid-template-columns: 48px minmax(0, 1fr);
        gap: 0.6rem;
        padding: 0.6rem;
    }

    .assistant-product-media,
    .assistant-product-placeholder {
        width: 48px;
        height: 48px;
        border-radius: 0.8rem;
    }

    .cart-table-wrap table {
        min-width: 760px;
    }

    .admin-sidebar {
        position: relative;
        min-height: auto;
    }
}
/* ====================== MEJORAS PARA ACERCARSE AL 2.0 ====================== */

.btn-brand,
.btn-primary,
.btn-success {
    background: linear-gradient(135deg, #7E22CE, #6D28D9) !important;
    border: none !important;
    font-weight: 700;
    border-radius: 1rem;
    box-shadow: 0 14px 30px rgba(126, 34, 206, 0.25);
}

.btn-brand:hover,
.btn-primary:hover,
.btn-success:hover {
    background: linear-gradient(135deg, #6B21A8, #5B21B6) !important;
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(126, 34, 206, 0.3);
}

.card, 
.product-card, 
.soft-card,
.section-card {
    border-radius: 1.75rem !important;
    border: 1px solid var(--border) !important;
    box-shadow: var(--shadow-card) !important;
    transition: all 0.3s ease;
}

.card:hover, 
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.15) !important;
}

.hero-title, 
.section-heading h2,
.section-title {
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.05;
}

.text-gradient {
    background: linear-gradient(135deg, #7E22CE, #7DD3FC);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

[data-animate] {
    opacity: 0;
    transform: translate3d(0, 36px, 0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-animate="fade-right"] {
    transform: translate3d(-36px, 0, 0);
}

[data-animate="zoom-in"] {
    transform: scale(0.92);
}

[data-animate].is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

@keyframes floatOrb {
    0%, 100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(0, -14px, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }

    [data-animate] {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Ajuste de colores principales */
a {
    color: var(--primary-deep);
}

a:hover {
    color: var(--primary);
}
