/*
    Theme Name: Stable Sports Custom Theme
    Theme URI: https://stebbinsmedia.com
    Version: 1.0
    Description: Custom Theme for Stable Sports
    Author: Stebbins Media
    Author URI: https://stebbinsmedia.com
    template: bb-theme
*/

/* ====================================================================
* Misc
* ================================================================= */

.ar-add-embroidery {vertical-align: middle;}
.woocommerce-page input[type="checkbox"]+label:before {display: none;}

.sts-discount-product-msg {
    background: #ccffcc;
    border-radius: 8px;
    border: 1px solid #44aa44;
    padding: 8px;
    display: flex;
    margin-bottom: 16px;
}

.sts-discount-product-msg svg {
    display: inline-block;
    border-radius: 100%;
    background-color: #44aa44;
    padding: 1px;
    vertical-align: middle;
    margin-right: 8px;
    transform: scale(1.25);
    fill: #ffffff;
    min-width: 23px;
    margin-top: 8px;
}

/* ====================================================================
* Header
* ================================================================= */

#sts-header-cart {
    position: relative;
}

.sts-cart-count {
    position: absolute;
    left: 100%;
    bottom: 100%;
    font-size: 14px;
}

/* ====================================================================
* Product Bundles
* ================================================================= */

.woocommerce div.product .bundled_product_image img.attachment-woocommerce_thumbnail {
  border: 0;
}

/* ====================================================================
* Addon Fields
* ================================================================= */

.wc-pao-addon-name {
    display: inline-block;
    width: 160px;
    font-weight: bold;
    font-size: 100%;
    margin-right: 10px;
}

.wc-pao-addon-container .wc-pao-addon-wrap {
    display: inline-block;
    width: calc(100% - 174px);
}

.single_variation_wrap .wc-pao-addon-container.wc-pao-addon .wc-pao-addon-wrap input.wc-pao-addon-custom-text {
    width: 100%;
    background-color: white !important;
    border-color: #ccc !important;
}

/* ====================================================================
* Option Display
* ================================================================= */

ul.option-slot-list {
    padding-left: 0;
}

select.has-options-display {
    display: none !important;
}

.embroidery-field.option-list-display .wc-pao-addon-wrap {
    display: block;
    width: 100%;
}

ul.option-slot-list li {
    display: inline-block;
    width: 38px;
    height: 38px;
    border: 1px solid;
    border-color: #ccc !important;
    border-radius: 2px;
    margin-right: 4px;
    margin-bottom: 8px;
    padding: 4px;
    vertical-align: middle;
    cursor: pointer;
}

ul.option-slot-list li > span {
    display: block;
    width: 100%;
    height: 100%;
}

ul.option-slot-list li.active {
    border: 3px solid;
    padding: 2px;
    border-color: #333 !important;
    box-shadow: 0 0 4px rgba(0, 90, 200, 0.8);
}

ul.option-slot-list li.active.type-font {
    background-color: #ccc;
}

ul.option-slot-list li.type-none {
    width: auto !important;
    font-size: 12px;
    padding: 4px 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 200px;
    max-width: max-content;
}

ul.option-slot-list li.type-none.active {
    padding: 2px 6px;
}

.attribute_options.option-list-display select,
.wc-pao-addon-container.option-list-display select {
    visibility: hidden;
    height: 0;
    position: absolute;
    pointer-events: none;
}

.variations_form .variations .attribute_options.option-list-display {
    display: block;
    margin-top: 20px;
    width: 100% !important;
}

.variations_form .variations .attribute_options.option-list-display td {
    display: block;
    width: 100% !important;
}

#option-slot-tooltip {
    position: absolute;
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    pointer-events: none;
    padding: 2px 8px;
    border-radius: 4px;
}

.option-slot-list .validation:not(.show) {
    display: none;
}

.option-slot-list .validation {
    color: red;
    font-weight: bold;
    padding-bottom: 32px;
}

/* ====================================================================
* Embroidery Options
* ================================================================= */

.embroidery-container {
    margin-top: 24px;
}

.wc-pao-addon-add-embroidery label {
    display: none;
    font-weight: bold;
}

.wc-pao-addon-add-embroidery .wc-pao-addon-checkbox + label {
    display: none !important;
}

.wc-pao-addon-add-embroidery input {
    width: 18px !important;
    height: 18px !important;
    position: relative;
    top: 4px;
    margin-right: 8px;
}

.embroidery-field label {
    display: block;
}

.embroidery-field .form-row {
    width: 100%;
}

.embroidery-field .wc-pao-addon-image-swatch-price,
.embroidery-field em.required {
    display: none;
}

.embroidery-field .wc-pao-addon-image-swatch[data-value=''] {
    display: none;
}

.embroidery-field .validation {
    color: red;
    font-weight: bold;
    padding-bottom: 32px;
}

.embroidery-field .validation:not(.show) {
    display: none;
}

#tiptip_holder .woocommerce-Price-amount {
    display: none;
}