/* ==========================================================================
   OA mega menu — orlando theme
   Rendered by catalog/view/theme/orlando/template/common/menu.twig.
   Everything is prefixed .oa-* so it cannot collide with Bootstrap 3 (.nav, .panel …).
   Colours come from the theme's own CSS variables with the live values as fallbacks.
   ========================================================================== */

/* the old blue utilities bar: Login / Wish List / currency now live in the mega-menu bar */
#top { display: none; }

.oa-menu-wrap { position: relative; margin-bottom: 20px; }

/* ---------- bar ---------- */
.oa-nav { background: var(--primary-color, #006BB7); border-radius: 10px; position: relative; z-index: 50; margin: 6px 0 0; }
.oa-nav-in { display: flex; align-items: stretch; padding: 0 8px; }
.oa-item { position: static; }
.oa-link { display: flex; align-items: center; gap: 6px; color: #fff; font-weight: 700; font-size: 14.5px; padding: 16px 11px; cursor: pointer; border: 0; background: none; font-family: inherit; white-space: nowrap; letter-spacing: .025rem; text-decoration: none; line-height: 1.2; }
.oa-link:hover, .oa-link:focus { color: var(--accent-color-alt, #FEBA12); text-decoration: none; outline: none; }
.oa-link .fa { color: var(--accent-color-alt, #FEBA12); font-size: 15px; }
.oa-car { font-size: 9px; opacity: .75; transition: transform .15s; }
.oa-item.open > .oa-link { background: rgba(0, 38, 54, .22); color: var(--accent-color-alt, #FEBA12); }
.oa-item.open > .oa-link .oa-car { transform: rotate(180deg); }
.oa-spacer { flex: 1; }
.oa-util { display: flex; align-items: stretch; margin-left: 6px; border-left: 1px solid rgba(255, 255, 255, .3); padding-left: 6px; }
.oa-util .oa-link { padding-left: 9px; padding-right: 9px; }
.oa-util .oa-link .fa { font-size: 17px; }
/* wish-list count: only shown once something is in the list */
.oa-wishcount { display: none; }
.oa-wishcount.on { display: inline-block; background: var(--accent-color-alt, #FEBA12); color: #002636; font-size: 10.5px; font-weight: 800; line-height: 16px; min-width: 16px; padding: 0 4px; border-radius: 8px; text-align: center; margin-left: -2px; }
.oa-curr { position: relative; }
.oa-cursym { font-size: 16px; }
.oa-burger { display: none; }
@media (min-width: 1400px) {
  .oa-link { font-size: 16px; padding: 18px 16px; }
  .oa-util .oa-link { padding-left: 11px; padding-right: 11px; }
}

/* ---------- mega panels ---------- */
.oa-panel { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 3px solid var(--accent-color-alt, #FEBA12); border-radius: 0 0 12px 12px; box-shadow: 0 18px 40px rgba(0, 38, 54, .22); z-index: 49; text-align: left; }
.oa-item.open > .oa-panel { display: block; }
.oa-pin { padding: 26px 28px; display: grid; gap: 30px; }
.oa-c1 { grid-template-columns: 1fr; }
.oa-c2 { grid-template-columns: 1fr 1.35fr; }
.oa-c3 { grid-template-columns: 1fr 1fr 1.35fr; }
.oa-c4 { grid-template-columns: 1fr 1fr 1fr 1.35fr; }
.oa-pin.oa-grid-wrap { display: block; }
.oa-col .oa-ch { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--primary-color, #006BB7); border-bottom: 2px solid #D2E6F4; padding-bottom: 8px; margin: 0 0 10px; font-weight: 700; line-height: 1.3; }
.oa-col ul { list-style: none; margin: 0; padding: 0; }
.oa-col li { margin: 0; padding: 0; }
.oa-col li a { display: block; padding: 7px 8px; border-radius: 6px; font-size: 14.5px; font-weight: 600; color: var(--text-color, #002636); text-decoration: none; line-height: 1.35; }
.oa-col li a:hover, .oa-col li a:focus { background: #F6F9FC; color: var(--primary-color, #006BB7); text-decoration: none; }
.oa-col li a.all { color: var(--primary-color, #006BB7); font-weight: 700; }
.oa-col li a.all::after { content: " \2192"; }
.oa-tag { display: inline-block; font-size: 10.5px; font-weight: 700; text-transform: uppercase; border-radius: 4px; padding: 1px 7px; margin-left: 7px; vertical-align: 1px; line-height: 1.5; letter-spacing: .02em; }
.oa-tag.new { background: var(--accent-color-alt, #FEBA12); color: #002636; }
.oa-tag.sale { background: var(--accent-color, #D60D8C); color: #fff; }
.oa-blurb { font-size: 13px; color: #4A6B7E; line-height: 1.5; padding: 4px 8px 8px; margin: 0; }

/* popular product cards */
.oa-pops .oa-ch { color: var(--accent-color, #D60D8C); }
.oa-popgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.oa-pop { display: block; border: 1.5px solid #D2E6F4; border-radius: 12px; overflow: hidden; background: #fff; color: var(--text-color, #002636); text-decoration: none; transition: box-shadow .15s, transform .15s; }
.oa-pop:hover, .oa-pop:focus { box-shadow: 0 8px 20px rgba(0, 38, 54, .15); transform: translateY(-2px); text-decoration: none; color: var(--text-color, #002636); }
.oa-pop img { height: 96px !important; width: 100%; object-fit: cover; display: block; }
.oa-pop .pn { display: block; font-size: 13px; font-weight: 700; padding: 9px 11px 3px; line-height: 1.35; }
.oa-pop .pv { display: block; font-size: 12.5px; font-weight: 700; color: var(--primary-color, #006BB7); padding: 0 11px 10px; }
.oa-pop .pv::after { content: " \2192"; }

/* promo slot */
.oa-promo { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; background: linear-gradient(90deg, var(--primary-color, #006BB7), #004D83); border-radius: 12px; padding: 14px 20px; color: #fff; margin-top: 2px; }
.oa-promo .pi { font-size: 26px; }
.oa-promo .pt { font-weight: 700; font-size: 15px; }
.oa-promo .pd { font-size: 13px; opacity: .85; }
.oa-promo a { margin-left: auto; background: var(--accent-color-alt, #FEBA12); color: #002636; font-weight: 700; font-size: 13.5px; border-radius: 20px; padding: 8px 16px; white-space: nowrap; text-decoration: none; }
.oa-promo a:hover { background: #fff; color: var(--primary-color, #006BB7); }

/* attraction logo grid (More Attractions) */
.oa-attgrid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.oa-att { display: block; border: 1.5px solid #D2E6F4; border-radius: 12px; padding: 16px 12px; text-align: center; font-weight: 700; font-size: 14px; background: #fff; color: var(--text-color, #002636); text-decoration: none; transition: box-shadow .15s, transform .15s; line-height: 1.3; }
.oa-att:hover, .oa-att:focus { box-shadow: 0 8px 20px rgba(0, 38, 54, .15); transform: translateY(-2px); border-color: var(--primary-color, #006BB7); text-decoration: none; color: var(--text-color, #002636); }
.oa-alogo { height: 46px; display: flex; align-items: center; justify-content: center; margin-bottom: 8px; }
.oa-alogo img { max-height: 46px !important; max-width: 85%; width: auto !important; height: auto; object-fit: contain; }
.oa-alogo .fa { font-size: 30px; color: var(--primary-color, #006BB7); }
.oa-gridlinks { margin-top: 14px; padding-top: 12px; border-top: 1px solid #D2E6F4; font-size: 13.5px; font-weight: 600; display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; }
.oa-gridlinks span { color: #7A95A5; text-transform: uppercase; font-size: 11.5px; letter-spacing: .07em; font-weight: 700; }
.oa-gridlinks a { color: var(--primary-color, #006BB7); text-decoration: none; }
.oa-gridlinks a:hover { text-decoration: underline; }
/* seasonal "hot" item (e.g. Black Friday) — pink pill in the bar / drawer */
.oa-item.oa-hot .oa-link { color: #fff; }
.oa-item.oa-hot .oa-link::before { content: "\1F525"; margin-right: 2px; }
.oa-dlink.oa-hot { color: var(--accent-color, #D60D8C); }

/* logo-headed columns (SeaWorld parks) + official-tickets header strip */
.oa-collogo { height: 56px; display: flex; align-items: center; border-bottom: 2px solid #D2E6F4; padding-bottom: 10px; margin-bottom: 10px; }
.oa-collogo img { max-height: 46px !important; max-width: 200px; width: auto !important; height: auto; object-fit: contain; }
.oa-phead { display: flex; align-items: center; gap: 16px; padding: 11px 28px; background: #F6F9FC; border-bottom: 1px solid #D2E6F4; }
.oa-phead img { max-height: 40px !important; max-width: 230px; width: auto !important; height: auto; object-fit: contain; }
.oa-phead img.tall { max-height: 60px !important; }
.oa-off { font-weight: 800; font-size: 14.5px; color: var(--text-color, #002636); letter-spacing: .02rem; }
.oa-tick { color: var(--primary-color, #006BB7); }

/* currency dropdown */
.oa-mini { left: auto; right: 0; width: 230px; padding: 10px; }
.oa-mini ul { list-style: none; margin: 0; padding: 0; }
.oa-curopt { display: block; width: 100%; text-align: left; background: none; border: 0; font-family: inherit; font-size: 14.5px; font-weight: 600; color: var(--text-color, #002636); padding: 8px 10px; border-radius: 6px; cursor: pointer; }
.oa-curopt:hover { background: #F6F9FC; color: var(--primary-color, #006BB7); }
.oa-curopt.on { color: var(--primary-color, #006BB7); font-weight: 800; }
.oa-curopt.on::after { content: " \2713"; }
.oa-hidden-form { display: none; }

/* ---------- USP strip ---------- */
.oa-usp { margin: 10px 0 0; background: var(--bg-primary, #EAF0F4); border: 1px solid #D2E6F4; border-radius: 8px; }
.oa-usp-in { display: flex; justify-content: center; gap: 48px; padding: 9px 20px; font-size: 13.5px; font-weight: 700; color: var(--text-color, #002636); }
.oa-usp-in span b { color: var(--primary-color, #006BB7); }

/* 1200–1299px: the USP strip would wrap at the normal size — drop the optional text and tighten the gap */
@media (max-width: 1299px) and (min-width: 1200px) {
  .oa-usp-in { gap: 30px; font-size: 13px; }
  .oa-usp-opt { display: none; }
}

/* compact desktop (992–1199px, Bootstrap "md"): tighter bar, four equal columns with the popular cards stacked */
@media (max-width: 1199px) and (min-width: 992px) {
  .oa-link { font-size: 13.5px; padding: 14px 7px; gap: 4px; }
  .oa-util .oa-link { padding-left: 8px; padding-right: 8px; }
  .oa-nav-in { padding: 0 4px; }
  /* four equal columns; the two popular cards stack in their own column so the panel stays above the fold on 1024×768 */
  .oa-c4 { grid-template-columns: 1fr 1fr 1fr 1fr; }
  .oa-c3 { grid-template-columns: 1fr 1fr 1.2fr; }
  .oa-popgrid { grid-template-columns: 1fr; gap: 10px; }
  .oa-pop img { height: 84px !important; }
  .oa-pin { padding: 22px 20px; gap: 20px; }
  .oa-col li a { font-size: 14px; padding: 6px 7px; }
  .oa-attgrid { gap: 10px; }
  .oa-att { padding: 12px 8px; font-size: 13px; }
  .oa-usp-in { gap: 26px; font-size: 12.5px; padding: 8px 14px; }
  .oa-usp-opt { display: none; }
}

/* ---------- mobile & tablet (below 992px) ---------- */
.oa-drawer { display: none; }
@media (max-width: 991px) {
  /* bar collapses to: [☰ All Tickets & Tours] … [account] [wishlist] [currency] */
  .oa-nav-in > .oa-item { display: none; }
  .oa-util .oa-item { display: block; }
  .oa-util { border-left: 0; margin-left: 0; padding-left: 0; }
  .oa-link { padding: 12px 10px; }
  .oa-burger { display: flex; align-items: center; gap: 8px; border: 0; background: none; color: #fff; font-weight: 700; font-size: 15px; padding: 12px 10px; cursor: pointer; font-family: inherit; white-space: nowrap; }
  .oa-burger-ic { font-size: 20px; line-height: 1; }
  .oa-burger:hover, .oa-burger:focus { color: var(--accent-color-alt, #FEBA12); outline: none; }

  /* USP strip: one swipeable line, edge to edge */
  .oa-usp { border-radius: 0; border-left: 0; border-right: 0; margin: 8px -15px 0; }
  .oa-usp-in { gap: 28px; font-size: 12.5px; flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; white-space: nowrap; padding: 9px 16px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .oa-usp-in::-webkit-scrollbar { display: none; }
  .oa-usp-in span { flex: none; }

  /* header (CSS only — no template change): logo full width on its own row, then search + compact cart */
  header { padding: 12px 0 8px; }
  header .row { align-items: center; }
  header .col-sm-3 { height: auto; }
  header .header-logo { width: 100% !important; flex: 0 0 100%; justify-content: center; padding: 2px 15px 8px; }
  header .header-logo img { width: min(440px, 96%) !important; max-width: none; }
  header .header-contact { display: none !important; }
  header .header-search { width: auto !important; flex: 1 1 0; min-width: 0; order: 1; }
  header .header-cart { width: auto !important; flex: 0 0 auto; order: 2; }
  #cart { width: auto; }
  #cart > .btn { width: 44px; height: 44px; border-radius: 50% !important; padding: 0; display: flex; align-items: center; justify-content: center; }
  #cart > .btn .fa { font-size: 18px; margin: 0; }
  #cart-total { font-size: 0; line-height: 0; }
  #cart-total .fa { font-size: 18px; }

  /* drawer */
  .oa-drawer { display: block; position: fixed; top: 0; right: 0; bottom: 0; left: 0; background: rgba(0, 38, 54, .45); z-index: 10000; opacity: 0; pointer-events: none; transition: opacity .2s; }
  .oa-drawer.open { opacity: 1; pointer-events: auto; }
  .oa-drawer-in { position: absolute; top: 0; left: 0; bottom: 0; width: min(400px, 88vw); background: #fff; overflow-y: auto; transform: translateX(-102%); transition: transform .25s; -webkit-overflow-scrolling: touch; }
  .oa-drawer.open .oa-drawer-in { transform: none; }
  body.oa-drawer-open { overflow: hidden; }
  .oa-dhead { display: flex; align-items: center; justify-content: space-between; background: var(--primary-color, #006BB7); color: #fff; padding: 14px 18px; font-weight: 700; font-size: 16px; }
  .oa-dhead button { background: none; border: 0; color: #fff; font-size: 22px; cursor: pointer; line-height: 1; }
  .oa-dutils { display: flex; align-items: center; gap: 18px; padding: 12px 18px; border-bottom: 1px solid #D2E6F4; font-weight: 700; font-size: 14.5px; }
  .oa-dutils a { display: flex; align-items: center; gap: 6px; color: var(--primary-color, #006BB7); text-decoration: none; }
  .oa-dcur { margin-left: auto; display: flex; border: 1.5px solid #D2E6F4; border-radius: 8px; overflow: hidden; }
  .oa-dcur button { border: 0; background: #fff; font-family: inherit; font-weight: 700; font-size: 14px; padding: 5px 11px; color: var(--text-color, #002636); cursor: pointer; }
  .oa-dcur button.on { background: var(--primary-color, #006BB7); color: #fff; }
  .oa-dgroup > button { display: flex; width: 100%; align-items: center; justify-content: space-between; background: none; border: 0; border-bottom: 1px solid #D2E6F4; padding: 15px 18px; font-family: inherit; font-weight: 700; font-size: 16px; color: var(--text-color, #002636); cursor: pointer; text-align: left; }
  .oa-dgroup > button .oa-car { font-size: 12px; color: var(--primary-color, #006BB7); opacity: 1; }
  .oa-dgroup.open > button { color: var(--primary-color, #006BB7); }
  .oa-dgroup.open > button .oa-car { transform: rotate(180deg); }
  .oa-dsub { display: none; background: #F6F9FC; padding: 6px 0; }
  .oa-dgroup.open .oa-dsub { display: block; }
  .oa-dsub a { display: block; padding: 11px 18px 11px 30px; font-size: 14.5px; font-weight: 600; border-bottom: 1px solid #EDF4F8; color: var(--text-color, #002636); text-decoration: none; }
  .oa-dsub a.all { color: var(--primary-color, #006BB7); font-weight: 700; }
  .oa-dico { height: 18px !important; width: auto !important; max-width: 76px; object-fit: contain; vertical-align: middle; margin-right: 9px; display: inline-block; }
  .oa-dcap { font-size: 11.5px; text-transform: uppercase; letter-spacing: .07em; color: #7A95A5; padding: 10px 18px 4px; font-weight: 700; }
  .oa-dlink { display: block; padding: 15px 18px; font-weight: 700; font-size: 16px; border-bottom: 1px solid #D2E6F4; color: var(--text-color, #002636); text-decoration: none; }
}
@media (min-width: 992px) { .oa-drawer { display: none !important; } }
