/* =========================================================
   SISIMO — Two-bar topbar: info bar + promo bar
   Reference: Vertbaudet-style thin colored bars above global header.
   ========================================================= */

.header-top {
  --topbar-info-bg:    #A8D5A2;
  --topbar-info-text:  #1A2E1A;
  --topbar-promo-bg:   #cf544f;
  padding: 0;
  position: relative;
  z-index: 100;
}

/* ─── Green info bar ─── */
.header-top .info-bar {
  background: var(--topbar-info-bg);
  height: 34px;
  display: flex;
  align-items: center;
  overflow: hidden;
  animation: infoBarReveal 0.5s ease-out 2.5s both;
}
@keyframes infoBarReveal {
  from { height: 0; opacity: 0; }
  to   { height: 34px; opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .header-top .info-bar {
    animation: none;
  }
}
.header-top .info-bar .large-container {
  display: flex;
  justify-content: center;
  align-items: center;
}
.header-top .info-bar p {
  margin: 0;
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1;
  color: var(--topbar-info-text);
  text-align: center;
  white-space: nowrap;
}
.header-top .info-bar a {
  color: inherit;
  text-decoration: none;
}

/* ─── Blue promo bar ─── */
.header-top .promo-bar {
  background: var(--topbar-promo-bg);
  height: 32px;
  display: flex;
  align-items: center;
}
.header-top .promo-bar .large-container {
  width: 100%;
}
.header-top .promo-bar .top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 32px;
}

/* Left: language links */
.header-top .promo-bar .left-column {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.header-top .lang-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.header-top .currency-badge {
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.5px;
  line-height: 1;
  text-transform: uppercase;
}
.header-top .lang-link {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  padding: 2px 4px;
  border-radius: 3px;
  transition: color 0.15s ease;
  line-height: 1;
  text-transform: uppercase;
}
.header-top .lang-link:hover,
.header-top .lang-link--active {
  color: #ffffff;
}
.header-top .lang-link--active {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.header-top .lang-sep {
  color: rgba(255, 255, 255, 0.3);
  font-size: 10px;
  line-height: 1;
}
.header-top .lang-flag {
  font-size: 16px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}
.header-top .tunisia-flag-svg {
  display: inline-block;
  width: 20px;
  height: 14px;
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  vertical-align: middle;
}

/* Center: promo text */
.header-top .promo-bar .text {
  flex: 1;
  text-align: center;
}
.header-top .promo-bar .text p {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  white-space: nowrap;
}
.header-top .promo-bar .text p strong {
  font-weight: 700;
}
.header-top .promo-bar .text .promo-code-chip {
  display: inline-block;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 4px;
  padding: 1px 8px;
  margin-left: 4px;
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.04em;
}

/* Right: empty */
.header-top .promo-bar .right-column {
  flex-shrink: 0;
  min-width: 80px; /* balance the left column */
}

/* ─── Tablet ─── */
@media (max-width: 1199px) {
  .header-top .promo-bar .right-column { display: none; }
  .header-top .promo-bar .left-column  { display: none; }
  .header-top .promo-bar .text         { text-align: center; }
}

/* ─── Mobile: replace both rows with single ticker ─── */
@media (max-width: 767px) {
  .header-top .info-bar  { display: none; }
  .header-top .promo-bar { display: none; }

  .header-top .top-inner-mobile { display: flex; }
  .header-top {
    background: var(--topbar-promo-bg);
    height: 30px;
    display: flex;
    align-items: center;
  }
  .header-top .top-inner-mobile--minimal-dots .mobile-topbar-list {
    gap: 0 14px;
  }
  .header-top .top-inner-mobile--minimal-dots .mobile-topbar-li:not(:last-child)::after {
    content: '•';
    color: rgba(255,255,255,0.4);
    margin-left: 14px;
    font-size: 10px;
  }
  .header-top .mobile-topbar-pill--text {
    font-size: 11px;
    font-weight: 500;
    color: #fff;
  }
  .header-top .mobile-topbar-list {
    justify-content: center;
    padding: 0 16px;
  }
}
