.printive-gallery-container {
    font-family: inherit;
    max-width: 1200px;
    margin: 20px auto;
    color: #1F2937;
}

.printive-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-family: inherit;
    font-weight: 400;
    margin-bottom: 18px;
    border-bottom: 2px solid #E5E7EB;
    padding-bottom: 12px;
    color: #111827;
}

/* 🌟 FEATURED SHOWCASE GRID (MODERN TIGHT LAYOUT) */
.printive-featured-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin-bottom: 50px;
}

@media (max-width: 1024px) {
    .printive-featured-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .printive-featured-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Make the last odd item span 2 columns and maintain 1:1 proportion */
    .printive-featured-grid .feat-card:last-child:nth-child(odd) {
        grid-column: span 2;
        aspect-ratio: 1;
        /* Menjaga proporsi resolusi asli (persegi) */
    }
}

.feat-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background: #F3F4F6;
    aspect-ratio: 1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.feat-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feat-card:hover .feat-img {
    transform: scale(1.08);
}

.feat-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 12px 12px 12px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}

.feat-card:hover .feat-overlay {
    opacity: 1;
}

.btn-remix {
    display: flex;
    align-items: center;
    padding: 6px 14px;
    background: #334155;
    color: #FFFFFF;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 13px;
    border-radius: 20px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(51, 65, 85, 0.4);
}

.btn-remix:hover {
    background: #1e293b;
    color: #FFFFFF;
    transform: scale(1.05);
}

.btn-remix svg {
    margin-right: 6px;
}

/* Mobile touch devices fix (no hover) */
@media (hover: none),
(max-width: 768px) {
    .feat-overlay {
        opacity: 1 !important;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 100%);
    }
}

/* Orders Table / Grid */
.printive-orders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}

.printive-order-card {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}

.printive-order-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.1);
}

.printive-order-header {
    background: #F9FAFB;
    padding: 12px 16px;
    border-bottom: 1px solid #E5E7EB;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.order-title {
    font-weight: 700;
    font-size: 15px;
    color: #111827;
}

.order-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 99px;
    background: #D1FAE5;
    color: #065F46;
}

.printive-order-body {
    padding: 16px;
    display: flex;
    gap: 16px;
    flex: 1;
}

.order-thumb {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid #E5E7EB;
}

.order-meta {
    font-size: 13px;
    color: #4B5563;
    line-height: 1.6;
}

.swatch-inline {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid #9CA3AF;
    vertical-align: middle;
    margin-left: 4px;
}

.printive-order-footer {
    padding: 12px 16px;
    background: #F8FAFC;
    border-top: 1px solid #E5E7EB;
    text-align: right;
}

.btn-order-action {
    display: inline-block;
    padding: 8px 14px;
    background: #334155;
    color: #FFF;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    border-radius: 6px;
    transition: background 0.2s;
}

.btn-order-action:hover {
    background: #045cb4;
    color: #FFF;
}

/* Artwork Gallery Tiles */
.printive-artworks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.artwork-tile {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    background: #F3F4F6;
    aspect-ratio: 1;
}

.artwork-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.artwork-tile:hover .artwork-img {
    transform: scale(1.05);
}

.artwork-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 100%);
    color: #FFF;
    font-size: 11px;
    opacity: 0;
    transition: opacity 0.2s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.artwork-tile:hover .artwork-overlay {
    opacity: 1;
}

.btn-delete-tile {
    background: rgba(220, 38, 38, 0.9);
    color: #FFF;
    border: none;
    border-radius: 4px;
    padding: 4px 6px;
    cursor: pointer;
    font-size: 11px;
}