/* ==========================================================================
   S&M Sephora-Inspired Luxury E-Commerce Theme Styles
   ========================================================================== */

:root {
    --sm-black: #111111;
    --sm-white: #ffffff;
    --sm-gray-100: #f8f9fa;
    --sm-gray-200: #f1f3f5;
    --sm-gray-300: #e9ecef;
    --sm-gray-400: #ced4da;
    --sm-gray-600: #6c757d;
    --sm-gray-800: #343a40;
    --sm-burgundy: #6b0f24;
    --sm-crimson: #c41230;
    --sm-gold: #d4af37;
    --sm-font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --sm-transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    --sm-radius-sm: 6px;
    --sm-radius-md: 10px;
    --sm-radius-lg: 16px;
    --sm-radius-pill: 50px;
}

body.body_theme_sm {
    font-family: var(--sm-font-sans);
    color: var(--sm-black);
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
}

/* --------------------------------------------------------------------------
   1. Luxury Sephora Top Bar & Announcement
   -------------------------------------------------------------------------- */
.menu-top-area {
    background: #0b0b0b !important;
    color: #ffffff !important;
    padding: 8px 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
    font-size: 13px !important;
}

.sm-topbar-announcement {
    color: #ffffff;
    font-size: 12.5px;
    letter-spacing: 0.2px;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sm-topbar-announcement .sm-topbar-sparkle {
    margin-right: 3px;
    display: inline-block;
}

.sm-topbar-announcement .sm-topbar-title {
    font-weight: 700;
    color: #ffd166;
    margin-right: 4px;
    letter-spacing: 0.5px;
}

.sm-topbar-announcement .sm-topbar-desc {
    color: #e5e5e5;
}

.sm-topbar-announcement .sm-topbar-shop-link {
    color: #ffffff !important;
    text-decoration: underline !important;
    font-weight: 700;
    margin-left: 8px;
    display: inline-block;
    transition: color 0.2s ease;
}

.sm-topbar-announcement .sm-topbar-shop-link:hover {
    color: #ffd166 !important;
}

/* Translator Toggle (EN / বাংলা) */
.sm-lang-toggle-wrap {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.12);
    padding: 2px 8px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(4px);
}

.sm-lang-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 11.5px;
    font-weight: 600;
    padding: 2px 8px;
    cursor: pointer;
    border-radius: 12px;
    transition: all 0.2s ease;
    line-height: 1.3;
    outline: none !important;
}

.sm-lang-btn:hover {
    color: #ffffff;
}

.sm-lang-btn.active {
    background: #ffffff;
    color: #0b0b0b !important;
    font-weight: 700;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.sm-lang-divider {
    color: rgba(255, 255, 255, 0.35);
    font-size: 11px;
    margin: 0 1px;
    user-select: none;
}

/* Ensure right-area links in menu-top-area are white */
.menu-top-area .right-area a.main-link,
.menu-top-area .right-area .track-order-link {
    color: #ffffff !important;
    font-size: 12.5px !important;
}
.menu-top-area .right-area .t-h-dropdown .main-link i {
    color: #ffffff !important;
}
.menu-top-area .right-area .t-h-dropdown {
    margin-right: 18px !important;
}

/* Google Translate Widget Override / Banner Suppress */
.goog-te-banner-frame.skiptranslate,
body > .skiptranslate,
#goog-gt-tt,
.goog-te-balloon-frame {
    display: none !important;
    visibility: hidden !important;
}

body {
    top: 0px !important;
}

.goog-text-highlight {
    background: transparent !important;
    box-shadow: none !important;
}

font {
    background: transparent !important;
    box-shadow: none !important;
}

@media (max-width: 767px) {
    .sm-topbar-announcement {
        white-space: normal;
        font-size: 11.5px;
    }
}

/* --------------------------------------------------------------------------
   Header Site Logo - Fixed Size & Adaptive Containment
   -------------------------------------------------------------------------- */
.site-header .topbar {
    padding: 8px 0 !important;
}
.site-header .site-branding {
    display: flex !important;
    align-items: center !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
}
.site-header .site-branding .site-logo,
.site-header .site-branding a.sm-site-logo,
.sm-site-logo {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    height: 50px !important;
    max-height: 50px !important;
    width: auto !important;
    max-width: 170px !important;
    overflow: hidden !important;
    text-decoration: none !important;
}
.site-header .site-branding .site-logo > img,
.site-header .site-branding a.sm-site-logo > img,
.sm-site-logo > img {
    display: block !important;
    height: auto !important;
    max-height: 50px !important;
    width: auto !important;
    max-width: 170px !important;
    object-fit: contain !important;
}

@media (max-width: 768px) {
    .site-header .topbar {
        padding: 6px 0 !important;
    }
    .site-header .site-branding .site-logo,
    .site-header .site-branding a.sm-site-logo,
    .sm-site-logo {
        height: 40px !important;
        max-height: 40px !important;
        max-width: 120px !important;
    }
    .site-header .site-branding .site-logo > img,
    .site-header .site-branding a.sm-site-logo > img,
    .sm-site-logo > img {
        max-height: 40px !important;
        max-width: 120px !important;
    }
}

/* Header Toolbar Items (Desktop: >= 992px) */
@media (min-width: 992px) {
    .site-header .toolbar {
        display: flex !important;
        align-items: center !important;
        flex-shrink: 0 !important;
    }
    .site-header .toolbar .toolbar-item {
        position: relative;
        width: auto !important;
        min-width: 66px;
        margin-left: 12px;
        text-align: center;
    }
    .site-header .toolbar .toolbar-item > a {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        position: relative !important;
        top: auto !important;
        left: auto !important;
        width: 100% !important;
        height: auto !important;
        padding: 6px 8px !important;
        color: #111111 !important;
        text-decoration: none !important;
        background: transparent !important;
        transition: color 0.2s ease;
    }
    .site-header .toolbar .toolbar-item > a:hover {
        color: var(--sm-primary, #e65c00) !important;
    }
    .site-header .toolbar .toolbar-item > a > div {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        width: auto !important;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .site-header .toolbar .toolbar-item > a > div i {
        font-size: 21px !important;
        line-height: 1 !important;
        display: inline-block;
        margin-bottom: 4px !important;
        color: #111111;
        transition: color 0.2s ease;
    }
    .site-header .toolbar .toolbar-item > a:hover > div i {
        color: var(--sm-primary, #e65c00) !important;
    }
    .site-header .toolbar .toolbar-item > a > div > .text-label {
        display: block !important;
        font-size: 11.5px !important;
        font-weight: 500;
        color: #222222 !important;
        line-height: 1.2;
        white-space: nowrap !important;
        margin-top: 2px;
    }
    .site-header .toolbar .toolbar-item > a:hover > div > .text-label {
        color: var(--sm-primary, #e65c00) !important;
    }
    .site-header .toolbar .toolbar-item > a > div > .cart-icon,
    .site-header .toolbar .toolbar-item > a > div > .compare-icon,
    .site-header .toolbar .toolbar-item > a > div > .user-icon {
        display: inline-block;
        position: relative;
        line-height: 1;
    }
    .site-header .toolbar .toolbar-item > a > div > .cart-icon > .count-label,
    .site-header .toolbar .toolbar-item > a > div > .compare-icon > .count-label {
        position: absolute;
        top: -6px;
        right: -10px;
        width: 17px;
        height: 17px;
        line-height: 17px;
        text-align: center;
        border-radius: 50%;
        background-color: var(--sm-primary, #e65c00) !important;
        color: #ffffff !important;
        font-size: 10px;
        font-weight: 700;
    }
}

/* Header Toolbar Items (Mobile & Tablet: <= 991px) */
@media (max-width: 991px) {
    html, body {
        overflow-x: hidden !important;
    }
    .site-header .toolbar {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        flex-shrink: 0 !important;
        margin-left: auto;
    }
    .site-header .toolbar .toolbar-item {
        position: relative !important;
        width: 36px !important;
        min-width: 36px !important;
        max-width: 36px !important;
        height: 38px !important;
        margin-left: 6px !important;
        margin-right: 0 !important;
        padding: 0 !important;
        text-align: center !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .site-header .toolbar .toolbar-item > a {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        height: 100% !important;
        padding: 0 !important;
        color: #111111 !important;
        text-decoration: none !important;
        position: relative !important;
        top: auto !important;
        left: auto !important;
        background: transparent !important;
    }
    .site-header .toolbar .toolbar-item > a > div {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        width: auto !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .site-header .toolbar .toolbar-item > a > div i {
        font-size: 20px !important;
        line-height: 1 !important;
        margin-bottom: 0 !important;
        display: inline-block !important;
        color: #111111 !important;
    }
    .site-header .toolbar .toolbar-item > a > div > .text-label {
        display: none !important; /* Prevents overflow completely on mobile */
    }
    .site-header .toolbar .toolbar-item > a > div > .cart-icon,
    .site-header .toolbar .toolbar-item > a > div > .user-icon {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        position: relative !important;
        line-height: 1 !important;
    }
    .site-header .toolbar .toolbar-item > a > div > .cart-icon > .count-label {
        position: absolute !important;
        top: -8px !important;
        right: -10px !important;
        width: 16px !important;
        height: 16px !important;
        line-height: 16px !important;
        text-align: center !important;
        border-radius: 50% !important;
        background-color: var(--sm-primary, #e65c00) !important;
        color: #ffffff !important;
        font-size: 9.5px !important;
        font-weight: 700 !important;
    }
}

/* Slideable Mobile Menu Language Bar */
.sm-mobile-lang-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}
.sm-mobile-lang-title {
    font-size: 13.5px;
    font-weight: 600;
    color: #1f2937;
    display: inline-flex;
    align-items: center;
}
.sm-mobile-lang-bar .sm-lang-toggle-wrap {
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 20px;
    padding: 2px 6px;
}
.sm-mobile-lang-bar .sm-lang-btn {
    border: none;
    background: transparent;
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    padding: 3px 8px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.sm-mobile-lang-bar .sm-lang-btn.active {
    background: #111827;
    color: #ffffff;
}
.sm-mobile-lang-bar .sm-lang-divider {
    color: #9ca3af;
    font-size: 12px;
    margin: 0 2px;
}

.sm-mobile-menu-lang-item a {
    display: flex !important;
    align-items: center !important;
    gap: 8px;
    color: #111827 !important;
    font-weight: 600 !important;
}
.sm-mobile-menu-lang-item strong {
    background: #111827;
    color: #ffffff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    margin-left: 6px;
}

/* User Account Toolbar Item (Right of Cart) */
.toolbar-item.t-h-dropdown-parent {
    position: relative;
}
.toolbar-item.t-h-dropdown-parent:hover .toolbar-dropdown.user-dropdown {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}
.toolbar-dropdown.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 170px;
    background: #ffffff;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.14);
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 8px 0;
    z-index: 1050;
    display: none;
    transform: translateY(8px);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.toolbar-dropdown.user-dropdown a {
    display: flex !important;
    align-items: center;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 500;
    color: #212529 !important;
    text-align: left;
    transition: background 0.15s;
    text-decoration: none;
}
.toolbar-dropdown.user-dropdown a:hover {
    background: #f8f9fa;
    color: #000000 !important;
}

/* --------------------------------------------------------------------------
   2. Section Headers (Sephora Editorial Style)
   -------------------------------------------------------------------------- */
.sm-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--sm-black);
}
.sm-section-title {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--sm-black);
    margin: 0;
    text-transform: capitalize;
    display: flex;
    align-items: center;
    gap: 8px;
}
.sm-section-subtitle {
    font-size: 13px;
    color: var(--sm-gray-600);
    margin-top: 4px;
    font-weight: 400;
}
.sm-section-link {
    font-size: 13px;
    font-weight: 700;
    color: var(--sm-black);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: var(--sm-transition);
    white-space: nowrap;
}
.sm-section-link:hover {
    color: var(--sm-crimson);
    transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   3. Hero Feature 3-Card Banner Grid (Sephora Signature)
   -------------------------------------------------------------------------- */
.sm-hero-grid {
    padding: 30px 0 10px;
}
.sm-feature-card {
    position: relative;
    border-radius: var(--sm-radius-lg);
    overflow: hidden;
    height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 28px;
    background-size: cover;
    background-position: center;
    transition: var(--sm-transition);
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.sm-feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0,0,0,0.12);
    text-decoration: none;
}
.sm-feature-card.card-amber {
    background: linear-gradient(145deg, #fbcfe8 0%, #fed7aa 100%);
}
.sm-feature-card.card-lavender {
    background: linear-gradient(145deg, #e9d5ff 0%, #c7d2fe 100%);
}
.sm-feature-card.card-dewy {
    background: linear-gradient(145deg, #ccfbf1 0%, #e0e7ff 100%);
}
.sm-feature-card-tag {
    align-self: flex-start;
    background: var(--sm-black);
    color: var(--sm-white);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: 4px;
}
.sm-feature-card-img-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
}
.sm-feature-card-img-wrap img {
    max-height: 180px;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.1));
}
.sm-feature-card:hover .sm-feature-card-img-wrap img {
    transform: scale(1.06);
}
.sm-feature-card-content {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    padding: 14px 16px;
    border-radius: var(--sm-radius-md);
}
.sm-feature-card-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--sm-black);
    margin: 0 0 4px;
    line-height: 1.25;
}
.sm-feature-card-desc {
    font-size: 12px;
    color: var(--sm-gray-800);
    margin: 0 0 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.sm-feature-card-cta {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--sm-black);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.sm-feature-card-cta::after {
    content: "→";
    font-weight: 900;
    transition: transform 0.2s;
}
.sm-feature-card:hover .sm-feature-card-cta::after {
    transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   Mobile Horizontal Slide / Touch Scroll for 3 Hero Feature Cards
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
    .sm-hero-grid {
        padding: 16px 0 10px;
        overflow: hidden;
    }
    .sm-hero-grid .container {
        padding-left: 16px;
        padding-right: 16px;
    }
    .sm-hero-feature-slider {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 14px;
        margin-left: -16px !important;
        margin-right: -16px !important;
        padding: 4px 16px 14px 16px !important;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE/Edge */
    }
    .sm-hero-feature-slider::-webkit-scrollbar {
        display: none; /* Chrome, Safari */
    }
    .sm-feature-slide {
        flex: 0 0 84% !important;
        max-width: 84% !important;
        width: 84% !important;
        scroll-snap-align: center;
        padding: 0 !important;
    }
    .sm-feature-card {
        height: 330px;
        padding: 18px;
        border-radius: 16px;
    }
    .sm-feature-card-img-wrap img {
        max-height: 145px;
    }
    .sm-feature-card-content {
        padding: 12px 14px;
    }
    .sm-feature-card-title {
        font-size: 15px;
    }
    .sm-feature-card-desc {
        font-size: 11.5px;
        margin-bottom: 6px;
    }

    /* Dots Pagination Indicator on Mobile */
    .sm-feature-slider-dots {
        display: flex !important;
        justify-content: center;
        align-items: center;
        gap: 8px;
        margin-top: 2px;
        margin-bottom: 6px;
    }
    .sm-slider-dot {
        width: 20px;
        height: 4px;
        border-radius: 2px;
        background: #cbd5e1;
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .sm-slider-dot.active {
        width: 32px;
        background: #111827;
    }
}
@media (min-width: 769px) {
    .sm-feature-slider-dots {
        display: none !important;
    }
}

/* --------------------------------------------------------------------------
   4. Sephora Luxury Product Cards
   -------------------------------------------------------------------------- */
.sm-product-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}
@media (max-width: 1200px) {
    .sm-product-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 992px) {
    .sm-product-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .sm-product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

.sm-product-card {
    background: var(--sm-white);
    border: 1px solid var(--sm-gray-300);
    border-radius: var(--sm-radius-md);
    padding: 14px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--sm-transition);
    height: 100%;
}
.sm-product-card:hover {
    border-color: var(--sm-black);
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    transform: translateY(-3px);
}
.sm-product-card-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: var(--sm-radius-sm);
    background: #fafafa;
}
.sm-product-card-thumb img {
    max-height: 90%;
    max-width: 90%;
    object-fit: contain;
    transition: transform 0.35s ease;
}
.sm-product-card:hover .sm-product-card-thumb img {
    transform: scale(1.05);
}
.sm-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--sm-black);
    color: var(--sm-white);
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 3px 7px;
    border-radius: 3px;
    z-index: 2;
}
.sm-badge.badge-sale {
    background: var(--sm-crimson);
}
.sm-badge.badge-exclusive {
    background: #5b21b6;
}
.sm-wishlist-btn {
    position: absolute;
    top: 6px;
    right: 6px;
    background: rgba(255,255,255,0.9);
    border: 1px solid var(--sm-gray-300);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sm-black);
    transition: var(--sm-transition);
    z-index: 3;
    text-decoration: none;
}
.sm-wishlist-btn:hover {
    background: var(--sm-crimson);
    border-color: var(--sm-crimson);
    color: #ffffff;
}

.sm-product-body {
    padding-top: 12px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.sm-product-brand {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--sm-black);
    margin-bottom: 4px;
    text-decoration: none;
    display: block;
}
.sm-product-name {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
    color: var(--sm-gray-800);
    margin-bottom: 6px;
    height: 35px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-decoration: none;
}
.sm-product-name:hover {
    color: var(--sm-black);
    text-decoration: underline;
}
.sm-product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: #f59e0b;
    margin-bottom: 8px;
}
.sm-product-price {
    font-size: 15px;
    font-weight: 800;
    color: var(--sm-black);
    margin-bottom: 12px;
    display: flex;
    align-items: baseline;
    gap: 6px;
}
.sm-product-price del {
    font-size: 12px;
    font-weight: 400;
    color: var(--sm-gray-600);
}

.sm-add-to-bag-btn {
    width: 100%;
    padding: 8px 12px;
    background: var(--sm-black);
    color: var(--sm-white);
    border: 1px solid var(--sm-black);
    border-radius: var(--sm-radius-pill);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    cursor: pointer;
    text-align: center;
    transition: var(--sm-transition);
    text-decoration: none;
    display: block;
}
.sm-add-to-bag-btn:hover {
    background: var(--sm-white);
    color: var(--sm-black);
    text-decoration: none;
}

/* --------------------------------------------------------------------------
   5. Beauty Offers / Promo Grid (Sephora Signature)
   -------------------------------------------------------------------------- */
.sm-offers-section {
    background: var(--sm-gray-100);
    padding: 40px 0;
    margin: 40px 0;
}
.sm-offer-card {
    background: var(--sm-white);
    border: 1px solid var(--sm-gray-300);
    border-radius: var(--sm-radius-md);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--sm-transition);
}
.sm-offer-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transform: translateY(-4px);
}
.sm-offer-header {
    padding: 24px 16px;
    text-align: center;
    color: #ffffff;
    position: relative;
}
.sm-offer-header.offer-red {
    background: linear-gradient(135deg, #be123c 0%, #e11d48 100%);
}
.sm-offer-header.offer-dark {
    background: linear-gradient(135deg, #18181b 0%, #27272a 100%);
}
.sm-offer-header.offer-coral {
    background: linear-gradient(135deg, #ea580c 0%, #f97316 100%);
}
.sm-offer-header.offer-gold {
    background: linear-gradient(135deg, #b45309 0%, #d97706 100%);
}
.sm-offer-circle-badge {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    border: 2px dashed rgba(255,255,255,0.8);
    margin: 0 auto 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    line-height: 1;
}
.sm-offer-circle-badge span {
    font-size: 18px;
}
.sm-offer-circle-badge small {
    font-size: 9px;
    letter-spacing: 0.5px;
}
.sm-offer-body {
    padding: 16px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.sm-offer-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--sm-black);
    margin-bottom: 6px;
}
.sm-offer-desc {
    font-size: 12px;
    color: var(--sm-gray-600);
    line-height: 1.4;
    margin-bottom: 14px;
}
.sm-offer-btn {
    padding: 6px 14px;
    border: 1px solid var(--sm-black);
    border-radius: var(--sm-radius-pill);
    background: transparent;
    color: var(--sm-black);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    text-decoration: none;
    transition: var(--sm-transition);
}
.sm-offer-btn:hover {
    background: var(--sm-black);
    color: var(--sm-white);
    text-decoration: none;
}

/* --------------------------------------------------------------------------
   6. "Need a Little Guidance?" Category Icon Grid
   -------------------------------------------------------------------------- */
.sm-guidance-section {
    padding: 30px 0;
}
.sm-guidance-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 12px;
}
@media (max-width: 992px) {
    .sm-guidance-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 576px) {
    .sm-guidance-grid { grid-template-columns: repeat(2, 1fr); }
}
.sm-guidance-tile {
    border: 1px solid var(--sm-gray-300);
    border-radius: var(--sm-radius-md);
    padding: 16px 8px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--sm-black);
    transition: var(--sm-transition);
    background: var(--sm-white);
}
.sm-guidance-tile:hover {
    border-color: var(--sm-black);
    box-shadow: 0 6px 16px rgba(0,0,0,0.06);
    transform: translateY(-3px);
    text-decoration: none;
    color: var(--sm-black);
}
.sm-guidance-icon {
    font-size: 26px;
    margin-bottom: 8px;
    transition: transform 0.25s ease;
}
.sm-guidance-tile:hover .sm-guidance-icon {
    transform: scale(1.15);
}
.sm-guidance-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2px;
    line-height: 1.2;
}

/* --------------------------------------------------------------------------
   7. Brand & Community Highlights (3-Column Sephora Pillars)
   -------------------------------------------------------------------------- */
.sm-pillars-section {
    padding: 40px 0 50px;
}
.sm-pillar-card {
    border-radius: var(--sm-radius-lg);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--sm-transition);
    text-decoration: none;
    color: var(--sm-black);
    border: 1px solid var(--sm-gray-300);
    background: var(--sm-white);
}
.sm-pillar-card:hover {
    box-shadow: 0 12px 28px rgba(0,0,0,0.08);
    transform: translateY(-4px);
    text-decoration: none;
    color: var(--sm-black);
}
.sm-pillar-img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    background-color: var(--sm-gray-200);
}
.sm-pillar-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.sm-pillar-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--sm-black);
    margin-bottom: 6px;
}
.sm-pillar-desc {
    font-size: 13px;
    color: var(--sm-gray-600);
    line-height: 1.45;
    margin-bottom: 12px;
}
.sm-pillar-link {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--sm-black);
}
.sm-pillar-link::after {
    content: " →";
}

/* --------------------------------------------------------------------------
   8. Sephora-Inspired Single Product Page Styling
   -------------------------------------------------------------------------- */
.sm-product-detail-wrap {
    padding: 30px 0;
}
.sm-breadcrumb-area {
    margin-bottom: 24px;
    font-size: 13px;
    font-weight: 500;
}
.sm-breadcrumb-area a {
    color: var(--sm-gray-600);
    text-decoration: none;
    transition: var(--sm-transition);
}
.sm-breadcrumb-area a:hover {
    color: var(--sm-black);
}
.sm-breadcrumb-area .separator::after {
    content: " / ";
    color: var(--sm-gray-400);
    padding: 0 6px;
}
.sm-product-brand-tag {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--sm-black);
    display: inline-block;
    margin-bottom: 8px;
    text-decoration: none;
}
.sm-product-brand-tag:hover {
    color: var(--sm-crimson);
}
.sm-product-title-luxury {
    font-size: 28px;
    font-weight: 800;
    color: var(--sm-black);
    line-height: 1.25;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}
.sm-product-price-luxury {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin: 16px 0;
}
.sm-price-current {
    font-size: 26px;
    font-weight: 800;
    color: var(--sm-black);
}
.sm-price-previous {
    font-size: 16px;
    font-weight: 400;
    color: var(--sm-gray-600);
    text-decoration: line-through;
}
/* --------------------------------------------------------------------------
   Product Action Buttons (2x2 Grid) & Quantity Styling
   -------------------------------------------------------------------------- */
.sm-qty-wrapper {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}
.sm-qty-label {
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
}
.qtySelector.product-quantity {
    display: inline-flex;
    align-items: center;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #ffffff;
    overflow: hidden;
    height: 42px;
}
.qtySelector.product-quantity .decreaseQty,
.qtySelector.product-quantity .increaseQty {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 100%;
    cursor: pointer;
    color: #4b5563;
    font-size: 12px;
    background: #ffffff;
    transition: background 0.15s, color 0.15s;
    user-select: none;
}
.qtySelector.product-quantity .decreaseQty:hover,
.qtySelector.product-quantity .increaseQty:hover {
    background: #f3f4f6;
    color: #111827;
}
.qtySelector.product-quantity .qtyValue.cart-amount {
    width: 50px;
    height: 100%;
    border: none;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    color: #111827;
    background: transparent;
    padding: 0;
}
.qtySelector.product-quantity .qtyValue.cart-amount:focus {
    outline: none;
}

/* 2x2 Product Actions Grid */
:root {
    --sm-btn-cart-bg: var(--sm-primary, #FF6A00);
    --sm-btn-cart-color: #ffffff;
    --sm-btn-buynow-bg: #0d1b1e;
    --sm-btn-buynow-color: #ffffff;
    --sm-btn-whatsapp-bg: #25D366;
    --sm-btn-whatsapp-color: #ffffff;
    --sm-btn-call-bg: #1a365d;
    --sm-btn-call-color: #ffffff;
}

.sm-product-actions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 14px;
    margin-bottom: 24px;
}

.sm-product-actions-grid .sm-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-align: center;
    text-decoration: none !important;
    border: none;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    line-height: 1.2;
}

.sm-product-actions-grid .sm-action-btn .sm-btn-icon {
    flex-shrink: 0;
}

/* 1. Add to Cart (Theme Color / Dynamic) */
.sm-product-actions-grid .sm-btn-cart {
    background-color: var(--sm-btn-cart-bg, var(--sm-primary, #FF6A00)) !important;
    color: var(--sm-btn-cart-color, #ffffff) !important;
    text-transform: uppercase;
}
.sm-product-actions-grid .sm-btn-cart:hover {
    filter: brightness(0.92);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* 2. Buy Now (Dark / Black) */
.sm-product-actions-grid .sm-btn-buynow {
    background-color: var(--sm-btn-buynow-bg, #0d1b1e) !important;
    color: var(--sm-btn-buynow-color, #ffffff) !important;
    text-transform: uppercase;
}
.sm-product-actions-grid .sm-btn-buynow:hover {
    background-color: #1a2c31 !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(13, 27, 30, 0.25);
}

/* 3. Order on WhatsApp (Brand Green) */
.sm-product-actions-grid .sm-btn-whatsapp {
    background-color: var(--sm-btn-whatsapp-bg, #25D366) !important;
    color: var(--sm-btn-whatsapp-color, #ffffff) !important;
}
.sm-product-actions-grid .sm-btn-whatsapp:hover {
    background-color: #1eb857 !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.28);
}

/* 4. Call For Order (Navy Blue) */
.sm-product-actions-grid .sm-btn-call {
    background-color: var(--sm-btn-call-bg, #1a365d) !important;
    color: var(--sm-btn-call-color, #ffffff) !important;
}
.sm-product-actions-grid .sm-btn-call:hover {
    background-color: #132742 !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(26, 54, 93, 0.28);
}

/* Disabled state */
.sm-product-actions-grid .sm-btn-out-of-stock {
    background-color: #9ca3af !important;
    color: #ffffff !important;
    cursor: not-allowed;
    box-shadow: none;
    transform: none !important;
}

/* Responsive Grid for mobile */
@media (max-width: 480px) {
    .sm-product-actions-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

/* Brand badge */
.sm-brand-badge-box {
    display: inline-flex;
    align-items: center;
    padding: 7px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: #ffffff;
    font-size: 14px;
    color: #374151 !important;
    text-decoration: none !important;
    transition: all 0.2s ease;
}
.sm-brand-badge-box:hover {
    border-color: #9ca3af;
    background: #f9fafb;
    color: #111827 !important;
}
.sm-brand-badge-box .sm-brand-name {
    font-weight: 700;
    color: #111827;
}
.sm-trust-badges-card {
    border: 1px solid var(--sm-gray-300);
    border-radius: var(--sm-radius-md);
    background: #fafafa;
    padding: 18px 20px;
    margin-top: 24px;
}
.sm-trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: var(--sm-gray-800);
    margin-bottom: 10px;
}
.sm-trust-item:last-child {
    margin-bottom: 0;
}
.sm-trust-item i {
    font-size: 16px;
    color: var(--sm-black);
}

/* ==========================================================================
   Luxury Brand Preloader
   ========================================================================== */
#preloader.sm-luxury-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999999999999;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.35s ease;
}

#preloader.sm-luxury-preloader.sm-preloader-hidden {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.sm-preloader-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
}

.sm-preloader-logo-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.sm-preloader-brand {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-size: 32px;
    font-weight: 800;
    letter-spacing: 7px;
    color: #111111;
    line-height: 1.1;
    text-transform: uppercase;
}

.sm-preloader-tagline {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 5px;
    color: #c41230;
    text-transform: uppercase;
    margin-top: 4px;
    margin-left: 5px;
}

.sm-preloader-spinner {
    position: relative;
    width: 52px;
    height: 52px;
    margin-bottom: 18px;
}

.sm-spinner-outer {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(0, 0, 0, 0.08);
    border-top-color: #111111;
    border-left-color: #111111;
    animation: smSpinOuter 1.1s cubic-bezier(0.6, 0.2, 0.4, 0.9) infinite;
}

.sm-spinner-inner {
    position: absolute;
    inset: 7px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-bottom-color: #c41230;
    border-right-color: #d4af37;
    animation: smSpinInner 0.85s linear infinite;
}

.sm-spinner-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    margin: -4px 0 0 -4px;
    border-radius: 50%;
    background: #111111;
    animation: smDotPulse 1.4s ease-in-out infinite;
}

.sm-preloader-progress {
    width: 140px;
    height: 2px;
    background: #f1f3f5;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    margin-bottom: 12px;
}

.sm-progress-bar {
    position: absolute;
    height: 100%;
    width: 45%;
    background: linear-gradient(90deg, #111111 0%, #c41230 60%, #d4af37 100%);
    border-radius: 4px;
    animation: smProgressAnim 1.5s ease-in-out infinite;
}

.sm-preloader-text {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #888888;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    animation: smTextFade 1.6s ease-in-out infinite;
}

@keyframes smSpinOuter {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes smSpinInner {
    0% { transform: rotate(360deg); }
    100% { transform: rotate(0deg); }
}

@keyframes smDotPulse {
    0%, 100% { transform: scale(0.6); opacity: 0.35; }
    50% { transform: scale(1.15); opacity: 1; }
}

@keyframes smProgressAnim {
    0% { left: -45%; width: 35%; }
    50% { left: 30%; width: 55%; }
    100% { left: 100%; width: 35%; }
}

@keyframes smTextFade {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.95; }
}

