:root {
    --primary-color: #B61B14;
    --text-color: #000;
    --text-light: #707070;
    --bg-light: #f8f8f8;
    --spacing: 60px;
}

.artwork-breadcrumb a {
    font-size: 15px;
    font-style: normal;
    font-weight: 200;
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.artwork-breadcrumb a:hover {
    color: var(--primary-color);
}

.artwork-section-padding {
    padding-right: 70px;
    padding-left: 70px;
}

.artwork-gallery-column {
    flex-basis: 50% !important;
    padding-right: 20px;
}

.artwork-details {
	padding: 0 100px 0 100px;
}

.artwork-details-column {
    flex-basis: 35% !important;
    padding-left: 20px;
}

.artwork-half-column-left {
    flex-basis: 50%;
    padding-right: 20px;
}

.artwork-half-column-right {
    flex-basis: 50%;
    padding-left: 20px;
}

.artwork-full-column {
    flex-basis: 100%;
}

.gallery-thumbs-margin {
    margin-top: 20px;
}

.artwork-spacer {
    height: 1px;
}
/*
.single-oeuvre .artwork-title {
    font-size: 26px;
    font-style: italic;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0;
    color: var(--text-color);
}
*/
.artwork-artist-link {
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.5;
    color: inherit;
}

.artwork-artist-link:hover {
    color: var(--primary-color);
}

.artwork-meta-text {
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.5;
    margin-top: 20px;
}

.artwork-certificate {
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.5;
    margin-top: 20px;
}

.artwork-price-container {
    margin-top: 40px;
}

.artwork-price {
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    color: var(--text-color);
}

.artist-bio-section {
    background: #f8f8f8;
    padding: 80px 20px;
}

.artist-bio-content {
    font-size: 16px;
    line-height: 1.8;
    color: #707070;
}

.artwork-main {
    padding: 40px 0;
}

.artwork-details {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.swiper {
    width: 100%;
    height: 100%;
}

.gallerySwiper {
    max-height: 80vh;
}

.gallerySwiper .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallerySwiper .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 5px;
}

.galleryThumbs {
    height: 150px;
    padding: 10px 0;
}

.galleryThumbs .swiper-slide {
    opacity: 0.7;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease;
    border: 2px solid transparent;
}

.galleryThumbs .swiper-slide:hover {
    opacity: 0.9;
    transform: scale(1.05);
}

.galleryThumbs .swiper-slide-thumb-active {
    opacity: 1;
    border-color: var(--primary-color);
}

.galleryThumbs img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-pagination {
    position: relative;
    margin-top: 20px;
}

.swiper-pagination-bullet {
    background: var(--primary-color);
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    opacity: 1;
}

/* removed after swiper issue
body .gallerySwiper div.swiper-wrapper {
   flex-wrap: wrap;
}*/

.gallerySwiper:has(.swiper-wrapper > .swiper-slide:only-child) .swiper-button-prev,
.gallerySwiper:has(.swiper-wrapper > .swiper-slide:only-child) .swiper-button-next {
    display: none;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--primary-color) !important;
    width: 44px;
    height: 44px;
    margin-top: -22px;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px;
    color: var(--primary-color) !important;
}

.swiper-button-next,
.swiper-button-prev,
.swiper-button-next:after,
.swiper-button-prev:after {
    color: #B61B14 !important;
}

@media only screen and (max-width: 992px) {
   .artwork-details {
        padding: unset;
	}
	
	.artwork-main {
		padding: 0;
	}
}

@media (max-width: 768px) {
    .swiper-button-next,
    .swiper-button-prev {
        width: 36px;
        height: 36px;
        margin-top: -18px;
    }

    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 16px;
    }

    .artwork-details-column {
        padding-left: 0;
    }

    .artwork-half-column-left {
        padding-right: 0;
    }
}

@media (max-width: 480px) {
    .galleryThumbs {
        display: none !important;
    }

    .swiper-pagination {
        display: block !important;
        margin-top: 20px;
    }
}

@media (min-width: 481px) {
    .galleryThumbs {
        display: block !important;
    }
}

.artwork-main-image:not(.swiper-slide img),
.artwork-thumbnails {
    display: none;
}

.artwork-details h1 {
    font-family: 'Lato', sans-serif;
    font-size: 34px;
    font-style: italic;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 15px;
    color: var(--text-color);
}

.artwork-details a:hover {
    color: var(--primary-color);
}

.artwork-about {
    background-color: #f1f1f1;
    padding: 1rem;
    margin-bottom: 0 !important;
}

.artwork-about .section-title {
    font-size: 19px;
    margin-bottom: 15px;
}

.dots-separator {
    font-family: 'Lato', sans-serif;
    letter-spacing: 15px;
}

.apropos-table {
    overflow: hidden;
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    border-bottom: 3px solid #000;
}

.apropos-table td {
    font-size: 11px;
    line-height: 1;
    border: none;
	padding: 5px;
}

.apropos-table-label {
    font-weight: 600;
    color: var(--text-color);
    width: 40%;
}

.delivery-info {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 10px 0;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    margin-top: 0 !important;
}

.delivery-icon-container {
    flex-shrink: 0;
}

.delivery-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.delivery-text-container {
    flex: 1;
}

.delivery-text {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
    line-height: 1.2;
    margin: 0;
}

@media (max-width: 768px) {
    .delivery-info {
        flex-direction: column;
        text-align: center;
        gap: 0;
        padding: 0;
        margin-top: 30px;
    }

    .delivery-icon {
        width: 40px;
        height: 40px;
    }

    .delivery-text {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .delivery-info {
        padding: 20px;
        margin-top: 25px;
    }

    .delivery-icon {
        width: 50px;
        height: 50px;
    }

    .delivery-text {
        font-size: 13px;
    }
}


.artist-bio-section .bio-content h3 {
    font-size: 24px;
    margin: 30px 0 15px;
    color: var(--text-color);
}

.artist-bio-section .bio-content p {
    margin-bottom: 20px;
}

.artist-bio-section .bio-content a {
    color: var(--primary-color);
    text-decoration: none;
}

.artist-bio-section .bio-content a:hover {
    text-decoration: underline;
}

@media (max-width: 1200px) {
    .artwork-details {
        position: static;
        padding-top: 0;
    }
}

@media (max-width: 768px) {
    .artwork-section-padding {
        padding-right: 20px;
        padding-left: 20px;
    }

    .apropos-table {
        max-width: 100%;
        margin: 0 auto;
    }

    .leasing-block {
        max-width: 100%;
        margin: 0 auto;
        text-align: center;
    }

    .artwork-half-column-left {
        padding-right: 0;
    }

    .artwork-half-column-right {
        padding-left: 0;
    }
}

@media (max-width: 900px) {
    .artwork-main .wp-block-column {
        flex-basis: 100% !important;
        padding: 0 !important;
        margin-bottom: 40px;
    }

    .gallerySwiper {
        height: 50vh;
    }
}

@media (max-width: 600px) {
    .artwork-details h1 {
        font-size: 28px;
    }

    .gallerySwiper {
        height: 40vh;
    }

    .galleryThumbs {
        height: 120px;
    }

    .apropos-table td {
        padding: 5px 15px;
        font-size: 11px;
    }

    .apropos-table td:first-child {
        width: 40%;
    }

    .related-artworks-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
}

.leasing-block {
    position: relative;
    width: 100%;
    border-radius: 0;
    overflow: hidden;
    margin-top: 0;
    height: 100%;
}

.leasing-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: var(--leasing-bg-image);
    background-size: cover;
    background-position: center;
    filter: grayscale(100%);
}

.leasing-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(57, 65, 77, 0.8);
}

.leasing-content {
    position: relative;
    z-index: 1;
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

.leasing-subtitle {
    font-size: 16px;
    margin-bottom: 10px;
    color: white;
}

.leasing-title {
    font-size: 30px;
    font-weight: 100;
    letter-spacing: -2px;
    line-height: 1;
    text-transform: uppercase;
    margin: 0 0 30px 0;
    color: white;
}

.leasing-button-container {
    margin-top: 30px;
}

.leasing-button {
    display: inline-block;
    background-color: white;
    color: #2c3066;
    padding: 10px 15px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.leasing-button:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .leasing-block {
        min-height: 300px;
    }

    .leasing-subtitle {
        font-size: 12px;
    }

    .leasing-title {
        font-size: 30px;
    }

    .leasing-button {
        padding: 15px 18px;
        font-size: 10px;
    }

    .leasing-content {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .leasing-block {
        aspect-ratio: 1/1;
    }

    .leasing-title {
        font-size: 42px;
        letter-spacing: -1px;
    }

    .leasing-subtitle {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .artwork-main .wp-block-columns[style*="padding"] {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .artwork-details h1 {
        font-size: 24px;
    }

    .artwork-thumbnails .thumbnail {
        max-width: 45px;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.artwork-page section {
    animation: fadeInUp 0.6s ease-out;
}

.artwork-main-image img {
    background: #f0f0f0;
}

.fullscreen-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.fullscreen-modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.fullscreen-modal img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.fullscreen-modal.active img {
    transform: scale(1);
}

.fullscreen-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #fff;
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
    z-index: 10000;
    transition: opacity 0.3s ease;
}

.fullscreen-close:hover {
    opacity: 0.7;
}

.fullscreen-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 50px;
    font-weight: 300;
    cursor: pointer;
    z-index: 10000;
    padding: 20px;
    transition: opacity 0.3s ease;
    user-select: none;
}

.fullscreen-nav:hover {
    opacity: 0.7;
}

.fullscreen-prev {
    left: 40px;
}

.fullscreen-next {
    right: 40px;
}

.fullscreen-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 16px;
    font-weight: 300;
    z-index: 10000;
}

.gallerySwiper .swiper-slide img {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallerySwiper .swiper-slide img:hover {
    transform: scale(1.02);
}

.artwork-enquire, .artwork-whatsapp {
    padding-left: 20px;
}

@media (max-width: 768px) {
    .fullscreen-close {
        top: 20px;
        right: 20px;
        font-size: 30px;
    }

    .fullscreen-nav {
        font-size: 30px;
        padding: 10px;
    }

    .fullscreen-prev {
        left: 10px;
    }

    .fullscreen-next {
        right: 10px;
    }

    .fullscreen-modal img {
        max-width: 95%;
        max-height: 95%;
    }

    .fullscreen-counter {
        bottom: 20px;
        font-size: 14px;
    }
}

@media print {
    .artwork-breadcrumb,
    .related-artworks {
        display: none;
    }

    .artwork-main {
        page-break-inside: avoid;
    }
}