.dec-page, .dec-admin-page, .dec-entry, .dec-prices, .dec-price-caption {
  --dec-teal: var(--teal, #08635e);
  --dec-ink: var(--deep, #153b3a);
  --dec-muted: var(--muted, #527074);
  --dec-line: var(--line, #d7e4df);
  --dec-pale: var(--pale, #f0f8f6);
}
.dec-page {
  --dec-ink: #263b31;
  --dec-teal: #3b5849;
  --dec-muted: #52635a;
  --dec-line: #ded8cd;
  --dec-pale: #f5f1e9;
}
main.dec-page, main.dec-admin-page { padding-bottom: clamp(30px, 5vw, 62px); }
.dec-page .breadcrumbs, .dec-admin-page .breadcrumbs { flex-wrap: wrap; }
main.dec-page { max-width: 1440px; }
.dec-page .breadcrumbs { margin-bottom: clamp(12px, 1.4vw, 20px); }
.dec-hero {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: clamp(22px, 2.25vw, 38px);
  align-items: start;
}
.dec-hero-picture {
  position: relative; margin: 0; overflow: hidden; border-radius: 15px;
}
.dec-hero-picture img { display: block; width: 100%; height: auto; object-fit: contain; }
.dec-hero-copy { padding-top: clamp(12px, 1.6vw, 27px); color: #254842; }
.dec-hero h1 { margin: 0; color: #254842; font-size: clamp(2rem, 3.3vw, 3.375rem); font-weight: 600; line-height: 1.08; letter-spacing: -.035em; }
.dec-hero-copy > p:not(.dec-month) { margin: 18px 0 0; max-width: 32rem; color: #4a625a; font-size: clamp(1rem, 1.22vw, 1.2rem); line-height: 1.55; }
.dec-hero-copy .button { display: inline-flex; min-height: 46px; align-items: center; margin-top: 24px; padding: 10px 18px; border-radius: 8px; background: #526e5d; color: #fff; font-weight: 600; }
.dec-hero-copy .button:hover { background: #3b5849; }
.dec-hero .dec-month { margin-bottom: 18px; font-size: .75rem; font-weight: 500; letter-spacing: .13em; }
.dec-month { margin: 0 0 .6em; color: var(--dec-teal); font-size: .875rem; font-weight: 750; text-transform: uppercase; letter-spacing: .09em; }
.dec-admin h1 { margin: 0 0 .35em; color: var(--dec-ink); font-size: clamp(2rem, 3.3vw, 3.3rem); line-height: 1.08; letter-spacing: -.035em; }
.dec-finish-switch { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.dec-finish-switch a { margin: 0; padding: 7px 11px; border: 1px solid #aeb9aa; border-radius: 8px; color: var(--dec-ink); font-size: .875rem; text-decoration: none; }
.dec-finish-switch a[aria-current] { background: var(--dec-teal); border-color: var(--dec-teal); color: #fff; }
.dec-finish-switch a:focus-visible { outline: 2px solid var(--dec-teal); outline-offset: 2px; }
.dec-calendar-body { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); align-items: stretch; gap: clamp(12px, 2vw, 24px); margin-top: clamp(12px, 2vw, 24px); }
.dec-calendar, .dec-offer { min-width: 0; padding: clamp(13px, 2vw, 26px); border: 1px solid var(--dec-line); border-radius: 20px; background: #fff; }
.dec-calendar { scroll-margin-top: 16px; }
.dec-week, .dec-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: clamp(4px, .7vw, 10px); }
.dec-week { margin-bottom: 8px; text-align: center; color: var(--dec-muted); font-size: .875rem; font-weight: 700; }
.dec-door {
  display: flex; align-items: center; justify-content: center; gap: clamp(3px, .6vw, 10px);
  min-height: 48px; border: 1px solid var(--dec-line); border-radius: 10px;
  background: #f8f6f2; color: var(--dec-ink); font-size: 1rem; font-weight: 750; text-decoration: none;
}
.dec-door small { color: var(--dec-teal); font-size: .9em; line-height: 1; }
.dec-door.is-past { background: #eeeae2; }
.dec-door.is-today { background: #3b5849; color: #fff; border-color: #3b5849; }
.dec-door.is-today small { color: #fff; }
.dec-door[aria-current="date"] { outline: 2px solid var(--dec-teal); outline-offset: -2px; }
.dec-door:hover, .dec-door:focus-visible { color: var(--dec-ink); border-color: var(--dec-teal); box-shadow: inset 0 0 0 1px var(--dec-teal); text-decoration: none; }
.dec-door.is-today:hover, .dec-door.is-today:focus-visible { color: #fff; background: #2c483b; }
.dec-door.is-today[aria-current="date"] { outline-color: #fff; outline-offset: -4px; }
.dec-door:focus-visible { outline: 2px solid var(--dec-teal); outline-offset: 2px; }
.dec-legend { display: flex; gap: 6px 16px; flex-wrap: wrap; padding-top: 12px; color: var(--dec-muted); font-size: .875rem; }
.dec-legend b { color: var(--dec-teal); }
.dec-offer { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; color: var(--dec-ink); background: var(--dec-pale); }
.dec-status { display: inline-block; padding: .35em .7em; background: #dceee7; border-radius: 7px; color: var(--dec-ink); font-size: .875rem; font-weight: 750; }
.dec-page .dec-status { background: #e9e4da; }
.dec-page .dec-offer.is-today .dec-status { background: #3b5849; color: #fff; }
.dec-date { margin: 1.05em 0 .35em; color: var(--dec-muted); font-size: 1rem; font-weight: 700; }
.dec-offer h2, .dec-products h2 { margin: 0 0 .35em; color: var(--dec-ink); font-size: clamp(1.35rem, 2.1vw, 2rem); line-height: 1.16; }
.dec-offer p:last-of-type { margin: 0; max-width: 27em; }
.dec-offer .button { margin-top: 17px; }
.dec-products { margin-top: clamp(22px, 3.5vw, 42px); scroll-margin-top: 5rem; }
.dec-products h2 { margin-bottom: 14px; }
.dec-product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.8vw, 24px); }
.dec-page .dec-product { display: flex; flex-direction: column; min-width: 0; margin: 0; padding: 0; overflow: hidden; border: 1px solid var(--dec-line); border-radius: 16px; background: white; }
[data-december-discount-photo] { position: relative; }
[data-december-discount-photo]::after,
:is(#mc-card-v4, #mc-card-v4-layer) [data-december-discount-photo]::after {
  content: ""; position: absolute; inset-block-start: 0; inset-inline-end: clamp(3px, 1vw, 14px);
  width: min(26%, 88px); aspect-ratio: 88 / 113; z-index: 2; pointer-events: none;
  background: url("/mc-december-2026/discount-tree-badge.png") top right / contain no-repeat;
  filter: drop-shadow(0 2px 2px #123a2850);
}
.dec-product-photo { display: block; background: #f4f6f4; }
.dec-page .dec-product-photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; max-height: 240px; object-fit: contain; margin: 0; border-radius: 0; }
.dec-page .dec-product-body { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: clamp(12px, 1.6vw, 22px); }
.dec-product h3 { margin: 0; color: var(--dec-ink); font-size: 1.05rem; line-height: 1.35; }
.dec-product h3 a { color: inherit; text-decoration: none; }
.dec-product .button { margin-top: auto; }
.dec-prices,
:is(#mc-card-v4, #mc-card-v4-layer) .dec-prices { display: inline-flex; flex-wrap: wrap; gap: .15em .55em; align-items: baseline; }
.dec-prices del,
:is(#mc-card-v4, #mc-card-v4-layer) .dec-prices del { color: var(--dec-muted); font-size: .76em; font-weight: 500; white-space: nowrap; text-decoration: line-through; }
.dec-prices strong,
:is(#mc-card-v4, #mc-card-v4-layer) .dec-prices strong { color: #ff5400; font-size: max(1em, 1.1875rem); font-weight: 750; white-space: nowrap; }
.dec-product .dec-prices { font-size: 1.28rem; }
.dec-archive, .dec-price-caption { margin: 0; color: var(--dec-muted); font-size: .875rem; }
.dec-demo { margin-top: 20px; color: var(--dec-muted); font-size: .875rem; }
.dec-demo a { margin-inline-start: .55em; }
.dec-entry { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; padding: 15px 20px; margin: 14px 0 20px; border: 1px solid var(--dec-line); border-radius: 16px; background: var(--dec-pale); color: var(--dec-ink); }
.dec-entry p { margin: 3px 0 0; }
.dec-entry .button { flex-shrink: 0; margin: 0; }
.dec-admin { max-width: 720px; padding: clamp(16px, 3vw, 34px); border: 1px solid var(--dec-line); border-radius: 18px; background: #fff; }
.dec-admin-select, .dec-admin-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin: 15px 0; }
.dec-admin-form { display: grid; gap: 15px; padding-top: 15px; border-top: 1px solid var(--dec-line); }
.dec-admin-form label { display: grid; gap: 5px; font-weight: 700; }
.dec-admin-form label span, .dec-admin-form p { margin: 0; font-weight: 400; color: var(--dec-muted); }
.dec-admin input, .dec-admin select, .dec-admin textarea { padding: 9px 12px; width: 100%; max-width: 100%; min-height: 43px; border: 1px solid #98b3ad; border-radius: 8px; background: #fff; color: var(--dec-ink); font: inherit; }
.dec-admin select, .dec-admin input[type="number"] { width: auto; max-width: 100%; justify-self: start; }
.dec-error { color: #8c2727; }
.dec-admin-actions { margin: 0; }
@media (max-width: 820px) {
  .dec-hero { grid-template-columns: minmax(0, 1fr); gap: 15px; }
  .dec-hero-copy { padding: 0; }
  .dec-hero .dec-month { margin-bottom: 10px; }
  .dec-hero-copy > p:not(.dec-month) { margin-top: 10px; }
  .dec-hero-copy .button { margin-top: 15px; }
}
@media (max-width: 760px) {
  .dec-calendar-body { grid-template-columns: 1fr; }
  .dec-offer { min-height: 148px; }
  .dec-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .dec-hero { gap: 8px; }
  .dec-calendar-body { margin-top: 8px; }
  .dec-hero h1 { font-size: clamp(1.55rem, 6.7vw, 2rem); }
  .dec-hero .dec-month { margin-bottom: 6px; }
  .dec-hero-copy > p:not(.dec-month) { margin-top: 7px; line-height: 1.35; }
  .dec-hero-copy .button { display: none; }
}
@media (max-width: 440px) {
  .dec-door { min-height: 44px; flex-direction: column; gap: 0; line-height: 1.1; }
  .dec-door small { font-size: .7rem; }
  .dec-offer .button { margin-top: 11px; }
  .dec-entry { align-items: flex-start; flex-direction: column; padding: 12px; }
  .dec-product-grid { grid-template-columns: 1fr; }
}


.dec-inbox details { border: 1px solid #d3dbce; padding: .75rem 1rem; border-radius: .6rem; margin: .75rem 0; background: #fff; overflow-wrap: anywhere; }
.dec-inbox summary { color: #214b3d; font-weight: 650; cursor: pointer; }
.dec-inbox details p { margin: .5rem 0; }
.dec-inbox .catalogue-price-history-row { padding-top: .75rem; margin-top: .75rem; border-top: 1px solid #d3dbce; }
.dec-inbox .catalogue-price-history-row > :is(strong, span) { display: inline-block; margin-inline-end: 1rem; }

.dec-teaser .dec-door.is-future:hover {
  border-color: var(--dec-line);
  box-shadow: none;
}
.dec-teaser .dec-door.is-future {
  cursor: default;
}
