/* ============================================
   Autre - Stands, detaileS & Mini pages
   Responsive & Professional UI/UX
   ============================================ */

/* ============ Stands List ============ */
.autre-stands-page {
    padding: 25px 15px 50px;
}

.autre-stands-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
    gap: 15px;
}

.autre-stands-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2d3436;
}

.autre-stands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.autre-stand-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(226, 63, 234, 0.12);
    overflow: hidden;
    transition: all 0.3s ease;
}

.autre-stand-card:hover {
    box-shadow: 0 8px 30px rgba(226, 63, 234, 0.22);
    transform: translateY(-4px);
}

.autre-stand-card-img {
    height: 200px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.autre-stand-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.autre-stand-card-body {
    padding: 18px;
}

.autre-stand-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: #2d3436;
    margin-bottom: 8px;
    min-height: 2.5em;
}

.autre-stand-card-badge {
    font-size: 0.8rem;
    margin-bottom: 12px;
}

.autre-stand-card-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.autre-stand-card-actions .btn {
    flex: 1;
    min-width: 90px;
    border-radius: 8px;
    padding: 8px 12px;
}

.autre-sidebar {
    margin-top: 20px;
}

.autre-sidebar .panel {
    border-radius: 12px;
    overflow: hidden;
}

.autre-sidebar img.img-responsive {
    max-width: 100%;
    height: auto;
}

@media (max-width: 991px) {
    .autre-stands-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
}

@media (max-width: 576px) {
    .autre-stands-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .autre-stand-card-img {
        height: 180px;
    }
}

/* ============ detaileS (Stand Detail) ============ */
.autre-detail-page {
    padding: 25px 15px 50px;
}

.autre-detail-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 30px;
    align-items: start;
}

@media (max-width: 992px) {
    .autre-detail-wrapper {
        grid-template-columns: 1fr;
    }
}

.autre-detail-image {
    position: sticky;
    top: 20px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.autre-detail-image img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
}

.autre-detail-content {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
}

.autre-detail-item {
    padding: 16px 24px;
    border-bottom: 1px solid #f1f3f5;
}

.autre-detail-item:last-child {
    border-bottom: none;
}

.autre-detail-label {
    font-weight: 600;
    color: #636e72;
    display: block;
    margin-bottom: 4px;
}

.autre-detail-value {
    color: #2d3436;
}

.autre-detail-actions {
    padding: 24px;
    background: #f8f9fa;
}

.autre-detail-actions .btn {
    padding: 12px 24px;
    border-radius: 8px;
}

/* ============ Mini/Index (Supplier mini site) ============ */
.mini-page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 15px 40px;
}

.mini-header-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px 0;
}

.mini-header-logo {
    flex-shrink: 0;
}

.mini-header-logo img {
    max-height: 120px;
    width: auto;
}

.mini-header-info {
    flex: 1;
    min-width: 200px;
}

.mini-header-info h1 {
    font-size: 1.75rem;
    margin: 0 0 10px 0;
}

.mini-profile-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    padding: 24px;
    margin-bottom: 24px;
}

.mini-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.mini-product-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.mini-product-card:hover {
    box-shadow: 0 8px 25px rgba(226, 63, 234, 0.2);
}

.mini-product-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.mini-product-card-body {
    padding: 16px;
}

.mini-enquire-form {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    padding: 30px;
    margin-top: 40px;
}

@media (max-width: 768px) {
    .mini-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .mini-product-card img {
        height: 150px;
    }
}

@media (max-width: 480px) {
    .mini-products-grid {
        grid-template-columns: 1fr;
    }
}
