/*
 Theme Name:   Veres Child - Bourgie Paris
 Theme URI:    https://bourgieparis.com
 Description:  Custom child theme for Bourgie Paris with luxury & elegant styling
 Author:       DevRocket
 Author URI:   https://devrocket.com
 Template:     veres
 Version:      1.0.0
 Text Domain:  veres-child
*/

/* ==========================================================================
   LUXURY & ELEGANT CUSTOMIZATIONS FOR BOURGIE PARIS
   ========================================================================== */

:root {
    /* Refined color palette for luxury feel */
    --bp-gold: #BC8157;
    --bp-gold-light: #D4A574;
    --bp-gold-dark: #9A6A47;
    --bp-cream: #FAF8F5;
    --bp-charcoal: #1A1A1A;
    --bp-soft-black: #2D2D2D;
    --bp-warm-gray: #8B8178;

    /* Elegant typography */
    --bp-letter-spacing-wide: 0.15em;
    --bp-letter-spacing-normal: 0.05em;

    /* Refined transitions */
    --bp-transition-elegant: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --bp-transition-smooth: all 0.3s ease;
}

/* ==========================================================================
   HERO CAROUSEL - FULL WIDTH (Remove white border gaps)
   ========================================================================== */

html,
body {
    overflow-x: hidden;
}

/* Remove padding from hero section columns that cause white gaps */
.elementor-section:first-child [class*="col-mob-"],
.elementor-section:first-child [class*="col-tabp-"],
.elementor-section:first-child [class*="col-desk-"],
.elementor-top-section:first-of-type [class*="col-"],
.elementor-element.elementor-top-section:first-child .elementor-column-wrap,
.elementor-element.elementor-top-section:first-child .elementor-widget-wrap {
    padding: 0 !important;
}

/* Remove padding/margin from hero section container */
.elementor-section:first-child,
.elementor-top-section:first-of-type,
[data-elementor-type="wp-page"] > .elementor-section:first-child {
    padding: 0 !important;
    margin: 0 !important;
}

/* Ensure slider module fills its container */
.sr7-module {
    margin: 0 !important;
    padding: 0 !important;
}

/* Remove any gap above header */
.lakit-header,
header.elementor-location-header,
.site-header {
    margin-top: 0 !important;
}

/* ==========================================================================
   HEADER & NAVIGATION - Luxury Refinements
   ========================================================================== */

/* Desktop header styling */
.lakit-header,
.site-header,
#masthead,
header.elementor-location-header {
    --lakit-header-height: 80px;
}

header.elementor-location-header .elementor-container {
    min-height: 80px;
    padding-top: 12px;
    padding-bottom: 12px;
    align-items: center;
}

/* Logo sizing - Desktop */
header img[alt="Bourgie Paris"],
.lakit-header img[alt="Bourgie Paris"],
.elementor-location-header img[alt="Bourgie Paris"],
img[src*="BOURGIE-PARIS-LOGO"],
img[src*="bourgie-paris-logo"] {
    max-height: 65px;
    height: 65px;
    width: auto;
    object-fit: contain;
}

/* Reduce gap between logo and navigation */
header.elementor-location-header .elementor-column,
.lakit-header .elementor-column {
    padding-left: 10px;
    padding-right: 10px;
}

header.elementor-location-header .elementor-column:first-child,
.lakit-header .elementor-column:first-child {
    padding-left: 0;
}

header.elementor-location-header .elementor-widget-wrap,
.lakit-header .elementor-widget-wrap {
    padding: 0 5px;
}

/* Tighter nav menu spacing */
.lakit-nav-menu,
header .elementor-nav-menu {
    gap: 0;
}

.lakit-nav-menu > li,
header .elementor-nav-menu > li {
    margin-left: 15px;
    margin-right: 15px;
}

.lakit-nav-menu > li:first-child,
header .elementor-nav-menu > li:first-child {
    margin-left: 0;
}

/* Header background refinement */
.site-header,
#masthead,
header.elementor-location-header {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* ==========================================================================
   MOBILE HEADER STYLES
   ========================================================================== */

@media (max-width: 1024px) {
    .lakit-header,
    .site-header,
    header.elementor-location-header {
        --lakit-header-height: 70px;
    }

    header.elementor-location-header .elementor-container {
        min-height: 70px;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    /* Mobile logo sizing */
    header img[alt="Bourgie Paris"],
    .lakit-header img[alt="Bourgie Paris"],
    img[src*="BOURGIE-PARIS-LOGO"],
    img[src*="bourgie-paris-logo"] {
        max-height: 50px;
        height: 50px;
    }
}

@media (max-width: 768px) {
    /* Prevent any horizontal overflow on mobile */
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
    }

    .lakit-header,
    .site-header,
    header.elementor-location-header {
        --lakit-header-height: 60px;
        width: 100% !important;
        max-width: 100vw !important;
        overflow: visible !important;
    }

    /* Fix header container for mobile */
    header.elementor-location-header .elementor-container,
    .lakit-header .elementor-container {
        min-height: 60px;
        padding: 10px 15px !important;
        display: flex !important;
        flex-wrap: nowrap !important;
        justify-content: space-between;
        align-items: center;
        width: 100% !important;
        max-width: 100% !important;
        overflow: visible !important;
        box-sizing: border-box !important;
    }

    /* Ensure header row doesn't overflow */
    header.elementor-location-header .elementor-row,
    .lakit-header .elementor-row {
        width: 100% !important;
        max-width: 100% !important;
        flex-wrap: nowrap !important;
    }

    /* Mobile logo size */
    header img[alt="Bourgie Paris"],
    .lakit-header img[alt="Bourgie Paris"],
    img[src*="BOURGIE-PARIS-LOGO"],
    img[src*="bourgie-paris-logo"] {
        max-height: 50px;
        height: 50px;
    }

    /* All columns should be flexible and not overflow */
    header.elementor-location-header .elementor-column,
    .lakit-header .elementor-column {
        flex-shrink: 1 !important;
        width: auto !important;
        min-width: 0 !important;
    }

    /* Hide burger menu on mobile */
    .lakit-hamburger-panel__toggle,
    .lakit-hamburger-panel__toggle-icon,
    .lakit-hamburger-panel__toggle-label,
    .lakit-hamburger-panel__icon,
    .lakit-hamburger-panel,
    .lakit-hamburger-panel__instance,
    .lakit-menu-toggle,
    .lakit-nav__mobile-trigger,
    .dl-menu-toggle,
    .elementor-widget-lakit-hamburger-panel,
    [class*="hamburger-panel"],
    [class*="hamburger_menu"] {
        display: none !important;
    }

    /* Force show nav menu elements on mobile - override JS */
    header.elementor-location-header .elementor-element.elementor-hidden-mobile,
    header.elementor-location-header .elementor-element.elementor-hidden-phone {
        display: flex !important;
    }

    .lakit-nav-menu,
    .lakit-nav-menu--layout-horizontal,
    .elementor-widget-lakit-nav-menu,
    .lakit-nav-wrap,
    .lakit-nav-wrap.lakit-active,
    .lakit-nav-wrap.lakit-mobile-menu {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        transform: none !important;
        pointer-events: auto !important;
        position: static !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        clip: auto !important;
        clip-path: none !important;
        max-height: none !important;
        height: auto !important;
        width: auto !important;
        overflow: visible !important;
    }

    /* Override any inline styles JS might apply */
    .lakit-nav-menu[style],
    .lakit-nav-wrap[style],
    .elementor-widget-lakit-nav-menu[style] {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .lakit-nav-menu > li {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .lakit-nav-menu > li > a {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        font-size: 12px;
        padding: 8px 5px;
    }

    /* Ensure icons don't get cut off */
    .lakit-cart__btn,
    .lakit-wishlist__btn,
    .lakit-search__toggle {
        padding: 5px !important;
    }

    /* Reduce icon spacing */
    .elementor-widget-wrap {
        gap: 5px !important;
    }

    /* Fix icons column - prevent overflow */
    header.elementor-location-header .elementor-column:last-child,
    .lakit-header .elementor-column:last-child {
        padding-right: 0 !important;
        margin-right: 0 !important;
        flex: 0 0 auto !important;
        width: auto !important;
        max-width: 40% !important;
    }

    header.elementor-location-header .elementor-column:last-child .elementor-widget-wrap,
    .lakit-header .elementor-column:last-child .elementor-widget-wrap {
        padding: 0 !important;
        margin: 0 !important;
        justify-content: flex-end !important;
        flex-wrap: nowrap !important;
    }

    /* Scale down icon buttons */
    header.elementor-location-header .lakit-cart__btn,
    header.elementor-location-header .lakit-wishlist__btn,
    header.elementor-location-header .lakit-search__toggle,
    .lakit-header .lakit-cart__btn,
    .lakit-header .lakit-wishlist__btn,
    .lakit-header .lakit-search__toggle {
        transform: scale(0.85) !important;
        margin: 0 2px !important;
    }

    /* Reduce icon sizes on mobile */
    header.elementor-location-header .lakit-cart__btn-icon,
    header.elementor-location-header .lakit-wishlist__btn-icon,
    header.elementor-location-header .lakit-search__toggle-icon,
    header.elementor-location-header [class*="lastudioicon-"],
    .lakit-header .lakit-cart__btn-icon,
    .lakit-header .lakit-wishlist__btn-icon,
    .lakit-header [class*="lastudioicon-"] {
        font-size: 20px !important;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    header.elementor-location-header .elementor-container,
    .lakit-header .elementor-container {
        padding: 8px 12px !important;
    }

    header img[alt="Bourgie Paris"],
    img[src*="BOURGIE-PARIS-LOGO"] {
        max-height: 45px !important;
        height: 45px !important;
    }

    /* Scale icons down more on very small screens */
    header.elementor-location-header .lakit-cart__btn,
    header.elementor-location-header .lakit-wishlist__btn,
    header.elementor-location-header .lakit-search__toggle {
        transform: scale(0.8) !important;
        margin: 0 !important;
    }
}

/* Elegant navigation links */
.main-navigation a,
.site-header .menu > li > a,
.lakit-nav-menu > li > a {
    font-weight: 400;
    letter-spacing: var(--bp-letter-spacing-wide);
    text-transform: uppercase;
    font-size: 12px;
    position: relative;
    transition: var(--bp-transition-elegant);
}

/* Sophisticated underline hover effect */
.main-navigation a::after,
.site-header .menu > li > a::after,
.lakit-nav-menu > li > a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 1px;
    background: var(--bp-gold);
    transition: var(--bp-transition-elegant);
    transform: translateX(-50%);
}

.main-navigation a:hover::after,
.site-header .menu > li > a:hover::after,
.lakit-nav-menu > li > a:hover::after,
.main-navigation .current-menu-item > a::after,
.lakit-nav-menu .current-menu-item > a::after {
    width: 100%;
}

/* Header icons refinement */
.header-icon,
.lakit-cart__btn,
.lakit-hamburger-panel__toggle,
.lakit-wishlist__btn {
    transition: var(--bp-transition-smooth);
}

.header-icon:hover,
.lakit-cart__btn:hover,
.lakit-hamburger-panel__toggle:hover,
.lakit-wishlist__btn:hover {
    color: var(--bp-gold) !important;
    transform: translateY(-1px);
}

/* Refined cart count badge */
.lakit-cart__count,
.cart-count {
    background: var(--bp-gold) !important;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0;
}

/* ==========================================================================
   TYPOGRAPHY - Elegant Hierarchy
   ========================================================================== */

/* Refined heading styles */
h1, h2, h3, h4, h5, h6,
.elementor-heading-title {
    letter-spacing: var(--bp-letter-spacing-normal);
    font-weight: 400;
}

/* Large display headings */
h1, .h1,
.elementor-widget-heading .elementor-heading-title.elementor-size-xxl {
    letter-spacing: -0.02em;
    line-height: 1.1;
}

/* Section titles */
.section-title,
.elementor-widget-heading .elementor-heading-title {
    position: relative;
}

/* Elegant body text */
body,
p,
.elementor-widget-text-editor {
    line-height: 1.9;
    color: var(--bp-warm-gray);
}

/* ==========================================================================
   BUTTONS - Luxury Feel
   ========================================================================== */

/* Primary button refinement */
.btn,
.button,
button,
input[type="submit"],
.elementor-button,
.wp-block-button__link,
.woocommerce .button,
.woocommerce a.button,
.add_to_cart_button,
.single_add_to_cart_button {
    letter-spacing: var(--bp-letter-spacing-wide);
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 500;
    padding: 16px 35px;
    border-radius: 0;
    transition: var(--bp-transition-elegant);
    position: relative;
    overflow: hidden;
}

/* Button hover effect - elegant slide */
.btn:not(.btn-link)::before,
.button:not(.btn-link)::before,
.elementor-button::before,
.woocommerce .button::before,
.add_to_cart_button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: var(--bp-transition-elegant);
}

.btn:hover::before,
.button:hover::before,
.elementor-button:hover::before,
.woocommerce .button:hover::before,
.add_to_cart_button:hover::before {
    left: 100%;
}

/* Outline button style */
.btn-outline,
.button.alt,
.elementor-button.elementor-button--outline {
    background: transparent;
    border: 1px solid var(--bp-charcoal);
    color: var(--bp-charcoal);
}

.btn-outline:hover,
.button.alt:hover,
.elementor-button.elementor-button--outline:hover {
    background: var(--bp-charcoal);
    color: #fff;
}

/* ==========================================================================
   HOMEPAGE SECTIONS - Refined Spacing & Layout
   ========================================================================== */

/* Generous section spacing for luxury feel */
.elementor-section,
.elementor-top-section {
    --section-padding: 100px;
}

@media (min-width: 1200px) {
    .elementor-section.elementor-section-boxed > .elementor-container {
        max-width: 1400px;
    }
}

/* Hero section refinements */
.hero-section,
[data-elementor-type="wp-page"] > .elementor-section:first-child {
    min-height: 90vh;
}

/* Elegant dividers */
.elementor-divider-separator {
    border-color: var(--bp-gold-light) !important;
    opacity: 0.5;
}

/* Stats/counter section */
.elementor-counter,
.lakit-counter {
    text-align: center;
}

.elementor-counter-number-wrapper,
.lakit-counter__number {
    font-size: 3.5rem;
    font-weight: 300;
    color: var(--bp-gold);
    letter-spacing: -0.02em;
}

.elementor-counter-title,
.lakit-counter__title {
    text-transform: uppercase;
    letter-spacing: var(--bp-letter-spacing-wide);
    font-size: 11px;
    margin-top: 15px;
    color: var(--bp-warm-gray);
}

/* Testimonials styling */
.lakit-testimonials,
.elementor-testimonial {
    text-align: center;
}

.lakit-testimonials__comment,
.elementor-testimonial-content {
    font-size: 1.25rem;
    font-style: italic;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

/* ==========================================================================
   PRODUCT CARDS - Premium Presentation
   ========================================================================== */

/* Product card container */
.product,
.lakit-posts__item,
.woocommerce ul.products li.product {
    transition: var(--bp-transition-elegant);
}

/* Product image container */
.product .woocommerce-loop-product__link,
.lakit-posts__thumbnail,
.product-thumbnail {
    overflow: hidden;
    position: relative;
}

/* Elegant image zoom on hover */
.product img,
.lakit-posts__thumbnail img,
.woocommerce ul.products li.product a img {
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product:hover img,
.lakit-posts__item:hover .lakit-posts__thumbnail img,
.woocommerce ul.products li.product:hover a img {
    transform: scale(1.05);
}

/* Product title styling */
.woocommerce-loop-product__title,
.product_title,
.lakit-posts__title {
    font-size: 15px;
    font-weight: 400;
    letter-spacing: var(--bp-letter-spacing-normal);
    text-transform: none;
    margin-top: 20px;
    transition: var(--bp-transition-smooth);
}

.product:hover .woocommerce-loop-product__title,
.lakit-posts__item:hover .lakit-posts__title {
    color: var(--bp-gold);
}

/* Product price styling */
.price,
.woocommerce-Price-amount {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: var(--bp-letter-spacing-normal);
    color: var(--bp-charcoal);
}

/* Sale badge refinement */
.onsale,
.product-badge,
.lakit-woo-card__badge {
    background: var(--bp-charcoal) !important;
    color: #fff !important;
    font-size: 10px;
    letter-spacing: var(--bp-letter-spacing-wide);
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 0;
}

/* Quick view / Add to cart overlay */
.product-actions,
.lakit-woo-card__btn-wrap,
.add-to-cart-wrap {
    opacity: 0;
    transition: var(--bp-transition-elegant);
}

.product:hover .product-actions,
.lakit-posts__item:hover .lakit-woo-card__btn-wrap,
.product:hover .add-to-cart-wrap {
    opacity: 1;
}

/* ==========================================================================
   SINGLE PRODUCT PAGE - Luxury Presentation
   ========================================================================== */

/* Product gallery refinements */
.woocommerce-product-gallery {
    margin-bottom: 40px;
}

.woocommerce-product-gallery__image {
    border-radius: 0;
    overflow: hidden;
}

/* Single product title */
.product_title.entry-title {
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: -0.01em;
    margin-bottom: 15px;
}

/* Product price on single */
.single-product .price {
    font-size: 1.5rem;
    margin-bottom: 25px;
}

/* Product description */
.woocommerce-product-details__short-description {
    font-size: 15px;
    line-height: 1.9;
    color: var(--bp-warm-gray);
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

/* Quantity input refinement */
.quantity .qty {
    border: 1px solid rgba(0,0,0,0.1);
    padding: 15px;
    text-align: center;
    font-size: 14px;
    width: 80px;
}

/* Product tabs */
.woocommerce-tabs .tabs,
.lakit-tabs__list {
    border-bottom: 1px solid rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

.woocommerce-tabs .tabs li a,
.lakit-tabs__btn {
    font-size: 12px;
    letter-spacing: var(--bp-letter-spacing-wide);
    text-transform: uppercase;
    padding: 15px 25px;
    color: var(--bp-warm-gray);
    transition: var(--bp-transition-smooth);
}

.woocommerce-tabs .tabs li.active a,
.lakit-tabs__btn.active {
    color: var(--bp-charcoal);
    border-bottom: 2px solid var(--bp-gold);
}

/* ==========================================================================
   FOOTER - Elegant Refinements
   ========================================================================== */

.site-footer,
#colophon {
    background: var(--bp-soft-black);
}

.site-footer a {
    transition: var(--bp-transition-smooth);
}

.site-footer a:hover {
    color: var(--bp-gold-light) !important;
}

/* Footer headings */
.footer-widget-title,
.site-footer h4,
.site-footer .widget-title {
    font-size: 12px;
    letter-spacing: var(--bp-letter-spacing-wide);
    text-transform: uppercase;
    margin-bottom: 25px;
    color: #fff;
}

/* Social icons refinement */
.social-icons a,
.lakit-social-icons__item {
    transition: var(--bp-transition-smooth);
}

.social-icons a:hover,
.lakit-social-icons__item:hover {
    transform: translateY(-3px);
    color: var(--bp-gold) !important;
}

/* ==========================================================================
   ANIMATIONS & MICRO-INTERACTIONS
   ========================================================================== */

/* Fade in animation for elements */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Apply to Elementor animated elements */
.elementor-invisible {
    visibility: visible !important;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Selection color */
::selection {
    background: var(--bp-gold);
    color: #fff;
}

::-moz-selection {
    background: var(--bp-gold);
    color: #fff;
}

/* ==========================================================================
   RESPONSIVE REFINEMENTS
   ========================================================================== */

@media (max-width: 1024px) {
    :root {
        --section-padding: 70px;
    }

    .elementor-counter-number-wrapper,
    .lakit-counter__number {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 50px;
    }

    .product_title.entry-title {
        font-size: 1.5rem;
    }

    .single-product .price {
        font-size: 1.25rem;
    }

    .main-navigation a,
    .lakit-nav-menu > li > a {
        font-size: 11px;
    }
}

/* ==========================================================================
   WOOCOMMERCE REFINEMENTS
   ========================================================================== */

/* Cart page */
.woocommerce-cart-form__contents {
    border: none;
    border-top: 1px solid rgba(0,0,0,0.08);
}

.woocommerce-cart-form__contents th {
    font-size: 11px;
    letter-spacing: var(--bp-letter-spacing-wide);
    text-transform: uppercase;
    font-weight: 500;
    padding: 20px 15px;
}

/* Checkout page refinements */
.woocommerce-checkout .form-row label {
    font-size: 12px;
    letter-spacing: var(--bp-letter-spacing-normal);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.woocommerce-checkout input,
.woocommerce-checkout select,
.woocommerce-checkout textarea {
    border: 1px solid rgba(0,0,0,0.1);
    padding: 15px;
    transition: var(--bp-transition-smooth);
}

.woocommerce-checkout input:focus,
.woocommerce-checkout select:focus,
.woocommerce-checkout textarea:focus {
    border-color: var(--bp-gold);
    outline: none;
    box-shadow: 0 0 0 3px rgba(188, 129, 87, 0.1);
}

/* Order review box */
.woocommerce-checkout-review-order {
    background: var(--bp-cream);
    padding: 30px;
}
