/* Art Details Layout (Gallery + Sidebar) */
.art-details-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 4rem;
    align-items: start;
    /* Sidebar content defines height basis */
    margin-bottom: 6rem;
}

@media (max-width: 1200px) {
    .art-details-grid {
        grid-template-columns: 1fr 350px;
        gap: 2rem;
    }
}

@media (max-width: 991px) {
    .art-details-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

.art-section-spacing {
    padding: 6rem 0;
}

.art-section-spacing--reduced-top {
    padding-top: 1rem !important;
}

.art-section-spacing--no-top {
    padding-top: 2rem !important;
}

.art-section-spacing--reduced-bottom {
    padding-bottom: 1rem !important;
}

.art-section-spacing--small-bottom {
    padding-bottom: 3rem !important;
}

/* Artist Profile Section */
.art-artist-profile {
    background-color: #f9f8f6;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.art-artist-premium-grid {
    display: grid;
    grid-template-columns: 0.8fr 2.5fr;
    gap: 80px;
    align-items: center;
}



.art-artist-img-frame {
    position: relative;
    padding-bottom: 120%;
    /* Portrait ratio */
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

@media (max-width: 991px) {
    .art-artist-premium-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .art-artist-img-frame {
        width: 150px !important;
        height: 150px !important;
        margin: 0 auto;
        padding-bottom: 0 !important;
    }
}



.art-artist-img-main {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.art-artist-img-frame:hover .art-artist-img-main {
    transform: scale(1.05);
}

.art-artist-img-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e5e7eb;
    color: #9ca3af;
    font-size: 4rem;
}

.art-artist-details-box {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.art-artist-label-tag {
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: #8b7355;
    display: inline-block;
}

.art-artist-name-display {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    line-height: 1.1;
    color: #1a1a1a;
    margin: 0;
}

@media (max-width: 768px) {
    .art-artist-name-display {
        font-size: 2.5rem;
    }
}

.art-artist-biography {
    font-family: 'Outfit', sans-serif;
    font-size: 1.125rem;
    line-height: 1.7;
    color: #4b5563;
    max-width: 1000px;
}

@media (max-width: 991px) {
    .art-artist-biography {
        margin: 0 auto;
    }
}

.art-artist-social-wrap {
    margin-top: 1rem;
}

.art-artist-insta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    background-color: #1a1a1a;
    color: #fff !important;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.art-artist-insta-btn:hover {
    background-color: transparent;
    color: #1a1a1a !important;
    border-color: #1a1a1a;
    transform: translateY(-2px);
}

/* Hero Links Styling */
.art-hero__category-link {
    text-decoration: none;
    display: inline-block;
}

.art-hero__category-link:hover .art-hero__category {
    background: var(--admin-primary);
    color: white;
    border-color: var(--admin-primary);
}

.art-hero__artist-link {
    color: inherit;
    text-decoration: none;
    position: relative;
    transition: opacity 0.3s ease;
}

.art-hero__artist-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: width 0.3s ease;
}

.art-hero__artist-link:hover {
    opacity: 0.8;
}

.art-hero__artist-link:hover::after {
    width: 100%;
}

.art-hero__short-desc {
    font-family: 'Outfit', sans-serif;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 500px;
    margin: 1.5rem auto 0;
    line-height: 1.6;
    font-style: italic;
}

/* Video Section Refinement */
.art-video-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.art-video-label {
    display: block;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    color: #8b7355;
    /* Match art-artist-label-tag */
    margin-bottom: 1.25rem;
    font-weight: 500;
}

.art-video-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: #1a1a1a;
    /* Black as requested */
    font-weight: 400;
    margin: 0;
}

.art-story__title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: #1a1a1a;
    font-weight: 400;
    margin-bottom: 2rem;
    text-align: center;
}

/* Transparency Section Styling */
.art-transparency-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    text-align: center;
}

.art-transparency-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.art-transparency-icon {
    font-size: 2.25rem;
    color: #8b7355;
    margin-bottom: 0.5rem;
}

.art-transparency-label {
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: #1a1a1a;
    margin: 0;
}

.art-transparency-text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #6b7280;
    margin: 0;
    max-width: 300px;
}

@media (max-width: 991px) {
    .art-transparency-grid {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .art-transparency-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
}

/* Art Short Description / Story Intro */
.art-story-intro {
    padding: 60px 0;
    text-align: center;
}

.art-quote-icon {
    font-size: 2rem;
    color: var(--admin-primary);
    opacity: 0.2;
    margin-bottom: 20px;
}

.art-short-desc {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    line-height: 1.5;
    font-style: italic;
    color: #1a1a1a;
    margin: 0 auto 30px;
    max-width: 800px;
    border: none;
    padding: 0;
}

.art-quote-divider {
    width: 60px;
    height: 1px;
    background-color: var(--admin-primary);
    margin: 0 auto;
    opacity: 0.3;
}

@media (max-width: 768px) {
    .art-story-intro {
        padding: 40px 0;
    }

    .art-short-desc {
        font-size: 1.35rem;
        padding: 0 15px;
    }
}

/* Specific Gallery Layout for Art Products */
.product-page--art .art-visuals {
    height: 100%;
}

.product-page--art .product-gallery {
    display: flex !important;
    flex-direction: row;
    /* Desktop: Thumbnails on left, main on right */
    gap: 1.5rem;
    padding: 0;
    height: 100% !important;
}

.product-page--art .product-gallery__thumbs {
    width: 80px !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 0 !important;
    margin: 0 !important;
}

.product-page--art .gallery-thumbs {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    overflow-y: auto;
    flex: 1;
    scrollbar-width: none;
    /* Hide scrollbar for Firefox */
}

.product-page--art .gallery-thumbs::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar for Chrome/Safari */
}

.product-page--art .thumb-item {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.product-page--art .gallery-main {
    flex: 1 !important;
    height: 100% !important;
    position: relative !important;
    background-color: #f9f8f6 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.product-page--art .gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Ensure controls are visible over the cover image */
.product-page--art .gallery-nav-btn {
    z-index: 10;
}

@media (max-width: 768px) {
    .product-page--art .product-gallery {
        flex-direction: column !important;
        /* Main image (last in HTML) will be moved below if we use column? No, Main is LAST in HTML. Thumbs are FIRST. */
        /* Wait, HTML is [Thumbs, Main]. So column puts [Thumbs, Main]. */
        /* If we want [Main, Thumbs], we need column-reverse. */
        flex-direction: column-reverse !important;
        height: auto !important;
    }

    .product-page--art .product-gallery__thumbs {
        width: 100% !important;
        height: auto !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 0.5rem !important;
    }

    .product-page--art .gallery-thumbs {
        flex-direction: row;
        overflow-x: auto;
        height: 80px;
        /* Fixed height for thumb row on mobile */
    }

    .product-page--art .gallery-main {
        height: 400px;
    }

    /* Discrete Mobile Arrows */
    .product-page--art .js-scroll-thumbs {
        background: transparent !important;
        border: none !important;
        color: #9ca3af !important;
        width: 24px !important;
        height: 24px !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-shadow: none !important;
    }

    .product-page--art .js-scroll-thumbs.hidden {
        display: none !important;
    }

    .product-page--art .js-scroll-thumbs:hover {
        color: #1a1a1a !important;
    }

    .art-video-title,
    .art-story__title {
        font-size: 2.25rem;
    }

    .art-section-spacing {
        padding: 3rem 0;
    }
}