/* =====================================================
   ECONOMY SECTION - Carousel with Navigation
   ===================================================== */

.glamzn-economy-section {
    padding: 10px 0 40px 0;
    background: #fff;
}

.dark .glamzn-economy-section {
    background: #0f172a;
}

/* Header */
.glamzn-economy-header {
    padding: 0 16px;
    margin-bottom: 24px;
}

.glamzn-economy-title-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 3px solid: #16a34a;
}

.glamzn-economy-title-bar i {
    font-size: 20px;
    color: #16a34a;
}

.glamzn-economy-title-bar h2 {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

.glamzn-economy-title-bar a {
    color: #1e293b;
    text-decoration: none;
    transition: color 0.3s;
}

.glamzn-economy-title-bar a:hover {
    color: #16a34a;
}

.dark .glamzn-economy-title-bar a {
    color: #fff;
}

/* Subcategories */
.glamzn-economy-subcats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.glamzn-economy-subcat {
    font-size: 12px;
    font-weight: 500;
    color: #64748b;
    text-decoration: none;
    padding: 4px 12px;
    border-radius: 20px;
    background: #f1f5f9;
    transition: all 0.3s;
    cursor: pointer;
}

.glamzn-economy-subcat:hover {
    background: #16a34a;
    color: #fff;
}

.glamzn-economy-subcat.active {
    background: #16a34a;
    color: #fff;
    font-weight: 600;
}

.dark .glamzn-economy-subcat {
    background: #1e293b;
    color: #94a3b8;
}

.dark .glamzn-economy-subcat:hover,
.dark .glamzn-economy-subcat.active {
    background: #16a34a;
    color: #fff;
}

/* Carousel Wrapper */
.glamzn-economy-carousel-wrapper {
    position: relative;
    padding: 0 60px;
}

/* Carousel Container */
.glamzn-economy-carousel {
    overflow: hidden;
    position: relative;
}

/* Carousel Track */
.glamzn-economy-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 16px;
}

/* Navigation Buttons */
.glamzn-economy-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #16a34a, #15803d);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.4);
}

.glamzn-economy-nav:hover {
    background: linear-gradient(135deg, #15803d, #166534);
    box-shadow: 0 6px 16px rgba(22, 163, 74, 0.6);
    transform: translateY(-50%) scale(1.1);
}

.glamzn-economy-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: translateY(-50%) scale(1);
}

.glamzn-economy-nav i {
    font-size: 24px;
}

.glamzn-economy-nav-prev {
    left: 0;
}

.glamzn-economy-nav-next {
    right: 0;
}

/* Economy Card */
.glamzn-economy-card {
    min-width: calc(25% - 15px);
    flex-shrink: 0;
    background: #f8fafc;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.glamzn-economy-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(22, 163, 74, 0.2);
}

.dark .glamzn-economy-card {
    background: #1e293b;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.dark .glamzn-economy-card:hover {
    box-shadow: 0 12px 28px rgba(22, 163, 74, 0.3);
}

.glamzn-economy-card a {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* Card Image */
.glamzn-economy-card-img {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.glamzn-economy-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.glamzn-economy-card:hover .glamzn-economy-card-img img {
    transform: scale(1.1);
}

/* Badge */
.glamzn-economy-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #16a34a, #15803d);
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.4);
}

/* Card Content */
.glamzn-economy-card-content {
    padding: 16px;
}

.glamzn-economy-date {
    font-size: 11px;
    color: #64748b;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 8px;
}

.dark .glamzn-economy-date {
    color: #94a3b8;
}

.glamzn-economy-date i {
    font-size: 11px;
}

.glamzn-economy-card-content h3 {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 10px 0;
    color: #1e293b;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s;
}

.glamzn-economy-card:hover h3 {
    color: #16a34a;
}

.dark .glamzn-economy-card-content h3 {
    color: #fff;
}

.glamzn-economy-card-content p {
    font-size: 13px;
    line-height: 1.5;
    color: #64748b;
    margin: 0 0 12px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dark .glamzn-economy-card-content p {
    color: #94a3b8;
}

/* Meta */
.glamzn-economy-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 11px;
    color: #64748b;
    font-weight: 500;
}

.dark .glamzn-economy-meta {
    color: #94a3b8;
}

.glamzn-economy-meta i {
    font-size: 11px;
    margin-right: 3px;
}

.glamzn-economy-time,
.glamzn-economy-views {
    display: flex;
    align-items: center;
}

.glamzn-economy-time {
    color: #16a34a !important;
    font-weight: 600;
}

.dark .glamzn-economy-time {
    color: #4ade80 !important;
}

/* =====================================================
   RESPONSIVE - Large Desktop
   ===================================================== */

@media (max-width: 1400px) {
    .glamzn-economy-card {
        min-width: calc(33.333% - 14px);
    }
}

/* =====================================================
   RESPONSIVE - Tablet
   ===================================================== */

@media (max-width: 1024px) {
    .glamzn-economy-carousel-wrapper {
        padding: 0 50px;
    }

    .glamzn-economy-nav {
        width: 45px;
        height: 45px;
    }

    .glamzn-economy-nav i {
        font-size: 20px;
    }

    .glamzn-economy-card {
        min-width: calc(33.333% - 14px);
    }

    .glamzn-economy-card-img {
        height: 180px;
    }
}

/* =====================================================
   RESPONSIVE - Mobile
   ===================================================== */

@media (max-width: 768px) {
    .glamzn-economy-section {
        padding: 16px 0 30px 0;
    }

    .glamzn-economy-header {
        padding: 0 12px;
        margin-bottom: 20px;
    }

    .glamzn-economy-title-bar h2 {
        font-size: 18px;
    }

    .glamzn-economy-title-bar i {
        font-size: 18px;
    }

    .glamzn-economy-subcats {
        gap: 6px;
    }

    .glamzn-economy-subcat {
        font-size: 11px;
        padding: 3px 10px;
    }

    .glamzn-economy-carousel-wrapper {
        padding: 0 45px;
    }

    .glamzn-economy-nav {
        width: 40px;
        height: 40px;
    }

    .glamzn-economy-nav i {
        font-size: 18px;
    }

    .glamzn-economy-track {
        gap: 12px;
        padding: 0 12px;
    }

    .glamzn-economy-card {
        min-width: calc(50% - 6px);
    }

    .glamzn-economy-card-img {
        height: 160px;
    }

    .glamzn-economy-card-content {
        padding: 12px;
    }

    .glamzn-economy-card-content h3 {
        font-size: 14px;
    }

    .glamzn-economy-card-content p {
        font-size: 12px;
    }

    .glamzn-economy-meta {
        font-size: 10px;
        gap: 10px;
    }
}

/* =====================================================
   RESPONSIVE - Small Mobile
   ===================================================== */

@media (max-width: 480px) {
    .glamzn-economy-section {
        padding: 14px 0 24px 0;
    }

    .glamzn-economy-header {
        padding: 0 10px;
        margin-bottom: 16px;
    }

    .glamzn-economy-carousel-wrapper {
        padding: 0 40px;
    }

    .glamzn-economy-nav {
        width: 35px;
        height: 35px;
    }

    .glamzn-economy-nav i {
        font-size: 16px;
    }

    .glamzn-economy-track {
        gap: 10px;
        padding: 0 10px;
    }

    .glamzn-economy-card {
        min-width: calc(100% - 0px);
    }

    .glamzn-economy-card-img {
        height: 180px;
    }

    .glamzn-economy-card-content h3 {
        font-size: 14px;
    }

    .glamzn-economy-subcats {
        gap: 4px;
    }

    .glamzn-economy-subcat {
        font-size: 10px;
        padding: 3px 8px;
    }
}
