/* Modern Dark Theme - Lots ID Page */

/* Main Layout */
.lots-id-main {
    background: #000000;
    padding-top: 0.5rem;
}

.lots-id-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 1rem 2rem 1.5rem 2rem;
}

/* Filters Section */
.filters-section {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    width: 100%;
}

.filters-wrapper {
    background: #0d0d0d;
    border-radius: 10px;
    padding: 0.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    border: 1px solid #2a2a2a;
    width: 100%;
    max-width: 990px;
}

.filters-header {
    text-align: center;
    margin-bottom: 0.75rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid #2a2a2a;
}

.filters-header h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.filters-header p {
    color: #999;
    margin: 0;
    font-size: 0.8rem;
}

/* Search Bar */
.search-container {
    margin-bottom: 0.75rem;
}

.search-input-wrapper {
    position: relative;
    margin-bottom: 0.25rem;
}

.search-input {
    width: 100%;
    height: 40px;
    background: #0d0d0d;
    border: 1px solid #2a2a2a;
    border-radius: 10px;
    padding: 0 20px 0 45px;
    color: #FFFFFF;
    font-size: 16px !important;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s ease;
    touch-action: manipulation;
}

.search-input:focus {
    outline: none;
    border-color: rgba(60, 195, 14, 0.4);
    background: #161616;
    box-shadow: 0 0 0 3px rgba(60, 195, 14, 0.08);
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #3cc30e;
    font-size: 14px;
    pointer-events: none;
    opacity: 0.8;
}

.search-hint {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    color: #999;
    padding: 0.25rem 0;
}

/* Filter Controls */
.filters-controls {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.filter-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.custom-select {
    padding: 0.5rem 0.75rem;
    border: 1px solid #2a2a2a;
    border-radius: 10px;
    background: #0d0d0d;
    color: #FFFFFF;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.custom-select:focus {
    outline: none;
    border-color: rgba(60, 195, 14, 0.4);
    box-shadow: 0 0 0 3px rgba(60, 195, 14, 0.08);
}

.custom-select:hover {
    border-color: rgba(60, 195, 14, 0.4);
}

/* Offers Section */
.offers-section {
    margin-bottom: 3rem;
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-header h1,
.section-header h2 {
    font-family: 'Chakra Petch', 'Inter', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 0.5rem;
}

.seo-main-title {
    text-align: center;
}

.offers-count-text {
    font-size: 1rem;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.offers-count-text i {
    color: #f59e0b;
}

/* Offers List - Horizontal Cards */
.offers-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
    width: 100%;
}

/* Horizontal Offer Card */
.offer-card-horizontal {
    display: block;
    text-decoration: none;
    color: inherit;
    background: #0d0d0d;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid #2a2a2a;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    position: relative;
    width: 100%;
    max-width: 900px;
    cursor: pointer;
}

.offer-card-horizontal:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 20px rgba(60, 195, 14, 0.08);
    border-color: rgba(60, 195, 14, 0.4);
}

/* Offer Row - Grid System */
.offer-row {
    display: grid;
    grid-template-columns: 80px 1fr auto auto 140px 140px;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    min-height: 100px;
}

.offer-col {
    display: flex;
    align-items: center;
}

/* Column 1: Image */
.offer-col-image {
    justify-content: center;
}

.product-image-container {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    background: #000 url('/b4a34ecf-50f5-4aea-8823-e0f98aedba9c.png') center center / cover no-repeat;
    border: 1px solid #2a2a2a;
    position: relative;
}

.product-image-container.loading::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(60, 195, 14, 0.1), transparent);
    animation: loading-shimmer 1.5s infinite;
    z-index: 1;
}

@keyframes loading-shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s;
    opacity: 0;
}

.product-image-container.loaded .product-image {
    opacity: 1;
}

.product-image.fallback-image {
    object-fit: contain;
    padding: 0.5rem;
}

/* Column 2: Product Name */
.offer-col-name {
    overflow: hidden;
    align-items: flex-start;
}

.offer-name-link {
    font-size: 1rem;
    font-weight: 700;
    color: #FFFFFF;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
    max-height: 2.8em;
    transition: color 0.2s;
}

.offer-name-link:hover {
    color: #3cc30e;
}

.offer-server-suffix {
    color: #777;
    font-weight: 500;
}

/* Column 3: Seller */
.offer-col-seller {
    gap: 0.3rem;
}

.seller-avatar {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #2a2a2a;
    flex-shrink: 0;
}

.seller-link {
    font-weight: 600;
    color: #3cc30e;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.seller-link:hover {
    color: #00FF1E;
    text-decoration: underline;
}

/* Column 4: Rating */
.offer-col-rating {
    gap: 0.4rem;
    color: #999;
    font-size: 0.85rem;
    white-space: nowrap;
}

.offer-col-rating i {
    color: #FFD700;
    font-size: 0.8rem;
}

/* Mobile seller inside rating - hidden on desktop */
.rating-seller-mobile {
    display: none;
}

/* Column 6: Price */
.offer-col-price {
    justify-content: flex-end;
    padding-right: 0.5rem;
    border-right: 1px solid rgba(60, 195, 14, 0.2);
    min-width: 140px;
}

.price-value {
    font-family: 'Chakra Petch', 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: #3cc30e;
    text-shadow: 0 0 15px rgba(60, 195, 14, 0.4);
    white-space: nowrap;
}

/* Column 7: Buy Button */
.offer-col-action {
    justify-content: center;
}

.btn-buy {
    background: linear-gradient(135deg, #c700ff 0%, #e040fb 50%, #aa00ea 100%);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1.25rem;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-shadow: 0 3px 8px rgba(199, 0, 255, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-buy i {
    font-size: 0.9rem;
}

.btn-buy:hover {
    background: linear-gradient(135deg, #e040fb 0%, #c700ff 50%, #e040fb 100%);
    box-shadow: 0 5px 15px rgba(199, 0, 255, 0.6);
    transform: translateY(-2px);
}

.btn-buy:active {
    transform: translateY(0);
}

/* No Offers State */
.no-offers {
    text-align: center;
    padding: 4rem 2rem;
    background: #0d0d0d;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    border: 1px solid #2a2a2a;
}

.no-offers-icon {
    font-size: 4rem;
    color: #999;
    margin-bottom: 1.5rem;
}

.no-offers h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 0.5rem;
}

.no-offers p {
    color: #999;
    margin-bottom: 2rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background: linear-gradient(135deg, #3cc30e 0%, #00FF1E 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(60, 195, 14, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #00FF1E 0%, #3cc30e 100%);
    box-shadow: 0 4px 12px rgba(60, 195, 14, 0.5);
    transform: translateY(-2px);
}

/* SEO Section (collapsible) */
.seo-section {
    background: #0d0d0d;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    border: 1px solid #2a2a2a;
    margin-bottom: 0;
}

.seo-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    cursor: pointer;
    list-style: none;
    user-select: none;
    transition: background 0.2s;
    border-radius: 10px;
}

.seo-toggle::-webkit-details-marker {
    display: none;
}

.seo-toggle:hover {
    background: rgba(60, 195, 14, 0.05);
}

.seo-toggle span {
    font-size: 1rem;
    font-weight: 600;
    color: #FFFFFF;
}

.seo-toggle-icon {
    font-size: 0.75rem;
    color: #999;
    transition: transform 0.3s ease;
}

.seo-section[open] .seo-toggle-icon {
    transform: rotate(180deg);
}

.seo-section[open] .seo-toggle {
    border-bottom: 1px solid #2a2a2a;
    border-radius: 10px 10px 0 0;
}

.seo-content {
    color: #FFFFFF;
    line-height: 1.7;
    padding: 1rem 1.25rem;
}

.seo-content p {
    margin-bottom: 0.5rem;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0.75rem 0;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.25rem 0;
    color: #FFFFFF;
}

.benefits-list i {
    color: #3cc30e;
    font-size: 1rem;
    flex-shrink: 0;
}

/* FAQ Section */
.faq-section {
    background: #0d0d0d;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    border: 1px solid #2a2a2a;
}

.faq-wrapper h2 {
    font-family: 'Chakra Petch', 'Inter', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 2rem;
    text-align: center;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    border: 1px solid #2a2a2a;
    border-radius: 10px;
    overflow: hidden;
}

.faq-question {
    background: rgba(26, 26, 26, 0.8);
    padding: 1.25rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s;
}

.faq-question:hover {
    background: rgba(35, 35, 41, 0.8);
}

.faq-question.active {
    background: rgba(60, 195, 14, 0.1);
}

.faq-question h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    color: #FFFFFF;
}

.faq-question.active h3 {
    color: #3cc30e;
}

.faq-toggle {
    transition: transform 0.3s ease;
    color: #3cc30e;
}

.faq-question.active .faq-toggle {
    color: #3cc30e;
}

.faq-answer {
    padding: 0;
    display: none;
    border-top: 1px solid #2a2a2a;
    background: rgba(0, 0, 0, 0.3);
}

.faq-answer p {
    margin: 0;
    padding: 1.25rem;
    color: #FFFFFF;
    line-height: 1.6;
}

/* Responsive Design - Mobile */
@media (max-width: 768px) {
    .lots-id-container {
        padding: 0.75rem 0.5rem 2rem 0.5rem;
    }

    .lots-id-main {
        padding-top: 0.25rem;
    }

    .filters-wrapper {
        padding: 0.5rem;
        max-width: 100%;
    }

    .filters-controls {
        grid-template-columns: 1fr;
    }

    .offers-list {
        gap: 0.6rem;
    }

    /* Mobile Grid Layout - Compact */
    .offer-card-horizontal {
        max-width: 100%;
    }

    .offer-row {
        grid-template-columns: 56px 1fr auto;
        grid-template-rows: auto auto;
        gap: 0.3rem 0.5rem;
        padding: 0.5rem;
        min-height: auto;
    }

    /* Row 1: Image | Name | Price */
    .offer-col-image {
        grid-column: 1;
        grid-row: 1 / 3;
    }

    .product-image-container {
        width: 56px;
        height: 56px;
    }

    .offer-col-name {
        grid-column: 2;
        grid-row: 1;
        min-width: 0;
    }

    .offer-name-link {
        font-size: 0.85rem;
        line-height: 1.3;
        max-height: 2.6em;
    }

    .offer-col-price {
        grid-column: 3;
        grid-row: 1;
        border-right: none;
        padding: 0;
        justify-content: flex-end;
        min-width: 0;
    }

    .price-value {
        font-size: 1rem;
    }

    /* Row 2: Rating + Seller | Button */
    .offer-col-seller {
        display: none;
    }

    .offer-col-rating {
        grid-column: 2;
        grid-row: 2;
        justify-self: start;
        font-size: 0.7rem;
        gap: 0.3rem;
    }

    .offer-col-rating i {
        font-size: 0.65rem;
    }

    .rating-seller-mobile {
        display: inline-flex;
        align-items: center;
        gap: 0.25rem;
        margin-left: 0.15rem;
    }

    .seller-avatar-sm {
        width: 1.2rem;
        height: 1.2rem;
        border-radius: 50%;
        object-fit: cover;
        border: 1px solid #2a2a2a;
    }

    .seller-name-sm {
        color: #3cc30e;
        font-weight: 600;
        font-size: 0.7rem;
    }

    .offer-col-action {
        grid-column: 3;
        grid-row: 2;
        justify-content: flex-end;
    }

    .btn-buy {
        padding: 0.45rem 0.7rem;
        font-size: 0.7rem;
    }

    .search-input {
        height: 38px;
        font-size: 16px !important;
        padding: 0 15px 0 40px;
    }

    .search-icon {
        left: 12px;
        font-size: 13px;
    }

    .seo-section {
        padding: 0.75rem;
    }
}

@media (max-width: 480px) {
    .section-header h2 {
        font-size: 1.3rem;
    }

    .offers-list {
        gap: 0.5rem;
    }

    .offer-col-rating {
        font-size: 0.65rem;
        gap: 0.3rem;
    }

    .btn-buy {
        padding: 0.45rem 0.7rem;
        font-size: 0.65rem;
    }

    .btn-buy i {
        font-size: 0.75rem;
    }
}

