/* ============================================
   Vibe Beauty - Glass Morphism Design System
   ============================================ */

/* === CSS Custom Properties === */
:root {
    --vibe-bg-dark: #0b0f19;
    --vibe-gold: #d4af37;
    --vibe-gold-light: #e8d48b;
    --vibe-rose: #c9a6a0;
    --vibe-glass-bg: rgba(255, 255, 255, 0.03);
    --vibe-glass-border: rgba(255, 255, 255, 0.08);
    --vibe-glass-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
    --vibe-text-primary: #f1f3f5;
    --vibe-text-muted: rgba(255, 255, 255, 0.6);
    --vibe-blur: 24px;
    --vibe-radius: 24px;
    --vibe-transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* === Global Overrides === */
body,
#wrapwrap {
    font-family: 'Outfit', sans-serif !important;
    background-color: var(--vibe-bg-dark) !important;
    color: var(--vibe-text-primary) !important;
    overflow-x: hidden;
}

#wrapwrap main,
#wrapwrap #wrap {
    background-color: transparent !important;
}

/* Force Navbar and Footer to use Dark Glass */
#wrapwrap header,
#wrapwrap .navbar,
#wrapwrap footer {
    background-color: rgba(11, 15, 25, 0.8) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    color: #ffffff !important;
}

#wrapwrap .navbar-light .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
}

#wrapwrap .navbar-light .navbar-nav .nav-link:hover {
    color: var(--vibe-gold) !important;
}

/* === Typography === */
.vibe-title {
    font-weight: 700;
    letter-spacing: -0.01em;
    /* slightly tighter */
}

.text-gradient {
    background: linear-gradient(135deg, var(--vibe-gold) 0%, #fdfbfb 50%, var(--vibe-gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.vibe-text-muted {
    color: var(--vibe-text-muted);
}

.vibe-section-tag {
    color: var(--vibe-gold);
    letter-spacing: 0.15em;
}

/* === Glass Morphism === */
.glass-morphism {
    background: var(--vibe-glass-bg);
    backdrop-filter: blur(var(--vibe-blur));
    -webkit-backdrop-filter: blur(var(--vibe-blur));
    border: 1px solid var(--vibe-glass-border);
    box-shadow: var(--vibe-glass-shadow);
}

/* === Buttons === */
.vibe-btn-primary {
    background: linear-gradient(135deg, var(--vibe-gold) 0%, var(--vibe-gold-light) 100%);
    color: var(--vibe-bg-dark) !important;
    border: none;
    font-weight: 600;
    letter-spacing: 0.05em;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    text-shadow: none;
}

.vibe-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(212, 175, 55, 0.4);
    color: var(--vibe-bg-dark) !important;
}

.vibe-btn-outline {
    border: 1px solid rgba(212, 175, 55, 0.5) !important;
    color: var(--vibe-gold) !important;
    backdrop-filter: blur(5px);
    transition: var(--vibe-transition);
    text-decoration: none;
    background: transparent;
}

.vibe-btn-outline:hover {
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--vibe-gold) !important;
    transform: translateY(-2px);
    color: var(--vibe-gold-light) !important;
}

/* === Hero Section with Orbs === */
.vibe-hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background: radial-gradient(circle at 15% 50%, rgba(212, 175, 55, 0.08) 0%, transparent 50%);
}

.vibe-hero-title {
    font-size: clamp(3rem, 6vw, 5.5rem);
    line-height: 1.1;
}

.vibe-hero-desc {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: rgba(241, 243, 245, 0.8);
    font-weight: 300;
}

/* Animated Orbs */
.vibe-hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    opacity: 0.6;
    animation: float-orb 20s infinite ease-in-out alternate;
}

.vibe-hero-orb-1 {
    width: 400px;
    height: 400px;
    background: rgba(212, 175, 55, 0.15);
    top: -100px;
    left: -100px;
}

.vibe-hero-orb-2 {
    width: 500px;
    height: 500px;
    background: rgba(184, 134, 11, 0.1);
    bottom: -150px;
    right: -100px;
    animation-delay: -5s;
}

.vibe-hero-orb-3 {
    width: 300px;
    height: 300px;
    background: rgba(255, 248, 220, 0.05);
    top: 30%;
    left: 40%;
    animation-delay: -10s;
}

@keyframes float-orb {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(30px, -50px) scale(1.1);
    }

    100% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

/* Noise overlay for glass texture */
.vibe-hero-noise {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    opacity: 0.03;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Hero Floating Product */
.vibe-hero-product-float {
    position: relative;
    width: 100%;
    max-width: 450px;
    animation: float-vertical 6s infinite ease-in-out;
}

@keyframes float-vertical {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.vibe-hero-floating-img {
    width: 100%;
    height: auto;
    border-radius: var(--vibe-radius);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 5;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.vibe-hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, transparent 60%);
    z-index: 1;
    filter: blur(40px);
}

/* === Marquee === */
.vibe-marquee-strip {
    width: 100%;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem 0;
    position: relative;
    z-index: 10;
    backdrop-filter: blur(5px);
}

.vibe-marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 25s linear infinite;
    /* Removed gap to use precise padding instead */
}

.vibe-marquee-track span {
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--vibe-gold);
    white-space: nowrap;
    padding: 0 2rem;
    /* precise spacing for seamless loop */
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

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

/* === Category Tabs === */
.vibe-category-tabs {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    /* Stronger border */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.vibe-cat-tab {
    background: transparent;
    border: none;
    color: var(--vibe-text-muted);
    font-weight: 500;
    transition: var(--vibe-transition);
    cursor: pointer;
}

.vibe-cat-tab.active,
.vibe-cat-tab:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* === Product Grid Cards === */
.vibe-grid-item {
    transition: var(--vibe-transition);
}

.vibe-product-card {
    transition: var(--vibe-transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.08);
    /* Stronger border */
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
}

.vibe-product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(212, 175, 55, 0.15);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
}

.vibe-product-img-wrap {
    position: relative;
    padding-top: 100%;
    /* 1:1 Aspect Ratio */
    overflow: hidden;
    background: rgba(0, 0, 0, 0.2);
}

.vibe-product-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.vibe-product-cat {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--vibe-gold);
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 0.5rem;
}

.vibe-product-info h6 {
    color: #fff;
    font-size: 1.1rem;
}

.vibe-product-price {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
    font-size: 1.05rem;
}

/* === Ingredients Section === */
.vibe-ingredient-card {
    transition: var(--vibe-transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.vibe-ingredient-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.2);
}

/* === CTA Section === */
.vibe-cta-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.15) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

/* === Footer === */
.vibe-footer {
    border-top: 1px solid var(--vibe-glass-border);
    background: rgba(0, 0, 0, 0.4);
}

.vibe-footer-logo {
    max-height: 50px;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.3));
}

.vibe-footer-link {
    color: var(--vibe-text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.vibe-footer-link:hover {
    color: var(--vibe-gold);
    transform: translateX(4px);
}

.vibe-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* === Scroll Reveal Logic === */
.vibe-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.vibe-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* === eCommerce Dark Theme Overrides === */
.vibe-beauty-wrap,
.vibe-beauty-wrap #product_details,
.vibe-beauty-wrap form,
.vibe-beauty-wrap .oe_website_sale,
.vibe-beauty-wrap .js_product {
    background-color: transparent !important;
}

.vibe-beauty-wrap .text-dark,
.vibe-beauty-wrap .text-body,
.vibe-beauty-wrap .text-black,
.vibe-beauty-wrap .o_wsale_products_grid_table_wrapper,
.vibe-beauty-wrap .o_wsale_products_main_row {
    color: var(--vibe-text-primary) !important;
}

.vibe-beauty-wrap .text-muted {
    color: var(--vibe-text-muted) !important;
}

.vibe-beauty-wrap h1,
.vibe-beauty-wrap h2,
.vibe-beauty-wrap h3,
.vibe-beauty-wrap h4,
.vibe-beauty-wrap h5,
.vibe-beauty-wrap h6,
.vibe-beauty-wrap .nav-link,
.vibe-beauty-wrap .breadcrumb-item {
    color: #ffffff !important;
}

.vibe-beauty-wrap a {
    color: rgba(255, 255, 255, 0.9);
}

.vibe-beauty-wrap a:hover {
    color: var(--vibe-gold);
}

.vibe-beauty-wrap .breadcrumb-item.active,
.vibe-beauty-wrap .nav-link.active {
    color: var(--vibe-gold) !important;
}

/* Forms, Search and Inputs */
.vibe-beauty-wrap .form-control,
.vibe-beauty-wrap .form-select,
.vibe-beauty-wrap .btn-light,
.vibe-beauty-wrap .o_searchbar_form {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: var(--vibe-text-primary) !important;
    backdrop-filter: blur(5px);
}

.vibe-beauty-wrap .form-control:focus,
.vibe-beauty-wrap .form-select:focus {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-color: var(--vibe-gold) !important;
    box-shadow: 0 0 0 0.25rem rgba(212, 175, 55, 0.25) !important;
    color: var(--vibe-text-primary) !important;
}

.vibe-beauty-wrap .input-group-text,
.vibe-beauty-wrap .o_searchbar_form .btn {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: var(--vibe-text-primary) !important;
}

/* Pagination */
.vibe-beauty-wrap .page-link {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: var(--vibe-text-primary) !important;
}

.vibe-beauty-wrap .page-item.active .page-link,
.vibe-beauty-wrap .page-link:hover {
    background-color: var(--vibe-gold) !important;
    border-color: var(--vibe-gold) !important;
    color: var(--vibe-bg-dark) !important;
}

/* Dropdowns / Accordions / Lists */
.vibe-beauty-wrap .dropdown-menu {
    background-color: rgba(11, 15, 25, 0.95) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.vibe-beauty-wrap .dropdown-item {
    color: var(--vibe-text-primary) !important;
}

.vibe-beauty-wrap .dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

.vibe-beauty-wrap .accordion-item {
    background-color: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.vibe-beauty-wrap .accordion-button {
    background-color: rgba(255, 255, 255, 0.05) !important;
    color: var(--vibe-text-primary) !important;
}

.vibe-beauty-wrap .accordion-button:not(.collapsed) {
    background-color: rgba(255, 255, 255, 0.1) !important;
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.1) !important;
    color: var(--vibe-gold) !important;
}

.vibe-beauty-wrap .accordion-button::after {
    filter: invert(1) brightness(2);
}

.vibe-beauty-wrap .list-group-item {
    background-color: transparent !important;
    color: var(--vibe-text-primary) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.vibe-beauty-wrap .form-check-label {
    color: var(--vibe-text-primary) !important;
}

/* Specific eCommerce Detail View Fixes */
.vibe-beauty-wrap .oe_price,
.vibe-beauty-wrap .product_price,
.vibe-beauty-wrap span[data-oe-type="monetary"] {
    color: var(--vibe-text-primary) !important;
    font-weight: 600 !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 1);
}

.vibe-beauty-wrap .o_wsale_product_information_text,
.vibe-beauty-wrap .o_wsale_product_information_text *,
.vibe-beauty-wrap .o_shop_discussion_rating,
.vibe-beauty-wrap .o_shop_discussion_rating *,
.vibe-beauty-wrap p,
.vibe-beauty-wrap span,
.vibe-beauty-wrap .breadcrumb-item,
.vibe-beauty-wrap .breadcrumb-item a,
.vibe-beauty-wrap .breadcrumb-item span {
    color: var(--vibe-text-primary) !important;
}

.vibe-beauty-wrap .text-muted,
.vibe-beauty-wrap .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Cart & Checkout Dark Theme Overrides */
.o_wsale_cart_page,
.js_cart_summary,
.oe_website_sale .row,
.card {
    background-color: var(--vibe-bg-dark) !important;
    color: var(--vibe-text-primary) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.o_wsale_cart_page h1,
.o_wsale_cart_page h3,
.o_wsale_cart_page h4,
.o_wsale_cart_page h5,
.o_wsale_cart_page a,
.o_wsale_cart_page td,
.o_wsale_cart_page th,
.o_wsale_cart_page span,
.o_wsale_cart_page p,
.o_wsale_cart_page strong,
.o_wsale_cart_page b {
    color: var(--vibe-text-primary) !important;
}

.o_wsale_cart_page .text-muted {
    color: rgba(255, 255, 255, 0.6) !important;
}

.o_wsale_cart_page .card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%) !important;
    backdrop-filter: blur(var(--vibe-blur));
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}