/* RayyanPerfumes - Modern Luxury Design System */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    /* Color Palette - Minimal Luxury */
    --accent: #F7D86B;
    /* Pale Goldenrod */
    --accent-dark: #D4AF37;
    --dark: #121212;
    --black: #000000;
    --white: #FFFFFF;
    --gray-bg: #F9F9FB;
    /* Clean light background */
    --gray-light: #F5F5F7;
    --text-dark: #1D1D1F;
    --text-light: #555555;
    --deep: #1a1a1a;
    --sh-sm: 0 4px 10px rgba(0, 0, 0, 0.03);
    --sh-lg: 0 15px 40px rgba(0, 0, 0, 0.08);
    /* Softer Lux Shadows */
    --tr: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* Fonts */
    --font-h: 'Montserrat', sans-serif;
    --font-b: 'Poppins', sans-serif;
}

/* Toast Notifications */
.rayyan-toast-container {
    position: fixed;
    /* place to appear below the fixed header so it doesn't overlap nav icons */
    top: 90px;
    right: 24px;
    left: auto;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.rayyan-toast {
    background: var(--black);
    color: var(--white);
    padding: 15px 25px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: auto;
}

/* Responsive: keep toasts below header on small screens and inset from edges */
@media (max-width: 768px) {
    .rayyan-toast-container {
        top: 70px;
        right: 12px;
        left: 12px;
        align-items: center;
    }

    .rayyan-toast {
        width: 100%;
        max-width: 520px;
        box-sizing: border-box;
    }
}

.rayyan-toast.show {
    transform: translateX(0);
    opacity: 1;
}

.rayyan-toast i {
    color: var(--accent);
    font-size: 1.1rem;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-b);
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.8;
    font-weight: 300;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-h);
    font-weight: 300;
    /* Light weight as requested */
    color: var(--black);
    text-transform: uppercase;
    letter-spacing: 5px;
    /* More spaced out for elegance */
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--tr);
}

ul {
    list-style: none;
}

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

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Sections */
.section {
    padding: 100px 0;
}

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

.section-title h2 {
    font-size: 2.2rem;
    position: relative;
    padding-bottom: 25px;
    font-weight: 300;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent);
}

/* Buttons */
.btn-lux {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2.5rem;
    font-family: var(--font-h);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--tr);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border-radius: 50px;
}

.btn-accent {
    background: var(--accent);
    color: var(--black);
}

.btn-accent:hover {
    background: var(--black);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--sh-lg);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--black);
    color: var(--black);
}

.btn-outline:hover {
    background: var(--black);
    color: var(--white);
    transform: translateY(-3px);
}

/* Navbar */
.header-st {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 25px 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
}

.header-st.scrolled {
    padding: 10px 0 !important;
    background: rgba(255, 255, 255, 0.95) !important;
    /* Premium Glassy White */
    backdrop-filter: blur(25px) !important;
    -webkit-backdrop-filter: blur(25px) !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03) !important;
}

.header-st.scrolled .nav-logo,
.header-st.scrolled .nav-actions a,
.header-st.scrolled .menu-trigger,
.header-st.scrolled .nav-links a,
.header-st.inner-header:not(.scrolled) .nav-logo,
.header-st.inner-header:not(.scrolled) .nav-actions a,
.header-st.inner-header:not(.scrolled) .menu-trigger,
.header-st.inner-header:not(.scrolled) .nav-links a {
    color: var(--black) !important;
}

/* Logo Logic */
.nav-logo img {
    height: 60px;
    width: auto;
    transition: 0.3s;
}

.logo-dark {
    display: none;
}

.header-st.scrolled .logo-light {
    display: none !important;
}

.header-st.scrolled .logo-dark {
    display: block !important;
}

.header-st.inner-header:not(.scrolled) .logo-light {
    display: none !important;
}

.header-st.inner-header:not(.scrolled) .logo-dark {
    display: block !important;
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.menu-trigger {
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--white);
    transition: var(--tr);
}

.nav-logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--black);
    letter-spacing: 5px;
}

.nav-links {
    display: flex;
    gap: 40px;
    justify-content: center;
}

.nav-links a {
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    padding: 10px 0;
    color: var(--white);
    font-family: var(--font-h);
}

/* Dropdown Styles */
.shop-hover-group {
    position: relative;
    padding: 10px 0;
}

.shop-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    padding: 15px 0;
    box-shadow: var(--sh-lg);
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transition: var(--tr);
    transform: translateY(10px);
    z-index: 100;
}

.shop-hover-group:hover .shop-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.shop-dropdown a {
    display: block !important;
    padding: 12px 25px !important;
    color: var(--text-dark) !important;
    font-size: 0.8rem !important;
    text-transform: none !important;
    font-family: var(--font-h) !important;
    font-weight: 400 !important;
    letter-spacing: 1px !important;
    border-bottom: 1px solid #f5f5f5;
}

.shop-dropdown a:last-child {
    border-bottom: none;
}

.shop-dropdown a:hover {
    background: #fcfcfc;
    color: var(--accent-dark) !important;
    padding-left: 30px !important;
}

.nav-actions {
    display: flex;
    gap: 25px;
    font-size: 1.2rem;
    justify-content: flex-end;
}

.nav-actions a {
    color: var(--white);
}

/* Nav Drawer */
.nav-drawer {
    position: fixed;
    top: 0;
    left: -320px;
    width: 320px;
    height: 100vh;
    background: var(--white);
    z-index: 2000;
    transition: var(--tr);
    padding: 40px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--sh-lg);
}

.nav-drawer.active {
    left: 0;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
}

.drawer-title {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.drawer-close {
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

.drawer-menu {
    list-style: none;
    padding: 0;
}

.drawer-menu li {
    margin-bottom: 30px;
}

.drawer-menu a {
    font-size: 1.1rem;
    font-weight: 500;
    transition: 0.3s;
}

.drawer-menu a:hover {
    color: var(--accent);
    padding-left: 10px;
}

.drawer-footer {
    margin-top: auto;
    border-top: 1px solid #eee;
    padding-top: 30px;
}

.drawer-footer p {
    font-size: 0.8rem;
    color: white;
    margin-bottom: 20px;
}

.drawer-footer a {
    color: white;
}

.drawer-footer a:hover {
    color: var(--accent);
}

/* Footer Styles */
footer,
.footer,
.site-footer {
    color: white !important;
}

footer p,
footer span,
footer a,
footer h1,
footer h2,
footer h3,
footer h4,
footer h5,
footer h6,
.footer p,
.footer span,
.footer a,
.footer h1,
.footer h2,
.footer h3,
.footer h4,
.footer h5,
.footer h6,
.site-footer p,
.site-footer span,
.site-footer a,
.site-footer h1,
.site-footer h2,
.site-footer h3,
.site-footer h4,
.site-footer h5,
.site-footer h6 {
    color: white !important;
}

.social-links {
    display: flex;
    gap: 20px;
    font-size: 1.2rem;
}

.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: var(--tr);
}

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

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    background: var(--black);
}

.hero-swiper {
    height: 100%;
    width: 100%;
}
.swiper-pagination-bullet {
    background: var(--white) !important;
    opacity: 0.5 !important;
    transition: 0.3s !important;
}

.swiper-pagination-bullet-active {
    background: var(--accent) !important;
    opacity: 1 !important;
    width: 30px !important;
    border-radius: 5px !important;
}

.hero-slide {
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-color: #1a1a1a;
    /* Luxury Gray Fallback */
    display: flex;
    align-items: flex-end;
    padding-bottom: 120px;
    position: relative;
}

.hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1,
.hero-content p,
.hero-content .hero-btns {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.swiper-slide-active .hero-content h1 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}

.swiper-slide-active .hero-content p {
    opacity: 0.8;
    transform: translateY(0);
    transition-delay: 0.7s;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 100%;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: 15px;
    color: white !important;
}

.hero-content p {
    font-family: 'Montserrat', sans-serif !important;
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin: 0 auto 40px;
    max-width: 800px;
    line-height: 1.8;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 0;
}

.swiper-slide-active .hero-content .hero-btns {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1s;
}

/* Infinite Ribbon */
.ribbon {
    background: var(--accent);
    padding: 15px 0;
    overflow: hidden;
    white-space: nowrap;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

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

.ribbon-item {
    display: inline-block;
    font-family: var(--font-h);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin: 0 40px;
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* --- Product Card (Sophisticated Luxury Style) --- */
.product-card {
    background: var(--white);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border-radius: 1px;
    /* Minimalist luxury edge */
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.pc-img-wrap {
    position: relative;
    padding-top: 115%;
    /* More compact aspect ratio for luxury look */
    background: #fdfdfd;
    overflow: hidden;
}

.pc-img-wrap img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 1.2s ease;
}

.pc-img-wrap .img-secondary {
    opacity: 0;
}

.product-card:hover .pc-img-wrap img {
    transform: scale(1.05);
}

.product-card:hover .pc-img-wrap .img-primary {
    opacity: 0;
}

.product-card:hover .pc-img-wrap .img-secondary {
    opacity: 1;
}

.pc-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--black);
    color: var(--accent);
    padding: 6px 14px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1px;
    z-index: 5;
}

/* Hover Action Overlay - Bottom Slide-Up (Sleek & Luxury) */
.pc-action-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(100%);
    z-index: 20;
    height: 55px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.product-card:hover .pc-action-overlay {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.btn-p-lux {
    flex: 1;
    height: 100%;
    background: transparent;
    color: var(--black);
    border: none;
    font-size: 0.65rem;
    letter-spacing: 2px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    white-space: nowrap;
}

.btn-p-lux:hover {
    background: var(--black);
    color: var(--white);
}

/* Wishlist Overlay Button */
.btn-wishlist-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 1);
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
    color: var(--text-dark);
    z-index: 15;
    transform: scale(0.8);
    opacity: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.product-card:hover .btn-wishlist-overlay {
    transform: scale(1);
    opacity: 1;
}

.btn-wishlist-overlay.active {
    color: #ff4757;
}

.btn-wishlist-overlay:hover {
    transform: scale(1.1);
}

.btn-add-bag {
    border: none;
    color: inherit;
}

.btn-add-bag:hover {
    background: #000;
    color: #fff;
}

.btn-buy-now {
    background: var(--accent);
    color: var(--black);
}

.btn-buy-now:hover {
    background: #000;
    color: #fff;
}

/* Info Section */
.pc-info {
    padding: 15px 15px;
    text-align: left;
}

.pc-reviews {
    display: flex;
    gap: 4px;
    margin-bottom: 10px;
    color: var(--accent);
    font-size: 0.7rem;
}

.pc-cat {
    display: block;
    font-size: 0.65rem;
    color: var(--text-light);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
    font-weight: 500;
}

.pc-name {
    font-size: 1rem;
    font-weight: 300;
    color: var(--black);
    letter-spacing: 2px;
    margin-bottom: 12px;
    text-transform: uppercase;
    line-height: 1.4;
}

.pc-swatches {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
}

.pc-swatch {
    font-size: 0.6rem;
    padding: 5px 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: var(--text-light);
    border-radius: 4px;
    /* More modern than pills for luxury */
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pc-swatch:hover,
.pc-swatch.active {
    border-color: var(--black);
    color: var(--black);
    background: #fbfbfb;
}

.pc-price {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
}

.new-price {
    font-weight: 700;
    font-size: 1rem;
    color: var(--black);
}

.old-price {
    text-decoration: line-through;
    color: #d9534f; /* Premium Red */
    opacity: 0.8;
    font-size: 0.85rem;
}

.btn-p-bag {
    background: var(--black);
    color: white;
}

.btn-p-buy {
    background: var(--accent);
    color: var(--black);
}

.pc-cat {
    font-size: 0.7rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.pc-name {
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.pc-price {
    font-weight: 700;
    color: var(--accent);
    font-size: 1.2rem;
}

/* Custom Pack Section */
.pack-selection {
    background: var(--dark);
    color: var(--white);
}

.pack-selection h2 {
    color: var(--white);
}

.pack-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.pack-slot {
    aspect-ratio: 1/1;
    border: 2px dashed rgba(245, 203, 92, 0.3);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--tr);
    position: relative;
    overflow: hidden;
}

.pack-slot.active {
    border-style: solid;
    border-color: var(--accent);
}

/* Horizontal Scroll Categories */
.horizontal-scroll {
    display: flex;
    overflow-x: auto;
    gap: 30px;
    padding: 20px 0 40px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.horizontal-scroll::-webkit-scrollbar {
    display: none;
}

.scroll-item {
    flex: 0 0 350px;
}

/* Modal Styles */
.lux-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lux-modal.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    width: 100%;
    max-width: 900px;
    max-height: 80vh;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.modal-header {
    padding: 30px;
    border-bottom: 1px solid var(--gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-body {
    padding: 30px;
    overflow-y: auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.modal-close {
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
}

/* Responsive */
@media (max-width: 1024px) {
    .nav-wrap {
        grid-template-columns: 1fr 1fr;
    }

    .nav-links {
        display: none;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .container {
        padding: 0 1.5rem;
    }
}

/* Combo Card Refinement */
.combo-card {
    background: #faf8f3;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f0ede6;
    cursor: pointer;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.04);
}

.combo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--accent);
}

.combo-img {
    height: 360px;
    background: white;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.combo-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 10px;
}

.combo-card:hover .combo-img img {
    transform: scale(1.08);
}

.combo-body {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.combo-body h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--black);
    letter-spacing: 2px;
    margin: 0;
    text-transform: uppercase;
}

.combo-body > div:nth-child(2) {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.combo-body span {
    font-size: 0.65rem;
    color: #666;
    background: #f5f5f5;
    border: 1px solid #e8e8e8;
    padding: 6px 12px;
    border-radius: 6px;
    display: inline-block;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Combo Card Original/Old Price */
.combo-card .old-price,
.combo-body [style*="text-decoration: line-through"],
.combo-body del,
.combo-body s {
    color: #d9534f !important;
    opacity: 1 !important;
}

.combo-card .btn-lux.btn-accent {
    background: var(--accent) !important;
    color: var(--black) !important;
    border: none !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    margin-top: auto;
    font-weight: 700 !important;
    letter-spacing: 3px !important;
    padding: 14px 30px !important;
    border-radius: 8px !important;
    font-size: 0.8rem !important;
}

.combo-card .btn-lux.btn-accent:hover {
    background: var(--black) !important;
    color: var(--white) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15) !important;
}