/* WordPress / WooCommerce extras on top of the HTML storefront CSS */

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}

body > .woocommerce-notices-wrapper,
body > .woocommerce-message,
body > .woocommerce-info,
body > .woocommerce-error {
  width: min(1480px, calc(100% - 32px));
  margin: 20px auto 0;
}

.woocommerce-notices-wrapper {
  margin-top: 8px;
  margin-bottom: 16px;
}

.woocommerce-notices-wrapper:empty {
  display: none;
  margin: 0;
}

.woocommerce-error,
.woocommerce-info,
.woocommerce-message {
  margin-top: 0;
  margin-bottom: 16px;
}

.product-card .added_to_cart,
.pc-add + .added_to_cart,
.buybox-cta .added_to_cart {
  display: none !important;
}

.pc-add.loading,
.single_add_to_cart_button.loading {
  opacity: 0.65;
  pointer-events: none;
}

.buybox-actions .cart.buybox-cta,
.buybox-cta {
  display: flex;
  align-items: stretch;
  gap: 10px;
  width: 100%;
}

.buybox-cta .qty-box { flex: 0 0 auto; }
.buybox-cta .buybox-add,
.buybox-cta .single_add_to_cart_button {
  flex: 1 1 auto;
  min-height: 48px;
}

.cart-item .qty-box.buybox-qty { margin: 0; }
.cart-item .quantity.qty-box { width: auto; }

.brand-chip span {
  font-size: 13px;
  font-weight: 600;
  color: #1a2d55;
  padding: 8px;
  text-align: center;
}

.products-grid.is-list {
  grid-template-columns: 1fr;
}

.products-grid.is-list .product-card::after { display: none; }

.wc-block-components-notice-banner,
.wp-block-woocommerce-cart,
.wp-block-woocommerce-checkout { max-width: none; }

form.checkout .woocommerce-billing-fields > h3,
form.checkout .woocommerce-shipping-fields > h3 { margin-top: 0; }

.marka-customer-type .woocommerce-input-wrapper:not(.wc-customer-type) {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.woocommerce-checkout #place_order,
.woocommerce-form-login__submit,
.woocommerce-form-register__submit {
  min-height: 48px;
}

.woocommerce-checkout #place_order {
  background: var(--mk-primary);
  color: #fff;
}

.woocommerce-checkout .marka-nl-optin {
  margin: 4px 0 16px;
}

.woocommerce-checkout .marka-nl-optin .woocommerce-form__label-for-checkbox {
  margin: 0;
  font-weight: 500;
  color: #1a1d23;
}

.woocommerce-checkout .marka-nl-optin .input-checkbox {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  accent-color: var(--mk-primary);
}

.woocommerce-checkout .select2-container {
  width: 100% !important;
}

.woocommerce-checkout .select2-container .select2-selection--single,
.woocommerce-EditAddressForm .select2-container .select2-selection--single {
  height: 48px;
  border: 1px solid var(--mk-line);
  border-radius: 6px;
  background: #fff;
}

.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__rendered,
.woocommerce-EditAddressForm .select2-container .select2-selection--single .select2-selection__rendered {
  line-height: 46px;
  padding-left: 12px;
  padding-right: 28px;
  color: #1a1d23;
  font-size: 14px;
}

.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__arrow,
.woocommerce-EditAddressForm .select2-container .select2-selection--single .select2-selection__arrow {
  height: 46px;
  width: 28px;
}

.woocommerce-checkout .select2-container--open .select2-selection--single,
.woocommerce-checkout .select2-container--focus .select2-selection--single {
  border-color: var(--mk-navy);
  box-shadow: 0 0 0 3px rgba(17, 31, 60, 0.08);
}

.select2-dropdown {
  border-color: var(--mk-line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(10, 39, 68, 0.14);
}

.select2-container--default .select2-search--dropdown .select2-search__field {
  border: 1px solid var(--mk-line);
  border-radius: 6px;
  padding: 8px 10px;
  min-height: 40px;
}

.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
  background: var(--mk-navy);
  color: #fff;
}

.woocommerce-MyAccount-content .button,
.woocommerce-Button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  background: var(--mk-primary);
  color: #fff;
  border: 0;
  border-radius: 6px;
  font-weight: 600;
}

.woocommerce-MyAccount-content .button:hover,
.woocommerce-Button:hover { background: var(--mk-primary-500); color: #fff; }

.marka-main .page-title { margin-top: 0; }

img.logo-img,
img.logo-img-footer { filter: none; }

.catbar-inner { display: flex; flex-wrap: nowrap; }

body.woocommerce-account {
  display: block;
}

.wc-dash-card {
  text-decoration: none;
}

.pc-sku {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--mk-muted);
  font-weight: 400;
}

.pc-img.is-placeholder,
.gallery-main.is-placeholder,
.gallery-thumbs .thumb.is-placeholder {
  background: #e8eaed;
}

.pc-img.is-placeholder img,
.gallery-main.is-placeholder img,
.gallery-thumbs .thumb.is-placeholder img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

.gallery-main img {
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
  object-position: center;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.gallery-thumbs .thumb {
  aspect-ratio: 1 / 1;
  width: 100%;
  height: auto;
  padding: 6px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.gallery-thumbs .thumb img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

.filter-block summary {
  list-style: none;
}

.filter-block summary::-webkit-details-marker,
.filter-block summary::marker {
  display: none;
  content: none;
}

.filter-block summary::after {
  content: "expand_more";
  font-family: "Material Symbols Outlined";
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  color: #5a6570;
  flex: 0 0 auto;
  margin-left: 8px;
}

.filter-block[open] summary::after {
  content: "expand_less";
}

.filter-search {
  width: 100%;
  margin: 8px 0 6px;
  padding: 7px 10px;
  border: 1px solid var(--mk-line);
  border-radius: 6px;
  font: inherit;
  font-size: 13px;
}

.filter-options {
  display: flex;
  flex-direction: column;
  margin-top: 8px;
}

.filter-block:not(.is-expanded):not(.is-searching) .filter-options.is-collapsible .filter-row:nth-child(n+11) {
  display: none;
}

.filter-row.is-hidden { display: none !important; }

.filter-row-count {
  color: var(--mk-muted);
  font-size: 13px;
  flex: 0 0 auto;
}

.filter-more {
  margin-top: 6px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--mk-primary);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.filter-block.is-searching .filter-more { display: none; }

.active-chip {
  text-decoration: none;
}

.active-chip-clear {
  font-size: 13px;
  font-weight: 600;
  color: var(--mk-primary);
}
