/* Homepage vendor/store sections — loaded on initial page so AJAX-injected HTML is styled */

.vendor-stores-section {
    border-top: 1px solid #eef2f0;
}

.vendor-stores-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.vendor-stores-header__text h3 {
    margin: 0 0 8px;
    font-size: 28px;
    font-weight: 700;
    color: #253D4E;
}

.vendor-stores-header__subtitle {
    margin: 0;
    font-size: 15px;
    color: #7E7E7E;
}

.vendor-stores-header__actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.vendor-stores-view-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #2A4A11;
    text-decoration: none;
    transition: color 0.2s ease;
}

.vendor-stores-view-all:hover {
    color: #1d3310;
}

.vendor-stores-swiper {
    overflow: hidden;
    padding: 4px 2px 0;
}

.vendor-stores-swiper .swiper-slide {
    height: auto;
    box-sizing: border-box;
}

.vendor-stores-swiper .swiper-pagination {
    position: relative;
    margin-top: 24px;
    bottom: auto !important;
    line-height: 1;
}

.vendor-stores-swiper .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    margin: 0 5px !important;
    background: #d1d9d4;
    opacity: 1;
    transition: width 0.25s ease, background 0.25s ease;
}

.vendor-stores-swiper .swiper-pagination-bullet-active {
    width: 24px;
    border-radius: 4px;
    background: #2A4A11;
}

.store-slider-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid #e8ecef;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    box-shadow: 0 4px 20px rgba(37, 61, 78, 0.06);
}

.store-slider-card:hover {
    transform: translateY(-4px);
    border-color: #c3edd9;
    box-shadow: 0 12px 28px rgba(42, 74, 17, 0.1);
}

.store-slider-card__image-link {
    display: block;
    text-decoration: none;
}

.store-slider-card__image {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, #f4f9f6 0%, #eef5f1 100%);
    overflow: hidden;
}

.store-slider-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.store-slider-card:hover .store-slider-card__image img {
    transform: scale(1.05);
}

.store-slider-card__products {
    position: absolute;
    top: 12px;
    inset-inline-end: 12px;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 600;
    color: #2A4A11;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.store-slider-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 10px;
    padding: 18px 18px 20px;
}

.store-slider-card__location {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #7E7E7E;
}

.store-slider-card__location i {
    font-size: 13px;
    color: #2A4A11;
}

.store-slider-card__title {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
}

.store-slider-card__title a {
    color: #253D4E;
    text-decoration: none;
    transition: color 0.2s ease;
}

.store-slider-card__title a:hover {
    color: #2A4A11;
}

.store-slider-card__rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.store-slider-card__link {
    display: flex;
    align-items: stretch;
    gap: 8px;
    margin-top: 2px;
}

.store-slider-card__link-field {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    min-width: 0;
    padding: 8px 10px;
    background: #f7f8f9;
    border: 1px solid #e8ecef;
    border-radius: 8px;
}

.store-slider-card__link-icon {
    flex-shrink: 0;
    font-size: 12px;
    color: #7E7E7E;
}

.store-slider-card__link-text {
    min-width: 0;
    font-size: 11px;
    line-height: 1.3;
    color: #253D4E;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    direction: ltr;
    text-align: left;
}

.store-slider-card__copy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex-shrink: 0;
    padding: 8px 12px;
    font-size: 11px;
    font-weight: 600;
    color: #253D4E;
    background: #fff;
    border: 1px solid #e8ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.store-slider-card__copy i {
    font-size: 12px;
}

.store-slider-card__copy:hover {
    border-color: #c3edd9;
    color: #2A4A11;
    background: #f4f9f6;
}

.store-slider-card__copy.copied {
    border-color: #2A4A11;
    color: #2A4A11;
    background: rgba(42, 74, 17, 0.06);
}

.store-slider-card__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    padding-top: 6px;
}

.store-slider-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex: 1;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    background: #2A4A11;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.store-slider-card__btn:hover {
    background: #1d3310;
    color: #fff;
}

.store-slider-card__whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    color: #fff;
    background: #25D366;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.store-slider-card__whatsapp:hover {
    background: #1da851;
    color: #fff;
}

.store-slider-card__whatsapp-icon {
    width: 20px;
    height: 20px;
}

@media (max-width: 767px) {
    .vendor-stores-header__text h3 {
        font-size: 22px;
    }

    .store-slider-card__image {
        height: 170px;
    }
}
