/*
 * OneCard design system layer.
 * Keeps visual upgrades centralized so templates remain content-focused.
 */

:root {
  --primary-50: #F0F7FA;
  --primary-100: #E0EEF5;
  --primary-200: #BDDBEA;
  --primary-300: #8FC1DB;
  --primary-400: #4D9DC6;
  --primary-500: #0073AE;
  --primary-600: #006396;
  --primary-700: #00517A;
  --primary-800: #003E5E;
  --primary-900: #002C42;
  --primary: var(--primary-500);
  --accent-50: #F0FAFE;
  --accent-100: #E0F5FD;
  --accent-200: #BDEAFB;
  --accent-300: #8FDBF8;
  --accent-400: #4DC6F4;
  --accent-500: #00AEEF;
  --accent-600: #0096CE;
  --accent-700: #007AA7;
  --accent-800: #005E81;
  --accent-900: #00425B;
  --accent: var(--accent-500);
  --neutral-0: #FFFFFF;
  --neutral-50: #F7FBFD;
  --neutral-100: #F0F7FA;
  --neutral-200: #E6F1F7;
  --neutral-300: #D7E0E7;
  --neutral-400: #94A3B8;
  --neutral-500: #64748B;
  --neutral-600: #475569;
  --neutral-700: #334155;
  --neutral-800: #1E293B;
  --neutral-900: #0E2C4F;
  --success: #149A5B;
  --warning: #C8870F;
  --danger: #C8412C;
  --info: var(--primary);
  --bg: var(--neutral-50);
  --surface: var(--neutral-0);
  --surface-soft: var(--primary-50);
  --border: var(--neutral-200);
  --text: var(--neutral-800);
  --text-strong: var(--neutral-900);
  --muted: var(--neutral-500);
  --font-sans: "Plus Jakarta Sans", "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "Geist Mono", "SF Mono", ui-monospace, monospace;
  --space-1: 2px;
  --space-2: 4px;
  --space-3: 8px;
  --space-4: 12px;
  --space-5: 16px;
  --space-6: 20px;
  --space-7: 24px;
  --space-8: 32px;
  --space-9: 40px;
  --space-10: 48px;
  --space-11: 64px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-pill: 999px;
  --shadow-sm: 0 8px 24px rgba(14, 44, 79, 0.08);
  --shadow-md: 0 16px 42px rgba(14, 44, 79, 0.12);
  --shadow-lg: 0 24px 64px rgba(14, 44, 79, 0.16);
  --shadow-primary: 0 18px 46px rgba(0, 115, 174, 0.2);
  --focus-ring: 0 0 0 4px rgba(0, 174, 239, 0.24);
  --oc-blue-900: var(--primary-900);
  --oc-blue-800: var(--primary-800);
  --oc-blue-700: var(--primary-700);
  --oc-blue-600: var(--primary-500);
  --oc-blue-500: var(--accent-500);
  --oc-ink: var(--text);
  --oc-muted: var(--muted);
  --oc-surface: var(--surface);
  --oc-surface-soft: var(--surface-soft);
  --oc-border: var(--border);
  --oc-dark: var(--primary-900);
  --oc-green: var(--success);
  --oc-orange: var(--warning);
  --oc-text: var(--text);
  --oc-radius-sm: var(--radius-sm);
  --oc-radius-md: var(--radius-md);
  --oc-radius-lg: var(--radius-lg);
  --oc-shadow-sm: var(--shadow-sm);
  --oc-shadow-md: var(--shadow-md);
  --oc-shadow-lg: var(--shadow-lg);
  --oc-focus: var(--focus-ring);
  --oc-header-height: 68px;
  --oc-scrollbar-track: var(--primary-50);
  --oc-scrollbar-thumb: var(--primary);
  --oc-scrollbar-thumb-hover: var(--primary-700);
}

html {
  scroll-padding-top: calc(var(--oc-header-height) + 24px);
  scrollbar-color: var(--oc-scrollbar-thumb) var(--oc-scrollbar-track);
  scrollbar-width: thin;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans) !important;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
}

button,
input,
select,
textarea {
  font-family: var(--font-sans) !important;
}

* {
  scrollbar-color: var(--oc-scrollbar-thumb) var(--oc-scrollbar-track);
  scrollbar-width: thin;
}

::-webkit-scrollbar {
  height: 12px;
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--oc-scrollbar-track);
}

::-webkit-scrollbar-thumb {
  background: var(--oc-scrollbar-thumb);
  border: 3px solid var(--oc-scrollbar-track);
  border-radius: var(--radius-pill);
}

::-webkit-scrollbar-thumb:hover,
::-webkit-scrollbar-thumb:active {
  background: var(--oc-scrollbar-thumb-hover);
}

::-webkit-scrollbar-corner {
  background: var(--oc-scrollbar-track);
}

#page {
  background: var(--oc-surface);
  overflow-x: hidden;
  overflow-x: clip;
}

img {
  height: auto;
  max-width: 100%;
}

a,
button,
input,
select,
textarea {
  touch-action: manipulation;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  box-shadow: var(--oc-focus) !important;
  outline: 2px solid transparent !important;
  outline-offset: 2px !important;
}

::selection {
  background: rgba(0, 174, 239, 0.24);
  color: var(--text-strong);
}

/* Header and navigation */
#masthead {
  background: rgba(14, 44, 79, 0.96) !important;
  border-bottom: 1px solid rgba(141, 219, 248, 0.14);
  box-shadow: 0 14px 34px rgba(14, 44, 79, 0.14);
  backdrop-filter: saturate(1.1) blur(10px);
}

.admin-bar #masthead {
  top: 32px;
}

#masthead .navbar {
  min-height: var(--oc-header-height);
  padding: 0 16px;
}

#masthead .logo-principal,
#masthead .custom-logo-link {
  align-items: center;
  display: inline-flex;
  min-height: 44px;
}

#masthead .custom-logo {
  display: block;
  height: auto;
  max-height: 48px;
  width: auto;
}

#navbarNav {
  order: 2;
}

#menu-principal ul {
  align-items: center;
  gap: 4px;
}

#menu-principal li {
  padding: 0 !important;
}

#menu-principal a {
  align-items: center;
  border-radius: var(--oc-radius-sm);
  color: rgba(255, 255, 255, 0.78);
  display: inline-flex;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  min-height: 44px;
  padding: 9px 12px;
  transition: background-color 180ms ease, color 180ms ease;
}

#menu-principal a:hover,
#menu-principal a:focus-visible,
#menu-principal li.current_page_item > a,
#menu-principal li.current-menu-item > a,
#menu-principal li.current_page_ancestor > a {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff !important;
}

.onecard-header-actions {
  align-items: center;
  display: flex;
  gap: 10px;
  margin-left: 10px;
  order: 3;
}

.navbar-toggler {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--oc-radius-sm);
  display: inline-flex;
  height: 48px;
  justify-content: center;
  padding: 0 !important;
  width: 48px;
}

.navbar-toggler span {
  background: #ffffff;
}

#wpadminbar #adminbarsearch .adminbar-button {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: transparent !important;
  display: block !important;
  font-size: 0 !important;
  height: 0 !important;
  line-height: 0 !important;
  min-height: 0 !important;
  min-width: 0 !important;
  opacity: 0 !important;
  padding: 0 !important;
  transform: none !important;
  width: 0 !important;
}

/* Typography and section rhythm */
.site-main h1,
.site-main h2,
.site-main h3,
.site-main h4 {
  letter-spacing: 0;
  line-height: 1.18;
  font-weight: 600;
  color: inherit;
}

.site-main p,
.site-main li {
  line-height: 1.68;
}

.container > p,
.container .text-center > p,
.container .text-left > p,
.container .text-start > p {
  max-width: 78ch;
}

.container .text-center > p {
  margin-left: auto;
  margin-right: auto;
}

.py-7 {
  padding-bottom: 72px;
  padding-top: 72px;
}

.py-6 {
  padding-bottom: 52px;
  padding-top: 52px;
}

/* Buttons and links used as calls to action */
.btn-1,
.btn-2,
.btn-3,
.btn-primary,
.btn-success,
#page input[type="submit"] {
  align-items: center;
  border-radius: var(--radius-md) !important;
  display: inline-flex !important;
  font-weight: 600 !important;
  justify-content: center;
  line-height: 1.2;
  min-height: 46px;
  padding: 12px 26px !important;
  text-align: center;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, color 180ms ease;
  white-space: normal;
}

.btn-1,
.btn-primary {
  background: var(--oc-blue-600) !important;
  box-shadow: var(--shadow-primary);
  color: #ffffff !important;
}

.btn-2 {
  background: var(--oc-dark) !important;
  box-shadow: 0 12px 26px rgba(14, 44, 79, 0.2);
  color: #ffffff !important;
}

.btn-3 {
  background: #ffffff !important;
  box-shadow: var(--shadow-sm);
  color: var(--primary-700) !important;
}

.btn-success {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
}

.btn-1:hover,
.btn-2:hover,
.btn-3:hover,
.btn-primary:hover,
.btn-success:hover,
#page input[type="submit"]:hover {
  box-shadow: var(--oc-shadow-md);
  transform: translateY(-2px);
}

/* Hero system */
.bg-header {
  background-attachment: scroll !important;
  isolation: isolate;
  overflow: hidden;
  position: relative;
}

.bg-header::after {
  background: linear-gradient(180deg, rgba(0, 44, 66, 0.08), rgba(0, 44, 66, 0.24));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 0;
}

.bg-header > .container,
.bg-header > .container-fluid {
  position: relative;
  z-index: 1;
}

.bg-header .h-600 {
  min-height: 600px;
}

.bg-header h1 {
  font-size: 42px !important;
  font-weight: 600;
  max-width: 980px;
  text-shadow: 0 8px 28px rgba(0, 44, 66, 0.24);
}

.bg-header h2,
.bg-header h3,
.bg-header p {
  text-shadow: 0 8px 24px rgba(0, 44, 66, 0.22);
}

.bg-marino-gradient {
  background: linear-gradient(135deg, var(--primary-800) 0%, var(--primary) 100%);
}

.bg-header .t-marino,
.bg-header .t-marino-2,
.bg-header .t-celeste-1,
.bg-header .t-verde,
.bg-header .t-verde-2,
.bg-header .t-naranja,
.bg-tarjetas .t-marino,
.bg-tarjetas .t-marino-2,
.bg-tarjetas .t-celeste-1,
.bg-tarjetas .t-verde,
.bg-tarjetas .t-verde-2,
.bg-tarjetas .t-naranja {
  color: var(--accent-200) !important;
}

.bg-oscuro,
.bg-oscuro-2 {
  background-color: var(--oc-dark) !important;
}

.bg-blanco {
  background: var(--oc-surface);
}

.bg-gris-1,
.bg-gris-2,
.bg-gris-claro {
  background: var(--oc-surface-soft) !important;
}

/* Repeated card-like content */
.home-solution-media {
  border-radius: var(--oc-radius-lg);
  margin: 0 auto 12px;
  max-width: 320px;
  transition: transform 220ms ease, filter 220ms ease;
}

.home-solution-media:hover,
.home-solution-media:focus-visible {
  filter: saturate(1.05);
  transform: translateY(-4px);
}

.bg-tarjetas .fuel-card-set--home {
  --fuel-card-left-shift: -34px;
  --fuel-card-right-shift: 34px;
  --fuel-card-side-scale: 0.84;
  height: 255px;
  max-width: 190px;
  min-height: 255px;
  width: min(100%, 190px);
}

.bg-tarjetas .fuel-card-set--home .fuel-card-set__card {
  max-height: 255px;
  max-width: 164px;
}

.bg-tarjetas .col-lg-4,
.page-template-productos-servicios .site-main .col-lg-4,
.container .row > .col-lg-4.text-center.py-2,
.container .row > .col-lg.col-sm-6.py-4 {
  position: relative;
}

.page-template-productos-servicios .site-main .col-lg-4 {
  background: var(--oc-surface);
  border: 1px solid var(--oc-border);
  border-radius: var(--oc-radius-md);
  box-shadow: var(--oc-shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0 !important;
  overflow: hidden;
}

.page-template-productos-servicios .site-main .col-lg-4 img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  padding-bottom: 0 !important;
  width: 100%;
}

.page-template-productos-servicios .site-main .col-lg-4 h4,
.page-template-productos-servicios .site-main .col-lg-4 p {
  padding-left: 24px;
  padding-right: 24px;
}

.page-template-productos-servicios .site-main .col-lg-4 h4 {
  padding-top: 22px;
}

.page-template-productos-servicios .site-main .col-lg-4 p {
  color: var(--oc-muted);
  padding-bottom: 24px;
}

.container .row > .col-lg-4.text-center.py-2 img.rounded-circle,
.container .row > .col-lg.col-sm-6.py-4 img.rounded-circle {
  box-shadow: var(--oc-shadow-sm);
  padding: 12px;
}

/* Product detail pages */
.page-template-combustible .bg-blanco .container > .p-4,
.page-template-despensa .bg-blanco .container > .p-4,
.page-template-premios .bg-blanco .container > .p-4,
.page-template-inicio2 .container > .py-4.text-center {
  background: var(--oc-surface);
  border: 1px solid var(--oc-border);
  border-radius: var(--oc-radius-md);
  box-shadow: var(--oc-shadow-sm);
  margin-left: auto;
  margin-right: auto;
  max-width: 820px;
}

.page-template-combustible .bg-header .col-lg-12.text-center.pt-8.pb-5 {
  padding-bottom: 20px !important;
  padding-top: 58px !important;
}

.page-template-combustible .fuel-card-set--hero {
  height: 325px;
}

.page-template-combustible .fuel-card-set--hero .fuel-card-set__card {
  max-height: 315px;
  max-width: 210px;
}

.page-template-combustible .bg-header .text-center.pt-5.pb-4 {
  padding-bottom: 18px !important;
  padding-top: 24px !important;
}

.page-template-combustible .bg-header .col-lg-12.pt-1.pb-7 {
  padding-bottom: 44px !important;
}

.page-template-combustible .bg-blanco .row p,
.page-template-despensa .bg-blanco .row p,
.page-template-premios .bg-blanco .row p {
  background: rgba(244, 247, 251, 0.85);
  border: 1px solid rgba(217, 226, 239, 0.8);
  border-radius: var(--oc-radius-sm);
  margin-bottom: 12px;
  padding: 12px 14px;
}

.page-template-combustible .bg-blanco .row p img,
.page-template-despensa .bg-blanco .row p img,
.page-template-premios .bg-blanco .row p img {
  height: 30px;
  min-width: 30px;
  width: 30px;
}

/* Commerce/map pages */
.mapa-mexico-container-mapbox {
  background: var(--oc-surface);
  border: 1px solid var(--oc-border);
  border-radius: var(--oc-radius-lg);
  box-shadow: var(--oc-shadow-sm);
  padding: 22px;
}

.estado-search-container {
  margin-left: auto;
  margin-right: auto;
  max-width: 760px;
}

.estado-search-container .form-control {
  box-shadow: var(--oc-shadow-sm);
}

#map {
  border-radius: var(--oc-radius-md) !important;
}

.estados-grid .btn {
  min-height: 44px;
}

.info-box {
  border: 1px solid var(--oc-border);
  box-shadow: var(--oc-shadow-sm) !important;
}

/* Forms */
.form-control,
.form-select,
textarea.form-control {
  border: 1px solid var(--oc-border);
  border-radius: var(--oc-radius-sm);
  min-height: 48px;
}

.form-control:focus,
.form-select:focus,
textarea.form-control:focus {
  border-color: var(--oc-blue-600);
  box-shadow: var(--oc-focus);
}

.form-check-input {
  min-height: 20px;
  min-width: 20px;
}

.form-check-label {
  line-height: 1.45;
}

/* Footer */
.site-footer {
  background:
    linear-gradient(92deg, rgba(0, 174, 239, 0.16) 0%, rgba(0, 115, 174, 0.18) 42%, rgba(0, 44, 66, 0) 76%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0) 32%),
    linear-gradient(155deg, var(--primary-900) 0%, var(--primary-800) 48%, #001E2D 100%) !important;
  color: #ffffff;
  isolation: isolate;
  overflow: hidden;
  position: relative;
}

.site-footer__scene {
  inset: 0 0 auto;
  height: 250px;
  overflow: hidden;
  pointer-events: none;
  position: absolute;
  z-index: 0;
}

.site-footer__scene::before {
  background:
    linear-gradient(90deg, rgba(141, 219, 248, 0.1) 1px, transparent 1px),
    linear-gradient(0deg, rgba(141, 219, 248, 0.07) 1px, transparent 1px);
  background-size: 46px 46px;
  content: "";
  inset: 0;
  mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 72%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 72%, transparent 100%);
  opacity: 0.6;
  position: absolute;
}

.site-footer__scene::after {
  background: linear-gradient(120deg, rgba(141, 219, 248, 0.18), rgba(0, 115, 174, 0.08) 46%, transparent 72%);
  content: "";
  inset: 30px 6% auto auto;
  height: 148px;
  opacity: 0.45;
  position: absolute;
  transform: rotate(-8deg);
  width: min(46vw, 620px);
}

.site-footer__mark {
  background-image: var(--onecard-footer-mark);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  height: 210px;
  opacity: 0.1;
  position: absolute;
  right: max(32px, 8vw);
  top: 16px;
  transform: rotate(-8deg);
  width: 210px;
}

.site-footer__network {
  border: 1px solid rgba(141, 219, 248, 0.24);
  border-left-color: transparent;
  border-radius: 999px;
  height: 110px;
  position: absolute;
  right: 18%;
  top: 34px;
  transform: rotate(-7deg);
  width: min(34vw, 470px);
}

.site-footer__network--secondary {
  border-color: rgba(0, 174, 239, 0.16);
  height: 150px;
  right: 10%;
  top: 10px;
  transform: rotate(8deg);
  width: min(42vw, 620px);
}

.site-footer__card {
  aspect-ratio: 2.15 / 1;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  filter: drop-shadow(0 20px 34px rgba(0, 44, 66, 0.28));
  position: absolute;
}

.site-footer__card--primary {
  background-image: var(--onecard-footer-card-primary);
  right: 6%;
  top: 12px;
  transform: rotate(-6deg);
  width: min(22vw, 290px);
}

.site-footer__card--secondary {
  background-image: var(--onecard-footer-card-secondary);
  opacity: 0.66;
  right: 23%;
  top: 50px;
  transform: rotate(8deg);
  width: min(18vw, 240px);
}

.site-footer__card--tertiary {
  background-image: var(--onecard-footer-card-tertiary);
  opacity: 0.52;
  right: 31%;
  top: 0;
  transform: rotate(-13deg);
  width: min(15vw, 205px);
}

.site-footer__inner {
  padding-bottom: 34px;
  padding-top: 176px;
  position: relative;
  z-index: 1;
}

.site-footer__main {
  align-items: start;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(270px, 1.2fr) repeat(3, minmax(150px, 0.7fr));
  padding-bottom: 36px;
}

.site-footer__brand {
  max-width: 400px;
}

.site-footer__logo {
  filter: drop-shadow(0 16px 30px rgba(0, 0, 0, 0.22));
  height: auto;
  margin-bottom: 18px;
  max-width: 190px;
  width: 100%;
}

.site-footer__title {
  color: #ffffff;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.05;
  margin: 0 0 18px;
}

.site-footer__address {
  color: rgba(255, 255, 255, 0.82);
  font-style: normal;
  line-height: 1.65;
  margin: 0;
}

.site-footer__address span {
  display: block;
}

.site-footer .site-footer__cta {
  align-items: center;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 32px rgba(0, 44, 66, 0.22);
  color: var(--primary-800) !important;
  display: inline-flex;
  font-size: 14px;
  font-weight: 600;
  justify-content: center;
  margin-top: 24px;
  min-height: 48px;
  padding: 0 24px;
  text-decoration: none !important;
  text-transform: uppercase;
}

.site-footer .site-footer__cta:hover,
.site-footer .site-footer__cta:focus-visible {
  background: var(--accent-100);
  color: var(--primary-900) !important;
  transform: translateY(-1px);
}

.site-footer__heading {
  border-left: 2px solid var(--accent);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.2;
  margin: 0 0 18px;
  padding-left: 12px;
  text-transform: uppercase;
}

.site-footer a {
  border-radius: var(--oc-radius-sm);
  color: rgba(255, 255, 255, 0.82) !important;
  display: inline-flex;
  min-height: 36px;
  text-decoration: none;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding-left: 0 !important;
}

.site-footer li + li {
  margin-top: 6px;
}

.site-footer__contact-group + .site-footer__contact-group {
  margin-top: 18px;
}

.site-footer__contact-title {
  color: #ffffff;
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 4px;
}

.site-footer__contact-group a {
  display: flex;
  width: fit-content;
}

.site-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.site-footer__social a {
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: inline-flex;
  height: 46px;
  justify-content: center;
  min-height: 46px;
  min-width: 46px;
  padding: 0;
  width: 46px;
}

.site-footer__social img {
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.24));
  height: 24px;
  object-fit: contain;
  width: 24px;
}

.site-footer__bottom {
  align-items: center;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  padding-top: 24px;
}

.site-footer__copyright {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  margin: 0;
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: flex-end;
}

.site-footer__legal a {
  color: var(--accent-200) !important;
  font-size: 14px;
  min-height: 36px;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #ffffff !important;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.site-footer a[target="_blank"] {
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
}

/* Ads pages */
.page-template-combustible-ads .bg-header .col-lg-6 img,
.page-template-despensa-ads .bg-header .col-lg-6 img,
.page-template-premios-ads .bg-header .col-lg-7 img {
  filter: drop-shadow(0 22px 42px rgba(0, 0, 0, 0.32));
  height: auto;
  max-height: 360px;
  object-fit: contain;
}

/* Motion preferences */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}

@media (max-width: 991.98px) {
  :root {
    --oc-header-height: 68px;
  }

  .admin-bar #masthead {
    top: 46px;
  }

  #navbarNav.show,
  #navbarNav.collapsing {
    background: var(--oc-dark);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 44px rgba(7, 27, 72, 0.18);
    flex-basis: 100%;
    margin-left: -16px;
    margin-right: -16px;
    order: 4;
    padding: 12px 16px 22px;
  }

  .onecard-header-actions {
    margin-left: auto;
  }

  #menu-principal ul {
    gap: 2px;
  }

  #menu-principal a {
    justify-content: center;
    min-height: 48px;
    width: 100%;
  }

  .bg-header .h-600 {
    min-height: 620px;
  }

  .page-template-combustible .fuel-card-set--hero {
    height: 315px;
  }

  .page-template-combustible .fuel-card-set--hero .fuel-card-set__card {
    max-height: 305px;
    max-width: 198px;
  }

  .bg-header h1 {
    font-size: 34px !important;
  }

  .bg-header h2,
  .bg-header h3 {
    font-size: 22px !important;
  }

  .py-7 {
    padding-bottom: 56px;
    padding-top: 56px;
  }

  .py-6 {
    padding-bottom: 44px;
    padding-top: 44px;
  }

  .page-template-productos-servicios .site-main .col-lg-4 {
    margin-bottom: 22px;
  }

  .site-footer__scene {
    height: 202px;
  }

  .site-footer__mark {
    height: 170px;
    right: -18px;
    top: 18px;
    width: 170px;
  }

  .site-footer__network {
    right: 4%;
    top: 36px;
    width: min(56vw, 420px);
  }

  .site-footer__network--secondary {
    display: none;
  }

  .site-footer__card--primary {
    opacity: 0.5;
    right: -28px;
    top: 34px;
    width: 240px;
  }

  .site-footer__card--secondary {
    opacity: 0.26;
    right: 148px;
    top: 70px;
    width: 190px;
  }

  .site-footer__card--tertiary {
    display: none;
  }

  .site-footer__inner {
    padding-top: 124px;
  }

  .site-footer__main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer__brand {
    grid-column: 1 / -1;
    max-width: 620px;
  }

  .bg-tarjetas .fuel-card-set--home {
    --fuel-card-left-shift: -30px;
    --fuel-card-right-shift: 30px;
    height: 225px;
    max-width: 170px;
    min-height: 225px;
    width: min(100%, 170px);
  }

  .bg-tarjetas .fuel-card-set--home .fuel-card-set__card {
    max-height: 225px;
    max-width: 145px;
  }

  .mapa-mexico-container-mapbox {
    padding: 16px;
  }

}

@media (max-width: 575.98px) {
  body {
    line-height: 1.58;
  }

  ::-webkit-scrollbar {
    height: 8px;
    width: 8px;
  }

  ::-webkit-scrollbar-thumb {
    border-width: 2px;
  }

  #masthead .navbar {
    min-height: 66px;
    padding-left: 14px;
    padding-right: 14px;
  }

  #masthead .custom-logo {
    max-height: 44px;
    max-width: 150px;
  }

  .bg-header .h-600 {
    min-height: 600px;
    padding-bottom: 36px !important;
    padding-top: 24px !important;
  }

  .page-template-combustible .fuel-card-set--hero {
    height: 245px;
  }

  .page-template-combustible .fuel-card-set--hero .fuel-card-set__card {
    max-height: 235px;
    max-width: 152px;
  }

  .bg-header h1 {
    font-size: 32px !important;
    margin-left: auto;
    margin-right: auto;
  }

  .bg-header h2,
  .bg-header h3 {
    font-size: 21px !important;
  }

  .bg-tarjetas .fuel-card-set--home {
    --fuel-card-left-shift: -26px;
    --fuel-card-right-shift: 26px;
    height: 205px;
    max-width: 155px;
    min-height: 205px;
    width: min(100%, 155px);
  }

  .bg-tarjetas .fuel-card-set--home .fuel-card-set__card {
    max-height: 205px;
    max-width: 132px;
  }

  .site-main h2.fs-35,
  .site-main .fs-35 {
    font-size: 29px !important;
  }

  .site-main .fs-40,
  .site-main h2.fs-40,
  .site-main h3.fs-40 {
    font-size: 32px !important;
  }

  .btn-1,
  .btn-2,
  .btn-3,
  .btn-primary,
  .btn-success,
  #page input[type="submit"] {
    width: min(100%, 320px);
  }

  .page-template-despensa .bg-header .w-75 {
    width: 100% !important;
  }

  .page-template-combustible .bg-blanco .row p,
  .page-template-despensa .bg-blanco .row p,
  .page-template-premios .bg-blanco .row p {
    text-align: left;
  }

  .site-footer__scene {
    height: 158px;
  }

  .site-footer__scene::before {
    background-size: 34px 34px;
    mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 100%);
    opacity: 0.38;
  }

  .site-footer__scene::after {
    height: 120px;
    opacity: 0.22;
    right: -92px;
    top: 30px;
    width: 320px;
  }

  .site-footer__mark {
    height: 142px;
    opacity: 0.1;
    right: -40px;
    top: 12px;
    width: 142px;
  }

  .site-footer__network {
    height: 82px;
    opacity: 0.5;
    right: -86px;
    top: 42px;
    width: 260px;
  }

  .site-footer__card--primary {
    opacity: 0.28;
    right: -74px;
    top: 42px;
    width: 178px;
  }

  .site-footer__card--secondary,
  .site-footer__card--tertiary {
    display: none;
  }

  .site-footer__inner {
    padding-top: 94px;
  }

  .site-footer__main {
    gap: 30px;
    grid-template-columns: 1fr;
    padding-bottom: 30px;
  }

  .site-footer__brand {
    max-width: none;
  }

  .site-footer__title {
    font-size: 34px;
  }

  .site-footer__cta {
    width: 100%;
  }

  .site-footer a {
    min-height: 44px;
  }

  .site-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer__legal {
    flex-direction: column;
    gap: 2px;
    justify-content: flex-start;
  }

}
.onecard-campaign-landing .elementor-icon-list-items.elementor-inline-items {
  margin-left: 0;
  margin-right: 0;
  max-width: 100%;
}
