/* SideEco homepage. Deliberately scoped: product, cart and account pages keep their theme styles. */
body.sideeco-home-page {
  --seh-navy: #242170;
  --seh-green: #a5ce55;
  --seh-text: #202438;
  --seh-muted: #626779;
  --seh-line: #e2e5ec;
  --seh-soft: #f6f7f9;
  background: #fff;
  color: var(--seh-text);
  overflow-x: visible;
  overflow-y: visible;
}
@supports (overflow: clip) {
  body.sideeco-home-page { overflow-x: clip; }
}
body.sideeco-home-page .seh-main,
body.sideeco-home-page .seh-main * { box-sizing: border-box; }
body.sideeco-home-page .seh-main {
  width: 100%;
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.6;
}
body.sideeco-home-page .seh-wrap { max-width: 1184px; width: 100%; padding: 0 24px; margin: 0 auto; }
body.sideeco-home-page .seh-main a { text-decoration: none; }
body.sideeco-home-page .seh-main a:focus-visible,
body.sideeco-home-page .seh-main button:focus-visible,
body.sideeco-home-page .seh-main input:focus-visible {
  outline: 3px solid #578326;
  outline-offset: 4px;
}
body.sideeco-home-page .seh-visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Keep the existing logo, menus and Welcart cart controls. */
body.sideeco-home-page .p-header__bottom { display: none; }
body.sideeco-home-page .p-header__bar { background: #fff; }
body.sideeco-home-page .p-header-search { display: none; }
body.sideeco-home-page .l-footer { margin-top: 40px; }
/* The original theme still adds is-header-fixed on scroll. Keep its header in
   normal flow on the homepage and pin only the useful product search below. */
body.sideeco-home-page #js-header.l-header.is-header-fixed { margin-bottom: 0; }
body.sideeco-home-page #js-header .l-header__bar {
  position: relative; top: auto; left: auto; -webkit-animation: none; animation: none;
}
body.sideeco-home-page #js-header .p-megamenu { position: absolute; top: 100% !important; }
@media (min-width: 992px) {
  body.sideeco-home-page .p-header__top { min-height: 36px; background: #f7f8fa; }
  body.sideeco-home-page .p-header__top__inner,
  body.sideeco-home-page .p-header__bar__inner { width: calc(100% - 48px); max-width: 1136px; }
  body.sideeco-home-page .p-header__top .p-header-description { font-size: 12px; line-height: 18px; padding: 9px 0; }
  body.sideeco-home-page .p-header__welcart-nav { font-size: 12px; }
  body.sideeco-home-page .p-header__welcart-nav li a { line-height: 36px; }
  body.sideeco-home-page .p-header__bar__inner { height: 76px; }
  body.sideeco-home-page .p-header__logo { margin-right: 24px; max-width: 230px; }
  body.sideeco-home-page .p-header__logo img { max-width: 230px; width: 100%; height: auto; }
  body.sideeco-home-page .p-header__logo--text { font-size: 28px; }
  body.sideeco-home-page .p-global-nav > li { height: 76px; font-size: 13px; }
  body.sideeco-home-page .p-global-nav > li > a { height: 76px; padding: 0 16px; }
}
@media (min-width: 992px) and (max-width: 1120px) {
  body.sideeco-home-page .p-header__logo { max-width: 190px; margin-right: 16px; }
  body.sideeco-home-page .p-header__logo img { max-width: 190px; }
  body.sideeco-home-page .p-global-nav > li > a { padding: 0 12px; font-size: 12px; }
}
@media (max-width: 991px) {
  body.sideeco-home-page .p-header__bar__inner { width: calc(100% - 32px); height: 59px; }
  body.sideeco-home-page .p-header__logo--mobile { max-width: calc(100vw - 174px); }
  body.sideeco-home-page .p-header__logo--mobile img { display: block; max-width: 100%; max-height: 34px; width: auto; height: auto; }
  body.sideeco-home-page .p-header__logo--text { font-size: 19px; }
  body.sideeco-home-page #js-header .p-header-view-cart { top: 59px !important; }
}

/* A visible, touch-friendly product search, without an expanding search icon. */
body.sideeco-home-page .seh-search-section {
  position: sticky; top: 0; z-index: 50;
  padding: 20px 0 22px; background: var(--seh-soft);
  box-shadow: 0 1px 0 rgba(36, 33, 112, .08);
}
body.sideeco-home-page.admin-bar .seh-search-section { top: 32px; }
@media (max-width: 782px) {
  body.sideeco-home-page.admin-bar .seh-search-section { top: 46px; }
}
@media (max-width: 600px) {
  body.sideeco-home-page.admin-bar .seh-search-section { top: 0; }
}
body.sideeco-home-page .seh-search-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 9px; }
body.sideeco-home-page .seh-search-top label,
body.sideeco-home-page .seh-search-top h2,
body.sideeco-home-page .seh-search-top p { margin: 0; font-size: 15px; font-weight: 700; line-height: 1.5; color: var(--seh-text); }
body.sideeco-home-page .seh-search-top a { color: var(--seh-navy); font-size: 13px; font-weight: 600; }
body.sideeco-home-page .seh-search-form {
  display: flex; align-items: center; min-height: 54px; width: 100%;
  border: 2px solid var(--seh-navy); border-radius: 8px; background: #fff; overflow: hidden;
}
body.sideeco-home-page .seh-search-form > svg { width: 22px; height: 22px; flex: 0 0 22px; margin-left: 17px; color: #686c7d; }
body.sideeco-home-page .seh-search-form #seh-search {
  appearance: none; -webkit-appearance: none; min-width: 0; width: 100%; flex: 1 1 auto;
  margin: 0; padding: 13px 14px; border: 0; border-radius: 0; outline-offset: -3px;
  background: #fff; color: var(--seh-text); font: inherit; font-size: 16px; line-height: 1.5; box-shadow: none;
}
body.sideeco-home-page .seh-search-form #seh-search::placeholder { color: #777b88; opacity: 1; }
body.sideeco-home-page .seh-search-form button {
  appearance: none; -webkit-appearance: none; align-self: stretch; min-width: 88px; min-height: 50px;
  margin: 0; padding: 10px 20px; border: 0; border-radius: 0; background: var(--seh-navy); color: #fff;
  font: inherit; font-size: 16px; font-weight: 700; line-height: 1.5; cursor: pointer;
}
body.sideeco-home-page .seh-search-form button:hover { background: #343187; }
body.sideeco-home-page .seh-search-form button:focus-visible { outline-color: var(--seh-green); outline-offset: -5px; }
body.sideeco-home-page .seh-search-form:focus-within { box-shadow: 0 0 0 3px rgba(165, 206, 85, .45); }

/* Existing shipping notice keeps its real shipping-condition gate. */
body.sideeco-home-page .se-store-shipping { background: var(--seh-navy); }
body.sideeco-home-page .se-store-shipping .se-store-shipping__inner { max-width: 1184px; padding: 16px 24px; }
body.sideeco-home-page .se-store-shipping .se-store-shipping__copy { display: flex; justify-content: center; align-items: center; gap: 26px; width: 100%; }
body.sideeco-home-page .se-store-shipping .se-store-shipping__eyebrow,
body.sideeco-home-page .se-store-shipping .se-store-shipping__action { display: none; }
body.sideeco-home-page .se-store-shipping .se-store-shipping__headline { justify-content: center; gap: 10px; }
body.sideeco-home-page .se-store-shipping .se-store-shipping__nation { padding: 4px 7px; font-size: 13px; line-height: 1.4; color: #d6efa5; }
body.sideeco-home-page .se-store-shipping .se-store-shipping__title { font-size: 30px; line-height: 1.2; letter-spacing: .07em; }
body.sideeco-home-page .se-store-shipping .se-store-shipping__note { margin: 0 !important; font-size: 12px; letter-spacing: .02em; line-height: 1.6; color: #f3f3fa; }

/* Short category routes replace the large promotional slideshow. */
body.sideeco-home-page .seh-categories { padding-top: 25px; padding-bottom: 26px; }
body.sideeco-home-page .seh-section-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; margin: 0 0 16px; }
body.sideeco-home-page .seh-section-heading h2 { margin: 0; font-size: 23px; font-weight: 750; line-height: 1.4; color: var(--seh-text); letter-spacing: .015em; }
body.sideeco-home-page .seh-categories .seh-section-heading h2 { font-size: 17px; }
body.sideeco-home-page .seh-section-link { display: inline-flex; align-items: center; min-height: 36px; color: var(--seh-navy); font-size: 13px; font-weight: 600; white-space: nowrap; }
body.sideeco-home-page .seh-section-link:hover { text-decoration: underline; }
body.sideeco-home-page .seh-category-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
body.sideeco-home-page .seh-category {
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 8px; min-height: 88px;
  padding: 12px 7px; border: 1px solid var(--seh-line); border-radius: 8px; background: #fff; color: var(--seh-text);
  font-size: 13px; font-weight: 600; line-height: 1.5; text-align: center; transition: border-color .15s, background .15s;
}
body.sideeco-home-page .seh-category:hover { background: #f6faef; border-color: #93b949; color: var(--seh-navy); }
body.sideeco-home-page .seh-category-icon { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; color: var(--seh-navy); }
body.sideeco-home-page .seh-category-icon svg { display: block; width: 27px; height: 27px; }

/* Real Welcart items; square images are contained, never cropped. */
body.sideeco-home-page .seh-products { padding-top: 8px; padding-bottom: 42px; }
body.sideeco-home-page .seh-heading-meta { margin: 3px 0 0; color: var(--seh-muted); font-size: 13px; line-height: 1.6; }
body.sideeco-home-page .seh-product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px 20px; margin: 0; padding: 0; list-style: none; }
body.sideeco-home-page .seh-product { min-width: 0; margin: 0; border: 1px solid var(--seh-line); border-radius: 10px; background: #fff; }
body.sideeco-home-page .seh-product-link { display: flex; flex-direction: column; height: 100%; min-width: 0; color: var(--seh-text); border-radius: 10px; overflow: hidden; }
body.sideeco-home-page .seh-product-link:hover { color: var(--seh-navy); box-shadow: 0 4px 16px rgba(36, 33, 112, .08); }
body.sideeco-home-page .seh-product-link:focus-visible { outline-offset: 4px; }
body.sideeco-home-page .seh-product-image { display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 1 / 1; position: relative; overflow: hidden; border-bottom: 1px solid #f0f1f4; background: #fafafa; }
body.sideeco-home-page .seh-product-image > img { display: block; width: 100%; height: 100%; max-height: 100%; object-fit: contain; object-position: center; margin: 0; padding: 7px; background: #fff; }
body.sideeco-home-page .seh-product-image .seh-image-placeholder { color: #858a96; font-size: 13px; }
body.sideeco-home-page .seh-stock { display: inline-flex; align-items: center; position: absolute; z-index: 1; top: 10px; left: 10px; max-width: calc(100% - 20px); padding: 4px 8px; border-radius: 4px; background: #edf5df; color: #3b5e1a; font-size: 11px; font-weight: 700; line-height: 1.5; }
body.sideeco-home-page .seh-stock--sold { background: #eff0f2; color: #666b75; }
body.sideeco-home-page .seh-product-info { display: flex; flex-direction: column; flex: 1 1 auto; padding: 14px 14px 13px; min-width: 0; }
body.sideeco-home-page .seh-product-title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; min-height: 4.8em; margin: 0 0 10px; font-size: 14px; line-height: 1.6; font-weight: 600; word-break: normal; overflow-wrap: anywhere; color: inherit; }
body.sideeco-home-page .seh-product-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 3px 5px; margin-top: auto; line-height: 1.35; color: var(--seh-navy); }
body.sideeco-home-page .seh-price-amount { font-size: 25px; font-weight: 750; font-variant-numeric: tabular-nums; letter-spacing: -.02em; overflow-wrap: anywhere; }
body.sideeco-home-page .seh-price-amount em { font-style: normal; }
body.sideeco-home-page .seh-price-tax { color: var(--seh-muted); font-size: 11px; font-weight: 400; white-space: nowrap; }
body.sideeco-home-page .seh-product-hint { display: block; margin-top: 8px; color: #666b78; font-size: 11px; line-height: 1.5; }
body.sideeco-home-page .seh-product--sold .seh-price-amount { color: #666b78; }
body.sideeco-home-page .seh-empty { margin: 0; padding: 36px 20px; border: 1px solid var(--seh-line); border-radius: 8px; background: var(--seh-soft); font-size: 15px; text-align: center; }
body.sideeco-home-page .seh-more { display: flex; align-items: center; justify-content: center; gap: 20px; width: fit-content; min-width: 280px; min-height: 50px; margin: 28px auto 0; padding: 13px 32px; border: 1px solid var(--seh-navy); border-radius: 6px; background: #fff; color: var(--seh-navy); font-size: 15px; font-weight: 700; line-height: 1.5; }
body.sideeco-home-page .seh-more:hover { background: var(--seh-navy); color: #fff; }

/* A separate route for visitors who want to sell their own items. */
body.sideeco-home-page .seh-buyback { margin: 0 0 40px; scroll-margin-top: 160px; }
body.sideeco-home-page .seh-buyback-link {
  display: flex; align-items: center; gap: 24px; padding: 26px 28px;
  border: 1px solid #d5e4bb; border-left: 6px solid #93bb48; border-radius: 10px;
  background: #f3f8eb; color: var(--seh-navy); transition: background .15s, border-color .15s;
}
body.sideeco-home-page .seh-buyback-link:hover { background: #eaf3dd; border-color: #93bb48; color: var(--seh-navy); }
body.sideeco-home-page .seh-buyback-icon { display: flex; align-items: center; justify-content: center; flex: 0 0 68px; width: 68px; height: 68px; border-radius: 50%; background: #e3efce; }
body.sideeco-home-page .seh-buyback-icon svg { display: block; width: 45px; height: 45px; }
body.sideeco-home-page .seh-buyback-copy { flex: 1 1 auto; min-width: 0; }
body.sideeco-home-page .seh-buyback-eyebrow { margin: 0 0 3px; color: #527128; font-size: 12px; line-height: 1.5; font-weight: 600; }
body.sideeco-home-page .seh-buyback-copy h2 { margin: 0 0 6px; color: var(--seh-navy); font-size: 24px; line-height: 1.4; font-weight: 750; }
body.sideeco-home-page .seh-buyback-description { margin: 0; color: #535d4a; font-size: 13px; line-height: 1.7; }
body.sideeco-home-page .seh-buyback-action { display: inline-flex; align-items: center; justify-content: center; gap: 18px; flex: 0 0 auto; min-height: 48px; padding: 12px 20px; border-radius: 6px; background: var(--seh-navy); color: #fff; font-size: 14px; line-height: 1.5; font-weight: 700; white-space: nowrap; }
@media (max-width: 767px) {
  body.sideeco-home-page .seh-buyback { margin-bottom: 28px; scroll-margin-top: 135px; }
  body.sideeco-home-page .seh-buyback-link { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 14px; padding: 20px 16px; border-left-width: 4px; border-radius: 8px; }
  body.sideeco-home-page .seh-buyback-icon { width: 48px; height: 48px; }
  body.sideeco-home-page .seh-buyback-icon svg { width: 34px; height: 34px; }
  body.sideeco-home-page .seh-buyback-eyebrow { font-size: 11px; }
  body.sideeco-home-page .seh-buyback-copy h2 { font-size: 21px; }
  body.sideeco-home-page .seh-buyback-description { font-size: 12px; }
  body.sideeco-home-page .seh-buyback-action { grid-column: 1 / -1; width: 100%; min-height: 46px; font-size: 13px; }
}

/* Keep help close by without competing with the product grid. */
body.sideeco-home-page .seh-help { padding: 32px 0; background: var(--seh-soft); border-top: 1px solid #edf0f4; }
body.sideeco-home-page .seh-help-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
body.sideeco-home-page .seh-help-link { display: flex; align-items: center; gap: 14px; min-height: 92px; padding: 18px; border: 1px solid var(--seh-line); border-radius: 8px; background: #fff; color: var(--seh-text); }
body.sideeco-home-page .seh-help-link > svg { flex: 0 0 28px; width: 28px; height: 28px; color: var(--seh-navy); }
body.sideeco-home-page .seh-help-link > span:last-child { margin-left: auto; }
body.sideeco-home-page .seh-help-link:hover { border-color: #9998ba; color: var(--seh-navy); }
body.sideeco-home-page .seh-help-title { display: block; margin: 0; color: inherit; font-size: 15px; font-weight: 700; line-height: 1.5; }
body.sideeco-home-page .seh-help-caption { display: block; margin: 4px 0 0; color: var(--seh-muted); font-size: 12px; line-height: 1.6; }

@media (min-width: 768px) and (max-width: 991px) {
  body.sideeco-home-page .seh-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 16px; }
  body.sideeco-home-page .seh-category { font-size: 12px; }
  body.sideeco-home-page .seh-help-link { gap: 10px; padding: 14px; }
}
@media (max-width: 767px) {
  body.sideeco-home-page .seh-wrap { padding-left: 16px; padding-right: 16px; }
  body.sideeco-home-page .seh-search-section { padding: 13px 0 15px; }
  body.sideeco-home-page .seh-search-top { margin-bottom: 7px; }
  body.sideeco-home-page .seh-search-top label,
  body.sideeco-home-page .seh-search-top h2,
  body.sideeco-home-page .seh-search-top p { font-size: 13px; }
  body.sideeco-home-page .seh-search-top a { font-size: 11px; }
  body.sideeco-home-page .seh-search-form { min-height: 50px; border-radius: 6px; }
  body.sideeco-home-page .seh-search-form > svg { width: 18px; height: 18px; flex-basis: 18px; margin-left: 11px; }
  body.sideeco-home-page .seh-search-form #seh-search { padding: 11px 9px; font-size: 16px; }
  body.sideeco-home-page .seh-search-form button { min-width: 62px; min-height: 46px; padding: 10px 12px; font-size: 14px; }
  body.sideeco-home-page .se-store-shipping .se-store-shipping__inner { padding: 12px 16px; }
  body.sideeco-home-page .se-store-shipping .se-store-shipping__copy { flex-wrap: wrap; justify-content: center; gap: 5px 14px; text-align: center; }
  body.sideeco-home-page .se-store-shipping .se-store-shipping__headline { gap: 9px; }
  body.sideeco-home-page .se-store-shipping .se-store-shipping__title { font-size: 26px; letter-spacing: .06em; }
  body.sideeco-home-page .se-store-shipping .se-store-shipping__nation { font-size: 11px; padding: 3px 6px; }
  body.sideeco-home-page .se-store-shipping .se-store-shipping__note { width: 100%; font-size: 11px; line-height: 1.5; letter-spacing: 0; }
  body.sideeco-home-page .seh-categories { padding-top: 18px; padding-bottom: 20px; }
  body.sideeco-home-page .seh-section-heading { gap: 6px 10px; margin-bottom: 12px; }
  body.sideeco-home-page .seh-section-heading h2 { font-size: 20px; }
  body.sideeco-home-page .seh-categories .seh-section-heading h2 { font-size: 15px; }
  body.sideeco-home-page .seh-section-link { min-height: 28px; font-size: 12px; }
  body.sideeco-home-page .seh-category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  body.sideeco-home-page .seh-category { min-height: 72px; padding: 9px 4px; gap: 5px; border-radius: 6px; font-size: 12px; line-height: 1.45; }
  body.sideeco-home-page .seh-category-icon,
  body.sideeco-home-page .seh-category-icon svg { width: 24px; height: 24px; }
  body.sideeco-home-page .seh-products { padding-top: 5px; padding-bottom: 28px; }
  body.sideeco-home-page .seh-heading-meta { font-size: 11px; margin-top: 3px; }
  body.sideeco-home-page .seh-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 10px; }
  body.sideeco-home-page .seh-product,
  body.sideeco-home-page .seh-product-link { border-radius: 7px; }
  body.sideeco-home-page .seh-product-image > img { padding: 4px; }
  body.sideeco-home-page .seh-stock { top: 7px; left: 7px; max-width: calc(100% - 14px); padding: 3px 6px; font-size: 10px; }
  body.sideeco-home-page .seh-product-info { padding: 10px 9px; }
  body.sideeco-home-page .seh-product-title { margin-bottom: 8px; font-size: 13px; line-height: 1.55; min-height: 4.65em; }
  body.sideeco-home-page .seh-product-price { gap: 2px 4px; }
  body.sideeco-home-page .seh-price-amount { font-size: 21px; }
  body.sideeco-home-page .seh-price-tax { font-size: 10px; }
  body.sideeco-home-page .seh-product-hint { font-size: 10px; margin-top: 6px; }
  body.sideeco-home-page .seh-more { width: 100%; min-width: 0; min-height: 48px; margin-top: 22px; padding: 12px 20px; font-size: 14px; }
  body.sideeco-home-page .seh-help { padding: 24px 0; }
  body.sideeco-home-page .seh-help-grid { grid-template-columns: 1fr; gap: 9px; }
  body.sideeco-home-page .seh-help-link { min-height: 76px; padding: 14px 16px; gap: 14px; }
  body.sideeco-home-page .seh-help-title { font-size: 14px; }
  body.sideeco-home-page .seh-help-caption { margin-top: 2px; font-size: 11px; }
  body.sideeco-home-page .l-footer { margin-top: 26px; }
}
@media (max-width: 359px) {
  body.sideeco-home-page .seh-wrap { padding-left: 12px; padding-right: 12px; }
  body.sideeco-home-page .seh-search-form > svg { display: none; }
  body.sideeco-home-page .seh-search-form #seh-search { padding-left: 10px; }
  body.sideeco-home-page .seh-category { font-size: 11px; }
  body.sideeco-home-page .seh-price-amount { font-size: 18px; }
  body.sideeco-home-page .seh-product-info { padding: 9px 8px; }
}
@media (prefers-reduced-motion: reduce) {
  body.sideeco-home-page .seh-main a { transition: none; }
}
