/* Міфологія editorial collection landing — 2026-09-11. */
body.term-mifolgy {
  --myth-ink: #111;
  --myth-red: #a7070b;
  --myth-line: #d9d9d7;
  background: #fff;
}
body.term-mifolgy .shop-main { padding-top: 0; padding-bottom: 18px; overflow-x: clip; background: #fff; }
body.term-mifolgy .shop-main > .container { max-width: 1520px; padding: 0 36px 18px; }
body.term-mifolgy .shop-main > .container > .woocommerce-breadcrumb,
body.term-mifolgy .woocommerce-products-header { display: none; }

body.term-mifolgy .mifology-landing { width: 100vw; margin-left: calc(50% - 50vw); padding: 0 max(36px, calc((100vw - 1448px) / 2)); }
body.term-mifolgy .mifology-landing__breadcrumb { display: flex; gap: 9px; align-items: center; max-width: 1448px; margin: 0 auto; padding: 18px 0 8px; color: #666; font-size: 12px; }
body.term-mifolgy .mifology-landing__breadcrumb a { color: inherit; }
body.term-mifolgy .mifology-landing__breadcrumb strong { color: #111; }
body.term-mifolgy .mifology-hero { position: relative; display: grid; min-height: 520px; grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); max-width: 1448px; margin: 0 auto; overflow: hidden; background: #fff; }
body.term-mifolgy .mifology-hero__copy { position: relative; z-index: 2; align-self: center; padding: 24px 0 40px 22px; color: var(--myth-ink); }
body.term-mifolgy .mifology-hero__eyebrow { display: block; margin-bottom: 9px; font-family: Georgia, serif; font-size: 15px; letter-spacing: .34em; }
body.term-mifolgy .mifology-hero h1 { margin: 0 0 4px; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(3.9rem, 7.2vw, 7.2rem); font-weight: 600; letter-spacing: -.055em; line-height: .86; text-transform: uppercase; }
body.term-mifolgy .mifology-hero__accent { margin: 0 0 13px; color: var(--myth-red); font-family: Georgia, 'Times New Roman', serif; font-size: clamp(1.05rem, 1.9vw, 1.55rem); font-weight: 600; letter-spacing: .22em; line-height: 1.12; text-transform: uppercase; }
body.term-mifolgy .mifology-hero__lead { margin: 0 0 17px; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(1rem, 1.55vw, 1.35rem); line-height: 1.34; }
body.term-mifolgy .mifology-hero__cta { display: inline-flex; min-height: 45px; align-items: center; gap: 14px; padding: 0 22px; color: #fff; background: #111; font-family: Georgia, serif; font-size: 13px; font-weight: 700; text-transform: uppercase; transition: transform .2s ease, background .2s ease; }
body.term-mifolgy .mifology-hero__cta:hover { color: #fff; background: var(--myth-red); transform: translateY(-2px); }
body.term-mifolgy .mifology-hero__signature { display: block; margin-top: 27px; font-family: Georgia, serif; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; }
body.term-mifolgy .mifology-hero__art { min-height: 520px; background: url('../images/mifology-hero-art-v8.webp') center right / cover no-repeat; }
body.term-mifolgy .mifology-hero__note { position: absolute; z-index: 3; top: 31%; right: 3.5%; display: grid; gap: 12px; color: #171717; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(.8rem, 1.35vw, 1.18rem); font-weight: 600; line-height: 1.5; letter-spacing: .04em; text-align: center; text-transform: uppercase; }
body.term-mifolgy .mifology-hero__note i { display: block; width: 26px; height: 1px; margin: 0 auto; background: #222; }

body.term-mifolgy .mifology-themes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; max-width: 1448px; margin: 10px auto 30px; }
body.term-mifolgy .mifology-theme-card { position: relative; display: flex; min-height: 0; aspect-ratio: 626 / 360; flex-direction: column; justify-content: flex-end; overflow: hidden; padding: 22px; color: #fff; background: #151515 var(--mifology-card-image) center / cover no-repeat; border-radius: 2px; isolation: isolate; }
body.term-mifolgy .mifology-theme-card::before { display: none; }
body.term-mifolgy .mifology-theme-card__title { font-family: Georgia, serif; font-size: clamp(1.45rem, 2.4vw, 2.25rem); font-weight: 700; line-height: 1; }
body.term-mifolgy .mifology-theme-card__sub { margin-top: 8px; font-family: Georgia, serif; font-size: 12px; line-height: 1.25; text-transform: uppercase; }
body.term-mifolgy .mifology-theme-card__arrow { position: absolute; right: 20px; bottom: 18px; display: grid; width: 37px; height: 37px; place-items: center; border: 1px solid #fff; border-radius: 50%; font-size: 22px; transition: transform .2s ease, background .2s ease; }
/* The supplied editorial card artwork already contains its title, subtitle and arrow. */
body.term-mifolgy .mifology-theme-card__title,
body.term-mifolgy .mifology-theme-card__sub { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
body.term-mifolgy .mifology-theme-card__arrow { display: none; }
body.term-mifolgy .mifology-theme-card:hover { color: #fff; }
body.term-mifolgy .mifology-theme-card:hover .mifology-theme-card__arrow { background: var(--myth-red); transform: translateX(4px); }

body.term-mifolgy .mifology-products-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; max-width: 1448px; margin: 16px auto 12px; padding-top: 16px; border-top: 1px solid var(--myth-line); }
body.term-mifolgy .mifology-products-heading h2 { margin: 0; font-family: Georgia, serif; font-size: clamp(1.45rem, 2.8vw, 2.2rem); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
body.term-mifolgy .mifology-products-heading span { color: #555; font-family: Georgia, serif; font-size: 12px; text-transform: uppercase; }
body.term-mifolgy .shop-quick-links { position: static; display: flex; flex-wrap: wrap; gap: 9px; width: 100%; max-width: 1448px; min-height: 0; max-height: none; margin: 0 auto 18px; padding: 0; overflow: visible; background: transparent; border: 0; box-shadow: none; transform: none; }
body.term-mifolgy .shop-quick-links__item,
body.term-mifolgy .shop-quick-links__item:hover,
body.term-mifolgy .shop-quick-links__item--current { display: inline-flex; width: auto; min-width: 90px; height: 34px; align-items: center; justify-content: center; padding: 0 20px; color: #111; background: #fff; border: 1px solid #cfcfcd; border-radius: 0; font-family: Georgia, serif; font-size: 11px; font-weight: 700; letter-spacing: .04em; line-height: 1; writing-mode: horizontal-tb; transform: none; }
body.term-mifolgy .shop-quick-links__item:hover,
body.term-mifolgy .shop-quick-links__item--current { color: #fff; background: #111; border-color: #111; }
body.term-mifolgy.woocommerce .woocommerce-result-count { margin: 4px 0 12px; color: #666; font-family: Georgia, serif; font-size: 12px; }
body.term-mifolgy.woocommerce .woocommerce-ordering { margin: 0 0 12px; }
body.term-mifolgy.woocommerce .woocommerce-ordering select { min-width: 210px; min-height: 36px; border-color: #cfcfcd; border-radius: 0; font-family: Georgia, serif; font-size: 12px; }
body.term-mifolgy.woocommerce ul.products { clear: both; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
body.term-mifolgy.woocommerce ul.products li.product { background: #fafafa; border: 1px solid #eee; border-radius: 0; box-shadow: none; }
body.term-mifolgy.woocommerce ul.products li.product a img { margin-bottom: 10px; background: #f1f1f1; }
body.term-mifolgy.woocommerce ul.products li.product .woocommerce-loop-product__title { padding-inline: 10px; font-family: Georgia, serif; font-size: 13px; }
body.term-mifolgy.woocommerce ul.products li.product .price { padding-inline: 10px; font-family: Georgia, serif; font-size: 14px; }
body.term-mifolgy .mifology-story { position: relative; display: grid; min-height: 260px; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); align-items: center; margin: 34px 0 20px; overflow: hidden; background: #fff; border-top: 1px solid #eee; border-bottom: 1px solid #eee; }
body.term-mifolgy .mifology-story__copy { position: relative; z-index: 2; grid-column: 1; grid-row: 1; padding: 26px 0 26px 18px; }
body.term-mifolgy .mifology-story__copy h2 { margin: 0; font-family: Georgia, serif; font-size: clamp(1.8rem, 3.4vw, 3.2rem); font-weight: 600; line-height: .98; text-transform: uppercase; }
body.term-mifolgy .mifology-story__copy span { display: block; width: 36px; height: 2px; margin: 18px 0 11px; background: var(--myth-red); }
body.term-mifolgy .mifology-story__copy p { margin: 0; font-family: Georgia, serif; font-size: 15px; line-height: 1.35; }
body.term-mifolgy .mifology-story__art { min-height: 260px; grid-column: 2; grid-row: 1; background: #fff url('../images/mifology-story-art-v6.webp') center center / 100% auto no-repeat; }
body.term-mifolgy .mifology-story__note { position: absolute; z-index: 3; right: 3.5%; top: 45%; color: #161616; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(1rem, 1.65vw, 1.35rem); font-style: italic; font-weight: 600; line-height: 1.12; text-align: center; }
body.term-mifolgy .mifology-story__note i { display: block; width: 74px; height: 2px; margin: 9px auto 0; background: var(--myth-red); transform: rotate(-6deg); }

/* A paginated archive is a catalogue page, not a second landing page. */
body.term-mifolgy.paged .shop-main { padding-bottom: 0; }
body.term-mifolgy.paged .shop-main > .container { padding-bottom: 18px; }
body.term-mifolgy.paged .woocommerce-pagination { margin-bottom: 0; }

@media (max-width: 1180px) {
  body.term-mifolgy .shop-main > .container { padding-inline: 22px; }
  body.term-mifolgy .mifology-landing { padding-inline: 22px; }
  body.term-mifolgy.woocommerce ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
  body.term-mifolgy .mifology-hero { grid-template-columns: minmax(0, 1fr); min-height: 680px; }
  body.term-mifolgy .mifology-hero__copy { align-self: start; padding: 34px 20px 0; }
  body.term-mifolgy .mifology-hero__art { position: absolute; inset: auto 0 0; height: 360px; min-height: 0; background-position: 68% center; background-size: cover; }
  body.term-mifolgy .mifology-hero__note { top: 38%; right: 5%; font-size: 11px; }
  body.term-mifolgy .mifology-hero__copy::after { position: absolute; z-index: -1; inset: 0; content: ''; background: linear-gradient(180deg, #fff 48%, rgb(255 255 255 / 0%) 100%); }
  body.term-mifolgy .mifology-hero h1 { font-size: clamp(3.5rem, 15vw, 6rem); }
  body.term-mifolgy .mifology-hero__lead { font-size: 15px; }
  body.term-mifolgy .mifology-themes { grid-template-columns: 1fr; }
  body.term-mifolgy .mifology-theme-card { min-height: 150px; }
  body.term-mifolgy.woocommerce ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body.term-mifolgy .mifology-story { grid-template-columns: 1fr; }
  body.term-mifolgy .mifology-story__art { min-height: 200px; grid-column: 1; grid-row: 1; background-size: cover; }
  body.term-mifolgy .mifology-story__copy { grid-column: 1; grid-row: 2; }
  body.term-mifolgy .mifology-story__note { top: 28%; right: 4%; font-size: 12px; }
  body.term-mifolgy .mifology-story__note i { width: 54px; margin-top: 6px; }
}
@media (max-width: 560px) {
  body.term-mifolgy .shop-main > .container { padding-inline: 12px; }
  body.term-mifolgy .mifology-landing { padding-inline: 12px; }
  body.term-mifolgy .mifology-landing__breadcrumb { padding-top: 12px; font-size: 10px; }
  body.term-mifolgy .mifology-hero { min-height: 620px; }
  body.term-mifolgy .mifology-hero__copy { padding: 28px 10px 0; }
  body.term-mifolgy .mifology-hero__eyebrow { font-size: 11px; }
  body.term-mifolgy .mifology-hero__accent { font-size: 14px; letter-spacing: .12em; }
  body.term-mifolgy .mifology-hero__lead { font-size: 13px; }
  body.term-mifolgy .mifology-hero__signature { font-size: 8px; letter-spacing: .1em; }
  body.term-mifolgy .mifology-hero__art { height: 315px; background-position: 68% center; }
  body.term-mifolgy .mifology-hero__note { top: auto; right: 8px; bottom: 210px; font-size: 9px; gap: 7px; }
  body.term-mifolgy .mifology-products-heading { align-items: flex-end; }
  body.term-mifolgy .mifology-products-heading h2 { font-size: 20px; letter-spacing: .08em; }
  body.term-mifolgy .mifology-products-heading span { font-size: 9px; }
  body.term-mifolgy .shop-quick-links { gap: 6px; }
  body.term-mifolgy .shop-quick-links__item,
  body.term-mifolgy .shop-quick-links__item:hover,
  body.term-mifolgy .shop-quick-links__item--current { min-width: 0; flex: 1 1 calc(50% - 6px); padding: 0 7px; font-size: 10px; }
  body.term-mifolgy.woocommerce .woocommerce-ordering,
  body.term-mifolgy.woocommerce .woocommerce-ordering select { width: 100%; }
  body.term-mifolgy.woocommerce .woocommerce-ordering select { min-width: 0; }
  body.term-mifolgy.woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  body.term-mifolgy.woocommerce ul.products li.product .woocommerce-loop-product__title { padding-inline: 8px; font-size: 11px; }
  body.term-mifolgy.woocommerce ul.products li.product .price { padding-inline: 8px; font-size: 13px; }
  body.term-mifolgy .mifology-story__copy { padding: 22px 10px; }
}
@media (prefers-reduced-motion: reduce) {
  body.term-mifolgy .mifology-hero__cta,
  body.term-mifolgy .mifology-theme-card__arrow { transition: none; }
}
