/* ============================================================
   SULLAF — Phase 5: Delivery Progress Bar
   ============================================================ */

.sullaf-delivery-progress {
  margin: 24px 0;
  padding: 16px 0;
  border-top: 1px solid var(--sullaf-border);
  border-bottom: 1px solid var(--sullaf-border);
}

.sullaf-delivery-progress__label {
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 500;
  color: var(--sullaf-charcoal);
  margin-bottom: 10px;
  display: block;
}

.sullaf-delivery-progress__label span.highlight {
  font-weight: 600;
  color: var(--sullaf-plum);
}

.sullaf-delivery-progress__track {
  width: 100%;
  height: 4px;
  background-color: var(--sullaf-border);
  overflow: hidden;
}

.sullaf-delivery-progress__fill {
  height: 4px;
  background-color: var(--sullaf-plum);
  width: 0%; /* Set via inline style from PHP */
  transition: width 0.4s ease;
}

.sullaf-delivery-progress--complete .sullaf-delivery-progress__label span.highlight {
  color: #718C49; /* Kiwi green — success signal */
}

/* ============================================================
   SULLAF — Phase 5: Product Info Accordion
   ============================================================ */

.sullaf-accordion {
  margin: 28px 0 0;
  border-top: 1px solid var(--sullaf-border);
}

.sullaf-accordion__item {
  border-bottom: 1px solid var(--sullaf-border);
}

.sullaf-accordion__trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 500;
  color: var(--sullaf-charcoal);
  transition: color 0.2s;
}

.sullaf-accordion__trigger:hover {
  color: var(--sullaf-plum);
}

.sullaf-accordion__trigger[aria-expanded="true"] {
  color: var(--sullaf-plum);
}

.sullaf-accordion__icon {
  font-size: 20px;
  font-weight: 300;
  color: var(--sullaf-plum);
  line-height: 1;
  flex-shrink: 0;
  margin-left: 12px;
  transition: transform 0.25s ease;
  user-select: none;
}

.sullaf-accordion__trigger[aria-expanded="true"] .sullaf-accordion__icon {
  transform: rotate(45deg);
}

.sullaf-accordion__panel {
  display: none; /* Toggled by JS — no height animation needed for clean perf */
  padding: 0 0 20px;
}

.sullaf-accordion__panel.is-open {
  display: block;
}

.sullaf-accordion__panel p,
.sullaf-accordion__panel ul,
.sullaf-accordion__panel li {
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 400;
  color: var(--sullaf-charcoal);
  line-height: 1.7;
  margin: 0 0 8px;
}

.sullaf-accordion__panel ul {
  padding-left: 16px;
  list-style: disc;
}

/* ============================================================
   SULLAF — Phase 6: Promotion Banner Section
   ============================================================ */

.sullaf-promo-banner {
  background-color: var(--sullaf-plum);
  padding: 96px var(--page-padding);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
}

.sullaf-promo-banner__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.sullaf-promo-banner__eyebrow {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.78px;
  text-transform: uppercase;
  color: var(--sullaf-gold);
}

.sullaf-promo-banner__heading {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 500;
  color: var(--sullaf-cream);
  line-height: 1.1;
  margin: 0;
}

.sullaf-promo-banner__body {
  font-family: var(--font-ui);
  font-size: 19px;
  font-weight: 400;
  color: var(--sullaf-cream);
  line-height: 1.6;
  margin: 0;
  max-width: 480px;
  opacity: 0.88;
}

/* Secondary (outlined) button on dark background */
.sullaf-promo-banner .sullaf-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: var(--btn-height);
  padding: 0 28px;
  font-family: var(--font-ui);
  font-size: var(--btn-font-size);
  font-weight: var(--btn-font-weight);
  color: var(--sullaf-cream);
  background: transparent;
  border: 1px solid var(--sullaf-cream);
  border-radius: 0;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.sullaf-promo-banner .sullaf-btn-secondary:hover {
  background: var(--sullaf-cream);
  color: var(--sullaf-plum);
}

/* Right side: macro product image */
.sullaf-promo-banner__image {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.sullaf-promo-banner__image img {
  max-width: 100%;
  width: 460px;
  height: auto;
  display: block;
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 900px) {
  .sullaf-promo-banner {
    grid-template-columns: 1fr;
    padding: 64px 32px;
  }

  .sullaf-promo-banner__image {
    justify-content: center;
    display: none; /* Hide image on mobile — content-first */
  }

  .sullaf-promo-banner__heading {
    font-size: 36px;
  }
}

/* ============================================================
   RTL (Arabic) overrides
   ============================================================ */

[dir="rtl"] .sullaf-accordion__trigger {
  text-align: right;
  flex-direction: row-reverse;
}

[dir="rtl"] .sullaf-accordion__icon {
  margin-left: 0;
  margin-right: 12px;
}

[dir="rtl"] .sullaf-promo-banner {
  direction: rtl;
}
