/**
 * BrownTrout 2026 - Catalog Category Styles
 */

/* ==========================================
   CATEGORY PAGE - MAIN LAYOUT
========================================== */

body.page-with-filter  .breadcrumbs{
    padding-left: 75px !important;
    padding-right: 75px !important;
    box-sizing: border-box;
}

body.page-with-filter .page-wrapper {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}
body.page-with-filter  main#maincontent {
    max-width: 100% !important;
    padding: 0 !important;
    padding-left: 75px !important;
    padding-right: 75px !important;
}
body.page-with-filter .page-main {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
}

/* ==========================================
   BREADCRUMBS
========================================== */

body.page-with-filter .breadcrumbs {
    margin: 44px 0 36px;
    padding: 0;
}

body.page-with-filter .breadcrumbs .items {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

body.page-with-filter .breadcrumbs .item {
    color: #6B696B;
    font: normal normal normal 21px/33px Agenda;
    letter-spacing: 1.16px;
    font-family: 'Agenda' !important;
}
body.page-with-filter .breadcrumbs .item strong{
    color: #6B696B;
    font: normal normal normal 21px/33px Agenda;
    letter-spacing: 1.16px;
    font-family: 'Agenda' !important;
}
body.page-with-filter  .breadcrumbs .item:not(:last-child):after{
    font-size: 35px;
    position: relative;
    top: 10px;
    left: 3px;

}
body.page-with-filter .breadcrumbs a {
        color: #434B36;
    text-decoration: none;
    font: normal normal normal 21px/33px Agenda;
    letter-spacing: 1.16px;
    font-family: 'Agenda' !important;
}

/* ==========================================
   PAGE TITLE & DESCRIPTION
========================================== */

body.page-with-filter .page-title-wrapper {
    margin: 0 0 19px;
}

body.page-with-filter .page-title {
    margin-bottom: 19px;
    font: normal normal normal 35px/28px Bookman Old Style;
    letter-spacing: 1.93px;
    color: #2B2A28;
    font-family: 'Bookman Old Style' !important;
}
body.page-with-filter  [data-content-type='row'][data-appearance='contained'] {
    margin-left: 0 !important;
    margin-right: 0 !important;
}
body.page-with-filter .category-view {
    margin-bottom: 24px;
}

body.page-with-filter .category-description {
    margin-bottom: 34px;
    font: normal normal normal 33px/44px Segoe UI;
    letter-spacing: 0px;
    color: #2C2C30;
}

body.page-with-filter .category-description p {
    margin: 0;
}
body.page-with-filter  [data-content-type='row'][data-appearance='contained'] [data-element='inner']{
    padding:0 !important;
}

/* ==========================================
   MAIN CONTENT - SIDEBAR + PRODUCTS
========================================== */

body.page-with-filter .columns {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 0px;
    width: 100%;
    margin: 0;
}

body.page-with-filter .sidebar-main {
    order: 1;
    flex: 0 0 330px;
    width: 330px;
    max-width: 330px;
    padding: 0;
    margin: 0;
}

body.page-with-filter .column.main {
    order: 2;
    flex: 1 1 0;
    min-width: 0;
    width: 100%;
    padding: 0;
    margin: 0;
    border-left: 2px solid #E9E9E9;
    margin-left: 20px;
    padding-left: 20px;
}

/* ==========================================
   FILTER SIDEBAR
========================================== */

body.page-with-filter .bt-catalog-filter {
    width: 100%;
    margin: 0;
    border: 0;
    background: transparent;
}

body.page-with-filter .bt-filter-content {
    padding: 0;
    border: 0;
}

body.page-with-filter .bt-filter-options {
    margin: 0;
}

body.page-with-filter .bt-filter-group {
    margin-bottom: 35px;
}

body.page-with-filter .bt-filter-group-title {
        color: #2B2A28;
    margin-bottom: 22px;
    font: normal normal bold 21px/33px Agenda;
    letter-spacing: 1.16px;
    font-family: 'Agenda' !important;
    border-bottom: 2px solid #E9E9E9;
}

body.page-with-filter .bt-filter-line {
    display: none;
}

body.page-with-filter .bt-filter-group-content {
    padding: 0;
    margin: 0;
}

body.page-with-filter .bt-filter-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

body.page-with-filter .bt-filter-item {
    margin: 0 0 14px;
    padding: 0;
}

body.page-with-filter .bt-filter-item-link {
        display: flex;
    gap: 14px;
    text-decoration: none;
    font: normal normal normal 21px/33px Agenda;
    letter-spacing: 1.16px;
    color: #2C2C30;
    font-family: 'Agenda' !important;
}

body.page-with-filter .bt-custom-checkbox {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #53035A;
    border-radius: 5px;
    background: #fff;
    position: relative;
        top: 7px;
}
body.page-with-filter .bt-custom-checkbox.checked{
    background:#53035A;
}
body.page-with-filter .bt-custom-checkbox svg {
    display: none;
}
body.page-with-filter .bt-custom-checkbox.checked svg{
    display:block;
    position: relative;
    top:-2px;
}
body.page-with-filter  .bt-filter-actions button#bt-apply-filters, body.page-with-filter  .bt-filter-actions a#bt-clear-filters{
        width: 210px;
    display: block;
}
body.page-with-filter  .bt-filter-actions button#bt-apply-filters{
    background: #53035A;
    border: 1px solid #53035A;
    border-radius: 6px;
    font: normal normal normal 21px/33px Agenda;
    letter-spacing: 1.16px;
    color: #FFFFFF;
    font-family: 'Agenda' !important;
    margin-bottom: 12px;
}
body.page-with-filter  .bt-filter-actions a#bt-clear-filters{
    display: block;
    border: 1px solid #53035A;
    border-radius: 6px;
    font: normal normal normal 21px/33px Agenda;
    letter-spacing: 1.16px;
    color: #53035A;
    text-align: center;
    font-family: 'Agenda' !important;
    padding:7px 0;
}
body.page-with-filter .bt-filter-item-link.active .bt-custom-checkbox,
body.page-with-filter .bt-filter-item-link.is-active .bt-custom-checkbox {
    background: #760078;
}

body.page-with-filter .bt-filter-item-link.active .bt-custom-checkbox svg,
body.page-with-filter .bt-filter-item-link.is-active .bt-custom-checkbox svg {
    display: block;
}

/* ==========================================
   TOOLBAR & SORTING
========================================== */

body.page-with-filter .bt-toolbar-top {
    width: 100%;
    margin: 0 0 80px;
    padding: 0;
    border: 0;
    background: transparent;
}

body.page-with-filter .bt-toolbar-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
    width: 100%;
}

body.page-with-filter .bt-filter-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 40px;
    min-width: 44px;
    padding: 8px;
    border: 0;
    border-radius: 8px;
    background: #53035A;
    cursor: pointer;
}

body.page-with-filter .bt-filter-icon {
    width: 30px;
    height: 28px;
}

body.page-with-filter .bt-toolbar-sorter {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
    float: none;
    margin: 0;
}

body.page-with-filter .bt-sorter-label {
        white-space: nowrap;
    font: normal normal bold 21px/33px Agenda;
    letter-spacing: 1.16px;
    color: #2B2A28;
    font-family: 'Agenda' !important;
}

body.page-with-filter .bt-sort-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

body.page-with-filter .bt-sort-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
    height: 40px;
    padding: 0 20px;
    text-transform: uppercase;
    border: 1px solid #53035A;
    border-radius: 8px;
    background: #fff;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    font: normal normal normal 21px/33px Agenda;
    letter-spacing: 1.16px;
    color: #53035A;
    font-family: 'Agenda' !important;
}

body.page-with-filter .bt-sort-btn.active,
body.page-with-filter .bt-sort-btn:hover {
    background: #53035A;
    color: #fff;
}

/* ==========================================
   PRODUCT GRID
========================================== */

body.page-with-filter .products-grid {
    width: 100%;
    margin: 0;
    padding: 0;
}

body.page-with-filter .bt-category-product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px 24px;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}
body.page-with-filter  .products-grid .product-item{
    width:100%;
    border: 1px solid #D2D3D2;
            border-radius: 14px;
}
body.page-with-filter .product-item {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.page-with-filter .bt-product-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    position: relative;
    border: 0;
    
    text-align: center;
}

body.page-with-filter .bt-card-photo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1; /* product images are square (400 x 400), so the box is square too */
    flex: 0 0 auto;
    padding: 0;
    margin: 0 0 18px;
    overflow: hidden;
}

body.page-with-filter .bt-card-photo .product-image-container {
    display: block;
    width: 100% !important;
    max-width: 100%;
    height: 100% !important;
}

body.page-with-filter .bt-card-photo .product-image-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100% !important;
}

body.page-with-filter .bt-card-photo img {
        display: block;
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: contain;
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
    margin-top: 0;
}

body.page-with-filter .bt-card-details {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 0 11px 11px;
    text-align: center;
}

body.page-with-filter .bt-card-title {
    display: block;
    margin: 0 0 10px;
}

body.page-with-filter .bt-card-title a {
        text-decoration: none;
    font: normal normal bold 21px/33px Agenda;
    letter-spacing: 1.16px;
    color: #2B2A28;
    font-family: 'Agenda' !important;
}

body.page-with-filter .bt-card-price-box {
        margin: 8px 0;
    text-align: left;
    margin-top: 24.33px;
    margin-bottom: 19px;
}

body.page-with-filter .bt-card-price-box .price {
        font: normal normal 600 33px/33px Agenda;
    letter-spacing: 1.81px;
    color: #2B2A28;
    font-family: 'Agenda' !important;
}

/* ==========================================
   PRODUCT BUTTONS
========================================== */

body.page-with-filter .bt-card-actions-wrapper {
    margin-top: auto;
    padding-top: 15px;
}

body.page-with-filter .bt-card-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

body.page-with-filter .bt-action-primary,
body.page-with-filter .bt-action-buynow {
    width: 100%;
}

body.page-with-filter .bt-btn-addtocart,
body.page-with-filter .bt-btn-buynow {
        width: 100%;
    min-height: 42px;
    border: 1px solid #53035A;
    border-radius: 5px;
    background: #53035A;
    color: #fff;
    font: normal normal normal 21px/33px Agenda;
    letter-spacing: 1.16px;
    font-family: 'Agenda' !important;
}
body.page-with-filter .bt-btn-addtocart:hover{
     background: #53035A;
}
body.page-with-filter .bt-btn-buynow {
    background: #fff;
    color: #720078;
}

/* ==========================================
   BOTTOM TOOLBAR
========================================== */

body.page-with-filter .bt-toolbar-bottom {
    margin-top: 35px;
}

/* ==========================================
   RESPONSIVE DESIGN
========================================== */

@media (max-width: 1340px) and (min-width: 1201px) {

    body.page-with-filter .bt-category-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    body.page-with-filter .bt-sort-btn {
        min-width: 110px;
    }
}

@media (max-width: 1200px) {

    body.page-with-filter .breadcrumbs,
    body.page-with-filter main#maincontent {
        padding-left: 40px !important;
        padding-right: 40px !important;
        box-sizing: border-box;
    }

    body.page-with-filter .sidebar-main {
        flex: 0 0 270px;
        width: 270px;
    }

    body.page-with-filter .bt-category-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 25px 18px;
    }

    body.page-with-filter .bt-sort-btn {
        min-width: 125px;
    }
}

@media (max-width: 1200px) and (min-width: 768px) {

    body.page-with-filter .bestseller-carousel-header {
        flex-direction: column;
        gap: 8px;
    }

    body.page-with-filter .bestseller-view-all-link {
        position: static;
        transform: none;
    }
}

@media (max-width: 991px) {

    body.page-with-filter .breadcrumbs,
    body.page-with-filter main#maincontent {
        padding-left: 25px !important;
        padding-right: 25px !important;
    }

    body.page-with-filter .columns {
        gap: 25px;
    }

    body.page-with-filter .sidebar-main {
        flex: 0 0 220px;
        width: 220px;
    }

    body.page-with-filter .bt-category-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.page-with-filter .bt-toolbar-top {
        margin-bottom: 45px;
    }

    body.page-with-filter .bt-toolbar-controls {
        flex-wrap: wrap;
    }

    body.page-with-filter .bt-sort-btn {
        min-width: 110px;
    }
}

@media (max-width: 767px) {

    body.page-with-filter {
        padding-left: 18px !important;
        padding-right: 18px !important;
    }
    body.page-with-filter.page-products, body.page-with-filter.page-products main#maincontent{
        padding-left:0 !important;
        padding-right:0 !important;
    }
    body.page-with-filter.page-products .page-title{
        padding:0 15px !important;
    }
    body.page-with-filter.page-products .breadcrumbs, body.page-with-filter.page-products .category-view, body.page-with-filter.page-products .columns{
        padding:0 15px !important;
    }
    body.page-with-filter.page-products .bt-filter-item-link, body.page-with-filter.page-products .bt-filter-actions button#bt-apply-filters, body.page-with-filter.page-products .bt-filter-actions a#bt-clear-filters{
        font-size: 18px !important;
    }
    body.page-with-filter.page-products .column.main{
        margin-left:0;
    }
     body.page-with-filter.page-products .bt-card-photo img{
        object-fit:contain !important;
     }
body.page-with-filter.page-products .bt-card-title a{
        font-size:13px;
        line-height:25px;
     }
     body.page-with-filter.page-products .bt-card-price-box .price{
        font-size: 18px;
     }
     body.page-with-filter.page-products .bt-btn-addtocart, body.page-with-filter.page-products .bt-btn-buynow{
        font-size: 16px;
        padding-left: 2px;
        padding-right: 2px;
        letter-spacing: 0.5px;
     }
     body.page-with-filter.page-products .bt-btn-buynow{
        margin-bottom:10px;
     }
    .page-products  .bt-newsletter-btn, .page-products .bt-newsletter-middle .action.subscribe.primary.bt-newsletter-btn{
        font-size:14px !important;
     }
     body.page-with-filter.page-products .bt-filter-item-link{
        font-size: 18px;
     }
      body.page-with-filter.page-products .bestseller-owl-carousel .owl-item > .item{
        justify-content: center;
     }
.page-products .product-item-info{
    width:100% !important;
}



  body.page-with-filter.archives-index-format {
        padding-left: 0px !important;
        padding-right: 0px !important;
    }
    body.page-with-filter.archives-index-format main#maincontent{
        padding-left:15px !important;
        padding-right:15px !important;
    }
    body.page-with-filter .columns {
        display: flex;
        flex-direction: column;
        gap: 25px;
    }

    body.page-with-filter .sidebar-main {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
    }

    body.page-with-filter .column.main {
        width: 100%;
        max-width: 100%;
        flex: 1 1 100%;
    }

    body.page-with-filter .category-description {
        font-size: 18px;
    }

    body.page-with-filter .page-title {
        font-size: 24px;
    }

    body.page-with-filter .bt-toolbar-controls {
        gap: 12px;
    }

    body.page-with-filter .bt-toolbar-sorter {
        flex-wrap: wrap;
        gap: 10px;
    }

    body.page-with-filter .bt-sort-buttons {
        flex-wrap: wrap;
    }

    body.page-with-filter .bt-sort-btn {
        min-width: 95px;
        height: 38px;
        padding: 0 12px;
        font-size: 12px;
    }

    body.page-with-filter .bt-category-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 25px 12px;
    }

    body.page-with-filter .bt-card-photo {
        height: auto;
    }

    body.page-with-filter .bt-card-photo img {
        max-height: none;
    }
    .bt-categories-page .bt-archive-card__action-text{
        font-size: 18px !important;
    }
}

@media (max-width: 480px) {

    body.page-with-filter .bt-category-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.page-with-filter .bt-card-photo {
        height: auto;
    }

    body.page-with-filter .bt-card-photo img {
        max-height: none;
    }

    body.page-with-filter .bt-card-title a {
        font-size: 13px;
    }
.archives-index-category  .bt-newsletter-btn, .archives-index-category .bt-newsletter-middle .action.subscribe.primary.bt-newsletter-btn{
        font-size:14px !important;
     }
    body.page-with-filter .bt-sorter-label {
        font-size: 12px;
    }
}
@media only screen and (min-width:1100px) and (max-width:1600px){
    body.page-with-filter .bt-btn-addtocart, body.page-with-filter .bt-btn-buynow{
        font-size:17px;
    }
    body.page-with-filter .bestseller-carousel-header .bestseller-carousel-title{
        text-transform: normal;
    }
}

/* ==========================================
   BT-DEPTH v1.1 - SOFT SHADOWS
   Added 2026-11-24 (Magento Bot, for Michael).
   Same soft purple shadows as the /relaunch-deal/ page.
   To roll back: delete this whole block.
========================================== */

body.page-with-filter .products-grid .product-item {
    border-color: #e5d9f2;
    background: #fff;
    box-shadow: 0 2px 12px rgba(40, 8, 52, 0.10);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

body.page-with-filter .bt-sort-btn.active,
body.page-with-filter .bt-btn-addtocart,
body.page-with-filter .bt-filter-actions button#bt-apply-filters {
    box-shadow: 0 2px 6px rgba(83, 3, 90, 0.20);
}

body.page-with-filter .bt-btn-addtocart,
body.page-with-filter .bt-btn-buynow {
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

/* Hover lift - only on devices with a mouse */

@media (hover: hover) {

    body.page-with-filter .products-grid .product-item:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 24px rgba(40, 8, 52, 0.16);
    }

    body.page-with-filter .bt-btn-addtocart:hover,
    body.page-with-filter .bt-btn-buynow:hover,
    body.page-with-filter .bt-sort-btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 6px 16px rgba(83, 3, 90, 0.28);
    }
}


/* ==========================================
   BT-MOBILE-PAGES v1.1 - LISTING PAGES (PHONE)
   One block for both listing pages:
   - category page  (web/css/catalog-category.css)
   - format page    (web/css/archives-listing.css)
   Add this whole block at the END of both files.
   Phone only (max-width: 767px). Desktop is not touched.
   To roll back: delete this whole block.
========================================== */

@media (max-width: 767px) {

    /* ==========================================
       PAGE GUTTER - 16px LEFT AND RIGHT
    ========================================== */

    body.page-with-filter,
    body.page-with-filter main#maincontent {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    body.page-with-filter .page-wrapper > .breadcrumbs,
    body.page-with-filter main#maincontent > .page-title-wrapper,
    body.page-with-filter main#maincontent > .columns {
        padding-left: 16px !important;
        padding-right: 16px !important;
        box-sizing: border-box;
    }

    body.page-with-filter .calendars-page,
    body.page-with-filter .calendars-page .bt-formats-page,
    body.page-with-filter .calendars-page .breadcrumbs,
    body.page-with-filter .calendars-page .columns,
    body.page-with-filter .page-title-wrapper .page-title,
    body.page-with-filter .column.main,
    body.page-with-filter .sidebar-main {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        border-left: 0 !important;
    }

    body.page-with-filter .columns {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    /* no extra space under the products / pager: the "You May Also Like"
       block below brings its own 28px. If nothing follows, add 28px. */
    body.page-with-filter .column.main,
    body.page-with-filter main#maincontent > .columns {
        padding-bottom: 0 !important;
    }

    body.page-with-filter main#maincontent > .columns:last-child {
        padding-bottom: 28px !important;
    }

    /* ==========================================
       BREADCRUMBS - ONE SMALL LINE
    ========================================== */

    body.page-with-filter .breadcrumbs {
        margin: 12px 0 6px !important;
        min-height: 0;
    }

    body.page-with-filter .breadcrumbs .items {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        gap: 0;
        overflow: hidden;
        white-space: nowrap;
    }

    body.page-with-filter .breadcrumbs .item,
    body.page-with-filter .breadcrumbs .item a,
    body.page-with-filter .breadcrumbs .item strong {
        font-size: 12px !important;
        line-height: 20px !important;
        letter-spacing: 0.3px !important;
    }

    body.page-with-filter .breadcrumbs .item {
        display: inline-flex !important;
        align-items: center;
        flex: 0 0 auto;
        margin: 0;
    }

    body.page-with-filter .breadcrumbs .item:last-child {
        flex: 0 1 auto;
        min-width: 0;
    }

    body.page-with-filter .breadcrumbs .item:last-child strong {
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    body.page-with-filter .breadcrumbs .item:not(:last-child):after {
        font-size: 16px !important;
        line-height: 20px !important;
        width: 16px;
        margin: 0 2px !important;
        top: 0 !important;
        left: 0 !important;
    }

    /* ==========================================
       PAGE TITLE
    ========================================== */

    body.page-with-filter .page-title-wrapper {
        margin: 0 0 12px !important;
    }

    body.page-with-filter .page-title-wrapper .page-title {
        margin: 0 !important;
        font-size: 22px !important;
        line-height: 28px !important;
        letter-spacing: 0.5px !important;
    }

    /* ==========================================
       ORDER OF THE BLOCKS
       1 toolbar, 2 filter (closed until the filter
       button is tapped), 3 products, 4 pager
    ========================================== */

    body.page-with-filter.page-products .column.main,
    body.page-with-filter.page-products .column.main > .search.results,
    body.page-with-filter .bt-catalog-columns > .column.main {
        display: contents;
    }

    body.page-with-filter .bt-toolbar-top {
        order: 1 !important;
    }

    body.page-with-filter .columns .sidebar-main {
        order: 2 !important;
    }

    body.page-with-filter .products-grid,
    body.page-with-filter .column.main > .message {
        order: 3 !important;
    }

    body.page-with-filter .bt-toolbar-bottom {
        order: 4 !important;
    }

    /* ==========================================
       TOOLBAR - FILTER BUTTON + SORT BUTTONS, ONE ROW
    ========================================== */

    body.page-with-filter .bt-toolbar-top {
        width: 100%;
        margin: 0 0 16px !important;
        padding: 0 !important;
    }

    body.page-with-filter .bt-toolbar-controls {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        gap: 8px;
    }

    body.page-with-filter .bt-filter-toggle {
        flex: 0 0 auto;
        gap: 8px;
        width: auto;
        min-width: 44px;
        height: 44px;
        margin: 0;
        padding: 0 12px;
        box-sizing: border-box;
        border: 1px solid #53035A;
        border-radius: 8px;
        box-shadow: 0 2px 6px rgba(83, 3, 90, 0.20);
    }

    /* red dot on the filter button while a filter is selected */
    body.page-with-filter .columns:has(.bt-filter-item.is-selected) .bt-filter-toggle {
        position: relative;
    }

    body.page-with-filter .columns:has(.bt-filter-item.is-selected) .bt-filter-toggle:before {
        content: '';
        position: absolute;
        top: -5px;
        right: -5px;
        width: 12px;
        height: 12px;
        box-sizing: border-box;
        border: 2px solid #fff;
        border-radius: 50%;
        background: #FF003D;
    }

    body.page-with-filter .bt-filter-toggle:after {
        content: 'Filter';
        color: #fff;
        font-size: 13px;
        font-weight: 400;
        line-height: 20px;
        letter-spacing: 0.5px;
        text-transform: uppercase;
    }

    body.page-with-filter .bt-filter-icon {
        flex: 0 0 auto;
        width: 20px;
        height: 19px;
    }

    /* thin line between the filter button and the sort buttons */
    body.page-with-filter .bt-toolbar-sorter {
        flex: 1 1 auto;
        flex-wrap: nowrap;
        gap: 0;
        min-width: 0;
        margin: 0;
        padding: 0 0 0 8px;
        border-left: 1px solid #e5d9f2;
    }

    /* "SORT BY:" stays for screen readers, hidden on screen */
    body.page-with-filter .bt-sorter-label {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
    }

    /* sort buttons share the rest of the row; they scroll sideways if they do not fit */
    body.page-with-filter .bt-sort-buttons {
        flex: 1 1 auto;
        flex-wrap: nowrap;
        gap: 8px;
        min-width: 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    body.page-with-filter .bt-sort-buttons::-webkit-scrollbar {
        display: none;
    }

    /* The rule above this block has font-family: 'Agenda' (typo), so the
       browser used its default font. On phones the font is set here. */
    body.page-with-filter .bt-sort-btn {
        font-family: 'Agenda', sans-serif !important;
        flex: 1 0 auto;
        gap: 4px;
        min-width: 0;
        height: 44px;
        padding: 0 6px;
        box-sizing: border-box;
        border-radius: 8px;
        font-size: 13px;
        line-height: 20px;
        letter-spacing: 0.5px;
        text-transform: uppercase;
        white-space: nowrap;
    }

    body.page-with-filter .bt-sort-btn .bt-sort-arrow {
        display: inline-flex;
        align-items: center;
    }

    /* ==========================================
       FILTER - CLOSED BY DEFAULT
       The filter button already toggles "is-open" on
       .sidebar.sidebar-main (web/js/catalog-category.js).
    ========================================== */

    body.page-with-filter .sidebar-main {
        display: none;
        flex: 0 0 auto;
        width: 100%;
        max-width: 100%;
        margin: 0 0 16px !important;
        box-sizing: border-box;
        border: 1px solid #e5d9f2 !important;
        border-radius: 14px;
        background: #fff;
        box-shadow: 0 2px 12px rgba(40, 8, 52, 0.10);
        overflow: hidden;
    }

    body.page-with-filter .sidebar-main.is-open {
        display: block;
    }

    /* no toolbar on the page (no products found): keep the filter visible */
    body.page-with-filter .columns:not(:has(.bt-filter-toggle)) > .sidebar-main {
        display: block;
    }

    /* filter button looks pressed while the filter is open */
    body.page-with-filter .columns:has(.sidebar-main.is-open) .bt-filter-toggle {
        background: #fff;
        box-shadow: none;
    }

    body.page-with-filter .columns:has(.sidebar-main.is-open) .bt-filter-toggle:after {
        color: #53035A;
    }

    body.page-with-filter .columns:has(.sidebar-main.is-open) .bt-filter-icon {
        fill: #53035A;
    }

    /* the list scrolls inside the panel, APPLY and CLEAR FILTER stay in view */
    body.page-with-filter .bt-filter-options {
        max-height: 60vh;
        margin: 0;
        padding: 0 16px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }

    body.page-with-filter .bt-filter-group {
        margin: 0 0 8px;
    }

    body.page-with-filter .bt-filter-group-title {
        position: sticky;
        top: 0;
        z-index: 1;
        margin: 0 0 4px;
        padding: 14px 0 8px;
        border-bottom: 1px solid #e5d9f2;
        background: #fff;
        font-size: 13px;
        line-height: 18px;
        letter-spacing: 0.8px;
    }

    body.page-with-filter .bt-filter-item {
        margin: 0;
    }

    body.page-with-filter .bt-filter-items .bt-filter-item-link {
        align-items: center;
        gap: 12px;
        min-height: 44px;
        padding: 4px 0;
        box-sizing: border-box;
        font-size: 14px !important;
        line-height: 20px;
        letter-spacing: 0.2px;
    }

    body.page-with-filter .bt-custom-checkbox {
        flex: 0 0 20px;
        width: 20px;
        height: 20px;
        top: 0;
        box-sizing: border-box;
    }

    body.page-with-filter .bt-custom-checkbox.checked svg {
        top: 0;
    }

    body.page-with-filter .bt-filter-item-link span.bt-filter-label {
        flex: 1 1 auto;
        min-width: 0;
        max-width: none;
    }

    body.page-with-filter .bt-filter-item-link .count {
        position: static;
        flex: 0 0 auto;
        font-size: 12px;
        line-height: 20px;
        letter-spacing: 0;
        color: #6B696B;
    }

    body.page-with-filter .bt-filter-actions {
        display: flex;
        gap: 8px;
        margin: 0;
        padding: 12px 16px;
        border-top: 1px solid #e5d9f2;
        background: #fff;
    }

    body.page-with-filter .sidebar-main .bt-filter-actions button#bt-apply-filters,
    body.page-with-filter .sidebar-main .bt-filter-actions a#bt-clear-filters {
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 1 1 0;
        width: auto;
        min-width: 0;
        height: 44px;
        margin: 0;
        padding: 0 8px;
        box-sizing: border-box;
        border-radius: 8px;
        font-size: 14px !important;
        line-height: 20px;
        letter-spacing: 0.5px;
        text-decoration: none;
    }

    body.page-with-filter .sidebar-main .bt-filter-actions a#bt-clear-filters.is-disabled {
        opacity: 0.5;
    }

    /* ==========================================
       PRODUCT GRID - 2 PER ROW
    ========================================== */

    body.page-with-filter .products-grid {
        margin: 0 !important;
    }

    body.page-with-filter .bt-category-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    /* ==========================================
       PRODUCT CARD
       Square photo on top, title (max 3 lines),
       price centered above the buttons,
       price and buttons pinned to the bottom.
    ========================================== */

    body.page-with-filter .products-grid .product-item {
        display: flex;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden;
    }

    body.page-with-filter .bt-product-card {
        display: flex;
        flex-direction: column;
        flex: 1 1 auto;
        width: 100% !important;
        min-width: 0;
        height: auto;
    }

    body.page-with-filter .bt-card-photo {
        flex: 0 0 auto;
        margin: 0;
    }

    body.page-with-filter .bt-card-photo img {
        border-radius: 0;
    }

    body.page-with-filter .bt-card-details {
        display: flex;
        flex-direction: column;
        flex: 1 1 auto;
        padding: 10px 10px 12px;
        text-align: left;
    }

    body.page-with-filter .bt-card-title {
        margin: 0 0 8px;
        font-weight: 400;
    }

    body.page-with-filter .bt-card-title a {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        overflow: hidden;
        font-size: 15px !important;
        font-weight: 400 !important;
        line-height: 20px !important;
        letter-spacing: 0 !important;
    }

    body.page-with-filter .bt-card-reviews-wrapper {
        margin: 0 0 8px;
    }

    /* "margin-top: auto" pushes the price and the buttons to the bottom of the card */
    body.page-with-filter .bt-card-price-box {
        display: block;
        width: 100%;
        margin: auto 0 8px !important;
        padding: 0;
        text-align: center;
    }

    body.page-with-filter .bt-card-price-box .price {
        font-size: 16px !important;
        font-weight: 700 !important;
        line-height: 22px !important;
        letter-spacing: 0.3px !important;
    }

    body.page-with-filter .bt-card-price-box .old-price .price {
        margin-left: 6px;
        font-size: 13px !important;
        font-weight: 400 !important;
        color: #6B696B;
        text-decoration: line-through;
    }

    /* ==========================================
       CARD BUTTONS - 44px
    ========================================== */

    body.page-with-filter .bt-card-actions-wrapper {
        margin: 0 !important;
        padding: 0 !important;
    }

    body.page-with-filter .bt-card-actions {
        gap: 8px;
        margin: 0;
    }

    body.page-with-filter .bt-btn-addtocart,
    body.page-with-filter .bt-btn-buynow {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 44px;
        min-height: 44px;
        margin: 0 !important;
        padding: 0 4px !important;
        border-radius: 8px;
        font-size: 13px !important;
        line-height: 18px !important;
        letter-spacing: 0.6px !important;
        white-space: nowrap;
    }

    body.page-with-filter .bt-card-actions .stock {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
        font-size: 13px;
        color: #6B696B;
    }

    /* ==========================================
       BADGE - SMALL LABEL OVER THE PHOTO CORNER
       Bottom left of the photo, because the calendar
       name is printed at the top of the cover.
       The badge box is the same square as the photo.
    ========================================== */

    body.page-with-filter .bt-card-badges {
        position: absolute;
        top: 0;
        left: 0;
        z-index: 2;
        display: flex;
        align-items: flex-end;
        width: 100%;
        aspect-ratio: 1;
        margin: 0;
        padding: 8px;
        box-sizing: border-box;
        pointer-events: none;
    }

    body.page-with-filter .bt-card-badges .badge {
        display: inline-block;
        padding: 2px 8px;
        border-radius: 6px;
        background: #FF003D;
        color: #fff;
        font-size: 12px !important;
        font-weight: 600;
        line-height: 17px !important;
        letter-spacing: 0.6px !important;
        text-transform: uppercase;
        white-space: nowrap;
    }

    body.page-with-filter .bt-card-badges .badge-new {
        background: #657852;
    }

    /* ==========================================
       PAGER (BOTTOM TOOLBAR)
    ========================================== */

    body.page-with-filter .bt-toolbar-bottom {
        margin: 0 !important;
        padding: 0 !important;
        text-align: center;
    }

    /* the space sits on the pager itself, so a page without a pager gets none */
    body.page-with-filter .bt-toolbar-bottom .pages {
        display: block;
        float: none;
        margin: 24px 0 0;
    }

    body.page-with-filter .bt-toolbar-bottom .pages .items {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 8px;
        margin: 0;
        padding: 0;
    }

    body.page-with-filter .bt-toolbar-bottom .pages .item {
        display: block;
        margin: 0;
    }

    body.page-with-filter .bt-toolbar-bottom .pages a.page,
    body.page-with-filter .bt-toolbar-bottom .pages strong.page,
    body.page-with-filter .bt-toolbar-bottom .pages .action {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        border: 1px solid #e5d9f2;
        border-radius: 8px;
        background: #fff;
        color: #53035A;
        font-size: 16px;
        font-weight: 400;
        line-height: 20px;
        text-decoration: none;
    }

    body.page-with-filter .bt-toolbar-bottom .pages strong.page {
        border-color: #53035A;
        background: #53035A;
        color: #fff;
        box-shadow: 0 2px 6px rgba(83, 3, 90, 0.20);
    }

    body.page-with-filter .bt-toolbar-bottom .pages .action:before {
        margin: 0;
        color: #53035A;
    }
}

/* small phones: tighter toolbar so the three sort buttons still fit in the row */

@media (max-width: 389px) {

    body.page-with-filter .bt-toolbar-controls,
    body.page-with-filter .bt-sort-buttons {
        gap: 6px;
    }

    body.page-with-filter .bt-filter-toggle {
        gap: 6px;
        padding: 0 9px;
    }

    body.page-with-filter .bt-toolbar-sorter {
        padding-left: 6px;
    }

    body.page-with-filter .bt-sort-btn {
        padding: 0 5px;
        font-size: 12px;
        letter-spacing: 0.3px;
    }
}

/* BT-MOBILE-PAGES v1.1 END */

/* =====================================================
   BT-POLISH v1.0 START (listing pages)
   Put this block at the very end of the file,
   after the BT-MOBILE-PAGES v1.1 block.
   To roll back: delete this block.

   Desktop and tablet (768px and wider):
   the BEST SELLER / NEW / % OFF label looks like
   the label on the home page. It sits on the top
   left corner of the card. All photos start at the
   same height again.
   Phones keep the BT-MOBILE-PAGES v1.1 label.
===================================================== */

@media (min-width: 768px) {

    body.page-with-filter .bt-card-badges {
        position: absolute;
        top: -15px;
        left: 12px;
        z-index: 3;
        display: flex;
        align-items: center;
        gap: 6px;
        margin: 0;
        padding: 0;
        pointer-events: none;
    }

    body.page-with-filter .bt-card-badges .badge {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0 12px;
        border-radius: 14px;
        background: #FF003D;
        box-shadow: 0 2px 6px rgba(120, 0, 30, 0.28);
        color: #fff;
        font-family: 'Agenda', 'Open Sans', sans-serif !important;
        font-size: 20px;
        font-weight: 400;
        line-height: 30px;
        letter-spacing: 1px;
        text-transform: uppercase;
        white-space: nowrap;
    }

    body.page-with-filter .bt-card-badges .badge-new {
        background: #657852;
        box-shadow: 0 2px 6px rgba(40, 50, 30, 0.28);
    }
}

/* BT-POLISH v1.0 END (listing pages) */

/* ==========================================
   BT-SALEPRICE-RED v1.0 (Magento Bot, 2026-12-01)
   Sale price in red. Old price crossed out with a red diagonal line
   (rising from left to right) instead of the straight line.
========================================== */
body .bt-card-price-box .special-price .price {
    color: #D6002F !important;
}

body .bt-card-price-box .old-price,
body .bt-card-price-box .old-price .price {
    text-decoration: none !important;
}

body .bt-card-price-box .old-price .price {
    position: relative;
    display: inline-block;
}

body .bt-card-price-box .old-price .price::after {
    content: "";
    position: absolute;
    left: -3px;
    right: -3px;
    top: 50%;
    border-top: max(1.5px, 0.065em) solid #D6002F;
    transform: translateY(-50%) rotate(-12deg);
    pointer-events: none;
}
