.catalog { border-color: var(--line); }
.catalog-title { font-size: clamp(1.8rem, 4vw, 3rem); color: var(--gold); }
.catalog-intro, .catalog-count { color: var(--muted); }
.catalog-intro { margin-block-start: .35rem; }
.catalog-back { color: var(--cyan); }
.catalog-card { background: var(--surface); border-color: var(--line); border-radius: 1.375rem; }
.catalog-media { background: #17273c; border-start-start-radius: calc(1.375rem - 1px); border-start-end-radius: calc(1.375rem - 1px); }
.catalog-caption { border-color: var(--line); color: var(--muted); }
.catalog-description, .catalog-specs { color: var(--muted); }
.catalog-category { color: var(--cyan); background: #163645; }
.catalog-specs li::marker { color: var(--cyan); }
.catalog-details { border-color: var(--line); }
.catalog-details summary { color: var(--cyan); }
.catalog-filters button { border-color: var(--line); color: var(--text); background: var(--surface); }
.catalog-filters button[aria-pressed="true"] { color: var(--navy); border-color: var(--gold); }
.catalog-count { margin-block-end: .6rem; }
.catalog-whatsapp { align-self: flex-start; margin-block-start: auto; }
.catalog-description { white-space: pre-line; }

.service-card, .catalog-card {
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.service-card:focus-visible, .catalog-card:focus-within {
  border-color: var(--gold);
  box-shadow: 0 18px 40px #f5b71b33;
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}
@media (hover: hover) and (pointer: fine) {
  .service-card:hover, .catalog-card:hover { border-color: var(--gold); box-shadow: 0 18px 40px #f5b71b33; }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .service-card:hover, .catalog-card:hover { transform: translateY(-7px) rotate(-.6deg); }
}
@media (prefers-reduced-motion: reduce) {
  .service-card, .catalog-card { transition: none; }
}

dialog.solar { color-scheme: light; }
.solar .button { box-shadow: none; }

/* Keep existing editor display choices working with the UI6 palette. */
.theme-ocean { --navy: #061b2b; --gold: #8fe7ff; --cyan: #67dcff; --surface: #0d2437; }
.theme-amber { --navy: #15182c; --gold: #ffcb70; --cyan: #a5e5f6; --surface: #211d32; }
.text-compact { font-size: .95rem; }
.text-large { font-size: 1.125rem; }
.align-start .hero-content { justify-items: start; text-align: start; }
.align-start .hero .actions { justify-content: flex-start; }
.align-center :is(.about, .service-card, .catalog-content, .site-footer address) { text-align: center; }
.align-center .catalog-category { align-self: center; }
.align-center .catalog-specs { list-style-position: inside; padding-inline-start: 0; }
.align-center .catalog-details { text-align: start; }
.brand-name, .hero-content, .section, .footer-content { min-inline-size: 0; overflow-wrap: anywhere; }
.section p { white-space: pre-line; }
.calculator-access { padding-block: 1.25rem; text-align: center; }

/* Brand Marquee Ticker */
.brand-marquee {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 58px;
  background: #081322;
  border-top: 1px solid rgba(56, 189, 248, 0.16);
  border-bottom: 1px solid rgba(56, 189, 248, 0.16);
  overflow: hidden;
  contain: layout paint;
  direction: rtl;
}

.brand-marquee__toggle {
  flex-shrink: 0;
  width: 46px;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #071221;
  border: 0;
  border-left: 1px solid rgba(148, 163, 184, 0.18);
  color: #F5B71B;
  font-weight: 900;
  font-size: 14px;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s ease;
}

.brand-marquee__toggle-icon {
  display: inline-block;
  letter-spacing: 2px;
  padding-left: 2px;
}

.brand-marquee__toggle:hover {
  background: rgba(245, 183, 27, 0.12);
}

.brand-marquee__viewport {
  position: relative;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  direction: ltr;
}

.brand-marquee__viewport::before,
.brand-marquee__viewport::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 36px;
  pointer-events: none;
  z-index: 2;
}

.brand-marquee__viewport::before {
  left: 0;
  background: linear-gradient(to right, #081322, transparent);
}

.brand-marquee__viewport::after {
  right: 0;
  background: linear-gradient(to left, #081322, transparent);
}

.brand-marquee__track {
  display: flex;
  width: max-content;
  animation: brand-marquee-scroll 28s linear infinite;
  will-change: transform;
  backface-visibility: hidden;
}

.brand-marquee.is-wide .brand-marquee__track {
  animation-duration: 52s;
}

.brand-marquee.is-paused .brand-marquee__track {
  animation-play-state: paused;
}

@media (hover: hover) and (pointer: fine) {
  .brand-marquee:hover .brand-marquee__track {
    animation-play-state: paused;
  }
}

.brand-marquee__group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-marquee__item {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  white-space: nowrap;
  user-select: none;
  transition: transform 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .brand-marquee__item:hover {
    transform: scale(1.06);
  }
}

.brand-marquee__sep {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: #F5B71B;
  opacity: 0.7;
  margin: 0 10px;
  flex-shrink: 0;
}

/* Brand wordmarks (CSP-safe classes, no inline style) */
.brand-word { display: inline-flex; align-items: center; line-height: 1; }
.brand-word--dyness  { font-weight: 900; font-size: 16px; color: #f8fafc; }
.brand-word--dyness .brand-acc { color: #4ade80; }
.brand-word--deye    { font-weight: 900; font-size: 17px; color: #38bdf8; }
.brand-word--deye .brand-acc { color: #fb923c; }
.brand-word--byd     { font-weight: 900; font-size: 17px; letter-spacing: 0.16em; color: #ef4444; }
.brand-word--rpt     { font-weight: 900; font-size: 16px; letter-spacing: 0.12em; color: #f8fafc; }
.brand-word--rpt .brand-acc { color: #f59e0b; }
.brand-word--hithium { font-weight: 800; font-size: 16px; letter-spacing: 0.04em; color: #f8fafc; }
.brand-word--hithium .brand-acc { color: #2dd4bf; }
.brand-word--jinko   { font-weight: 900; font-style: italic; font-size: 17px; color: #4ade80; }
.brand-jinko-sup {
  font-size: 9px;
  font-style: italic;
  font-weight: 700;
  vertical-align: super;
  margin-left: 2px;
  color: #86efac;
}
.brand-word--luxury  { font-weight: 900; font-size: 15px; letter-spacing: 0.08em; color: #f8fafc; }
.brand-lux-x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #dc2626;
  color: #ffffff;
  font-weight: 900;
  font-size: 13px;
  margin: 0 2px;
  line-height: 1;
}
.brand-word--samsung { font-weight: 800; font-size: 15px; letter-spacing: 0.18em; color: #60a5fa; }
.brand-word--hisense { font-weight: 800; font-size: 16px; letter-spacing: 0.04em; color: #2dd4bf; }
.brand-word--starsat { font-weight: 900; font-size: 16px; color: #f8fafc; }
.brand-word--starsat .brand-acc { color: #F5B71B; }

@keyframes brand-marquee-scroll {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .brand-marquee__track { animation: none; }
}

/* Hero Pendant Lamp Entrance */
.hero {
  position: relative;
  overflow: hidden;
  overflow-x: clip;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-block-start: 68px;
}
@media (min-width: 768px) {
  .hero-content {
    padding-block-start: clamp(80px, 6.5vw, 92px);
  }
}
.hero h1 {
  max-inline-size: min(940px, 100%);
  max-width: min(940px, 100%);
  margin-inline: auto;
  text-align: center;
  color: #F8FAFC;
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  -webkit-text-fill-color: currentColor;
}
.hero-title-brand {
  display: block;
  background: linear-gradient(90deg, #FDE073 0%, #F5B71B 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.hero-title-tagline {
  display: block;
  color: #F8FAFC;
  -webkit-text-fill-color: #F8FAFC;
}
.aq-entrance-lamp {
  position: absolute;
  left: 50%;
  top: 0;
  width: clamp(56px, 6.4vw, 96px);
  transform: translate(-50%, 0);
  opacity: 0;
  pointer-events: none;
  z-index: 3;
  animation: aqLampDrop 0.65s ease-out forwards;
}
.aq-entrance-lamp svg {
  display: block;
  width: 100%;
  height: auto;
}
.aq-bulb-core {
  animation: aqBulbWarm 1.1s ease-out 0.15s forwards;
}
.aq-lamp-halo {
  position: absolute;
  left: 50%;
  top: clamp(24px, 4.3vw, 43px);
  width: clamp(110px, 14vw, 180px);
  height: clamp(90px, 12vw, 140px);
  transform: translate(-50%, -25%);
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: screen;
  background: radial-gradient(circle, rgba(254, 240, 138, 0.7) 0%, rgba(245, 183, 27, 0.2) 45%, transparent 72%);
  animation: aqHaloIgnite 1.1s ease-out 0.2s forwards;
}
.aq-lamp-cone {
  position: absolute;
  left: 50%;
  top: clamp(22px, 4vw, 38px);
  width: min(700px, 100%);
  height: 380px;
  transform: translateX(-50%);
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: screen;
  will-change: opacity;
  background: radial-gradient(
    ellipse 52% 66% at 50% 4%,
    rgba(255, 214, 102, 0.44) 0%,
    rgba(245, 183, 27, 0.18) 38%,
    rgba(245, 183, 27, 0.05) 65%,
    transparent 84%
  );
  animation: aqSmoothIgnite 1.25s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards,
             aqLampBreath 5.5s ease-in-out 1.45s infinite;
}
@keyframes aqLampDrop {
  0% { opacity: 0; transform: translate(-50%, -18%); }
  100% { opacity: 1; transform: translate(-50%, 0); }
}
@keyframes aqBulbWarm {
  0% { fill: #334155; filter: drop-shadow(0 0 0 rgba(245, 183, 27, 0)); }
  55% { fill: #FDE68A; filter: drop-shadow(0 0 10px rgba(245, 183, 27, 0.8)); }
  100% { fill: #FEF08A; filter: drop-shadow(0 0 18px rgba(245, 183, 27, 0.98)); }
}
@keyframes aqHaloIgnite {
  0% { opacity: 0; }
  100% { opacity: 0.9; }
}
@keyframes aqSmoothIgnite {
  0% { opacity: 0; transform: translateX(-50%) scale(0.84); }
  100% { opacity: 0.92; transform: translateX(-50%) scale(1); }
}
@keyframes aqLampBreath {
  0%, 100% { opacity: 0.78; transform: translateX(-50%); }
  50% { opacity: 0.96; transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .aq-entrance-lamp, .aq-lamp-cone, .aq-lamp-halo, .aq-bulb-core { animation: none !important; }
  .aq-entrance-lamp { opacity: 1; }
  .aq-lamp-cone { opacity: 0.78; }
  .aq-lamp-halo { opacity: 0.7; }
  .aq-bulb-core { fill: #FEF08A; }
}
