/* The brand banner is a signature. Its background ends before the photographs. */
#tab-description .agfi-card {margin-bottom:1.35rem}
#tab-description .agfi-card__head {align-items:center}
#tab-description .agfi-card__head p {max-width:88ch;text-align:start}
#tab-description .ag-catalogue-galerie {margin:0 0 clamp(1.6rem,3vw,2.5rem)}
#tab-description .ag-catalogue-vues {
    display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(.8rem,2vw,1.75rem);
    align-items:start;background:#f6f5f2;border-radius:14px;padding:clamp(1rem,3vw,2rem);isolation:isolate;
}
#tab-description .ag-catalogue-vues[data-count="1"] {grid-template-columns:minmax(0,1fr)}
#tab-description .ag-catalogue-vues[data-count="3"] {grid-template-columns:repeat(3,minmax(0,1fr))}
#tab-description .ag-catalogue-vues figure {display:block;margin:0;min-width:0;max-width:none;background:transparent;border:0;box-shadow:none}
#tab-description .ag-catalogue-vues img.ag-catalogue-photo {
    display:block;width:100%!important;height:auto!important;aspect-ratio:4/3;object-fit:contain!important;
    margin:0 auto!important;border:0;border-radius:0;box-shadow:none;background:transparent!important;mix-blend-mode:multiply;
}
#tab-description .ag-catalogue-vues[data-count="1"] img {max-width:42rem}
#tab-description .ag-catalogue-vues img[src*="/media/emx5-"] {mix-blend-mode:normal}
#tab-description .ag-catalogue-vues figcaption {margin:.5rem 0 0;padding:0;text-align:start;font-family:inherit;font-size:.9rem;font-weight:500;line-height:1.45;color:#384047}
#tab-description .ag-catalogue-documents {display:flex;flex-wrap:wrap;gap:1rem;margin-top:.6rem}
#tab-description .ag-catalogue-documents a {display:inline-block;min-height:44px;line-height:44px;text-underline-offset:.25em;color:#23272b;font-weight:650}
#tab-description .ag-catalogue-documents a:focus-visible {outline:2px solid currentColor;outline-offset:3px}
#tab-description .agp-edition .agp-photo-frame {border:0;background:#f6f5f2;isolation:isolate}
#tab-description .agp-edition .agp-photo-frame img {background:transparent!important;mix-blend-mode:multiply}
#tab-description .agp-edition .agp-closeup img {mix-blend-mode:normal}
/* Both layers of WooCommerce's hover photo share one surface. Badges and logos keep their own rendering. */
body .wc-block-product .wc-block-components-product-image,
body .wc-block-product .wc-block-components-product-image > a,
body .ag-guitar-family-photo,body .agds-best-seller-card__visual,body .agbp-card-img {
    background-color:#f7f6f4!important;isolation:isolate;
}
body .wc-block-product .wc-block-components-product-image > a > img,
body .ag-guitar-family-photo > img,body .agds-best-seller-card__visual > img,
body .agbp-card-img > img {
    background:transparent!important;object-fit:contain!important;mix-blend-mode:multiply;
}
body .single-product .woocommerce-product-gallery__image {isolation:isolate}
body.single-product .woocommerce-product-gallery__image:not(:has(.zoomImg:hover)) {background:#faf9f7}
body.single-product .woocommerce-product-gallery__image > a > img:not(.zoomImg) {background:transparent!important;mix-blend-mode:multiply!important}
body .ag-gc-studio {background:#f7f6f4!important;isolation:isolate}
body img.ag-gc-packshot {object-fit:contain!important;background:transparent!important;mix-blend-mode:multiply!important}
body img.ag-gc-cutout {background:transparent!important;mix-blend-mode:normal!important}
@media(max-width:650px) {
    #tab-description .agfi-card__head {align-items:flex-start}
    #tab-description .ag-catalogue-vues,#tab-description .ag-catalogue-vues[data-count="3"] {grid-template-columns:minmax(0,1fr);gap:1.15rem}
    #tab-description .ag-catalogue-vues figure + figure {padding-top:1.1rem;border-top:1px solid #dcd9d2}
    #tab-description .ag-catalogue-vues figcaption {font-size:.88rem}
}

#tab-description .ag-catalogue-video {margin:1.25rem 0 2rem}
#tab-description .ag-catalogue-video h3 {margin:0 0 .7rem;line-height:1.25;text-align:start}
#tab-description .ag-catalogue-ecran {position:relative;aspect-ratio:16/9;background:#17191b;overflow:hidden;border-radius:12px}
#tab-description .ag-catalogue-ecran iframe {position:absolute;inset:0;width:100%;height:100%;border:0}
#tab-description .ag-catalogue-video p {margin:.5rem 0 0;font-size:.9rem}
body .agds-catalogue-card-link figure {background:#f7f6f4!important;isolation:isolate}
body .agds-catalogue-card-link figure img,body ul.products li.product .woocommerce-loop-product__link img {background-color:#f7f6f4!important;object-fit:contain!important;mix-blend-mode:multiply}
.ag-catalogue-landing-video .ag-catalogue-video{margin:2rem auto 3rem}
.ag-catalogue-landing-video .ag-catalogue-ecran{position:relative;aspect-ratio:16/9;background:#181a1b;overflow:hidden;border-radius:12px}
.ag-catalogue-landing-video iframe{position:absolute;inset:0;width:100%;height:100%;border:0}

/* Align the player with its gallery or editorial column on product and piano pages. */
#tab-description .ag-catalogue-video,
.ag-catalogue-landing-video .ag-catalogue-video {
    box-sizing: border-box;
    width: 100%;
    max-width: none;
}

/* Some imported embeds identify 16:9 with an older Gutenberg class name.
   Give their frame an actual ratio without reserving a second space above it. */
#tab-description .wp-block-embed.is-provider-youtube:is(.wp-has-aspect-ratio-16-9, .wp-embed-aspect-16-9) .wp-block-embed__wrapper {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
}
#tab-description .wp-block-embed.is-provider-youtube:is(.wp-has-aspect-ratio-16-9, .wp-embed-aspect-16-9) .wp-block-embed__wrapper::before {
    display: none;
}
#tab-description .wp-block-embed.is-provider-youtube:is(.wp-has-aspect-ratio-16-9, .wp-embed-aspect-16-9) iframe {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Older descriptions put the YouTube iframe directly inside a paragraph. */
#tab-description p > iframe:is([src*="youtube.com/embed/"], [src*="youtube-nocookie.com/embed/"]) {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border: 0;
}
@media (max-width: 600px) {
  body.single-product .agp-guide .agp-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 640px) {
  .ag-catalogue-grand-model {grid-template-columns: minmax(0, 1fr)}
}
body.single-product .agp-guide .agp-grid,
.ag-catalogue-grand-model {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
body.single-product .agp-guide .agp-grid > figure,
.ag-catalogue-grand-model > div {
  min-width: 0;
  max-width: 100%;
}
body.single-product .agp-guide .agp-grid img,
.ag-catalogue-grand-model img {
  max-width: 100%;
  height: auto;
}
@media (min-width: 783px) {
  body.admin-bar #wpadminbar {height: auto; min-height: 32px}
  body.admin-bar #wpadminbar > #wp-toolbar {display: flow-root}
  html.ag-admin-hauteur {margin-top: var(--ag-admin-hauteur, 32px) !important; scroll-padding-top: var(--ag-admin-hauteur, 32px)}
  body.admin-bar .agds-chrome {top: var(--ag-admin-hauteur, 32px)}
}
@media (max-width: 480px) {
  .entry-content .lgl-nav {display: flex; flex-wrap: wrap; gap: 8px 14px}
  .entry-content .lgl-nav > a {margin-right: 0}
}
