/* Digisalonen v1337 R1 — unified premium design system.
   Layered on top of R39; intentionally does not style header, locked navigation,
   hero geometry, booking visibility rules, or the AI/chat state machine.
   No JavaScript, product terms, images, or brand assets are changed. */


  body.ds1337-premium {
    --ds37-ink:#092c3c; --ds37-navy:#032a38; --ds37-accent:#86e2c8;
    --ds37-blue:#146d9e; --ds37-soft:#f5f9f8; --ds37-white:#ffffff;
    --ds37-line:#d6e6e4; --ds37-text:#294757; --ds37-subtle:#54707c;
    --ds37-radius:clamp(22px,2.2vw,28px); --ds37-radius-small:14px;
    --ds37-edge:clamp(16px,2.2vw,30px);
    --ds37-shadow:0 12px 35px rgba(6,46,61,.07),0 2px 8px rgba(6,46,61,.035);
    --ds37-hover-shadow:0 18px 38px rgba(6,46,61,.11);
    --ds37-content-width:1320px;
  }


  /* A shared surface grammar on customer pages, scoped away from the locked hero/nav. */
  body.ds1337-premium:is(.home-page,.seo-page) :is(.ds16-compare-card,.service-card-refined,.ds-r10-service-card,
      .premium-gift-choice,.premium-gift-visual-card,.about-r21-principle,.feedback-premium-card,
      .ds1270-package,.service-offer,.ds-website-reference,.td-card,.td-process-step,
      .contact-card-desktop,.seo-card,.seo-proof,.seo-benefit,.seo-faq details,.ds34-local-guide) {
    border:1px solid var(--ds37-line);
    border-radius:var(--ds37-radius);
    box-shadow:var(--ds37-shadow);
  }
  body.ds1337-premium.home-page :is(.ds16-compare-card,.ds1270-package,.about-r21-principle,
      .service-offer,.premium-gift-choice,.feedback-premium-card,.contact-card-desktop) {
    min-width:0; overflow-wrap:break-word;
  }
  body.ds1337-premium.home-page :is(.ds16-compare-card,.about-r21-principle,.premium-gift-choice,
      .ds1270-package,.contact-card-desktop) { padding-inline:max(18px,var(--ds37-edge)); }
  body.ds1337-premium.home-page :is(.ds16-compare-card,.about-r21-principle,.premium-gift-choice,
      .ds1270-package,.contact-card-desktop):hover { box-shadow:var(--ds37-hover-shadow); }
  body.ds1337-premium.home-page :is(.premium-gift-choice,.premium-gift-visual-card,.ds16-compare-card,.about-r21-principle) {
    transition:box-shadow .2s ease,border-color .2s ease,transform .2s ease;
  }
  body.ds1337-premium.home-page :is(.premium-gift-choice,.ds16-compare-card,.about-r21-principle):hover {
    border-color:#baded7;
  }
  /* Preserve images & card interaction; give text consistent breathing room. */
  body.ds1337-premium :is(.td-card-copy,.td-step-copy,.seo-card,.seo-proof,.ds1270-package) {
    overflow-wrap:anywhere;
  }
  body.ds1337-premium.home-page .td-card-copy,
  body.ds1337-premium.seo-page .td-card-copy {
    padding-inline:clamp(18px,2.4vw,28px);
  }
  body.ds1337-premium :is(.td-card,.premium-gift-visual-card,.td-process-step) { overflow:hidden; }
  body.ds1337-premium :is(.td-card img,.premium-gift-visual-card img) { max-width:100%; }
  body.ds1337-premium.home-page .care-plan__price-card {
    border:1px solid #a7dace;border-radius:var(--ds37-radius);
    box-shadow:var(--ds37-shadow);
  }
  body.ds1337-premium.home-page :is(.care-plan__content,.care-plan__details) { min-width:0; }
  body.ds1337-premium.home-page .ds1270-panel { border-radius:var(--ds37-radius); }
  body.ds1337-premium.home-page :is(.testimonial-card,.premium-gift-note) { overflow-wrap:anywhere; }
  /* A shared, restrained focus/selection treatment for Digiapuri; behavior untouched. */
  body.ds1337-premium.home-page #digiapuri :is(.dg-work-card,.digiapuri-option.has-choice-media) {
    border-radius:var(--ds37-radius-small);
    transition:border-color .2s ease,box-shadow .2s ease;
  }
  body.ds1337-premium.home-page #digiapuri :is(.dg-work-card,.digiapuri-option.has-choice-media):focus-within {
    box-shadow:0 0 0 3px rgba(20,109,158,.15);
  }
  body.ds1337-premium.home-page #digiapuri :is(.dg-work-card,.digiapuri-option.has-choice-media)[aria-pressed="true"],
  body.ds1337-premium.home-page #digiapuri :is(.dg-work-card,.digiapuri-option.has-choice-media)[aria-selected="true"] {
    border-color:#2c988d;
    box-shadow:0 0 0 2px rgba(134,226,200,.25);
  }
  /* Unified contact and trust blocks without changing actual field geometry and validation. */
  body.ds1337-premium.home-page :is(.contact-form-container,.digiapuri-form-summary) {
    border-radius:var(--ds37-radius);
  }
  body.ds1337-premium.home-page :is(.form-input,.form-group input,.form-group textarea,.form-group select) {
    border-radius:var(--ds37-radius-small);
  }
  body.ds1337-premium.home-page :is(.form-input,.form-group input,.form-group textarea,.form-group select):focus-visible {
    outline:3px solid #287d9f;outline-offset:2px;
  }
  /* Regional and service landings: premium layout, softer palette, consistent decision cards. */
  body.ds1337-premium.seo-page {
    --seo-ink:var(--ds37-ink);--seo-blue:#146d9e;
    --seo-surface:#f2f8f7;--seo-line:var(--ds37-line);
    --seo-radius:var(--ds37-radius);
    background:#ffffff;color:var(--ds37-ink);
  }
  body.ds1337-premium.seo-page .seo-wrap { max-width:var(--ds37-content-width); }
  body.ds1337-premium.seo-page .seo-hero {
    background:radial-gradient(circle at 85% 10%,rgba(134,226,200,.19),transparent 40%),
       linear-gradient(160deg,#f4faf8 0%,#fff 75%);
  }
  body.ds1337-premium.seo-page .seo-hero h1 {color:var(--ds37-navy)}
  body.ds1337-premium.seo-page .seo-lead {color:var(--ds37-text)}
  body.ds1337-premium.seo-page .seo-section.alt {background:var(--ds37-soft)}
  body.ds1337-premium.seo-page .seo-card {
    padding:clamp(20px,2.5vw,30px); background:var(--ds37-white);
    min-width:0; overflow-wrap:break-word;
  }
  body.ds1337-premium.seo-page .seo-card:hover {border-color:#a8cfc8;box-shadow:var(--ds37-hover-shadow)}
  body.ds1337-premium.seo-page :is(.seo-benefit,.seo-proof,.seo-cta,.seo-faq details) {
    border-radius:var(--ds37-radius);
  }
  body.ds1337-premium.seo-page .seo-actions { gap:clamp(10px,1.5vw,16px); }
  body.ds1337-premium.seo-page :is(.seo-btn,.seo-cta a) {
    border-radius:999px; min-height:48px;transition:transform .16s ease,box-shadow .16s ease;
  }
  body.ds1337-premium.seo-page .seo-btn-primary {
    background:var(--ds37-navy);color:#fff;border-color:var(--ds37-navy);
  }
  body.ds1337-premium.seo-page .seo-btn-primary:hover {background:#0c485a;color:#fff}
  body.ds1337-premium.seo-page :is(.seo-btn,.seo-inline-links a):focus-visible {
    outline:3px solid #1677a6;outline-offset:3px;
  }
  body.ds1337-premium.seo-page .seo-inline-links {gap:10px 16px;}
  body.ds1337-premium.seo-page :is(.seo-inline-links a,.seo-footer-links a) {overflow-wrap:anywhere;}
  /* Standalone 3D catalogue uses the same image, card, and button grammar. */
  body.ds1337-premium .td-experience :is(.td-offer,.td-price-panel,.td-card,.td-process-step,.td-closing) {
    border-radius:var(--ds37-radius);
  }
  body.ds1337-premium .td-experience :is(.td-card,.td-offer,.td-price-panel) {
    box-shadow:var(--ds37-shadow);
  }
  body.ds1337-premium .td-experience :is(.td-card,.td-offer,.td-process-step) {min-width:0;}
  body.ds1337-premium .td-experience :is(.td-button,.service-primary-cta) {
    border-radius:999px;min-height:48px;
  }
  body.ds1337-premium .td-experience :is(.td-button,.service-primary-cta):focus-visible {
    outline:3px solid #146d9e;outline-offset:3px;
  }
  /* Booking: use design tokens; keep layout, booking steps, date and status logic untouched. */
  body.ds1337-premium.booking-premium {
    --booking-shadow:var(--ds37-shadow);
  }
  html[data-booking-theme="light"] body.ds1337-premium.booking-premium {
    --booking-page:#f4f9f7;--booking-surface:#fffefa;
    --booking-line:var(--ds37-line);--booking-soft:#edf7f3;
    --booking-selected:#eaf7f2;--booking-accent:#12635d;
    --booking-header:var(--ds37-navy);
  }
  body.ds1337-premium.booking-premium :is(.beta-card,.booking-aside,.booking-review-overview,.booking-selection-content,.booking-nearest) {
    border-radius:var(--ds37-radius);
  }
  body.ds1337-premium.booking-premium :is(.booking-service-option,.booking-review-overview,.booking-aside) {
    min-width:0; overflow-wrap:break-word;
  }
  body.ds1337-premium.booking-premium :is(.beta-btn,.booking-day-arrow,.booking-text-button) {
    transition:box-shadow .16s ease,background-color .16s ease;
  }
  body.ds1337-premium.booking-premium :is(.booking-service-option,.booking-days button,.beta-btn):focus-visible {
    outline:3px solid var(--booking-accent);outline-offset:3px;
  }
  /* Legal pages and status pages: trim corner inconsistency without altering content. */
  body.ds1337-premium:is(.ds-privacy,.ds-error-page) :is(main article,main section,main aside) {
    overflow-wrap:break-word;
  }


  @media(min-width:1900px) {
    body.ds1337-premium.seo-page .seo-wrap {max-width:1400px}
    body.ds1337-premium.home-page .section-inner {max-width:1400px}
    body.ds1337-premium.seo-page .seo-hero h1 {max-width:880px}
  }
  @media(max-width:700px) {
    body.ds1337-premium.home-page :is(.ds16-compare-card,.about-r21-principle,.premium-gift-choice,
      .ds1270-package,.contact-card-desktop) {padding-inline:18px}
    body.ds1337-premium.seo-page .seo-card {padding-inline:20px}
    body.ds1337-premium .td-card-copy {padding-inline:18px}
    body.ds1337-premium.seo-page .seo-wrap {width:min(100% - 32px,100%)}
    body.ds1337-premium.seo-page .seo-hero {padding-block:clamp(40px,8vw,64px)}
    body.ds1337-premium.seo-page .seo-grid {grid-template-columns:minmax(0,1fr)}
  }
  @media(prefers-reduced-motion:reduce) {
    body.ds1337-premium :is(.seo-btn,.td-card,.td-button,.premium-gift-choice,.ds16-compare-card,
      .about-r21-principle,.booking-service-option,.beta-btn) {transition:none!important}
  }


body.ds1337-premium.home-page :is(#kuluttajat,#tietoa-minusta,#lahjakortit,#yritykset,#threeDPrintService,#yhteystiedot) :is(h2,h3) {letter-spacing:-.025em;}
body.ds1337-premium.home-page :is(.section-subtitle,.about-r21-intro,.premium-gift-subtitle) {line-height:1.62;}
body.ds1337-premium :is(.td-card-copy,.seo-card,.seo-benefit,.seo-cta) :is(h2,h3) {text-wrap:balance;}

/* High-specificity, narrowly scoped overrides for legacy bundled home styles. */
html body.home-page.ds1337-premium .ds16-compare .ds16-compare-card {
 border-color:var(--ds37-line);border-radius:var(--ds37-radius);box-shadow:var(--ds37-shadow);
}
html body.home-page.ds1337-premium #lahjakortit .premium-gift-choice {
 border-color:var(--ds37-line);border-radius:var(--ds37-radius-small);
}
html body.home-page.ds1337-premium :is(#yritykset .service-offer,#yritykset .ds1270-package) {
 border-radius:var(--ds37-radius);border-color:var(--ds37-line);box-shadow:var(--ds37-shadow);
}
html body.home-page.ds1337-premium #threeDPrintService .td-card {
 border-radius:var(--ds37-radius);border-color:var(--ds37-line);box-shadow:var(--ds37-shadow);
}
html body.home-page.ds1337-premium #digiapuri .dg-work-card:focus-within {
 border-color:#32988e;box-shadow:0 0 0 3px rgba(134,226,200,.23);
}
@media(max-width:700px) {
 html body.home-page.ds1337-premium .ds16-compare .ds16-compare-card {padding-inline:18px;}
}
body.ds1337-premium.home-page :is(.ds-experience-action,.care-plan__cta,.premium-gift-actions a,.service-offer__cta,.about-r21-cta,.contact-form button[type=submit]) {border-radius:999px;min-height:48px;}
body.ds1337-premium.home-page :is(.ds-experience-action,.care-plan__cta,.premium-gift-actions a,.contact-form button[type=submit]):focus-visible {outline:3px solid #146d9e;outline-offset:3px;}
body.ds1337-premium :is(.td-card img,.premium-gift-visual-card img) {transition:transform .2s ease;}
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
 body.ds1337-premium :is(.td-card,.premium-gift-visual-card):hover img {transform:scale(1.012);}
}
@media (prefers-reduced-motion:reduce) {
 body.ds1337-premium :is(.td-card img,.premium-gift-visual-card img) {transition:none!important;transform:none!important;}
}


/* v1337 R12 – Lahjakortin Premium & Luxus. Scope intentionally limited to #lahjakortit.
   GENUINE EXISTING CARD ASSETS ONLY: logo and copy are never regenerated or clipped. */
html body.home-page #lahjakortit.dg-gift-r12 {
  --gift-ink:#071e3e; --gift-navy:#062755; --gift-gold:#af802e; --gift-cream:#fbf5ed;
  background:transparent; margin-block:clamp(18px,2.4vw,44px); padding:0 clamp(12px,2.6vw,36px);
  color:var(--gift-ink); isolation:isolate; scroll-margin-top:90px;
}
html body.home-page #lahjakortit.dg-gift-r12 .section-inner {
  display:block; box-sizing:border-box; max-width:1440px; margin:0 auto;
  padding:clamp(22px,4.5vw,70px) clamp(14px,5vw,72px);
  border-radius:clamp(24px,4vw,46px);
  background:linear-gradient(155deg,#fffdf9 0%,#fbf6ef 60%,#f7f0e9 100%);
  box-shadow:0 18px 50px rgba(37,37,30,.07),inset 0 0 0 1px rgba(179,146,94,.12);
  overflow:visible; width:100%;
}
html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-showcase {
  display:grid; grid-template-columns:minmax(0,1fr); grid-template-areas:"head" "visual" "actions";
  gap:clamp(10px,2.4vw,26px); background:transparent; border:0; padding:0; box-shadow:none; overflow:visible;
}
html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-head {grid-area:head; text-align:center; max-width:100%; margin:0 auto; padding:0;}
html body.home-page #lahjakortit.dg-gift-r12 .section-kicker {
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  border:1.6px solid var(--gift-gold);border-radius:100px;
  padding:8px 16px; margin:0 auto clamp(12px,2vw,20px);
  font-family:'Plus Jakarta Sans',sans-serif;font-size:clamp(10px,1.25vw,16px);
  font-weight:800;letter-spacing:.10em;line-height:1.3;color:var(--gift-ink);
  background:rgba(255,255,255,.52);
}
html body.home-page #lahjakortit.dg-gift-r12 .section-kicker svg {width:22px;height:22px; flex:none;color:var(--gift-gold)}
html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-head .section-title {
  font-family:'Plus Jakarta Sans',sans-serif; font-size:clamp(30px,4.5vw,69px);
  line-height:1.09; letter-spacing:-.045em; font-weight:800; color:var(--gift-ink);
  max-width:850px; margin:0 auto clamp(12px,1.7vw,20px);text-wrap:balance;
}
html body.home-page #lahjakortit.dg-gift-r12 .section-title span {display:block;}
html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-subtitle {
  font-family:'Plus Jakarta Sans',sans-serif; color:#223449; font-size:clamp(14px,1.75vw,21px);
  line-height:1.48;max-width:650px;margin:0 auto; text-wrap:balance;
}
html body.home-page #lahjakortit.dg-gift-r12 .ds34-gift-path {
  list-style:none; display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
  gap:clamp(4px,1.5vw,15px);width:min(100%,810px); margin:clamp(22px,3vw,32px) auto 0;
  padding:0;align-items:start;text-align:center;color:var(--gift-ink);opacity:1;
}
html body.home-page #lahjakortit.dg-gift-r12 .ds34-gift-path li {
  display:flex;flex-direction:column;align-items:center;gap:6px;
  color:var(--gift-ink);font-size:clamp(10px,1.3vw,16px);font-weight:650;
  line-height:1.27;min-width:0;margin:0;padding:0;overflow-wrap:normal;
}
html body.home-page #lahjakortit.dg-gift-r12 .ds34-gift-path li strong {color:inherit;font-weight:650}
html body.home-page #lahjakortit.dg-gift-r12 .ds34-gift-path li>span {
  display:grid;place-items:center;width:clamp(28px,3.4vw,42px);height:clamp(28px,3.4vw,42px);
  font-size:clamp(14px,1.7vw,21px);background:#fffaf3; color:var(--gift-ink);
  border:1.4px solid var(--gift-gold);border-radius:50%;font-weight:700;opacity:1;
}
html body.home-page #lahjakortit.dg-gift-r12 .ds34-gift-path li:first-child>span {
 background:var(--gift-navy);color:#fff;border-color:var(--gift-navy);
}
html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-visual {
  grid-area:visual;position:relative;display:block;width:100%;max-width:850px;
  margin:0 auto; height:auto;min-height:0; aspect-ratio:2.2/1;
  overflow:visible; isolation:isolate; background:transparent; border:none;
}
html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-visual-card {
  position:absolute;box-sizing:border-box;display:block;overflow:visible;
  width:62%;height:auto;max-width:none;margin:0;padding:0;
  background:transparent;border:0;border-radius:0;inset:auto;
  box-shadow:none;transform-origin:center center;
  transition:transform .22s ease;will-change:auto;
}
html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-visual-card-80 {
  left:3%;top:29%;z-index:2;transform:rotate(-5deg);
}
html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-visual-card-149 {
  right:3%;top:10%;z-index:1;transform:rotate(5deg);
}
html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-visual-card img {
  display:block;width:100%;height:auto;aspect-ratio:1474/768;max-width:100%;object-fit:contain;
  border-radius:clamp(11px,1.4vw,22px);
  box-shadow:0 13px 22px rgba(9,27,43,.20),0 2px 5px rgba(9,27,43,.13);
}
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
 html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-visual-card-80:hover {transform:rotate(-4deg) translateY(-4px)}
 html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-visual-card-149:hover {transform:rotate(4deg) translateY(-4px)}
}
html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-actions {
  grid-area:actions; display:flex;flex-direction:column;align-items:stretch;
  gap:clamp(12px,1.7vw,20px);width:100%;max-width:850px;margin:0 auto;padding:0;
}
html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-choices {
  display:grid;grid-template-columns:minmax(0,1fr);gap:clamp(10px,1.4vw,15px);
  width:100%;max-width:none;margin:0;padding:0;
}
html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-choice {
  display:grid;grid-template-columns:minmax(93px,.33fr) minmax(0,1fr) 46px;
  align-items:center;gap:clamp(9px,1.8vw,24px);text-decoration:none;
  padding:clamp(12px,1.5vw,19px) clamp(12px,2.4vw,27px); min-height:80px;
  border:1.6px solid #be964f;border-radius:clamp(16px,2vw,24px);
  background:#fffdfa;box-shadow:0 8px 20px rgba(20,39,56,.11),0 2px 4px rgba(20,39,56,.06);
  color:var(--gift-ink);width:100%;max-width:none;margin:0;box-sizing:border-box;
}
html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-choice:first-child {border-color:#2b679d}
html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-choice:focus-visible {
  outline:3px solid #0a69b0;outline-offset:4px;
}
html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-choice:hover {
 border-color:#aa7b29;box-shadow:0 11px 24px rgba(20,39,56,.16);transform:translateY(-2px);
}
html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-choice-price {
  white-space:nowrap;display:flex;align-items:center;justify-content:center;
  border-right:1px solid rgba(165,121,54,.5);min-width:0;line-height:1.02;
  font-family:"Plus Jakarta Sans", Arial, sans-serif;font-size:clamp(32px,4.3vw,54px);font-weight:700;
  letter-spacing:-.045em; padding-right:clamp(10px,1.8vw,21px);color:var(--gift-ink);
}
html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-choice-copy {
  display:grid;gap:5px;text-align:left;min-width:0;color:var(--gift-ink);
}
html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-choice-copy strong {
 font-size:clamp(15px,1.8vw,22px);line-height:1.2;font-weight:800;color:var(--gift-ink);
}
html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-choice-copy small {
 font-size:clamp(12px,1.35vw,16px);line-height:1.3;color:#42505b;
}
html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-choice-arrow {
  display:grid;place-items:center;justify-self:end;flex:none;
  width:clamp(34px,4.1vw,47px);height:clamp(34px,4.1vw,47px);
  border-radius:50%;background:linear-gradient(130deg,#0c5c98,#062650);color:#fff;
  font-size:clamp(19px,2.3vw,26px);line-height:1;border:0;
}
html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-choice:last-child .premium-gift-choice-arrow {
 background:linear-gradient(145deg,#c59d55,#956c29);
}
html body.home-page #lahjakortit.dg-gift-r12 .dg-gift-r12-notice {
  display:flex;align-items:center;gap:clamp(12px,1.7vw,20px);width:100%;box-sizing:border-box;
  margin:0;padding:clamp(14px,1.8vw,22px) clamp(14px,2vw,24px);
  border-radius:clamp(17px,2vw,24px);background:linear-gradient(110deg,#fff2dc,#f9e9cf);
  line-height:1.48;font-size:clamp(13px,1.45vw,17px);color:#172b42;text-align:left;
}
html body.home-page #lahjakortit.dg-gift-r12 .dg-gift-r12-notice svg {
  width:clamp(25px,3vw,36px);height:clamp(25px,3vw,36px);flex:none;color:#966c25;
}
html body.home-page #lahjakortit.dg-gift-r12 .dg-gift-r12-notice strong {display:block;color:#082957;font-weight:800}
html body.home-page #lahjakortit.dg-gift-r12 .dg-gift-r12-benefits {
  list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
  gap:0; margin:0;padding:clamp(6px,1vw,12px) 0; color:#172b42;
}
html body.home-page #lahjakortit.dg-gift-r12 .dg-gift-r12-benefits li {
 display:flex;align-items:center;justify-content:center;gap:clamp(5px,1vw,13px);
 min-width:0;padding:4px clamp(3px,1vw,14px);font-size:clamp(11px,1.25vw,16px);
 line-height:1.32;font-weight:600;
}
html body.home-page #lahjakortit.dg-gift-r12 .dg-gift-r12-benefits li+li {border-left:1px solid #cbbba8}
html body.home-page #lahjakortit.dg-gift-r12 .dg-gift-r12-benefits svg {
 color:#94702c;width:clamp(25px,3.4vw,43px);height:clamp(25px,3.4vw,43px);flex:none;
}
html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-note {
 margin:0;text-align:center;max-width:none;color:#526070;
 font-size:clamp(12px,1.15vw,14px);line-height:1.6;
}
html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-terms {
  width:min(100%,850px);max-width:none;margin:clamp(15px,2vw,25px) auto 0;
  border:1px solid #e1dad0;border-radius:clamp(19px,2vw,26px);
  background:#fffdfa;box-shadow:0 10px 25px rgba(13,33,52,.10);overflow:hidden;
}
html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-terms>summary {
 display:flex;align-items:center;justify-content:space-between;gap:10px;
 padding:clamp(15px,2vw,24px); min-height:56px;cursor:pointer;
 color:var(--gift-ink);font-size:clamp(16px,1.65vw,21px);font-weight:750;
}
html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-terms-summary {display:flex;gap:13px;align-items:center;min-width:0}
html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-terms-summary svg {color:var(--gift-navy);width:26px;height:26px;flex:none}
html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-terms-content {padding:0 clamp(15px,2.4vw,26px) 22px;color:#203146}
html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-terms summary:focus-visible {outline:3px solid #0a69b0;outline-offset:-4px}
@media (min-width:768px) {
 html body.home-page #lahjakortit.dg-gift-r12 .ds34-gift-path li {flex-direction:row;justify-content:center;gap:10px}
}
@media (min-width:1050px) {
 html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-showcase {
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  grid-template-areas:"head head" "visual actions";
  column-gap:clamp(20px,3.5vw,65px);row-gap:clamp(12px,2vw,30px);align-items:center;
 }
 html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-visual {aspect-ratio:1.6/1;max-width:none}
 html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-visual-card {width:74%}
 html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-visual-card-80 {top:36%;left:0}
 html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-visual-card-149 {top:12%;right:0}
 html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-terms {width:min(100%,1000px)}
}
@media (max-width:600px) {
 html body.home-page #lahjakortit.dg-gift-r12 {padding-inline:8px}
 html body.home-page #lahjakortit.dg-gift-r12 .section-inner {padding:24px clamp(12px,4vw,24px);border-radius:26px}
 html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-head .section-title {font-size:clamp(27px,7vw,40px);line-height:1.12;letter-spacing:-.043em}
 html body.home-page #lahjakortit.dg-gift-r12 .section-kicker {font-size:clamp(9px,2.7vw,12px);letter-spacing:.055em;gap:6px;padding:8px 10px}
 html body.home-page #lahjakortit.dg-gift-r12 .section-kicker svg {width:18px;height:18px}
 html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-subtitle {font-size:clamp(13px,3.6vw,16px)}
 html body.home-page #lahjakortit.dg-gift-r12 .ds34-gift-path {margin-top:20px}
 html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-visual {aspect-ratio:1.8/1}
 html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-visual-card {width:69%}
 html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-visual-card-80 {top:28%;left:0}
 html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-visual-card-149 {top:8%;right:0}
 html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-choice {grid-template-columns:minmax(70px,29%) minmax(0,1fr) 34px;gap:10px;min-height:76px;padding:10px 12px}
 html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-choice-price {font-size:clamp(28px,8vw,41px);padding-right:8px}
 html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-choice-copy strong {font-size:clamp(12px,3.7vw,17px)}
 html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-choice-copy small {font-size:clamp(10px,3.1vw,13px)}
 html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-choice-arrow {width:32px;height:32px;font-size:21px}
 html body.home-page #lahjakortit.dg-gift-r12 .dg-gift-r12-benefits {grid-template-columns:repeat(3,minmax(0,1fr))}
 html body.home-page #lahjakortit.dg-gift-r12 .dg-gift-r12-benefits li {flex-direction:column;text-align:center;gap:5px;font-size:clamp(10px,2.8vw,13px)}
 html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-terms>summary {font-size:clamp(14px,4vw,17px);min-height:52px;padding:14px 13px}
}
@media (max-width:350px) {
 html body.home-page #lahjakortit.dg-gift-r12 .section-inner {padding-inline:11px}
 html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-choice {gap:6px;padding-inline:9px;grid-template-columns:74px minmax(0,1fr) 30px}
 html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-choice-price {font-size:29px;padding-right:6px}
 html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-choice-arrow {width:30px;height:30px}
}
@media (min-width:1920px) {
 html body.home-page #lahjakortit.dg-gift-r12 .section-inner {max-width:1680px}
 html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-head .section-title {font-size:clamp(60px,3.3vw,82px)}
 html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-visual-card img {box-shadow:0 18px 32px rgba(9,27,43,.18)}
}
@media (prefers-reduced-motion:reduce) {
 html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-choice,
 html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-visual-card {transition:none}
 html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-choice:hover {transform:none}
}
@media (forced-colors:active) {
 html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-choice,
 html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-terms {border:1px solid CanvasText}
}

/* R12 visual QA correction: neutralize legacy side-by-side/sticky gift header
   without changing any other section, nav or shared site component. */
html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-head {
  position:relative!important;inset:auto!important;top:auto!important;
  z-index:auto!important;display:flex!important;flex-direction:column!important;
  align-items:center!important;justify-content:center!important;flex-wrap:nowrap!important;
  width:100%!important;max-width:100%!important;height:auto!important;min-height:0!important;
  max-height:none!important;padding:0!important;margin:0 auto!important;
  gap:0!important;text-align:center!important;background:transparent!important;
  border:0!important;box-shadow:none!important;transform:none!important;
}
html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-head > * {
  position:relative;flex:none;max-width:100%;box-sizing:border-box;
}
html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-head .section-kicker:before,
html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-head .section-kicker:after,
html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-head .section-title:before,
html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-head .section-title:after {content:none!important;display:none!important;}
html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-head .section-title {
  width:100%!important;max-width:850px!important;
  margin:0 auto clamp(12px,1.7vw,20px)!important;
  text-align:center!important;float:none!important;
}
html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-head .premium-gift-subtitle {
  width:100%!important;max-width:650px!important;
  margin:0 auto!important;text-align:center!important;float:none!important;
}
html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-head .ds34-gift-path {
  width:min(100%,810px)!important;margin:clamp(20px,3vw,32px) auto 0!important;
}
html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-choice-price:before,
html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-choice-price:after {content:none!important;display:none!important}
html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-choice-price {
  background:none!important;background-image:none!important;border-radius:0!important;
  border-top:0!important;border-bottom:0!important;border-left:0!important;
  box-shadow:none!important;text-shadow:none!important;outline:0!important;
}
@media (min-width:1050px) {
 html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-showcase {align-items:start!important}
 html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-visual {margin-top:clamp(14px,2.2vw,34px)!important}
}

/* v1337 R13 — lahjakorttikuvien tarkka ja suurempi sommittelu.
   Ainoastaan lahjakorttiosion esityskoko muuttuu. Alkuperäiset WebP:t, logo, hinnat,
   polut, käyttöehdot, värit ja kullan kiilto pysyvät muuttumattomina. */
@media (max-width:600px) {
 html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-visual {
   width:100%;max-width:100%;aspect-ratio:1.36/1;
   margin-top:8px;margin-bottom:7px;
 }
 html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-visual-card {width:81.5%;}
 html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-visual-card-80 {
   left:0;top:43%;transform:rotate(-3.5deg);
 }
 html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-visual-card-149 {
   right:0;top:2%;transform:rotate(3.5deg);
 }
}
@media (min-width:601px) and (max-width:1049px) {
 html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-visual {
   max-width:920px;aspect-ratio:1.94/1;
 }
 html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-visual-card {width:68%;}
 html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-visual-card-80 {left:1%;top:32%;}
 html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-visual-card-149 {right:1%;top:5%;}
}
@media (min-width:1050px) and (max-width:2399px) {
 html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-showcase {
   grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);
   column-gap:clamp(16px,2.4vw,48px);
 }
 html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-visual {
   aspect-ratio:1.45/1;
   margin-top:14px!important;
 }
 html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-visual-card {width:80%;}
 html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-visual-card-80 {left:0;top:39%;transform:rotate(-4deg);}
 html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-visual-card-149 {right:0;top:8%;transform:rotate(4deg);}
 html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-choices .premium-gift-choice {
   grid-template-columns:minmax(95px,30%) minmax(0,1fr) 40px;
   gap:clamp(9px,1.3vw,20px);
 }
 html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-choice-price {font-size:clamp(31px,3vw,52px);}
 html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-choice-copy strong {font-size:clamp(15px,1.5vw,22px);}
}
/* 4K: käytetään näyttötilaa harkitusti — kortit ja valinnat vierekkäin,
   ilman että teksti venyy koko 3840 pikselin leveydelle. */
@media (min-width:2400px) {
 html body.home-page #lahjakortit.dg-gift-r12 .section-inner {
   max-width:2100px; padding:74px clamp(72px,5vw,126px);
 }
 html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-showcase {
   grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);
   grid-template-areas:"head head" "visual actions";
   align-items:center;column-gap:70px;row-gap:30px;
 }
 html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-head .section-title {font-size:84px;max-width:1120px!important;}
 html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-visual {max-width:none;aspect-ratio:1.55/1;margin-top:12px!important;}
 html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-visual-card {width:79%;}
 html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-visual-card-80 {left:0;top:35%;transform:rotate(-4deg);}
 html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-visual-card-149 {right:0;top:7%;transform:rotate(4deg);}
 html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-actions {max-width:none;}
 html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-choice {min-height:100px;}
 html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-choice-price {font-size:58px;}
 html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-choice-copy strong {font-size:22px;}
 html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-choice-copy small {font-size:17px;}
 html body.home-page #lahjakortit.dg-gift-r12 .dg-gift-r12-notice {font-size:18px;}
 html body.home-page #lahjakortit.dg-gift-r12 .dg-gift-r12-benefits li {font-size:17px;}
 html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-terms {width:min(100%,1220px);}
}

/* R13 wide-screen gate: older generic .section and .premium-gift-showcase
   max-width rules must not cap the 4K gift layout to 1240 / 1180 pixels. */
@media (min-width:1800px) and (max-width:2399px) {
 html body.home-page #lahjakortit.dg-gift-r12 {max-width:1580px;width:calc(100% - 48px);}
 html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-showcase {max-width:1380px;}
}
@media (min-width:2400px) {
 html body.home-page #lahjakortit.dg-gift-r12 {
   max-width:2220px;width:calc(100% - 100px);margin-left:auto;margin-right:auto;
 }
 html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-showcase {
   max-width:1840px;width:100%;margin-left:auto;margin-right:auto;
 }
}

/* R13 visual QA: do not obscure the 149 € value / card heading; keep
   both original logos entirely visible, even on desktop and 4K. */
@media (min-width:1050px) {
 html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-visual {aspect-ratio:1.28/1;}
 html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-visual-card-80 {top:46%;}
 html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-visual-card-149 {top:1%;}
}
@media (min-width:1050px) and (max-width:2399px) {
 html body.home-page #lahjakortit.dg-gift-r12 .dg-gift-r12-benefits li {
   flex-direction:column;gap:7px;text-align:center;
   font-size:clamp(11px,0.95vw,14px);padding:4px 6px;line-height:1.3;
 }
 html body.home-page #lahjakortit.dg-gift-r12 .dg-gift-r12-benefits svg {
   width:29px;height:29px;
 }
}
@media (min-width:2400px) {
 html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-visual {aspect-ratio:1.28/1;}
 html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-visual-card-80 {top:46%;}
 html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-visual-card-149 {top:1%;}
}

/* Digisalonen v1338 R29: vain tavallinen desktop 1050–2399 CSS-pikseliä.
   Alkuperäiset korttikuvat, kuvien keskinäinen kerrostus, hinnat ja linkit säilyvät. */
@media screen and (min-width: 1050px) and (max-width: 2399px) {
  html body.home-page #lahjakortit.dg-gift-r12 {margin-block: 18px;}
  html body.home-page #lahjakortit.dg-gift-r12 .section-inner {
    padding-block: clamp(20px, 2vw, 30px);
  }
  html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-showcase {
    row-gap: clamp(10px, 1.2vw, 17px);
    column-gap: clamp(24px, 2.6vw, 44px);
  }
  html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-head .section-title {
    font-size: clamp(38px, 3.6vw, 54px);
    margin-bottom: 8px;
    line-height: 1.08;
  }
  html body.home-page #lahjakortit.dg-gift-r12 .section-kicker {margin-bottom: 9px; padding-block: 6px;}
  html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-subtitle {font-size: clamp(14px, 1.2vw, 18px);}
  html body.home-page #lahjakortit.dg-gift-r12 .ds34-gift-path {margin-top: 13px;}
  html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-visual {aspect-ratio: 1.78/1;}
  html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-actions {gap: 10px;}
  html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-choices {gap: 10px;}
  html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-choice {
    min-height: 70px;
    padding: 10px 16px;
  }
  html body.home-page #lahjakortit.dg-gift-r12 .dg-gift-r12-notice {padding-block: 10px; line-height: 1.4;}
  html body.home-page #lahjakortit.dg-gift-r12 .premium-gift-note {line-height: 1.45;}

  html body.home-page #yritykset .ds1270-packages {
    margin-block: 16px 22px;
    padding: clamp(18px, 2vw, 26px);
  }
  html body.home-page #yritykset .ds1270-packages .ds1270-intro {margin-bottom: 16px;}
  html body.home-page #yritykset .ds1270-packages .ds1270-intro h3 {margin-bottom: 7px;}
  html body.home-page #yritykset .ds1270-packages .ds1270-intro p {line-height: 1.5;}
  html body.home-page #yritykset .ds1270-packages .ds1270-package-grid {gap: 14px;}
  html body.home-page #yritykset .ds1270-packages .ds1270-package {padding: 16px;}
  html body.home-page #yritykset .ds1270-packages .ds1270-package-media {
    aspect-ratio: 16/10;
    margin-bottom: 10px;
  }
  html body.home-page #yritykset .ds1270-packages .ds1270-package-media img {
    object-fit: contain;
  }
  html body.home-page #yritykset .ds1270-packages .ds1270-package h4 {margin-block: 7px;}
  html body.home-page #yritykset .ds1270-packages .ds1270-package p {margin-bottom: 10px; line-height: 1.48;}
  html body.home-page #yritykset .ds1270-packages .ds1270-package small {margin-bottom: 9px;}
}
