/* ===== Home Carousel ===== */
.carousel-wrapper {
    width: 100%;
    overflow: hidden;
    padding: 8px 0 4px;
    cursor: grab;
    -webkit-user-select: none; user-select: none;
}
.carousel-track {
    display: flex;
    gap: 3px;
    will-change: transform;
}
.carousel-track:active { cursor: grabbing; }
.carousel-card {
    flex: 0 0 calc(25% - 2.25px);
    aspect-ratio: 3/4;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    text-decoration: none;
}
.carousel-card picture { display: block; width: 100%; height: 100%; }
.carousel-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
    pointer-events: none;
}
.carousel-card:hover img { transform: scale(1.05); }
.carousel-verified {
    position: absolute;
    top: 4px;
    right: 4px;
    z-index: 2;
}
.carousel-verified i::before { color: #ffc107; font-size: .65rem; }
.carousel-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 14px 6px 3px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    display: flex;
    flex-direction: column;
    align-items: center;
}
.carousel-name {
    color: #fff;
    font-size: .7rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    text-align: center;
    line-height: 1.2;
}
.carousel-district {
    color: rgba(255,255,255,0.7);
    font-size: .55rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    text-align: center;
}
@media (min-width: 576px) { .carousel-card { flex: 0 0 calc(12.5% - 2.625px); } }
@media (min-width: 768px) { .carousel-card { flex: 0 0 calc(10% - 2.7px); } }
@media (min-width: 992px) { .carousel-card { flex: 0 0 calc(8.333% - 2.75px); } .carousel-wrapper { padding: 6px 0 3px; } }
@media (min-width: 1200px) { .carousel-card { flex: 0 0 calc(6.25% - 2.8125px); } }
@media (min-width: 1600px) { .carousel-card { flex: 0 0 calc(5% - 2.85px); } }
@media (max-width: 575px) {
    .carousel-name { font-size: .60rem; }
    .carousel-district { font-size: .50rem; }
    .carousel-info { padding: 8px 4px 2px; }
    .carousel-verified i::before { font-size: .55rem; }
    .carousel-card { border-radius: 5px; }
    .carousel-card picture, .carousel-card img { border-radius: 5px; }
    .carousel-info { border-radius: 0 0 5px 5px; }
}

/* ===== Girl Card Grid - Layout & Badges ===== */
.girlsGrid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    padding: 0;
}
.girlsGrid .gridSizer { display: none; }
.girlCard {
    position: relative !important;
    overflow: hidden !important;
    border-radius: 8px;
    aspect-ratio: 3/5;
    background: #18042b;
    width: auto !important;
    left: auto !important;
    top: auto !important;
    border: none;
    max-width: none !important;
    display: block !important;
    transform: none;
    transition: none;
}
.girlCard:hover {
    transform: none;
    box-shadow: none;
    border: none;
}
.girlCard a {
    all: revert !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    text-decoration: none !important;
    position: relative !important;
    color: inherit !important;
    box-sizing: border-box !important;
}
.girlCard picture {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}
.girlCard img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center top !important;
    border-radius: 8px !important;
    transition: transform .25s ease !important;
    vertical-align: top !important;
}
.girlCard:hover img {
    transform: scale(1.05);
}
@media (min-width: 420px) { .girlsGrid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 576px) { .girlsGrid { grid-template-columns: repeat(5, 1fr); } }
@media (min-width: 768px) { .girlsGrid { grid-template-columns: repeat(6, 1fr); } }
@media (min-width: 992px) { .girlsGrid { grid-template-columns: repeat(8, 1fr); } }
@media (min-width: 1400px) { .girlsGrid { grid-template-columns: repeat(10, 1fr); } }

/* Badges Left (distrito, fotos, precio) */
.gc-badges-left {
    position: absolute;
    top: 6px;
    left: 6px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    z-index: 2;
}
.gc-badge {
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: .9rem;
    padding: 2px 6px;
    border-radius: 4px;
    line-height: 1.3;
    white-space: nowrap;
    align-self: flex-start;
}
.gc-badge-distrito {
    background: rgba(110, 43, 243, 0.5);
    transition: background .3s ease;
}
.girlCard:hover .gc-badge-distrito {
    background: rgba(110, 43, 243, 1);
}
.gc-badge-fotos {
    background: rgba(110, 43, 243, 0.5);
    transition: background .3s ease;
}
.girlCard:hover .gc-badge-fotos {
    background: rgba(110, 43, 243, 1);
}
.gc-badge i { font-size: .6rem; vertical-align: middle; }
.gc-badge i::before { color: #fff; font-size: .6rem; }
.gc-badge-price {
    background: rgba(110, 43, 243, 0.5);
    transition: background .3s ease;
}
.girlCard:hover .gc-badge-price {
    background: rgba(110, 43, 243, 1);
}

/* Badges Right (verificada, video) */
.gc-badges-right {
    position: absolute;
    top: 6px;
    right: 6px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 2;
}
.gc-badge-icon {
    width: 29px;
    height: 29px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gc-badge-icon i::before { font-size: .85rem; }
.gc-verified-badge {
    width: 29px;
    height: 29px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 1px 3px rgba(0,0,0,0.5));
}
.gc-verified-badge i::before { color: #ffc107; font-size: 1.8rem; }
.gc-video {
    background: rgba(212, 20, 89, 0.85);
    position: relative;
}
.gc-video i::before {
    color: #fff;
    margin-top: 16px;
    display: block;
    margin-left: 4px;
}
.gc-pulse {
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 2px solid rgba(212, 20, 89, 0.6);
    animation: gc-pulse-ring 1.5s ease-out infinite;
}
@keyframes gc-pulse-ring {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* Name Overlay */
.gc-name {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px 8px 6px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.65));
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    z-index: 2;
    border-radius: 0 0 10px 10px;
}

/* Mobile adjustments */
@media (max-width: 575px) {
    .gc-badges-left { top: 4px; left: 4px; gap: 2px; }
    .gc-badge { font-size: .58rem; padding: 1px 4px; max-width: 90px; overflow: hidden; text-overflow: ellipsis; }
    .gc-badge i, .gc-badge i::before { font-size: .52rem; }
    .gc-badges-right { top: 4px; right: 4px; gap: 4px; }
    .gc-badge-icon { width: 23px; height: 23px; }
    .gc-badge-icon i::before { font-size: .7rem; }
    .gc-verified-badge { width: 23px; height: 23px; }
    .gc-verified-badge i::before { font-size: 1.25rem; }
    .gc-name { font-size: .68rem; padding: 20px 6px 4px; }
}
