/**
	Theme Name: Goya Child Theme
	Description: This is a child theme of Goya.
	Template: goya
	Version: 1.0
	Author: Everthemes
	Author URI: http://themeforest.net/user/luisvelaz
	Tags: responsive-layout, flexible-header, custom-colors, mega-menu, woocommerce, shop, ajax, page-builder, translation-ready, gutenberg
	License: GNU General Public License v2 or later
	License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/


.et-product-detail.sold-individually .quantity {
	display: flex !important;
}


.product-type-auction .quantity input.qty {
    width: 120px !important;
    padding: 0 10px !important;
}








/* Blur auction content when paywalled */
body.auction-paywalled .product {
    filter: blur(18px);
    pointer-events: none;
    user-select: none;
}

/* Keep overlay clickable */
body.auction-paywalled .auction-paywall-overlay {
    pointer-events: all;
}



.auction-paywall-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auction-paywall-box {
    background: #fff;
    padding: 32px;
    border-radius: 8px;
    text-align: center;
    max-width: 420px;
    width: 90%;
}

.auction-paywall-box h2 {
    margin-bottom: 12px;
}

.auction-paywall-box p {
    margin-bottom: 20px;
    font-size: 16px;
}

.auction-paywall-box .button {
    width: 100%;
}


/* countdown on popup for blurred auctions pages */
.auction-popup-countdown {
    font-size: 18px;
    font-weight: bold;
    margin: 16px 0;	
	color: #000;
    text-align: center;
}

.auction-popup-teaser {
    font-size: 16px;
    font-weight: bold;
    margin: 16px 0 24px; /* extra space below countdown */
    color: #000;
    text-align: center;
}


/*Brad hide auctions ends and timezone out of box version*/
.auction-end{
	display:none;
}
/* Add a little space above the "Add to watchlist" link */
p.wsawl-link {
    margin-top: 8px; /* Adjust the number to increase or decrease space */
}

/*spacing above and below "auctions ends" on product page*/
.woocommerce div.product .auction-local-countdown {
    margin: 20px 0 !important;  /* Adds spacing above and below */
    font-weight: bold;
	font-size: 1.1em;
}


/* Increase font size of product title on single product pages */
.single-product .product_title.entry-title {
    font-size: 22px !important;  /* Adjust size as needed */
    font-weight: 600;             /* Optional: make it bolder */
    line-height: 1.2;             /* Optional: tighten spacing */
    margin-bottom: 16px;          /* Optional: add space below title */
}
/* Make the "Current bid:" text bigger */
.single-product span.current.auction {
    font-size: 18px;      /* Adjust size as needed */
    font-weight: 400;     /* Optional: make it bold */
    color: #000;          /* Optional: change color */
}
/* Make the bid amount same size as "Current bid:" */
.single-product span.current.auction,
.single-product .woocommerce-Price-amount.amount {
    font-size: 18px;   /* Match the size of "Current bid:" */
    font-weight: 600;  /* Optional: match boldness */
}
/* Hide item condition on product page */
.single-product p.auction-condition {
    display: none;
}
/* Ultra-tight spacing between current bid and countdown */
.single-product .summary .price,
.single-product .summary .auction-local-countdown {
    margin: 0 !important;
    line-height: 0.9 !important;
}


/* Auction bid count below Current Bid on single auction product page */
.auction-bid-count-single {
    display: block;             /* Ensure it's on its own line */      
    text-decoration: underline;
	font-size: 0.9em;           /* Slightly smaller than the price */
    color: #555;                /* Subtle text color */
    margin-top: 4px;            /* Small space below the price */
    font-weight: 500;           /* Medium weight for readability */
}
/* Optional: make it match WooCommerce price style on single auction product page */
.woocommerce div.product .summary .auction-bid-count-single {
    line-height: 1.2;
}
/* bump up number of bids on single auction product page */
.et-product-detail.product-type-simple.product-details-accordion .woocommerce-product-rating, .et-product-detail .summary .price-separator {
    margin-bottom: 5px !important;
}

/* Hide YITH wishlist editable page title */
.wishlist-title-container h2,
.wishlist-title-container input[name="wishlist_name"] {
    display: none !important;
}

form.auction_form.cart .quantity.buttons_added {
    display: flex;
}

/* ----------------------------------------
   Auction page input adjustments
  - Make the auction quantity container a flexbox
  - Ensures the bid input field can expand to fill the available width, even if we hide the + and - buttons
---------------------------------------- */
form.auction_form.cart .quantity.buttons_added {
    display: flex;
}

/* Make auction bid input fill the width and prevent numbers from being cut off */
form.auction_form.cart .quantity.buttons_added input.qty {
    width: 100% !important;     /* fill the container */
    box-sizing: border-box;     /* include padding/borders in width */
    text-align: center;         /* center number for readability */
    min-width: 0;               /* prevent shrinking */
    white-space: nowrap;        /* prevent line breaks */
    overflow-x: auto;           /* allow scrolling for very long numbers */
}








/* hide "Winning!" text overlay on product images in shop loop */
.winning {
    display: none !important;
}






/* =====================================================
   WATCHLIST ICON – FINAL CLEAN VERSION
   ===================================================== */


/* ------------------------------
   HEADER MENU (WHITE HEART)
   ------------------------------ */

.account-links .woocommerce-MyAccount-navigation-link--watchlist > a::before {
    content: "";
    display: inline-block;
    vertical-align: middle;
    width: 17px;
    height: 17px;
    margin-right: 8px;
    background-repeat: no-repeat;
    background-size: 17px 17px;
    background-position: center;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='M20.8 4.6a5.4 5.4 0 0 0-7.6 0L12 5.8l-1.2-1.2a5.4 5.4 0 1 0-7.6 7.6l1.2 1.2L12 21l7.6-7.6 1.2-1.2a5.4 5.4 0 0 0 0-7.6z'/%3E%3C/svg%3E");
}


/* ------------------------------
   SIDEBAR MENU (MATCHES TEXT COLOR)
   ------------------------------ */

.woocommerce-MyAccount-navigation 
.woocommerce-MyAccount-navigation-link--watchlist > a {
    display: inline-flex;
    align-items: center;
	width: auto;   /* prevents full-row underline */
	position: relative;
    left: 2px;   /* small clean horizontal shift */	
}

.woocommerce-MyAccount-navigation 
.woocommerce-MyAccount-navigation-link--watchlist > a::before {
    content: "";
    width: 17px;
    height: 17px;
    margin-right: 8px;
	margin-left: -2px; /* ← tiny shift LEFT (icon only) */	
    flex-shrink: 0;
    background-repeat: no-repeat;
    background-size: 17px 17px;
    background-position: center;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='M20.8 4.6a5.4 5.4 0 0 0-7.6 0L12 5.8l-1.2-1.2a5.4 5.4 0 1 0-7.6 7.6l1.2 1.2L12 21l7.6-7.6 1.2-1.2a5.4 5.4 0 0 0 0-7.6z'/%3E%3C/svg%3E");
}























/* ----------------------------
   Membership & Update Forms
---------------------------- */

/* Wrapper adjustments */
.wcss-form-container {
    padding-left: 10%;
    padding-right: 10%;
    margin-bottom: 20px;
}

/* Full width inputs */
.wcss-form-container input {
    width: 100%;
    box-sizing: border-box;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 12px;
    font-size: 1em;
}

/* Add space above Name field only on Update Payment Method form */
#wcss-update-payment-message p:has(#wcss-billing-name) {
    margin-top: 40px; /* adjust as needed */
}

/* Card element spacing */
#wcss-card-element {
    margin-top: 20px;
    margin-bottom: 25px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    transition: border 0.2s ease;
}

/* Buttons */
.wcss-form-container .button {
    margin-top: 10px;
}


/* Center the action buttons in the membership/update forms */
.wcss-form-container .button {
    display: block;
    margin: 15px auto 0 auto; /* auto left/right margins center the button */
    text-align: center;
}


/* -----------------------------
   ERROR STYLE
----------------------------- */

/* Inline error block for all errors */
.error-inline {
    background: #ffe6e6;
    color: #b30000;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 4px;
    font-weight: 500;
}

/* Red border for invalid fields */
input[style*="border: 1px solid red"], 
#wcss-card-element[style*="border: 1px solid red"] {
    animation: shake 0.2s;
    border-width: 2px !important;
}

/* Optional shake animation */
@keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-2px); }
    50% { transform: translateX(2px); }
    75% { transform: translateX(-2px); }
    100% { transform: translateX(0); }
}

/* -----------------------------
   MOBILE: full-width forms
----------------------------- */
@media (max-width: 768px) {
    .wcss-form-container {
        padding-left: 0;
        padding-right: 0;
    }
}



















/* Stripe Elements containers */
#wcss-card-element,
#wcss-address-element {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background: #fff;
    margin-bottom: 15px;
}

/* Stripe Element focus style */
.StripeElement--focus {
    border-color: #5b9dd9 !important;
    box-shadow: 0 0 0 2px rgba(91,157,217,0.2);
}

/* Stack address above card */
#wcss-membership-message,
#wcss-update-payment-message {
    display: flex;
    flex-direction: column;
}

#wcss-membership-message #wcss-address-element,
#wcss-update-payment-message #wcss-address-element {
    order: -1; /* address above card */
}

/* Button spacing */
#wcss-membership-message button,
#wcss-update-payment-message button {
    margin-top: 10px;
}







.auction-time-countdown {
    margin-bottom: 20px;
}
p.max-bid {
    margin-top: 10px;
}





.woocommerce .form-actions.extra,
.woocommerce .form-actions.extra a {
    color: red;
}


.membership-link {
    text-decoration: underline;  /* Underline the link */
	font-weight: bold;
	font-style: italic;
}

#wcss-start-membership {
   border-radius: 10px;
   background-color: #1397f5;
}

#wcss-confirm-btn {
   border-radius: 10px;
   background-color: #1397f5;
}
#wcss-cancel-membership{
   border-radius: 10px;
}
#wcss-cancel-btn {
   border-radius: 10px;
}
#css-update-payment-method{
   font-size: 11px;
   padding: 2px 6px;
   margin-left:5px;
   line-height: 2;
   vertical-align: middle;
   border: 1px solid #ccc;
   border-radius: 3px;
   background-color: #f7f7f7;
   color: #1397f5;
   cursor: pointer;
}
.woocommerce-Button.button {
   border-radius: 10px;
   background-color: #1397f5 !important;	
}
.single-product form.buy-now.cart {
    padding-top: 10px;
}
button.single_add_to_cart_button.button.alt {
   border-radius: 10px;
}
.wp-block-woocommerce-checkout .wc-block-components-checkout-place-order-button {
   border-radius: 10px;
}
.wp-block-woocommerce-cart .wc-block-cart__submit-button {
    border-radius: 10px;
}
.cart-panel-summary .buttons .button {
    border-radius: 10px;
}
.woocommerce-form-login__submit {
   border-radius: 10px !important;
   background-color: #1397f5 !important;
}
button.bid_button {
   border-radius: 10px;
   background-color: #1397f5 !important;	
}
a.et_btn[href="/shop/"] {
    margin-top: 15px;
    display: inline-block;
}
.card-charged {
    color: #1397f5;
}
.tracking-info {
    color: black;
}



.woocommerce-message{
    color: #1397f5;
}



.woocommerce-message, .woocommerce-error, .woocommerce-info, .woocommerce-notice--success, .wc-block-components-notice-banner {
    margin: 0;
}
.et-product-detail .product-information .entry-summary {
  padding-top: 0px;
}

span.has-finished + p.max-bid,
span.has-finished ~ p.max-bid {
    display: none !important;
}


.custom-losing-message {
    color: red;
}









/* Only on "The Reserve" category page */
.term-the-reserve .hero-header.page-padding {
    background-image: url('https://auctions.tourputtergallery.com/wp-content/uploads/2026/03/banner3-scaled.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 70px 20px;
    color: #fff;
    text-align: center;
}
.term-the-reserve.woocommerce-page h1.page-title {
    color: #ffffff !important;
    text-shadow:
        0 2px 2px rgba(0, 0, 0, 0.6),
        0 4px 6px rgba(0, 0, 0, 0.5),
        0 8px 12px rgba(0, 0, 0, 0.4),
        0 12px 20px rgba(0, 0, 0, 0.3);
}



/* Sold at Auction category */
.term-sold-at-auction .hero-header.page-padding {
    background-image: url('https://auctions.tourputtergallery.com/wp-content/uploads/2026/02/gss-long-011banner-scaled.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 70px 20px;
    color: #fff;
    text-align: center;
}
.term-sold-at-auction.woocommerce-page h1.page-title {
    color: #ffffff !important;
    text-shadow:
        0 2px 2px rgba(0, 0, 0, 0.6),
        0 4px 6px rgba(0, 0, 0, 0.5),
        0 8px 12px rgba(0, 0, 0, 0.4),
        0 12px 20px rgba(0, 0, 0, 0.3);
}


/* Shop page */
.post-type-archive-product .hero-header.page-padding {
    background-image: url('https://auctions.tourputtergallery.com/wp-content/uploads/2026/03/banner5-scaled.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 70px 20px;
    color: #fff;
    text-align: center;
}
.post-type-archive-product.woocommerce-page h1.page-title {
    color: #ffffff !important;
    text-shadow:
        0 2px 2px rgba(0, 0, 0, 0.6),
        0 4px 6px rgba(0, 0, 0, 0.5),
        0 8px 12px rgba(0, 0, 0, 0.4),
        0 12px 20px rgba(0, 0, 0, 0.3);
}




/* Shop */
.post-type-archive-product .hero-header h1,
.post-type-archive-product .hero-header .page-title {
    position: relative;
    top: 90px;
    transform: none !important;
}

/* The Reserve */
.tax-product_cat.term-the-reserve .hero-header h1,
.tax-product_cat.term-the-reserve .hero-header .page-title {
    position: relative;
    top: 90px;
    transform: none !important;
}

/* Sold at Auction */
.tax-product_cat.term-sold-at-auction .hero-header h1,
.tax-product_cat.term-sold-at-auction .hero-header .page-title {
    position: relative;
    top: 90px;
    transform: none !important;
}
/* Mobile only */
@media (max-width: 768px) {

    /* Shop */
    .post-type-archive-product .hero-header h1,
    .post-type-archive-product .hero-header .page-title {
        top: 68px;
    }

    /* The Reserve */
    .tax-product_cat.term-the-reserve .hero-header h1,
    .tax-product_cat.term-the-reserve .hero-header .page-title {
        top: 68px;
    }

    /* Sold at Auction */
    .tax-product_cat.term-sold-at-auction .hero-header h1,
    .tax-product_cat.term-sold-at-auction .hero-header .page-title {
        top: 68px;
    }

}








/* Only on shop page, hide last section if 4 sections exist */
body.post-type-archive-product .auction-time-countdown .wc_auctions_countdown-row.wc_auctions_countdown-show4 .wc_auctions_countdown-section:last-child {
    display: none;
}
/* Hide seconds on homepage carousel if 4 sections exist */
body.home .auction-time-countdown .wc_auctions_countdown-row.wc_auctions_countdown-show4 .wc_auctions_countdown-section:last-child {
    display: none;
}


/* Green for "RESERVE PRICE MET!" */
p.reserve.free {
    color: green;
    font-weight: bold; /* optional */
}
/* Red for "RESERVE PRICE NOT MET" */
p.reserve.hold {
    color: red;
    font-weight: bold; /* optional */
}





.woocommerce-product-details__short-description p {
    margin-top: 10px;
}
.buy-now.cart .single_add_to_cart_button {
    margin-top: 10px;
}
.buy-now .single_add_to_cart_button {
    display: block;
    width: 50% !important;
    margin: 0 auto;
    text-align: center;
    box-sizing: border-box; 
}
/* Mobile */
@media (max-width: 768px) {
    .buy-now .single_add_to_cart_button,
    .bid_button {
        width: 100% !important;
        display: block;
    }
}










/* Hide only the required fields legend */
.gform_required_legend {
    display: none !important;
}