/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/
:root {
    --bricks-text-danger: #ff2626;
    --yith-wcan-filters_colors_accent: #ff2626;
    --yith-wcan-labels_style_background_hover: #ff2626;
    --yith-wcan-labels_style_background_active: #ff2626;
    --yith-wcan-anchors_style_text_hover: #ff2626;
    --yith-wcan-anchors_style_text_active: #ff2626;
}
.brxe-post-content a:not(.button), .brxe-post-content a:not(.brxe-div), .term-description a{
    text-decoration: underline;
}
 .brxe-post-content nav a{text-decoration: none !important;}
.woocommerce-cart-form__cart-item.cart_item a{
    text-decoration: none;
}
.brxe-post-content a.brxe-div{text-decoration: none;}
form label {
    font-weight: 700;
    color: var(--bricks-text-dark);
}

#account_display_name_description {
    font-size: 12px;
    margin-top: 5px
}

.woocommerce form .form-row .required {
    color: var(--bricks-color-kwprha);
}

.input,
input:not([type=submit]),
select,
textarea {
    border-color: var(--bricks-color-xngdou);
    min-height: 40px;
    border-radius: 5px;
    line-height: 1;
}

textarea {
    min-height: 100px;
}

.woocommerce .select2-selection {
    border-color: var(--bricks-color-xngdou);
    border-radius: 5px;
    min-height: 40px;
    line-height: 40px;
}

.select2-dropdown {
    border-color: var(--bricks-color-xngdou);
}

.woocommerce fieldset {
    border-radius: 5px;
}

.woocommerce fieldset legend {
    background-color: var(--bricks-color-xngdou);
    padding: 3px 10px;
    font-size: 12px;
    border-radius: 30px;
}

.woocommerce-account form .show-password-input {
    background-color: transparent;
}

form.cart .quantity .qty,
form.woocommerce-cart-form .quantity .qty {
    border-radius: 0 !important;
}

form.cart .quantity .minus,
form.cart .quantity .plus,
form.woocommerce-cart-form .quantity .minus,
form.woocommerce-cart-form .quantity .plus {
    background-color: var(--bricks-color-xngdou);
    opacity: 1;
}

form.cart .quantity .minus:hover,
form.cart .quantity .plus:hover,
form.woocommerce-cart-form .quantity .minus:hover,
form.woocommerce-cart-form .quantity .plus:hover {
    background-color: var(--bricks-color-uuozva);
    color: #fff;
}

form.cart .quantity:hover svg {
    stroke: #fff;
}

form.cart .quantity .minus:hover svg,
form.cart .quantity .plus:hover svg,
form.woocommerce-cart-form .quantity .minus:hover svg,
form.woocommerce-cart-form .quantity .plus:hover svg {
    stroke: #fff;
}

.woocommerce-mini-cart-item .quantity {
    margin-left: 65px;
}

.brxe-woocommerce-mini-cart .cart-detail .total {
    font-family: "Michroma";
    font-weight: 700;
    font-style: normal;
    font-size: 12px;
}

.cart-collaterals table tbody th {
    font-family: "Michroma";
    font-weight: 400;
    font-style: normal;
    font-size: 12px;
}

ul.woocommerce-shipping-methods label {
    font-family: "Michroma";
    font-weight: 400;
    font-style: normal;
    font-size: 12px;
    color: var(--bricks-color-uuozva);
}

.cart-collaterals table tbody tr {
    vertical-align: text-top;
}

.cart-collaterals table tbody td {
    text-align: right;
}

.cart-collaterals .shipping .woocommerce-shipping-destination {
    font-size: 11px;
    line-height: 13px;
}

.shop_table thead th.product-total,
.shop_table tbody td.product-total,
.shop_table tfoot .cart-subtotal,
.shop_table tr.order-total {
    text-align: right;
}

.yith-wcan-filters .yith-wcan-filter .yith-wcan-dropdown.open {
    border-color: var(--bricks-color-uuozva);
    box-shadow: 0 0 7px rgb(28 28 28 / 30%);
}

.yith-wcan-filters .yith-wcan-filter .yith-wcan-dropdown .dropdown-wrapper {
    border: 1px solid var(--bricks-color-uuozva);
    box-shadow: 0 0 7px rgb(28 28 28 / 30%);
}

.yith-wcan-filters .yith-wcan-filter .yith-wcan-dropdown .dropdown-wrapper .show-more {
    color: var(--bricks-text-danger);
}

.yith-wcan-filters .yith-wcan-filter .filter-items .filter-item.active>a,
.yith-wcan-filters .yith-wcan-filter .filter-items .filter-item.active>label>a {
    color: var(--bricks-text-danger);
}

.yith-wcan-filters .yith-wcan-filter .yith-wcan-dropdown .dropdown-wrapper .search-field-container .search-field:active,
.yith-wcan-filters .yith-wcan-filter .yith-wcan-dropdown .dropdown-wrapper .search-field-container .search-field:focus {
    border-color: var(--bricks-color-uuozva);
    box-shadow: none;
    outline-color: transparent;
}

.yith-wcan-filters .yith-wcan-filter .yith-wcan-dropdown .dropdown-wrapper .search-field-container:after {
    top: 12px;
}

.woocommerce-account .woocommerce-MyAccount-navigation .is-active {
    border-left: solid 3px var(--bricks-text-danger);
}

.woocommerce-product-gallery__wrapper>div {
    aspect-ratio: 1/1;
    display: flex !important;
    align-items: center;
}

.brx-product-gallery-thumbnail-slider .flex-direction-nav li:hover a svg path {
    stroke: #fff;
}

.woocommerce-tabs .wc-tabs li {
    position: relative;
}

.woocommerce-tabs .wc-tabs li:before {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--bricks-color-uuozva);
    opacity: 0.5;
    transition: all 0.5s ease-in-out;
}

.woocommerce-tabs .wc-tabs li:hover:before {
    width: 100%;
    opacity: 1;
}

.woocommerce-tabs .wc-tabs .active:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--bricks-text-danger);
    opacity: 1;
}

.wp-block-button__link.wp-element-button {
    font-family: "Michroma";
    font-weight: 400;
    font-style: normal;
    line-height: 1;
    font-size: 15px !important;
    padding-top: 22px !important;
    padding-right: 40px !important;
    padding-bottom: 22px !important;
    padding-left: 40px !important;
    border-radius: 0 !important;
    background-color: var(--bricks-color-kwprha) !important;
    border: 1px solid var(--bricks-color-kwprha) !important;
    transition: all 0.5s ease-in-out;
    text-decoration: none !important;
}

.wp-block-button__link.wp-element-button:hover,
.wp-block-button__link.wp-element-button:focus {
    background-color: var(--bricks-color-uuozva) !important;
    color: #fff !important;
    border: 1px solid var(--bricks-color-uuozva) !important;
}

@media (max-width: 1279px) {
    .wp-block-button__link.wp-element-button {
        font-size: 13px !important;
    }
}

@media (max-width: 991px) {
    .wp-block-button__link.wp-element-button {
        font-size: 12px !important;
        padding-top: 18px !important;
        padding-right: 30px !important;
        padding-bottom: 18px !important;
        padding-left: 30px !important;
    }
}

@media (max-width: 767px) {
    .wp-block-button__link.wp-element-button {
        font-size: 11px !important;
        padding-top: 16px !important;
        padding-right: 25px !important;
        padding-bottom: 16px !important;
        padding-left: 25px !important;
    }
}

.woocommerce-form__label.woocommerce-form__label-for-checkbox.woocommerce-form-login__rememberme {
    display: flex;
    align-items: center;
    gap: 5px;
    justify-content: center;
}

.floating {
    animation: float 4s ease-in-out infinite;
    -webkit-animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0);
    }
}

.brxe-image-gallery figure {
    overflow: hidden;
}
.brxe-image-gallery figure img,
.home-categories-category .home-category-image-img,
.product-item .product-image img{
    transition: all 0.5s ease-in-out;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
}
.brxe-image-gallery figure:hover img,
.home-categories-category:hover .home-category-image-img,
.product-item:hover .product-image img {
    transform: scale(1.05);
    -webkit-transform: scale(1.05);
    -moz-transform: scale(1.05);
    -ms-transform: scale(1.05);
    -o-transform: scale(1.05);
}

.category .post-meta-data{display: none !important;}

.order-total .includes_tax{
display: block;
    white-space: normal;
    margin-top: 5px;}
#shipping_method li label{text-align: right;}

.woocommerce-thankyou-order-received{
    font-family: "Michroma";
    font-weight: 400;
    font-style: normal;
    line-height: 1.4;
    font-size: 18px;
}

.shop_table.shop_table_responsive{
    table-layout: fixed;
}
.shop_table.shop_table_responsive tr th{
    /* width: 35%; */
   /* max-width: 35%; */
}
.shop_table.shop_table_responsive tr td{
    /* width: 65%; */
}
.brxe-woocommerce-checkout-thankyou .shop_table td, .brxe-woocommerce-checkout-thankyou .shop_table th {
    line-height: 1.4;
    padding: 6px 20px;
}
.brxe-woocommerce-checkout-thankyou .shop_table tfoot tr:first-child th, .brxe-woocommerce-checkout-thankyou .shop_table tfoot tr:first-child td {
    padding-top: 20px;
}
.brxe-woocommerce-checkout-thankyou .shop_table tfoot tr:last-child th, .brxe-woocommerce-checkout-thankyou .shop_table tfoot tr:last-child td {
    padding-bottom: 20px;
}

/* Wrapper celé platební metody */
.woocommerce-checkout .payment_methods li {
  display: flex;
    flex-direction: row;
    gap: 0;
    padding: 12px 16px;
    border: 1px solid var(--bricks-color-xngdou);
    border-radius: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
    align-items: center;
}

/* Horní řádek: radio + label */
.woocommerce-checkout .payment_methods li > input[type="radio"],
.woocommerce-checkout .payment_methods li > label {
  display: flex;
  align-items: center;
}
.woocommerce-checkout .payment_methods li > label {
  width: calc(100% - 36px);
}

.woocommerce-checkout .payment_methods li > .radio-label-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}
.woocommerce-checkout #payment .payment_methods .payment_box{background-color: transparent;display: block; width: 100%;}
.woocommerce-checkout .payment_methods input[type="radio"] {
  appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid var(--bricks-color-xngdou);
    border-radius: 18px;
    position: relative;
    cursor: pointer;
    flex-shrink: 0;
    min-height: 18px;
    padding: 0;
}
.woocommerce-checkout #payment {
    background-color: #fff;
    padding: 20px 0px;
}

.woocommerce-checkout .payment_methods input[type="radio"]::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 8px;
  height: 8px;
  background: #d00;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.2s ease;
}
ul.payment_methods li[class*=payment_method]{margin-bottom: 10px !important;}
.woocommerce-checkout .payment_methods input[type="radio"]:checked::before {
  opacity: 1;
}

.woocommerce-checkout .payment_methods label {
  font-weight: 500;
  cursor: pointer;
}
.wc-stripe-card-icons-container, .wc-stripe-paymentRequest-icons-container {
    margin-left: auto;
}

.woocommerce-checkout .payment_box {
  font-size: 0.95em;
}

.woocommerce-terms-and-conditions-wrapper label {
    display: flex;
    align-items: center;
}
.woocommerce-terms-and-conditions-wrapper label span{
    margin-left: 6px;
}

.tax-total td{text-align: right;}
.button{text-decoration: none !important;}