/*
Theme Name: BOLD Productions
Theme URI: https://www.bebold.lt
Template: scape
Author: Bold-Productions
Author URI: https://www.bebold.lt
Version: 1.5.11.1733224983
Updated: 2024-12-03 11:23:03

*/

/* Hide WPBakery meta box in the Pasiūlymai edit page */
.post-type-pasiulymai #metabox-global-single {
    display: none !important;
}



.woocommerce-form-row input[type="checkbox"],
.form-row input[type="checkbox"],
label > input[type="checkbox"],
.wpcf7-list-item input[type="checkbox"] {
    position: absolute !important;
    left: -9999px !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 1px !important;
    height: 1px !important;
    top: 0;
}

label.checkbox,
.woocommerce-form__label-for-checkbox,
.wpcf7-list-item-label {
    display: inline-flex;
    align-items: center;
    position: relative;
    padding-left: 25px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    vertical-align: middle;
    min-height: 18px;
}

label.checkbox::before,
.woocommerce-form__label-for-checkbox::before,
.wpcf7-list-item-label::before {
    display: block;
    background: #fff;
    margin-right: 10px;
    width: 14px;
    height: 14px;
    cursor: pointer;
    position: absolute;
    left: 0;
    top: 50%;
    content: "\e913";
    font-size: 12px;
    font-family: scape-ui !important;
    speak: none;
    font-style: normal;
    font-weight: 400;
    font-variant: normal;
    text-transform: none;
    line-height: 14px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #fff;
    text-align: center;
    border-width: 1px;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0.1);
    border-radius: 2px;
    -moz-transform: translate3d(0, -50%, 0);
    -o-transform: translate3d(0, -50%, 0);
    -ms-transform: translate3d(0, -50%, 0);
    -webkit-transform: translate3d(0, -50%, 0);
    transform: translate3d(0, -50%, 0);
    -webkit-transition: all 0.3s cubic-bezier(0.2, 0, 0.3, 1);
    -moz-transition: all 0.3s cubic-bezier(0.2, 0, 0.3, 1);
    -ms-transition: all 0.3s cubic-bezier(0.2, 0, 0.3, 1);
    -o-transition: all 0.3s cubic-bezier(0.2, 0, 0.3, 1);
    transition: all 0.3s cubic-bezier(0.2, 0, 0.3, 1);
}

label.checkbox:has(input[type="checkbox"]:checked)::before,
.woocommerce-form__label-for-checkbox:has(input[type="checkbox"]:checked)::before,
.wpcf7-list-item-label:has(input[type="checkbox"]:checked)::before {
    background-color: #191919;
    border-color: #191919;
    color: #fff;
}

.wtbx-product-entry.outofstock .wtbx-product-inner .wtbx-product-footer .price {
    display: inline-block !important; /* FIX: Changed from 'block' to 'inline-block' for alignment */
    font-size: 12px !important; /* FIX: Matched font size to your B2B price */
  padding-top:5px;
  padding-left: 10px;
  color: grey;
}


/*reviews*/
.barexit-rating-summary {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 2em;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 1.5em 2em;
    margin-bottom: 2em;
    box-sizing: border-box;
}

.barexit-rating-summary__score {
    text-align: center;
    min-width: 110px;
    flex-shrink: 0;
}

.barexit-rating-summary__avg {
    display: block !important;
    font-size: 3em;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.2em;
    color: black;
}

.barexit-rating-summary__score .star-rating {
    float: none !important;
    margin: 0.3em auto !important;
}

.barexit-rating-summary__count {
    display: block !important;
    font-size: 0.85em;
    margin-top: 0.4em;
    text-decoration: underline;
}

.barexit-rating-summary__bars {
    flex: 1;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px;
}

.barexit-rating-summary__row {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 8px;
    font-size: 0.85em;
}

.barexit-rating-summary__label {
    min-width: 10px;
    text-align: right;
    flex-shrink: 0;
}

.barexit-rating-summary__bar-track {
    flex: 1;
    height: 8px;
    background: #efefef;
    border-radius: 4px;
    overflow: hidden;
    display: block !important;
}

.barexit-rating-summary__bar-fill {
    display: block !important;
    height: 8px !important;
    border-radius: 4px;
    background: #c8c8c8;
    transition: width 0.3s ease;
}

.barexit-rating-summary__bar-fill[data-star="5"] { background: black; }
.barexit-rating-summary__bar-fill[data-star="4"] { background: black; }
.barexit-rating-summary__bar-fill[data-star="3"] { background: black; }
.barexit-rating-summary__bar-fill[data-star="2"] { background: black; }
.barexit-rating-summary__bar-fill[data-star="1"] { background: black; }

.barexit-rating-summary__percent {
    min-width: 36px;
    text-align: right;
    flex-shrink: 0;
}

#comments .barexit-rating-summary .star-rating {
    float: none !important;
    display: block !important;
    margin: 0.3em auto !important;
    margin-left: auto !important;
}

/* ------------------------------------------------------------------
   Eventin React widgets (Ant Design) — free-registration form fixes
   (owner screenshots 2026-08-13). Scape's global `form label`
   (uppercase + white-space:nowrap) made the consent checkbox lines
   SHOUT and overflow the card, and its 44px borderless input styling
   collided with AntD's own bordered inputs (the "doubled border"
   look). Scoped to Eventin/AntD containers only.
   ------------------------------------------------------------------ */
.etn-purchase-ticket-root form label,
.etn-purchase-ticket-root label,
.ant-form label,
.ant-checkbox-wrapper,
.ant-checkbox-wrapper span,
.ant-checkbox-group label {
    text-transform: none !important;
    white-space: normal !important;
    letter-spacing: normal !important;
    overflow-wrap: anywhere;
}
.ant-checkbox-wrapper {
    display: inline-flex !important;
    align-items: flex-start;
}
.etn-purchase-ticket-root input.ant-input,
.ant-form input[type="text"],
.ant-form input[type="email"],
.ant-form input[type="tel"],
.ant-form input[type="number"],
.ant-form input[type="password"],
input.ant-input {
    height: auto !important;
    line-height: 1.6 !important;
    padding: 7px 11px !important;
    display: inline-block;
    background: #fff;
}
/* inner input of a bordered AntD wrapper draws NO box of its own */
.ant-input-affix-wrapper > input.ant-input,
.ant-input-number input.ant-input-number-input {
    border: 0 !important;
    box-shadow: none !important;
    padding: 4px 8px !important;
    height: auto !important;
}
.ant-form textarea,
.etn-purchase-ticket-root textarea {
    height: auto !important;
    line-height: 1.6 !important;
    padding: 7px 11px !important;
}
