/* THQB Ultra-Luxury UI CSS Overrides */
:root {
    --thqb-lime: #84cc5b;
    --thqb-lime-hover: #68af41;
    --thqb-slate: #0f172a;
    --thqb-slate-light: #1e293b;
    --thqb-cream: #f4fbf1;
    --thqb-mist: #fdfbf7;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* Base Overrides */
body {
    font-family: var(--font-body) !important;
    color: var(--thqb-slate) !important;
    background-color: var(--thqb-mist) !important;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .elementor-heading-title {
    font-family: var(--font-heading) !important;
    color: var(--thqb-slate) !important;
    letter-spacing: -0.03em !important;
    line-height: 1.1 !important;
}

/* --- MESH GRADIENT BACKGROUND --- */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at 15% 50%, rgba(132, 204, 91, 0.08), transparent 25%),
                radial-gradient(circle at 85% 30%, rgba(132, 204, 91, 0.05), transparent 25%);
    z-index: -1;
    pointer-events: none;
}

/* --- GLASSMORPHISM & BENTO GRIDS --- */
/* Target Elementor main structural columns to turn them into Bento boxes */
.elementor-section:not(.elementor-inner-section) > .elementor-container > .elementor-column > .elementor-widget-wrap {
    background: rgba(255, 255, 255, 0.6) !important;
    backdrop-filter: blur(24px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
    border-radius: 32px !important;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.03), inset 0 1px 0 rgba(255, 255, 255, 1) !important;
    padding: 40px !important;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.elementor-section:not(.elementor-inner-section) > .elementor-container > .elementor-column > .elementor-widget-wrap:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(132, 204, 91, 0.08), inset 0 1px 0 rgba(255, 255, 255, 1) !important;
}

/* Remove backgrounds from inner widgets so they blend with the glass */
.elementor-widget-wrap .elementor-widget {
    background: transparent !important;
}

/* --- LUXURY HEADER --- */
.ast-primary-header-bar, .elementor-location-header {
    background: rgba(253, 251, 247, 0.8) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.woocommerce ul.products li.product {
    background: #ffffff !important;
    border-radius: 24px !important;
    border: 1px solid rgba(132, 204, 91, 0.1) !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04) !important;
    overflow: hidden !important;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
    position: relative;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-10px) scale(1.02) !important;
    box-shadow: 0 30px 60px rgba(132, 204, 91, 0.15) !important;
    border-color: rgba(132, 204, 91, 0.3) !important;
}

.woocommerce ul.products li.product img {
    border-radius: 24px 24px 0 0 !important;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) !important;
    width: 100%;
    object-fit: cover;
}

.woocommerce ul.products li.product:hover img {
    transform: scale(1.08) !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-family: var(--font-heading) !important;
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    padding: 20px 20px 5px 20px !important;
    color: var(--thqb-slate) !important;
}

.woocommerce ul.products li.product .price {
    padding: 0 20px 20px 20px !important;
    color: var(--thqb-lime) !important;
    font-weight: 700 !important;
    font-size: 1.1rem !important;
}

/* Floating Add to Cart Button */
.woocommerce ul.products li.product .button {
    position: absolute !important;
    bottom: 20px !important;
    right: 20px !important;
    background: var(--thqb-slate) !important;
    color: #fff !important;
    border-radius: 50px !important;
    padding: 10px 20px !important;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    z-index: 10;
}

.woocommerce ul.products li.product:hover .button {
    opacity: 1;
    transform: translateY(0);
}

.woocommerce ul.products li.product .button:hover {
    background: var(--thqb-lime) !important;
    color: var(--thqb-slate) !important;
}

/* --- GLOBAL BUTTONS (PILL SHAPE, PREMIUM) --- */
.elementor-button, .ast-button, .button, .checkout-button {
    background: linear-gradient(135deg, var(--thqb-slate), var(--thqb-slate-light)) !important;
    color: var(--thqb-cream) !important;
    border-radius: 100px !important;
    font-family: var(--font-heading) !important;
    font-weight: 600 !important;
    text-transform: none !important;
    letter-spacing: 0.5px !important;
    padding: 16px 36px !important;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
    border: none !important;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.15) !important;
}

.elementor-button:hover, .ast-button:hover, .button:hover, .checkout-button:hover {
    background: linear-gradient(135deg, var(--thqb-lime), var(--thqb-lime-hover)) !important;
    color: var(--thqb-slate) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 15px 30px rgba(132, 204, 91, 0.3) !important;
}

/* --- CUSTOM PACKAGING UI (ULTRA PREMIUM) --- */
.thqb-packaging-wrapper {
    margin: 40px 0;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    padding: 30px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 1);
    box-shadow: 0 20px 40px rgba(0,0,0,0.03);
}

.thqb-packaging-title {
    font-size: 1.4rem;
    margin-bottom: 25px;
    font-weight: 700;
    text-align: center;
}

.thqb-packaging-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.thqb-package-option {
    cursor: pointer;
    position: relative;
    display: block;
}

.thqb-package-option input {
    position: absolute;
    opacity: 0;
}

.thqb-package-card {
    background: #fff;
    border: 2px solid rgba(15, 23, 42, 0.05);
    border-radius: 20px;
    padding: 25px 15px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    position: relative;
    overflow: hidden;
}

.thqb-package-option input:checked + .thqb-package-card {
    border-color: var(--thqb-lime);
    background: rgba(132, 204, 91, 0.03);
    box-shadow: 0 15px 30px rgba(132, 204, 91, 0.15);
    transform: translateY(-5px);
}

/* Subtle glow effect on selected card */
.thqb-package-option input:checked + .thqb-package-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(132, 204, 91, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.thqb-pkg-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    transition: transform 0.4s ease;
}

.thqb-package-option:hover .thqb-pkg-icon {
    transform: scale(1.15) rotate(5deg);
}

.thqb-pkg-info h4 {
    font-size: 1.1rem;
    margin: 0 0 5px 0;
    font-weight: 700;
}

.thqb-pkg-info p {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0 0 15px 0;
    line-height: 1.4;
}

.thqb-pkg-price {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--thqb-slate);
    background: rgba(15, 23, 42, 0.05);
    padding: 6px 12px;
    border-radius: 50px;
    display: inline-block;
}

.thqb-package-option input:checked + .thqb-package-card .thqb-pkg-price {
    background: var(--thqb-lime);
    color: #fff;
}

/* --- SCROLLBAR --- */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--thqb-mist);
}
::-webkit-scrollbar-thumb {
    background: rgba(15, 23, 42, 0.2);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--thqb-lime);
}

/* --- MICRO-ANIMATIONS JS CLASSES --- */
.thqb-reveal {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.thqb-reveal.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}
/* --- WIDGET CSS (NO TAILWIND NEEDED) --- */

/* Hero Widget */
.thqb-hero-container { position: relative; width: 100%; overflow: hidden; background-color: var(--thqb-mist); padding: 6rem 0; border-radius: 1.5rem; border: 1px solid rgba(255,255,255,0.4); box-shadow: 0 25px 50px -12px rgba(15,23,42,0.05); }
.thqb-hero-glow-1 { position: absolute; top: -10rem; right: -10rem; width: 600px; height: 600px; background-color: rgba(132, 204, 91, 0.2); border-radius: 9999px; filter: blur(100px); mix-blend-mode: multiply; z-index: 0; }
.thqb-hero-glow-2 { position: absolute; bottom: -10rem; left: -10rem; width: 600px; height: 600px; background-color: rgba(15, 23, 42, 0.1); border-radius: 9999px; filter: blur(100px); mix-blend-mode: multiply; z-index: 0; }
.thqb-hero-content { max-width: 80rem; margin: 0 auto; padding: 0 1.5rem; position: relative; z-index: 10; display: flex; flex-direction: column; gap: 4rem; align-items: center; }
@media (min-width: 1024px) { .thqb-hero-content { flex-direction: row; } }
.thqb-hero-text { max-width: 42rem; width: 100%; }
@media (min-width: 1024px) { .thqb-hero-text { width: 50%; } }
.thqb-hero-title { font-size: 3rem; font-weight: 700; color: var(--thqb-slate); margin-bottom: 1.5rem; line-height: 1.1; }
@media (min-width: 640px) { .thqb-hero-title { font-size: 4.5rem; } }
.thqb-hero-subtitle { font-size: 1.25rem; line-height: 2rem; color: rgba(30, 41, 59, 0.8); margin-bottom: 2.5rem; }
.thqb-hero-actions { display: flex; align-items: center; gap: 1.5rem; }
.thqb-btn-primary { background-color: var(--thqb-slate); color: #fff; padding: 1rem 2rem; border-radius: 9999px; font-weight: 600; box-shadow: 0 20px 25px -5px rgba(15,23,42,0.1), 0 8px 10px -6px rgba(15,23,42,0.1); transition: all 0.5s; text-decoration: none; }
.thqb-btn-primary:hover { background-color: var(--thqb-lime); color: var(--thqb-slate); transform: translateY(-4px); box-shadow: 0 20px 25px -5px rgba(132, 204, 91, 0.3); }
.thqb-btn-link { font-weight: 600; color: var(--thqb-slate); text-decoration: none; display: flex; align-items: center; gap: 0.5rem; transition: color 0.3s; }
.thqb-btn-link:hover { color: var(--thqb-lime); }
.thqb-hero-visual { width: 100%; position: relative; margin-top: 2.5rem; }
@media (min-width: 1024px) { .thqb-hero-visual { width: 50%; margin-top: 0; } }
.thqb-hero-visual-bg { position: absolute; inset: 0; background: linear-gradient(to top right, rgba(132, 204, 91, 0.3), transparent); border-radius: 2.5rem; transform: rotate(3deg) scale(1.05); filter: blur(20px); transition: transform 0.7s; }
.thqb-hero-visual:hover .thqb-hero-visual-bg { transform: rotate(6deg) scale(1.05); }
.thqb-hero-visual-glass { position: relative; background: rgba(255, 255, 255, 0.4); backdrop-filter: blur(40px); border: 1px solid rgba(255,255,255,0.6); padding: 1rem; border-radius: 2.5rem; box-shadow: 0 25px 50px -12px rgba(15,23,42,0.1); transition: transform 0.7s; }
.thqb-hero-visual:hover .thqb-hero-visual-glass { transform: translateY(-1rem); box-shadow: 0 25px 50px -12px rgba(132, 204, 91, 0.2); }
.thqb-hero-visual-glass img { width: 100%; height: 500px; object-fit: cover; border-radius: 2rem; display: block; }
.thqb-hero-badge { position: absolute; bottom: -1.5rem; left: -1.5rem; background: rgba(255, 255, 255, 0.8); backdrop-filter: blur(24px); border: 1px solid #fff; padding: 1.5rem; border-radius: 1.5rem; box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1); display: flex; align-items: center; gap: 1rem; animation: bounce 3s infinite; }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15%); } }
.thqb-hero-badge-icon { width: 3rem; height: 3rem; background: rgba(132, 204, 91, 0.2); border-radius: 9999px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }
.thqb-hero-badge-text .title { font-weight: 700; color: var(--thqb-slate); margin: 0; line-height: 1; }
.thqb-hero-badge-text .desc { font-size: 0.75rem; color: rgba(15,23,42,0.6); margin: 0; margin-top: 0.25rem; }

/* Bento Widget */
.thqb-bento-section { width: 100%; padding: 6rem 0; }
.thqb-bento-header { max-width: 80rem; margin: 0 auto; padding: 0 1.5rem; margin-bottom: 4rem; display: flex; justify-content: space-between; align-items: flex-end; }
.thqb-bento-title { font-size: 2.25rem; font-weight: 700; color: var(--thqb-slate); margin: 0; }
@media (min-width: 768px) { .thqb-bento-title { font-size: 3rem; } }
.thqb-bento-link { font-weight: 600; color: var(--thqb-lime); display: none; align-items: center; gap: 0.5rem; text-decoration: none; transition: color 0.3s; }
@media (min-width: 768px) { .thqb-bento-link { display: flex; } }
.thqb-bento-link:hover { color: var(--thqb-lime-hover); }
.thqb-bento-grid { max-width: 80rem; margin: 0 auto; padding: 0 1.5rem; display: grid; grid-template-columns: repeat(1, minmax(0, 1fr)); gap: 2rem; }
@media (min-width: 768px) { .thqb-bento-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .thqb-bento-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.thqb-bento-card { background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(24px); border: 1px solid #fff; border-radius: 2rem; padding: 1rem; box-shadow: 0 20px 25px -5px rgba(15,23,42,0.05); display: flex; flex-direction: column; transition: transform 0.7s, box-shadow 0.7s; }
.thqb-bento-card:hover { transform: translateY(-0.75rem); box-shadow: 0 25px 50px -12px rgba(132, 204, 91, 0.2); }
.thqb-bento-card.featured { grid-column: span 1; grid-row: span 1; }
@media (min-width: 768px) { .thqb-bento-card.featured { grid-column: span 2; grid-row: span 2; } }
.thqb-bento-image-wrap { position: relative; width: 100%; overflow: hidden; border-radius: 1.5rem; margin-bottom: 1.5rem; aspect-ratio: 1 / 1; }
.thqb-bento-card.featured .thqb-bento-image-wrap { aspect-ratio: 4 / 3; }
.thqb-bento-image-overlay { position: absolute; inset: 0; background: rgba(15, 23, 42, 0.05); mix-blend-mode: multiply; z-index: 10; transition: background-color 0.5s; }
.thqb-bento-card:hover .thqb-bento-image-overlay { background: transparent; }
.thqb-bento-image-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s; }
.thqb-bento-card:hover .thqb-bento-image-wrap img { transform: scale(1.1); }
.thqb-bento-add-to-cart { position: absolute; bottom: 1rem; right: 1rem; z-index: 20; opacity: 0; transform: translateY(1rem); transition: all 0.5s; }
.thqb-bento-card:hover .thqb-bento-add-to-cart { opacity: 1; transform: translateY(0); }
.thqb-bento-add-to-cart a { display: flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; background: var(--thqb-slate); color: #fff; border-radius: 9999px; text-decoration: none; font-size: 1.5rem; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); transition: background-color 0.3s; }
.thqb-bento-add-to-cart a:hover { background: var(--thqb-lime); color: var(--thqb-slate); }
.thqb-bento-info { margin-top: auto; padding: 0 0.5rem 0.5rem 0.5rem; }
.thqb-bento-info h3 { font-size: 1.25rem; font-weight: 600; color: var(--thqb-slate); margin: 0 0 0.5rem 0; line-height: 1.3; }
.thqb-bento-info h3 a { color: inherit; text-decoration: none; }
.thqb-bento-info h3 a::before { content: ''; position: absolute; inset: 0; z-index: 0; }
.thqb-bento-price { font-size: 1.125rem; font-weight: 700; color: var(--thqb-lime); }
