/* TWT v1.1.7: previously maintained under Appearance > Customize > Additional CSS.
 * Keep custom branding / integration adjustments in the versioned theme so
 * AJAX-refreshed category product cards use the same presentation.
 */
.unlock-rewards a {
    background-color: #d90016 !important;
    color: #ffffff !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
    border-radius: .5rem !important;
}
ul#menu-store-menu .store-locator {
    background: var(--twt-red);
    color: #ffffff;
    display: inline-block;
    padding: 5px 5px;
    border-radius: .5rem;
}
ul#menu-store-menu .store-locator a,
ul#menu-store-menu .store-locator figure {
    display: inline-block;
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 11px !important;
    margin: 0;
}
ul#menu-store-menu li { display: inline-block; padding: 0 2px; }
.bw-sop__icon { color: #ffffff !important; background: var(--twt-red) !important; }
.bw-sop__collapse,
.bw-sop__handle { color: #ffffff !important; background: var(--twt-red) !important; }
.bw-sop__badge { background: #000 !important; }
.bw-sop__label { color: #000 !important; }
.bw-sop-menu .bw-sop-menu-icon { color: #000 !important; }
.bw-sop-menu .bw-sop__badge { background: var(--twt-red) !important; }
.tiauto-voice-search input[type="text"][data-role="search-input"] { padding: 5px 0px; font-size: 10px; }
.product_cat-evouchers .price_notices,
.product_cat-evouchers #instalmentCalc { display: none !important; }
span.voucher-amount {
    font-family: var(--wp--preset--font-family--vanguardcf) !important;
    font-size: 40px;
    font-weight: 700;
    margin-right: 10px;
    vertical-align: bottom;
}
#bwsv_recipient_msg { width: 100%; }
.bwsv-balance-box { margin-top: 10px; }
.twt-account__content h2 { font-size: 1.5rem; }
button.voice-toggle { padding: 5px 10px !important; }
.twt-account__sidebar { overflow: hidden; }
.woocommerce div.product div.images img.wp-post-image { width: 400px; }
.yith-wcwl-add-to-wishlist-button:not(.yith-wcwl-add-to-wishlist-button--themed-button).yith-wcwl-add-to-wishlist-button--added svg.yith-wcwl-add-to-wishlist-button-icon {
    color: var(--twt-red) !important;
}
.woocommerce.single-product .product .yith-ywraq-add-to-quote { margin-top: 0; }
#tiauto_tabs_widget-2 select { width: 100%; }
label.bw-cmf__ctrl { color: #ffffff; }
.bw-cmf__nolink figure { text-align: center; }
.single.single-product .bwpc-badge { display: block; width: max-content; }
.term-wheels #simply_checkout { margin-bottom: 0 !important; }
#bwcfg-wheel-price { font-size: 35px; font-weight: 600; font-family: "VanguardCF", sans-serif; }
#bwcfg-selected-wheel .bwcfg-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
    justify-content: left;
    margin-top: 12px;
}
div#bwcfg-selected-wheel-actions a {
    display: block;
    margin-top: 10px;
    margin-bottom: 10px;
    background: #000 !important;
}
.bwcfg-selected-wheel-footer button {
    width: 100%;
    text-transform: uppercase;
    font-size: 14px !important;
}
.products .bwcfg-top-visualiser {
    z-index: 99999999;
    display: block;
    position: relative;
    margin-top: 25px;
}
.bwcfg-finder-accordion__title {
    font-family: var(--wp--preset--font-family--vanguardcf) !important;
    font-size: 24px;
}
#bwcfg-visualiser-toggle h2 { margin-bottom: 0; }

/* Default campaign-sticker placement outside the archive-card-specific rules.
 * Archive cards retain the measured image-area override below, so the sticker
 * cannot drift down into pricing and action buttons in dynamic product grids.
 */
.bss-wc-campaign-stickers {
    position: absolute;
    z-index: 5;
    width: 25%;
    right: 5%;
    bottom: 22%;
}

/* Campaign Get Zero sticker: position inside the IMAGE area, never beside
 * the price, financing sentence or action buttons. --twt-campaign-* values
 * are measured by twt-card-alignment.js for every regular or AJAX-loaded card.
 * Higher specificity and !important also defeat the OLD Additional CSS
 * (right:5%; bottom:22%) until the duplicate Customizer rule is removed.
 */
.woocommerce ul.products > li.product,
.woocommerce-page ul.products > li.product {
    position: relative;
}
.woocommerce ul.products > li.product > .bss-wc-campaign-stickers,
.woocommerce-page ul.products > li.product > .bss-wc-campaign-stickers {
    position: absolute !important;
    z-index: 5 !important;
    top: var(--twt-campaign-top, 130px) !important;
    right: var(--twt-campaign-right, 12px) !important;
    left: auto !important;
    bottom: auto !important;
    width: var(--twt-campaign-width, 72px) !important;
    max-width: 28% !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
}
.woocommerce ul.products > li.product > .bss-wc-campaign-stickers img,
.woocommerce-page ul.products > li.product > .bss-wc-campaign-stickers img {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain;
}
.woocommerce ul.products > li.product > .bss-wc-campaign-stickers a,
.woocommerce-page ul.products > li.product > .bss-wc-campaign-stickers a {
    display: block;
    position: relative;
    z-index: 1;
}

.bsw-spin-button, .bsw-claim-open, .bsw-claim-submit, .bsw-popup-trigger,
.bsw-redeem-button, .bsw-confirm-redeem, .bsw-product-link {
    background: #d90016 !important;
}
.tiauto-search-wrap { z-index: 999 !important; }


/* Additional site CSS merged in v1.2.5; these do not relocate components. */
#home-category .woocommerce ul.products.columns-3 li.product,
#home-category .woocommerce-page ul.products.columns-3 li.product {
    border-radius: 20px;
}

.single-product-sku {
    margin-top: 12px;
    font-size: 13px;
    color: #777;
}
.single-product-sku strong {
    color: #333;
    font-weight: 600;
}
@media (max-width: 540px) {
    .bwpc-image-badge--single {
        left: 14px;
        top: 20%;
    }
}
