/* Filter System Styles */
.filter-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 30px 0 50px;
    flex-wrap: wrap;
}

.filter-pill {
    cursor: pointer;
}

.filter-pill input {
    display: none;
}

.filter-pill span {
    display: inline-flex;
    align-items: center;
    padding: 12px 22px;
    border-radius: 50px;
    background: var(--white);
    border: 1.5px solid #eee;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    user-select: none;
    gap: 10px;
}

.filter-pill:hover span {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-pink);
    color: var(--primary-pink);
}

.filter-pill input:checked+span {
    background: var(--primary-pink);
    color: white !important;
    border-color: var(--primary-pink);
    box-shadow: 0 8px 25px rgba(255, 107, 157, 0.35);
    transform: scale(1.05);
}

.filter-pill .check-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.filter-pill input:checked+span .check-icon {
    width: 20px;
    opacity: 1;
    margin-left: 2px;
}

.offer-section {
    transition: opacity 0.3s ease;
    opacity: 1;
    margin-bottom: 0;
    overflow: visible;
    display: block;
}

.offer-section.section-hidden {
    display: none;
    opacity: 0;
    pointer-events: none;
}

.offer-section-title {
    width: 100%;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding: 0 20px;
}

.offer-section-title h3 {
    font-size: 1.8rem;
    color: var(--secondary-blue);
    display: inline-block;
    background: #f8f9fa;
    padding: 0 25px;
    position: relative;
    z-index: 2;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.offer-section hr {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 107, 157, 0.4), transparent);
    border: none;
    margin: 0;
    z-index: 1;
}

/* Offer Card Slider & Layouts */
.offer-image-slider-container {
    position: relative;
    width: 100%;
    height: 110px;
    margin-top: 20px;
    background: #f0f0f0;
    border-radius: 8px;
    padding: 5px 0;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.offer-image-slider {
    display: flex;
    height: 100%;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 10px;
    padding: 0 40px;
    align-items: center;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.offer-image-slider img {
    height: 90px;
    flex-shrink: 0;
    border-radius: 4px;
    object-fit: cover;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.details-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-top: 25px;
    align-items: center;
}

@media (max-width: 768px) {
    .details-split {
        grid-template-columns: 1fr;
    }
}

.single-photo-slider-container {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    background: #eee;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.single-photo-slider {
    display: flex;
    width: 100%;
    height: 100%;
    scroll-behavior: smooth;
    overflow: hidden;
}

.single-photo-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
}

/* Share Icons */
.offer-share-bar {
    display: flex;
    gap: 12px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    justify-content: center;
}

.share-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: #666;
    background: #f0f0f0;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.share-btn:hover {
    transform: translateY(-3px);
    color: white;
}

.share-btn.linkedin:hover { background: #0077b5; }
.share-btn.facebook:hover { background: #1877f2; }
.share-btn.whatsapp:hover { background: #25d366; }
.share-btn.email:hover { background: var(--primary-pink); }

/* Form Close Button */
.form-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #f0f0f0;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #666;
    transition: all 0.3s ease;
    z-index: 100;
}

.form-close-btn:hover {
    background: var(--primary-pink);
    color: white;
    transform: rotate(90deg);
}

/* Hashtags SEO (Can be hidden visually but kept for SEO if needed, or removed as per user request) */
.offer-hashtags {
    margin-top: 12px;
    font-size: 0.7rem;
    color: var(--text-light);
    opacity: 0.6;
    font-style: italic;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    line-height: 1.2;
}
