:root {
    --theme-bg: #ffffff;
    --theme-text-primary: #232323;
    --theme-text-secondary: #969696;
    --theme-text-muted: #3c3c3c;
    --theme-accent-primary: #4e3983;
    --theme-accent-hover: #3d2c69;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--theme-bg);
    color: #5c6c75;
    font-size: 0.875rem;
    font-weight: 500;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    color: var(--theme-text-primary);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--theme-accent-primary);
}

/* Utilities */
.text-purple-ksma {
    color: var(--theme-accent-primary);
}

.bg-purple-ksma {
    background-color: var(--theme-accent-primary);
}

.text-gray-900 {
    color: #111827 !important;
}

.text-gray-600 {
    color: #4b5563 !important;
}

.text-gray-500 {
    color: #6b7280 !important;
}

/* Navbar */
.navbar-brand img {
    object-fit: contain;
}

.header-search .input-group-text {
    background-color: transparent;
    border-right: none;
}

.header-search .form-control {
    border-left: none;
}

.header-search .form-control:focus {
    box-shadow: none;
    border-color: #dee2e6;
}

.btn-header-action {
    background-color: #f3f4f6;
    color: #4b5563;
    border: none;
    transition: background-color 0.2s;
}

.btn-header-action:hover {
    background-color: #e5e7eb;
}

.cart-bubble {
    position: absolute;
    top: -4px;
    right: -4px;
    background-color: #232323;
    color: white;
    font-size: 0.7rem;
    font-weight: bold;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hero Section */
.hero-wrapper {
    padding: 1.5rem 0;
}

@media (min-width: 992px) {
    .hero-wrapper {
        padding: 2rem 0;
    }
}

.hero-card {
    background: linear-gradient(to bottom right, #f8fafc, #f1f5f9, #f8fafc);
    border-radius: 1rem;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(229, 231, 235, 0.5);
    z-index: 1;
}

@media (min-width: 992px) {
    .hero-card {
        padding: 3rem;
    }
}

/* Dynamic Animated Background Mesh */
.hero-mesh-bg {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image:
        radial-gradient(circle at 50% 50%, rgba(78, 57, 131, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(168, 85, 247, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 20% 80%, rgba(78, 57, 131, 0.08) 0%, transparent 40%);
    background-size: 100% 100%;
    z-index: 0;
    animation: moveMesh 25s ease-in-out infinite alternate;
}

.hero-mesh-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(78, 57, 131, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(78, 57, 131, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.8;
    mask-image: radial-gradient(ellipse at center, black 10%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 10%, transparent 70%);
}

@keyframes moveMesh {
    0% {
        transform: scale(1) translate(0, 0);
    }

    50% {
        transform: scale(1.05) translate(-2%, 2%);
    }

    100% {
        transform: scale(1) translate(2%, -2%);
    }
}

.hero-title {
    font-size: 1.875rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.025em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin: 1.25rem 0;
}

@media (min-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }
}

.hero-title span {
    background: linear-gradient(to right, #4e3983, #a855f7);
    -webkit-background-clip: text;
    color: transparent;
}

.hero-subtitle {
    font-size: 1rem;
    line-height: 1.625;
    margin-bottom: 1.5rem;
    color: #4b5563;
}

@media (min-width: 992px) {
    .hero-subtitle {
        font-size: 1.125rem;
    }
}

.hero-btn-primary {
    background: linear-gradient(to right, #3d2c69, #4e3983);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s;
    box-shadow: 0 10px 25px -5px rgba(78, 57, 131, 0.4), 0 8px 10px -6px rgba(78, 57, 131, 0.3);
}

.hero-btn-primary:hover {
    background: linear-gradient(to right, #2d1254, #3d2c69);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(78, 57, 131, 0.5), 0 10px 15px -6px rgba(78, 57, 131, 0.4);
    color: white;
}

.hero-btn-secondary {
    background-color: white;
    color: #111827;
    border: 2px solid #e5e7eb;
    padding: 0.75rem 2rem;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.hero-btn-secondary:hover {
    background-color: #f9fafb;
    border-color: #d1d5db;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.avatar-group {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0.5rem 0;
}

.avatar-group li {
    margin-right: -0.75rem;
    transition: transform 0.3s;
    position: relative;
}

.avatar-group li:hover {
    transform: scale(1.1);
    z-index: 10;
}

.avatar-group img {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 0 0 2px #e8e0ff;
    object-fit: cover;
}

/* Promo Banners */
.promo-card {
    border-radius: 1rem;
    overflow: hidden;
    position: relative;
    transition: all 0.3s;
    min-height: 280px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.promo-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.promo-card::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: url('data:image/svg+xml,%3Csvg%20viewBox%3D%220%200%20200%20200%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cfilter%20id%3D%22n%22%3E%3CfeTurbulence%20type%3D%22fractalNoise%22%20baseFrequency%3D%220.65%22%20numOctaves%3D%223%22%20stitchTiles%3D%22stitch%22/%3E%3C/filter%3E%3Crect%20width%3D%22100%25%22%20height%3D%22100%25%22%20filter%3D%22url(%23n)%22/%3E%3C/svg%3E');
    pointer-events: none;
    z-index: 1;
}

.promo-1 {
    background: linear-gradient(to bottom right, #0e0620, #1e0f42, #4e3983);
}

.promo-2 {
    background: linear-gradient(to bottom right, #0a0f2e, #0d1f4f, #1a3a7a);
}

.promo-3 {
    background: linear-gradient(to bottom right, #051a10, #0a3020, #155233);
}

.promo-glow {
    position: absolute;
    top: -3rem;
    right: -3rem;
    width: 10rem;
    height: 10rem;
    border-radius: 50%;
    opacity: 0.2;
    filter: blur(24px);
    pointer-events: none;
}

.promo-1 .promo-glow {
    background-color: #a89de0;
}

.promo-2 .promo-glow {
    background-color: #60a5fa;
}

.promo-3 .promo-glow {
    background-color: #4ade80;
}

.promo-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.5rem;
}

.promo-badge {
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 1px;
    padding: 2px 8px;
    border-radius: 999px;
    background: #4e3983;
    color: #fff;
}

.promo-discount {
    font-size: 12px;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

.promo-img {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    height: 7rem;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s;
    z-index: 2;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.5));
}

.promo-card:hover .promo-img {
    transform: scale(1.05);
}

.btn-promo-add {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.btn-promo-add:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Assessment Section */
.assessment-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 0.5rem;
}

.assessment-circle {
    width: 7rem;
    height: 7rem;
    border-radius: 50%;
    background-color: #4e3983;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

@media (min-width: 768px) {
    .assessment-circle {
        width: 8rem;
        height: 8rem;
    }
}

.assessment-card:hover .assessment-circle {
    transform: scale(1.05);
    box-shadow: 0 8px 32px rgba(61, 26, 110, 0.45);
    filter: brightness(1.1);
}

.assessment-circle img {
    width: 5rem;
    height: 5rem;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

@media (min-width: 768px) {
    .assessment-circle img {
        width: 6rem;
        height: 6rem;
    }
}

.assessment-title {
    color: #232323;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    transition: color 0.2s;
    line-height: 1.3;
}

@media (min-width: 768px) {
    .assessment-title {
        font-size: 15px;
    }
}

.assessment-card:hover .assessment-title {
    color: #4e3983;
}

/* =====================================================
   PRODUCT CARD — exact mirror of KSMA ProductCard.tsx
   ===================================================== */

/* Card shell */
.product-card {
    border: 1px solid #d1d5db;
    /* border-gray-300 */
    border-radius: 0.5rem;
    /* rounded-lg */
    background: #fff;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s ease-in-out;
    overflow: hidden;
}

.product-card:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    /* shadow-md */
}

/* Image area — object-cover, fixed heights matching React component */
.product-img-area {
    position: relative;
    overflow: hidden;
}

.product-img-area img {
    width: 100%;
    height: 12rem;
    /* h-48 */
    object-fit: cover;
    /* IMPORTANT — original uses object-cover, NOT contain */
    border-radius: 0.5rem 0.5rem 0 0;
    display: block;
}

@media (min-width: 768px) {
    .product-img-area img {
        height: 14rem;
        /* md:h-56 */
    }
}

/* Overlay badges — absolute top-left */
.product-img-area .badges {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 0.5rem 0.625rem;
    /* p-2 md:p-3 */
    display: flex;
    gap: 0.25rem;
    align-items: flex-start;
    z-index: 10;
}

@media (min-width: 768px) {
    .product-img-area .badges {
        padding: 0.75rem;
    }
}

/* Best Seller badge — bg-gray-900 */
.badge-bestseller {
    display: inline-block;
    padding: 0.125rem 0.5rem;
    /* px-2 py-1 */
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 0.25rem;
    background: #111827;
    color: #fff;
    white-space: nowrap;
}

/* Discount badge — bg-red-600 */
.badge-discount {
    display: inline-block;
    padding: 0.125rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 0.25rem;
    background: #dc2626;
    color: #fff;
    white-space: nowrap;
}

/* Card body */
.product-body {
    padding: 0.5rem 0.625rem 0;
    /* p-2 md:p-4 pb-0 */
    flex: 1;
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .product-body {
        padding: 1rem 1rem 0;
    }
}

/* Brand + rating row */
.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.375rem;
    /* mb-1.5 */
    gap: 0.25rem;
}

@media (min-width: 768px) {
    .product-meta {
        margin-bottom: 0.5rem;
        /* md:mb-2 */
    }
}

/* Brand pill — bg-blue-100 text-blue-600 */
.product-brand {
    display: inline-block;
    padding: 2px 6px;
    /* px-1.5 py-0.5 */
    font-size: 10px;
    font-weight: 600;
    border-radius: 0.25rem;
    background-color: #dbeafe;
    color: #2563eb;
    max-width: 60%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (min-width: 768px) {
    .product-brand {
        padding: 2px 8px;
        /* md:px-2 md:py-1 */
        font-size: 0.875rem;
        max-width: none;
    }
}

/* Star + rating number */
.product-rating {
    display: flex;
    align-items: center;
    gap: 2px;
    color: #eab308;
    /* text-yellow-500 */
    flex-shrink: 0;
}

.product-rating .rating-num {
    color: #6b7280;
    /* text-gray-500 */
    font-size: 10px;
    margin-left: 2px;
}

@media (min-width: 768px) {
    .product-rating .rating-num {
        font-size: 0.875rem;
    }
}

.product-rating svg {
    width: 10px;
    height: 10px;
}

@media (min-width: 768px) {
    .product-rating svg {
        width: 14px;
        height: 14px;
    }
}

/* Product title */
.product-title {
    font-size: 0.75rem;
    /* text-xs */
    font-weight: 700;
    color: #111827;
    line-height: 1.25;
    margin-bottom: 0.25rem;
    min-height: 2rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (min-width: 768px) {
    .product-title {
        font-size: 1rem;
        /* md:text-base */
        margin-bottom: 0.75rem;
    }
}

.product-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.product-title a:hover {
    color: #4e3983;
}

/* Description — hidden on mobile */
.product-desc {
    display: none;
    font-size: 0.875rem;
    color: #4b5563;
    margin-bottom: 0.75rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

@media (min-width: 768px) {
    .product-desc {
        display: -webkit-box;
    }
}

/* Card footer */
.product-footer {
    padding: 0.5rem 0.625rem;
    /* p-2 md:p-4 pt-1 md:pt-0 */
    padding-top: 0.25rem;
    border-top: 1px solid #f3f4f6;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.25rem;
}

@media (min-width: 768px) {
    .product-footer {
        padding: 0 1rem 1rem;
        border-top: none;
    }
}

/* Price block */
.product-price {
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .product-price {
        flex-direction: row;
        align-items: center;
        gap: 0.5rem;
    }
}

.product-price .price-now {
    font-size: 0.875rem;
    /* text-sm */
    font-weight: 700;
    color: #4e3983;
}

@media (min-width: 768px) {
    .product-price .price-now {
        font-size: 1.125rem;
        /* md:text-lg */
    }
}

.product-price .price-old {
    text-decoration: line-through;
    color: #6b7280;
    font-size: 10px;
}

@media (min-width: 768px) {
    .product-price .price-old {
        font-size: 0.875rem;
    }
}

/* Add to Cart button — exact match of KSMA button class */
.btn-add-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    padding: 0.375rem 0.5rem;
    /* px-2 py-1.5 */
    font-size: 0.75rem;
    /* text-xs */
    font-weight: 600;
    border-radius: 0.25rem;
    background-color: #4e3983;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
    min-width: 60px;
    white-space: nowrap;
}

.btn-add-cart:hover,
.btn-add-cart:focus {
    background-color: #3d2c69;
    color: #fff;
}

@media (min-width: 768px) {
    .btn-add-cart {
        padding: 0.5rem 1rem;
        /* md:px-4 md:py-2 */
        font-size: 0.875rem;
        /* md:text-sm */
        min-width: 100px;
    }
}

/* =============================================
   HOW IT WORKS — exact mirror of KSMA HowItWorks.tsx
   ============================================= */
.bg-hiw {
    background-color: #F2EDFF;
    /* bg-[#F2EDFF] */
}

.hiw-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(22px, 4vw, 40px);
    color: #111827;
}

.hiw-steps-row {
    align-items: flex-start;
}

.hiw-step {
    width: 100%;
    /* mobile: full width */
    flex-shrink: 0;
}

@media (min-width: 576px) {
    .hiw-step {
        width: 50%;
    }
}

@media (min-width: 768px) {
    .hiw-step {
        width: 33.333%;
    }
}

/* Step 2 sits lower on desktop — pt-14 ≈ 3.5rem */
.hiw-step-lower {
    padding-top: 0;
}

@media (min-width: 992px) {
    .hiw-step-lower {
        padding-top: 3.5rem;
    }
}

.hiw-step-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
    /* text-xl */
    color: #111827;
}

.hiw-step-desc {
    font-size: 0.875rem;
    /* text-sm */
    color: #4b5563;
}

/* Dashed arrows between steps */
.hiw-arrow {
    position: absolute;
    margin: 0;
    z-index: 0;
}

.hiw-arrow-1 {
    top: 2.5rem;
    right: 0;
    transform: translateX(50%);
}

.hiw-arrow-2 {
    bottom: 8rem;
    right: 0;
    transform: translateX(50%);
}

/* =============================================
   TESTIMONIALS — exact mirror of KSMA Testimonials.tsx
   ============================================= */
.testimonial-heading {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(22px, 4vw, 40px);
    color: #111827;
}

/* Scroll container */
.testi-scroll {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 30px;
    padding-bottom: 2rem;
    padding-top: 1rem;
    align-items: stretch;
    cursor: grab;
}

/* Each card wrapper */
.testi-item {
    scroll-snap-align: start;
    flex: 0 0 calc(100% - 2px);
    min-width: 280px;
    display: flex;
    flex-direction: column;
}

@media (min-width: 576px) {
    .testi-item {
        flex: 0 0 calc(50% - 15px);
    }
}

@media (min-width: 992px) {
    .testi-item {
        flex: 0 0 calc(33.333% - 20px);
    }
}

/* The card itself */
.testi-card {
    background-color: #FEF0FF;
    border: 1px solid #f3e8ff;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 6px 24px rgba(78, 57, 131, 0.12);
    transition: box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    letter-spacing: 0.02em;
    line-height: 22px;
}

.testi-card:hover {
    box-shadow: 0 12px 36px rgba(78, 57, 131, 0.22);
}

/* Quote text */
.testi-quote {
    font-size: 12px;
    font-weight: 400;
    line-height: 22px;
    letter-spacing: 0.02em;
    color: #1f2937;
}

/* Avatar */
.testi-avatar {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    object-fit: cover;
    flex-shrink: 0;
}

/* Name */
.testi-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 500;
    color: #111827;
    line-height: 1.2;
    margin-bottom: 0.125rem;
}

/* City */
.testi-city {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #6b7280;
}

/* Nav buttons */
.testi-nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    cursor: pointer;
}

.testi-nav-active {
    background: linear-gradient(to right, #3d2c69, #4e3983);
    color: white;
}

.testi-nav-active:hover {
    box-shadow: 0 8px 20px rgba(78, 57, 131, 0.4);
    transform: translateY(-2px);
}

.testi-nav-inactive {
    background-color: #f3f4f6;
    color: #9ca3af;
    cursor: not-allowed;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #3b2a72 0%, #4e3983 60%, #5d4494 100%);
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}


/* ==========================================================================
   APP COMPONENTS (Cart Drawer, Toasts, Quiz Modal, Floating WA)
   ========================================================================== */

/* --- CART DRAWER --- */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.cart-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -400px;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: white;
    z-index: 1050;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-drawer.open {
    right: 0;
}

.cart-header {
    padding: 1.5rem;
    border-bottom: 1px solid #f3f4f6;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid #f3f4f6;
    background: #f9fafb;
}

/* Cart Item Rows */
.cart-item-row {
    display: flex;
    gap: 1rem;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #f3f4f6;
}

.cart-item-img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 8px;
    background: #f9fafb;
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-weight: 600;
    font-size: 0.875rem;
    color: #111827;
    margin: 0 0 0.25rem;
}

.cart-item-brand {
    font-size: 0.75rem;
    color: #6b7280;
    margin: 0 0 0.5rem;
}

.cart-qty-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-qty-btn {
    width: 24px;
    height: 24px;
    border: 1px solid #d1d5db;
    background: white;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.cart-qty-num {
    font-size: 0.875rem;
    font-weight: 600;
    width: 20px;
    text-align: center;
}

.cart-item-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
}

.cart-item-price {
    font-weight: 600;
    color: #111827;
    margin: 0;
}

.cart-remove-btn {
    border: none;
    background: none;
    color: #ef4444;
    font-size: 0.875rem;
    cursor: pointer;
    padding: 4px;
}

/* --- TOAST NOTIFICATIONS --- */
.toast-container {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1060;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.anang-toast {
    background: #111827;
    color: white;
    padding: 12px 20px;
    border-radius: 30px;
    font-weight: 500;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.anang-toast.show {
    transform: translateY(0);
    opacity: 1;
}

.anang-toast-success .toast-icon {
    color: #34d399;
}

.anang-toast-warning .toast-icon {
    color: #fbbf24;
}

.anang-toast-info .toast-icon {
    color: #60a5fa;
}


/* --- FLOATING WHATSAPP BUTTON --- */
.floating-wa {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    border: none;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    z-index: 1050;
    cursor: pointer;
    transition: transform 0.3s, bottom 0.3s;
}

.floating-wa::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    border: 2px solid #25D366;
    animation: wa-pulse 2s infinite;
}

.floating-wa:hover {
    transform: scale(1.1);
}

.floating-wa.wa-hide {
    bottom: -100px;
}

@keyframes wa-pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

.floating-wa-tooltip {
    position: absolute;
    right: 75px;
    background: white;
    color: #111827;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    pointer-events: none;
    transform: translateX(10px);
    transition: all 0.3s;
}

.floating-wa:hover .floating-wa-tooltip {
    opacity: 1;
    transform: translateX(0);
}


/* --- QUIZ MODAL --- */
.quiz-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(17, 24, 39, 0.7);
    backdrop-filter: blur(4px);
    z-index: 1060;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.quiz-modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.quiz-modal {
    background: white;
    width: 90%;
    max-width: 500px;
    border-radius: 20px;
    overflow: hidden;
    transform: scale(0.95);
    transition: transform 0.3s;
}

.quiz-modal-overlay.open .quiz-modal {
    transform: scale(1);
}

.quiz-modal-header {
    padding: 1.5rem 1.5rem 0;
    position: relative;
}

.quiz-modal-header .btn-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.quiz-progress {
    height: 6px;
    background: #f3f4f6;
    border-radius: 3px;
    overflow: hidden;
    margin-top: 1rem;
}

.quiz-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3d2c69, #8b5cf6);
    transition: width 0.4s ease;
    width: 0%;
}

.quiz-modal-content {
    padding: 2rem 1.5rem;
}

.quiz-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    padding: 1rem;
    border: 2px solid #f3f4f6;
    border-radius: 12px;
    background: white;
    color: #1f2937;
    font-weight: 600;
    text-align: left;
    transition: all 0.2s;
    cursor: pointer;
}

.quiz-option:hover {
    border-color: #8b5cf6;
    background: #f5f3ff;
}

.quiz-opt-icon {
    font-size: 1.5rem;
}

/* Quiz Result */
.quiz-result {
    text-align: center;
}

.quiz-result-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.quiz-result-kit {
    font-weight: 800;
    color: #111827;
    font-size: 1.5rem;
    margin: 0 0 0.25rem;
}

.quiz-result-brand {
    font-weight: 600;
    color: #8b5cf6;
    margin: 0 0 1rem;
}

.quiz-result-text {
    color: #4b5563;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.quiz-cta-btn {
    width: 100%;
    padding: 12px;
    background: #25D366;
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: bold;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 0.75rem;
    cursor: pointer;
    transition: background 0.2s;
}

.quiz-cta-btn:hover {
    background: #20bc5b;
}

.quiz-secondary-btn {
    width: 100%;
    padding: 10px;
    background: none;
    color: #6b7280;
    border: none;
    font-weight: 600;
    cursor: pointer;
}

.quiz-secondary-btn:hover {
    color: #111827;
    text-decoration: underline;
}

/* Add-to-cart button transition state */
.btn-add-cart.added {
    background-color: #10b981;
    border-color: #10b981;
    color: white;
}

/* KSMA Specific Cart Drawer Additions */
.ksma-checkout-btn {
    background-color: #4e3983 !important;
    color: white !important;
    padding: 14px !important;
    border-radius: 12px !important;
    transition: all 0.2s ease-in-out !important;
    box-shadow: 0 10px 15px -3px rgba(208, 195, 255, 0.5), 0 4px 6px -2px rgba(208, 195, 255, 0.3) !important;
}

.ksma-checkout-btn:hover {
    background-color: #3d2c69 !important;
    box-shadow: 0 20px 25px -5px rgba(208, 195, 255, 0.5), 0 10px 10px -5px rgba(208, 195, 255, 0.3) !important;
}

.ksma-checkout-btn:active {
    transform: scale(0.99);
}

.ksma-checkout-btn:hover .group-hover-arrow {
    transform: translateX(4px);
}

.group-hover-arrow {
    transition: transform 0.2s ease-in-out;
}

.ksma-continue-btn {
    color: #4e3983;
    font-size: 14px;
    transition: color 0.2s;
}

.ksma-continue-btn:hover {
    color: #3d2c69;
}

/* KSMA Assessment Modal Specifics */
.hover-shadow-lg:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
    transform: translateY(-2px);
    border-color: rgba(123, 99, 181, 0.3) !important;
}

.hover-show {
    transition: all 0.3s ease;
}

.hover-shadow-lg:hover .hover-show {
    opacity: 1 !important;
    transform: translate(-50%, -5px) !important;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fixed-overlay {
    animation: fadeIn 0.3s ease-out;
}

.fixed-overlay>div>div {
    animation: slideUp 0.4s ease-out;
}

/* ===================================================
   KSMA ASSESSMENT MODAL — Slider Thumb Styles
   =================================================== */
/* Remove default track on Chrome/Safari */
input[type="range"]::-webkit-slider-runnable-track {
    height: 12px;
    border-radius: 8px;
}

/* Custom thumb — Chrome/Safari */
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #4e3983;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(78, 57, 131, 0.45);
    cursor: pointer;
    margin-top: -5px;
    transition: box-shadow 0.2s, transform 0.2s;
}

input[type="range"]::-webkit-slider-thumb:hover {
    box-shadow: 0 4px 14px rgba(78, 57, 131, 0.6);
    transform: scale(1.12);
}

/* Firefox */
input[type="range"]::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #4e3983;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(78, 57, 131, 0.45);
    cursor: pointer;
}

input[type="range"]::-moz-range-track {
    height: 12px;
    border-radius: 8px;
}

/* Remove default appearance for range */
input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    outline: none;
}

/* Assessment option button active state */
.qm-option-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* =================================================================
   EXPERT UPGRADE — 9 Psychology/UX/CTO Changes
   ================================================================= */

/* Global polish — smooth scroll + GPU hints */
html {
    scroll-behavior: smooth;
}

.product-card,
.assessment-circle,
.promo-card {
    will-change: transform;
}

/* ① Hero — Urgency Ticker */
.hero-urgency-ticker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 237, 213, 0.9);
    border: 1px solid rgba(251, 146, 60, 0.3);
    color: #92400e;
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 999px;
    margin-bottom: 1rem;
    backdrop-filter: blur(4px);
    animation: tickerFadeIn 0.8s ease-out;
}

.hero-urgency-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #f97316;
    display: inline-block;
    animation: urgencyPulse 1.5s ease-in-out infinite;
}

@keyframes urgencyPulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.3);
    }
}

@keyframes tickerFadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ① Hero — social proof text below avatars */
.hero-social-proof {
    font-size: 0.8125rem;
    color: #6b7280;
    margin-bottom: 0.25rem;
}

/* ① Hero — result badge (replaces old pill) */
.hero-result-badge {
    display: inline-block;
    background: linear-gradient(to right, rgba(78, 57, 131, 0.12), rgba(168, 85, 247, 0.12));
    border: 1px solid rgba(78, 57, 131, 0.2);
    color: #4e3983;
    font-weight: 700;
    font-size: 0.8125rem;
    padding: 3px 12px;
    border-radius: 999px;
    margin-left: 6px;
}

/* ① Hero — primary CTA glow pulse */
.hero-cta-pulse {
    animation: ctaGlowPulse 2.5s ease-in-out infinite;
}

@keyframes ctaGlowPulse {

    0%,
    100% {
        box-shadow: 0 10px 25px -5px rgba(78, 57, 131, 0.4), 0 8px 10px -6px rgba(78, 57, 131, 0.3);
    }

    50% {
        box-shadow: 0 10px 40px -5px rgba(78, 57, 131, 0.65), 0 8px 20px -6px rgba(78, 57, 131, 0.45);
    }
}

/* ① Hero — secondary CTA as text-style link */
.hero-btn-text {
    background: none;
    border: none;
    color: #4b5563;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    transition: color 0.2s;
    cursor: pointer;
}

.hero-btn-text:hover {
    color: #111827;
}

.hero-btn-text .bi-whatsapp {
    font-size: 1.125rem;
}

/* ① Hero — privacy badge */
.hero-privacy-badge {
    font-size: 0.75rem;
    color: #6b7280;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.hero-privacy-badge .bi-shield-lock-fill {
    color: #10b981;
}

/* ② Trust Bar */
.trust-bar {
    background: linear-gradient(to right, #f9f5ff, #f0fdf4, #f9f5ff);
    border-top: 1px solid rgba(78, 57, 131, 0.1);
    padding: 6px 0;
}

.trust-bar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 14px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #374151;
}

.trust-bar-inner .bi {
    color: #4e3983;
}

.trust-bar-inner .bi-leaf-fill {
    color: #16a34a;
}

.trust-bar-inner .bi-shield-lock-fill {
    color: #2563eb;
}

.trust-bar-inner .bi-truck {
    color: #d97706;
}

.trust-bar-inner .bi-arrow-repeat {
    color: #7c3aed;
}

.trust-bar-sep {
    color: #d1d5db;
    font-weight: 400;
}

/* ③ Product card — scarcity badge */
.badge-scarcity {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: #dc2626;
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
    letter-spacing: 0.02em;
    animation: scarcityPop 2s ease-in-out infinite;
    z-index: 10;
}

@keyframes scarcityPop {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.04);
    }
}

/* ④ Assessment — meta hint (time + privacy) */
.assessment-meta-hint {
    font-size: 0.8rem;
    color: #6b7280;
    font-weight: 500;
    margin-top: 4px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
}

.assessment-meta-hint .bi-clock {
    color: #7c3aed;
}

.assessment-meta-hint .bi-shield-lock-fill {
    color: #10b981;
}

@media (min-width: 768px) {
    .assessment-meta-hint {
        justify-content: flex-start;
    }
}

@media (max-width: 767px) {
    .assessment-meta-hint {
        justify-content: center;
    }
}

/* ④ Assessment ring pulse on hover */
.assessment-ring {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 3px solid transparent;
    pointer-events: none;
    transition: border-color 0.3s;
}

.assessment-card:hover .assessment-ring {
    border-color: rgba(78, 57, 131, 0.4);
    animation: ringPulse 1.2s ease-in-out infinite;
}

@keyframes ringPulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(78, 57, 131, 0.3);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(78, 57, 131, 0);
    }
}

/* ④ Assessment arrow micro-animation */
.assessment-arrow {
    display: block;
    font-size: 1rem;
    color: #4e3983;
    opacity: 0;
    transform: translateX(-4px);
    transition: all 0.25s ease;
    margin-top: 2px;
    line-height: 1;
}

.assessment-card:hover .assessment-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* ⑤ Sticky Mobile Bottom CTA */
.mobile-cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1055;
    display: flex;
    gap: 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mobile-cta-bar.visible {
    transform: translateY(0);
}

.mobile-cta-primary {
    flex: 1;
    background: linear-gradient(to right, #3d2c69, #4e3983);
    color: white;
    border: none;
    padding: 14px 12px;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    transition: background 0.2s;
}

.mobile-cta-primary:active {
    background: #2d1254;
}

.mobile-cta-wa {
    background: #25D366;
    color: white;
    border: none;
    padding: 14px 18px;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 90px;
    transition: background 0.2s;
}

.mobile-cta-wa:active {
    background: #1da851;
}

/* ⑥ Promo viewers social proof */
.promo-viewers {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 8px;
    margin-bottom: 0;
}

.promo-viewers-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4ade80;
    display: inline-block;
    animation: viewerDot 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes viewerDot {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

/* ⑦ Testimonial — Verified Purchase badge */
.testi-verified {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #16a34a;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    padding: 2px 8px;
    border-radius: 999px;
    white-space: nowrap;
}

.testi-verified .bi-patch-check-fill {
    font-size: 0.75rem;
}

/* ⑧ Exit-Intent Banner */
.exit-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2000;
    background: linear-gradient(to right, #3d2c69, #4e3983);
    color: white;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-size: 0.875rem;
    font-weight: 500;
    transform: translateY(-100%);
    transition: transform 0.4s ease;
    box-shadow: 0 4px 20px rgba(78, 57, 131, 0.4);
}

.exit-banner.show {
    transform: translateY(0);
}

.exit-banner-cta {
    background: white;
    color: #4e3983;
    border: none;
    padding: 6px 16px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.8125rem;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}

.exit-banner-cta:hover {
    background: #f9f5ff;
    transform: translateY(-1px);
}

.exit-banner-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0 4px;
    margin-left: auto;
    transition: color 0.2s;
}

.exit-banner-close:hover {
    color: white;
}

/* ⑨ Global CSS polish — btn-add-cart mobile improvement */
@media (max-width: 767px) {
    .btn-add-cart span {
        font-size: 0.7rem;
    }
}

/* Make product footer add-cart button full-text on md+ */
@media (min-width: 768px) {
    .btn-add-cart {
        padding: 6px 14px;
        gap: 5px;
    }
}

/* =================================================================
   MOBILE UX/PSYCHOLOGY UPGRADE (Smartphone Only)
   ================================================================= */
@media (max-width: 767px) {

    /* 1. Condense Mobile Hero */
    .hero-wrapper {
        padding: 0.5rem 0;
    }

    .hero-card {
        padding: 1.25rem 1rem;
    }

    .hero-title {
        font-size: 1.75rem;
        margin-top: 1rem;
        margin-bottom: 0.75rem;
        line-height: 1.2;
    }

    /* 2. Mobile Marquee Trust Bar */
    .trust-bar {
        overflow: hidden;
    }

    .trust-bar-inner {
        flex-wrap: nowrap;
        justify-content: flex-start;
        width: max-content;
        animation: trustPan 12s ease-in-out infinite alternate;
        padding-bottom: 4px;
        /* Space for hidden scrollbar */
    }

    @keyframes trustPan {

        0%,
        10% {
            transform: translateX(0);
        }

        90%,
        100% {
            transform: translateX(calc(-100% + 100vw));
        }
    }

    /* 3. Horizontal Scroll Assessment Cards */
    .assessment-mobile-scroll {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 1rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 0.75rem;
        margin-left: 0;
        margin-right: 0;
    }

    .assessment-mobile-scroll::-webkit-scrollbar {
        display: none;
    }

    .assessment-mobile-scroll>.col {
        flex: 0 0 45%;
        /* Show approx 2.2 cards to hint at scrolling */
        scroll-snap-align: start;
        padding-left: 0;
        padding-right: 0;
    }

    .assessment-swipe-hint {
        position: absolute;
        right: 0;
        bottom: 0;
        font-size: 0.7rem;
        font-weight: 600;
        color: #7c3aed;
        background: linear-gradient(to left, rgba(255, 255, 255, 1) 40%, rgba(255, 255, 255, 0));
        padding: 2px 0 2px 20px;
        animation: swipePulse 2s infinite;
        pointer-events: none;
    }

    @keyframes swipePulse {

        0%,
        100% {
            transform: translateX(0);
            opacity: 0.7;
        }

        50% {
            transform: translateX(5px);
            opacity: 1;
        }
    }

    /* 4. Tactile "Active" States (Haptic Illusion) */
    .hero-btn-primary:active,
    .hero-btn-text:active,
    .btn-add-cart:active,
    .assessment-card:active {
        transform: scale(0.96);
        transition: transform 0.1s ease;
    }

    /* 5. Refine Mobile Sticky CTA */
    .mobile-cta-primary {
        font-size: 0.95rem;
        font-weight: 800;
    }

    .mobile-cta-wa {
        font-weight: 800;
    }

    .mobile-cta-primary:active,
    .mobile-cta-wa:active {
        transform: scale(0.98);
    }

    /* 6. Optimize Product Cards for Mobile */
    .product-img-area {
        height: auto;
        max-height: 180px;
        /* Prevent huge images pushing button down */
    }

    .product-img-area img {
        height: 140px;
        object-fit: contain;
    }

    .product-body {
        padding: 0.75rem;
    }
}

/* =================================================================
   FUNCTIONAL TRUST UX UPGRADES
   ================================================================= */
.secure-loader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.secure-loader-content {
    max-width: 400px;
    padding: 2rem;
}

.secure-icon-wrapper {
    font-size: 3rem;
    color: #10b981;
    margin-bottom: 1rem;
    display: inline-block;
}

.secure-icon-pulse {
    animation: securePulse 1.5s infinite;
}

@keyframes securePulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.secure-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1.5rem;
    min-height: 3rem;
}

.secure-progress-bar {
    width: 100%;
    height: 6px;
    background: #e5e7eb;
    border-radius: 999px;
    overflow: hidden;
}

.secure-progress-fill {
    height: 100%;
    background: linear-gradient(to right, #4e3983, #10b981);
    width: 0%;
    transition: width 0.3s ease;
}

/* ─────────────────────────────────────────
   PHASE 8: GEO-LOCALIZED SOCIAL VALIDATION
───────────────────────────────────────── */
.geo-toast {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: white;
    border-radius: 12px;
    padding: 12px 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 9999;
    transform: translateY(150%);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-left: 4px solid #10b981;
    max-width: 300px;
}

.geo-toast.show {
    transform: translateY(0);
    opacity: 1;
}

.geo-toast-icon {
    width: 32px;
    height: 32px;
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.geo-toast-text {
    .hero-card {
        padding: 1.25rem 1rem;
    }

    .hero-title {
        font-size: 1.75rem;
        margin-top: 1rem;
        margin-bottom: 0.75rem;
        line-height: 1.2;
    }

    /* 2. Mobile Marquee Trust Bar */
    .trust-bar {
        overflow: hidden;
    }

    .trust-bar-inner {
        flex-wrap: nowrap;
        justify-content: flex-start;
        width: max-content;
        animation: trustPan 12s ease-in-out infinite alternate;
        padding-bottom: 4px;
        /* Space for hidden scrollbar */
    }

    @keyframes trustPan {

        0%,
        10% {
            transform: translateX(0);
        }

        90%,
        100% {
            transform: translateX(calc(-100% + 100vw));
        }
    }

    /* 3. Horizontal Scroll Assessment Cards */
    .assessment-mobile-scroll {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 1rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 0.75rem;
        margin-left: 0;
        margin-right: 0;
    }

    .assessment-mobile-scroll::-webkit-scrollbar {
        display: none;
    }

    .assessment-mobile-scroll>.col {
        flex: 0 0 45%;
        /* Show approx 2.2 cards to hint at scrolling */
        scroll-snap-align: start;
        padding-left: 0;
        padding-right: 0;
    }

    .assessment-swipe-hint {
        position: absolute;
        right: 0;
        bottom: 0;
        font-size: 0.7rem;
        font-weight: 600;
        color: #7c3aed;
        background: linear-gradient(to left, rgba(255, 255, 255, 1) 40%, rgba(255, 255, 255, 0));
        padding: 2px 0 2px 20px;
        animation: swipePulse 2s infinite;
        pointer-events: none;
    }

    @keyframes swipePulse {

        0%,
        100% {
            transform: translateX(0);
            opacity: 0.7;
        }

        50% {
            transform: translateX(5px);
            opacity: 1;
        }
    }

    /* 4. Tactile "Active" States (Haptic Illusion) */
    .hero-btn-primary:active,
    .hero-btn-text:active,
    .btn-add-cart:active,
    .assessment-card:active {
        transform: scale(0.96);
        transition: transform 0.1s ease;
    }

    /* 5. Refine Mobile Sticky CTA */
    .mobile-cta-primary {
        font-size: 0.95rem;
        font-weight: 800;
    }

    .mobile-cta-wa {
        font-weight: 800;
    }

    .mobile-cta-primary:active,
    .mobile-cta-wa:active {
        transform: scale(0.98);
    }

    /* 6. Optimize Product Cards for Mobile */
    .product-img-area {
        height: auto;
        max-height: 180px;
        /* Prevent huge images pushing button down */
    }

    .product-img-area img {
        height: 140px;
        object-fit: contain;
    }

    .product-body {
        padding: 0.75rem;
    }
}

/* =================================================================
   FUNCTIONAL TRUST UX UPGRADES
   ================================================================= */
.secure-loader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.secure-loader-content {
    max-width: 400px;
    padding: 2rem;
}

.secure-icon-wrapper {
    font-size: 3rem;
    color: #10b981;
    margin-bottom: 1rem;
    display: inline-block;
}

.secure-icon-pulse {
    animation: securePulse 1.5s infinite;
}

@keyframes securePulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.secure-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1.5rem;
    min-height: 3rem;
}

.secure-progress-bar {
    width: 100%;
    height: 6px;
    background: #e5e7eb;
    border-radius: 999px;
    overflow: hidden;
}

.secure-progress-fill {
    height: 100%;
    background: linear-gradient(to right, #4e3983, #10b981);
    width: 0%;
    transition: width 0.3s ease;
}

/* ─────────────────────────────────────────
   PHASE 8: GEO-LOCALIZED SOCIAL VALIDATION
───────────────────────────────────────── */
.geo-toast {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: white;
    border-radius: 12px;
    padding: 12px 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 9999;
    transform: translateY(150%);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-left: 4px solid #10b981;
    max-width: 300px;
}

.geo-toast.show {
    transform: translateY(0);
    opacity: 1;
}

.geo-toast-icon {
    width: 32px;
    height: 32px;
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.geo-toast-text {
    font-size: 0.85rem;
    color: #374151;
    line-height: 1.3;
    margin: 0;
}

.geo-toast-time {
    font-size: 0.7rem;
    color: #9ca3af;
    display: block;
    margin-top: 2px;
}

/* ─────────────────────────────────────────
   PHASE 8: TYPING INDICATOR ANIMATION
───────────────────────────────────────── */
.typing-indicator {
    display: inline-block;
}

.typing-indicator .dot {
    animation: typingBounce 1.4s infinite ease-in-out both;
    display: inline-block;
    font-size: 1.5rem;
    line-height: 0.5;
}

.typing-indicator .dot:nth-child(1) {
    animation-delay: -0.32s;
}

.typing-indicator .dot:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes typingBounce {

    0%,
    80%,
    100% {
        transform: scale(0);
        opacity: 0;
    }

    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* ─────────────────────────────────────────
   PHASE 11: DISCREET, TIMELINE, SEAL, CTA
───────────────────────────────────────── */
/* 1. Discreet Packaging Badge */
.discreet-badge {
    background: #fffbeb;
    border: 1px dashed #f59e0b;
    color: #b45309;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 12px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.discreet-badge:hover {
    background: #fef3c7;
    transform: translateY(-2px);
}

/* 2. Reciprocity Bonus Banner */
.cart-bonus-banner {
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    border: 1px solid #34d399;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: fadeInSlideUp 0.5s ease-out forwards;
}

.cart-bonus-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.cart-bonus-text {
    font-size: 0.8rem;
    color: #065f46;
    font-weight: 600;
    margin: 0;
}

@keyframes fadeInSlideUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 3. Transformation Timeline */
.timeline-section {
    background: linear-gradient(to bottom, #ffffff, #f9fafb);
    padding: 60px 0;
    border-top: 1px solid #e5e7eb;
}

.timeline-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding: 0 20px;
}

.timeline-container::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 40px;
    width: 4px;
    background: #e5e7eb;
    border-radius: 4px;
}

@media (min-width: 768px) {
    .timeline-container::before {
        left: 50%;
        transform: translateX(-50%);
    }
}

.timeline-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
    position: relative;
}

.timeline-step:last-child {
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .timeline-step {
        justify-content: center;
    }

    .timeline-step:nth-child(odd) {
        flex-direction: row-reverse;
    }
}

.timeline-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #10b981;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    z-index: 2;
    position: absolute;
    left: 0;
    top: 0;
    box-shadow: 0 0 0 6px white, 0 4px 6px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
    .timeline-icon {
        position: relative;
        left: auto;
        top: auto;
    }
}

.timeline-content {
    background: white;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #f3f4f6;
    margin-left: 60px;
    width: 100%;
}

@media (min-width: 768px) {
    .timeline-content {
        width: 40%;
        margin-left: 0;
    }

    .timeline-step:nth-child(odd) .timeline-content {
        margin-right: 40px;
        text-align: right;
    }

    .timeline-step:nth-child(even) .timeline-content {
        margin-left: 40px;
        text-align: left;
    }
}

.timeline-week {
    font-size: 0.85rem;
    color: #10b981;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
    display: block;
}

.timeline-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
}

.timeline-desc {
    font-size: 0.9rem;
    color: #4b5563;
    margin: 0;
    line-height: 1.5;
}

/* 4. Authority Floating Seal */
.authority-seal {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: linear-gradient(135deg, #fbbf24, #d97706);
    color: white;
    padding: 10px 15px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 10px 25px rgba(217, 119, 6, 0.4);
    z-index: 1010;
    animation: floatUpDown 3s ease-in-out infinite;
    cursor: default;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

@media (max-width: 767px) {
    .authority-seal {
        top: 100px;
        bottom: auto;
        left: -10px;
        padding: 6px 10px 6px 15px;
        border-radius: 0 20px 20px 0;
        font-size: 0.7rem;
        animation: none;
    }
}

@keyframes floatUpDown {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* 5. Hero CTA Pulsating Animation */
.pulse-cta-icon {
    display: inline-block;
    animation: pulseIconScale 1.5s infinite;
}

@keyframes pulseIconScale {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3);
    }
}

/* Production Ready Optimizations */
.header-search-wrapper {
    max-width: 35%;
}

.btn-icon-40 {
    width: 40px;
    height: 40px;
}

.btn-consult-optim {
    font-weight: 700;
    background: rgba(16, 185, 129, 0.1);
    padding: 12px 20px;
    border-radius: 30px;
}

.btn-consult-optim:hover {
    background: rgba(16, 185, 129, 0.15);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.container-max-42 {
    max-width: 42rem;
}

.text-12 {
    font-size: 12px;
}

.promo-img-fixed {
    max-height: 120px;
    object-fit: contain;
}

.text-tracked {
    letter-spacing: 0.05em;
    font-size: 0.75rem;
}

.divider-vertical {
    width: 1px;
    height: 3rem;
    background: linear-gradient(to bottom, transparent, #d1d5db, transparent);
}

.bg-trust-section {
    background-color: #f8fafc;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.trust-text-styles {
    font-size: 0.85rem;
    font-weight: 600;
}

.trust-dot-divider {
    width: 4px;
    height: 4px;
    background: #cbd5e1;
    border-radius: 50%;
}

/* Accessibility & Interactive states */
.btn-header-action:focus-visible {
    outline: 2px solid var(--theme-accent-primary);
    outline-offset: 2px;
}

.btn-header-action:active {
    transform: scale(0.95);
}

.hero-btn-primary:active {
    transform: scale(0.98);
}

.hero-btn-text:active {
    transform: scale(0.98);
}

/* ─────────────────────────────────────────
   ASSESSMENT: MILESTONE CELEBRATION BANNER
───────────────────────────────────────── */
@keyframes slideDownToast {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-16px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes fadeOutDelayed {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
        transform: translateX(-50%) translateY(-8px);
    }
}

/* ─────────────────────────────────────────
   ASSESSMENT UX OVERHAUL (PSYCHOLOGY UPGRADES)
───────────────────────────────────────── */
.answer-btn {
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.answer-btn.selected {
    background-color: rgba(16, 185, 129, 0.1) !important;
    border-color: #10b981 !important;
    color: #065f46 !important;
    transform: scale(0.98);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.answer-btn.selected::after {
    content: '✓';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #10b981;
    font-weight: bold;
    font-size: 1.2rem;
    animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes popIn {
    0% {
        opacity: 0;
        transform: translateY(-50%) scale(0.5);
    }

    100% {
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }
}

.slide-container {
    animation-duration: 0.4s;
    animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    animation-fill-mode: forwards;
    width: 100%;
}

.slide-out-left {
    animation-name: slideOutLeft;
}

.slide-in-right {
    animation-name: slideInRight;
}

@keyframes slideOutLeft {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(-30px);
        opacity: 0;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(30px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.empathy-interstitial {
    background: linear-gradient(135deg, rgba(78, 57, 131, 0.05), rgba(16, 185, 129, 0.05));
    border: 1px solid rgba(78, 57, 131, 0.15);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    margin-top: 20px;
    animation: fadeIn 0.4s ease-out;
}

.empathy-interstitial i {
    font-size: 2rem;
    color: #4e3983;
    margin-bottom: 10px;
    display: block;
}

.empathy-interstitial p {
    color: #4b5563;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* =====================================================
   HOMAYU REVOLUTION SECTION (LIGHT HARMONY)
   ===================================================== */
.homayu-light-section {
    background-color: #f8fafc;
    border: 1px solid rgba(78, 57, 131, 0.05);
}

.concept-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.concept-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08) !important;
}

.fusion-plus {
    transition: transform 0.5s ease;
}

.fusion-plus:hover {
    transform: rotate(90deg) scale(1.1);
}

/* Badge for Homayu */
.badge-homayu {
    display: inline-block;
    padding: 0.125rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 0.25rem;
    background: linear-gradient(90deg, #4e3983, #10b981);
    color: #fff;
    white-space: nowrap;
}

/* =====================================================
   HOMAYU MODAL — UI/UX PSYCHOLOGY
   ===================================================== */
.homayu-modal-wrapper {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    background: rgba(17, 24, 39, 0.4);
}

.homayu-modal-content {
    border-radius: 1.5rem !important;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.homayu-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    opacity: 0.8;
}

.btn-homayu {
    transition: all 0.3s;
}

.btn-homayu:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(78, 57, 131, 0.4);
}

/* Mobile Bottom Sheet Design */
@media (max-width: 575.98px) {
    .homayu-modal-dialog {
        display: flex;
        align-items: flex-end;
        min-height: 100%;
        margin: 0;
    }

    .homayu-modal-content {
        border-radius: 1.5rem 1.5rem 0 0 !important;
        width: 100%;
    }

    .homayu-modal-wrapper.show .homayu-modal-dialog {
        transform: translateY(0);
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .homayu-modal-wrapper .homayu-modal-dialog {
        transform: translateY(100%);
    }
}