/* 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: #86868B;
    --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;
    top: 20px;
    right: 20px;
    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;
}

.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;
}

.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: 12px 0 !important;
    background: rgba(255, 255, 255, 0.98) !important; /* Solid White Glassy */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !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: 40px; width: auto; transition: 0.3s; }
.logo-dark { display: none; }
.header-st.scrolled .logo-light { display: none; }
.header-st.scrolled .logo-dark { display: block; }
.header-st.inner-header:not(.scrolled) .logo-light { display: none; }
.header-st.inner-header:not(.scrolled) .logo-dark { display: block; }

.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: var(--text-light);
    margin-bottom: 20px;
}

.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-slider {
    height: 100%;
}

.hero-slide {
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 100%);
}

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

.hero-content h1 {
    font-size: 5rem;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    font-weight: 300;
    opacity: 0.9;
}

/* 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: 125%; /* 4:5 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 & Perfect Styling */
.pc-action-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(2px);
    z-index: 10;
}

.product-card:hover .pc-action-overlay {
    opacity: 1;
    visibility: visible;
}

.btn-p-lux {
    background: var(--white);
    color: var(--black);
    border: none;
    padding: 12px 25px;
    font-size: 0.75rem;
    letter-spacing: 2px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    width: 70%;
    transition: var(--tr);
    transform: translateY(20px);
}

.product-card:hover .btn-p-lux {
    transform: translateY(0);
}

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

/* 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 {
    background: #f8f8f8;
    color: var(--black);
}

.btn-add-bag:hover {
    background: #eee;
}

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

.btn-buy-now:hover {
    filter: brightness(0.95);
}

/* Info Section */
.pc-info {
    padding: 25px 20px;
    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;
    opacity: 0.3;
    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; }
}
