/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/

html.locked,
body.locked {
    overflow: hidden;
}

/* single product image */
.woocommerce-product-gallery {
    gap: 32px !important;
}

.woocommerce-product-gallery .wd-gallery-images .wd-carousel-item img {
    aspect-ratio: 1;
}

.woocommerce-product-gallery .wd-gallery-thumb .wd-carousel-wrap {
    align-items: center;
}

/* my account frequent products */
.woocommerce-frequent-products .woocommerce-pagination {
    margin-top: 20px;
    text-align: center;
}
.woocommerce-frequent-products .wd-product .wd-entities-title a {
    color: inherit !important;
}
.woocommerce-frequent-products .wd-product .add_to_cart_button span {
    color: white;
}

/* controlled product tag */

.product-element-top {
    position: relative;
}

.product-element-top-tag {
    background-color: #004b6b;
    border-radius: 4px;
    bottom: 10px;
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1;
    padding: 8px;
    position: absolute;
    right: 10px;
    text-transform: uppercase;
    z-index: 10;
}

.product-element-top-tag-single-wrapper .product-element-top-tag {
    right: 0;
    display: inline-block;
    position: relative;
}

.woocommerce-checkout .product-element-top-tag {
    display: inline-block;
    position: static;
}

.woocommerce-checkout input[type="text"][readonly] {
    cursor: not-allowed;
    opacity: 0.5;
}

/* controlled single page description */
.wd-entities-title-cp {
    display: block;
    font-size: 14px;
    margin-top: 8px;
}

.wd-entities-title-cp .icon {
    color: orangered;
    font-size: 20px;
    line-height: 1;
    vertical-align: middle;
}

/* CUSTOM HEADER */
.ch {
    background: #266aa3;
    position: sticky;
    top: 0;
    z-index: 260;
}
.admin-bar .ch {
    top: 32px;
}
.ch-top {
    display: grid;
    grid-template-columns: max-content 1fr max-content;
    align-items: center;
    column-gap: 72px;
    padding: 12px 0;
}
.ch-top-logo {
    display: block;
}
.ch-top-logo img {
    height: 55px;
    object-fit: contain;
}
.ch-top-search {
    min-width: 0;
    grid-column: 2 / auto;
    justify-self: stretch;
}
.ch-top-search form input[type="text"] {
    color: #fff;
    background-color: #205584;
    border: none;
    border-radius: 8px;
    padding-left: 48px;
}

.ch-top-search form input[type="text"]::placeholder {
    color: #c6ddf1;
}

.ch-top-search .searchsubmit {
    left: 0 !important;
    color: #c6ddf1;
}

.ch-top-search .wd-clear-search {
    color: #c6ddf1 !important;
    right: 0 !important;
    border-inline-end: none !important;
}

.ch-top-search .search-results-wrapper .autocomplete-suggestions {
    grid-template-columns: repeat(2, 1fr);
}
.ch-top-actions {
    align-items: center;
    display: flex;
    flex-direction: row;
    gap: 16px;
}
.ch-top-actions-toggle {
    align-items: center;
    cursor: pointer;
    display: none;
    justify-content: flex-end;
    height: 20px;
    position: relative;
    width: 20px;
}
.ch-top-actions-toggle span {
    background-color: #fff;
    height: 2px;
    transition: all 0.3s ease;
}
.ch-top-actions-toggle span:nth-child(1) {
    bottom: 3px;
    position: absolute;
    right: 2px;
    width: 16px;
}
.ch-top-actions-toggle span:nth-child(2) {
    margin-right: 2px;
    width: 10px;
}
.ch-top-actions-toggle span:nth-child(3) {
    position: absolute;
    right: 2px;
    top: 3px;
    width: 16px;
}
.ch-top-actions-toggle.active span:nth-child(1) {
    transform: rotate(-45deg);
    transform-origin: top left;
}
.ch-top-actions-toggle.active span:nth-child(2) {
    opacity: 0;
}
.ch-top-actions-toggle.active span:nth-child(3) {
    transform: rotate(45deg);
    transform-origin: bottom left;
}
.ch-top-actions .wd-header-wishlist .wd-tools-text {
    display: none;
}
.ch-top-actions .wd-header-wishlist > a {
    position: relative;
}
.ch-top-actions .wd-header-wishlist .wd-tools-count {
    display: none;
}
.ch-top-actions .wd-header-cart > a {
    position: relative;
}
.ch-top-actions .wd-header-cart .wd-dropdown-cart {
    display: none !important;
}
.ch-top-actions .wd-header-cart .wd-tools-text {
    background-color: #fff;
    border-radius: 50%;
    color: #205584;
    margin-left: 0;
    min-height: 22px;
    min-width: 22px;
    position: absolute;
    right: -2px;
    text-align: center;
    top: -2px;
}
.ch-top-actions .wd-header-cart .wd-tools-text .wd-cart-number {
    font-weight: 600;
    line-height: 22px;
}
.ch-top-actions .wd-header-cart .wd-cart-subtotal,
.ch-top-actions .wd-header-cart .subtotal-divider {
    display: none !important;
}

.ch-top-actions-login {
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    color: #fff !important;
    display: flex;
    gap: 8px;
    padding: 12px 24px;
}
.ch-top-actions-login:hover {
    background-color: var(--e-global-color-primary);
    color: #fff !important;
    transition: all 0.3s ease;
}
.ch-top-actions-login span {
    font-weight: 600;
    line-height: 1;
}
.ch-top-actions-login svg {
    display: block;
    font-size: 20px;
}
.ch-nav {
    background-color: #205584;
    border-bottom: 1px solid #266aa3;
    border-top: 1px solid #266aa3;
}
.ch-nav-inner {
    display: flex;
    justify-content: center;
    gap: 8px;
}
.cv-nav-inner-actions {
    display: none;
}
.ch-nav-item {
    align-items: center;
    color: var(--e-global-color-secondary) !important;
    display: flex;
    gap: 8px;
    position: relative;
}
.ch-nav-item:hover .ch-nav-panel {
    opacity: 1;
    visibility: visible;
}
.ch-nav-item:hover .ch-nav-item-icon {
    color: #fff !important;
    flex-shrink: 0;
    transform: rotate(-180deg);
}
.ch-nav-item-link {
    align-items: center;
    color: #fff !important;
    display: flex;
    font-weight: 600;
    gap: 2px;
    line-height: 1;
    padding: 22px 16px;
}
.ch-nav-item-link:hover {
    color: rgba(255, 255, 255, 0.8) !important;
}
.ch-nav-item-icon {
    font-size: 24px;
    transition: all 0.3s ease;
}
.ch-nav-panel {
    opacity: 0;
    transition: all 0.3s ease;
    visibility: hidden;
}
/* navigation submenu */
.admin-bar .ch-nav-panel {
    top: calc(149px + 32px);
    max-height: calc(100vh - 149px - 32px);
}
.ch-nav-panel {
    background: #fff;
    box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.15);
    left: 0;
    max-height: calc(100vh - 149px);
    overflow: auto;
    padding-bottom: 32px;
    padding-top: 32px;
    position: fixed;
    top: 149px;
    width: 100%;
    z-index: 20;
}
.ch-nav-panel-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    margin-inline: auto;
    max-width: var(--wd-container-w);
    padding-inline: 15px;
}
.ch-nav-panel-col {
    flex: 1;
}
.ch-nav-panel .ch-nav-item-submenu-list {
    display: flex;
    flex-direction: column;
    padding-left: 0;
}
.ch-nav-panel .ch-nav-item-submenu-title h4,
.ch-submenu .ch-nav-item-submenu-title h4 {
    color: var(--e-global-color-secondary);
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0;
    padding: 8px 0;
    text-transform: uppercase;
}
.ch-nav-panel .ch-nav-item-submenu-title span {
    display: none;
}
.ch-nav-panel .ch-nav-item-submenu-title span svg {
    display: block;
}
.ch-nav-panel .ch-nav-item-submenu-list-item {
    background-color: #f8fafc;
    align-items: flex-start;
    border-radius: 8px;
    display: flex;
    color: var(--e-global-color-secondary) !important;
    flex-direction: row;
    flex: 1;
    margin-bottom: 2px;
    padding: 0;
    position: relative;
    transition: all 0.3s ease;
}
.ch-nav-panel .ch-nav-item-submenu-list-item:hover,
.ch-nav-panel .ch-nav-item-submenu-list-item.active {
    color: var(--e-global-color-primary) !important;
    background-color: #e5eff9;
}
.ch-nav-panel .ch-nav-item-submenu-list-item-link {
    align-items: center;
    color: inherit;
    display: flex;
    flex-direction: row;
    flex: 1;
    font-weight: 600;
    gap: 8px;
    justify-content: space-between;
    padding: 12px 16px;
    transition: all 0.3s ease;
}
.ch-nav-panel .ch-nav-item-submenu-list-item-link svg {
    color: inherit;
    display: block;
    flex-shrink: 0;
    font-size: 24px;
    transition: all 0.3s ease;
}
.ch-nav-panel .ch-nav-item-submenu-list-item > .ch-nav-item-submenu {
    display: none;
}

.ch-nav-panel-col-2,
.ch-nav-panel-col-3 {
    position: relative;
}

.ch-nav-panel .ch-nav-panel-col-2.active:before,
.ch-nav-panel .ch-nav-panel-col-3.active:before {
    content: "";
    display: block;
    width: 1px;
    height: 100%;
    background-color: #e5e7eb;
    position: absolute;
    left: -25px;
    top: 0;
    z-index: 10;
}

.ch-nav-panel .ch-nav-panel-col-2 .ch-nav-item-submenu-list-item:hover,
.ch-nav-panel .ch-nav-panel-col-2 .ch-nav-item-submenu-list-item.active {
    color: #519664 !important;
    background-color: #e5f3e9;
}
.ch-nav-panel .ch-nav-panel-col-3 .ch-nav-item-submenu-list-item-link svg {
    display: none;
}
.ch-nav-panel .ch-nav-panel-col-3 .ch-nav-item-all-link {
    border-top: 1px solid #e5e7eb;
    margin-top: 12px;
    padding-top: 10px;
}
.ch-nav-panel .ch-nav-panel-col-3 .ch-nav-item-all-link a {
    color: var(--e-global-color-primary) !important;
    font-size: 14px;
    font-weight: 600;
    gap: 2px;
    justify-content: flex-start;
    padding: 12px 16px;
}
.ch-nav-panel .ch-nav-panel-col-3 .ch-nav-item-all-link svg {
    display: block;
    font-size: 24px;
}

.ch-submenu {
    display: none;
    flex-direction: column;
    gap: 8px;
    position: absolute;
    top: 100%;
    left: 50%;
    background-color: #fff;
    box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.15);
    padding: 16px;
    z-index: 10;
    width: 100%;
    transform: translateX(-50%);
    min-width: 200px;
}
.ch-nav-item:hover .ch-submenu {
    display: flex;
    opacity: 1;
    visibility: visible;
}
.ch-submenu-link {
    background-color: #f8fafc;
    align-items: center;
    color: var(--e-global-color-secondary) !important;
    display: flex;
    flex-direction: row;
    flex: 1;
    font-weight: 600;
    gap: 8px;
    justify-content: space-between;
    padding: 12px 16px;
    transition: all 0.3s ease;
}

.ch-submenu-link:hover {
    background-color: #e5eff9;
    color: var(--e-global-color-primary) !important;
}

.ch-submenu .ch-nav-item-submenu-title {
    display: none;
}

/* responsive */
/* header */
@media (max-width: 1024px) {
    html.locked,
    body.locked {
        overflow: visible;
    }
    .wd-page-wrapper {
        padding-top: 126px !important;
    }
    .admin-bar .ch {
        top: 0;
    }
    .admin-bar .ch-nav-panel {
        max-height: calc(100vh - 105px);
    }
    .ch {
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
        left: 0;
        position: absolute;
        width: 100%;
    }
    .ch > .container {
        position: relative;
        z-index: 352;
    }
    .ch.sticky {
        animation: fadeIn 0.4s ease;
        position: fixed;
    }
    .ch-top {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        padding-top: 8px;
    }
    .ch-top-logo img {
        height: 40px;
    }
    .ch-top-actions .wd-header-wishlist,
    .ch-top-actions .wd-header-cart,
    .ch-top-actions .ch-top-actions-login {
        display: none;
    }
    .ch-top-actions {
        justify-content: flex-end;
    }
    .ch-top-actions-toggle {
        display: flex;
    }

    .ch-nav {
        background-color: #fff;
    }

    .ch-nav-item-link {
        color: var(--e-global-color-secondary) !important;
    }

    .ch-top-search {
        grid-column: 1 / span 2;
        grid-row: 2;
        margin-top: 8px;
        order: 2;
        padding: 12px 0 0;
        position: relative;
    }
    .ch-top-search:after {
        background-color: #f3f4f6;
        content: "";
        height: 1px;
        left: -15px;
        position: absolute;
        top: 0;
        width: calc(100vw + 30px);
    }
    .ch-nav {
        display: block;
        max-height: calc(100vh - 126px - 55px);
        position: fixed;
        top: 0;
        transform: translateY(calc(-100%));
        transition: all 0.3s ease;
        width: 100vw;
        z-index: 0;
    }
    .ch-nav.active {
        transform: translateY(126px);
        z-index: 353;
    }
    .ch-nav-inner {
        flex-direction: column;
        padding: 16px 0;
    }
    .ch-nav-item {
        flex: 1;
        width: 100%;
    }
    .ch-nav-item .ch-nav-item-link {
        justify-content: space-between;
        min-height: 48px;
        padding: 12px 16px !important;
        width: 100%;
    }
    .ch-nav-item:hover .ch-nav-item-icon {
        color: var(--e-global-color-secondary) !important;
        transform: rotate(0);
    }
    .ch-nav-item:hover .ch-nav-item-link {
        color: var(--e-global-color-secondary) !important;
    }
    .ch-nav-item.active .ch-nav-item-icon {
        color: var(--e-global-color-primary) !important;
        flex-shrink: 0;
        transform: rotate(-180deg) !important;
    }
    .ch-nav-item.active .ch-nav-item-link {
        color: var(--e-global-color-primary) !important;
    }
    .ch-nav-item:hover .ch-nav-panel {
        opacity: 0;
        visibility: hidden;
    }
    .ch-nav-panel {
        max-height: calc(100vh - 56px - 55px);
        padding-bottom: 0;
        padding-top: 0;
        position: fixed;
        top: -71px !important;
        z-index: 10;
    }

    .ch-submenu {
        position: fixed;
        top: -71px;
        z-index: 20;
    }

    .ch-nav-item:hover .ch-submenu {
        display: none;
    }

    .ch-nav-item.active .ch-submenu {
        display: flex;
    }

    .ch-submenu .ch-nav-item-submenu-title {
        display: flex;
    }

    .ch-nav-item.has-submenu.active .ch-nav-panel {
        opacity: 1;
        visibility: visible;
    }
    .ch-nav-panel-inner {
        flex-direction: column;
        gap: 0;
    }
    .ch-nav-panel .ch-nav-item-submenu-title,
    .ch-submenu .ch-nav-item-submenu-title {
        align-items: center;
        background-color: #f8fafc;
        cursor: pointer;
        display: flex;
        margin-bottom: 16px;
        padding: 22px 0;
        text-align: center;
    }
    .ch-nav-panel .ch-nav-item-submenu-title h4,
    .ch-submenu .ch-nav-item-submenu-title h4 {
        margin: 0 auto;
    }
    .ch-nav-panel .ch-nav-item-submenu-title span,
    .ch-submenu .ch-nav-item-submenu-title span {
        display: block;
        font-size: 20px;
    }
    .ch-nav-panel .ch-nav-item-submenu-list-item {
        align-items: center;
        background-color: #fff;
        flex-direction: column;
    }
    .ch-nav-panel .ch-nav-item-submenu-list-item.has-submenu {
        border: 1px solid #e5e7eb;
    }
    .ch-nav-panel
        .ch-nav-item-submenu-list-item.has-submenu
        > .ch-nav-item-submenu-list-item-link {
        border-bottom: 1px solid #e5e7eb;
    }
    .ch-nav-panel
        .ch-nav-item-submenu-list-item.has-submenu
        .ch-nav-item-submenu-list-item {
        background-color: transparent;
        border: none;
        margin-bottom: 0;
    }
    .ch-nav-panel
        .ch-nav-item-submenu-list-item.has-submenu
        .ch-nav-item-submenu-list-item-link {
        font-size: 14px;
    }
    .ch-nav-panel
        .ch-nav-item-submenu-list-item.has-submenu
        .ch-nav-item-submenu-list-item.has-submenu
        .ch-nav-item-submenu-list-item-link {
        border-bottom: none;
    }
    .ch-nav-panel
        .ch-nav-item-submenu-list-item.has-submenu
        .ch-nav-item-submenu-list-item.has-submenu
        .ch-nav-item-submenu {
        padding: 0 16px;
    }
    .ch-nav-panel
        .ch-nav-item-submenu-list-item.has-submenu
        .ch-nav-item-submenu-list-item.has-submenu
        .ch-nav-item-submenu
        .ch-nav-item-submenu-list {
        gap: 4px;
    }
    .ch-nav-panel
        .ch-nav-item-submenu-list-item.has-submenu
        .ch-nav-item-submenu-list-item.has-submenu
        .ch-nav-item-submenu
        .ch-nav-item-submenu-list-item {
        background-color: #fff;
        border-radius: 8px;
    }
    .ch-nav-panel
        .ch-nav-item-submenu-list-item.has-submenu
        .ch-nav-item-submenu-list-item.has-submenu
        .ch-nav-item-submenu-list-item-link:after {
        content: none;
    }
    .ch-nav-panel
        .ch-nav-item-submenu-list-item.has-submenu
        .ch-nav-item-submenu-list-item.has-submenu
        .ch-nav-item-submenu-list-item-link
        svg {
        transform: rotate(0deg);
    }
    .ch-nav-panel
        .ch-nav-item-submenu-list-item.has-submenu
        .ch-nav-item-submenu-list-item.has-submenu
        .ch-nav-item-submenu-list {
        margin-bottom: 0;
    }
    .ch-nav-panel
        .ch-nav-item-submenu-list-item.has-submenu
        .ch-nav-item-submenu-list-item.has-submenu.open
        .ch-nav-item-submenu-list-item-link
        svg {
        transform: rotate(-90deg);
    }
    .ch-nav-panel .ch-nav-item-submenu-list-item-link {
        position: relative;
        width: 100%;
    }
    .ch-nav-panel
        .ch-nav-item-submenu-list-item
        .ch-nav-item-submenu
        .ch-nav-item-submenu-title {
        display: none;
    }
    .ch-nav-panel .ch-nav-item-submenu-list-item:hover {
        background-color: transparent;
        color: var(--e-global-color-secondary) !important;
    }
    .ch-nav-panel
        .ch-nav-item-submenu-list-item.has-submenu
        > .ch-nav-item-submenu-list-item-link:after {
        background-color: #e5e7eb;
        content: "";
        height: calc(100% - 16px);
        position: absolute;
        right: 56px;
        top: 8px;
        width: 1px;
    }
    .ch-nav-panel
        .ch-nav-item-submenu-list-item.open
        > .ch-nav-item-submenu-list-item-link {
        color: var(--e-global-color-primary) !important;
    }
    .ch-nav-panel
        .ch-nav-item-submenu-list-item.open
        .ch-nav-item-submenu-list-item-link
        svg {
        transform: rotate(-90deg);
    }
    .ch-nav-panel .ch-nav-item-submenu-list-item.open > .ch-nav-item-submenu {
        align-items: center;
        display: flex;
        flex-direction: column;
        width: 100%;
    }
    .ch-nav-panel .ch-nav-item-submenu-list {
        width: 100%;
    }
    .ch-nav-panel
        .ch-nav-item-submenu-list
        .ch-nav-item-submenu-list-item
        .ch-nav-item-submenu {
        background: #f8fafc;
    }
}
@media (max-width: 768px) {
    .ch-top-search .search-results-wrapper .autocomplete-suggestions {
        grid-template-columns: repeat(1, 1fr);
    }
}

@keyframes fadeIn {
    from {
        transform: translate3d(0, -100%, 0);
    }

    to {
        transform: none;
    }
}

/* END CUSTOM HEADER */

/* Price Inquiry Notice */
.price-inquiry-notice {
    margin: 10px 0;
    padding: 8px 12px;
    background-color: #f0f8ff;
    border: 1px solid #0073aa;
    border-radius: 4px;
    text-align: center;
}

.inquiry-text {
    color: #0073aa;
    font-weight: bold;
    font-size: 14px;
}

/* Inquiry Button Styles */
.inquiry-button-wrapper {
    margin-top: 10px;
}

.inquiry-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.price-on-inquiry {
    color: #00a1d5;
    font-size: 16px;
    margin-bottom: 12px;
    font-weight: 600;
}

.read-more-btn {
    background-color: transparent;
    border: 1px solid var(--btn-accented-bgcolor);
    color: var(--btn-accented-bgcolor);
    border-radius: 4px;
    cursor: pointer;
    text-transform: none;
    font-size: 13px;
    padding: 12px 24px;
}

.inquiry-btn {
    background-color: var(--btn-accented-bgcolor);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-transform: none;
    padding: 12px 24px;
}

.inquiry-btn:hover {
    background-color: var(--btn-accented-bgcolor-hover);
    color: white;
    opacity: 0.9;
}

/* Modal Styles */
.inquiry-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.inquiry-modal-content {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    max-height: 90vh;
    max-width: 445px;
    overflow-y: auto;
    position: relative;
    padding: 32px 24px 24px;
    width: 90%;
}

.inquiry-modal-title {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: #000 !important;
    letter-spacing: 0.01em;
    line-height: 1;
    margin-bottom: 16px;
}

.inquiry-modal-text {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 24px;
}

.inquiry-modal-close {
    cursor: pointer;
    position: absolute;
    top: 16px;
    right: 16px;
}

.inquiry-modal-close:hover {
    color: #333;
}

.form-group {
    margin-bottom: 16px;
}

.form-group-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 16px;
}

.form-group label {
    font-weight: 600;
    font-size: 14px;
    line-height: 100%;
    margin-bottom: 8px;
}

.form-group label span {
    color: #00000080;
}

.form-group input,
.form-group textarea {
    border-radius: 4px;
    border: 1px solid #3686c333;
    box-sizing: border-box;
    font-size: 14px;
    padding: 15px 12px;
    width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #00000080;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3686c3;
    box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
    margin-bottom: 8px;
}

.form-group button {
    background-color: #00a1d5;
    color: white;
    border: none;
    padding: 12px 24px;
    border: 1px solid #3686c333;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
    text-transform: none;
}

.form-group button:hover {
    background-color: #00a1d5;
    color: white;
    opacity: 0.9;
}

.form-group button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.form-group button.close-modal {
    background-color: #fff;
    color: #00a1d5;
}

.form-group button.close-modal:hover {
    background-color: #fff;
    color: #00a1d5;
    opacity: 0.8;
}

/* Body scroll lock when modal is open */
body.modal-open {
    overflow: hidden;
}

/* Hide add to cart button when inquiry button is present */
.inquiry-button-wrapper + .add_to_cart_button,
.inquiry-button-wrapper ~ .add_to_cart_button,
.wd-add-btn:has(.inquiry-button-wrapper) .add_to_cart_button {
    display: none !important;
}

/* Responsive design */
@media (max-width: 600px) {
    .inquiry-modal-content {
        width: 95%;
        margin: 10px;
    }

    .inquiry-modal-header,
    .inquiry-modal-body {
        padding: 15px;
    }
}

/* END Inquiry Button Styles */

/* Hide Akcija filter in product archive page */
.term-akcija #wd-widget-stock-status-2 {
    display: none;
}

.search.search-results .page-title {
    background-image: none !important;
}

.product-type-variable
    .related-and-upsells
    .wd-carousel-inner
    .wd-slide-visible:first-of-type {
    display: block !important;
}

.woocommerce-order-received .wc-bacs-bank-details {
    justify-content: flex-start;
}

.woocommerce-order-received .wc-bacs-bank-details li {
    border: none;
    flex: 0 0 300px;
    text-align: left;
}

.woocommerce-order-received .wc-bacs-bank-details:not(:last-child) {
    border-bottom: 1px solid #0000001a;
    margin-bottom: 30px;
    padding-bottom: 10px;
}

.woocommerce-order-overview.woocommerce-thankyou-order-details.order_details {
    margin-bottom: 30px;
}

@media screen and (max-width: 768px) {
    .woocommerce-order-received .wc-bacs-bank-details li {
        flex: 0 0 100% !important;
    }

    .woocommerce-order-received .wc-bacs-bank-details:not(:last-child) {
        margin-bottom: 15px;
    }
}

.grecaptcha-badge {
    visibility: hidden;
}
