/* ==========================================================================
   Responsive guards
   Late mobile pass for Magento/Luma width inheritance.
   Breakpoints: desktop >=1181, tablet 768-1180, mobile <=767, compact <=480.
   ========================================================================== */

#html-body.cms-page-view:not(.cms-index-index) .column.main img,
#html-body.cms-page-view:not(.cms-index-index) .column.main picture,
#html-body.cms-page-view:not(.cms-index-index) .column.main video,
#html-body.cms-page-view:not(.cms-index-index) .column.main iframe {
    max-width: 100%;
}

#html-body.cms-page-view:not(.cms-index-index) .column.main img,
#html-body.cms-page-view:not(.cms-index-index) .column.main picture,
#html-body.cms-page-view:not(.cms-index-index) .column.main video {
    height: auto;
}

#html-body.cms-page-view:not(.cms-index-index) .column.main table {
    max-width: 100%;
}

@media (max-width: 1024px) {
    #html-body .page-wrapper {
        overflow-x: clip;
    }

    #html-body .provenance-navbar__categories,
    #html-body .provenance-category-list {
        box-sizing: border-box !important;
        max-width: 100vw !important;
        min-width: 0 !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-inline: contain;
        touch-action: pan-x;
    }

    #html-body .provenance-category-list .navigation,
    #html-body .provenance-category-list .navigation > ul {
        max-width: none !important;
        min-width: max-content !important;
        width: max-content !important;
        overflow: visible !important;
    }

    #html-body[class*="marketplace-"] .page-main,
    #html-body[class*="marketplace-"] .columns,
    #html-body[class*="marketplace-"] .column.main {
        box-sizing: border-box !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    #html-body[class*="marketplace-"] .columns {
        display: block !important;
    }

    #html-body[class*="marketplace-"] .sidebar-main,
    #html-body[class*="marketplace-"] .sidebar-additional {
        box-sizing: border-box !important;
        float: none !important;
        margin: 0 0 1rem !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    #html-body[class*="marketplace-"] .column.main {
        float: none !important;
        width: 100% !important;
    }

    #html-body[class*="marketplace-"] .pts-row {
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    #html-body[class*="marketplace-"] [class*="pts-col-"] {
        box-sizing: border-box !important;
        min-width: 0 !important;
    }
}

@media (max-width: 767px) {
    /* Purpletree adds a second collapsible account navigation block. Magento
       positions its mobile account nav absolutely, which makes the two panels
       occupy the same space. Stack both panels without changing account grids. */
    #html-body.account .sidebar-main > .block-collapsible-nav {
        position: relative !important;
        inset: auto !important;
        z-index: auto !important;
        box-sizing: border-box !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 var(--sp-3, 0.75rem) !important;
    }

    #html-body:not(.cms-index-index) .page-main {
        box-sizing: border-box !important;
        max-width: 100vw !important;
        overflow-x: clip !important;
        width: 100% !important;
    }

    #html-body:not(.cms-index-index) .columns,
    #html-body:not(.cms-index-index) .column.main {
        box-sizing: border-box !important;
        max-width: 100% !important;
        min-width: 0 !important;
        width: 100% !important;
    }

    #html-body.catalog-category-view.page-products .page-main,
    #html-body.catalogsearch-result-index.page-products .page-main,
    #html-body.catalog-product-view .page-main,
    #html-body.checkout-index-index .page-main,
    #html-body.sales-guest-form .page-main,
    #html-body.cms-page-view:not(.cms-index-index) .page-main,
    #html-body.cms-page-view:not(.cms-index-index) .page-main-full-width,
    #html-body[class*="marketplace-"] .page-main {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }

    #html-body .provenance-navbar__categories,
    #html-body .provenance-category-list {
        box-sizing: border-box !important;
        max-width: 100vw !important;
        min-width: 0 !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-inline: contain;
        touch-action: pan-x;
    }

    #html-body .provenance-navbar__categories {
        width: 100vw !important;
    }

    #html-body .provenance-category-list {
        flex: 1 1 auto !important;
        max-width: none !important;
        width: auto !important;
    }

    #html-body .provenance-category-list .navigation,
    #html-body .provenance-category-list .navigation > ul {
        max-width: none !important;
        min-width: max-content !important;
        width: max-content !important;
        overflow: visible !important;
    }

    #html-body .provenance-category-list .navigation > ul {
        flex-wrap: nowrap !important;
        padding-right: 0.75rem !important;
    }

    #html-body .provenance-search .block-search,
    #html-body .provenance-search .block-content,
    #html-body .provenance-search .form.minisearch,
    #html-body .provenance-search .field.search,
    #html-body .provenance-search .control {
        box-sizing: border-box !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    #html-body .provenance-search .block-search input#search,
    #html-body .provenance-search .block-search input.input-text,
    #html-body .provenance-search .block-search input[type="text"],
    #html-body .provenance-search .block-search input[type="search"] {
        clip: auto !important;
        display: block !important;
        left: auto !important;
        margin: 0 !important;
        opacity: 1 !important;
        position: relative !important;
        right: auto !important;
        top: auto !important;
        visibility: visible !important;
        width: 100% !important;
    }

    #html-body .provenance-search .block-search input#search::placeholder,
    #html-body .provenance-search .block-search input#search::-webkit-input-placeholder,
    #html-body .provenance-search .block-search input.input-text::placeholder,
    #html-body .provenance-search .block-search input.input-text::-webkit-input-placeholder,
    #html-body .provenance-search .block-search input[type="text"]::placeholder,
    #html-body .provenance-search .block-search input[type="text"]::-webkit-input-placeholder,
    #html-body .provenance-search .block-search input[type="search"]::placeholder,
    #html-body .provenance-search .block-search input[type="search"]::-webkit-input-placeholder {
        opacity: 1 !important;
    }

    #html-body.catalog-category-view.page-products .columns,
    #html-body.catalogsearch-result-index.page-products .columns,
    #html-body.catalog-category-view.page-products .column.main,
    #html-body.catalogsearch-result-index.page-products .column.main,
    #html-body.catalog-category-view.page-products .products.wrapper,
    #html-body.catalogsearch-result-index.page-products .products.wrapper,
    #html-body.catalog-category-view.page-products .toolbar.toolbar-products,
    #html-body.catalogsearch-result-index.page-products .toolbar.toolbar-products,
    #html-body.catalog-category-view.page-products .products-grid .products.list.items.product-items,
    #html-body.catalog-category-view.page-products .products-grid .product-items,
    #html-body.catalogsearch-result-index.page-products .products-grid .products.list.items.product-items,
    #html-body.catalogsearch-result-index.page-products .products-grid .product-items,
    #html-body.catalog-category-view.page-products .sidebar-main,
    #html-body.catalog-category-view.page-products .sidebar-additional,
    #html-body.catalogsearch-result-index.page-products .sidebar-main,
    #html-body.catalogsearch-result-index.page-products .sidebar-additional,
    #html-body.catalog-product-view .column.main,
    #html-body.catalog-product-view .product.media,
    #html-body.catalog-product-view .product-info-main,
    #html-body.catalog-product-view .product.info.detailed,
    #html-body.checkout-index-index .checkout-container,
    #html-body.checkout-index-index .opc-wrapper,
    #html-body.checkout-index-index .opc-sidebar,
    #html-body.checkout-index-index .opc-block-summary,
    #html-body.sales-guest-form .form-orders-search,
    #html-body.customer-account-login .login-container,
    #html-body.customer-account-create .form-create-account,
    #html-body.customer-account-create .fieldset,
    #html-body.wishlist-index-index .products-grid,
    #html-body.wishlist-index-index .products-grid .product-items,
    #html-body.cms-page-view:not(.cms-index-index) .columns,
    #html-body.cms-page-view:not(.cms-index-index) .column.main,
    #html-body[class*="marketplace-"] .columns,
    #html-body[class*="marketplace-"] .column.main,
    #html-body[class*="marketplace-"] .row-browes-pts,
    #html-body[class*="marketplace-"] .purpletree-content,
    #html-body[class*="marketplace-"] .pts-container,
    #html-body[class*="marketplace-"] .pts-container-fluid {
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        max-width: 100% !important;
        min-width: 0 !important;
        width: 100% !important;
    }

    #html-body.catalog-category-view.page-products .page-main > .page-title-wrapper,
    #html-body.catalogsearch-result-index.page-products .page-main > .page-title-wrapper {
        margin-bottom: 0.5rem !important;
        padding-bottom: 0.75rem !important;
    }

    #html-body.account:not(.customer-account-login):not(.customer-account-create) .page-main {
        overflow-x: visible !important;
    }

    #html-body.account:not(.customer-account-login):not(.customer-account-create) .columns {
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    #html-body.account:not(.customer-account-login):not(.customer-account-create) .sidebar-main,
    #html-body.account:not(.customer-account-login):not(.customer-account-create) .sidebar-additional,
    #html-body.account:not(.customer-account-login):not(.customer-account-create) .column.main {
        box-sizing: border-box !important;
        clear: both !important;
        float: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        max-width: 100% !important;
        min-width: 0 !important;
        width: 100% !important;
    }

    #html-body.account:not(.customer-account-login):not(.customer-account-create) .sidebar-main {
        height: auto !important;
        margin-bottom: 1rem !important;
        order: 1 !important;
    }

    #html-body.account:not(.customer-account-login):not(.customer-account-create) .column.main {
        order: 2 !important;
    }

    #html-body.account:not(.customer-account-login):not(.customer-account-create) .sidebar-additional {
        order: 3 !important;
    }

    #html-body.account:not(.customer-account-login):not(.customer-account-create) .block-collapsible-nav {
        left: auto !important;
        margin: 0 0 0.5rem !important;
        max-width: 100% !important;
        position: relative !important;
        right: auto !important;
        top: auto !important;
        width: 100% !important;
    }

    #html-body.account:not(.customer-account-login):not(.customer-account-create) .column.main .block {
        box-sizing: border-box !important;
        max-width: 100% !important;
    }

    #html-body.catalog-category-view.page-products .columns,
    #html-body.catalogsearch-result-index.page-products .columns {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.35rem !important;
    }

    #html-body.catalog-category-view.page-products .sidebar-main,
    #html-body.catalogsearch-result-index.page-products .sidebar-main {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        order: 1 !important;
    }

    #html-body.catalog-category-view.page-products .column.main,
    #html-body.catalogsearch-result-index.page-products .column.main {
        order: 2 !important;
    }

    #html-body.catalog-category-view.page-products .sidebar-additional,
    #html-body.catalogsearch-result-index.page-products .sidebar-additional {
        order: 3 !important;
    }

    #html-body.catalog-category-view.page-products .block.filter,
    #html-body.catalogsearch-result-index.page-products .block.filter {
        border: 0 !important;
        border-bottom: 1px solid rgba(28, 22, 18, 0.14) !important;
        border-top: 1px solid rgba(28, 22, 18, 0.14) !important;
        background: transparent !important;
        box-shadow: none !important;
        margin: 0 !important;
        padding: 0 !important;
        border-radius: 0 !important;
    }

    #html-body.catalog-category-view.page-products .filter-title,
    #html-body.catalogsearch-result-index.page-products .filter-title {
        display: block !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
    }

    #html-body.catalog-category-view.page-products .filter-title strong,
    #html-body.catalogsearch-result-index.page-products .filter-title strong {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        z-index: 2 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        min-height: 2.75rem !important;
        padding: 0 0.125rem !important;
        border: 0 !important;
        border-radius: 0.375rem !important;
        background: transparent !important;
        box-shadow: none !important;
        color: var(--foreground, #1C1612) !important;
        font-family: var(--font-sans, 'Outfit', system-ui, sans-serif) !important;
        font-size: 0 !important;
        font-weight: 600 !important;
        letter-spacing: 0.08em !important;
        line-height: 1 !important;
        text-transform: uppercase !important;
    }

    #html-body.catalog-category-view.page-products .filter-title strong::before,
    #html-body.catalogsearch-result-index.page-products .filter-title strong::before {
        content: 'Refine' !important;
        color: var(--foreground, #1C1612) !important;
        font-size: 0.6875rem !important;
        letter-spacing: 0.11em !important;
    }

    #html-body.catalog-category-view.page-products .filter-title strong::after,
    #html-body.catalogsearch-result-index.page-products .filter-title strong::after {
        content: '' !important;
        width: 0.42rem !important;
        height: 0.42rem !important;
        margin-left: auto !important;
        margin-right: 0.25rem !important;
        border-right: 1.5px solid currentColor !important;
        border-bottom: 1.5px solid currentColor !important;
        transform: rotate(45deg) translateY(-1px) !important;
    }

    #html-body.catalog-category-view.page-products .block.filter:not(.active) .filter-content,
    #html-body.catalogsearch-result-index.page-products .block.filter:not(.active) .filter-content {
        display: none !important;
    }

    #html-body.catalog-category-view.page-products .filter.active .filter-title,
    #html-body.catalogsearch-result-index.page-products .filter.active .filter-title {
        height: 3.25rem !important;
        border-bottom: 1px solid rgba(28, 22, 18, 0.12) !important;
        background: var(--card, #FDFAF4) !important;
    }

    #html-body.catalog-category-view.page-products .filter.active .filter-title strong,
    #html-body.catalogsearch-result-index.page-products .filter.active .filter-title strong {
        position: fixed !important;
        top: 0.625rem !important;
        right: 0.75rem !important;
        left: auto !important;
        width: 2rem !important;
        min-width: 2rem !important;
        min-height: 2rem !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        color: transparent !important;
    }

    #html-body.catalog-category-view.page-products .filter.active .filter-title strong::before,
    #html-body.catalogsearch-result-index.page-products .filter.active .filter-title strong::before {
        content: none !important;
    }

    #html-body.catalog-category-view.page-products .filter.active .filter-title strong::after,
    #html-body.catalogsearch-result-index.page-products .filter.active .filter-title strong::after {
        width: auto !important;
        height: auto !important;
        margin: 0 !important;
        border: 0 !important;
        color: var(--muted-foreground, #7A6A52) !important;
        content: '\e616' !important;
        font-family: 'luma-icons' !important;
        font-size: 1rem !important;
        transform: none !important;
    }

    #html-body.catalog-category-view.page-products .filter.active .filter-subtitle,
    #html-body.catalogsearch-result-index.page-products .filter.active .filter-subtitle {
        height: 3.25rem !important;
        padding: 0 1rem !important;
        background: var(--card, #FDFAF4) !important;
        color: var(--foreground, #1C1612) !important;
        font-family: var(--font-serif, 'Playfair Display', Georgia, serif) !important;
        font-size: 1.25rem !important;
        line-height: 3.25rem !important;
    }

    #html-body.catalog-category-view.page-products .filter.active .filter-options,
    #html-body.catalogsearch-result-index.page-products .filter.active .filter-options {
        top: 3.25rem !important;
        background: var(--background, #F5F0E8) !important;
        padding: 0 1rem 1.25rem !important;
    }

    #html-body.catalog-category-view.page-products .products-grid .products.list.items.product-items,
    #html-body.catalog-category-view.page-products .products-grid .product-items,
    #html-body.catalogsearch-result-index.page-products .products-grid .products.list.items.product-items,
    #html-body.catalogsearch-result-index.page-products .products-grid .product-items {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    #html-body.catalog-category-view.page-products .products-grid .product-item,
    #html-body.catalogsearch-result-index.page-products .products-grid .product-item {
        box-sizing: border-box !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    #html-body.catalog-category-view.page-products .toolbar.toolbar-products,
    #html-body.catalogsearch-result-index.page-products .toolbar.toolbar-products {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        align-items: center !important;
        gap: 0 !important;
        min-height: 0 !important;
        margin: 0 0 0.85rem !important;
        padding: 0.65rem 0 0.75rem !important;
        border-bottom: 1px solid rgba(28, 22, 18, 0.14) !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    #html-body.catalog-category-view.page-products .toolbar .toolbar-sorter,
    #html-body.catalog-category-view.page-products .toolbar .limiter,
    #html-body.catalogsearch-result-index.page-products .toolbar .toolbar-sorter,
    #html-body.catalogsearch-result-index.page-products .toolbar .limiter {
        margin-left: 0 !important;
    }

    #html-body.catalog-category-view.page-products .toolbar .modes,
    #html-body.catalog-category-view.page-products .toolbar .toolbar-amount,
    #html-body.catalogsearch-result-index.page-products .toolbar .modes,
    #html-body.catalogsearch-result-index.page-products .toolbar .toolbar-amount {
        display: none !important;
    }

    #html-body.catalog-category-view.page-products .toolbar .toolbar-sorter,
    #html-body.catalogsearch-result-index.page-products .toolbar .toolbar-sorter {
        display: grid !important;
        grid-template-columns: auto minmax(0, 1fr) 2rem !important;
        align-items: center !important;
        width: 100% !important;
        gap: 0.75rem !important;
        position: static !important;
        top: auto !important;
        right: auto !important;
        left: auto !important;
    }

    #html-body.catalog-category-view.page-products .toolbar .sorter-label,
    #html-body.catalogsearch-result-index.page-products .toolbar .sorter-label {
        color: var(--muted-foreground, #7A6A52) !important;
        font-size: 0.6875rem !important;
        font-weight: 600 !important;
        letter-spacing: 0.11em !important;
        text-transform: uppercase !important;
    }

    #html-body.catalog-category-view.page-products .toolbar select,
    #html-body.catalogsearch-result-index.page-products .toolbar select {
        min-height: 2.25rem !important;
        width: 100% !important;
        min-width: 0 !important;
        border: 1px solid rgba(28, 22, 18, 0.14) !important;
        border-radius: 0.25rem !important;
        background-color: rgba(253, 250, 244, 0.44) !important;
        color: var(--foreground, #1C1612) !important;
        font-size: 0.8125rem !important;
        font-weight: 500 !important;
    }

    #html-body.catalog-category-view.page-products .toolbar .sorter-action,
    #html-body.catalogsearch-result-index.page-products .toolbar .sorter-action {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 2rem !important;
        height: 2.25rem !important;
        margin: 0 !important;
        color: var(--muted-foreground, #7A6A52) !important;
    }

    #html-body.cms-page-view:not(.cms-index-index) .page-main,
    #html-body.cms-page-view:not(.cms-index-index) .page-main-full-width {
        padding-top: 1.5rem !important;
        padding-bottom: 2.5rem !important;
    }

    #html-body.cms-page-view:not(.cms-index-index) h1 {
        font-size: clamp(2.1rem, 9vw, 2.5rem) !important;
        line-height: 1.05 !important;
    }

    #html-body.cms-page-view:not(.cms-index-index) h2 {
        font-size: clamp(1.55rem, 7vw, 2.15rem) !important;
        line-height: 1.12 !important;
    }

    #html-body.cms-page-view:not(.cms-index-index) p,
    #html-body.cms-page-view:not(.cms-index-index) li {
        max-width: 100% !important;
    }

    #html-body.cms-page-view:not(.cms-index-index) .column.main table,
    #html-body[class*="marketplace-"] table {
        display: block !important;
        max-width: 100% !important;
        overflow-x: auto !important;
        white-space: nowrap;
        width: 100% !important;
    }

    #html-body.catalog-product-view .product-info-main {
        overflow-wrap: anywhere;
    }

    #html-body.catalog-product-view .product-info-main .product-info-price,
    #html-body.catalog-product-view .product-info-main .price-box,
    #html-body.catalog-product-view .product-info-main .product-info-stock-sku {
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        max-width: 100% !important;
        min-width: 0 !important;
        width: 100% !important;
    }

    #html-body.catalog-product-view .product-info-main .price-container,
    #html-body.catalog-product-view .product-info-main .price-wrapper {
        box-sizing: border-box !important;
        max-width: 100% !important;
        min-width: 0 !important;
        width: auto !important;
    }

    #html-body.catalog-product-view .product-info-main .product.attribute.sku .value {
        word-break: break-word;
    }

    #html-body.catalog-product-view .fotorama__stage .fotorama__img,
    #html-body.catalog-product-view .gallery-placeholder__image {
        transform: none !important;
    }

    #html-body.catalog-product-view .fotorama__stage {
        max-width: 100% !important;
    }

    #html-body.catalog-product-view .box-tocart .fieldset {
        grid-template-columns: 4.75rem minmax(0, 1fr) !important;
    }

    #html-body.catalog-product-view .box-tocart .actions {
        min-width: 0 !important;
    }

    #html-body.catalog-product-view .box-tocart .action.tocart.primary {
        min-width: 0 !important;
    }

    #html-body.sales-guest-form .form-orders-search .fieldset,
    #html-body.sales-guest-form .form-orders-search .field,
    #html-body.sales-guest-form .form-orders-search .control,
    #html-body.sales-guest-form .form-orders-search input,
    #html-body.sales-guest-form .form-orders-search select {
        box-sizing: border-box !important;
        max-width: 100% !important;
    }

    #html-body.customer-account-login input,
    #html-body.customer-account-login select,
    #html-body.customer-account-login textarea,
    #html-body.customer-account-create input,
    #html-body.customer-account-create select,
    #html-body.customer-account-create textarea,
    #html-body[class*="marketplace-"] input,
    #html-body[class*="marketplace-"] select,
    #html-body[class*="marketplace-"] textarea,
    #html-body[class*="marketplace-"] .pts-form-control {
        box-sizing: border-box !important;
        max-width: 100% !important;
    }

    #html-body.customer-account-login input:not([type="checkbox"]):not([type="radio"]),
    #html-body.customer-account-login select,
    #html-body.customer-account-login textarea,
    #html-body.customer-account-create input:not([type="checkbox"]):not([type="radio"]),
    #html-body.customer-account-create select,
    #html-body.customer-account-create textarea,
    #html-body[class*="marketplace-"] input:not([type="checkbox"]):not([type="radio"]),
    #html-body[class*="marketplace-"] select,
    #html-body[class*="marketplace-"] textarea,
    #html-body[class*="marketplace-"] .pts-form-control {
        width: 100% !important;
    }

    #html-body[class*="marketplace-"] .block-collapsible-nav.pts-main,
    #html-body[class*="marketplace-"] .block-collapsible-nav.pts-main .block-collapsible-nav-content,
    #html-body[class*="marketplace-"] .block-collapsible-nav.pts-main .account-nav,
    #html-body[class*="marketplace-"] .block-collapsible-nav.pts-main .nav.items {
        box-sizing: border-box !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    #html-body[class*="marketplace-"] .float-left,
    #html-body[class*="marketplace-"] .float-right {
        float: none !important;
    }

    #html-body[class*="marketplace-"] .column1,
    #html-body[class*="marketplace-"] .column2,
    #html-body[class*="marketplace-"] .pts-col-md-2,
    #html-body[class*="marketplace-"] .pts-col-md-3,
    #html-body[class*="marketplace-"] .pts-col-md-4,
    #html-body[class*="marketplace-"] .pts-col-md-5,
    #html-body[class*="marketplace-"] .pts-col-md-6,
    #html-body[class*="marketplace-"] .pts-col-sm-2,
    #html-body[class*="marketplace-"] .pts-col-sm-3,
    #html-body[class*="marketplace-"] .pts-col-sm-4,
    #html-body[class*="marketplace-"] .pts-col-sm-5,
    #html-body[class*="marketplace-"] .pts-col-sm-6,
    #html-body[class*="marketplace-"] .pts-col-xs-6,
    #html-body[class*="marketplace-"] .pts-col-xs-12 {
        box-sizing: border-box !important;
        float: none !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    #html-body[class*="marketplace-"] .pts-store-banner,
    #html-body[class*="marketplace-"] .pts-store-logo,
    #html-body[class*="marketplace-"] .purpletree_seller,
    #html-body[class*="marketplace-"] .img-thumbnail {
        max-width: 100% !important;
    }

    #html-body[class*="marketplace-"] .pts-store-banner img,
    #html-body[class*="marketplace-"] .pts-store-logo img,
    #html-body[class*="marketplace-"] .purpletree_seller img,
    #html-body[class*="marketplace-"] .img-thumbnail img {
        height: auto !important;
        max-width: 100% !important;
    }

    #html-body.catalog-category-view.page-products .products-grid .product-item-info,
    #html-body.catalogsearch-result-index.page-products .products-grid .product-item-info {
        border-radius: 0.5rem !important;
    }

    #html-body.catalog-category-view.page-products .products-grid .product-item-details,
    #html-body.catalogsearch-result-index.page-products .products-grid .product-item-details {
        gap: 0.45rem !important;
        padding: 0.75rem !important;
    }

    #html-body.catalog-category-view.page-products .products-grid .product-item-name,
    #html-body.catalogsearch-result-index.page-products .products-grid .product-item-name {
        min-height: 3.3rem !important;
        font-size: 0.9375rem !important;
        line-height: 1.18 !important;
    }

    #html-body.catalog-category-view.page-products .products-grid .product-item-name a,
    #html-body.catalogsearch-result-index.page-products .products-grid .product-item-name a {
        display: -webkit-box !important;
        overflow: hidden !important;
        -webkit-box-orient: vertical !important;
        -webkit-line-clamp: 3 !important;
    }

    #html-body.catalog-category-view.page-products .products-grid .price-box,
    #html-body.catalogsearch-result-index.page-products .products-grid .price-box {
        font-size: 1.05rem !important;
        line-height: 1.15 !important;
    }

    #html-body.catalog-category-view.page-products .products-grid .product-item-actions,
    #html-body.catalogsearch-result-index.page-products .products-grid .product-item-actions {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        align-items: center !important;
        gap: 0.5rem !important;
        margin-top: 0.55rem !important;
    }

    #html-body.catalog-category-view.page-products .products-grid .product-item-actions .actions-primary,
    #html-body.catalogsearch-result-index.page-products .products-grid .product-item-actions .actions-primary {
        min-width: 0 !important;
    }

    #html-body.catalog-category-view.page-products .products-grid .product-item-actions .action.tocart.primary,
    #html-body.catalogsearch-result-index.page-products .products-grid .product-item-actions .action.tocart.primary {
        min-width: 0 !important;
        min-height: 2.25rem !important;
        width: 100% !important;
        padding: 0 0.625rem !important;
        font-size: 0.75rem !important;
        white-space: nowrap !important;
    }

    #html-body.catalog-category-view.page-products .products-grid .product-item-actions .actions-secondary,
    #html-body.catalogsearch-result-index.page-products .products-grid .product-item-actions .actions-secondary {
        display: inline-flex !important;
        flex: 0 0 auto !important;
        gap: 0.25rem !important;
    }

    #html-body.catalog-category-view.page-products .products-grid .product-item-actions .actions-secondary > .action,
    #html-body.catalogsearch-result-index.page-products .products-grid .product-item-actions .actions-secondary > .action {
        width: 1.875rem !important;
        min-width: 1.875rem !important;
        height: 2.25rem !important;
        min-height: 2.25rem !important;
        margin: 0 !important;
        padding: 0 !important;
    }
}

@media (min-width: 375px) and (max-width: 767px) {
    #html-body.catalog-category-view.page-products .products-grid .products.list.items.product-items,
    #html-body.catalog-category-view.page-products .products-grid .product-items,
    #html-body.catalogsearch-result-index.page-products .products-grid .products.list.items.product-items,
    #html-body.catalogsearch-result-index.page-products .products-grid .product-items,
    #html-body.wishlist-index-index .products-grid .product-items {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 0.75rem !important;
    }

    #html-body.catalog-category-view.page-products .products-grid .product-item,
    #html-body.catalogsearch-result-index.page-products .products-grid .product-item {
        max-width: 100% !important;
    }
}

@media (max-width: 420px) {
    #html-body.catalog-category-view.page-products .page-main,
    #html-body.catalogsearch-result-index.page-products .page-main,
    #html-body.catalog-product-view .page-main,
    #html-body.sales-guest-form .page-main {
        padding-left: 0.625rem !important;
        padding-right: 0.625rem !important;
    }
}

@media (max-width: 360px) {
    #html-body.catalog-product-view .box-tocart .fieldset {
        grid-template-columns: 1fr !important;
    }

    #html-body.catalog-product-view .box-tocart .field.qty,
    #html-body.catalog-product-view .box-tocart .actions {
        display: block !important;
        grid-column: auto !important;
        grid-row: auto !important;
    }
}

#html-body.cms-index-index:not(.provenance-home-nav-menu-active) .provenance-navbar__categories {
    visibility: hidden;
}

#html-body.cms-index-index.provenance-home-nav-menu-active .provenance-navbar__categories {
    visibility: visible;
}
