/* Only language controls and demo notice. The visual system remains TOVA's live CSS. */
#top-phones { display: flex; align-items: center; gap: 8px; background: none; padding-left: 0; }
#top-row { position: relative; z-index: 10000; overflow: visible; }
#top-phones > span { display: inline-flex; align-items: center; min-height: 28px; padding-left: 34px; background: url('/images/top-phone.png') left center no-repeat; position: static; top: auto; margin-right: 6px; }
#top-phones #language-selector { display: block; float: none; width: auto; max-width: none; height: auto; box-sizing: border-box; margin: 0 6px 0 0; padding: 0; border: 0; background: none; position: relative; z-index: 1000; }
#language-selector details { position: relative; }
#language-selector summary { display: inline-flex; align-items: flex-end; gap: 6px; min-height: 36px; box-sizing: border-box; padding: 6px 6px 5px; cursor: pointer; list-style: none; white-space: nowrap; color: #2e4262; font-size: 16px; }
#language-selector summary::after { content: ""; align-self: center; width: 13px; height: 7px; margin: 0 0 0 3px; border: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='7' viewBox='0 0 13 7'%3E%3Cpath d='M.25.25 6.25 6.25 12.25.25' fill='none' stroke='%232E4262' stroke-width='.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/13px 7px no-repeat; transform: none; }
#language-selector summary::-webkit-details-marker { display: none; }
#language-selector summary span,
#language-selector .language-list span { display: inline-block; width: auto; height: auto; padding: 0; background: none; }
#language-selector .flag { display: inline-flex; justify-content: center; width: 24px; min-width: 24px; margin: 0 4px 0 0; font-size: 16px; line-height: 1; text-align: center; vertical-align: -1px; }
#language-selector .language-code { font-size: 16px; line-height: 1; font-weight: 600; }
#language-selector .language-list { position: absolute; z-index: 10001; right: 0; top: 36px; min-width: 92px; padding: 5px 0; background: #fff; border: 1px solid #ddd; box-shadow: 0 5px 16px rgba(0,0,0,.14); pointer-events: auto; }
#language-selector .language-list a { position: relative; z-index: 10002; display: flex; align-items: center; gap: 6px; padding: 8px 10px; color: #2e4262; text-decoration: none; white-space: nowrap; font-size: 16px; pointer-events: auto; }
#language-selector .language-list a:hover { color: #e51a2f; background: #f5f5f5; }
#copyrights small { color: #aaa; }
.demo-language-index { list-style: none; margin: 40px 0; padding: 0; }
.demo-language-index li { margin: 10px 0; }
.demo-language-index a { color: #e51a2f; font-size: 20px; }
.localized-consult-card { box-sizing: border-box; min-height: 275px; padding: 32px 24px; border: 1px solid #ededed; background: linear-gradient(145deg,#fff,#f4f4f4); text-align: center; color: #3b3b3c; }
.localized-consult-card img { width: 118px; height: auto; margin: 0 auto 26px; }
.localized-consult-card h3 { margin: 0 0 14px; color: #e11b2f; font-size: 22px; font-weight: 400; }
.localized-consult-card p { margin: 0 0 18px; line-height: 1.45; }
.localized-consult-card a { display: block; margin: 8px 0; color: #3b3b3c; font-size: 18px; text-decoration: none; }
.localized-consult-card.compact { min-height: 220px; padding: 25px 16px; }
.localized-consult-card.compact img { width: 90px; margin-bottom: 18px; }
.localized-consult-card.compact h3 { font-size: 18px; }
.localized-consult-card.consultant-with-catalogues { position: relative; width: 100%; max-width: 258px; min-height: 311px; margin: 0 auto; padding: 0; overflow: hidden; border: 0; background: #fff; }
.localized-consult-card.consultant-with-catalogues .consultant-photo { display: block; width: 100%; height: 311px; margin: 0; object-fit: cover; object-position: center; }
.localized-consult-card.consultant-with-catalogues .consultant-copy { position: absolute; z-index: 2; top: 18px; right: 5px; width: 42%; text-align: center; }
.localized-consult-card.consultant-with-catalogues .consultant-copy h3 { margin: 0 0 8px; color: #4a4a4a; font-size: 15px; line-height: 1.15; font-weight: 600; }
.localized-consult-card.consultant-with-catalogues .consultant-copy p { margin: 0 0 9px; color: #555; font-size: 12px; line-height: 1.2; }
.localized-consult-card.consultant-with-catalogues .consultant-button { display: inline-block; margin: 0; padding: 5px 9px; background: #e11b2f; color: #fff; font-size: 13px; line-height: 1.1; text-decoration: none; }
#slider1 img { object-fit: cover; }
@media (max-width: 760px) {
  #top-phones { flex-wrap: wrap; justify-content: flex-end; }
  #top-phones #language-selector { margin-right: 6px; padding-right: 6px; }
  #language-selector .language-label { display: none; }
  #language-selector .language-list { right: 0; left: auto; }
  #products .product h3 { font-size: 11px; }
}
/* Localized promotional slider: clean photography with selectable, indexable copy. */
#slider1 > a { position: absolute; }
#slider1 > a > img { z-index: 0; }
.localized-slide-copy,
.screen-product-labels,
.screen-discounts {
  position: absolute;
  z-index: 2;
  color: #18262a;
  font-family: Arial, Helvetica, sans-serif;
  text-align: left;
  pointer-events: none;
}
.localized-slide-copy {
  inset: 7% auto 5% 3.8%;
  width: 35%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.localized-slide-copy .slide-eyebrow {
  font-size: clamp(6px, .72vw, 11px);
  line-height: 1.25;
  letter-spacing: .09em;
  color: #6e7568;
  text-transform: uppercase;
}
.localized-slide-copy .slide-title {
  margin-top: 6%;
  font-size: clamp(15px, 2.5vw, 38px);
  line-height: 1.02;
  letter-spacing: .015em;
  font-weight: 700;
  text-transform: uppercase;
}
.localized-slide-copy .slide-title > span { display: block; }
.localized-slide-copy .slide-title > span + span { color: #687063; font-weight: 400; }
.localized-slide-copy .slide-subtitle {
  margin-top: 5%;
  font-size: clamp(6px, .72vw, 11px);
  line-height: 1.35;
  font-weight: 600;
  text-transform: uppercase;
}
.localized-slide-copy .slide-offer {
  margin-top: 7%;
  display: flex;
  flex-direction: column;
}
.localized-slide-copy .slide-offer small {
  font-size: clamp(7px, .9vw, 14px);
  letter-spacing: .08em;
}
.localized-slide-copy .slide-offer strong {
  margin-top: -2%;
  font-size: clamp(28px, 5.8vw, 88px);
  line-height: .95;
  color: #687063;
  font-weight: 600;
}
.localized-slide-copy .slide-benefits {
  margin-top: auto;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3%;
  font-size: clamp(4px, .46vw, 7px);
  line-height: 1.25;
  text-align: center;
  text-transform: uppercase;
}
.screen-copy { width: 27%; }
.screen-product-labels,
.screen-discounts {
  left: 31%;
  right: 1.5%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1%;
  text-transform: uppercase;
}
.screen-product-labels {
  top: 6%;
  font-size: clamp(5px, .63vw, 10px);
  line-height: 1.2;
  text-align: center;
}
.screen-discounts { bottom: 8%; text-align: center; }
.screen-discounts > span { display: flex; flex-direction: column; }
.screen-discounts small { font-size: clamp(5px, .55vw, 9px); }
.screen-discounts strong { font-size: clamp(18px, 2.6vw, 40px); color: #687063; font-weight: 500; }
@media (max-width: 550px) {
  .localized-slide-copy { inset: 5% auto 4% 3%; width: 40%; }
  .localized-slide-copy .slide-title { margin-top: 4%; }
  .localized-slide-copy .slide-offer { margin-top: 5%; }
  .screen-copy { width: 28%; }
  .screen-copy .slide-subtitle { display: block; }
  .screen-product-labels { top: 5%; }
  .screen-discounts { bottom: 5%; }
}
