:root {
  --ths-sp-ink: #2f2926;
  --ths-sp-muted: #6f655f;
  --ths-sp-line: #e8dfd8;
  --ths-sp-soft: #fbf7f3;
  --ths-sp-accent: #8f5d48;
  --ths-sp-accent-dark: #6f4130;
  --ths-sp-good: #276749;
  --ths-sp-error: #a13f34;
}

/* Formula role labels must not inherit legacy Outfit Day role typography. */
body.single-outfit_day .ths-theme-palette.ths-theme-palette--formula p.ths-theme-palette__role,
body.single-outfit_day .ths-theme-palette.ths-theme-palette--formula span.ths-theme-palette__role {
	font-family: Inter, sans-serif !important;
	font-size: 10px !important;
	line-height: 1.2 !important;
	max-width: none !important;
	width: auto !important;
}

body.single-outfit_day .ths-theme-palette.ths-theme-palette--formula p.ths-theme-palette__role--main {
	color: var(--ths-panel-ink) !important;
	width: 100% !important;
}

body.single-outfit_day .ths-theme-palette.ths-theme-palette--formula span.ths-theme-palette__role--supporting {
	color: #ffffff !important;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.52);
}

body.single-outfit_day .ths-theme-palette.ths-theme-palette--formula span.ths-theme-palette__role--outerwear {
	color: var(--ths-outerwear-ink) !important;
}

body.single-outfit_day .ths-theme-palette.ths-theme-palette--formula span.ths-theme-palette__role--accents {
	color: var(--ths-accents-ink) !important;
}

@media (max-width: 767px) {
	body.single-outfit_day .ths-theme-palette.ths-theme-palette--formula .ths-theme-palette__role {
		font-size: 7px !important;
	}
}

/* Match the established Summer Shopping Links filter panel on the Fall page. */
body.page-id-7931 #ths-capsule-filters {
	align-items: center;
	background: rgba(255, 255, 255, 0.94);
	border: 1px solid rgba(214, 202, 193, 0.78);
	border-radius: 7px;
	box-sizing: border-box;
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(3, minmax(0, 1fr)) auto auto;
	padding: 18px 22px;
}

body.page-id-7931 #ths-capsule-filters .ths-capsule__filter-field {
	min-width: 0;
}

body.page-id-7931 #ths-capsule-filters select {
	background: #fff;
	border: 1px solid rgba(214, 202, 193, 0.95);
	border-radius: 5px;
	box-sizing: border-box;
	height: 48px;
	padding: 0 40px 0 14px;
	width: 100%;
}

body.page-id-7931 #ths-capsule-filters .ths-capsule__go {
	align-self: end;
	background: #6f9fb1;
	border: 1px solid #6f9fb1;
	border-radius: 5px;
	color: #fff;
	cursor: pointer;
	font-size: 13px;
	font-weight: 800;
	height: 48px;
	padding: 0 18px;
}

body.page-id-7931 #ths-capsule-filters .ths-capsule__reset {
	align-self: end;
	color: #805864;
	font-size: 13px;
	font-weight: 700;
	padding: 16px 0;
	text-decoration: underline;
}

@media (max-width: 767px) {
	body.page-id-7931 #ths-capsule-filters {
		grid-template-columns: 1fr;
		padding: 16px;
	}

	body.page-id-7931 #ths-capsule-filters .ths-capsule__go,
	body.page-id-7931 #ths-capsule-filters .ths-capsule__reset {
		width: 100%;
	}

	body.page-id-7931 #ths-capsule-filters .ths-capsule__reset {
		padding: 4px 0;
		text-align: center;
	}
}

/* Formula-first theme palettes for new Outfit Day posts. */
.ths-theme-palette--formula {
  width: 100%;
  min-width: 0;
  margin: 24px 0;
}

.ths-theme-palette--formula .ths-theme-palette__inner {
  width: 100%;
  max-width: 680px;
  min-width: 0;
  margin: 0 auto;
}

.ths-theme-palette--formula .ths-theme-palette__title {
  color: #2f2926;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 3vw, 38px);
  letter-spacing: 0;
  line-height: 1.1;
	margin: 0;
  text-transform: none;
}

.ths-theme-palette--formula .ths-theme-palette__header {
	border-bottom: 1px solid #2f2926;
	margin-bottom: 18px;
	padding-bottom: 14px;
	text-align: center;
}

.ths-theme-palette--formula .ths-theme-palette__formula {
	color: #2f2926;
	font-size: clamp(13px, 1.4vw, 16px);
	letter-spacing: 0.02em;
	line-height: 1.4;
	margin: 8px 0 0;
}

.ths-theme-palette--formula .ths-theme-palette__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.ths-theme-palette--formula .ths-theme-palette__season {
	background: var(--ths-main);
	border: 1px solid rgba(47, 41, 38, 0.28);
	box-sizing: border-box;
	min-height: 238px;
	min-width: 0;
	overflow: hidden;
	padding: 13px 12px 16px;
	position: relative;
}

/* The Outfit Day template's legacy card rule is loaded later in this file. */
body.single-outfit_day.elementor-page-747 .ths-theme-palette--formula .ths-theme-palette__season {
	background: var(--ths-main) !important;
}

.ths-theme-palette--formula .ths-theme-palette__season h3 {
	color: var(--ths-panel-ink);
	font-family: Inter, sans-serif;
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.15;
	margin: 0;
  text-align: center;
  text-transform: uppercase;
}

.ths-theme-palette--formula .ths-theme-palette__diagram {
	height: 194px;
	margin: 2px auto 0;
	max-width: 260px;
	position: relative;
}

.ths-theme-palette--formula .ths-theme-palette__role {
	font-family: Inter, sans-serif;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: .06em;
	line-height: 1.2;
	margin: 0;
	text-transform: uppercase;
}

.ths-theme-palette--formula .ths-theme-palette__role--main {
	color: var(--ths-panel-ink);
	margin-top: 4px;
	text-align: center;
}

.ths-theme-palette--formula .ths-theme-palette__diagram .ths-theme-palette__role {
	position: absolute;
	z-index: 4;
}

.ths-theme-palette--formula .ths-theme-palette__role--supporting {
	color: #ffffff;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.52);
	left: 0;
	top: 151px;
}

.ths-theme-palette--formula .ths-theme-palette__role--outerwear {
	color: var(--ths-outerwear-ink);
	right: 0;
	top: 169px;
}

.ths-theme-palette--formula .ths-theme-palette__role--accents {
	color: var(--ths-accents-ink);
	left: 2px;
	top: 24px;
}

.ths-theme-palette--formula .ths-theme-palette__season-formula {
	color: var(--ths-panel-ink);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .015em;
	line-height: 1.35;
	margin: 4px auto 0;
	max-width: 250px;
	text-align: center;
	text-shadow: 0 1px 2px rgba(0, 0, 0, .38);
}

.ths-theme-palette--formula .ths-theme-palette__circle {
	border: 1px solid rgba(47, 41, 38, 0.32);
	border-radius: 50%;
	box-shadow: 0 6px 16px rgba(47, 41, 38, 0.14);
	display: block;
	position: absolute;
}

.ths-theme-palette--formula .ths-theme-palette__circle--supporting {
	background: var(--ths-supporting);
	height: 130px;
	left: 50%;
	top: 19px;
	transform: translateX(-50%);
	width: 130px;
	z-index: 1;
}

.ths-theme-palette--formula .ths-theme-palette__circle--outerwear {
	background: var(--ths-outerwear);
	height: 74px;
	right: 22px;
	top: 91px;
	width: 74px;
	z-index: 2;
}

.ths-theme-palette--formula .ths-theme-palette__circle--accents {
	background: var(--ths-accents);
	height: 48px;
	left: 58px;
	top: 7px;
	width: 48px;
	z-index: 3;
}

/* Material names use the supplied swatch artwork rather than an invented flat hex fill. */
.ths-theme-palette--formula .ths-theme-palette__circle.ths-theme-palette__texture {
	background-image: url('../images/material-swatches.png');
	background-repeat: no-repeat;
	background-size: 559% auto;
}

.ths-theme-palette--formula .ths-theme-palette__texture--dark-grey-plaid { background-position: 2% 8%; }
.ths-theme-palette--formula .ths-theme-palette__texture--metallic-gold { background-position: 26% 8%; }
.ths-theme-palette--formula .ths-theme-palette__texture--metallic-silver { background-position: 50% 8%; }
.ths-theme-palette--formula .ths-theme-palette__texture--metallic-pewter { background-position: 73% 8%; }
.ths-theme-palette--formula .ths-theme-palette__texture--metallic-bronze { background-position: 97% 8%; }
.ths-theme-palette--formula .ths-theme-palette__texture--light-wash-denim { background-position: 2% 70%; }
.ths-theme-palette--formula .ths-theme-palette__texture--medium-wash-denim { background-position: 26% 70%; }
.ths-theme-palette--formula .ths-theme-palette__texture--dark-wash-denim { background-position: 50% 70%; }
.ths-theme-palette--formula .ths-theme-palette__texture--white-black-stripes { background-position: 73% 70%; }
.ths-theme-palette--formula .ths-theme-palette__texture--medium-brown-plaid { background-position: 97% 70%; }

@media (max-width: 767px) {
  .ths-theme-palette--formula {
    margin: 18px 0;
  }

	.ths-theme-palette--formula .ths-theme-palette__title {
		font-size: 28px;
	}

	.ths-theme-palette--formula .ths-theme-palette__header {
		margin-bottom: 10px;
		padding-bottom: 10px;
  }

  .ths-theme-palette--formula .ths-theme-palette__grid {
    gap: 8px;
  }

	.ths-theme-palette--formula .ths-theme-palette__season {
		min-height: 194px;
		padding: 9px 6px;
  }

  .ths-theme-palette--formula .ths-theme-palette__season h3 {
    font-size: 17px;
  }

	.ths-theme-palette--formula .ths-theme-palette__diagram {
		height: 132px;
		margin-top: 5px;
	}

	.ths-theme-palette--formula .ths-theme-palette__circle--supporting {
		height: 86px;
		top: 13px;
		width: 86px;
	}

	.ths-theme-palette--formula .ths-theme-palette__circle--outerwear {
		height: 50px;
		right: 8px;
		top: 59px;
		width: 50px;
	}

	.ths-theme-palette--formula .ths-theme-palette__circle--accents {
		height: 32px;
		left: 42px;
		top: 5px;
		width: 32px;
	}

	.ths-theme-palette--formula .ths-theme-palette__role {
		font-size: 7px;
		letter-spacing: .04em;
	}

	.ths-theme-palette--formula .ths-theme-palette__role--main {
		margin-top: 2px;
	}

	.ths-theme-palette--formula .ths-theme-palette__role--supporting {
		left: 0;
		top: 96px;
	}

	.ths-theme-palette--formula .ths-theme-palette__role--outerwear {
		right: 0;
		top: 112px;
	}

	.ths-theme-palette--formula .ths-theme-palette__role--accents {
		left: 0;
		top: 13px;
	}

	.ths-theme-palette--formula .ths-theme-palette__season-formula {
		font-size: 9px;
		line-height: 1.3;
		margin-top: 2px;
	}
}

.ths-style-preview-button,
.ths-style-preview-generate,
.ths-style-preview-download,
.ths-style-preview-regenerate,
.ths-style-preview-history-item button {
  appearance: none;
  border: 1px solid var(--ths-sp-accent);
  border-radius: 4px;
  background: var(--ths-sp-accent);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  font: inherit;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
}

.ths-style-preview-button:hover,
.ths-style-preview-generate:hover,
.ths-style-preview-download:hover,
.ths-style-preview-regenerate:hover,
.ths-style-preview-history-item button:hover {
  background: var(--ths-sp-accent-dark);
  border-color: var(--ths-sp-accent-dark);
  color: #fff;
}

.ths-style-preview-regenerate,
.ths-style-preview-history-item button {
  background: #fff;
  color: var(--ths-sp-accent-dark);
}

.ths-style-preview-is-open {
  overflow: hidden;
}

.ths-style-preview-modal[hidden] {
  display: none;
}

.ths-style-preview-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
}

.ths-style-preview-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(47, 41, 38, 0.62);
}

.ths-style-preview-dialog {
  background: #fff;
  color: var(--ths-sp-ink);
  left: 50%;
  max-height: min(90vh, 920px);
  max-width: 960px;
  overflow: auto;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(calc(100vw - 32px), 960px);
  box-shadow: 0 24px 80px rgba(47, 41, 38, 0.28);
}

.ths-style-preview-close {
  background: #fff;
  border: 1px solid var(--ths-sp-line);
  border-radius: 50%;
  color: var(--ths-sp-ink);
  cursor: pointer;
  font-size: 24px;
  height: 40px;
  line-height: 1;
  position: absolute;
  right: 16px;
  top: 16px;
  width: 40px;
  z-index: 3;
}

.ths-style-preview-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 1fr);
  min-height: 560px;
}

.ths-style-preview-reference {
  background: var(--ths-sp-soft);
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0;
  min-width: 0;
  padding: 28px;
}

.ths-style-preview-reference img {
  aspect-ratio: 4 / 5;
  background: #fff;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.ths-style-preview-reference h3,
.ths-style-preview-panel h2,
.ths-style-preview-history h2,
.ths-style-preview-history-item h3 {
  color: var(--ths-sp-ink);
  letter-spacing: 0;
  margin: 14px 0 0;
}

.ths-style-preview-panel {
  padding: 56px 34px 34px;
}

.ths-style-preview-panel h2 {
  font-size: 28px;
  margin-top: 0;
}

.ths-style-preview-help,
.ths-style-preview-disclaimer,
.ths-style-preview-history-head p,
.ths-style-preview-history-item p,
.ths-style-preview-empty {
  color: var(--ths-sp-muted);
}

.ths-style-preview-upload,
.ths-style-preview-consent {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.ths-style-preview-upload span {
  font-weight: 700;
}

.ths-style-preview-upload input[type="file"] {
  border: 1px solid var(--ths-sp-line);
  border-radius: 4px;
  padding: 12px;
  width: 100%;
}

.ths-style-preview-consent {
  align-items: start;
  grid-template-columns: 20px 1fr;
}

.ths-style-preview-consent input {
  margin-top: 4px;
}

.ths-style-preview-disclaimer {
  border-top: 1px solid var(--ths-sp-line);
  font-size: 14px;
  margin: 18px 0;
  padding-top: 14px;
}

.ths-style-preview-generate {
  width: 100%;
}

.ths-style-preview-generate:disabled {
  cursor: progress;
  opacity: 0.7;
}

.ths-style-preview-status {
  font-weight: 600;
  margin-top: 16px;
  min-height: 24px;
}

.ths-style-preview-status[data-type="error"] {
  color: var(--ths-sp-error);
}

.ths-style-preview-status[data-type="success"] {
  color: var(--ths-sp-good);
}

.ths-style-preview-result {
  margin-top: 18px;
}

.ths-style-preview-result img {
  background: var(--ths-sp-soft);
  display: block;
  max-height: 520px;
  object-fit: contain;
  width: 100%;
}

.ths-style-preview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.ths-style-preview-history {
  color: var(--ths-sp-ink);
}

.ths-style-preview-history-head {
  align-items: end;
  border-bottom: 1px solid var(--ths-sp-line);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 12px;
}

.ths-style-preview-history-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.ths-style-preview-history-item {
  border: 1px solid var(--ths-sp-line);
  border-radius: 6px;
  overflow: hidden;
}

.ths-style-preview-history-item img {
  aspect-ratio: 4 / 5;
  display: block;
  object-fit: cover;
  width: 100%;
}

.ths-style-preview-history-item div {
  padding: 14px;
}

.ths-style-preview-history-item h3 {
  font-size: 16px;
  margin-top: 0;
}

.ths-style-preview-history-item a,
.ths-style-preview-history-item button {
  margin-top: 8px;
  min-height: 36px;
  padding: 0 12px;
}

.ths-style-preview-blocked {
  background: var(--ths-sp-soft);
  border: 1px solid var(--ths-sp-line);
  color: var(--ths-sp-ink);
  padding: 16px;
}

.ths-theme-palette {
  box-sizing: border-box;
  container-type: inline-size;
  color: var(--ths-sp-ink);
  margin: 32px 0;
  max-width: 960px;
  width: 100%;
}

.ths-theme-palette *,
.ths-theme-palette *::before,
.ths-theme-palette *::after {
  box-sizing: border-box;
}

.ths-theme-palette__inner {
  background: #fff;
  border: 1px solid #ddd1ca;
  border-radius: 8px;
  box-shadow: 0 20px 48px rgba(47, 41, 38, 0.08);
  padding: clamp(18px, 3vw, 34px);
}

.ths-theme-palette h2 {
  color: var(--ths-sp-ink);
  font-size: clamp(30px, 3.4vw, 48px);
  letter-spacing: 0;
  line-height: 1.08;
  margin: 0 0 20px;
}

.ths-theme-palette__formula,
.ths-theme-palette__accents {
  color: var(--ths-sp-muted);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.35;
  margin: 0 0 8px;
}

.ths-theme-palette__accents {
  margin-bottom: 22px;
}

.ths-theme-palette__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.ths-theme-palette__season {
  background: #fffdfb;
  border: 1px solid #e8ded8;
  color: var(--ths-sp-ink);
  min-height: 420px;
  overflow: hidden;
  padding: clamp(18px, 2vw, 30px);
  position: relative;
  text-align: center;
}

.ths-theme-palette__season::before,
.ths-theme-palette__season::after {
  content: none;
  display: none;
}

.ths-theme-palette__season::before {
  left: auto;
}

.ths-theme-palette__season::after {
  right: auto;
}

.ths-theme-palette__season h3 {
  color: var(--ths-sp-ink);
  font-size: clamp(26px, 2.7vw, 44px);
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1;
  margin: 18px 0 12px;
  text-align: center;
  text-transform: uppercase;
}

.ths-theme-palette__season h3::before,
.ths-theme-palette__season h3::after {
  content: none;
  display: none;
}

.ths-theme-palette__season-note {
  border-bottom: 0;
  color: #8d7473 !important;
  display: inline-block;
  font-size: clamp(11px, 1vw, 14px);
  font-weight: 700;
  letter-spacing: 0.28em;
  line-height: 1.4;
  margin: 0 auto 22px !important;
  padding: 0;
  text-transform: uppercase;
}

.ths-theme-palette__swatches {
  align-items: start;
  display: block;
  margin: 0 auto;
  max-width: 360px;
}

.ths-theme-palette__swatch-svg {
  display: block;
  height: auto;
  margin: 0 auto;
  max-width: 270px;
  overflow: visible;
  width: 100%;
}

.ths-theme-palette__swatch-svg text {
  fill: var(--ths-sp-ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ths-theme-palette__swatch-svg .ths-theme-palette__svg-role {
  fill: #8a7871;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 10px;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: lowercase;
}

.ths-theme-palette__swatch {
  align-items: center;
  color: var(--ths-sp-ink);
  display: grid;
  gap: 7px;
  justify-items: center;
  min-width: 0;
}

.ths-theme-palette__disc {
  background: var(--ths-palette-color);
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #d8cfca, 0 10px 24px rgba(47, 41, 38, 0.13);
  display: block;
}

.ths-theme-palette__swatch strong,
.ths-theme-palette__combo strong {
  color: var(--ths-sp-ink);
  display: block;
  font-size: clamp(10px, 0.9vw, 13px);
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

.ths-theme-palette__swatch em,
.ths-theme-palette__combo em {
  color: #8a7871;
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(10px, 0.85vw, 12px);
  font-style: italic;
  letter-spacing: 0;
  line-height: 1.2;
}

.ths-theme-palette__swatch--primary .ths-theme-palette__disc,
.ths-theme-palette__swatch--secondary .ths-theme-palette__disc {
  height: clamp(84px, 9vw, 122px);
  width: clamp(84px, 9vw, 122px);
}

.ths-theme-palette__swatch--accent {
  padding-top: clamp(10px, 2vw, 24px);
}

.ths-theme-palette__swatch--accent .ths-theme-palette__disc {
  height: clamp(56px, 6vw, 76px);
  width: clamp(56px, 6vw, 76px);
}

.ths-theme-palette__combos {
  border-top: 1px solid #e8ded8;
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 28px auto 0;
  max-width: 310px;
  padding-top: 22px;
}

.ths-theme-palette__combo {
  display: grid;
  gap: 7px;
  justify-items: center;
  min-width: 0;
}

.ths-theme-palette__combo span {
  background: linear-gradient(90deg, var(--ths-combo-a) 0 50%, var(--ths-combo-b) 50% 100%);
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #d8cfca, 0 8px 18px rgba(47, 41, 38, 0.12);
  display: block;
  height: clamp(58px, 6vw, 78px);
  width: clamp(58px, 6vw, 78px);
}

body.single-outfit_day.elementor-page-747 .elementor-element-12823f9 {
  align-items: flex-start !important;
  flex-basis: auto !important;
  justify-content: center !important;
  max-width: 100% !important;
  width: 100% !important;
}

body.single-outfit_day.elementor-page-747 .elementor-element-e16e13f > .e-con-inner {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
}

@media (max-width: 767px) {
  body.single-outfit_day.elementor-page-747 .elementor-element-e16e13f > .e-con-inner {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.single-outfit_day.elementor-page-747 .elementor-element-e16e13f > .e-con-inner > * {
    min-width: 0 !important;
    width: 100% !important;
  }
}

body.single-outfit_day.elementor-page-747 .elementor-element-7ee8f72 {
  border: 0 !important;
  box-shadow: none !important;
  flex-basis: auto !important;
  max-width: 100% !important;
  outline: 0 !important;
  width: 100% !important;
}

body.single-outfit_day.elementor-page-747 .elementor-element-7ee8f72 > .elementor-widget-container,
body.single-outfit_day.elementor-page-747 .ths-theme-palette {
  border: 0 !important;
  box-shadow: none !important;
  margin: 0 !important;
  max-width: none !important;
  outline: 0 !important;
  width: 100% !important;
}

body.single-outfit_day.elementor-page-747 .elementor-element-9df0609 {
  aspect-ratio: 1 / 1.12 !important;
  overflow: hidden !important;
  width: 100% !important;
}

body.single-outfit_day.elementor-page-747 .elementor-element-9df0609 .elementor-widget-container {
  aspect-ratio: 1 / 1.12 !important;
  overflow: hidden !important;
  width: 100% !important;
}

body.single-outfit_day.elementor-page-747 .elementor-element-9df0609 img {
  display: block !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: 50% 54% !important;
  transform: scale(1.16) !important;
  transform-origin: 50% 50% !important;
  width: 100% !important;
}

body.single-outfit_day.elementor-page-747 .elementor-element-5068d91 > .wp-block-heading,
body.single-outfit_day.elementor-page-747 .elementor-element-5068d91 > .wp-block-heading + p,
body.single-outfit_day.elementor-page-747 .elementor-element-5068d91 > .wp-block-image {
  display: none;
}

body.single-outfit_day.elementor-page-747 .ths-theme-palette__season {
  background: #fffdfb;
  border: 0;
  box-shadow: none;
  min-height: 0;
  outline: 0;
  overflow: hidden;
  padding: 8px 8px 10px;
}

body.single-outfit_day.elementor-page-747 .ths-theme-palette__inner {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  outline: 0;
  padding: clamp(20px, 2.4vw, 28px);
}

body.single-outfit_day.elementor-page-747 .ths-theme-palette h2 {
  font-size: clamp(30px, 2.6vw, 42px);
  margin-bottom: 16px;
  overflow-wrap: anywhere;
}

body.single-outfit_day.elementor-page-747 .ths-theme-palette__formula,
body.single-outfit_day.elementor-page-747 .ths-theme-palette__accents {
  font-size: clamp(15px, 1.25vw, 18px);
}

body.single-outfit_day.elementor-page-747 .ths-theme-palette__accents {
  margin-bottom: 18px;
}

body.single-outfit_day.elementor-page-747 .ths-theme-palette__grid {
  gap: 12px;
}

body.single-outfit_day.elementor-page-747 .ths-theme-palette__season::before,
body.single-outfit_day.elementor-page-747 .ths-theme-palette__season::after {
  display: none;
}

body.single-outfit_day.elementor-page-747 .ths-theme-palette__season::before {
  left: auto;
}

body.single-outfit_day.elementor-page-747 .ths-theme-palette__season::after {
  right: auto;
}

body.single-outfit_day.elementor-page-747 .ths-theme-palette__season h3 {
  font-size: clamp(19px, 1.55vw, 25px);
  font-weight: 500;
  letter-spacing: 0.18em;
  margin: 4px 0 6px;
  overflow: visible;
  white-space: normal;
}

body.single-outfit_day.elementor-page-747 .ths-theme-palette__season-note {
  border-bottom: 0;
  font-size: 9px;
  letter-spacing: 0.18em;
  margin-bottom: 8px !important;
  max-width: 150px;
  padding-bottom: 0;
}

body.single-outfit_day.elementor-page-747 .ths-theme-palette__swatches {
  display: block;
  height: 112px;
  max-width: 178px;
  overflow: visible;
}

body.single-outfit_day.elementor-page-747 .ths-theme-palette__swatch-svg {
  max-width: 178px;
}

body.single-outfit_day.elementor-page-747 .ths-theme-palette__swatch-svg text {
  font-size: 10px;
  letter-spacing: 0.1em;
}

body.single-outfit_day.elementor-page-747 .ths-theme-palette__swatch-svg .ths-theme-palette__svg-role {
  font-size: 9px;
  letter-spacing: 0;
}

body.single-outfit_day.elementor-page-747 .ths-theme-palette__swatch span {
  font-size: clamp(11px, 0.95vw, 14px);
}

body.single-outfit_day.elementor-page-747 .ths-theme-palette__swatch--accent span {
  left: auto;
  right: auto;
  top: auto;
  transform: none;
}

body.single-outfit_day.elementor-page-747 .ths-theme-palette__swatch--primary .ths-theme-palette__disc,
body.single-outfit_day.elementor-page-747 .ths-theme-palette__swatch--secondary .ths-theme-palette__disc {
  height: 60px;
  width: 60px;
}

body.single-outfit_day.elementor-page-747 .ths-theme-palette__swatch--accent {
  padding-top: 11px;
}

body.single-outfit_day.elementor-page-747 .ths-theme-palette__swatch--accent .ths-theme-palette__disc {
  height: 44px;
  width: 44px;
}

body.single-outfit_day.elementor-page-747 .ths-theme-palette__swatch strong,
body.single-outfit_day.elementor-page-747 .ths-theme-palette__combo strong {
  font-size: 10px;
  letter-spacing: 0.1em;
  max-width: 70px;
  overflow-wrap: anywhere;
}

body.single-outfit_day.elementor-page-747 .ths-theme-palette__swatch em,
body.single-outfit_day.elementor-page-747 .ths-theme-palette__combo em {
  font-size: 10px;
}

body.single-outfit_day.elementor-page-747 .ths-theme-palette__combos {
  gap: 12px;
  margin-top: 16px;
  max-width: 172px;
  padding-top: 12px;
}

body.single-outfit_day.elementor-page-747 .ths-theme-palette__combo span {
  height: 52px;
  width: 52px;
}

body.single-outfit_day.elementor-page-747 .ths-theme-palette__grid article.ths-theme-palette__season > p:not(.ths-theme-palette__season-note) {
  font-size: 12px;
  line-height: 1.2;
  margin-top: 4px !important;
  max-width: 188px;
  padding-top: 6px;
}

.ths-theme-palette--mini .ths-theme-palette__inner {
  padding: 22px;
}

.ths-theme-palette--mini h2 {
  font-size: 30px;
}

@container (max-width: 560px) {
  .ths-theme-palette__inner {
    padding: 22px;
  }

  .ths-theme-palette h2 {
    font-size: 38px;
  }

  .ths-theme-palette__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ths-theme-palette__season {
    min-height: 280px;
    padding: 16px;
  }

  .ths-theme-palette__season h3 {
    font-size: 24px;
  }

  .ths-theme-palette__swatches {
    max-width: 220px;
  }

  .ths-theme-palette__swatch--accent span {
    left: 50%;
    right: auto;
    top: -24px;
    transform: translateX(-50%);
  }
}

@media (max-width: 760px) {
  .ths-style-preview-backdrop {
    background: #fff;
  }

  .ths-style-preview-dialog {
    box-shadow: none;
    height: 100dvh;
    left: 0;
    max-height: none;
    max-width: none;
    overflow-x: hidden;
    overflow-y: auto;
    position: fixed;
    top: 0;
    transform: none;
    width: 100vw;
  }

  .ths-style-preview-close {
    box-shadow: 0 4px 16px rgba(47, 41, 38, 0.16);
    position: fixed;
    right: 14px;
    top: 14px;
  }

  .ths-style-preview-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .ths-style-preview-reference {
    justify-content: flex-start;
    padding: 64px 18px 16px;
  }

  .ths-style-preview-reference img {
    aspect-ratio: 16 / 9;
    border: 1px solid var(--ths-sp-line);
    max-height: 210px;
    object-fit: contain;
  }

  .ths-style-preview-reference h3 {
    font-size: 20px;
    line-height: 1.25;
    margin-top: 12px;
  }

  .ths-style-preview-panel {
    padding: 28px 18px calc(28px + env(safe-area-inset-bottom));
  }

  .ths-style-preview-panel h2 {
    font-size: 30px;
    line-height: 1.15;
  }

  .ths-style-preview-help {
    font-size: 18px;
    line-height: 1.45;
  }

  .ths-style-preview-upload,
  .ths-style-preview-consent {
    margin-top: 16px;
  }

  .ths-style-preview-upload input[type="file"] {
    font-size: 16px;
  }

  .ths-style-preview-consent {
    grid-template-columns: 28px 1fr;
  }

  .ths-style-preview-consent input {
    height: 22px;
    margin-top: 2px;
    width: 22px;
  }

  .ths-style-preview-consent span,
  .ths-style-preview-disclaimer {
    font-size: 16px;
    line-height: 1.42;
  }

  .ths-style-preview-actions,
  .ths-style-preview-history-head {
    align-items: stretch;
    flex-direction: column;
  }

  .ths-style-preview-download,
  .ths-style-preview-regenerate {
    width: 100%;
  }

  .ths-theme-palette {
    margin: 26px 0;
    max-width: none;
    width: 100%;
  }

  .ths-theme-palette__inner {
    padding: 18px;
  }

  .ths-theme-palette h2 {
    font-size: 34px;
  }

  .ths-theme-palette__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ths-theme-palette__season {
    min-height: 260px;
  }

  .ths-theme-palette__swatches {
    max-width: 210px;
  }

  body.single-outfit_day.elementor-page-747 .elementor-element-12823f9,
  body.single-outfit_day.elementor-page-747 .elementor-element-7ee8f72 {
    flex-basis: 100%;
    max-width: 100%;
  }
}

/* Keep copy legible when Elementor's Outfit Day typography rules load later. */
body.single-outfit_day.elementor-page-747 .ths-theme-palette--formula .ths-theme-palette__season-title,
body.single-outfit_day.elementor-page-747 .ths-theme-palette--formula .ths-theme-palette__season-formula {
	color: var(--ths-panel-ink) !important;
	text-shadow: none !important;
}

/*
 * Calendar palette guard: legacy cards and formula cards can be placed in
 * narrow Elementor children. On phones they must claim the full row before
 * their internal grid becomes responsive.
 */
@media (max-width: 760px) {
  body.single-outfit_day .ths-theme-palette,
  body.single-outfit_day .ths-theme-palette__inner,
  body.single-outfit_day .ths-theme-palette__season,
  body.single-outfit_day .ths-theme-palette__role,
  body.single-outfit_day .ths-theme-palette__combo {
    box-sizing: border-box;
    min-width: 0;
  }

  body.single-outfit_day .elementor-element:has(.ths-theme-palette) {
    flex-basis: 100% !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  body.single-outfit_day .ths-theme-palette {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    margin: 20px 0 !important;
  }

  body.single-outfit_day .ths-theme-palette__inner {
    width: 100%;
    overflow: hidden;
    padding: 18px 16px !important;
  }

  body.single-outfit_day .ths-theme-palette:not(.ths-theme-palette--formula) h2 {
    font-size: 26px !important;
    line-height: 1.15 !important;
    margin: 0 0 8px !important;
  }

  body.single-outfit_day .ths-theme-palette:not(.ths-theme-palette--formula) .ths-theme-palette__formula,
  body.single-outfit_day .ths-theme-palette:not(.ths-theme-palette--formula) .ths-theme-palette__accents {
    font-size: 15px !important;
    line-height: 1.4 !important;
    margin: 0 0 8px !important;
  }

  body.single-outfit_day .ths-theme-palette:not(.ths-theme-palette--formula) .ths-theme-palette__grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  body.single-outfit_day .ths-theme-palette:not(.ths-theme-palette--formula) .ths-theme-palette__season {
    min-height: 0 !important;
    padding: 16px 12px !important;
  }

  body.single-outfit_day .ths-theme-palette:not(.ths-theme-palette--formula) .ths-theme-palette__season h3 {
    font-size: 21px !important;
    letter-spacing: .12em !important;
    margin: 4px 0 8px !important;
  }

  body.single-outfit_day .ths-theme-palette:not(.ths-theme-palette--formula) .ths-theme-palette__season-note {
    font-size: 11px !important;
    letter-spacing: .1em !important;
    margin: 0 0 10px !important;
  }

  body.single-outfit_day .ths-theme-palette:not(.ths-theme-palette--formula) .ths-theme-palette__swatches {
    max-width: 220px !important;
  }

  body.single-outfit_day .ths-theme-palette:not(.ths-theme-palette--formula) .ths-theme-palette__combos {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.single-outfit_day .ths-theme-palette--formula .ths-theme-palette__title {
    font-size: 26px !important;
    line-height: 1.15 !important;
  }

  body.single-outfit_day .ths-theme-palette--formula .ths-theme-palette__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  body.single-outfit_day .ths-theme-palette--formula .ths-theme-palette__season-title {
    font-size: 13px !important;
    letter-spacing: .08em !important;
    white-space: nowrap !important;
  }
}
