/* Local daylight edition. Original typography, content and product controls remain. */
html[data-theme="day"] {
  --day-page: #f3f3f1;
  --day-white: #fff;
  --day-surface: #e9eae7;
  --day-soft: #f7f7f5;
  --day-line: #cdd0cc;
  --day-ink: #292d2c;
  --day-muted: #5e6561;
  --day-accent: #454e48;
  --paper: var(--day-ink);
  --ink: var(--day-page);
  --muted: var(--day-muted);
  --warm: var(--day-accent);
  --line: var(--day-line);
  color-scheme: light;
  background: var(--day-page);
}

html[data-theme="day"] body.profile-led {
  background: var(--day-page);
  color: var(--day-ink);
}

/* Keep the architectural photograph; replace the night tint with daylight. */
html[data-theme="day"] body.profile-led .profile-hero {
  background-color: var(--day-surface);
  background-image: linear-gradient(90deg, #f3f3f1f5 0%, #f3f3f1d9 26%, #f3f3f170 53%, #f3f3f118 100%), url('/offer-studio/konfigurator/assets/profile-photos/giza-ll-zmg/05_wizualizacja_2-full.webp');
  background-position: center;
}
html[data-theme="day"] body.profile-led [data-prescot-hero] [data-prescot-title] {
  color: var(--day-ink) !important;
  -webkit-text-fill-color: var(--day-ink) !important;
}
html[data-theme="day"] body.profile-led [data-prescot-title] .prescot-hero-accent {
  color: var(--day-muted) !important;
  -webkit-text-fill-color: var(--day-muted) !important;
}
html[data-theme="day"] body.profile-led .klus-hero-brand {
  background: #ffffffb3;
  border-color: var(--day-white);
  box-shadow: none;
}

/* Match the introduction's left edge to the existing catalogue container. */
html[data-theme="day"] body.profile-led .klus-brand-intro {
  width: 100%;
  max-width: 1600px;
  margin-inline: auto;
  padding-inline: 4%;
  background: transparent;
  color: var(--day-ink);
  border-color: var(--day-line);
}
html[data-theme="day"] body.profile-led .klus-system-copy {
  background: var(--day-surface);
  color: var(--day-ink);
  border-color: var(--day-line);
}
html[data-theme="day"] body.profile-led :is(.klus-copy-eyebrow,.eyebrow,.klus-brand-intro>div>p:not(.klus-copy-eyebrow),.klus-copy-columns p) {
  color: var(--day-muted);
}
html[data-theme="day"] body.profile-led .klus-copy-columns article { border-color: var(--day-line); }

html[data-theme="day"] body.profile-led .search-box input {
  background: var(--day-white);
  color: var(--day-ink);
  border-color: var(--day-line);
}
html[data-theme="day"] body.profile-led .search-box input::placeholder { color: var(--day-muted); }
html[data-theme="day"] body.profile-led .category-filters button {
  color: var(--day-ink);
  border-color: var(--day-line);
  background: transparent;
}
html[data-theme="day"] body.profile-led .category-filters button:is(:hover,[aria-pressed="true"]) {
  background: var(--day-surface);
  border-color: var(--day-accent);
}
html[data-theme="day"] body.profile-led .category-filters :is(small,.filter-num) { color: var(--day-muted); }
html[data-theme="day"] body.profile-led :is(.quiet-button,.pagination button,.prescot-glass) {
  color: var(--day-ink) !important;
  background: var(--day-soft) !important;
  border-color: var(--day-line) !important;
  box-shadow: none !important;
  text-shadow: none;
}
html[data-theme="day"] body.profile-led :is(.quiet-button,.pagination button,.prescot-glass):hover,
html[data-theme="day"] body.profile-led .pagination button[aria-current="page"] {
  background: var(--day-surface) !important;
  border-color: var(--day-accent) !important;
}
html[data-theme="day"] body.profile-led .profile-tile {
  background: var(--day-white);
  border-color: var(--day-line);
  color: var(--day-ink);
  box-shadow: none;
}
html[data-theme="day"] body.profile-led .profile-tile:is(:hover,[aria-expanded="true"]) {
  background: var(--day-white);
  border-color: var(--day-accent);
}
html[data-theme="day"] body.profile-led .tile-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 16px 0;
  min-height: 150px;
}
html[data-theme="day"] body.profile-led .tile-model {
  display: block;
  width: 100%;
  height: 170px;
  object-fit: contain;
  filter: none;
  mix-blend-mode: multiply;
}
html[data-theme="day"] body.profile-led .tile-ref { color: var(--day-muted); }
html[data-theme="day"] body.profile-led .tile-facts { border-color: var(--day-line); }
html[data-theme="day"] body.profile-led .tile-facts>span:last-child { color: var(--day-accent); }

/* Product workspace, variant selection, image viewer and share panel. */
html[data-theme="day"] body.profile-led :is(.profile-detail,.profile-mobile-dialog,.profile-photo-dialog) {
  color-scheme: light;
  color: var(--day-ink);
  background: var(--day-soft);
  border-color: var(--day-line);
}
html[data-theme="day"] body.profile-led :is(.detail-top,.profile-mobile-dialog .detail-top) {
  background: var(--day-soft);
  color: var(--day-ink);
  border-color: var(--day-line);
}
html[data-theme="day"] body.profile-led :is(.detail-close,.profile-mobile-dialog .detail-close,.profile-copy-ean,.photo-dialog button) {
  color: var(--day-ink) !important;
  border-color: var(--day-line);
}
html[data-theme="day"] body.profile-led :is(.profile-field-title,.profile-length>span,.profile-component label>span,.profile-photo-note,.component-intro,.component-reference,.profile-component small,.detail-top p) {
  color: var(--day-muted);
}
html[data-theme="day"] body.profile-led .detail-specs>div {
  background: var(--day-white);
  border-color: var(--day-line);
}
html[data-theme="day"] body.profile-led .profile-photo-gallery {
  background: var(--day-surface);
  color: var(--day-ink);
  border-color: var(--day-line);
}
html[data-theme="day"] body.profile-led :is(.profile-gallery-nav button,.photo-expand-label) {
  color: var(--day-ink);
  background: var(--day-soft);
  border-color: var(--day-line);
}
html[data-theme="day"] body.profile-led .profile-photo-thumbs button[aria-pressed="true"] { border-color: var(--day-accent); }
.studio-page .profile-photo-stage:has(.profile-technical-drawing) {
  display: flex;
  align-items: center;
  justify-content: center;
}
.studio-page .profile-technical-drawing {
  display: block;
  width: 100%;
  height: 100%;
  max-width: var(--diagram-width);
  max-height: var(--diagram-height);
  margin: auto;
  background: #fff;
}
.studio-page .profile-photo-dialog > .profile-technical-drawing {
  width: min(100%, var(--diagram-width));
  height: min(62dvh, var(--diagram-height));
  margin: 18px auto;
}
html[data-theme="day"] body.profile-led .finish-swatches>button {
  color: var(--day-ink);
  background: var(--day-white);
  border-color: var(--day-line);
}
html[data-theme="day"] body.profile-led .finish-swatches>button[aria-pressed="true"] {
  background: var(--day-surface);
  border-color: var(--day-accent);
}
html[data-theme="day"] body.profile-led .profile-product-detail :is(select,option) {
  color-scheme: light;
  color: var(--day-ink);
  background-color: var(--day-white);
  border-color: var(--day-line);
}
html[data-theme="day"] body.profile-led select:not([multiple]) {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23454e48' stroke-width='1.5'/%3E%3C/svg%3E") !important;
}
html[data-theme="day"] body.profile-led :is(.profile-components,.profile-component[data-linked-component]) { border-color: var(--day-line); }
html[data-theme="day"] body.profile-led :is(.component-reference a,.profile-share-panel [role="status"],.profile-copy-status) { color: var(--day-accent); }
html[data-theme="day"] body.profile-led :is(.profile-share-panel,.profile-copy-status) {
  background: var(--day-surface);
  border-color: var(--day-line);
}
html[data-theme="day"] body.profile-led .profile-share-panel label { color: var(--day-muted); }
html[data-theme="day"] body.profile-led .profile-share-panel input {
  color: var(--day-ink);
  background: var(--day-white);
  border-color: var(--day-line);
}
html[data-theme="day"] body.profile-led :is(.profile-mobile-dialog,.profile-photo-dialog)::backdrop {
  background: #333a3659;
}
html[data-theme="day"] body.profile-led :is(button,a,input,select,summary):focus-visible {
  outline-color: var(--day-accent);
}

/* Complete the daylight palette through the original footer. */
html[data-theme="day"] body.profile-led[data-layout-flow] .prescot-ending {
  background: var(--day-surface) !important;
  color: var(--day-ink);
}
html[data-theme="day"] body.profile-led .prescot-ending>h2 { color: var(--day-ink); }
html[data-theme="day"] body.profile-led[data-layout-flow] footer.pc-footer {
  background: var(--day-surface) !important;
  color: var(--day-muted);
  box-shadow: none;
}
html[data-theme="day"] body.profile-led .pc-footer::before { background: var(--day-line); }
html[data-theme="day"] body.profile-led .pc-footer::after { filter: grayscale(1); opacity: .025; }
html[data-theme="day"] body.profile-led .pc-footer :is(.pc-footer-brand,.pc-footer-contact-row,.pc-footer-socials a) {
  background: transparent;
  border-color: var(--day-line);
  box-shadow: none;
}
html[data-theme="day"] body.profile-led footer.pc-footer[data-footer-finale] .pc-footer-brand {
  background: var(--day-soft) !important;
  border-color: var(--day-line) !important;
  box-shadow: none !important;
}
html[data-theme="day"] body.profile-led footer.pc-footer .pc-footer-legal :is(a,button[data-privacy-settings]) {
  color: var(--day-muted) !important;
}
html[data-theme="day"] body.profile-led .pc-footer :is(p,a,summary,.pc-footer-heading,.pc-footer-contact-row strong,.pc-footer-powered,.pc-footer-socials a,.pc-footer-mark) {
  color: var(--day-ink);
}
html[data-theme="day"] body.profile-led .pc-footer :is(.pc-footer-brand p,.pc-footer-origin,.pc-footer-label,.pc-footer-tax,.pc-footer-bottom) { color: var(--day-muted); }
html[data-theme="day"] body.profile-led .pc-footer :is(.pc-footer-bottom,.pc-footer-section,.pc-footer-finale) { border-color: var(--day-line); }
html[data-theme="day"] body.profile-led .pc-footer :is(.pc-footer-contact-row>svg,.pc-footer-spell span) { color: var(--day-accent); }
html[data-theme="day"] body.profile-led .pc-footer .pc-footer-section :is(summary,.pc-footer-heading)::before,
html[data-theme="day"] body.profile-led .pc-footer .pc-footer-toggle::before,
html[data-theme="day"] body.profile-led .pc-footer .pc-footer-toggle::after { background: var(--day-accent); }
html[data-theme="day"] body.profile-led .pc-footer .pc-footer-light-trail { background: linear-gradient(90deg,transparent,var(--day-line),transparent); }
html[data-theme="day"] body.profile-led .pc-footer a:hover { color: var(--day-accent); }
html[data-theme="day"] body.profile-led .pc-footer .pc-footer-socials a:hover { background: var(--day-white); }
html[data-theme="day"] body.profile-led .prescot-hero-arrow {
  background: #f7f7f5e8;
  border-color: var(--day-line);
  color: var(--day-ink);
}

@media (max-width: 767px) {
  html[data-theme="day"] body.profile-led .profile-hero {
    background-image: linear-gradient(0deg, #f3f3f1fa 0%, #f3f3f1d9 35%, #f3f3f14d 74%, #f3f3f133 100%), url('/offer-studio/konfigurator/assets/profile-photos/giza-ll-zmg/05_wizualizacja_2-full.webp');
    background-position: 65% center;
  }
  html[data-theme="day"] body.profile-led .tile-visual { min-height: 110px; margin: 10px 0; }
  html[data-theme="day"] body.profile-led .tile-model { height: 120px; }
}
