﻿/* Theme 1 Styles (Modern Classic) */
.theme1-actions-container {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    gap: 10px;
    margin-top: 10px;
}

.theme1-action-card {
    flex: 1;
    background: #fff;
    border-radius: 12px;
    padding: 15px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid #f1f2f6;
}

.theme1-action-card:active {
    transform: scale(0.96);
    background: #f8f9fa;
}

.theme1-action-card .action-icon {
    width: 28px;
    height: 28px;
    margin-bottom: 8px;
    color: var(--primary);
}

.theme1-action-card span {
    font-size: 0.8rem;
    font-weight: 700;
    color: #2f3640;
    text-align: center;
}

/* Section Titles */
.theme1-section-title {
    padding: 0 15px;
    font-size: 1.1rem;
    font-weight: 800;
    color: #2f3640;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

/* Offers Scroll */
.theme1-offers-scroll {
    display: flex;
    overflow-x: auto;
    padding: 0 15px 15px 15px;
    gap: 12px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.theme1-offers-scroll::-webkit-scrollbar {
    display: none;
}

.theme1-offer-card {
    min-width: 140px;
    max-width: 140px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #ff475720;
    box-shadow: 0 4px 10px rgba(255, 71, 87, 0.08);
    position: relative;
    scroll-snap-align: start;
    cursor: pointer;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.theme1-offer-card .offer-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    background: #ff4757;
    color: #fff;
    font-size: 0.65rem;
    font-weight: bold;
    padding: 3px 6px;
    border-radius: 6px;
    z-index: 1;
}

.theme1-offer-card img {
    width: 100%;
    height: 110px;
    object-fit: cover;
    border-bottom: 1px solid #f1f2f6;
}

.theme1-offer-card .offer-details {
    padding: 8px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
}

.theme1-offer-card .offer-name {
    font-size: 0.75rem;
    font-weight: 600;
    color: #2f3640;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 6px;
    line-height: 1.3;
}

.theme1-offer-card .offer-prices {
    display: flex;
    flex-direction: column;
}

.theme1-offer-card .new-price {
    font-size: 0.9rem;
    font-weight: 800;
    color: #ff4757;
}

.theme1-offer-card .old-price {
    font-size: 0.7rem;
    color: #a4b0be;
    text-decoration: line-through;
}

/* Trending Categories Grid */
.theme1-trending-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding: 0 15px 15px 15px;
}

.theme1-trending-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.theme1-trending-card .trending-img-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 8px;
    border: 2px solid #fff;
}

.theme1-trending-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.theme1-trending-card span {
    font-size: 0.7rem;
    font-weight: 600;
    color: #2f3640;
    text-align: center;
    line-height: 1.2;
}

/* Theme 1 Filters (Pills) */
.theme1-filters-container {
    display: flex;
    overflow-x: auto;
    padding: 10px 15px;
    gap: 10px;
    background: linear-gradient(to bottom, #fff5f0, #fff);
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 10px;
}

.theme1-filters-container::-webkit-scrollbar {
    display: none;
}

.theme1-filter-pill {
    background: #fff;
    border: 1px solid #ffecec;
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #2f3640;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    scroll-snap-align: start;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.theme1-filter-pill i {
    width: 14px;
    height: 14px;
}

.theme1-filter-pill.active {
    background: #2f3640;
    color: #fff;
    border-color: #2f3640;
}


