.at-products-page {
    padding-bottom: 65px;
}

.at-products-breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding-block: 23px;
    color: #899181;
    font-size: 10px;
}

.at-products-breadcrumbs a:hover {
    color: #244f38;
}

.at-products-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 35px;
    padding: 00px 0 32px;
    margin-bottom: 30px;
    border-bottom: 1px solid #e5e8e0;
}

.at-products-eyebrow {
    color: #8a9280;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 2px;
}

.at-products-heading h1 {
    margin: 10px 0 12px;
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -1.2px;
}

.at-products-heading p {
    max-width: 730px;
    margin: 0;
    color: #7d8675;
    font-size: 12px;
    line-height: 1.8;
}

.at-products-description {
    white-space: pre-line;
}

.at-products-total {
    flex-shrink: 0;
    padding-bottom: 3px;
    font-size: 27px;
    font-weight: 500;
    letter-spacing: -1px;
    line-height: 1;
}

.at-products-total small {
    margin-left: 4px;
    color: #8b9383;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0;
}

.at-products-layout {
    display: grid;
    grid-template-columns: 225px minmax(0, 1fr);
    align-items: start;
    gap: 37px;
}

.at-products-sidebar {
    min-width: 0;
    padding-right: 25px;
    border-right: 1px solid #e5e8e0;
}

.at-products-filter-panel > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    font-size: 13px;
    font-weight: 650;
    cursor: pointer;
    list-style: none;
}

.at-products-filter-panel > summary::-webkit-details-marker {
    display: none;
}

.at-products-filter-panel > summary > span {
    color: #8b9383;
    font-size: 15px;
}

.at-products-filter-section {
    padding-block: 20px;
    border-top: 1px solid #edf0e7;
}

.at-products-filter-section h2 {
    margin: 0 0 15px;
    font-size: 12px;
    font-weight: 650;
}

.at-products-all-link {
    display: block;
    margin-bottom: 12px;
    color: #244f38;
    font-size: 12px;
    font-weight: 550;
}

.at-products-category-scroll {
    max-height: 440px;
    overflow-y: auto;
    scrollbar-width: thin;
}

.at-products-category-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.at-products-category-list a {
    display: block;
    padding: 6px 0;
    color: #747f6c;
    font-size: 11px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.at-products-category-list a:hover,
.at-products-category-list a.is-selected {
    color: #244f38;
}

.at-products-category-list a.is-selected {
    font-weight: 700;
}

.at-products-category-list .at-products-category-list {
    margin: 4px 0 10px 3px;
    padding-left: 13px;
    border-left: 1px solid #e5e8e0;
}

.at-products-category-list .at-products-category-list a {
    font-size: 10px;
}

.at-products-filter-section select,
.at-products-price-inputs input {
    width: 100%;
    min-width: 0;
    height: 41px;
    padding: 9px 10px;
    border: 1px solid #e0e5d9;
    border-radius: 3px;
    background: white;
    color: #34462f;
    font-size: 11px;
}

.at-products-price-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.at-products-price-inputs label > span {
    display: block;
    margin-bottom: 7px;
    color: #8a9381;
    font-size: 10px;
}

.at-products-apply {
    width: 100%;
    min-height: 42px;
    padding: 10px;
    border: 1px solid #244f38;
    border-radius: 3px;
    background: #244f38;
    color: white;
    font-size: 11px;
    font-weight: 550;
}

.at-products-apply:hover {
    background: #173e28;
}

.at-products-clear {
    display: block;
    margin-top: 14px;
    color: #8a9381;
    font-size: 10px;
    text-align: center;
}

.at-products-results {
    min-width: 0;
}

.at-products-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 44px;
    margin-bottom: 24px;
}

.at-products-toolbar > span {
    color: #8b9383;
    font-size: 11px;
}

.at-products-sort {
    display: flex;
    align-items: center;
    gap: 12px;
}

.at-products-sort > span {
    color: #8b9383;
    font-size: 10px;
}

.at-products-sort select {
    width: 180px;
    height: 40px;
    padding: 8px 10px;
    border: 1px solid #e5e8e0;
    border-radius: 3px;
    background: white;
    color: #34462f;
    font-size: 11px;
}

.at-products-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 35px 24px;
}

.at-product-card {
    min-width: 0;
}

.at-product-image {
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 1;
    overflow: hidden;
    border: 1px solid #edf0e8;
    border-radius: 3px;
    background: #fff;
}

.at-product-image img {
    display: block;
    width: 100%;
    height: 100%;
    padding: 18px;
    object-fit: contain;
    transition: transform .25s ease;
}

.at-product-image:hover img {
    transform: scale(1.035);
}

.at-product-image-empty {
    color: #acb39f;
    font-size: 10px;
    letter-spacing: 1px;
}

.at-product-discount {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 8px;
    background: #f3ede1;
    color: #84663f;
    font-size: 9px;
}

.at-product-card-body {
    padding-top: 14px;
}

.at-product-brand {
    display: block;
    color: #8d9584;
    font-size: 9px;
    line-height: 1.5;
}

.at-product-card h2 {
    display: -webkit-box;
    min-height: 41px;
    margin: 6px 0 10px;
    overflow: hidden;
    color: #2f402d;
    font-size: 12px;
    font-weight: 550;
    line-height: 1.7;
    overflow-wrap: anywhere;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.at-product-card h2 a:hover {
    color: #7a6b42;
}

.at-product-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 10px;
    min-height: 18px;
    color: #8e9685;
    font-size: 9px;
}

.at-product-meta .is-in-stock {
    color: #51754a;
}

.at-product-meta .is-out-of-stock {
    color: #a18a7b;
}

.at-product-card-bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
    min-height: 65px;
    padding-top: 13px;
}

.at-product-prices > small,
.at-product-prices > del {
    display: block;
    min-height: 16px;
    margin-bottom: 2px;
    color: #939b8a;
    font-size: 9px;
}

.at-product-prices > strong {
    display: block;
    color: #244f38;
    font-size: 20px;
    font-weight: 650;
    line-height: 1.3;
    letter-spacing: -.7px;
}

.at-product-prices > strong > span {
    font-size: 11px;
    letter-spacing: 0;
}

.at-product-open {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    border: 1px solid #dfe5d8;
    border-radius: 50%;
    color: #244f38;
    background: white;
}

.at-product-open:hover {
    color: white;
    background: #244f38;
    border-color: #244f38;
}

.at-product-open svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.at-products-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 45px;
    padding-top: 25px;
    border-top: 1px solid #e5e8e0;
    font-size: 11px;
}

.at-products-pagination > [aria-disabled="true"] {
    color: #bac0b2;
}

.at-products-page-number {
    color: #244f38;
    font-variant-numeric: tabular-nums;
}

.at-products-page-number > span {
    margin-inline: 9px;
    color: #a7af9c;
}

.at-products-empty {
    grid-column: 1 / -1;
    padding: 70px 20px;
    border: 1px solid #e5e8e0;
    text-align: center;
}

.at-products-empty h2 {
    font-size: 21px;
    font-weight: 500;
}

.at-products-empty p {
    color: #87907d;
    font-size: 12px;
}

.at-products-empty a {
    display: inline-block;
    margin-top: 15px;
    color: #244f38;
    font-size: 12px;
}

.at-products-error {
    margin-bottom: 25px;
    padding: 15px;
    background: #fbefea;
    color: #955b43;
    font-size: 12px;
}

@media (min-width: 1500px) {
    .at-products-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 1050px) {
    .at-products-layout {
        grid-template-columns: 195px minmax(0, 1fr);
        gap: 25px;
    }

    .at-products-sidebar {
        padding-right: 20px;
    }

    .at-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .at-products-page {
        padding-bottom: 40px;
    }

    .at-products-breadcrumbs {
        padding-block: 18px;
        font-size: 9px;
    }

    .at-products-heading {
        gap: 15px;
        padding: 12px 0 25px;
        margin-bottom: 22px;
    }

    .at-products-heading h1 {
        font-size: 29px;
    }

    .at-products-heading p {
        font-size: 11px;
    }

    .at-products-total {
        font-size: 23px;
    }

    .at-products-total small {
        display: block;
        margin: 7px 0 0;
        text-align: right;
    }

    .at-products-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 23px;
    }

    .at-products-sidebar {
        padding: 0;
        border: 1px solid #e5e8e0;
        border-radius: 3px;
    }

    .at-products-filter-panel > summary {
        padding: 13px 15px;
    }

    .at-products-filter-content {
        padding: 0 15px 18px;
    }

    .at-products-category-scroll {
        max-height: 230px;
    }

    .at-products-toolbar {
        gap: 10px;
        margin-bottom: 20px;
    }

    .at-products-sort {
        gap: 0;
    }

    .at-products-sort > span {
        display: none;
    }

    .at-products-sort select {
        width: 165px;
        font-size: 10px;
    }

    .at-products-toolbar > span {
        font-size: 10px;
    }

    .at-products-grid {
        gap: 28px 14px;
    }

    .at-product-image img {
        padding: 11px;
    }

    .at-product-card h2 {
        min-height: 38px;
        font-size: 11px;
    }

    .at-product-brand,
    .at-product-meta {
        font-size: 8px;
    }

    .at-product-prices > strong {
        font-size: 17px;
    }

    .at-product-open {
        width: 29px;
        height: 29px;
    }

    .at-product-card-bottom {
        min-height: 60px;
    }

    .at-product-discount {
        top: 8px;
        left: 8px;
        font-size: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .at-product-image img {
        transition: none;
    }
}

.at-product-media {
    position: relative;
}

.at-product-favorite {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 35px;
    height: 35px;
    padding: 8px;
    border: 1px solid #e4e9de;
    border-radius: 50%;
    background: #fff;
    color: #7c8c70;
    transition: color .15s ease, border-color .15s ease;
}

.at-product-favorite svg {
    display: block;
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.at-product-favorite:hover {
    color: #a45555;
    border-color: #dcbcbc;
}

.at-product-favorite[aria-pressed="true"] {
    color: #a45555;
    border-color: #e6cccc;
    background: #fff8f7;
}

.at-product-favorite[aria-pressed="true"] svg {
    fill: currentColor;
}

.at-product-favorite:disabled {
    opacity: .55;
    cursor: wait;
}

.at-favorites-notice {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 150;
    max-width: min(370px, calc(100vw - 32px));
    padding: 15px 20px;
    border: 1px solid #dce5d2;
    border-radius: 4px;
    background: white;
    color: #345b34;
    box-shadow: 0 10px 35px #263e211a;
    font-size: 12px;
}

.at-favorites-notice[hidden] {
    display: none;
}

.at-favorites-notice.is-error {
    color: #9a6552;
    border-color: #e7d3c8;
}

@media (max-width: 760px) {
    .at-product-favorite {
        top: 8px;
        right: 8px;
        width: 31px;
        height: 31px;
        padding: 7px;
    }

    .at-product-favorite svg {
        width: 16px;
        height: 16px;
    }

    .at-favorites-notice {
        right: 16px;
        bottom: 16px;
        font-size: 11px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .at-product-favorite {
        transition: none;
    }
}