/* Public storefront chrome. Admin keeps assets/style.css + admin.css unchanged. */
body.storefront {
  --red: #e31837;
  --red-dark: #c4122e;
  --navy: #0b3a8c;
  --navy-deep: #082c6e;
  --navy-top: #0a2f78;
  --yellow: #f5c518;
  --blue: #0b3a8c;
  --dark: #0b3a8c;
  --dark-2: #0e4aa8;
  --bg: #eef2f8;
  --card: #ffffff;
  --text: #1d2433;
  --muted: #5b6578;
  --border: #dbe3f0;
  --radius: 12px;
  overflow-x: hidden;
  background: var(--bg);
}

body.storefront a { color: var(--navy); }
body.storefront .btn-primary { background: var(--red); color: #fff; }
body.storefront .btn-outline { border-color: var(--navy); color: var(--navy); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body.storefront .announcement {
  background: var(--yellow);
  color: #3b2a00;
}

.header-inner {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
  box-shadow: 0 2px 10px rgba(8, 32, 80, 0.12);
}

.utility-bar {
  background: var(--navy-top);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
}
.utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 36px;
  padding-top: 6px;
  padding-bottom: 6px;
}
.utility-msg { margin: 0; opacity: 0.95; }
.utility-msg sup { font-size: 0.65em; }
.utility-phone {
  color: #fff !important;
  white-space: nowrap;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.utility-phone::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 6px;
  vertical-align: -2px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8c1.4 2.8 3.8 5.1 6.6 6.6l2.2-2.2c.3-.3.7-.4 1.1-.3 1.2.4 2.5.6 3.8.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.6 21 3 13.4 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.6.6 3.8.1.4 0 .8-.3 1.1L6.6 10.8z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8c1.4 2.8 3.8 5.1 6.6 6.6l2.2-2.2c.3-.3.7-.4 1.1-.3 1.2.4 2.5.6 3.8.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.6 21 3 13.4 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.6.6 3.8.1.4 0 .8-.3 1.1L6.6 10.8z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.masthead { background: #fff; }
.masthead-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 86px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.logo img {
  height: 58px;
  width: auto;
  display: block;
}
body.storefront .search {
  flex: 1;
  display: flex;
  max-width: none;
  border: 2px solid var(--navy);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
}
body.storefront .search input {
  flex: 1;
  border: 0;
  border-radius: 0;
  padding: 11px 18px;
  font-size: 0.95rem;
  min-width: 0;
}
body.storefront .search input:focus {
  outline: none;
}
body.storefront .search button {
  background: var(--navy);
  color: #fff;
  border: 0;
  border-radius: 0;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
body.storefront .search button:hover { background: var(--navy-deep); }

.mast-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  flex-shrink: 0;
}
.mast-link {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 58px;
  color: var(--navy) !important;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 6px 8px;
}
.mast-ico { line-height: 0; color: var(--navy); }
.cart-badge {
  position: absolute;
  top: 2px;
  right: 8px;
  background: var(--red);
  color: #fff;
  border-radius: 999px;
  font-size: 0.68rem;
  min-width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.main-nav {
  background: var(--navy);
  color: #fff;
}
.nav-inner {
  display: flex;
  align-items: stretch;
  gap: 2px;
  min-height: 42px;
}
.main-nav a,
.main-nav summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff !important;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0 16px;
  min-height: 42px;
  cursor: pointer;
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav summary:hover {
  background: rgba(255,255,255,0.1);
}
.main-nav a.active,
.main-nav a.nav-home.active,
.main-nav details.current summary {
  background: var(--red);
}
.nav-drop { position: relative; }
.nav-drop summary { list-style: none; }
.nav-drop summary::-webkit-details-marker { display: none; }
.nav-drop summary::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #fff;
  margin-left: 4px;
}
.nav-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 240px;
  padding: 10px 0;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 14px 32px rgba(8, 32, 80, 0.18);
  z-index: 50;
}
.nav-panel.wide {
  min-width: min(520px, 90vw);
  display: none;
  grid-template-columns: 1fr 1fr;
  padding: 10px;
  gap: 2px;
}
.nav-drop[open] > .nav-panel { display: block; }
.nav-drop[open] > .nav-panel.wide { display: grid; }
.nav-panel a {
  display: flex;
  justify-content: space-between;
  color: var(--navy) !important;
  font-weight: 700;
  min-height: 38px;
  padding: 8px 14px;
  white-space: normal;
}
.nav-panel a:hover,
.nav-panel a.active {
  background: #eef3fb;
  color: var(--navy) !important;
}
.nav-panel .count {
  background: #e8eef8;
  color: var(--navy);
  border-radius: 999px;
  font-size: 0.72rem;
  padding: 1px 8px;
}

body.storefront .layout {
  display: block;
  min-height: 0;
}
body.storefront .sidebar { display: none; }
body.storefront .main-wrap {
  min-width: 0;
  background: var(--bg);
}
body.storefront .content {
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
  padding: 28px 20px 48px;
}

/* Full-bleed homepage hero: navy copy + clean photos (no baked-in UI) */
.hero-banner {
  position: relative;
  left: 50%;
  right: 50%;
  width: 100vw;
  margin: -28px -50vw 0;
  background: var(--navy);
}
.hero-banner-inner {
  display: grid;
  grid-template-columns: minmax(260px, 0.92fr) 1.25fr 1.05fr;
  max-width: 1280px;
  margin: 0 auto;
  min-height: 340px;
}
.hero-copy {
  color: #fff;
  padding: 36px 28px 36px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-kicker {
  margin: 0 0 8px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f5c518;
}
.hero-copy h1 {
  color: #fff;
  font-size: clamp(1.45rem, 2.2vw, 2.05rem);
  line-height: 1.15;
  margin: 0 0 12px;
}
.hero-lead {
  margin: 0;
  color: #d5e3f7;
  font-size: 0.98rem;
  max-width: 32ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.hero-copy .btn {
  background: var(--red);
  color: #fff;
  border-radius: 999px;
  padding: 11px 22px;
}
.hero-copy .btn-ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.85);
}
.hero-copy .btn-ghost:hover { background: rgba(255,255,255,0.12); }
.hero-shot {
  position: relative;
  display: block;
  min-height: 280px;
  overflow: hidden;
  background: #0a2468;
}
.hero-shot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
body.storefront .seo-intro {
  margin-top: 22px;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 22px 0 28px;
  padding: 16px 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
}
.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 4px 8px;
}
.trust-ico {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e8eef8;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.trust-item strong {
  display: block;
  color: var(--navy);
  font-size: 0.95rem;
}
.trust-item span {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
}

body.storefront .section-head h2,
body.storefront .page-h1 {
  color: var(--navy);
}
body.storefront .section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.cat-menu {
  position: relative;
  z-index: 8;
}
.cat-menu summary {
  list-style: none;
  cursor: pointer;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  font-size: 0.92rem;
  padding: 10px 16px;
  border-radius: 999px;
}
.cat-menu summary::-webkit-details-marker { display: none; }
.cat-menu summary::after {
  content: '';
  display: inline-block;
  margin-left: 8px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #fff;
  vertical-align: middle;
}
.cat-menu-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: min(520px, 92vw);
  max-height: 70vh;
  overflow: auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 16px 36px rgba(8, 32, 80, 0.16);
  padding: 10px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}
.cat-menu-label {
  grid-column: 1 / -1;
  margin: 8px 8px 4px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.cat-menu-panel a {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--navy);
  font-weight: 700;
}
.cat-menu-panel a:hover { background: #eef3fb; }
.cat-menu-panel span {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.8rem;
}

.theme-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-bottom: 36px;
}
.theme-tile {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(8, 32, 80, 0.06);
}
.theme-tile-art {
  display: block;
  aspect-ratio: 4 / 3;
  background: #0b1c3a;
  overflow: hidden;
}
.theme-tile-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.theme-tile-cta {
  display: block;
  background: var(--red);
  color: #fff !important;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  padding: 10px 8px;
}
.theme-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(11, 58, 140, 0.14);
}

.theme-jump {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 0 22px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
}
.theme-jump label {
  font-weight: 800;
  color: var(--navy);
}
.theme-jump select {
  flex: 1;
  min-width: 220px;
  max-width: 420px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 10px;
  font-weight: 600;
  color: var(--navy);
  background: #fff;
}

.nav-label {
  grid-column: 1 / -1;
  margin: 8px 8px 2px;
  padding: 8px 6px 4px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

body.storefront .cat-grid {
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}
@media (max-width: 900px) {
  .theme-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .theme-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-menu-panel { grid-template-columns: 1fr; right: auto; left: 0; }
}
body.storefront .cat-tile {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 128px;
  padding: 18px 16px 0;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 4px 14px rgba(8, 32, 80, 0.06);
}
body.storefront .cat-tile-name {
  display: block;
  padding: 0;
  color: var(--navy);
  font-size: 1.02rem;
}
body.storefront .cat-tile small {
  padding: 4px 0 12px;
  margin: 0;
}
body.storefront .cat-tile-cta {
  display: block;
  margin: 4px -16px 0;
  background: var(--red);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  padding: 8px 10px;
  white-space: nowrap;
}
body.storefront .cat-tile:hover {
  border-color: var(--navy);
  box-shadow: 0 8px 22px rgba(11, 58, 140, 0.14);
  transform: translateY(-2px);
}

body.storefront .card {
  border-color: var(--border);
  box-shadow: 0 2px 10px rgba(8, 32, 80, 0.04);
}
body.storefront .card:hover {
  box-shadow: 0 10px 24px rgba(11, 58, 140, 0.12);
}
body.storefront .card-title { color: var(--navy); }
body.storefront .thumbs .thumb.active,
body.storefront .thumbs .thumb:hover { border-color: var(--red); }

body.storefront .form,
body.storefront .ship-box,
body.storefront .contact-card,
body.storefront .table,
body.storefront .seo-acc {
  border-color: var(--border);
}

body.storefront .site-footer {
  display: block;
  background: var(--navy);
  color: #d5e2f6;
  padding: 36px 20px 20px;
  border-top: 0;
  max-width: none;
}
body.storefront .footer-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 28px;
}
body.storefront .site-footer h3 {
  color: #fff;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 12px;
}
body.storefront .footer-grid a,
body.storefront .footer-grid p {
  display: block;
  color: #d5e2f6;
  margin: 0 0 8px;
  font-weight: 600;
}
body.storefront .footer-grid a:hover { color: #fff; }
body.storefront .footer-nap {
  color: #d5e2f6;
  font-weight: 500;
  font-size: 0.88rem;
  margin-top: 10px;
}
body.storefront .footer-bottom {
  max-width: 1180px;
  margin: 22px auto 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.14);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.86rem;
}
body.storefront .footer-links a {
  color: #d5e2f6;
  margin-left: 14px;
}
body.storefront .footer-legal {
  max-width: 1180px;
  margin: 14px auto 0;
  color: #b7c7e2;
}

body.storefront .expert-fab { background: var(--navy); }
body.storefront .expert-head { background: var(--navy); }

body.storefront .sidebar {
  background: var(--navy-deep);
}
body.storefront .sidebar .brand {
  background: #fff;
  border-bottom: 0;
  padding: 14px 16px;
}
body.storefront .sidebar .brand img {
  height: 48px;
  width: auto;
}
body.storefront .drawer-search {
  display: flex;
  margin: 10px 12px 12px;
  max-width: none;
  background: #fff;
}
body.storefront .drawer-search input {
  background: #fff;
  color: var(--text);
}
body.storefront .drawer-search button {
  background: var(--red);
}
body.storefront .search-page-form {
  max-width: 640px;
  margin: 0 0 22px;
}
body.storefront .search-heading {
  font-size: 1.1rem;
  margin: 22px 0 10px;
}
body.storefront .search-pages {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}
body.storefront .search-pages li {
  border-bottom: 1px solid var(--border);
}
body.storefront .search-pages a {
  display: block;
  padding: 10px 0;
  font-weight: 600;
}
body.storefront .side-nav a.active,
body.storefront .side-nav details.nav-acc.current > summary {
  border-left-color: var(--red);
}

@media (max-width: 860px) {
  .utility-msg { display: none; }
  .utility-inner { justify-content: center; }
  .masthead-inner { min-height: 70px; gap: 10px; flex-wrap: wrap; }
  .logo img { height: 46px; }
  body.storefront .search {
    display: flex;
    order: 5;
    flex-basis: 100%;
    max-width: none;
  }
  .main-nav { display: none; }
  body.storefront .sidebar {
    display: flex;
    position: fixed;
    left: 0; top: 0; bottom: 0;
    z-index: 45;
    transform: translateX(-100%);
    transition: transform 0.22s ease;
    width: min(320px, 88vw);
    height: 100vh;
  }
  body.storefront.nav-open .sidebar { transform: translateX(0); }
  .hero-banner-inner {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .hero-copy { padding: 26px 20px 22px; }
  .hero-copy h1 { font-size: 1.5rem; }
  .hero-shot-city { min-height: 200px; }
  .hero-shot-space { display: none; }
  .trust-row { grid-template-columns: 1fr 1fr; }
  body.storefront .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .trust-row { grid-template-columns: 1fr; }
  .mast-label { display: none; }
  .mast-link { min-width: 44px; }
}
