/* =========================================================
   StylishHome theme styles
   Every color, font and radius comes from the CSS variables
   printed by the Customizer, so "infinite colors & layouts"
   is literal: change a value, the whole theme follows.
   ========================================================= */

/* ---------- Reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  margin: 0;
  font-family: var(--sh-font-body);
  font-size: var(--sh-base);
  line-height: 1.7;
  color: var(--sh-ink);
  background: var(--sh-paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sh-accent); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--sh-accent-dark); }
:focus-visible { outline: 2px solid var(--sh-accent); outline-offset: 3px; }

h1,h2,h3,h4,h5,h6 {
  font-family: var(--sh-font-display);
  font-weight: var(--sh-heading-weight);
  line-height: 1.16;
  margin: 0 0 .5em;
  color: var(--sh-ink);
  letter-spacing: .005em;
}
h1 { font-size: var(--sh-h1); }
h2 { font-size: var(--sh-h2); }
h3 { font-size: var(--sh-h3); }
h4 { font-size: var(--sh-h4); }
h5 { font-size: var(--sh-h5); }
h6 { font-size: var(--sh-h6); }

.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
  height: 1px; width: 1px; margin: -1px; overflow: hidden;
  padding: 0; position: absolute; word-wrap: normal !important;
}
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 999; background: var(--sh-ink); color: #fff; padding: 10px 18px; }
.skip-link:focus { left: 8px; top: 8px; color: #fff; }

/* ---------- Layout shells ---------- */
.sh-container { width: min(var(--sh-container), 100% - 40px); margin-inline: auto; }
.sh-layout-boxed .sh-site { max-width: calc(var(--sh-container) + 120px); margin-inline: auto; background: var(--sh-surface); box-shadow: 0 0 60px rgba(var(--sh-ink-rgb), .07); }
.sh-layout-framed .sh-site { margin: 18px; border: 1px solid var(--sh-line); }
.sh-main { min-height: 55vh; padding-block: 44px 72px; }

.sh-layout { display: grid; gap: 48px; align-items: start; }
.sh-layout--right { grid-template-columns: minmax(0,1fr) 320px; }
.sh-layout--left  { grid-template-columns: 320px minmax(0,1fr); }
.sh-layout--left .sh-layout__main { order: 2; }
.sh-layout--none  { grid-template-columns: minmax(0,1fr); }
@media (max-width: 960px) {
  .sh-layout--right, .sh-layout--left { grid-template-columns: minmax(0,1fr); }
  .sh-layout--left .sh-layout__main { order: 0; }
}

/* Grid utilities */
.sh-grid--1 { display: grid; grid-template-columns: 1fr; gap: 32px; }
.sh-grid--2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.sh-grid--3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.sh-grid--4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.sh-grid--5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
@media (max-width: 1100px) { .sh-grid--4, .sh-grid--5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px)  { .sh-grid--3, .sh-grid--4, .sh-grid--5 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .sh-grid--2, .sh-grid--3, .sh-grid--4, .sh-grid--5 { grid-template-columns: 1fr; } }

/* ---------- Buttons ---------- */
.sh-btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--sh-font-ui);
  font-size: .82rem; font-weight: 600;
  text-transform: var(--sh-ui-transform); letter-spacing: var(--sh-ui-tracking);
  padding: 13px 26px; border-radius: var(--sh-radius);
  border: 1px solid transparent; cursor: pointer; line-height: 1;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.sh-btn--solid { background: var(--sh-accent); color: #fff; }
.sh-btn--solid:hover { background: var(--sh-accent-dark); color: #fff; transform: translateY(-1px); }
.sh-btn--outline { border-color: var(--sh-ink); color: var(--sh-ink); background: transparent; }
.sh-btn--outline:hover { background: var(--sh-ink); color: var(--sh-paper); }
.sh-btn--ghost { color: var(--sh-accent); background: transparent; padding-inline: 6px; }
.sh-btn--pin { background: #B7081B; color: #fff; }
.sh-btn--pin:hover { background: #93000f; color: #fff; }
.sh-btn--sm { padding: 9px 18px; font-size: .74rem; }
.sh-btn--lg { padding: 17px 34px; font-size: .9rem; }

/* ---------- Top bar & header ---------- */
.sh-topbar { background: var(--sh-ink); color: var(--sh-paper); font-family: var(--sh-font-ui); font-size: .74rem; letter-spacing: .1em; text-transform: var(--sh-ui-transform); }
.sh-topbar__inner { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 16px; }
.sh-topbar__text { margin: 0; }
.sh-topbar__menu { display: flex; gap: 18px; list-style: none; margin: 0; padding: 0; }
.sh-topbar__menu a { color: inherit; opacity: .85; }
.sh-topbar__menu a:hover { opacity: 1; }

.sh-header { background: var(--sh-header-bg); border-bottom: 1px solid var(--sh-line); position: relative; z-index: 60; }
.sh-sticky-header .sh-header { position: sticky; top: 0; }
.sh-header.is-stuck { box-shadow: 0 6px 24px rgba(var(--sh-ink-rgb), .08); }
.sh-header__inner { display: flex; align-items: center; gap: 34px; min-height: 82px; }
.sh-header--centered .sh-header__inner { flex-wrap: wrap; justify-content: center; }
.sh-header--centered .sh-brand { flex-basis: 100%; text-align: center; padding-top: 14px; }
.sh-header--minimal .sh-header__inner { min-height: 64px; }

.sh-brand { display: flex; flex-direction: column; line-height: 1.2; }
.sh-logo-text { font-family: var(--sh-font-display); font-size: 1.55rem; color: var(--sh-ink); font-weight: 600; letter-spacing: .01em; }
.sh-tagline { font-family: var(--sh-font-ui); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--sh-muted); }
.custom-logo { max-height: 56px; width: auto; }

.sh-header__actions { display: flex; align-items: center; gap: 6px; margin-inline-start: auto; }
.sh-icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; border: 0; background: transparent; color: var(--sh-ink); cursor: pointer; position: relative; }
.sh-icon-btn:hover { background: var(--sh-accent-soft); color: var(--sh-accent-dark); }
.sh-cart-count { position: absolute; top: 3px; right: 1px; min-width: 17px; height: 17px; border-radius: 9px; background: var(--sh-accent); color: #fff; font-size: .62rem; font-family: var(--sh-font-ui); display: grid; place-items: center; padding-inline: 4px; }
.sh-cart-count[data-empty] { display: none; }

/* ---------- Navigation & mega menu ---------- */
.sh-nav--primary { margin-inline-start: 8px; }
.sh-menu { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.sh-menu > li { position: relative; }
.sh-menu-link { display: flex; align-items: center; gap: 7px; padding: 30px 14px; font-family: var(--sh-font-ui); font-size: .8rem; font-weight: 500; letter-spacing: var(--sh-ui-tracking); text-transform: var(--sh-ui-transform); color: var(--sh-ink); }
.sh-menu > li:hover > .sh-menu-link, .sh-menu > li.current-menu-item > .sh-menu-link { color: var(--sh-accent); }
.sh-menu-badge { background: var(--sh-accent); color: #fff; font-size: .58rem; padding: 2px 7px; border-radius: 20px; letter-spacing: .06em; }
.sh-menu-arrow { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.sh-submenu-toggle { display: none; }

.sh-submenu {
  position: absolute; top: 100%; left: 0; min-width: 230px;
  background: var(--sh-surface); border: 1px solid var(--sh-line); border-radius: var(--sh-radius);
  box-shadow: 0 18px 46px rgba(var(--sh-ink-rgb), .12);
  list-style: none; margin: 0; padding: 10px;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  z-index: 70;
}
.sh-menu > li:hover > .sh-submenu,
.sh-menu > li:focus-within > .sh-submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.sh-submenu .sh-menu-link { padding: 10px 12px; border-radius: var(--sh-radius); text-transform: none; letter-spacing: .01em; font-size: .86rem; }
.sh-submenu .sh-menu-link:hover { background: var(--sh-accent-soft); color: var(--sh-accent-dark); }
.sh-submenu .sh-submenu { top: 0; left: 100%; }

/* Mega menu */
.sh-has-mega { position: static !important; }
.sh-megamenu {
  left: 50%; transform: translateX(-50%) translateY(10px);
  width: min(var(--sh-container), calc(100vw - 48px));
  display: grid; gap: 8px; padding: 26px;
}
.sh-menu > li:hover > .sh-megamenu,
.sh-menu > li:focus-within > .sh-megamenu { transform: translateX(-50%) translateY(0); }
.sh-megamenu--cols-2 { grid-template-columns: repeat(2, 1fr); }
.sh-megamenu--cols-3 { grid-template-columns: repeat(3, 1fr); }
.sh-megamenu--cols-4 { grid-template-columns: repeat(4, 1fr); }
.sh-megamenu--cols-5 { grid-template-columns: repeat(5, 1fr); }
.sh-megamenu > li > .sh-menu-link { font-weight: 600; color: var(--sh-muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; pointer-events: none; }
.sh-megamenu .sh-submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0; background: transparent; }
.sh-menu-thumb img { width: 44px; height: 44px; object-fit: cover; border-radius: var(--sh-radius); }

/* Search panel */
.sh-search-panel { border-top: 1px solid var(--sh-line); padding-block: 22px; background: var(--sh-header-bg); }

/* Mobile drawer */
.sh-burger { display: none; flex-direction: column; gap: 5px; width: 42px; height: 42px; border: 0; background: transparent; cursor: pointer; padding: 12px 9px; }
.sh-burger span { display: block; height: 1.6px; background: var(--sh-ink); transition: transform .25s ease, opacity .2s ease; }
.sh-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.sh-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.sh-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.sh-drawer { position: fixed; inset: 0; z-index: 200; }
.sh-drawer__scrim { position: absolute; inset: 0; background: rgba(var(--sh-ink-rgb), .45); }
.sh-drawer__panel { position: absolute; top: 0; bottom: 0; left: 0; width: min(340px, 88vw); background: var(--sh-surface); padding: 60px 28px 28px; overflow-y: auto; transform: translateX(-100%); transition: transform .28s ease; }
.sh-drawer.is-open .sh-drawer__panel { transform: translateX(0); }
.sh-drawer__close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border: 0; background: transparent; font-size: 26px; cursor: pointer; color: var(--sh-ink); }
.sh-menu--drawer { flex-direction: column; gap: 0; }
.sh-menu--drawer .sh-menu-link { padding: 13px 4px; border-bottom: 1px solid var(--sh-line); width: 100%; justify-content: space-between; }
.sh-menu--drawer .sh-submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 16px; display: none; }
.sh-menu--drawer li.is-open > .sh-submenu { display: block; }
.sh-menu--drawer .sh-submenu-toggle { display: inline-flex; width: 40px; height: 44px; border: 0; background: transparent; cursor: pointer; position: absolute; right: 0; }
.sh-menu--drawer .sh-submenu-toggle::after { content: ""; width: 8px; height: 8px; border-right: 1.6px solid var(--sh-ink); border-bottom: 1.6px solid var(--sh-ink); transform: rotate(45deg); margin: auto; transition: transform .2s ease; }
.sh-menu--drawer li.is-open > .sh-submenu-toggle::after { transform: rotate(-135deg); }
.sh-menu--drawer li { position: relative; }

@media (max-width: 1024px) {
  .sh-nav--primary { display: none; }
  .sh-burger { display: flex; }
}

/* ---------- Page headers, breadcrumbs, meta ---------- */
.sh-page-header { margin-bottom: 40px; }
.sh-page-title { font-size: var(--sh-h2); margin-bottom: .25em; }
.sh-page-desc { color: var(--sh-muted); max-width: 62ch; }
.sh-breadcrumbs { font-family: var(--sh-font-ui); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.sh-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.sh-breadcrumbs li:not(:last-child)::after { content: "\2192"; margin-inline-start: 10px; color: var(--sh-muted); }
.sh-breadcrumbs a { color: var(--sh-muted); }
.sh-breadcrumbs a:hover { color: var(--sh-accent); }
.sh-breadcrumbs [aria-current] { color: var(--sh-ink); }

.sh-meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-family: var(--sh-font-ui); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--sh-muted); margin-bottom: 12px; }
.sh-meta a { color: inherit; }
.sh-meta a:hover { color: var(--sh-accent); }
.sh-meta__cat { color: var(--sh-accent) !important; font-weight: 600; }
.sh-meta__sep { opacity: .5; }

.sh-section-title { font-size: var(--sh-h3); margin-bottom: 26px; }
.sh-eyebrow { display: inline-block; font-family: var(--sh-font-ui); font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--sh-accent); margin-bottom: 10px; }
.sh-heading--center { text-align: center; }
.sh-heading--right { text-align: right; }
.sh-heading__sub { color: var(--sh-muted); max-width: 58ch; }
.sh-heading--center .sh-heading__sub { margin-inline: auto; }

/* ---------- Cards: list / grid / masonry / pin ---------- */
.sh-posts--masonry { display: block; columns: 3; column-gap: 32px; }
.sh-posts--masonry.sh-grid--2 { columns: 2; }
.sh-posts--masonry.sh-grid--4 { columns: 4; }
.sh-posts--masonry .sh-card { break-inside: avoid; margin-bottom: 32px; display: block; }
@media (max-width: 1100px) { .sh-posts--masonry, .sh-posts--masonry.sh-grid--4 { columns: 2; } }
@media (max-width: 620px)  { .sh-posts--masonry, .sh-posts--masonry.sh-grid-2, .sh-posts--masonry.sh-grid--4 { columns: 1; } }

.sh-card { background: var(--sh-surface); border-radius: var(--sh-radius-lg); overflow: hidden; border: 1px solid var(--sh-line); transition: transform .22s ease, box-shadow .22s ease; }
.sh-card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(var(--sh-ink-rgb), .1); }
.sh-card__media-wrap { position: relative; overflow: hidden; }
.sh-card__media img { width: 100%; transition: transform .5s ease; }
.sh-card:hover .sh-card__media img { transform: scale(1.045); }
.sh-card__body { padding: 24px 26px 28px; }
.sh-card__title { font-size: var(--sh-h5); margin: 0 0 .4em; }
.sh-card__title a { color: var(--sh-ink); }
.sh-card__title a:hover { color: var(--sh-accent); }
.sh-card__excerpt { color: var(--sh-muted); font-size: .94em; }
.sh-card__excerpt p { margin: 0; }
.sh-card__more { font-family: var(--sh-font-ui); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; border-bottom: 1px solid currentColor; padding-bottom: 2px; }

.sh-card--list { display: grid; grid-template-columns: 380px 1fr; align-items: center; }
.sh-card--list .sh-card__body { padding: 34px 38px; }
@media (max-width: 760px) { .sh-card--list { grid-template-columns: 1fr; } }

/* Pin board: tall 2:3 cards, title overlaid at the base like a rich pin */
.sh-posts--pin .sh-card { position: relative; border: 0; }
.sh-posts--pin .sh-card__media img { aspect-ratio: 2 / 3; object-fit: cover; }
.sh-posts--pin .sh-card__body { position: absolute; inset-inline: 0; bottom: 0; padding: 44px 20px 18px; background: linear-gradient(to top, rgba(0,0,0,.66), transparent); }
.sh-posts--pin .sh-card__title { font-size: 1.02rem; }
.sh-posts--pin .sh-card__title a { color: #fff; }
.sh-posts--pin .sh-meta { color: rgba(255,255,255,.8); margin-bottom: 4px; }

/* ---------- Pinterest save UI ---------- */
.sh-pin { position: relative; display: block; }
.sh-pin--content { display: inline-block; max-width: 100%; }
.sh-pin__save {
  position: absolute; display: inline-flex; align-items: center; gap: 7px;
  background: #B7081B; color: #fff !important;
  font-family: var(--sh-font-ui); font-size: .74rem; font-weight: 700;
  padding: 9px 14px; border-radius: 24px; line-height: 1;
  opacity: 0; transform: translateY(6px);
  transition: opacity .2s ease, transform .2s ease, background .2s ease;
  z-index: 5; box-shadow: 0 6px 18px rgba(0,0,0,.25);
}
.sh-pin:hover .sh-pin__save, .sh-pin:focus-within .sh-pin__save,
.sh-card__media-wrap:hover .sh-pin__save--card, .sh-card__media-wrap:focus-within .sh-pin__save--card,
.sh-product__media:hover .sh-product__action--pin { opacity: 1; transform: translateY(0); }
.sh-pin__save:hover { background: #93000f; }
.sh-pin--rail .sh-pin__save { top: 14px; left: 14px; }
.sh-pin--corner .sh-pin__save { top: 14px; right: 14px; left: auto; }
.sh-pin--center .sh-pin__save { top: 50%; left: 50%; transform: translate(-50%, -40%); }
.sh-pin--center:hover .sh-pin__save { transform: translate(-50%, -50%); }
.sh-pin__save--card { position: absolute; top: 14px; left: 14px; opacity: 0; transform: translateY(6px); }
.sh-pin__icon svg, .sh-pin__icon { display: inline-flex; }
span.sh-pin__icon[data-icon="pinterest"]::before { content: ""; width: 14px; height: 14px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12c0 4.08 2.44 7.58 5.94 9.13-.08-.78-.16-1.97.03-2.82.18-.79 1.15-5.03 1.15-5.03s-.29-.59-.29-1.46c0-1.37.79-2.39 1.78-2.39.84 0 1.25.63 1.25 1.39 0 .85-.54 2.11-.82 3.28-.23.98.49 1.78 1.46 1.78 1.75 0 3.1-1.85 3.1-4.52 0-2.36-1.7-4.01-4.12-4.01-2.81 0-4.46 2.1-4.46 4.28 0 .85.33 1.76.74 2.25.08.1.09.19.07.29-.08.32-.25.98-.28 1.12-.04.18-.15.22-.34.13-1.25-.58-2.03-2.4-2.03-3.87 0-3.15 2.29-6.04 6.6-6.04 3.46 0 6.16 2.47 6.16 5.77 0 3.44-2.17 6.21-5.18 6.21-1.01 0-1.96-.53-2.29-1.15l-.62 2.38c-.22.87-.83 1.96-1.24 2.62.94.29 1.93.44 2.96.44 5.52 0 10-4.48 10-10S17.52 2 12 2z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12c0 4.08 2.44 7.58 5.94 9.13-.08-.78-.16-1.97.03-2.82.18-.79 1.15-5.03 1.15-5.03s-.29-.59-.29-1.46c0-1.37.79-2.39 1.78-2.39.84 0 1.25.63 1.25 1.39 0 .85-.54 2.11-.82 3.28-.23.98.49 1.78 1.46 1.78 1.75 0 3.1-1.85 3.1-4.52 0-2.36-1.7-4.01-4.12-4.01-2.81 0-4.46 2.1-4.46 4.28 0 .85.33 1.76.74 2.25.08.1.09.19.07.29-.08.32-.25.98-.28 1.12-.04.18-.15.22-.34.13-1.25-.58-2.03-2.4-2.03-3.87 0-3.15 2.29-6.04 6.6-6.04 3.46 0 6.16 2.47 6.16 5.77 0 3.44-2.17 6.21-5.18 6.21-1.01 0-1.96-.53-2.29-1.15l-.62 2.38c-.22.87-.83 1.96-1.24 2.62.94.29 1.93.44 2.96.44 5.52 0 10-4.48 10-10S17.52 2 12 2z'/%3E%3C/svg%3E") center/contain no-repeat; }
.sh-hidden-pins { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }
.sh-pin-follow { display: inline-flex; align-items: center; gap: 9px; font-family: var(--sh-font-ui); font-size: .78rem; font-weight: 600; letter-spacing: .06em; color: #B7081B; margin-top: 18px; }
.sh-pin-follow:hover { color: #93000f; }

/* ---------- Single post ---------- */
.sh-entry__header { margin-bottom: 30px; max-width: 780px; }
.sh-entry__title { font-size: var(--sh-h1); }
.sh-entry__media { margin: 0 0 36px; }
.sh-entry__media img { width: 100%; border-radius: var(--sh-radius-lg); }
.sh-entry__media figcaption { font-size: .8rem; color: var(--sh-muted); margin-top: 10px; font-family: var(--sh-font-ui); }
.sh-entry__content { max-width: 720px; font-size: 1.03em; }
.sh-entry__content > * + * { margin-top: 1.15em; }
.sh-entry__content h2 { margin-top: 1.8em; }
.sh-entry__content h3 { margin-top: 1.5em; }
.sh-entry__content img { border-radius: var(--sh-radius); }
.sh-entry__content blockquote { border-inline-start: 3px solid var(--sh-accent); margin: 1.6em 0; padding: .4em 0 .4em 1.4em; font-family: var(--sh-font-display); font-size: 1.18em; color: var(--sh-ink); }
.sh-entry__content a { border-bottom: 1px solid rgba(var(--sh-accent-rgb), .35); }
.sh-entry__content--full { max-width: none; }
.sh-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 34px 0; }
.sh-tags a { font-family: var(--sh-font-ui); font-size: .72rem; letter-spacing: .06em; padding: 6px 13px; border: 1px solid var(--sh-line); border-radius: 30px; color: var(--sh-muted); }
.sh-tags a:hover { border-color: var(--sh-accent); color: var(--sh-accent); }
.sh-page-links { margin-top: 2em; font-family: var(--sh-font-ui); }

/* TOC */
.sh-toc { background: var(--sh-accent-soft); border-radius: var(--sh-radius-lg); padding: 22px 26px; margin-bottom: 34px; max-width: 720px; }
.sh-toc__toggle { border: 0; background: transparent; font-family: var(--sh-font-ui); font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--sh-accent-dark); cursor: pointer; padding: 0; display: flex; align-items: center; gap: 8px; }
.sh-toc__toggle::after { content: ""; width: 7px; height: 7px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg); transition: transform .2s ease; }
.sh-toc__toggle[aria-expanded="false"]::after { transform: rotate(-45deg); }
.sh-toc__list { margin: 14px 0 0; padding: 0 0 0 18px; }
.sh-toc__item { margin: 6px 0; }
.sh-toc__item a { color: var(--sh-ink); }
.sh-toc__item a:hover { color: var(--sh-accent); }
.sh-toc__item--h3 { margin-inline-start: 16px; font-size: .92em; }
.sh-toc.is-collapsed .sh-toc__list { display: none; }

/* Share */
.sh-share { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--sh-line); }
.sh-share__label { font-family: var(--sh-font-ui); font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--sh-muted); }
.sh-share__links { display: flex; flex-wrap: wrap; gap: 8px; }
.sh-share__link { font-family: var(--sh-font-ui); font-size: .74rem; font-weight: 600; letter-spacing: .06em; padding: 9px 16px; border-radius: 30px; border: 1px solid var(--sh-line); color: var(--sh-ink); }
.sh-share__link:hover { border-color: var(--sh-ink); }
.sh-share__link--pinterest { background: #B7081B; border-color: #B7081B; color: #fff; }
.sh-share__link--pinterest:hover { background: #93000f; color: #fff; }

.sh-related { margin-top: 64px; }

/* ---------- Sidebar & widgets ---------- */
.sh-sidebar .widget { background: var(--sh-surface); border: 1px solid var(--sh-line); border-radius: var(--sh-radius-lg); padding: 26px; margin-bottom: 28px; }
.widget-title { font-size: var(--sh-h6); letter-spacing: .04em; margin-bottom: 18px; }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { padding-block: 7px; border-bottom: 1px solid var(--sh-line); }
.widget li:last-child { border-bottom: 0; }
.widget a { color: var(--sh-ink); }
.widget a:hover { color: var(--sh-accent); }

/* ---------- Pagination / load more ---------- */
.sh-pagination { margin-top: 52px; display: flex; justify-content: center; gap: 6px; font-family: var(--sh-font-ui); }
.sh-pagination .page-numbers { min-width: 42px; height: 42px; display: inline-grid; place-items: center; border: 1px solid var(--sh-line); border-radius: var(--sh-radius); color: var(--sh-ink); padding-inline: 12px; }
.sh-pagination .page-numbers.current { background: var(--sh-accent); border-color: var(--sh-accent); color: #fff; }
.sh-pagination a.page-numbers:hover { border-color: var(--sh-accent); color: var(--sh-accent); }
.sh-loadmore { margin-top: 52px; text-align: center; }
.sh-loadmore__status { display: block; margin-top: 12px; font-family: var(--sh-font-ui); font-size: .78rem; color: var(--sh-muted); }
.sh-loadmore__btn.is-loading { opacity: .6; pointer-events: none; }

/* ---------- 404 ---------- */
.sh-404 { padding-block: 90px; text-align: center; position: relative; background-size: cover; background-position: center; }
.sh-404--image::before { content: ""; position: absolute; inset: 0; background: rgba(var(--sh-ink-rgb), .55); }
.sh-404__inner { position: relative; max-width: 620px; }
.sh-404--image .sh-404__inner, .sh-404--image .sh-404__title, .sh-404--image .sh-404__text { color: #fff; }
.sh-404__code { font-family: var(--sh-font-display); font-size: clamp(4rem, 12vw, 8rem); line-height: 1; color: var(--sh-accent); display: block; }
.sh-404--image .sh-404__code { color: #fff; opacity: .9; }
.sh-404__title { font-size: var(--sh-h2); }
.sh-404__search { max-width: 420px; margin: 26px auto 30px; }
.sh-404__popular { padding-block: 60px 20px; }

/* ---------- Forms ---------- */
input[type="text"], input[type="email"], input[type="url"], input[type="search"], input[type="password"], input[type="number"], textarea, select {
  width: 100%; padding: 13px 16px; border: 1px solid var(--sh-line); border-radius: var(--sh-radius);
  background: var(--sh-surface); color: var(--sh-ink); font-family: var(--sh-font-body); font-size: .95em;
  transition: border-color .18s ease;
}
input:focus, textarea:focus, select:focus { border-color: var(--sh-accent); outline: none; }
.sh-searchform, .sh-live-search { position: relative; display: flex; }
.sh-searchform input, .sh-live-search input { padding-inline-end: 52px; }
.sh-searchform button, .sh-live-search button[type="submit"] { position: absolute; right: 4px; top: 4px; bottom: 4px; width: 44px; border: 0; background: transparent; color: var(--sh-muted); cursor: pointer; border-radius: var(--sh-radius); }
.sh-searchform button:hover, .sh-live-search button[type="submit"]:hover { color: var(--sh-accent); }

/* Live search results */
.sh-live-search__results {
  position: absolute; top: calc(100% + 8px); inset-inline: 0; z-index: 90;
  background: var(--sh-surface); border: 1px solid var(--sh-line); border-radius: var(--sh-radius-lg);
  box-shadow: 0 24px 54px rgba(var(--sh-ink-rgb), .16); overflow: hidden; max-height: 420px; overflow-y: auto;
}
.sh-live-search__item { display: flex; gap: 14px; align-items: center; padding: 12px 16px; color: var(--sh-ink); }
.sh-live-search__item:hover, .sh-live-search__item.is-active { background: var(--sh-accent-soft); }
.sh-live-search__item img { width: 46px; height: 46px; object-fit: cover; border-radius: var(--sh-radius); }
.sh-live-search__item-title { font-size: .92em; }
.sh-live-search__item-price { margin-inline-start: auto; font-family: var(--sh-font-ui); font-size: .82em; color: var(--sh-accent-dark); white-space: nowrap; }
.sh-live-search__all { display: block; text-align: center; padding: 12px; font-family: var(--sh-font-ui); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; border-top: 1px solid var(--sh-line); }
.sh-live-search__empty { padding: 18px; color: var(--sh-muted); text-align: center; font-size: .9em; }

/* ---------- Newsletter ---------- */
.sh-newsletter { border-radius: var(--sh-radius-lg); }
.sh-newsletter--card { background: var(--sh-accent-soft); padding: 34px; }
.sh-newsletter--wide { background: var(--sh-ink); color: var(--sh-paper); padding: 54px; text-align: center; }
.sh-newsletter--wide .sh-newsletter__title { color: var(--sh-paper); }
.sh-newsletter__form { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.sh-newsletter__form input { flex: 1 1 220px; }
.sh-newsletter--wide .sh-newsletter__form { max-width: 480px; margin-inline: auto; }
.sh-newsletter__msg { flex-basis: 100%; margin: 4px 0 0; font-size: .84em; }
.sh-newsletter__msg.is-error { color: var(--sh-sale); }
.sh-newsletter__msg.is-ok { color: var(--sh-accent-2); }

/* ---------- Popup modal ---------- */
.sh-popup, .sh-modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 20px; }
.sh-popup__scrim, .sh-modal__scrim { position: absolute; inset: 0; background: rgba(var(--sh-ink-rgb), .55); }
.sh-popup__box { position: relative; display: grid; grid-template-columns: 300px 1fr; width: min(720px, 100%); background: var(--sh-surface); border-radius: var(--sh-radius-lg); overflow: hidden; box-shadow: 0 40px 90px rgba(0,0,0,.3); animation: sh-pop .35s ease; }
.sh-popup__box:not(:has(.sh-popup__media)) { grid-template-columns: 1fr; }
.sh-popup__media { background-size: cover; background-position: center; min-height: 100%; }
.sh-popup__body { padding: 40px 38px; }
.sh-popup__close, .sh-modal__close { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--sh-surface); font-size: 24px; cursor: pointer; z-index: 2; color: var(--sh-ink); box-shadow: 0 4px 14px rgba(0,0,0,.14); }
.sh-modal__box { position: relative; width: min(880px, 100%); max-height: 88vh; overflow-y: auto; background: var(--sh-surface); border-radius: var(--sh-radius-lg); animation: sh-pop .3s ease; }
@keyframes sh-pop { from { opacity: 0; transform: translateY(20px) scale(.98); } }
@media (max-width: 680px) { .sh-popup__box { grid-template-columns: 1fr; } .sh-popup__media { min-height: 160px; } }

/* ---------- Countdown ---------- */
.sh-countdown { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-block: 14px; }
.sh-countdown__label { font-family: var(--sh-font-ui); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sh-sale); }
.sh-countdown__units { display: flex; gap: 8px; }
.sh-countdown__unit { text-align: center; min-width: 54px; background: var(--sh-ink); color: var(--sh-paper); border-radius: var(--sh-radius); padding: 8px 6px; }
.sh-countdown__num { display: block; font-family: var(--sh-font-display); font-size: 1.3rem; line-height: 1.1; }
.sh-countdown__word { font-family: var(--sh-font-ui); font-size: .58rem; letter-spacing: .12em; text-transform: uppercase; opacity: .75; }
.sh-countdown--inline .sh-countdown__unit { background: transparent; color: var(--sh-ink); border: 1px solid var(--sh-line); }

/* ---------- Tabs & accordion ---------- */
.sh-tabs__nav { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid var(--sh-line); }
.sh-tabs__tab { border: 0; background: transparent; padding: 13px 20px; font-family: var(--sh-font-ui); font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: var(--sh-ui-transform); color: var(--sh-muted); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.sh-tabs__tab[aria-selected="true"] { color: var(--sh-accent-dark); border-bottom-color: var(--sh-accent); }
.sh-tabs__panel { padding-top: 22px; }
.sh-accordion__item { border: 1px solid var(--sh-line); border-radius: var(--sh-radius); background: var(--sh-surface); margin-bottom: 10px; }
.sh-accordion__title { list-style: none; cursor: pointer; padding: 17px 48px 17px 22px; font-family: var(--sh-font-ui); font-weight: 600; font-size: .92em; position: relative; }
.sh-accordion__title::-webkit-details-marker { display: none; }
.sh-accordion__title::after { content: ""; position: absolute; right: 20px; top: 50%; width: 8px; height: 8px; border-right: 1.6px solid var(--sh-ink); border-bottom: 1.6px solid var(--sh-ink); transform: translateY(-70%) rotate(45deg); transition: transform .2s ease; }
.sh-accordion__item[open] .sh-accordion__title::after { transform: translateY(-30%) rotate(-135deg); }
.sh-accordion__body { padding: 0 22px 20px; }

/* ---------- Content shortcode pieces ---------- */
.sh-icon-box { display: block; padding: 6px 0; color: inherit; }
.sh-icon-box--center { text-align: center; }
.sh-icon-box__icon img { width: 46px; height: 46px; object-fit: contain; margin-bottom: 14px; }
.sh-icon-box--center .sh-icon-box__icon img { margin-inline: auto; }
.sh-icon-box__title { font-size: var(--sh-h6); margin-bottom: .35em; }
.sh-icon-box__text { color: var(--sh-muted); font-size: .93em; }
.sh-banner { display: grid; align-items: center; background-size: cover; background-position: center; border-radius: var(--sh-radius-lg); overflow: hidden; position: relative; }
.sh-banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, rgba(0,0,0,.5), rgba(0,0,0,.14)); }
.sh-banner--center::before { background: rgba(0,0,0,.4); }
.sh-banner__inner { position: relative; padding: 56px; max-width: 560px; color: #fff; }
.sh-banner--center { text-align: center; }
.sh-banner--center .sh-banner__inner { margin-inline: auto; }
.sh-banner--right .sh-banner__inner { margin-inline-start: auto; }
.sh-banner__title { color: #fff; font-size: var(--sh-h2); }
.sh-banner__text { margin-bottom: 22px; opacity: .94; }
.sh-testimonial { background: var(--sh-surface); border: 1px solid var(--sh-line); border-radius: var(--sh-radius-lg); padding: 30px; margin: 0; }
.sh-testimonial blockquote { margin: 0 0 18px; font-family: var(--sh-font-display); font-size: 1.08em; line-height: 1.5; }
.sh-testimonial blockquote::before { content: "\201C"; display: block; font-size: 2.4em; line-height: .6; color: var(--sh-accent); margin-bottom: 8px; }
.sh-testimonial figcaption { display: flex; align-items: center; gap: 12px; font-family: var(--sh-font-ui); font-size: .82em; }
.sh-testimonial figcaption img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.sh-testimonial__name { font-weight: 700; }
.sh-testimonial__role { color: var(--sh-muted); }
.sh-counter { text-align: center; }
.sh-counter__value { display: block; font-family: var(--sh-font-display); font-size: 2.6rem; color: var(--sh-accent); }
.sh-counter__label { font-family: var(--sh-font-ui); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sh-muted); }
.sh-divider--line { border-top: 1px solid var(--sh-line); }
.sh-divider--dots { text-align: center; letter-spacing: 14px; color: var(--sh-muted); }
.sh-divider--dots::before { content: "\2022 \2022 \2022"; }
.sh-divider--mark { text-align: center; }
.sh-divider--mark::before { content: ""; display: inline-block; width: 44px; border-top: 2px solid var(--sh-accent); }
.sh-cats .sh-cat { position: relative; display: block; border-radius: var(--sh-radius-lg); overflow: hidden; }
.sh-cat__media img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; transition: transform .5s ease; }
.sh-cat:hover .sh-cat__media img { transform: scale(1.05); }
.sh-cats--overlay .sh-cat__body { position: absolute; inset-inline: 0; bottom: 0; padding: 40px 20px 18px; background: linear-gradient(to top, rgba(0,0,0,.6), transparent); color: #fff; }
.sh-cats--below .sh-cat__body { padding: 14px 4px; }
.sh-cat__name { display: block; font-family: var(--sh-font-display); font-size: 1.15rem; }
.sh-cat__count { font-family: var(--sh-font-ui); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; opacity: .8; }
.sh-cats--below .sh-cat__name { color: var(--sh-ink); }
.sh-cats--below .sh-cat__count { color: var(--sh-muted); }
.sh-gallery--masonry { display: block; columns: 3; column-gap: 20px; }
.sh-gallery--masonry .sh-pin { break-inside: avoid; margin-bottom: 20px; }
.sh-gallery--pin img { aspect-ratio: 2/3; object-fit: cover; }
.sh-gallery img { border-radius: var(--sh-radius); width: 100%; }
@media (max-width: 700px) { .sh-gallery--masonry { columns: 2; } }

/* ---------- Footer ---------- */
.sh-footer { background: var(--sh-footer-bg); color: var(--sh-footer-text); padding-block: 64px 30px; margin-top: 40px; }
.sh-footer a { color: inherit; opacity: .82; }
.sh-footer a:hover { opacity: 1; color: inherit; }
.sh-footer .widget-title, .sh-footer h3 { color: inherit; }
.sh-footer .widget li { border-color: rgba(255,255,255,.12); }
.sh-footer__widgets { margin-bottom: 46px; }
.sh-footer__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.14); padding-top: 24px; font-family: var(--sh-font-ui); font-size: .78rem; }
.sh-footer__menu { display: flex; flex-wrap: wrap; gap: 18px; list-style: none; margin: 0; padding: 0; }
.sh-copyright { margin: 0; opacity: .75; }
.sh-footer .sh-pin-follow { margin: 0; color: var(--sh-footer-text); }

/* ---------- Back to top ---------- */
.sh-to-top { position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--sh-ink); color: var(--sh-paper); cursor: pointer; display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .25s ease; z-index: 150; }
.sh-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.sh-to-top:hover { background: var(--sh-accent); }

/* ---------- Entrance animations ---------- */
.sh-anim-on .sh-card, .sh-anim-on .sh-cat, .sh-anim-on .sh-icon-box, .sh-anim-on .sh-testimonial { opacity: 0; transform: translateY(18px); }
.sh-anim-on .sh-anim-in { opacity: 1; transform: none; transition: opacity .5s ease, transform .5s ease; }
@media (prefers-reduced-motion: reduce) {
  .sh-anim-on .sh-card, .sh-anim-on .sh-cat, .sh-anim-on .sh-icon-box, .sh-anim-on .sh-testimonial { opacity: 1; transform: none; }
}

/* ---------- Empty state ---------- */
.sh-empty { text-align: center; padding-block: 60px; max-width: 480px; margin-inline: auto; }

/* ---------- Comments ---------- */
.sh-comments { margin-top: 64px; max-width: 720px; }
.sh-comment-list { list-style: none; padding: 0; }
.sh-comment-list .comment-body { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding-block: 20px; border-bottom: 1px solid var(--sh-line); }
.sh-comment-list .avatar { border-radius: 50%; }
.sh-comment-list .children { list-style: none; padding-inline-start: 40px; }
.comment-reply-link { font-family: var(--sh-font-ui); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; }
.comment-form { margin-top: 30px; display: grid; gap: 16px; }
.comment-form label { font-family: var(--sh-font-ui); font-size: .8rem; display: block; margin-bottom: 6px; }
