/* Luxora Frontend Styles */

:root {
    --luxora-font-serif: "Playfair Display", serif;
    --luxora-font-sans: "Inter", sans-serif;
    --luxora-color-primary: #1a1a1a;
    --luxora-color-secondary: #8c8c8c;
    --luxora-color-accent: #d4af37;
    --luxora-transition-slow: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Ensure box-sizing */
.luxora-inspiration-widget * {
    box-sizing: border-box;
}

.luxora-heading-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.luxora-heading {
    font-family: var(--luxora-font-serif);
    font-weight: 400;
    line-height: 1.2;
    margin: 0;
    color: var(--luxora-color-primary);
    position: relative;
    z-index: 1;
}

.luxora-subheading {
    font-family: var(--luxora-font-sans);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--luxora-color-secondary);
    margin-bottom: 1rem;
    display: block;
    position: relative;
    z-index: 1;
}

.luxora-heading-divider {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--luxora-color-accent);
    margin-top: 15px;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.luxora-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--luxora-font-serif);
    font-size: 15vw; /* Responsive default */
    font-weight: 700;
    color: rgba(0,0,0,0.03);
    white-space: nowrap;
    pointer-events: none;
    z-index: 0;
    line-height: 1;
    user-select: none;
}

/* Animations */
.luxora-anim-reveal .luxora-heading-text {
    display: block;
    transform: translateY(100%);
    opacity: 0;
    transition: transform var(--luxora-transition-slow), opacity var(--luxora-transition-slow);
}

.luxora-anim-reveal.is-in-view .luxora-heading-text {
    transform: translateY(0);
    opacity: 1;
}

.luxora-anim-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all var(--luxora-transition-slow);
}

.luxora-anim-fade-up.is-in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Editor Fix: Force visibility in Elementor Editor */
.elementor-editor-active .luxora-anim-reveal .luxora-heading-text,
.elementor-editor-active .luxora-anim-fade-up {
    opacity: 1 !important;
    transform: none !important;
}

/* Hotspot Widget */
.luxora-hotspot-wrapper {
    position: relative;
    display: inline-block; /* Changed from block to inline-block or ensure width matches image */
    width: 100%;
}

.luxora-hotspot-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.luxora-hotspot-point {
    position: absolute;
    transform: translate(-50%, -50%);
    z-index: 10;
    cursor: pointer;
}

.luxora-hotspot-marker {
    width: 20px;
    height: 20px;
    background-color: #fff;
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    animation: luxora-pulse 2s infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: z-index 0s;
    /* Remove redundant transform */
    /* transform: translate(-50%, -50%); Removed because point wrapper handles position */
}

/* Z-Index Fix: Ensure active hotspot is on top */
.luxora-hotspot-point:hover .luxora-hotspot-marker {
    z-index: 101;
}

.luxora-hotspot-marker::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background-color: var(--luxora-color-primary);
    border-radius: 50%;
    transition: all 0.3s ease;
}

/* Inner Content Styles */
.luxora-inner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    line-height: 1;
}

/* Hide ::after dot if inner content exists (except for default dot type which relies on it) */
.luxora-hotspot-marker:has(.luxora-inner-content)::after {
    display: none;
}

/* Fallback for older browsers if :has isn't supported, JS could toggle class, but typically ::after is behind content */

.luxora-hotspot-tooltip {
    position: absolute;
    bottom: 30px;
    left: 50%;
    /* Use CSS variable for X translation to allow JS override while keeping animation logic */
    --tooltip-translate-x: -50%;
    transform: translateX(var(--tooltip-translate-x)) translateY(10px);
    background: #fff;
    width: 280px; /* Wider for product card layout */
    padding: 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease;
    text-align: left;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    z-index: 102; /* Ensure tooltip is above everything */
}

.luxora-hotspot-point:hover .luxora-hotspot-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(var(--tooltip-translate-x)) translateY(0);
}

/* Responsive Tooltip */
@media (max-width: 768px) {
    .luxora-hotspot-tooltip {
        width: 240px;
        bottom: 40px;
    }
    
    /* Smart Positioning Adjustment for Mobile to prevent off-screen */
    /* This is a simple heuristic. For robust positioning, JS is better, but CSS helps. */
    .luxora-hotspot-point[style*="left: 0"], 
    .luxora-hotspot-point[style*="left: 1"],
    .luxora-hotspot-point[style*="left: 2"] {
        /* Left side hotspots */
    }
    
    /* Ensure image fits */
    .luxora-tooltip-image img {
        height: 140px;
    }
}

.luxora-tooltip-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.luxora-tooltip-content {
    padding: 15px;
}

.luxora-tooltip-title {
    margin: 0 0 5px;
    font-family: var(--luxora-font-serif);
    font-size: 1rem;
    line-height: 1.2;
}

.luxora-tooltip-title a {
    color: var(--luxora-color-primary);
    text-decoration: none;
    transition: color 0.2s;
}

.luxora-tooltip-title a:hover {
    color: var(--luxora-color-accent);
}

.luxora-tooltip-price {
    display: block;
    font-family: var(--luxora-font-sans);
    font-size: 0.9rem;
    color: var(--luxora-color-secondary);
    margin-bottom: 15px;
    font-weight: 500;
}

/* Stacked Price Style */
.luxora-tooltip-price.price-stacked del,
.luxora-tooltip-price.price-stacked ins {
    display: block;
    text-decoration: none; /* Reset standard ins underline if needed */
}

.luxora-tooltip-price.price-stacked del {
    font-size: 0.8em;
    opacity: 0.7;
    margin-bottom: 2px;
}

.luxora-tooltip-price.price-stacked ins {
    font-weight: 700;
}

.luxora-tooltip-actions {
    display: flex;
    gap: 10px;
}

.luxora-btn-add-cart,
.luxora-btn-view {
    flex: 1;
    text-align: center;
    padding: 8px 0;
    font-family: var(--luxora-font-sans);
    font-size: 0.8rem;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid var(--luxora-color-primary);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.luxora-btn-add-cart {
    background: var(--luxora-color-primary);
    color: #fff;
}

.luxora-btn-add-cart:hover {
    background: var(--luxora-color-accent);
    border-color: var(--luxora-color-accent);
}

.luxora-btn-view {
    background: transparent;
    color: var(--luxora-color-primary);
}

.luxora-btn-view:hover {
    background: #f5f5f5;
}

@keyframes luxora-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

/* Auth Modal */
.luxora-auth-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.luxora-auth-modal.active {
    opacity: 1;
    visibility: visible;
}

.luxora-auth-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.luxora-auth-container {
    position: relative;
    background: #fff;
    width: 100%;
    max-width: 450px;
    padding: 50px 40px;
    z-index: 10000;
    transform: translateY(30px);
    transition: all 0.4s ease;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.luxora-auth-modal.active .luxora-auth-container {
    transform: translateY(0);
}

.luxora-auth-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--luxora-color-secondary);
}

.luxora-auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.luxora-auth-header h3 {
    font-family: var(--luxora-font-serif);
    font-size: 2rem;
    margin: 0 0 10px;
    color: var(--luxora-color-primary);
}

.luxora-auth-header p {
    font-family: var(--luxora-font-sans);
    color: var(--luxora-color-secondary);
    margin: 0;
}

.luxora-form {
    display: none;
}

.luxora-form.active {
    display: block;
    animation: luxora-fade-in 0.5s ease;
}

.luxora-field-group {
    margin-bottom: 20px;
}

.luxora-field-group label {
    display: block;
    font-family: var(--luxora-font-sans);
    font-size: 0.85rem;
    margin-bottom: 8px;
    color: var(--luxora-color-primary);
}

.luxora-field-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    font-family: var(--luxora-font-sans);
    transition: border-color 0.3s ease;
}

.luxora-field-group input:focus {
    border-color: var(--luxora-color-primary);
    outline: none;
}

.luxora-submit-btn {
    width: 100%;
    padding: 15px;
    background: var(--luxora-color-primary);
    color: #fff;
    border: none;
    font-family: var(--luxora-font-sans);
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
}

.luxora-submit-btn:hover {
    background: var(--luxora-color-accent);
}

.luxora-form-footer {
    margin-top: 20px;
    text-align: center;
}

.luxora-switch-form {
    font-family: var(--luxora-font-sans);
    font-size: 0.9rem;
    color: var(--luxora-color-secondary);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.luxora-switch-form:hover {
    border-color: var(--luxora-color-secondary);
}

@keyframes luxora-fade-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Trigger Button Default */
.luxora-auth-trigger {
    padding: 12px 30px;
    background: transparent;
    border: 1px solid var(--luxora-color-primary);
    color: var(--luxora-color-primary);
    font-family: var(--luxora-font-sans);
    cursor: pointer;
    transition: all 0.3s ease;
}

.luxora-auth-trigger:hover {
    background: var(--luxora-color-primary);
    color: #fff;
}

/* Hero Section */
.luxora-hero {
    position: relative;
    width: 100%;
    /* Display flex removed here, handled by Swiper */
    background-color: #000; /* Fallback */
    overflow: hidden;
}

.luxora-hero-slider {
    width: 100%;
    height: 100vh; /* Default */
}

.luxora-hero-slide {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex; /* Allow content wrapper to fill */
}

.luxora-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    z-index: 1;
}

/* Content Wrapper for Flex Alignment */
.luxora-hero-content-wrapper {
    position: relative;
    z-index: 2;
    width: 90%;
    height: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    /* justify-content and align-items set by inline controls */
}

.luxora-hero-content {
    max-width: 600px; /* Or variable */
    padding: 20px;
    /* transform handled by inline controls */
}

.luxora-hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255,255,255,0.1);
    color: #fff;
    border-radius: 50px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.2);
    font-family: var(--luxora-font-sans);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

/* Reusing hero-title/desc/btn from before, but refined */
.luxora-hero-title {
    font-family: var(--luxora-font-serif);
    font-size: 3.5rem;
    margin: 0 0 20px;
    line-height: 1.1;
    color: #fff;
}

.luxora-hero-desc {
    font-family: var(--luxora-font-sans);
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.9;
    color: #fff;
    line-height: 1.6;
}

.luxora-hero-btn-wrapper {
    margin-top: 10px;
}

.luxora-hero-btn {
    display: inline-block;
    padding: 16px 40px;
    background: #4CAF50;
    color: #fff;
    text-decoration: none;
    font-family: var(--luxora-font-sans);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: none;
}

.luxora-hero-btn:hover {
    background: #45a049;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Swiper Navigation Customization */
.swiper-button-next,
.swiper-button-prev {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.2);
    z-index: 10; /* Ensure above overlay */
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 18px;
    font-weight: bold;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: #fff;
    color: #000;
}

.swiper-button-disabled {
    opacity: 0.5;
    pointer-events: none;
}

.swiper-pagination {
    z-index: 10; /* Ensure above overlay */
}

.swiper-pagination-bullet {
    background: #fff;
    opacity: 0.5;
    width: 10px;
    height: 10px;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: #fff;
    transform: scale(1.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .luxora-hero-title {
        font-size: 2.5rem;
    }
    
    .swiper-button-next,
    .swiper-button-prev {
        display: none; /* Often hidden on mobile */
    }
    
    .luxora-hero-content {
        width: 100%;
        max-width: 100%;
        text-align: center !important; /* Force center on mobile usually, or let user control? */
    }
    
    /* If user wants to force center on mobile, they can use responsive controls. */
}

/* Add All Button */
.luxora-add-all-wrapper {
    position: relative;
    z-index: 5;
    pointer-events: none; /* Allow clicks to pass through wrapper to image if covering */
}

.luxora-add-all-to-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background-color: #1a1a1a;
    color: #fff;
    border: none;
    font-family: var(--luxora-font-sans);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    pointer-events: auto; /* Re-enable pointer events for the button itself */
}

.luxora-add-all-to-cart:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.luxora-add-all-to-cart i,
.luxora-add-all-to-cart svg {
    font-size: 1.1em;
}

/* Custom Navigation Arrows */
.luxora-hero .swiper-button-next.luxora-custom-arrow:after,
.luxora-hero .swiper-button-prev.luxora-custom-arrow:after {
    content: none;
}

.luxora-hero .swiper-button-next.luxora-custom-arrow,
.luxora-hero .swiper-button-prev.luxora-custom-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
}

.luxora-hero .swiper-button-next.luxora-custom-arrow svg,
.luxora-hero .swiper-button-prev.luxora-custom-arrow svg,
.luxora-hero .swiper-button-next.luxora-custom-arrow i,
.luxora-hero .swiper-button-prev.luxora-custom-arrow i {
    width: 1em;
    height: 1em;
    display: block;
    fill: currentColor; /* Inherit color from parent */
}

/* Inspiration Widget (Shop the Look) */
.luxora-inspiration-header {
    margin-bottom: 20px;
    font-family: var(--luxora-font-sans);
    font-size: 1.2rem;
    font-weight: 500;
}

.luxora-inspiration-header a {
    text-decoration: underline;
    font-weight: 600;
}

.luxora-inspiration-container {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    align-items: stretch;
}

/* Left Image Column */
.luxora-inspiration-image {
    flex: 2;
    min-width: 300px;
    position: relative;
    overflow: hidden;
}

.luxora-inspiration-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.luxora-insp-overlay {
    position: absolute;
    top: 30px;
    left: 30px;
    z-index: 2;
    color: #1a1a1a;
    line-height: 1;
}

.insp-overlay-1 {
    display: block;
    font-family: var(--luxora-font-serif);
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.insp-overlay-2 {
    display: block;
    font-family: var(--luxora-font-serif);
    font-size: 3rem;
    font-style: italic;
}

/* Right List Column */
.luxora-inspiration-list {
    flex: 1;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%; /* Ensure full width availability */
}

.luxora-inspiration-card {
    display: block;
    width: 100%; /* Force full width */
    padding: 0;
    position: relative;
    background: #fff;
    transition: all 0.3s ease;
    border-bottom: none; /* Default */
}

.luxora-card-inner {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    width: 100%;
}

.luxora-inspiration-card.has-divider {
    border-bottom: none;
}

.luxora-inspiration-card.has-divider::after {
    content: '';
    position: absolute;
    bottom: 0;
    /* Default alignment handled by JS/Widget, but providing fallback if needed, or better, let widget set it.
       If I remove left/transform here, it defaults to left:0 (usually). 
       The Widget defaults to 'center' which injects the center styles. 
       So I can safely remove the positioning here. */
    width: 100%;
    border-bottom: 1px solid #f0f0f0;
    pointer-events: none;
}

/* Remove border from last item if needed - logic handled in PHP now */
/*
.luxora-inspiration-list .luxora-inspiration-card:last-child::after {
    display: none;
}
*/

.luxora-inspiration-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    z-index: 1;
}

.insp-card-img {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 4px;
    overflow: hidden;
    background: #f9f9f9;
}

.insp-card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* or cover depending on preference */
}

.insp-card-content {
    flex-grow: 1;
}

.luxora-single-add-to-cart-wrapper {
    margin-left: 10px;
}

.luxora-single-add-to-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 35px;
    height: 35px;
    border-radius: 50px;
    background-color: #f0f0f0;
    color: #1a1a1a;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    padding: 0;
}

.luxora-single-add-to-cart i {
    font-size: inherit;
}

.luxora-single-add-to-cart svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
}

.luxora-single-add-to-cart:has(.luxora-atc-text) {
    width: auto;
    padding: 0 12px;
    gap: 8px;
}

.luxora-atc-text {
    font-weight: 500;
    white-space: nowrap;
}

.luxora-single-add-to-cart:hover {
    background-color: #d4af37;
    color: #fff;
}

.insp-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 5px;
    position: relative; /* Context for inline, but absolute will look for card */
}

.insp-card-brand {
    font-family: var(--luxora-font-sans);
    font-size: 0.75rem;
    color: var(--luxora-color-secondary);
    text-transform: uppercase;
}

.insp-wishlist-icon {
    font-size: 1rem;
    color: var(--luxora-color-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.luxora-wishlist-pos-absolute .insp-wishlist-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
}

.insp-wishlist-icon:hover {
    color: #ff4d4d;
}

.insp-card-title {
    margin: 0 0 5px;
    font-family: var(--luxora-font-sans);
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.3;
}

.insp-card-title a {
    color: var(--luxora-color-primary);
    text-decoration: none;
}

.insp-card-price {
    font-family: var(--luxora-font-sans);
    font-size: 0.9rem;
    font-weight: 600;
}

.insp-card-price del {
    color: #999;
    font-size: 0.85em;
    font-weight: 400;
    margin-right: 5px;
}

.insp-card-price ins {
    color: #e74c3c; /* Sale red */
    text-decoration: none;
}

/* Footer Actions */
.luxora-inspiration-footer {
    margin-top: auto;
    padding-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    width: 100%;
}

.luxora-insp-add-all {
    flex: 1;
    padding: 12px 20px;
    border-radius: 50px;
    border: none;
    background-color: #d4af37;
    color: #fff;
    font-family: var(--luxora-font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.luxora-insp-add-all:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

.product-count-bubble {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 4px;
    background-color: #fff;
    color: #1a1a1a;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 700;
    margin: 0 6px;
    vertical-align: middle;
    line-height: 1;
}

.luxora-inspiration-card.no-divider {
    border-bottom: none !important;
}

.luxora-insp-total {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    line-height: 1.2;
}

.insp-total-label {
    font-family: var(--luxora-font-sans);
    font-size: 0.75rem;
    color: var(--luxora-color-secondary);
    text-transform: uppercase;
}

.insp-total-amount {
    font-family: var(--luxora-font-sans);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--luxora-color-primary);
}

/* Responsive */
@media (max-width: 768px) {
    .luxora-inspiration-container {
        flex-direction: column;
    }
    
    .luxora-inspiration-image {
        min-height: 300px;
        width: 100% !important; /* Force width on mobile */
        flex: auto !important;
    }
    
    .luxora-inspiration-list {
        width: 100%;
    }
}

/* =========================================
   Luxury Heading Presets (Skin Styles)
   ========================================= */

/* Style 1: Classic Luxury (Centered, Serif, Elegant) */
.luxora-style-1 {
    text-align: center;
}

.luxora-style-1 .luxora-heading {
    font-family: "Playfair Display", serif;
    font-weight: 700;
    font-size: 3rem;
    letter-spacing: -0.5px;
}

.luxora-style-1 .luxora-subheading {
    font-family: "Inter", sans-serif;
    font-size: 0.85rem;
    letter-spacing: 3px;
    color: #d4af37; /* Gold */
    margin-bottom: 10px;
}

.luxora-style-1 .luxora-heading-divider {
    width: 60px;
    height: 3px;
    background-color: #d4af37;
    margin: 20px auto 0;
}

/* Style 2: Modern Left (Left Bar, Bold Sans) */
.luxora-style-2 {
    text-align: left;
    padding-left: 20px;
    border-left: 4px solid #1a1a1a;
}

.luxora-style-2 .luxora-heading {
    font-family: "Inter", sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 2.5rem;
    line-height: 1;
}

.luxora-style-2 .luxora-subheading {
    display: block;
    margin-bottom: 5px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: #666;
}

.luxora-style-2 .luxora-heading-divider {
    display: none; /* Hide standard divider */
}

/* Style 3: Side Lines (Flexbox Lines) */
.luxora-style-3-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.luxora-style-3-main {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 20px;
}

.luxora-line-left,
.luxora-line-right {
    flex-grow: 1;
    height: 1px;
    background-color: #e0e0e0;
}

.luxora-style-3-inner .luxora-heading {
    white-space: nowrap;
    margin: 0;
}

.luxora-style-3-inner .luxora-subheading {
    margin-bottom: 10px;
    font-size: 0.75rem;
    letter-spacing: 4px;
}

/* Style 4: Gradient Overlay (Big Text) */
.luxora-style-4 {
    text-align: left;
    overflow: visible; /* Allow negative margin overlap */
}

.luxora-style-4 .luxora-heading {
    font-size: 4rem;
    font-weight: 900;
    line-height: 0.9;
    background: linear-gradient(45deg, #1a1a1a, #4a4a4a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.luxora-style-4 .luxora-subheading {
    font-size: 1.5rem;
    font-family: "Playfair Display", serif;
    font-style: italic;
    color: #d4af37;
    margin-top: -20px; /* Overlap */
    margin-left: 5px;
    position: relative;
    z-index: 2;
    text-transform: none;
    letter-spacing: 0;
}

.luxora-style-4 .luxora-heading-divider {
    display: none;
}

/* Style 5: Outline Focus (Stroke Text) */
.luxora-style-5 {
    text-align: center;
}

.luxora-style-5 .luxora-heading {
    font-size: 3.5rem;
    font-weight: 800;
    text-transform: uppercase;
    color: transparent;
    -webkit-text-stroke: 1px #1a1a1a;
    transition: all 0.4s ease;
    cursor: default;
}

.luxora-style-5:hover .luxora-heading {
    color: #1a1a1a;
    -webkit-text-stroke: 0;
}

.luxora-style-5 .luxora-subheading {
    font-weight: 600;
    letter-spacing: 4px;
    margin-bottom: 5px;
}

.luxora-style-5 .luxora-heading-divider {
    width: 100px;
    margin: 10px auto;
    background-color: #1a1a1a;
}

/* =========================================
   Luxury Gallery (Mosaic Grid)
   ========================================= */
.luxora-gallery-grid {
    display: grid;
    /* Default is overridden by widget settings */
    grid-template-columns: repeat(4, 1fr); 
    gap: 20px;
    width: 100%;
}

.luxora-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px; /* Default, overridden by widget settings */
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.luxora-gallery-item.type-image {
    min-height: 200px; /* Ensure visibility if image fails or empty */
}

.luxora-gallery-item.type-text {
    justify-content: center;
    align-items: flex-start; /* Left align text */
    padding: 30px;
    background-color: #f5f5f5; /* Default */
}

.luxora-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.luxora-gallery-item:hover img {
    transform: scale(1.05);
}

.luxora-gallery-img-link {
    display: block;
    width: 100%;
    height: 100%;
}

/* Text Content */
.luxora-gallery-content {
    width: 100%;
}

.luxora-gallery-title {
    margin: 0 0 10px;
    font-family: var(--luxora-font-sans);
    font-weight: 700;
    font-size: 1.5rem;
    text-transform: uppercase;
    color: #333;
}

.luxora-gallery-desc {
    margin: 0;
    font-family: var(--luxora-font-sans);
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
}

/* Button */
.luxora-gallery-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
    padding: 10px 20px;
    background-color: transparent;
    color: var(--luxora-color-primary);
    border: 1px solid var(--luxora-color-primary);
    border-radius: 4px;
    text-decoration: none;
    font-family: var(--luxora-font-sans);
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    align-self: flex-start; /* Align left in flex column */
    line-height: 1;
}

.luxora-gallery-btn:hover {
    background-color: var(--luxora-color-primary);
    color: #fff;
}

/* Image Overlay Content */
.luxora-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: #fff;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 2;
    pointer-events: none;
}

.luxora-gallery-item:hover .luxora-image-overlay {
    opacity: 1;
    transform: translateY(0);
}

.luxora-overlay-title {
    margin: 0 0 5px;
    font-family: var(--luxora-font-serif);
    font-size: 1.2rem;
    color: #fff;
}

.luxora-overlay-desc {
    margin: 0;
    font-family: var(--luxora-font-sans);
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
}

/* Gallery Button Absolute Positioning */
.luxora-gallery-item .luxora-gallery-btn.pos-absolute {
    position: absolute;
    z-index: 10;
    margin-top: 0; /* Reset static margin */
    align-self: auto;
}

/* Overlay Positions */
.luxora-gallery-item .luxora-gallery-btn.overlay-top-left {
    top: 20px;
    left: 20px;
    transform: none;
}
.luxora-gallery-item .luxora-gallery-btn.overlay-top-center {
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
}
.luxora-gallery-item .luxora-gallery-btn.overlay-top-right {
    top: 20px;
    right: 20px;
    transform: none;
}
.luxora-gallery-item .luxora-gallery-btn.overlay-center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.luxora-gallery-item .luxora-gallery-btn.overlay-bottom-left {
    bottom: 20px;
    left: 20px;
    transform: none;
}
.luxora-gallery-item .luxora-gallery-btn.overlay-bottom-center {
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}
.luxora-gallery-item .luxora-gallery-btn.overlay-bottom-right {
    bottom: 20px;
    right: 20px;
    transform: none;
}

/* Icon Spacing */
.luxora-btn-icon-before {
    /* Gap handles it, but just in case */
}
.luxora-btn-icon-after {
    /* Gap handles it, but just in case */
}

/* Responsive Grid Fallbacks (if JS fails or specific breakpoints needed) */
@media (max-width: 1024px) {
    /* Tablet usually 2 columns */
}

@media (max-width: 767px) {
    /* Mobile usually 1 column */
    .luxora-gallery-grid {
        grid-template-columns: 1fr !important; /* Force 1 column on mobile */
    }
    
    /* Reset spans on mobile to avoid layout breaking */
    .luxora-gallery-item {
        grid-column: auto !important;
        grid-row: auto !important;
    }
}

/* =========================================
   Luxury Product Collection (Featured Grid)
   ========================================= */
.luxora-product-grid {
    display: grid;
    /* Default simple grid */
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
}

/* Featured Mode Logic */
.luxora-product-grid.mode-featured {
    display: grid;
    /* Default fallback */
    grid-template-columns: 1fr 1fr 1fr;
    grid-auto-rows: min-content;
    grid-auto-flow: dense;
    width: 100%;
    gap: 20px;
}

/* --- Pattern 1-4 (Original 1 Large, 4 Small) --- */
.luxora-product-grid.mode-featured.pattern-1-4 {
    grid-template-columns: 1fr 1fr 1fr;
}

.luxora-product-grid.mode-featured.pattern-1-4.is-wide-featured {
    grid-template-columns: 2fr 1fr 1fr;
}

/* Standard Featured Item (First Only) */
.luxora-product-grid.mode-featured.pattern-1-4:not(.is-repeating) .luxora-product-card.is-featured {
    grid-column: 1 / 2;
    grid-row: 1 / 3; /* Span 2 rows */
}

/* Repeating Featured Item (Every 5th starting at 1) */
.luxora-product-grid.mode-featured.pattern-1-4.is-repeating .luxora-product-card.is-featured {
    grid-column: 1 / 2;
    grid-row: span 2; /* Span 2 rows */
}

/* Force column 1 for clarity in dense packing */
.luxora-product-grid.mode-featured.pattern-1-4.is-repeating .luxora-product-card.is-featured {
    grid-column-start: 1;
    grid-column-end: 2;
}


/* --- Pattern 1-2 (New 1 Large, 2 Small) --- */
/* Uses 4 column grid: L (1/span2) S (2) S (2) L (3/span2) S (4) S (4) */
.luxora-product-grid.mode-featured.pattern-1-2 {
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-auto-rows: 1fr; /* Force equal row height */
}

/* Wide Variation for 1-2 Pattern */
.luxora-product-grid.mode-featured.pattern-1-2.is-wide-featured {
    grid-template-columns: 2fr 1fr 2fr 1fr; /* Large item is 2x wider */
}

/* Custom Variation for 1-2 Pattern */
.luxora-product-grid.mode-featured.pattern-1-2.is-custom-featured {
    /* Uses CSS variable --featured-width. 
       Calculation: 2 Large + 2 Small columns = 100%.
       If Large is X%, Small is (50% - X).
       Grid: X (50-X) X (50-X)
    */
    grid-template-columns: var(--featured-width, 25%) 1fr var(--featured-width, 25%) 1fr;
}

/* Featured items span 2 rows in this pattern too */
.luxora-product-grid.mode-featured.pattern-1-2 .luxora-product-card.is-featured {
    grid-row: span 2;
    height: 100%; /* Fill the 2-row height */
}

/* Make sure small items fill their 1-row height */
.luxora-product-grid.mode-featured.pattern-1-2 .luxora-product-card.is-compact {
    height: 100%;
}

/* Ensure images in large cards cover the area */
.luxora-product-grid.mode-featured.pattern-1-2 .luxora-product-card.is-featured .luxora-product-img-wrap {
    height: 100%; /* Take available space */
    min-height: 300px; /* Fallback */
}

.luxora-product-grid.mode-featured.pattern-1-2 .luxora-product-card.is-featured .luxora-product-img-wrap img {
    height: 100%;
    object-fit: cover;
}


/* Responsive Fallbacks */
@media (max-width: 1024px) {
    .luxora-product-grid.mode-featured.pattern-1-4,
    .luxora-product-grid.mode-featured.pattern-1-4.is-wide-featured,
    .luxora-product-grid.mode-featured.pattern-1-2,
    .luxora-product-grid.mode-featured.pattern-1-2.is-wide-featured,
    .luxora-product-grid.mode-featured.pattern-1-2.is-custom-featured {
        grid-template-columns: 1fr 1fr; /* 2 columns */
    }
    
    /* Reset spans on tablet */
    .luxora-product-grid.mode-featured .luxora-product-card.is-featured {
        grid-column: 1 / -1 !important; /* Span full width on tablet */
        grid-row: auto !important;
        grid-column-start: auto !important;
        grid-column-end: auto !important;
    }
}

@media (max-width: 767px) {
    .luxora-product-grid,
    .luxora-product-grid.mode-featured,
    .luxora-product-grid.mode-featured.pattern-1-4,
    .luxora-product-grid.mode-featured.pattern-1-4.is-wide-featured,
    .luxora-product-grid.mode-featured.pattern-1-2,
    .luxora-product-grid.mode-featured.pattern-1-2.is-wide-featured,
    .luxora-product-grid.mode-featured.pattern-1-2.is-custom-featured {
        grid-template-columns: 1fr; /* 1 column */
    }
    
    .luxora-product-grid.mode-featured .luxora-product-card.is-featured {
        grid-column: auto !important;
        grid-row: auto !important;
    }
}

/* Card Style */
.luxora-product-card {
    background-color: #fff;
    border: 1px solid #eaeaea;
    padding: 20px;
    display: flex;
    flex-direction: column;
    height: 100%; /* Fill grid cell */
    transition: all 0.3s ease;
    position: relative;
}

.luxora-product-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-color: transparent;
    transform: translateY(-5px);
    z-index: 1;
}

.luxora-product-img-wrap {
    position: relative;
    margin-bottom: 20px;
    flex-grow: 1; /* Push content down if needed, or fill space */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-height: 150px;
}

.luxora-product-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.luxora-product-card.is-featured .luxora-product-img-wrap img {
    /* No specific max-height, controlled by widget settings */
}

.luxora-product-card:hover .luxora-product-img-wrap img {
    transform: scale(1.05);
}

.luxora-card-link-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
}

/* Content */
.luxora-product-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.luxora-product-brand {
    font-family: var(--luxora-font-sans);
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #8c8c8c;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.luxora-product-title {
    font-family: var(--luxora-font-sans); 
    font-size: 1rem;
    font-weight: 500;
    color: #1a1a1a;
    margin: 0 0 10px;
    line-height: 1.3;
}

.luxora-product-title a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.luxora-product-price {
    font-family: var(--luxora-font-sans);
    font-size: 1.1rem;
    font-weight: 600;
    color: #d35400; /* Orange default */
    margin-bottom: 15px;
}

/* Stock Status */
.luxora-stock-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--luxora-font-sans);
    font-size: 0.85rem;
    color: #27ae60; /* Green default */
}

.stock-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: currentColor; /* Uses text color */
}

.luxora-stock-status.out-of-stock {
    color: #e74c3c;
}
.luxora-stock-status.low-stock {
    color: #f39c12;
}

/* Social Login Styles */
.luxora-social-login {
    margin-top: 25px;
    text-align: center;
}

.luxora-social-divider {
    position: relative;
    margin-bottom: 20px;
    text-align: center;
}

.luxora-social-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: #eee;
    z-index: 0;
}

.luxora-social-divider span {
    position: relative;
    background: #fff;
    padding: 0 15px;
    color: #8c8c8c;
    font-size: 0.85rem;
    font-family: var(--luxora-font-sans);
    z-index: 1;
}

.luxora-social-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.luxora-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border: 1px solid #eee;
    background: #fff;
    border-radius: 4px;
    cursor: pointer;
    font-family: var(--luxora-font-sans);
    font-size: 0.9rem;
    color: #333;
    transition: all 0.3s ease;
    min-width: 140px;
}

.luxora-social-btn:hover {
    background: #f9f9f9;
    border-color: #ddd;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.luxora-social-btn i,
.luxora-social-btn svg {
    font-size: 1.1em;
}

/* Brand Colors (Optional, can be overridden by widget) */
.luxora-social-btn.provider-google:hover {
    border-color: #DB4437;
    color: #DB4437;
}

.luxora-social-btn.provider-facebook:hover {
    border-color: #4267B2;
    color: #4267B2;
}

.luxora-social-btn.provider-twitter:hover {
    border-color: #1DA1F2;
    color: #1DA1F2;
}

.luxora-social-btn.provider-apple:hover {
    border-color: #000;
    color: #000;
}

/* Form Extras */
.luxora-form-extras {
    display: flex;
    justify-content: flex-end; /* Or space-between if adding Remember Me later */
    margin-bottom: 20px;
}

.luxora-form-extras a {
    font-family: var(--luxora-font-sans);
    font-size: 0.85rem;
    color: var(--luxora-color-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.luxora-form-extras a:hover {
    color: var(--luxora-color-primary);
}
