/* The shelf also follows WooCommerce tabs and theme-managed description markup. */
section.flpfb-pdp-shelf {
    --shelf-ink: #29382c;
    --shelf-serif: "Fargeland Book", Georgia, serif;
    box-sizing: border-box;
    clear: both;
    width: 100%;
    max-width: 1200px;
    margin: clamp(32px, 5vw, 70px) auto 0;
    padding-top: clamp(20px, 2.5vw, 32px);
    border-top: 1px solid #dbdbcf;
}
.flpfb-pdp-shelf .flpfb-pdp-section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: .5rem 1rem;
    margin-bottom: 1.15rem;
}
.flpfb-pdp-shelf h2.flpfb-pdp-section-title {
    margin: 0;
    font: 400 clamp(2rem, 3vw, 3.15rem)/1.13 var(--shelf-serif);
    color: var(--shelf-ink);
}
.flpfb-pdp-shelf a.flpfb-pdp-see-all { color: #254c36; text-underline-offset: .2em; }
.flpfb-pdp-shelf .flpfb-pdp-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(14px, 2.4vw, 30px);
}
.flpfb-pdp-shelf a.flpfb-pdp-card {
    display: grid;
    align-content: start;
    min-width: 0;
    gap: .45rem;
    color: var(--shelf-ink);
    text-decoration: none;
}
.flpfb-pdp-shelf .flpfb-pdp-card-image {
    display: grid;
    grid-template: minmax(0, 1fr) / minmax(0, 1fr);
    width: 100%;
    aspect-ratio: 8 / 5;
    overflow: hidden;
    border-radius: 9px;
    background: #f2ede2;
}
.flpfb-pdp-shelf .flpfb-pdp-card-image :is(img, picture) {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    min-height: 0;
    margin: 0;
    object-fit: contain;
}
.flpfb-pdp-shelf .flpfb-pdp-card-name {
    font: 400 clamp(1.15rem, 2vw, 1.85rem)/1.2 var(--shelf-serif);
    overflow-wrap: anywhere;
}
.flpfb-pdp-shelf .flpfb-pdp-card .price {
    color: #575e54;
    font: 1rem/1.35 "Fargeland Product Sans", system-ui, sans-serif;
}
.flpfb-pdp-shelf a:hover .flpfb-pdp-card-name { text-decoration: underline; }
@media (max-width: 700px) {
    .flpfb-pdp-shelf .flpfb-pdp-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .flpfb-pdp-shelf .flpfb-pdp-card-image { aspect-ratio: 1; }
}
