/* ============================================
   COLLECTIONS PAGE — collections.css
   ============================================ */

/* Active nav link */
.active-page .link-underline {
    width: 100% !important;
    background-color: var(--accent);
}

/* ===== PAGE HERO ===== */
.collections-hero {
    position: relative;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
    color: white;
}

.collections-hero-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, #1a1423 0%, #3d2a5a 50%, #6a4c93 100%);
    z-index: 0;
}

.collections-hero-blobs { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; overflow: hidden; }
.collections-hero-blobs .blob-1 { width: 280px; height: 280px; background: rgba(255,158,0,0.25); top: -80px; right: 10%; filter: blur(50px); border-radius: 50%; position: absolute; animation: float 12s infinite ease-in-out; }
.collections-hero-blobs .blob-2 { width: 200px; height: 200px; background: rgba(184,184,255,0.2); bottom: -60px; left: 8%; filter: blur(40px); border-radius: 50%; position: absolute; animation: float 18s infinite ease-in-out reverse; }

.collections-hero-content { position: relative; z-index: 2; padding: 0 20px; }

.collections-hero-tag {
    display: inline-block;
    background: rgba(255,158,0,0.2);
    border: 1px solid rgba(255,158,0,0.5);
    color: var(--accent);
    padding: 5px 18px;
    border-radius: 30px;
    font-size: 0.82rem;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.collections-hero-content h1 { font-family: 'Montserrat', sans-serif; font-size: 3rem; margin-bottom: 12px; text-shadow: 0 2px 15px rgba(0,0,0,0.4); color: white; }
.collections-hero-content h1 span { font-family: 'Samarkan', cursive; color: var(--accent); }
.collections-hero-sub { font-family: 'Montserrat', sans-serif; font-size: 1rem; opacity: 0.85; margin-bottom: 20px; max-width: 500px; margin-left: auto; margin-right: auto; }

.breadcrumb { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 0.82rem; font-family: 'Montserrat', sans-serif; opacity: 0.75; }
.breadcrumb a { color: white; text-decoration: none; transition: color 0.3s ease; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb i { font-size: 0.65rem; }
.breadcrumb span { color: var(--accent); font-weight: 600; }

/* ===== PAINTING SHOWCASE SECTION ===== */
.painting-showcase {
    background: white;
    padding: 70px 0;
    overflow: hidden;
}

.painting-showcase-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 60px;
    align-items: center;
}

/* Left text */
.showcase-text { }

.showcase-brand {
    display: block;
    font-family: 'Samarkan', cursive;
    font-size: 1.4rem;
    color: rgba(106,76,147,0.45);
    letter-spacing: 4px;
    margin-bottom: 14px;
    text-transform: uppercase;
}

.showcase-dot { color: var(--accent); }

.showcase-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 18px;
}



.multicolor-hover {
    color: var(--primary);
    position: relative;
    display: inline-block;
    padding-bottom: 4px;
	font-family: 'Samarkan', cursive;
}

.multicolor-hover::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
    transition: width 0.4s ease;
}

.multicolor-hover:hover::after { width: 100%; }

.showcase-text p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    color: var(--gray-text);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 420px;
}

.showcase-stats {
    display: flex;
    gap: 28px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.showcase-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    color: var(--gray-text);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Right slideshow */
.showcase-slideshow {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(106,76,147,0.18);
    height: 460px;
    cursor: pointer;
}

.showcase-track {
    display: flex;
    height: 100%;
    transition: transform 0.7s cubic-bezier(0.77,0,0.175,1);
}

.showcase-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.showcase-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 8s ease;
    display: block;
}

.showcase-slide.active-showcase img { transform: scale(1.04); }

/* Info overlay at bottom */
.showcase-slide-info {
    position: absolute;
    bottom: 0; left: 0;
    width: 100%;
    padding: 30px 24px 20px;
    background: linear-gradient(to top, rgba(26,20,35,0.9) 0%, transparent 100%);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
}

.showcase-slide.active-showcase .showcase-slide-info {
    opacity: 1;
    transform: translateY(0);
}

.showcase-slide-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: white;
    font-weight: 700;
}

.showcase-slide-price {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--accent);
    background: rgba(255,255,255,0.12);
    padding: 5px 14px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}

/* Showcase arrows */
.showcase-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 42px; height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    border: 2px solid rgba(255,255,255,0.3);
    color: white;
    font-size: 0.9rem;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(6px);
}

.showcase-arrow:hover { background: var(--primary); border-color: var(--primary); transform: translateY(-50%) scale(1.1); }
.showcase-prev { left: 16px; }
.showcase-next { right: 16px; }

/* Showcase dots */
.showcase-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 8px;
}

.showcase-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.showcase-dot.active { background: var(--accent); width: 22px; border-radius: 4px; }

/* ===== FILTER BAR ===== */
.filter-bar-section {
    background: white;
    border-bottom: 1px solid #ede8f5;
    border-top: 1px solid #ede8f5;
    position: sticky;
    top: 80px;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.filter-bar-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.filter-tabs-wrap { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.filter-label { font-family: 'Montserrat', sans-serif; font-size: 0.82rem; font-weight: 600; color: var(--gray-text); white-space: nowrap; display: flex; align-items: center; gap: 5px; }
.filter-tabs { display: flex; gap: 6px; flex-wrap: wrap; }

.filter-tab {
    padding: 6px 16px;
    border-radius: 20px;
    border: 1.5px solid #ddd;
    background: transparent;
    color: #555;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.filter-tab:hover { border-color: var(--primary); color: var(--primary); }
.filter-tab.active { background: var(--primary); border-color: var(--primary); color: white; box-shadow: 0 3px 10px rgba(106,76,147,0.3); }

/* Sort wrap */
.sort-wrap { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.products-count {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.82rem;
    color: var(--gray-text);
    font-weight: 600;
    white-space: nowrap;
    background: #f0ebfa;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1.5px solid #e0d6f0;
}

/* Custom dropdown */
.custom-sort-dropdown { position: relative; z-index: 200; }

.sort-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: white;
    border: 1.5px solid #d5c8eb;
    border-radius: 25px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--primary);
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(106,76,147,0.08);
    user-select: none;
}

.sort-trigger:hover { background: #f7f3ff; border-color: var(--primary); box-shadow: 0 4px 14px rgba(106,76,147,0.15); transform: translateY(-1px); }
.sort-trigger.open { background: var(--primary); border-color: var(--primary); color: white; box-shadow: 0 4px 14px rgba(106,76,147,0.3); }
.sort-icon { font-size: 0.78rem; }
.sort-chevron { font-size: 0.7rem; transition: transform 0.3s ease; margin-left: 2px; }
.sort-trigger.open .sort-chevron { transform: rotate(180deg); }

.sort-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 200px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(106,76,147,0.18), 0 2px 8px rgba(0,0,0,0.08);
    border: 1px solid #ede6f8;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.97);
    transform-origin: top right;
    transition: all 0.25s cubic-bezier(0.25,0.8,0.25,1);
    z-index: 300;
}

.sort-menu.open { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.sort-menu-header { padding: 12px 16px 8px; font-family: 'Montserrat', sans-serif; font-size: 0.7rem; font-weight: 700; color: #aaa; text-transform: uppercase; letter-spacing: 1.2px; border-bottom: 1px solid #f0ebfa; }

.sort-option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 11px 16px;
    background: transparent;
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark);
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}

.sort-option i { width: 16px; font-size: 0.78rem; color: var(--primary); opacity: 0.6; transition: opacity 0.2s ease; }
.sort-option:hover { background: #f7f3ff; color: var(--primary); padding-left: 20px; }
.sort-option:hover i { opacity: 1; }
.sort-option.active { background: linear-gradient(90deg, #f0e8ff, #fdf6ff); color: var(--primary); border-left: 3px solid var(--primary); }
.sort-option.active i { opacity: 1; }

/* ===== PRODUCTS GRID ===== */
.collections-grid-section { padding: 50px 0 70px; background: var(--secondary); }
.collections-container { max-width: 1300px; margin: 0 auto; padding: 0 24px; }

.collections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
}

/* Product card */
.col-card {
    background: white;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.07);
    transition: all 0.35s ease;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    animation: cardFadeIn 0.5s ease forwards;
}

.col-card:hover { transform: translateY(-10px); box-shadow: 0 16px 36px rgba(0,0,0,0.12); }

@keyframes cardFadeIn { to { opacity: 1; transform: translateY(0); } }

.col-card-img-wrap { height: 270px; overflow: hidden; position: relative; }
.col-card-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; display: block; }
.col-card:hover .col-card-img { transform: scale(1.06); }

.col-card-badge { position: absolute; top: 13px; left: 13px; padding: 4px 12px; border-radius: 20px; font-size: 0.72rem; font-weight: 700; font-family: 'Montserrat', sans-serif; text-transform: uppercase; letter-spacing: 0.5px; }
.col-card-badge.badge-new         { background: var(--primary); color: white; }
.col-card-badge.badge-sale        { background: #e53935; color: white; }
.col-card-badge.badge-bestseller  { background: var(--accent); color: var(--dark); }
.col-card-badge.badge-limited     { background: var(--dark); color: white; }

.col-card-section-tag { position: absolute; top: 13px; right: 13px; background: rgba(255,255,255,0.9); color: var(--primary); font-size: 0.68rem; font-weight: 700; font-family: 'Montserrat', sans-serif; padding: 3px 10px; border-radius: 10px; text-transform: capitalize; backdrop-filter: blur(4px); }

.col-card-overlay { position: absolute; bottom: 0; left: 0; width: 100%; padding: 14px 16px; background: linear-gradient(to top,rgba(26,20,35,0.85),transparent); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.35s ease; }
.col-card:hover .col-card-overlay { opacity: 1; }

.col-card-visit { display: inline-flex; align-items: center; gap: 7px; color: white; font-family: 'Montserrat', sans-serif; font-size: 0.85rem; font-weight: 700; text-decoration: none; border: 2px solid rgba(255,255,255,0.7); padding: 8px 20px; border-radius: 25px; transition: all 0.25s ease; background: rgba(255,255,255,0.1); backdrop-filter: blur(4px); }
.col-card-visit:hover { background: var(--accent); border-color: var(--accent); color: var(--dark); }

.col-card-body { padding: 18px 18px 20px; }
.col-card-category { font-size: 0.72rem; font-weight: 700; font-family: 'Montserrat', sans-serif; color: var(--accent); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 5px; display: block; }
.col-card-title { font-family: 'Playfair Display', serif; font-size: 1.08rem; color: var(--dark); margin-bottom: 4px; font-weight: 700; line-height: 1.3; }
.col-card-artist { font-family: 'Montserrat', sans-serif; font-size: 0.8rem; color: var(--gray-text); margin-bottom: 10px; display: block; }
.col-card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; }
.col-card-price { font-family: 'Montserrat', sans-serif; font-size: 1.05rem; font-weight: 700; color: var(--primary); }

.col-card-wishlist { width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid #e0d6f0; background: transparent; color: #bbb; font-size: 0.9rem; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.25s ease; }
.col-card-wishlist:hover, .col-card-wishlist.wishlisted { background: #fff0f0; border-color: #e57373; color: #e53935; }

/* No results */
.no-results { text-align: center; padding: 80px 20px; color: var(--gray-text); }
.no-results i { font-size: 3rem; color: #ccc; display: block; margin-bottom: 16px; }
.no-results p { font-size: 1.1rem; margin-bottom: 24px; font-family: 'Montserrat', sans-serif; }

/* ===== ARTIST CTA ===== */
.artist-cta-banner { position: relative; background: linear-gradient(135deg,var(--dark) 0%,var(--dark-light) 100%); padding: 60px 24px; text-align: center; overflow: hidden; color: white; }
.artist-cta-content { position: relative; z-index: 2; max-width: 700px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.artist-cta-text h2 { font-family: 'Playfair Display', serif; font-size: 2.2rem; margin-bottom: 10px; color: white; }
.artist-cta-text p { font-family: 'Montserrat', sans-serif; font-size: 1rem; opacity: 0.85; }
.artist-cta-blobs { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; opacity: 0.15; pointer-events: none; }
.artist-cta-footer { margin-top: 25px; padding: 12px; background: rgba(255,255,255,0.05); border-radius: 8px; }
.artist-cta-footer p { margin-bottom: 4px; font-size: 0.85rem; opacity: 0.8; }

.artist-cta-text .multicolor-hover {
    color: orange;
    position: relative;
    display: inline-block;
    padding-bottom: 4px;
	font-family: 'Samarkan', cursive;
}

.artist-cta-text .multicolor-hover::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
    transition: width 0.4s ease;
}

.artist-cta-text .multicolor-hover:hover::after { width: 100%; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
    .painting-showcase-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
    .showcase-text h2 { font-size: 2.2rem; }
}

@media (max-width: 992px) {
    .filter-bar-section { top: 70px; }
    .painting-showcase-inner { grid-template-columns: 1fr; gap: 40px; }
    .showcase-slideshow { height: 380px; }
    .showcase-text p { max-width: 100%; }
    .collections-hero-content h1 { font-size: 2.4rem; }
}

@media (max-width: 768px) {
    .collections-hero { height: 280px; }
    .collections-hero-content h1 { font-size: 2rem; }
    .painting-showcase { padding: 50px 0; }
    .painting-showcase-inner { padding: 0 20px; }
    .showcase-slideshow { height: 300px; }
    .showcase-text h2 { font-size: 1.9rem; }
    .showcase-stats { gap: 20px; }
    .stat-num { font-size: 1.6rem; }
    .filter-bar-container { flex-direction: column; align-items: flex-start; gap: 12px; }
    .sort-wrap { width: 100%; justify-content: space-between; }
    .collections-grid { grid-template-columns: repeat(auto-fill, minmax(240px,1fr)); gap: 20px; }
    .artist-cta-text h2 { font-size: 1.8rem; }
}

@media (max-width: 480px) {
    .collections-hero { height: 240px; }
    .collections-hero-content h1 { font-size: 1.7rem; }
    .showcase-slideshow { height: 260px; }
    .showcase-text h2 { font-size: 1.6rem; }
    .filter-tab { padding: 5px 12px; font-size: 0.75rem; }
    .collections-grid { grid-template-columns: 1fr; }
    .col-card-img-wrap { height: 240px; }
}