/* ── BREADCRUMB ── */
.breadcrumb {
    background: var(--gray-light);
    border-bottom: 1px solid var(--border);
    padding: 10px 5%;
}
.breadcrumb-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .8rem;
    color: var(--gray);
    flex-wrap: wrap;
}
.breadcrumb-inner a {
    color: var(--gray);
    text-decoration: none;
    transition: color .2s;
}
.breadcrumb-inner a:hover { color: var(--red); }
.breadcrumb-inner span[aria-current] { color: var(--black); font-weight: 500; }

/* ── PRODUCT PAGE ── */
.product-page {
    padding: 48px 5%;
}
.product-page-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* ── GALLERY ── */
.gallery-main {
    border-radius: 20px;
    overflow: hidden;
    background: var(--gray-light);
    border: 1.5px solid var(--border);
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 80px;
}
.gallery-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity .2s;
}
.gallery-placeholder {
    font-size: 5rem;
    color: #d1d5db;
}

.gallery-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    flex-wrap: wrap;
}
.gallery-thumb {
    width: 72px;
    height: 72px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid var(--border);
    background: var(--gray-light);
    cursor: pointer;
    padding: 0;
    transition: border-color .2s;
    flex-shrink: 0;
}
.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.gallery-thumb:hover { border-color: var(--gray); }
.gallery-thumb.active { border-color: var(--red); }

/* ── PRODUCT INFO ── */
.product-info-category {
    font-size: .75rem;
    font-weight: 700;
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: .8px;
    margin-bottom: 10px;
}

.product-info-name {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 900;
    letter-spacing: -.5px;
    line-height: 1.2;
    margin-bottom: 20px;
}

/* ── PRICE ── */
.product-price-block {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}
.product-price {
    font-size: 1.9rem;
    font-weight: 900;
    color: var(--black);
    letter-spacing: -.5px;
}
.product-price span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray);
    margin-left: 4px;
}
.product-price.no-price {
    font-size: 1rem;
    color: var(--gray);
    font-weight: 500;
}

/* ── VARIANTS ── */
.product-variants {
    margin-bottom: 20px;
}
.variants-label {
    font-size: .78rem;
    font-weight: 700;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: .6px;
    margin-bottom: 10px;
}
.variants-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.variant-btn {
    padding: 7px 16px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    background: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: .84rem;
    font-weight: 600;
    color: var(--black);
    cursor: pointer;
    transition: border-color .2s, background .2s, color .2s;
}
.variant-btn:hover {
    border-color: var(--red);
    color: var(--red);
}
.variant-btn.active {
    background: var(--red);
    border-color: var(--red);
    color: var(--white);
}

/* Concrete attribute badges (size / color on detail page) */
.product-concrete-attrs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}
.product-attr-badge {
    font-size: .78rem;
    font-weight: 600;
    color: var(--black);
    background: #f3f4f6;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 3px 10px;
}

/* Variant link button (navigates to sibling concrete) */
.variant-btn-link {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}
.variant-btn-link:hover {
    border-color: var(--red);
    color: var(--red);
}

/* ── SPECS ── */
.product-specs {
    background: var(--gray-light);
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 24px;
}
.spec-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    font-size: .85rem;
    gap: 16px;
}
.spec-row:last-child { border-bottom: none; }
.spec-key { color: var(--gray); flex-shrink: 0; }
.spec-val { font-weight: 600; color: var(--black); text-align: right; }

/* ── DESCRIPTION ── */
.product-description {
    margin-bottom: 28px;
}
.product-description-title {
    font-size: .78rem;
    font-weight: 700;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: .6px;
    margin-bottom: 10px;
}
.product-description-text {
    font-size: .9rem;
    color: var(--black);
    line-height: 1.75;
}

/* ── BACK BUTTON ── */
.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    font-size: .84rem;
    font-weight: 600;
    color: var(--gray);
    padding: 9px 16px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    transition: border-color .2s, color .2s;
}
.btn-back:hover {
    border-color: var(--red);
    color: var(--red);
}

/* ── RELATED ── */
.related-section {
    padding: 0 5% 80px;
}
.related-inner {
    max-width: 1200px;
    margin: 0 auto;
}
.related-inner .product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 28px;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    .product-page-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .gallery-main { position: static; }
    .related-inner .product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .product-page { padding: 32px 4%; }
    .related-section { padding: 0 4% 60px; }
    .related-inner .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .product-info-name { font-size: 1.4rem; }
}
