/* Flat Cutlery product-detail styles */

.topic-pill-list {
display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.topic-pill-list a {
padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--gold);
    text-decoration: none;
}

.product-detail-page {
padding-top: 28px;
}

.detail-hero {
display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
    gap: clamp(28px, 5vw, 64px);
    align-items: start;
}

.detail-main-image,
.detail-set-image,
.composition-image,
.related-card {
margin: 0;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 52px rgba(55, 43, 29, .06);
}

.detail-main-image {
overflow: hidden;
}

.detail-main-image img {
display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #fff;
    object-fit: contain;
}

.detail-thumbnails {
display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.detail-thumbnail {
display: block;
    min-width: 0;
    padding: 0;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 14px;
    background: var(--beige);
    cursor: pointer;
}

.detail-thumbnail:hover,
.detail-thumbnail:focus-visible,
.detail-thumbnail.is-active {
border-color: var(--gold);
}

.detail-thumbnail img {
display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

@media (min-width: 981px) {
.detail-hero {
--detail-hero-height: clamp(560px, 66vh, 640px);
        align-items: stretch;
}

.detail-media {
height: var(--detail-hero-height);
        min-width: 0;
}

.detail-media--with-gallery {
display: grid;
        grid-template-columns: 88px minmax(0, 1fr);
        grid-template-areas: "thumbnails main";
        gap: 16px;
}

.detail-main-image {
grid-area: main;
        height: 100%;
}

.detail-main-image img {
height: 100%;
        aspect-ratio: auto;
}

.detail-thumbnails {
grid-area: thumbnails;
        grid-template-columns: 1fr;
        grid-auto-rows: 88px;
        align-content: start;
        gap: 10px;
        height: 100%;
        max-height: none;
        margin-top: 0;
        overflow-x: hidden;
        overflow-y: auto;
        padding-right: 4px;
        scroll-snap-type: y proximity;
        scrollbar-width: thin;
}

.detail-thumbnail {
scroll-snap-align: start;
}

.detail-hero .detail-summary {
display: flex;
        flex-direction: column;
        height: var(--detail-hero-height);
        box-sizing: border-box;
        padding: 26px 28px;
}

.detail-hero .detail-summary h1 {
margin-bottom: 16px;
        font-size: clamp(30px, 3vw, 46px);
        line-height: 1.08;
}

.detail-summary .detail-facts {
grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0 18px;
}

.detail-summary .detail-facts div {
display: block;
        min-width: 0;
        padding: 9px 0;
}

.detail-summary .detail-facts dt {
margin-bottom: 3px;
        font-size: 12px;
        letter-spacing: .04em;
        text-transform: uppercase;
}

.detail-summary .detail-facts dd {
overflow-wrap: anywhere;
        font-size: 14px;
        line-height: 1.35;
}

.detail-summary .detail-actions {
margin-top: auto;
        padding-top: 18px;
}
}

.detail-set-image img,
.composition-image img {
display: block;
    width: 100%;
    max-height: 420px;
    object-fit: cover;
}

.detail-summary {
position: sticky;
    top: 92px;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: linear-gradient(135deg, #fff 0%, #fbf4ea 100%);
    box-shadow: 0 22px 70px rgba(55, 43, 29, .07);
}

.detail-summary h1 {
margin: 8px 0 20px;
}

.detail-facts {
display: grid;
    gap: 12px;
    margin: 0;
}

.detail-facts div {
display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
}

.detail-facts dt {
color: var(--muted);
}

.detail-facts dd {
margin: 0;
    font-weight: 700;
}

.detail-actions {
display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

@media (max-width: 900px) {
.detail-request-catalog {
display: none;
}
}

.detail-copy {
max-width: 920px;
}

.rich-copy img {
max-width: 100%;
    height: auto;
}

.rich-copy table {
width: 100%;
    border-collapse: collapse;
}

.rich-copy th,
.rich-copy td {
padding: 12px;
    border: 1px solid var(--line);
    text-align: left;
}

.spec-table {
width: 100%;
    overflow: hidden;
    border: 1px solid var(--line);
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 22px;
    background: #fff;
}

.spec-table th,
.spec-table td {
padding: 16px 18px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
border-bottom: 0;
}

.spec-table th {
width: 240px;
    color: var(--muted);
    font-weight: 400;
}

.detail-card-grid {
display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.related-grid {
display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.related-card {
overflow: hidden;
    padding-bottom: 18px;
}

.related-card img {
display: block;
    width: 100%;
    aspect-ratio: 1.15 / 1;
    object-fit: cover;
}

.related-card h3,
.related-card .button {
margin-right: 16px;
    margin-left: 16px;
}

.detail-cta {
display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    margin-top: 56px;
    padding: 32px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: linear-gradient(135deg, #fff 0%, var(--beige) 100%);
}

@media (max-width: 900px) {
.detail-hero,
    .detail-card-grid,
    .related-grid {
grid-template-columns: 1fr;
}

.detail-summary {
position: static;
}

.detail-thumbnails {
grid-template-columns: repeat(3, minmax(0, 1fr));
}
}

@media (max-width: 560px) {
.detail-facts div {
grid-template-columns: 1fr;
        gap: 4px;
}

.spec-table th,
    .spec-table td {
display: block;
        width: 100%;
}

.spec-table th {
padding-bottom: 4px;
}

.spec-table td {
padding-top: 4px;
}
}
