.shop-page {
    padding: 2rem 0 5rem 0;
}

.shop-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #e2d5c4;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.shop-header h1 {
    font-size: 2.8rem;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

.shop-subtitle {
    margin: 0;
    display: flex;
    justify-content: center;
    color: #e6e6e6;
    font-size: 1.05rem;
    width: 100%;
    padding: 0 15%;
}

.status-legend {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.legend-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #eeeeee;
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.art-card-shop {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #ece2d6;
    display: flex;
    flex-direction: column;
}

.art-card-shop:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.card-image {
    height: 360px;
    background-size: cover;
    background-position: center;
    background-color: #d1c7b8;
}

.shop-img-1,
.shop-img-2,
.shop-img-3,
.shop-img-4,
.shop-img-5,
.shop-img-6 {
    background-color: #d1c7b8;
}

.card-body {
    padding: 0.7rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    align-items: center;
}

.art-title {
    font-size: 1.4rem;
    font-weight: 600;
    font-family: 'Playfair Display', serif;
    color: #111111;
    margin: 0;
}

.art-material-shop {
    font-size: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #9b8a6a;
    margin-bottom: 0.8rem;
    border-left: 2px solid #cfb889;
    padding-left: 0.6rem;
}

.art-description-shop {
    color: #4a5a3e;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    flex: 1;
}

.art-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: #887e64;
    border-top: 1px solid #efe4d6;
    padding-top: 0.5rem;
    justify-content: space-between;
}

.status-badge {
    display: inline-block;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 20px;
    height: 20px;
}

.available-badge {
    background-color: #2c6e2c;
    color: white;
}

.reserved-badge {
    background-color: #d4a13e;
    color: #2c2a1f;
}

.sold-badge {
    background-color: #6b5b48;
    color: #f0ede5;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid #f0e7dd;
}

.art-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #181818;
    font-family: 'Playfair Display', serif;
}

.btn-modal {
    border: none;
    padding: 0.55rem 1.2rem;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.85rem;
    color: #2f3a23;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.btn-modal:hover:not(:disabled) {
    background-color: #b69862;
    color: white;
    transform: scale(0.97);
}

.btn-modal:disabled {
    background-color: #dad1c2;
    color: #8c8068;
    cursor: not-allowed;
    opacity: 0.7;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(3px);
    align-items: center;
    justify-content: center;
}

.modal-open {
    display: flex !important;
}

.modal-content {
    background-color: #fffcf7;
    margin: auto;
    padding: 0;
    border-radius: 32px;
    width: 90%;
    max-width: 600px;
    position: relative;
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.25);
    animation: modalFadeIn 0.2s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    right: 0.8rem;
    top: 0.5rem;
    font-size: 2rem;
    font-weight: 300;
    color: #9c8b6e;
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1;
}

.modal-close:hover {
    color: #4d3e2a;
}

.modal-body {
    padding: 2rem;
}

.modal-body h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: #1d1d1d;
    border-left: 5px solid #c5aa7a;
    padding-left: 1rem;
}

.modal-placeholder {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-primary:hover {
    cursor: pointer;
}

.modal-details-grid {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 0.5rem 0;
}

.modal-description-text {
    line-height: 1.65;
    color: #3a4730;
}

.modal-specs {
    background: #f8f4ed;
    padding: 0.5rem;
    border-radius: 16px;
    font-size: 0.8rem !important;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 0.2rem 0;
    border-bottom: 1px solid #e6ddcf;
    gap: 30px;
}

.product-modal-item {
    flex-direction: column;
    gap: 0;
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-label {
    font-weight: 600;
    color: #6f5b3e;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.spec-value {
    color: #2f4d2a;
    font-weight: 500;
}

.modal-price-section {
    margin: 0.5rem 0 0.5rem 0;
    padding: 0.5rem 0 0;
    border-top: 2px solid #e8ddcf;
    border-bottom: 2px solid #e8ddcf;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-price-large {
    font-size: 2rem;
    font-weight: 700;
    color: #3d642d;
    font-family: 'Playfair Display', serif;
    display: block;
    margin-bottom: 0.5rem;
}

.modal-status-text {
    font-size: 0.9rem;
    color: #7a6b50;
}

.status-available {
    color: #2c6e2c;
    font-weight: 700;
    margin-right: 0.4rem;
}

.status-reserved {
    color: #d4a13e;
    font-weight: 700;
    margin-right: 0.4rem;
}

.status-sold {
    color: #8b7a64;
    font-weight: 700;
    margin-right: 0.4rem;
}

.art-instagram {
    margin: 0.5rem 0;
}

.instagram-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: #9b8a6a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.instagram-link:hover {
    color: #e1306c;
}

.instagram-icon {
    font-size: 1rem;
}

.art-instagram a img {
    width: 20px;
}

#modalDescription,
#modalPrice,
#modalStatus {
    color: black;
    font-size: 0.8rem;
}

.modal-slider-container {
    margin-bottom: 1rem;
}

.slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 16px;
    background: #d1c7b8;
    aspect-ratio: 4 / 3;
}

.slider-track {
    display: flex;
    transition: transform 0.3s ease;
    height: 100%;
}

.slide {
    min-width: 100%;
    height: 100%;
    flex-shrink: 0;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    z-index: 10;
}

.slider-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

.prev-btn {
    left: 12px;
}

.next-btn {
    right: 12px;
}

.slider-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.2s ease;
}

.dot.active {
    background: white;
    width: 20px;
    border-radius: 4px;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.btn-primary {
    background-color: #2c6e2c;
    border: none;
    padding: 0.75rem 1.8rem;
    border-radius: 40px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: background 0.2s;
    width: 100%;
    font-size: 1rem;
    font-family: inherit;
}

.btn-primary:hover {
    background-color: #1e501e;
}

.card-image {
    height: 360px;
    overflow: hidden;
    background-color: #d1c7b8;
    position: relative;
}

.card-image .slider-container {
    height: 100%;
    border-radius: 0;
}

#modalPrice {
    font-size: 1.1rem !important;
}

.read-more-trigger {
    background: none;
    border: none;
    color: #2c2c2a;
    text-decoration: underline;
    cursor: pointer;
    font-size: inherit;
    font-family: inherit;
    padding: 0;
    margin-left: 0.25rem;
}

.read-more-trigger:hover {
    color: #9ca3af;
}

.description-short,
.description-full {
    line-height: 1.6;
}

.read-more-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.read-more-modal-content {
    background: white;
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    padding: 2rem;
    position: relative;
    overflow-y: auto;
}

.read-more-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #6b7280;
}

.read-more-modal-close:hover {
    color: #ef4444;
}

.read-more-text {
    line-height: 1.6;
    margin-top: 1rem;
    color: black;
}

#readMoreTitle {
    color: black;
    font-size: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .image-modal-prev {
        margin-left: 10px;
    }
    
    .image-modal-next {
        margin-right: 10px;
    }
    
    .image-modal-prev,
    .image-modal-next {
        font-size: 1.5rem;
        padding: 0.3rem 0.8rem;
    }
    
    .image-modal-close {
        top: 10px;
        right: 10px;
        font-size: 30px;
    }
}