/* Site-wide chrome (header/footer) matched to the World Flags design (0.9.77).
   Replace + hide Astra's own header/footer; supply a codex-designed mast + footer. */

/* Hide Astra default header/footer; the codex chrome replaces them. */
#masthead, .site-header, #colophon, .site-footer { display:none !important; }

.noofno-world-flags.wf-shell { font-family: Arial, Helvetica, sans-serif; color:#272622; }
.noofno-world-flags.wf-shell * { box-sizing:border-box; }
.noofno-world-flags.wf-shell img { max-width:100%; height:auto; }

/* offer bar */
.noofno-world-flags .wf-offer { display:flex; justify-content:center; align-items:center; gap:12px;
  background:#292c2a; color:#fff; font-size:12px; letter-spacing:1.2px; padding:10px 14px; min-height:38px; }
.noofno-world-flags .wf-offer a { color:#ff9b6b; text-decoration:underline; }

/* header */
.noofno-world-flags .wf-header { position:relative; z-index:999; background:#fff; border-bottom:1px solid #ece8e1; }
.noofno-world-flags .wf-mast { position:relative; display:flex; align-items:center; justify-content:space-between; gap:16px;
  height:110px; padding:0 5%; max-width:1440px; margin:0 auto; }
.noofno-world-flags .wf-logo { position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); }
.noofno-world-flags .wf-logo img { height:40px; width:auto; display:block; }
.noofno-world-flags .wf-header-right { position:relative; display:flex; align-items:center; gap:8px; margin-left:auto; }
.noofno-world-flags .wf-icon { background:none; border:0; cursor:pointer; padding:6px; display:flex; align-items:center; color:#272622; }
.noofno-world-flags .wf-icon:hover { color:#d24a18; }
.noofno-world-flags .wf-icon.wf-account { text-decoration:none; }
.noofno-world-flags .wf-bag { position:relative; }
.noofno-world-flags .wf-cart-count { position:absolute; top:-2px; right:-2px; min-width:17px; height:17px; padding:0 4px;
  display:inline-flex; align-items:center; justify-content:center; border-radius:999px;
  background:#f2520c; color:#fff; font-size:10px; font-weight:800; line-height:1; font-family:Arial,Helvetica,sans-serif; }
.noofno-world-flags .wf-cart-count[hidden] { display:none; }
.noofno-world-flags .wf-bag svg, .noofno-world-flags .wf-icon svg { display:block; }
.noofno-world-flags .wf-nav { display:flex; justify-content:center; gap:22px; flex-wrap:wrap;
  padding:0 5% 14px; max-width:1440px; margin:0 auto; font-size:13px; }
.noofno-world-flags .wf-nav > a, .noofno-world-flags .wf-mega summary { color:#272622; text-decoration:none; padding:6px 2px; }
.noofno-world-flags .wf-nav > a.is-active { color:#d24a18; }

/* mobile hamburger hidden on desktop */
.noofno-world-flags .wf-menu-button { display:none; }

/* site-wide search popover: appears beside the header search icon (0.9.90) */
.noofno-world-flags .wf-global-search { position:absolute; top:calc(100% + 10px); right:0; z-index:80;
  width:min(340px, 88vw); padding:10px; background:#fff; border:1px solid #ece8e1; border-radius:12px;
  box-shadow:0 18px 44px rgba(0,0,0,.16); }
.noofno-world-flags .wf-global-search[hidden] { display:none; }
.noofno-world-flags .wf-global-search form { display:flex; gap:8px; }
.noofno-world-flags .wf-global-search input { flex:1 1 auto; min-width:0; border:1px solid #e9e3dc; border-radius:8px; padding:10px 12px; font-size:14px; }
.noofno-world-flags .wf-global-search button { border:0; border-radius:8px; background:#f2520c; color:#fff; padding:10px 16px; font-size:13px; cursor:pointer; }

/* mega menu */
.noofno-world-flags .wf-mega { position:relative; }
.noofno-world-flags .wf-mega summary { cursor:pointer; list-style:none; }
.noofno-world-flags .wf-mega summary::-webkit-details-marker { display:none; }
.noofno-world-flags .wf-mega-panel { position:absolute; left:50%; transform:translateX(-50%);
  background:#fff; border:1px solid #ece8e1; box-shadow:0 20px 50px rgba(0,0,0,.12); padding:22px;
  min-width:520px; z-index:60; }
.noofno-world-flags .wf-mega-panel h3 { margin:6px 0 10px; font-weight:400; font-size:20px; letter-spacing:-0.5px; }
.noofno-world-flags .wf-cat-links { display:grid; grid-template-columns:repeat(3,1fr); gap:6px 18px; margin-top:12px; }
.noofno-world-flags .wf-cat-links a { color:#6b665f; font-size:13px; }

/* footer */
.noofno-world-flags .wf-footer { display:grid; grid-template-columns:2.2fr 1fr 1fr; gap:34px;
  padding:48px 5%; background:#f4f1eb; border-top:1px solid #ece8e1; }
.noofno-world-flags .wf-footer img { height:40px; width:auto; }
.noofno-world-flags .wf-footer p { margin:8px 0 0; color:#6b665f; font-size:13px; }
.noofno-world-flags .wf-footer strong { font-size:12px; letter-spacing:1px; color:#272622; display:block; }
.noofno-world-flags .wf-footer a { display:block; color:#6b665f; text-decoration:none; font-size:13px; margin:6px 0; }

@media (max-width:760px) {
  .noofno-world-flags .wf-menu-button { display:flex; }
  .noofno-world-flags .wf-mast { height:70px; justify-content:flex-start; gap:17px; }
  .noofno-world-flags .wf-logo { margin-right:auto; }
  .noofno-world-flags .wf-logo img { height:32px; }
  .noofno-world-flags .wf-offer { font-size:9px; padding:10px 12px; gap:10px; text-align:center; }
  .noofno-world-flags .wf-nav { display:none; flex-direction:column; align-items:flex-start; gap:0; padding:16px 6% 20px; }
  .noofno-world-flags .wf-nav.open { display:flex; }
  .noofno-world-flags .wf-mega-panel { position:static; transform:none; min-width:0; box-shadow:none; border:0; padding:8px 0 0; }
  .noofno-world-flags .wf-cat-links { grid-template-columns:1fr; }
  .noofno-world-flags .wf-footer { grid-template-columns:1fr; gap:18px; }
}
