/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/


/* AURAEDE DARK LUXURY WOODMART GLOBAL OVERRIDES - managed via Hermes */
/* FORCE PITCH-BLACK CANVAS */
body, 
.main-page-wrapper, 
.single-product-page, 
.tabs-layout-tabs,
.wd-prefooter {
    background-color: #0d0d0d !important;
    color: #ffffff !important;
}

/* TYPOGRAPHY LUXURY TEXT CONTRAST */
.product_title, 
.wd-entities-title, 
h1, h2, h3, h4, h5, h6,
.price, .amount, ins .amount {
    color: #ffffff !important;
    font-family: 'Playfair Display', serif !important;
}

/* CLEAN BREADCRUMBS */
.woocommerce-breadcrumb {
    color: #888888 !important;
}
.woocommerce-breadcrumb a {
    color: #C9A65A !important;
}

/* QUANTITY SELECTOR LUXURY OVERRIDE */
.quantity input[type="number"],
.quantity .plus, 
.quantity .minus {
    background-color: #161616 !important;
    color: #ffffff !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
}

/* LUXURY BURGUNDY ADD TO CART BUTTON */
.single_add_to_cart_button.button, 
button.button.alt.wd-buy-now-btn {
    background-color: #5C1D24 !important;
    color: #ffffff !important;
    text-transform: uppercase !important;
    letter-spacing: 0.2em !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 0 25px !important;
    height: 44px !important;
    transition: background-color 0.3s ease !important;
}
.single_add_to_cart_button.button:hover {
    background-color: #73242D !important;
}

/* REMOVE DEFAULT RED CATEGORY BAR SEEN IN IMAGE_47BA1F.PNG */
.whb-secondary-header,
.wd-purchase-theme-btn {
    display: none !important;
}

/* AURAEDE WOODMART FALLBACK HARDENING */
.website-wrapper,
.main-page-wrapper,
.container,
.site-content,
.product-image-summary,
.wd-single-product-content,
.woocommerce-tabs,
.related-products,
.cart-content-wrapper,
.cart-totals-section,
.woocommerce-cart-form,
.woocommerce-checkout,
.checkout-order-review,
.woocommerce-order {
    background-color: #0d0d0d !important;
    color: #ffffff !important;
}
.whb-header,
.whb-main-header,
.whb-general-header,
.whb-header-bottom,
.whb-row,
.site-header,
header.whb-header {
    background: rgba(10,10,10,.96) !important;
    border-color: rgba(255,255,255,.08) !important;
    color: #ffffff !important;
}
.whb-header .wd-logo img,
.whb-header .site-logo img,
.whb-header .woodmart-logo img {
    max-height: 38px !important;
    filter: sepia(1) saturate(1.35) hue-rotate(2deg) brightness(1.08) !important;
}
.whb-header .wd-logo a::after,
.whb-header .site-logo a::after,
.whb-header .woodmart-logo a::after {
    content: 'AURAEDE';
    display: inline-flex;
    align-items: center;
    margin-left: 0;
    color: #D4AF37 !important;
    font-family: 'Cormorant Garamond','Playfair Display',serif !important;
    font-size: 24px;
    font-weight: 300;
    letter-spacing: .38em;
}
.whb-header .wd-logo img,
.whb-header .site-logo img,
.whb-header .woodmart-logo img,
.whb-header .wd-logo .woodmart-logo,
.whb-header .woodmart-logo .woodmart-logo {
    display: none !important;
}
.whb-secondary-menu,
.whb-header-bottom,
.wd-header-cats,
.wd-nav-product-cat,
.wd-tools-element.wd-header-cats,
.categories-menu-dropdown,
.menu-opener,
.wd-nav[class*="category"],
.wd-nav-secondary,
.wd-nav-vertical,
.wd-header-secondary-nav,
.whb-secondary-header .wd-nav,
.whb-header-bottom .wd-nav {
    display: none !important;
}
.single-product .product_title,
.single-product-page .product_title {
    color: #ffffff !important;
    font-family: 'Playfair Display', Georgia, serif !important;
    letter-spacing: .04em !important;
    font-weight: 500 !important;
}
.single-product .summary,
.single-product .woocommerce-product-details__short-description,
.single-product .woocommerce-Tabs-panel,
.single-product .product_meta,
.single-product .product_meta a,
.single-product .sku_wrapper,
.single-product .posted_in,
.single-product .tagged_as {
    color: rgba(255,255,255,.62) !important;
    font-weight: 300 !important;
}
.single-product .posted_in a,
.single-product .tagged_as a,
.product_meta a,
.wd-product-cats a {
    color: #D4AF37 !important;
}
.single-product .woocommerce-product-gallery,
.single-product .product-images,
.single-product .product-image-wrap,
.single-product .woocommerce-product-gallery__wrapper {
    background: linear-gradient(180deg,#1C1612,#0D0D0D) !important;
    border: 1px solid rgba(255,255,255,.03) !important;
    border-radius: 22px !important;
    padding: 24px !important;
}
.single-product .cart,
.single-product .variations_form,
.single-product .summary-inner,
.cart_totals,
.shop_table,
.woocommerce-cart-form__contents,
.woocommerce-checkout-review-order-table {
    background: rgba(22,22,22,.72) !important;
    border: 1px solid rgba(255,255,255,.08) !important;
    border-radius: 18px !important;
    color: #ffffff !important;
}
.shop_table th,
.shop_table td,
.cart_totals th,
.cart_totals td,
.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
    border-color: rgba(255,255,255,.08) !important;
    color: rgba(255,255,255,.74) !important;
}
.button,
.wc-forward,
.checkout-button,
.woocommerce-button,
.woocommerce-mini-cart__buttons .button {
    border-radius: 10px !important;
    text-transform: uppercase !important;
    letter-spacing: .18em !important;
    font-size: 11px !important;
    font-weight: 800 !important;
}
.checkout-button,
.button.alt,
.wc-forward.checkout,
.woocommerce-mini-cart__buttons .checkout {
    background: #D4AF37 !important;
    color: #0d0d0d !important;
}
input, textarea, select,
.select2-container--default .select2-selection--single {
    background-color: #161616 !important;
    color: #ffffff !important;
    border-color: rgba(255,255,255,.12) !important;
}
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    background: rgba(22,22,22,.96) !important;
    border-color: rgba(212,175,55,.28) !important;
    color: #ffffff !important;
}
@media (max-width: 768px) {
    .single-product .woocommerce-product-gallery,
    .single-product .product-images,
    .single-product .product-image-wrap,
    .single-product .woocommerce-product-gallery__wrapper {
        border-radius: 18px !important;
        padding: 16px !important;
    }
}


/* AURAEDE MOBILE TOUCH ROUTING FIX - managed via Hermes */
@media (max-width: 1024px) {
    /* Prevent custom hover layouts from hijacking the first tap on mobile */
    .wd-hover-base.wd-hover-with-fade .product-element-top,
    .product-grid-item,
    .wd-hover-base .product-wrapper {
        pointer-events: auto !important;
    }
    
    /* Ensure the main product link fills the absolute container on mobile */
    .product-element-top > a,
    .wd-entities-title a {
        display: block !important;
        position: relative !important;
        z-index: 5 !important;
    }

    /* Ensure absolute elements like Favorites button don't throw an invisible giant block */
    .wd-buttons.wd-pos-r-t {
        z-index: 10 !important;
        pointer-events: auto !important;
    }
    
    /* Kill any dead pseudo-element overlays blocking touch on screens */
    .product-grid-item:after {
        display: none !important;
    }

    /* AURAEDE custom cards: allow the card surface to receive tap, but keep CTA controls isolated */
    .aur-card,
    .aur-card .aur-image-box,
    .aur-card .aur-meta,
    .aur-card .aur-name,
    .aur-card .aur-product-img {
        pointer-events: auto !important;
        touch-action: manipulation !important;
        -webkit-tap-highlight-color: rgba(212,175,55,.18) !important;
    }
    .aur-card .aur-heart,
    .aur-card [data-aur-add-to-cart],
    .aur-card [data-aur-buy-now],
    .aur-card [data-aur-qty] {
        pointer-events: auto !important;
        touch-action: manipulation !important;
        position: relative !important;
        z-index: 30 !important;
    }
    .aur-card:after,
    .aur-card:before {
        pointer-events: none !important;
    }

    /* Mobile bottom navigation must not create a full-screen invisible overlay */
    html body nav.aur-global-mobilebar {
        height: calc(55px + env(safe-area-inset-bottom,0px)) !important;
        min-height: calc(55px + env(safe-area-inset-bottom,0px)) !important;
        max-height: calc(55px + env(safe-area-inset-bottom,0px)) !important;
        overflow: hidden !important;
        pointer-events: auto !important;
        contain: layout paint !important;
    }
    html body nav.aur-global-mobilebar > .aur-global-mobilebar-grid {
        height: 55px !important;
        min-height: 55px !important;
        max-height: 55px !important;
        pointer-events: auto !important;
    }
    html body nav.aur-global-mobilebar > .aur-global-mobilebar-grid > a {
        pointer-events: auto !important;
    }
    html body .aur-global-backdrop:not(.open),
    html body .aur-global-drawer:not(.open) {
        pointer-events: none !important;
    }
}

/* ==========================================================================
   AURAEDE VISUAL PURGE: TRUST BADGES + PDP CLEANUP
   ========================================================================== */

/* ==========================================================================
   1. EMERGENCY FIX: SHRINK MASSIVE TRUST BADGES & REMOVE SOLID GOLD BLOCKS
   ========================================================================== */
/* Dissolve any massive colored/gold/gray background blocks behind trust badges */
.product-share,
.wd-single-action,
div[class*="trust-badge"],
div[class*="security-block"],
.checkout-benefits,
.single-product .summary > div[class*="custom-block"] {
    background-color: transparent !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 20px 0 !important;
    margin: 20px 0 !important;
    width: 100% !important;
}

/* Force massive Lock and Star icons to scale down to elegant micro-luxury dimensions */
div[class*="trust-badge"] img,
div[class*="trust-badge"] svg,
.checkout-benefits img,
img[src*="lock"], 
img[src*="star"],
img[src*="trust"] {
    max-height: 40px !important;
    width: auto !important;
    display: inline-block !important;
    margin: 0 auto 10px auto !important;
    filter: brightness(1) !important;
}

/* Align badge items horizontally or into clean, small rows */
div[class*="trust-badge"] .elementor-column,
.checkout-benefits .benefit-item {
    text-align: center !important;
    margin-bottom: 15px !important;
}

/* AURAEDE custom PDP trust/payment containment */
.apdp .aur-trust-section,
.apdp .aur-pay-security,
.apdp .aur-trust-grid,
.apdp .apdp-trust,
.apdp .apdp-secure,
.apdp .apdp-payments {
    background: transparent !important;
    background-color: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}
.apdp .aur-trust-section {
    padding: 18px 0 !important;
    margin: 18px 0 !important;
}
.apdp .aur-trust-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
}
.apdp .aur-trust-card {
    min-height: 52px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 12px 10px !important;
    border-radius: 12px !important;
    background: rgba(255,255,255,0.035) !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    color: #d6d3d1 !important;
    box-shadow: none !important;
}
.apdp .aur-trust-card svg,
.apdp .aur-pay-badge svg,
.apdp .apdp-trust svg,
.apdp .apdp-secure svg {
    width: 18px !important;
    height: 18px !important;
    max-width: 18px !important;
    max-height: 18px !important;
    flex: 0 0 18px !important;
    color: #D4AF37 !important;
    fill: currentColor !important;
    stroke: none !important;
}
.apdp .aur-trust-card span,
.apdp .aur-pay-security-label {
    color: #d6d3d1 !important;
    font-size: 11px !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
}
.apdp .aur-pay-security {
    margin-top: 12px !important;
    padding: 0 !important;
}
.apdp .aur-pay-strip {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    justify-content: flex-start !important;
    align-items: center !important;
    margin-top: 10px !important;
}
.apdp .aur-pay-badge {
    width: 46px !important;
    height: 28px !important;
    min-width: 46px !important;
    max-width: 46px !important;
    padding: 6px 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 8px !important;
    background: rgba(255,255,255,0.96) !important;
    border: 1px solid rgba(212,175,55,0.18) !important;
    box-shadow: none !important;
}
.apdp .aur-pay-badge svg {
    width: 28px !important;
    height: 14px !important;
    max-width: 28px !important;
    max-height: 14px !important;
    color: #111111 !important;
    fill: #111111 !important;
}

/* ==========================================================================
   2. OBLITERATE UNWANTED CONTAINER BACKGROUND BOXES & LIGHT THEME LEAKS
   ========================================================================== */
.single-product .entry-summary,
.single-product .summary,
.wd-single-info,
.wd-single-info-wrap,
.product-image-summary,
.summary-inner,
.woocommerce-product-details__short-description,
.product_meta {
    background-color: transparent !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* ==========================================================================
   3. CLEANSE BREADCRUMBS & TOP NAVIGATION ZONE (Home Text Area)
   ========================================================================== */
.woocommerce-breadcrumb,
.wd-breadcrumbs,
.product-navigation,
.wd-products-nav,
.single-product-custom-block {
    background-color: transparent !important;
    background: none !important;
    color: #ffffff !important;
    border: none !important;
}
.woocommerce-breadcrumb a,
.wd-breadcrumbs a {
    color: #D4AF37 !important;
    font-weight: 500 !important;
}
.woocommerce-breadcrumb a:hover,
.wd-breadcrumbs a:hover {
    color: #ffffff !important;
}
.woocommerce-breadcrumb .breadcrumb-last,
.wd-breadcrumbs .breadcrumb-last {
    color: #888888 !important;
}
.product-navigation .products-nav-btn a,
.wd-products-nav .wd-products-nav-btn a {
    color: #ffffff !important;
    background-color: #161616 !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
}

/* ==========================================================================
   4. RECONSTRUCT PRODUCT IMAGE CANVAS & PLACEHOLDERS
   ========================================================================== */
.woocommerce-product-gallery,
.woocommerce-product-gallery__wrapper,
.woocommerce-product-gallery__image img,
.wd-carousel-item img {
    background-color: #111111 !important;
    border: 1px solid rgba(255,255,255,0.03) !important;
    border-radius: 16px !important;
}
.woocommerce-product-gallery__image--placeholder img,
img.wp-post-image.woocommerce-placeholder {
    filter: invert(1) brightness(0.2) !important;
}

/* ==========================================================================
   5. LUXURY DUAL-BUTTON ROW REFACTOR
   ========================================================================== */
.single-product .cart {
    margin-bottom: 25px !important;
}
.auraede-direct-buy-btn {
    display: block !important;
    width: 100% !important;
    margin-top: 12px !important;
    background-color: transparent !important;
    color: #D4AF37 !important;
    border: 1px solid #D4AF37 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.2em !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    height: 44px !important;
    transition: all 0.3s ease !important;
}
.auraede-direct-buy-btn:hover {
    background-color: #D4AF37 !important;
    color: #111111 !important;
    border-color: #D4AF37 !important;
}
.auraede-direct-buy-btn .checkout-hint {
    text-transform: none !important;
    font-size: 8px !important;
    opacity: 0.7 !important;
    margin-left: 6px !important;
    letter-spacing: normal !important;
}

/* ==========================================================================
   6. COMPLETE OBLITERATION OF STOCK WOODMART FOOTER (Purges White Text Lists)
   ========================================================================== */
.main-footer,
.wd-footer,
.footer-container,
.site-info {
    display: none !important;
}
