/* ═══════════════════════════════════════════════════════════════
   📦 AWALIM WHOLESALE — STYLES
   Ahmed Ashraf × Awalim Goods Wholesalers Co. L.L.C
   ═══════════════════════════════════════════════════════════════ */

.wholesale-section {
    padding: 100px 0;
    background: #020b0d;
    position: relative;
    z-index: 10;
}

.wholesale-header {
    text-align: center;
    margin-bottom: 60px;
}

.wholesale-intro {
    max-width: 800px;
    margin: 0 auto 40px;
    color: #94a3b8;
    line-height: 1.8;
}

/* Category Filters */
.wholesale-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-chip {
    padding: 10px 24px;
    border-radius: 50px;
    border: 1px solid rgba(163, 207, 43, 0.2);
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
    cursor: pointer;
    transition: all 0.3s var(--ease-expo);
    font-size: 0.9rem;
    font-family: 'Cairo', sans-serif;
}

.filter-chip:hover {
    border-color: var(--wc-lime);
    background: rgba(163, 207, 43, 0.05);
}

.filter-chip.active {
    background: var(--wc-lime);
    color: #021a1e;
    border-color: var(--wc-lime);
    font-weight: bold;
}

/* Product Grid */
.wholesale-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.wholesale-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s var(--ease-spring);
    position: relative;
    display: flex;
    flex-direction: column;
}

.wholesale-card:hover {
    transform: translateY(-10px);
    border-color: rgba(163, 207, 43, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.product-img-wrapper {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #0a1f24;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: transform 0.6s var(--ease-expo);
}

.wholesale-card:hover .product-img {
    transform: scale(1.1);
    opacity: 1;
}

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

.product-category {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--wc-lime);
    letter-spacing: 2px;
    margin-bottom: 8px;
    font-weight: bold;
}

.product-name {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: #fff;
}

.product-specs {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
    font-size: 0.85rem;
    color: #94a3b8;
}

.product-specs li {
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-specs li::before {
    content: '•';
    color: var(--wc-lime);
}

.product-meta {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-moq {
    font-size: 0.8rem;
    color: #64748b;
}

.product-moq span {
    display: block;
    color: #fff;
    font-weight: bold;
    margin-top: 2px;
}

.product-price {
    font-size: 0.85rem;
    color: var(--wc-teal);
    font-weight: bold;
}

.quote-btn-wrapper {
    padding: 0 24px 24px;
}

.btn-quote {
    width: 100%;
    padding: 14px;
    border-radius: 14px;
    background: rgba(163, 207, 43, 0.1);
    border: 1px solid var(--wc-lime);
    color: var(--wc-lime);
    font-family: 'Cairo', sans-serif;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s var(--ease-expo);
}

.btn-quote:hover {
    background: var(--wc-lime);
    color: #021a1e;
}

/* Modal Styling */
.wholesale-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    background: rgba(0, 5, 5, 0.9);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s var(--ease-expo);
    padding: 20px;
}

.wholesale-modal.show {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: linear-gradient(135deg, #0a1f24, #051014);
    border: 1px solid rgba(163, 207, 43, 0.3);
    border-radius: 30px;
    width: 100%;
    max-width: 500px;
    padding: 40px;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: all 0.5s var(--ease-spring);
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.8), 0 0 50px rgba(163, 207, 43, 0.1);
}

.wholesale-modal.show .modal-content {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 25px;
    right: 25px;
    font-size: 1.5rem;
    color: #64748b;
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close:hover {
    color: #fff;
}

.modal-header h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    background: linear-gradient(90deg, #fff, var(--wc-lime));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.modal-header p {
    color: #94a3b8;
    font-size: 0.9rem;
    margin-bottom: 30px;
}

/* Form Styles */
.quote-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    color: var(--wc-lime);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 12px 16px;
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
    transition: all 0.3s;
}

.form-input:focus {
    border-color: var(--wc-lime);
    background: rgba(163, 207, 43, 0.05);
    outline: none;
}

.btn-submit-quote {
    background: var(--wc-lime);
    color: #021a1e;
    border: none;
    border-radius: 14px;
    padding: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
    font-family: 'Cairo', sans-serif;
    transition: transform 0.3s var(--ease-spring);
}

.btn-submit-quote:hover {
    transform: scale(1.02);
}

/* Success Message */
.quote-success {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

.success-icon {
    font-size: 4rem;
    color: var(--wc-lime);
    margin-bottom: 20px;
    animation: successScale 0.6s var(--ease-spring) forwards;
}

@keyframes successScale {
    0% {
        transform: scale(0);
    }

    100% {
        transform: scale(1);
    }
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .wholesale-grid {
        grid-template-columns: 1fr;
    }

    .wholesale-section {
        padding: 60px 0;
    }

    .modal-content {
        padding: 30px 20px;
    }
}