/*
 Theme Name:   etaks.az - template
 Description:  etaks.az tərəfindən hazırlanmış xüsusi hərrac və lizinq şablonu.
 Author:       etaks.az
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart-child
 */

/* Refined Auction Loop Cards Styling */

/* Hide default WooCommerce price and standard auction elements on loop grid for auctions */
.product-grid-item.product-type-auction .wrapp-product-price {
    display: none !important;
}
.product-grid-item.product-type-auction .uwa_auction_bage_icon {
    display: none !important;
}
.product-grid-item.product-type-auction .uwa-main-auction-product-loop,
.product-grid-item.product-type-auction .uwa_auction_product_countdown {
    display: none !important;
}
.product-grid-item.product-type-auction .uwa_woo_display_winner {
    display: none !important;
}

/* Hide standard loop components on auction product cards */
.product-grid-item.product-type-auction .wd-product-header,
.product-grid-item.product-type-auction .wd-entities-title,
.product-grid-item.product-type-auction .product-title,
.product-grid-item.product-type-auction .wd-product-cats,
.product-grid-item.product-type-auction .wd-product-brands,
.product-grid-item.product-type-auction .wd-product-brands-links,
.product-grid-item.product-type-auction .product-rating-price,
.product-grid-item.product-type-auction .wd-product-sku,
.product-grid-item.product-type-auction .stock-status,
.product-grid-item.product-type-auction .wrap-price {
    display: none !important;
}


/* Dots overlay on bottom edge of the product thumbnail image */
.custom-carousel-dots-overlay {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 4px;
    z-index: 5;
    background: rgba(0, 0, 0, 0.35);
    padding: 3px 6px;
    border-radius: 10px;
}
.custom-carousel-dots-overlay .dot {
    width: 6px;
    height: 6px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: inline-block;
}
.custom-carousel-dots-overlay .dot.active {
    background-color: #ffffff;
}

/* Countdown Timer Badge prominently right under the image */
.custom-auction-badge-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background-color: #1c448c; /* Primary professional blue */
    color: #ffffff;
    font-weight: 700;
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 4px;
    margin: 8px 0;
    box-shadow: 0 2px 4px rgba(28, 68, 140, 0.15);
}
.custom-auction-badge-timer .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
}

/* Timer urgent state */
.custom-auction-badge-timer.urgent {
    background-color: #c0392b; /* Urgency red */
    animation: urgentPulse 1.2s infinite alternate;
}

/* Refined Details Card */
.custom-refined-card-details {
    padding: 8px 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Title & Brand */
.custom-refined-title {
    font-size: 14px;
    font-weight: 700;
    color: #242424;
    margin: 0 0 2px 0;
    line-height: 1.3;
}
.title-brand-separator {
    color: #ccc;
    margin: 0 4px;
}
.brand-highlight {
    color: #1c448c;
    font-weight: 600;
}

/* Category */
.custom-refined-category {
    font-size: 11px;
    color: #888;
    margin-bottom: 6px;
}

/* Current Bid block */
.custom-refined-bid {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.custom-refined-bid .bid-label {
    font-size: 11px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}
.custom-refined-bid .bid-amount {
    font-size: 18px;
    font-weight: 800;
    color: #27ae60; /* Professional green */
}
.custom-refined-bid .bid-amount .woocommerce-Price-amount {
    color: #27ae60;
}

/* Clean UI tweaks to make all product cards in the grid have borders and padding like the attached layout */
.product-grid-item.product {
    border: 1px solid #eaeaea !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02) !important;
    padding: 15px !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    transition: all 0.25s ease-in-out !important;
}
.product-grid-item.product:hover {
    border-color: #1c448c !important;
    box-shadow: 0 6px 18px rgba(28, 68, 140, 0.08) !important;
}
.product-grid-item.product .wd-product-wrapper {
    border: none !important;
    padding: 0 !important;
}
.product-grid-item.product .wd-product-thumb {
    border-radius: 6px !important;
    overflow: hidden !important;
    margin-bottom: 12px !important;
}

@keyframes urgentPulse {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.03);
        box-shadow: 0 0 6px rgba(192, 57, 43, 0.2);
    }
}

/* Custom Single Product Auction Details styling */
.single-product.product-type-auction:not(.lot-type-buy-now-only) .price {
    display: none !important;
}
.single-product.product-type-auction .uwa_auction_time,
.single-product.product-type-auction #uwa_auction_countdown,
.single-product.product-type-auction .uwa-timezone,
.single-product.product-type-auction .uwa_auction_end_time,
.single-product.product-type-auction .uwa_auction_product_timezone,
.single-product.product-type-auction .uwa_auction_reserve_met,
.single-product.product-type-auction .uwa_auction_reserve_not_met,
.single-product.product-type-auction .checkreserve {
    display: none !important;
}

.custom-single-auction-details {
    padding: 20px;
    background-color: #f7f9fc;
    border: 1px solid #eef2f7;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    font-family: inherit;
}
.single-auction-meta-row {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    margin-bottom: 12px;
}
.single-auction-meta-row .auction-cat-wrapper .auction-category {
    text-transform: uppercase;
    font-weight: bold;
    color: #777;
    background: #eef2f7;
    padding: 3px 8px;
    border-radius: 4px;
}
.single-auction-meta-row .auction-brand {
    text-transform: uppercase;
    font-weight: bold;
    color: #1c448c;
    background: rgba(28, 68, 140, 0.08);
    padding: 3px 8px;
    border-radius: 4px;
}
.single-auction-bid-row {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #e2e2e2;
}
.single-auction-bid-row .bid-current {
    display: flex;
    flex-direction: column;
}
.single-auction-bid-row .bid-label {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}
.single-auction-bid-row .bid-amount {
    font-size: 28px;
    font-weight: 800;
    color: #27ae60;
    line-height: 1.2;
    margin-top: 4px;
}
.single-auction-bid-row .bid-amount .woocommerce-Price-amount {
    color: #27ae60;
}
.single-auction-time-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    flex-wrap: wrap;
    gap: 10px;
}
.single-auction-time-row .auction-end-date {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #555;
}
.single-auction-time-row .auction-end-date .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    color: #1c448c;
}
.single-auction-time-row .auction-timer-wrapper {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #d35400;
    font-weight: bold;
}
.single-auction-time-row .auction-timer-wrapper .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    color: #d35400;
}

/* Urgent status single page */
.single-auction-time-row .auction-timer-wrapper.urgent {
    color: #c0392b;
    background: rgba(192, 57, 43, 0.08);
    padding: 4px 10px;
    border-radius: 6px;
    animation: urgentPulse 1.2s infinite alternate;
}
.single-auction-time-row .auction-timer-wrapper.urgent .dashicons {
    color: #c0392b;
}

/* Hide dots for the main product gallery carousel on single product page */
.woocommerce-product-gallery .wd-carousel-dots,
.woocommerce-product-gallery .owl-dots,
.woocommerce-product-gallery .slick-dots {
    display: none !important;
}

/* Ensure the thumbnails container is visible under the main image on all screen types */
.woocommerce-product-gallery.thumbs-position-bottom .wd-gallery-thumb,
.woocommerce-product-gallery .wd-gallery-thumb {
    display: block !important;
}

/* Force exactly 3 thumbnail images horizontally on all screen sizes */
.woocommerce-product-gallery .wd-gallery-thumb .wd-carousel {
    --wd-col-lg: 3 !important;
    --wd-col-md: 3 !important;
    --wd-col-sm: 3 !important;
}

/* Custom Image Overlay Badge on loop card */
.custom-image-overlay-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: rgba(28, 68, 140, 0.9) !important; /* Premium blue */
    color: #ffffff !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    padding: 4px 8px !important;
    border-radius: 4px !important;
    z-index: 10 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    pointer-events: none !important;
}

/* Financing Tag on loop card */
.custom-financing-tag {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 3px 8px !important;
    border-radius: 4px !important;
    margin-bottom: 6px !important;
    width: fit-content !important;
}
.custom-financing-tag.leasing-available {
    background-color: rgba(39, 174, 96, 0.1) !important;
    color: #27ae60 !important;
}
.custom-financing-tag.cash-only {
    background-color: rgba(127, 140, 141, 0.1) !important;
    color: #7f8c8d !important;
}
.custom-financing-tag .dashicons {
    font-size: 12px !important;
    width: 12px !important;
    height: 12px !important;
    line-height: 12px !important;
}

/* Deposit section on single page */
.bid-deposit-row {
    margin-top: 6px !important;
    font-size: 13px !important;
    color: #7f8c8d !important;
    font-weight: 600 !important;
    display: flex !important;
    gap: 6px !important;
    align-items: center !important;
}
.bid-deposit-row .deposit-label {
    color: #555 !important;
}
.bid-deposit-row .deposit-amount {
    color: #c0392b !important;
    font-weight: 700 !important;
}

/* Financing tag on single product summary meta */
.single-auction-meta-row .auction-financing {
    text-transform: uppercase !important;
    font-weight: bold !important;
    font-size: 10px !important;
    padding: 3px 8px !important;
    border-radius: 4px !important;
}
.single-auction-meta-row .auction-financing.leasing-available {
    color: #27ae60 !important;
    background: rgba(39, 174, 96, 0.08) !important;
}
.single-auction-meta-row .auction-financing.cash-only {
    color: #7f8c8d !important;
    background: rgba(127, 140, 141, 0.08) !important;
}

/* Bidding form secondary action button style */
/* Premium styling for single product page auction buttons */
.bid_button.button.alt,
#placebidbutton,
#placebidbutton_direct,
#exactbidbutton,
#maxbidbutton,
#uwa_purchase_submit {
    background-color: #1c448c !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    text-transform: uppercase !important;
    border-radius: 4px !important;
    padding: 12px 24px !important;
    height: 46px !important;
    border: none !important;
    transition: all 0.25s ease-in-out !important;
    box-shadow: 0 4px 6px rgba(28, 68, 140, 0.12) !important;
    cursor: pointer !important;
    width: 100% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.bid_button.button.alt:hover,
#placebidbutton:hover,
#placebidbutton_direct:hover,
#exactbidbutton:hover,
#maxbidbutton:hover,
#uwa_purchase_submit:hover {
    background-color: #15336c !important;
    box-shadow: 0 6px 12px rgba(28, 68, 140, 0.2) !important;
    transform: translateY(-1px) !important;
    color: #ffffff !important;
}

/* Premium styling for Buy Now button (Success green for direct purchase) */
.buy-now button.single_add_to_cart_button.button.alt {
    background-color: #27ae60 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    text-transform: uppercase !important;
    border-radius: 4px !important;
    padding: 12px 24px !important;
    height: 46px !important;
    border: none !important;
    transition: all 0.25s ease-in-out !important;
    box-shadow: 0 4px 6px rgba(39, 174, 96, 0.12) !important;
    cursor: pointer !important;
    width: 100% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.buy-now button.single_add_to_cart_button.button.alt:hover {
    background-color: #1e8449 !important;
    box-shadow: 0 6px 12px rgba(39, 174, 96, 0.2) !important;
    transform: translateY(-1px) !important;
    color: #ffffff !important;
}

/* Fix price text color inside WooCommerce buttons (e.g. Buy Now price contrast) */
.button.alt span.woocommerce-Price-amount,
.button.alt bdi,
.button.alt span.woocommerce-Price-currencySymbol,
.button span.woocommerce-Price-amount,
.button bdi,
.button span.woocommerce-Price-currencySymbol {
    color: inherit !important;
}

/* Bidding form secondary action button style (Leasing application toggle) */
.leasing-apply-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: transparent !important;
    border: 2px solid #1c448c !important;
    color: #1c448c !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    padding: 10px 20px !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    transition: all 0.2s ease-in-out !important;
    margin-left: 0 !important;
    margin-top: 10px !important;
    vertical-align: middle !important;
    cursor: pointer !important;
    height: 44px !important;
    width: 100% !important;
    box-shadow: none !important;
}

.leasing-apply-button:hover {
    background-color: #1c448c !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

/* Premium Leasing Flow UI */
.prior-leasing-flow-wrapper {
    margin-top: 25px !important;
    padding: 20px !important;
    border: 1px solid #eaeaea !important;
    border-radius: 8px !important;
    background-color: #f9fbfd !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03) !important;
}

.prior-badge-wrapper {
    margin-bottom: 15px !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.prior-financing-badge {
    padding: 6px 12px !important;
    border-radius: 4px !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    color: #ffffff !important;
    display: inline-block !important;
}

#prior-open-leasing-form {
    width: 100% !important;
    background-color: #1c448c !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    height: 46px !important;
    border-radius: 4px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.25s ease-in-out !important;
    text-transform: uppercase !important;
    font-size: 14px !important;
    box-shadow: 0 4px 6px rgba(28, 68, 140, 0.1) !important;
}

#prior-open-leasing-form:hover {
    background-color: #15336c !important;
    box-shadow: 0 6px 12px rgba(28, 68, 140, 0.2) !important;
}

/* Submit leasing lead button */
#prior-submit-leasing-lead {
    width: 100% !important;
    background-color: #27ae60 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    height: 46px !important;
    border-radius: 4px !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.25s ease-in-out !important;
    text-transform: uppercase !important;
    font-size: 14px !important;
    box-shadow: 0 4px 6px rgba(39, 174, 96, 0.1) !important;
    margin-top: 15px !important;
}

#prior-submit-leasing-lead:hover {
    background-color: #1e8449 !important;
    box-shadow: 0 6px 12px rgba(39, 174, 96, 0.2) !important;
    transform: translateY(-1px) !important;
}

/* Form fields styling */
#prior-leasing-lead-form input.input-text {
    width: 100% !important;
    height: 42px !important;
    padding: 0 12px !important;
    border: 1px solid #dcdcdc !important;
    border-radius: 4px !important;
    background-color: #ffffff !important;
    font-size: 14px !important;
    transition: border-color 0.2s ease-in-out !important;
}

#prior-leasing-lead-form input.input-text:focus {
    border-color: #1c448c !important;
    outline: none !important;
}

/* Mobile adjustments for side-by-side action buttons */
@media (max-width: 576px) {
    form.auction_form {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
    }
    .leasing-apply-button {
        margin-left: 0 !important;
        width: 100% !important;
    }
    #placebidbutton {
        width: 100% !important;
    }
}

/* Disable Woodmart Header Login Dropdown on Hover/Click */
.wd-header-my-account .wd-dropdown,
.wd-header-my-account .wd-dropdown-menu {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Type 2 Lot - Buy Now Only Style Suppressions */
.product.lot-type-buy-now-only form.uwa_auction_form,
.product.lot-type-buy-now-only #uwa_auction_form,
.product.lot-type-buy-now-only #uwa_auction_form_second_layout,
.product.lot-type-buy-now-only .uwa-bid-button-container,
.product.lot-type-buy-now-only .uwa_auction_product_countdown,
.product.lot-type-buy-now-only .uwa_auction_time,
.product.lot-type-buy-now-only #uwa_auction_countdown,
.product.lot-type-buy-now-only .uwa-timezone,
.product.lot-type-buy-now-only .uwa_auction_end_time,
.product.lot-type-buy-now-only .uwa_auction_product_timezone,
.product.lot-type-buy-now-only .uwa_auction_reserve_met,
.product.lot-type-buy-now-only .uwa_auction_reserve_not_met,
.product.lot-type-buy-now-only .checkreserve,
.product.lot-type-buy-now-only .uwa-bid-history-link,
.product.lot-type-buy-now-only .uwa-bid-history-table,
.product.lot-type-buy-now-only .uwa-bid-history-container,
.product.lot-type-buy-now-only .bid-deposit-row {
    display: none !important;
}

/* WooCommerce My Account Dashboard Cleanup */
/* Hide the "Dashboard" (Əsas Lövhə) card from the dashboard welcome links grid */
.woocommerce-account .woocommerce-MyAccount-content .wd-my-account-links .wd-my-acc-dashboard {
    display: none !important;
}

/* Product Specifications Table Styling */
.product-specs-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 15px;
    font-family: inherit;
    color: #333333;
}

.product-specs-table tr {
    border-bottom: 1px solid #eef1f5;
    transition: background-color 0.2s ease;
}

.product-specs-table tr:hover {
    background-color: #fafbfc;
}

.product-specs-table td {
    padding: 12px 15px;
    vertical-align: middle;
}

/* First column: Specification Name (darker, semibold) */
.product-specs-table td:first-child {
    font-weight: 600;
    color: #4a5568;
    width: 45%;
}

/* Second column: Specification Value (slightly lighter) */
.product-specs-table td:last-child {
    color: #2d3748;
}

/* Mobile adjustments */
@media (max-width: 576px) {
    .product-specs-table td {
        padding: 8px 10px;
        font-size: 14px;
    }
}
/* Fix accordion content cutoff issues */
.wd-accordion-content.wd-active,
.elementor-accordion-content.elementor-active {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}


/* ============================================================
   Single Product — Breadcrumb bar (replaces old blue title banner)
   ============================================================ */

/* Show the default Woodmart breadcrumb bar */
.single-product .single-breadcrumbs-wrapper {
    display: block !important;
}

/* Style the breadcrumb bar cleanly */
.single-product .wd-page-title,
.single-product .single-breadcrumbs-wrapper {
    background-color: #f5f6f8 !important;
    border-bottom: 1px solid #e8eaed !important;
    padding: 12px 0 !important;
    margin-bottom: 0 !important;
}

/* Breadcrumb text & links */
.single-product .wd-breadcrumbs,
.single-product .wd-breadcrumbs a,
.single-product .woocommerce-breadcrumb,
.single-product .woocommerce-breadcrumb a {
    color: #6b7280 !important;
    font-size: 13px !important;
    font-weight: 400 !important;
}

.single-product .wd-breadcrumbs a:hover,
.single-product .woocommerce-breadcrumb a:hover {
    color: #1c448c !important;
    text-decoration: none !important;
}

/* Current page (last item) bold */
.single-product .wd-breadcrumbs .wd-last,
.single-product .woocommerce-breadcrumb > span:last-child {
    color: #1c448c !important;
    font-weight: 600 !important;
}

/* Hide the redundant h1 title that Woodmart duplicates in page-title bar —
   the product title already renders inside the summary column */
.single-product .wd-page-title .entry-title,
.single-product .wd-page-title .wd-title-wrapp {
    display: none !important;
}



/* Single product meta - left align Category label */
.single-product div.product .product_meta {
    text-align: left !important;
    flex-direction: inherit !important;
}
.single-product .product_meta .posted_in {
    display: block !important;
    text-align: left !important;
    font-size: 13px;
    color: #555;
    margin-top: 4px;
}
.single-product .product_meta .posted_in a {
    color: #1c448c;
    text-decoration: none;
}
.single-product .product_meta .posted_in a:hover {
    text-decoration: underline;
}

/* ============================================================
   Refined Info Message Box — Orders & Auctions pages
   ============================================================ */
.woocommerce-message.woocommerce-info,
.woocommerce-Message.woocommerce-Message--info,
.woocommerce-info {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    background: linear-gradient(135deg, #eef4ff 0%, #f5f8ff 100%) !important;
    border: 1px solid #d0dff7 !important;
    border-top: none !important;
    border-left: 4px solid #1c448c !important;
    border-radius: 10px !important;
    padding: 18px 22px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #2d3748 !important;
    box-shadow: 0 2px 12px rgba(28, 68, 140, 0.06) !important;
    flex-wrap: wrap !important;
    margin-bottom: 20px !important;
}

/* Remove default yellow/icon ::before on woocommerce-info */
.woocommerce-info::before {
    display: none !important;
}



/* CTA Button — Orders & Auctions pages */
.woocommerce-message.woocommerce-info .woocommerce-Button,
.woocommerce-Message.woocommerce-Message--info .woocommerce-Button,
.woocommerce-message.woocommerce-info a.button,
.woocommerce-Message.woocommerce-Message--info a.button,
.woocommerce-info a.button,
.woocommerce-info .woocommerce-Button,
.woocommerce-info a.wc-forward {
    order: 2 !important;
    margin-left: auto !important;
    background-color: #1c448c !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 9px 20px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease !important;
    box-shadow: 0 2px 8px rgba(28, 68, 140, 0.25) !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    cursor: pointer !important;
}

.woocommerce-message.woocommerce-info .woocommerce-Button:hover,
.woocommerce-Message.woocommerce-Message--info .woocommerce-Button:hover,
.woocommerce-message.woocommerce-info a.button:hover,
.woocommerce-Message.woocommerce-Message--info a.button:hover,
.woocommerce-info a.button:hover,
.woocommerce-info .woocommerce-Button:hover,
.woocommerce-info a.wc-forward:hover {
    background-color: #163672 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 14px rgba(28, 68, 140, 0.35) !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

/* Mobile: stack vertically */
@media (max-width: 576px) {
    .woocommerce-message.woocommerce-info,
    .woocommerce-Message.woocommerce-Message--info,
    .woocommerce-info {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
    }
    .woocommerce-message.woocommerce-info .woocommerce-Button,
    .woocommerce-Message.woocommerce-Message--info .woocommerce-Button,
    .woocommerce-message.woocommerce-info a.button,
    .woocommerce-Message.woocommerce-Message--info a.button,
    .woocommerce-info a.button,
    .woocommerce-info .woocommerce-Button,
    .woocommerce-info a.wc-forward {
        margin-left: 0 !important;
        width: 100% !important;
        text-align: center !important;
    }
}

/* Hide "Choose file format / Export Active Auctions" form — not needed for front-end users */
#uwa_frm_file_format {
    display: none !important;
}

/* ============================================================
   My Account Dashboard — 4 col grid (desktop), 2 col (mobile)
   ============================================================ */
.woocommerce-MyAccount-content .wd-nav-my-acc.wd-grid-g,
.wd-nav-my-acc.wd-grid-g {
    --wd-col: 4 !important;
}

@media (max-width: 767px) {
    .woocommerce-MyAccount-content .wd-nav-my-acc.wd-grid-g,
    .wd-nav-my-acc.wd-grid-g {
        --wd-col: 2 !important;
    }
}

/* ============================================================
   Single Product — Left-Thumbnail Gallery (Woodmart demo style)
   ============================================================ */

/* Gap between thumbnail strip and main image */
.single-product .wd-gallery-thumbnails-left .wd-gallery-images {
    gap: 8px !important;
}

/* Thumbnail item — subtle border, rounded corners */
.single-product .wd-gallery-thumbnails-left .wd-gallery-thumb {
    border: 1px solid #e8e8e8 !important;
    border-radius: 6px !important;
    overflow: hidden !important;
    cursor: pointer !important;
    transition: border-color 0.2s ease !important;
}

/* Active / hovered thumbnail — brand blue border */
.single-product .wd-gallery-thumbnails-left .wd-gallery-thumb:hover,
.single-product .wd-gallery-thumbnails-left .wd-gallery-thumb.active,
.single-product .wd-gallery-thumbnails-left .wd-gallery-thumb.is-active {
    border-color: #1c448c !important;
}

/* Main image area — light background, rounded */
.single-product .wd-gallery-thumbnails-left .wd-main-image-wrap,
.single-product .wd-gallery-thumbnails-left .woocommerce-product-gallery__image:first-child {
    background: #f7f7f7 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
}

/* Expand / zoom icon position */
.single-product .wd-gallery-thumbnails-left .woocommerce-product-gallery__trigger {
    bottom: 14px !important;
    left: 14px !important;
    right: auto !important;
}

/* Mobile: switch to bottom thumbnails carousel */
@media (max-width: 767px) {
    .single-product .wd-gallery-thumbnails-left .wd-gallery-images {
        flex-direction: column !important;
        gap: 6px !important;
    }
    .single-product .wd-gallery-thumbnails-left .wd-gallery-thumb {
        border-radius: 4px !important;
    }
}

/* ============================================================
   Premium Custom Toast Notifications
   ============================================================ */
.atl-toast-container {
    position: fixed;
    top: 25px;
    right: 25px;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}
.atl-toast {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 16px 22px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    color: #1a202c;
    font-size: 14px;
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 320px;
    max-width: 480px;
    transform: translateY(-20px) scale(0.95);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: auto;
}
.atl-toast.show {
    transform: translateY(0) scale(1);
    opacity: 1;
}
.atl-toast-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 800;
    flex-shrink: 0;
}
.atl-toast-success .atl-toast-icon {
    background: #e6fffa;
    color: #319795;
    border: 1px solid rgba(49, 151, 149, 0.2);
}
.atl-toast-error .atl-toast-icon {
    background: #fff5f5;
    color: #e53e3e;
    border: 1px solid rgba(229, 62, 62, 0.2);
}
.atl-toast-info .atl-toast-icon {
    background: #ebf8ff;
    color: #3182ce;
    border: 1px solid rgba(49, 130, 206, 0.2);
}
.atl-toast-success {
    border-left: 5px solid #319795;
}
.atl-toast-error {
    border-left: 5px solid #e53e3e;
}
.atl-toast-info {
    border-left: 5px solid #3182ce;
}
.atl-toast-message {
    line-height: 1.4;
    word-break: break-word;
}

/* WooCommerce My Account - Hide Password Change section for passwordless setup */
.woocommerce-EditAccountForm fieldset {
    display: none !important;
}

/* Force TranslatePress language switcher items (flags and labels) to sit side-by-side horizontally */
.trp-menu-ls-label,
.trp-language-item,
.trp-ls-shortcode-current-language,
.trp-ls-shortcode-language,
.woodmart-nav-link {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
}

/* Ensure flag image does not wrap or display as a block */
img.trp-flag-image {
    display: inline-block !important;
    margin: 0 !important;
    vertical-align: middle !important;
    flex-shrink: 0 !important;
}

/* Ensure text is displayed as inline block and centered */
.trp-ls-language-name,
.trp-language-item-name {
    display: inline-block !important;
    vertical-align: middle !important;
    line-height: 1 !important;
}

/* Specs Badges on Single Product Page */
.prior-specs-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 15px 0 25px 0;
    padding: 0;
}

.spec-badge-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 10px 14px;
    flex: 1 1 calc(25% - 15px);
    min-width: 140px;
    transition: all 0.3s ease;
}

.spec-badge-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-color: #dee2e6;
}

.spec-badge-item .spec-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Specific Badge Accent Colors */
.hp-badge .spec-icon {
    background: #fff3cd;
    color: #ffc107;
}
.year-badge .spec-icon {
    background: #e2f0d9;
    color: #385723;
}
.spec-badge-item.cylinders-badge,
.spec-badge-item.weight-badge {
    display: none !important;
}
.cylinders-badge .spec-icon {
    background: #e1f5fe;
    color: #0288d1;
}
.weight-badge .spec-icon {
    background: #f3e5f5;
    color: #7b1fa2;
}

.spec-badge-item .spec-info {
    display: flex;
    flex-direction: column;
}

.spec-badge-item .spec-label {
    font-size: 11px;
    color: #868e96;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.spec-badge-item .spec-value {
    font-size: 14px;
    font-weight: 700;
    color: #212529;
    line-height: 1.3;
}

/* Guest Bid Prompt Styling */
.prior-guest-bid-prompt {
    background: #fdf2f2;
    border: 1px solid #f5c6cb;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    text-align: center;
}
.prior-guest-bid-prompt h3 {
    margin-top: 0;
    color: #721c24;
    font-size: 18px;
    font-weight: 700;
}
.prior-guest-bid-prompt p {
    color: #721c24;
    margin-bottom: 15px;
    font-size: 14px;
}
.prior-guest-bid-prompt .btn-login {
    background-color: #1c448c !important;
    color: #fff !important;
    border: none !important;
    padding: 10px 24px !important;
    font-weight: bold !important;
    border-radius: 4px !important;
    display: inline-block;
    transition: background-color 0.2s ease;
}
.prior-guest-bid-prompt .btn-login:hover {
    background-color: #122c5a !important;
}

/* Auction Prices Grid */
.prior-auction-prices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 12px;
    margin: 20px 0;
    background: #fdfdfd;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    padding: 15px;
}

.price-grid-item {
    display: flex;
    flex-direction: column;
    padding: 10px;
    border-radius: 6px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
}

.price-grid-item .price-label {
    font-size: 11px;
    color: #6c757d;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 4px;
}

.price-grid-item .price-value {
    font-size: 16px;
    font-weight: 700;
    color: #212529;
}

.price-grid-item.current-bid.highlighted {
    background: #1c448c;
    border-color: #1c448c;
}

.price-grid-item.current-bid.highlighted .price-label {
    color: rgba(255, 255, 255, 0.8);
}

.price-grid-item.current-bid.highlighted .price-value,
.price-grid-item.current-bid.highlighted .price-value * {
    color: #ffffff !important;
    font-size: 18px;
}


/* Force single product title to display on single product summary page */
.single-product-content h1.product_title,
.summary-inner h1.product_title,
h1.product_title.wd-entities-title {
    display: block !important;
    visibility: visible !important;
    font-size: 30px !important;
    font-weight: 700 !important;
    color: #1c448c !important;
    margin-top: 15px !important;
    margin-bottom: 15px !important;
    line-height: 1.25 !important;
}

/* Custom Premium Bidding Summary Card */
.prior-bidding-summary-card {
    background: #fdfdfd;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.prior-bidding-summary-card .summary-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f1f1f1;
}

.prior-bidding-summary-card .summary-line:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.prior-bidding-summary-card .summary-line:first-child {
    padding-top: 0;
}

.prior-bidding-summary-card .summary-label {
    font-size: 15px;
    font-weight: 600;
    color: #4a5568;
    display: flex;
    align-items: center;
    gap: 8px;
}

.prior-bidding-summary-card .summary-value {
    font-size: 18px;
    font-weight: 700;
    color: #1a202c;
}

/* Make current bid highlighted look premium inside summary card */
.prior-bidding-summary-card .current-highest-bid .summary-value {
    color: #1c448c;
    font-size: 20px;
}

/* Timer countdown value inside summary card */
.prior-bidding-summary-card .time-remaining .summary-value {
    font-family: monospace;
    font-size: 18px;
    color: #e53e3e;
    font-weight: bold;
}

/* Custom Input Wrapper */
.prior-bid-input-wrapper {
    margin: 15px 0;
}

.prior-bid-input-wrapper .input-with-currency {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.prior-bid-input-wrapper .prior-bid-numeric-input {
    width: 100% !important;
    height: 52px !important;
    padding: 10px 45px 10px 20px !important;
    border: 2px solid #cbd5e0 !important;
    border-radius: 8px !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #2d3748 !important;
    background-color: #fff !important;
    transition: all 0.2s ease-in-out !important;
    box-sizing: border-box !important;
}

.prior-bid-input-wrapper .prior-bid-numeric-input:focus {
    border-color: #1c448c !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(28, 68, 140, 0.15) !important;
}

.prior-bid-input-wrapper .prior-input-currency-symbol {
    position: absolute;
    right: 20px;
    font-size: 18px;
    font-weight: 700;
    color: #718096;
    pointer-events: none;
}

/* Symmetrical Bidding and Leasing Action Buttons */
.prior-bid-actions-wrapper {
    display: flex;
    gap: 15px;
    align-items: center;
    margin: 20px 0;
    width: 100%;
}

.prior-bid-actions-wrapper .prior-bid-submit-btn,
.prior-bid-actions-wrapper .prior-leasing-btn {
    flex: 1;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    text-transform: none !important;
    letter-spacing: 0.5px !important;
    transition: all 0.2s ease-in-out !important;
    cursor: pointer;
    box-sizing: border-box;
    padding: 0 15px !important;
}

/* Bid Submit Button */
.prior-bid-actions-wrapper .prior-bid-submit-btn {
    background-color: #1c448c !important;
    color: #ffffff !important;
    border: none !important;
}

.prior-bid-actions-wrapper .prior-bid-submit-btn:hover {
    background-color: #122c5a !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(28, 68, 140, 0.2);
}

/* Leasing Button */
.prior-bid-actions-wrapper .prior-leasing-btn {
    background-color: #e2e8f0 !important;
    color: #2d3748 !important;
    border: 1px solid #cbd5e0 !important;
}

.prior-bid-actions-wrapper .prior-leasing-btn:hover {
    background-color: #cbd5e0 !important;
    color: #1a202c !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Hide duplicate and native elements */
form.uwa_auction_form_second_layout,
form#uwa_auction_form_direct,
.uwa-direct-bid,
.uwa-custom-bid,
.uwa_inc_price_hint,
.uwa-timezone,
#prior-open-leasing-form,
.prior-leasing-flow-wrapper .prior-badge-wrapper {
    display: none !important;
}

.prior-leasing-flow-wrapper {
    margin-top: 0 !important;
    padding: 0 !important;
    border: none !important;
    background-color: transparent !important;
    box-shadow: none !important;
}

/* Mobile responsive adjustments */
@media (max-width: 576px) {
    .prior-bid-actions-wrapper {
        flex-direction: column;
        gap: 10px;
    }
    .prior-bid-actions-wrapper .prior-bid-submit-btn,
    .prior-bid-actions-wrapper .prior-leasing-btn {
        width: 100%;
        flex: none;
    }
}

/* Push notices wrapper down slightly to prevent overlapping with fixed/sticky headers */
.single-product .woocommerce-notices-wrapper {
    margin-top: 15px !important;
    margin-bottom: 25px !important;
    position: relative !important;
    z-index: 1000 !important;
}

/* Hide all label/status badges overlayed on top of product images (loop cards and gallery images) */
.woodmart-product-labels,
.wd-product-labels,
.product-labels,
.onsale,
.labels-rounded,
.labels-rectangular {
    display: none !important;
}

/* Custom Auth Modal styles */
.prior-auth-modal {
    display: none;
    position: fixed;
    z-index: 999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}
.prior-auth-modal.show {
    display: flex;
}
.prior-auth-modal-content {
    background: #ffffff;
    border-radius: 16px;
    width: 90%;
    max-width: 480px;
    padding: 30px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    box-sizing: border-box;
    animation: priorModalFadeIn 0.3s ease-out;
}
@keyframes priorModalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.prior-auth-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: 700;
    color: #a0aec0;
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1;
}
.prior-auth-modal-close:hover {
    color: #1c448c;
}
/* Modal Tabs */
.prior-modal-tabs {
    display: flex;
    border-bottom: 2px solid #edf2f7;
    margin-bottom: 25px;
    margin-top: 10px;
}
.prior-modal-tab-btn {
    flex: 1;
    padding: 12px;
    text-align: center;
    background: none;
    border: none;
    font-size: 15px;
    font-weight: 700;
    color: #718096;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.2s ease;
    text-transform: none;
}
.prior-modal-tab-btn.active {
    color: #1c448c;
    border-bottom-color: #1c448c;
}
.prior-modal-form-section {
    display: none;
}
.prior-modal-form-section.active {
    display: block;
}
/* Toast Notification container for auction page */
.atl-toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 350px;
}
.atl-toast {
    background: #fff;
    border: 1px solid #cbd5e0;
    border-radius: 8px;
    padding: 12px 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease;
}
.atl-toast.show {
    opacity: 1;
    transform: translateY(0);
}
.atl-toast-error {
    border-left: 4px solid #e53e3e;
}
.atl-toast-success {
    border-left: 4px solid #38a169;
}
.atl-toast-info {
    border-left: 4px solid #3182ce;
}
.phone-prefix {
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}

/* Hide duplicate guest login button on desktop/PC version screen since header has one */
@media (min-width: 992px) {
    .prior-guest-bid-prompt {
        display: none !important;
    }
}

/* Disable WoodMart promo popup globally from all pages */
.wd-popup.wd-promo-popup,
.wd-promo-popup-wrap,
#wd-promo-popup,
.woodmart-promo-popup,
.wd-promo-popup,
.woodmart-promo-popup-wrap {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}


/* Systematically remove hidden WooCommerce error/message nodes to prevent layout displacement */
.woocommerce-error.hidden-notice,
.woocommerce-message.hidden-notice,
.woocommerce-info.hidden-notice,
.woocommerce-MyAccount-content .hidden-notice {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    visibility: hidden !important;
    opacity: 0 !important;
    border: none !important;
    box-shadow: none !important;
}

/* Completely hide all WooCommerce cart fragments, mini-cart widgets, sidebar checkouts, and checkout links */
.wd-header-cart,
.cart-widget-side,
.widget_shopping_cart,
.woocommerce-mini-cart,
.woocommerce-cart-form,
.shopping-cart-widget-body,
.wd-cart-number,
.dropdown-wrap-cat .wd-header-cart,
.checkout-button,
.wc-forward,
.cart-totals {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* ==========================================================================
   Traktor.az Inspired Custom Footer Styling
   ========================================================================== */

.footer-information {
    background-color: #f3f3f3;
    position: relative;
    padding-top: 50px;
    padding-bottom: 120px;
    overflow: hidden;
}

.footer-information img.footer-bg-silhouette {
    position: absolute;
    width: 100%;
    bottom: 0;
    left: 0;
    object-fit: contain;
    z-index: 1;
    pointer-events: none;
    margin-bottom: -10px;
}

.footer-information .container {
    position: relative;
    z-index: 2;
}

.footer-information-content {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
}

.footer-information-content-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.footer-information-content-item-head {
    font-size: 24px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.5px;
    color: #313131;
    margin: 0;
    text-transform: none;
}

.footer-information-content-item-link {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0.5px;
    color: #4a4a4a;
}

.footer-information-content-item-link a {
    color: #4a4a4a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-information-content-item-link a:hover {
    color: #1c448c;
}

.footer-contact {
    background-color: #313131;
    padding: 30px 0;
}

.footer-contact-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.footer-contact-content-logo-img {
    height: 40px;
    width: auto;
    display: block;
}

.footer-contact-content-writings {
    flex-grow: 1;
}

.footer-contact-content-writings-div {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.footer-contact-content-writings-div-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.footer-contact-content-writings-div-links a {
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
    transition: color 0.2s ease;
}

.footer-contact-content-writings-div-links a:hover {
    color: #cccccc;
}

/* Responsive configurations */
@media (max-width: 991px) {
    .footer-information img.footer-bg-silhouette {
        object-fit: cover;
        height: 100px;
    }
}

@media (max-width: 767px) {
    .footer-information {
        padding-top: 40px;
        padding-bottom: 90px;
    }
    
    .footer-information-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-contact-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }
    
    .footer-contact-content-writings-div {
        justify-content: center;
    }
    
    .footer-contact-content-writings-div-links {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-information img.footer-bg-silhouette {
        display: none; /* Hide background silhouette on very narrow mobile screens to avoid overlap */
    }
}


