/* AWA Round8 (dual-write hotfix): PLP/search/cart visual & conversion refinement */

:root {
    --awa-plp-border: #e5e7eb;
    --awa-plp-border-strong: #d4dbe5;
    --awa-plp-surface: #fff;
    --awa-plp-surface-soft: #f8fafc;
    --awa-plp-text: var(--text-color, #333);
    --awa-plp-muted: #64748b;
    --awa-plp-shadow-xs: 0 2px 8px rgb(15 23 42 / 4%);
    --awa-plp-shadow-sm: 0 8px 20px rgb(15 23 42 / 6%);
    --awa-plp-shadow-md: 0 14px 30px rgb(15 23 42 / 10%);
    --awa-plp-focus: 0 0 0 3px rgb(183 51 55 / 16%);
}

:is(body.catalog-category-view, body.catalogsearch-result-index) .shop-tab-select .toolbar.toolbar-products {
    background: var(--awa-plp-surface);
    border: 1px solid var(--awa-plp-border);
    border-radius: 14px;
    box-shadow: var(--awa-plp-shadow-xs);
    padding: 12px 14px;
}

:is(body.catalog-category-view, body.catalogsearch-result-index) .shop-tab-select .toolbar.toolbar-products .center {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 12px;
}

:is(body.catalog-category-view, body.catalogsearch-result-index) .toolbar .modes {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
}

:is(body.catalog-category-view, body.catalogsearch-result-index) .toolbar .modes .modes-label {
    color: var(--awa-plp-muted);
    font-size: 12px;
    font-weight: 600;
    margin: 0 2px 0 0;
}

:is(body.catalog-category-view, body.catalogsearch-result-index) .toolbar .modes .modes-mode,
:is(body.catalog-category-view, body.catalogsearch-result-index) .grid-mode-show-type-products a {
    min-height: 36px;
    min-width: 36px;
    border-radius: 10px;
    border: 1px solid var(--awa-plp-border);
    background: var(--awa-plp-surface);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    color: var(--awa-plp-text);
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

:is(body.catalog-category-view, body.catalogsearch-result-index) .toolbar .modes .modes-mode:hover,
:is(body.catalog-category-view, body.catalogsearch-result-index) .toolbar .modes .modes-mode:focus-visible,
:is(body.catalog-category-view, body.catalogsearch-result-index) .grid-mode-show-type-products a:hover,
:is(body.catalog-category-view, body.catalogsearch-result-index) .grid-mode-show-type-products a:focus-visible {
    border-color: rgb(183 51 55 / 25%);
    color: var(--primary-color, #b73337);
    box-shadow: var(--awa-plp-focus);
    text-decoration: none;
    outline: 0;
}

:is(body.catalog-category-view, body.catalogsearch-result-index) .grid-mode-show-type-products a.actived,
:is(body.catalog-category-view, body.catalogsearch-result-index) .toolbar .modes .modes-mode.active {
    border-color: rgb(183 51 55 / 28%);
    background: rgb(183 51 55 / 6%);
    color: var(--primary-color, #b73337);
}

:is(body.catalog-category-view, body.catalogsearch-result-index) .toolbar-sorter .sorter-options,
:is(body.catalog-category-view, body.catalogsearch-result-index) .field.limiter .limiter-options {
    min-height: 38px;
    border: 1px solid var(--awa-plp-border-strong);
    border-radius: 10px;
    background: #fff;
    color: var(--awa-plp-text);
    padding-inline: 10px 30px;
}

:is(body.catalog-category-view, body.catalogsearch-result-index) .toolbar-sorter .sorter-options:focus,
:is(body.catalog-category-view, body.catalogsearch-result-index) .toolbar-sorter .sorter-options:focus-visible,
:is(body.catalog-category-view, body.catalogsearch-result-index) .field.limiter .limiter-options:focus,
:is(body.catalog-category-view, body.catalogsearch-result-index) .field.limiter .limiter-options:focus-visible {
    border-color: var(--primary-color, #b73337);
    box-shadow: var(--awa-plp-focus);
    outline: 0;
}

:is(body.catalog-category-view, body.catalogsearch-result-index) .toolbar .pages {
    margin: 0;
}

:is(body.catalog-category-view, body.catalogsearch-result-index) .pages .items.pages-items {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
}

:is(body.catalog-category-view, body.catalogsearch-result-index) .pages .item .page,
:is(body.catalog-category-view, body.catalogsearch-result-index) .pages .item.current strong,
:is(body.catalog-category-view, body.catalogsearch-result-index) .pages-item-next .action,
:is(body.catalog-category-view, body.catalogsearch-result-index) .pages-item-previous .action {
    min-height: 38px;
    min-width: 38px;
    border-radius: 10px;
    border: 1px solid var(--awa-plp-border);
    background: #fff;
    color: var(--awa-plp-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

:is(body.catalog-category-view, body.catalogsearch-result-index) .pages .item .page:hover,
:is(body.catalog-category-view, body.catalogsearch-result-index) .pages .item .page:focus-visible,
:is(body.catalog-category-view, body.catalogsearch-result-index) .pages-item-next .action:hover,
:is(body.catalog-category-view, body.catalogsearch-result-index) .pages-item-next .action:focus-visible,
:is(body.catalog-category-view, body.catalogsearch-result-index) .pages-item-previous .action:hover,
:is(body.catalog-category-view, body.catalogsearch-result-index) .pages-item-previous .action:focus-visible {
    border-color: rgb(183 51 55 / 25%);
    color: var(--primary-color, #b73337);
    box-shadow: var(--awa-plp-focus);
    text-decoration: none;
    outline: 0;
}

:is(body.catalog-category-view, body.catalogsearch-result-index) .pages .item.current strong {
    border-color: rgb(183 51 55 / 30%);
    background: rgb(183 51 55 / 7%);
    color: var(--primary-color, #b73337);
}

:is(body.catalog-category-view, body.catalogsearch-result-index) .toolbar .toolbar-amount {
    margin: 0;
    color: var(--awa-plp-muted);
    font-size: 13px;
}

:is(body.catalog-category-view, body.catalogsearch-result-index) #layered-ajax-filter-block,
:is(body.catalog-category-view, body.catalogsearch-result-index) .block.filter {
    border: 1px solid var(--awa-plp-border);
    border-radius: 14px;
    background: var(--awa-plp-surface);
    box-shadow: var(--awa-plp-shadow-xs);
    overflow: clip;
}

:is(body.catalog-category-view, body.catalogsearch-result-index) .filter-options-item {
    border-bottom: 1px solid #edf1f5;
}

:is(body.catalog-category-view, body.catalogsearch-result-index) .filter-options-item:last-child {
    border-bottom: 0;
}

:is(body.catalog-category-view, body.catalogsearch-result-index) .filter-options-title {
    position: relative;
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 10px 14px;
    color: var(--awa-plp-text);
    font-weight: 700;
    transition: background-color 0.2s ease, color 0.2s ease;
}

:is(body.catalog-category-view, body.catalogsearch-result-index) .filter-options-title:hover,
:is(body.catalog-category-view, body.catalogsearch-result-index) .filter-options-title:focus-visible {
    background: rgb(183 51 55 / 4%);
    color: var(--primary-color, #b73337);
    outline: 0;
}

:is(body.catalog-category-view, body.catalogsearch-result-index) .filter-options-content {
    padding: 0 14px 12px;
}

:is(body.catalog-category-view, body.catalogsearch-result-index) .filter-options-content .items > li,
:is(body.catalog-category-view, body.catalogsearch-result-index) .filter-options-content ol.items > li {
    margin: 0;
}

:is(body.catalog-category-view, body.catalogsearch-result-index) .filter-options-content a {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    min-height: 32px;
    color: var(--awa-plp-text);
    border-radius: 8px;
}

:is(body.catalog-category-view, body.catalogsearch-result-index) .filter-options-content a:hover,
:is(body.catalog-category-view, body.catalogsearch-result-index) .filter-options-content a:focus-visible {
    color: var(--primary-color, #b73337);
    text-decoration: none;
    outline: 0;
}

:is(body.catalog-category-view, body.catalogsearch-result-index) .filter-options-content .count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    font-size: 11px;
    line-height: 1;
}

:is(body.catalog-category-view, body.catalogsearch-result-index) .wrapper.grid.products-grid .product-grid > li.item-product {
    display: block !important;
    grid-template-columns: none !important;
    grid-template-rows: none !important;
    grid-auto-flow: row !important;
    grid-row: auto !important;
    grid-column: auto !important;
    align-self: start !important;
    align-content: initial !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
    position: relative;
    margin-bottom: 16px;
}

:is(body.catalog-category-view, body.catalogsearch-result-index) .wrapper.grid.products-grid .product-grid {
    align-items: start !important;
    align-content: start !important;
    grid-auto-rows: auto !important;
}

:is(body.catalog-category-view, body.catalogsearch-result-index) .wrapper.grid.products-grid .item-product > .content-item-product {
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: 100%;
}

:is(body.catalog-category-view, body.catalogsearch-result-index) .wrapper.grid.products-grid .item-product > .product-thumb,
:is(body.catalog-category-view, body.catalogsearch-result-index) .wrapper.grid.products-grid .item-product > .product-info,
:is(body.catalog-category-view, body.catalogsearch-result-index) .wrapper.grid.products-grid .item-product > .content-item-product > .product-thumb,
:is(body.catalog-category-view, body.catalogsearch-result-index) .wrapper.grid.products-grid .item-product > .content-item-product > .product-info {
    position: static !important;
    inset: auto !important;
    float: none !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    transform: none;
}

:is(body.catalog-category-view, body.catalogsearch-result-index) .wrapper.grid.products-grid .item-product > .product-thumb,
:is(body.catalog-category-view, body.catalogsearch-result-index) .wrapper.grid.products-grid .item-product > .product-info {
    background: #fff;
    border-inline: 1px solid var(--awa-plp-border);
}

:is(body.catalog-category-view, body.catalogsearch-result-index) .wrapper.grid.products-grid .item-product > .product-thumb {
    border-top: 1px solid var(--awa-plp-border);
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
    box-shadow: var(--awa-plp-shadow-xs);
}

:is(body.catalog-category-view, body.catalogsearch-result-index) .wrapper.grid.products-grid .item-product > .product-info {
    border-bottom: 1px solid var(--awa-plp-border);
    border-bottom-left-radius: 14px;
    border-bottom-right-radius: 14px;
    box-shadow: var(--awa-plp-shadow-xs);
    transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

:is(body.catalog-category-view, body.catalogsearch-result-index) .wrapper.grid.products-grid .item-product:hover > .product-info,
:is(body.catalog-category-view, body.catalogsearch-result-index) .wrapper.grid.products-grid .item-product:focus-within > .product-info {
    border-color: rgb(183 51 55 / 18%);
    box-shadow: var(--awa-plp-shadow-sm);
}

:is(body.catalog-category-view, body.catalogsearch-result-index) .wrapper.grid.products-grid .item-product .product-thumb-link {
    display: block;
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
    overflow: hidden;
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

:is(body.catalog-category-view, body.catalogsearch-result-index) .wrapper.grid.products-grid .item-product .product-image-container,
:is(body.catalog-category-view, body.catalogsearch-result-index) .wrapper.grid.products-grid .item-product .product-image-wrapper {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
}

:is(body.catalog-category-view, body.catalogsearch-result-index) .wrapper.grid.products-grid .item-product .product-image-wrapper {
    position: relative !important;
    overflow: hidden !important;
}

:is(body.catalog-category-view, body.catalogsearch-result-index) .wrapper.grid.products-grid .item-product .product-image-photo {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    transition: transform 0.25s ease;
}

:is(body.catalog-category-view, body.catalogsearch-result-index) .wrapper.grid.products-grid .item-product:hover .product-image-photo,
:is(body.catalog-category-view, body.catalogsearch-result-index) .wrapper.grid.products-grid .item-product:focus-within .product-image-photo {
    transform: scale(1.02);
}

:is(body.catalog-category-view, body.catalogsearch-result-index) .wrapper.grid.products-grid .item-product .quickview-link {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgb(255 255 255 / 96%);
    border: 1px solid rgb(183 51 55 / 14%);
    box-shadow: 0 4px 12px rgb(15 23 42 / 8%);
}

:is(body.catalog-category-view, body.catalogsearch-result-index) .wrapper.grid.products-grid .item-product .quickview-link:hover,
:is(body.catalog-category-view, body.catalogsearch-result-index) .wrapper.grid.products-grid .item-product .quickview-link:focus-visible {
    border-color: rgb(183 51 55 / 30%);
    box-shadow: var(--awa-plp-focus);
    outline: 0;
}

:is(body.catalog-category-view, body.catalogsearch-result-index) .wrapper.grid.products-grid .item-product .product-info {
    padding-inline: 12px;
    padding-bottom: 12px;
    min-height: 0;
    z-index: 1;
}

:is(body.catalog-category-view, body.catalogsearch-result-index) .wrapper.grid.products-grid .item-product .product-name {
    min-height: 42px;
    margin-bottom: 6px;
}

:is(body.catalog-category-view, body.catalogsearch-result-index) .wrapper.grid.products-grid .item-product .product-item-link {
    color: #111827;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.7em;
}

:is(body.catalog-category-view, body.catalogsearch-result-index) .wrapper.grid.products-grid .item-product .reviews-actions a {
    color: var(--awa-plp-muted);
    font-size: 12px;
}

:is(body.catalog-category-view, body.catalogsearch-result-index) .wrapper.grid.products-grid .item-product .reviews-actions a:hover,
:is(body.catalog-category-view, body.catalogsearch-result-index) .wrapper.grid.products-grid .item-product .reviews-actions a:focus-visible {
    color: var(--primary-color, #b73337);
    outline: 0;
}

:is(body.catalog-category-view, body.catalogsearch-result-index) .wrapper.grid.products-grid .item-product .info-price {
    min-height: 36px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 8px;
}

:is(body.catalog-category-view, body.catalogsearch-result-index) .b2b-login-to-see-price,
.searchsuite-autocomplete .b2b-login-to-see-price {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgb(183 51 55 / 7%);
    color: var(--primary-color, #b73337);
    border: 1px solid rgb(183 51 55 / 14%);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
}

:is(body.catalog-category-view, body.catalogsearch-result-index) .wrapper.grid.products-grid .item-product .btn-add-to-cart.action.tocart {
    min-height: 42px;
    border-radius: 12px;
    font-weight: 700;
    letter-spacing: 0.005em;
    box-shadow: 0 6px 14px rgb(183 51 55 / 12%);
}

:is(body.catalog-category-view, body.catalogsearch-result-index) .wrapper.grid.products-grid .item-product .btn-add-to-cart.action.tocart:hover,
:is(body.catalog-category-view, body.catalogsearch-result-index) .wrapper.grid.products-grid .item-product .btn-add-to-cart.action.tocart:focus-visible {
    box-shadow: 0 10px 20px rgb(142 38 41 / 18%);
}

.searchsuite-autocomplete,
#search_autocomplete .searchsuite-autocomplete {
    width: min(720px, calc(100vw - 32px)) !important;
    left: 0 !important;
    right: auto;
    margin-top: 8px;
    border-radius: 14px;
    border: 1px solid var(--awa-plp-border);
    box-shadow: var(--awa-plp-shadow-md);
    overflow: hidden;
    max-height: min(70vh, 560px);
    overflow-y: auto;
    overscroll-behavior: contain;
}

.searchsuite-autocomplete .title {
    background: #f8fafc;
    border-bottom: 1px solid #edf1f5;
    margin: 0;
    padding: 10px 14px;
    color: #334155;
    font-weight: 700;
}

.searchsuite-autocomplete .title .see-all {
    color: var(--primary-color, #b73337);
    font-weight: 600;
}

.searchsuite-autocomplete .title .see-all:hover,
.searchsuite-autocomplete .title .see-all:focus-visible {
    color: var(--primary-hover, #8e2629);
    outline: 0;
}

.searchsuite-autocomplete ul {
    padding: 0;
}

.searchsuite-autocomplete .suggest ul li,
.searchsuite-autocomplete .product ul li {
    padding: 0;
    margin: 0;
}

.searchsuite-autocomplete .suggest ul li a,
.searchsuite-autocomplete .product ul li > a,
.searchsuite-autocomplete .product ul li .qs-option-title a {
    color: #111827;
}

.searchsuite-autocomplete .suggest ul li a {
    display: block;
    padding: 10px 14px;
    border-bottom: 1px solid #f1f5f9;
}

.searchsuite-autocomplete .suggest ul li:last-child a {
    border-bottom: 0;
}

.searchsuite-autocomplete .suggest ul li a:hover,
.searchsuite-autocomplete .suggest ul li a:focus-visible,
.searchsuite-autocomplete .suggest ul li.selected a {
    background: rgb(183 51 55 / 4%);
    color: var(--primary-color, #b73337);
    text-decoration: none;
    outline: 0;
}

.searchsuite-autocomplete .product ul li {
    padding: 10px 14px;
    border-bottom: 1px solid #edf1f5;
    transition: background-color 0.2s ease;
}

.searchsuite-autocomplete .product ul li:hover,
.searchsuite-autocomplete .product ul li.selected {
    background: rgb(183 51 55 / 3%);
}

.searchsuite-autocomplete ul li .qs-option-image {
    width: 84px;
    max-width: 84px;
}

.searchsuite-autocomplete ul li .qs-option-image a {
    display: block;
    border-radius: 10px;
    overflow: hidden;
    background: #f8fafc;
    border: 1px solid #edf1f5;
}

.searchsuite-autocomplete ul li .qs-option-image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.searchsuite-autocomplete ul li .qs-option-info {
    width: calc(100% - 96px);
    padding-left: 12px;
    margin-bottom: 0;
}

.searchsuite-autocomplete ul li .qs-option-info .qs-option-title a {
    display: inline-block;
    line-height: 1.35;
    font-weight: 600;
}

.searchsuite-autocomplete ul li .qs-option-info .qs-option-title a:hover,
.searchsuite-autocomplete ul li .qs-option-info .qs-option-title a:focus-visible {
    color: var(--primary-color, #b73337);
    outline: 0;
}

.searchsuite-autocomplete ul li .qs-option-info .qs-option-price {
    margin-top: 8px;
    font-weight: 700;
}

.searchsuite-autocomplete .no-result {
    background: #fff;
    color: #475569;
    padding: 14px;
}

/* Round21: compact category hero above fold + keyboard active state for autocomplete */
:is(body.catalog-category-view, body.catalogsearch-result-index) .category-image {
    border: 1px solid var(--awa-plp-border);
    border-radius: 14px;
    box-shadow: var(--awa-plp-shadow-xs);
    overflow: hidden;
    margin-bottom: 12px;
    height: clamp(180px, 28vh, 280px);
}

:is(body.catalog-category-view, body.catalogsearch-result-index) .category-image .image,
:is(body.catalog-category-view, body.catalogsearch-result-index) .category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

:is(body.catalog-category-view, body.catalogsearch-result-index) .shop-tab-select .toolbar.toolbar-products {
    margin-top: 4px;
}

.searchsuite-autocomplete [role='option'].awa-option-active,
.searchsuite-autocomplete [role='option'].awa-option-active a {
    background: rgb(183 51 55 / 5%);
    color: var(--primary-color, #b73337);
}

body.checkout-cart-index .cart-empty {
    background: #fff;
    border: 1px solid var(--awa-plp-border);
    border-radius: 16px;
    box-shadow: var(--awa-plp-shadow-sm);
    padding: 28px 22px;
    text-align: center;
    max-width: 640px;
    margin: 16px auto 8px;
}

body.checkout-cart-index .cart-empty p:first-child {
    color: #111827;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

body.checkout-cart-index .cart-empty a {
    color: var(--primary-color, #b73337);
    font-weight: 600;
}

body.checkout-cart-index .cart-empty a:hover,
body.checkout-cart-index .cart-empty a:focus-visible {
    color: var(--primary-hover, #8e2629);
    outline: 0;
}

body.checkout-cart-index .cart.table-wrapper,
body.checkout-cart-index .cart-summary,
body.checkout-cart-index .block.discount,
body.checkout-cart-index .cart-container .cart-discount,
body.checkout-cart-index .checkout-estimate-block,
body.checkout-cart-index .cart-container .form-cart {
    border-radius: 14px;
}

body.checkout-cart-index .cart.table-wrapper,
body.checkout-cart-index .cart-container .form-cart,
body.checkout-cart-index .cart-summary,
body.checkout-cart-index .block.discount {
    border: 1px solid var(--awa-plp-border);
    background: #fff;
    box-shadow: var(--awa-plp-shadow-xs);
}

body.checkout-cart-index .cart.table-wrapper {
    overflow: clip;
}

body.checkout-cart-index .cart.table-wrapper .item-info,
body.checkout-cart-index .cart.table-wrapper .cart.item {
    border-bottom-color: #eef2f7;
}

body.checkout-cart-index .cart.table-wrapper .product-item-name a,
body.checkout-cart-index .cart.table-wrapper .col.item .product-item-details a {
    color: #111827;
}

body.checkout-cart-index .cart.table-wrapper .product-item-name a:hover,
body.checkout-cart-index .cart.table-wrapper .product-item-name a:focus-visible,
body.checkout-cart-index .cart.table-wrapper .col.item .product-item-details a:hover,
body.checkout-cart-index .cart.table-wrapper .col.item .product-item-details a:focus-visible {
    color: var(--primary-color, #b73337);
    outline: 0;
}

body.checkout-cart-index .cart.table-wrapper input.input-text.qty,
body.checkout-cart-index .cart.table-wrapper .qty input,
body.checkout-cart-index .cart.table-wrapper input.qty {
    min-height: 40px;
    border-radius: 10px;
    border: 1px solid var(--awa-plp-border-strong);
}

body.checkout-cart-index .cart.table-wrapper input.input-text.qty:focus,
body.checkout-cart-index .cart.table-wrapper input.input-text.qty:focus-visible,
body.checkout-cart-index .cart.table-wrapper .qty input:focus,
body.checkout-cart-index .cart.table-wrapper .qty input:focus-visible,
body.checkout-cart-index .cart.table-wrapper input.qty:focus,
body.checkout-cart-index .cart.table-wrapper input.qty:focus-visible {
    border-color: var(--primary-color, #b73337);
    box-shadow: var(--awa-plp-focus);
    outline: 0;
}

body.checkout-cart-index .cart-summary > .title,
body.checkout-cart-index .block.discount > .title,
body.checkout-cart-index .cart-container .cart-discount > .title {
    color: #111827;
}

body.checkout-cart-index .checkout-methods-items .action.checkout,
body.checkout-cart-index .checkout-methods-items .action.primary.checkout {
    min-height: 46px;
    border-radius: 12px;
    box-shadow: 0 10px 22px rgb(183 51 55 / 14%);
}

body.checkout-cart-index .checkout-methods-items .action.checkout:hover,
body.checkout-cart-index .checkout-methods-items .action.checkout:focus-visible,
body.checkout-cart-index .checkout-methods-items .action.primary.checkout:hover,
body.checkout-cart-index .checkout-methods-items .action.primary.checkout:focus-visible {
    box-shadow: 0 14px 26px rgb(142 38 41 / 16%);
}

body.checkout-cart-index .cart-summary .action.primary,
body.checkout-cart-index #discount-coupon-form .action.apply.primary {
    border-radius: 10px;
}

@media (width <= 991px) {
    :is(body.catalog-category-view, body.catalogsearch-result-index) .shop-tab-select .toolbar.toolbar-products {
        padding: 10px 12px;
    }

    :is(body.catalog-category-view, body.catalogsearch-result-index) .shop-tab-select .toolbar.toolbar-products .center {
        gap: 8px 10px;
    }

    :is(body.catalog-category-view, body.catalogsearch-result-index) .grid-mode-show-type-products {
        margin-top: 8px;
    }
}

@media (width <= 767px) {
    :is(body.catalog-category-view, body.catalogsearch-result-index) .category-image {
        display: none;
    }

    :is(body.catalog-category-view, body.catalogsearch-result-index) .wrapper.grid.products-grid .product-grid > li.item-product {
        overflow: visible !important;
    }

    :is(body.catalog-category-view, body.catalogsearch-result-index) .shop-tab-select .toolbar.toolbar-products {
        border-radius: 12px;
        padding: 10px;
        position: sticky;
        top: 68px;
        z-index: 8;
    }

    :is(body.catalog-category-view, body.catalogsearch-result-index) .shop-tab-select .toolbar.toolbar-products .modes,
    :is(body.catalog-category-view, body.catalogsearch-result-index) .shop-tab-select .toolbar.toolbar-products .field.limiter,
    :is(body.catalog-category-view, body.catalogsearch-result-index) .shop-tab-select .toolbar.toolbar-products .toolbar-amount {
        display: none;
    }

    :is(body.catalog-category-view, body.catalogsearch-result-index) .shop-tab-select .toolbar.toolbar-products .center {
        display: grid !important;
        grid-template-columns: auto 1fr;
        align-items: center;
        gap: 8px;
    }

    :is(body.catalog-category-view, body.catalogsearch-result-index) .shop-tab-select .toolbar.toolbar-products .modes {
        display: inline-flex !important;
        align-items: center;
        margin: 0;
    }

    :is(body.catalog-category-view, body.catalogsearch-result-index) .shop-tab-select .toolbar.toolbar-products .modes .modes-mode {
        display: none !important;
    }

    :is(body.catalog-category-view, body.catalogsearch-result-index) .toolbar .modes .modes-label[data-awa-filter-toggle='true'] {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
        padding: 0 12px;
        border-radius: 10px;
        border: 1px solid var(--awa-plp-border-strong);
        background: #fff;
        color: var(--awa-plp-text);
        font-weight: 700;
        cursor: pointer;
        user-select: none;
    }

    :is(body.catalog-category-view, body.catalogsearch-result-index) .toolbar .modes .modes-label[data-awa-filter-toggle='true']:focus-visible {
        outline: 0;
        border-color: rgb(183 51 55 / 26%);
        box-shadow: var(--awa-plp-focus);
    }

    :is(body.catalog-category-view, body.catalogsearch-result-index) .shop-tab-select .toolbar.toolbar-products .toolbar-sorter.sorter {
        width: 100%;
        margin: 0;
    }

    :is(body.catalog-category-view, body.catalogsearch-result-index) .shop-tab-select .toolbar.toolbar-products .toolbar-sorter .sorter-options {
        width: 100%;
        min-height: 44px;
    }

    :is(body.catalog-category-view, body.catalogsearch-result-index) .toolbar .modes .modes-label {
        width: auto;
        margin: 0;
    }

    body.catalog-category-view.awa-plp-filters-collapsed #layered-ajax-filter-block,
    body.catalogsearch-result-index.awa-plp-filters-collapsed #layered-ajax-filter-block,
    body.catalog-category-view.awa-plp-filters-collapsed .block.filter,
    body.catalogsearch-result-index.awa-plp-filters-collapsed .block.filter {
        display: none !important;
    }

    :is(body.catalog-category-view, body.catalogsearch-result-index) .toolbar .modes .modes-mode,
    :is(body.catalog-category-view, body.catalogsearch-result-index) .grid-mode-show-type-products a,
    :is(body.catalog-category-view, body.catalogsearch-result-index) .pages .item .page,
    :is(body.catalog-category-view, body.catalogsearch-result-index) .pages .item.current strong,
    :is(body.catalog-category-view, body.catalogsearch-result-index) .pages-item-next .action,
    :is(body.catalog-category-view, body.catalogsearch-result-index) .pages-item-previous .action {
        min-height: 44px;
        min-width: 44px;
        border-radius: 12px;
    }

    :is(body.catalog-category-view, body.catalogsearch-result-index) .wrapper.grid.products-grid .item-product > .product-thumb {
        border-top-left-radius: 12px;
        border-top-right-radius: 12px;
    }

    :is(body.catalog-category-view, body.catalogsearch-result-index) .wrapper.grid.products-grid .item-product > .product-info {
        border-bottom-left-radius: 12px;
        border-bottom-right-radius: 12px;
        padding-inline: 10px;
        padding-bottom: 10px;
    }

    :is(body.catalog-category-view, body.catalogsearch-result-index) .sidebar .banner_left_sidebar,
    :is(body.catalog-category-view, body.catalogsearch-result-index) #layered-ajax-filter-block .banner_left_sidebar,
    :is(body.catalog-category-view, body.catalogsearch-result-index) .sidebar .top_rate,
    :is(body.catalog-category-view, body.catalogsearch-result-index) #layered-ajax-filter-block .top_rate {
        display: none !important;
    }

    .searchsuite-autocomplete,
    #search_autocomplete .searchsuite-autocomplete {
        width: calc(100vw - 16px) !important;
        left: -8px !important;
        border-radius: 12px;
        max-height: min(72vh, 520px);
    }

    .searchsuite-autocomplete .suggest ul li a,
    .searchsuite-autocomplete .product ul li {
        padding-inline: 10px;
    }

    .searchsuite-autocomplete ul li .qs-option-image {
        width: 72px;
        max-width: 72px;
    }

    .searchsuite-autocomplete ul li .qs-option-info {
        width: calc(100% - 84px);
        padding-left: 10px;
    }

    body.checkout-cart-index .cart-empty {
        border-radius: 14px;
        padding: 22px 16px;
        margin-top: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    :is(body.catalog-category-view, body.catalogsearch-result-index) .wrapper.grid.products-grid .item-product .product-image-photo,
    :is(body.catalog-category-view, body.catalogsearch-result-index) .wrapper.grid.products-grid .item-product > .product-info,
    :is(body.catalog-category-view, body.catalogsearch-result-index) .wrapper.grid.products-grid .item-product .btn-add-to-cart.action.tocart,
    .searchsuite-autocomplete .product ul li {
        transition: none;
    }
}
