/* Independent Balmoral catalog, product and basket surfaces. */
.bm-catalog { padding: 0 0 70px; background: #eeeded; }
.bm-catalog-hero { position: relative; height: 500px; overflow: hidden; background: #96918a; }
.bm-catalog-hero > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.bm-catalog-hero::after { content: ''; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgb(0 0 0 / .24)); pointer-events: none; }
body:not(.is-home) #app .bm-catalog-hero h1 { position: absolute; z-index: 1; bottom: 30px; left: 30px; margin: 0; max-width: calc(100% - 60px); color: #fff; font: 400 40px/1.12 Georgia, 'Times New Roman', serif; text-transform: none; letter-spacing: -.035em; }
.bm-catalog-toolbar { display: flex; align-items: center; justify-content: space-between; min-height: 34px; padding: 0 20px; background: #fff; font: 400 13px/1.3 var(--font, Arial, sans-serif); }
.bm-catalog-toolbar button { display: inline-flex; align-items: center; justify-content: center; align-self: stretch; min-width: 70px; min-height: 34px; padding: 0; background: none; border: 0; font: inherit; }
.bm-catalog-toolbar button:hover { text-decoration: underline; text-underline-offset: 3px; }
.bm-shop-main { padding: 10px 10px 0; }
body:not(.is-home) #app .bm-catalog-grid,
body:not(.is-home) #app .bm-related-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px 10px; margin: 0; }
.bm-catalog-grid > .empty { grid-column: 1 / -1; padding: 60px 20px; text-align: center; }
.bm-catalog .search-summary { margin: 12px 10px 22px; font-size: 13px; line-height: 1.6; }
.bm-catalog .search-summary a { margin-left: 10px; text-decoration: underline; text-underline-offset: 3px; }
.bm-catalog #commerce-catalog-status:not(:empty) { padding: 10px 10px 18px; }
.bm-catalog .load-more { padding: 46px 10px 0; text-align: center; }
.bm-catalog .load-more > p { margin: 0 0 16px; font-size: 12px; }
.bm-catalog .load-more svg { display: none; }
body:not(.is-home) #app .bm-catalog .load-more .button { min-height: 40px; padding: 10px 28px; background: transparent; font-size: 13px; }
.bm-catalog-grid .product-card,
.bm-related-grid .product-card { min-width: 0; }
body:not(.is-home) #app :is(.bm-catalog-grid, .bm-related-grid) .product-meta { display: flex; flex-direction: column; align-items: start; gap: 3px; padding: 10px 0 0; }
body:not(.is-home) #app :is(.bm-catalog-grid, .bm-related-grid) .product-meta h3 { margin: 0; font: 400 14px/1.4 var(--font, Arial, sans-serif); letter-spacing: 0; text-transform: none; }
body:not(.is-home) #app :is(.bm-catalog-grid, .bm-related-grid) .price { display: flex; flex-direction: row; flex-wrap: wrap; align-items: baseline; justify-content: start; gap: 4px 8px; margin: 0; font: 400 14px/1.4 var(--font, Arial, sans-serif); letter-spacing: 0; text-align: left; }
body:not(.is-home) #app :is(.bm-catalog-grid, .bm-related-grid) .price s { margin: 0; font: inherit; color: #777; }
body:not(.is-home) #app :is(.bm-catalog-grid, .bm-related-grid) .product-type { display: none; }

/* Desktop shows every source photograph at its own ratio, without a fixed frame. */
body:not(.is-home) #app .bm-product-page { background: #eeeded; }
body:not(.is-home) #app .bm-product-layout { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); align-items: start; gap: 0; padding: 0; margin: 0; }
.bm-product-gallery { min-width: 0; }
.bm-gallery-interactive { display: none; }
.bm-gallery-stack { display: grid; gap: 0; }
.bm-gallery-photo { display: block; position: relative; width: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.bm-gallery-photo > img { display: block; width: 100%; height: auto; max-height: none; aspect-ratio: auto; padding: 0; object-fit: contain; }
.bm-product-information-column { position: relative; padding: 96px 36px 64px; min-width: 0; }
body:not(.is-home) #app .bm-product-information { position: static; width: 100%; max-width: 300px; margin: 0 auto; padding: 0; }
body:not(.is-home) #app .bm-product-information h1 { margin: 0 0 14px; max-width: none; font: 400 24px/1.2 Georgia, 'Times New Roman', serif; text-transform: none; letter-spacing: -.025em; }
body:not(.is-home) #app .bm-product-information .product-detail-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px 10px; margin: 0 0 35px; font: 400 14px/1.5 var(--font, Arial, sans-serif); letter-spacing: 0; }
.bm-product-information .product-detail-price s { margin: 0; font-size: 13px; color: #777; }
.bm-product-information .size-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 8px; font-size: 12px; line-height: 1.5; }
.bm-product-information .size-heading .subtle-link { min-height: 32px; padding: 4px 0; border: 0; background: none; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.bm-product-information .sizes { display: flex; flex-wrap: wrap; gap: 0 16px; margin: 0 0 20px; }
.bm-product-information .sizes button { display: inline-flex; align-items: center; justify-content: center; min-width: 32px; min-height: 40px; padding: 6px 0; border: 0; border-bottom: 1px solid transparent; border-radius: 0; background: transparent; color: #171717; font: 400 14px/1.4 var(--font, Arial, sans-serif); }
.bm-product-information .sizes button.selected,
.bm-product-information .sizes button[aria-pressed="true"] { border-bottom-color: currentColor; background: transparent; color: #171717; }
.bm-product-information .sizes button:disabled { text-decoration: line-through; opacity: .4; cursor: not-allowed; }
.bm-product-information .field-error { margin: 0; color: #872922; font-size: 12px; line-height: 1.5; }
.bm-product-information .field-error:not(:empty) { margin: 0 0 12px; }
body:not(.is-home) #app .bm-product-information .add-to-bag { display: flex; align-items: center; justify-content: center; width: 100%; max-width: none; height: auto; min-height: 40px; margin: 0; padding: 10px 12px; border: 1px solid #171717; background: transparent; color: #171717; font: 400 13px/18px var(--font, Arial, sans-serif); text-transform: none; letter-spacing: 0; }
.bm-product-information .add-to-bag svg { display: none; }
.bm-product-information .add-to-bag:disabled { opacity: .45; cursor: not-allowed; }
@media (hover: hover) { body:not(.is-home) #app .bm-product-information .add-to-bag:not(:disabled):hover { background: #171717; color: #fff; } }
.bm-product-description { margin: 32px 0 24px; color: #303030; font-size: 14px; line-height: 1.65; white-space: pre-line; overflow-wrap: anywhere; }
.bm-product-information .product-details { margin-top: 24px; }
.bm-product-information .product-details :is(details, .t-acc) { border-top: 1px solid #d0cdcd; }
.bm-product-information .product-details :is(details, .t-acc):last-child { border-bottom: 1px solid #d0cdcd; }
.bm-product-information .product-details :is(summary, .t-acc-head) { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 48px; padding: 14px 0; color: #171717; font: 400 13px/20px var(--font, Arial, sans-serif); letter-spacing: 0; text-transform: none; }
.bm-product-information .product-details :is(details > div, .t-acc-copy) { padding: 0 0 20px; color: #4c4c4c; font: 400 14px/1.6 var(--font, Arial, sans-serif); }
.bm-product-information .product-details .text-link { display: inline-block; margin-top: 12px; font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
.bm-product-information .t-acc-chevron svg { width: 14px; height: 14px; }
.bm-product-information .size-table { font-size: 11px; }
.bm-product-information .size-table th,
.bm-product-information .size-table td { padding: 10px 7px; }
.bm-related { padding: 70px 10px 60px; background: #eeeded; }
.bm-related-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: 24px; }
body:not(.is-home) #app .bm-related-heading h2 { font: 400 26px/1.2 Georgia, 'Times New Roman', serif; text-transform: none; letter-spacing: -.02em; }
.bm-related-heading > a { flex-shrink: 0; font-size: 12px; text-decoration: underline; text-underline-offset: 4px; }
body:not(.is-home) #app .bm-product-page .outfit-section { margin: 0; padding: 40px 30px 70px; border-top: 1px solid #d0cdcd; background: #eeeded; }
body:not(.is-home) #app .bm-product-page .outfit-selection h2 { font: 400 28px/1.2 Georgia, 'Times New Roman', serif; text-transform: none; letter-spacing: -.02em; }
.bm-product-page .outfit-original > img { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; }
.bm-product-page .outfit-piece > img { background: #fff; object-fit: contain; }

/* Keep the native gallery's synchronization hooks and hit targets on touch. */
.bm-product-layout .product-gallery { display: block; position: static; width: 100%; min-width: 0; padding: 0; }
.bm-product-layout .gallery-stage { position: relative; width: 100%; height: auto; min-height: 0; max-height: none; background: #eeeded; touch-action: pan-x pan-y pinch-zoom; }
.bm-product-layout .gallery-stage > .gallery-photo { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; }
.bm-product-layout .gallery-stage .gallery-photo { background: transparent; }
.bm-product-layout .gallery-photo > img { display: block; width: 100%; height: 100%; padding: 0; object-fit: contain; object-position: center; }
.bm-product-layout .native-gallery-track > .gallery-photo { position: relative; flex: 0 0 100%; min-width: 100%; height: 100%; padding: 0; scroll-snap-align: start; scroll-snap-stop: always; }
.bm-product-layout .gallery-caption-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 16px 0; color: #575757; font-size: 11px; line-height: 1.5; }
.bm-product-layout .gallery-caption-row #gallery-count { flex-shrink: 0; font-variant-numeric: tabular-nums; }
.bm-product-layout .gallery-thumbnails { position: static; display: flex; gap: 8px; width: 100%; max-height: none; padding: 12px 16px; overflow-x: auto; scrollbar-width: none; }
.bm-product-layout .gallery-thumbnail { flex: 0 0 44px; width: 44px; height: 64px; padding: 0; border: 1px solid transparent; background: transparent; opacity: .65; }
.bm-product-layout .gallery-thumbnail[aria-pressed="true"] { border-color: #171717; opacity: 1; }
.bm-product-layout .gallery-thumbnail img { width: 100%; height: 100%; padding: 0; object-fit: contain; }
.bm-product-layout .gallery-arrow { width: 36px; height: 44px; border: 0; background: rgb(255 255 255 / .8); color: #171717; }
.bm-product-layout .outfit-trigger { left: 16px; right: auto; bottom: 16px; max-width: calc(100% - 32px); padding: 10px 12px; border: 0; background: rgb(255 255 255 / .88); font-size: 11px; }

/* The existing cart renderer remains responsible for live totals and checkout. */
.panel.cart-panel { width: 500px; max-width: 100%; padding: 74px 28px 32px; background: #eeeded; color: #171717; }
.cart-panel .panel-close { background: transparent; }
.cart-panel > .eyebrow { margin-bottom: 14px; color: #676363; font-size: 10px; letter-spacing: .08em; }
#shopify-cart-content > h2 { margin: 0 0 28px; font: 400 28px/1.2 Georgia, 'Times New Roman', serif; letter-spacing: -.025em; text-transform: none; }
#shopify-cart-content > h2 small { font: 400 13px/1.4 var(--font, Arial, sans-serif); }
#shopify-cart-content .cart-item { grid-template-columns: 96px minmax(0, 1fr); gap: 20px; padding: 22px 0; border-color: #d0cdcd; }
#shopify-cart-content .cart-item > a > img { width: 96px; height: 120px; padding: 0; background: #fff; object-fit: contain; }
#shopify-cart-content .cart-item > div > a { font: 400 14px/1.45 var(--font, Arial, sans-serif); }
#shopify-cart-content .cart-item p { margin-top: 7px; font-size: 12px; }
#shopify-cart-content .cart-item p.price { color: #171717; font-size: 14px; }
#shopify-cart-content .quantity { flex-wrap: wrap; gap: 4px 8px; margin-top: 8px; font-size: 13px; }
#shopify-cart-content .quantity .remove { margin-left: auto; font-size: 11px; text-underline-offset: 3px; }
#shopify-cart-content .cart-total { margin-top: 12px; padding: 22px 0 0; border-color: #d0cdcd; font-size: 14px; }
#shopify-cart-content .commerce-checkout-note { color: #626060; font-size: 12px; line-height: 1.6; }
#shopify-cart-content .commerce-checkout,
#shopify-cart-content .cart-empty .button { display: flex; justify-content: center; align-items: center; min-height: 44px; padding: 12px 16px; border: 1px solid #171717; background: transparent; color: #171717; font: 400 13px/1.4 var(--font, Arial, sans-serif); letter-spacing: 0; text-transform: none; }
/* Keep the checkout label readable in every state. The generic button's dark
   hover overlay previously covered a label whose ID-scoped color stayed dark. */
.bm-version #shopify-cart-content .commerce-checkout { background: #171717; border-color: #171717; color: #fff; -webkit-text-fill-color: currentColor; opacity: 1; transition: background-color 150ms ease, border-color 150ms ease; }
.bm-version #shopify-cart-content .commerce-checkout::before { content: none; }
.bm-version #shopify-cart-content .commerce-checkout:hover:not(:disabled) { background: #333; border-color: #333; }
.bm-version #shopify-cart-content .commerce-checkout:active:not(:disabled) { background: #000; border-color: #000; }
.bm-version #shopify-cart-content .commerce-checkout:focus-visible { outline: 2px solid #171717; outline-offset: 4px; }
.bm-version #shopify-cart-content .commerce-checkout:disabled { background: #666; border-color: #666; color: #fff; -webkit-text-fill-color: currentColor; opacity: 1; cursor: not-allowed; }
#shopify-cart-content .cart-empty { padding-top: 45px; }
#shopify-cart-content .cart-empty > svg { display: none; }
#shopify-cart-content .cart-empty > p { margin-bottom: 30px; font: 400 25px/1.35 Georgia, 'Times New Roman', serif; }
.filter-panel { background: #eeeded; }
.filter-panel > h2 { font: 400 28px/1.2 Georgia, 'Times New Roman', serif; letter-spacing: -.025em; text-transform: none; }
.filter-panel .panel-close { background: transparent; }
.filter-panel .bt-catalog-panel > input,
.filter-panel .bt-catalog-panel > select { border-color: #bcb9b9; background: transparent; font-size: 14px; }
.filter-panel .bt-catalog-panel > .button { min-height: 44px; border: 1px solid #171717; background: transparent; color: #171717; font-size: 13px; text-transform: none; letter-spacing: 0; }

@media (max-width: 1100px) and (min-width: 810px) {
  .bm-product-information-column { padding: 80px 26px 50px; }
}
@media (max-width: 809px), (pointer: coarse) {
  .bm-gallery-interactive { display: block; }
  .bm-gallery-stack { display: none; }
}
@media (max-width: 809px) {
  .bm-catalog { padding-bottom: 45px; }
  .bm-catalog-hero { height: 390px; }
  body:not(.is-home) #app .bm-catalog-hero h1 { bottom: 24px; left: 16px; max-width: calc(100% - 32px); font-size: 34px; }
  .bm-catalog-toolbar { min-height: 44px; padding-inline: 12px; font-size: 12px; }
  .bm-catalog-toolbar button { min-height: 44px; }
  .bm-shop-main { padding: 8px 8px 0; }
  body:not(.is-home) #app .bm-catalog-grid,
  body:not(.is-home) #app .bm-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 8px; }
  body:not(.is-home) #app :is(.bm-catalog-grid, .bm-related-grid) .product-meta h3,
  body:not(.is-home) #app :is(.bm-catalog-grid, .bm-related-grid) .price { font-size: 12px; line-height: 1.45; }
  body:not(.is-home) #app .bm-product-layout { display: block; }
  .bm-product-information-column { position: static; padding: 34px 24px 44px; }
  body:not(.is-home) #app .bm-product-information { max-width: 460px; }
  body:not(.is-home) #app .bm-product-information h1 { font-size: 25px; }
  body:not(.is-home) #app .bm-product-information .add-to-bag { min-height: 44px; }
  .bm-product-information .sizes button { min-width: 36px; min-height: 44px; }
  .bm-product-description { margin-top: 28px; }
  .bm-related { padding: 34px 8px 44px; }
  .bm-related-heading { gap: 14px; margin-bottom: 20px; }
  body:not(.is-home) #app .bm-related-heading h2 { font-size: 23px; }
  .bm-related-heading > a { font-size: 11px; }
  body:not(.is-home) #app .bm-product-page .outfit-section { padding: 34px 16px 44px; gap: 28px; }
  .panel.cart-panel { padding: 70px 20px 28px; }
  #shopify-cart-content > h2 { font-size: 26px; }
  #shopify-cart-content .cart-item { grid-template-columns: 82px minmax(0, 1fr); gap: 14px; }
  #shopify-cart-content .cart-item > a > img { width: 82px; height: 106px; }
}
