/* ==========================================================================
   /collections — Collections listing page
   ========================================================================== */

/* Hero */
.collections-hero {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
}
.collections-hero .container {
    padding: 56px 15px 48px;
}
.collections-hero-badge {
    background: #f5fad4;
    color: #111827;
    font-size: 13px;
    padding: 5px 16px;
    border-radius: 20px;
    font-weight: 600;
}
.collections-stamp {
    vertical-align: middle;
    border-style: none;
    margin-bottom: 10px;
    margin-top: 15px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.collections-hero h1 {
    font-size: 2.8rem !important;
    font-weight: 800 !important;
    color: #111827 !important;
    letter-spacing: -0.02em !important;
    margin: 0 !important;
    padding-top: 4px;
}
.collections-hero-desc {
    max-width: 640px;
    font-size: 1.1rem;
    color: #6b7280;
    line-height: 1.7;
    margin-top: 16px;
}

/* Grid section */
.collections-grid-section {
    background: #f9fafb;
    min-height: 60vh;
}
.collections-grid-section > .container {
    padding: 40px 15px 60px;
}
.collections-count {
    font-size: 0.9rem;
    color: #6b7280;
}

/* Empty state */
.collections-empty {
    background: white;
    border-radius: 16px;
    border: 2px dashed #d1d5db;
    padding: 80px 24px;
}
.collections-empty-icon {
    width: 64px;
    height: 64px;
    background: #f3f4f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.collections-empty h3 {
    font-size: 1.15rem !important;
    font-weight: 600 !important;
    color: #111827 !important;
}
.collections-empty p {
    color: #6b7280;
    font-size: 0.95rem;
    max-width: 380px;
    margin: 8px auto 0;
}

/* Card */
.collection-card {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    background: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}
.collection-card-link:hover .collection-card {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

/* Card preview image */
.collection-card-preview {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}
.collection-hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.collection-card-link:hover .collection-hero-img {
    transform: scale(1.05);
}
.collection-card-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.collection-card-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(transparent, rgba(0,0,0,0.4));
    pointer-events: none;
}

/* Card badges (over image) */
.collection-card-badges {
    position: absolute;
    bottom: 12px;
    left: 12px;
    display: flex;
    gap: 8px;
}
.collection-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(255,255,255,0.9);
    color: #111827;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}

/* Card body */
.collection-card-body {
    padding: 24px;
}
.collection-card-body h3 {
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    color: #111827 !important;
    margin-bottom: 8px !important;
    transition: color 0.2s;
}
.collection-card-link:hover h3 {
    color: #4d5e0f !important;
}
.collection-card-link:hover .collection-card-view {
    color: #4d5e0f;
}
.collection-card-desc {
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.collection-card-footer {
    padding-top: 8px;
    gap: 4px;
}
.collection-card-prices {
    gap: 8px;
}
.collection-card-price {
    font-size: 1.4rem;
    font-weight: 800;
    color: #111827;
}
.collection-card-price-strike {
    font-size: 0.85rem;
    color: #9ca3af;
    text-decoration: line-through;
}
.collection-card-savings {
    font-size: 11px;
    background: var(--brand-lime);
    color: var(--brand-dark);
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 600;
}
.collection-card-view {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #111827;
}
