/* Flexbox layout for two columns */

.dashicons,
.dashicons-before:before {
    font-family: dashicons;
    display: inline-block;
    line-height: 1;
    font-weight: 400;
    font-style: normal;
    speak: never;
    text-decoration: inherit;
    text-transform: none;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    width: 20px;
    height: 20px;
    font-size: 20px;
    vertical-align: top;
    text-align: center;
    transition: color .1s ease-in;
}

.dashicons-update:before {
    content: "\f463";
}

.dashicons-yes:before {
    content: "\f147";
}

.dashicons.spin {
    animation: dashicons-spin 1s infinite;
    animation-timing-function: linear;
}

@keyframes dashicons-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.tw-acs-products-list-wrapper .ais-SearchBox-form input.ais-SearchBox-input {
    border: 2px solid #d7d7d7;
    border-radius: 30px !important;
    padding: 0px 10px !important;
}

.tw-acs-products-list-wrapper .ais-SearchBox-form input.ais-SearchBox-input:focus-within {
    border: 2px solid #1473E6;
    outline: none;
}

.ais-InstantSearch {
    display: flex;
    margin-top: 20px;
}
/* 2026-08-03 (Jacob item 3): on mobile the 20px + the H1 line-height slack read as a
   large blank band between the H1 and the SORT/FILTERS row -- no empty container or
   hidden reservation involved (measured: this margin is the whole structural gap).
   Desktop keeps 20px (sidebar rhythm). */
@media only screen and (max-width: 560px) {
    .ais-InstantSearch {
        margin-top: 6px;
    }
    /* .tw-acs-header's own margin-bottom:20px collapses with the margin above, so both
       legs must shrink or neither shows. Parent-scoped for specificity over the source
       rule. min-height reserves (theme style.css CLS fix) are untouched -- margins sit
       outside the reserved box and shrink identically in early and settled frames. */
    .tw-acs-products-list-wrapper .tw-acs-header {
        margin-bottom: 6px;
    }
}

.sidebar {
    flex: 0 0 auto;
    width: 20%;
    padding-right: 50px;
}

.content {
    flex: 1 1 auto;
    padding: 0 20px;
    width: 80%;
}

/* Styling for widget and hits */
.sidebar>div {
    margin-bottom: 20px;
}

.acs-hits-wrapper ol {
    display: flex;
    flex-wrap: wrap;
    /* Prevent wrapping of list items */
    /* overflow-x: auto; */
    /* Add horizontal scrolling if necessary */
    padding: 0;
    /* Remove default padding */
    margin: 0;
    /* Remove default margin */
    list-style-type: none;
    /* Remove default numbering */
}

.acs-hits-wrapper ol li {
    padding: 10px;
    margin-right: 10px;
    flex: 0 0 calc(25% - 20px);
    margin-right: 20px;
    margin-bottom: 20px;
    padding: 10px;
}

.acs-hits-wrapper ol li .product-item img {
    /*width: 100%;
    height: 100%;
    object-fit: contain;*/
	width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
}

/* Algolia shop page */
div#tw-women-trendingItems ol.ais-TrendingItems-list {
     flex-wrap: wrap;
} 
.ais-RelatedProducts ol.ais-RelatedProducts-list, 
.ais-LookingSimilar-container ol.ais-LookingSimilar-list{
    flex-wrap: nowrap;
}
.tw-acs-products-list-wrapper .ast-container {
    padding: 0;
}
.ais-RelatedProducts-title:before {
    content: ' You May Also Like';
    position: relative;
    display: block;
    font-size: 30px;
}
.ais-RelatedProducts-title {
    font-size: 0;
}
.ais-RelatedProducts-container {
    margin-top: 40px;
}

.ais-LookingSimilar-title:before {
    content: 'You May Be Interested In';
    position: relative;
    display: block;
    font-size: 30px;
}
.ais-LookingSimilar-title {
    font-size: 0 !important;
}
.ais-LookingSimilar-container  {
    margin-top: 40px !important;
}

/* Loader css by dev */
.tw-acs-products-list-wrapper.tw-sp-wrap .loader {
    display: none;
}

#acs-quick-view-modal .acs-product-slider-container img#product-image {
  /*  width: 100%;
    height: 100%;
    object-fit: cover;*/
}
#acs-quick-view-modal .modal__content {
    width: 900px;
}
#acs-quick-view-modal .acs-product-slider-container {
    padding: 0;
    display: flex;
    align-items: center;
}
#acs-quick-view-modal .acs-product-info-container {
    height: 100%;
}
#acs-quick-view-modal .acs-variation-form {
    max-height: fit-content;
}
#acs-quick-view-modal .acs-variation-form form.variation-form {
    margin-bottom: 0;
}
#acs-quick-view-modal .acs-variation-form table.variations {
    margin: 0;
}
#acs-quick-view-modal .acs-qv-bottom-section {
    position: static;
}
#acs-quick-view-modal .acs-qv-bottom-section .acs-btn-container {
    padding: 0;
}



.tw-acs-products-list-wrapper {
    width: 100%;
}

.TWShopCurrentRefinements .ais-CurrentRefinements-item .ais-CurrentRefinements-label {
    display: none;
}

.TWShopCurrentRefinements li.ais-CurrentRefinements-item {
    background: #000;
    display: flex;
    align-items: center;
    margin: unset;
    padding-top: unset;
    padding-bottom: unset;
    padding-left: unset;
    padding-right: unset;
    background-color: unset;
    font-size: unset;
    color: unset;
    ;
    border-radius: unset;
}

.TWShopCurrentRefinements li span.ais-CurrentRefinements-category {
    display: block;
    margin: 2px;
    padding-top: 4px;
    padding-bottom: 4px;
    padding-left: 8px;
    padding-right: 8px;
    background-color: #000;
    font-size: 12px;
    color: #fff;
    border-radius: 4px;
}

.TWShopCurrentRefinements button.ais-CurrentRefinements-delete {
    margin-left: 5px;
}

.tw-top-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tw-acs-products-list-wrapper ::-webkit-scrollbar {
    width: 6px;
}

/* Track */
.tw-acs-products-list-wrapper ::-webkit-scrollbar-track {
    background: #fff;
}

/* Handle */
.tw-acs-products-list-wrapper ::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

/* Handle on hover */
.tw-acs-products-list-wrapper ::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.tw-acs-products-list-wrapper .ais-RefinementList-list {
    list-style: none;
    padding: 0;
    margin-left: 0;
    max-height: 180px;
    overflow-y: auto;
}

.tw-acs-products-list-wrapper #dynamic-widgets .subtitle {
    margin-bottom: 5px;
    color: #000;
    font-size: 12px;
    font-weight: 700;
    text-transform: capitalize;
    letter-spacing: 1.3px;
    padding-bottom: 10px;
}

.tw-acs-products-list-wrapper #dynamic-widgets .item-border .subtitle {
    border-bottom: 1px solid rgba(224,214,213,0.48);
}

.tw-acs-products-list-wrapper .ais-RefinementList-item {
    margin-bottom: 0px;
}

.tw-acs-products-list-wrapper span.ais-Stats-text {
    font-weight: 600;
    text-transform: capitalize;
    font-size: 14px;
}

.tw-acs-products-list-wrapper .ais-ClearRefinements-button {
    box-shadow: unset;
    /* border: 1px solid #d7d7d7; */
    /* border-radius: 4px; */
    font-size: 14px;
    padding: 8px 15px;
    background: unset;
    cursor: pointer;
    color: #000;
    float: right;
    text-decoration: underline;
}

.tw-acs-products-list-wrapper .ais-ClearRefinements-button:hover {
    color: #1473E6;
    /* box-shadow: 0px 0px 4px 1px #cfd1dd; */
}

.tw-acs-products-list-wrapper .ais-ClearRefinements-button:focus {
    outline: none;
}

.tw-acs-products-list-wrapper .refinements-wrap {
    display: flex;
    align-items: center;
    /* flex-direction: column; */
    margin-top: 20px;

}

.tw-acs-products-list-wrapper div#current-refinements {
    /* margin-left: 10px; */
}

.tw-acs-products-list-wrapper button.ais-InfiniteHits-loadMore {
    background: #000;
    border-radius: 30px;
    padding: 15px 20px;
    height: auto;
    text-transform: uppercase;
    margin: 20px auto;
}

.tw-acs-products-list-wrapper .color-swatch {
    height: 25px;
    width: 25px;
    border-radius: 50%;
    margin-right: 5px;
    border: 1px solid #000;
    cursor: pointer;
    position: relative;
}

.tw-acs-products-list-wrapper .color-swatch::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
}

.tw-acs-products-list-wrapper .color-swatch.active::before {
    border: 2px solid #fff;
}

.tw-acs-products-list-wrapper .ais-RefinementList .ais-SearchBox-form {
    padding: 0px;
    border: unset;
}

.tw-acs-products-list-wrapper .ais-RefinementList .ais-SearchBox-reset {
    margin-right: 10px;
}

.tw-acs-products-list-wrapper .ais-RefinementList-noResults {
    display: none;
}
.color-swatches:empty {
    display: none !important;
}

.tw-acs-products-list-wrapper .color-swatches {
    display: flex;
    min-height: 20px;
}

.tw-acs-products-list-wrapper .hit-taxonomies-brand {
    margin-top: 5px;
}

.tw-acs-products-list-wrapper .hit-taxonomies-brand {
    color: #1473E6;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.tw-acs-products-list-wrapper .hit-post_title {
    font-size: 14px;
    font-weight: 600;
}

.tw-acs-products-list-wrapper .hit-post_title {
    margin-bottom: 5px;
}

.tw-acs-products-list-wrapper .widget-facet-hidden {
    display: none;
}

.tw-acs-products-list-wrapper select.ais-SortBy-select {
    border: 1px solid #d7d7d7;
    border-radius: 4px;
    font-size: 14px;
    /* color: #000; */
    padding: 8px 15px;
    background-position: right 12px center;
    width: 160px;
}

.tw-acs-products-list-wrapper .sort-by-wrap {
    display: flex;
    align-items: center;
    color: #1f1f1f;
}

.tw-acs-products-list-wrapper .sort-by-wrap label {
    margin-right: 10px;
}

.tw-acs-products-list-wrapper select.ais-SortBy-select:hover {
    box-shadow: 0px 0px 4px 1px #cfd1dd;
}

.ais-RefinementList-count::before {
    content: "(";
}

.ais-RefinementList-count::after {
    content: ")";
}

.ais-RefinementList-count {
    background-color: unset;
    color: #666666;
    font-weight: normal;
    letter-spacing: unset;
    margin-left: 0;
    font-size: 12px;
}


span.reg-price {
    color: #707070;
    font-size: 14px;
    font-weight: normal;
    text-decoration: line-through;
}

.hit-product-price {
    font-size: 14px;
    font-weight: 600;
}

.hit-product-price span.perc-off {
    color: red;
    margin-right: 5px;
    font-size: 18px;
}

.hit-add-attributes .star-rating {
    margin-top: 2px;
}

.ais-RefinementList-item {
    font-size: 14px;
    color: #000;
}

.tw-acs-products-list-wrapper .ais-RefinementList-checkbox {
    cursor: pointer;
}

.tw-product-info {
    margin-top: 10px;
    text-align: left;
}

/*  custom quick view */

button.tw-quick-view-text {
    color: #000;
    background: #fff;
}

.popup_quick_title {
    text-align: start;
    padding: 10px 0;
}
.popup_quick_title h2 {
    margin: 0;
    font-size: 24px;
    line-height: 26px;
}
.acs-modal.modal {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1400;
    text-align: center;
    transition: all .3s;
    overflow-x: hidden;
    overflow-y: auto;
    background: #0b0b0b;
    align-items: center;
    justify-content: center;
}

.acs-modal.modal-show {
    visibility: visible;
    opacity: 1;
}

.acs-modal .modal__content {
    border-radius: 4px;
    position: relative;
    width: 1100px;
    background: #fff;
    padding: 1em 2em;
    margin: auto;
    margin-top: auto;

}

.acs-modal .modal__footer {
    text-align: right;

    a {
        color: #585858;
    }

    i {
        color: #d02d2c;
    }
}

.acs-modal .modal__close {
    position: absolute;
    top: 15px;
    right: 10px;
    color: #000;
    text-decoration: none;
    height: 40px;
    width: 40px;
    border-radius: 50%;
    font-size: 27px;
    border: 1px solid;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all ease 0.3s;
}
.acs-modal .modal__close:hover {
    color: #1473E6;
    border-color: #1473E6;
}


.acs-quick-view-bg {
    position: fixed;
    visibility: hidden;
    overflow: hidden;
    background: #0b0b0b;
    opacity: 0;
    transition: opacity .25s;
    z-index: 1042;
}

.acs-quick-view-bg-ready {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: .6;
    visibility: visible;
}

.acs-product-qv-wrap {
    display: flex;
    padding: 60px 20px;
}

.acs-product-slider-container {
    width: 50%;
    padding: 40px 30px;
    position: relative;
}
.acs-product-slider-container .final_sale {
    position: absolute;
    top: 0;
    right: 0;
    border-radius: 50px 0 0 50px;
    font-size: 10px;
    padding: 2px 8px 0;
    font-weight: 600;
    background: #F6E0E4 0% 0% no-repeat padding-box;
    color: #B20537;
}

.acs-product-info-container {
    width: 50%;
    padding: 0px 30px;
    position: relative;
    text-align: left;
    height: 630px;
    padding-right: 0;
}

.acs-product-info-container #product-brand {
    /* margin-bottom: 10px; */
}

.acs-product-info-container #product-brand a {
    color: #1473E6;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.acs-product-info-container #product-brand a:hover,
.acs-product-info-container h4#product-title:hover {
    text-decoration: underline;
}

.acs-product-info-container h4#product-title {
    font-weight: normal;
    cursor: pointer;
}


div#product-price-info {
    margin-top: 10px;
}

.acs-price-wrap .o-s {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.o-s-r-price .reg-price {
    margin-left: 40px;
}

.o-s-r-price span.acs-perc-off {
    color: #E62727;
    font-size: 24px;
    font-weight: 500;
    margin-right: 5px;
}

.o-s-r-price span.sale-price {
    color: #000;
    font-size: 24px;
    font-weight: 600;
}

h2#product-brand a {
    text-decoration: underline;
}

.acs-variation-form table.variations,
.acs-variation-form table th,
.acs-variation-form table td {
    border: 0;
}

a.tw-quick-view-text {
    background: #000;
    width: 100%;
    display: block;
    color: #fff;
    text-align: center;
    padding: 2px;
    text-transform: uppercase;
    position: absolute;
    bottom: 0;
    display: none;
    opacity: 0.7;
    font-size: 12px;
    border-radius: 30px;
}

a.tw-quick-view-text:hover {
    opacity: 1;
}

.tw-product-image {
    position: relative;
	//height: 280px;
    //height: 210px;
    width: auto;
}

.tw-product-image:hover a.tw-quick-view-text {
    display: block;
}

.acs-modal table tr th.label {
    display: block;
    padding: 0;
    font-size: 14px;
    color: #000;
    margin-bottom: 5px;
}

.acs-modal table tr td.value {
    text-align: center;
    margin-bottom: 10px;
    grid-gap: 8px;
    display: flex;
    flex-wrap: wrap;
    padding-bottom: 40px;
    position: relative;
}

.acs-product-attr {
    position: relative;
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
    text-align: center;
    white-space: nowrap;
}

.acs-modal .acs-product-attr .acs-attr-inner {
    height: 40px;
    border: 1px solid #00000020;
    padding: 5px 10px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 3px;
    width: auto;
    font-weight: 600;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    display: block;
    -webkit-box-orient: vertical;
    padding-top: 8px;
    color: #000;
}

.acs-modal .acs-product-attr .acs-attr-inner:hover {
    border-color: #000;
}

.acs-modal .acs-selected-option .acs-attr-inner {
    border: 2px solid #000;
}

.acs-variation-form {
    margin-top: 30px;
    max-height: 300px;
}

.acs-variation-form .variation-form {
    overflow-y: auto;
    margin-bottom: 30px;
    padding-right: 20px;
}

span.acs-selected-label {
    font-weight: normal;
    display: none;
}

.acs-btn-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: auto;
    padding: 0px 40px;
}

.acs-btn-container a {
    background: #000;
    border: 2px solid #000;
    color: #fff;
    padding: 20px;
    border-radius: 30px;
    width: 100%;
    text-transform: uppercase;
    text-align: center;
    font-size: 14px;
}

.acs-btn-container a:hover {
    box-shadow: 0px 0px 4px 0px #000;
}

a#acs-product-detail {
    background: #fff;
    color: #000;
    margin-top: 10px;
}

.acs-qv-bottom-section {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
}

.acs-social-media-wrapper {
    margin-top: 20px;
}

.acs-social-media-wrapper .acs-social-icon {
    width: 30px;
    height: 30px;
    display: inline-block;
    margin-right: 5px;
    transition: transform 0.5s ease;
}

.acs-social-media-wrapper .acs-social-icon:hover {
    transform: scale(1.1);
}

.acs-social-media-wrapper .acs-social-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.acs-hits-wrapper .tinv-wraper {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
}

.acs-hits-wrapper .product-item {
    position: relative;
}

.acs-hits-wrapper a.tinvwl_add_to_wishlist_button {
    margin-top: 0 !important;
}

.acs-hits-wrapper a.tinvwl_add_to_wishlist_button:before {
    top: unset;
    left: unset;
    margin-top: unset;
    margin-left: unset;
    font-size: 20px;
    transition: transform 0.5s ease;
}

.acs-hits-wrapper a.tinvwl_add_to_wishlist_button:hover:before {
    transform: scale(1.2);
}


span.acs-badge {
    position: absolute;
    left: 0;
    top: 0;
    border-top-right-radius: 50px;
    border-bottom-right-radius: 50px;
    font-size: 10px;
    padding: 0px 8px;
    font-weight: 600;
}

/* span.acs-badge {
    position: absolute;
    right: 0;
    bottom: 35px;
    border-top-left-radius: 50px;
    border-bottom-left-radius: 50px;
    font-size: 10px;
    padding: 0px 8px;
    font-weight: 600;
} */


span.acs-in-stock-label {
    background: #F6E0E4 0% 0% no-repeat padding-box;
    color: #B20537;
}

span.acs-percentage-off.acs-off-badge {
    top: 25px;
    background: #FB4C4C 0% 0% no-repeat padding-box;
    color: #ffffff;
    font-weight: normal;
}

/* custom ratings */

.hit-add-attributes {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hit-add-attributes .star-rating span::before {
    color: #FFC109;
}

.acs-box-list li.ais-RefinementList-item {
    display: inline-block;
    margin-right: 5px;
    margin-top: 2px;
    /* border: 1px solid #ececec; */
    padding: 4px;
    border-radius: 2px;
    font-size: 12px;
    min-width: 30px;
    text-align: center;
}

.ais-RefinementList-item a:hover,
.ais-RefinementList-label:hover,
.ais-RefinementList-item--selected a,
.ais-RefinementList-item--selected .ais-RefinementList-label {
    color: #1473E6;
    font-weight: normal;
}

span.acs-out-of-stock {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    background: #F6E0E4 0% 0% no-repeat padding-box;
    color: #B20537;
    padding: 2px;
}

.tw-product-info a:hover {
    text-decoration: underline;
}

.hit-product-price .sale-price {
    color: #000;
    font-size: 18px;
    margin-right: 5px;
}

.hit-product-price .sale-price sup {
    font-size: 60%;
    font-weight: normal;
}

.hit-product-price sup.cur-sup {
    margin-right: -4px;
}

.hit-product-price sup.dec-sup {
    margin-left: -4px;
}

.acs-box-list ul.ais-RefinementList-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 10px;
}

.refinements-wrap button.additional-filter {
    display: block;
    margin: 2px;
    padding-top: 4px;
    padding-bottom: 4px;
    padding-left: 8px;
    padding-right: 8px;
    border: 1px solid #d7d7d7;
    font-size: 12px;
    color: #000;
    border-radius: 4px;
    height: 30px;
    width: max-content;
}

.refinements-wrap button.additional-filter:hover,
.refinements-wrap button.additional-filter:active {
    border-color: #000;
    background-color: #fff;
}

.refinements-wrap .ais-QueryRuleCustomData {
    display: flex;
}

.refinements-wrap div#acs-additional-categories {
    margin-left: 5px;
    display: flex;
}

#product-price-info sup {
    font-size: 60%;
    font-weight: normal;
}

#product-price-info sup.cur-sup {
    margin-right: 0px;
}

#product-price-info sup.dec-sup {
    margin-left: 0px;
}

.tw-acs-products-list-wrapper {
   /* margin-bottom: 100px;*/
	margin-bottom: 30px;
}

/* **************** */
/* ************** */

#ast-quick-view-content {
    max-height: 500px !important;
}

.acs-product-attr.acs-product-out-of-stock {
    background: #f6f6f6;
    cursor: not-allowed;
    pointer-events: none;
    font-weight: normal;
}

.acs-box-list li.ais-RefinementList-item.ais-RefinementList-item--selected {
    background: #e7f1ff;
}


.acs-box-list li.ais-RefinementList-item {
    cursor: pointer;
}

.acs-box-list li.ais-RefinementList-item:hover {
    background: #e7f1ff;
}

.tw-page-title h1.tw-p-t-text {
    font-size: 30px;
    text-transform: capitalize;

}

h3.auc-Recommend-title {
    margin-bottom: 20px;
}

#tw-relatedProducts,
#tw-lookingSimilar {
    margin: 50px 0px;
}
@media screen and (min-width: 1024px) {
#tw-men-trendingItems ol li {
    /* flex: 0 0 calc(32% - 15px); */
    flex: 1 1 calc((100% / 3) - 20px);
}
}


#tw-men-trendingItems ol,
#tw-boys-trendingItems ol,
#tw-girls-trendingItems ol,
#tw-brand-trendingItems ol,
#tw-collection-new-arrivals ol {
    flex-wrap: nowrap;
}

.auc-Recommend-container.boy-swiper,
.auc-Recommend-container.girl-swiper,
.auc-Recommend-container.trending-brands-swiper,
.new-arrivals-swiper {
    overflow: hidden;
}

#tw-collection-new-arrivals ol li {
    flex: 0 0 calc(18%);
}

#tw-men-trendingItems .tw-product-image {
    height: 250px;
    width: 250px;
}

#tw-women-trendingItems ol li {
    flex: 0 0 calc(33% - 20px);
    width: calc(33% - 20px);
}

#tw-women-trendingItems .auc-Recommend-title {
    display: none;
}

#tw-women-trendingItems .tw-product-image {
    height: 300px;
}

#tw-boys-trendingItems ol li,
#tw-girls-trendingItems ol li {
    flex: 0 0 calc(32% - 10px);
}


#tw-boys-trendingItems .tw-product-image,
#tw-girls-trendingItems .tw-product-image {
    height: 250px;
}

#tw-brand-trendingItems ol li {
    flex: 0 0 calc(19% - 15px);
}

.tw-acs-trending-wrap.tw-acs-products-list-wrapper {
    margin-top: unset;
}

.tw-collection-pages .tw-product-image {
    height: 300px;
}


#tw-productsCatalog ol li {
    flex: 0 0 calc(33% - 20px);
}

#tw-trendingBrands ol.auc-Recommend-list {
    list-style: none;
    display: flex;
    justify-content: space-between;
}

#acs-additional-categories ol.auc-Recommend-list {
    list-style: none;
    display: flex;
    margin-bottom: 0;
}


.cat-slider-nav .tw-cat-img:hover {
    box-shadow: 0px 0px 4px 0px #000 !important;
}

.acs-f-s-wrap {
    display: flex;
    align-items: center;
    margin-top: 20px;
    overflow-x: scroll;
    width: calc(100% - 90px);
}

ul.TWShopCurrentRefinementsList {
    flex-wrap: nowrap;
}

ul.TWShopCurrentRefinementsList span.ais-CurrentRefinements-category {
    width: max-content;
}

.acs-slide-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90%;
}

.ais-Hits-item,
.ais-InfiniteHits-item {
    margin-top: 12px;
}

.acs-slide-wrap .preSlide,
.acs-slide-wrap .nextSlide {
    background: #ffffff;
    opacity: 1;
    padding: 12px 12px 12px 12px;
    box-shadow: 0px 1px 10px 0px RGBA(0, 0, 0, 0.17);
    border: 0px solid RGBA(0, 0, 0, 1);
    border-radius: 99px;
    height: 30px;
    width: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 15px;
}

.acs-slide-wrap .preSlide:hover,
.acs-slide-wrap .nextSlide:hover {
    background: #1473E6;
    color: #fff;
}



.acs-slide-wrap .preSlide {
    margin-right: 10px;

}

.acs-slide-wrap .nextSlide {
    margin-left: 10px;
}

.tw-acs-products-list-wrapper .refinements-wrap ::-webkit-scrollbar {
    width: 1px;
}

.tw-acs-products-list-wrapper .refinements-wrap ::-webkit-scrollbar-track {
    background: #fff;
}

.tw-acs-products-list-wrapper .refinements-wrap ::-webkit-scrollbar-thumb {
    background: #fff;
    border-radius: 10px;
}

.tw-acs-products-list-wrapper .refinements-wrap ::-webkit-scrollbar-thumb:hover {
    background: #fff;
}

a:focus {
    outline: none !important;
}

.tw-acs-trending-wrap.tw-acs-products-list-wrapper.tw-collection-pages {
    margin-bottom: 50px;
}

/* No results Page */

/* a0 SCOPED GATE 2026-07-02: the wrap is visible from FIRST PAINT so the server-
   rendered shell + brand description paint at FCP (they were the LCP element held
   hostage ~3.3s behind the full-wrap gate). The 2026-06-12 pending-skeleton +
   80vh #hits reservation (below) were DESIGNED for exactly this state and become
   live again: grid/facet regions show measured skeletons until body.tw-s-results.
   Empty state: hide the wrap only on CONFIRMED no-results, preserving the old
   tw-n-s-r-wrapper-only presentation. */
.tw-ais-shop-page-wrap {
    display: flex;
}

body.tw-no-s-results .tw-ais-shop-page-wrap {
    display: none;
}

.tw-s-results .tw-ais-shop-page-wrap {
    display: flex;
}

.tw-n-s-r-wrapper {
    display: none;
}

/* FLASH FIX 2026-06-11: visibility tied purely to [hidden] attribute (single source
   of truth). Body class .tw-no-s-results can no longer paint the wrapper -- only the
   JS render handler's [hidden] toggle controls visibility. Prevents transient-0
   flash on brand routes (e.g. /brand/ecko-unltd) where the body class briefly turns
   on while the brand filter is still being applied. */
.tw-n-s-r-wrapper:not([hidden]) {
    display: block;
    text-align: center;
    margin-bottom: 40px;
}

.tw-no-s-results .tw-n-s-r-wrapper .ast-breadcrumbs-wrapper {
    text-align: left;
    margin-bottom: 20px;
}

.tw-n-s-r-wrapper.tw-empty-brand {
    text-align: unset;
}

.tw-n-s-r-wrapper.tw-empty-brand .ast-breadcrumbs-wrapper {
    margin-bottom: 20px;
}

.tw-no-s-results .tw-p-t-text {
    display: none;
}

.tw-page-title {
    display: none;
    margin-top: 20px;
}

.tw-empty-btn {
    display: inline-block;
    width: 150px;
    padding: 10px 20px;
    border: 2px solid;
    border-radius: 30px;
    background: #000;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
}

.tw-empty-btn.bg-white {
    background: #fff;
    color: #000;
    margin-right: 10px;
}

.tw-empty-btn:hover {
    box-shadow: 0px 0px 4px 0px #000;
}

.tw-empty-btn.bg-black:hover {
    color: #fff;
}

.tw-acs-main-content {
    min-height: 600px;
}

.tw-empty-cat-wrap {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.tw-empty-cat-item {
    width: 24%;
    position: relative;
}

.tw-empty-img-wrap {
    height: 300px;
    width: 100%;
}

.tw-empty-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tw-empty-main h3 {
    text-align: left;
    margin-bottom: 20px;
}

a.tw-btn-link {
    background: #fff;
    border-radius: 30px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 14px;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 40px;
    padding-right: 40px;
    color: var(--ast-global-color-0);
    width: 200px;
    display: inline-block;
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    bottom: 30px;
}

a.tw-btn-link:hover {
    box-shadow: 0px 0px 4px 0px #000;
}


.tw-empty-header.tw-empty-brand {
    text-align: left;
    margin-bottom: 50px;
}

.tw-empty-brand p {
    font-size: 14px;
    color: #000;
}

.tw-empty-brand p a {
    color: #1473E6;
}

.tw-empty-brand p a:hover {
    text-decoration: underline;
}

.tw-e-b-main-wrapper {
    display: flex;
    margin-bottom: 50px;
}

.tw-empty-brand-left-sec {
    flex: 3;
}

.tw-empty-brand-right-sec {
    flex: 1;
}

/* .tw-empty-main .brand-slider-container.home-brand-slider {
    height: 250px;
} */

.slick-slider {
    position: relative;
}

.tw-empty-main .brand-slider .slick-slide {
    height: unset;
}

.tw-empty-sb-wrap {
    text-align: center;
    padding: 20px;
    background: #000;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    text-align: left;
}

.tw-empty-sb-wrap h4, .tw-empty-sb-wrap p {
    color: #fff;
    margin-bottom: 10px;
}

.tw-empty-sb-wrap button {
    font-size: 14px;
    font-weight: bolder;
    background: #fff;
    color: #000;
    border-radius: 30px;
    padding: 10px 20px;
    margin-top: 20px;
}

.tw-empty-sb-wrap button:hover {
    box-shadow: 0px 0px 4px 0px #fff;
}

.tw-empty-brand .brand-slider-container.home-brand-slider {
    margin-bottom: 60px;
}

.tw-no-s-results .tw-n-s-r-wrapper ol.ais-Hits-list{
    max-height: 600px;
}

button.needsclick.klaviyo-close-form.kl-private-reset-css-Xuajs1, button.needsclick.klaviyo-close-form.kl-private-reset-css-Xuajs1:hover{
    background: #fff;
    border-radius: 30px;
    color: #fff !important;
    border: 1px solid #000;
}

svg.needsclick.kl-private-reset-css-Xuajs1 {
    width: 22px;
    height: 22px;
    margin: auto;
}

.tw-empty-brand .tw-empty-header h2 {
    text-align: left;
}

.tw-empty-brand-left-sec {
    margin-right: 40px;
}

.swiper-slide {
    width: auto;
}

/* Filter sidebar */
.filter_close_bar,
.mobile_filter_button,
.widget-item .filter_arrow {
    display: none;
}




/* media queries */

@media (min-width: 1201px) {

    .acs-tw-search .site-content .ast-container {
       // max-width: 90% !important;
    }
}

/* shop page  */

@media only screen and (max-width: 991px) {
    .tinv-wishlist.woocommerce .tw-product-image, .woocommerce-cart #tw-lookingSimilar .tw-product-image{
        height: 200px;
    }

    .woocommerce-cart #tw-lookingSimilar  ol li, #tw-brand-trendingItems ol li{
        flex: 0 0 calc(33% - 20px);
    }

    .tw-collection-pages .tw-product-image{
        height: 250px;
    }

    #tw-collection-new-arrivals ol li {
        flex: 0 0 calc(33% - 24px);
    }

    .tw-empty-brand .brand-slider-container.home-brand-slider{
        margin-bottom: 30px;
    }

    .tw-not-found-wrap .tw-empty-header img {
        width: 100px;
        height: 100px;
    }
    
    .tw-empty-btn-wrap {
        margin-bottom: 25px;
    }

    .tw-empty-btn{
        width: 120px;
    }

    .tw-empty-cat-wrap {
        flex-wrap: wrap;
    }
    
    .tw-empty-cat-item {
        width: 48%;
        margin-bottom: 15px;
    }
    
    .tw-empty-img-wrap {
        height: 250px;
    }

    .tw-empty-main h3{
        margin-bottom: 10px;
    }

    .tw-empty-cat-wrap{
        margin-top: 15px;
    }

    .tw-no-s-results .tw-n-s-r-wrapper{
        margin-bottom: 20px;
    }
    


}



@media only screen and (max-width: 777px) {

   .tw-acs-products-list-wrapper .hit-post_title {
        font-size: 12px;
        margin-bottom: 0;
    }
    
    .tw-acs-products-list-wrapper .hit-product-price span {
        font-size: 12px;
    }

    .acs-hits-wrapper ol li {
        flex: 0 0 calc(33% - 10px);
        margin-right: unset;
        margin-bottom: unset; 
    }

    button.tw-ab-load-more {
        padding: 10px;
    }

    .woocommerce-cart #tw-lookingSimilar .tw-product-image, #tw-brand-trendingItems .tw-product-image, #tw-relatedProducts .tw-product-image {
        height: 200px;
    }

    .tw-collection-pages .tw-product-image, .tw-ais-shop-page-wrap .tw-product-image{
        height: 200px;
    }

    .tw-empty-img-wrap {
        height: 200px;
    }

    .tw-not-found-wrap .tw-empty-header h2 {
        font-size: 20px;
    }

    #tw-men-trendingItems .tw-product-image, #tw-women-trendingItems .tw-product-image, #tw-boys-trendingItems .tw-product-image, #tw-girls-trendingItems .tw-product-image{
        height: 200px;
        width: unset;
    }

    .tw-page-title h1.tw-p-t-text{
        font-size: 25px;
    }

    /* Filter Sidebar */
    
    .tw-acs-main-content .sidebar {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        z-index: 99;
        padding: 0;
        transform: translateX(-100%);
        transition: all ease 0.3s;
        background: rgb(0 0 0 / 43%);
    }
    .sidebar_wrapper {
        display: block;
        width: 100%;
        height: 100vh;
        background: #fff;
        overflow-y: auto;
        padding: 0;
        position: relative;
    }
    .tw-acs-main-content .sidebar.mobile_sidebar_widget {
        transform: none;
    }
    .widget-item h4.subtitle, .widget-item div.subtitle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 15px !important;
        margin: 0 0 5px !important;
        border-bottom: 1px solid rgba(224,214,213,0.48);
    }
    .tw-acs-products-list-wrapper #dynamic-widgets .subtitle.active {
        color: #1473e6;
    }
    .widget-item .filter_arrow {
        display: inline-block;
    }

    .widget-item .filter_arrow svg {
        width: 25px;
        height: auto;
        transition: all ease 0.3s;
    }   
    .widget-item .subtitle.active .filter_arrow svg {
        transform: rotate(180deg);
    }
    .widget-item .subtitle.active .filter_arrow svg path:first-child {
        fill: #1473e6;
    }
    .acs-widget-item .ais-facets {
        display: none;
        padding: 15px 10px 0;
    }
    .filter_close_bar {
        display: block;
        padding: 12px 15px;
        background: #f0eceb;
    }
    .filter_close_icon {
        width: 30px;
        height: 30px;
        cursor: pointer;
        display: inline-block;
        border: 1px solid #000;
        text-align: center;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .filter_close_icon svg {
        width: 18px;
        height: auto;
    }
    .mobile_filter_button {
        display: block;
        text-align: right;
        padding: 0 0 8px;
    }
    .mobile_filter_button a {
        color: #000;
        font-weight: 600;
        font-size: 16px;
        line-height: 16px;
    }

   
}


@media only screen and (max-width: 560px) {

    #tw-collection-new-arrivals ol li , #tw-brand-trendingItems ol li, #tw-men-trendingItems ol li, #tw-boys-trendingItems ol li, #tw-girls-trendingItems ol li
    {
        /* flex: 0 0 calc(53% - 15px); */
        flex: 0 0 calc(100% / 2);
        margin-right: unset!important;
        margin-bottom: unset; 
    }

    .tw-ais-shop-page-wrap .acs-hits-wrapper ol li{
        flex: 0 0 calc(53% - 15px);
        margin-top: 0px;
    }

    #tw-women-trendingItems ol li, #tw-collection-deals-products ol li, .acs-hits-wrapper ol li, .woocommerce-cart #tw-lookingSimilar  ol li, #tw-relatedProducts ol li {
        /* flex: 0 0 calc(50% - 10px); */
        flex: 0 0 calc((100% / 2));
    }

    .tw-acs-products-list-wrapper{
        margin-bottom: 40px;
    }

    a.tw-btn-link {
        width: auto;
        margin: 0px 10px;
        font-size: 12px;
    }

    .tw-acs-trending-wrap.tw-acs-products-list-wrapper {
        margin-top: -20px;
    }

    .wp-block-uagb-container.uagb-block-3be933e2.alignwide.uagb-is-root-container {
        margin-bottom: 0px !important;
    }

    #tw-women-trendingItems {
        margin-top: 15px;
    }

    .tw-acs-main-content .content {
        width: 100%;
        padding: 0;
    }
    
    .tw-acs-main-content .refinements-wrap {
        flex-direction: column;
    }
    
    .tw-acs-main-content .acs-slide-wrap {
        width: 100%;
    }
    
    .tw-acs-main-content #clear-refinements {
        width: 100%;
    }
    


}

#hits {
	min-height: 1280px;
	max-height: 100%;
}

/* TW refinement strip + quick view price hardening */
.acs-f-s-wrap {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
}

.acs-f-s-wrap .preSlide,
.acs-f-s-wrap .nextSlide,
#current-refinements,
#acs-additional-categories {
  flex: 0 0 auto !important;
}

#current-refinements {
  margin: 0 !important;
}

ul.TWShopCurrentRefinementsList,
#current-refinements .ais-CurrentRefinements-list {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.TWShopCurrentRefinements li.ais-CurrentRefinements-item,
#current-refinements .ais-CurrentRefinements-item {
  display: inline-flex !important;
  align-items: center !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
  white-space: nowrap !important;
}

.TWShopCurrentRefinements li.ais-CurrentRefinements-item .ais-CurrentRefinements-category,
#current-refinements .ais-CurrentRefinements-category {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  min-height: 30px !important;
  margin: 0 !important;
  white-space: nowrap !important;
}

.TWShopCurrentRefinements .ais-CurrentRefinements-delete,
#current-refinements .ais-CurrentRefinements-delete {
  margin-left: 0 !important;
}

.refinements-wrap div#acs-additional-categories {
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 10px !important;
  margin: 0 !important;
  padding: 0 !important;
  min-width: max-content !important;
}

.refinements-wrap button.additional-filter {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: none !important;
  white-space: nowrap !important;
  margin: 0 !important;
}

#acs-quick-view-modal #product-cat {
  display: none !important;
}

#acs-quick-view-modal .o-s-r-price,
#product-price-info .o-s-r-price {
  display: flex !important;
  align-items: flex-end !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
}

#acs-quick-view-modal .o-s-r-price .o-s,
#product-price-info .o-s-r-price .o-s {
  display: inline-flex !important;
  align-items: flex-end !important;
  gap: 6px !important;
  flex-wrap: nowrap !important;
  white-space: nowrap !important;
  margin: 0 !important;
}

#acs-quick-view-modal .o-s-r-price .sale-price,
#product-price-info .o-s-r-price .sale-price {
  display: inline-flex !important;
  align-items: flex-end !important;
  gap: 0 !important;
  white-space: nowrap !important;
}

#acs-quick-view-modal .o-s-r-price .sale-price .cur-sup,
#acs-quick-view-modal .o-s-r-price .sale-price .dec-sup,
#product-price-info .o-s-r-price .sale-price .cur-sup,
#product-price-info .o-s-r-price .sale-price .dec-sup {
  position: relative !important;
  top: -0.28em !important;
  line-height: 1 !important;
  margin: 0 !important;
}

#acs-quick-view-modal .o-s-r-price .sale-price .cur-sup,
#product-price-info .o-s-r-price .sale-price .cur-sup {
  margin-right: 1px !important;
}

#acs-quick-view-modal .o-s-r-price .sale-price .dec-sup,
#product-price-info .o-s-r-price .sale-price .dec-sup {
  margin-left: 1px !important;
}

#acs-quick-view-modal .o-s-r-price .reg-price,
#product-price-info .o-s-r-price .reg-price {
  margin: 0 !important;
  white-space: nowrap !important;
}


.product-item .hit-product-price {
  display: flex !important;
  align-items: flex-end !important;
  flex-wrap: wrap !important;
  column-gap: 6px !important;
  row-gap: 4px !important;
  line-height: 1 !important;
}

.product-item .hit-product-price .sale-price,
.product-item .hit-product-price .reg-price,
.product-item .hit-product-price .perc-off {
  white-space: nowrap !important;
}

.product-item .hit-product-price .sale-price {
  display: inline-flex !important;
  align-items: flex-end !important;
  gap: 0 !important;
  margin-right: 0 !important;
}

.product-item .hit-product-price .sale-price .cur-sup,
.product-item .hit-product-price .sale-price .dec-sup,
.product-item .hit-product-price .sale-price sup.post {
  position: relative !important;
  top: -0.28em !important;
  line-height: 1 !important;
  margin: 0 !important;
}

.product-item .hit-product-price .sale-price .cur-sup {
  margin-right: 1px !important;
}

.product-item .hit-product-price .sale-price .dec-sup,
.product-item .hit-product-price .sale-price sup.post {
  margin-left: 1px !important;
}

/* Deploy A 2026-06-08: hide empty-state recovery wrappers by default.
   algolia-search.js reveals via removeAttribute('hidden') on confirmed nbHits===0. */
.tw-n-s-r-wrapper[hidden] { display: none !important; }

/* Empty-state fix 2026-06-09: desktop-scope sizing for recovery-block icon.
   Outside any media query -> applies at all widths. The mobile @media rule
   above (.tw-not-found-wrap .tw-empty-header img 100x100) still applies inside
   its media query and overrides this where it matches (mobile widths). */
.tw-not-found-wrap .tw-empty-header img { width: 120px; height: 120px; object-fit: contain; }

/* page_website_copy 2026-06-11 copy-flicker fix: SSR-present always (SEO) and
   visible-by-default so Googlebot needs NO JS render to see it (origin slow; WRS
   render budget uncertain). content-visibility:auto lets the browser skip
   layout+paint until scrolled near -- below the fold under the grid -> zero
   LCP/CLS and no cold-render flicker. Hidden ONLY on confirmed no-results via
   body.tw-no-s-results (set by algolia-search.js render handler) -- CSS keyed off
   results-state, NO JS reveal gate. Single styling owner: theme inline block +
   Customizer duplicates removed in the same deploy. */
.page_website_copy {
  content-visibility: auto;
  contain-intrinsic-size: auto 60px;
  padding: 15px 5px;
  background-color: rgba(224,214,213,0.48);
  font-size: 12px;
  font-weight: 400;
  color: black;
}
body.tw-no-s-results .page_website_copy { display: none; }

/* Copy-flash residual fix 2026-06-11: reserve ~one viewport of grid height ONLY
   while results are pending (neither state class on body yet), so the copy stays
   below the fold during cold render and content-visibility:auto correctly skips
   its paint. Specificity (1,2,1) beats the unconditional #hits min-heights
   (plugin 1280px [dead -- always overridden] and Home CLS 400px, both (1,0,0))
   regardless of document order; the instant tw-s-results / tw-no-s-results lands
   this stops matching and the cascade falls back to today's behavior. vh only --
   no content-dependent dimension, no tuning on content change. No JS. */
body:not(.tw-s-results):not(.tw-no-s-results) #hits { min-height: 80vh; }

/* ==== Pending-state skeleton (2026-06-12) ====
   Paints ONLY before the first InstantSearch render, scoped to the same pending
   selector as the 80vh grid reservation; vanishes atomically when algolia-search.js
   sets body.tw-s-results / body.tw-no-s-results. Pure CSS backgrounds - zero DOM
   injection (IS owns #hits / facet containers' children; container backgrounds are
   untouched by its mount). Pending min-heights approximate REAL rendered heights
   (measured 2026-06-12: gender 2 items; product-type 12 items -> 180px scroll cap;
   brand 444 values -> cap + search input; price 4 items + search; color 15 -> cap +
   search; cap = .ais-RefinementList-list max-height:180px) so pending->rendered
   swap does not jolt. Chips row (#current-refinements / #acs-additional-categories /
   #clear-refinements) intentionally EXCLUDED: legitimately empty post-render on
   clean landings - a skeleton there would swap to nothing. */

/* Grid: card-anatomy cells = gray image square + 2 short text bars.
   conic-gradient(at X Y, transparent 270deg, C 270deg) paints the top-left X*Y rect
   of each repeated tile; tile = one card cell, mirroring the real grid
   (.acs-hits-wrapper ol li: 25% desktop / 33% <=777px / ~2-col <=560px). */
body:not(.tw-s-results):not(.tw-no-s-results) #hits {
  background-image:
    conic-gradient(at calc(100% - 20px) 300px, transparent 270deg, #f0f0f0 270deg),
    conic-gradient(at 70% 14px, transparent 270deg, #ececec 270deg),
    conic-gradient(at 45% 14px, transparent 270deg, #ececec 270deg);
  background-size: 25% 392px;
  background-position: 0 0, 0 312px, 0 338px;
  background-repeat: repeat;
  animation: tw-skel-pulse 1.6s ease-in-out infinite;
}
@media only screen and (max-width: 777px) {
  body:not(.tw-s-results):not(.tw-no-s-results) #hits {
    background-image:
      conic-gradient(at calc(100% - 10px) 240px, transparent 270deg, #f0f0f0 270deg),
      conic-gradient(at 70% 12px, transparent 270deg, #ececec 270deg),
      conic-gradient(at 45% 12px, transparent 270deg, #ececec 270deg);
    background-size: 33.333% 322px;
    background-position: 0 0, 0 252px, 0 274px;
  }
}
@media only screen and (max-width: 560px) {
  body:not(.tw-s-results):not(.tw-no-s-results) #hits {
    background-image:
      conic-gradient(at calc(100% - 15px) 200px, transparent 270deg, #f0f0f0 270deg),
      conic-gradient(at 70% 12px, transparent 270deg, #ececec 270deg),
      conic-gradient(at 45% 12px, transparent 270deg, #ececec 270deg);
    background-size: 50% 278px;
    background-position: 0 0, 0 212px, 0 234px;
  }
}

/* Sidebar facets: placeholder line bars, per-facet heights from measured rendered
   state. Desktop-only by construction: <=991px the sidebar is off-canvas and
   .acs-widget-item .ais-facets is display:none there. 14px bar / 22px rhythm. */
body:not(.tw-s-results):not(.tw-no-s-results) #facet-gender,
body:not(.tw-s-results):not(.tw-no-s-results) #facet-product-type,
body:not(.tw-s-results):not(.tw-no-s-results) #facet-brand,
body:not(.tw-s-results):not(.tw-no-s-results) #facet-price,
body:not(.tw-s-results):not(.tw-no-s-results) #facet-color {
  background-image: repeating-linear-gradient(to bottom, #ececec 0 14px, transparent 14px 22px);
  background-size: 85% 100%;
  background-repeat: no-repeat;
  animation: tw-skel-pulse 1.6s ease-in-out infinite;
}
body:not(.tw-s-results):not(.tw-no-s-results) #facet-gender       { min-height: 44px; }
body:not(.tw-s-results):not(.tw-no-s-results) #facet-product-type { min-height: 180px; }
body:not(.tw-s-results):not(.tw-no-s-results) #facet-brand        { min-height: 216px; }
body:not(.tw-s-results):not(.tw-no-s-results) #facet-price        { min-height: 124px; }
body:not(.tw-s-results):not(.tw-no-s-results) #facet-color        { min-height: 216px; }

/* Toolbar: stats text bar + sort select block, sized to rendered metrics
   (.ais-Stats-text 14px/600 -> ~20px; select.ais-SortBy-select 160px wide -> ~38px). */
body:not(.tw-s-results):not(.tw-no-s-results) #stats {
  min-height: 20px;
  background: linear-gradient(#ececec 0 0) 0 2px / 140px 16px no-repeat;
  animation: tw-skel-pulse 1.6s ease-in-out infinite;
}
/* [2026-08-01 toolbar v3] #sort-by carries NO pending skeleton anymore: the sort
   control is a REAL server-rendered select present from first paint (shop-page.php),
   so there is nothing to placeholder — the old 160x38 shimmer painted as a visible
   gray slab BEHIND the live control until body.tw-s-results landed (Jacob defect
   report, 4th toolbar attempt). Do not re-add: any pending styling on #sort-by will
   paint over the real control. */

@keyframes tw-skel-pulse { 0%,100%{opacity:1} 50%{opacity:.55} }
@media (prefers-reduced-motion: reduce) {
  body:not(.tw-s-results):not(.tw-no-s-results) #hits,
  body:not(.tw-s-results):not(.tw-no-s-results) #facet-gender,
  body:not(.tw-s-results):not(.tw-no-s-results) #facet-product-type,
  body:not(.tw-s-results):not(.tw-no-s-results) #facet-brand,
  body:not(.tw-s-results):not(.tw-no-s-results) #facet-price,
  body:not(.tw-s-results):not(.tw-no-s-results) #facet-color,
  body:not(.tw-s-results):not(.tw-no-s-results) #stats { animation: none; }
}

/* 2026-07-04 sitewide card-clipping fix: every flex-basis calc in this grid system
   assumed the 20px of card padding lived INSIDE the basis, but content-box put it
   outside and overflowed the track (kids trending clipped 33px desktop; PDP related
   clipped 60px before its scoped fix). border-box folds the padding into the basis so
   each existing per-surface column count fits exactly; min-width:0 lets flex items
   shrink below content size in the nowrap carousels. */
.acs-hits-wrapper ol li {box-sizing: border-box; min-width: 0;}
.acs-hits-wrapper ol li:last-child {margin-right: 0;}

/* 2026-07-04 QV match-shop: (1) the PDP page rule .single-product table.variations
   td.value{display:block!important;width:100%!important} (meant for the MAIN product
   variations table) leaks into the QV modal and stretches swatches full-width -
   modal-scoped counter restores the shop-reference compact layout. (2) the swatch
   div.tooltip duplicates the swatch label below it on hover (JS-toggled, in-flow)
   and shifts the modal - killed everywhere; the swatch text already says the value. */
#acs-quick-view-modal table.variations td.value{display:flex!important;width:auto!important;flex-wrap:wrap;padding-bottom:0!important}
#acs-quick-view-modal .acs-product-attr .tooltip{display:none!important}

/* 2026-07-04 QV image-load CLS: reserve the image box BEFORE load (aspect-ratio works
   pre-load; portrait catalog ratio 1716/2000, contain for odd shapes - no srcset,
   same landmine as FIX1). Social row: rendered by Astra render_social_icon(1,'footer')
   from the SAME footer config - only row alignment needed here. */
#acs-quick-view-modal #product-image{aspect-ratio:1716/2000;width:100%;height:auto;object-fit:contain;display:block}
#acs-quick-view-modal .acs-social-media-wrapper .ast-footer-social-wrap{display:flex;justify-content:center}


/* Phase 3 webcopy block (2026-07-21): migrated wave-1 body copy + generated links.
   Sits below the grid; content-visibility:auto skips layout+paint until scrolled
   near (same containment pattern + rationale as .page_website_copy above) -> zero
   CLS/LCP contribution. Structural styling only; typography/colors inherit theme. */
.tw-webcopy-body {
  content-visibility: auto;
  contain-intrinsic-size: auto 600px;
}
/* Standard content-block treatment — DESIGN-LANGUAGE.md 6e (ratified 2026-07-21).
   Homepage tw-home-bottom-text is the reference; H2 deliberately 22px (not 30px)
   to avoid competing with the page H1 below the grid. One band on the CONTAINER. */
.tw-content-block { background-color: rgba(224,214,213,.48); padding: 20px; max-width: 1330px; margin: 24px auto 0; }
.tw-content-block h2 { font-size: 22px; line-height: 1.2; font-weight: 700; color: #000; margin: 0 0 14px; }
.tw-content-block h3 { font-size: 16px; line-height: 1.3; font-weight: 600; color: #000; margin: 18px 0 8px; }
.tw-content-block p { font-size: 16px; line-height: 1.7; font-weight: 400; color: #000; margin: 0 0 14px; }
.tw-content-block ul, .tw-content-block ol { font-size: 16px; line-height: 1.7; color: #000; margin: 0 0 14px 20px; }
.tw-content-block .tw-webcopy-links ul { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.tw-content-block .tw-webcopy-links .twl-label { font-size: 16px; font-weight: 600; margin: 18px 0 8px; }
.tw-content-block .tw-webcopy-links a { font-size: 15px; font-weight: 500; color: #000; text-decoration: none; }
.tw-content-block .tw-webcopy-links a:hover, .tw-content-block .tw-webcopy-links a:focus { text-decoration: underline; }
@media (max-width: 490px) {
  .tw-content-block { padding: 15px; }
  .tw-content-block p, .tw-content-block ul, .tw-content-block ol, .tw-content-block .tw-webcopy-links a { font-size: 14px; }
  .tw-content-block h2 { font-size: 20px; }
}
body.tw-no-s-results .tw-webcopy-body { display: none; }
.page_website_copy.tw-wcb-muted { display: none; }
/* Brand-block reconciliation - DESIGN-LANGUAGE.md 6e: brand keeps its flex logo
   composition; type joins the content-block scale (16px/1.7 desktop, 14px floor <=490). */
.tw-page-description.tw-content-block { max-width: 1330px; margin-left: auto; margin-right: auto; }
.tw-page-description.tw-content-block .tw-page-content-wrap p { font-size: 16px; line-height: 1.7; color: #000; margin: 0; }
@media (max-width: 490px) {
  .tw-page-description.tw-content-block { padding: 15px; }
  .tw-page-description.tw-content-block .tw-page-content-wrap p { font-size: 14px; }
}

/* Arrows are <button> elements (2026-08-02) — pin anchor-era computed styles against UA button defaults. */
.acs-slide-wrap .preSlide,
.acs-slide-wrap .nextSlide {
    font-family: Poppins, sans-serif;
    font-weight: 400;
    color: #000;
    line-height: 20.8px;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}
