/* «المواد المحظورة»: country switch, prohibited-category cards, restricted list.
   FXL design system: page colour #F4F0F0, white cards inside a 5px white frame, 2px corners,
   orange-square labels, purple for the active/emphasis state, 29LT Bukra only. */

html[data-page="prohibited"] section[data-framer-name="Page Title"] { padding-bottom: 0 !important; }
.fxl-prohibited { padding-top: 64px; }

/* ---------- top bar: heading + country buttons ---------- */
.fxl-prohibited__bar { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.fxl-prohibited__bar .fxl-title { max-width: 620px; font-size: clamp(26px, 2.4vw, 36px); }
.fxl-tabs { display: flex; gap: 5px; padding: 5px; background: #FFFFFF; border-radius: 2px; }
.fxl-tab {
  display: flex; align-items: center; gap: 12px; min-width: 170px; padding: 12px 16px;
  border: 0; border-radius: 2px; background: var(--page); color: var(--ink); cursor: pointer;
  font: inherit; text-align: right; transition: background-color 200ms ease, color 200ms ease;
}
.fxl-tab img { width: 28px; height: 20px; object-fit: cover; border-radius: 2px; box-shadow: 0 0 0 1px rgba(27, 21, 48, .08); flex: none; }
.fxl-tab span { display: flex; flex-direction: column; gap: 2px; }
.fxl-tab b { font-weight: 700; font-size: 16px; line-height: 1.4; }
.fxl-tab small { font-size: 12px; line-height: 1.4; color: var(--muted); transition: color 200ms ease; }
.fxl-tab[aria-selected="true"] { background: var(--purple); color: #FFFFFF; }
.fxl-tab[aria-selected="true"] small { color: rgba(255, 255, 255, .75); }
@media (hover: hover) { .fxl-tab[aria-selected="false"]:hover { background: #ECE7F3; } }
.fxl-tab:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }

/* ---------- panel ---------- */
.fxl-panel { margin-top: 48px; }
.fxl-panel[hidden] { display: none; }
.fxl-panel__head { display: flex; flex-direction: column; gap: 14px; max-width: 760px; margin-bottom: 28px; }
.fxl-panel { animation: fxl-panel-in 320ms ease; }
@keyframes fxl-panel-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* prohibited categories: cards in a white frame, like «القيم الأساسية» */
.fxl-ban-grid { display: flex; flex-wrap: wrap; gap: 5px; padding: 5px; background: #FFFFFF; border-radius: 2px; }
/* --cols cards per row (5 for Saudi and Sudan, 4 for China); a short last row stretches to fill it */
.fxl-ban { flex: 1 1 calc((100% - (var(--cols, 4) - 1) * 5px) / var(--cols, 4)); min-width: 0; display: flex; flex-direction: column; padding: 26px; border-radius: 2px; background: var(--page); }
.fxl-ban__top { display: flex; justify-content: space-between; align-items: flex-start; }
.fxl-ban__num { font-size: 14px; color: var(--orange); }
.fxl-ban__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 2px; background: #FFFFFF; color: var(--purple); }
.fxl-ban h3 { margin: 32px 0 0; font-size: 20px; line-height: 1.6; font-weight: 400; color: var(--ink); }
.fxl-ban ul { margin: 14px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.fxl-ban li { position: relative; padding-right: 16px; font-size: 14.5px; line-height: 1.8; color: var(--body); }
.fxl-ban li::before { content: ""; position: absolute; right: 0; top: .78em; width: 6px; height: 6px; background: var(--orange); }

/* Sudan's 2026 decree */
.fxl-ban-note { display: flex; gap: 18px; margin-top: 5px; padding: 24px 26px; border-radius: 2px; background: #FFFFFF; border-right: 3px solid var(--orange); }
.fxl-ban-note__icon { color: var(--orange); flex: none; padding-top: 4px; }
.fxl-ban-note h3 { margin: 0; font-size: 18px; line-height: 1.6; font-weight: 700; color: var(--ink); }
.fxl-ban-note p { margin: 6px 0 0; font-size: 15px; line-height: 1.9; color: var(--body); }

/* restricted / conditional: purple block, like the values intro card */
.fxl-cond { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 40px; margin-top: 40px; padding: 36px; border-radius: 2px; background: var(--purple); color: #FFFFFF; }
.fxl-cond__head { display: flex; flex-direction: column; gap: 16px; }
.fxl-cond__head .fxl-body { color: rgba(255, 255, 255, .82); font-size: 15px; }
.fxl-label--light { color: #FFFFFF; }
.fxl-cond__list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; }
.fxl-cond__list li { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 2px; background: rgba(255, 255, 255, .08); }
.fxl-cond__item { font-size: 15px; line-height: 1.7; color: #FFFFFF; }
.fxl-cond__who { font-size: 13px; line-height: 1.6; color: #FFB8A8; }
.fxl-cond:not(.fxl-cond--table) .fxl-cond__list { grid-template-columns: 1fr; }

.fxl-ban-source { margin: 18px 0 0; font-size: 13px; line-height: 1.8; color: var(--muted); }
.fxl-ban-source a { color: var(--purple); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- «هل منتجك قابل للشحن؟»: orange band as wide as the lists above, hex line pattern,
   the FXL container (assets/fxl/cta-container.webp) running off its bottom-left corner ---------- */
html[data-page="prohibited"] .fxl-prohibited { padding-bottom: 64px; }
/* full row width (its wrapper is a centring flex column), same side padding as the lists above */
.fxl-ctaband { width: 100%; align-self: stretch; box-sizing: border-box; padding: 0 40px 100px; background: #F4F0F0; font-family: "29LT Bukra", sans-serif; }   /* 100px before the footer */
@media (max-width: 1199px) { .fxl-ctaband { padding: 0 20px 80px; } .fxl-ctaband__inner { padding: 0 32px; } .fxl-ctaband__visual { margin-inline-end: -32px; } }
.fxl-ctaband__inner {
  position: relative; overflow: hidden; max-width: 1600px; min-height: 460px; margin-inline: auto; padding: 0 56px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: center;
  border-radius: 2px; color: #FFFFFF; background-color: #F14624;
  /* pointy-top hexagon grid, white lines at low opacity */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='236' height='408' viewBox='0 0 236 408'%3E%3Cpath d='M118 0V68L236 136V272L118 340V408M118 68L0 136V272L118 340' fill='none' stroke='%23FFFFFF' stroke-opacity='.22' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 236px 408px; background-position: center top;
}
.fxl-ctaband__title { position: relative; z-index: 1; margin: 0; padding: 90px 0; font-size: clamp(32px, 3.4vw, 54px); line-height: 1.35; font-weight: 400; color: #FFFFFF; text-wrap: balance; }
.fxl-ctaband__visual { position: relative; align-self: stretch; margin-inline-end: -56px; }   /* reach the band's left edge */
.fxl-ctaband__visual img {
  position: absolute; left: 0; bottom: 0; width: min(820px, 112%); height: auto; pointer-events: none;
  filter: drop-shadow(0 24px 36px rgba(60, 14, 4, .35));   /* lifts the orange container off the orange band */
}
/* design-system split button (03 Buttons, Primary): label block + square arrow block, 2px gap, 2px corners,
   centred over the container like the reference */
.fxl-ctaband__btn {
  position: absolute; z-index: 1; top: 50%; left: 50%; transform: translate(-50%, -50%);
  display: flex; gap: 2px; text-decoration: none; color: #FFFFFF;
  filter: drop-shadow(0 14px 28px rgba(60, 14, 4, .3));
}
.fxl-ctaband__btn-label { display: flex; align-items: center; height: 49px; padding: 0 37px; border-radius: 2px; background: #452874; font-size: 16px; line-height: 1; white-space: nowrap; transition: background-color 200ms ease; }
.fxl-ctaband__btn-icon { display: grid; place-items: center; width: 49px; height: 49px; border-radius: 2px; background: #452874; transition: background-color 200ms ease; }
.fxl-ctaband__btn-icon svg { transition: transform 300ms ease; }
@media (hover: hover) {
  .fxl-ctaband__btn:hover .fxl-ctaband__btn-label, .fxl-ctaband__btn:hover .fxl-ctaband__btn-icon { background: #2A1748; }
  .fxl-ctaband__btn:hover .fxl-ctaband__btn-icon svg { transform: rotate(-45deg); }
}
.fxl-ctaband__btn:focus-visible { outline: 2px solid #1B1530; outline-offset: 3px; }

/* ---------- responsive ---------- */
@media (max-width: 1199px) {
  .fxl-ban-grid { --cols: 2 !important; }
  .fxl-cond { grid-template-columns: 1fr; gap: 24px; }
  .fxl-ctaband__inner { grid-template-columns: 1fr; min-height: 0; }
  .fxl-ctaband__title { padding: 64px 0 16px; }
  .fxl-ctaband__visual { height: 400px; }
  .fxl-ctaband__visual img { width: min(680px, 100%); }
}
@media (max-width: 809px) {
  .fxl-prohibited { padding-top: 40px; }
  .fxl-tabs { width: 100%; }
  .fxl-tab { flex: 1 1 0; min-width: 0; flex-direction: column; gap: 8px; padding: 12px 8px; text-align: center; }
  .fxl-tab small { display: none; }
  .fxl-ban-grid { --cols: 1 !important; }
  .fxl-ban h3 { margin-top: 22px; }
  .fxl-cond { padding: 24px 20px; }
  .fxl-cond__list { grid-template-columns: 1fr; }
  html[data-page="prohibited"] .fxl-prohibited { padding-bottom: 40px; }
  .fxl-ctaband { padding: 0 15px 80px; }
  .fxl-ctaband__inner { padding: 0 20px; }
  .fxl-ctaband__title { padding: 48px 0 12px; font-size: 30px; }
  .fxl-ctaband__visual { height: 250px; margin-inline-end: -20px; }
  .fxl-ctaband__visual img { width: 420px; max-width: none; }
  .fxl-ctaband__btn-label { padding: 0 24px; }
}
@media (prefers-reduced-motion: reduce) { .fxl-panel { animation: none; } }
