/*
Theme Name: SALX Cosmetics
Theme URI: https://salxcosmetics.com
Author: SALX Design Team
Description: Luxury mineral-infused skincare theme inspired by coastal aesthetics, featuring Jenpharm-style apothecary catalog, floating WhatsApp concierge, and Shopify-style checkout with animated order confirmation.
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: salx-theme
*/

:root {
    --salx-teal-dark: #163638;
    --salx-teal-hover: #0E2426;
    --salx-teal-accent: #2A666A;
    --salx-mint-bg: #E3EFEA;
    --salx-mint-soft: #EEF6F4;
    --salx-sand: #F7F5F0;
    --salx-text: #192B2D;
    --salx-muted: #53696B;
    --salx-border: rgba(22, 54, 56, 0.12);
    --salx-gold: #C5A059;
    --salx-green: #108A00;
    --salx-wa-green: #25D366;
    --salx-shadow: 0 10px 30px rgba(18, 45, 48, 0.08);
}

/* Base Reset & Typography */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--salx-text);
    background-color: #FFFFFF;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.2s ease;
}

/* 1. Top Navigation Header (Stays at the top of the page - does not follow scroll) */
.salx-header-wrapper {
    position: relative;
    width: 100%;
    background: #FFFFFF;
    border-bottom: 1px solid rgba(22, 54, 56, 0.08);
    box-shadow: 0 2px 12px rgba(22, 54, 56, 0.04);
    z-index: 1000;
}

/* ==========================================================================
   2-TIER SALX LUXURY HEADER (SEARCH + LOGO + CART + SUBNAV)
   ========================================================================== */
.salx-jenpharm-header {
    max-width: 1260px;
    margin: 0 auto;
    background: #FFFFFF;
    transition: all 0.3s ease;
}

/* Tier 1: Main Header Row */
.salx-top-header-row {
    background: #FFFFFF;
    padding: 12px 24px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid rgba(22, 54, 56, 0.06);
}

/* Left: Typewriter Search Pill */
.salx-header-search-pill {
    display: flex;
    align-items: center;
    gap: 9px;
    background: #FFFFFF;
    border: 1.5px solid rgba(22, 54, 56, 0.22);
    border-radius: 28px;
    padding: 7px 16px;
    cursor: pointer;
    transition: all 0.22s ease;
    width: fit-content;
    min-width: 220px;
    max-width: 300px;
    height: 40px;
    box-sizing: border-box;
    box-shadow: 0 2px 6px rgba(22, 54, 56, 0.04);
}

.salx-header-search-pill:hover {
    border-color: var(--salx-teal-dark);
    box-shadow: 0 4px 12px rgba(22, 54, 56, 0.12);
    transform: translateY(-1px);
}

.salx-pill-search-icon {
    width: 17px;
    height: 17px;
    color: var(--salx-teal-dark);
    flex-shrink: 0;
}

.salx-typewriter-wrap {
    display: flex;
    align-items: center;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    min-width: 0;
    flex: 1;
}

.salx-typewriter-text {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--salx-teal-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -0.1px;
}

.salx-typewriter-cursor {
    display: inline-block;
    width: 2px;
    height: 13px;
    background: var(--salx-teal-dark);
    margin-left: 2px;
    animation: salxCursorBlink 0.8s infinite;
}

/* Center: Brand Logo */
.salx-header-logo-center {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.salx-header-logo-center img {
    height: 44px;
    width: auto;
    object-fit: contain;
    transition: transform 0.25s ease;
}

.salx-header-logo-center:hover img {
    transform: scale(1.03);
}

/* Right: Secondary Action + Filled Cart Pill */
.salx-header-right-pills {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.salx-header-action-btn {
    background: #FFFFFF;
    color: var(--salx-teal-dark) !important;
    border: 1.5px solid rgba(22, 54, 56, 0.25);
    border-radius: 24px;
    padding: 7px 18px;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.salx-header-action-btn:hover {
    background: var(--salx-teal-dark);
    color: #FFFFFF !important;
    border-color: var(--salx-teal-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(22, 54, 56, 0.15);
}

.salx-header-cart-pill {
    background: var(--salx-teal-dark);
    color: #FFFFFF !important;
    border-radius: 24px;
    padding: 7px 16px 7px 18px;
    font-size: 0.84rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(22, 54, 56, 0.2);
    cursor: pointer;
}

.salx-header-cart-pill:hover {
    background: var(--salx-teal-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(22, 54, 56, 0.3);
}

.salx-cart-icon-svg {
    width: 17px;
    height: 17px;
}

.salx-cart-text {
    letter-spacing: 0.2px;
}

.salx-cart-badge-pill {
    background: #FFFFFF;
    color: var(--salx-teal-dark);
    font-size: 0.72rem;
    font-weight: 800;
    min-width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

/* Tier 2: Sub-navigation Bar */
.salx-subnav-bar {
    background: #FFFFFF;
    padding: 10px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.salx-subnav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

.salx-subnav-list li a {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--salx-teal-dark);
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.salx-subnav-list li a:hover {
    color: var(--salx-teal-accent);
}

.salx-subnav-list .salx-sep {
    color: rgba(22, 54, 56, 0.2);
    font-weight: 300;
    font-size: 0.85rem;
    user-select: none;
}

.salx-subnav-list .salx-track-link {
    color: var(--salx-teal-accent);
}

.salx-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}

.salx-nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--salx-teal-dark);
}

.salx-mobile-nav {
    display: none;
    background: #FFFFFF;
    border-radius: 12px;
    max-width: 1260px;
    margin: 8px auto 0;
    padding: 16px 24px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    pointer-events: auto;
    flex-direction: column;
    gap: 12px;
}

.salx-mobile-nav a {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    padding: 8px 0;
    border-bottom: 1px solid #EEF3F2;
    color: var(--salx-teal-dark);
}

/* Responsive Rules for Header */
@media (max-width: 992px) {
    .salx-top-header-row {
        grid-template-columns: auto 1fr auto;
        padding: 10px 16px;
    }
    .salx-subnav-bar {
        display: none;
    }
    .salx-header-search-pill {
        min-width: 140px;
        max-width: 180px;
        padding: 6px 10px;
    }
    .salx-header-action-btn {
        display: none;
    }
    .salx-nav-toggle {
        display: flex;
    }
}

@media (max-width: 600px) {
    .salx-header-search-pill {
        display: none;
    }
}

/* 2. Hero Section */
.salx-hero {
    position: relative;
    padding-top: 40px;
    padding-bottom: 75px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.65) 0%, rgba(255, 255, 255, 0.18) 45%, rgba(220, 248, 244, 0.28) 100%), url('assets/pure_minerals_pristine_v2.jpg?v=2.1.0') center/cover no-repeat;
    min-height: 520px;
}

.salx-hero-container {
    max-width: 1220px;
    margin: 0 auto;
    padding: 20px 24px 60px;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 40px;
}

.salx-badge-pill {
    display: inline-block;
    background: rgba(22, 54, 56, 0.08);
    color: var(--salx-teal-dark);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    padding: 6px 14px;
    border-radius: 30px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.salx-hero-title {
    font-size: clamp(2.1rem, 4vw, 3.2rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0.04em;
    color: #152C2E;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.salx-hero-sub {
    font-size: 1.05rem;
    line-height: 1.65;
    color: #486062;
    margin-bottom: 32px;
    max-width: 540px;
}

.salx-hero-btns {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.salx-btn {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    padding: 14px 30px;
    border-radius: 8px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.25s ease;
    border: none;
}

.salx-btn-dark {
    background-color: var(--salx-teal-dark);
    color: #FFFFFF !important;
    box-shadow: 0 6px 18px rgba(22, 54, 56, 0.2);
}

.salx-btn-dark:hover {
    background-color: var(--salx-teal-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(22, 54, 56, 0.28);
}

.salx-btn-light {
    background: rgba(255, 255, 255, 0.75);
    color: var(--salx-teal-dark) !important;
    border: 1px solid rgba(22, 54, 56, 0.25);
    backdrop-filter: blur(8px);
}

.salx-btn-light:hover {
    background: #FFFFFF;
    border-color: var(--salx-teal-dark);
    transform: translateY(-2px);
}

/* Hero Right: Featured Launch Showcase Card */
.salx-hero-launch-wrap {
    display: flex;
    justify-content: flex-end;
}

.salx-hero-launch-card {
    display: block;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1.5px solid rgba(255, 255, 255, 0.95);
    border-radius: 24px;
    padding: 20px;
    max-width: 420px;
    width: 100%;
    box-shadow: 0 20px 45px rgba(22, 54, 56, 0.12);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.salx-hero-launch-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 55px rgba(22, 54, 56, 0.18);
    border-color: #A3D0C6;
}

.salx-launch-badge-pill {
    display: inline-block;
    background: #002D5A;
    color: #FFFFFF;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 5px 12px;
    border-radius: 20px;
    margin-bottom: 14px;
}

.salx-launch-img-box {
    width: 100%;
    height: 240px;
    border-radius: 16px;
    overflow: hidden;
    background: #F4F8F7;
    margin-bottom: 16px;
}

.salx-launch-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.salx-hero-launch-card:hover .salx-launch-img-box img {
    transform: scale(1.04);
}

.salx-launch-title {
    font-size: 17px;
    font-weight: 700;
    color: #163638;
    margin-bottom: 4px;
}

.salx-launch-sub {
    font-size: 12.5px;
    color: #576F71;
    line-height: 1.4;
    margin-bottom: 14px;
}

.salx-launch-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    border-top: 1px solid #E5EFEB;
}

.salx-launch-price {
    font-size: 18px;
    font-weight: 800;
    color: #002D5A;
}

.salx-launch-cta {
    font-size: 12.5px;
    font-weight: 700;
    color: #163638;
    letter-spacing: 0.02em;
}

/* 3. Floating 3 Product Highlight Cards Overlapping Hero */
.salx-highlight-cards {
    max-width: 1140px;
    margin: -35px auto 0;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    position: relative;
    z-index: 10;
}

.salx-highlight-card {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(180, 215, 215, 0.45);
    border-radius: 16px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 10px 28px rgba(18, 48, 50, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.salx-highlight-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(18, 48, 50, 0.14);
}

.salx-card-img-box {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    background: #EEF5F4;
}

.salx-card-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.salx-card-info-box {
    flex: 1;
}

.salx-card-info-box h3 {
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0.06em;
    color: var(--salx-teal-dark);
    margin: 0 0 4px 0;
    text-transform: uppercase;
}

.salx-card-info-box .price {
    font-size: 0.85rem;
    font-weight: 600;
    color: #4A6365;
    margin-bottom: 4px;
}

.salx-stars-row {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 8px;
    font-size: 0.8rem;
    color: #2F696C;
}

.salx-stars-row span {
    font-size: 0.72rem;
    color: #7A9091;
}

.salx-btn-card-add {
    background: transparent;
    border: 1px solid var(--salx-teal-dark);
    color: var(--salx-teal-dark);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    padding: 5px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
}

.salx-btn-card-add:hover {
    background: var(--salx-teal-dark);
    color: #FFFFFF;
}

/* 4. Clinically Proven Section Banner */
.salx-proven-banner {
    background: linear-gradient(180deg, #E2EEEB 0%, #DCE8E5 100%);
    padding: 70px 24px;
    text-align: center;
    margin-top: 50px;
}

.salx-proven-inner {
    max-width: 1140px;
    margin: 0 auto;
}

.salx-proven-headline {
    font-size: clamp(1.4rem, 2.5vw, 1.9rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--salx-teal-dark);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.salx-proven-sub {
    font-size: 0.95rem;
    color: #496365;
    max-width: 600px;
    margin: 0 auto 40px;
}

.salx-proven-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: left;
}

.salx-proven-box {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(8px);
    border-radius: 14px;
    padding: 24px 20px;
    border: 1px solid rgba(255, 255, 255, 0.85);
    transition: transform 0.25s ease;
}

.salx-proven-box:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.95);
}

.salx-proven-box h4 {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--salx-teal-dark);
    margin-bottom: 6px;
}

.salx-proven-box p {
    font-size: 0.8rem;
    color: #556D6F;
    margin: 0;
    line-height: 1.5;
}

/* 5. Jenpharm-Style Apothecary Catalog & Interactive Hover Animated Cards */
.salx-shop-section {
    max-width: 1220px;
    margin: 80px auto;
    padding: 0 24px;
}

.salx-section-title-wrap {
    text-align: center;
    margin-bottom: 36px;
}

.salx-kicker-tag {
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: var(--salx-teal-accent);
    text-transform: uppercase;
    margin-bottom: 8px;
    display: inline-block;
}

.salx-main-title {
    font-size: clamp(1.8rem, 2.8vw, 2.4rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--salx-teal-dark);
    margin-bottom: 10px;
}

/* Category Filter Tabs */
.salx-filter-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.salx-tab-btn {
    background: #F1F6F5;
    border: 1px solid #DCE7E5;
    color: var(--salx-text);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.salx-tab-btn.active, .salx-tab-btn:hover {
    background: var(--salx-teal-dark);
    color: #FFFFFF;
    border-color: var(--salx-teal-dark);
}

/* Product Cards Grid & Jenpharm-Style Highlight Animation */
.salx-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.salx-product-card {
    background: #FFFFFF;
    border: 1px solid #E5EFEB;
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
    position: relative;
}

/* Active Highlight on Cursor Hover / Mobile Touch */
.salx-product-card:hover, .salx-product-card:focus-within, .salx-product-card.touch-active {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(22, 54, 56, 0.13);
    border-color: #8CC4B7;
}

.salx-product-thumb {
    position: relative;
    aspect-ratio: 1/1;
    background: #F5FAF9;
    overflow: hidden;
}

.salx-product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.salx-product-card:hover .salx-product-thumb img, .salx-product-card.touch-active .salx-product-thumb img {
    transform: scale(1.06);
}

.salx-badge-stack {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 2;
}

.salx-badge {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
}

.salx-badge-sale {
    background: #FFF1F0;
    color: #D32F2F;
    border: 1px solid #FFCDD2;
}

.salx-badge-bestseller {
    background: #E8F8F0;
    color: #108A00;
    border: 1px solid #C8E6C9;
}

.salx-product-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.salx-skin-concern-tag {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--salx-teal-accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 4px;
}

.salx-product-heading {
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--salx-teal-dark);
    margin-bottom: 6px;
    line-height: 1.3;
}

/* "What It's Mainly Used For" Jenpharm-Style Highlight Box */
.salx-primary-use-box {
    background: #F2F8F6;
    border: 1px solid #D9ECE6;
    border-radius: 8px;
    padding: 8px 12px;
    margin: 8px 0 12px;
    font-size: 0.78rem;
    color: #2D5856;
    line-height: 1.4;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.salx-product-card:hover .salx-primary-use-box, .salx-product-card.touch-active .salx-primary-use-box {
    background: #E5F3EF;
    border-color: #8CC4B7;
}

.salx-primary-use-box strong {
    color: var(--salx-teal-dark);
    font-weight: 700;
    display: block;
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.salx-rating-stars-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: #C5A059;
    margin-bottom: 10px;
}

.salx-rating-stars-wrap span {
    color: #718889;
    font-size: 0.74rem;
}

.salx-price-line {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.salx-current-price {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--salx-teal-dark);
}

.salx-card-action-btns {
    margin-top: auto;
    display: flex;
    gap: 8px;
}

.salx-btn-add-bag {
    flex: 1;
    background: #F1F8F6;
    color: var(--salx-teal-dark);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #D2E7E3;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
    text-transform: uppercase;
}

.salx-btn-add-bag:hover {
    background: var(--salx-teal-dark);
    color: #FFFFFF !important;
}

.salx-btn-buy-now {
    background: var(--salx-teal-dark);
    color: #FFFFFF !important;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 12px 16px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
    text-transform: uppercase;
}

.salx-btn-buy-now:hover {
    background: var(--salx-teal-hover);
}

/* 6. Floating WhatsApp Concierge Widget */
.salx-wa-float-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 99999;
    background: #25D366;
    color: #FFFFFF;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.salx-wa-float-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.55);
}

.salx-wa-float-btn svg {
    width: 32px;
    height: 32px;
    fill: #FFFFFF;
}

.salx-wa-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.4);
    animation: salx-pulse 2s infinite;
    z-index: -1;
}

@keyframes salx-pulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.6); opacity: 0; }
}

.salx-wa-tooltip {
    position: absolute;
    right: 70px;
    background: #FFFFFF;
    color: #123335;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    transform: translateX(10px);
}

.salx-wa-float-btn:hover .salx-wa-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* 7. Slide-Out Fly-To-Cart Drawer */
.salx-cart-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(14, 30, 32, 0.6);
    backdrop-filter: blur(4px);
    z-index: 100000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.salx-cart-drawer {
    position: fixed;
    top: 0;
    right: -420px;
    width: 400px;
    max-width: 90vw;
    height: 100%;
    background: #FFFFFF;
    z-index: 100001;
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 35px rgba(0,0,0,0.15);
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.salx-cart-drawer.open {
    right: 0;
}

.salx-cart-drawer-overlay.open {
    display: block;
    opacity: 1;
}

.salx-drawer-header {
    padding: 20px 24px;
    border-bottom: 1px solid #EEF3F2;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.salx-drawer-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--salx-teal-dark);
}

.salx-drawer-close {
    background: none;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: #657D7F;
}

.salx-drawer-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px 24px;
}

.salx-drawer-footer {
    padding: 20px 24px;
    border-top: 1px solid #EEF3F2;
    background: #F9FBFA;
}

.salx-drawer-subtotal {
    display: flex;
    justify-content: space-between;
    font-size: 1rem;
    font-weight: 700;
    color: var(--salx-teal-dark);
    margin-bottom: 16px;
}

.salx-drawer-checkout-btn {
    display: block;
    width: 100%;
    background: var(--salx-teal-dark);
    color: #FFFFFF !important;
    text-align: center;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    padding: 14px;
    border-radius: 8px;
    text-transform: uppercase;
}

/* 8. Exact Shopify / Jenpharm Checkout Styles */
.salx-shopify-header {
    background: #FFFFFF;
    border-bottom: 1px solid #E6E6E6;
    padding: 20px 40px;
}

.salx-shopify-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.salx-shopify-brand img {
    height: 38px;
    width: auto;
}

.salx-shopify-bag-icon {
    color: #2B3D3E;
    display: flex;
    align-items: center;
}

.salx-shopify-bag-icon svg {
    width: 24px;
    height: 24px;
}

.salx-shopify-checkout-wrap {
    background: #FFFFFF;
    min-height: 100vh;
}

.salx-shopify-checkout-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 56% 44%;
}

.salx-shopify-left-col {
    padding: 38px 48px 80px 0;
    max-width: 580px;
    margin-left: auto;
    width: 100%;
}

.salx-chk-title {
    font-size: 18px;
    font-weight: 600;
    color: #111111;
    margin-bottom: 14px;
    letter-spacing: -0.01em;
}

.salx-chk-subtext {
    font-size: 13px;
    color: #707070;
    margin-top: -6px;
    margin-bottom: 14px;
}

.salx-field-wrap {
    position: relative;
    margin-bottom: 12px;
}

.salx-input {
    width: 100%;
    height: 48px;
    border: 1px solid #D9D9D9;
    border-radius: 5px;
    padding: 12px 14px;
    font-size: 14px;
    color: #333333;
    background: #FFFFFF;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: inherit;
}

.salx-input:focus {
    border-color: #002D5A;
    outline: none;
    box-shadow: 0 0 0 1px #002D5A;
}

.salx-floating-select {
    border: 1px solid #D9D9D9;
    border-radius: 5px;
    padding: 6px 14px 4px;
    background: #FFFFFF;
}

.salx-floating-select label {
    font-size: 11px;
    color: #737373;
    display: block;
    margin-bottom: 2px;
}

.salx-select {
    width: 100%;
    border: none;
    background: transparent;
    font-size: 14px;
    color: #333;
    outline: none;
    cursor: pointer;
    font-family: inherit;
    font-weight: 500;
}

.salx-fields-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.salx-has-tooltip .salx-tooltip-trigger {
    position: absolute;
    right: 14px;
    top: 14px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #F0F0F0;
    color: #666666;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.salx-chk-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    color: #333333;
    cursor: pointer;
    user-select: none;
    margin-top: 4px;
}

.salx-chk-checkbox input[type="checkbox"] {
    width: 17px;
    height: 17px;
    accent-color: #002D5A;
    cursor: pointer;
}

.salx-box-choice {
    border: 1px solid #002D5A;
    border-radius: 5px;
    padding: 14px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
    background: #F8F9FA;
    color: #333;
}

.salx-price-free {
    font-weight: 700;
    color: #111;
}

.salx-payment-group-box {
    border: 1px solid #D9D9D9;
    border-radius: 6px;
    overflow: hidden;
    background: #FFFFFF;
}

.salx-payment-row {
    padding: 15px 18px;
    border-bottom: 1px solid #E5E5E5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: background 0.2s;
}

.salx-payment-row:last-child {
    border-bottom: none;
}

.salx-row-active {
    background: #F8F9FA;
}

.salx-radio-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin: 0;
}

.salx-radio-label input[type="radio"] {
    width: 17px;
    height: 17px;
    accent-color: #002D5A;
    cursor: pointer;
}

.salx-card-badges {
    display: flex;
    gap: 6px;
    align-items: center;
}

.salx-card-badge-visa {
    background: #1A1F71;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 7px;
    border-radius: 3px;
    font-style: italic;
    letter-spacing: 0.05em;
    line-height: 1;
}

.salx-card-badge-mc {
    background: #231F20;
    padding: 2px 5px;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 18px;
}

.salx-card-badge-mc .mc-c1 {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #EB001B;
    margin-right: -4px;
    display: inline-block;
}

.salx-card-badge-mc .mc-c2 {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #F79E1B;
    display: inline-block;
    opacity: 0.92;
}

.salx-card-badge-up {
    background: #007989;
    color: #fff;
    font-size: 9.5px;
    font-weight: 800;
    padding: 3px 6px;
    border-radius: 3px;
    line-height: 1;
}

.salx-payment-details-box {
    background: #F8F9FA;
    padding: 20px 24px;
    border-bottom: 1px solid #E5E5E5;
    font-size: 13.5px;
    color: #555555;
    text-align: center;
}

.salx-btn-paynow {
    background: #002D5A;
    color: #FFFFFF !important;
    font-size: 15px;
    font-weight: 600;
    border-radius: 5px;
    height: 52px;
    width: 100%;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    text-align: center;
}

.salx-btn-paynow:hover {
    background: #001B38;
}

/* Right Column (Sidebar) */
.salx-shopify-right-col {
    background: #FAFAFA;
    border-left: 1px solid #E5E5E5;
    padding: 38px 0 80px 48px;
}

.salx-summary-sticky-box {
    max-width: 440px;
    position: sticky;
    top: 30px;
}

.salx-sum-item {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.salx-sum-thumb-box {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    border: 1px solid #E0E0E0;
    background: #FFFFFF;
    position: relative;
    overflow: visible;
    flex-shrink: 0;
}

.salx-sum-thumb-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 7px;
}

.salx-sum-qty {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #000000;
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.salx-sum-info {
    flex: 1;
}

.salx-sum-name {
    font-size: 14px;
    font-weight: 600;
    color: #111111;
    margin-bottom: 2px;
}

.salx-sum-subpack {
    font-size: 12px;
    color: #737373;
    margin-bottom: 4px;
}

.salx-sum-discount-tag {
    font-size: 11px;
    color: #555555;
    display: flex;
    align-items: center;
    gap: 4px;
}

.salx-sum-price {
    text-align: right;
    flex-shrink: 0;
}

.salx-old-price {
    font-size: 12px;
    color: #888888;
    text-decoration: line-through;
    display: block;
}

.salx-current-line-price {
    font-size: 14px;
    font-weight: 600;
    color: #111111;
}

.salx-discount-form {
    display: flex;
    gap: 10px;
    margin: 22px 0;
}

.salx-input-discount {
    flex: 1;
    height: 46px;
    border: 1px solid #D9D9D9;
    border-radius: 5px;
    padding: 10px 14px;
    font-size: 14px;
    background: #FFFFFF;
    color: #333;
}

.salx-btn-discount-apply {
    height: 46px;
    border: 1px solid #D9D9D9;
    border-radius: 5px;
    padding: 0 18px;
    font-size: 14px;
    font-weight: 600;
    background: #EAEAEA;
    color: #777777;
    cursor: pointer;
    transition: all 0.2s;
}

.salx-totals-area {
    margin-top: 18px;
}

.salx-totals-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #555555;
    margin-bottom: 10px;
}

.salx-free-shipping-tag {
    font-size: 11px;
    color: #555555;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: -6px;
    margin-bottom: 14px;
}

.salx-totals-divider {
    height: 1px;
    background: #E5E5E5;
    margin: 16px 0;
}

.salx-totals-grand-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 10px;
}

.salx-grand-label {
    font-size: 16px;
    font-weight: 600;
    color: #111111;
}

.salx-grand-price-box {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.salx-currency-code {
    font-size: 12px;
    color: #737373;
    font-weight: 500;
}

.salx-grand-price {
    font-size: 22px;
    font-weight: 700;
    color: #111111;
}

.salx-total-savings-tag {
    font-size: 12px;
    font-weight: 600;
    color: #111111;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
}

@media (max-width: 992px) {
    .salx-shopify-checkout-container {
        grid-template-columns: 1fr;
    }
    .salx-shopify-left-col {
        padding: 24px 20px 40px;
        margin-left: 0;
        max-width: 100%;
        order: 2;
    }
    .salx-shopify-right-col {
        padding: 24px 20px;
        border-left: none;
        border-bottom: 1px solid #E5E5E5;
        order: 1;
    }
}

/* 9. Shopify-Style Order Confirmation (Thank You Page) with Animated Tick */
.salx-thankyou-wrapper {
    max-width: 800px;
    margin: 50px auto 90px;
    padding: 0 20px;
}

.salx-confirm-card {
    background: #FFFFFF;
    border: 1px solid #DFEDE8;
    border-radius: 20px;
    padding: 44px 36px;
    box-shadow: 0 12px 35px rgba(20, 50, 52, 0.07);
    text-align: center;
}

/* Animated Green Checkmark Tick (SVG Stroke Animation) */
.salx-tick-circle-wrap {
    width: 84px;
    height: 84px;
    margin: 0 auto 24px;
}

.salx-checkmark-svg {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    display: block;
    stroke-width: 3;
    stroke: #108A00;
    stroke-miterlimit: 10;
    box-shadow: inset 0px 0px 0px #108A00;
    animation: salx-fill .4s ease-in-out .4s forwards, salx-scale .3s ease-in-out .9s both;
}

.salx-checkmark-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 3;
    stroke-miterlimit: 10;
    stroke: #108A00;
    fill: none;
    animation: salx-stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.salx-checkmark-check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: salx-stroke 0.4s cubic-bezier(0.65, 0, 0.45, 1) 0.6s forwards;
}

@keyframes salx-stroke {
    100% { stroke-dashoffset: 0; }
}

@keyframes salx-scale {
    0%, 100% { transform: none; }
    50% { transform: scale3d(1.1, 1.1, 1); }
}

@keyframes salx-fill {
    100% { box-shadow: inset 0px 0px 0px 30px #E7F6EB; }
}

.salx-order-status-badge {
    display: inline-block;
    background: #E7F6EB;
    color: #108A00;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.salx-confirm-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--salx-teal-dark);
    margin-bottom: 8px;
}

.salx-confirm-msg {
    font-size: 1rem;
    color: #4A6365;
    margin-bottom: 30px;
}

.salx-timeline-steps {
    display: flex;
    justify-content: space-between;
    margin: 30px auto 40px;
    max-width: 600px;
    position: relative;
}

.salx-timeline-steps::before {
    content: '';
    position: absolute;
    top: 14px;
    left: 20px;
    right: 20px;
    height: 3px;
    background: #E2EDE9;
    z-index: 1;
}

.salx-timeline-step {
    position: relative;
    z-index: 2;
    text-align: center;
    flex: 1;
}

.salx-step-dot {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 3px solid #CFE2DC;
    margin: 0 auto 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: #6C8281;
}

.salx-timeline-step.active .salx-step-dot {
    border-color: #108A00;
    background: #108A00;
    color: #FFFFFF;
}

.salx-step-label {
    font-size: 0.76rem;
    font-weight: 600;
    color: #4A6365;
}

.salx-order-summary-box {
    background: #F7FAF9;
    border: 1px solid #E1EEEB;
    border-radius: 14px;
    padding: 24px;
    text-align: left;
    margin-bottom: 30px;
}

.salx-order-summary-box h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--salx-teal-dark);
    margin-bottom: 14px;
    border-bottom: 1px solid #E2EDE9;
    padding-bottom: 8px;
}

.salx-order-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    font-size: 0.88rem;
    color: #4C6466;
}

.salx-order-actions-row {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.salx-btn-wa-support {
    background: #25D366;
    color: #FFFFFF !important;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 8px;
}

.salx-btn-wa-support svg {
    width: 20px;
    height: 20px;
    fill: #FFFFFF;
}

/* 10. Footer */
.salx-footer {
    background: #0E1D1E;
    color: #A0B5B3;
    padding: 70px 24px 40px;
    font-size: 0.86rem;
}

.salx-footer-inner {
    max-width: 1220px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 40px;
}

.salx-footer-brand h3 {
    color: #FFFFFF;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.salx-footer-col h4 {
    color: #FFFFFF;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    margin-bottom: 18px;
}

.salx-footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.salx-footer-col ul li a {
    color: #A0B5B3;
}

.salx-footer-col ul li a:hover {
    color: #FFFFFF;
}

/* Responsive */
@media (max-width: 992px) {
    .salx-header-nav { display: none; }
    .salx-nav-toggle { display: flex; }
    .salx-hero-container { grid-template-columns: 1fr; text-align: center; }
    .salx-hero-sub { margin: 0 auto 30px; }
    .salx-hero-btns { justify-content: center; }
    .salx-highlight-cards { grid-template-columns: 1fr; margin-top: 20px; }
    .salx-proven-grid { grid-template-columns: repeat(2, 1fr); }
    .salx-checkout-grid { grid-template-columns: 1fr; }
    .salx-footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
    .salx-header-wrapper { top: 8px; padding: 0 10px; }
    .salx-pill-header { padding: 8px 16px; }
    .salx-header-wa-btn { display: none; }
    .salx-proven-grid { grid-template-columns: 1fr; }
    .salx-footer-inner { grid-template-columns: 1fr; }
    .salx-order-meta-grid { grid-template-columns: 1fr; }
}

/* =======================================================
   11. Jenpharm-Style Single Product Page Layout & Interactive Elements
   ======================================================= */
.salx-jenpharm-product-page {
    background: #FFFFFF;
    color: #333333;
    padding-top: 130px;
    padding-bottom: 70px;
}

.salx-single-container {
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 24px;
}

.salx-single-grid {
    display: grid;
    grid-template-columns: 500px 1fr;
    gap: 48px;
    align-items: start;
}

@media (max-width: 991px) {
    .salx-single-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* Left Column: Gallery */
.salx-gallery-wrapper {
    display: flex;
    gap: 16px;
    width: 100%;
    max-width: 500px;
    position: sticky;
    top: 120px;
}

.salx-gallery-thumbs {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 78px;
    flex-shrink: 0;
}

.salx-thumb-btn {
    width: 78px;
    height: 78px;
    border: 1.5px solid #E2EDE9;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    background: #FFFFFF;
    padding: 3px;
    transition: all 0.2s ease;
}

.salx-thumb-btn:hover, .salx-thumb-btn.active {
    border-color: #002D5A;
    box-shadow: 0 4px 12px rgba(0, 45, 90, 0.12);
}

.salx-thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.salx-gallery-main {
    flex: 1;
    position: relative;
    background: #F7FAF9;
    border: 1px solid #E2EDE9;
    border-radius: 18px;
    overflow: hidden;
    height: 480px;
    max-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.salx-main-badges {
    position: absolute;
    top: 16px;
    left: 16px;
    right: 16px;
    display: flex;
    justify-content: space-between;
    z-index: 5;
    pointer-events: none;
}

.salx-badge-skin {
    background: #8E44AD;
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 6px 14px;
    border-radius: 20px;
    text-transform: uppercase;
}

.salx-badge-best {
    background: #002D5A;
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 6px 14px;
    border-radius: 20px;
    text-transform: uppercase;
}

.salx-main-img-box {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.salx-main-img-box img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: opacity 0.2s ease;
}

.salx-gal-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #CFE2DC;
    color: #163638;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 8;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    transition: all 0.2s ease;
}

.salx-gal-arrow:hover {
    background: #002D5A;
    color: #FFFFFF;
    border-color: #002D5A;
}

.salx-gal-prev { left: 14px; }
.salx-gal-next { right: 14px; }

.salx-zoom-indicator {
    position: absolute;
    bottom: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #CFE2DC;
    color: #4A6365;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

/* Dermatologist Endorsement Card (Below Gallery) */
.salx-derm-quote-card {
    margin-top: 28px;
    background: #FFFEE8;
    border: 1px solid #F0ECC3;
    border-radius: 16px;
    padding: 22px 24px;
    display: flex;
    align-items: center;
    gap: 18px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.03);
}

.salx-derm-avatar-wrap {
    flex-shrink: 0;
}

.salx-derm-avatar {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #258276;
}

.salx-doc-svg {
    width: 100%;
    height: 100%;
    display: block;
}

.salx-derm-content {
    flex: 1;
    z-index: 2;
}

.salx-derm-text {
    font-size: 13.5px;
    color: #374A4C;
    line-height: 1.5;
    margin: 0 0 8px 0;
    font-style: italic;
}

.salx-derm-author strong {
    font-size: 13.5px;
    font-weight: 700;
    color: #163638;
    display: block;
}

.salx-derm-author span {
    font-size: 11.5px;
    color: #6C8281;
}

.salx-quote-mark {
    position: absolute;
    right: 16px;
    top: 6px;
    font-size: 54px;
    color: #EAE5AC;
    font-family: Georgia, serif;
    line-height: 1;
    pointer-events: none;
    z-index: 1;
}

/* Right Column: Purchasing Info */
.salx-pills-row {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.salx-pill-tag {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.salx-pill-blue { background: #E8F4FD; color: #1B75BC; }
.salx-pill-yellow { background: #FEF9E7; color: #B7950B; }
.salx-pill-purple { background: #F3E8FD; color: #6C3483; }

.salx-prod-main-title {
    font-size: clamp(24px, 2.5vw, 32px);
    font-weight: 700;
    color: #111111;
    margin: 0 0 10px 0;
    line-height: 1.25;
}

.salx-prod-rating-line {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    margin-bottom: 6px;
}

.salx-stars-gold {
    color: #F39C12;
    font-size: 14px;
    letter-spacing: 1px;
}

.salx-rating-val {
    font-weight: 700;
    color: #111111;
}

.salx-rating-sep {
    color: #CCCCCC;
}

.salx-sold-count {
    color: #666666;
    font-weight: 500;
}

.salx-prod-volume {
    font-size: 13px;
    color: #777777;
    margin-bottom: 14px;
}

.salx-prod-price-area {
    margin-bottom: 16px;
}

.salx-big-price {
    font-size: 28px;
    font-weight: 700;
    color: #111111;
}

.salx-prod-short-desc {
    font-size: 14px;
    color: #4A5B5D;
    line-height: 1.6;
    margin-bottom: 22px;
}

/* 3 Rounded Benefit Checkmark Pills */
.salx-benefit-pills-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

.salx-benefit-pill {
    background: #F0F8FF;
    border: 1px solid #BEE3F8;
    border-radius: 30px;
    padding: 9px 18px;
    font-size: 13px;
    color: #24496B;
    display: flex;
    align-items: center;
    gap: 10px;
}

.salx-check-icon {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1.5px solid #1B75BC;
    color: #1B75BC;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 800;
    flex-shrink: 0;
}

/* SIGNATURE BUNDLE & PACK SELECTOR CARDS */
.salx-bundle-selector-wrap {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 20px;
}

.salx-pack-card {
    border: 1.5px solid #D6E4E1;
    border-radius: 12px;
    overflow: hidden;
    background: #FFFFFF;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.salx-pack-card:hover {
    border-color: #A3D0C6;
}

.salx-pack-card.salx-card-active {
    border-color: #002D5A;
    box-shadow: 0 6px 20px rgba(0, 45, 90, 0.08);
}

.salx-pack-banner {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.salx-banner-blue {
    background: #EBF5FB;
    color: #1A5276;
}

.salx-banner-purple {
    background: #8E44AD;
    color: #FFFFFF;
}

.salx-banner-purple span {
    background: #FFFFFF;
    color: #8E44AD;
    padding: 1px 6px;
    border-radius: 10px;
    font-size: 10px;
    margin-left: 6px;
}

.salx-pack-card-body {
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.salx-pack-radio-circle {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #BDC3C7;
    display: inline-block;
    position: relative;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.salx-card-active .salx-pack-radio-circle {
    border-color: #002D5A;
    background: #002D5A;
    box-shadow: inset 0 0 0 3px #FFFFFF;
}

.salx-pack-info-col {
    flex: 1;
}

.salx-pack-heading-line {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 6px;
}

.salx-pack-title {
    font-size: 15px;
    font-weight: 700;
    color: #111111;
}

.salx-pack-price-text {
    font-size: 14px;
    font-weight: 700;
    color: #111111;
}

.salx-pack-price-dual {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.salx-pack-orig-strike {
    font-size: 12px;
    color: #E74C3C;
    text-decoration: line-through;
}

.salx-pack-perks {
    font-size: 11.5px;
    color: #556B6D;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.salx-pack-thumb-col {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.salx-pack-thumb-col img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.salx-thumb-double {
    position: relative;
    width: 64px;
}

.salx-double-img-1 {
    position: absolute;
    left: 0;
    width: 36px;
    z-index: 1;
}

.salx-double-img-2 {
    position: absolute;
    right: 0;
    width: 36px;
    z-index: 2;
}

/* Estimated Delivery Banner */
.salx-delivery-estimate-box {
    background: #EAFAF1;
    border: 1px solid #D4EFDF;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 13px;
    color: #1E8449;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Actions Row */
.salx-actions-row {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.salx-qty-box {
    display: flex;
    align-items: center;
    border: 1px solid #D9D9D9;
    border-radius: 6px;
    height: 50px;
    background: #FFFFFF;
}

.salx-qty-btn {
    width: 36px;
    height: 100%;
    border: none;
    background: transparent;
    font-size: 16px;
    cursor: pointer;
    color: #555555;
}

.salx-qty-box input {
    width: 36px;
    height: 100%;
    border: none;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    outline: none;
    -moz-appearance: textfield;
}

.salx-qty-box input::-webkit-outer-spin-button,
.salx-qty-box input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.salx-btn-add-cart-large {
    flex: 1.2;
    height: 50px;
    background: #002D5A;
    color: #FFFFFF !important;
    font-size: 14px;
    font-weight: 700;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: background 0.2s;
}

.salx-btn-add-cart-large:hover {
    background: #001B38;
}

.salx-btn-buy-now-large {
    flex: 1;
    height: 50px;
    background: #163638;
    color: #FFFFFF !important;
    font-size: 14px;
    font-weight: 700;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: background 0.2s;
}

.salx-btn-buy-now-large:hover {
    background: #0F2526;
}

/* WhatsApp Advisor Bar */
.salx-whatsapp-advisor-bar {
    border: 1px dashed #A3E4D7;
    border-radius: 8px;
    padding: 10px 14px;
    background: #F4FBF9;
    text-align: center;
}

.salx-whatsapp-advisor-bar a {
    color: #163638;
    font-size: 12.5px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

/* Below the Fold 1: Social Proof Ticker */
.salx-trust-ribbon {
    background: #F4F6F9;
    border-top: 1px solid #EAECEF;
    border-bottom: 1px solid #EAECEF;
    padding: 14px 0;
    overflow: hidden;
    white-space: nowrap;
    margin: 50px 0 60px;
}

.salx-ribbon-track {
    display: inline-block;
    animation: salx-ribbon-scroll 24s linear infinite;
}

.salx-ribbon-item {
    font-size: 13.5px;
    font-weight: 600;
    color: #2C3E50;
    padding: 0 16px;
}

.salx-ribbon-sep {
    color: #BDC3C7;
}

@keyframes salx-ribbon-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Below the Fold 2: Ingredients That Make A Difference */
.salx-ingredients-section {
    padding: 20px 0 60px;
}

.salx-sub-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.salx-sec-heading-blue {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    color: #002D5A;
    margin-bottom: 36px;
}

.salx-sec-subtitle {
    text-align: center;
    font-size: 14px;
    color: #6C8281;
    margin-top: -24px;
    margin-bottom: 40px;
}

.salx-ingredients-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.salx-ing-card {
    background: #FFFFFF;
    border: 1px solid #E2EDE9;
    border-radius: 14px;
    padding: 24px 20px;
    display: flex;
    gap: 16px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.03);
    transition: transform 0.2s ease;
}

.salx-ing-card:hover {
    transform: translateY(-3px);
}

.salx-ing-img-wrap {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.salx-macro-drop {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.salx-drop-svg {
    width: 100%;
    height: 100%;
}

.salx-ing-info h3 {
    font-size: 15px;
    font-weight: 700;
    color: #163638;
    margin: 0 0 6px;
}

.salx-ing-info p {
    font-size: 12.5px;
    color: #556B6D;
    line-height: 1.5;
    margin: 0;
}

/* Below the Fold 3: Results You Can Trust */
.salx-results-section {
    padding: 20px 0 90px;
}

.salx-results-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.salx-result-card {
    background: #FFFFFF;
    border: 1px solid #E2EDE9;
    border-radius: 14px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 6px 18px rgba(0,0,0,0.04);
}

.salx-split-box {
    display: flex;
    height: 175px;
    position: relative;
}

.salx-split-half {
    flex: 1;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 8px;
}

.salx-split-before {
    background: linear-gradient(180deg, #F8DDD7 0%, #EDB8AE 100%);
    border-right: 1px solid rgba(255, 255, 255, 0.7);
}

.salx-split-after {
    background: linear-gradient(180deg, #FDF0ED 0%, #F5D7D1 100%);
}

.salx-skin-2.salx-split-before {
    background: linear-gradient(180deg, #F6D6D0 0%, #E6AAA0 100%);
}
.salx-skin-2.salx-split-after {
    background: linear-gradient(180deg, #FDF2EF 0%, #F4DCD7 100%);
}

.salx-skin-3.salx-split-before {
    background: linear-gradient(180deg, #EFD8D3 0%, #DEB3AA 100%);
}
.salx-skin-3.salx-split-after {
    background: linear-gradient(180deg, #FAF0ED 0%, #EFE0DC 100%);
}

.salx-skin-4.salx-split-before {
    background: linear-gradient(180deg, #EAD0C8 0%, #D4A99E 100%);
}
.salx-skin-4.salx-split-after {
    background: linear-gradient(180deg, #F8EAE6 0%, #ECD3CD 100%);
}

.salx-split-label {
    background: rgba(0, 0, 0, 0.65);
    color: #FFFFFF;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    text-transform: uppercase;
}

.salx-result-caption {
    padding: 12px 14px;
    font-size: 12.5px;
    font-weight: 600;
    color: #2C3E50;
    line-height: 1.35;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .salx-single-grid {
        grid-template-columns: 1fr;
    }
    .salx-gallery-wrapper {
        position: static;
    }
    .salx-ingredients-grid {
        grid-template-columns: 1fr;
    }
    .salx-results-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .salx-gallery-wrapper {
        flex-direction: column-reverse;
    }
    .salx-gallery-thumbs {
        flex-direction: row;
        width: 100%;
        overflow-x: auto;
    }
    .salx-results-grid {
        grid-template-columns: 1fr;
    }
    .salx-actions-row {
        flex-wrap: wrap;
    }
    .salx-btn-add-cart-large, .salx-btn-buy-now-large {
        flex: 1 1 100%;
    }
}

/* =======================================================
   12. Checkout Inline Field Validation Error Styles (Shopify Exact Match)
   ======================================================= */
.salx-input.salx-input-error,
.salx-field-wrap.salx-has-error .salx-input,
.salx-field-wrap.salx-has-error .salx-floating-select {
    border: 2px solid #D9383A !important;
    box-shadow: 0 0 0 1px #D9383A !important;
}

.salx-input.salx-input-error:focus,
.salx-field-wrap.salx-has-error .salx-input:focus {
    border-color: #D9383A !important;
    box-shadow: 0 0 0 1px #D9383A !important;
}

.salx-field-error {
    color: #D9383A !important;
    font-size: 12px !important;
    margin-top: 4px !important;
    margin-bottom: 2px !important;
    line-height: 1.3 !important;
    display: block !important;
    font-weight: 400 !important;
    text-align: left !important;
}

.salx-fields-row {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
    align-items: flex-start;
}

.salx-fields-row .salx-field-wrap {
    flex: 1;
    margin-bottom: 0;
}

/* Suppress native browser alerts and WooCommerce top notice banners */
.woocommerce-NoticeGroup-checkout,
.woocommerce-error,
ul.woocommerce-error,
.woocommerce-message,
.woocommerce-info {
    display: none !important;
}

/* ==========================================================================
   JENPHARM-STYLE LUXURY PREDICTIVE AJAX SEARCH ENGINE (SALX MINERAL AESTHETIC)
   ========================================================================== */

/* 1. Header & Mobile Typewriter Search Pill */
.salx-header-search-pill {
    display: flex;
    align-items: center;
    gap: 9px;
    background: #F4F8F7;
    border: 1px solid #D2E4E1;
    border-radius: 26px;
    padding: 7px 15px 7px 13px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    min-width: 215px;
    max-width: 265px;
    height: 38px;
    box-sizing: border-box;
    position: relative;
    user-select: none;
    outline: none;
}

.salx-header-search-pill:hover,
.salx-header-search-pill:focus-visible {
    background: #FFFFFF;
    border-color: #0E3D3A;
    box-shadow: 0 4px 18px rgba(14, 61, 58, 0.12);
    transform: translateY(-1px);
}

.salx-pill-search-icon {
    width: 16px;
    height: 16px;
    color: #0E3D3A;
    flex-shrink: 0;
}

.salx-typewriter-wrap {
    display: flex;
    align-items: center;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    min-width: 0;
    flex: 1;
}

.salx-typewriter-text {
    font-size: 0.81rem;
    font-weight: 500;
    color: #4D6D6B;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -0.1px;
    display: inline-block;
}

.salx-typewriter-cursor {
    display: inline-block;
    width: 2px;
    height: 14px;
    background: #0E3D3A;
    margin-left: 2px;
    vertical-align: middle;
    animation: salxCursorBlink 0.8s infinite;
    flex-shrink: 0;
}

@keyframes salxCursorBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.salx-mobile-typewriter-wrap {
    display: flex;
    align-items: center;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    min-width: 0;
    flex: 1;
}

.salx-mobile-typewriter-text {
    font-size: 0.86rem;
    font-weight: 500;
    color: #4D6D6B;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.salx-mobile-search-trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    margin: 8px 16px 14px;
    background: #F1F6F5;
    border: 1px solid #D9E8E5;
    border-radius: 24px;
    font-size: 0.88rem;
    color: #557271;
    cursor: pointer;
    transition: all 0.2s ease;
}

.salx-mobile-search-trigger:hover,
.salx-mobile-search-trigger:active {
    background: #EAF3F1;
    border-color: #0E3D3A;
    color: #0E3D3A;
}

.salx-mobile-search-trigger svg {
    width: 18px;
    height: 18px;
    stroke: #0E3D3A;
    flex-shrink: 0;
}

/* 2. Frosted Backdrop Overlay */
.salx-search-overlay {
    position: fixed;
    inset: 0;
    background: rgba(7, 26, 25, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 99998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: none;
}

.salx-search-overlay.open {
    display: block;
    opacity: 1;
    pointer-events: auto;
}

/* 3. Luxury Search Modal */
.salx-search-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-height: 90vh;
    background: #FFFFFF;
    z-index: 99999;
    box-shadow: 0 20px 60px rgba(5, 23, 22, 0.2);
    border-bottom: 1px solid #DCECE8;
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
    overflow-y: auto;
    display: none;
    -webkit-overflow-scrolling: touch;
}

.salx-search-modal.open {
    display: block;
    transform: translateY(0);
    opacity: 1;
}

.salx-search-inner {
    max-width: 920px;
    margin: 0 auto;
    padding: 30px 24px 38px;
}

/* 4. Search Bar Wrap */
.salx-search-bar-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #F7FAF9;
    border: 1.5px solid #D6E6E3;
    border-radius: 40px;
    padding: 8px 14px 8px 20px;
    box-shadow: 0 4px 18px rgba(14, 61, 58, 0.05);
    transition: all 0.25s ease;
}

.salx-search-bar-wrap:focus-within {
    border-color: #0E3D3A;
    background: #FFFFFF;
    box-shadow: 0 6px 24px rgba(14, 61, 58, 0.12);
}

.salx-search-icon-lens {
    display: flex;
    align-items: center;
    color: #0E3D3A;
}

.salx-search-icon-lens svg {
    width: 22px;
    height: 22px;
}

.salx-search-input {
    flex: 1;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 1.12rem !important;
    font-weight: 500 !important;
    color: #112827 !important;
    padding: 8px 0 !important;
    line-height: 1.4 !important;
}

.salx-search-input::placeholder {
    color: #839D9B !important;
    font-weight: 400 !important;
}

.salx-search-clear {
    display: none;
    background: #E5EFEF;
    border: none;
    border-radius: 50%;
    width: 26px;
    height: 26px;
    font-size: 16px;
    line-height: 1;
    color: #557271;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    padding: 0;
}

.salx-search-clear.visible {
    display: flex;
}

.salx-search-clear:hover {
    background: #0E3D3A;
    color: #FFFFFF;
}

.salx-search-close {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #EEF5F4;
    border: 1px solid #D5E4E1;
    border-radius: 20px;
    padding: 6px 14px;
    color: #2D4846;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.salx-search-close:hover {
    background: #0E3D3A;
    color: #FFFFFF;
    border-color: #0E3D3A;
}

.salx-search-close svg {
    width: 15px;
    height: 15px;
}

.salx-esc-badge {
    font-size: 0.7rem;
    background: rgba(0, 0, 0, 0.06);
    padding: 2px 5px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

/* 5. Zero-State UI: Trending Pills & Quick Cats */
.salx-search-zero-state {
    margin-top: 28px;
    animation: salxFadeIn 0.3s ease;
}

.salx-search-section-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    color: #6C8987;
    margin-bottom: 14px;
    text-transform: uppercase;
}

.salx-fire-icon {
    font-size: 0.95rem;
}

.salx-search-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.salx-pill-tag {
    background: #F2F7F6;
    border: 1px solid #D8E7E4;
    border-radius: 24px;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #1E3D3B;
    cursor: pointer;
    transition: all 0.22s ease;
    font-family: inherit;
}

.salx-pill-tag:hover {
    background: #0E3D3A;
    border-color: #0E3D3A;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(14, 61, 58, 0.15);
}

/* Quick Categories Grid */
.salx-search-quick-cats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.salx-quick-cat-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: #FAFDFD;
    border: 1px solid #E2EFEc;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.22s ease;
}

.salx-quick-cat-card:hover {
    background: #FFFFFF;
    border-color: #0E3D3A;
    box-shadow: 0 6px 18px rgba(14, 61, 58, 0.08);
    transform: translateY(-2px);
}

.salx-cat-icon {
    font-size: 1.4rem;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #EEF7F5;
    border-radius: 10px;
}

.salx-cat-info strong {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #112827;
    line-height: 1.25;
}

.salx-cat-info small {
    display: block;
    font-size: 0.72rem;
    color: #728D8C;
    margin-top: 2px;
}

/* 6. Results Container & Shimmer Skeleton */
.salx-search-results-wrap {
    margin-top: 24px;
    animation: salxFadeIn 0.25s ease;
}

.salx-search-skeleton {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.salx-skeleton-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 14px;
    background: #FAFDFD;
    border: 1px solid #E6F0EE;
    border-radius: 12px;
}

.sk-thumb {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    background: linear-gradient(90deg, #EDF4F3 25%, #FAFCFC 50%, #EDF4F3 75%);
    background-size: 200% 100%;
    animation: salxShimmer 1.4s infinite;
}

.sk-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sk-pill {
    width: 60px;
    height: 12px;
    border-radius: 6px;
    background: #EDF4F3;
}

.sk-line {
    height: 14px;
    border-radius: 4px;
    background: linear-gradient(90deg, #EDF4F3 25%, #FAFCFC 50%, #EDF4F3 75%);
    background-size: 200% 100%;
    animation: salxShimmer 1.4s infinite;
}

.sk-title { width: 55%; height: 16px; }
.sk-desc { width: 75%; height: 12px; }
.sk-price { width: 30%; height: 14px; }

@keyframes salxShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

@keyframes salxFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 7. Live Results Grid & Product Cards */
.salx-search-results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.salx-search-card {
    display: flex;
    gap: 16px;
    padding: 14px;
    background: #FFFFFF;
    border: 1px solid #E2EFEc;
    border-radius: 14px;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.salx-search-card:hover {
    border-color: #0E3D3A;
    box-shadow: 0 8px 24px rgba(14, 61, 58, 0.08);
    transform: translateY(-2px);
}

.salx-card-thumb-wrap {
    position: relative;
    width: 88px;
    height: 88px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    background: #F5FAF9;
    display: block;
}

.salx-card-thumb {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    padding: 4px;
}

.salx-search-card:hover .salx-card-thumb {
    transform: scale(1.08);
}

.salx-res-badge {
    position: absolute;
    top: 4px;
    left: 4px;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    background: #0E3D3A;
    color: #FFFFFF;
    padding: 2px 6px;
    border-radius: 10px;
    text-transform: uppercase;
}

.salx-res-badge.badge-sale {
    background: #C43B3B;
}

.salx-card-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
}

.salx-card-rating {
    font-size: 0.72rem;
    color: #D4A346;
    letter-spacing: 1px;
}

.salx-card-rating span {
    color: #728D8C;
    font-size: 0.72rem;
    letter-spacing: normal;
    margin-left: 2px;
}

.salx-card-title {
    margin: 2px 0 3px;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.3;
}

.salx-card-title a {
    color: #112827;
    text-decoration: none;
    transition: color 0.2s ease;
}

.salx-card-title a:hover {
    color: #0E3D3A;
}

.salx-highlight {
    background: #FFE894;
    color: #0E3D3A;
    font-weight: 700;
    border-radius: 2px;
    padding: 0 2px;
}

.salx-card-desc {
    font-size: 0.76rem;
    color: #6C8987;
    line-height: 1.35;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.salx-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 4px;
}

.salx-card-price {
    font-size: 0.96rem;
    font-weight: 700;
    color: #0E3D3A;
}

.salx-card-price del {
    font-size: 0.78rem;
    color: #9AAFA8;
    margin-right: 4px;
    font-weight: 400;
}

.salx-card-price ins {
    text-decoration: none;
}

.salx-card-add-btn {
    background: #0E3D3A;
    color: #FFFFFF;
    border: none;
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    white-space: nowrap;
}

.salx-card-add-btn:hover {
    background: #175853;
    transform: scale(1.04);
}

/* 8. Empty Search State */
.salx-search-empty {
    text-align: center;
    padding: 40px 20px;
    background: #FAFDFD;
    border: 1px dashed #D6E7E4;
    border-radius: 16px;
}

.salx-empty-emoji {
    font-size: 2.4rem;
    margin-bottom: 10px;
}

.salx-search-empty h4 {
    font-size: 1.15rem;
    color: #112827;
    margin-bottom: 8px;
    font-weight: 600;
}

.salx-search-empty p {
    font-size: 0.88rem;
    color: #6A8685;
    max-width: 480px;
    margin: 0 auto 18px;
    line-height: 1.5;
}

.salx-empty-wa-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #108A00;
    color: #FFFFFF !important;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 24px;
    transition: all 0.2s ease;
}

.salx-empty-wa-btn:hover {
    background: #0D7300;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 138, 0, 0.25);
}

/* 9. Search Footer (View all results CTA) */
.salx-search-footer {
    margin-top: 24px;
    text-align: center;
}

.salx-view-all-results-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 20px;
    background: #F0F6F5;
    border: 1px solid #D1E5E1;
    border-radius: 12px;
    color: #0E3D3A !important;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 700;
    transition: all 0.2s ease;
}

.salx-view-all-results-btn:hover {
    background: #0E3D3A;
    color: #FFFFFF !important;
    border-color: #0E3D3A;
}

/* 10. Responsive Design for Mobile Devices */
@media (max-width: 768px) {
    .salx-search-inner {
        padding: 20px 16px 28px;
    }

    .salx-search-bar-wrap {
        padding: 6px 10px 6px 14px;
        gap: 10px;
    }

    .salx-search-input {
        font-size: 0.95rem !important;
    }

    .salx-esc-badge {
        display: none;
    }

    .salx-search-close {
        padding: 6px 10px;
    }

    .salx-search-quick-cats {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .salx-search-results-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .salx-card-thumb-wrap {
        width: 76px;
        height: 76px;
    }

    .salx-card-title {
        font-size: 0.88rem;
    }

    .salx-pill-tag {
        font-size: 0.78rem;
        padding: 6px 12px;
    }
}

@media (max-width: 1120px) {
    .salx-header-search-pill {
        min-width: 165px;
        max-width: 195px;
        padding: 6px 12px 6px 10px;
    }
    .salx-typewriter-text {
        font-size: 0.75rem;
    }
}

@media (max-width: 920px) {
    .salx-header-search-pill {
        display: none;
    }
}

/* ==========================================================================
   WHATSAPP ORDER CONFIRMATION BOT CARD & BADGES
   ========================================================================== */
.salx-wa-card {
    border-radius: 14px;
    padding: 18px 22px;
    margin: 22px 0 26px;
    transition: all 0.3s ease;
}

.salx-wa-card.pending {
    background: #F4FBF7;
    border: 1.5px solid #C4ECD4;
    box-shadow: 0 4px 18px rgba(18, 140, 126, 0.08);
}

.salx-wa-card.confirmed {
    background: #EDFAF2;
    border: 1.5px solid #A8E8BE;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.salx-wa-card.cancelled {
    background: #FDF4F4;
    border: 1.5px solid #F8C8C8;
    display: flex;
    align-items: center;
    gap: 16px;
}

.salx-wa-card-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 16px;
}

.salx-wa-card-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.salx-wa-icon-pulse {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #E0F6E9;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}

.salx-wa-icon-pulse::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 2px solid #25D366;
    animation: salxPulse 2s infinite;
}

@keyframes salxPulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.15); opacity: 0; }
    100% { transform: scale(0.95); opacity: 0; }
}

.salx-wa-badge-check {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #108A00;
    color: #FFFFFF;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: 700;
}

.salx-wa-badge-cancel {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #D9383A;
    color: #FFFFFF;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: 700;
}

.salx-wa-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #123B33;
    margin: 0 0 4px;
}

.salx-wa-desc {
    font-size: 0.86rem;
    color: #4A6E67;
    margin: 0;
    line-height: 1.45;
}

.salx-wa-btn-group {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.salx-btn-wa-confirm {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #128C7E;
    color: #FFFFFF !important;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 700;
    padding: 11px 20px;
    border-radius: 28px;
    transition: all 0.22s ease;
    box-shadow: 0 4px 14px rgba(18, 140, 126, 0.25);
}

.salx-btn-wa-confirm:hover {
    background: #0E7468;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(18, 140, 126, 0.35);
}

.salx-btn-wa-instant {
    display: inline-flex;
    align-items: center;
    background: #FFFFFF;
    color: #128C7E !important;
    border: 1.5px solid #128C7E;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 700;
    padding: 10px 18px;
    border-radius: 28px;
    transition: all 0.22s ease;
}

.salx-btn-wa-instant:hover {
    background: #128C7E;
    color: #FFFFFF !important;
    transform: translateY(-2px);
}

.salx-wa-synced-pill {
    background: #108A00;
    color: #FFFFFF;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    letter-spacing: 0.4px;
    white-space: nowrap;
}

/* Interactive WhatsApp Order Confirmation Embed Box */
.salx-wa-embed-container {
    margin: 22px 0 28px;
    width: 100%;
}

.salx-wa-embed-box.pending {
    background: #F7FCF9;
    border: 1.5px solid #B8EAD0;
    border-radius: 16px;
    padding: 22px 24px;
    box-shadow: 0 6px 24px rgba(18, 140, 126, 0.08);
    text-align: left;
    transition: all 0.3s ease;
}

.salx-wa-embed-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.salx-wa-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.salx-wa-badge-pill {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #128C7E;
    background: #E2F5EC;
    padding: 2px 8px;
    border-radius: 10px;
    margin-bottom: 3px;
}

.salx-wa-embed-title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: #123B33;
    letter-spacing: -0.3px;
}

.salx-wa-live-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #FFF4E5;
    color: #B26A00;
    border: 1px solid #FFE0B2;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
}

.salx-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #FF9800;
    animation: salxPulseDot 1.5s infinite;
}

@keyframes salxPulseDot {
    0% { transform: scale(0.9); opacity: 0.8; }
    50% { transform: scale(1.4); opacity: 0.3; }
    100% { transform: scale(0.9); opacity: 0.8; }
}

.salx-wa-prompt {
    font-size: 0.92rem;
    color: #3C635B;
    line-height: 1.55;
    margin: 0 0 16px;
}

.salx-wa-mini-spec {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
    background: #FFFFFF;
    border: 1px solid #E1F2EA;
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 18px;
}

.salx-wa-spec-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.salx-wa-spec-item .spec-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    color: #7A9B93;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.salx-wa-spec-item .spec-val {
    font-size: 0.92rem;
    font-weight: 700;
    color: #163638;
}

.salx-wa-spec-item .spec-val.price {
    color: #0E7A36;
}

.salx-wa-spec-item .spec-val.wa {
    color: #128C7E;
}

.salx-wa-action-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.salx-btn-wa-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #128C7E 0%, #075E54 100%);
    color: #FFFFFF !important;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    padding: 13px 26px;
    border-radius: 30px;
    box-shadow: 0 6px 18px rgba(18, 140, 126, 0.35);
    transition: all 0.25s ease;
}

.salx-btn-wa-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(18, 140, 126, 0.45);
    background: linear-gradient(135deg, #159C8D 0%, #0A6E63 100%);
}

.salx-btn-wa-hero .btn-check-icon {
    font-size: 1.1rem;
    font-weight: 900;
}

.salx-btn-wa-direct {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #FFFFFF;
    color: #128C7E !important;
    border: 1.5px solid #128C7E;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 700;
    padding: 11px 20px;
    border-radius: 30px;
    transition: all 0.22s ease;
}

.salx-btn-wa-direct svg {
    fill: #128C7E;
}

.salx-btn-wa-direct:hover {
    background: #E8F7F2;
    transform: translateY(-2px);
}

.salx-wa-cancel-text {
    font-size: 0.82rem;
    color: #8C9E9A;
    text-decoration: underline;
    margin-left: auto;
    cursor: pointer;
    transition: color 0.2s ease;
}

.salx-wa-cancel-text:hover {
    color: #D9383A;
}

.salx-wa-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #FFFFFF;
    animation: salxSpin 0.8s linear infinite;
}

@keyframes salxSpin {
    to { transform: rotate(360deg); }
}

.salx-fade-in {
    animation: salxFadeIn 0.35s ease-out;
}

@keyframes salxFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.salx-btn-wa-chat-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #128C7E;
    color: #FFFFFF !important;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.2s ease;
}

.salx-btn-wa-chat-pill:hover {
    background: #0E7468;
    transform: translateY(-1px);
}

.salx-wa-card-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

@media (max-width: 600px) {
    .salx-wa-action-bar {
        flex-direction: column;
        width: 100%;
    }
    .salx-btn-wa-hero,
    .salx-btn-wa-direct {
        width: 100%;
    }
    .salx-wa-cancel-text {
        margin: 8px auto 0;
    }
    .salx-wa-card.confirmed {
        flex-direction: column;
        align-items: flex-start;
    }
    .salx-wa-card-right {
        margin-top: 10px;
    }
    .salx-wa-btn-group {
        flex-direction: column;
        width: 100%;
    }
    .salx-btn-wa-confirm,
    .salx-btn-wa-instant {
        width: 100%;
        justify-content: center;
    }
}





