.embassy-mobile-menu { color: #f8f5ed; background: #100f0e; }
.embassy-mobile-menu:not([open]) { display: none; }
@media (max-width: 640px) {
  .embassy-mobile-menu[open] {
    position: fixed; inset: 0; margin: 0; width: 100%; max-width: none;
    height: 100%; height: 100dvh; max-height: none;
    padding: 16px 20px; border: 0; overflow: auto;
  }
  .embassy-mobile-menu .menu-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .embassy-mobile-menu h2 { margin: 0; color: #e8c375; }
  .embassy-mobile-menu .menu-close {
    min-width: 44px; min-height: 44px; color: #e8c375;
    background: transparent; border: 1px solid #594c33; border-radius: 5px; font-size: 24px;
  }
  .embassy-mobile-menu nav {
    display: block !important; position: static !important; width: 100% !important;
    margin: 12px 0 0 !important; padding: 0 !important; background: transparent;
  }
  .embassy-mobile-menu nav a {
    display: flex; justify-content: space-between; align-items: center; gap: 12px;
    width: 100% !important; padding: 12px 3px !important; min-height: 54px !important;
    border: 0 !important; border-bottom: 1px solid #46392b !important; color: #f8f5ed; font-size: 16px !important;
  }
  .embassy-mobile-menu nav a[style*="display:none"] { display: none; }
  .embassy-mobile-menu nav a::after { content: "›" / ""; color: #e8c375; }
  html:has(.embassy-mobile-menu[open]) { overflow: hidden; }
}

.shop-mobile-only { display: none; }
@media (max-width: 640px) {
  main #product-grid.grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px !important; }
  #product-grid .card { padding: 8px; border-color: #594c33; background: #1b1916; }
  #product-grid[data-gallery-ready] .shop-desktop-image { display: none; }
  #product-grid[data-gallery-ready] .shop-mobile-only { display: block; }
  #product-grid h3 { margin: 8px 0 2px; font-size: clamp(13px, 4vw, 17px); line-height: 1.35; }
  #product-grid p { margin: 0; font-size: 13px; color: #e8c375; }
  #jersey-detail[data-active] { display: block; }
  main:has(#jersey-detail[data-active]) > :not(#jersey-detail) { display: none; }
  #jersey-detail h1 { margin: 14px 0 4px; font-size: clamp(22px, 6vw, 32px); }
  #jersey-detail .jersey-choice { color: #e8c375; font-weight: 700; }
  #jersey-detail .jersey-hero { display: block; margin: 16px 0 10px; }
  #jersey-detail img { display: block; width: 100%; height: auto; border-radius: 5px; }
  #jersey-detail .jersey-thumbnails { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  #jersey-detail .jersey-thumbnails a { display: block; border: 2px solid #594c33; border-radius: 7px; }
  #jersey-detail .jersey-thumbnails a[aria-current="true"] { border-color: #e8c375; }
  #jersey-detail .jersey-back { color: #e8c375; display: inline-flex; align-items: center; min-height: 44px; }
}

.home-menu-extra[hidden] { display: none !important; }
@media (max-width: 640px) {
  .embassy-mobile-menu nav .home-menu-extra[hidden] { display: flex !important; }
}

.shop-listing-link, .jersey-colors, .shop-account, .shop-header-extra { display: none; }
@media (min-width: 641px) {
  body > .shop-header {
    grid-template-columns: auto minmax(0, 1fr) auto auto !important;
    grid-template-areas: "brand nav lang account" !important;
    gap: 14px !important; padding: 9px clamp(16px, 3vw, 52px) !important;
    align-items: center !important; background: #161310;
  }
  .shop-header .brand img { width: 52px; height: 52px; }
  body > .shop-header .brand span { display: block !important; font-size: 12px; }
  body > .shop-header nav { scrollbar-width: thin !important; }
  body > .shop-header nav::-webkit-scrollbar { display: block !important; height: 4px; }
  body > .shop-header .menu { display: none !important; }
  body > .shop-header nav {
    margin: 0 !important; width: 100% !important; border: 0 !important;
    background: transparent !important; justify-content: safe center;
  }
  body > .shop-header nav a {
    flex: 0 0 auto !important; padding: 8px clamp(8px, 1.1vw, 16px) !important;
    min-height: 44px !important; letter-spacing: 0 !important; border: 0 !important;
  }
  body > .shop-header nav a[aria-current="page"] {
    color: #e8c375 !important; background: transparent !important; box-shadow: inset 0 -2px #e8c375;
  }
  body > .shop-header nav .shop-header-extra { display: flex !important; }
  .shop-header .shop-account { display: inline-flex; white-space: nowrap; }
  body > .shop-header .shop-account { grid-area: account; }
  body > .shop-ops, body > .shop-hero { display: none !important; }
  .shop-listing { max-width: 1360px; padding-top: 28px; }
  .shop-listing h1 { margin: 0 0 10px; font-size: clamp(30px, 4vw, 46px); }
  .shop-listing h2 { margin: 0 0 20px; font-size: 22px; }
  #product-grid .card { background: #1b1916; border-color: #473b2b; border-radius: 9px; }
  #product-grid .card p { color: #e8c375; }
  #product-grid[data-gallery-ready] .shop-desktop-image { display: none; }
  #product-grid[data-gallery-ready] .shop-mobile-only { display: block; }
  #product-grid[data-gallery-ready] .shop-listing-link { display: inline-flex; color: #e8c375; min-height: 44px; align-items: center; }
  main:has(#jersey-detail[data-active]) > :not(#jersey-detail) { display: none; }
  #jersey-detail[data-active] {
    display: grid;
    max-width: 1360px;
    grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
    grid-template-rows: auto auto auto; gap: 14px 30px; align-items: start;
  }
  #jersey-detail .jersey-back { grid-column: 1 / -1; color: #e8c375; padding-block: 10px; }
  #jersey-detail .jersey-hero { grid-area: 2 / 1; padding: 10px; background: #1b1916; border: 1px solid #473b2b; border-radius: 8px; }
  #jersey-detail .jersey-thumbnails { grid-area: 3 / 1; display: flex; gap: 10px; }
  #jersey-detail .jersey-thumbnails a { max-width: 112px; border: 2px solid #473b2b; border-radius: 6px; overflow: hidden; }
  #jersey-detail [aria-current="true"] { border-color: #e8c375 !important; }
  #jersey-detail .jersey-info { grid-area: 2 / 2 / span 2; }
  #jersey-detail h1 { font-size: clamp(26px, 3vw, 42px); margin: 0 0 12px; }
  #jersey-detail .jersey-choice { color: #e8c375; font-weight: 700; }
  #jersey-detail .jersey-colors { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0; }
  #jersey-detail .jersey-colors a { color: #e8c375; border: 1px solid #473b2b; padding: 10px; border-radius: 5px; }
  #jersey-detail .jersey-colors a[aria-current="true"] { color: #201607; background: #e8c375; }
}
@media (min-width: 641px) and (max-width: 1000px) {
  body > .shop-header { grid-template-areas: "brand . lang account" "nav nav nav nav" !important; }
}

.shop-header-extra[hidden] { display: none !important; }
@media (min-width: 641px) {
  body > .shop-header nav .shop-header-extra[hidden] { display: flex !important; }
  #jersey-detail .jersey-thumbnails img { display: block; }
}
