/* HUSKY Storefront: BotoScope markup differences on top of Storefront + storefront-child CSS. */
.husky-banner img { height: auto; max-width: 100%; }
.head-search form { margin: 0; }
.head-search .woof_text_search_go { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border: 0; background: transparent; cursor: pointer; padding: 0; }
.head-search .woof_container_inner { position: relative; }
.topbar-currency { display: inline-block; margin-right: 10px; line-height: 1; vertical-align: middle; }
.head-cart .husky-cart { position: relative; color: var(--blue); font-size: 22px; }
.head-cart .husky-cart .count { position: absolute; top: -8px; right: -10px; background: var(--green); color: #fff; border-radius: 9px; font-size: 11px; min-width: 18px; height: 18px; line-height: 18px; text-align: center; }
ul.products li.product .add-to-wishlist.active, ul.products li.product .add-to-compare.active { background: var(--blue); color: #fff; }
.woocommerce-product-gallery .flex-control-thumbs { list-style: none; margin: 1em 0 0; display: flex; gap: 8px; flex-wrap: wrap; }
.woocommerce-product-gallery .flex-control-thumbs img { opacity: .6; cursor: pointer; }
.woocommerce-product-gallery .flex-control-thumbs img.flex-active { opacity: 1; }
.wc-tab[hidden] { display: none !important; }

/* Shop plugin markup that WooCommerce does not have (its own CSS is replaced by this theme). */
.star-rating > span { width: 0; }
.stars-1 > span { width: 10%; } .stars-2 > span { width: 20%; } .stars-3 > span { width: 30%; } .stars-4 > span { width: 40%; } .stars-5 > span { width: 50%; }
.stars-6 > span { width: 60%; } .stars-7 > span { width: 70%; } .stars-8 > span { width: 80%; } .stars-9 > span { width: 90%; } .stars-10 > span { width: 100%; }
.comment-form-rating .stars-input { display: inline-flex; flex-direction: row-reverse; gap: 2px; margin: 4px 0 0; position: relative; }
.comment-form-rating .stars-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.comment-form-rating .stars-input label { cursor: pointer; font-size: 22px; color: #d3d6da; }
.comment-form-rating .stars-input label::before { content: "\2605"; }
.comment-form-rating .stars-input input:checked ~ label, .comment-form-rating .stars-input label:hover, .comment-form-rating .stars-input label:hover ~ label { color: var(--blue); }
.comment-form-rating .stars-input input:focus-visible + label { outline: 2px solid var(--blue); outline-offset: 2px; }
.comment-form-hp { position: absolute !important; left: -9999px; }
.restore-item-form { display: inline; margin: 0; }
.button-link { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; cursor: pointer; font: inherit; }
.add_to_cart_button.loading { opacity: .6; }
.single_add_to_cart_button.disabled { opacity: .5; cursor: not-allowed; }
p.stock.in-stock { color: #0f834d; } p.stock.out-of-stock { color: #b32d2e; } p.stock.available-on-backorder { color: #996800; }
ul.products li.product p.stock { margin: 0 0 .5em; font-size: .875em; }

/* The loop add-to-cart form (BotoScope posts to the cart) looks like the demo's a.button. */
.site-main ul.products li.product form.loop-add-to-cart { display: flex; flex-grow: 1; margin: 0 4px 0 0; }
.site-main ul.products li.product form.loop-add-to-cart .button { padding: 10px 5px; margin: 0; display: flex; flex-grow: 1; align-items: center; justify-content: center; transition: all .2s; text-transform: uppercase; font-size: 12px; }
.site-main ul.products li.product:hover form.loop-add-to-cart .button { color: #fff; background: #1f63d1; }
.site-main ul.products li.product form.loop-add-to-cart .button:hover { background: #357aeb; }
.site-main ul.products li.product form.loop-add-to-cart .added_to_cart { display: none; }
.site-main ul.products li.product form.loop-add-to-cart .button.added::after { content: " \2713"; }

/* ---- The product filter in the HUSKY look (woof front.css + icheck square_blue + ion.rangeSlider round). */
#secondary .pf-form { --pf-accent: #000; --pf-on: #477bff; --pf-bar: #006cfa; --pf-border: #e2e6e7; --pf-muted: #c0c0c0; gap: 0; font-size: 14px; color: #6d6d6d; }
#secondary .pf-item { border: 0; padding: 0 0 5px; margin: 0 0 9px; }
#secondary .pf-title { font-family: Yesteryear, sans-serif; font-size: 15px; font-weight: 500; color: #333; background: #f7f7f7; text-align: center; padding: 8px 7px; margin: 0 0 11px; line-height: 20px; border-radius: 3px; text-transform: none; letter-spacing: 0; justify-content: center; position: relative; box-sizing: border-box; float: left; }
#secondary .pf-title + .pf-body { clear: both; }
#secondary .pf-title-text { flex: 0 1 auto; }
#secondary .pf-collapse { position: absolute; right: 7px; top: 8px; width: 20px; height: 20px; border-radius: 2px; background: #000; }
#secondary .pf-collapse::before { left: 5px; right: 5px; top: 9px; }
#secondary .pf-collapse[aria-expanded="false"]::after { left: 9px; top: 5px; bottom: 5px; }
#secondary .pf-tip { width: 15px; height: 15px; background: #477bff; margin-left: 2px; }
/* rows */
#secondary .pf-terms { gap: 0; }
#secondary .pf-term { line-height: 22.6px; min-height: 31px; gap: 8px; color: #6d6d6d; font-size: 14px; }
#secondary .pf-count { margin-left: 0; color: #6d6d6d; font-size: 14px; }
#secondary .pf-count::before { content: "("; } #secondary .pf-count::after { content: ")"; }
#secondary .pf-desc { color: #6d6d6d; font-size: 12px; }
#secondary .pf-children { gap: 0; }
#secondary .pf-more > summary { color: #477bff; font-size: 13px; }
/* iCheck square blue */
#secondary .pf-term:not(.pf-color):not(.pf-image):not(.pf-label) input[type=checkbox], #secondary .pf-term input[type=radio], #secondary .pf-toggle input[type=checkbox] { -webkit-appearance: none; appearance: none; flex: none; width: 22px; height: 22px; margin: 0; border: 1px solid #d0d6dc; background: #fff; border-radius: 0; position: relative; cursor: pointer; }
#secondary .pf-term input[type=radio] { border-radius: 50%; }
#secondary .pf-term input:checked, #secondary .pf-toggle input:checked { background: #2489c5; border-color: #2489c5; }
#secondary .pf-term input[type=checkbox]:checked::after, #secondary .pf-toggle input:checked::after { content: ""; position: absolute; left: 7px; top: 3px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
#secondary .pf-term input[type=radio]:checked::after { content: ""; position: absolute; left: 6px; top: 6px; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
#secondary .pf-term input:focus-visible, #secondary .pf-toggle input:focus-visible { outline: 2px solid #477bff; outline-offset: 1px; }
#secondary .pf-toggle { font-weight: 400; font-size: 13px; gap: 8px; min-height: 31px; }
#secondary .pf-item--toggle { margin: 0; padding: 0; }
/* colors: 50px circles */
#secondary .pf-item--color .pf-inline { gap: 12px 14px; }
#secondary .pf-color { width: auto; }
#secondary .pf-color .pf-swatch { width: 46px; height: 46px; border: 2px solid #eee; box-shadow: none; border-radius: 80px; }
#secondary .pf-color.pf-on .pf-swatch { outline: 3px solid #477bff; outline-offset: 1px; }
#secondary .pf-color .pf-name, #secondary .pf-color .pf-count { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }
/* images: 123px tiles, two per row */
#secondary .pf-item--image .pf-inline { gap: 3px; }
#secondary .pf-image { width: 123px; height: 110px; border: 1px solid #e2e6e7; padding: 2px; box-sizing: border-box; }
#secondary .pf-key--pa_season .pf-image { height: 80px; border-width: 2px; }
#secondary .pf-key--pa_season .pf-image img { object-fit: cover; }
#secondary .pf-image.pf-on { border: 2px solid #477bff; }
/* labels: 50px squares with a count badge */
#secondary .pf-item--label .pf-inline { gap: 3px; }
#secondary .pf-label { position: relative; width: 50px; height: 50px; border: 1px solid #ddd; border-radius: 0; background: #efefef; color: #6d6d6d; justify-content: center; padding: 0; font-size: 14px; box-sizing: border-box; margin: 3px 3px 3px 0; }
#secondary .pf-label .pf-count { position: absolute; top: -8px; right: -4px; min-width: 17px; height: 17px; line-height: 17px; border-radius: 200px; background: #efefef; color: #477bff; font-size: 10px; text-align: center; }
#secondary .pf-label .pf-count::before, #secondary .pf-label .pf-count::after { content: none; }
#secondary .pf-label.pf-on { background: #477bff; border-color: #477bff; color: #fff; }
#secondary .pf-label.pf-on .pf-count { color: #477bff; }
/* ion.rangeSlider "round" */
#secondary .pf-slider { --pf-bar: #006cfa; }
#secondary .pf-bubbles { height: 24px; }
#secondary .pf-bubbles output { font-size: 13px; line-height: 20px; padding: 0 5px; border-radius: 4px; background: #006cfa; }
#secondary .pf-track { height: 26px; }
#secondary .pf-track::before { top: 11px; background: linear-gradient(to right, #dee4ec var(--pf-a), #006cfa var(--pf-a), #006cfa var(--pf-b), #dee4ec var(--pf-b)); }
#secondary .pf-track input[type=range] { height: 26px; }
#secondary .pf-track input[type=range]::-webkit-slider-runnable-track { height: 26px; }
#secondary .pf-track input[type=range]::-webkit-slider-thumb { width: 24px; height: 24px; margin-top: 1px; border: 4px solid #006cfa; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); }
#secondary .pf-track input[type=range]::-moz-range-thumb { width: 16px; height: 16px; border: 4px solid #006cfa; }
#secondary .pf-grid { font-size: 13px; color: #c0c0c0; }
#secondary .pf-terms-slider .pf-grid { font-size: 10px; }
#secondary .pf-slider .pf-range { display: flex; justify-content: space-between; gap: 40px; }
#secondary .pf-slider .pf-range label { flex: 0 1 30%; }
#secondary .pf-range input { border-radius: 0; padding: 2px 6px; font-size: 12px; border: 1px solid #ddd; background: #fff; box-shadow: none; }
/* selects */
#secondary .pf-item select { width: 100%; border: 1px solid #ddd; border-radius: 0; padding: 6px 8px; font-size: 13px; background-color: #fff; color: #6d6d6d; box-shadow: none; }
#secondary .pf-hierarchy { gap: 2px; }
#secondary .pf-hierarchy select { border: 0; border-bottom: 1px solid #eee; padding: 6px 4px; font-size: 12.25px; }
/* actions: applied on change; Reset only when something is chosen */
#secondary .pf-form.pf-js .pf-submit { display: none; }
#secondary .pf-form:not(:has(.pf-chips)) .pf-actions { display: none; }
#secondary .pf-chips { margin: 0 0 12px; }
#secondary .pf-chip { background: #eef3ff; color: #477bff; }
#secondary .pf-actions .pf-reset-link { color: #477bff; }

/* Header text search (HUSKY by_text). */
.head-search input.woof_husky_txt-input { width: 100%; min-height: 30px; height: 52px; margin: 0; border: 1px solid #eee; border-radius: 5px; padding: 14px; font-family: Nunito, sans-serif; font-size: 16px; background: #fff; color: #a4a4a4; box-shadow: none; outline: none; }
.head-search input.woof_husky_txt-input:focus { border-color: #477bff; color: #333; }
#secondary .pf-color, #secondary .pf-image, #secondary .pf-label { min-height: 0; line-height: 1; }
#secondary .pf-color input, #secondary .pf-image input, #secondary .pf-label input { position: absolute; opacity: 0; width: 1px; height: 1px; }
#secondary .pf-image img { width: 100% !important; height: 100% !important; max-width: none; object-fit: contain; }
#secondary .pf-key--pa_season .pf-image img { object-fit: cover; }
#secondary .pf-label { display: inline-flex; align-items: center; justify-content: center; }
#secondary .pf-empty { opacity: 1; }

/* Wide screens: the cart stays reachable next to the search (the demo sold external links only). */
@media (min-width: 992px) {
  .head-middlesection .head-cart.head-cart-2 { display: flex; align-items: center; margin-left: 18px; }
  .head-middlesection .head-cart.head-cart-2 #mobile-menu-trigger { display: none; }
}
/* Checkout: the country drop-down looks like the Storefront fields. */
form.checkout .form-row select, .woocommerce form .form-row select, form.woocommerce-EditAccountForm select, form.edit-address select { width: 100%; padding: .6180469716em; background-color: #f2f2f2; color: #43454b; border: 0; border-radius: 0; box-shadow: inset 0 1px 1px rgba(0, 0, 0, .125); font-size: 1em; line-height: 1.4; }
