/* ══════════════════════════════════════════════
   OILCHOICES.COM — Complete CSS v6
   GitHub: medonid/oilchoices-assets
══════════════════════════════════════════════ */

/* -- Base Reset -- */
html {
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box;
}
body {
  margin: 0 !important;
  width: 100% !important;
  box-sizing: border-box;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* -- Images -- */
img, video {
  height: auto;
  display: block;
}

/* ══════════════════════════════════════════════
   CSS VARIABLES
══════════════════════════════════════════════ */
:root {
  --oc-nb-h: 0px;
  --oc-red: #BF0A30;
  --oc-red2: #e8143a;
  --oc-navy: #0A1628;
  --oc-navy2: #0d1f3c;
}

/* ══════════════════════════════════════════════
   NOTICE BAR
══════════════════════════════════════════════ */
#oc-nb {
  position: sticky;
  top: 0;
  z-index: 9999;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 9px 18px !important;
  background: linear-gradient(90deg, #002868, #0d1f3c 60%, #002868);
  color: #fff;
  text-align: center;
  font-size: 13.5px;
  font-weight: 700;
  border-bottom: 2px solid #BF0A30;
  box-shadow: 0 2px 10px rgba(0,0,0,.20);
  transition: padding .3s, font-size .3s;
  line-height: 1.4;
  box-sizing: border-box;
}
#oc-nb.compact {
  padding: 6px 18px !important;
  font-size: 12px;
}
#oc-nb a {
  color: #ffaabb;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ══════════════════════════════════════════════
   SCROLL PROGRESS BAR
══════════════════════════════════════════════ */
#oc-prog {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 0% !important;
  height: 3px !important;
  margin: 0 !important;
  padding: 0 !important;
  background: linear-gradient(90deg, #002868 0%, #BF0A30 45%, #fff 75%, #BF0A30 100%);
  z-index: 999999 !important;
  pointer-events: none !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  overflow: visible !important;
  transform: none !important;
}

/* ══════════════════════════════════════════════
   MAIN HEADER SHELL
══════════════════════════════════════════════ */
#oc-hdr {
  position: sticky;
  top: var(--oc-nb-h);
  z-index: 9998;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  background: linear-gradient(135deg, rgba(10,22,40,.99), rgba(13,31,60,.98) 55%, rgba(20,42,78,.97));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(191,10,48,.22);
  box-shadow: 0 8px 32px rgba(0,0,0,.28);
  transition: box-shadow .3s;
  box-sizing: border-box;
}
#oc-hdr::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, #002868 0%, #002868 33%, #BF0A30 33%, #BF0A30 66%, #002868 66%, #002868 100%);
}
#oc-hdr.scrolled { box-shadow: 0 12px 42px rgba(0,0,0,.36); }

/* -- Row 1 -- */
.oc-r1 {
  max-width: 1380px !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 12px 24px !important;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  transition: padding .3s;
  box-sizing: border-box;
}
#oc-hdr.scrolled .oc-r1 { padding-top: 8px !important; padding-bottom: 8px !important; }

/* -- Brand -- */
.oc-brand {
  display: flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
  min-width: max-content;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
}

/* -- Logo Badge -- */
.oc-badge {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #fff 0%, #f4f7ff 55%, #fff4f6 100%);
  border-radius: 16px;
  padding: 8px 12px;
  border-top: 3px solid #002868;
  border-bottom: 2px solid #BF0A30;
  border-left: 1px solid rgba(0,40,104,.18);
  border-right: 1px solid rgba(191,10,48,.18);
  box-shadow: 0 14px 30px rgba(10,22,40,.28), inset 0 1px 0 rgba(255,255,255,.95);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: padding .3s;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
}
.oc-badge::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 45%;
  background: linear-gradient(180deg, rgba(255,255,255,.55), transparent);
  border-radius: 14px 14px 0 0;
  pointer-events: none;
}
.oc-badge img {
  height: 54px !important;
  width: auto !important;
  display: block;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 2px 5px rgba(0,0,0,.12));
  transition: height .3s;
}
#oc-hdr.scrolled .oc-badge { padding: 6px 10px; }
#oc-hdr.scrolled .oc-badge img { height: 44px !important; }

/* -- Brand Text -- */
.oc-btext {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
}
.oc-btitle {
  color: #fff;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: .2px;
  transition: font-size .3s;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
}
#oc-hdr.scrolled .oc-btitle { font-size: 22px; }
.oc-bsub {
  color: rgba(255,154,170,.92);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  margin-top: 2px !important;
  width: auto !important;
  max-width: none !important;
}

/* -- Mobile Toggle -- */
.oc-tog {
  display: none;
  margin-left: auto !important;
  width: 46px !important;
  max-width: 46px !important;
  height: 46px;
  border: 1px solid rgba(191,10,48,.35);
  background: rgba(255,255,255,.05);
  color: #ffaabb;
  border-radius: 13px;
  cursor: pointer;
  font-size: 20px;
  align-items: center;
  justify-content: center;
}

/* -- Nav Wrap -- */
.oc-nwrap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 !important;
  justify-content: flex-end;
  flex-wrap: wrap;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
}

/* -- Nav -- */
.oc-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: wrap;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
}

/* -- Nav Links & Dropdown Toggles -- */
.oc-lnk, .oc-dtog {
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .55px;
  padding: 9px 11px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  transition: background .22s, color .22s, transform .18s, border-color .22s;
}
.oc-lnk:hover, .oc-dtog:hover {
  background: rgba(191,10,48,.14);
  border-color: rgba(191,10,48,.28);
  color: #ffaabb;
  transform: translateY(-1px);
}
.oc-lnk.active, .oc-dtog.active {
  background: linear-gradient(180deg, rgba(191,10,48,.18), rgba(191,10,48,.08));
  border-color: rgba(191,10,48,.28);
  color: #ffaabb;
}

/* -- Dropdown -- */
.oc-dd {
  position: relative !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
}
.oc-ddm {
  position: absolute !important;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  width: 242px !important;
  min-width: 242px !important;
  max-width: 320px !important;
  margin: 0 !important;
  background: linear-gradient(180deg, #fff, #f4f7ff);
  border: 1px solid rgba(0,40,104,.12);
  border-top: 3px solid #BF0A30;
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 20px 50px rgba(10,22,40,.22);
  display: none;
  z-index: 100010;
  animation: ocIn .18s ease;
}
@keyframes ocIn {
  from { opacity: 0; transform: translateX(-50%) translateY(-6px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.oc-dd.open .oc-ddm { display: block; }

.oc-ddt {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #002868;
  border-bottom: 1px solid rgba(191,10,48,.18);
  padding-bottom: 8px;
  margin: 0 0 9px 0 !important;
  width: auto !important;
  max-width: none !important;
}
.oc-ddl {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
}
.oc-ddl a {
  color: #0d1f3c;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  padding: 9px 12px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  gap: 8px;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  transition: background .18s, color .18s, padding-left .18s;
}
.oc-ddl a::before {
  content: '';
  width: 4px !important;
  height: 4px;
  border-radius: 50%;
  background: #BF0A30;
  flex-shrink: 0;
}
.oc-ddl a:hover {
  background: rgba(191,10,48,.10);
  color: #BF0A30;
  padding-left: 16px;
}

/* -- Search -- */
.oc-srch {
  position: relative !important;
  width: 230px !important;
  max-width: 230px !important;
  min-width: 160px !important;
  margin: 0 !important;
}
.oc-srch input {
  width: 100% !important;
  max-width: 100% !important;
  height: 46px;
  border: 1px solid rgba(191,10,48,.25);
  outline: 0;
  border-radius: 999px;
  padding: 0 48px 0 17px;
  font-size: 13px;
  background: rgba(255,255,255,.97);
  color: #0d1f3c;
  box-shadow: 0 6px 16px rgba(10,22,40,.14);
  transition: border-color .22s, box-shadow .22s;
  margin: 0 !important;
  box-sizing: border-box;
}
.oc-srch input:focus {
  border-color: rgba(191,10,48,.55);
  box-shadow: 0 6px 16px rgba(10,22,40,.14), 0 0 0 3px rgba(191,10,48,.14);
}
.oc-srch input::placeholder { color: #6a7a9b; font-weight: 600; }
.oc-srch button {
  position: absolute !important;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px !important;
  max-width: 36px !important;
  height: 36px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  font-size: 15px;
  color: #fff;
  background: linear-gradient(135deg, #BF0A30, #e8143a);
  box-shadow: 0 4px 12px rgba(191,10,48,.40);
  transition: transform .18s;
  margin: 0 !important;
}
.oc-srch button:hover { transform: translateY(-50%) scale(1.09); }

/* -- CTA Button -- */
.oc-cta {
  text-decoration: none;
  color: #fff;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .7px;
  padding: 12px 18px;
  border-radius: 999px;
  white-space: nowrap;
  background: linear-gradient(135deg, #BF0A30, #e8143a);
  box-shadow: 0 8px 20px rgba(191,10,48,.40);
  border: 1px solid rgba(255,255,255,.18);
  transition: transform .22s, box-shadow .22s;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
}
.oc-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 13px 28px rgba(191,10,48,.50);
}

/* ══════════════════════════════════════════════
   YMM ROW
══════════════════════════════════════════════ */
.oc-ymm {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  background: linear-gradient(90deg, rgba(0,40,104,.22) 0%, rgba(191,10,48,.12) 50%, rgba(0,40,104,.18) 100%);
  border-top: 1px solid rgba(191,10,48,.18);
  padding: 9px 24px !important;
  transition: padding .3s;
  box-sizing: border-box;
}
#oc-hdr.scrolled .oc-ymm { padding-top: 6px !important; padding-bottom: 6px !important; }
.oc-ymm-in {
  max-width: 1380px !important;
  width: 100% !important;
  margin: 0 auto !important;
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}
.oc-ymm-lbl {
  color: rgba(255,170,187,.95);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .6px;
  white-space: nowrap;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
}
.oc-ymm-in select {
  height: 38px;
  border-radius: 9px;
  border: 1px solid rgba(191,10,48,.32);
  background: rgba(255,255,255,.97);
  color: #0d1f3c;
  font-size: 13px;
  font-weight: 700;
  padding: 0 10px;
  cursor: pointer;
  flex: 1;
  min-width: 80px;
  max-width: 158px !important;
  margin: 0 !important;
  transition: border-color .2s, box-shadow .2s;
}
.oc-ymm-in select:focus {
  outline: 0;
  border-color: #BF0A30;
  box-shadow: 0 0 0 3px rgba(191,10,48,.16);
}
.oc-ymm-btn {
  height: 38px;
  padding: 0 18px;
  border-radius: 9px;
  border: none;
  background: linear-gradient(135deg, #BF0A30, #e8143a);
  color: #fff;
  font-weight: 900;
  font-size: 12px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 5px 14px rgba(191,10,48,.40);
  transition: transform .18s, box-shadow .18s;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
}
.oc-ymm-btn:hover { transform: translateY(-1px); }

/* ══════════════════════════════════════════════
   BACK TO TOP BUTTON
══════════════════════════════════════════════ */
#oc-btt {
  position: fixed !important;
  bottom: 20px !important;
  right: 20px !important;
  width: 48px !important;
  max-width: 48px !important;
  height: 48px !important;
  border: 1px solid rgba(191,10,48,.30);
  border-radius: 50%;
  background: linear-gradient(135deg, #0A1628, #0d1f3c);
  color: #ffaabb;
  cursor: pointer;
  display: flex !important;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px rgba(0,0,0,.24);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(.95);
  transition: opacity .26s, transform .26s, visibility .26s, background .22s;
  z-index: 999998 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
}
#oc-btt.show {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) scale(1) !important;
}
#oc-btt:hover { background: linear-gradient(135deg, #BF0A30, #0d1f3c); }
#oc-btt svg {
  width: 20px !important;
  height: 20px !important;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ══════════════════════════════════════════════
   HIDE NATIVE HEADERS
══════════════════════════════════════════════ */
.oc-kill {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

/* ══════════════════════════════════════════════
   HOSTINGER FULL WIDTH FIX
   (NO overflow:hidden — it breaks fixed elements)
══════════════════════════════════════════════ */
.block-layout,
.block-layout--layout,
[class*="grid-container"],
[class*="zyro-"],
[class*="builder-block"],
[class*="section__"],
[class*="is-section"],
.main-layout,
.layout-wrapper,
.page-wrapper,
.site-wrapper {
  max-width: 100vw !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box !important;
}

section img,
section video,
.block-layout img,
.block-layout video {
  width: 100% !important;
  max-width: 100% !important;
  height: auto;
  display: block;
}

/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .oc-srch { width: 185px !important; max-width: 185px !important; }
  .oc-lnk, .oc-dtog { font-size: 11px; padding: 8px 9px; }
}

@media (max-width: 960px) {
  .oc-tog { display: inline-flex !important; }
  .oc-r1 { flex-wrap: nowrap; padding: 12px 14px !important; justify-content: space-between; }
  .oc-r1 .oc-nwrap { display: none !important; }
  .oc-nwrap.open {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 10px 14px 14px !important;
    width: 100% !important;
    max-width: 100% !important;
    background: linear-gradient(180deg, rgba(10,22,40,.99), rgba(13,31,60,.98));
    border-top: 1px solid rgba(191,10,48,.15);
  }
  .oc-r1.mopen { flex-wrap: wrap !important; }
  .oc-nav { flex-direction: column; align-items: stretch; gap: 4px; }
  .oc-lnk, .oc-dtog {
    width: 100% !important;
    max-width: 100% !important;
    justify-content: space-between;
    background: rgba(255,255,255,.05);
    border-radius: 13px;
    font-size: 13px;
  }
  .oc-dd { width: 100% !important; max-width: 100% !important; }
  .oc-ddm {
    position: static !important;
    transform: none !important;
    left: 0;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    margin-top: 6px !important;
    border-radius: 13px;
    box-shadow: none;
    animation: none;
  }
  .oc-srch { width: 100% !important; max-width: 100% !important; }
  .oc-cta { width: 100% !important; max-width: 100% !important; text-align: center; }
  .oc-ymm-in select { max-width: none !important; flex: 1 1 44% !important; }
  .oc-ymm-btn { width: 100% !important; max-width: 100% !important; }
  .oc-ymm { padding: 8px 14px !important; }
  .block-layout,
  .block-layout--layout,
  [class*="zyro-"],
  [class*="builder-block"],
  [class*="section__"],
  .main-layout,
  .page-wrapper {
    width: 100vw !important;
    max-width: 100vw !important;
    padding: 0 !important;
    margin: 0 !important;
  }
}

@media (max-width: 640px) {
  #oc-nb { font-size: 12px; padding: 8px 12px !important; }
  .oc-btitle { font-size: 22px !important; }
  .oc-badge img { height: 46px !important; }
  .oc-r1 { padding: 10px 12px !important; }
  .oc-ymm { padding: 8px 12px !important; }
  #oc-btt {
    width: 44px !important;
    max-width: 44px !important;
    height: 44px !important;
    bottom: 14px !important;
    right: 14px !important;
  }
}
