﻿:root {
    --ink: #111111;
    --muted: #666666;
    --line: #e4e0db;
    --surface: #faf9f7;
    --accent: #1a1a1a;
    --tag-bg: #f2efea;
    --primary: 'Poppins', sans-serif;
    --sans: 'DM Sans', sans-serif;
}

body {
    font-family: var(--sans);
    background: var(--surface);
    color: var(--ink);
}

/* ── Breadcrumb ─────────────────────────────────────────── */
.breadcrumb-nav a,
.breadcrumb-nav span {
    font-size: .75rem;
    color: var(--muted);
    letter-spacing: .04em;
    text-transform: uppercase;
}

    .breadcrumb-nav a:hover {
        color: var(--ink);
    }

.breadcrumb-nav .sep {
    margin: 0 .4rem;
    color: var(--line);
}

.breadcrumb-nav .current {
    color: var(--ink);
    font-weight: 500;
}

/* ── Gallery ────────────────────────────────────────────── */
.gallery-main {
    background: #f0ede8;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 2px;
}

    .gallery-main img {
        width: 85%;
        height: 85%;
        object-fit: contain;
        transition: transform .5s ease;
        filter: drop-shadow(0 12px 32px rgba(0,0,0,.18));
    }

    .gallery-main:hover img {
        transform: scale(1.03);
    }

.thumb-strip {
    display: flex;
    gap: .5rem;
    margin-top: .75rem;
}

.thumb {
    width: 72px;
    height: 72px;
    background: #ece9e3;
    border-radius: 2px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color .2s;
    flex-shrink: 0;
}

    .thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .thumb.active,
    .thumb:hover {
        border-color: var(--ink);
    }

/* ── Artist name ────────────────────────────────────────── */
.artist-name {
    font-family: var(--sans);
    font-size: .7rem;
    font-weight: 500;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--muted);
    text-decoration: none;
}

    .artist-name:hover {
        color: var(--ink);
    }

/* ── Work title ─────────────────────────────────────────── */
.work-title {
    font-family: var(--primary);
    font-size: clamp(1.75rem, 3vw, 2.6rem);
    /*font-weight: 600;*/
    line-height: 1.1;
    color: var(--ink);
    margin: .35rem 0 1.25rem;
}

/* ── Price ──────────────────────────────────────────────── */
.price-block .price {
    font-family: var(--primary);
    font-size: 1.55rem;
    /*font-weight: 600;*/
    letter-spacing: -.01em;
}

.price-block .tax-note {
    font-size: .72rem;
    color: var(--muted);
    margin-top: .1rem;
}

/* ── CTA Button ─────────────────────────────────────────── */
.btn-add {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    background: var(--ink);
    color: #fff;
    font-family: var(--sans);
    font-size: .72rem;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: .85rem 1.8rem;
    border: none;
    border-radius: 1px;
    cursor: pointer;
    transition: background .2s, transform .15s;
    width: 100%;
    justify-content: center;
    margin-top: 1.5rem;
}

    .btn-add:hover {
        background: #333;
        transform: translateY(-1px);
    }

    .btn-add:active {
        transform: translateY(0);
    }

    .btn-add svg {
        width: 14px;
        height: 14px;
        flex-shrink: 0;
    }

/* ── Divider ────────────────────────────────────────────── */
.rule {
    border: none;
    border-top: 1px solid var(--line);
    margin: 1.5rem 0;
}

/* ── Details accordion ──────────────────────────────────── */
.details-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    padding: .1rem 0;
}

    .details-header h2 {
        font-family: var(--sans);
        font-size: .8rem;
        font-weight: 500;
        letter-spacing: .08em;
        text-transform: uppercase;
    }

.chevron {
    transition: transform .3s;
}

.open .chevron {
    transform: rotate(180deg);
}

.details-grid {
    display: grid;
    grid-template-columns: 130px 1fr;
    row-gap: 1.1rem;
    margin-top: 1.2rem;
}

.detail-label {
    font-size: .72rem;
    font-weight: 500;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--muted);
    padding-top: .05rem;
}

.detail-value {
    font-size: .85rem;
    color: var(--ink);
    line-height: 1.55;
}

    .detail-value a {
        color: var(--ink);
        text-decoration: underline;
        text-underline-offset: 3px;
    }

        .detail-value a:hover {
            color: var(--muted);
        }

/* sizing guide inline link */
.sizing-guide {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    font-size: .72rem;
    color: var(--muted);
    text-decoration: none;
    margin-top: .25rem;
}

    .sizing-guide:hover {
        color: var(--ink);
    }
