/*
Theme Name: Velas
Theme URI: https://velas.ma
Description: Child theme for Velas - Bougies Parfumées d'Exception. Dark luxury design with Tailwind CSS.
Author: Velas Team
Author URI: https://velas.ma
Template: hello-commerce
Version: 1.0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: velas
Tags: e-commerce, luxury, dark-theme, woocommerce
*/

/* Import parent theme styles */
@import url('../hello-commerce/style.css');

/* Velas Brand Colors */
:root {
    --velas-bg: #050505;
    --velas-surface: #0a0a0a;
    --velas-gold: #bda47b;
    --velas-gold-light: #dccba8;
    --velas-text: #e6e3da;
    --velas-text-muted: #9a968d;
    --velas-border: #2a2824;
}

/* ── Velas polish pass: tighter premium header, clearer first fold ───────── */
.velas-site-header {
    min-height: 92px;
}

.velas-site-header nav a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    position: relative;
}

.velas-site-header nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 8px;
    height: 1px;
    background: var(--velas-gold);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 220ms ease;
}

.velas-site-header nav a:hover::after,
.velas-site-header nav a:focus-visible::after {
    transform: scaleX(1);
}

.velas-site-header a:focus-visible,
.velas-site-header button:focus-visible,
.velas-home-hero a:focus-visible,
.formulas-stacked button:focus-visible,
.formulas-stacked a:focus-visible {
    outline: 2px solid var(--velas-gold-light) !important;
    outline-offset: 4px;
}

.velas-home-hero video,
.velas-home-hero .absolute[style*="background-image"] {
    filter: saturate(0.94) contrast(1.05);
}

.velas-home-hero h1 {
    letter-spacing: 0;
}

.velas-home-hero a {
    backdrop-filter: blur(4px);
    background: rgba(5, 5, 5, 0.1);
}

.velas-variation-note {
    background: #FBF9F6;
    border: 1px solid rgba(185, 155, 107, 0.28);
    padding: 14px 16px;
}

.variable-items-wrapper {
    gap: 8px !important;
}

.variable-items-wrapper .variable-item {
    min-width: 44px !important;
    min-height: 44px !important;
    border-radius: 2px !important;
    box-shadow: none !important;
    border: 1px solid #E4D9CA !important;
    transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease !important;
}

.variable-items-wrapper .variable-item:hover,
.variable-items-wrapper .variable-item:focus-visible {
    border-color: #B99B6B !important;
    transform: translateY(-1px);
}

.variable-items-wrapper .variable-item.selected,
.variable-items-wrapper .variable-item[aria-checked="true"] {
    border-color: #B99B6B !important;
    background: #F4F0EA !important;
}

.variable-items-wrapper .variable-item-span-button {
    padding: 0 12px !important;
    font-size: 11px !important;
    letter-spacing: 0.04em;
}

.velas-whatsapp-btn {
    width: 52px !important;
    height: 52px !important;
    bottom: 1.5rem !important;
    left: 1.5rem !important;
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.24) !important;
}

@media (min-width: 1024px) {
    .velas-site-header {
        min-height: 104px;
    }
}

@media (max-width: 1023px) {
    .velas-site-header {
        min-height: 88px;
    }
}

@media (max-width: 768px) {
    .velas-whatsapp-btn {
        width: 46px !important;
        height: 46px !important;
        bottom: 1rem !important;
        left: 1rem !important;
    }

    body.single-product .velas-whatsapp-btn {
        width: 40px !important;
        height: 40px !important;
        bottom: 0.75rem !important;
        left: 0.75rem !important;
    }

    body.single-product .xoo-wsc-basket {
        width: 50px !important;
        height: 50px !important;
        right: 0.75rem !important;
        bottom: 0.75rem !important;
    }

    body.single-product .xoo-wsc-items-count {
        width: 22px !important;
        height: 22px !important;
        line-height: 22px !important;
        font-size: 11px !important;
        top: -6px !important;
        left: -6px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .velas-site-header nav a::after,
    .variable-items-wrapper .variable-item,
    .velas-whatsapp-btn {
        transition: none !important;
    }
}

/* Force dark background */
body {
    background-color: var(--velas-bg) !important;
    color: var(--velas-text) !important;
}

/* Elementor overrides */
.elementor-section {
    background-color: var(--velas-bg);
}

.elementor-widget-html {
    background-color: transparent;
}
/* Alternative selector if the above doesnt work */
body.page-id-403 div.bg-\[\#F4F0EA\]:has(h4) {
    display: none !important;
}

/* Fallback selector */
body.page-id-403 .bg-\[\#F4F0EA\].p-5.mt-8.rounded-sm.flex.items-center.gap-4 {
    display: none !important;
}
/* Hide gift section on panier page */
.page-id-11 .bg-\[\#F4F0EA\].p-5.mt-8.rounded-sm.flex.items-center.gap-4 {
    display: none !important;
}

/* Alternative selector */
.page-id-11 div.bg-\[\#F4F0EA\]:has(h4:contains("cadeau")) {
    display: none !important;
}

/* Custom quantity plus/minus buttons */
.qty-plus, .qty-minus {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.qty-plus:hover, .qty-minus:hover {
    color: #B99B6B;
}

.custom-quantity-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid #EBE5DB;
    border-radius: 0.125rem;
    overflow: hidden;
}

.custom-quantity-wrapper input.qty {
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.custom-quantity-wrapper .qty-minus {
    border-right: 1px solid #EBE5DB;
}

.custom-quantity-wrapper .qty-plus {
    border-left: 1px solid #EBE5DB;
}


/* Empty Cart Styling */
.empty-cart-icon {
    font-size: 4rem;
    color: #B99B6B;
    margin-bottom: 1rem;
}

.empty-cart-title {
    font-size: 2rem;
    font-family: serif;
    color: #2B2621;
    margin-bottom: 1rem;
}

.empty-cart-description {
    color: #716A60;
    max-width: 400px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.empty-cart-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #9E8256;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 1rem 2rem;
    border-radius: 0.125rem;
    transition: background-color 0.2s ease;
}

.empty-cart-button:hover {
    background-color: #856b46;
}

/* VELAS — Mini-panier latéral */
.xoo-wsc-modal .xoo-wsc-container {
    width: min(440px, 100vw);
    background: #f8f5f0;
    box-shadow: -14px 0 40px rgba(43, 38, 33, 0.12);
}

.xoo-wsc-modal .xoo-wsc-header {
    min-height: 88px;
    padding: 0 22px;
    background: #fff;
    border-bottom: 1px solid #ebe5db;
}

.xoo-wsc-modal .xoo-wsch-top {
    min-height: 88px;
}

.xoo-wsc-modal .xoo-wsch-text {
    color: #2b2621;
    font-family: "Libre Baskerville", Georgia, serif;
    font-size: 22px;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.xoo-wsc-modal .xoo-wsch-basket,
.xoo-wsc-modal .xoo-wsch-close {
    color: #2b2621;
}

.xoo-wsc-modal .xoo-wsch-items-count {
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border: 2px solid #fff;
    background: #b99b6b;
    color: #fff;
    font-size: 11px;
    line-height: 18px;
}

.xoo-wsc-modal .xoo-wsc-body {
    padding: 6px 20px 20px;
    background: #f8f5f0;
}

.xoo-wsc-modal .xoo-wsc-products {
    padding: 0;
}

.xoo-wsc-modal .xoo-wsc-product {
    position: relative;
    display: grid !important;
    grid-template-columns: 104px minmax(0, 1fr) !important;
    gap: 18px;
    margin: 0;
    padding: 22px 0;
    border: 0;
    border-bottom: 1px solid #ded5c8;
    border-radius: 0;
    background: transparent !important;
    box-shadow: none !important;
}

.xoo-wsc-modal .xoo-wsc-img-col {
    width: 104px !important;
    min-width: 104px !important;
    max-width: 104px !important;
    align-self: start;
}

.xoo-wsc-modal .xoo-wsc-img-col img {
    display: block;
    width: 104px !important;
    min-width: 104px !important;
    max-width: 104px !important;
    height: 132px !important;
    border-radius: 2px;
    object-fit: cover;
}

.xoo-wsc-modal .xoo-wsc-sum-col {
    width: auto !important;
    max-width: none !important;
    min-width: 0;
    padding: 0 28px 0 0;
}

.xoo-wsc-modal .xoo-wsc-sm-info {
    position: relative !important;
    display: block !important;
}

.xoo-wsc-modal .xoo-wsc-sm-left {
    width: 100% !important;
    max-width: none !important;
}

.xoo-wsc-modal .xoo-wsc-sm-right {
    position: static !important;
    width: auto !important;
    max-width: none !important;
}

.xoo-wsc-modal .xoo-wsc-pname a {
    color: #2b2621;
    font-family: "Libre Baskerville", Georgia, serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.35;
    text-decoration: none;
}

.xoo-wsc-modal .xoo-wsc-pname a:hover {
    color: #9e8256;
}

.xoo-wsc-modal .xoo-wsc-product dl.variation {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1px;
    margin: 10px 0 12px;
    color: #716a60;
    font-size: 12px;
    line-height: 1.4;
}

.xoo-wsc-modal .xoo-wsc-product dl.variation dt,
.xoo-wsc-modal .xoo-wsc-product dl.variation dd {
    float: none;
    margin: 0;
    padding: 0;
}

.xoo-wsc-modal .xoo-wsc-product dl.variation dt {
    color: #2b2621;
    font-weight: 600;
}

.xoo-wsc-modal .xoo-wsc-product dl.variation dt:not(:first-child) {
    margin-top: 5px;
}

.xoo-wsc-modal .xoo-wsc-product dl.variation dd p {
    margin: 0;
}

.xoo-wsc-modal .xoo-wsc-sml-qty,
.xoo-wsc-modal .xoo-wsc-priceBox {
    color: #716a60;
    font-size: 12px;
}

.xoo-wsc-modal .xoo-wsc-sml-qty {
    margin-top: 10px;
}

.xoo-wsc-modal .xoo-wsc-priceBox {
    display: block !important;
    margin-top: 3px;
}

.xoo-wsc-modal .xoo-wsc-pprice {
    display: flex !important;
    align-items: baseline;
    gap: 5px;
    color: #716a60;
    font-family: inherit;
    font-size: 12px;
    line-height: 1.4;
    white-space: nowrap;
}

.xoo-wsc-modal .xoo-wsc-pprice .amount {
    color: #2b2621;
    font-family: "Libre Baskerville", Georgia, serif;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
}

.xoo-wsc-modal .xoo-wsc-smr-ptotal {
    display: none !important;
}

.xoo-wsc-modal .xoo-wsc-smr-del {
    position: absolute;
    top: 24px;
    right: 0;
    color: #716a60;
    font-size: 16px;
    transition: color 0.2s ease;
}

.xoo-wsc-modal .xoo-wsc-smr-del:hover {
    color: #9e8256;
}

.xoo-wsc-modal .xoo-wsc-footer {
    padding: 20px;
    background: #fff;
    border-top: 1px solid #ded5c8;
    box-shadow: 0 -10px 28px rgba(43, 38, 33, 0.06);
}

.xoo-wsc-modal .xoo-wsc-ft-totals {
    margin: 0 0 16px;
}

.xoo-wsc-modal .xoo-wsc-ft-amt {
    color: #2b2621;
    font-size: 14px;
}

.xoo-wsc-modal .xoo-wsc-ft-amt-label {
    font-weight: 500;
    letter-spacing: 0.03em;
}

.xoo-wsc-modal .xoo-wsc-ft-amt-value {
    font-family: "Libre Baskerville", Georgia, serif;
    font-size: 21px;
    font-weight: 400;
}

.xoo-wsc-modal .xoo-wsc-ft-buttons-cont {
    display: grid;
    gap: 10px;
}

.xoo-wsc-modal .xoo-wsc-ft-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 50px !important;
    min-height: 50px;
    margin: 0;
    border: 1px solid #b99b6b;
    border-radius: 0;
    background: #b99b6b;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    line-height: 1.2 !important;
    text-transform: uppercase;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.xoo-wsc-modal .xoo-wsc-ft-btn-cart {
    background: transparent !important;
    color: #2b2621 !important;
}

.xoo-wsc-modal .xoo-wsc-ft-btn .amount {
    margin: 0 0 0 6px;
    color: inherit !important;
    font: inherit !important;
    letter-spacing: inherit !important;
    line-height: inherit !important;
    text-transform: inherit !important;
}

.xoo-wsc-modal .xoo-wsc-ft-btn .woocommerce-Price-currencySymbol {
    margin: 0;
    color: inherit !important;
    font: inherit !important;
}

.xoo-wsc-modal .xoo-wsc-ft-btn:hover,
.xoo-wsc-modal .xoo-wsc-ft-btn:focus-visible {
    border-color: #2b2621;
    background: #2b2621;
    color: #fff;
}

.xoo-wsc-modal .xoo-wsc-ft-btn:focus-visible,
.xoo-wsc-modal .xoo-wsch-close:focus-visible,
.xoo-wsc-modal .xoo-wsc-smr-del:focus-visible {
    outline: 2px solid #2b2621;
    outline-offset: 3px;
}

@media (max-width: 480px) {
    .xoo-wsc-modal .xoo-wsc-header,
    .xoo-wsc-modal .xoo-wsc-footer {
        padding-right: 16px;
        padding-left: 16px;
    }

    .xoo-wsc-modal .xoo-wsc-body {
        padding-right: 16px;
        padding-left: 16px;
    }

    .xoo-wsc-modal .xoo-wsc-product {
        grid-template-columns: 88px minmax(0, 1fr) !important;
        gap: 14px;
    }

    .xoo-wsc-modal .xoo-wsc-img-col,
    .xoo-wsc-modal .xoo-wsc-img-col img {
        width: 88px !important;
        min-width: 88px !important;
        max-width: 88px !important;
    }

    .xoo-wsc-modal .xoo-wsc-img-col img {
        height: 116px !important;
    }
}


/* Mobile checkout layout */
@media (max-width: 640px) {
  .woocommerce-checkout .velas-co-grid,
  .woocommerce-checkout .velas-co-grid > div,
  .woocommerce-checkout .velas-co-grid > div > div,
  .woocommerce-checkout .velas-field-row,
  .woocommerce-checkout .velas-field,
  .woocommerce-checkout .velas-checkout-input {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
  .woocommerce-checkout .velas-co-grid,
  .woocommerce-checkout .velas-field-row {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .woocommerce-checkout .velas-checkout-input {
    padding: 12px 16px !important;
  }
}
/*
Theme Name: Velas
Theme URI: https://velas.ma
Description: Child theme for Velas - Bougies Parfumées d'Exception. Dark luxury design with Tailwind CSS.
Author: Velas Team
Author URI: https://velas.ma
Template: hello-commerce
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: velas
Tags: e-commerce, luxury, dark-theme, woocommerce
*/

/* Import parent theme styles */
@import url('../hello-commerce/style.css');

/* Velas Brand Colors */
:root {
    --velas-bg: #050505;
    --velas-surface: #0a0a0a;
    --velas-gold: #bda47b;
    --velas-gold-light: #dccba8;
    --velas-text: #e6e3da;
    --velas-text-muted: #9a968d;
    --velas-border: #2a2824;
}

/* ── Velas polish pass: tighter premium header, clearer first fold ───────── */
.velas-site-header {
    min-height: 92px;
}

.velas-site-header nav a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    position: relative;
}

.velas-site-header nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 8px;
    height: 1px;
    background: var(--velas-gold);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 220ms ease;
}

.velas-site-header nav a:hover::after,
.velas-site-header nav a:focus-visible::after {
    transform: scaleX(1);
}

.velas-site-header a:focus-visible,
.velas-site-header button:focus-visible,
.velas-home-hero a:focus-visible,
.formulas-stacked button:focus-visible,
.formulas-stacked a:focus-visible {
    outline: 2px solid var(--velas-gold-light) !important;
    outline-offset: 4px;
}

.velas-home-hero video,
.velas-home-hero .absolute[style*="background-image"] {
    filter: saturate(0.94) contrast(1.05);
}

.velas-home-hero h1 {
    letter-spacing: 0;
}

.velas-home-hero a {
    backdrop-filter: blur(4px);
    background: rgba(5, 5, 5, 0.1);
}

.velas-variation-note {
    background: #FBF9F6;
    border: 1px solid rgba(185, 155, 107, 0.28);
    padding: 14px 16px;
}

.variable-items-wrapper {
    gap: 8px !important;
}

.variable-items-wrapper .variable-item {
    min-width: 44px !important;
    min-height: 44px !important;
    border-radius: 2px !important;
    box-shadow: none !important;
    border: 1px solid #E4D9CA !important;
    transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease !important;
}

.variable-items-wrapper .variable-item:hover,
.variable-items-wrapper .variable-item:focus-visible {
    border-color: #B99B6B !important;
    transform: translateY(-1px);
}

.variable-items-wrapper .variable-item.selected,
.variable-items-wrapper .variable-item[aria-checked="true"] {
    border-color: #B99B6B !important;
    background: #F4F0EA !important;
}

.variable-items-wrapper .variable-item-span-button {
    padding: 0 12px !important;
    font-size: 11px !important;
    letter-spacing: 0.04em;
}

.velas-whatsapp-btn {
    width: 52px !important;
    height: 52px !important;
    bottom: 1.5rem !important;
    left: 1.5rem !important;
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.24) !important;
}

@media (min-width: 1024px) {
    .velas-site-header {
        min-height: 104px;
    }
}

@media (max-width: 1023px) {
    .velas-site-header {
        min-height: 88px;
    }
}

@media (max-width: 768px) {
    .velas-whatsapp-btn {
        width: 46px !important;
        height: 46px !important;
        bottom: 1rem !important;
        left: 1rem !important;
    }

    body.single-product .velas-whatsapp-btn {
        width: 40px !important;
        height: 40px !important;
        bottom: 0.75rem !important;
        left: 0.75rem !important;
    }

    body.single-product .xoo-wsc-basket {
        width: 50px !important;
        height: 50px !important;
        right: 0.75rem !important;
        bottom: 0.75rem !important;
    }

    body.single-product .xoo-wsc-items-count {
        width: 22px !important;
        height: 22px !important;
        line-height: 22px !important;
        font-size: 11px !important;
        top: -6px !important;
        left: -6px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .velas-site-header nav a::after,
    .variable-items-wrapper .variable-item,
    .velas-whatsapp-btn {
        transition: none !important;
    }
}

/* Force dark background */
body {
    background-color: var(--velas-bg) !important;
    color: var(--velas-text) !important;
}

/* Elementor overrides */
.elementor-section {
    background-color: var(--velas-bg);
}

.elementor-widget-html {
    background-color: transparent;
}
/* Alternative selector if the above doesnt work */
body.page-id-403 div.bg-\[\#F4F0EA\]:has(h4) {
    display: none !important;
}

/* Fallback selector */
body.page-id-403 .bg-\[\#F4F0EA\].p-5.mt-8.rounded-sm.flex.items-center.gap-4 {
    display: none !important;
}
/* Hide gift section on panier page */
.page-id-11 .bg-\[\#F4F0EA\].p-5.mt-8.rounded-sm.flex.items-center.gap-4 {
    display: none !important;
}

/* Alternative selector */
.page-id-11 div.bg-\[\#F4F0EA\]:has(h4:contains("cadeau")) {
    display: none !important;
}

/* Custom quantity plus/minus buttons */
.qty-plus, .qty-minus {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.qty-plus:hover, .qty-minus:hover {
    color: #B99B6B;
}

.custom-quantity-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid #EBE5DB;
    border-radius: 0.125rem;
    overflow: hidden;
}

.custom-quantity-wrapper input.qty {
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.custom-quantity-wrapper .qty-minus {
    border-right: 1px solid #EBE5DB;
}

.custom-quantity-wrapper .qty-plus {
    border-left: 1px solid #EBE5DB;
}


/* Empty Cart Styling */
.empty-cart-icon {
    font-size: 4rem;
    color: #B99B6B;
    margin-bottom: 1rem;
}

.empty-cart-title {
    font-size: 2rem;
    font-family: serif;
    color: #2B2621;
    margin-bottom: 1rem;
}

.empty-cart-description {
    color: #716A60;
    max-width: 400px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.empty-cart-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #9E8256;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 1rem 2rem;
    border-radius: 0.125rem;
    transition: background-color 0.2s ease;
}

.empty-cart-button:hover {
    background-color: #856b46;
}
/*
Theme Name: Velas
Theme URI: https://velas.ma
Description: Child theme for Velas - Bougies Parfumées d'Exception. Dark luxury design with Tailwind CSS.
Author: Velas Team
Author URI: https://velas.ma
Template: hello-commerce
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: velas
Tags: e-commerce, luxury, dark-theme, woocommerce
*/

/* Import parent theme styles */
@import url('../hello-commerce/style.css');

/* Velas Brand Colors */
:root {
    --velas-bg: #050505;
    --velas-surface: #0a0a0a;
    --velas-gold: #bda47b;
    --velas-gold-light: #dccba8;
    --velas-text: #e6e3da;
    --velas-text-muted: #9a968d;
    --velas-border: #2a2824;
}

/* ── Velas polish pass: tighter premium header, clearer first fold ───────── */
.velas-site-header {
    min-height: 92px;
}

.velas-site-header nav a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    position: relative;
}

.velas-site-header nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 8px;
    height: 1px;
    background: var(--velas-gold);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 220ms ease;
}

.velas-site-header nav a:hover::after,
.velas-site-header nav a:focus-visible::after {
    transform: scaleX(1);
}

.velas-site-header a:focus-visible,
.velas-site-header button:focus-visible,
.velas-home-hero a:focus-visible,
.formulas-stacked button:focus-visible,
.formulas-stacked a:focus-visible {
    outline: 2px solid var(--velas-gold-light) !important;
    outline-offset: 4px;
}

.velas-home-hero video,
.velas-home-hero .absolute[style*="background-image"] {
    filter: saturate(0.94) contrast(1.05);
}

.velas-home-hero h1 {
    letter-spacing: 0;
}

.velas-home-hero a {
    backdrop-filter: blur(4px);
    background: rgba(5, 5, 5, 0.1);
}

.velas-variation-note {
    background: #FBF9F6;
    border: 1px solid rgba(185, 155, 107, 0.28);
    padding: 14px 16px;
}

.variable-items-wrapper {
    gap: 8px !important;
}

.variable-items-wrapper .variable-item {
    min-width: 44px !important;
    min-height: 44px !important;
    border-radius: 2px !important;
    box-shadow: none !important;
    border: 1px solid #E4D9CA !important;
    transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease !important;
}

.variable-items-wrapper .variable-item:hover,
.variable-items-wrapper .variable-item:focus-visible {
    border-color: #B99B6B !important;
    transform: translateY(-1px);
}

.variable-items-wrapper .variable-item.selected,
.variable-items-wrapper .variable-item[aria-checked="true"] {
    border-color: #B99B6B !important;
    background: #F4F0EA !important;
}

.variable-items-wrapper .variable-item-span-button {
    padding: 0 12px !important;
    font-size: 11px !important;
    letter-spacing: 0.04em;
}

.velas-whatsapp-btn {
    width: 52px !important;
    height: 52px !important;
    bottom: 1.5rem !important;
    left: 1.5rem !important;
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.24) !important;
}

@media (min-width: 1024px) {
    .velas-site-header {
        min-height: 104px;
    }
}

@media (max-width: 1023px) {
    .velas-site-header {
        min-height: 88px;
    }
}

@media (max-width: 768px) {
    .velas-whatsapp-btn {
        width: 46px !important;
        height: 46px !important;
        bottom: 1rem !important;
        left: 1rem !important;
    }

    body.single-product .velas-whatsapp-btn {
        width: 40px !important;
        height: 40px !important;
        bottom: 0.75rem !important;
        left: 0.75rem !important;
    }

    body.single-product .xoo-wsc-basket {
        width: 50px !important;
        height: 50px !important;
        right: 0.75rem !important;
        bottom: 0.75rem !important;
    }

    body.single-product .xoo-wsc-items-count {
        width: 22px !important;
        height: 22px !important;
        line-height: 22px !important;
        font-size: 11px !important;
        top: -6px !important;
        left: -6px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .velas-site-header nav a::after,
    .variable-items-wrapper .variable-item,
    .velas-whatsapp-btn {
        transition: none !important;
    }
}

/* Force dark background */
body {
    background-color: var(--velas-bg) !important;
    color: var(--velas-text) !important;
}

/* Elementor overrides */
.elementor-section {
    background-color: var(--velas-bg);
}

.elementor-widget-html {
    background-color: transparent;
}
/* Alternative selector if the above doesnt work */
body.page-id-403 div.bg-\[\#F4F0EA\]:has(h4) {
    display: none !important;
}

/* Fallback selector */
body.page-id-403 .bg-\[\#F4F0EA\].p-5.mt-8.rounded-sm.flex.items-center.gap-4 {
    display: none !important;
}
/* Hide gift section on panier page */
.page-id-11 .bg-\[\#F4F0EA\].p-5.mt-8.rounded-sm.flex.items-center.gap-4 {
    display: none !important;
}

/* Alternative selector */
.page-id-11 div.bg-\[\#F4F0EA\]:has(h4:contains("cadeau")) {
    display: none !important;
}

/* Custom quantity plus/minus buttons */
.qty-plus, .qty-minus {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.qty-plus:hover, .qty-minus:hover {
    color: #B99B6B;
}

.custom-quantity-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid #EBE5DB;
    border-radius: 0.125rem;
    overflow: hidden;
}

.custom-quantity-wrapper input.qty {
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.custom-quantity-wrapper .qty-minus {
    border-right: 1px solid #EBE5DB;
}

.custom-quantity-wrapper .qty-plus {
    border-left: 1px solid #EBE5DB;
}


/* Empty Cart Styling */
.empty-cart-icon {
    font-size: 4rem;
    color: #B99B6B;
    margin-bottom: 1rem;
}

.empty-cart-title {
    font-size: 2rem;
    font-family: serif;
    color: #2B2621;
    margin-bottom: 1rem;
}

.empty-cart-description {
    color: #716A60;
    max-width: 400px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.empty-cart-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #9E8256;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 1rem 2rem;
    border-radius: 0.125rem;
    transition: background-color 0.2s ease;
}

.empty-cart-button:hover {
    background-color: #856b46;
}


/* Mobile checkout layout */
@media (max-width: 640px) {
  .woocommerce-checkout .velas-co-grid,
  .woocommerce-checkout .velas-co-grid > div,
  .woocommerce-checkout .velas-co-grid > div > div,
  .woocommerce-checkout .velas-field-row,
  .woocommerce-checkout .velas-field,
  .woocommerce-checkout .velas-checkout-input {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
  .woocommerce-checkout .velas-co-grid,
  .woocommerce-checkout .velas-field-row {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .woocommerce-checkout .velas-checkout-input {
    padding: 12px 16px !important;
  }
}
/*
Theme Name: Velas
Theme URI: https://velas.ma
Description: Child theme for Velas - Bougies Parfumées d'Exception. Dark luxury design with Tailwind CSS.
Author: Velas Team
Author URI: https://velas.ma
Template: hello-commerce
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: velas
Tags: e-commerce, luxury, dark-theme, woocommerce
*/

/* Import parent theme styles */
@import url('../hello-commerce/style.css');

/* Velas Brand Colors */
:root {
    --velas-bg: #050505;
    --velas-surface: #0a0a0a;
    --velas-gold: #bda47b;
    --velas-gold-light: #dccba8;
    --velas-text: #e6e3da;
    --velas-text-muted: #9a968d;
    --velas-border: #2a2824;
}

/* ── Velas polish pass: tighter premium header, clearer first fold ───────── */
.velas-site-header {
    min-height: 92px;
}

.velas-site-header nav a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    position: relative;
}

.velas-site-header nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 8px;
    height: 1px;
    background: var(--velas-gold);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 220ms ease;
}

.velas-site-header nav a:hover::after,
.velas-site-header nav a:focus-visible::after {
    transform: scaleX(1);
}

.velas-site-header a:focus-visible,
.velas-site-header button:focus-visible,
.velas-home-hero a:focus-visible,
.formulas-stacked button:focus-visible,
.formulas-stacked a:focus-visible {
    outline: 2px solid var(--velas-gold-light) !important;
    outline-offset: 4px;
}

.velas-home-hero video,
.velas-home-hero .absolute[style*="background-image"] {
    filter: saturate(0.94) contrast(1.05);
}

.velas-home-hero h1 {
    letter-spacing: 0;
}

.velas-home-hero a {
    backdrop-filter: blur(4px);
    background: rgba(5, 5, 5, 0.1);
}

.velas-variation-note {
    background: #FBF9F6;
    border: 1px solid rgba(185, 155, 107, 0.28);
    padding: 14px 16px;
}

.variable-items-wrapper {
    gap: 8px !important;
}

.variable-items-wrapper .variable-item {
    min-width: 44px !important;
    min-height: 44px !important;
    border-radius: 2px !important;
    box-shadow: none !important;
    border: 1px solid #E4D9CA !important;
    transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease !important;
}

.variable-items-wrapper .variable-item:hover,
.variable-items-wrapper .variable-item:focus-visible {
    border-color: #B99B6B !important;
    transform: translateY(-1px);
}

.variable-items-wrapper .variable-item.selected,
.variable-items-wrapper .variable-item[aria-checked="true"] {
    border-color: #B99B6B !important;
    background: #F4F0EA !important;
}

.variable-items-wrapper .variable-item-span-button {
    padding: 0 12px !important;
    font-size: 11px !important;
    letter-spacing: 0.04em;
}

.velas-whatsapp-btn {
    width: 52px !important;
    height: 52px !important;
    bottom: 1.5rem !important;
    left: 1.5rem !important;
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.24) !important;
}

@media (min-width: 1024px) {
    .velas-site-header {
        min-height: 104px;
    }
}

@media (max-width: 1023px) {
    .velas-site-header {
        min-height: 88px;
    }
}

@media (max-width: 768px) {
    .velas-whatsapp-btn {
        width: 46px !important;
        height: 46px !important;
        bottom: 1rem !important;
        left: 1rem !important;
    }

    body.single-product .velas-whatsapp-btn {
        width: 40px !important;
        height: 40px !important;
        bottom: 0.75rem !important;
        left: 0.75rem !important;
    }

    body.single-product .xoo-wsc-basket {
        width: 50px !important;
        height: 50px !important;
        right: 0.75rem !important;
        bottom: 0.75rem !important;
    }

    body.single-product .xoo-wsc-items-count {
        width: 22px !important;
        height: 22px !important;
        line-height: 22px !important;
        font-size: 11px !important;
        top: -6px !important;
        left: -6px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .velas-site-header nav a::after,
    .variable-items-wrapper .variable-item,
    .velas-whatsapp-btn {
        transition: none !important;
    }
}

/* Force dark background */
body {
    background-color: var(--velas-bg) !important;
    color: var(--velas-text) !important;
}

/* Elementor overrides */
.elementor-section {
    background-color: var(--velas-bg);
}

.elementor-widget-html {
    background-color: transparent;
}
/* Alternative selector if the above doesnt work */
body.page-id-403 div.bg-\[\#F4F0EA\]:has(h4) {
    display: none !important;
}

/* Fallback selector */
body.page-id-403 .bg-\[\#F4F0EA\].p-5.mt-8.rounded-sm.flex.items-center.gap-4 {
    display: none !important;
}
/* Hide gift section on panier page */
.page-id-11 .bg-\[\#F4F0EA\].p-5.mt-8.rounded-sm.flex.items-center.gap-4 {
    display: none !important;
}

/* Alternative selector */
.page-id-11 div.bg-\[\#F4F0EA\]:has(h4:contains("cadeau")) {
    display: none !important;
}

/* Custom quantity plus/minus buttons */
.qty-plus, .qty-minus {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.qty-plus:hover, .qty-minus:hover {
    color: #B99B6B;
}

.custom-quantity-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid #EBE5DB;
    border-radius: 0.125rem;
    overflow: hidden;
}

.custom-quantity-wrapper input.qty {
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.custom-quantity-wrapper .qty-minus {
    border-right: 1px solid #EBE5DB;
}

.custom-quantity-wrapper .qty-plus {
    border-left: 1px solid #EBE5DB;
}


/* Empty Cart Styling */
.empty-cart-icon {
    font-size: 4rem;
    color: #B99B6B;
    margin-bottom: 1rem;
}

.empty-cart-title {
    font-size: 2rem;
    font-family: serif;
    color: #2B2621;
    margin-bottom: 1rem;
}

.empty-cart-description {
    color: #716A60;
    max-width: 400px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.empty-cart-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #9E8256;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 1rem 2rem;
    border-radius: 0.125rem;
    transition: background-color 0.2s ease;
}

.empty-cart-button:hover {
    background-color: #856b46;
}
