/* Pilot media and the two collection pages. Other storefront views retain their layouts. */
.nahi-pilot-gallery {
    display: grid;
    gap: 12px;
    padding: clamp(10px, 2vw, 22px);
    background: #e8dfcf;
}
.cp07f-product main>.wp-block-columns>.cp07f-product-object:has(.nahi-pilot-gallery) {
    padding: 0;
    position: static;
    min-width: 0;
}
.nahi-pilot-gallery .nahi-pilot-frames {
    min-width: 0;
}
.nahi-pilot-gallery .nahi-pilot-frame {
    margin: 0;
    scroll-margin-top: 30px;
}
.nahi-pilot-frame[hidden] { display: none !important; }
.nahi-pilot-frame > a {
    display: block;
    position: relative;
    aspect-ratio: 4 / 3;
    background: #d7c8b0;
    overflow: hidden;
}
.nahi-pilot-frame img {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.nahi-pilot-frame.is-bottle img { object-fit: contain; }
.nahi-pilot-frame figcaption {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 8px 0;
    color: #574637;
    font-size: 12px;
    line-height: 1.45;
}
.nahi-pilot-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 0;
}
.nahi-pilot-thumbs a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px 4px 4px;
    min-height: 48px;
    border: 1px solid #7b6c5d;
    text-decoration: none;
    color: #3d3227;
    font-size: 11px;
    line-height: 1.35;
}
.nahi-pilot-thumbs a[aria-current="true"] {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--ivory);
}
.nahi-pilot-thumbs img {
    width: clamp(30px, 4vw, 44px);
    height: clamp(30px, 4vw, 44px);
    object-fit: cover;
    background: #d7c8b0;
}
.nahi-pilot-thumbs a:first-child img { object-fit: contain; }
.nahi-pilot-gallery a:focus-visible,
.cp08e-collection a:focus-visible,
.cp08e-collection button:focus-visible {
    outline: 3px solid #945332;
    outline-offset: 3px;
}
.cp07f-product main:has(.nahi-pilot-gallery) .cp08-technical-sheet {
    background: #e8dfcf;
    border-top: 3px solid #875237;
}
.cp08e-collection { --cp08e-rust: #875237; }
.cp08e-collection .page-intro { max-width: 1160px; }
.cp08e-collection .page-intro h1 {
    font: 500 clamp(52px, 8vw, 111px)/.96 var(--serif);
    letter-spacing: -.05em;
    margin: 18px 0 22px;
    max-width: 900px;
    text-wrap: balance;
}
.cp08e-collection .page-intro > p:not(.eyebrow) { font-size: 15px; line-height: 1.7; }
.cp08e-collection .category-nav a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    text-underline-offset: 4px;
}
.cp08e-collection .cp08e-tastes {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 25px 0 40px;
    border-block: 1px solid var(--line);
}
.cp08e-collection .cp08e-taste { min-width: 0; border-top: 3px solid var(--cp08e-rust); padding: 15px 19px 7px; }
.cp08e-collection .cp08e-taste + .cp08e-taste { border-left: 1px solid var(--line); }
.cp08e-taste:nth-child(2) { --cp08e-rust: #697048; }
.cp08e-taste:nth-child(3) { --cp08e-rust: #6b4841; }
.cp08e-taste h3 { font: 500 clamp(28px, 3.15vw, 43px)/1 var(--serif); margin: 0 0 10px; }
.cp08e-taste p { font-size: 13px; line-height: 1.65; }
.cp08e-taste a { display: inline-flex; min-height: 44px; align-items: center; text-underline-offset: 3px; }
.cp08e-use {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    background: #111c21;
    color: var(--ivory);
}
.cp08e-use figure { margin: 0; min-width: 0; height: 100%; }
.cp08e-use figure img { display: block; width: 100%; height: 100%; min-height: 270px; object-fit: cover; }
.cp08e-use-copy { align-self: center; padding: clamp(22px, 4.5vw, 65px); }
.cp08e-use-copy h2 { font: 500 clamp(36px, 5vw, 68px)/.96 var(--serif); margin: 14px 0 18px; }
.cp08e-use-copy p:not(.eyebrow) { max-width: 40ch; font-size: 14px; line-height: 1.75; }
.cp08e-use-copy .eyebrow { color: #edbd90; }
.cp08e-use-copy .wp-block-button__link {
    display: inline-flex;
    align-items: center;
    margin-top: 12px;
    min-height: 46px;
    background: var(--ivory);
    color: var(--navy);
    border: 1px solid var(--ivory);
    font-size: 13px;
}
.cp08e-use-copy a:focus-visible { outline-color: #edbd90; }
.cp08e-collection .cp08e-guide-heading { font: 500 clamp(38px, 5vw, 65px)/1 var(--serif); margin: 36px 0 16px; }
.cp08e-collection .product-card { scroll-margin-top: 22px; }
.cp08e-collection .specimen-number { display: none; }
.cp08e-collection .bottle-stage {
    overflow: hidden;
    height: clamp(178px, 25vw, 290px);
}
.cp08e-collection .bottle-stage > figure.wp-block-image {
    transform: none;
    transition: none;
}
.cp08e-collection .product-link a { min-height: 44px; align-items: center; }
@media (max-width: 780px) {
    .cp08e-collection .cp08e-tastes, .cp08e-use { grid-template-columns: minmax(0, 1fr); }
    .cp08e-collection .cp08e-taste + .cp08e-taste { border-left: none; }
    .cp08e-use figure img { height: auto; min-height: 0; aspect-ratio: 4 / 3; }
    .cp08e-use-copy { padding: 26px 22px 31px; }
    .nahi-pilot-thumbs { gap: 6px; }
    .nahi-pilot-thumbs a { font-size: 10px; }
}
