/* ==========================================================================
   Vertical: Software POS para Tiendas de Cosméticos y Distribuidoras de Belleza
   Estilos Aislados (Clean Code) — Jeloda V2
   ========================================================================== */

.product-page-wrapper.cosmeticos-page {
    padding-top: 105px !important;
    padding-bottom: 100px !important;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

@media (max-width: 768px) {
    .product-page-wrapper.cosmeticos-page {
        padding-top: 85px !important;
    }
}

.relative-z { 
    position: relative; 
    z-index: 2; 
}

.product-bg-wave {
    position: absolute; 
    top: 5%; 
    right: -250px; 
    width: 800px; 
    height: auto;
    opacity: 0.24; 
    z-index: 1; 
    pointer-events: none;
    animation: cosmeticosFloatSlow 16s infinite ease-in-out;
}
.product-bg-wave img { 
    width: 100%; 
    height: auto; 
}

.deco-shapes .shape {
    position: absolute; 
    opacity: 0.45;
    filter: drop-shadow(0 15px 35px rgba(0,0,0,0.4));
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.deco-shapes .shape:hover { 
    opacity: 0.85; 
    transform: scale(1.15) rotate(5deg); 
}
.shape-hexa { 
    top: 14%; 
    left: 5%; 
    width: 110px; 
    animation: cosmeticosFloatSlow 9s infinite ease-in-out; 
}
.shape-diamond { 
    bottom: 22%; 
    right: 5%; 
    width: 130px; 
    animation: cosmeticosFloatSlow 8s infinite ease-in-out 1.5s; 
}

@keyframes cosmeticosFloatSlow {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-14px) rotate(2.5deg); }
}

/* Badge Cosméticos */
.badge-cosmeticos {
    display: inline-flex !important;
    align-items: center; 
    justify-content: center;
    background: linear-gradient(135deg, rgba(244, 63, 94, 0.18) 0%, rgba(223, 186, 85, 0.12) 100%) !important;
    border: 1px solid rgba(244, 63, 94, 0.45) !important;
    color: #fb7185 !important;
    padding: 6px 18px !important; 
    border-radius: 50px !important;
    font-size: 0.78rem !important; 
    font-weight: 700 !important;
    text-transform: uppercase !important; 
    letter-spacing: 1.5px !important;
    box-shadow: 0 4px 18px rgba(244, 63, 94, 0.2) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    margin-bottom: 12px;
}
.badge-cosmeticos i { 
    font-size: 1.05rem; 
    margin-right: 7px; 
    color: #fda4af;
}
.badge-cosmeticos:hover {
    background: linear-gradient(135deg, rgba(244, 63, 94, 0.28) 0%, rgba(223, 186, 85, 0.22) 100%) !important;
    border-color: rgba(251, 113, 133, 0.75) !important;
    box-shadow: 0 6px 22px rgba(244, 63, 94, 0.32) !important;
    transform: translateY(-2px);
}

.theme--light .badge-cosmeticos {
    background: rgba(225, 29, 72, 0.08) !important;
    border-color: rgba(225, 29, 72, 0.25) !important;
    color: #be123c !important;
}

/* ── Typography & Gradients ── */
.product-hero-title,
.cosmeticos-hero-title {
    font-size: 2.8rem !important;
    font-weight: 800 !important;
    line-height: 1.18 !important;
    letter-spacing: -0.5px !important;
}
@media (max-width: 768px) {
    .product-hero-title,
    .cosmeticos-hero-title {
        font-size: 2rem !important;
    }
}

.text-cosmeticos-gradient {
    background: linear-gradient(135deg, #fb7185 0%, #f43f5e 40%, #dfba55 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.theme--light .text-cosmeticos-gradient {
    background: linear-gradient(135deg, #e11d48 0%, #be123c 50%, #b45309 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Botones CTA Rose Gold & Gold */
.btn-cosmeticos-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 34px;
    font-size: 1.02rem;
    font-weight: 700;
    border-radius: 50px;
    background: linear-gradient(135deg, #f43f5e 0%, #e11d48 50%, #dfba55 100%);
    color: #ffffff !important;
    border: none;
    box-shadow: 0 8px 26px rgba(244, 63, 94, 0.38);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.btn-cosmeticos-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(244, 63, 94, 0.52);
    color: #ffffff !important;
}

.btn-cosmeticos-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.04);
    color: #f3f4f6 !important;
    border: 1px solid rgba(244, 63, 94, 0.35);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}
.btn-cosmeticos-outline:hover {
    background: rgba(244, 63, 94, 0.12);
    border-color: rgba(244, 63, 94, 0.6);
    color: #ffffff !important;
    transform: translateY(-2px);
}

/* Stats Numbers */
.stat-number-cosmeticos {
    color: #fb7185 !important;
}

.theme--light .stat-number-cosmeticos {
    color: #e11d48 !important;
}

/* Tarjetas de Producto / Demo */
.cosmeticos-card {
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px;
    height: 100%;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
}

.theme--light .cosmeticos-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.cosmeticos-card:hover {
    transform: translateY(-4px);
    border-color: rgba(251, 113, 133, 0.4);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.cosmeticos-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(244, 63, 94, 0.15);
    border: 1px solid rgba(244, 63, 94, 0.3);
    color: #fb7185;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.theme--light .cosmeticos-card-icon {
    background: rgba(225, 29, 72, 0.1);
    border-color: rgba(225, 29, 72, 0.25);
    color: #be123c;
}

.cosmeticos-card-icon i {
    font-size: 26px;
}

.cosmeticos-card-tag {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #fb7185;
    margin-bottom: 4px;
    display: block;
}

.theme--light .cosmeticos-card-tag {
    color: #be123c;
}

.cosmeticos-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.theme--light .cosmeticos-card-title {
    color: #0f172a;
}

.cosmeticos-card-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.88rem;
}

.theme--light .cosmeticos-card-row {
    border-bottom-color: rgba(0, 0, 0, 0.05);
}

.cosmeticos-card-row:last-child {
    border-bottom: none;
}

.cosmeticos-row-label {
    color: #94a3b8;
}

.theme--light .cosmeticos-row-label {
    color: #64748b;
}

.cosmeticos-row-val {
    font-weight: 600;
    color: #e2e8f0;
}

.theme--light .cosmeticos-row-val {
    color: #1e293b;
}

.cosmeticos-badge-stock {
    background: rgba(244, 63, 94, 0.15);
    color: #fb7185;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 700;
}

.theme--light .cosmeticos-badge-stock {
    background: rgba(225, 29, 72, 0.1);
    color: #be123c;
}

/* Highlights Box */
.cosmeticos-highlights-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    backdrop-filter: blur(16px);
}

.theme--light .cosmeticos-highlights-card {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(0, 0, 0, 0.07);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

/* Testimonios */
.cosmeticos-testimonial-card {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    padding: 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.theme--light .cosmeticos-testimonial-card {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

/* FAQ Accordion */
.cosmeticos-faq-accordion .accordion-item {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.theme--light .cosmeticos-faq-accordion .accordion-item {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
}

.cosmeticos-faq-accordion .accordion-header {
    padding: 18px 22px;
    font-weight: 600;
    font-size: 1.02rem;
    color: #f1f5f9;
    cursor: pointer;
    user-select: none;
}

.theme--light .cosmeticos-faq-accordion .accordion-header {
    color: #0f172a;
}

.cosmeticos-faq-accordion .accordion-header:hover {
    color: #fb7185;
}

.cosmeticos-faq-accordion .accordion-body {
    padding: 0 22px 18px 22px;
    color: #94a3b8;
    line-height: 1.6;
    font-size: 0.94rem;
}

.theme--light .cosmeticos-faq-accordion .accordion-body {
    color: #475569;
}

/* Final CTA Box */
.cosmeticos-cta-box {
    background: linear-gradient(135deg, rgba(136, 19, 55, 0.4) 0%, rgba(15, 23, 42, 0.8) 100%);
    border: 1px solid rgba(244, 63, 94, 0.3);
    border-radius: 24px;
    padding: 48px 24px;
}

.theme--light .cosmeticos-cta-box {
    background: linear-gradient(135deg, rgba(255, 241, 242, 0.85) 0%, rgba(254, 252, 232, 0.7) 100%);
    border-color: rgba(225, 29, 72, 0.25);
}

/* ── Hero Stats ── */
.hero-stats-wrapper {
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}
.stat-item-premium {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    padding: 16px 14px;
    text-align: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.theme--light .stat-item-premium {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}
.stat-item-premium:hover {
    transform: translateY(-3px);
    border-color: rgba(244, 63, 94, 0.35);
}
.stat-number-premium {
    display: block;
    font-size: 1.85rem;
    font-weight: 800;
    line-height: 1.2;
}
.stat-label-premium {
    display: block;
    font-size: 0.82rem;
    color: #94a3b8;
    margin-top: 4px;
    font-weight: 500;
}
.theme--light .stat-label-premium {
    color: #64748b;
}

/* ── AEO Answer Box ── */
.answer-first-box {
    background: linear-gradient(135deg, rgba(244, 63, 94, 0.06) 0%, rgba(223, 186, 85, 0.04) 100%);
    border-left: 4px solid #f43f5e;
    border-radius: 0 14px 14px 0;
    padding: 18px 22px;
    font-size: 1.02rem;
    line-height: 1.65;
    color: #e2e8f0;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    margin-top: 14px;
    margin-bottom: 24px;
}
.theme--light .answer-first-box {
    background: #fff5f6;
    border-left-color: #e11d48;
    color: #334155;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}
.answer-first-box strong {
    color: #fecdd3;
    font-weight: 700;
}
.theme--light .answer-first-box strong {
    color: #be123c;
}

.max-md {
    max-width: 960px !important;
}

/* ── Mac Window Frame Mockup ── */
.hero-dashboard-preview {
    position: relative;
    z-index: 2;
}
.mac-window-frame {
    background: #0f121d;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 40px rgba(244, 63, 94, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.theme--light .mac-window-frame {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}
.mac-window-frame:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.65), 0 0 50px rgba(244, 63, 94, 0.18);
}
.mac-window-header {
    background: #181c2d;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.theme--light .mac-window-header {
    background: #f1f5f9;
    border-bottom-color: rgba(0, 0, 0, 0.08);
}
.mac-window-dots {
    display: flex;
    gap: 6px;
}
.mac-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}
.mac-dot-red { background: #ff5f56; }
.mac-dot-yellow { background: #ffbd2e; }
.mac-dot-green { background: #27c93f; }
.mac-window-title {
    font-size: 0.78rem;
    color: #94a3b8;
    margin-left: 14px;
    font-family: monospace;
    letter-spacing: 0.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.theme--light .mac-window-title {
    color: #64748b;
}
.mac-window-frame img {
    display: block;
    width: 100%;
    height: auto;
}

/* ── Bento Showcase Card ── */
.showcase-bento-card {
    background: rgba(18, 22, 36, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 36px 32px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.theme--light .showcase-bento-card {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.06);
}
.showcase-bento-card:hover {
    border-color: rgba(244, 63, 94, 0.35);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45);
}
.theme--light .showcase-bento-card:hover {
    border-color: rgba(225, 29, 72, 0.35);
    box-shadow: 0 16px 44px rgba(225, 29, 72, 0.1);
}
.bento-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #fb7185;
    margin-bottom: 10px;
}
.theme--light .bento-tag {
    color: #be123c;
}
.bento-title {
    font-size: 1.55rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 14px;
    line-height: 1.3;
}
.theme--light .bento-title {
    color: #0f172a;
}
.bento-desc {
    color: #94a3b8;
    font-size: 0.98rem;
    line-height: 1.6;
    margin-bottom: 20px;
}
.theme--light .bento-desc {
    color: #475569;
}
.bento-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.bento-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.92rem;
    color: #cbd5e1;
    margin-bottom: 10px;
    line-height: 1.5;
}
.theme--light .bento-feature-list li {
    color: #334155;
}
.bento-feature-list li i {
    color: #f43f5e;
    font-size: 1.15rem;
    flex-shrink: 0;
    margin-top: 2px;
}
.theme--light .bento-feature-list li i {
    color: #e11d48;
}
