/* BUTALI: our additions on top of the template's compiled style.css (never edit style.css itself). */

[hidden] { display: none !important; }

/* Variant selectors: values that make no combination with the current choice. */
.product-option select option.variant-unavailable { color: #aaa; }

/* Disabled add-to-cart button (sold out / unavailable combination). */
#cartEffect.disabled, #cartEffect:disabled { opacity: .5; pointer-events: none; }

/* Validation messages in storefront forms. */
.error-message-line { color: #c0392b; font-size: 13px; margin-top: 4px; display: block; }

/* Language switcher: current language highlighted. */
.mobile-setting .setting a.active { font-weight: 700; }

/* Account dropdown: logout button looks like the links. */
.onhover-show-div form button { background: none; border: 0; padding: 0; color: inherit; font: inherit; text-transform: inherit; cursor: pointer; }

/* ---------- listings ---------- */
.collection-product-wrapper .product-top-filter .product-filter-content .listing-subcategory-filter { margin-right: auto; }
.collection-product-wrapper .product-top-filter .product-filter-content .listing-subcategory-filter select { border-left: none; }
.listing-empty { padding: 60px 0; text-align: center; }
[data-listing].is-loading [data-listing-products] { opacity: .5; pointer-events: none; transition: opacity .2s; }
.product-box-stock { display: block; color: #999; margin-top: 4px; }

/* ---------- collections ---------- */
.collections-customized__left > a { display: block; height: 100%; }
.collections-customized__placeholder { display: flex; align-items: center; justify-content: center; height: 100%; min-height: 435px; background: #c9e3ed; }
.collections-customized__placeholder img { width: 60%; height: auto !important; min-height: 0 !important; object-fit: contain !important; }
.collections-customized__title a { color: inherit; }

/* ---------- product page ---------- */
.product-buttons { display: flex; align-items: center; gap: 16px; }
.product-buttons .btn.disabled, .product-buttons .btn:disabled { opacity: .5; cursor: not-allowed; }
.product-wishlist { display: inline-flex; width: 28px; height: 28px; }
.product-wishlist svg { width: 100%; height: 100%; fill: #0b3a89; }
.product-wishlist svg.filled { display: none; }
.product-wishlist.favorite svg.regular { display: none; }
.product-wishlist.favorite svg.filled { display: block; }
.product-slick-placeholder img { width: 100%; }
.product-option-value a { color: inherit; text-decoration: underline; }

/* ---------- auth forms ---------- */
.theme-form .form-check { display: flex; align-items: center; gap: 8px; padding-left: 0; }
.theme-form .form-check-input { width: 16px; height: 16px; min-height: 0; padding: 0; margin: 0; float: none; border-radius: 3px; }
.theme-form .form-check-label { margin: 0; }
.theme-card .alert { margin-bottom: 20px; }

/* ---------- cart ---------- */
.cart-coupon { display: inline-flex; align-items: center; justify-content: flex-end; gap: 10px; }
.cart-coupon .form-control { width: 200px; }
.cart-coupon .btn { white-space: nowrap; padding: 8px 18px; }
.cart-coupon h2 { margin: 0; }
.cart-table .cart-remove, .cart-coupon .icon { border: 0; background: none; padding: 0; cursor: pointer; }
.cart-table .qty-box .input-group { flex-wrap: nowrap; justify-content: center; }
.cart-removed .cart-table td { opacity: .6; }

/* ---------- checkout ---------- */
.order-box .sub-total .shipping { width: 55%; }
.order-box .sub-total .shipping .shopping-option { display: flex; flex-wrap: wrap; align-items: center; margin-bottom: 6px; padding-left: 0; }
.order-box .sub-total .shipping .shopping-option label { line-height: 1.4; padding-left: 8px; }
.order-box .sub-total .shipping .shopping-option .small-text,
.order-box .sub-total .shipping [data-delivery-hint] { flex-basis: 100%; padding-left: 24px; font-size: 13px; font-weight: 400; color: #999; line-height: 1.4; }
.order-box .sub-total .shipping [data-delivery-hint] { padding-left: 0; }
@media (max-width: 575px) { .order-box .sub-total .shipping { width: 100%; float: none; margin-top: 8px; } }
.checkout-page .error-message-line { color: #dc3545; font-size: 13px; margin-top: 6px; }
.checkout-page .check-out input.is-invalid, .checkout-page .check-out select.is-invalid { border-color: #dc3545; }

/* ---------- order page ---------- */
.order-placed .success-text { text-align: center; }
.order-placed-check { width: 64px; height: 64px; color: #0b3a89; margin-bottom: 16px; }
.product-order .product-order-detail img { width: 100%; height: auto; object-fit: cover; }
.product-order .order_detail small { font-size: 12px; color: #777; }
.order-placed .success-text p { text-transform: none; }

/* ---------- account ---------- */
.dashboard-left .block-content .account-logout { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; }
.dashboard-left .block-content form { margin: 0; }
.dashboard .box-account { margin-bottom: 40px; scroll-margin-top: 140px; }
.dashboard .theme-form .btn { margin-top: 10px; }
.dashboard .order-table .btn-sm { padding: 6px 14px; font-size: 12px; }
.dashboard-left .collection-mobile-back .filter-back { display: inline-block; padding: 12px 20px 12px 0; cursor: pointer; }

/* ---------- live search ---------- */
.search-overlay > div { overflow-y: auto; padding: 80px 0 40px; }
.search-preview { margin-top: 30px; }
.search-preview .product-box { margin-bottom: 20px; }
