/* ShoppingIL 2026 - styles for the 4-5.11 sale (Amitay, 30.10.2026).
   Everything here applies only to elements marked data-sil, which stay
   hidden unless assets/js/promo-shoppingil.v1.js switches the sale on.
   Colours and font from the ShoppingIL 2026 media kit: white background,
   Google blue #1A73E8 / #4285F4, light blue tag square #D2E3FC, text #3C4043. */
@font-face {
  font-family: 'Google Sans SIL';
  src: url('/assets/shoppingil/google-sans-v1.woff') format('woff');
  font-weight: 400 700;
  font-display: swap;
}
[data-sil][hidden], [data-sil-hide][hidden] { display: none !important; }

/* --- Band under the menu (home page, community page). Scrolls away with the
   page: never a fixed bar (fixed bottom bars killed clicks twice on this site). */
.sil-band {
  display: block;
  margin-top: 64px;
  background: #fff;
  color: #3C4043;
  text-decoration: none;
  font-family: 'Google Sans SIL', 'Heebo', sans-serif;
  border-bottom: 1px solid #E8EAED;
}
.sil-band-row {
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  direction: rtl;
}
.sil-band-text { font-size: 18px; line-height: 1.35; }
.sil-band-text b { color: #1A73E8; font-weight: 700; font-size: 22px; }
.sil-band-text s { color: #80868B; }
.sil-band-cta {
  display: inline-block;
  margin-inline-start: 14px;
  background: #1A73E8;
  color: #fff;
  border-radius: 999px;
  padding: 7px 18px;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
}
.sil-band-logo { height: 36px; width: auto; display: block; flex: none; }
.sil-band-strip {
  height: 22px;
  background: url('/assets/shoppingil/strip1-60-v1.webp') left center / auto 100% repeat-x;
}
@media (max-width: 860px) {
  .sil-band-row { flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 12px 16px; }
  .sil-band-text { font-size: 16px; }
  .sil-band-text b { font-size: 19px; }
  .sil-band-cta { margin: 8px 0 0; }
  .sil-band-logo { height: 28px; }
  .sil-band-strip { height: 16px; }
}

/* --- Sale price inside a price card. */
.sil-was {
  font-size: 0.5em;
  color: #9AA0A6;
  margin: 0 8px;
  font-weight: 400;
  text-decoration-thickness: 2px;
}

/* --- Sale tag, as in the kit: description on the right, cart square on the left. */
.sil-tag {
  display: inline-flex;
  align-items: stretch;
  direction: rtl;
  font-family: 'Google Sans SIL', 'Heebo', sans-serif;
  background: #fff;
  border: 1px solid #D2E3FC;
  margin: 4px 0 10px;
  line-height: 1;
  text-decoration: none;
  align-self: flex-start;
  max-width: 100%;
}
.sil-nowrap { white-space: nowrap; }
.sil-tag-text { padding: 8px 12px; font-size: 14px; color: #3C4043; display: flex; align-items: center; white-space: nowrap; }
.sil-tag-icon { background: #D2E3FC; display: flex; align-items: center; justify-content: center; padding: 4px; }
.sil-tag-icon img { width: 26px; height: 26px; display: block; }
@media (max-width: 860px) {
  .sil-tag-text { white-space: normal; line-height: 1.35; text-align: right; }
}

/* 30.10.2026 - Amitay: the kit's white tag looked pasted on, like a stuck ad,
   and a home-made flag looked off too. The price cards carry the official
   event logo instead (white background kept, as the kit requires), and the
   join page gets a small version of the home-page band he liked. */
.sil-card-logo {
  position: absolute;
  top: 30px;
  left: 26px;
  height: 30px;
  width: auto;
  border-radius: 4px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.18);
}
@media (max-width: 900px) {
  /* Cards stack and centre their text: the logo moves into the flow, under the title. */
  .price-card .sil-card-logo { position: static; display: block; margin: 0 auto 14px; height: 28px; order: 0; }
}
.plan-card .sil-card-logo { position: static; height: 26px; margin: 0 auto 10px; box-shadow: none; border: 1px solid #E8EAED; }
.sil-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 14px;
  background: #fff;
  border: 1px solid #E8EAED;
  border-radius: 8px;
  padding: 10px 14px;
  font-family: 'Google Sans SIL', 'Heebo', sans-serif;
  color: #3C4043;
  text-align: right;
}
.sil-note-text { font-size: 15px; line-height: 1.4; }
.sil-note-text b { color: #1A73E8; font-size: 17px; }
.sil-note-text s { color: #80868B; }
.sil-note-logo { height: 26px; width: auto; flex: none; }
@media (max-width: 860px) {
  .sil-note { flex-direction: column; text-align: center; gap: 8px; }
  .sil-note-logo { height: 24px; }
}
