/* AM-01: the whole row is one native, keyboard-accessible navigation link. */
.amarcord-category-navigation a { display: flex; width: 100%; min-height: 32px; align-items: center; }
.amarcord-category-navigation a[aria-current="page"] { font-weight: 600; text-decoration: underline; }

/* AM-03: size the cover slot independently from the source image dimensions. */
body:is(.tax-product_cat,.page) .amarcord-collection-hero {
  --amarcord-cover-height: clamp(320px, 66svh, 700px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: var(--amarcord-cover-height) auto;
}
body:is(.tax-product_cat,.page) .amarcord-collection-hero .amarcord-collection-hero__image {
  grid-row: 1;
  width: 100%; height: 100%; min-height: 0; max-height: 100%;
  object-fit: cover; object-position: center 35%; overflow: hidden;
}
body:is(.tax-product_cat,.page) .amarcord-collection-hero .amarcord-collection-hero__image img {
  display: block; width: 100%; height: 100%; object-fit: cover; object-position: inherit;
}
body:is(.tax-product_cat,.page) .amarcord-collection-hero .amarcord-collection-hero__content { grid-row: 2; gap: 12px; padding-bottom: 16px; }
body:is(.tax-product_cat,.page) .amarcord-collection-hero__cta { display: inline-flex !important; }
#amarcord-catalog, #amarcord-newsletter { scroll-margin-top: 110px; }

/* AM-05/06: full collection label, then the product's own heading. */
.ov-variable-product__title { color: var(--amarcord-body-gray, #707070) !important; }
.amarcord-product-card-name, .amarcord-product-card-name a { color: var(--amarcord-editorial-gray, #9a9898) !important; }
.amarcord-card-collection, .amarcord-card-subcollection { display: block; }
.amarcord-card-brand { font-weight: 600; }
.amarcord-card-lux { font-weight: 300; }

/* AM-08/09/10: shared heading colour and accessible navigation controls. */
body.page-id-270 #brxe-vkknyj { color: #c39e58; }
body.page-id-270 #brxe-dlbijy { color: var(--amarcord-editorial-gray, #9a9898); }
.amarcord-header-home { display: inline-flex; flex: 0 0 44px; align-items: center; justify-content: center; min-height: 44px; color: #c39e58; }
.amarcord-header-home:focus-visible, #brxe-sfwjvv a:focus-visible { outline: 2px solid #c39e58; outline-offset: 3px; }

/* AM-04: mobile title wrapping, logo contrast and room for the three controls. */
@media (max-width: 767px) {
  body:is(.tax-product_cat,.page) .amarcord-collection-hero { --amarcord-cover-height: min(56svh, 125vw); }
  body.tax-product_cat .amarcord-collection-hero__title .amarcord-title-line { display: block; white-space: nowrap; }
  body.tax-product_cat #brxe-vkiazo:has(.amarcord-title-brand) { font-size: clamp(20px, 5.6vw, 28px); }
  .amarcord-header-shell::before { content: ''; position: absolute; inset: 0 0 auto; height: 90px; background: rgba(255,255,255,.96); z-index: -1; pointer-events: none; }
  .amarcord-header-shell .brxe-logo { width: 80px !important; top: 12px !important; }
  .amarcord-header-shell .brxe-logo img { max-height: 50px; object-fit: contain; }
  .amarcord-header-shell .amarcord-header-left { column-gap: 4px !important; }
  #brx-header .amarcord-header-shell .amarcord-header-left > :is(.brxe-search,.brxe-nav-nested),
  .amarcord-header-home { width: 32px !important; min-width: 32px !important; flex: 0 0 32px !important; }
  #brx-header .amarcord-header-left :is(.brxe-search > .toggle,.brxe-toggle) { width: 32px !important; min-width: 32px !important; max-width: 32px !important; flex-basis: 32px !important; padding-inline: 0 !important; }
}

/* AM-02: one accessible link per full option row; native inputs retain Bricks state. */
.amarcord-attribute-filter > ul.brx-filter-options[hidden] { display: none !important; }
.amarcord-attribute-options { display: flex; flex-direction: column; width: 100%; gap: 5px; }
.amarcord-attribute-option { display: flex; align-items: center; gap: 10px; min-height: 32px; width: 100%; color: #c39e58; font-family: 'Playfair Display', serif; font-size: 16px; line-height: 1.4; text-decoration: none; }
.amarcord-attribute-option:focus-visible, .amarcord-filter-reset:focus-visible { outline: 2px solid #c39e58; outline-offset: 3px; }
.amarcord-attribute-check { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 14px; width: 14px; height: 14px; border: 1px solid currentColor; }
.amarcord-attribute-option[aria-current] .amarcord-attribute-check::after { content: '✓'; font: 12px/1 sans-serif; }
.amarcord-attribute-option[data-selection="explicit"] { font-weight: 500; }
.amarcord-filter-reset { display: inline-flex; align-items: center; min-height: 44px; }

/* Story: place both supplied photographs beside the actual first paragraph. */
body.page-id-681 #brx-content #brxe-hcxfvz > #brxe-foxrhx { display: grid !important; grid-template-columns: minmax(0, 1fr) !important; gap: 36px !important; align-items: stretch; }
.amarcord-story-intro-row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 50px); width: 100%; }
.amarcord-story-introduction { min-width: 0; color: #707070; font-family: Poppins; font-size: 20px; font-weight: 400; line-height: 1.5; }
.amarcord-story-introduction #brxe-qvimrc { margin: 0 0 24px; }
.amarcord-story-introduction p { margin: 0; }
.amarcord-story-picture-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; min-height: 240px; }
.amarcord-story-picture { position: relative; min-width: 0; min-height: 0; overflow: hidden; }
body.page-id-681 #brx-content #brxe-hcxfvz .amarcord-story-picture > :is(#brxe-kaiqrf,#brxe-bpceyf),
body.page-id-681 #brx-content #brxe-hcxfvz .amarcord-story-picture img { display: block; position: absolute !important; inset: 0; width: 100% !important; height: 100% !important; max-height: 100% !important; margin: 0 !important; object-fit: contain !important; object-position: center; }
body.page-id-681 #brxe-jyxrpj { width: 100%; padding-top: 0; }
.amarcord-menu-collection-link > a { display: flex; align-items: center; min-height: 40px; color: inherit; font: inherit; }

/* Exact primary XD type sizes: desktop product / mobile product artboards. */
#reviews.amarcord-customer-reviews > h2 { text-align: center; }
@media (max-width: 767px) {
  .amarcord-story-intro-row { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .amarcord-story-picture-pair { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 16px; }
  body.page-id-681 #brx-content #brxe-hcxfvz .amarcord-story-picture > :is(#brxe-kaiqrf,#brxe-bpceyf),
  body.page-id-681 #brx-content #brxe-hcxfvz .amarcord-story-picture img { position: static !important; height: auto !important; max-height: 480px !important; object-fit: contain !important; }
}
@media (max-width: 600px) {
  #reviews .amarcord-rating-snapshot h3 { font-size: 19px; line-height: 28px; }
  #reviews .amarcord-overall-rating h3,
  #reviews .comment-reply-title { font-size: 21px; line-height: 31px; }
  #reviews .amarcord-rating-value { font-size: 84px; line-height: 125px; }
}
@media (prefers-reduced-motion: reduce) {
  .amarcord-header-shell .brxe-logo,
  .amarcord-header-shell .brxe-logo * { animation: none !important; transition: none !important; }
}

/* Home heading: XD desktop 46/62; mobile artboard 37/49 at 430px. */
body.page-id-270 #brxe-vkknyj { font-size: 46px; line-height: 62px; font-weight: 400; }
@media (max-width: 767px) {
  body.page-id-270 #brxe-vkknyj { font-size: clamp(32px, 8.6vw, 37px); line-height: 1.3243; }
}
