/**
 * Rosila Luxury Fragrance Theme - Core Stylesheet
 * Standalone, Ultra-Fast, Clean E-Commerce
 */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --rosila-primary: #121417;
    --rosila-accent: #007D71;
    --rosila-accent-hover: #00645a;
    --rosila-gold: #c5a880;
    --rosila-gold-light: #f7f4ee;
    --rosila-text: #2c3038;
    --rosila-text-muted: #667085;
    --rosila-bg-light: #fcfcfc;
    --rosila-border: #e8ecf1;
    --rosila-card-bg: #ffffff;
    --rosila-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    --rosila-shadow-hover: 0 10px 30px rgba(0, 0, 0, 0.09);
    --rosila-radius: 8px;
    --rosila-container: 1240px;
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Global Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    color: var(--rosila-text);
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
}

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

a:hover {
    color: var(--rosila-accent);
}

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

ul, ol {
    list-style: none;
}

.rosila-container {
    width: 100%;
    max-width: var(--rosila-container);
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--rosila-primary);
    line-height: 1.25;
}

.section-title {
    text-align: center;
    margin-bottom: 35px;
}

.section-title span.subtitle {
    display: block;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 2.5px;
    color: var(--rosila-accent);
    font-weight: 600;
    margin-bottom: 6px;
    font-family: var(--font-body);
}

.section-title h2 {
    font-size: 36px;
    letter-spacing: 0.5px;
}

/* Top Announcement Bar */
.rosila-topbar {
    background: #08090a;
    color: #cbd5e1;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.6px;
    padding: 7px 0;
    border-bottom: 1px solid rgba(197, 155, 39, 0.22);
    box-sizing: border-box;
    line-height: 1.4;
}

.rosila-topbar .rosila-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.rosila-topbar-left, .rosila-topbar-right {
    display: flex;
    align-items: center;
    gap: 18px;
    white-space: nowrap;
}

.rosila-topbar-center {
    font-size: 11px;
    letter-spacing: 1px;
    color: #e2e8f0;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rosila-topbar-center .announcement-slide {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.rosila-topbar a {
    color: #cbd5e1;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.rosila-topbar a svg {
    flex-shrink: 0;
    color: var(--rosila-gold, #c59b27);
    stroke: var(--rosila-gold, #c59b27);
}

.rosila-topbar a:hover {
    color: var(--rosila-gold, #c59b27);
}

/* Main Luxury Header */
.rosila-header {
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.035);
    transition: all 0.3s ease;
}

.rosila-header-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 24px;
}

.rosila-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.rosila-logo a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.rosila-logo img,
.rosila-logo-img {
    height: 42px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    display: block;
}

.rosila-logo-text {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #0f172a;
}

/* Nav Menu (Strictly Horizontal) */
.rosila-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.rosila-nav ul,
.rosila-nav ul.rosila-menu,
.rosila-nav div > ul {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 28px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.rosila-nav ul li,
.rosila-nav ul.rosila-menu li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: inline-block !important;
    position: relative !important;
}

.rosila-nav ul li a,
.rosila-nav ul.rosila-menu li a {
    font-size: 12px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    padding: 6px 0 !important;
    position: relative !important;
    color: #1e293b !important;
    display: inline-block !important;
    text-decoration: none !important;
    transition: color 0.25s ease !important;
}

.rosila-nav ul li a::after,
.rosila-nav ul.rosila-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #c59b27, #007D71);
    border-radius: 2px;
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.rosila-nav ul li.current-menu-item a,
.rosila-nav ul li a:hover,
.rosila-nav ul.rosila-menu li.current-menu-item a,
.rosila-nav ul.rosila-menu li a:hover {
    color: #007D71 !important;
}

.rosila-nav ul li.current-menu-item a::after,
.rosila-nav ul li a:hover::after,
.rosila-nav ul.rosila-menu li.current-menu-item a::after,
.rosila-nav ul.rosila-menu li a:hover::after {
    width: 100%;
}

/* Header Action Icons */
.rosila-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.rosila-action-btn {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #1e293b;
    cursor: pointer;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.rosila-action-btn svg {
    display: block;
    stroke: #1e293b;
    width: 18px;
    height: 18px;
    transition: transform 0.2s ease, stroke 0.2s ease;
}

.rosila-action-btn:hover {
    color: #ffffff;
    background-color: #007D71;
    border-color: #007D71;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 125, 113, 0.25);
}

.rosila-action-btn:hover svg {
    stroke: #ffffff !important;
    transform: scale(1.05);
}

.rosila-cart-count,
.rosila-wishlist-count {
    position: absolute;
    top: -3px;
    right: -3px;
    background: linear-gradient(135deg, #007D71 0%, #005a52 100%);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    pointer-events: none;
    border: 1.5px solid #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.mobile-toggle {
    display: none;
}

/* Hero Slider (Cross-Fade Dissolve + Ken Burns Zoom) */
.rosila-hero-slider {
    position: relative;
    width: 100%;
    min-height: 560px;
    height: 72vh;
    max-height: 700px;
    overflow: hidden;
    background: #ebe4d8;
}

.rosila-slides-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.rosila-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), visibility 1.2s;
    z-index: 1;
    display: flex;
    align-items: center;
}

.rosila-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Continuous Ken Burns Zoom Effect */
.rosila-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center left;
    background-repeat: no-repeat;
    transform: scale(1);
    transition: transform 9s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.rosila-slide.active .rosila-slide-bg {
    transform: scale(1.09);
}

.rosila-slide .rosila-container {
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: flex-end;
    width: 100%;
    padding-right: 50px;
}

.rosila-hero-content {
    max-width: 540px;
    text-align: left;
    animation: heroFadeUp 1s ease-out;
}

@keyframes heroFadeUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

.hero-notes-pills {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.note-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    padding: 7px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.note-pill i {
    color: var(--rosila-accent);
}

.hero-heading {
    font-family: var(--font-heading);
    font-size: 52px;
    font-weight: 600;
    color: #121417;
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.hero-subheading {
    font-size: 17px;
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 30px;
    font-weight: 400;
    max-width: 480px;
}

.hero-shop-btn {
    display: inline-block;
    background-color: #121417;
    color: #ffffff;
    padding: 16px 48px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.hero-shop-btn:hover {
    background-color: var(--rosila-accent);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 125, 113, 0.35);
}

/* Slider Controls */
.slider-prev, .slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.85);
    border: none;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    transition: all 0.25s ease;
    z-index: 10;
}

.slider-prev:hover, .slider-next:hover {
    background: #ffffff;
    color: var(--rosila-accent);
    transform: translateY(-50%) scale(1.08);
}

.slider-prev { left: 25px; }
.slider-next { right: 25px; }

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.25);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    width: 30px;
    border-radius: 10px;
    background: #121417;
}

/* Category Pills / Showcase */
.rosila-categories-section {
    padding: 50px 0 30px;
    background: #fff;
}

.rosila-cat-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
}

.rosila-cat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 140px;
    text-align: center;
    cursor: pointer;
}

.rosila-cat-icon {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    background: var(--rosila-gold-light);
    border: 1px solid #ebd9c8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: var(--rosila-accent);
    transition: all 0.3s ease;
    overflow: hidden;
}

.rosila-cat-card:hover .rosila-cat-icon {
    background: var(--rosila-accent);
    color: #fff;
    transform: scale(1.08);
}

.rosila-cat-title {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Product Grid */
.rosila-products-section {
    padding: 60px 0;
    background: var(--rosila-bg-light);
}

.rosila-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.rosila-product-card {
    background: #fff;
    border-radius: var(--rosila-radius);
    overflow: hidden;
    border: 1px solid var(--rosila-border);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.rosila-product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--rosila-shadow-hover);
}

.rosila-product-thumb {
    position: relative;
    padding-top: 100%;
    overflow: hidden;
    background: #f7f9fa;
}

.rosila-product-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 15px;
    transition: transform 0.4s ease;
}

.rosila-product-card:hover .rosila-product-thumb img {
    transform: scale(1.05);
}

/* Swallowtail Ribbon Flag Tag Badge (Screenshot Reference Match) */
.rosila-ribbon-tag-badge,
.rosila-badge-sale {
    position: absolute !important;
    top: 12px !important;
    left: 0 !important;
    background: #d90429 !important; /* Bold Luxury Red */
    color: #ffffff !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    letter-spacing: 0.08em !important;
    padding: 6px 16px 6px 10px !important;
    text-transform: uppercase !important;
    z-index: 9 !important;
    box-shadow: 0 4px 10px rgba(217, 4, 41, 0.35) !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    /* Fishtail / Swallowtail Notch cut out on right edge */
    clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 50%, 100% 100%, 0 100%) !important;
    -webkit-clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 50%, 100% 100%, 0 100%) !important;
    pointer-events: none;
    border-radius: 0 !important;
}

@media (max-width: 576px) {
    .rosila-ribbon-tag-badge,
    .rosila-badge-sale {
        top: 8px !important;
        left: 0 !important;
        font-size: 8.5px !important;
        padding: 4px 12px 4px 8px !important;
        clip-path: polygon(0 0, 100% 0, calc(100% - 6px) 50%, 100% 100%, 0 100%) !important;
        -webkit-clip-path: polygon(0 0, 100% 0, calc(100% - 6px) 50%, 100% 100%, 0 100%) !important;
    }
}

.rosila-product-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.rosila-product-cat {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--rosila-text-muted);
    margin-bottom: 6px;
}

.rosila-product-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--rosila-primary);
    line-height: 1.3;
}

.rosila-product-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--rosila-primary);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.rosila-product-price del {
    color: #999;
    font-size: 14px;
    font-weight: 400;
}

.rosila-product-price ins {
    text-decoration: none;
    color: var(--rosila-accent);
}

.rosila-add-to-cart {
    margin-top: auto;
    width: 100%;
    padding: 11px;
    background-color: var(--rosila-primary);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.2s;
    text-align: center;
}

.rosila-add-to-cart:hover {
    background-color: var(--rosila-accent);
    color: #fff;
}

/* Fragrance Notes Breakdown */
.rosila-notes-section {
    padding: 70px 0;
    background: #fff;
}

.rosila-notes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.rosila-note-card {
    text-align: center;
    padding: 35px 25px;
    background: var(--rosila-bg-light);
    border-radius: var(--rosila-radius);
    border: 1px solid var(--rosila-border);
}

.rosila-note-icon {
    font-size: 36px;
    color: var(--rosila-accent);
    margin-bottom: 15px;
}

.rosila-note-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.rosila-note-card p {
    color: var(--rosila-text-muted);
    font-size: 14px;
}

/* Trust Badges Bar */
.rosila-trust-bar {
    background: #fff;
    padding: 18px 0;
    border-top: 1px solid var(--rosila-border);
    border-bottom: 1px solid var(--rosila-border);
}

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

.rosila-trust-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.rosila-trust-icon {
    font-size: 28px;
    color: var(--rosila-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
}
.fa-clock-o:before { content: "\f017"; }
.fa-shield:before { content: "\f3ed"; }

.rosila-trust-text h4 {
    font-size: 16px;
    margin-bottom: 2px;
}

.rosila-trust-text p {
    font-size: 12px;
    color: var(--rosila-text-muted);
}

/* Slide-out Mini-Cart Drawer */
.rosila-cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.rosila-cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ==========================================================================
   ULTRA-LUXURY SLIDE-OUT CART DRAWER & COUPON ECOSYSTEM
   ========================================================================== */
.rosila-cart-drawer {
    position: fixed;
    top: 0;
    right: -460px;
    width: 440px;
    max-width: 95vw;
    height: 100%;
    background: #ffffff;
    z-index: 99999;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.18);
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.rosila-cart-drawer.active {
    right: 0;
}

.rosila-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 22px;
    border-bottom: 1px solid #ebe8e2;
    background: #ffffff;
}

.drawer-title-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.drawer-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f8fafc;
    color: #0f172a;
}

.drawer-heading {
    font-family: var(--font-heading, 'Cormorant Garamond', Georgia, serif);
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: 0.5px;
    margin: 0;
}

.rosila-drawer-count-pill {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 3px 9px;
    border-radius: 20px;
    background: #f1f5f9;
    color: #475569;
    text-transform: uppercase;
}

.rosila-drawer-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

.rosila-drawer-close:hover {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
    transform: rotate(90deg);
}

/* Free Shipping Milestone Progress Bar */
.rosila-shipping-milestone {
    padding: 12px 22px;
    background: #faf9f6;
    border-bottom: 1px solid #f0ede6;
}

.milestone-text {
    font-size: 11.5px;
    color: #334155;
    margin-bottom: 7px;
    line-height: 1.35;
}

.milestone-text strong {
    color: #0f172a;
    font-weight: 700;
}

.milestone-bar {
    height: 6px;
    background: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
}

.milestone-progress {
    height: 100%;
    background: linear-gradient(90deg, #c59b27, #0d9488);
    border-radius: 10px;
    transition: width 0.4s ease;
}

.rosila-shipping-milestone.milestone-unlocked {
    background: #f0fdf4;
    border-bottom: 1px solid #bbf7d0;
}

.rosila-shipping-milestone.milestone-unlocked .milestone-text {
    color: #166534;
    font-weight: 600;
}

.rosila-shipping-milestone.milestone-unlocked .milestone-progress {
    background: linear-gradient(90deg, #10b981, #059669);
}

.free-badge-text {
    background: #ecfdf5;
    color: #059669;
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.rosila-drawer-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 18px 22px;
    display: flex;
    flex-direction: column;
}

/* Mini Cart Wrapper */
.afeem-mini-cart-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.afeem-mini-cart-items-list {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.afeem-mini-cart-item {
    display: flex;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #f1f5f9;
    position: relative;
    transition: all 0.25s ease;
}

.afeem-item-thumb-box {
    width: 68px;
    height: 68px;
    border-radius: 10px;
    border: 1px solid #e8e6e1;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    text-decoration: none;
}

.afeem-item-thumb-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
    display: block;
}

.afeem-item-details {
    flex: 1;
    min-width: 0;
    padding-right: 20px;
}

.afeem-item-brand {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #94a3b8;
    text-transform: uppercase;
    margin-bottom: 2px;
    display: block;
}

.afeem-item-title {
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
    margin: 0 0 6px 0;
    line-height: 1.35;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.afeem-item-title a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.afeem-item-title a:hover {
    color: #c59b27;
}

.afeem-item-meta-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.afeem-item-size-badge {
    font-size: 9.5px;
    font-weight: 700;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 2px 6px;
    border-radius: 4px;
    color: #334155;
    letter-spacing: 0.3px;
}

.afeem-item-unit-price {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
}

.afeem-item-controls-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.afeem-qty-stepper {
    display: inline-flex;
    align-items: center;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #ffffff;
    overflow: hidden;
}

.afeem-qty-btn {
    width: 24px;
    height: 24px;
    border: none;
    background: #ffffff;
    color: #0f172a;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    padding: 0;
}

.afeem-qty-btn:hover {
    background: #f1f5f9;
}

.afeem-qty-num {
    padding: 0 8px;
    font-size: 12px;
    font-weight: 700;
    color: #0f172a;
    min-width: 18px;
    text-align: center;
}

.afeem-item-subtotal {
    font-size: 13.5px;
    font-weight: 700;
    color: #0f172a;
}

.afeem-item-remove-btn {
    position: absolute;
    top: 14px;
    right: 0;
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.afeem-item-remove-btn:hover {
    color: #e11d48;
}

/* Applied Coupons Section */
.afeem-applied-coupons-box {
    margin: 12px 0 10px 0;
    padding: 10px 12px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
}

.applied-title {
    font-size: 10.5px;
    font-weight: 700;
    color: #166534;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    display: block;
}

.applied-pills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.afeem-coupon-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 9px;
    background: #ffffff;
    border: 1px solid #86efac;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    color: #15803d;
}

.afeem-remove-coupon-btn {
    background: none;
    border: none;
    color: #15803d;
    font-size: 15px;
    cursor: pointer;
    font-weight: bold;
    padding: 0;
    line-height: 1;
}

.afeem-remove-coupon-btn:hover {
    color: #b91c1c;
}

/* Coupon Accordion (Master Prompt Spec) */
.cart-coupon-container {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    margin: 14px 0 16px 0;
}

.cart-coupon-header {
    padding: 10px 14px;
    background: #f8fafc;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #0f172a;
    user-select: none;
    transition: background 0.2s ease;
}

.cart-coupon-header:hover {
    background: #f1f5f9;
}

.coupon-toggle-arrow {
    font-size: 9px;
    color: #64748b;
    transition: transform 0.25s ease;
}

.cart-coupon-body {
    padding: 12px;
    border-top: 1px solid #f1f5f9;
    background: #ffffff;
}

.coupon-input-group {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.coupon-input-group input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    outline: none;
    transition: border-color 0.2s ease;
}

.coupon-input-group input:focus {
    border-color: #0f172a;
}

.coupon-input-group button {
    background: #0f172a;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: background 0.2s ease;
}

.coupon-input-group button:hover {
    background: #c59b27;
}

.coupon-dropdown-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.coupon-dropdown-group select {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    background: #fff;
    color: #334155;
    outline: none;
    cursor: pointer;
}

.coupon-dropdown-group button {
    width: 100%;
    background: #0f172a;
    color: #fff;
    border: none;
    padding: 9px 14px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: background 0.2s ease;
}

.coupon-dropdown-group button:hover {
    background: #c59b27;
}

/* Quick Coupon Offer Chips */
.coupon-quick-chips {
    margin-top: 10px;
    padding-top: 9px;
    border-top: 1px dashed #e2e8f0;
}

.coupon-quick-chips .chips-title {
    display: block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: #475569;
    margin-bottom: 7px;
    letter-spacing: 0.4px;
}

.coupon-quick-chips .chips-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.afeem-quick-coupon-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fbfbfd;
    border: 1px dashed #d4af37;
    border-radius: 6px;
    padding: 5px 9px;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    color: #0f172a;
    font-family: inherit;
    line-height: 1.2;
}

.afeem-quick-coupon-pill:hover:not(:disabled) {
    background: #fffdf5;
    border-color: #b38e1a;
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(212, 175, 55, 0.15);
}

.afeem-quick-coupon-pill .pill-code {
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #0f172a;
}

.afeem-quick-coupon-pill .pill-badge {
    background: #f1f5f9;
    color: #334155;
    font-size: 9.5px;
    font-weight: 700;
    padding: 2px 5px;
    border-radius: 4px;
    letter-spacing: 0.3px;
}

.afeem-quick-coupon-pill.applied {
    background: #ecfdf5;
    border: 1px solid #10b981;
    color: #065f46;
    cursor: default;
}

.afeem-quick-coupon-pill.applied .pill-code {
    color: #065f46;
}

.afeem-quick-coupon-pill.applied .pill-status {
    font-size: 9.5px;
    font-weight: 700;
    color: #059669;
}

.coupon-feedback-msg {
    margin-top: 8px;
    font-size: 11.5px;
    font-weight: 600;
    border-radius: 6px;
    padding: 7px 10px;
    display: none;
}

.coupon-feedback-msg.success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.coupon-feedback-msg.error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Order Totals Summary Box */
.afeem-cart-summary-box {
    padding: 14px;
    background: #fbfbfc;
    border-radius: 10px;
    border: 1px solid #f1f5f9;
    margin-bottom: 14px;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    font-size: 12.5px;
    color: #475569;
}

.summary-line .value {
    font-weight: 600;
    color: #0f172a;
}

.summary-line.discount-line .value.green-text {
    color: #059669;
    font-weight: 700;
}

.summary-line .delivery-val.free-tag {
    color: #059669;
    font-weight: 700;
}

.summary-line.grand-total-line {
    border-top: 1px dashed #cbd5e1;
    padding-top: 8px;
    margin-top: 8px;
    margin-bottom: 2px;
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
}

.taxes-note {
    font-size: 10px;
    color: #94a3b8;
    display: block;
    margin-top: 3px;
    text-align: right;
}

/* Cart CTAs */
.afeem-cart-actions-box {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.afeem-btn-checkout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px;
    background: #0f172a;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.afeem-btn-checkout:hover {
    background: #c59b27;
    color: #ffffff;
    transform: translateY(-1px);
}

.afeem-btn-view-cart {
    display: block;
    width: 100%;
    text-align: center;
    padding: 10px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #475569;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.afeem-btn-view-cart:hover {
    border-color: #0f172a;
    color: #0f172a;
    background: #f8fafc;
}

/* Cart Trust Badges */
.afeem-cart-trust-badges {
    display: flex;
    justify-content: space-between;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
    font-size: 10.5px;
    color: #64748b;
    font-weight: 600;
}

.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Empty Cart State */
.afeem-empty-cart-stage {
    text-align: center;
    padding: 60px 20px;
}

.empty-icon-wrap {
    margin-bottom: 16px;
    display: inline-block;
}

.empty-title {
    font-family: var(--font-heading, 'Cormorant Garamond', Georgia, serif);
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.empty-desc {
    color: #64748b;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 24px;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
}

.empty-shop-btn {
    display: inline-block;
    padding: 12px 28px;
    background: #0f172a;
    color: #ffffff;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.empty-shop-btn:hover {
    background: #c59b27;
    color: #ffffff;
}

/* Floating Luxury Toast */
.afeem-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 100000;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 12.5px;
    font-weight: 600;
    color: #ffffff;
    background: #0f172a;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.afeem-toast.show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.afeem-toast.toast-success {
    border-left: 4px solid #10b981;
}

.afeem-toast.toast-error {
    border-left: 4px solid #ef4444;
}

/* My Account Coupons Grid */
.afeem-account-coupons-section {
    padding: 10px 0;
}

.afeem-account-coupons-header {
    margin-bottom: 24px;
}

.afeem-account-coupons-header h3 {
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
}

.afeem-account-coupons-header p {
    color: #64748b;
    font-size: 14px;
}

.afeem-account-coupons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 20px;
}

.afeem-coupon-card {
    background: #ffffff;
    border: 1.5px dashed #cbd5e1;
    border-radius: 12px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.afeem-coupon-card:hover {
    border-color: #c59b27;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.coupon-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.coupon-card-badge {
    background: #0f172a;
    color: #c59b27;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.coupon-card-min {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
}

.coupon-card-title {
    font-size: 13.5px;
    font-weight: 600;
    color: #0f172a;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.coupon-card-code-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px 12px;
    margin-bottom: 12px;
}

.coupon-code-text {
    font-family: monospace;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #0f172a;
}

.coupon-copy-btn {
    background: #0f172a;
    color: #ffffff;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 10.5px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease;
}

.coupon-copy-btn:hover {
    background: #c59b27;
}

.coupon-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    border-top: 1px solid #f1f5f9;
}

.coupon-expiry {
    font-size: 10.5px;
    color: #94a3b8;
}

.coupon-apply-quick-btn {
    background: none;
    border: none;
    color: #0f172a;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: color 0.2s ease;
}

.coupon-apply-quick-btn:hover {
    color: #c59b27;
}

/* Single Product Page Styling */
.rosila-single-product {
    padding: 50px 0;
}

.rosila-product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.rosila-gallery {
    position: relative;
}

.rosila-main-image {
    background: #f8f9fa;
    border-radius: var(--rosila-radius);
    overflow: hidden;
    margin-bottom: 15px;
}

.rosila-main-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.rosila-product-summary h1 {
    font-size: 36px;
    margin-bottom: 12px;
}

.rosila-single-price {
    font-size: 26px;
    font-weight: 700;
    color: var(--rosila-accent);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.rosila-single-price del {
    color: #999;
    font-size: 20px;
    font-weight: 400;
}

.rosila-product-description {
    font-size: 15px;
    color: var(--rosila-text-muted);
    margin-bottom: 25px;
    line-height: 1.7;
}

.rosila-single-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.rosila-quantity {
    display: flex;
    align-items: center;
    border: 1px solid var(--rosila-border);
    border-radius: 4px;
    overflow: hidden;
}

.rosila-quantity button {
    background: #f5f5f5;
    border: none;
    width: 40px;
    height: 48px;
    font-size: 16px;
    cursor: pointer;
}

.rosila-quantity input {
    width: 50px;
    height: 48px;
    border: none;
    text-align: center;
    font-weight: 600;
}

/* Footer */
.rosila-footer {
    background-color: var(--rosila-primary);
    color: #a0aec0;
    padding: 70px 0 30px;
    font-size: 14px;
}

.rosila-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 50px;
}

.rosila-footer-col h4 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 20px;
}

.rosila-footer-col ul li {
    margin-bottom: 10px;
}

.rosila-footer-col ul li a {
    color: #cbd5e1;
}

.rosila-footer-col ul li a:hover {
    color: var(--rosila-gold);
    padding-left: 5px;
}

.rosila-copyright-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

/* Responsive Media Queries */
@media (max-width: 991px) {
    .rosila-nav { display: none; }
    .mobile-toggle { display: block; }
    .rosila-product-grid { grid-template-columns: repeat(2, 1fr); }
    .rosila-trust-grid { grid-template-columns: repeat(2, 1fr); }
    .rosila-notes-grid { grid-template-columns: 1fr; }
    .rosila-footer-grid { grid-template-columns: 1fr 1fr; }
    .rosila-product-layout { grid-template-columns: 1fr; gap: 30px; }
    .rosila-slide .rosila-container { justify-content: center; padding: 20px; text-align: center; }
    .rosila-hero-content { text-align: center; max-width: 100%; }
    .hero-notes-pills { justify-content: center; }
    .hero-heading { font-size: 36px; }
}

@media (max-width: 576px) {
    .rosila-topbar-left { display: none; }
    .rosila-product-grid { grid-template-columns: 1fr; }
    .rosila-trust-grid { grid-template-columns: 1fr; }
    .rosila-footer-grid { grid-template-columns: 1fr; }
    .rosila-copyright-bar { flex-direction: column; gap: 10px; text-align: center; }
    .hero-heading { font-size: 28px; }
    .hero-subheading { font-size: 15px; }
}

/* =========================================================
   WooCommerce Cart, Checkout, Account & Global Overrides
   ========================================================= */

.woocommerce #respond input#submit, 
.woocommerce a.button, 
.woocommerce button.button, 
.woocommerce input.button,
.woocommerce #respond input#submit.alt, 
.woocommerce a.button.alt, 
.woocommerce button.button.alt, 
.woocommerce input.button.alt {
    background-color: var(--rosila-accent) !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.2px !important;
    padding: 13px 25px !important;
    border-radius: 4px !important;
    border: none !important;
    transition: all 0.25s ease !important;
}

.woocommerce #respond input#submit:hover, 
.woocommerce a.button:hover, 
.woocommerce button.button:hover, 
.woocommerce input.button:hover,
.woocommerce #respond input#submit.alt:hover, 
.woocommerce a.button.alt:hover, 
.woocommerce button.button.alt:hover, 
.woocommerce input.button.alt:hover {
    background-color: var(--rosila-accent-hover) !important;
    color: #fff !important;
    box-shadow: 0 6px 18px rgba(0, 125, 113, 0.25) !important;
}

.woocommerce form .form-row input.input-text, 
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
    border: 1px solid var(--rosila-border);
    padding: 12px 15px;
    border-radius: 4px;
    font-size: 14px;
    width: 100%;
    transition: border-color 0.2s;
}

.woocommerce form .form-row input.input-text:focus, 
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
    border-color: var(--rosila-accent);
    outline: none;
}

.woocommerce-cart table.cart {
    border: 1px solid var(--rosila-border);
    border-radius: var(--rosila-radius);
    overflow: hidden;
    margin-bottom: 30px;
    width: 100%;
    border-collapse: collapse;
}

.woocommerce-cart table.cart th {
    background: #f7f9fa;
    color: var(--rosila-primary);
    font-weight: 600;
    padding: 15px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.woocommerce-cart table.cart td {
    padding: 18px 15px;
    border-top: 1px solid var(--rosila-border);
}

.woocommerce-cart .cart-collaterals {
    background: var(--rosila-bg-light);
    border: 1px solid var(--rosila-border);
    padding: 25px;
    border-radius: var(--rosila-radius);
}

.woocommerce-checkout #customer_details {
    margin-bottom: 30px;
}

#order_review_heading {
    font-size: 26px;
    margin-top: 30px;
    margin-bottom: 15px;
}

#order_review {
    border: 1px solid var(--rosila-border);
    border-radius: var(--rosila-radius);
    padding: 25px;
    background: #fff;
    box-shadow: var(--rosila-shadow);
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
    border: 1px solid var(--rosila-border);
    border-radius: var(--rosila-radius);
    overflow: hidden;
    margin-bottom: 25px;
}

.woocommerce-account .woocommerce-MyAccount-navigation li {
    border-bottom: 1px solid var(--rosila-border);
}

.woocommerce-account .woocommerce-MyAccount-navigation li:last-child {
    border-bottom: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation li a {
    display: block;
    padding: 14px 20px;
    font-weight: 500;
    color: var(--rosila-primary);
    transition: all 0.2s;
}

.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover {
    background: var(--rosila-accent);
    color: #fff;
}

.woocommerce-account .woocommerce-MyAccount-content {
    background: #fff;
    border: 1px solid var(--rosila-border);
    border-radius: var(--rosila-radius);
    padding: 30px;
    box-shadow: var(--rosila-shadow);
}

.rosila-drawer-body ul.cart_list li {
    padding: 15px 0;
    border-bottom: 1px solid var(--rosila-border);
    display: flex;
    align-items: center;
    gap: 12px;
}

.rosila-drawer-body ul.cart_list li img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}

.rosila-drawer-body p.woocommerce-mini-cart__buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.rosila-drawer-body p.woocommerce-mini-cart__buttons a {
    flex: 1;
    text-align: center;
}

/* =========================================================
   Custom Category Sections (Matching User Screenshots)
   ========================================================= */

/* Continuous Hardware-Accelerated Smooth Motion Animations */
@keyframes rosilaMistMarquee {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

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

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

@keyframes rosilaFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
}

/* --- SECTION 1: PARFUM MIST (Image 1 Style - Continuous 10 Products Ticker) --- */
.rosila-sec-mist {
    background-color: #535b64;
    padding: 65px 0 55px;
    position: relative;
    overflow: hidden;
}

.rosila-sec-mist .section-title h2,
.rosila-sec-mist .section-title .subtitle {
    color: #ffffff;
}

.rosila-sec-mist .section-title .subtitle {
    opacity: 0.8;
}

.rosila-ticker-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.rosila-ticker-container::before,
.rosila-ticker-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 70px;
    z-index: 3;
    pointer-events: none;
}

.rosila-sec-mist .rosila-ticker-container::before {
    left: 0;
    background: linear-gradient(to right, #535b64, rgba(83,91,100,0));
}

.rosila-sec-mist .rosila-ticker-container::after {
    right: 0;
    background: linear-gradient(to left, #535b64, rgba(83,91,100,0));
}

.rosila-mist-track {
    display: flex;
    gap: 22px;
    width: max-content;
    will-change: transform;
    animation: rosilaMistMarquee 40s linear infinite;
}

.rosila-mist-track:hover {
    animation-play-state: paused;
}

.rosila-mist-card {
    background: #ffffff;
    border-radius: 12px;
    width: 250px;
    flex-shrink: 0;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.18);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.rosila-mist-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 35px rgba(0,0,0,0.28);
}

.rosila-mist-thumb {
    position: relative;
    height: 240px;
    background: #ece7e1;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rosila-mist-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.rosila-mist-card:hover .rosila-mist-thumb img {
    transform: scale(1.06);
}

.rosila-mist-info {
    padding: 16px 14px;
    text-align: center;
    background: #fff;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.rosila-mist-title {
    font-size: 13.5px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
    line-height: 1.4;
}

.rosila-mist-price {
    font-size: 16px;
    font-weight: 700;
    color: #2563eb;
}

.rosila-mist-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 25px;
}

.rosila-mist-dots span {
    width: 18px;
    height: 4px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.4);
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s;
}

.rosila-mist-dots span.active {
    background: #6366f1;
    width: 30px;
}

/* --- SECTION 2: POCKET PARFUM (Image 2 Style - Smooth Moving Track) --- */
.rosila-sec-pocket {
    padding: 60px 0 70px;
    background: #ffffff;
    overflow: hidden;
}

.rosila-promo-banner {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 45px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.rosila-promo-banner img {
    width: 100%;
    height: auto;
    display: block;
}

.rosila-pocket-track-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 10px 0;
}

.rosila-pocket-track-container::before,
.rosila-pocket-track-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50px;
    z-index: 3;
    pointer-events: none;
}

.rosila-pocket-track-container::before {
    left: 0;
    background: linear-gradient(to right, #ffffff, rgba(255,255,255,0));
}

.rosila-pocket-track-container::after {
    right: 0;
    background: linear-gradient(to left, #ffffff, rgba(255,255,255,0));
}

.rosila-pocket-track {
    display: flex;
    gap: 25px;
    width: max-content;
    will-change: transform;
    animation: rosilaPocketMarquee 42s linear infinite;
}

.rosila-pocket-track:hover {
    animation-play-state: paused;
}

.rosila-pocket-card {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 20px 30px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    box-shadow: 0 3px 15px rgba(0,0,0,0.02);
    transition: all 0.3s ease;
    width: 440px;
    flex-shrink: 0;
}

.rosila-pocket-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 8px 25px rgba(0,0,0,0.07);
    transform: translateY(-3px);
}

.rosila-pocket-img {
    width: 140px;
    height: 140px;
    flex-shrink: 0;
    background: #f8fafc;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.rosila-pocket-img img {
    max-height: 90%;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s;
}

.rosila-pocket-card:hover .rosila-pocket-img img {
    transform: scale(1.05);
}

.rosila-pocket-content {
    flex-grow: 1;
}

.rosila-pocket-content h3 {
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #121417;
}

.rosila-pocket-stars {
    color: #f59e0b;
    font-size: 13px;
    margin-bottom: 8px;
}

.rosila-pocket-price {
    font-size: 20px;
    font-weight: 700;
    color: #121417;
    margin-bottom: 14px;
}

.rosila-pocket-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.rosila-btn-pocket-add {
    display: inline-block;
    background: #f1f5f9;
    color: #334155;
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    text-transform: capitalize;
    transition: all 0.2s;
    border: 1px solid #e2e8f0;
    cursor: pointer;
}

.rosila-btn-pocket-add:hover {
    background: #1e293b;
    color: #fff;
    border-color: #1e293b;
}

.rosila-badge-sold {
    font-size: 12.5px;
    color: #e11d48;
    font-weight: 500;
}

.rosila-tag-cat {
    font-size: 12px;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* --- SECTION 3: 3D PERSPECTIVE PARFUM CAROUSEL (Image 3 Style) --- */
.rosila-sec-3d {
    background-color: #636b73;
    padding: 70px 0 60px;
    overflow: hidden;
    position: relative;
}

.rosila-sec-3d .section-title h2,
.rosila-sec-3d .section-title .subtitle {
    color: #ffffff;
}

.rosila-sec-3d .section-title .subtitle {
    opacity: 0.8;
}

.rosila-3d-stage {
    perspective: 1200px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    padding: 30px 0 10px;
    user-select: none;
}

.rosila-3d-card {
    background: #ffffff;
    border-radius: 12px;
    width: 250px;
    flex-shrink: 0;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.5s ease, box-shadow 0.5s ease;
    text-align: center;
    cursor: pointer;
}

.rosila-3d-card.far-left {
    transform: rotateY(36deg) scale(0.72);
    opacity: 0.4;
    z-index: 1;
}

.rosila-3d-card.left {
    transform: rotateY(24deg) scale(0.88);
    opacity: 0.75;
    z-index: 2;
}

.rosila-3d-card.center {
    transform: rotateY(0deg) scale(1.08);
    opacity: 1;
    z-index: 10;
    box-shadow: 0 25px 50px rgba(0,0,0,0.45);
}

.rosila-3d-card.right {
    transform: rotateY(-24deg) scale(0.88);
    opacity: 0.75;
    z-index: 2;
}

.rosila-3d-card.far-right {
    transform: rotateY(-36deg) scale(0.72);
    opacity: 0.4;
    z-index: 1;
}

.rosila-3d-thumb {
    padding: 25px 20px;
    background: #fff;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rosila-3d-thumb img {
    max-height: 100%;
    width: auto;
    object-fit: contain;
}

.rosila-3d-strip {
    height: 4px;
    width: 100%;
    background: #f1f5f9;
    transition: background 0.3s;
}

.rosila-3d-card.center .rosila-3d-strip {
    background: #9fa8da;
}

.rosila-3d-info {
    padding: 16px 14px 20px;
    background: #ffffff;
}

.rosila-3d-title {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 6px;
}

.rosila-3d-price {
    font-size: 15px;
    font-weight: 700;
    color: #2563eb;
}

.rosila-3d-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.rosila-3d-dots span {
    width: 18px;
    height: 4px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.4);
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s;
}

.rosila-3d-dots span.active {
    background: #6366f1;
    width: 30px;
}

/* --- SECTION 4: LUXURY GIFT SETS --- */
.rosila-sec-giftset {
    padding: 80px 0;
    background: #fdfbf7;
    border-top: 1px solid var(--rosila-border);
}

.rosila-giftset-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.rosila-giftset-img {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    position: relative;
    background: #fff;
}

.rosila-giftset-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s;
}

.rosila-giftset-img:hover img {
    transform: scale(1.03);
}

.rosila-giftset-content h2 {
    font-size: 40px;
    margin-bottom: 16px;
    line-height: 1.25;
    color: var(--rosila-primary);
}

.rosila-giftset-content p {
    font-size: 16px;
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 25px;
}

.rosila-giftset-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 30px;
}

.giftset-feat {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
}

.giftset-feat i {
    color: var(--rosila-accent);
    font-size: 18px;
}

.giftset-pricing {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.giftset-pricing .current-price {
    font-size: 28px;
    font-weight: 700;
    color: var(--rosila-primary);
}

.giftset-pricing .original-price {
    font-size: 18px;
    color: #9ca3af;
    text-decoration: line-through;
}

.giftset-pricing .save-pill {
    background: #dcfce7;
    color: #15803d;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
}

/* Royal Oud Continuous Track */
.rosila-royal-track-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 15px 0 25px;
}

.rosila-royal-track-container::before,
.rosila-royal-track-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 60px;
    z-index: 3;
    pointer-events: none;
}

.rosila-royal-track-container::before {
    left: 0;
    background: linear-gradient(to right, var(--rosila-bg-light), rgba(247,249,250,0));
}

.rosila-royal-track-container::after {
    right: 0;
    background: linear-gradient(to left, var(--rosila-bg-light), rgba(247,249,250,0));
}

.rosila-royal-track {
    display: flex;
    gap: 25px;
    width: max-content;
    will-change: transform;
    animation: rosilaRoyalMarquee 36s linear infinite;
}

.rosila-royal-track:hover {
    animation-play-state: paused;
}

.rosila-royal-track .rosila-product-card {
    width: 280px;
    flex-shrink: 0;
}

/* --- SECTION 5: ALL CATEGORIES TABS (Image 4 Style) --- */
.rosila-sec-alltabs {
    padding: 75px 0 90px;
    background: #ffffff;
    border-top: 1px solid #f1f5f9;
}

.rosila-cat-tabs {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-bottom: 45px;
    flex-wrap: wrap;
}

.cat-tab-btn {
    background: #f1f5f9;
    border: none;
    color: #475569;
    font-size: 14px;
    font-weight: 600;
    padding: 11px 26px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.cat-tab-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.cat-tab-btn.active {
    background: #1e293b;
    color: #ffffff;
}

.rosila-tab-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.rosila-tab-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.rosila-tab-card:hover {
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
    border-color: #cbd5e1;
    transform: translateY(-4px);
}

.rosila-tab-thumb {
    padding: 30px 20px;
    background: #ffffff;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rosila-tab-thumb img {
    max-height: 100%;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.rosila-tab-card:hover .rosila-tab-thumb img {
    transform: scale(1.08);
}

.rosila-tab-body {
    padding: 16px 20px 20px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.rosila-tab-title {
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 6px;
}

.rosila-tab-price {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 16px;
}

.rosila-all-add-cart {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #3b49df;
    color: #ffffff !important;
    padding: 13px 20px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: background-color 0.2s ease, transform 0.2s ease;
    width: 100%;
    border: none;
    cursor: pointer;
}

.rosila-all-add-cart:hover {
    background-color: #2f3ab2;
    transform: translateY(-1px);
}

/* Responsive adjustments for custom sections */
@media (max-width: 1100px) {
    .rosila-mist-grid { grid-template-columns: repeat(3, 1fr); }
    .rosila-tab-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 991px) {
    .rosila-mist-grid { grid-template-columns: repeat(3, 1fr); }
    .rosila-tab-grid { grid-template-columns: repeat(2, 1fr); }
    .rosila-giftset-wrap { grid-template-columns: 1fr; }
    .rosila-pocket-row { flex-direction: column; text-align: center; }
    .rosila-pocket-actions { justify-content: center; }
    .rosila-3d-stage { overflow-x: auto; padding: 20px 10px; }
}

@media (max-width: 576px) {
    .rosila-mist-grid { grid-template-columns: 1fr 1fr; }
    .rosila-tab-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   FREE SHIPPING MILESTONE PROGRESS BAR
   ========================================================= */
.rosila-shipping-milestone {
    background: #f8fafc;
    padding: 14px 20px;
    border-bottom: 1px solid #e2e8f0;
}

.milestone-text {
    font-size: 12.5px;
    color: #334155;
    margin-bottom: 8px;
    line-height: 1.4;
}

.milestone-text strong {
    color: var(--rosila-accent);
}

.milestone-bar {
    width: 100%;
    height: 6px;
    background: #e2e8f0;
    border-radius: 6px;
    overflow: hidden;
}

.milestone-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--rosila-accent), #10b981);
    border-radius: 6px;
    transition: width 0.4s ease;
}

/* =========================================================
   REAL-TIME LIVE SEARCH OVERLAY
   ========================================================= */
.rosila-search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 9999;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding-top: 80px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.rosila-search-overlay.active {
    display: flex;
    opacity: 1;
}

.rosila-search-box {
    background: #ffffff;
    width: 90%;
    max-width: 680px;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: slideDownFade 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideDownFade {
    0% { transform: translateY(-20px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

.rosila-search-input-wrap {
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 15px;
}

.rosila-search-input-wrap .search-icon {
    font-size: 22px;
    color: #94a3b8;
    stroke: #94a3b8;
    flex-shrink: 0;
}

.rosila-search-input-wrap input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 18px;
    color: #0f172a;
    font-family: var(--font-body);
}

.rosila-search-close {
    background: none;
    border: none;
    font-size: 28px;
    color: #64748b;
    cursor: pointer;
    line-height: 1;
}

.rosila-search-results {
    max-height: 380px;
    overflow-y: auto;
    margin-top: 15px;
}

.rosila-search-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 10px;
    border-radius: 8px;
    transition: background 0.2s;
    text-decoration: none;
    color: inherit;
}

.rosila-search-item:hover {
    background: #f8fafc;
}

.rosila-search-item img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 6px;
    background: #f1f5f9;
}

.rosila-search-info h5 {
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 4px;
}

.rosila-search-info .search-cat {
    font-size: 11px;
    color: #64748b;
    text-transform: uppercase;
    display: block;
}

.rosila-search-info .search-price {
    font-size: 13px;
    font-weight: 700;
    color: var(--rosila-accent);
}

.rosila-search-popular {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}

.popular-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: #94a3b8;
    display: block;
    margin-bottom: 10px;
}

.popular-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.search-tag {
    background: #f1f5f9;
    color: #334155;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}

.search-tag:hover {
    background: #1e293b;
    color: #ffffff;
}

/* =========================================================
   SLIDE-OUT WISHLIST DRAWER
   ========================================================= */
.rosila-wishlist-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.rosila-wishlist-overlay.active {
    opacity: 1;
    visibility: visible;
}

.rosila-wishlist-drawer {
    position: fixed;
    top: 0;
    right: -460px;
    width: 440px;
    max-width: 95vw;
    height: 100%;
    background: #ffffff;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.18);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.rosila-wishlist-drawer.active {
    right: 0;
}

.rosila-wishlist-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 18px 22px;
}

/* Luxury Wishlist Card */
.afeem-wishlist-card,
.wishlist-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #f1f5f9;
    position: relative;
    transition: all 0.25s ease;
}

.afeem-wishlist-thumb {
    width: 68px;
    height: 68px;
    border-radius: 10px;
    border: 1px solid #e8e6e1;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    text-decoration: none;
}

.afeem-wishlist-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
    display: block;
}

.afeem-wishlist-details {
    flex: 1;
    min-width: 0;
}

.afeem-wishlist-brand {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #94a3b8;
    text-transform: uppercase;
    margin-bottom: 2px;
    display: block;
}

.afeem-wishlist-title {
    font-size: 13.5px;
    font-weight: 600;
    color: #0f172a;
    margin: 0 0 4px 0;
    line-height: 1.35;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.afeem-wishlist-title a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.afeem-wishlist-title a:hover {
    color: #c59b27;
}

.afeem-wishlist-price {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.afeem-wishlist-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-wishlist-movetobag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #0f172a;
    color: #ffffff;
    border: none;
    padding: 7px 14px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
}

.btn-wishlist-movetobag:hover {
    background: #c59b27;
    color: #ffffff;
}

.btn-wishlist-delete {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

.btn-wishlist-delete:hover {
    border-color: #e11d48;
    color: #e11d48;
    background: #fff1f2;
}

/* Empty Wishlist State */
.rosila-empty-wishlist {
    text-align: center;
    padding: 60px 20px;
}

.rosila-empty-wishlist .empty-icon-wrap {
    margin-bottom: 16px;
    display: inline-block;
}

.rosila-empty-wishlist h4 {
    font-family: var(--font-heading, 'Cormorant Garamond', Georgia, serif);
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.rosila-empty-wishlist p {
    color: #64748b;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 24px;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
}

/* Wishlist Toggle Button on Product Cards */
.btn-card-wishlist {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 6;
    padding: 0;
}

.btn-card-wishlist svg {
    display: block;
    transition: all 0.25s ease;
}

.btn-card-wishlist:hover {
    color: #e11d48;
    transform: scale(1.12);
    box-shadow: 0 6px 16px rgba(225, 29, 72, 0.22);
}

.btn-card-wishlist:hover svg {
    stroke: #e11d48;
}

.btn-card-wishlist.active {
    color: #e11d48;
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(225, 29, 72, 0.25);
}

.btn-card-wishlist.active svg {
    fill: #e11d48;
    stroke: #e11d48;
}

.btn-card-wishlist.active i::before {
    content: "\f004";
}

/* =========================================================
   FAST OTP LOGIN / AUTH MODAL
   ========================================================= */
.rosila-auth-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.rosila-auth-modal.active {
    display: flex;
    opacity: 1;
}

.rosila-auth-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(8px);
}

.rosila-auth-content {
    position: relative;
    background: #ffffff;
    width: 90%;
    max-width: 440px;
    border-radius: 20px;
    padding: 35px 30px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
    z-index: 2;
    text-align: center;
    animation: popUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes popUp {
    0% { transform: scale(0.92); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.rosila-auth-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 26px;
    color: #94a3b8;
    cursor: pointer;
}

.auth-header h4 {
    font-size: 22px;
    font-weight: 600;
    margin: 15px 0 6px;
    color: #0f172a;
}

.auth-header p {
    font-size: 13.5px;
    color: #64748b;
    margin-bottom: 25px;
}

.auth-input-group {
    display: flex;
    align-items: center;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 18px;
}

.country-prefix {
    padding: 12px 14px;
    background: #f8fafc;
    font-weight: 600;
    font-size: 14px;
    color: #475569;
    border-right: 1px solid #cbd5e1;
}

.auth-input-group input {
    flex-grow: 1;
    border: none;
    padding: 12px 14px;
    font-size: 15px;
    outline: none;
}

.auth-submit-btn {
    width: 100%;
    background: #1e293b;
    color: #ffffff;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.2s;
}

.auth-submit-btn:hover {
    background: var(--rosila-accent);
}

.auth-separator {
    position: relative;
    margin: 20px 0;
    text-align: center;
}

.auth-separator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: #e2e8f0;
}

.auth-separator span {
    position: relative;
    background: #fff;
    padding: 0 10px;
    font-size: 12px;
    color: #94a3b8;
    font-weight: 600;
}

.auth-email-btn {
    display: block;
    border: 1px solid #e2e8f0;
    padding: 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    text-decoration: none;
    transition: background 0.2s;
}

.auth-email-btn:hover {
    background: #f8fafc;
    color: #0f172a;
}

/* 2-Step OTP Modal Enhancements */
.auth-status-msg {
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
    text-align: center;
}

.auth-status-msg.is-error {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.auth-status-msg.is-success {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.auth-phone-target-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8fafc;
    padding: 10px 14px;
    border-radius: 8px;
    margin-bottom: 18px;
    font-size: 13.5px;
    color: #334155;
    border: 1px solid #e2e8f0;
}

.auth-edit-link {
    background: none;
    border: none;
    color: #007D71;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
}

.auth-input-group.otp-group input.auth-otp-input {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 8px;
    padding: 14px;
    color: #0f172a;
}

.auth-timer-row {
    margin-top: 16px;
    font-size: 13px;
    color: #64748b;
    text-align: center;
}

.auth-resend-link {
    background: none;
    border: none;
    color: #007D71;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
}

/* =========================================================
   SHOPPABLE VIDEO REELS SECTION
   ========================================================= */
.rosila-reels-section {
    padding: 70px 0 80px;
    background: #0f172a;
    color: #ffffff;
    overflow: hidden;
}

.rosila-reels-section .section-title h2 {
    color: #ffffff;
}

.rosila-reels-section .section-title .subtitle {
    color: var(--rosila-accent);
}

.rosila-reels-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 35px;
}

.rosila-reel-card {
    position: relative;
    aspect-ratio: 9 / 16;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.rosila-reel-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

.rosila-reel-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.rosila-reel-badge-play {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(6px);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 14px;
}

.rosila-reel-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px 18px 18px;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.rosila-reel-title {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
    line-height: 1.35;
}

.rosila-reel-product-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 30px;
    padding: 6px 12px;
    color: #0f172a;
    font-size: 12px;
    font-weight: 600;
}

.rosila-reel-product-pill img {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    object-fit: cover;
}

.rosila-reel-product-pill .reel-price {
    color: var(--rosila-accent);
    font-weight: 700;
    margin-left: auto;
}

/* Reel Modal */
.rosila-reel-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(12px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

.rosila-reel-modal.active {
    display: flex;
}

.rosila-reel-modal-content {
    position: relative;
    width: 360px;
    max-width: 90vw;
    height: 640px;
    max-height: 90vh;
    border-radius: 20px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 25px 60px rgba(0,0,0,0.8);
}

.rosila-reel-modal video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rosila-reel-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.6);
    border: none;
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
}

.rosila-reel-modal-buybar {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 10;
}

.modal-buybar-info h6 {
    margin: 0 0 3px;
    font-size: 13.5px;
    color: #0f172a;
    font-weight: 700;
}

.modal-buybar-info span {
    font-size: 13px;
    color: var(--rosila-accent);
    font-weight: 700;
}

.modal-buybar-btn {
    background: #0f172a;
    color: #ffffff;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

.modal-buybar-btn:hover {
    background: var(--rosila-accent);
}

/* =========================================================
   50ML / 100ML VARIANT SELECTOR TABS
   ========================================================= */
.rosila-variant-pills {
    display: inline-flex;
    gap: 8px;
    margin: 12px 0;
}

.variant-pill-btn {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #475569;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.variant-pill-btn.active {
    background: #1e293b;
    border-color: #1e293b;
    color: #ffffff;
}

@media (max-width: 991px) {
    .rosila-reels-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
    .rosila-reels-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   FRICTIONLESS LUXURY CHECKOUT STYLING
   ========================================================= */
.rosila-checkout-wrapper {
    max-width: 1200px;
    margin: 40px auto 80px;
    padding: 0 20px;
}

.rosila-checkout-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 40px;
    align-items: flex-start;
}

.rosila-checkout-fields-card,
.rosila-checkout-summary-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.rosila-checkout-summary-card {
    position: sticky;
    top: 90px;
}

.rosila-checkout-fields-card .form-row {
    margin-bottom: 18px;
}

.rosila-checkout-fields-card label {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
    display: block;
}

.rosila-checkout-fields-card input.input-text,
.rosila-checkout-fields-card select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.rosila-checkout-fields-card input.input-text:focus,
.rosila-checkout-fields-card select:focus {
    border-color: var(--rosila-accent);
}

.woocommerce-checkout-review-order-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 25px;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 14px;
}

.woocommerce-checkout-review-order-table th {
    color: #64748b;
    font-weight: 600;
}

.woocommerce-checkout-review-order-table td {
    color: #0f172a;
}

.woocommerce-checkout-review-order-table .order-total th,
.woocommerce-checkout-review-order-table .order-total td {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    border-top: 2px solid #e2e8f0;
    border-bottom: none;
    padding-top: 15px;
}

#payment {
    background: #f8fafc;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #e2e8f0;
}

#payment ul.payment_methods {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

#payment ul.payment_methods li {
    padding: 10px 0;
    border-bottom: 1px solid #e2e8f0;
    font-size: 14px;
    font-weight: 600;
}

#payment button#place_order {
    width: 100%;
    background: #0f172a;
    color: #ffffff;
    border: none;
    padding: 16px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.25s ease;
}

#payment button#place_order:hover {
    background: var(--rosila-accent);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 125, 113, 0.3);
}

@media (max-width: 991px) {
    .rosila-checkout-grid {
        grid-template-columns: 1fr;
    }
    .rosila-checkout-summary-card {
        position: static;
    }
}

/* =========================================================
   ROSILA FALLBACK MENU & HEADER SPACING
   ========================================================= */
.rosila-nav .fallback-menu {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 28px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.rosila-nav .fallback-menu li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: inline-block !important;
    position: relative !important;
}

.rosila-nav .fallback-menu li a {
    font-size: 12px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    color: #1e293b !important;
    text-decoration: none !important;
    transition: color 0.25s ease !important;
    padding: 6px 0 !important;
    display: inline-block !important;
    position: relative !important;
}

.rosila-nav .fallback-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #c59b27, #007D71);
    border-radius: 2px;
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.rosila-nav .fallback-menu li a:hover {
    color: #007D71 !important;
}

.rosila-nav .fallback-menu li a:hover::after {
    width: 100%;
}

/* =========================================================
   LUXURY MOBILE NAVIGATION DRAWER
   ========================================================= */
.rosila-mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 99998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.rosila-mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

.rosila-mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    background: #ffffff;
    z-index: 99999;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 10px 0 35px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.rosila-mobile-drawer.active {
    transform: translateX(0);
}

.rosila-mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid #f1f5f9;
    background: #fafaf9;
}

.rosila-mobile-drawer-header .mobile-logo-wrap img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.rosila-drawer-close {
    background: #f1f5f9;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #475569;
    transition: all 0.2s ease;
}

.rosila-drawer-close:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.rosila-mobile-drawer-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}

.rosila-mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.rosila-mobile-nav .mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    background: transparent;
}

.rosila-mobile-nav .mobile-nav-link:hover,
.rosila-mobile-nav .mobile-nav-link:active {
    background: #f8fafc;
    color: var(--rosila-accent, #007D71);
}

.rosila-mobile-nav .mobile-nav-link .badge {
    background: #e11d48;
    color: #fff;
    font-size: 11px;
    padding: 2px 7px;
    border-radius: 999px;
    font-weight: 700;
}

.rosila-mobile-footer-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}

.mobile-whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #25D366;
    color: #ffffff !important;
    text-decoration: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
}

.mobile-phone-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #0f172a;
    color: #ffffff !important;
    text-decoration: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
}

/* =========================================================
   COMPREHENSIVE MOBILE RESPONSIVENESS OVERRIDES
   ========================================================= */
@media (max-width: 991px) {
    .rosila-header-wrap {
        height: 70px;
    }

    .rosila-logo img,
    .rosila-logo-img {
        height: 42px;
        max-width: 170px;
    }

    .rosila-nav {
        display: none !important;
    }

    .rosila-actions .mobile-toggle {
        display: inline-flex !important;
    }

    /* PDP Hero Single Column */
    .afeem-hero-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    .afeem-gallery-wrap {
        flex-direction: column-reverse !important;
    }

    .afeem-thumb-strip {
        position: static !important;
        display: flex !important;
        flex-direction: row !important;
        overflow-x: auto !important;
        max-width: 100% !important;
        padding-bottom: 8px;
    }

    .afeem-col-purchase {
        padding: 0 4px;
    }

    .afeem-best-for-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .afeem-pdp-assurance-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    .afeem-notes-columns {
        flex-direction: column !important;
        gap: 20px !important;
    }

    .afeem-col-separator {
        display: none !important;
    }

    .afeem-badges-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    /* Sticky Bottom Bar on Mobile */
    .afeem-sticky-buy-bar {
        padding: 10px 16px !important;
    }

    .afeem-sticky-buy-bar .sticky-name {
        font-size: 13px !important;
    }

    .afeem-sticky-buy-bar .sticky-price {
        font-size: 15px !important;
    }

    .afeem-sticky-buy-bar .sticky-btn-add-bag {
        padding: 10px 16px !important;
        font-size: 12px !important;
    }
}

@media (max-width: 640px) {
    .rosila-topbar-center {
        font-size: 11px;
    }

    .rosila-topbar-left,
    .rosila-topbar-right {
        display: none;
    }

    .rosila-header-wrap {
        height: 62px;
        gap: 10px;
    }

    .rosila-logo img,
    .rosila-logo-img {
        height: 36px;
        max-width: 140px;
    }

    .rosila-actions {
        gap: 8px !important;
    }

    .rosila-action-btn {
        width: 36px !important;
        height: 36px !important;
    }

    .afeem-product-title {
        font-size: 22px !important;
    }

    .afeem-current-price {
        font-size: 24px !important;
    }

    .afeem-action-row-main {
        flex-direction: column !important;
        gap: 10px !important;
    }

    .afeem-qty-stepper {
        width: 100% !important;
        justify-content: center !important;
    }

    .afeem-btn-add-bag {
        width: 100% !important;
    }

    .afeem-best-for-grid {
        grid-template-columns: 1fr !important;
    }

    .afeem-pdp-assurance-grid {
        grid-template-columns: 1fr !important;
    }

    .afeem-tab-nav {
        flex-direction: column !important;
    }

    .afeem-tab-btn {
        width: 100% !important;
        text-align: center !important;
    }
}


