/* ==========================================================================
   Market Hero Banner Section
   ========================================================================== */

.market {
  position: relative;
  max-width: 100%;
  min-height: 30rem; /* 480px */
  margin: 0 auto 3rem auto; /* 48px */
  overflow: hidden;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  align-items: flex-end;
  box-sizing: border-box;
}

/* Gradient Overlay for Text Contrast */
.market__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 30, 63, 0.85) 0%,
    rgba(0, 30, 63, 0.4) 50%,
    rgba(0, 30, 63, 0.1) 100%
  );
  z-index: 1;
}

/* Text Container at Bottom */
.market__content {
  position: relative;
  z-index: 2;
  text-align: left;
  box-sizing: border-box;
  max-width: 90%;
  padding: 3.75rem; /* 60px */
}

/* Title Label */
.market__title {
  display: block;
  color: #FFFFFF;
  font-size: clamp(1.5rem, 5vw, 3.375rem); /* 24px -> 54px */
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem; /* 12px */
}

/* Description Text */
.market__description {
  color: #FFFFFF;
  font-size: 1.5rem; /* 24px */
  line-height: 1.4;
  margin: 0;
}

@media (max-width: 768px) {
  .market {
    min-height: 22.5rem; /* 360px */
  }

  .market__content {
    padding: 1.5rem; /* 24px */
  }

  .market__description {
    font-size: 1.125rem;
  }
}

/* ==========================================================================
   Market Tabs Container & Mobile Select Integration
   ========================================================================== */

.market-tabs-wrapper {
  max-width: 100%;
  width: 90%;
  margin: 0 auto 4rem auto; /* 64px */
  box-sizing: border-box;
}

/* Mobile Select Dropdown (< 1024px) */
.market-tabs-mobile {
  display: block;
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   Market Mobile Select Dropdown (< 1024px)
   ========================================================================== */

.market-tabs-mobile {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin-bottom: 1.5rem;
}

.market-tabs-select {
  width: 100%;
  max-width: 100%;
  height: 3.5rem; /* 56px */
  /* Equal left/right padding ensures text centers visually relative to the pill */
  padding: 0 2.5rem; 
  /* min 16px font prevents iOS Safari auto-zoom on touch focus */
  font-size: 1.125rem; 
  font-weight: 600;
  color: #001E3F;
  text-align: center;
  text-align-last: center; /* Centers active selection text on desktop/Android */
  -moz-text-align-last: center;
  background-color: #FFFFFF;
  border: 2px solid #001E3F;
  border-radius: 9999px; /* Pill shape */
  
  /* Reset browser native appearances */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  
  /* Arrow Icon */
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23001E3F' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>");
  background-repeat: no-repeat;
  background-position: right 1.25rem center;
  background-size: 1rem;
  
  /* Truncate long option text gracefully on small screens without breaking layout */
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  cursor: pointer;
  box-sizing: border-box;
}

/* Minimal option styling supported across desktop browsers */
.market-tabs-select option {
  font-weight: 500;
  color: #001E3F;
  background-color: #FFFFFF;
  text-align: center;
}

/* Hide select on desktop viewports */
@media (min-width: 1024px) {
  .market-tabs-mobile {
    display: none !important;
  }
}
/* Desktop Tabs Bar (>= 1024px) */
.market-tabs {
  display: none !important;
  gap: 0.75rem !important; /* 12px */
  border-bottom: none !important;
  margin-bottom: 2rem !important; /* 32px */
  overflow-x: auto !important;
  padding: 0.25rem 0 !important;
}

@media (min-width: 1024px) {
  .market-tabs-mobile {
    display: none !important;
  }

  .market-tabs {
    display: flex !important;
  }
}

/* Individual Tab Pills */
.market-tab {
  display: inline-block !important;
  padding: 0.75rem 1.5rem !important; /* 12px 24px */
  font-size: 1rem !important;
  font-weight: 600 !important;
  color: #001E3F !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  border: 2px solid #001E3F !important;
  border-radius: 12px !important; /* 10px */
  background-color: transparent !important;
  transition: all 0.2s ease-in-out !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
}

.market-tab:hover {
  /* background-color: rgba(0, 30, 63, 0.05) !important; */
  background-color: #001E3F !important;
  color: #fff !important;
}

/* Hide all panels by default */
.market-panel {
  display: none;
}

/* Show active target panel */
.market-panel:target {
  display: block !important;
}

/* Fallback: If no panel is targeted via URL hash, show the first panel wrapper */
.market-tabs-wrapper:not(:has(.market-panel:target)) .market-panels > .field > .field__items > .field__item:first-child .market-panel,
.market-tabs-wrapper:not(:has(.market-panel:target)) .market-panels > .market-panel:first-child {
  display: block !important;
}

/* Active State (via URL Hash :target or .is-active class) */
.market-tab.is-active
/* .market-tabs-wrapper:has(#philippines:target) a[href="#philippines"],
.market-tabs-wrapper:has(#hongkong-macau:target) a[href="#hongkong-macau"],
.market-tabs-wrapper:has(#pacific-islands:target) a[href="#pacific-islands"],
.market-tabs-wrapper:has(#fuel-products:target) a[href="#fuel-products"],
.market-tabs-wrapper:has(#convenience-store:target) a[href="#convenience-store"],
.market-tabs-wrapper:has(#food-and-beverage:target) a[href="#food-and-beverage"],
.market-tabs-wrapper:has(#business--partnership:target) a[href="#business--partnership"]  */
{
  background-color: #FFBE00 !important;
  color: #001E3F !important;
  border-color: #FFBE00 !important;
}

.market-tab::after {
  display: none !important;
}

/* ==========================================================================
   2-Column Layout for Market Component Card
   ========================================================================== */

.market-component-card {
    display: flex;
    flex-direction: column;
    gap: 2rem; /* 32px */
    width: 100%;
    margin-bottom: 2rem !important; /* 32px */

    @media (min-width: 900px) {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 2rem !important;
        align-items: start !important;
    }

    @media (min-width: 1280px) {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 2.5rem !important;
    }
}


@media (min-width: 1024px) {

  .market-component-card.business--partnership {
    grid-template-columns: 55% 1fr !important;
  }

  .market-component-card__text {
    width: 100%;
  }

  .market-component-card__gallery {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem; /* 16px */
  }
}

.market-component-card__spbu-notes {
    margin-top: 1.5rem;
    font-weight: 300;
    font-style: italic;
    font-size: 14px;
    line-height: 1;
    letter-spacing: 0;
    color: #666666;
}

/* Left Column: Text & Button Wrapper */
.market-component-card__text {
  display: flex !important;
  flex-direction: column !important;
}

.market-component-card__title {
    font-family: var(--font-heading);
    color: #001E3F !important;
   font-size: clamp(1.125rem, 1.7vw + 0.725rem, 2rem) !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    margin: 0 0 1rem 0 !important;
}

.market-component-card__description {
  color: #4A5568 !important;
  font-size: 1.0625rem !important;
  line-height: 1.65 !important;
  margin-bottom: 1.5rem !important; /* 24px */
}
/* Stack buttons into a vertical column on mobile screens */
@media (max-width: 767px) {
  .market-component-card__link-wrapper {
    display: flex !important;
    flex-direction: column !important; /* Stacks links so the 2nd is at the bottom */
    align-items: center !important;    /* Centers the buttons horizontally */
    justify-content: flex-start !important;
    gap: 12px !important;             /* Space between top and bottom button */
    width: 100% !important;
    margin: 0 auto !important;
  }

  /* Make both links full-width or sized consistently on mobile */
  .market-component-card__link-wrapper > a,
  .market-component-card__link-wrapper > * {
    display: inline-flex !important;
    justify-content: center !important;
    width: 100% !important;           /* Stretches to container width */
    max-width: 320px !important;      /* Prevents buttons from getting excessively wide */
    box-sizing: border-box !important;
    text-align: center !important;
  }
}

/* Button Base Styling */
#market-component-345 .market-component-card__link-wrapper,
#market-component-345 .feature-card__links-wrapper {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 0.75rem 1rem !important;
  margin-top: 1.25rem !important;
}

.market-component-card__link-wrapper a,
.feature-card__links-wrapper a
{
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important; /* 8px */
  background-color: #001E3F !important;
  color: #FFFFFF !important;
  padding: 0.75rem 1.75rem !important; /* 12px 28px */
  border-radius: 50px !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  transition: all 0.2s ease-in-out !important;
}

.market-component-card__link-wrapper a::after,
.feature-card__links-wrapper a::after
{
  content: "" !important;
  display: inline-block !important;
  width: 1rem !important; /* 16px */
  height: 1rem !important; /* 16px */
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23FFBE00" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><line x1="7" y1="17" x2="17" y2="7"/><polyline points="7 7 17 7 17 17"/></svg>') !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  transition: transform 0.2s ease-in-out !important;
}

.market-component-card__link-wrapper a:hover {
  background-color: #FFBE00 !important;
  color: #001E3F !important;
}

.market-component-card__link-wrapper a:hover::after {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23001E3F" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><line x1="7" y1="17" x2="17" y2="7"/><polyline points="7 7 17 7 17 17"/></svg>') !important;
  transform: translate(3px, -3px) !important;
}

/* Right Column: 2x2 Image Gallery Grid */
.market-component-card__gallery {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 1rem !important; /* 16px */
  width: 100% !important;
}

#market-component-407 .market-component-card__link-wrapper button, 
.feature-card__links-wrapper button {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  background-color: #FFFFFF !important;
  color: #001E3F !important;
  padding: 0.75rem 1.75rem !important;
  border-radius: 50px !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  transition: all 0.2s ease-in-out !important;
  border: 1px solid #001E3F !important;
}

#market-component-407 .market-component-card__link-wrapper {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 12px;
  width: 100%;
}

#market-component-407 .market-component-card__link-wrapper .market-component-card__link {
  display: flex !important;
  width: 100% !important;
  box-sizing: border-box;
}

#market-component-407 .market-component-card__link-wrapper button {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* Active State: Background #001E3F and White Font */
#market-component-407 .market-component-card__link-wrapper button.is-active,
#market-component-407 .market-component-card__link-wrapper button:hover {
  background-color: #001E3F !important;
  color: #FFFFFF !important;
  border-color: #001E3F !important;
}

/* Ensure inner text/span inherits the white color */
#market-component-407 .market-component-card__link-wrapper button.is-active span,
#market-component-407 .market-component-card__link-wrapper button:hover span {
  color: #FFFFFF !important;
}

/* Inactive Arrow Icon (Navy) */
#market-component-407 .market-component-card__link-wrapper button::after {
  content: "" !important;
  display: inline-block !important;
  width: 1rem !important;
  height: 1rem !important;
  flex-shrink: 0 !important;
  margin-left: auto !important;
  background-image: url("data:image/svg+xml,%3Csvg width='26' height='26' viewBox='0 0 26 26' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.41602 13H20.5827M14.0827 6.5L20.5827 13L14.0827 19.5' stroke='%23001E3F' stroke-width='2.16667' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  transition: transform 0.2s ease-in-out, background-image 0.2s ease-in-out !important;
}

/* Active and Hover Arrow Icon (Yellow Accent) */
#market-component-407 .market-component-card__link-wrapper button:hover::after,
#market-component-407 .market-component-card__link-wrapper button.is-active::after {
  background-image: url("data:image/svg+xml,%3Csvg width='26' height='26' viewBox='0 0 26 26' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.41602 13H20.5827M14.0827 6.5L20.5827 13L14.0827 19.5' stroke='%23FFBE00' stroke-width='2.16667' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  transform: translateX(4px) !important;
}

.market-component-card__image-item img {
  width: 100% !important;
  height: 13.75rem !important; /* 220px */
  object-fit: cover !important;
  border-radius: 0.75rem !important; /* 12px */
  display: block !important;
}

@media (max-width: 767px) {
  .market-component-card {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  .market-component-card__gallery {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 576px) {
  .market-component-card__gallery {
    grid-template-columns: 1fr !important;
  }
}

#business--partnership .market-business--partnership img {
  max-width: 40.5rem; /* 648px */
  height: 19.4375rem; /* 311px */
  margin-top: 2.625rem; /* 42px */
}

html {
  scroll-behavior: auto !important;
}

.market-panel {
  scroll-margin-top: 100vh;
}

.ul-cards ul {
  display: flex;
  flex-direction: column;
  gap: 1.5px;
  padding-left: 1.25rem; /* Space for the bullets */
  margin: 0;
  width: 100%;

  @media (min-width: 768px) {
    flex-direction: row;
    flex-wrap: wrap;
    column-gap: 2rem;
    row-gap: 1.5px;
    padding-left: 1.25rem;
  }
}

.ul-cards ul li {
  /* Using standard list-item behavior so default bullets remain active */
  display: list-item;
  list-style-type: disc;
  width: 100%;
  font-family: 'Degular', sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: #333333;

  @media (min-width: 768px) {
    /* Two-column layout accounting for gap */
    flex: 0 0 calc(50% - 1rem);
  }
}

/* Fixes default spacing if your theme sets custom marker margins */
.ul-cards ul li::marker {
  color: #333333; /* Or use #FFBE00 if you want brand yellow bullets */
}

.market-component-field-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 24px;
    gap: 12px;
    border: 1px solid #DCDCDC;
    border-radius: 42px;
    box-sizing: border-box;
    opacity: 1;
    margin-bottom: 42px;
}

.market-component-field-card h6 {
    font-weight: 700;
    font-style: normal;
    font-size: 24px;
    line-height: 1; /* 100% */
    letter-spacing: 0;
    margin: 0;
    font-family: var(--font-body);
}
.market-component-field-card > ul > li > strong {
    font-weight: 700;
}

.note-card {
  font-weight: 300;
  font-style: italic;
  font-size: 16px;
  line-height: 1; /* 100% */
  letter-spacing: 0;
}

#market-cards-grid-366,
#market-cards-grid-383,
#market-cards-grid-404
{
    columns: 1 !important;
}

.market-cards-grid#market-cards-grid-366 > .feature-card {    
    border-radius: 42px;
}

.market-cards-grid#market-cards-grid-366 .market-component-card__link-wrapper a, .feature-card__links-wrapper a {
    display: block !important;
    margin: 15px
}

.shell-go-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  width: 100%;

  @media (min-width: 768px) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
  }
}

.market-component-field-card.shell-go-card {
    display: flex;
    flex-direction: row; /* Aligns logo on the left, text on the right */
    align-items: flex-start; /* Keeps logo and text top-aligned */
    width: 100%;
    padding: 24px;
    border: 1px solid #DCDCDC;
    border-radius: 42px;
    box-sizing: border-box;
    background-color: #ffffff;
    margin-bottom: 0;
}

.market-component-field-card.shell-go-card .feature-card__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0; /* Prevents logo from shrinking when title is long */
}

.market-component-field-card.shell-go-card .feature-card__logo img {
    display: block;
    width: 31.5px;
    height: 31.5px;
    object-fit: contain;
}

.market-component-field-card.shell-go-card .shell-go-card__title,
.market-component-field-card.shell-go-card h6.shell-go-card__title {
    flex: 1;
    align-self: center; 
    font-weight: 300;
    font-style: normal;
    font-size: 16px;
    line-height: 1;
    letter-spacing: 0;
    margin: 0;
    color: #000000;
}

.card-notification {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-top: 1.5rem;
}

.card-notification__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card-notification__logo img {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.card-notification__text {
  flex: 1;
  font-family: 'Degular', sans-serif;
  font-weight: 300;
  font-size: 14px;
  line-height: 1.3;
  color: #333333;
}

.card-notification__text strong {
    font-weight: 700;
}

.market-app-section {
  width: 100%;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.market-app-section__title {
  font-family: 'Degular', sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.2;
  margin: 0;
  color: #000000;
}

.market-app-section__description {
  font-family: 'Degular', sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.4;
  color: #333333;
  margin: 0;
}

.market-app-section__description p {
  margin: 0 0 0.5rem 0;
}

.market-app-section__description p:last-child {
  margin-bottom: 0;
}

.market-badge-list {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 1rem;
  width: 100%;
}

.market-badge-item {
  display: flex;
  align-items: center;
  justify-content: center;
}

.market-badge-item__link,
.market-badge-item__static {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.market-badge-item__link {
  transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out;
}

.market-badge-item__link:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

.market-badge-item__image {
  display: block;
  height: 40px;
  width: auto;
  object-fit: contain;
}

.market-cards-grid .feature-card__description > strong {
    font-weight: 700;
}

/*Why Us*/
/* Container: Flex row on tablet/desktop, stacked on mobile */
.market-why-us {
  width: 100%;
  max-width: 100%;
  margin: 3rem auto 0 auto;
  background-color: #001E3F;
  border-radius: 60px;
  padding: 62px;
  box-sizing: border-box;
  opacity: 1;

  display: flex;
  flex-direction: column;
  gap: 42px;

  @media (min-width: 992px) {
    flex-direction: row;
    align-items: flex-start;
  }
}

/* Left Column: Header */
.market-why-us__header {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.market-why-us__header,
.market-why-us__cards {
    flex: 1 1 0;
    width: 0; /* Prevents overflow blowout in flex items */
    min-width: 0;
 }

.market-why-us__label {
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #FFBE00;
    border: 1px solid #FFBE00;
    display: inline-block;
    width: fit-content;
    align-self: flex-start;

    padding: 6px 12px;      /* 6px top/bottom, 12px left/right */
    gap: 10px;
    border-radius: 6px;
    border: 1px solid #FFBE00;
}

.market-why-us__title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 32px;
    margin: 0;
    line-height: 1;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin: 0;
    color: #FFFFFF;
}

.market-why-us__description {
  font-family: 'Degular', sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.5;
  color: #555555;
  margin: 0;
}

.market-why-us__description strong,
.market-why-us__description b {
  font-weight: 700;
  color: #000000;
}

/* Right Column: Cards */
.market-why-us__cards {
  display: flex;
  flex-direction: column;
  width: 100%;
}

@media (min-width: 992px) {
  .market-why-us__cards {
    flex: 1; /* Takes the remaining horizontal space */
  }
}

.why-us-card {
  width: 100%;
  padding: 24px;
  border-radius: 32px;
  background-color: #FCFCFC;
  box-sizing: border-box;
  opacity: 1;

  display: flex;
  flex-direction: column;
  border: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.why-us-card__trigger {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
  list-style: none;
}

.why-us-card__trigger::-webkit-details-marker {
  display: none !important;
}

.why-us-card__trigger::marker {
  display: none !important;
  content: "";
}

.why-us-card__body {
  font-weight: 300;
  font-size: 16px;
  line-height: 1.5;
  color: #333333;
  margin: 0;
  padding: 0;
}

.why-us-card[open] {
  border-color: #FFBE00;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* 1. Fully eliminate the default browser summary marker */
.why-us-card__trigger {
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  user-select: none;
  list-style: none; /* Standard */
}

/* Chrome, Safari, Edge marker reset */
.why-us-card__trigger::-webkit-details-marker {
  display: none !important;
}

/* Firefox & standard pseudo-element marker reset */
.why-us-card__trigger::marker {
  display: none !important;
  content: "";
}

/* 2. Ensure icon has strict dimensions and mask rules */
.why-us-card__icon {
  display: inline-block;
  width: 32px;
  min-width: 32px; /* Prevents flex collapse */
  height: 32px;
  flex-shrink: 0;

  /* Default BLUE color */
  background-color: #004481;

  /* Webkit mask (Chrome, Safari, Edge) */
  -webkit-mask-image: var(--icon-url);
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;

  /* Standard mask (Firefox) */
  mask-image: var(--icon-url);
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;

  transition: background-color 0.25s ease;
}

/* Active / Open state (YELLOW) */
.why-us-card[open] .why-us-card__icon {
  background-color: #FFBE00;
}

/* --- Default State (Closed): BLUE --- */
.why-us-card__title {
  flex: 1;
  font-family: 'Degular', sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
  margin: 0;
  color: #004481; /* Blue by default */
  transition: color 0.25s ease;
}

.why-us-card__icon {
  display: inline-block;
  width: 32px;
  min-width: 32px;
  height: 32px;
  flex-shrink: 0;
  background-color: #004481; /* Blue by default */
  -webkit-mask-image: var(--icon-url);
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-image: var(--icon-url);
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  transition: background-color 0.25s ease;
}

.why-us-card__chevron {
  width: 10px;
  height: 10px;
  border-right: 2px solid #777777;
  border-bottom: 2px solid #777777;
  transform: rotate(45deg);
  transition: transform 0.25s ease, border-color 0.25s ease;
  margin-left: auto;
  flex-shrink: 0;
}

/* --- Open State: YELLOW --- */
.why-us-card[open] {
  border-color: #FFBE00;
}

.why-us-card[open] .why-us-card__title {
  color: #FFBE00 !important; /* Yellow when open */
}

.why-us-card[open] .why-us-card__icon {
  background-color: #FFBE00 !important; /* Yellow when open */
}

.why-us-card[open] .why-us-card__chevron {
  transform: rotate(-135deg);
  border-color: #FFBE00;
}

.market-why-us-points {
    margin-top: 42px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.why-us-point {
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    opacity: 1;

    background: #FFFFFF;
    border: 1px solid #CFCFCF;
    border-radius: 42px;
    padding: 24px;    
}

.why-us-point__title {
    font-family: var(--font-body);
    font-weight: 700;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: 0;
    color: #000845;
    margin: 0;
}

.why-us-point__description {
    font-weight: 300;
    font-style: normal;
    font-size: 16px;
    line-height: 1; /* 100% */
    letter-spacing: 0;
    margin-top: 6px;
}

.why-us-point__description p {
    margin: 0 0 0.5rem 0;
    line-height: inherit;
}

.why-us-point__description p:last-child {
    margin-bottom: 0;
}

.sub-tab-panel {
  display: none !important;
}

.sub-tab-panel.is-active {
  display: block !important;
}

.market-component-card__link.sub-tab-trigger {
  pointer-events: auto !important;
  cursor: pointer !important;
}

.market-component-card__link.sub-tab-trigger span,
.market-component-card__link.sub-tab-trigger::after {
  pointer-events: none !important;
}

.sub-tab-panel__title {
    font-family: var(--font-heading);
    font-weight: 900;
    font-style: normal;
    font-size: clamp(18px, 1.7vw + 11.6px, 32px);
    line-height: 1.2; /* 100% */
    letter-spacing: 0.02em; /* 2% */
    text-transform: uppercase;
    color: #001226;
    margin: 0 0 16px 0;
}

.sub-tab-feature-cards-grid .why-us-card {
    transform: rotate(0deg);
    opacity: 1;
    display: flex;
    gap: 12px;
    border-radius: 32px;
    border-width: 1px;
    border-style: solid;
    padding: 24px;
    box-sizing: border-box;
    border: 1px solid #CFCFCF;
}

.sub-tab-feature-cards-grid  .feature-card {
    align-items: flex-start;
}

.shell-flee-card-form {
    padding: 42px;
    border-radius: 42px;
    border: 1px solid #CFCFCF;
    display: flex;
    flex-direction: column;
    gap: 24px;
    box-sizing: border-box;
}


/* 4. Webform Flex Grid Setup */
.shell-flee-card-form form.webform-submission-shell-fleet-card-form {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 12px 8px !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* 5. Field Column Assignments */
/* Full Width: Name/Company, File Upload AJAX Wrapper, Actions */
/* .market-business--partnership-form .form-item-name-company-name, */
/* 4. Webform Flex Grid Setup */
.shell-flee-card-form .form-item-lokasi-operasional,
.shell-flee-card-form #ajax-wrapper--2,
.shell-flee-card-form .form-item-file-attachment,
.shell-flee-card-form .form-actions {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-bottom: 0 !important;
    box-sizing: border-box !important;
}

/* =============================================================
   REMOVE MARGIN-TOP FROM FORM ITEMS & ACTIONS
============================================================= */

.shell-flee-card-form .form-item,
.shell-flee-card-form .form-actions {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* 6. Form Controls & Input Fixes (Fixes size="60" expansion) */
.shell-flee-card-form .form-item {
  display: flex !important;
  flex-direction: column !important;
}

.shell-flee-card-form label {
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  color: #001226 !important;
  margin-bottom: 6px !important;
}

.shell-flee-card-form input[type="text"],
.shell-flee-card-form input[type="email"],
.shell-flee-card-form input[type="tel"],
.shell-flee-card-form select {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 10px 14px;
    font-size: 0.95rem;
    color: #1a202c;
    background-color: #ffffff ;
    border: 2px solid #001226 ;
    border-radius: 100px;
    box-sizing: border-box;
    outline: none;
}

.shell-flee-card-form input.form-email,
.shell-flee-card-form input#edit-email--2 {
     width: 100%;
    padding-left: 2.75rem !important; /* Reserve left space for the icon */
    padding-right: 1rem;
    font-size: 1rem;
    color: #001E3F;
    background-color: #FFFFFF;
    border-radius: 24px;
    box-sizing: border-box;
    
    /* SVG Mail Icon (Navy Blue #001E3F) */
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23001E3F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'/><polyline points='22,6 12,13 2,6'/></svg>");
    background-repeat: no-repeat;
    background-position: left 1rem center;
    background-size: 1.25rem 1.25rem; /* 20px icon */
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Phone Input Field with Left Padding and Inline SVG Phone Icon */
.shell-flee-card-form input.form-tel,
.shell-flee-card-form input#edit-nomor-telepon {
  width: 100%;
  padding-left: 2.75rem !important; /* Reserve left space for the icon */
  padding-right: 1rem;
  font-size: 1rem;
  color: #001E3F;
  background-color: #FFFFFF;
  border-radius: 24px; /* 8px */
  box-sizing: border-box;
  
  /* SVG Phone Icon (Navy Blue #001E3F) */
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23001E3F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/></svg>");
  background-repeat: no-repeat;
  background-position: left 1rem center;
  background-size: 1.25rem 1.25rem; /* 20px icon */
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.shell-flee-card-form select {
  appearance: none !important;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23001226' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  background-size: 16px !important;
  padding-right: 36px !important;
}

/* Focus States */
.shell-flee-card-form input:focus,
.shell-flee-card-form select:focus {
  border-color: #001226 !important;
}


.shell-flee-card-form .webform-element-description {
  font-size: 0.75rem !important;
  color: #64748b !important;
  margin-top: 4px !important;
}

/* Submit Button */
.shell-flee-card-form .webform-button--submit {
  width: 100% !important;
  background-color: #001226 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  padding: 12px 24px !important;
  border: none !important;
  border-radius: 100px !important;
  cursor: pointer !important;
  transition: background-color 0.2s ease !important;
  text-transform: uppercase;
}

.shell-flee-card-form .webform-button--submit:hover {
  background-color: #001e3f !important;
}

/* -------------------------------------------------------------
   MOBILE RESPONSIVE FALLBACK
------------------------------------------------------------- */
@media (max-width: 768px) {
  
  .shell-flee-card-form .form-item-email,
  .shell-flee-card-form .form-item-phone-number,
  .shell-flee-card-form .form-item-business-category {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
  }
}

/* -------------------------------------------------------------
   FULL-WIDTH FORM ELEMENTS (100% SPAN)
------------------------------------------------------------- */

.shell-flee-card-form .form-item-lokasi-operasional,
.shell-flee-card-form .form-item-anda-memiliki-pertanyaan
{
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-bottom: 0 !important;
    box-sizing: border-box !important;
}

/* 3. Two-Column Pairings (Email, Phone Number, Business Category) */
.shell-flee-card-form .form-item-nama-perusahaan,
.shell-flee-card-form .form-item-nama-pt,  
.shell-flee-card-form .form-item-nomor-telepon,
.shell-flee-card-form .form-item-nama-brand,
.shell-flee-card-form .form-item-email,
.shell-flee-card-form .form-item-website,
.shell-flee-card-form .form-item-promo-code
 {
    flex: 1 1 calc(50% - 46px) !important;
    min-width: 220px !important;
    margin-bottom: 0 !important;
}

.shell-flee-card-form textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.95rem;
    color: #1a202c;
    background-color: #ffffff;
    border: 2px solid #001226;
    border-radius: 24px;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}

/* Override column flex for checkboxes so input and label sit side-by-side */
.shell-flee-card-form .form-type-checkbox,
.shell-flee-card-form .form-item-terms-and-conditions {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important; /* Allows the error message to drop underneath */
  align-items: flex-start !important; /* Aligns checkbox with the first line of text */
  gap: 12px !important;
  width: 100% !important;
  flex: 0 0 100% !important;
  cursor: pointer;
}

/* Checkbox stays fixed on the left and does not squish */
.shell-flee-card-form .form-type-checkbox input[type="checkbox"],
.shell-flee-card-form .form-item-terms-and-conditions input[type="checkbox"] {
  flex: 0 0 auto !important;
  width: 18px !important;
  height: 18px !important;
  margin-top: 3px !important; /* Visual baseline alignment with the first text line */
  cursor: pointer;
}

/* Label text expands to take remaining width on the right */
.shell-flee-card-form .form-type-checkbox label,
.shell-flee-card-form .form-item-terms-and-conditions label {
    flex: 1 1 0 !important;
    width: auto !important;
    margin: 0 !important;
    cursor: pointer;
    line-height: 1.5;
    font-weight: 300 !important;
}

/* Forces the error container to span 100% beneath the checkbox and text */
.shell-flee-card-form .form-type-checkbox .form-item--error-message,
.shell-flee-card-form .form-item-terms-and-conditions .form-item--error-message {
  width: 100% !important;
  flex: 0 0 100% !important;    
  margin-top: 4px;
}

.shell-flee-card-form h4 {
    margin: 0;
}

/* Container: 2-column grid layout */
#sub-tab-feature-cards-grid-426 {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 24px !important;
    box-sizing: border-box;

    /* Mobile responsive fallback to 1 column */
    @media (max-width: 768px) {
        grid-template-columns: 1fr !important;
    }
}

/* Each Card: 100% of grid cell, stacked vertically, aligned to the left */
#sub-tab-feature-cards-grid-426 .feature-card {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  text-align: left !important;
  gap: 0px !important;
  box-sizing: border-box;
}

/* Reset summary defaults & keep icon flush left */
#sub-tab-feature-cards-grid-426 .why-us-card__trigger {
    display: flex !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0;
}

#sub-tab-feature-cards-grid-426 .why-us-card__trigger::-webkit-details-marker {
  display: none !important;
}

/* Text block left-aligned */
#sub-tab-feature-cards-grid-426 .why-us-card__body {
  text-align: left !important;
  width: 100% !important;
  margin: 0 !important;
}

#sub-tab-feature-cards-grid-426 .why-us-card__icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #FBCE07 !important; /* Shell Brand Yellow (or #FFD500 / #FFD700) */
    border-radius: 50% !important; /* 50% for circle, or e.g. 12px for rounded rectangle */
    flex-shrink: 0 !important;
    position: relative !important;
}

.sub-tab-cashless-cards-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Parent grid: horizontal row for 3 items spanning full width */
.our-products__images-grid {
    display: flex;
    flex-direction: row;
    align-items: stretch; /* Cards will match heights */
    justify-content: flex-start;
    gap: 24px; /* Only sits BETWEEN items (never after the last item) */
    flex-wrap: nowrap;
    width: 100%;
    box-sizing: border-box;
    margin: 42px 0;
}

/* Card item: equally distributed across 3 columns */
.our-products__image-item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 0 0 calc((100% - 48px) / 3); /* (100% - (2 * 24px gap)) / 3 */
  max-width: calc((100% - 48px) / 3);
  border-radius: 24px;
  box-sizing: border-box;
  overflow: hidden;
}

/* Image inside the card */
.our-products__image-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

#sub-tab-cashless-cards-grid-430 .why-us-point {
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    opacity: 1;
    background: none;
    border: 0;
    border-radius: 0;
    padding: 0;
}

#feature-card-365 .feature-card__description a {
    font-weight: 700;
    text-decoration: none;
    color: #000306;
}

.our-products__image-item img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.our-products__image-label {
  background-color: #001E3F;
  color: #ffffff;
  padding: 21px 29px;
  font-size: 14px;
  font-weight: 500;
  text-align: center; /* Change to left if preferred */
  word-wrap: break-word;
  overflow-wrap: break-word;
}