/* Discover - Retailer Products Browse */

.discover-product-card .promo-card-img img {
    object-fit: contain;
    background: #fff;
}

.discover-product-card .promo-card-body {
    min-height: 140px;
}

/* Price range inputs */
.discover-filter-input[data-filter="price_min"],
.discover-filter-input[data-filter="price_max"] {
    width: 50%;
}

/* Landing tiles — categories & retailers (replaces the old plain bordered boxes) */
.dl-tile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid #eef1f3;
    border-radius: 14px;
    background: #fff;
    color: #2d3748;
    text-decoration: none;
    height: 100%;
    box-shadow: 0 1px 2px rgba(16, 42, 52, 0.04);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, color 0.18s ease;
}

.dl-tile:hover {
    border-color: #0FA4A6;
    box-shadow: 0 8px 20px rgba(15, 164, 166, 0.14);
    transform: translateY(-2px);
    color: #0FA4A6;
    text-decoration: none;
}

.dl-tile-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, #e6f7f7, #d2f0f0);
    color: #0FA4A6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    flex: 0 0 auto;
}

.dl-tile-logo {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    flex: 0 0 auto;
}

.dl-tile-logo--initial {
    background: #0FA4A6;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 17px;
}

.dl-tile-info {
    overflow: hidden;
    display: block;
}

.dl-tile-name {
    display: block;
    font-weight: 700;
    font-size: 14px;
    color: inherit;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dl-tile-sub {
    display: block;
    font-size: 12px;
    color: #94a3ad;
}

.dl-tile-arrow {
    margin-left: auto;
    color: #c3cdd3;
    font-size: 16px;
    transition: transform 0.18s ease, color 0.18s ease;
}

.dl-tile:hover .dl-tile-arrow {
    transform: translateX(3px);
    color: #0FA4A6;
}

/* ─── Retailer facet chip row (search results) ─── */
.discover-retailer-facets {
    margin-bottom: 14px;
    align-items: center;
}
.discover-facet-label {
    font-size: 12px;
    font-weight: 600;
    color: #6b7a85;
    white-space: nowrap;
    margin-right: 4px;
}
.discover-facet-label .fa {
    color: var(--color-primary, #00a2ad);
    margin-right: 3px;
}

/* ─── Compact landing rails (Top categories / Popular retailers) ─── */
.dl-rail {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 2px 2px 10px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #c3ced5 transparent;
}
.dl-rail::-webkit-scrollbar { height: 6px; }
.dl-rail::-webkit-scrollbar-thumb { background: #c3ced5; border-radius: 6px; }
.dl-rail::-webkit-scrollbar-track { background: transparent; }
.dl-chip {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: #fff;
    border: 1px solid var(--color-border, #e6eaee);
    border-radius: 50px;
    padding: 7px 15px 7px 8px;
    color: #22323e;
    font-size: 13.5px;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.15s ease;
}
.dl-chip:hover {
    border-color: var(--color-primary, #00a2ad);
    color: var(--color-primary, #00a2ad);
    box-shadow: 0 4px 14px rgba(0, 162, 173, 0.14);
}
.dl-chip-icon {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #e7f5f6;
    color: var(--color-primary, #00a2ad);
    font-size: 13px;
}
.dl-chip-icon--initial {
    background: var(--color-primary, #00a2ad);
    color: #fff;
    font-weight: 700;
}
.dl-chip-logo {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: contain;
    background: #fff;
    border: 1px solid #eef1f4;
}
.dl-chip-count {
    font-size: 11.5px;
    font-weight: 500;
    color: #8a97a1;
}
.dl-chip:hover .dl-chip-count { color: inherit; }

/* ─── Section headings (landing rails + product sections) ─── */
.dl-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.dl-heading-title {
    position: relative;
    font-size: 21px;
    font-weight: 700;
    color: var(--color-navy, #0b233f);
    margin: 0;
    padding-left: 14px;
}

.dl-heading-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 3px;
    bottom: 3px;
    width: 4px;
    border-radius: 4px;
    background: var(--color-primary, #10b3ab);
}

.dl-heading-viewall {
    font-size: 13px;
    color: var(--color-primary, #0FA4A6);
    font-weight: 600;
    white-space: nowrap;
}

.dl-heading-viewall:hover {
    color: var(--color-navy, #0b233f);
}

.dl-heading-viewall .fa {
    font-size: 11px;
    margin-left: 3px;
    transition: transform 0.15s ease;
}

.dl-heading-viewall:hover .fa {
    transform: translateX(3px);
}
