/* Promo appli — onglet + modal DestockShop30 */
html.ds30-app-promo-open {
  overflow: hidden;
}

.ds30-app-promo {
  --ap-accent: #e85d04;
  --ap-accent-dark: #c44d00;
  --ap-text: #1a2332;
}

.ds30-app-promo[hidden] {
  display: none !important;
}

.ds30-app-promo__tab {
  position: fixed;
  left: 0;
  top: 42%;
  z-index: 99980;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.65rem 0.55rem 0.65rem 0.85rem;
  border: 0;
  border-radius: 0 999px 999px 0;
  background: var(--ap-accent);
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  cursor: pointer;
  font-family: 'Montserrat', system-ui, sans-serif;
  transform: translateX(0);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.ds30-app-promo__tab:hover {
  filter: brightness(1.05);
}

.ds30-app-promo__tab-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
  text-align: left;
}

.ds30-app-promo__tab-text span {
  font-size: 0.78rem;
  font-weight: 600;
}

.ds30-app-promo__tab-text strong {
  font-size: 1.25rem;
  font-weight: 800;
}

.ds30-app-promo__tab-close {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-left: 0.15rem;
  border-radius: 50%;
  background: #fff;
  color: var(--ap-accent);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.ds30-app-promo__overlay {
  position: fixed;
  inset: 0;
  z-index: 99990;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(10, 12, 16, 0.62);
  backdrop-filter: blur(3px);
}

.ds30-app-promo__overlay[hidden] {
  display: none !important;
}

.ds30-app-promo__modal {
  position: relative;
  width: min(920px, 100%);
  max-height: min(90vh, 640px);
  overflow: auto;
  background: #f4f5f7;
  border-radius: 10px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.ds30-app-promo__modal[hidden] {
  display: none !important;
}

.ds30-app-promo__modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.45rem 0.45rem 0.85rem;
  border: 0;
  border-radius: 999px;
  background: var(--ap-accent);
  color: #fff;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.ds30-app-promo__modal-x {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  color: var(--ap-accent);
  font-size: 1.15rem;
  line-height: 1;
}

.ds30-app-promo__grid {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 800px) {
  .ds30-app-promo__grid {
    grid-template-columns: 1fr 1fr;
    min-height: 420px;
  }
}

.ds30-app-promo__copy {
  padding: 2rem 1.5rem 1.5rem;
}

@media (min-width: 800px) {
  .ds30-app-promo__copy {
    padding: 2.5rem 2rem 2rem;
  }
}

.ds30-app-promo__title {
  margin: 0 0 0.65rem;
  color: var(--ap-accent);
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.25;
}

.ds30-app-promo__bonus {
  margin: 0 0 0.5rem;
  color: var(--ap-accent);
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-weight: 900;
  line-height: 1.2;
}

.ds30-app-promo__note {
  margin: 0 0 1.25rem;
  color: var(--ap-text);
  font-size: 0.92rem;
  font-weight: 600;
}

.ds30-app-promo__qr-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
}

.ds30-app-promo__qr {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border: 3px solid var(--ap-accent);
  background: #fff;
}

.ds30-app-promo__qr--placeholder {
  display: grid;
  place-items: center;
  color: #999;
  font-weight: 800;
}

.ds30-app-promo__qr-caption {
  margin: 0;
  max-width: 18ch;
  color: #444;
  font-size: 0.8rem;
  line-height: 1.3;
}

.ds30-app-promo__stores {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.ds30-app-promo__store {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 0.85rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  color: var(--ap-text);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  background: #fff;
}

.ds30-app-promo__visual {
  position: relative;
  min-height: 260px;
  background:
    radial-gradient(circle at 70% 30%, rgba(232, 93, 4, 0.2), transparent 50%),
    linear-gradient(160deg, #1a2332 0%, #0f141c 100%);
  overflow: hidden;
}

.ds30-app-promo__visual img {
  position: absolute;
  inset: 8% 10% 0;
  width: 80%;
  height: 92%;
  object-fit: contain;
  object-position: bottom center;
}

.ds30-app-promo__tag {
  position: absolute;
  top: 18%;
  right: 12%;
  width: 64px;
  height: 64px;
  border-radius: 8px 8px 8px 2px;
  background: #111;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  transform: rotate(-8deg);
}

@media (max-width: 640px) {
  .ds30-app-promo__tab {
    top: auto;
    bottom: 5.5rem;
  }

  .ds30-app-promo__modal-close span:first-child {
    display: none;
  }
}
