:root {
  --ink: #26342e;
  --muted: #66736d;
  --paper: #fbfaf6;
  --card: #ffffff;
  --sage: #315c49;
  --sage-soft: #e6eee8;
  --clay: #c86f50;
  --sand: #eee3d2;
  --line: #dfe5df;
  --shadow: 0 16px 46px rgba(39, 61, 51, .10);
  --radius: 22px;
}

html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0 !important;
  color: var(--ink) !important;
  background: var(--paper) !important;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
  font-size: 17px !important;
  line-height: 1.72 !important;
  overflow-wrap: anywhere;
}
a { color: var(--sage); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover, a:focus { color: var(--clay); }
.page_wrapper, .wrapper, .container { max-width: 1240px !important; width: calc(100% - 32px) !important; margin-inline: auto !important; }
.page_wrapper { padding: 0 !important; background: transparent !important; box-shadow: none !important; }

.shoptima-hero {
  max-width: 1240px;
  min-height: 270px;
  margin: 18px auto 0;
  border-radius: 30px 30px 0 0;
  overflow: hidden;
  background: #e9dfcf url('/assets/shoptima-header-2026.png') center 49% / cover no-repeat;
  box-shadow: var(--shadow);
}
.shoptima-hero__shade {
  min-height: 270px;
  display: flex;
  align-items: center;
  padding: 40px clamp(28px, 6vw, 86px);
  background: linear-gradient(90deg, rgba(252,248,239,.93) 0%, rgba(252,248,239,.58) 38%, rgba(252,248,239,0) 65%);
}
.shoptima-brand { display: inline-flex; flex-direction: column; color: var(--ink) !important; text-decoration: none !important; }
.shoptima-brand__name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(50px, 8vw, 88px);
  line-height: .92;
  letter-spacing: -.055em;
  color: var(--sage);
}
.shoptima-brand__tagline { margin-top: 16px; max-width: 340px; font-size: 15px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: #5f574c; }

.shoptima-header { position: relative; z-index: 10; max-width: 1240px; margin: 0 auto 34px; }
.shoptima-nav-wrap { padding: 0 24px; background: rgba(49,92,73,.97); border-radius: 0 0 22px 22px; box-shadow: 0 12px 26px rgba(35,67,53,.18); backdrop-filter: blur(12px); }
.shoptima-nav { min-height: 64px; display: flex; align-items: center; justify-content: center; gap: clamp(12px, 2.3vw, 32px); }
.shoptima-nav a { position: relative; padding: 20px 0 17px; color: #fff !important; font-size: 14px; font-weight: 750; letter-spacing: .045em; text-decoration: none; white-space: nowrap; }
.shoptima-nav a::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: 13px; height: 2px; background: #f1cbb8; transition: .2s; }
.shoptima-nav a:hover::after, .shoptima-nav a:focus::after { left: 0; right: 0; }
.shoptima-menu-button { display: none; }

article.article { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(22px, 4vw, 54px) !important; margin-bottom: 42px !important; }
article.article > .clearfix { margin-inline: -15px; }
article.article .col-sm-8 { padding-right: clamp(15px, 3vw, 44px); }
article.article > .clearfix > .col-sm-8 { width: 100% !important; float: none !important; padding-right: 15px; }
article.article > .clearfix > .col-sm-4 { display: none !important; }
h1, h2, h3, h4 { color: var(--ink) !important; text-wrap: balance; }
h1, h2, h3 { overflow-wrap: break-word; word-break: normal; hyphens: auto; }
h1.main, article h1 { margin: 10px 0 24px !important; font-family: Georgia, "Times New Roman", serif !important; font-size: clamp(26px, 2.7vw, 34px) !important; line-height: 1.18 !important; letter-spacing: -.015em; font-weight: 700 !important; }
h1.shoptima-long-title { font-size: clamp(24px, 2.4vw, 30px) !important; }
article h2 { margin: 48px 0 16px !important; font-family: Georgia, "Times New Roman", serif !important; font-size: clamp(27px, 3vw, 38px) !important; line-height: 1.18 !important; letter-spacing: -.02em; }
article h3 { margin: 34px 0 12px !important; font-size: clamp(21px, 2.2vw, 27px) !important; line-height: 1.3 !important; }
article p, article li { max-width: 78ch; }
article p { margin: 0 0 1.15em; }
article ul, article ol { padding-left: 1.35em; }
article li + li { margin-top: .45em; }
.breadcrumbs { margin-bottom: 18px !important; color: var(--muted) !important; font-size: 13px !important; letter-spacing: .03em; }
blockquote { margin: 30px 0 !important; padding: 22px 26px !important; border: 0 !important; border-left: 5px solid var(--clay) !important; border-radius: 0 16px 16px 0; background: #fbf1ea !important; color: #4c413b; }

article img:not(.image-load-error) { display: block; max-width: 100% !important; width: auto; height: auto !important; margin: 26px auto; border-radius: 16px; box-shadow: 0 8px 26px rgba(33,48,41,.12); object-fit: contain !important; }
article figure { max-width: 100%; margin: 28px auto; }
article figcaption { margin-top: 9px; color: var(--muted); font-size: 13px; text-align: center; }
.shoptima-photo { max-width: 760px; }
.shoptima-photo img { width: 100% !important; max-height: 430px; object-fit: cover !important; }
.shoptima-info-box { margin: 34px 0; padding: 22px 26px; border: 1px solid var(--line); border-radius: 16px; background: var(--sage-soft); }
.shoptima-info-box h2 { margin-top: 0 !important; }
.seminar-topics { columns: 2; column-gap: 38px; margin: 18px 0 34px; }
.seminar-topics li { break-inside: avoid; margin: 0 0 10px; }
.image-load-error { display: none !important; }
table { display: block; max-width: 100%; width: 100%; overflow-x: auto; border-collapse: collapse; -webkit-overflow-scrolling: touch; }
th, td { min-width: 120px; padding: 12px 14px !important; border: 1px solid var(--line) !important; vertical-align: top; }
th { background: var(--sage-soft); }

.shoptima-toc { margin: 24px 0 36px; padding: 0; border: 1px solid #cbd9d0; border-radius: 16px; background: linear-gradient(135deg, #f2f6f2, #fff); overflow: hidden; }
.shoptima-toc summary { cursor: pointer; list-style: none; padding: 17px 22px; color: var(--sage); font-weight: 800; }
.shoptima-toc summary::-webkit-details-marker { display: none; }
.shoptima-toc summary::after { content: "+"; float: right; width: 28px; height: 28px; margin-top: -2px; border-radius: 50%; color: #fff; background: var(--sage); text-align: center; line-height: 26px; font-size: 21px; }
.shoptima-toc[open] summary::after { content: "−"; }
.shoptima-toc ol { margin: 0; padding: 0 25px 22px 46px; columns: 2; column-gap: 36px; }
.shoptima-toc li { break-inside: avoid; margin: 6px 0; font-size: 15px; line-height: 1.45; }
.shoptima-toc .toc-h3 { margin-left: 14px; font-size: 14px; }
.article-photo { width: min(760px, 100%); margin: 8px auto 34px !important; }
.article-photo .article-cover { width: 100% !important; max-height: 500px; margin: 0 !important; object-fit: contain !important; }
.article-photo figcaption { margin-top: 8px; font-size: 12px; line-height: 1.45; text-align: left; }
.article-lead { padding: 20px 24px; border-left: 4px solid var(--clay); border-radius: 0 14px 14px 0; background: #fbf1ea; font-size: 1.08em; }
.related-reading { margin-top: 46px; padding: 26px; border-radius: 18px; background: var(--sage-soft); }
.related-reading h2 { margin-top: 0 !important; font-size: 26px !important; }
.category-lead { max-width: 850px; margin: -8px 0 34px; font-size: 1.12em; color: var(--muted); }
.category-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.category-card { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 8px 25px rgba(39,61,51,.07); }
.category-card > a { display: block; color: var(--ink); text-decoration: none; }
.category-card img { width: 100% !important; margin: 0 !important; border-radius: 0 !important; box-shadow: none !important; aspect-ratio: 3 / 2; object-fit: contain !important; background: #f1f3ef; }
.category-card h2 { margin: 0 !important; padding: 19px 20px 8px; font-family: Georgia, "Times New Roman", serif !important; font-size: 25px !important; line-height: 1.2 !important; }
.category-card p { padding: 0 20px 22px; color: var(--muted); font-size: 14px; line-height: 1.55; }

/* Normalize the legacy home-page lists into readable editorial cards. */
article > .last_block {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 8px 0 46px !important;
}
article > .last_block::before,
article > .last_block::after { display: none !important; content: none !important; }
article > .last_block > a,
.category_block .item a {
  display: flex !important;
  width: 100% !important;
  height: 100%;
  float: none !important;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--ink) !important;
  background: #fff;
  box-shadow: 0 7px 22px rgba(39,61,51,.07);
  text-decoration: none !important;
}
article > .last_block .img,
article > .last_block .bottom,
.category_block .item,
.category_block .item .clearfix { position: static !important; width: auto !important; height: auto !important; float: none !important; margin: 0 !important; padding: 0 !important; }
article > .last_block img,
.category_block .item img {
  width: 100% !important;
  aspect-ratio: 4 / 3;
  margin: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  object-fit: contain !important;
  background: #f1f3ef;
}
article > .last_block .bottom { color: var(--ink) !important; background: none !important; }
article > .last_block .bottom p {
  margin: 0 !important;
  padding: 16px 18px 20px;
  color: var(--ink) !important;
  font-size: 16px;
  font-weight: 750;
  line-height: 1.4;
}
.category_block { width: 100% !important; float: none !important; clear: both; }
.category_block > .category_block { margin: 0 0 48px !important; }
.category_block h2.bold { display: inline-block; margin: 0 16px 18px 0 !important; font-size: 30px !important; }
.category_block .line { display: inline-block; margin-bottom: 18px; }
.category_block .action { font-size: 14px; font-weight: 750; }
.category_block .items { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; clear: both; }
.category_block .item a { padding-bottom: 18px; font-size: 15px; font-weight: 700; line-height: 1.42; }
.category_block .item img { margin-bottom: 15px !important; }
.error-page { min-height: 420px; }
.error-page__button { display: inline-flex; margin: 12px 10px 0 0; padding: 12px 20px; border: 1px solid var(--sage); border-radius: 99px; color: #fff !important; background: var(--sage); text-decoration: none; font-weight: 750; }
.error-page__button--light { color: var(--sage) !important; background: #fff; }

.shoptima-footer { max-width: 1240px; margin: 0 auto 20px; color: #edf3ef; background: #233d32; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); }
.shoptima-footer__inner { display: grid; grid-template-columns: minmax(280px, 1.7fr) 1fr 1.5fr; gap: clamp(30px, 5vw, 80px); padding: clamp(36px, 6vw, 72px); }
.shoptima-footer__brand { display: inline-block; margin-bottom: 12px; color: #fff !important; font-family: Georgia, "Times New Roman", serif; font-size: 42px; letter-spacing: -.04em; text-decoration: none; }
.shoptima-footer__about p { max-width: 390px; color: #c5d2cb; }
.shoptima-footer__email { display: inline-flex; margin-top: 8px; padding: 10px 16px; border: 1px solid rgba(255,255,255,.22); border-radius: 99px; color: #fff !important; text-decoration: none; }
.shoptima-footer__column { display: flex; flex-direction: column; gap: 9px; }
.shoptima-footer__column h2 { margin: 0 0 10px !important; color: #f3d3c3 !important; font-size: 15px !important; letter-spacing: .13em; text-transform: uppercase; }
.shoptima-footer__column a { color: #eef5f1 !important; text-decoration: none; }
.shoptima-footer__column a:hover { color: #f3c2aa !important; }
.shoptima-footer__bottom { display: flex; align-items: center; gap: 26px; padding: 18px clamp(28px, 6vw, 72px); border-top: 1px solid rgba(255,255,255,.11); color: #aebfb6; font-size: 13px; }
.shoptima-to-top { margin-left: auto; width: 42px; height: 42px; border: 0; border-radius: 50%; color: #233d32; background: #f0c7b3; font-size: 23px; cursor: pointer; }

/* Old template fragments superseded by the unified theme. */
.top_block, .navbar-moto, .navbar-moto-footer, footer:not(.shoptima-footer), .search, .search_dropdown, .social_block { display: none !important; }
body > .lang { display: none !important; }
.right-sidebar, .sidebar { font-size: 14px; }

@media (max-width: 900px) {
  body { font-size: 16px !important; }
  .shoptima-hero { min-height: 230px; margin-top: 10px; border-radius: 22px 22px 0 0; }
  .shoptima-hero__shade { min-height: 230px; }
  .shoptima-header { margin-bottom: 24px; }
  .shoptima-nav-wrap { padding: 0 18px; }
  .shoptima-menu-button { min-height: 58px; display: flex; align-items: center; gap: 5px; border: 0; color: #fff; background: transparent; }
  .shoptima-menu-button span { display: block; width: 22px; height: 2px; background: #fff; }
  .shoptima-menu-button span:nth-child(2), .shoptima-menu-button span:nth-child(3) { margin-left: -27px; transform: translateY(7px); }
  .shoptima-menu-button span:nth-child(3) { transform: translateY(-7px); }
  .shoptima-menu-button b { margin-left: 10px; letter-spacing: .07em; }
  .shoptima-nav { display: none; align-items: stretch; flex-direction: column; gap: 0; padding: 4px 0 18px; }
  .shoptima-nav.is-open { display: flex; }
  .shoptima-nav a { padding: 11px 4px; border-top: 1px solid rgba(255,255,255,.12); }
  .shoptima-nav a::after { display: none; }
  article.article { padding: 30px 24px !important; }
  article.article .col-sm-8, article.article .col-sm-4 { width: 100% !important; float: none !important; }
  .shoptima-footer__inner { grid-template-columns: 1.4fr 1fr; }
  .shoptima-footer__about { grid-column: 1 / -1; }
  article > .last_block, .category_block .items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .page_wrapper, .wrapper, .container { width: calc(100% - 20px) !important; }
  .shoptima-hero { width: calc(100% - 20px); min-height: 190px; margin-inline: auto; }
  .shoptima-hero__shade { min-height: 190px; padding: 26px; background: linear-gradient(90deg, rgba(252,248,239,.92), rgba(252,248,239,.45) 70%, rgba(252,248,239,.08)); }
  .shoptima-brand__name { font-size: 50px; }
  .shoptima-brand__tagline { max-width: 230px; font-size: 11px; }
  .shoptima-header { width: calc(100% - 20px); }
  h1.main, article h1 { font-size: 25px !important; }
  h1.shoptima-long-title { font-size: 23px !important; line-height: 1.22 !important; }
  .legal-page h1.main { font-size: 25px !important; }
  article.article { padding: 24px 17px !important; border-radius: 18px; }
  .shoptima-toc ol { columns: 1; padding-left: 40px; }
  .seminar-topics { columns: 1; }
  .shoptima-info-box { padding: 18px; }
  .category-grid { grid-template-columns: 1fr; gap: 18px; }
  article > .last_block, .category_block .items { grid-template-columns: 1fr; gap: 18px; }
  .category_block h2.bold { display: block; margin-bottom: 4px !important; font-size: 27px !important; }
  .category_block .line { display: block; margin-bottom: 16px; }
  .shoptima-footer { width: calc(100% - 20px); border-radius: 22px; }
  .shoptima-footer__inner { grid-template-columns: 1fr; padding: 34px 26px; }
  .shoptima-footer__about { grid-column: auto; }
  .shoptima-footer__bottom { align-items: flex-start; flex-direction: column; gap: 7px; }
  .shoptima-to-top { position: absolute; align-self: flex-end; }
}
