/* searchresult.css - page-specific styles only. Requires common.css to be loaded first. */

.availability-row {
    display: flex;
    justify-content: flex-end;
    margin-top: 8px
}

.availability {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    gap: 8px;
    padding: 4px 11px;
    border: 1px solid;
    border-radius: 16px;
    font-size: 11px;
    font-weight: 800
}

.availability i {
    width: 8px;
    height: 8px;
    border-radius: 50%
}

.availability.in-stock {
    border-color: #c8dda1;
    background: #f2f8e7;
    color: #49691c
}

.availability.in-stock i {
    background: #6d9917
}

.availability.on-order {
    border-color: #e2c980;
    background: #fff7df;
    color: #6d5314
}

.availability.on-order i {
    background: #b38421
}

.availability.out-of-stock {
    border-color: #e4c4c0;
    background: #fff1ef;
    color: #873e36
}

.availability.out-of-stock i {
    background: #b45449
}

.prices-holders {
    display: flex;
    flex-direction: column;
    align-items: flex-end
}

.prices-holders > .sub-price {
    font-size: 0.75em;
    white-space: nowrap
}

.prices-holders > .sub-price > .price {
    text-decoration: line-through;
    color: red
}

.results-column:has(#packagesSection[hidden]) #productsSection {
    border: none;
    margin-top: 0px;
    padding-top: 0px
}

body {
    font-family: "Neue Haas Grotesk Text Pro","Helvetica Neue",Arial,sans-serif
}

a,
button {
    transition: .16s ease
}

.container-fluid {
    max-width: 1360px;
    padding-left: 40px;
    padding-right: 40px
}

.page-width {
    max-width: 1360px
}

.delivery-strip {
    color: rgba(255,255,255,.82)
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    border-bottom: 1px solid rgba(255,255,255,.15);
    background: rgba(36,59,53,.97);
    color: #fff
}

.header-inner {
    min-height: 76px;
    gap: 18px
}

.brand img {
    height: 44px;
    width: auto
}

.main-navigation {
    display: flex;
    flex-direction: row;
    margin-left: 30px
}

.main-navigation a {
    padding: 28px 14px;
    color: #fff;
    font-size: 14px;
    font-weight: 700
}

.main-navigation a:hover,
.main-navigation a.active {
    color: var(--lime)
}

.menu-button {
    border-color: rgba(255,255,255,.3);
    font-size: 12px
}

.header-search,
.mobile-search {
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 24px;
    background: #fff;
    padding: 0 15px
}

.header-search {
    width: 100%;
    max-width: 330px;
    margin-left: auto
}

.header-search input,
.mobile-search input {
    width: 100%;
    height: 40px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--green);
    font-size: 14px
}

.header-actions a {
    position: relative;
    display: flex;
    min-width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    border-radius: 22px;
    color: #fff;
    font-size: 11px;
    font-weight: 700
}

.header-actions a:hover {
    background: rgba(255,255,255,.1);
    color: var(--lime)
}

/*.cart-link span {
    position: absolute;
    right: -3px;
    top: 0;
    display: grid;
    width: 20px;
    height: 20px;
    place-items: center;
    border-radius: 50%;
    background: var(--lime);
    color: var(--green);
    font-size: 10px
}*/

.catalogue-hero {
    padding: 42px 0 48px;
    background: var(--green);
    color: #fff
}

.breadcrumbs {
    display: flex;
    gap: 8px;
    color: rgba(255,255,255,.5);
    font-size: 14px
}

.breadcrumbs a {
    color: rgba(255,255,255,.55)
}

.breadcrumbs strong {
    color: #fff
}

.hero-layout {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    align-items: end;
    gap: 35px;
    margin-top: 28px
}

.editorial-label {
    margin: 0;
    color: var(--lime);
    font-family: "New Spirit",Georgia,serif;
    font-size: 19px
}

.hero-layout h1 {
    max-width: 950px;
    margin: 9px 0 0;
    color: var(--lime);
    font-size: clamp(52px,6vw,92px);
    font-weight: 600;
    line-height: .9;
    letter-spacing: -.06em
}

.hero-layout > div:first-child > p:last-child {
    max-width: 720px;
    margin: 22px 0 0;
    color: rgba(255,255,255,.65);
    font-size: 16px;
    line-height: 1.7
}

.format-switch {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 8px
}

.format-switch button {
    min-width: 92px;
    padding: 12px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 6px;
    background: rgba(255,255,255,.05);
    color: #fff;
    text-align: left
}

.format-switch button.active {
    border-color: var(--lime);
    background: var(--lime);
    color: var(--green)
}

.format-switch span {
    display: block;
    font-size: 12px;
    font-weight: 700
}

.format-switch strong {
    display: block;
    margin-top: 2px;
    font-size: 21px
}

.catalogue-toolbar {
    position: sticky;
    top: 138px;
    z-index: 49;
    border-bottom: 1px solid var(--border);
    background: rgba(247,248,244,.97);
    backdrop-filter: blur(14px)
}

.toolbar-inner {
    display: flex;
    min-height: 70px;
    align-items: center;
    gap: 12px;
    padding-top: 12px;
    padding-bottom: 12px
}

.toolbar-inner p {
    flex: 0 0 auto;
    margin: 0;
    color: var(--copy);
    font-size: 14px
}

.toolbar-inner p strong {
    color: var(--green);
    font-size: 19px
}

.active-chips {
    display: flex;
    min-width: 0;
    flex: 1;
    gap: 7px;
    overflow-x: auto
}

.active-chip {
    display: flex;
    height: 36px;
    max-width: 210px;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    padding: 0 13px;
    border: 1px solid #cbd5cc;
    border-radius: 18px;
    background: #fff;
    font-size: 12px;
    font-weight: 700
}

.active-chip span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.clear-all {
    border: 0;
    background: transparent;
    color: #597b28;
    font-size: 12px;
    font-weight: 700
}

.toolbar-inner label {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    color: var(--copy);
    font-size: 14px
}

.toolbar-inner select {
    height: 40px;
    padding: 0 32px 0 13px;
    border: 1px solid #cbd5cc;
    border-radius: 20px;
    background: #fff;
    color: var(--green);
    font-weight: 700
}

.mobile-filter-button {
    display: none;
    height: 44px;
    align-items: center;
    gap: 7px;
    padding: 0 16px;
    border: 1px solid #bdc9bf;
    border-radius: 23px;
    background: #fff;
    font-weight: 700
}

.mobile-filter-button span {
    display: grid;
    width: 20px;
    height: 20px;
    place-items: center;
    border-radius: 50%;
    background: var(--green);
    color: #fff;
    font-size: 10px
}

.catalogue-layout {
    display: grid;
    grid-template-columns: 286px minmax(0,1fr);
    align-items: start;
    gap: 28px;
    padding-top: 34px;
    padding-bottom: 64px
}

.mobile-search {
    display: none
}

.filter-rail {
    position: sticky;
    top: 166px;
    max-height: calc(100vh - 190px);
    overflow-y: auto;
    border: 1px solid var(--border);
    background: #fff
}

.filter-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid #d9e1da
}

.filter-heading small {
    color: #597b28;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .15em;
    text-transform: uppercase
}

.filter-heading h2 {
    margin: 4px 0 0;
    font-size: 25px
}

.filter-heading button {
    padding: 3px;
    border: 0;
    background: transparent;
    color: #597b28;
    font-size: 11px;
    font-weight: 700
}

.filter-heading .close-filters {
    display: none;
    color: var(--green);
    font-size: 30px;
    line-height: 20px
}

.filter-section {
    border-bottom: 1px solid #e0e6df
}

.filter-toggle {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border: 0;
    background: #fff;
    color: var(--green);
    text-align: left;
    font-size: 14px;
    font-weight: 800
}

.filter-toggle em {
    display: inline-grid;
    width: 20px;
    height: 20px;
    margin-left: 4px;
    place-items: center;
    border-radius: 50%;
    background: var(--green);
    color: #fff;
    font-size: 10px;
    font-style: normal
}

.filter-toggle i {
    font-style: normal
}

.filter-body {
    display: none;
    padding: 0 20px 18px
}

.filter-section.open .filter-body {
    display: block
}

.format-options {
    display: none;
    gap: 7px
}

.filter-section.open .format-options {
    display: grid
}

.format-options button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px;
    border: 1px solid #d9e1da;
    border-radius: 6px;
    background: #fff;
    color: var(--green);
    text-align: left;
    font-size: 13px
}

.format-options button.active {
    border-color: var(--green);
    background: #eef5de;
    font-weight: 700
}

.format-options b,
.filter-option b {
    display: grid;
    width: 17px;
    height: 17px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid #b9c5bb;
    border-radius: 50%;
    font-size: 10px
}

.format-options button.active b,
.filter-option.active b {
    border-color: var(--green);
    background: var(--lime)
}

.format-options span,
.filter-option > span {
    min-width: 0;
    flex: 1
}

.format-options small,
.filter-option small {
    color: #899791
}

.filter-option {
    display: flex;
    width: 100%;
    min-height: 37px;
    align-items: center;
    gap: 8px;
    padding: 6px 7px;
    border: 0;
    border-radius: 5px;
    background: transparent;
    color: #52645f;
    text-align: left;
    font-size: 13px
}

.filter-option:hover {
    background: #f1f5ef
}

.filter-option.active {
    background: #eef5de;
    color: var(--green);
    font-weight: 700
}

.filter-option b {
    border-radius: 3px
}

.filter-option.active b:after {
    content: '✓'
}

.swatch {
    width: 14px;
    height: 14px;
    flex: 0 0 auto;
    border: 1px solid rgba(0,0,0,.1);
    border-radius: 50%
}

.swatch.chrome {
    background: linear-gradient(135deg,#fff,#b9c2c1,#697371)
}

.swatch.gold {
    background: linear-gradient(135deg,#f2d37e,#a67c2d)
}

.swatch.glass {
    background: #c9d8d2
}

.swatch.leather {
    background: #9a7259
}

.swatch.composite {
    background: #cbb995
}

.journey-note {
    margin: 20px;
    padding: 14px;
    border-radius: 6px;
    background: #f1f4ef;
    color: var(--copy);
    font-size: 11px;
    line-height: 1.55
}

.journey-note strong {
    display: block;
    color: var(--green)
}

.mobile-filter-footer,
.filter-backdrop {
    display: none
}

.result-section + .result-section {
    margin-top: 46px;
    padding-top: 38px;
    border-top: 1px solid var(--border)
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px
}

.section-heading small {
    color: #597b28;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .13em;
    text-transform: uppercase
}

.section-heading h2 {
    margin: 4px 0 0;
    font-size: 32px;
    letter-spacing: -.04em
}

.section-heading h2 span {
    color: #809089;
    font-size: 18px
}

.section-heading a {
    color: #597b28;
    font-size: 13px;
    font-weight: 800
}

.package-grid,
.product-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 20px
}

.package-card {
    overflow: hidden;
    border: 1px solid #cfd9d0;
    background: #fff;
    box-shadow: 0 12px 36px rgba(36,59,53,.06)
}

.package-media {
    position: relative;
    aspect-ratio: 1.18;
    overflow: hidden;
    background: #e5ebe5
}

.package-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s
}

.package-card:hover img {
    transform: scale(1.025)
}

.package-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 7px 11px;
    border-radius: 18px;
    background: var(--green);
    color: var(--lime);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase
}

.package-details {
    padding: 20px
}

.package-code,
.product-code {
    color: #71827d;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .11em;
    text-transform: uppercase
}

.package-details h3 {
    margin: 8px 0 0;
    font-size: 20px;
    line-height: 1.25
}

.package-details > p {
    min-height: 60px;
    margin: 12px 0 0;
    color: var(--copy);
    font-size: 13px;
    line-height: 1.55
}

.package-price {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #e0e6df
}

.package-price small {
    color: #71827d
}

.package-price strong {
    font-size: 20px
}

.package-cta {
    display: flex;
    height: 44px;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
    padding: 0 15px;
    border-radius: 3px;
    background: var(--green);
    color: var(--lime);
    font-size: 13px;
    font-weight: 800
}

.package-cta:hover {
    background: #315047;
    color: #d8f39e
}

.product-card {
    min-width: 0
}

.product-media {
    position: relative;
    display: grid;
    aspect-ratio: 4/4.35;
    place-items: center;
    overflow: hidden;
    padding: 27px;
    border: 1px solid #dce3dc;
    border-radius: 6px;
    background: #fff
}

.product-label {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 10px;
    border-radius: 14px;
    background: #eef5de;
    color: #4d6b25;
    font-size: 9px;
    font-weight: 800
}

.favourite {
    position: absolute;
    z-index: 2;
    top: 15px;
    right: 15px;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid #ccd6ce;
    border-radius: 50%;
    background: #fff;
    color: var(--green);
    font-size: 22px
}

.favourite.active {
    background: var(--green);
    color: var(--lime)
}

.product-media a {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center
}

.product-media img {
    width: 82%;
    max-height: 72%;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: transform .3s
}

.product-card:hover img {
    transform: scale(1.035)
}

.quote-add,
.quick-add {
    position: absolute;
    right: 15px;
    bottom: 15px;
    left: 15px;
    height: 44px;
    transform: translateY(12px);
    border-radius: 3px;
    background: var(--green);
    color: var(--lime);
    font-weight: 700;
    opacity: 0
}

.product-card:hover .quote-add,
.product-card:hover .quick-add,
.quote-add.added,
.quick-add.added {
    transform: none;
    opacity: 1
}

.quote-add.added,
.quick-add.added {
    background: var(--lime);
    color: var(--green)
}

.product-details {
    padding: 15px 4px 0
}

.product-name-row {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 14px;
    margin-top: 5px
}

.product-name-row a {
    color: var(--green);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35
}

.product-name-row strong {
    flex: 0 0 auto;
    font-size: 18px
}

.product-meta {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 10px 0 0;
    color: #71827d;
    font-size: 11px
}

.meta-dot {
    width: 14px;
    height: 14px;
    border: 1px solid rgba(0,0,0,.1);
    border-radius: 50%
}

.empty-state {
    min-height: 420px;
    place-items: center;
    border: 1px dashed #bdcbbf;
    background: #fff;
    text-align: center
}

.empty-state:not([hidden]) {
    display: grid
}

.empty-state h2 {
    margin: 10px 0 0
}

.empty-state p {
    color: var(--copy)
}

.empty-state .btn {
    background: var(--green);
    color: var(--lime);
    font-weight: 700
}

.result-section.first-section {
    margin-top: 0;
    padding-top: 0;
    border-top: 0
}

@media (max-width:1199.98px) {
    .package-grid,
    .product-grid {
        grid-template-columns: repeat(2,minmax(0,1fr))
    }
    .main-navigation {
        margin-left: 10px
    }
    .main-navigation a {
        padding-left: 9px;
        padding-right: 9px
    }
}

@media (max-width:991.98px) {
    .container-fluid {
        padding-left: 22px;
        padding-right: 22px
    }
    .header-inner {
        flex-wrap: wrap
    }
    .main-navigation {
        display: none;
        width: 100%;
        order: 3;
        margin: 0;
        padding: 10px 0 18px;
        flex-direction: column
    }
    .main-navigation.open {
        display: flex
    }
    .main-navigation a {
        padding: 9px 0
    }
    .catalogue-layout {
        display: block
    }
    .mobile-filter-button {
        display: flex
    }
    .filter-rail {
        position: fixed;
        z-index: 1055;
        top: 0;
        bottom: 0;
        left: 0;
        width: min(390px,92vw);
        max-height: none;
        transform: translateX(-105%);
        transition: transform .22s;
        box-shadow: 0 20px 70px rgba(0,0,0,.28)
    }
    .filters-open {
        overflow: hidden
    }
    .filters-open .filter-rail {
        transform: translateX(0)
    }
    .filter-heading .close-filters {
        display: block
    }
    .filter-backdrop {
        position: fixed;
        z-index: 1050;
        inset: 0;
        background: rgba(19,42,36,.72)
    }
    .filters-open .filter-backdrop {
        display: block
    }
    .mobile-filter-footer {
        position: sticky;
        bottom: 0;
        display: block;
        padding: 14px;
        border-top: 1px solid var(--border);
        background: #fff
    }
    .mobile-filter-footer .btn {
        width: 100%;
        height: 48px;
        background: var(--lime);
        color: var(--green);
        font-weight: 800
    }
    .catalogue-toolbar {
        top: 76px
    }
    .hero-layout {
        grid-template-columns: 1fr
    }
    .format-switch {
        max-width: 420px
    }
    .active-chips {
        overflow: visible
    }
}

@media (max-width:767.98px) {
    .container-fluid {
        padding-left: 16px;
        padding-right: 16px
    }
    .brand img {
        height: 38px
    }
    .header-search {
        display: none
    }
    .header-actions a:first-child {
        display: none
    }
    .catalogue-hero {
        padding: 32px 0 38px
    }
    .hero-layout h1 {
        font-size: 51px
    }
    .format-switch button {
        min-width: 0
    }
    .toolbar-inner {
        flex-wrap: wrap
    }
    .active-chips {
        order: 5;
        width: 100%;
        flex-basis: 100%;
        overflow-x: auto
    }
    .toolbar-inner label {
        margin-left: auto;
        font-size: 0
    }
    .toolbar-inner select {
        font-size: 13px
    }
    .catalogue-layout {
        padding-top: 22px
    }
    .mobile-search {
        display: flex;
        margin-bottom: 20px
    }
    .package-grid,
    .product-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 25px 12px
    }
    .package-details {
        padding: 16px
    }
    .package-details > p {
        min-height: 0
    }
    .product-media {
        padding: 16px
    }
    .product-label {
        top: 9px;
        left: 9px
    }
    .favourite {
        top: 8px;
        right: 8px;
        width: 36px;
        height: 36px
    }
    .quick-add {
        display: none
    }
    .product-name-row {
        display: block
    }
    .product-name-row strong {
        display: block;
        margin-top: 6px
    }
    .product-meta {
        align-items: start;
        flex-wrap: wrap
    }
    .product-type {
        width: 100%
    }
    .section-heading {
        align-items: start;
        flex-direction: column
    }
}

@media (max-width:480px) {
    .package-grid,
    .product-grid {
        grid-template-columns: 1fr
    }
    .product-name-row {
        display: flex
    }
    .product-name-row strong {
        margin-top: 0
    }
}
