/* 
   Index Premium Design System
   Font: Outfit (Google Fonts)
   Theme: Vibrant Modern Marketplace
*/

:root {
    --primary-gradient: linear-gradient(135deg, #250f55 0%, #6b2278 100%);
    --accent-color: #37a5d4;
    --success-color: #2ecc71;
    --danger-color: #e74c3c;
    --text-dark: #250f55;
    --text-muted: #6c757d;
    --bg-light: #f8f9fa;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --card-hover-shadow: 0 15px 45px rgba(0, 0, 0, 0.12);
    --radius: 18px;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
}

/* Titles */
.section-title-premium {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.section-title-premium span {
    margin-right: 10px;
}

/* Sector Navigation (Horizontal Scroll on Mobile) */
.sector-nav-container {
    padding: 1rem 0;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    display: flex;
    gap: 20px;
}

.sector-nav-container::-webkit-scrollbar {
    display: none;
}

.sector-card {
    flex: 0 0 auto;
    text-align: center;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.sector-icon-wrapper {
    width: 65px;
    height: 65px;
    background: white;
    box-shadow: var(--card-shadow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.sector-card:hover .sector-icon-wrapper {
    transform: translateY(-5px);
    background: var(--primary-gradient);
    color: white;
}

.sector-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* Premium Product Card */
.product-card-premium {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    height: 100%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
}

.product-card-premium:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-hover-shadow);
}

.product-image-wrapper {
    position: relative;
    height: 160px;
    overflow: hidden;
}

.product-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card-premium:hover .product-image-wrapper img {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(255, 255, 255, 0.9);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-dark);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.product-info {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-store-name {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    font-weight: 700;
    margin-bottom: 5px;
}

.product-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.2;
    height: 2.4em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-price-row {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-price {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-dark);
}

.product-add-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    transition: all 0.2s;
}

.product-card-premium:hover .product-add-btn {
    background: var(--text-dark);
    color: white;
}

/* Premium Store Card */
.store-list-container {
    display: grid;
    gap: 15px;
}

.store-card-premium {
    background: white;
    border-radius: var(--radius);
    padding: 15px;
    display: flex;
    align-items: center;
    text-decoration: none !important;
    transition: all 0.3s ease;
    box-shadow: var(--card-shadow);
    border: 1px solid transparent;
}

.store-card-premium:hover {
    transform: scale(1.02);
    box-shadow: var(--card-hover-shadow);
    border-color: rgba(107, 34, 120, 0.1);
}

.store-logo-wrapper {
    width: 65px;
    height: 65px;
    position: relative;
    border-radius: 50%;
    padding: 3px;
    background: #eee;
    margin-right: 20px;
    flex-shrink: 0;
}

.store-logo-wrapper img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.store-status-badge {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border: 2px solid white;
}

.status-open { background-color: var(--success-color); }
.status-closed { background-color: var(--danger-color); }

.store-main-info {
    flex-grow: 1;
}

.store-name-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
}

.store-name {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-dark);
}

.patrocinado-badge {
    background: #fff8e1;
    color: #ffa000;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 10px;
}

.store-metadata {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.cupom-available {
    color: var(--success-color);
    font-weight: 700;
}

/* Carousel Adjustments */
.carousel {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-up {
    animation: fadeInUp 0.6s ease forwards;
}
