.product-breadcrumb {
    margin: 0 0 1.25rem;
}

.product-breadcrumb a {
    color: #0f766e;
    text-decoration: none;
}

.product-detail-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    gap: clamp(1.5rem, 4vw, 3.5rem);
    align-items: start;
}

.product-gallery-main {
    display: grid;
    min-height: 420px;
    overflow: hidden;
    place-items: center;
    background: linear-gradient(145deg, #f8fafc, #eef2f7);
    border: 1px solid #e2e8f0;
    border-radius: 1.25rem;
}

.product-gallery-main img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 620px;
    object-fit: contain;
}

.product-gallery-placeholder {
    color: #94a3b8;
    text-align: center;
}

.product-gallery-placeholder span {
    display: block;
    font-size: 4rem;
    line-height: 1;
}

.product-gallery-placeholder p {
    margin: .75rem 0 0;
}

.product-gallery-thumbnails {
    display: flex;
    gap: .75rem;
    margin-top: 1rem;
    padding: .15rem;
    overflow-x: auto;
}

.product-gallery-thumbnail {
    flex: 0 0 82px;
    width: 82px;
    height: 82px;
    padding: .25rem;
    overflow: hidden;
    background: #fff;
    border: 2px solid transparent;
    border-radius: .8rem;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.product-gallery-thumbnail:hover,
.product-gallery-thumbnail:focus-visible {
    border-color: #5eead4;
    outline: none;
    transform: translateY(-1px);
}

.product-gallery-thumbnail.is-active {
    border-color: #0f766e;
    box-shadow: 0 0 0 3px rgba(15, 118, 110, .13);
}

.product-gallery-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: .45rem;
}

.product-information {
    padding: clamp(.25rem, 2vw, 1.25rem) 0;
}

.product-code {
    display: inline-flex;
    padding: .35rem .7rem;
    color: #475569;
    background: #f1f5f9;
    border-radius: 999px;
    font-size: .86rem;
    font-weight: 600;
}

.product-information h1 {
    margin: 1rem 0;
    color: #0f172a;
    font-size: clamp(1.9rem, 4vw, 3rem);
    font-weight: 750;
    letter-spacing: -.035em;
    line-height: 1.08;
}

.product-price-block {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem .9rem;
    align-items: center;
    padding: 1rem 0 1.25rem;
    border-bottom: 1px solid #e2e8f0;
}

.product-final-price {
    color: #dc2626;
    font-size: clamp(1.7rem, 3vw, 2.25rem);
}

.product-original-price {
    color: #94a3b8;
    font-size: 1.05rem;
    text-decoration: line-through;
}

.product-discount {
    padding: .3rem .6rem;
    color: #166534;
    background: #dcfce7;
    border-radius: .55rem;
    font-size: .85rem;
    font-weight: 700;
}

.product-summary {
    margin: 1.35rem 0;
    color: #475569;
    font-size: 1.04rem;
    line-height: 1.75;
    white-space: pre-line;
}

.product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    align-items: end;
    margin-top: 1.5rem;
}

.product-add-cart-form {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    align-items: end;
}

.product-add-cart-form label {
    width: 100%;
    color: #475569;
    font-size: .8rem;
    font-weight: 700;
}

.product-add-cart-form input {
    width: 90px;
}

.product-description {
    margin-top: clamp(2.5rem, 6vw, 5rem);
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.product-description h2 {
    margin-bottom: 1.25rem;
    color: #0f172a;
    font-size: 1.6rem;
    font-weight: 700;
}

.product-description-content {
    color: #334155;
    line-height: 1.8;
}

.product-description-content img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 991.98px) {
    .product-detail-shell {
        grid-template-columns: 1fr;
    }

    .product-gallery-main {
        min-height: 340px;
    }
}

@media (max-width: 575.98px) {
    .product-gallery-main {
        min-height: 280px;
        border-radius: .9rem;
    }

    .product-gallery-thumbnail {
        flex-basis: 68px;
        width: 68px;
        height: 68px;
    }
}
