/* The season ahead: the recurring notice (built by assets/season.js), used on the website and in proposals.
   Desktop: bottom corner above the WhatsApp button; phones: under the top bar. */
.ss-toast { position: fixed; z-index: 1700; inset-inline-end: 22px; bottom: 92px; width: min(380px, calc(100vw - 24px));
  display: grid; grid-template-columns: 92px minmax(0, 1fr); overflow: hidden;
  background: linear-gradient(135deg, #0B2E2D, #061B1C 70%); border: 1px solid rgba(221,170,69,.55); border-radius: 12px;
  box-shadow: 0 18px 40px rgba(0,0,0,.55), 0 0 0 1px rgba(0,0,0,.2);
  color: #fff; font: 400 13px/1.5 'Montserrat', 'Segoe UI', Arial, sans-serif;
  opacity: 0; transform: translateY(18px) scale(.98); transition: opacity .45s ease, transform .45s cubic-bezier(.2,.7,.2,1); }
.ss-toast.in { opacity: 1; transform: none; }
.ss-img { width: 100%; height: 100%; min-height: 128px; object-fit: cover; }
.ss-body { padding: 12px 34px 14px 14px; display: flex; flex-direction: column; gap: 3px; }
.ss-toast[dir="rtl"] .ss-body { padding: 12px 14px 14px 34px; }
.ss-kick { margin: 0; font-size: 10.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #6FDCD1; }
.ss-title { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.ss-title b { font: 500 19px/1.2 'Oswald', 'Arial Narrow', sans-serif; letter-spacing: .01em; color: #fff; }
.ss-title span { font-size: 12px; font-weight: 600; color: #EBC06A; }
.ss-line { margin: 2px 0 0; color: rgba(245,238,220,.84); font-size: 12.5px; }
.ss-cta { align-self: flex-start; margin-top: 8px; padding: 7px 14px; border: 0; border-radius: 4px; cursor: pointer;
  background: #DDAA45; color: #061B1C; font: 700 11px 'Montserrat', sans-serif; letter-spacing: .1em; text-transform: uppercase; transition: background .2s; }
.ss-cta:hover { background: #EBC06A; }
.ss-x { position: absolute; top: 6px; inset-inline-end: 6px; width: 28px; height: 28px; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(5,22,23,.6); color: rgba(245,238,220,.75); font-size: 18px; line-height: 1; }
.ss-x:hover { color: #fff; background: rgba(5,22,23,.9); }
.ss-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: #DDAA45; transform-origin: left; animation: ssBar linear forwards; }
.ss-toast[dir="rtl"] .ss-bar { transform-origin: right; }
.ss-toast.hold .ss-bar { animation-play-state: paused; }
@keyframes ssBar { from { transform: scaleX(1); } to { transform: scaleX(0); } }
.ss-toast:lang(ar), .ss-toast:lang(ar) .ss-cta, .ss-toast:lang(ar) .ss-title b { font-family: 'Tajawal', 'Segoe UI', Tahoma, sans-serif; letter-spacing: 0; text-transform: none; }
.ss-toast:lang(ar) .ss-title b { font-weight: 700; }
.ss-toast:lang(ar) .ss-kick { letter-spacing: 0; font-size: 12px; }
.ss-toast:lang(ar) .ss-line { font-size: 13.5px; }
.ss-toast:lang(ar) .ss-cta { font-size: 13px; }
/* company profile (desktop): bottom-left over the contents list, clear of the book's page corners */
@media (min-width: 769px) { .ss-toast.ss-left { inset-inline-end: auto; inset-inline-start: 22px; bottom: 56px; width: 300px; grid-template-columns: 80px minmax(0, 1fr); } }
/* proposals (.ss-compact): a slim card — small photo, occasion + date, a text link, and a clear round close button */
.ss-toast.ss-compact { inset-inline-end: 24px; bottom: 24px; width: 330px; grid-template-columns: 64px minmax(0, 1fr); border-radius: 10px;
  border-color: rgba(221,170,69,.38); box-shadow: 0 12px 30px rgba(0,0,0,.42); }
.ss-compact .ss-img { min-height: 0; }
.ss-compact .ss-body { padding: 10px 50px 11px 13px; gap: 1px; justify-content: center; }
.ss-compact[dir="rtl"] .ss-body { padding: 10px 13px 11px 50px; }
.ss-compact .ss-kick { font-size: 9.5px; letter-spacing: .14em; }
.ss-compact .ss-title { gap: 0 8px; }
.ss-compact .ss-title b { font-size: 16px; }
.ss-compact .ss-title span { font-size: 11px; }
.ss-compact .ss-line { display: none; }
.ss-compact .ss-cta { margin-top: 3px; padding: 2px 0; background: none; color: #EBC06A; font-size: 10.5px; letter-spacing: .12em; }
.ss-compact .ss-cta::after { content: ' →'; }
.ss-compact[dir="rtl"] .ss-cta::after { content: ' ←'; }
.ss-compact .ss-cta:hover { background: none; color: #fff; }
.ss-compact .ss-x { top: 50%; inset-inline-end: 11px; width: 30px; height: 30px; margin-top: -15px; display: grid; place-items: center;
  border: 1px solid rgba(235,192,106,.5); background: rgba(255,255,255,.05); color: #F5EEDC; font-size: 18px; transition: background .2s, border-color .2s; }
.ss-compact .ss-x::before { content: ''; position: absolute; inset: -8px; }
.ss-compact .ss-x:hover, .ss-compact .ss-x:focus-visible { background: #DDAA45; border-color: #DDAA45; color: #061B1C; outline: none; }
.ss-compact .ss-bar { height: 2px; opacity: .7; }
.ss-compact:lang(ar) .ss-cta { font-size: 12.5px; }
@media (max-width: 768px) {
  .ss-toast { top: 70px; bottom: auto; inset-inline: 12px; width: auto; grid-template-columns: 78px minmax(0, 1fr); transform: translateY(-18px) scale(.98); }
  .ss-toast.in { transform: none; }
  .ss-img { min-height: 112px; }
  /* proposals on phones: low, just above the Confirm | Quotation dock */
  .ss-toast.ss-compact { top: auto; bottom: calc(80px + env(safe-area-inset-bottom)); inset-inline: 12px; width: auto;
    grid-template-columns: 58px minmax(0, 1fr); transform: translateY(14px) scale(.98); }
  .ss-toast.ss-compact.in { transform: none; }
  .ss-compact .ss-img { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) { .ss-toast { transition: opacity .2s; transform: none; } .ss-bar { animation: none; } }
