/* Bouqshop product search results page */

.bq-results-page {
    background: #fafafa;
    padding-bottom: 48px;
}

.bq-results-page .layout-container {
    max-width: 1280px;
}

.bq-results-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 14px 0 12px;
    font-size: 13px;
    color: #777;
}

.bq-results-breadcrumbs a {
    color: #333;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.bq-results-summary-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 16px;
    background: #fffdf8;
    border: 1px solid #eee8dd;
    border-radius: 16px;
    padding: 22px 24px;
    margin-bottom: 16px;
}

.bq-results-summary-left {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.bq-results-location-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #eaf6dc;
    color: #123f34;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.bq-results-summary-title {
    margin: 0;
    font-size: 18px;
    font-weight: 500;
    color: #222;
    line-height: 1.35;
}

.bq-results-summary-title strong {
    font-weight: 700;
}

.bq-results-summary-subtitle {
    margin-top: 6px;
    font-size: 13px;
    color: #444;
}

.bq-results-change-link {
    margin-left: 8px;
    color: #123f34;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
}

.bq-results-chip-row {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px;
}

.bq-results-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 38px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid #e4e4e4;
    background: #fff;
    color: #333;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
}

.bq-results-chip:hover {
    border-color: #cfe4bf;
    color: #123f34;
}

.bq-results-chip.is-active {
    background: #edf8e5;
    border-color: #d8ebc8;
    color: #123f34;
}

.bq-results-layout {
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}

.bq-results-sidebar,
.bq-results-main {
    min-width: 0;
}

.bq-filter-card {
    background: #fff;
    border: 1px solid #eeeeee;
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.bq-filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 14px;
    border-bottom: 1px solid #eeeeee;
    gap: 12px;
}

.bq-filter-header h2 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #222;
}

.bq-filter-clear {
    font-size: 12px;
    color: #333;
    text-decoration: underline;
    text-underline-offset: 2px;
    white-space: nowrap;
}

.bq-filter-group {
    padding: 15px 0;
    border-bottom: 1px solid #eeeeee;
}

.bq-filter-group:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.bq-filter-group-title {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #222;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.bq-filter-options {
    margin-top: 12px;
    display: block;
}

.bq-filter-group .collapse.show.bq-filter-options,
.bq-filter-group .collapse.show {
    display: block;
}

.bq-filter-options .h-300px {
    max-height: 260px;
}

.bq-filter-check {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #333;
    cursor: pointer;
    margin-bottom: 9px;
}

.bq-filter-check input {
    width: 15px;
    height: 15px;
    accent-color: #123f34;
}

.bq-filter-check em {
    font-style: normal;
    color: #666;
    font-size: 12px;
}

.bq-price-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.bq-price-chip {
    height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid #e4e4e4;
    background: #fff;
    font-size: 12px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
}

.bq-price-chip.is-active {
    background: #edf8e5;
    border-color: #d8ebc8;
    color: #123f34;
}

.bq-local-florist-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: linear-gradient(90deg, #fbfff5 0%, #fffdf8 100%);
    border: 1px solid #e7eadf;
    border-radius: 16px;
    padding: 18px 20px;
    margin-bottom: 14px;
}

.bq-local-florist-copy {
    display: flex;
    align-items: center;
    gap: 14px;
}

.bq-local-florist-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #edf8e5;
    color: #123f34;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.bq-local-florist-banner h2 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #222;
}

.bq-local-florist-banner p {
    margin: 4px 0 0;
    font-size: 13px;
    color: #555;
}

.bq-local-florist-btn {
    height: 38px;
    padding: 0 18px;
    border-radius: 10px;
    border: 1px solid #dedede;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #222;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.bq-results-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    background: #fff;
    border: 1px solid #eeeeee;
    border-radius: 14px;
    padding: 12px 14px;
    margin-bottom: 14px;
}

.bq-results-count {
    font-size: 14px;
    font-weight: 700;
    color: #222;
}

.bq-results-toolbar-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.bq-view-toggle {
    display: flex;
    align-items: center;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
}

.bq-view-toggle button {
    width: 38px;
    height: 36px;
    border: 0;
    background: #fff;
    color: #333;
    font-size: 18px;
    cursor: pointer;
}

.bq-view-toggle button.is-active {
    background: #eff8ee;
    color: #123f34;
}

.bq-sort-form {
    display: flex;
    align-items: center;
    height: 38px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

.bq-sort-form label {
    padding: 0 12px;
    font-size: 13px;
    color: #555;
    border-right: 1px solid #eeeeee;
    margin: 0;
    white-space: nowrap;
}

.bq-sort-form select {
    height: 100%;
    border: 0;
    padding: 0 34px 0 12px;
    font-size: 13px;
    color: #222;
    background: #fff;
    min-width: 150px;
}

.bq-mobile-filter-btn {
    display: none;
    height: 38px;
    padding: 0 14px;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    background: #fff;
    font-size: 13px;
    font-weight: 600;
    color: #222;
    align-items: center;
    gap: 6px;
}

.bq-results-product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.bq-results-product-grid.is-list {
    grid-template-columns: 1fr;
}

.bq-results-product-grid.is-list .bq-result-product-card {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
}

.bq-results-product-grid.is-list .bq-result-product-image-wrap {
    aspect-ratio: 1 / 1;
    height: 100%;
}

.bq-results-product-grid.is-list .bq-result-cart-btn {
    top: auto;
    bottom: 14px;
    right: 14px;
}

.bq-result-product-card {
    position: relative;
    background: #fff;
    border: 1px solid #eeeeee;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bq-result-product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.07);
}

.bq-result-product-image-wrap {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1 / 0.82;
    overflow: hidden;
    background: #f7f7f7;
}

.bq-result-product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.bq-result-wishlist-btn,
.bq-result-cart-btn {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}

.bq-result-wishlist-btn {
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid #eeeeee;
    background: #fff;
    color: #222;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.10);
}

.bq-result-cart-btn {
    right: 14px;
    bottom: 14px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 0;
    background: #123f34;
    color: #fff;
    font-size: 20px;
    box-shadow: 0 6px 16px rgba(18, 63, 52, 0.25);
}

.bq-result-product-body {
    padding: 14px;
}

.bq-result-product-title {
    display: block;
    font-size: 15px;
    line-height: 1.3;
    font-weight: 700;
    color: #222;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bq-result-product-florist {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    color: #666;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bq-result-rating-row {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 8px;
    font-size: 13px;
}

.bq-result-stars {
    color: #f5a623;
    letter-spacing: 1px;
    font-size: 13px;
}

.bq-result-review-count {
    color: #555;
}

.bq-result-product-price {
    margin-top: 8px;
    font-size: 17px;
    font-weight: 800;
    color: #111;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.bq-result-product-price del {
    font-size: 13px;
    font-weight: 400;
    color: #999;
}

.bq-result-badge-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 10px;
}

.bq-result-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 24px;
    padding: 0 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
}

.bq-result-badge-same-day {
    background: #edf8e5;
    color: #2b6b3f;
}

.bq-result-badge-local {
    background: #f4f1ea;
    color: #5c4a32;
}

.bq-results-empty {
    grid-column: 1 / -1;
    background: #fff;
    border: 1px solid #eeeeee;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    color: #666;
}

.bq-results-pagination {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

.bq-results-pagination .pagination {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.bq-results-pagination .page-item .page-link {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    border: 1px solid #e0e0e0;
    background: #fff;
    color: #222;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    box-shadow: none;
    padding: 0;
}

.bq-results-pagination .page-item.active .page-link,
.bq-results-pagination .page-item.active span.page-link {
    background: #123f34;
    border-color: #123f34;
    color: #fff;
}

.bq-results-searching {
    font-size: 13px;
    color: #666;
    margin-bottom: 10px;
}

@media (max-width: 1199px) {
    .bq-results-layout {
        grid-template-columns: 280px minmax(0, 1fr);
    }

    .bq-results-sidebar {
        display: block;
    }

    .bq-results-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .bq-results-summary-card {
        align-items: stretch;
        flex-direction: column;
    }

    .bq-results-chip-row {
        justify-content: flex-start;
    }
}

@media (max-width: 991px) {
    .bq-results-layout {
        grid-template-columns: 260px minmax(0, 1fr);
    }

    .bq-results-sidebar {
        display: block;
    }

    .bq-results-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .bq-local-florist-banner,
    .bq-results-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .bq-results-toolbar-actions {
        justify-content: space-between;
        flex-wrap: wrap;
    }
}

@media (max-width: 767px) {
    .bq-results-layout {
        grid-template-columns: 1fr;
    }

    .bq-mobile-filter-btn {
        display: inline-flex;
    }

    .bq-results-sidebar .aiz-filter-sidebar .collapse-sidebar {
        background: #fff;
    }
}

@media (max-width: 575px) {
    .bq-results-summary-card {
        padding: 16px;
        border-radius: 14px;
    }

    .bq-results-summary-left {
        align-items: flex-start;
    }

    .bq-results-location-icon {
        width: 42px;
        height: 42px;
        font-size: 20px;
    }

    .bq-results-summary-title {
        font-size: 16px;
    }

    .bq-results-chip {
        height: 34px;
        padding: 0 12px;
        font-size: 12px;
    }

    .bq-result-product-body {
        padding: 10px;
    }

    .bq-result-product-title {
        font-size: 13px;
    }

    .bq-result-product-florist,
    .bq-result-rating-row {
        font-size: 12px;
    }

    .bq-result-product-price {
        font-size: 15px;
    }

    .bq-result-cart-btn {
        width: 38px;
        height: 38px;
        font-size: 17px;
    }

    .bq-results-product-grid.is-list .bq-result-product-card {
        grid-template-columns: 110px minmax(0, 1fr);
    }
}
