/* AirForce — WC archives (management / accessories) and simple product page. Aluminium ground. */

.af-shop-head { padding: 28px 0 40px; max-width: 760px; }
.af-shop-head__desc { margin-top: 14px; }
.af-shop-head__desc p { margin: 0; }
.af-shop .af-main, .af-single-product .af-main { padding-bottom: var(--rhythm); }
.af-shop .af-product-grid { margin-bottom: 48px; }
.af-shop .af-page__content { max-width: 760px; margin-top: 48px; }

/* Product page */
.af-single-product .wrap { padding-top: 28px; }
.af-product { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px var(--gutter); align-items: start; padding-bottom: 24px; }
.af-product__media { min-width: 0; }
.af-product__stage { margin: 0; background: #fff; aspect-ratio: 4/3; display: grid; place-items: center; overflow: hidden; border-top: 2px solid var(--ink); }
.af-product__img { width: 90%; height: 90%; object-fit: contain; transition: opacity 200ms; }
.af-product__thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 8px; }
.af-product__thumb { padding: 0; border: 1px solid var(--hairline-light); background: #fff; aspect-ratio: 4/3; overflow: hidden; border-radius: 0; cursor: pointer; }
.af-product__thumb img { width: 100%; height: 100%; object-fit: contain; }
.af-product__thumb.is-active { border-color: var(--ink); box-shadow: inset 0 -2px 0 var(--champagne); }
.af-product__buy { background: #fff; padding: 26px 26px 28px; border-top: 2px solid var(--ink); position: sticky; top: calc(var(--header-h) + 16px); }
.af-product__buy .eyebrow { margin-bottom: 10px; }
.af-product__buy .eyebrow a { color: inherit; }
.af-product__title { margin: 0 0 6px; }
.af-product__sku { margin: 0 0 16px; font-size: var(--t-13); color: var(--steel-dark); letter-spacing: 0.06em; }
.af-product__short { margin: 0 0 18px; font-size: var(--t-17); line-height: 1.5; }
.af-product__short p { margin: 0 0 10px; }
.af-product__price-row { padding-top: 18px; border-top: 1px solid var(--hairline-light); margin-bottom: 18px; }
.af-product__price { text-align: left; }
.af-product__price .price-vat { text-align: left; }
.af-product__price-row .price-vat { text-align: left; }
.af-product__price del { color: var(--steel); font-size: 0.6em; margin-right: 8px; }
.af-product__price ins { text-decoration: none; }
.af-product__poa { margin: 0 0 14px; color: var(--steel-dark); font-size: var(--t-15); }
.af-product__buy form.cart { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: stretch; margin: 0; }
.af-product__buy form.cart .quantity .qty { width: 72px; height: 52px; text-align: center; padding: 0 8px; border: 1px solid var(--control-border); border-radius: var(--radius-control); font-family: var(--font-mono); }
.af-product__buy form.cart .single_add_to_cart_button { width: 100%; }
.af-product__buy form.cart > :not(.quantity):not(.single_add_to_cart_button) { grid-column: 1 / -1; }
.af-product__buy .buy-foot { margin: 18px 0 0; padding: 0; list-style: none; font-size: var(--t-13); color: var(--steel-dark); display: grid; gap: 6px; }
.af-product__buy .buy-foot li { padding-left: 16px; position: relative; }
.af-product__buy .buy-foot li::before { content: ""; position: absolute; left: 0; top: 7px; width: 6px; height: 6px; background: var(--champagne); box-shadow: inset 0 0 0 1px var(--brass); }
.af-product__buy .buy-foot a { color: var(--brass); font-weight: 500; }
.af-product-grid--compact .af-product-grid__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .af-product { grid-template-columns: 1fr; gap: 28px; } .af-product__buy { position: static; } .af-product-grid--compact .af-product-grid__list { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .af-product__buy { padding: 20px 18px 22px; } .af-product__thumbs { grid-template-columns: repeat(4, 1fr); } }

/* Category stand-in used where the manufacturer has never published a photograph
   of the part. Held back so it never reads as a product shot. */
.af-product-card__img.is-placeholder, .af-product__img.is-placeholder { opacity: 0.55; }

/* Specification and application tables inside an imported product description. */
.af-chapter__body .spec-list { max-width: 760px; }
.af-chapter__body.af-prose > table, .af-applications table { display: block; overflow-x: auto; }

/* Long manufacturer application lists, folded one make at a time. */
.af-applications { border-top: 1px solid var(--hairline-light); }
.af-applications:last-of-type { border-bottom: 1px solid var(--hairline-light); }
.af-applications > summary { cursor: pointer; padding: 14px 0; font-weight: 500; list-style-position: inside; }
.af-applications > summary::marker { color: var(--brass); }
.af-applications > summary:hover { color: var(--brass); }
.af-applications[open] > summary { border-bottom: 1px solid var(--hairline-light); }
.af-applications table { margin-block: 16px 24px; }
