/* Generated by build-performance.py. Edit the original CSS files. */

/* style.css */
/* cyrillic-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(fonts/manrope-1.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(fonts/manrope-2.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(fonts/manrope-3.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(fonts/manrope-4.woff2) format('woff2');
  unicode-range:
    U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301,
    U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(fonts/manrope-5.woff2) format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(fonts/manrope-6.woff2) format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  --ink: #283d32;
  --green: #365c45;
  --cream: #faf8f2;
  --orange: #d16e45;
  --line: #dfdfd3;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Manrope, Arial, sans-serif;
  font-size: 15px;
}
button,
input {
  font: inherit;
}
button,
a,
input,
summary {
  -webkit-tap-highlight-color: transparent;
}
button,
a,
summary {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 5px;
}
.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 48px;
  padding-right: 48px;
}
.preview-note {
  background: var(--green);
  color: #fff;
  text-align: center;
  font-size: 11px;
  padding: 9px 20px;
  letter-spacing: 0.2px;
}
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding-top: 26px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 19px;
  font-weight: 800;
  white-space: nowrap;
}
.brand small {
  display: block;
  font-size: 9px;
  letter-spacing: 1px;
  font-weight: 500;
  margin-top: 4px;
}
.brand-mark {
  display: grid;
  place-content: center;
  width: 44px;
  height: 45px;
  border-radius: 15px 15px 15px 3px;
  background: var(--green);
  color: #fff;
  font-size: 36px;
  position: relative;
  line-height: 1;
}
.brand-mark span {
  position: absolute;
  right: 6px;
  top: -1px;
  color: #f3c68d;
  font-size: 20px;
}
.header nav {
  display: flex;
  gap: 30px;
  font-size: 13px;
}
.header nav a:hover,
.text-link:hover {
  color: var(--orange);
}
.cart-button {
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 30px;
  padding: 11px 16px;
  font-size: 12px;
}
.cart-button span {
  display: inline-grid;
  place-content: center;
  border-radius: 50%;
  width: 23px;
  height: 23px;
  background: var(--green);
  color: white;
  margin-left: 10px;
}
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 25px;
  min-height: 640px;
  align-items: center;
  padding-top: 55px;
  padding-bottom: 65px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.7px;
  font-weight: 800;
  margin: 0 0 23px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.eyebrow > span {
  width: 7px;
  height: 7px;
  background: var(--orange);
  border-radius: 50%;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  font-size: clamp(44px, 4.7vw, 67px);
  line-height: 1.08;
  letter-spacing: -2px;
  margin-bottom: 23px;
}
h1 em {
  color: var(--orange);
  font-weight: 400;
}
.hero-description {
  max-width: 370px;
  font-size: 14px;
  line-height: 1.9;
  color: #647064;
  margin-bottom: 26px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  padding: 17px 23px;
  border-radius: 8px;
  border: 0;
  font-weight: 600;
  font-size: 13px;
}
.primary {
  background: var(--green);
  color: white;
}
.primary:hover {
  background: #254630;
}
.button span {
  font-size: 21px;
  line-height: 1;
}
.hero-tags {
  display: flex;
  gap: 15px;
  margin-top: 29px;
  flex-wrap: wrap;
  font-size: 9px;
  color: #657366;
}
.hero-tags span:before {
  content: '✓';
  color: var(--green);
  margin-right: 5px;
}
.hero-art {
  height: 490px;
  position: relative;
  background: #ecefdf;
  border-radius: 49% 49% 22% 25%;
  isolation: isolate;
}
.hero-art:before {
  content: '';
  position: absolute;
  inset: 20px;
  border: 1px dashed #bac3a8;
  border-radius: 49% 49% 22% 25%;
  z-index: -1;
}
.art-caption {
  position: absolute;
  right: 37px;
  top: 33px;
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 20px;
  transform: rotate(7deg);
  color: #637752;
}
.art-card {
  position: absolute;
  width: 225px;
  height: 292px;
  border-radius: 13px;
  box-shadow: 0 17px 35px #344a2620;
  padding: 23px 16px;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: space-between;
}
.card-a {
  background: #f4c690;
  left: 18px;
  top: 100px;
  transform: rotate(-12deg);
  z-index: 1;
}
.card-b {
  background: #fffdf5;
  right: 13px;
  top: 141px;
  transform: rotate(11deg);
  z-index: 2;
}
.card-label {
  font-size: 8px;
  letter-spacing: 1.1px;
  font-weight: 800;
}
.letter {
  font-family: Georgia, serif;
  color: var(--orange);
  font-size: 150px;
  line-height: 1;
  position: relative;
}
.letter span {
  font-size: 60px;
  margin-left: -11px;
}
.card-footer {
  font-size: 8px;
  border-top: 1px solid #365c4525;
  padding-top: 12px;
  text-align: center;
  width: 100%;
}
.pear {
  height: 126px;
  width: 100px;
  background: #b4bf65;
  border-radius: 45% 45% 44% 44%;
  transform: rotate(-8deg);
  position: relative;
  margin-top: 25px;
}
.pear:before {
  content: '';
  position: absolute;
  width: 65px;
  height: 80px;
  top: -27px;
  left: 20px;
  background: #b4bf65;
  border-radius: 60% 60% 25% 25%;
}
.pear:after {
  content: '';
  position: absolute;
  height: 27px;
  width: 7px;
  background: #816445;
  top: -44px;
  left: 51px;
  transform: rotate(12deg);
  border-radius: 10px;
}
.pear i {
  position: absolute;
  width: 34px;
  height: 19px;
  border-radius: 0 90% 0 90%;
  background: #52754e;
  top: -40px;
  left: 58px;
  z-index: 1;
}
.card-b strong {
  font-family: Georgia, serif;
  font-size: 28px;
  font-weight: 400;
}
.bubble {
  position: absolute;
  bottom: 11px;
  left: 26px;
  background: var(--orange);
  color: #fff;
  border-radius: 50%;
  width: 105px;
  height: 105px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transform: rotate(-13deg);
  font-size: 13px;
  z-index: 3;
}
.bubble span {
  font-size: 23px;
}
.spark {
  position: absolute;
  color: var(--orange);
  font-size: 50px;
}
.spark-one {
  left: 29px;
  top: 25px;
  transform: rotate(12deg);
}
.spark-two {
  right: 8px;
  bottom: 8px;
  font-size: 56px;
}
.tiny-label {
  position: absolute;
  bottom: -26px;
  right: 52px;
  font-size: 9px;
  color: #7b8573;
}
.values-strip {
  background: #e9eddf;
  border-top: 1px solid #dce2d2;
  border-bottom: 1px solid #dce2d2;
}
.values-strip .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  padding-bottom: 20px;
  font-size: 12px;
}
.values-strip b {
  color: var(--orange);
  font-size: 25px;
  font-weight: 400;
}
.catalog {
  padding-top: 80px;
  padding-bottom: 80px;
}
h2 {
  font-family: Georgia, serif;
  font-size: 43px;
  font-weight: 400;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 20px;
}
.section-top {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 28px;
}
.section-top .eyebrow {
  margin-bottom: 14px;
}
.section-top p:not(.eyebrow) {
  font-size: 12px;
  line-height: 1.8;
  color: #6f786c;
}
.catalog-tools {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 17px;
}
.filters {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.filters button {
  border: 1px solid var(--line);
  border-radius: 30px;
  background: transparent;
  padding: 10px 16px;
  font-size: 11px;
  color: var(--ink);
}
.filters button.active {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.search {
  display: flex;
  align-items: center;
  gap: 9px;
  border-bottom: 1px solid #b8c1b2;
  padding: 8px 0;
}
.search span {
  font-size: 25px;
}
.search input {
  width: 145px;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 11px;
  color: var(--ink);
}
.sample-note {
  font-size: 10px;
  color: #72796e;
  margin-bottom: 24px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px 24px;
}
.product-card {
  min-width: 0;
}
.product-visual {
  height: 255px;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  width: 100%;
  color: var(--ink);
}
.tone-peach {
  background: #f0e0d0;
}
.tone-sage {
  background: #e4e8d8;
}
.tone-blue {
  background: #dfe8e9;
}
.tone-lilac {
  background: #e7e1ec;
}
.tone-sand {
  background: #eee6d5;
}
.tone-rose {
  background: #efdfdc;
}
.age {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #fff9;
  padding: 5px 9px;
  border-radius: 20px;
  font-size: 10px;
  z-index: 3;
}
.product-shape {
  width: 138px;
  height: 172px;
  background: #fffaf0;
  transform: rotate(-8deg);
  border-radius: 8px;
  box-shadow:
    9px 10px 0 #fff7,
    0 12px 22px #283d3218;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s;
}
.product-visual:hover .product-shape {
  transform: rotate(-3deg) translateY(-5px);
}
.shape-icon {
  font-family: Georgia, serif;
  font-size: 67px;
  line-height: 1.2;
  color: var(--orange);
}
.shape-title {
  font-size: 11px;
  font-weight: 800;
  max-width: 105px;
  line-height: 1.5;
  white-space: normal;
}
.shape-line {
  width: 40px;
  height: 3px;
  border-radius: 2px;
  background: #b9c294;
}
.product-meta {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #737e6d;
  margin: 17px 0 8px;
}
.product-title {
  border: 0;
  background: none;
  padding: 0;
  text-align: left;
  color: var(--ink);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.5;
}
.product-subtitle {
  color: #76806f;
  font-size: 11px;
  margin: 7px 0 17px;
  line-height: 1.7;
}
.product-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  font-weight: 800;
}
.add-button {
  height: 36px;
  width: 39px;
  border: 1px solid #c1cab8;
  border-radius: 7px;
  background: transparent;
  color: var(--ink);
  font-size: 22px;
}
.add-button:hover {
  background: var(--green);
  color: #fff;
}
.approach {
  padding-top: 55px;
  padding-bottom: 55px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  background: #e9eddf;
  border-radius: 18px;
}
.approach > div > p:not(.eyebrow) {
  font-size: 13px;
  line-height: 1.9;
  color: #64715e;
  max-width: 380px;
}
.approach .eyebrow {
  margin-bottom: 17px;
}
.text-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 700;
  border-bottom: 1px solid #93a085;
  padding-bottom: 7px;
}
.approach-list article {
  display: flex;
  gap: 21px;
  border-bottom: 1px solid #cdd5c2;
  padding: 22px 0;
}
.approach-list article:first-child {
  padding-top: 0;
}
.approach-list article:last-child {
  border: 0;
  padding-bottom: 0;
}
.approach-list article > span {
  font-family: Georgia, serif;
  color: #899477;
  font-size: 22px;
}
.approach-list h3 {
  font-size: 15px;
  margin-bottom: 8px;
}
.approach-list p {
  font-size: 12px;
  line-height: 1.8;
  margin-bottom: 0;
  color: #64715e;
}
.faq {
  padding-top: 85px;
  padding-bottom: 85px;
  max-width: 900px;
}
.faq > .eyebrow,
.faq > h2 {
  justify-content: center;
  text-align: center;
}
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.faq summary {
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 25px;
}
.faq summary:after {
  content: '+';
  font-size: 22px;
  font-weight: 400;
}
.faq details[open] summary:after {
  content: '−';
}
.faq details p {
  font-size: 13px;
  line-height: 1.9;
  color: #687461;
  margin: 15px 30px 0 0;
}
.footer {
  border-top: 1px solid var(--line);
  padding: 33px 0;
}
.footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
}
.footer p,
.footer > .wrap > span {
  font-size: 10px;
  color: #727d6c;
  margin: 0;
}
.footer .brand {
  font-size: 16px;
}
.footer .brand small {
  letter-spacing: 0;
  font-size: 9px;
}
dialog {
  border: 0;
  border-radius: 17px;
  padding: 30px;
  width: min(550px, calc(100% - 32px));
  max-height: 85vh;
  color: var(--ink);
  background: var(--cream);
  box-shadow: 0 25px 90px #0004;
}
dialog::backdrop {
  background: #18271bb0;
}
.dialog-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}
.dialog-head h2 {
  font-size: 32px;
  margin: 0;
}
.dialog-head .eyebrow {
  margin: 0;
}
.close {
  background: transparent;
  border: 0;
  font-size: 30px;
  color: var(--ink);
  line-height: 1;
  padding: 5px;
}
.cart-row {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.cart-row-top {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 13px;
}
.quantity {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  font-size: 12px;
}
.quantity button {
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 5px;
  color: var(--ink);
}
.quantity .remove {
  margin-left: auto;
  width: auto;
  border: 0;
  text-decoration: underline;
  font-size: 11px;
}
.cart-total {
  display: flex;
  justify-content: space-between;
  margin-top: 25px;
  font-size: 19px;
}
.checkout-note {
  font-size: 12px;
  line-height: 1.8;
  color: #717a6a;
  margin: 20px 0;
}
#product-detail .product-visual {
  margin-bottom: 24px;
}
#product-detail h2 {
  font-size: 30px;
}
#product-detail p {
  line-height: 1.8;
  font-size: 13px;
}
#product-detail .product-bottom {
  margin-top: 25px;
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: white;
  padding: 13px 22px;
  border-radius: 8px;
  font-size: 12px;
  z-index: 5;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  max-width: 90%;
  text-align: center;
}
#toast.visible {
  opacity: 1;
}
body:has(dialog[open]) {
  overflow: hidden;
}
[hidden] {
  display: none !important;
}
@media (min-width: 1450px) {
  .hero {
    min-height: 700px;
  }
}
@media (max-width: 1050px) {
  .wrap {
    padding-left: 28px;
    padding-right: 28px;
  }
  .header nav {
    gap: 18px;
  }
  .hero {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .hero-art {
    height: 430px;
  }
  .art-card {
    width: 180px;
    height: 250px;
  }
  .card-a {
    left: 0;
  }
  .card-b {
    right: 0;
  }
  .letter {
    font-size: 120px;
  }
  .art-caption {
    font-size: 17px;
  }
  .pear {
    transform: scale(0.8) rotate(-8deg);
    margin-top: 5px;
  }
  .bubble {
    bottom: 0;
    left: 0;
  }
  .hero-tags {
    gap: 10px;
  }
  h1 {
    font-size: 52px;
  }
  .product-visual {
    height: 230px;
  }
  .approach {
    margin: 0 28px;
    gap: 40px;
  }
  .brand {
    font-size: 16px;
  }
  .brand small {
    font-size: 8px;
  }
}
@media (max-width: 760px) {
  .wrap {
    padding-left: 20px;
    padding-right: 20px;
  }
  .preview-note {
    font-size: 9px;
    line-height: 1.6;
  }
  .header {
    padding-top: 18px;
    padding-bottom: 18px;
    gap: 10px;
  }
  .header nav {
    display: none;
  }
  .brand {
    font-size: 15px;
    gap: 8px;
  }
  .brand small {
    font-size: 7px;
    letter-spacing: 0.4px;
  }
  .brand-mark {
    height: 36px;
    width: 35px;
    font-size: 29px;
    border-radius: 12px 12px 12px 2px;
  }
  .cart-button {
    font-size: 10px;
    padding: 7px 10px;
  }
  .cart-button span {
    margin-left: 5px;
    width: 20px;
    height: 20px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 37px;
    padding-bottom: 42px;
    gap: 30px;
  }
  .hero-copy {
    max-width: 480px;
  }
  .hero .eyebrow {
    font-size: 8px;
    letter-spacing: 1px;
    margin-bottom: 20px;
  }
  h1 {
    font-size: clamp(43px, 10vw, 64px);
    letter-spacing: -1.5px;
  }
  .hero-description {
    font-size: 13px;
  }
  .hero-art {
    width: 100%;
    max-width: 420px;
    height: 400px;
    justify-self: center;
  }
  .art-card {
    width: 185px;
    height: 245px;
  }
  .card-a {
    left: 15px;
    top: 85px;
  }
  .card-b {
    right: 10px;
    top: 120px;
  }
  .art-caption {
    right: 30px;
    top: 23px;
  }
  .bubble {
    left: 13px;
    bottom: 0;
    width: 85px;
    height: 85px;
    font-size: 11px;
  }
  .tiny-label {
    right: 30px;
    bottom: -20px;
    font-size: 8px;
  }
  .values-strip .wrap {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 20px;
    font-size: 10px;
  }
  .values-strip b {
    font-size: 17px;
  }
  .values-strip b:last-of-type {
    display: none;
  }
  .catalog {
    padding-top: 50px;
    padding-bottom: 50px;
  }
  h2 {
    font-size: 34px;
  }
  .section-top {
    align-items: start;
    flex-direction: column;
    gap: 0;
    margin-bottom: 18px;
  }
  .section-top p:not(.eyebrow) {
    font-size: 12px;
  }
  .catalog-tools {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .filters {
    gap: 6px;
  }
  .filters button {
    font-size: 10px;
    padding: 9px 12px;
  }
  .search input {
    width: 100%;
  }
  .sample-note {
    font-size: 9px;
    line-height: 1.7;
  }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 27px 14px;
  }
  .product-visual {
    height: 190px;
  }
  .product-shape {
    width: 103px;
    height: 135px;
    gap: 8px;
  }
  .shape-icon {
    font-size: 50px;
  }
  .shape-title {
    font-size: 9px;
    max-width: 85px;
  }
  .age {
    font-size: 8px;
    top: 9px;
    left: 9px;
  }
  .product-title {
    font-size: 13px;
  }
  .product-subtitle {
    font-size: 10px;
    margin-bottom: 12px;
  }
  .product-meta {
    font-size: 8px;
    letter-spacing: 0.5px;
    margin-top: 13px;
  }
  .product-bottom {
    font-size: 14px;
  }
  .add-button {
    height: 31px;
    width: 33px;
  }
  .approach {
    margin: 0 15px;
    padding: 30px 22px;
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .approach .eyebrow {
    font-size: 9px;
  }
  .faq {
    padding-top: 50px;
    padding-bottom: 50px;
  }
  .faq summary {
    font-size: 13px;
  }
  .footer .wrap {
    flex-direction: column;
    align-items: start;
    gap: 20px;
  }
  dialog {
    padding: 22px;
  }
  .dialog-head h2 {
    font-size: 27px;
  }
}
@media (max-width: 370px) {
  .art-card {
    width: 160px;
    height: 230px;
  }
  .card-a {
    left: 4px;
  }
  .card-b {
    right: 0;
  }
  .hero-art {
    height: 380px;
  }
  .product-visual {
    height: 165px;
  }
  .product-shape {
    width: 90px;
    height: 120px;
  }
  .shape-title {
    font-size: 8px;
  }
}


/* catalog.css */
.real-photo {
  background: #fff;
  height: 310px;
  border: 1px solid #e5e5db;
}
.real-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.2s;
}
.real-photo:hover img {
  transform: scale(1.035);
}
.product-title {
  min-height: 48px;
}
.product-meta {
  font-size: 9px;
}
.wb-link {
  font-size: 11px;
  color: #6f367a;
  font-weight: 700;
  display: inline-block;
  line-height: 1.6;
}
.wb-link:hover {
  text-decoration: underline;
}
.add-button.selected {
  background: var(--green);
  color: white;
}
.real-hero {
  display: flex;
  justify-content: center;
  align-items: center;
}
.real-hero > img {
  width: 74%;
  height: 76%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transform: rotate(-5deg);
  border-radius: 18px;
}
.real-hero .art-caption {
  z-index: 2;
  top: 15px;
  font-size: 18px;
}
.hero-product-link {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  background: var(--green);
  color: white;
  padding: 12px 17px;
  border-radius: 25px;
  font-size: 11px;
}
.hero-art.real-hero:before {
  inset: 15px;
}
.detail-photo {
  width: 100%;
  height: 360px;
  background: white;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.detail-photo > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.photo-thumbnails {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 2px;
  margin-bottom: 15px;
}
.photo-thumbnails button {
  padding: 2px;
  flex: 0 0 62px;
  height: 66px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
}
.photo-thumbnails button[aria-pressed='true'] {
  border: 2px solid var(--green);
}
.photo-thumbnails img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.product-description {
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.package-info {
  background: #e9eddf;
  padding: 12px;
  border-radius: 6px;
}
.detail-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.detail-add {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-size: 11px;
}
.selection-row {
  display: flex;
  gap: 14px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}
.selection-row > img {
  object-fit: contain;
  background: white;
  border-radius: 5px;
}
.selection-row > div {
  flex: 1;
  min-width: 0;
}
.selection-row strong {
  display: block;
  font-size: 12px;
  line-height: 1.7;
  margin-bottom: 5px;
}
.selection-row .wb-link {
  display: block;
}
.remove-selection {
  padding: 7px 0;
  background: none;
  border: 0;
  text-decoration: underline;
  color: #687461;
  font-size: 10px;
}
.image-fallback {
  font-size: 11px;
  color: #687461;
  text-align: center;
  padding: 12px;
}
#product-dialog {
  width: min(650px, calc(100% - 32px));
}
@media (max-width: 760px) {
  .real-photo {
    height: 210px;
  }
  .product-title {
    min-height: 58px;
  }
  .product-bottom {
    gap: 6px;
  }
  .wb-link {
    font-size: 9px;
  }
  .real-hero > img {
    height: 78%;
    width: 76%;
  }
  .real-hero .art-caption {
    font-size: 16px;
    right: 15px;
  }
  .detail-photo {
    height: 290px;
  }
  .detail-actions .button {
    width: 100%;
    justify-content: center;
  }
}
@media (max-width: 380px) {
  .real-photo {
    height: 180px;
  }
  .product-title {
    font-size: 12px;
  }
  .wb-link {
    font-size: 8px;
  }
}


/* volume.css */
/* Raised warm surfaces; original product photographs retain their content. */
.product-grid {
  gap: 32px 24px;
  align-items: stretch;
}
.product-card {
  display: flex;
  flex-direction: column;
  padding: 0 0 14px;
  overflow: hidden;
  border: 1px solid #e3dfd0;
  border-radius: 22px;
  background: linear-gradient(145deg, #f8f4e9, #efeadc);
  box-shadow:
    0 3px 0 #dfd9c9,
    0 10px 18px -12px #34452a55,
    0 22px 35px -25px #34452a55;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}
.product-card .real-photo {
  height: auto;
  border: 0;
  border-radius: 0;
  background: #eee9dc;
  box-shadow: none;
  isolation: isolate;
}
.product-card .real-photo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
  border-radius: 0;
}
.product-card .product-meta,
.product-card .product-title,
.product-card .product-subtitle,
.product-card .product-bottom {
  margin-left: 19px;
  margin-right: 19px;
}
.product-card .product-meta {
  margin-top: 21px;
}
.product-card .product-title {
  min-height: 48px;
}
.product-card .product-bottom {
  margin-top: auto;
  padding-top: 15px;
  padding-bottom: 5px;
  border-top: 1px solid #dcd7c8;
}
.product-card .add-button {
  background: linear-gradient(145deg, #f8f4e9, #e6e0d1);
  box-shadow:
    0 2px 0 #d5cfbe,
    0 4px 8px #4b573016;
  border-color: #c7c6b2;
  transition:
    transform 150ms ease,
    background 150ms ease;
}
.product-card .add-button.selected,
.product-card .add-button:hover {
  background: var(--green);
  color: #fff;
}
.product-card .add-button:active {
  transform: translateY(2px);
  box-shadow: none;
}
.product-card:focus-within {
  border-color: #9eac8c;
}
.detail-photo,
.photo-thumbnails button,
.selection-row > img {
  background: #eee9dc;
}
.detail-photo > img,
.photo-thumbnails img,
.selection-row > img {
  mix-blend-mode: multiply;
}
@media (hover: hover) and (pointer: fine) {
  .product-card:hover {
    transform: translateY(-7px);
    border-color: #bdc6aa;
    box-shadow:
      0 4px 0 #dcd6c4,
      0 17px 24px -14px #34452a55,
      0 32px 42px -27px #34452a66;
  }
  .product-card .real-photo:hover img {
    transform: none;
  }
}
@media (max-width: 760px) {
  .product-grid {
    gap: 23px 13px;
  }
  .product-card {
    padding: 0 0 10px;
    border-radius: 16px;
  }
  .product-card .real-photo {
    height: auto;
    border-radius: 0;
  }
  .product-card .product-title {
    min-height: 76px;
  }
  .product-card .product-meta,
  .product-card .product-title,
  .product-card .product-subtitle,
  .product-card .product-bottom {
    margin-left: 11px;
    margin-right: 11px;
  }
  .product-card .product-bottom {
    padding-top: 12px;
    gap: 5px;
  }
  .product-card .wb-link {
    font-size: 9px;
  }
}
@media (max-width: 380px) {
  .product-card .real-photo {
    height: auto;
  }
  .product-card .product-title {
    min-height: 90px;
  }
  .product-card .product-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
  .product-card .add-button {
    align-self: flex-end;
  }
}
@media (prefers-reduced-motion: reduce) {
  .product-card,
  .product-card .real-photo img,
  .product-card .add-button {
    transition: none;
  }
  .product-card:hover,
  .product-card .real-photo:hover img {
    transform: none;
  }
}


/* menu.css */
/* Sage menu surfaces matching the warm, raised product cards. */
.header nav {
  gap: 9px;
  flex-wrap: wrap;
  justify-content: center;
}
:is(
  .header nav a,
  .filters button,
  .sound-tabs button,
  .story-header a,
  body > header > a:not(.brand)
) {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 15px;
  border: 1px solid #d4dcc7;
  border-radius: 16px;
  background: linear-gradient(145deg, #f0f3e8, #e9eddf);
  color: #283d32;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  box-shadow:
    0 3px 0 #d4dcc7,
    0 9px 16px -12px #34452a55;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}
:is(
  .header nav a,
  .filters button,
  .sound-tabs button,
  .story-header a,
  body > header > a:not(.brand)
)::before {
  content: '';
  position: absolute;
  inset: -12px -5px -5px;
  z-index: -1;
  pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 80' preserveAspectRatio='none'%3E%3Cpath d='M30 74C14 74 4 64 4 51C4 39 12 30 25 28C26 14 42 8 57 16C66 0 91 0 104 14C119 1 145 3 153 18C171 7 194 14 198 30C221 27 236 38 236 52C236 66 224 74 207 74Z' fill='%23e9eddf' stroke='%23cbd5bc' stroke-width='1.5'/%3E%3C/svg%3E")
    center / 100% 100% no-repeat;
  filter: drop-shadow(0 3px 0 #d4dcc7) drop-shadow(0 5px 5px #34452a18);
  opacity: 0;
  transform: scale(0.9, 0.8);
  transition:
    opacity 220ms ease,
    transform 220ms ease;
}
:is(
  .header nav a,
  .filters button,
  .sound-tabs button,
  .story-header a,
  body > header > a:not(.brand)
):focus-visible {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}
:is(
    .header nav a,
    .filters button,
    .sound-tabs button,
    .story-header a,
    body > header > a:not(.brand)
  ):focus-visible::before {
  opacity: 1;
  transform: scale(1);
}
@media (hover: hover) and (pointer: fine) {
  :is(
    .header nav a,
    .filters button,
    .sound-tabs button,
    .story-header a,
    body > header > a:not(.brand)
  ):hover {
    color: #365c45;
    background: transparent;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: none;
  }
  :is(
      .header nav a,
      .filters button,
      .sound-tabs button,
      .story-header a,
      body > header > a:not(.brand)
    ):hover::before {
    opacity: 1;
    transform: scale(1);
  }
}
:is(
  .header nav a,
  .filters button,
  .sound-tabs button,
  .story-header a,
  body > header > a:not(.brand)
):active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 #d4dcc7;
}
@media (max-width: 1050px) {
  .header {
    flex-wrap: wrap;
  }
  .header nav {
    order: 3;
    width: 100%;
  }
}
@media (max-width: 760px) {
  .header nav {
    display: flex;
    gap: 8px;
  }
  :is(
    .header nav a,
    .filters button,
    .sound-tabs button,
    .story-header a,
    body > header > a:not(.brand)
  ) {
    flex: 1 1 calc(50% - 8px);
    padding: 10px 9px;
    font-size: 11px;
    border-radius: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  :is(
    .header nav a,
    .filters button,
    .sound-tabs button,
    .story-header a,
    body > header > a:not(.brand)
  ),
  :is(
    .header nav a,
    .filters button,
    .sound-tabs button,
    .story-header a,
    body > header > a:not(.brand)
  )::before {
    transition: none;
  }
  :is(
    .header nav a,
    .filters button,
    .sound-tabs button,
    .story-header a,
    body > header > a:not(.brand)
  ):hover,
  :is(
    .header nav a,
    .filters button,
    .sound-tabs button,
    .story-header a,
    body > header > a:not(.brand)
  ):active {
    transform: none;
  }
}

/* Preserve sound lettering and distinguish the currently selected tab. */
.sound-tabs button {
  font-size: 28px;
  padding: 15px 18px;
}
.filters button.active,
.sound-tabs button[aria-selected='true'] {
  background: linear-gradient(145deg, #dce5d0, #cddbbb);
  color: #283d32;
  border-color: #9eaf8c;
  box-shadow:
    0 3px 0 #b4c39f,
    0 9px 16px -12px #34452a55;
}
.story-header,
body > header {
  align-items: center;
  flex-wrap: wrap;
}
@media (hover: hover) and (pointer: fine) {
  .filters button.active:hover,
  .sound-tabs button[aria-selected='true']:hover {
    background: transparent;
    color: #365c45;
    border-color: transparent;
    box-shadow: none;
  }
}
.filters button.active:focus-visible,
.sound-tabs button[aria-selected='true']:focus-visible {
  background: transparent;
  color: #365c45;
  border-color: transparent;
  box-shadow: none;
}
@media (max-width: 700px) {
  .sound-tabs button {
    font-size: 26px;
    padding: 13px 8px;
  }
  .story-header a {
    flex: 1 1 180px;
  }
}
/* Keep the chosen sound on a cloud after clicking or tapping. */
.sound-tabs {
  gap: 18px 14px;
  padding-top: 12px;
}
.sound-tabs button {
  flex: 0 1 auto;
}
.sound-tabs button[aria-selected='true'] {
  background: transparent;
  border-color: transparent;
  color: #283d32;
  box-shadow: none;
}
.sound-tabs button[aria-selected='true']::before {
  opacity: 1;
  transform: scale(1);
}
.sound-tabs button[aria-selected='true'] small {
  font-weight: 700;
}
.sound-tabs button[aria-selected='true'] > small {
  color: #365c45;
}
@media (max-width: 700px) {
  .sound-tabs {
    gap: 18px 12px;
  }
  .sound-tabs button {
    min-width: calc((100% - 36px) / 4);
  }
}


/* button-hover.css */
/* Ordinary controls and cloud controls have separate hover surfaces. */
@media (hover: hover) and (pointer: fine) {
  body
    :is(
      .cart-button,
      .add-button,
      .quantity button,
      .detail-add,
      .photo-thumbnails button,
      .controls button:not(:disabled),
      .collection-back,
      .button
    ):hover {
    background: #f0e0d0;
    color: #283d32;
    border-color: #d5ad91;
  }
  body .hero-copy > .button.primary:hover {
    background: #f0e0d0;
    color: #283d32;
    border-color: #d5ad91;
    box-shadow:
      0 3px 0 #d5ad91,
      0 10px 20px -12px #c56c4740;
  }
  body .hero-copy > .button.primary:hover > span {
    color: #fffaf0;
    background: #c56c47;
  }
}
/* One silhouette only: recolor the existing cloud instead of stacking a second one. */
:is(
  .header nav a,
  .filters button,
  .sound-tabs button,
  .story-header a,
  body > header > a:not(.brand)
)::after {
  content: none;
}
@media (hover: hover) and (pointer: fine) {
  :is(
      .header nav a,
      .filters button,
      .sound-tabs button,
      .story-header a,
      body > header > a:not(.brand)
    ):hover::before {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 80' preserveAspectRatio='none'%3E%3Cpath d='M30 74C14 74 4 64 4 51C4 39 12 30 25 28C26 14 42 8 57 16C66 0 91 0 104 14C119 1 145 3 153 18C171 7 194 14 198 30C221 27 236 38 236 52C236 66 224 74 207 74Z' fill='%23f0e0d0' stroke='%23d5ad91' stroke-width='1.2'/%3E%3C/svg%3E")
      center / 100% 100% no-repeat;
  }
}
:is(
    .header nav a,
    .filters button,
    .sound-tabs button,
    .story-header a,
    body > header > a:not(.brand)
  ):focus-visible::before {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 80' preserveAspectRatio='none'%3E%3Cpath d='M30 74C14 74 4 64 4 51C4 39 12 30 25 28C26 14 42 8 57 16C66 0 91 0 104 14C119 1 145 3 153 18C171 7 194 14 198 30C221 27 236 38 236 52C236 66 224 74 207 74Z' fill='%23f0e0d0' stroke='%23d5ad91' stroke-width='1.2'/%3E%3C/svg%3E")
    center / 100% 100% no-repeat;
}
/* Preserve the large letter styling despite shared navigation selectors. */
.sound-tabs button[role='tab'] {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.15;
  display: inline-flex;
  flex-direction: column;
  gap: 8px;
  min-height: 82px;
  min-width: 93px;
  padding: 15px 18px;
}
.sound-tabs button[role='tab'] small {
  font-size: 10px;
  font-weight: 400;
  line-height: 1.4;
}
.sound-tabs button[role='tab'][aria-selected='true'] small {
  font-weight: 700;
}
@media (max-width: 700px) {
  .sound-tabs button[role='tab'] {
    font-size: 26px;
    padding: 13px 8px;
    min-width: calc((100% - 36px) / 4);
    min-height: 78px;
  }
}
/* The discussion row remains an unobtrusive text control. */
body .question-area button:hover,
body .question-area button:focus-visible {
  background: transparent;
  color: #365c45;
}
body .question-area button:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
body .question-area button:hover span {
  color: #c56c47;
}
/* Text actions stay text: no rectangular hover fill. */
body :is(.product-title, .download, .wb-link, .remove-selection, .close):hover {
  background: transparent;
}
body .product-title:hover {
  color: #365c45;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}


/* brand-logo.css */
/* Cover wordmark with a slightly bolder handwritten НШ signature. */
body a.brand.site-logo {
  display: inline-flex;
  align-items: center;
  flex: 0 1 340px;
  width: 340px;
  max-width: 100%;
  min-height: 0;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
  line-height: 0;
}
body a.brand.site-logo::before,
body a.brand.site-logo::after {
  content: none;
}
.site-logo img {
  display: block;
  width: 100%;
  height: auto;
}
.header {
  flex-wrap: wrap;
}
.header nav {
  flex: 1 1 auto;
}
.story-header .site-logo {
  margin-right: auto;
}
body .story-header a.site-logo {
  flex-basis: 100%;
  width: 300px;
}
.story-header .site-logo img {
  max-width: 300px;
}
.footer a.brand.site-logo {
  flex: 0 1 auto;
  width: 290px;
}
@media (max-width: 1050px) {
  .header .cart-button {
    margin-left: auto;
  }
}
@media (max-width: 760px) {
  body a.brand.site-logo {
    flex-basis: 240px;
    width: 240px;
  }
  body .header a.brand.site-logo {
    flex-basis: min(240px, calc(100% - 115px));
  }
  body .story-header a.site-logo {
    flex-basis: 100%;
  }
  .story-header .site-logo img {
    max-width: 260px;
  }
  .footer a.brand.site-logo {
    flex-basis: auto;
  }
}


/* header-volume.css */
/* A quiet raised frame joins the wordmark, navigation and selection. */
body > .header.wrap {
  width: calc(100% - 48px);
  max-width: 1232px;
  margin: 28px auto 18px;
  padding: 20px 28px 24px;
  gap: 20px 30px;
  border: 1px solid #d8e0ca;
  border-radius: 28px;
  background: linear-gradient(125deg, #fafbf4, #edf2e4 60%, #e5ecd9);
  box-shadow:
    inset 0 2px 0 #ffffffed,
    inset 0 -2px 0 #ccd7bc44,
    0 5px 0 #dce2cf,
    0 18px 28px -22px #4d634c66;
  flex-wrap: wrap;
}
body > .header.wrap nav {
  order: 3;
  flex: 1 1 100%;
  width: 100%;
  padding-top: 20px;
  border-top: 1px solid #d8e1cc;
  gap: 12px;
  justify-content: center;
}
body > .header.wrap nav a {
  font-size: 13px;
  min-height: 46px;
  padding: 12px 18px;
  background: linear-gradient(145deg, #fcfdf7, #e3ebd6);
  border-color: #cdd8bd;
  box-shadow:
    inset 0 2px 0 #fff,
    0 4px 0 #cdd7bd,
    0 9px 16px -13px #34452a66;
}
body > .header.wrap .cart-button {
  margin-left: auto;
  background: linear-gradient(#fcfdf7, #e4ebd7);
  border-color: #cdd8bd;
  box-shadow:
    inset 0 2px 0 #fff,
    0 3px 0 #cdd7bd;
  min-height: 46px;
}
@media (hover: hover) and (pointer: fine) {
  body > .header.wrap nav a:hover {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
  }
}
body > .header.wrap nav a:focus-visible {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}
@media (max-width: 760px) {
  body > .header.wrap {
    width: calc(100% - 30px);
    margin: 22px auto 14px;
    padding: 18px 17px 22px;
    border-radius: 23px;
    gap: 18px 10px;
  }
  body > .header.wrap nav {
    gap: 13px 10px;
    padding-top: 19px;
  }
  body > .header.wrap nav a {
    font-size: 12px;
    padding: 11px 9px;
    flex: 1 1 calc(50% - 10px);
  }
  body > .header.wrap .cart-button {
    padding: 9px 10px;
    font-size: 11px;
  }
}


/* header-centered.css */
body > .header.wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 360px) minmax(0, 1fr);
  align-items: center;
}
body > .header.wrap > a.brand.site-logo {
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  max-width: 360px;
  justify-self: center;
  margin: 0;
}
body > .header.wrap .cart-button {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  margin: 0;
}
body > .header.wrap nav {
  grid-column: 1/-1;
  grid-row: 2;
  width: 100%;
  margin: 0;
}
@media (max-width: 760px) {
  body > .header.wrap {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px 12px;
  }
  body > .header.wrap > a.brand.site-logo {
    grid-column: 1/-1;
    grid-row: 1;
    width: min(100%, 320px);
    max-width: 320px;
    justify-self: center;
  }
  body > .header.wrap .cart-button {
    grid-column: 1/-1;
    grid-row: 2;
    justify-self: center;
  }
  body > .header.wrap nav {
    grid-row: 3;
  }
}


/* footer-volume.css */
body > .footer {
  position: relative;
  isolation: isolate;
  margin: 12px 24px 28px;
  padding: 37px 0;
  border: 1px solid #d5dfc6;
  border-radius: 28px;
  background: linear-gradient(125deg, #f6f8ef 0%, #e9efde 50%, #dfe8d1 100%);
  box-shadow:
    inset 0 2px 0 #ffffffed,
    inset 0 -3px 0 #c9d4b855,
    0 6px 0 #d7dfca,
    0 20px 30px -21px #4d634c66;
  overflow: hidden;
}
body > .footer::before {
  content: '';
  position: absolute;
  right: -65px;
  bottom: -150px;
  width: 290px;
  height: 290px;
  border: 28px solid #ffffff35;
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
}
body > .footer .wrap {
  position: relative;
  gap: 30px;
}
body > .footer p {
  font-family: Georgia, serif;
  font-size: 21px;
  line-height: 1.5;
  color: #526b50;
  text-shadow: 0 1px 0 #fff;
  max-width: 300px;
}
body > .footer > .wrap > span {
  padding: 11px 16px;
  border: 1px solid #d1dcc1;
  border-radius: 18px;
  background: linear-gradient(#f8faf1, #e5ecd9);
  box-shadow:
    inset 0 2px 0 #fff,
    0 3px 0 #d0dac1;
  font-size: 12px;
  line-height: 1.6;
  color: #627456;
  white-space: nowrap;
}
@media (max-width: 760px) {
  body > .footer {
    margin: 8px 15px 24px;
    padding: 28px 0;
    border-radius: 24px;
  }
  body > .footer .wrap {
    align-items: center;
    text-align: center;
    gap: 23px;
    padding-left: 22px;
    padding-right: 22px;
  }
  body > .footer p {
    font-size: 20px;
  }
  body > .footer a.brand.site-logo {
    flex-basis: auto;
    width: 260px;
    max-width: 100%;
  }
}
@media print {
  body > .footer {
    box-shadow: none;
    margin: 0;
  }
}


/* logo-shine.css */
body a.brand.site-logo {
  position: relative;
  isolation: isolate;
}
body a.brand.site-logo img {
  transition: filter 0.35s ease;
}
body a.brand.site-logo::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(
      110deg,
      transparent 40%,
      #fffbe4aa 47%,
      #ffffffed 50%,
      #fffbe4aa 53%,
      transparent 60%
    ) -150%
    0/250% 100% no-repeat;
  -webkit-mask: url('images/logo-nsh-transparent.webp') center/100% 100% no-repeat;
  mask: url('images/logo-nsh-transparent.webp') center/100% 100% no-repeat;
}
@media (hover: hover) {
  body a.brand.site-logo:hover img {
    filter: drop-shadow(0 0 5px #d7bf8170);
  }
  body a.brand.site-logo:hover::after {
    opacity: 1;
    animation: nsh-logo-shine 1.35s ease-in-out 1;
  }
}
body a.brand.site-logo:focus-visible::after {
  opacity: 1;
  animation: nsh-logo-shine 1.35s ease-in-out 1;
}
@keyframes nsh-logo-shine {
  0% {
    background-position: 150% 0;
  }
  100% {
    background-position: -150% 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  body a.brand.site-logo img {
    transition: none;
  }
  body a.brand.site-logo:hover::after,
  body a.brand.site-logo:focus-visible::after {
    animation: none;
    opacity: 0;
  }
}


/* button-glow.css */
/* Light follows existing button silhouettes, including the cloud shapes. */
@media (hover: hover) and (pointer: fine) {
  body
    :is(
      .button,
      .cart-button,
      .add-button,
      .detail-add,
      .filters button,
      .sound-tabs button,
      .header nav a,
      .story-header a:not(.brand),
      .collection-back,
      .controls button,
      .catalog-view-switch button,
      .catalog-slider-controls button,
      .wb-reviews-bottom a,
      #approach .text-link,
      #motion,
      #complete,
      #previous,
      #next,
      .star
    ):not(:disabled):not([aria-disabled='true']):hover {
    filter: brightness(1.045) drop-shadow(0 0 5px #e2cc9270) drop-shadow(0 0 11px #d5bf7438);
    animation: nsh-button-glimmer 1.3s ease-out 1;
  }
}
body
  :is(
    .button,
    .cart-button,
    .add-button,
    .detail-add,
    .filters button,
    .sound-tabs button,
    .catalog-view-switch button,
    .catalog-slider-controls button,
    #motion,
    #complete,
    #previous,
    #next,
    .star
  ):not(:disabled):focus-visible {
  filter: drop-shadow(0 0 6px #d9c58b80);
}
@keyframes nsh-button-glimmer {
  0% {
    filter: brightness(1) drop-shadow(0 0 0 #e2cc9200);
  }
  45% {
    filter: brightness(1.1) drop-shadow(0 0 7px #e2cc9290) drop-shadow(0 0 14px #d5bf7445);
  }
  100% {
    filter: brightness(1.045) drop-shadow(0 0 5px #e2cc9270) drop-shadow(0 0 11px #d5bf7438);
  }
}
@media (prefers-reduced-motion: reduce) {
  body
    :is(
      .button,
      .cart-button,
      .add-button,
      .detail-add,
      .filters button,
      .sound-tabs button,
      .header nav a,
      .story-header a:not(.brand),
      .collection-back,
      .controls button,
      .catalog-view-switch button,
      .catalog-slider-controls button,
      .wb-reviews-bottom a,
      #approach .text-link,
      #motion,
      #complete,
      #previous,
      #next,
      .star
    ):hover {
    animation: none;
  }
}


/* holiday.css */
/* Small seasonal accents, shared across the site. */
body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 76px;
  background: url('images/holiday-garland-twinkle.svg') repeat-x top center;
  background-size: 800px 80px;
  pointer-events: none;
  z-index: 5;
  opacity: 0.95;
}
.values-strip {
  position: relative;
  background: #edf0e4 !important;
  border-top: 1px solid #dce3ce;
  border-bottom: 1px solid #dce3ce;
  padding: 29px 20px 27px !important;
  overflow: hidden;
}
.values-strip::before,
.values-strip::after {
  content: '';
  position: absolute;
  top: 0;
  width: 180px;
  height: 80px;
  background: url('images/holiday-garland-twinkle.svg') center top/800px 80px no-repeat;
  opacity: 0.95;
  pointer-events: none;
}
.values-strip::before {
  left: 0;
}
.values-strip::after {
  right: 0;
  transform: scaleX(-1);
}
.values-strip .holiday-intro {
  display: block;
  text-align: center;
  margin: 0 0 18px;
  font-family: Georgia, serif;
  font-size: clamp(24px, 2.3vw, 32px);
  font-weight: 400;
  line-height: 1.2;
  color: #526b50;
}
.values-strip > .wrap {
  position: relative;
  max-width: 1120px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.values-strip > .wrap span {
  font-size: 14px;
  color: #52634f;
}
.values-strip > .wrap b {
  font-size: 19px;
  font-weight: 400;
  color: #c49a6d;
}
@media (max-width: 650px) {
  body::before {
    height: 57px;
    background-size: 600px 60px;
    opacity: 0.85;
  }
  .values-strip {
    padding: 25px 22px !important;
  }
  .values-strip > .wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    text-align: center;
  }
  .values-strip > .wrap b {
    display: none;
  }
  .values-strip > .wrap span {
    font-size: 13px;
  }
  .values-strip::before,
  .values-strip::after {
    width: 100px;
    opacity: 0.8;
  }
}
@media print {
  body::before,
  .values-strip::before,
  .values-strip::after {
    display: none;
  }
}


/* holiday-botanical.css */
/* Watercolour branches sit behind content and follow the length of the page. */
body {
  position: relative;
  isolation: isolate;
}
body::before {
  content: none !important;
}
.values-strip::before,
.values-strip::after {
  content: none !important;
}
.holiday-botanical {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  user-select: none;
}
.holiday-botanical::before,
.holiday-botanical::after {
  content: '';
  position: absolute;
  top: 90px;
  bottom: 0;
  width: clamp(135px, 18vw, 300px);
  background: url('images/holiday-watercolor-ornaments.svg') top center/100% auto repeat-y;
  opacity: 0.48;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(
    transparent,
    #000 100px,
    #000 calc(100% - 100px),
    transparent
  );
  mask-image: linear-gradient(transparent, #000 100px, #000 calc(100% - 100px), transparent);
}
.holiday-botanical::before {
  left: -48px;
}
.holiday-botanical::after {
  right: -48px;
  top: 450px;
  transform: scaleX(-1);
}
@media (max-width: 1050px) {
  .holiday-botanical::before,
  .holiday-botanical::after {
    width: 170px;
    opacity: 0.25;
  }
  .holiday-botanical::before {
    left: -70px;
  }
  .holiday-botanical::after {
    right: -70px;
  }
}
@media (max-width: 650px) {
  .holiday-botanical::before,
  .holiday-botanical::after {
    width: 140px;
    opacity: 0.2;
  }
  .holiday-botanical::before {
    left: -82px;
  }
  .holiday-botanical::after {
    right: -82px;
    top: 650px;
  }
}
@media print {
  .holiday-botanical {
    display: none;
  }
}

/* A tiny, slow breeze; right-hand decoration retains its mirrored pose. */
.holiday-botanical::before {
  transform-origin: 50% 25%;
  animation: botanical-breeze-left 19s ease-in-out infinite;
}
.holiday-botanical::after {
  transform-origin: 50% 30%;
  animation: botanical-breeze-right 23s ease-in-out -8s infinite;
}
@keyframes botanical-breeze-left {
  0%,
  100% {
    transform: translateX(-1px) rotate(-0.16deg);
  }
  50% {
    transform: translateX(2px) rotate(0.16deg);
  }
}
@keyframes botanical-breeze-right {
  0%,
  100% {
    transform: scaleX(-1) translateX(-1px) rotate(0.14deg);
  }
  50% {
    transform: scaleX(-1) translateX(2px) rotate(-0.14deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .holiday-botanical::before,
  .holiday-botanical::after {
    animation: none;
  }
  .holiday-botanical::before {
    transform: none;
  }
  .holiday-botanical::after {
    transform: scaleX(-1);
  }
}


/* product-page.css */
.product-page {
  max-width: 1184px;
  margin: auto;
  padding: 22px 36px 70px;
}
.product-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  font-size: 13px;
  line-height: 1.7;
  color: #718166;
  margin: 8px 0 30px;
}
.product-breadcrumbs a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 42px;
  align-items: start;
}
.product-gallery {
  padding: 20px;
  border: 1px solid #d9e1cc;
  border-radius: 28px;
  background: linear-gradient(140deg, #fafbf4, #e7edda);
  box-shadow:
    inset 0 2px #fff,
    0 5px #dbe2ce,
    0 20px 30px -24px #365c4566;
}
.product-main-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 18px;
}
.product-photo-list {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  padding: 16px 0 3px;
}
.product-photo-list button {
  flex: 0 0 65px;
  height: 70px;
  border: 1px solid #cdd8be;
  background: #fafbf4;
  border-radius: 12px;
  padding: 4px;
}
.product-photo-list button[aria-pressed='true'] {
  border: 2px solid #728d5d;
}
.product-photo-list img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 7px;
}
.product-photo-note {
  font-size: 12px;
  color: #748368;
  line-height: 1.65;
  margin: 14px 0 0;
}
.product-copy h1 {
  font:
    clamp(30px, 3vw, 44px) / 1.15 Georgia,
    serif;
  color: #36543e;
  margin: 0 0 18px;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.product-copy .eyebrow {
  margin-top: 8px;
  color: #a57754;
}
.product-lead {
  font-size: 16px;
  line-height: 1.85;
  color: #607257;
}
.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0;
}
.product-tags span {
  font-size: 12px;
  padding: 8px 12px;
  border: 1px solid #d6dfca;
  border-radius: 18px;
  background: #edf2e3;
  color: #617458;
}
.product-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 25px 0 17px;
}
.product-actions .button {
  min-height: 48px;
  padding: 13px 20px;
  font-size: 14px;
}
.product-actions .product-save {
  background: #edf2e3;
  color: #36543e;
  border: 1px solid #cad7bb;
  box-shadow:
    inset 0 2px #fff,
    0 3px #ced8bf;
  border-radius: 24px;
}
.product-actions .product-save[aria-pressed='true'] {
  background: #dbe6cd;
}
.product-price-note,
.product-status {
  font-size: 13px;
  line-height: 1.8;
  color: #748368;
}
.product-status {
  min-height: 24px;
  color: #526c45;
}
.product-information {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  margin-top: 45px;
}
.product-info-card {
  padding: 28px;
  border: 1px solid #d8e1ca;
  border-radius: 24px;
  background: linear-gradient(140deg, #fafbf4, #e9efde);
  box-shadow:
    inset 0 2px #fff,
    0 4px #dbe2ce;
}
.product-page h2 {
  font:
    30px/1.25 Georgia,
    serif;
  margin: 0 0 18px;
  color: #36543e;
}
.product-info-card p,
.product-info-card li {
  font-size: 15px;
  line-height: 1.85;
  color: #607257;
}
.product-info-card ul {
  padding-left: 20px;
}
.product-specs {
  margin: 0;
}
.product-specs div {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 12px 0;
  border-bottom: 1px solid #d9e2ce;
  font-size: 14px;
  line-height: 1.6;
}
.product-specs dt {
  color: #728168;
}
.product-specs dd {
  text-align: right;
  margin: 0;
  color: #36543e;
}
.product-related {
  margin-top: 50px;
}
.product-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.product-related-grid a {
  display: flex;
  flex-direction: column;
  padding: 16px;
  background: linear-gradient(135deg, #fafbf4, #e7edda);
  border: 1px solid #d9e1cc;
  border-radius: 22px;
  box-shadow:
    inset 0 2px #fff,
    0 4px #dbe2ce;
  gap: 15px;
  font:
    19px/1.4 Georgia,
    serif;
}
.product-related-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 14px;
}
.product-related-grid a:hover {
  filter: drop-shadow(0 0 8px #ddcd9760);
}
@media (max-width: 800px) {
  .product-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .product-gallery {
    max-width: 520px;
    width: 100%;
    margin: auto;
  }
  .product-information {
    grid-template-columns: 1fr;
  }
  .product-page {
    padding: 15px 22px 50px;
  }
  .product-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .product-copy h1 {
    font-size: 34px;
  }
}
@media (max-width: 480px) {
  .product-gallery {
    padding: 14px;
  }
  .product-actions {
    flex-direction: column;
  }
  .product-actions .button {
    justify-content: center;
    text-align: center;
  }
  .product-related-grid {
    grid-template-columns: 1fr;
  }
  .product-info-card {
    padding: 23px;
  }
  .product-copy h1 {
    font-size: 30px;
  }
  .product-page h2 {
    font-size: 27px;
  }
}
.product-slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 15px 0 0;
}
.product-slider-controls[hidden] {
  display: none;
}
.product-slider-controls button {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border: 1px solid #c9d6b9;
  border-radius: 50%;
  background: linear-gradient(#fbfcf5, #e1e9d3);
  box-shadow:
    inset 0 2px #fff,
    0 3px #cdd7bf;
  color: #536e45;
  font-size: 26px;
}
.product-slider-controls button:hover {
  filter: drop-shadow(0 0 6px #decb9670);
}
.product-slider-controls span {
  min-width: 100px;
  text-align: center;
  color: #6d7e60;
  font-size: 13px;
}
.product-main-image {
  touch-action: pan-y;
}
.product-main-image:focus-visible {
  outline: 3px solid #aabb92;
  outline-offset: 3px;
}


/* catalog-photos.css */
#products .product-visual.real-photo {
  position: relative;
  touch-action: pan-y;
  background: linear-gradient(140deg, #f1f5e8, #dfe9d3) !important;
}
#products .product-card .real-photo img {
  object-fit: contain;
  mix-blend-mode: normal;
  transition: opacity 0.2s ease;
  transform: none !important;
}
.catalog-photo-bars {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 9px;
  display: flex;
  gap: 4px;
  pointer-events: none;
  z-index: 1;
}
.catalog-photo-bars i {
  display: block;
  flex: 1;
  height: 3px;
  border-radius: 3px;
  background: #bdcbaa;
  box-shadow: 0 1px 2px #ffffff80;
}
.catalog-photo-bars i.current {
  background: #668554;
}
.product-main-image {
  background: linear-gradient(140deg, #f1f5e8, #dfe9d3);
}
.product-photo-list button {
  background: #e7efdc;
}
.product-photo-list img {
  background: #e7efdc;
}
@media (prefers-reduced-motion: reduce) {
  #products .product-card .real-photo img {
    transition: none;
  }
}


/* site-utilities.css */
.picker-controls {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
/* Keep the hero illustration inside the page at intermediate desktop widths. */
.hero .hero-art.real-hero.site-cover {
  width: 100%;
  margin-right: 0;
  min-width: 0;
}
.picker-controls label:last-child {
  grid-column: 1/-1;
}
.picker-task-info {
  font-size: 0.875rem;
  color: #526849;
  line-height: 1.6;
}
.parent-guide {
  max-width: 1100px;
  margin: 14px auto 24px;
  border: 1px solid #d3dfc5;
  border-radius: 20px;
  background: #f1f5e9;
  color: #294638;
  box-shadow: 0 3px 0 #dce5d0;
}
.parent-guide summary {
  padding: 18px 22px;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1.5;
}
.parent-guide > div {
  padding: 0 22px 20px;
  line-height: 1.75;
}
.parent-guide ol {
  padding-left: 24px;
}
.parent-guide li {
  margin: 10px 0;
}
.parent-note {
  font-size: 0.875rem;
  color: #526849;
}
.site-utilities {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 30px auto;
  padding: 18px;
  color: #294638;
}
.site-utilities button,
.site-utility-dialog button {
  font: inherit;
  line-height: 1.4;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid #c8d5b9;
  border-radius: 20px;
  background: linear-gradient(145deg, #fffef8, #e6eed9);
  color: #294638;
  box-shadow: 0 3px 0 #d7dfca;
  cursor: pointer;
}
.site-utilities > p {
  width: 100%;
  text-align: center;
  font-size: 0.875rem;
}
.site-utilities > p:empty {
  display: none;
}
.site-utility-dialog {
  width: min(620px, 92vw);
  max-width: 92vw;
  max-height: 90dvh;
  box-sizing: border-box;
  border: 1px solid #c8d5b9;
  border-radius: 24px;
  padding: 26px;
  background: #fafbf5;
  color: #294638;
  box-shadow: 0 20px 70px #29463844;
}
.site-utility-dialog::backdrop {
  background: #18302688;
  backdrop-filter: blur(4px);
}
.site-utility-dialog h2 {
  font:
    1.8rem Georgia,
    serif;
  margin: 0 0 18px;
}
.site-utility-dialog p,
.site-utility-dialog li {
  line-height: 1.65;
}
.site-utility-dialog li {
  margin: 12px 0;
}
.site-utility-dialog label {
  display: block;
  line-height: 1.5;
  margin: 16px 0;
}
.site-utility-dialog select,
.site-utility-dialog textarea {
  display: block;
  box-sizing: border-box;
  width: 100%;
  font: inherit;
  color: #294638;
  border: 1px solid #c8d5b9;
  border-radius: 12px;
  padding: 12px;
  background: #fffef8;
  margin-top: 8px;
}
.site-utility-dialog textarea {
  resize: vertical;
}
.utility-dialog-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.utility-small {
  font-size: 0.875rem;
}
.site-utility-dialog :is(button, select, textarea):focus-visible,
.site-utilities button:focus-visible,
.parent-guide summary:focus-visible {
  outline: 3px solid #a78050;
  outline-offset: 3px;
}
body.lesson-focus .site-utilities {
  display: none;
}
@media (max-width: 800px) {
  .picker-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 480px) {
  .picker-controls {
    grid-template-columns: 1fr;
  }
  .site-utility-dialog {
    padding: 20px;
  }
  .parent-guide {
    margin: 14px 0 24px;
  }
  .site-utilities {
    padding: 14px;
    margin: 24px 12px;
  }
}
.site-back-to-top {
  position: fixed;
  left: max(16px, env(safe-area-inset-left));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 24;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid #becdad;
  border-radius: 50%;
  background: linear-gradient(145deg, #fffef8, #e4ecd7);
  color: #36543e;
  box-shadow:
    0 3px 0 #cfdbc0,
    0 5px 16px #29463818;
  cursor: pointer;
}
.site-back-to-top[hidden] {
  display: none !important;
}
.site-back-to-top svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.site-back-to-top:hover {
  background: #f2e5d7;
}
.site-back-to-top:focus-visible {
  outline: 3px solid #a78050;
  outline-offset: 4px;
}
@media (max-width: 480px) {
  .site-back-to-top {
    width: 44px;
    height: 44px;
    left: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
  }
}


/* lesson-navigation.css */
.lesson-hub {
  max-width: 1200px;
  margin: 48px auto;
  padding: 0 20px;
  color: #294638;
  scroll-margin-top: 16px;
}
.hub-heading h2 {
  font:
    clamp(1.8rem, 3vw, 2.5rem) / 1.25 Georgia,
    serif;
  margin: 12px 0;
}
.hub-heading em {
  font-weight: normal;
  color: #b76c48;
}
.hub-heading p {
  line-height: 1.65;
  max-width: 680px;
}
.hub-resume {
  padding: 16px 0 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  line-height: 1.5;
}
.hub-resume span {
  font-size: 0.9375rem;
  color: #526849;
}
.hub-resume a {
  color: #294638;
  text-underline-offset: 4px;
  font-weight: 600;
}
.lesson-hub-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 8px;
  border: 1px solid #d5dfc8;
  border-radius: 22px;
  background: #f1f5e9;
  box-shadow: 0 3px 0 #dce5d0;
  margin-bottom: 24px;
  position: sticky;
  top: 8px;
  z-index: 25;
}
.lesson-hub-tabs button {
  font: inherit;
  min-height: 54px;
  line-height: 1.4;
  padding: 12px;
  border: 1px solid transparent;
  border-radius: 16px;
  background: transparent;
  color: #526849;
  cursor: pointer;
}
.lesson-hub-tabs button[aria-selected='true'] {
  background: #fffdf7;
  color: #294638;
  border-color: #c7d5b7;
  box-shadow: 0 3px 10px #29463810;
}
.lesson-hub-tabs span {
  display: inline-block;
  min-width: 22px;
  border-radius: 15px;
  padding: 2px 5px;
  margin-left: 4px;
  background: #e2ead7;
  font-size: 0.8rem;
}
.lesson-navigation-panel[hidden] {
  display: none !important;
}
.lesson-hub .material-picker,
.lesson-hub .lesson-library {
  margin: 0;
  max-width: none;
  width: 100%;
  box-sizing: border-box;
}
.hub-news {
  max-width: 1160px;
  margin: 28px auto 48px;
  border: 1px solid #d7dfca;
  border-radius: 20px;
  background: #f4f6ee;
  color: #294638;
}
.hub-news > summary {
  padding: 18px 24px;
  cursor: pointer;
}
.hub-news .lesson-library {
  margin: 0;
  box-shadow: none;
  border: 0;
  background: transparent;
}
.picker-main-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: auto;
}
.picker-main-actions > * {
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}
.picker-main-actions:has(> :only-child) {
  grid-template-columns: 1fr;
}
.picker-main-actions .picker-primary:first-child {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 14px;
  font:
    700 16px/1.4 Arial,
    sans-serif;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  border: 1px solid #3d624b;
  border-radius: 18px;
  background: linear-gradient(140deg, #4e7658, #365641);
  color: #fffdf7;
  box-shadow: 0 3px 0 #2b4936;
  cursor: pointer;
}
.picker-main-actions .lesson-plan-add {
  font-size: 0.875rem;
}
.material-more {
  border-top: 1px solid #dbe2d0;
  margin-top: 16px;
  padding-top: 8px;
}
.material-more summary {
  cursor: pointer;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #526849;
  padding: 8px 0;
}
.material-more > div {
  display: grid;
  gap: 10px;
  padding-top: 10px;
}
.material-more a {
  color: #294638;
  padding: 10px;
  text-align: center;
}
.material-more button,
.plan-edit-toggle,
.plan-open-item {
  font: inherit;
  font-size: 0.875rem;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid #c7d4b6;
  border-radius: 18px;
  background: #edf3e5;
  color: #294638;
  cursor: pointer;
}
#lesson-plan .lesson-plan-order {
  display: none;
}
#lesson-plan.plan-editing .lesson-plan-order {
  display: flex;
}
#lesson-plan.plan-editing .plan-open-item {
  display: none;
}
.plan-start-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  margin: 18px 0;
}
.plan-start-actions > a {
  color: #294638;
  padding: 12px;
}
.plan-start-actions > .lesson-link {
  background: #3d624b;
  color: #fffdf7;
  padding: 14px 24px;
}
.plan-edit-toggle {
  margin-left: auto;
}
.plan-extra-actions {
  border-top: 1px solid #d7dfca;
  margin-top: 20px;
  padding-top: 14px;
}
.plan-extra-actions > summary {
  cursor: pointer;
  line-height: 1.6;
  padding: 10px 0;
}
.plan-extra-actions .lesson-plus-plan-actions {
  border-top: 0;
  margin-top: 0;
  padding-top: 14px;
}
.plan-open-item {
  margin-left: auto;
  white-space: nowrap;
}
.session-adult {
  position: relative;
  margin-left: auto;
}
.session-adult > summary {
  cursor: pointer;
  list-style-position: inside;
  min-height: 44px;
  padding: 12px;
  box-sizing: border-box;
  font-size: 0.875rem;
}
.session-adult-content {
  position: absolute;
  right: 0;
  top: 100%;
  width: min(500px, calc(100vw - 40px));
  max-height: 75dvh;
  overflow: auto;
  padding: 20px;
  box-sizing: border-box;
  border: 1px solid #ccd9bd;
  border-radius: 20px;
  background: #fafbf5;
  box-shadow: 0 16px 40px #29463826;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.session-adult .lesson-toolbar {
  margin: 0;
  padding: 12px;
  box-shadow: none;
}
.session-adult .parent-guide {
  margin: 0;
}
.session-adult-content > a {
  color: #294638;
}
.lesson-session-bar {
  position: relative;
  z-index: 40;
}
.session-back {
  font-weight: 600;
  white-space: nowrap;
}
body.lesson-focus .session-adult .lesson-toolbar {
  display: flex !important;
}
.lesson-hub-tabs button:focus-visible,
.material-more summary:focus-visible,
.material-more button:focus-visible,
.picker-primary:focus-visible,
.plan-edit-toggle:focus-visible,
.plan-open-item:focus-visible,
.plan-extra-actions > summary:focus-visible,
.session-adult > summary:focus-visible,
.hub-news > summary:focus-visible {
  outline: 3px solid #a78050;
  outline-offset: 3px;
}
@media (max-width: 700px) {
  .lesson-hub {
    padding: 0 14px;
    margin: 32px auto;
  }
  .lesson-hub-tabs {
    gap: 4px;
    padding: 5px;
    border-radius: 18px;
  }
  .lesson-hub-tabs button {
    padding: 10px 5px;
    font-size: 0.875rem;
  }
  .lesson-hub-tabs span {
    margin-left: 0;
  }
  .hub-news {
    margin: 24px 14px;
  }
  .plan-start-actions > .lesson-link {
    width: 100%;
  }
  .plan-edit-toggle {
    margin-left: 0;
  }
  #lesson-plan .lesson-plan-list li {
    gap: 12px;
  }
  .lesson-session-bar {
    gap: 6px;
    padding: 10px;
  }
  .lesson-session-bar > button {
    font-size: 0.875rem;
    padding: 10px;
  }
  .session-adult-content {
    position: fixed;
    top: 90px;
    right: 16px;
    max-height: 70dvh;
  }
  .plan-open-item {
    margin-left: 0;
  }
  .session-adult {
    margin-left: 0;
  }
  .hub-heading h2 {
    font-size: 1.9rem;
  }
}
.lesson-hub .picker-controls {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.lesson-hub .picker-controls label:last-child {
  grid-column: auto;
}
.picker-refine {
  margin: 0 0 20px;
  border: 1px solid #d7dfca;
  border-radius: 16px;
  padding: 0 16px;
  background: #ffffff55;
}
.picker-refine > summary {
  cursor: pointer;
  padding: 13px 0;
  color: #526849;
  font-size: 0.9375rem;
}
.picker-refine > summary:focus-visible {
  outline: 3px solid #a78050;
  outline-offset: 3px;
}
.lesson-hub .picker-refine-controls {
  margin: 6px 0 14px;
}
.lesson-hub .picker-refine-controls label:last-of-type {
  grid-column: 1/-1;
}
/* On small screens, navigation stays in the page flow so it cannot cover a task. */
.lesson-hub-tabs {
  --active-tab: 0;
  --switch-pad: 8px;
  --switch-gap: 8px;
  isolation: isolate;
  background: #e5ebdd;
}
.lesson-hub-tabs::before {
  content: '';
  position: absolute;
  left: var(--switch-pad);
  top: var(--switch-pad);
  bottom: var(--switch-pad);
  width: calc((100% - 2 * var(--switch-pad) - 2 * var(--switch-gap)) / 3);
  border: 1px solid #d1dbc5;
  box-sizing: border-box;
  border-radius: 16px;
  background: linear-gradient(150deg, #ffffff, #fafcf5);
  box-shadow:
    0 2px 5px #29463818,
    0 1px 2px #2946380d;
  transform: translateX(calc(var(--active-tab) * (100% + var(--switch-gap))));
  transition: transform 300ms cubic-bezier(0.22, 0.8, 0.2, 1);
  pointer-events: none;
  z-index: 0;
}
.lesson-hub-tabs button {
  position: relative;
  z-index: 1;
  transition: color 200ms ease;
}
.lesson-hub-tabs button[aria-selected='true'] {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  color: #294638;
}
@media (max-width: 700px) {
  .lesson-hub-tabs {
    --switch-pad: 5px;
    --switch-gap: 4px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .lesson-hub-tabs::before,
  .lesson-hub-tabs button {
    transition: none;
  }
}
.session-adult-trigger {
  font: inherit;
  font-size: 0.875rem;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid #c9d5ba;
  border-radius: 18px;
  background: #fafcf4;
  color: #294638;
  cursor: pointer;
}
.adult-settings-dialog {
  width: min(570px, 92vw);
  max-width: 92vw;
  max-height: 90dvh;
  box-sizing: border-box;
  padding: 0;
  border: 1px solid #cbd8bf;
  border-radius: 24px;
  background: #fafbf5;
  color: #294638;
  box-shadow: 0 24px 80px #18302640;
}
.adult-settings-dialog[open] {
  display: flex;
  flex-direction: column;
}
.adult-settings-dialog::backdrop {
  background: #18302677;
  backdrop-filter: blur(4px);
}
.adult-settings-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px 18px;
  border-bottom: 1px solid #dce4d2;
  flex-shrink: 0;
  max-width: none;
  margin: 0;
}
.adult-settings-header h2 {
  font:
    1.7rem/1.3 Georgia,
    serif;
  margin: 0;
  color: #294638;
}
.adult-settings-header p {
  margin: 6px 0 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #617156;
}
.adult-settings-x {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #cbd8bf;
  border-radius: 50%;
  background: #edf3e5;
  color: #294638;
  cursor: pointer;
}
.adult-settings-x svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}
.adult-settings-body {
  padding: 20px 24px;
  overflow: auto;
  overscroll-behavior: contain;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.adult-settings-actions {
  display: grid;
  gap: 12px;
}
.adult-settings-actions > a {
  text-align: center;
  padding: 12px;
  color: #294638;
}
.adult-settings-actions > button,
.adult-settings-done {
  font: inherit;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid #c8d5b9;
  border-radius: 18px;
  background: #edf3e5;
  color: #294638;
  cursor: pointer;
}
.adult-settings-body .lesson-toolbar {
  margin: 0;
  padding: 16px;
  gap: 12px;
  box-shadow: none;
}
body.lesson-focus .adult-settings-dialog .lesson-toolbar {
  display: flex !important;
}
.adult-settings-body .parent-guide {
  margin: 0;
}
.adult-settings-footer {
  padding: 16px 24px 22px;
  border-top: 1px solid #dce4d2;
  flex-shrink: 0;
  margin: 0;
  background: transparent;
}
.adult-settings-done {
  width: 100%;
  font-size: 16px;
  line-height: 1.4;
  background: #3d624b;
  border-color: #3d624b;
  color: #fffdf7;
  font-weight: 600;
}
.adult-settings-dialog button:focus-visible,
.session-adult-trigger:focus-visible {
  outline: 3px solid #a78050;
  outline-offset: 3px;
}
@media (max-width: 480px) {
  .adult-settings-header {
    padding: 18px 18px 16px;
  }
  .adult-settings-body {
    padding: 16px 18px;
  }
  .adult-settings-footer {
    padding: 14px 18px 18px;
  }
}
@media (max-width: 900px), (max-height: 600px) and (pointer: coarse) {
  .lesson-hub-tabs,
  .lesson-session-bar,
  body.lesson-focus .lesson-session-bar {
    position: static;
    top: auto;
    z-index: auto;
  }
  .lesson-hub-tabs {
    position: relative;
  }
}
@media (max-width: 480px) {
  .lesson-hub .picker-controls {
    grid-template-columns: 1fr;
  }
}

