/* ============================================================
   MARKETPLACE — SDPlay Design System
   ============================================================ */

/* ==============================
   SEARCH BAR
   ============================== */
.search-bar-card {
    background: var(--bg-card) !important;
    border-radius: var(--radius-lg) !important;
    border: 1px solid var(--border-card) !important;
    box-shadow: var(--shadow-md) !important;
    padding: 0 !important;
    width: 100%;
}
.search-bar-card .card-body {
    padding: 8px 12px;
}
.search-bar-input {
    height: 48px !important;
    border-radius: var(--radius-md) !important;
    border: 1px solid var(--border-subtle) !important;
    background: var(--bg-subtle) !important;
    font-size: 14px !important;
    padding: 0 16px !important;
}
.search-bar-input:focus {
    border-color: var(--brand) !important;
    box-shadow: 0 0 0 3px rgba(15,171,181,0.12) !important;
    background: var(--bg-card) !important;
}
.search-bar-select {
    height: 48px;
}
.search-bar-select .search-bar-select__control {
    height: 48px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    background: var(--bg-subtle);
    font-size: 14px;
    min-height: 48px;
    padding: 0 4px;
    box-shadow: none;
}
.search-bar-select .search-bar-select__control:hover {
    border-color: var(--text-tertiary);
}
.search-bar-select .search-bar-select__control--is-focused {
    border-color: var(--brand) !important;
    box-shadow: 0 0 0 3px rgba(15,171,181,0.12) !important;
}
.search-bar-select .search-bar-select__value-container {
    padding: 0 12px;
    height: 48px;
    align-items: center;
}
.search-bar-select .search-bar-select__placeholder {
    color: var(--text-tertiary);
    font-size: 14px;
}
.search-bar-select .search-bar-select__single-value {
    color: var(--text-primary);
    font-size: 14px;
}
.search-bar-select .search-bar-select__menu {
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-md);
    margin-top: 4px;
    z-index: 100;
}
.search-bar-select .search-bar-select__option {
    padding: 10px 14px;
    font-size: 14px;
    color: var(--text-primary);
}
.search-bar-select .search-bar-select__option--is-selected {
    background: var(--brand-light);
    color: var(--brand-dark);
}
.search-bar-select .search-bar-select__option--is-focused {
    background: var(--bg-hover);
}
.search-bar-select .search-bar-select__indicator-separator {
    display: none;
}
.search-bar-select .search-bar-select__dropdown-indicator {
    color: var(--text-tertiary);
    padding: 0 8px;
}
.search-bar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 48px;
}
.btn-search-bar {
    height: 48px;
    padding: 0 28px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}
.search-bar-clear {
    font-size: 13px;
    color: var(--text-secondary);
    white-space: nowrap;
}
.search-bar-clear:hover {
    color: var(--text-primary);
}
.search-bar-inline {
    max-width: 100%;
}

/* ==============================
   ACTIVITY CARD (marketplace)
   ============================== */
.activity-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-card);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.activity-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: rgba(0,0,0,0.08);
}
.activity-card-image-link {
    display: block;
    text-decoration: none;
}
.activity-card-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: transform 0.3s ease;
}
.activity-card:hover .activity-card-image {
    transform: scale(1.03);
}
.activity-card-price-tag {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(8px);
    color: var(--text-primary);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.activity-card-price-tag.free {
    background: #DCFCE7;
    color: #166534;
}
.activity-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.activity-card-tags {
    display: flex;
    gap: 6px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}
.activity-card-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.activity-card-tag.sport {
    background: var(--brand-light);
    color: var(--brand-dark);
}
.activity-card-tag.sport img {
    width: 12px;
    height: 12px;
}
.activity-card-title-link {
    text-decoration: none;
}
.activity-card-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 10px 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.activity-card-title-link:hover .activity-card-title {
    color: var(--brand);
}
.activity-card-meta {
    margin-bottom: 16px;
}
.activity-card-club {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-secondary);
}
.activity-card-club i {
    color: var(--brand);
    font-size: 12px;
}
.activity-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--border-subtle);
    margin-top: auto;
}
.activity-card-price {
    font-size: 14px;
    color: var(--text-secondary);
}
.activity-card-price strong {
    color: var(--brand);
    font-weight: 700;
    font-size: 16px;
}
.activity-card-price .free-text {
    color: #166534;
    font-weight: 600;
}
.activity-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--brand);
    color: white;
    padding: 10px 18px;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}
.activity-card-btn:hover {
    background: var(--brand-hover);
    color: white;
    transform: translateX(2px);
}
.activity-card-btn i {
    font-size: 11px;
    transition: transform 0.2s;
}
.activity-card-btn:hover i {
    transform: translateX(3px);
}

/* ==============================
   CLUB MARKET CARD
   ============================== */
.club-market-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-card);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.club-market-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: rgba(0,0,0,0.08);
}
.club-market-card-image-link {
    display: block;
    text-decoration: none;
}
.club-market-card-image {
    width: 100%;
    height: 160px;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
}
.club-market-card:hover .club-market-card-image {
    transform: scale(1.03);
}
.club-market-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.club-market-card-header {
    display: flex;
    gap: 14px;
    margin-bottom: 16px;
}
.club-market-card-avatar {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    object-fit: cover;
    border: 2px solid var(--bg-card);
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}
.club-market-card-avatar-placeholder {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: var(--brand-light);
    color: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    border: 2px solid var(--bg-card);
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}
.club-market-card-info {
    flex: 1;
    min-width: 0;
}
.club-market-card-title-link {
    text-decoration: none;
}
.club-market-card-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 8px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.club-market-card-title-link:hover .club-market-card-title {
    color: var(--brand);
}
.club-market-card-sports {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}
.club-market-card-sport-tag {
    display: inline-block;
    padding: 3px 8px;
    background: var(--bg-subtle);
    color: var(--text-secondary);
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 500;
}
.club-market-card-sport-tag.more {
    background: var(--brand-light);
    color: var(--brand-dark);
}
.club-market-card-footer {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--border-subtle);
}
.club-market-card-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    background: var(--brand);
    color: white;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}
.club-market-card-btn:hover {
    background: var(--brand-hover);
    color: white;
}
.club-market-card-btn i {
    font-size: 12px;
    transition: transform 0.2s;
}
.club-market-card-btn:hover i {
    transform: translateX(3px);
}

.firstView {
    background: linear-gradient(135deg, #1B3A5C 0%, #0FABB5 100%);
    min-height: calc(100vh - 85px);
    padding: 120px 30px 160px 30px;
    position: relative;
    width: 100%;
    z-index: 0;
}

.firstView h2.font-generic {
    font-family: var(--font) !important;
    font-size: 56px;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.05;
}

.firstView h4.font-generic {
    font-family: var(--font) !important;
    font-size: 20px;
    font-weight: 400;
    opacity: 0.7;
}

.firstView .superior-home {
    margin: auto;
    width: 75%;
}

.marketplace {
    background: var(--bg-card) !important;
    position: relative;
    z-index: 10;
}

.banner {
    margin: auto;
    max-width: 1500px;
    padding: var(--space-4) !important;
}

.card.miniatura {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-card);
    padding: 0 0 10px;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-card);
}

.card.miniatura .image {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    height: 175px;
    width: 100%;
    object-fit: cover;
}

.card.miniatura .card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 16px;
}

.card.miniatura .card-title {
    font-size: 18px;
    font-weight: 600;
}

.card.miniatura .price {
    color: var(--brand);
    font-weight: 600;
}

.clubsMoreVisited {
    border-bottom: 1px solid var(--border-subtle);
    padding: 20px 0;
}

.clubsMoreVisited:last-child { border: none; }

.clubsMoreVisited .sports .item {
    background: var(--bg-subtle);
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    padding: 4px 12px;
    font-size: 12px;
}

/* Carousel */
.carousel-inner {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    margin-bottom: 40px;
}

.carousel-indicators [data-bs-target] {
    border-radius: var(--radius-full);
    width: 8px;
    height: 8px;
    border: 1px solid var(--text-tertiary);
    background: transparent;
}

.carousel-indicators [data-bs-target].active {
    background: var(--brand);
    width: 24px;
}

/* Accordion */
.accordion-item {
    border: none !important;
    border-bottom: 1px solid var(--border-subtle) !important;
    border-radius: 0 !important;
}
.accordion-button {
    background: transparent !important;
    font-size: 15px;
    font-weight: 500;
    padding: 14px 5px;
}
.accordion-button:not(.collapsed) { box-shadow: none !important; }
.accordion-button:focus { box-shadow: none !important; }

/* Schedule */
.clubSchedule { font-size: 14px; }
.clubSchedule:nth-child(odd) { background: var(--bg-subtle); }
.clubSchedule .day { font-weight: 600; }

/* Club schedule badge */
.badge.position-absolute {
    position: absolute;
    font-size: 11px;
    padding: 3px 8px;
}

.feature-card .item {
    background: #E6F8F9;
    border-radius: var(--radius-md);
    color: var(--brand-dark);
    font-size: 0.9rem;
    padding: 8px 14px;
}

.card-banner {
    border-radius: var(--radius-md);
    overflow: hidden;
}
.card-banner .gradient {
    border-radius: var(--radius-md);
}

.mapa {
    border-radius: var(--radius-md);
    overflow: hidden;
}

footer {
    border-top: 1px solid var(--border-subtle);
    padding: var(--space-4);
}
