/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/

/* Hide product hover content */
.fade-in-block.wd-scroll {
    display: none !important;
}

/* Style quote buttons */
.add-request-quote-button,
.yith-add-button {
    background-color: #cddc39;
    color: #333 !important;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    text-transform: uppercase;
    font-size: 13px;
    cursor: pointer;
}

.add-request-quote-button:hover,
.yith-add-button:hover {
    background-color: #c0cf33;
}

/* Style view quote button */
.view-quote-button {
    background-color: #4CAF50;
    color: #fff !important;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    text-transform: uppercase;
    font-size: 13px;
    cursor: pointer;
}

.view-quote-button:hover {
    background-color: #45a049;
    color: #fff !important;
}

/* EUR price wrapper - adds spacing between BGN and EUR prices */
.eur-price-wrapper {
    margin-left: 10px;
    display: inline-block;
}

/* Center "ЦЕНА ПО ЗАПИТВАНЕ" text in product area */
.price-on-request {
    text-align: center !important;
    display: block !important;
    width: 100% !important;
}

/* Ensure sticky footer shows on desktop */
@media (min-width: 769px) {
    .single-product .wd-sticky-add-to-cart {
        display: block !important;
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 999 !important;
        background: #fff !important;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1) !important;
    }
    
    .single-product .wd-sticky-add-to-cart .wd-sticky-btn-cart {
        display: flex !important;
        align-items: center !important;
        gap: 15px;
    }
    
    /* Style the quote button in sticky footer */
    .wd-sticky-btn-cart .add-request-quote-button {
        background-color: #cddc39 !important;
        color: #333 !important;
        padding: 10px 20px;
        border-radius: 4px;
        text-decoration: none;
        font-weight: 600;
        text-transform: uppercase;
        border: none;
    }
    
    .wd-sticky-btn-cart .add-request-quote-button:hover {
        background-color: #c0cf33 !important;
    }
}

/* Hide cart in mobile sticky toolbar - only on mobile */
@media (max-width: 768px) {
    .wd-toolbar .wd-header-cart {
        display: none !important;
    }
}

/* Style quote button in mobile toolbar */
.wd-header-quote {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.wd-header-quote a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
    padding: 5px;
}

.wd-header-quote .wd-tools-icon {
    position: relative;
    margin-bottom: 2px;
}

/* Use YITH quote icon font */
.wd-header-quote .ywraq-quote-icon-icon_quote {
    font-family: 'ywraq-quote-icon' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 24px;
}

.wd-header-quote .ywraq-quote-icon-icon_quote:before {
    content: "\e904";
}

/* Quote count badge */
.wd-header-quote .raq-count {
    position: absolute;
    top: -5px;
    right: -8px;
    background: #ff0000;
    color: #fff;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
}

.wd-header-quote .wd-toolbar-label {
    font-size: 9px;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.2;
    max-width: 100%;
    word-break: break-word;
}

