:root {
    --gallery-bg: #1e1e1e;
    --gold-accent: #ffd700;
    --text-light: #eee;
    --text-muted: #bbbbbb;
    --border-light: rgba(255, 255, 255, 0.1);

    --navbar-height: 4.75rem;
    --page-horizontal-padding: 2rem;
}


html,
body {
    min-height: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;

    background-color: var(--gallery-bg);
    color: var(--text-light);
    overflow-x: hidden;
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: inherit;
}


.detail-section {
    flex: 1 0 auto;
    display: block;
    width: 100%;
    padding: calc(var(--navbar-height) + 2rem) var(--page-horizontal-padding) 4rem;
}

.detail-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;

    max-width: 1600px;
    width: 100%;
    margin: 0 auto;
}


.detail-image {
    flex: 1 1 60%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.detail-image img {
    width: 100%;
    max-width: 1500px;
    height: auto;
    max-height: 75vh;
    object-fit: contain;
}


.detail-info {
    flex: 1 1 35%;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    justify-content: flex-start;
}

.detail-info h2 {
    font-family: 'Lora', cursive;
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--gold-accent);
    margin: 0;
    text-transform: uppercase;
}

.price-line {
    margin: 0;
    padding: 0;
    line-height: 1.2;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-light);
}

.price-line span {
    font-weight: 600;
    color: var(--text-light);
}


.detail-meta {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.detail-meta p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.5rem;
}

.detail-meta p span {
    font-weight: 600;
    color: var(--text-light);
}


.detail-description,
.extra-info-box {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #ddd;
    text-align: justify;

}


.detail-description ul,
.detail-description ol,
.extra-info-box ul {
    padding-left: 0;
    margin-left: 0;
    list-style-position: inside;
}

.detail-description li,
.extra-info-box li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
    font-weight: 600;
}


.art-arrow-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    margin-top: 1.2rem;
}

.art-arrow-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    font-size: 1.8rem;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
}

.art-arrow-btn:hover {
    color: rgba(255, 255, 255, 0.7);
    transform: scale(1.1);
}



.image-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.image-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    transition: background 0.25s ease, transform 0.25s ease;
}

.image-dot.active {
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid #ffd700;
    transform: scale(1.25);
}


.add-to-cart-btn {
    width: 100%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 0.4rem;

    background-color: #ffd700;
    border: 1px solid #ffd700;
    border-radius: 1px;

    color: #000;
    font-size: 0.85rem;
    font-weight: bold;
    padding: 0.35rem 0.75rem;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.add-to-cart-btn:hover {
    background-color: #f0c200;
    transform: scale(1.04);
}

.add-to-cart-btn.sold {
    border-color: #aaa;
    background-color: #333;
    color: #aaa;
    cursor: not-allowed;
}

.add-to-cart-btn:disabled {
    background-color: #b0b0b0 !important;
    color: #666 !important;
    opacity: 1;
    cursor: not-allowed !important;
    border-color: #bfbfbf;
    pointer-events: none;
}

.add-to-cart-btn:disabled:hover {
    background-color: #c9c9c9 !important;
    color: #666 !important;
    box-shadow: none !important;
    transform: none !important;
}


.extra-info-box {
    width: 80%;
    background-color: var(--gallery-bg);
    margin: 2rem auto 4rem auto;
    padding: 2rem;
    position: relative;
    z-index: 20;
}

.extra-info-box h3 {
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
    color: var(--gold-accent);
    font-weight: 300;
}


.shipping-note {
    margin-top: 12px;
    font-size: 0.9rem;
    color: #8d8888;
    line-height: 1.5;
}

.shipping-note a {
    color: #3a6ea5;
    text-decoration: underline;
}

.sold-label {
    color: #fff;
    font-weight: 800;
    font-size: 1.3rem;
    margin-top: -6px;
    letter-spacing: 2px;
}


.sold-contact-btn {
    font-family: 'JetBrains Mono', monospace;
    display: inline-block;
    text-align: center;
    padding: 12px 20px;
    width: 100%;
    border-radius: 6px;
    background: #333;
    color: white;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
}

.sold-contact-btn:hover {
    background: #555;
}


.footer-nav {
    flex-shrink: 0;
    margin-top: auto;
}

/* Utility */

.hidden {
    display: none !important;
}



@media (min-width: 1200px) {
    :root {
        --navbar-height: 5rem;
    }

    .detail-section {
        padding: calc(var(--navbar-height) + 2.5rem) 3rem 4.5rem;
    }

    .detail-container {
        gap: 3.5rem;
    }

    .detail-info h2 {
        font-size: 1.8rem;
    }

    .detail-image img {
        max-height: 80vh;
    }
}



@media (max-width: 1199.98px) and (min-width: 992px) {
    :root {
        --navbar-height: 4.75rem;
        --page-horizontal-padding: 2rem;
    }

    .detail-section {
        padding: calc(var(--navbar-height) + 2rem) var(--page-horizontal-padding) 4rem;
    }

    .detail-container {
        gap: 2.5rem;
    }

    .detail-image img {
        max-height: 70vh;
    }
}



@media (max-width: 991.98px) and (min-width: 768px) {
    :root {
        --navbar-height: 4.25rem;
        --page-horizontal-padding: 1.75rem;
    }

    .skylock-navbar {
        position: static !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 0 !important;
    }

    .detail-section {
        padding: calc(var(--navbar-height) + 1.75rem) var(--page-horizontal-padding) 4.5rem;
    }

    .detail-container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .detail-info {
        max-width: 90%;
        align-items: center;
    }

    .detail-image img {
        max-height: 50vh;
    }

    .extra-info-box {
        width: 90%;
    }
}



@media (max-width: 767.98px) and (min-width: 576px) {
    :root {
        --navbar-height: 4rem;
        --page-horizontal-padding: 1.5rem;
    }

    .skylock-navbar {
        position: static !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 0 !important;
    }

    .detail-section {
        padding: calc(var(--navbar-height) + 1.5rem) var(--page-horizontal-padding) 4.5rem;
    }

    .detail-container {
        flex-direction: column;
        text-align: center;
        gap: 1.75rem;
    }

    .detail-info {
        max-width: 92%;
        align-items: center;
    }

    .detail-image img {
        max-height: 45vh;
    }

    .extra-info-box {
        width: 92%;
        padding: 1.6rem;
        margin: 1.5rem auto 3.5rem auto;
    }
}


@media (max-width: 575.98px) {
    :root {
        --navbar-height: 3.75rem;
        --page-horizontal-padding: 1.25rem;
    }

    .skylock-navbar {
        position: static !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 0 !important;
    }

    .detail-section {
        padding: calc(var(--navbar-height) + 1.25rem) var(--page-horizontal-padding) 4.25rem;
    }

    .detail-container {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .detail-image img {
        max-height: 40vh;
    }

    .detail-info {
        max-width: 95%;
        align-items: center;
    }

    .detail-info h2 {
        font-size: 1.8rem;
    }

    .price-line {
        font-size: 1.2rem;
    }

    .extra-info-box {
        width: 95%;
        padding: 1.3rem;
        margin: 1.5rem auto 3rem auto;
    }
}


@media (max-width: 400px) {
    :root {
        --page-horizontal-padding: 1rem;
    }

    .detail-section {
        padding: calc(var(--navbar-height) + 1rem) var(--page-horizontal-padding) 4rem;
    }

    .detail-image img {
        max-height: 35vh;
    }

    .detail-info h2 {
        font-size: 1.7rem;
    }

    .extra-info-box {
        width: 96%;
        padding: 1.1rem;
    }
}


@media (max-width: 900px) {
    .skylock-links {
        z-index: 99999 !important;
        position: absolute !important;
    }
}


.detail-size-line {
    margin-top: 0.25rem;
    font-size: 0.95rem;
    color: #ddd;
}


.sold-info-text {
    font-family: "Segoe UI Symbol", "Segoe UI", sans-serif;
    color: #8d8888;
}

.sold-info-text.hidden {
    display: none !important;
}
