/* all-application.css */

/* View Toggle */
.view-toggle .btn-group .btn {
    border-radius: 4px;
    padding: 0.375rem 0.75rem;
}

/* Category Pills */
.category-pills .btn {
    border-radius: 30px;
    padding: 8px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.category-pills .btn-outline-primary:hover {
    background-color: var(--bs-primary);
    color: white;
}

/* Product Card - Grid View (Default) */
.modern-product-card {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    background: #ffffff;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 8px 30px rgba(0,0,0,0.04);
}

.modern-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.modern-card-img-wrap {
    position: relative;
    overflow: hidden;
    background: transparent;
    padding: 30px 20px;
    text-align: center;
    border-bottom: 1px solid rgba(0,0,0,0.02);
}

.modern-card-img {
    max-height: 200px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.modern-product-card:hover .modern-card-img {
    transform: scale(1.05);
}

.modern-card-content {
    padding: 24px;
}

.modern-card-badge {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    display: inline-block;
    letter-spacing: 0.5px;
}

/* Badge Colors - Minimalist pastels */
.modern-card-badge-blue { background: rgba(25, 118, 210, 0.08); color: #1976d2; }
.modern-card-badge-red { background: rgba(211, 47, 47, 0.08); color: #d32f2f; }
.modern-card-badge-green { background: rgba(56, 142, 60, 0.08); color: #388e3c; }
.modern-card-badge-purple { background: rgba(123, 31, 162, 0.08); color: #7b1fa2; }
.modern-card-badge-orange { background: rgba(245, 124, 0, 0.08); color: #f57c00; }
.modern-card-badge-teal { background: rgba(0, 121, 107, 0.08); color: #00796b; }

.modern-card-title a {
    color: #1a202c;
    text-decoration: none;
    transition: color 0.2s;
    line-height: 1.4;
    font-size: 1.1rem;
}

.modern-card-title a:hover {
    color: var(--primary-color, #00aae9);
}

.modern-card-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #718096 !important;
}

.modern-card-btn {
    color: var(--primary-color, #00aae9);
    padding: 0;
    background: transparent;
    border-radius: 0;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
}

.modern-card-btn i {
    transition: transform 0.3s ease;
}

.modern-card-btn:hover {
    color: var(--primary-color, #00aae9);
    background: transparent;
}

.modern-card-btn:hover i {
    transform: translateX(5px);
}

/* List View Styles */
.list-view-active .modern-product-card {
    flex-direction: row;
}

.list-view-active .modern-card-img-wrap {
    width: 300px;
    flex-shrink: 0;
    margin: 20px;
    border-radius: 12px;
    background: rgba(0,0,0,0.01);
    border: 1px solid rgba(0,0,0,0.03);
}

.list-view-active .modern-card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.list-view-active .modern-card-btn {
    width: auto !important;
    display: inline-block !important;
    padding: 10px 25px;
}

.list-view-active .title-truncated,
.list-view-active .desc-truncated {
    display: none !important;
}

.list-view-active .title-full {
    display: inline !important;
}

.list-view-active .desc-full {
    display: -webkit-box !important;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-view-toggle {
    background-color: transparent !important;
    color: var(--primary-color, #00aae9) !important;
    border: 1px solid var(--primary-color, #00aae9) !important;
    transition: all 0.3s ease;
}

.btn-view-toggle:hover {
    background-color: rgba(0, 170, 233, 0.1) !important;
}

.btn-view-toggle.active {
    background-color: var(--primary-color, #00aae9) !important;
    color: white !important;
}


/* =========================================
   PREMIUM PRODUCT DETAIL PAGE
========================================= */
.premium-detail-page {
    background-color: #fbfbfd;
    color: #1d1d1f;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.premium-product-wrapper {
    min-height: calc(100vh - 200px);
}

.premium-image-container {
    background: #ffffff;
    border-radius: 28px;
    padding: 60px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.02);
}

.premium-main-img {
    max-height: 500px;
    object-fit: contain;
}

.premium-badge-overlay {
    position: absolute;
    top: 24px;
    left: 24px;
    z-index: 2;
}

.premium-play-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color, #00aae9);
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 50px;
    background: rgba(0, 170, 233, 0.08);
    transition: all 0.3s ease;
}

.premium-play-link:hover {
    background: var(--primary-color, #00aae9);
    color: #fff;
    transform: scale(1.02);
}

.premium-header .premium-title {
    font-size: 2.8rem;
    letter-spacing: -0.02em;
    color: #1d1d1f;
    line-height: 1.1;
}

.premium-description-short {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #515154;
    font-weight: 400;
}

.premium-action-box {
    background: #ffffff;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.btn-premium-primary {
    background: var(--primary-color, #00aae9);
    color: #fff;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 170, 233, 0.2);
}

.btn-premium-primary:hover {
    background: #0088cc;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 170, 233, 0.3);
}

.btn-premium-secondary {
    background: #f5f5f7;
    color: #1d1d1f;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.btn-premium-secondary:hover {
    background: #e8e8ed;
    color: #1d1d1f;
}

.premium-contact-info .premium-contact-link {
    color: #1d1d1f;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.2s;
    display: inline-flex;
    align-items: center;
}

.premium-contact-info .premium-contact-link:hover {
    color: var(--primary-color, #00aae9);
}

.premium-specs-section .premium-spec-list li {
    border-color: rgba(0,0,0,0.05) !important;
}

.premium-long-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #515154;
}

.premium-long-text p {
    margin-bottom: 1.5rem;
}

@media (max-width: 991px) {
    .premium-sticky-gallery {
        position: relative !important;
        top: 0 !important;
        margin-bottom: 2rem;
    }
    .premium-header .premium-title {
        font-size: 2.2rem;
    }
    .premium-image-container {
        padding: 40px 20px;
    }
}
