/* Site-wide type pairing. Component styles retain their own scale and spacing. */
:root,body,body.tc-page,body.tollens-canvas {
  --serif: Georgia, "Times New Roman", serif;
  --sans: Montserrat, Arial, sans-serif;
  --wp--preset--font-family--manrope: var(--sans);
  font-family: var(--sans);
}
body :is(main,header,footer,dialog,nav) :is(p,small,label,figcaption,input,textarea,select,button,.eyebrow,.tc-translation,.tc-code),
body :is(.tc-header,.tc-page .tc-searchbox) :is(button,input),
body #color-dialog .eyebrow,
body .menu-dialog nav :is(a,button) {font-family:var(--sans)}
body :is(main,header,footer,dialog) :is(h1,h2,h3,h4,h5,h6,.tollens-hero__headline,.tollens-palette__heading,.tc-group-name,.tc-original,.statement-name),
body.tc-page .tc-main :is(h1,h2,h3),
body.tollens-canvas .tollens-hero__headline,
body #color-dialog #color-name,
body .tc-color .tc-original {
  font-family:var(--serif);
  font-weight:700;
}
body .site-footer>p,body .tc-lookbooks span,body #tc-wood-pair span {font-family:var(--serif)}

body.home.tollens-canvas #turinys .tollens-hero__headline {
  font: 400 clamp(36px, 4.25vw, 52px)/1.08 var(--serif);
  letter-spacing: -.024em;
  margin-bottom: 14px;
}
body.home.tollens-canvas #turinys :is(.section-title,.display-title) {
  font: 400 clamp(30px, 3.2vw, 38px)/1.15 var(--serif);
  letter-spacing: -.018em;
  margin-bottom: 14px;
  text-wrap: balance;
}
body.home.tollens-canvas #turinys .tollens-palette__heading {
  font: 500 19px/1.35 var(--sans);
  letter-spacing: normal;
  margin-bottom: 12px;
}
body.home.tollens-canvas #turinys :is(.professional-section,.advice-section) {
  padding-block-start: clamp(52px, 6vw, 88px);
}

@font-face {
  font-family: "Tollens Montserrat";
  src: url("fonts/montserrat-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
body.tc-page:has(#tc-finder-layout) {
  --sans: "Tollens Montserrat", Montserrat, Arial, sans-serif;
}
body.tc-page .tc-main:has(#tc-finder-layout) {
  width: min(calc(100% - 44px), 1080px);
  padding-top: 20px;
}
body.tc-page .tc-finder-intro .tc-finder-copy { padding: clamp(18px, 2.5vw, 30px); }
body.tc-page .tc-main .tc-finder-intro h1 { font: 400 clamp(32px, 4vw, 44px)/1.1 var(--serif); margin-bottom: 16px; }
.tc-finder-intro .tc-finder-photo { min-height: 0; height: 164px; }
body.tc-page .tc-finder-intro .tc-searchbox #tc-search { font: 400 16px/1.35 var(--sans); }
.tc-finder-tools, #tc-finder-layout {
  display:grid;
  grid-template-columns:minmax(0,1.85fr) minmax(0,1fr);
  gap:clamp(24px,3.3vw,40px);
  align-items:start;
}
.tc-finder-tools { margin:12px 0 16px; }
.tc-finder-tools > .button { grid-column:2; justify-self:start; max-width:100%; }
.tc-finder-tools > .button:focus-visible { outline:2px solid var(--ink); outline-offset:3px; }
.tc-view-switch { display:none; }
#tc-finder-layout.tc-results-only { grid-template-columns:minmax(0,1fr); }
#tc-finder-layout.tc-results-only #rinkiniai { display:none; }
#tc-finder-layout #rinkiniai { margin:0; }
body.tc-page .tc-main #tc-finder-layout :is(#tc-palette-label,#tc-results-heading,#rinkiniai h2) {
  display:block; font:400 26px/1.16 var(--serif); letter-spacing:-.015em;
  margin:0 0 15px; padding:0 0 10px; border-bottom:1px solid #c9c4ba;
}
#tc-finder-layout .tc-grid.tc-groups { grid-template-columns:repeat(2,minmax(0,1fr)); }
#tc-finder-layout .tc-group-name { font:500 17px/1.3 var(--sans); text-align:left; margin:7px 0 0; }
#tc-finder-layout .tc-band { height:clamp(40px,4vw,55px); }
#tc-finder-layout .tc-lookbooks { grid-template-columns:1fr; gap:12px; }
#tc-finder-layout .tc-lookbooks a { display:grid; grid-template-columns:34% 1fr; align-items:center; gap:14px; overflow:hidden; background:#f3f0eb; border-radius:3px; }
#tc-finder-layout .tc-lookbooks img { height:80px; width:100%; object-fit:cover; }
#tc-finder-layout .tc-lookbooks span { font:400 20px/1.18 var(--serif); padding-right:10px; margin:0; }
#tc-finder-layout .tc-original { font:400 21px/1.2 var(--serif); margin:8px 0 1px; }
#tc-finder-layout .tc-translation { font:400 15px/1.35 var(--sans); }
#tc-finder-layout .tc-code { font:500 14px/1.4 var(--sans); margin-top:6px; }
body:has(#tc-finder-layout) #color-dialog #color-name { font:400 32px/1.14 var(--serif); }
body:has(#tc-finder-layout) #color-dialog :is(#color-translation,.eyebrow) { font:400 15px/1.4 var(--sans); }
@media(max-width:760px) {
  body.tc-page .tc-main:has(#tc-finder-layout) { width:calc(100% - 28px); padding-top:14px; }
  #tc-finder-layout { display:block; }
  #tc-finder-layout[data-view="sets"] #tc-families,
  #tc-finder-layout[data-view="groups"] #rinkiniai { display:none; }
  .tc-finder-tools { grid-template-columns:minmax(0,1fr); gap:8px; margin:8px 0 14px; }
  .tc-view-switch { display:grid; width:100%; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
  .tc-view-switch .button { padding-inline:8px; }
  body.tc-page #turinys .tc-finder-tools .tc-view-switch button[aria-pressed="false"] {
    background:#fffdfa;
    color:#1a264a !important;
    border-color:#a8b3c3;
  }
  .tc-finder-tools > .button { grid-column:1; }
  .tc-finder-intro .tc-finder-photo { height:100%; }
  #tc-finder-layout .tc-lookbooks a { grid-template-columns:minmax(82px,27%) 1fr; }
}

/* Match collection labels to the colour families and give the photographs more room. */
#tc-finder-layout .tc-lookbooks a {
  grid-template-columns:minmax(0,47%) minmax(0,1fr);
  gap:clamp(10px,1vw,15px);
  border-radius:7px;
}
#tc-finder-layout .tc-lookbooks img {
  height:100%;
  min-height:clamp(96px,8vw,118px);
}
#tc-finder-layout .tc-lookbooks span {
  font:500 17px/1.3 var(--sans);
  overflow-wrap:break-word;
  padding-block:10px;
}

/* Use independent translation so positioned slider controls keep their transforms. */
body :where(main,header,footer,dialog,.wp-block-buttons) :is(button,.button,.wp-block-button__link,.wp-element-button,.tc-feature-copy a,.tc-download-action,.tollens-palette__view,input[type="submit"]) {
  transition:translate .14s ease-out,box-shadow .14s ease-out,background-color .14s ease-out;
}
body :is(main,header,footer,dialog,.wp-block-buttons) :is(.button,.wp-block-button__link,.wp-element-button,.project-trigger,.tc-feature-copy a,.tc-download-action,.tollens-palette__save,.tollens-palette__view,input[type="submit"],.tc-pager button,#tc-back,button.text-link,.project-remove) {
  border:1px solid #304363;
  border-radius:8px;
  background:linear-gradient(180deg,#283c63,#192947);
  color:#fff !important;
  box-shadow:inset 0 1px 0 #ffffff26,0 2px 4px #19274629;
  text-decoration:none;
}
body :is(main,header,footer,dialog) :is(button.text-link,.tollens-palette__save,.tollens-palette__view,#tc-back,.project-remove) {
  padding:8px 14px;
}
body :is(main,header,footer,dialog) :is(.icon-button,.surface-tabs button,.tollens-hero__arrow,.tollens-hero__toggle) {
  border-radius:8px;
  box-shadow:0 1px 3px #19274622;
}
body :is(main,header,footer,dialog,.wp-block-buttons) :is(button,.button,.wp-block-button__link,.wp-element-button,.tc-feature-copy a,.tc-download-action,.tollens-palette__view,input[type="submit"]):active:not(:disabled) {
  translate:0 3px;
  box-shadow:inset 0 2px 4px #10182738;
}
@media(prefers-reduced-motion:reduce) {
  body :is(main,header,footer,dialog,.wp-block-buttons) :is(button,.button,.wp-block-button__link,.wp-element-button,.tc-feature-copy a,.tc-download-action,.tollens-palette__view,input[type="submit"]) { transition:none; }
}

/* Allow wrapped labels to grow while keeping single-line actions compact. */
body :is(main,header,footer,dialog,.wp-block-buttons) :is(.button,.wp-block-button__link,.wp-element-button,.project-trigger,.tc-feature-copy a,.tc-download-action,.tollens-palette__save,.tollens-palette__view,input[type="submit"],#tc-back) {
  box-sizing:border-box;
  min-height:40px;
  padding-block:7px;
  line-height:1.35;
}
body :is(main,header,dialog) :is(.surface-tabs button,.family-filters button,.tc-view-switch button,button.text-link,.project-remove,#color-copy) {
  min-height:36px;
  padding-block:5px;
  line-height:1.35;
}
body :is(main,header,dialog) :is(.icon-button,.tc-pager button,.tollens-hero__arrow,#tc-clear) {
  box-sizing:border-box;
  height:36px;
  width:36px;
  min-height:36px;
  min-width:36px;
  padding:0;
}
@media(max-width:760px) {
  body :is(main,header,dialog) :is(.surface-tabs button,.family-filters button,.tc-view-switch button,button.text-link,.project-remove,#color-copy) { min-height:40px; }
  body :is(main,header,dialog) :is(.icon-button,.tc-pager button,.tollens-hero__arrow,#tc-clear) {
    width:40px; height:40px; min-width:40px; min-height:40px;
  }
}

#tc-finder-layout .tc-group {
  overflow:visible;
}
body #tc-finder-layout button.tc-group:active:not(:disabled) {
  translate:none;
  box-shadow:none;
}
#tc-finder-layout .tc-group .tc-band {
  position:relative;
  border-radius:9px;
  box-shadow:none;
  transition:translate .14s ease-out;
}
#tc-finder-layout .tc-group:is(:active,.is-pressed) .tc-band {
  translate:0 5px;
  box-shadow:none;
}
#tc-finder-layout .tc-group-name { margin-top:10px; }
@media(prefers-reduced-motion:reduce) {
  #tc-finder-layout .tc-group .tc-band { transition:none; }
}

@media (hover:hover) and (pointer:fine) {
  #tc-finder-layout .tc-group:hover:not(:active):not(.is-pressed) .tc-band {
    translate:0 -4px;
    box-shadow:none;
    outline:none;
  }
}

#tc-finder-layout .tc-lookbooks a {
  background:#f4f1ec;
  border-radius:10px;
  box-shadow:none;
  transition:translate .15s ease-out;
}
#tc-finder-layout .tc-lookbooks span { font-weight:700; text-decoration:none; text-wrap:balance; }
#tc-finder-layout .tc-lookbooks small { display:block; font:500 14px/1.35 var(--sans); margin-top:8px; }
@media(hover:hover) and (pointer:fine) {
  #tc-finder-layout .tc-lookbooks a:hover { translate:0 -4px; box-shadow:none; }
}
#tc-finder-layout .tc-lookbooks a:active { translate:0 5px; box-shadow:none; }
@media(prefers-reduced-motion:reduce) {
  #tc-finder-layout .tc-lookbooks a:is(:hover,:active) { translate:none; transition:none; }
}

/* Collection pages */
body.tc-page .tc-main:has(.tc-edition){width:min(1120px,calc(100% - 64px));max-width:none}
.tc-edition{--sans:"Tollens Montserrat",Montserrat,Arial,sans-serif;font:400 16px/1.5 var(--sans);color:#1a264a}
body.tc-page #turinys .tc-edition :is(h1,h2,h3){font-family:var(--serif);font-weight:400;text-align:left}
body.tc-page #turinys .tc-edition h2{font-size:clamp(24px,2.6vw,32px);line-height:1.15;margin:0 0 14px}
.tc-edition .edition-hero{display:grid;grid-template-columns:1fr 1.15fr;background:#efebe3;align-items:stretch;overflow:hidden;border-radius:4px}
.edition-hero>div{padding:clamp(22px,3vw,40px);align-self:center}
body.tc-page #turinys .edition-hero h1{font-size:clamp(33px,4vw,49px);line-height:1.08;letter-spacing:-.03em;margin:12px 0}
.edition-hero p{margin:8px 0;color:#40454c}
.edition-hero figure{min-height:228px;position:relative;margin:0}
.edition-hero figure img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.edition-hero figcaption{position:absolute;bottom:12px;left:12px;right:auto;max-width:90%;background:#fffefbf2;padding:5px 10px;font-size:13px}
.edition-browser,.edition-directions,.edition-compare{margin:26px 0}
.edition-family{border-top:1px solid #d3cec5;padding:15px 0}
.tc-edition .tc-grid{display:grid;gap:15px;grid-template-columns:repeat(4,minmax(0,1fr))}
.tc-edition .tc-color{width:100%;text-align:left}
.tc-edition .tc-color .tc-original{font:400 20px/1.17 var(--serif)}
.tc-edition .tc-chip{border:1px solid #0000000b;height:76px}
[data-edition="top-10-baltu"] .edition-family{display:grid;grid-template-columns:140px 1fr;align-items:center;gap:16px}
body.tc-page #turinys [data-edition="top-10-baltu"] .edition-family h2{font-size:23px}
[data-edition="top-10-baltu"] .tc-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
[data-edition="top-10-baltu"] .edition-family .tc-chip{height:52px}
.edition-compare{display:grid;grid-template-columns:.95fr 1fr 1fr;gap:18px;padding:22px;background:white;border:1px solid #dedad3}
.pair-choice{min-width:0}.pair-choice label,.pair-choice small{display:block;font-size:14px}
.pair-choice select{display:block;width:100%;min-height:38px;background:white;color:#1a264a;border:1px solid #a5a5a5;border-radius:4px;font:inherit;padding:4px;margin:5px 0}
.pair-chip{height:86px;margin:8px 0;border:1px solid #0000000b}
[data-edition="terakota"] .edition-hero figure{grid-column:1;grid-row:1}
[data-edition="terakota"] .edition-hero>div{grid-column:2}
.edition-directions>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.edition-directions article{background:white;border:1px solid #dedbd4;padding:16px}
.edition-directions h3{font-size:23px;margin:12px 0 4px}.edition-directions p{margin:8px 0 0}
.edition-mix,.edition-stripe{display:flex;overflow:hidden;border-radius:3px}
.edition-mix button{height:62px;flex:3;border:0}.edition-mix button:first-child{flex:6}.edition-mix button:last-child{flex:1}
.edition-legend>div{display:grid;grid-template-columns:1fr 1fr auto;gap:6px;font-size:14px}
.edition-legend{margin:12px 0}
.edition-nav{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}
.edition-nav a{display:flex;align-items:center;gap:9px;padding:8px 10px;color:#1a264a;text-decoration:none;font-size:15px;border-radius:4px}
.edition-nav a[aria-current]{background:#e9e5dc;font-weight:650}
[data-edition="populiariausios"] .edition-browser{display:grid;grid-template-columns:220px minmax(0,1fr);gap:32px}
[data-edition="populiariausios"] .edition-nav{display:block}
.edition-stripe{width:36px;height:20px;flex-shrink:0}.edition-stripe i{flex:1}
.edition-copy{margin-top:5px;padding:5px 9px;background:#eeece7;color:#1a264a;border-radius:5px;font:500 14px var(--sans)}
@media(max-width:760px){
body.tc-page .tc-main:has(.tc-edition){width:calc(100% - 28px)}
.tc-edition .edition-hero,.edition-directions>div,[data-edition="populiariausios"] .edition-browser,[data-edition="top-10-baltu"] .edition-family{display:block}
.edition-hero figure{height:195px;min-height:0}.edition-hero>div{padding:20px}
.tc-edition .edition-family .tc-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.edition-compare{grid-template-columns:repeat(2,minmax(0,1fr));padding:14px;gap:12px}.edition-compare>div:first-child{grid-column:1/-1}
.edition-directions article+article{margin-top:10px}
[data-edition="populiariausios"] .edition-nav{display:flex}
[data-edition="populiariausios"] .edition-nav h2{width:100%}
}

#tc-finder-layout.family-view #tc-controls {
  display:flex;align-items:baseline;justify-content:flex-start;flex-wrap:wrap;gap:6px 16px;
  border-bottom:1px solid #c8c5bd;padding-bottom:15px;margin-bottom:18px;
}
#family-title small {font:500 14px/1.4 var(--sans)}
body.tc-page #turinys #family-title h2 {font:400 clamp(29px,3vw,36px)/1.15 var(--serif);margin:6px 0 0;color:#1a264a}
.tc-family-summary {display:contents}
#tc-families .tc-palettes button[data-tc-palette="Tollens TOTEM"],
#tc-finder-layout.family-view #tc-back {
  box-sizing:border-box;width:8.5em;padding-inline:8px;white-space:nowrap;font-size:1rem;line-height:1.3;text-align:center;
}
#tc-finder-layout.family-view #tc-back {margin-left:0;align-self:baseline;justify-self:start}
@media(min-width:701px){
  .family-view #tc-families {display:grid;grid-template-columns:max-content max-content minmax(0,1fr);column-gap:6px}
  .family-view #tc-families > * {grid-column:1/-1}
  #tc-finder-layout.family-view :is(.tc-palettes,#tc-controls) {display:grid;grid-template-columns:subgrid;column-gap:6px}
  .family-view .tc-palettes button {justify-self:start}
  .family-view .tc-family-summary {grid-column:span 2;display:flex;align-items:last baseline;justify-content:space-between;gap:8px;min-width:0;padding-right:4px}
  #tc-finder-layout.family-view #tc-controls {align-items:last baseline}
  #tc-finder-layout.family-view #tc-back {align-self:last baseline}
}
#tc-finder-layout.family-view #tc-count {margin:0;font-size:14px;white-space:nowrap}
#tc-finder-layout.family-view #tc-results {grid-template-columns:repeat(6,minmax(0,1fr));gap:22px 12px}
.family-view .edition-item {display:flex;flex-direction:column;align-items:flex-start;min-width:0}
.family-view .edition-item .tc-color {width:100%}
#tc-finder-layout.family-view .tc-chip {height:102px;border:1px solid #00000017;border-radius:6px;transition:translate .15s,box-shadow .15s}
#tc-finder-layout.family-view .tc-original {font-size:20px;line-height:1.15}
#tc-finder-layout.family-view .tc-translation {font-size:14px}
#tc-finder-layout.family-view .edition-copy {margin-top:auto;padding:7px 0 2px;min-height:30px;background:transparent;color:#1a264a;font:500 13px var(--sans);display:inline-block}
@media(max-width:1050px){#tc-finder-layout.family-view #tc-results {grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){
 #tc-finder-layout.family-view #tc-results {grid-template-columns:repeat(2,minmax(0,1fr))}
 .family-view #family-title {width:100%}
 #tc-finder-layout.family-view #tc-count {align-self:baseline}
}
@media(prefers-reduced-motion:reduce){#tc-finder-layout.family-view .tc-chip{transition:none}}

@media(hover:hover) and (pointer:fine) {
 #tc-finder-layout.family-view .tc-color:hover .tc-chip {translate:0 -3px;box-shadow:0 4px 5px #15254023}
}
body #tc-finder-layout.family-view .tc-color:active:not(:disabled) {translate:none;box-shadow:none}
#tc-finder-layout.family-view .tc-color:active .tc-chip {translate:0 4px;box-shadow:inset 0 2px 3px #15254020}

/* Shared interaction states for buttons, card links, swatches and disclosure controls. */
@media (hover:hover) and (pointer:fine) {
  body :is(main,header,footer,dialog,.wp-block-buttons) :is(.button,.wp-block-button__link,.wp-element-button,.project-trigger,.tc-feature-copy a,.tc-download-action,.tollens-palette__save,.tollens-palette__view,input[type=submit],.tc-pager button,#tc-back,button.text-link,.project-remove):hover:not(:active):not(:disabled) {
    translate:0 -1px; box-shadow:0 4px 8px #19274630;
  }
  :is(button.text-link):hover {
    outline:1px solid #63738c; outline-offset:1px;
  }
}
body :where(main,header,footer,dialog) :is(a.text-link,.professional-secondary,summary,.tc-lookbooks a,.edition-nav a,[role=button]):active {translate:0 3px}
body :is(main,header,dialog) :is(.surface-tabs button,.family-filters button,.tc-view-switch button):is([aria-selected=false],[aria-pressed=false]) {
  background:#fffdfa; color:#1a264a!important; border:1px solid #afb7c4; box-shadow:none;
}
body :is(main,header,dialog) :is(.surface-tabs button,.family-filters button,.tc-view-switch button):is([aria-selected=true],[aria-pressed=true]) {
  background:linear-gradient(#283c63,#192947); color:white!important; border:1px solid #243454;
}
body :where(main,header,footer,dialog) :is(button,a,input[type=submit],summary,[role=button]):focus-visible {
  outline:2px solid #5278a7; outline-offset:3px;
}
@media(prefers-reduced-motion:reduce) {
  body :is(main,header,footer,dialog,.wp-block-buttons) :is(button,a,summary,input[type=submit],[role=button]):is(:hover,:active) {
    translate:none!important; transition:none!important;
  }
}
body :is(.button-dark,.button-light,.statement-swatch):is(:hover,:active),
body .color-chip:hover .chip-fill,body .palette-card:hover .palette-swatch {
  transform:none;
}
body :is(.color-chip:hover .chip-fill,.statement-swatch:hover) {box-shadow:none}
#tc-finder-layout .tc-grid button:hover :is(.tc-band,.tc-chip){outline:none}
@media(hover:hover) and (pointer:fine){
  .tc-pager button:hover {outline:1px solid #63738c;outline-offset:1px}
}

#tc-finder-layout :is(.tc-lookbooks a,.tc-group,.tc-color):hover:not(:focus-visible){outline:none}
#tc-finder-layout .tc-filter-option:active{translate:none}
@media(prefers-reduced-motion:reduce){#tc-finder-layout :is(.tc-group .tc-band,.tc-color .tc-chip,.tc-filter-option){translate:none!important;transform:none!important}}

/* Subtle pointer feedback on secondary controls and samples outside the family grid. */
:where(.palette-card,#tc-wood-pair a,.edition-nav a,.color-chip,.statement-swatch,.edition-mix button,.project-color-swatch,.edition-copy,.icon-button,summary,a.text-link,.professional-secondary,.tc-color) {
  transition:translate .14s ease-out,box-shadow .14s ease-out;
}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
  :where(.palette-card,#tc-wood-pair a,.edition-nav a,.color-chip,.statement-swatch,.edition-mix button,.project-color-swatch,.edition-copy,.icon-button,summary,a.text-link,.professional-secondary,.tc-color):not(.button):hover:not(:active){translate:0 -1px}
  #tc-finder-layout.family-view .tc-color:hover{translate:none}
}
body :where(main,header,footer,dialog) :is(.palette-card,#tc-wood-pair a):active{translate:0 3px}
@media(max-width:700px){
  #tc-finder-layout.family-view #tc-controls{display:grid;grid-template-columns:max-content minmax(0,1fr);align-items:baseline}
  .family-view #family-title{grid-column:1/-1}
}

.tc-tint-card{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:12px 0 14px;padding:11px 18px;background:#fffdf8;border:1px solid #dbd5c9;border-inline-start:3px solid #263858;border-radius:6px}
body.tc-page #turinys .tc-tint-card h2{margin:0;text-align:left;font:400 clamp(22px,2.3vw,28px)/1.15 var(--serif)}
.tc-tint-card p{margin:4px 0 0;font-size:15px;line-height:1.45}
.tc-tint-card .button{flex:none}
.tc-tint-dialog{width:min(550px,calc(100vw - 24px));padding:clamp(16px,3vw,25px);color:#1a264a;background:#fffdf9;border-radius:10px}
.tc-tint-dialog .dialog-top{align-items:center;margin-bottom:12px}
.tc-tint-dialog .dialog-top h2{font:400 28px/1.15 var(--serif);margin:0}
#tc-tint-form label{display:grid;gap:3px;margin:0 0 8px;font:550 14px/1.3 var(--sans)}
#tc-tint-form :is(input:not([hidden]),textarea){box-sizing:border-box;min-width:0;width:100%;border:1px solid #abaeb5;background:white;color:#1a264a;border-radius:5px;padding:7px 9px;font:400 16px/1.3 var(--sans)}
#tc-tint-form textarea{resize:vertical}
.tc-tint-contacts{display:grid;grid-template-columns:1fr 1fr;gap:0 10px}
.tc-tint-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px}
.tc-tint-actions span,.tc-tint-help{font-size:13px}.tc-tint-help{margin:4px 0 10px}
#tc-tint-status:empty{display:none}#tc-tint-status{margin:10px 0 0}
body.tc-page #turinys #tc-finder-layout .tc-designer-link,#tc-finder-layout .tc-palettes button{box-sizing:border-box;min-height:38px;height:38px;line-height:1.15;padding-block:4px}
#tc-finder-layout .tc-designer-link{display:flex;align-items:center;justify-content:center;text-align:center;width:100%;margin:0 0 16px;font-size:clamp(12px,1.3vw,15px)}
@media(min-width:761px){
 .tc-finder-tools{margin:0}
 #tc-finder-layout:not(.tc-results-only) #tc-families>.tc-designer-link{display:none}
 #tc-finder-layout.tc-results-only #tc-families>.tc-designer-link{max-width:365px}
}
@media(max-width:760px){
 .tc-tint-card{display:block;padding:11px 12px}.tc-tint-card .button{margin-top:8px}
}
@media(max-width:450px){.tc-tint-contacts{grid-template-columns:1fr}}

/* Phone navigation: section switch, palette choices, then the designer download. */
@media(max-width:760px){
  .tc-tint-card .button,.tc-tint-actions .button{width:100%;justify-content:center}
  .tc-tint-actions{display:grid;gap:5px;text-align:center}
  .tc-finder-tools{margin:16px 0 10px}
  .tc-view-switch{gap:6px}
  body.tc-page #turinys .tc-view-switch .button{min-width:0;min-height:42px;padding-inline:5px;text-align:center}
  .family-view #tc-families{display:block}
  #tc-finder-layout .tc-palettes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin:0 0 7px}
  body.tc-page #turinys #tc-finder-layout :is(.tc-palettes button,.tc-designer-link){
    width:100%;min-width:0;min-height:44px;height:auto;white-space:normal;padding:5px 4px;
    font-size:clamp(12px,3.3vw,14px);line-height:1.22;text-align:center
  }
  #tc-finder-layout .tc-palettes button{align-self:stretch;text-wrap:balance}
  #tc-finder-layout .tc-designer-link{margin:0 0 16px}
  #tc-finder-layout.family-view #tc-controls{display:grid;grid-template-columns:max-content minmax(0,1fr);align-items:baseline;gap:8px 12px}
  .family-view .tc-family-summary{display:contents}
  .family-view #family-title{grid-column:1/-1}
  #tc-finder-layout.family-view #tc-count{margin:0}
  #tc-lights{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  #tc-filters .tc-filter-option{min-height:38px}
}

.tc-tint-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 18px}
.tc-tint-card [data-open=tint]{grid-column:2;grid-row:1;justify-self:end}
.tc-tint-card p{grid-column:1/-1;margin:0}
.tc-tint-more{display:none}
.tc-shade{min-width:0;margin:0 0 8px;padding:10px;border:1px solid #d8d5cf;border-radius:7px}
.tc-shade legend{font-weight:600}
.tc-shade-options{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:10px}
#tc-tint-form .tc-shade-options label{display:inline-flex;align-items:center;gap:5px;margin:0;padding:5px 9px;border:1px solid #c7c9cf;border-radius:6px;cursor:pointer}
#tc-tint-form .tc-shade-options label:has(:checked){background:#203356;color:white}
#tc-tint-form .tc-shade-options input{width:auto;min-height:0;margin:0}
#tc-tint-form [hidden]{display:none}
.tc-tint-more,#tc-add-shade,[data-remove-shade]{background:transparent;color:#203356;border:0;padding:5px 0;text-decoration:underline;cursor:pointer}
@media(max-width:740px){
 .tc-tint-card{display:block}
 .tc-tint-card p{margin-top:5px}
 .tc-tint-card:has(.tc-tint-more[aria-expanded=false]) p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
 .tc-tint-more{display:block;font:600 14px/1.5 var(--sans,sans-serif)}
}

/* Keep the bedroom headline on its two editorial lines. */
body.home.tollens-canvas #turinys .tollens-hero__slide:nth-child(3) .tollens-hero__headline {
  white-space: nowrap;
  width: max-content;
  max-width: 100vw;
}
@media (min-width: 769px) {
  body.home.tollens-canvas #turinys .tollens-hero__slide:nth-child(3) .tollens-hero__headline {
    font-size: clamp(28px, 3.2vw, 49px);
  }
}
