/**
 * Utopia Store site type — scoped to body.utopia-site-store only.
 * Brand colors (Customizer → CSS vars):
 *   --utopia-store-bg     default #FFFFFF
 *   --utopia-store-text   default #000000
 *   --utopia-store-accent default #827C6C
 * Do not apply to other site types.
 */

body.utopia-site-store,
body.utopia-store-chrome {
  --utopia-store-sidebar-left: 200px;
  --utopia-store-sidebar-right: 81px;
  --utopia-store-square: 81px;
  --utopia-store-header-h: 64px;
  --utopia-store-logo-pad: 0px;
  --utopia-store-bg: #FFFFFF;
  --utopia-store-text: #000000;
  --utopia-store-accent: var(--utopia-store-c-dark, #827C6C);
  --utopia-store-border: #E6E6E6;
  --utopia-store-section-base: #FFFFFF;
  --utopia-store-section-alt: var(--utopia-store-c-grey, #E9E9E9);
  --utopia-store-footer-bg: var(--utopia-store-c-beige, #A49581);
  --utopia-store-footer-fg: #FFFFFF;
  --utopia-store-preview-title: var(--utopia-store-c-beige, #A49581);
  --utopia-store-preview-title-fg: #FFFFFF;
  --utopia-store-preview-accent: var(--utopia-store-c-beige, #A49581);
  --utopia-store-demo-button: var(--utopia-store-c-beige, #A49581);
  --utopia-store-demo-button-fg: #FFFFFF;
  --utopia-store-eyebrow: var(--utopia-store-c-beige, #A49581);
  --utopia-store-eyebrow-fg: #FFFFFF;
  --utopia-store-pricing-badge: var(--utopia-store-c-beige, #A49581);
  --utopia-store-pricing-badge-fg: #FFFFFF;
  --utopia-store-posts-badge: var(--utopia-store-c-beige, #A49581);
  --utopia-store-posts-badge-fg: #FFFFFF;
  --utopia-store-info-border: var(--utopia-store-c-grey, #E9E9E9);
  --utopia-store-fp-white: #FFFFFF;
  --utopia-store-fp-black: #000000;
  --utopia-store-fp-grey: var(--utopia-store-c-grey, #E9E9E9);
  --utopia-store-fp-beige: var(--utopia-store-c-beige, #A49581);
  --utopia-store-fp-beige-fg: #FFFFFF;
  --utopia-store-site-text: #000000;
  --utopia-store-fg: var(--utopia-store-text);
  --utopia-store-muted: var(--utopia-store-accent);
  --utopia-store-line: var(--utopia-store-border);
  --utopia-store-sidebar-bg: var(--utopia-store-bg);
  --utopia-store-sidebar-bg-right: var(--utopia-store-bg);
  --utopia-store-sidebar-bg-left: var(--utopia-store-bg);
  background: var(--utopia-store-bg);
  color: var(--utopia-store-text);
}

/* Hide non-Store chrome */
body.utopia-site-store .site-header:not(.utopia-store-header),
body.utopia-site-store .utopia-blog-header,
body.utopia-site-store .utopia-lp-header {
  display: none !important;
}

/* ════════════════════════════════════════
   HEADER (reset / rebuild)
   LOGO | MENU ........................ 🔍
   ════════════════════════════════════════ */
body.utopia-site-store .utopia-store-header {
  position: sticky !important;
  top: 0 !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  transform: none !important;
  z-index: 500;
  width: 100%;
  background: var(--utopia-store-bg) !important;
  background-color: var(--utopia-store-bg) !important;
  border-bottom: 1px solid var(--utopia-store-line);
  box-sizing: border-box;
  overflow: visible;
}

body.utopia-dark-mode.utopia-site-store .utopia-store-header,
body.utopia-dark-mode.utopia-store-chrome .utopia-store-header {
  background: var(--utopia-store-bg) !important;
  background-color: var(--utopia-store-bg) !important;
  color: var(--utopia-store-text);
}

body.utopia-site-store .utopia-store-header__bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: 12px;
  width: 100%;
  min-height: var(--utopia-store-header-h);
  height: var(--utopia-store-header-h);
  max-height: var(--utopia-store-header-h);
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  background: var(--utopia-store-bg);
  background-color: var(--utopia-store-bg);
  overflow: visible;
}

/* Logo — default height = header/menu height; never taller */
body.utopia-site-store .utopia-store-header__logo,
body.utopia-site-store .utopia-store-header a.utopia-store-header__logo,
body.utopia-site-store .utopia-store-header a.custom-logo-link.utopia-store-header__logo {
  grid-column: 1;
  justify-self: start;
  display: inline-flex !important;
  align-items: center;
  flex: 0 0 auto;
  height: var(--utopia-store-header-h) !important;
  max-height: var(--utopia-store-header-h) !important;
  min-height: 0 !important;
  padding: 0 0 0 clamp(16px, 3vw, 40px);
  margin: 0 !important;
  box-sizing: border-box;
  color: var(--utopia-store-text);
  text-decoration: none;
  overflow: hidden;
  line-height: 0 !important;
}

body.utopia-site-store .utopia-store-header__logo-text {
  display: inline-flex;
  align-items: center;
  height: 100%;
  max-height: var(--utopia-store-header-h);
  font-size: calc(var(--utopia-store-header-h) * 0.3);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1;
}

/* Kill global .custom-logo { height:auto; max-width: --utopia-logo-max-width } */
body.utopia-site-store .utopia-store-header .custom-logo-link,
body.utopia-site-store .utopia-store-header__logo.custom-logo-link {
  max-height: var(--utopia-store-header-h) !important;
  height: var(--utopia-store-header-h) !important;
}

body.utopia-site-store .utopia-store-header .custom-logo,
body.utopia-site-store .utopia-store-header .utopia-store-header__logo-img,
body.utopia-site-store .utopia-store-header__logo .custom-logo,
body.utopia-site-store .utopia-store-header__logo img,
body.utopia-site-store header.utopia-store-header img.custom-logo,
body.utopia-site-store header.utopia-store-header img.utopia-store-header__logo-img {
  display: block !important;
  height: var(--utopia-store-header-h) !important;
  max-height: var(--utopia-store-header-h) !important;
  min-height: 0 !important;
  width: auto !important;
  max-width: none !important;
  object-fit: contain !important;
  vertical-align: middle;
}

/* Menu — true viewport center (grid middle column) */
body.utopia-site-store .utopia-store-header__nav {
  grid-column: 2;
  justify-self: center;
  min-width: 0;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

body.utopia-site-store .utopia-store-header__menu {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
  height: 100%;
  gap: 0;
}

body.utopia-site-store .utopia-store-header__menu > li {
  display: flex;
  align-items: center;
  height: 100%;
  margin: 0;
  padding: 0;
}

body.utopia-site-store .utopia-store-header__menu > li > a {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 16px;
  color: var(--utopia-store-text);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  box-sizing: border-box;
  transition: border-color 0.15s ease, opacity 0.15s ease;
}

body.utopia-site-store .utopia-store-header__menu > li > a:hover,
body.utopia-site-store .utopia-store-header__menu > li.current-menu-item > a {
  border-bottom-color: var(--utopia-store-text);
  opacity: 1;
}

/* Search — right rail width; icon center = square center X */
body.utopia-site-store .utopia-store-header__search {
  grid-column: 3;
  justify-self: end;
  width: var(--utopia-store-sidebar-right);
  max-width: var(--utopia-store-sidebar-right);
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  box-sizing: border-box;
}

body.utopia-site-store .utopia-store-header__search-form {
  display: flex;
  align-items: center;
  height: 36px;
  background: var(--utopia-store-bg);
  border: 1px solid transparent;
  box-sizing: border-box;
}

body.utopia-site-store .utopia-store-header__search-input {
  height: 100%;
  border: 0;
  background: transparent;
  padding: 0 12px;
  font-size: 13px;
  color: var(--utopia-store-text);
  outline: none;
  box-sizing: border-box;
}

body.utopia-site-store .utopia-store-header__search-input::placeholder {
  color: var(--utopia-store-accent);
}

body.utopia-site-store .utopia-store-header__search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 40px;
  width: 40px;
  height: 36px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--utopia-store-text);
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
}

body.utopia-site-store .utopia-store-header__search-btn:hover {
  filter: brightness(1.18);
  opacity: 1;
}

/* A: always show input */
body.utopia-site-store .utopia-store-header--search-always .utopia-store-header__search {
  width: auto;
  max-width: none;
  justify-content: flex-end;
  padding-right: 0;
}
body.utopia-site-store .utopia-store-header--search-always .utopia-store-header__search-form {
  border-color: var(--utopia-store-accent);
  width: min(260px, 32vw);
}
/* Keep the magnifying-glass X aligned to the right-rail center even in always mode */
body.utopia-site-store .utopia-store-header--search-always .utopia-store-header__search-btn {
  margin-right: calc((var(--utopia-store-sidebar-right) - 40px) / 2);
}

body.utopia-site-store .utopia-store-header--search-always .utopia-store-header__search-input {
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
}

/* B: hover — icon only (right edge); input expands on hover/focus/open */
body.utopia-site-store .utopia-store-header--search-hover .utopia-store-header__search-form {
  width: 40px;
  overflow: hidden;
  justify-content: center;
  transition: width 0.2s ease, border-color 0.2s ease;
}

body.utopia-site-store .utopia-store-header--search-hover .utopia-store-header__search-input {
  width: 0;
  padding: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease, padding 0.2s ease, width 0.2s ease;
}

body.utopia-site-store .utopia-store-header--search-hover .utopia-store-header__search:hover,
body.utopia-site-store .utopia-store-header--search-hover .utopia-store-header__search:focus-within,
body.utopia-site-store .utopia-store-header--search-hover .utopia-store-header__search.is-open {
  width: auto;
  max-width: none;
  justify-content: flex-end;
}
body.utopia-site-store .utopia-store-header--search-hover .utopia-store-header__search:hover .utopia-store-header__search-form,
body.utopia-site-store .utopia-store-header--search-hover .utopia-store-header__search:focus-within .utopia-store-header__search-form,
body.utopia-site-store .utopia-store-header--search-hover .utopia-store-header__search.is-open .utopia-store-header__search-form {
  width: min(260px, 70vw);
  border-color: var(--utopia-store-accent);
  justify-content: flex-start;
}
body.utopia-site-store .utopia-store-header--search-hover .utopia-store-header__search:hover .utopia-store-header__search-btn,
body.utopia-site-store .utopia-store-header--search-hover .utopia-store-header__search:focus-within .utopia-store-header__search-btn,
body.utopia-site-store .utopia-store-header--search-hover .utopia-store-header__search.is-open .utopia-store-header__search-btn {
  margin-right: calc((var(--utopia-store-sidebar-right) - 40px) / 2);
}

body.utopia-site-store .utopia-store-header--search-hover .utopia-store-header__search:hover .utopia-store-header__search-input,
body.utopia-site-store .utopia-store-header--search-hover .utopia-store-header__search:focus-within .utopia-store-header__search-input,
body.utopia-site-store .utopia-store-header--search-hover .utopia-store-header__search.is-open .utopia-store-header__search-input {
  width: auto;
  flex: 1 1 auto;
  min-width: 0;
  padding: 0 12px;
  opacity: 1;
  pointer-events: auto;
}

/* Mobile menu button — hidden on desktop */
body.utopia-site-store .utopia-store-header__menu-toggle {
  display: none;
  flex: 0 0 40px;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--utopia-store-line);
  background: var(--utopia-store-bg);
  cursor: pointer;
}

body.utopia-site-store .utopia-store-header__menu-toggle-icon,
body.utopia-site-store .utopia-store-header__menu-toggle-icon::before,
body.utopia-site-store .utopia-store-header__menu-toggle-icon::after {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--utopia-store-accent);
  position: relative;
}

body.utopia-site-store .utopia-store-header__menu-toggle-icon::before,
body.utopia-site-store .utopia-store-header__menu-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

body.utopia-site-store .utopia-store-header__menu-toggle-icon::before { top: -5px; }
body.utopia-site-store .utopia-store-header__menu-toggle-icon::after { top: 5px; }

/* ════════════════════════════════════════
   3-column layout: left | main | right
   ════════════════════════════════════════ */
body.utopia-site-store .utopia-store-layout {
  display: grid;
  grid-template-columns: var(--utopia-store-sidebar-left) minmax(0, 1fr) var(--utopia-store-sidebar-right);
  grid-template-areas: "left main right";
  align-items: start;
  width: 100%;
  min-height: 60vh;
  box-sizing: border-box;
}

body.utopia-site-store .utopia-store-main {
  grid-area: main;
  min-width: 0;
  background: var(--utopia-store-bg);
  border: 0;
  border-left: 0;
  border-right: 0;
}

body.utopia-site-store .utopia-store-sidebar--left,
body.utopia-site-store .utopia-store-sidebar--right {
  position: sticky;
  top: var(--utopia-store-header-h, 64px);
  z-index: 40;
  align-self: start;
  height: calc(100vh - var(--utopia-store-header-h, 64px));
  max-height: calc(100vh - var(--utopia-store-header-h, 64px));
  box-sizing: border-box;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

body.utopia-site-store .utopia-store-sidebar--left {
  grid-area: left;
  background: var(--utopia-store-sidebar-bg-left);
  border-right: 1px solid var(--utopia-store-line);
}

body.utopia-site-store .utopia-store-sidebar--right {
  grid-area: right;
  background: var(--utopia-store-sidebar-bg-right);
  border-left: 1px solid var(--utopia-store-line);
}

body.utopia-site-store .utopia-store-sidebar--left .utopia-store-sidebar-inner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 12px;
  height: 100%;
  min-height: 100%;
  padding: 20px 14px;
  box-sizing: border-box;
}

body.utopia-site-store .utopia-store-sidebar--left .utopia-store-sidebar-nav {
  flex: 1 1 auto;
  min-height: 0;
}

body.utopia-site-store .utopia-store-sidebar--left .utopia-store-sidebar-sns-wrap {
  margin-top: auto;
  flex: 0 0 auto;
  width: 100%;
  padding-top: 16px;
}

body.utopia-site-store .utopia-store-sidebar--left .utopia-store-sidebar-sns {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

body.utopia-site-store .utopia-store-sidebar--left .utopia-store-sidebar-sns-empty {
  margin: 0;
  padding: 8px 4px;
  font-size: 11px;
  line-height: 1.4;
  color: var(--utopia-store-accent);
  text-align: center;
}

body.utopia-site-store .utopia-store-sidebar-sns__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--utopia-store-text);
  text-decoration: none;
  border: 1px solid var(--utopia-store-border);
  background: var(--utopia-store-bg);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

body.utopia-site-store .utopia-store-sidebar-sns__link:hover {
  filter: brightness(1.18);
}

/* Left menu: 2-column — image left / title right */
body.utopia-site-store .utopia-store-sidebar--left .utopia-store-sidebar-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

body.utopia-site-store .utopia-store-sidebar--left .utopia-store-sidebar-menu__link {
  display: grid !important;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 10px 4px;
  color: var(--utopia-store-text);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  box-sizing: border-box;
}

body.utopia-site-store .utopia-store-sidebar--left .utopia-store-sidebar-menu__thumb {
  display: block;
  flex: none;
  width: 40px;
  height: 40px;
  overflow: hidden;
  border-radius: 0;
  background: #f0f0f0;
  border: 1px solid var(--utopia-store-border, #e6e6e6);
  box-sizing: border-box;
}

body.utopia-site-store .utopia-store-sidebar--left .utopia-store-sidebar-menu__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.25s ease;
  will-change: transform;
}

body.utopia-site-store .utopia-store-sidebar--left .utopia-store-sidebar-menu__link:hover .utopia-store-sidebar-menu__thumb img {
  transform: scale(1.08);
}

body.utopia-site-store .utopia-store-sidebar--left .utopia-store-sidebar-menu__label {
  display: block;
  min-width: 0;
  line-height: 1.35;
  word-break: break-word;
}

body.utopia-site-store .utopia-store-sidebar--right .utopia-store-sidebar-inner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0;
  height: 100%;
  min-height: 100%;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  overflow: hidden;
}

body.utopia-site-store .utopia-store-sidebar--right .utopia-store-squares {
  flex: 0 0 auto;
}

body.utopia-site-store .utopia-store-sidebar--right .utopia-store-sidebar-bottom {
  margin-top: auto;
  flex: 0 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: stretch;
  width: 100%;
}

body.utopia-site-store .utopia-store-sidebar-empty {
  margin: 0;
  padding: 12px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--utopia-store-accent);
  border: 1px dashed var(--utopia-store-accent);
  background: var(--utopia-store-bg);
}

body.utopia-site-store .utopia-store-sidebar-nav {
  flex: 1 1 auto;
  min-height: 0;
}

body.utopia-site-store .utopia-store-sidebar-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

body.utopia-site-store .utopia-store-sidebar-menu li {
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--utopia-store-border);
}

body.utopia-site-store .utopia-store-sidebar--left .utopia-store-sidebar-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 4px;
  color: var(--utopia-store-text);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: 0;
}

body.utopia-site-store .utopia-store-sidebar-menu a:hover,
body.utopia-site-store .utopia-store-sidebar--left .utopia-store-sidebar-menu__link:hover {
  /* Brighten only — no size / padding / color-swap */
  filter: brightness(1.18);
  transform: none !important;
  width: auto !important;
  height: auto !important;
  scale: none !important;
}

body.utopia-site-store .utopia-store-sidebar-menu .sub-menu {
  list-style: none;
  margin: 0;
  padding: 0 0 0 12px;
  background: var(--utopia-store-bg);
}

body.utopia-site-store .utopia-store-sidebar-menu .sub-menu a {
  font-size: 12px;
  font-weight: 400;
  color: var(--utopia-store-text);
}

body.utopia-site-store .utopia-store-sidebar--right .utopia-store-square,
body.utopia-site-store .utopia-store-sidebar--right .utopia-store-sidebar-top.utopia-store-square {
  border-radius: 0;
}

body.utopia-site-store .utopia-store-sidebar--right .utopia-store-sidebar-top {
  margin-top: 0;
  /* Square hit area = same as other right-rail squares */
  flex: 0 0 var(--utopia-store-square, 81px);
  width: var(--utopia-store-square, 81px);
  height: var(--utopia-store-square, 81px);
  min-width: var(--utopia-store-square, 81px);
  min-height: var(--utopia-store-square, 81px);
  max-width: var(--utopia-store-square, 81px);
  max-height: var(--utopia-store-square, 81px);
  padding: 0;
  box-sizing: border-box;
  border: 0;
  border-top: 1px solid var(--utopia-store-border);
  border-bottom: 1px solid var(--utopia-store-border);
  border-radius: 0;
  background: var(--utopia-store-bg);
  color: var(--utopia-store-text);
  text-decoration: none !important;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
}

body.utopia-site-store .utopia-store-sidebar--right .utopia-store-sidebar-top:hover,
body.utopia-site-store .utopia-store-sidebar-top:hover {
  filter: brightness(1.18);
  text-decoration: none !important;
}

body.utopia-site-store .utopia-store-sidebar--right .utopia-store-sidebar-top-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 14px;
  line-height: 1;
  text-decoration: none;
  border: 0;
  pointer-events: none; /* hit area is the square <a> itself */
}

body.utopia-site-store .utopia-store-squares {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}

body.utopia-site-store .utopia-store-sidebar-item {
  width: 100%;
  height: var(--utopia-store-square);
  flex: 0 0 var(--utopia-store-square);
  margin: 0;
  padding: 0;
}

body.utopia-site-store .utopia-store-sidebar--right .utopia-store-square {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  height: var(--utopia-store-square);
  min-width: 0;
  min-height: var(--utopia-store-square);
  box-sizing: border-box;
  padding: 4px 2px;
  margin: 0;
  border: 0;
  border-top: 1px solid var(--utopia-store-border);
  border-bottom: 1px solid var(--utopia-store-border);
  border-left: 0;
  border-right: 0;
  background: var(--utopia-store-bg);
  color: var(--utopia-store-text);
  text-decoration: none;
  overflow: hidden;
  border-radius: 0;
}

body.utopia-site-store .utopia-store-sidebar--right .utopia-store-squares .utopia-store-sidebar-item + .utopia-store-sidebar-item .utopia-store-square {
  border-top: 0;
}

body.utopia-site-store .utopia-store-sidebar--right .utopia-store-square:hover {
  filter: brightness(1.18);
  /* Keep size / borders identical — brighten only */
}

body.utopia-site-store .utopia-store-square-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
}

body.utopia-site-store .utopia-store-square-text {
  display: block;
  max-width: 100%;
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.15;
}

body.utopia-site-store .utopia-store-main {
  grid-area: main;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  background: var(--utopia-store-bg);
  border: 0 !important;
  border-left: 0 !important;
  border-right: 0 !important;
  box-sizing: border-box;
  outline: none;
  box-shadow: none;
}

body.utopia-site-store .utopia-store-visual {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: var(--utopia-store-accent);
}

/* Height ×1.5 from previous clamp(260px, 48vh, 640px) */
body.utopia-site-store .utopia-store-visual-img {
  display: block;
  width: 100%;
  height: clamp(390px, 72vh, 960px);
  object-fit: cover;
}

body.utopia-site-store .utopia-store-visual-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: clamp(390px, 72vh, 960px);
  background: var(--utopia-store-bg);
  border-bottom: 1px solid var(--utopia-store-border);
  color: var(--utopia-store-text);
}

/* =========================================================
   UTOPIA HERO FLOATING PANEL (Store visual)
   Colors adapted to Store top 4-color palette.
========================================================= */
body.utopia-site-store .utopia-hero-overlay {
  position: absolute;
  z-index: 20;
  left: 50%;
  bottom: 8%;
  transform: translateX(-50%);
  width: min(1120px, calc(100% - 80px));
  box-sizing: border-box;
  /* Background alpha only — never opacity on the whole box */
  background: var(--utopia-hero-overlay-bg, rgba(255, 255, 255, 0.94));
  border: 1px solid var(--utopia-store-c-grey, #E9E9E9);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

body.utopia-site-store .utopia-hero-overlay-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 230px;
  padding: 42px 55px;
  box-sizing: border-box;
}

body.utopia-site-store .utopia-hero-overlay-left {
  max-width: 720px;
}

body.utopia-site-store .utopia-hero-overlay-label {
  display: block;
  margin-bottom: 16px;
  color: var(--utopia-store-c-beige, #A49581);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .18em;
}

body.utopia-site-store .utopia-hero-overlay-title {
  margin: 0;
  color: #000000;
  font-family: inherit;
  font-size: clamp(30px, 4vw, 54px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.035em;
}

body.utopia-site-store .utopia-hero-overlay-title div:last-child {
  color: var(--utopia-store-c-beige, #A49581);
}

body.utopia-site-store .utopia-hero-overlay-text {
  max-width: 520px;
  margin: 22px 0 0;
  color: #000000;
  font-size: 13px;
  line-height: 1.9;
  letter-spacing: .03em;
}

body.utopia-site-store .utopia-hero-overlay-right {
  flex-shrink: 0;
  margin-left: 50px;
}

body.utopia-site-store .utopia-hero-overlay-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-width: 170px;
  padding: 17px 19px;
  box-sizing: border-box;
  color: var(--utopia-store-c-beige-fg, #FFFFFF) !important;
  background: var(--utopia-store-c-beige, #A49581) !important;
  border: 1px solid var(--utopia-store-c-beige, #A49581) !important;
  text-decoration: none !important;
  font-size: 11px;
  letter-spacing: .08em;
  transition: background .25s ease, transform .25s ease, border-color .25s ease;
}

body.utopia-site-store .utopia-hero-overlay-button:hover {
  background: #000000 !important;
  border-color: #000000 !important;
  color: #FFFFFF !important;
  transform: translateY(-3px);
}

body.utopia-site-store .utopia-hero-overlay-arrow {
  margin-left: 25px;
  font-size: 18px;
  line-height: 1;
  transition: transform .25s ease;
}

body.utopia-site-store .utopia-hero-overlay-button:hover .utopia-hero-overlay-arrow {
  transform: translate(3px, -3px);
}

@media (max-width: 900px) {
  body.utopia-site-store .utopia-hero-overlay {
    width: calc(100% - 40px);
    bottom: 5%;
  }
  body.utopia-site-store .utopia-hero-overlay-inner {
    padding: 32px 35px;
  }
  body.utopia-site-store .utopia-hero-overlay-right {
    margin-left: 30px;
  }
}

@media (max-width: 767px) {
  body.utopia-site-store .utopia-hero-overlay {
    position: absolute;
    width: calc(100% - 28px);
    bottom: 20px;
  }
  body.utopia-site-store .utopia-hero-overlay-inner {
    display: block;
    min-height: auto;
    padding: 27px 25px;
  }
  body.utopia-site-store .utopia-hero-overlay-label {
    margin-bottom: 12px;
    font-size: 8px;
  }
  body.utopia-site-store .utopia-hero-overlay-title {
    font-size: 30px;
  }
  body.utopia-site-store .utopia-hero-overlay-text {
    margin-top: 15px;
    font-size: 11px;
    line-height: 1.7;
  }
  body.utopia-site-store .utopia-hero-overlay-right {
    margin: 22px 0 0;
  }
  body.utopia-site-store .utopia-hero-overlay-button {
    width: 100%;
  }
}

body.utopia-site-store .utopia-store-visual-ph-label {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

body.utopia-site-store .utopia-store-content {
  width: 100%;
  margin: 0;
  padding: 40px clamp(20px, 3vw, 48px) 80px;
  box-sizing: border-box;
}

/* Top-page sections (store_fp_*) start directly under the main visual */
body.utopia-site-store .utopia-store-content--fp {
  padding: 0;
  width: 100%;
}

body.utopia-site-store .utopia-store-content--fp .utopia-fp-section {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  /* +15px each side from previous 8px */
  padding-left: 23px;
  padding-right: 23px;
}

body.utopia-site-store .utopia-store-content--fp .utopia-fp-section__inner,
body.utopia-site-store .utopia-store-content--fp .utopia-fp-section__inner.utopia-container {
  max-width: none !important;
  width: 100% !important;
  /* +15px each side from previous 12px */
  padding-left: 27px !important;
  padding-right: 27px !important;
  box-sizing: border-box;
}

body.utopia-site-store .utopia-store-content--fp .utopia-widget-area {
  padding-left: 27px;
  padding-right: 27px;
}

/* 店舗情報・カレンダー — design lock (store only) */
body.utopia-site-store .utopia-store-store-info-calendar {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

body.utopia-site-store .utopia-store-store-info-calendar__inner {
  max-width: none;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.utopia-site-store .utopia-store-store-info-calendar__title {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 8px;
  padding: 48px 0 0;
}

body.utopia-site-store .utopia-store-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px; /* minimal column gap */
  justify-content: center;
  align-items: start;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 0;
  color: var(--utopia-store-text, #000000);
  box-sizing: border-box;
}

body.utopia-site-store .utopia-store-details,
body.utopia-site-store .utopia-store-calendar {
  min-width: 0;
  max-width: 100%;
}

body.utopia-site-store .utopia-store-details {
  min-width: 0;
}

body.utopia-site-store .utopia-store-row {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 18px;
  padding: 16px 0;
  margin: 0;
  border: 0 !important;
  border-bottom: 1px solid #e5e5e5 !important;
  font-size: 14px;
  line-height: 1.6;
  background: transparent !important;
  box-shadow: none !important;
  box-sizing: border-box;
}

body.utopia-site-store .utopia-store-row:first-child {
  border-top: 1px solid #e5e5e5 !important;
}

body.utopia-site-store .utopia-store-row span {
  color: #777 !important;
  font-weight: 400;
  white-space: nowrap;
}

body.utopia-site-store .utopia-store-row strong {
  font-weight: 400 !important;
  color: #222 !important;
  overflow-wrap: anywhere;
  background: transparent !important;
}

body.utopia-site-store .utopia-store-row strong a {
  color: inherit !important;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 400 !important;
}

body.utopia-site-store .utopia-store-calendar {
  min-width: 0;
}

body.utopia-site-store .utopia-calendar-wrap {
  width: 100%;
  overflow: hidden;
  background: transparent !important;
}

body.utopia-site-store .utopia-calendar {
  width: 100%;
  max-width: 100%;
  min-width: 0 !important;
  border-collapse: collapse;
  table-layout: fixed;
  border: 2px solid var(--utopia-store-c-beige, #A49581) !important;
  font-size: 12px;
  background: transparent !important;
  box-shadow: none !important;
}

body.utopia-site-store .utopia-calendar th,
body.utopia-site-store .utopia-calendar td {
  border: 1px solid #dedede !important;
  padding: 10px 4px;
  text-align: center;
  vertical-align: middle;
  box-sizing: border-box;
  background: transparent !important;
  color: #222 !important;
  box-shadow: none !important;
}

body.utopia-site-store .utopia-calendar thead th {
  background: var(--utopia-store-c-grey, #E9E9E9) !important;
  color: var(--utopia-store-text, #000000) !important;
  font-weight: 500;
  white-space: nowrap;
}

body.utopia-site-store .utopia-calendar thead th:first-child {
  width: 100px;
}

/* Time-slot row headers: same as calendar body (no private white bg) */
body.utopia-site-store .utopia-calendar tbody th {
  background: transparent !important;
  background-color: transparent !important;
  font-weight: 400;
  white-space: nowrap;
}

body.utopia-site-store .utopia-calendar td {
  font-size: 16px;
  line-height: 1;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.utopia-site-store .utopia-calendar td.utopia-closed,
body.utopia-site-store .utopia-calendar .utopia-closed {
  color: #999 !important;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* Kill global button styles on calendar cells */
body.utopia-site-store .utopia-calendar .utopia-open,
body.utopia-site-store .utopia-calendar .button,
body.utopia-site-store .utopia-calendar button {
  display: inline;
  font-size: inherit;
  line-height: inherit;
  color: inherit !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
}

body.utopia-site-store .utopia-calendar td small,
body.utopia-site-store .utopia-store-heading {
  display: none !important;
}

@media (max-width: 900px) {
  body.utopia-site-store .utopia-store-info {
    display: block;
    padding: 40px 20px;
    gap: 0;
  }

  body.utopia-site-store .utopia-store-details {
    margin-bottom: 40px;
  }

  body.utopia-site-store .utopia-store-store-info-calendar__title {
    padding-left: 20px;
    padding-right: 20px;
  }

  body.utopia-site-store .utopia-calendar {
    width: 100%;
    min-width: 0 !important;
  }
}

@media (max-width: 600px) {
  body.utopia-site-store .utopia-store-info {
    padding: 30px 15px;
  }

  body.utopia-site-store .utopia-store-details {
    margin-bottom: 30px;
  }

  body.utopia-site-store .utopia-store-store-info-calendar__title {
    padding-left: 15px;
    padding-right: 15px;
  }

  body.utopia-site-store .utopia-store-row {
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 10px;
    padding: 12px 0;
    font-size: 13px;
  }

  body.utopia-site-store .utopia-calendar-wrap {
    width: 100%;
    overflow: hidden !important;
  }

  body.utopia-site-store .utopia-calendar {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    font-size: 9px;
    border-width: 2px !important;
  }

  body.utopia-site-store .utopia-calendar th,
  body.utopia-site-store .utopia-calendar td {
    padding: 8px 2px;
  }

  body.utopia-site-store .utopia-calendar thead th:first-child {
    width: 70px;
  }

  body.utopia-site-store .utopia-calendar td {
    font-size: 13px;
  }

  body.utopia-site-store .utopia-calendar tbody th {
    font-size: 8px;
  }
}

/* ════════════════════════════════════════
   Responsive
   ════════════════════════════════════════ */
@media (max-width: 1100px) {
  body.utopia-site-store {
    --utopia-store-sidebar-left: 180px;
    --utopia-store-sidebar-right: 101px;
    --utopia-store-square: 68px;
  }
}

@media (max-width: 900px) {
  /* Single column. The sidebar order is set by the mobile block below (right → main → left). */
  body.utopia-site-store .utopia-store-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "right"
      "main"
      "left";
  }

  body.utopia-site-store .utopia-store-sidebar--left,
  body.utopia-site-store .utopia-store-sidebar--right {
    position: relative;
    top: auto;
    height: auto;
    max-height: none;
    border-left: 0;
    border-right: 0;
  }

  body.utopia-site-store .utopia-store-sidebar--left {
    border-bottom: 1px solid var(--utopia-store-line);
  }

  body.utopia-site-store .utopia-store-sidebar--right {
    border-top: 1px solid var(--utopia-store-line);
  }

  body.utopia-site-store .utopia-store-main {
    border-left: 0;
    border-right: 0;
  }

  body.utopia-site-store .utopia-store-content--fp .utopia-fp-section__inner,
  body.utopia-site-store .utopia-store-content--fp .utopia-fp-section__inner.utopia-container {
    /* +15px each side from previous 8px */
    padding-left: 23px !important;
    padding-right: 23px !important;
  }

  body.utopia-site-store .utopia-store-content--fp .utopia-fp-section {
    padding-left: 23px;
    padding-right: 23px;
  }

  /* Header mobile: logo | search | hamburger ; menu expands below */
  body.utopia-site-store .utopia-store-header__bar {
    display: flex;
    flex-wrap: wrap;
    grid-template-columns: none;
    height: auto;
    max-height: none;
    min-height: var(--utopia-store-header-h);
    padding: 0 12px;
    gap: 0;
  }

  body.utopia-site-store .utopia-store-header__logo {
    order: 1;
    grid-column: auto;
    padding-left: 0;
  }

  body.utopia-site-store .utopia-store-header__search {
    order: 2;
    grid-column: auto;
    width: auto;
    max-width: none;
    margin-left: auto;
    justify-content: flex-end;
  }

  body.utopia-site-store .utopia-store-header__nav {
    grid-column: auto;
    justify-self: stretch;
  }

  body.utopia-site-store .utopia-store-header--search-always .utopia-store-header__search-btn,
  body.utopia-site-store .utopia-store-header--search-hover .utopia-store-header__search:hover .utopia-store-header__search-btn,
  body.utopia-site-store .utopia-store-header--search-hover .utopia-store-header__search:focus-within .utopia-store-header__search-btn,
  body.utopia-site-store .utopia-store-header--search-hover .utopia-store-header__search.is-open .utopia-store-header__search-btn {
    margin-right: 0;
  }

  body.utopia-site-store .utopia-store-header__menu-toggle {
    order: 3;
    display: inline-flex;
    margin-left: 6px;
  }

  body.utopia-site-store .utopia-store-header__nav {
    order: 4;
    display: none;
    flex: 1 0 100%;
    width: 100%;
    height: auto;
    padding: 8px 0 12px;
    overflow: visible;
  }

  body.utopia-site-store .utopia-store-header__nav.is-open {
    display: block;
  }

  body.utopia-site-store .utopia-store-header__menu {
    flex-direction: column;
    align-items: stretch;
    height: auto;
    width: 100%;
  }

  body.utopia-site-store .utopia-store-header__menu > li {
    width: 100%;
    height: auto;
  }

  body.utopia-site-store .utopia-store-header__menu > li > a {
    height: auto;
    padding: 12px 4px;
    border-bottom: 1px solid var(--utopia-store-line);
  }

  body.utopia-site-store .utopia-store-header--search-always .utopia-store-header__search-form,
  body.utopia-site-store .utopia-store-header--search-hover .utopia-store-header__search.is-open .utopia-store-header__search-form {
    width: min(220px, 55vw);
    border-color: var(--utopia-store-accent);
  }

  body.utopia-site-store .utopia-store-header--search-hover .utopia-store-header__search.is-open .utopia-store-header__search-input {
    width: auto;
    flex: 1 1 auto;
    padding: 0 12px;
    opacity: 1;
    pointer-events: auto;
  }
}

/* Hamburger-menu widths and below (≤900px): header → squares → main → left sidebar.
 * The former tablet stack (left → main → right) is retired; one mobile layout from here down. */
@media (max-width: 900px) {
  body.utopia-site-store .utopia-store-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "right"
      "main"
      "left";
  }

  body.utopia-site-store .utopia-store-sidebar--right {
    border-top: 0;
    border-bottom: 1px solid var(--utopia-store-line);
    order: unset;
  }

  body.utopia-site-store .utopia-store-sidebar--left {
    border-bottom: 0;
    border-top: 1px solid var(--utopia-store-line);
  }

  body.utopia-site-store .utopia-store-sidebar--right .utopia-store-sidebar-inner {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  body.utopia-site-store .utopia-store-sidebar--right .utopia-store-squares {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    width: 100%;
  }

  body.utopia-site-store .utopia-store-sidebar--right .utopia-store-sidebar-item {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    height: auto !important;
    flex-basis: 0;
  }

  body.utopia-site-store .utopia-store-sidebar--right .utopia-store-square,
  body.utopia-site-store .utopia-store-sidebar--right .utopia-store-squares .utopia-store-square {
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 1 / 1;
  }

  body.utopia-site-store .utopia-store-sidebar--right .utopia-store-squares .utopia-store-sidebar-item + .utopia-store-sidebar-item .utopia-store-square {
    border-top: 0;
    border-left: 1px solid var(--utopia-store-border);
  }

  body.utopia-site-store .utopia-store-sidebar--right .utopia-store-sidebar-bottom {
    margin-top: 0;
    display: none; /* hide back-to-top square row under header on phone */
  }
}

@media (max-width: 600px) {
  body.utopia-site-store .utopia-store-header__logo-text {
    font-size: calc(var(--utopia-store-header-h) * 0.26);
  }
}

/* ════════════════════════════════════════
   IMAGE MEGA MENU (Store header only) — utopia-mega-*
   ════════════════════════════════════════ */
body.utopia-site-store .utopia-store-header {
  position: relative;
  z-index: 9999;
  overflow: visible;
}
body.utopia-site-store .utopia-store-header__bar,
body.utopia-site-store .utopia-store-header__nav,
body.utopia-site-store .utopia-store-header__menu,
body.utopia-site-store .utopia-mega-nav {
  overflow: visible;
  /* Keep static so mega panel positions against .utopia-store-header (full width) */
  position: static;
}

body.utopia-site-store .utopia-store-header__menu > .utopia-mega-item,
body.utopia-site-store .utopia-store-header__menu > .utopia-store-mega {
  position: static;
}

body.utopia-site-store .utopia-store-header__menu > .utopia-store-has-dropdown {
  position: relative;
}

body.utopia-site-store .utopia-mega-main {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: var(--utopia-store-header-h, 70px);
  padding: 0 20px;
  color: #111;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

body.utopia-site-store .utopia-mega-main::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-left: 9px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.25s ease;
}

body.utopia-site-store .utopia-mega-item:hover .utopia-mega-main::after,
body.utopia-site-store .utopia-store-mega:hover .utopia-mega-main::after {
  transform: rotate(225deg) translateY(-2px);
}

/* Normal dropdown (non-mega parents) */
body.utopia-site-store .utopia-store-sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: var(--utopia-store-bg);
  border: 1px solid var(--utopia-store-border);
  z-index: 220;
  box-sizing: border-box;
}

body.utopia-site-store .utopia-store-header__menu > .utopia-store-has-dropdown:hover > .utopia-store-sub-menu,
body.utopia-site-store .utopia-store-header__menu > .utopia-store-has-dropdown:focus-within > .utopia-store-sub-menu,
body.utopia-site-store .utopia-store-header__menu > .utopia-store-has-dropdown.is-open > .utopia-store-sub-menu {
  display: block;
}

body.utopia-site-store .utopia-store-sub-menu a {
  display: block;
  padding: 10px 16px;
  color: var(--utopia-store-text);
  text-decoration: none;
  font-size: 13px;
  white-space: nowrap;
}

body.utopia-site-store .utopia-store-sub-menu a:hover {
  background: var(--utopia-store-bg);
}

/* Mega panel
 * Closed panels must NOT capture pointer events.
 * (Descendants with visibility:visible were creating a huge hover hit-area.) */
body.utopia-site-store .utopia-mega-menu,
body.utopia-site-store .utopia-store-mega-panel {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  background: #fff;
  border-top: 1px solid #e8e8e8;
  border-bottom: 1px solid #e8e8e8;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.07);
  z-index: 5000;
  box-sizing: border-box;
  display: block;
}

body.utopia-site-store .utopia-mega-item:hover > .utopia-mega-menu,
body.utopia-site-store .utopia-mega-item:focus-within > .utopia-mega-menu,
body.utopia-site-store .utopia-store-mega:hover > .utopia-mega-menu,
body.utopia-site-store .utopia-store-mega:focus-within > .utopia-mega-menu,
body.utopia-site-store .utopia-store-mega.is-mega-open > .utopia-mega-menu,
body.utopia-site-store .utopia-mega-item:hover > .utopia-store-mega-panel,
body.utopia-site-store .utopia-store-mega:hover > .utopia-store-mega-panel,
body.utopia-site-store .utopia-store-mega.is-mega-open > .utopia-store-mega-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

body.utopia-site-store .utopia-mega-inner {
  width: min(1180px, calc(100% - 60px));
  margin: 0 auto;
  padding: 42px 0 46px;
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1fr;
  gap: 24px;
  box-sizing: border-box;
}

body.utopia-site-store .utopia-mega-intro {
  padding: 8px 35px 8px 0;
  border-right: 1px solid #e5e5e5;
}

body.utopia-site-store .utopia-mega-label {
  display: block;
  margin-bottom: 13px;
  color: #888;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
}

body.utopia-site-store .utopia-mega-intro h3 {
  margin: 0 0 13px;
  color: #111 !important;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.03em;
  background: transparent !important;
}

body.utopia-site-store .utopia-mega-intro p {
  margin: 0;
  color: #777 !important;
  font-size: 12px;
  line-height: 1.9;
}

body.utopia-site-store .utopia-mega-card {
  display: block;
  color: #111;
  text-decoration: none !important;
  min-width: 0;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.utopia-site-store .utopia-mega-image,
body.utopia-site-store .utopia-store-mega-card-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.55 / 1;
  background: #eee;
  border: 0 !important;
}

body.utopia-site-store .utopia-mega-image img,
body.utopia-site-store .utopia-store-mega-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
  opacity: 1;
  visibility: visible;
}

body.utopia-site-store .utopia-mega-card:hover .utopia-mega-image img,
body.utopia-site-store .utopia-mega-card:hover .utopia-store-mega-card-media img {
  transform: scale(1.045);
}

body.utopia-site-store .utopia-store-mega-card-ph {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 80px;
  background: #eee;
}

body.utopia-site-store .utopia-mega-card-text {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 14px 0 0;
}

body.utopia-site-store .utopia-mega-card-text strong {
  color: #111;
  font-size: 13px;
  font-weight: 500;
}

body.utopia-site-store .utopia-mega-card-text strong::after {
  content: "→";
  display: inline-block;
  margin-left: 9px;
  color: #888;
  transition: transform 0.25s ease;
}

body.utopia-site-store .utopia-mega-card:hover .utopia-mega-card-text strong::after {
  transform: translateX(4px);
}

body.utopia-site-store .utopia-mega-card-text span {
  color: #999;
  font-size: 9px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

/* legacy unused bits */
body.utopia-site-store .utopia-store-mega-card-title,
body.utopia-site-store .utopia-store-mega-card-cta {
  display: none !important;
}

@media (max-width: 1000px) {
  body.utopia-site-store .utopia-mega-inner {
    grid-template-columns: 1fr 1fr;
  }

  body.utopia-site-store .utopia-mega-intro {
    border-right: none;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 25px;
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  body.utopia-site-store .utopia-mega-menu,
  body.utopia-site-store .utopia-store-mega-panel {
    display: none !important;
  }

  body.utopia-site-store .utopia-store-sub-menu {
    position: static;
    border: 0;
    border-top: 1px solid var(--utopia-store-border);
    min-width: 0;
    width: 100%;
  }

  body.utopia-site-store .utopia-store-header__menu > .utopia-store-has-dropdown.is-open > .utopia-store-sub-menu {
    display: block;
  }
}

/* ════════════════════════════════════════
   STORE TOP — 3-color system (bg / text / accent)
   Default: #FFFFFF / #000000 / #827C6C
   Scoped to body.utopia-site-store only.
   ════════════════════════════════════════ */
body.utopia-site-store,
body.utopia-site-store .site,
body.utopia-site-store #page,
body.utopia-site-store .site-content,
body.utopia-site-store .utopia-store-layout,
body.utopia-site-store .utopia-store-main,
body.utopia-site-store .utopia-store-content,
body.utopia-site-store .utopia-store-content--fp {
  background: var(--utopia-store-bg) !important;
  color: var(--utopia-store-text) !important;
}

body.utopia-site-store .utopia-store-content--fp .utopia-fp-section,
body.utopia-site-store .utopia-store-content--fp .utopia-fp-section__inner,
body.utopia-site-store .utopia-store-content--fp .utopia-front-posts,
body.utopia-site-store .utopia-store-content--fp .utopia-front-slider,
body.utopia-site-store .utopia-store-content--fp .utopia-live-showcase,
body.utopia-site-store .utopia-store-content--fp .utopia-strengths,
body.utopia-site-store .utopia-store-content--fp .utopia-pricing,
body.utopia-site-store .utopia-store-content--fp .utopia-image-cards,
body.utopia-site-store .utopia-store-content--fp [class*="utopia-"] {
  background-image: none !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

body.utopia-site-store h1,
body.utopia-site-store h2,
body.utopia-site-store h3,
body.utopia-site-store h4,
body.utopia-site-store h5,
body.utopia-site-store h6,
body.utopia-site-store p,
body.utopia-site-store li,
body.utopia-site-store label,
body.utopia-site-store .entry-title,
body.utopia-site-store .woocommerce-loop-product__title,
body.utopia-site-store .price,
body.utopia-site-store .amount,
body.utopia-site-store .product_title {
  color: var(--utopia-store-text) !important;
}

/* Links */
body.utopia-site-store a {
  color: var(--utopia-store-text);
}
body.utopia-site-store a:hover,
body.utopia-site-store a:focus,
body.utopia-site-store a:active {
  filter: brightness(1.2);
}

/* Buttons / CTA — exclude store calendar day buttons */
body.utopia-site-store .button,
body.utopia-site-store button:not([class*="menu-toggle"]):not(.utopia-store-calendar__btn),
body.utopia-site-store input[type="submit"],
body.utopia-site-store input[type="button"],
body.utopia-site-store .wp-block-button__link,
body.utopia-site-store .utopia-front-cta__btn,
body.utopia-site-store .utopia-cta-banner__btn,
body.utopia-site-store .utopia-plan-card__btn,
body.utopia-site-store .utopia-demos-hub-btn,
body.utopia-site-store .utopia-strengths-btn,
body.utopia-site-store .woocommerce a.button,
body.utopia-site-store .woocommerce button.button,
body.utopia-site-store .woocommerce input.button,
body.utopia-site-store .woocommerce #respond input#submit,
body.utopia-site-store .added_to_cart {
  background: var(--utopia-store-accent) !important;
  background-image: none !important;
  color: var(--utopia-store-bg) !important;
  border: 1px solid var(--utopia-store-accent) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.utopia-site-store .button:hover,
body.utopia-site-store button:not([class*="menu-toggle"]):not(.utopia-store-calendar__btn):hover,
body.utopia-site-store input[type="submit"]:hover,
body.utopia-site-store .wp-block-button__link:hover,
body.utopia-site-store .utopia-front-cta__btn:hover,
body.utopia-site-store .utopia-cta-banner__btn:hover,
body.utopia-site-store .utopia-plan-card__btn:hover,
body.utopia-site-store .woocommerce a.button:hover,
body.utopia-site-store .woocommerce button.button:hover {
  filter: brightness(1.18);
}

/* CTA panels use accent */
body.utopia-site-store .utopia-cta-banner,
body.utopia-site-store .utopia-front-cta,
body.utopia-site-store .utopia-store-content--fp .utopia-cta-banner,
body.utopia-site-store .utopia-store-content--fp .utopia-front-cta {
  background: var(--utopia-store-accent) !important;
  background-image: none !important;
  color: var(--utopia-store-bg) !important;
}
body.utopia-site-store .utopia-cta-banner__heading,
body.utopia-site-store .utopia-cta-banner__sub,
body.utopia-site-store .utopia-front-cta__heading,
body.utopia-site-store .utopia-front-cta__sub {
  color: var(--utopia-store-bg) !important;
}
body.utopia-site-store .utopia-cta-banner__btn,
body.utopia-site-store .utopia-front-cta__btn {
  background: var(--utopia-store-c-beige, #A49581) !important;
  color: var(--utopia-store-c-beige-fg, #FFFFFF) !important;
  border-color: var(--utopia-store-c-beige, #A49581) !important;
}
body.utopia-site-store .utopia-cta-banner__btn:hover,
body.utopia-site-store .utopia-front-cta__btn:hover {
  background: var(--utopia-store-c-beige, #A49581) !important;
  color: var(--utopia-store-c-beige-fg, #FFFFFF) !important;
  border-color: var(--utopia-store-c-beige, #A49581) !important;
  filter: brightness(1.18);
}

/* Cards */
body.utopia-site-store .utopia-plan-card,
body.utopia-site-store .utopia-strength-card,
body.utopia-site-store .utopia-image-card,
body.utopia-site-store .utopia-demo-card,
body.utopia-site-store .utopia-post-card,
body.utopia-site-store .product,
body.utopia-site-store .woocommerce ul.products li.product,
body.utopia-site-store .woocommerce-card {
  background: var(--utopia-store-bg) !important;
  border: 1px solid var(--utopia-store-border) !important;
  box-shadow: none !important;
  color: var(--utopia-store-text) !important;
  border-radius: 0 !important;
}

/* Badges — NEW / SALE / FEATURED / onsale etc. */
body.utopia-site-store .utopia-badge,
body.utopia-site-store .utopia-plan-card__badge,
body.utopia-site-store .utopia-strength-card__emoji,
body.utopia-site-store .utopia-image-card__icon,
body.utopia-site-store .onsale,
body.utopia-site-store span.onsale,
body.utopia-site-store .woocommerce span.onsale,
body.utopia-site-store .badge,
body.utopia-site-store [class*="badge"],
body.utopia-site-store [class*="Badge"],
body.utopia-site-store .product-badge,
body.utopia-site-store .new-badge,
body.utopia-site-store .sale-badge,
body.utopia-site-store .featured-badge,
body.utopia-site-store .soldout-badge,
body.utopia-site-store .woocommerce-product-gallery__trigger {
  background: var(--utopia-store-accent) !important;
  background-image: none !important;
  color: var(--utopia-store-bg) !important;
  border-color: var(--utopia-store-accent) !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

/* Icons / FA / SVG */
body.utopia-site-store i[class*="fa-"],
body.utopia-site-store .fa,
body.utopia-site-store .fas,
body.utopia-site-store .far,
body.utopia-site-store .fab {
  color: inherit;
}
body.utopia-site-store svg {
  fill: currentColor;
  stroke: currentColor;
}

/* Slider */
body.utopia-site-store .utopia-slider-arrow,
body.utopia-site-store .utopia-slider-dot,
body.utopia-site-store .slick-arrow,
body.utopia-site-store .slick-dots li button,
body.utopia-site-store .slick-dots li button:before {
  background: var(--utopia-store-accent) !important;
  border-color: var(--utopia-store-accent) !important;
  color: var(--utopia-store-bg) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
body.utopia-site-store .slick-dots li.slick-active button,
body.utopia-site-store .utopia-slider-dot.is-active {
  background: var(--utopia-store-text) !important;
  border-color: var(--utopia-store-text) !important;
}

/* Forms */
body.utopia-site-store input,
body.utopia-site-store textarea,
body.utopia-site-store select {
  background: var(--utopia-store-bg) !important;
  color: var(--utopia-store-text) !important;
  border: 1px solid var(--utopia-store-border) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* Borders / dividers */
body.utopia-site-store hr,
body.utopia-site-store .separator,
body.utopia-site-store .divider {
  border-color: var(--utopia-store-border) !important;
  background: var(--utopia-store-border) !important;
}

/* Pagination / tabs */
body.utopia-site-store .page-numbers,
body.utopia-site-store .woocommerce-pagination a,
body.utopia-site-store .woocommerce-pagination span,
body.utopia-site-store .nav-links a,
body.utopia-site-store .nav-tabs .nav-link {
  background: var(--utopia-store-bg) !important;
  color: var(--utopia-store-text) !important;
  border: 1px solid var(--utopia-store-border) !important;
  border-radius: 0 !important;
}
body.utopia-site-store .page-numbers.current,
body.utopia-site-store .woocommerce-pagination span.current,
body.utopia-site-store .nav-tabs .nav-link.active {
  background: var(--utopia-store-accent) !important;
  color: var(--utopia-store-bg) !important;
  border-color: var(--utopia-store-accent) !important;
}

/* Footer — #A49581 + white text throughout */
body.utopia-site-store .site-footer,
body.utopia-site-store .utopia-store-footer,
body.utopia-site-store footer.site-footer,
body.utopia-site-store .site-footer .site-info,
body.utopia-site-store .site-footer .utopia-footer-inner {
  background: var(--utopia-store-c-beige, #A49581) !important;
  background-color: var(--utopia-store-c-beige, #A49581) !important;
  color: var(--utopia-store-c-beige-fg, #FFFFFF) !important;
  border-top: 1px solid var(--utopia-store-c-grey, #E9E9E9) !important;
}
body.utopia-site-store .site-footer a,
body.utopia-site-store footer.site-footer a {
  color: var(--utopia-store-c-beige-fg, #FFFFFF) !important;
}
body.utopia-site-store .site-footer a:hover,
body.utopia-site-store footer.site-footer a:hover {
  filter: brightness(1.18);
}

/* WooCommerce star ratings etc. */
body.utopia-site-store .star-rating,
body.utopia-site-store .star-rating span,
body.utopia-site-store .star-rating::before {
  color: var(--utopia-store-accent) !important;
}

/* Demo cards: kill inline colorful backgrounds */
body.utopia-site-store .utopia-demo-card,
body.utopia-site-store [class*="demo-card"],
body.utopia-site-store .utopia-store-content--fp [style*="background"] {
  background-image: none !important;
}
body.utopia-site-store .utopia-demo-card {
  background: var(--utopia-store-bg) !important;
  border-color: var(--utopia-store-border) !important;
}

body.utopia-site-store .utopia-store-store-info-calendar,
body.utopia-site-store .utopia-store-visual,
body.utopia-site-store .utopia-store-visual-ph {
  color: var(--utopia-store-text) !important;
}

body.utopia-site-store .utopia-store-visual,
body.utopia-site-store .utopia-store-visual-ph {
  background: var(--utopia-store-bg) !important;
}

body.utopia-site-store .utopia-store-hours-legend__closed {
  border-color: var(--utopia-store-accent) !important;
}

body.utopia-site-store .utopia-store-mega-panel {
  border-bottom: 1px solid var(--utopia-store-border);
}

/* ════════════════════════════════════════
   STORE TOP — layout polish (borders / alt / preview)
   Scoped: body.utopia-site-store only.
   ════════════════════════════════════════ */

/* TOP outer frame: remove main/content perimeter border only */
body.utopia-site-store .utopia-store-layout,
body.utopia-site-store .utopia-store-main,
body.utopia-site-store .utopia-store-content,
body.utopia-site-store .utopia-store-content--fp {
  border: 0 !important;
  outline: none;
  box-shadow: none;
}

/* 1) Unify default borders — exclude header menu hover underline */
body.utopia-site-store .utopia-store-header,
body.utopia-site-store .utopia-store-layout,
body.utopia-site-store .utopia-store-main,
body.utopia-site-store .utopia-store-sidebar--left,
body.utopia-site-store .utopia-store-sidebar--right,
body.utopia-site-store .widget,
body.utopia-site-store .widget-area .widget,
body.utopia-site-store .utopia-store-content--fp .utopia-fp-section,
body.utopia-site-store .utopia-store-content--fp [class*="card"],
body.utopia-site-store .utopia-store-content--fp .product,
body.utopia-site-store .utopia-store-content--fp .woocommerce ul.products li.product,
body.utopia-site-store .utopia-store-content--fp input:not([type="checkbox"]):not([type="radio"]),
body.utopia-site-store .utopia-store-content--fp textarea,
body.utopia-site-store .utopia-store-content--fp select,
body.utopia-site-store .utopia-store-content--fp .button,
body.utopia-site-store .utopia-store-content--fp button:not([class*="menu-toggle"]):not(.utopia-store-calendar__btn),
body.utopia-site-store .utopia-store-content--fp .wp-block-button__link,
body.utopia-site-store .utopia-live-showcase__item,
body.utopia-site-store .utopia-live-showcase__preview,
body.utopia-site-store .utopia-live-showcase__description {
  border-color: var(--utopia-store-border);
}

body.utopia-site-store .utopia-store-content--fp .utopia-plan-card,
body.utopia-site-store .utopia-store-content--fp .utopia-strength-card,
body.utopia-site-store .utopia-store-content--fp .utopia-image-card,
body.utopia-site-store .utopia-store-content--fp .utopia-demo-card,
body.utopia-site-store .utopia-store-content--fp .utopia-post-card,
body.utopia-site-store .utopia-store-content--fp .product,
body.utopia-site-store .utopia-store-content--fp .woocommerce ul.products li.product,
body.utopia-site-store .utopia-store-content--fp .woocommerce-card,
body.utopia-site-store .utopia-store-content--fp input:not([type="checkbox"]):not([type="radio"]),
body.utopia-site-store .utopia-store-content--fp textarea,
body.utopia-site-store .utopia-store-content--fp select,
body.utopia-site-store .utopia-store-content--fp .page-numbers,
body.utopia-site-store .utopia-store-content--fp .nav-links a {
  border: 1px solid var(--utopia-store-border) !important;
}

/* Keep filled-button borders on accent (not the gray frame) */
body.utopia-site-store .utopia-store-content--fp .button,
body.utopia-site-store .utopia-store-content--fp button:not([class*="menu-toggle"]):not(.utopia-store-calendar__btn),
body.utopia-site-store .utopia-store-content--fp input[type="submit"],
body.utopia-site-store .utopia-store-content--fp .wp-block-button__link,
body.utopia-site-store .utopia-store-content--fp .utopia-front-cta__btn,
body.utopia-site-store .utopia-store-content--fp .utopia-cta-banner__btn,
body.utopia-site-store .utopia-store-content--fp .utopia-plan-card__btn,
body.utopia-site-store .utopia-store-content--fp .woocommerce a.button {
  border: 1px solid var(--utopia-store-accent) !important;
}

/* Header menu hover underline — DO NOT unify to #E6E6E6 / 1px */
body.utopia-site-store .utopia-store-header__menu > li > a {
  border-bottom: 2px solid transparent !important;
  border-left: 0 !important;
  border-right: 0 !important;
  border-top: 0 !important;
}
body.utopia-site-store .utopia-store-header__menu > li > a:hover,
body.utopia-site-store .utopia-store-header__menu > li.current-menu-item > a,
body.utopia-site-store .utopia-store-header__menu > li.current-menu-ancestor > a {
  border-bottom-color: var(--utopia-store-text) !important;
  border-bottom-width: 2px !important;
  border-bottom-style: solid !important;
}

/* 2) Back-to-top — small icon only, no underline */
body.utopia-site-store .utopia-store-sidebar--right .utopia-store-sidebar-top,
body.utopia-site-store .utopia-store-sidebar--right .utopia-store-sidebar-top:hover,
body.utopia-site-store .utopia-store-sidebar--right .utopia-store-sidebar-top:focus {
  text-decoration: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
body.utopia-site-store .utopia-store-sidebar--right .utopia-store-sidebar-top-icon,
body.utopia-site-store .utopia-store-sidebar--right .utopia-store-sidebar-top-icon i {
  text-decoration: none !important;
  border: 0 !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
  line-height: 1;
}

/* 3) Alternating section backgrounds (auto by order) — Customizer colors */
body.utopia-site-store .utopia-store-content--fp > .utopia-fp-section:nth-child(odd),
body.utopia-site-store .utopia-store-content--fp > .utopia-fp-section:nth-of-type(odd) {
  background: var(--utopia-store-section-base, #FFFFFF) !important;
  background-image: none !important;
  background-color: var(--utopia-store-section-base, #FFFFFF) !important;
}
body.utopia-site-store .utopia-store-content--fp > .utopia-fp-section:nth-child(even),
body.utopia-site-store .utopia-store-content--fp > .utopia-fp-section:nth-of-type(even) {
  background: var(--utopia-store-section-alt, var(--utopia-store-c-grey, #E9E9E9)) !important;
  background-image: none !important;
  background-color: var(--utopia-store-section-alt, var(--utopia-store-c-grey, #E9E9E9)) !important;
}

body.utopia-site-store .utopia-store-content--fp > .utopia-fp-section:nth-child(odd) .utopia-fp-section__inner,
body.utopia-site-store .utopia-store-content--fp > .utopia-fp-section:nth-child(even) .utopia-fp-section__inner,
body.utopia-site-store .utopia-store-content--fp > .utopia-fp-section:nth-of-type(odd) .utopia-fp-section__inner,
body.utopia-site-store .utopia-store-content--fp > .utopia-fp-section:nth-of-type(even) .utopia-fp-section__inner,
body.utopia-site-store .utopia-store-content--fp > .utopia-fp-section:nth-child(odd) .utopia-front-posts,
body.utopia-site-store .utopia-store-content--fp > .utopia-fp-section:nth-child(even) .utopia-front-posts,
body.utopia-site-store .utopia-store-content--fp > .utopia-fp-section:nth-child(odd) .utopia-front-slider,
body.utopia-site-store .utopia-store-content--fp > .utopia-fp-section:nth-child(even) .utopia-front-slider,
body.utopia-site-store .utopia-store-content--fp > .utopia-fp-section:nth-child(odd) .utopia-live-showcase,
body.utopia-site-store .utopia-store-content--fp > .utopia-fp-section:nth-child(even) .utopia-live-showcase,
body.utopia-site-store .utopia-store-content--fp > .utopia-fp-section:nth-child(odd) .utopia-strengths,
body.utopia-site-store .utopia-store-content--fp > .utopia-fp-section:nth-child(even) .utopia-strengths,
body.utopia-site-store .utopia-store-content--fp > .utopia-fp-section:nth-child(odd) .utopia-pricing,
body.utopia-site-store .utopia-store-content--fp > .utopia-fp-section:nth-child(even) .utopia-pricing,
body.utopia-site-store .utopia-store-content--fp > .utopia-fp-section:nth-child(odd) .utopia-image-cards,
body.utopia-site-store .utopia-store-content--fp > .utopia-fp-section:nth-child(even) .utopia-image-cards {
  background: transparent !important;
  background-image: none !important;
}

/* CTA sections also follow alternating strip (not full accent fill) */
body.utopia-site-store .utopia-store-content--fp > .utopia-fp-section.utopia-cta-banner,
body.utopia-site-store .utopia-store-content--fp > .utopia-fp-section.utopia-front-cta,
body.utopia-site-store .utopia-store-content--fp > .utopia-fp-section .utopia-cta-banner,
body.utopia-site-store .utopia-store-content--fp > .utopia-fp-section .utopia-front-cta {
  background-image: none !important;
  color: var(--utopia-store-text) !important;
}
body.utopia-site-store .utopia-store-content--fp > .utopia-fp-section .utopia-cta-banner__heading,
body.utopia-site-store .utopia-store-content--fp > .utopia-fp-section .utopia-cta-banner__sub,
body.utopia-site-store .utopia-store-content--fp > .utopia-fp-section .utopia-front-cta__heading,
body.utopia-site-store .utopia-store-content--fp > .utopia-fp-section .utopia-front-cta__sub {
  color: var(--utopia-store-text) !important;
}

/* Re-apply odd/even after CTA transparent override */
body.utopia-site-store .utopia-store-content--fp > .utopia-fp-section.utopia-cta-banner:nth-child(odd),
body.utopia-site-store .utopia-store-content--fp > .utopia-fp-section.utopia-front-cta:nth-child(odd),
body.utopia-site-store .utopia-store-content--fp > .utopia-fp-section.utopia-cta-banner:nth-of-type(odd),
body.utopia-site-store .utopia-store-content--fp > .utopia-fp-section.utopia-front-cta:nth-of-type(odd) {
  background: var(--utopia-store-section-base, #FFFFFF) !important;
  background-color: var(--utopia-store-section-base, #FFFFFF) !important;
}
body.utopia-site-store .utopia-store-content--fp > .utopia-fp-section.utopia-cta-banner:nth-child(even),
body.utopia-site-store .utopia-store-content--fp > .utopia-fp-section.utopia-front-cta:nth-child(even),
body.utopia-site-store .utopia-store-content--fp > .utopia-fp-section.utopia-cta-banner:nth-of-type(even),
body.utopia-site-store .utopia-store-content--fp > .utopia-fp-section.utopia-front-cta:nth-of-type(even) {
  background: var(--utopia-store-section-alt, var(--utopia-store-c-grey, #E9E9E9)) !important;
  background-color: var(--utopia-store-section-alt, var(--utopia-store-c-grey, #E9E9E9)) !important;
}

/* 4–10) Live preview title / hover accent / hub button */
body.utopia-site-store .utopia-live-showcase__title {
  background: var(--utopia-store-preview-title, var(--utopia-store-c-beige, #A49581)) !important;
  color: var(--utopia-store-preview-title-fg, #FFFFFF) !important;
}
body.utopia-site-store .utopia-live-showcase__item {
  --utopia-live-color: var(--utopia-store-preview-title, var(--utopia-store-c-beige, #A49581));
  --utopia-live-title-fg: var(--utopia-store-preview-title-fg, #FFFFFF);
}
body.utopia-site-store .utopia-live-showcase__overlay {
  background: var(--utopia-store-preview-accent, var(--utopia-store-c-beige, #A49581)) !important;
  color: var(--utopia-store-c-beige-fg, #FFFFFF);
}
body.utopia-site-store .utopia-live-showcase__preview:hover .utopia-live-showcase__overlay,
body.utopia-site-store .utopia-live-showcase__preview:focus-visible .utopia-live-showcase__overlay,
body.utopia-site-store .utopia-live-showcase__preview.is-touch-active .utopia-live-showcase__overlay {
  background: var(--utopia-store-preview-accent, var(--utopia-store-c-beige, #A49581)) !important;
}

body.utopia-site-store .utopia-live-showcase__hub-btn,
body.utopia-site-store .utopia-live-showcase__hub .utopia-btn,
body.utopia-site-store .utopia-live-showcase__hub .utopia-btn--primary,
body.utopia-site-store .utopia-demos-hub-btn,
body.utopia-site-store .utopia-front-demos__hub .utopia-btn {
  background: var(--utopia-store-demo-button, var(--utopia-store-c-dark, #827C6C)) !important;
  background-image: none !important;
  color: var(--utopia-store-demo-button-fg, #FFFFFF) !important;
  border: 1px solid var(--utopia-store-demo-button, var(--utopia-store-c-dark, #827C6C)) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  text-decoration: none !important;
}
body.utopia-site-store .utopia-live-showcase__hub-btn:hover,
body.utopia-site-store .utopia-live-showcase__hub-btn:focus,
body.utopia-site-store .utopia-live-showcase__hub .utopia-btn:hover,
body.utopia-site-store .utopia-live-showcase__hub .utopia-btn:focus,
body.utopia-site-store .utopia-demos-hub-btn:hover,
body.utopia-site-store .utopia-demos-hub-btn:focus,
body.utopia-site-store .utopia-front-demos__hub .utopia-btn:hover,
body.utopia-site-store .utopia-front-demos__hub .utopia-btn:focus {
  background: var(--utopia-store-demo-button, var(--utopia-store-c-beige, #A49581)) !important;
  color: var(--utopia-store-demo-button-fg, #000000) !important;
  border-color: var(--utopia-store-demo-button, var(--utopia-store-c-beige, #A49581)) !important;
  filter: brightness(1.18);
  text-decoration: none !important;
}

body.utopia-site-store .utopia-live-showcase__hub-link {
  color: var(--utopia-store-demo-button, var(--utopia-store-c-beige, #A49581)) !important;
  text-decoration: none !important;
}
body.utopia-site-store .utopia-live-showcase__hub-link:hover {
  filter: brightness(1.2);
  text-decoration: none !important;
}

/* Eyebrow / pricing badge / posts category badge */
body.utopia-site-store .utopia-strengths__eyebrow {
  background: var(--utopia-store-eyebrow, var(--utopia-store-c-dark, #827C6C)) !important;
  color: var(--utopia-store-eyebrow-fg, #FFFFFF) !important;
  border-radius: 0 !important;
}

body.utopia-site-store .utopia-pricing__badge,
body.utopia-site-store .utopia-pricing-card__badge,
body.utopia-site-store .utopia-store-content--fp .utopia-pricing__badge,
body.utopia-site-store .utopia-store-content--fp .utopia-pricing-card__badge {
  background: var(--utopia-store-pricing-badge, var(--utopia-store-c-dark, #827C6C)) !important;
  color: var(--utopia-store-pricing-badge-fg, #FFFFFF) !important;
  border-color: var(--utopia-store-pricing-badge, var(--utopia-store-c-dark, #827C6C)) !important;
  border-radius: 0 !important;
}

body.utopia-site-store .utopia-latest-posts__cat,
body.utopia-site-store .utopia-store-content--fp .utopia-latest-posts__cat {
  background: var(--utopia-store-posts-badge, var(--utopia-store-c-dark, #827C6C)) !important;
  color: var(--utopia-store-posts-badge-fg, #FFFFFF) !important;
  border-radius: 0 !important;
}

/* STORE LOGO HEIGHT HARD LOCK — beats layout.css .custom-logo { height:auto; max-width } */
body.utopia-site-store header.utopia-store-header .utopia-store-header__bar {
  height: var(--utopia-store-header-h) !important;
  min-height: var(--utopia-store-header-h) !important;
  max-height: var(--utopia-store-header-h) !important;
}
body.utopia-site-store header.utopia-store-header a.utopia-store-header__logo,
body.utopia-site-store header.utopia-store-header a.custom-logo-link {
  height: var(--utopia-store-header-h) !important;
  max-height: var(--utopia-store-header-h) !important;
}
body.utopia-site-store header.utopia-store-header img.custom-logo,
body.utopia-site-store header.utopia-store-header img.utopia-store-header__logo-img {
  height: var(--utopia-store-header-h) !important;
  max-height: var(--utopia-store-header-h) !important;
  width: auto !important;
  max-width: none !important;
  object-fit: contain !important;
  display: block !important;
}

/* Store info/calendar design — final lock (matches Customizer design) */
body.utopia-site-store .utopia-store-info {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 10px !important;
  width: 100% !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 50px 0 !important;
  color: #222 !important;
  box-sizing: border-box !important;
}
body.utopia-site-store .utopia-store-heading {
  display: none !important;
}
body.utopia-site-store .utopia-store-row {
  display: grid !important;
  grid-template-columns: 90px minmax(0, 1fr) !important;
  gap: 18px !important;
  padding: 16px 0 !important;
  border: 0 !important;
  border-bottom: 1px solid #e5e5e5 !important;
  background: transparent !important;
  font-size: 14px !important;
}
body.utopia-site-store .utopia-store-row:first-child {
  border-top: 1px solid #e5e5e5 !important;
}
body.utopia-site-store .utopia-calendar-wrap {
  overflow: hidden !important;
}
body.utopia-site-store .utopia-calendar {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  border-collapse: collapse !important;
  table-layout: fixed !important;
  border: 2px solid #333 !important;
  font-size: 12px !important;
}
body.utopia-site-store .utopia-calendar th,
body.utopia-site-store .utopia-calendar td {
  border: 1px solid #dedede !important;
  padding: 10px 4px !important;
  text-align: center !important;
  vertical-align: middle !important;
  background: transparent !important;
  color: #222 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}
body.utopia-site-store .utopia-calendar thead th {
  background: #f7f7f7 !important;
  color: #333 !important;
  font-weight: 500 !important;
}
body.utopia-site-store .utopia-calendar tbody th {
  background: #fafafa !important;
  font-weight: 400 !important;
}
body.utopia-site-store .utopia-calendar td {
  font-size: 16px !important;
  line-height: 1 !important;
}
body.utopia-site-store .utopia-calendar td.utopia-closed,
body.utopia-site-store .utopia-calendar .utopia-closed {
  color: #999 !important;
}
body.utopia-site-store .utopia-calendar td small {
  display: none !important;
}
@media (max-width: 900px) {
  body.utopia-site-store .utopia-store-info {
    display: block !important;
    padding: 40px 20px !important;
  }
  body.utopia-site-store .utopia-store-details {
    margin-bottom: 40px !important;
  }
}
@media (max-width: 600px) {
  body.utopia-site-store .utopia-store-info {
    padding: 30px 15px !important;
  }
  body.utopia-site-store .utopia-store-row {
    grid-template-columns: 70px minmax(0, 1fr) !important;
    gap: 10px !important;
    padding: 12px 0 !important;
    font-size: 13px !important;
  }
  body.utopia-site-store .utopia-calendar {
    font-size: 9px !important;
  }
  body.utopia-site-store .utopia-calendar td {
    font-size: 13px !important;
  }
  body.utopia-site-store .utopia-calendar tbody th {
    font-size: 8px !important;
  }
}


/* MEGA PANEL HARD LOCK */
body.utopia-site-store .utopia-store-header,
body.utopia-site-store .utopia-store-header__bar,
body.utopia-site-store .utopia-store-header__nav,
body.utopia-site-store .utopia-store-header__menu {
  overflow: visible !important;
}
body.utopia-site-store .utopia-store-header__menu > .utopia-mega-item,
body.utopia-site-store .utopia-store-header__menu > .utopia-store-mega {
  position: static !important;
}
body.utopia-site-store .utopia-mega-menu,
body.utopia-site-store .utopia-store-mega-panel {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  top: 100% !important;
  width: 100% !important;
  z-index: 5000 !important;
  background: #fff !important;
  pointer-events: none !important;
}
body.utopia-site-store .utopia-mega-item:hover > .utopia-mega-menu,
body.utopia-site-store .utopia-mega-item:focus-within > .utopia-mega-menu,
body.utopia-site-store .utopia-store-mega:hover > .utopia-mega-menu,
body.utopia-site-store .utopia-store-mega:focus-within > .utopia-mega-menu,
body.utopia-site-store .utopia-store-mega.is-mega-open > .utopia-mega-menu,
body.utopia-site-store .utopia-mega-item:hover > .utopia-store-mega-panel,
body.utopia-site-store .utopia-store-mega:hover > .utopia-store-mega-panel,
body.utopia-site-store .utopia-store-mega.is-mega-open > .utopia-store-mega-panel {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) !important;
}
/* Do NOT force image visibility when panel is closed — that created a huge hover hit-area. */
body.utopia-site-store .utopia-mega-item:hover .utopia-mega-image img,
body.utopia-site-store .utopia-store-mega:hover .utopia-mega-image img,
body.utopia-site-store .utopia-store-mega.is-mega-open .utopia-mega-image img,
body.utopia-site-store .utopia-mega-item:hover .utopia-store-mega-card-media img,
body.utopia-site-store .utopia-store-mega:hover .utopia-store-mega-card-media img,
body.utopia-site-store .utopia-store-mega.is-mega-open .utopia-store-mega-card-media img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  opacity: 1 !important;
  visibility: visible !important;
}
@media (max-width: 900px) {
  body.utopia-site-store .utopia-mega-menu,
  body.utopia-site-store .utopia-store-mega-panel {
    display: none !important;
  }
}

/* ════════════════════════════════════════
   STORE TOP + FOOTER — 4-COLOR HARD LOCK
   Allowed: #FFFFFF / #000000 / #E9E9E9 / #A49581
   EXCLUDES: .utopia-store-header / .utopia-store-sidebar*
   ════════════════════════════════════════ */
body.utopia-site-store .utopia-store-main,
body.utopia-site-store .utopia-store-content,
body.utopia-site-store .utopia-store-content--fp {
  --utopia-store-bg: #FFFFFF;
  /* Site-wide text from Customizer (store_color_text → --utopia-store-site-text) */
  --utopia-store-text: var(--utopia-store-site-text, #000000);
  --utopia-store-accent: var(--utopia-store-c-beige, #A49581);
  --utopia-store-fg: var(--utopia-store-site-text, #000000);
  --utopia-store-muted: var(--utopia-store-c-beige, #A49581);
  --utopia-store-line: var(--utopia-store-c-grey, #E9E9E9);
  --utopia-store-border: var(--utopia-store-c-grey, #E9E9E9);
  /* section-base / section-alt come from Customizer via inline CSS */
  --utopia-store-preview-title: var(--utopia-store-c-beige, #A49581);
  --utopia-store-preview-title-fg: #FFFFFF;
  --utopia-store-preview-accent: var(--utopia-store-c-beige, #A49581);
  --utopia-store-demo-button: var(--utopia-store-c-beige, #A49581);
  --utopia-store-demo-button-fg: #FFFFFF;
  --utopia-store-eyebrow: var(--utopia-store-c-beige, #A49581);
  --utopia-store-eyebrow-fg: #FFFFFF;
  --utopia-store-pricing-badge: var(--utopia-store-c-beige, #A49581);
  --utopia-store-pricing-badge-fg: #FFFFFF;
  --utopia-store-posts-badge: var(--utopia-store-c-beige, #A49581);
  --utopia-store-posts-badge-fg: #FFFFFF;
  --utopia-store-info-border: var(--utopia-store-c-grey, #E9E9E9);
  --utopia-store-fp-white: #FFFFFF;
  --utopia-store-fp-black: var(--utopia-store-site-text, #000000);
  --utopia-store-fp-grey: var(--utopia-store-c-grey, #E9E9E9);
  --utopia-store-fp-beige: var(--utopia-store-c-beige, #A49581);
  --utopia-store-fp-beige-fg: #FFFFFF;
  color: var(--utopia-store-site-text, #000000);
  background: #FFFFFF;
}

body.utopia-site-store .site-footer,
body.utopia-site-store .utopia-store-footer,
body.utopia-site-store footer.site-footer {
  --utopia-store-footer-bg: var(--utopia-store-c-beige, #A49581);
  --utopia-store-footer-fg: #FFFFFF;
  --utopia-store-accent: var(--utopia-store-c-beige, #A49581);
  --utopia-store-text: #FFFFFF;
  --utopia-store-border: var(--utopia-store-c-grey, #E9E9E9);
  background: var(--utopia-store-c-beige, #A49581) !important;
  background-color: var(--utopia-store-c-beige, #A49581) !important;
  color: var(--utopia-store-c-beige-fg, #FFFFFF) !important;
}

/* ストア：セクションタイトル — site text color + fixed size */
body.utopia-site-store .utopia-store-content--fp .utopia-section-title,
body.utopia-site-store .utopia-store-content--fp h2.utopia-section-title,
body.utopia-site-store .utopia-store-content--fp .utopia-strengths__title,
body.utopia-site-store .utopia-store-content--fp .utopia-live-showcase__heading,
body.utopia-site-store .utopia-store-content--fp .utopia-pricing-section__title,
body.utopia-site-store .utopia-store-content--fp .utopia-store-store-info-calendar__title,
body.utopia-site-store .utopia-store-content--fp .utopia-feature-grid-section .utopia-section-title {
  color: var(--utopia-store-site-text, #000000) !important;
  font-size: clamp(1.5rem, 3vw, 2.2rem) !important;
}

/* Beige surfaces (#A49581) → white text */
body.utopia-site-store .utopia-store-content--fp .utopia-cta-banner,
body.utopia-site-store .utopia-store-content--fp .utopia-front-cta,
body.utopia-site-store .utopia-store-content--fp .utopia-cta-banner :is(h1, h2, h3, h4, h5, h6, p, span, a, li, strong, em),
body.utopia-site-store .utopia-store-content--fp .utopia-front-cta :is(h1, h2, h3, h4, h5, h6, p, span, a, li, strong, em) {
  color: var(--utopia-store-c-beige-fg, #FFFFFF) !important;
}

/* Badges / primary buttons → beige bg + white text */
body.utopia-site-store .utopia-store-content--fp .button,
body.utopia-site-store .utopia-store-content--fp button:not([class*="menu-toggle"]):not(.utopia-store-calendar__btn),
body.utopia-site-store .utopia-store-content--fp input[type="submit"],
body.utopia-site-store .utopia-store-content--fp input[type="button"],
body.utopia-site-store .utopia-store-content--fp .wp-block-button__link,
body.utopia-site-store .utopia-store-content--fp .utopia-front-cta__btn,
body.utopia-site-store .utopia-store-content--fp .utopia-cta-banner__btn,
body.utopia-site-store .utopia-store-content--fp .utopia-plan-card__btn,
body.utopia-site-store .utopia-store-content--fp .utopia-demos-hub-btn,
body.utopia-site-store .utopia-store-content--fp .utopia-strengths-btn,
body.utopia-site-store .utopia-store-content--fp .woocommerce a.button,
body.utopia-site-store .utopia-store-content--fp .woocommerce button.button,
body.utopia-site-store .utopia-store-content--fp .added_to_cart,
body.utopia-site-store .utopia-store-content--fp .utopia-strengths__badge,
body.utopia-site-store .utopia-store-content--fp .utopia-strengths__eyebrow,
body.utopia-site-store .utopia-store-content--fp .utopia-plan-card__badge,
body.utopia-site-store .utopia-store-content--fp .utopia-post-card__cat,
body.utopia-site-store .utopia-store-content--fp .utopia-posts-badge,
body.utopia-site-store .utopia-store-content--fp [class*="badge"] {
  background: var(--utopia-store-c-beige, #A49581) !important;
  background-image: none !important;
  color: var(--utopia-store-c-beige-fg, #FFFFFF) !important;
  border-color: var(--utopia-store-c-beige, #A49581) !important;
}

body.utopia-site-store .utopia-store-content--fp .utopia-front-cta__btn,
body.utopia-site-store .utopia-store-content--fp .utopia-cta-banner__btn {
  background: var(--utopia-store-c-beige, #A49581) !important;
  color: var(--utopia-store-c-beige-fg, #FFFFFF) !important;
  border-color: var(--utopia-store-c-beige, #A49581) !important;
}
body.utopia-site-store .utopia-store-content--fp .utopia-front-cta__btn:hover,
body.utopia-site-store .utopia-store-content--fp .utopia-cta-banner__btn:hover {
  background: var(--utopia-store-c-beige, #A49581) !important;
  color: var(--utopia-store-c-beige-fg, #FFFFFF) !important;
  border-color: var(--utopia-store-c-beige, #A49581) !important;
  filter: brightness(1.18);
}

body.utopia-site-store .utopia-store-content--fp a:hover,
body.utopia-site-store .utopia-store-content--fp a:focus {
  filter: brightness(1.2);
}

body.utopia-site-store .utopia-store-content--fp .button:hover,
body.utopia-site-store .utopia-store-content--fp button:not([class*="menu-toggle"]):not(.utopia-store-calendar__btn):hover,
body.utopia-site-store .utopia-store-content--fp .wp-block-button__link:hover,
body.utopia-site-store .utopia-store-content--fp .utopia-plan-card__btn:hover,
body.utopia-site-store .utopia-store-content--fp .utopia-strengths-btn:hover,
body.utopia-site-store .utopia-store-content--fp .woocommerce a.button:hover {
  filter: brightness(1.18);
}

/* Store-info / calendar on top — use site text color */
body.utopia-site-store .utopia-store-main .utopia-store-info,
body.utopia-site-store .utopia-store-main .utopia-store-details,
body.utopia-site-store .utopia-store-main .utopia-store-row,
body.utopia-site-store .utopia-store-main .utopia-calendar,
body.utopia-site-store .utopia-store-main .utopia-calendar th,
body.utopia-site-store .utopia-store-main .utopia-calendar td {
  color: var(--utopia-store-site-text, #000000) !important;
}
body.utopia-site-store .utopia-store-main .utopia-store-row,
body.utopia-site-store .utopia-store-main .utopia-store-row:first-child {
  border-color: var(--utopia-store-c-grey, #E9E9E9) !important;
}
body.utopia-site-store .utopia-store-main .utopia-calendar {
  border-color: var(--utopia-store-c-beige, #A49581) !important;
}
body.utopia-site-store .utopia-store-main .utopia-calendar th,
body.utopia-site-store .utopia-store-main .utopia-calendar td {
  border-color: var(--utopia-store-c-grey, #E9E9E9) !important;
}
body.utopia-site-store .utopia-store-main .utopia-calendar thead th {
  background: var(--utopia-store-c-grey, #E9E9E9) !important;
  color: var(--utopia-store-text, #000000) !important;
}
body.utopia-site-store .utopia-store-main .utopia-calendar tbody th {
  background: transparent !important;
  background-color: transparent !important;
  color: var(--utopia-store-text, #000000) !important;
}
body.utopia-site-store .utopia-store-main .utopia-calendar td.utopia-closed,
body.utopia-site-store .utopia-store-main .utopia-calendar .utopia-closed {
  color: var(--utopia-store-c-beige, #A49581) !important;
}

body.utopia-site-store .site-footer a,
body.utopia-site-store .utopia-store-footer a,
body.utopia-site-store footer.site-footer a {
  color: var(--utopia-store-c-beige-fg, #FFFFFF) !important;
}
body.utopia-site-store .site-footer a:hover,
body.utopia-site-store .utopia-store-footer a:hover,
body.utopia-site-store footer.site-footer a:hover {
  filter: brightness(1.18);
}

/* ════════════════════════════════════════
   STORE TOP + FOOTER — 4-COLOR HARD LOCK (追補 2026-10-03)
   Allowed: #FFFFFF / #000000 / #E9E9E9 / #A49581
   EXCLUDES: .utopia-store-header / .utopia-store-sidebar*
   ════════════════════════════════════════ */

/* 店舗情報：ラベル・値 → サイト文字色 */
body.utopia-site-store .utopia-store-main .utopia-store-row span,
body.utopia-site-store .utopia-store-main .utopia-store-row strong {
  color: var(--utopia-store-site-text, #000000) !important;
}

/* アイコンカード（.utopia-feature-grid-section） */
body.utopia-site-store .utopia-store-content--fp .utopia-feature-grid-section {
  --utopia-icards-bg: transparent;
  --utopia-icards-icon: var(--utopia-store-c-beige, #A49581);
  --utopia-icards-title: #000000;
  --utopia-icards-desc: #000000;
  --utopia-fp-title-color: #000000;
  --utopia-fp-desc-color: #000000;
  color: #000000 !important;
}
body.utopia-site-store .utopia-store-content--fp .utopia-feature-grid-section .utopia-section-title {
  color: var(--utopia-store-site-text, #000000) !important;
  font-size: clamp(1.5rem, 3vw, 2.2rem) !important;
}
body.utopia-site-store .utopia-store-content--fp .utopia-feature-grid__title,
body.utopia-site-store .utopia-store-content--fp .utopia-feature-grid__description {
  color: var(--utopia-store-text, #000000) !important;
}
body.utopia-site-store .utopia-store-content--fp .utopia-feature-grid__image--icon,
body.utopia-site-store .utopia-store-content--fp .utopia-feature-grid__image--icon i {
  color: var(--utopia-store-c-beige, #A49581) !important;
}

/* トップ内の <footer>（記事カード等）がフッター用ベージュに染まらないように */
body.utopia-site-store .utopia-store-main footer:not(.site-footer) {
  background: transparent !important;
  background-color: transparent !important;
  color: inherit !important;
}

/* フッター内部：個別色設定（コピーライト/メニュー/SNS/ウィジェット/CTA帯）も4色へ */
body.utopia-site-store footer.site-footer .site-footer__widgets,
body.utopia-site-store footer.site-footer .site-footer__widget-col,
body.utopia-site-store footer.site-footer .site-footer__cta-band,
body.utopia-site-store footer.site-footer .site-footer__bottom,
body.utopia-site-store footer.site-footer .site-footer__bottom-inner {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
}
body.utopia-site-store footer.site-footer,
body.utopia-site-store footer.site-footer * {
  --utopia-footer-copyright-color: var(--utopia-store-c-beige-fg, #FFFFFF);
  --utopia-footer-menu-color: var(--utopia-store-c-beige-fg, #FFFFFF);
  --utopia-footer-sns-color: var(--utopia-store-c-beige-fg, #FFFFFF);
  --utopia-footer-widgets-color: var(--utopia-store-c-beige-fg, #FFFFFF);
  --utopia-footer-widget-color: var(--utopia-store-c-beige-fg, #FFFFFF);
  --utopia-sns-x: #FFFFFF;
  --utopia-sns-instagram: #FFFFFF;
  --utopia-sns-facebook: #FFFFFF;
  --utopia-sns-youtube: #FFFFFF;
  --utopia-sns-line: #FFFFFF;
}
body.utopia-site-store footer.site-footer :is(h1, h2, h3, h4, h5, h6, p, li, span, small, strong, em, label, div, a, .widget-title, .site-footer__copyright) {
  color: var(--utopia-store-c-beige-fg, #FFFFFF) !important;
}
body.utopia-site-store footer.site-footer svg {
  color: var(--utopia-store-c-beige-fg, #FFFFFF) !important;
}
body.utopia-site-store footer.site-footer :is(hr, li, .widget, .site-footer__bottom, .site-footer__widgets) {
  border-color: var(--utopia-store-c-grey, #E9E9E9) !important;
}
/* フッター内ボタン：ベージュ地＋白文字 */
body.utopia-site-store footer.site-footer :is(.utopia-footer-cta-button, .button, button, input[type="submit"], .wp-block-button__link) {
  background: var(--utopia-store-c-beige, #A49581) !important;
  background-image: none !important;
  color: var(--utopia-store-c-beige-fg, #FFFFFF) !important;
  border-color: var(--utopia-store-c-beige-fg, #FFFFFF) !important;
}
body.utopia-site-store footer.site-footer :is(.utopia-footer-cta-button, .button, button, input[type="submit"], .wp-block-button__link):hover {
  filter: brightness(1.18);
}

/* ホバー：brightness() は4色外の中間色を作るため無効化し、4色内の入れ替えにする */
body.utopia-site-store .utopia-store-content--fp a:hover,
body.utopia-site-store .utopia-store-content--fp a:focus,
body.utopia-site-store footer.site-footer a:hover,
body.utopia-site-store footer.site-footer a:focus,
body.utopia-site-store .utopia-store-content--fp .button:hover,
body.utopia-site-store .utopia-store-content--fp button:hover,
body.utopia-site-store .utopia-store-content--fp .wp-block-button__link:hover,
body.utopia-site-store .utopia-store-content--fp .utopia-plan-card__btn:hover,
body.utopia-site-store .utopia-store-content--fp .utopia-strengths-btn:hover,
body.utopia-site-store .utopia-store-content--fp .utopia-front-cta__btn:hover,
body.utopia-site-store .utopia-store-content--fp .utopia-cta-banner__btn:hover,
body.utopia-site-store .utopia-store-content--fp .woocommerce a.button:hover,
body.utopia-site-store footer.site-footer :is(.utopia-footer-cta-button, .button, button, input[type="submit"]):hover {
  filter: none !important;
}
body.utopia-site-store .utopia-store-content--fp :is(.button, .wp-block-button__link, .utopia-plan-card__btn, .utopia-strengths-btn, .utopia-demos-hub-btn, .woocommerce a.button, .utopia-front-cta__btn, .utopia-cta-banner__btn):hover,
body.utopia-site-store .utopia-store-content--fp button:not([class*="menu-toggle"]):not(.utopia-store-calendar__btn):hover,
body.utopia-site-store footer.site-footer :is(.utopia-footer-cta-button, .button, button, input[type="submit"]):hover {
  background: #000000 !important;
  color: var(--utopia-store-c-beige-fg, #FFFFFF) !important;
  border-color: #000000 !important;
}
body.utopia-site-store footer.site-footer :is(.utopia-footer-cta-button, .button, button, .wp-block-button__link):hover *,
body.utopia-site-store .utopia-store-content--fp :is(.button, .wp-block-button__link, .utopia-plan-card__btn, .utopia-strengths-btn, .utopia-demos-hub-btn, .utopia-front-cta__btn, .utopia-cta-banner__btn):hover * {
  color: var(--utopia-store-c-beige-fg, #FFFFFF) !important;
}

/* ════════════════════════════════════════
   STORE FIX PACK — footer / titles / strengths btn / cal / back-top
   ════════════════════════════════════════ */

/* Footer: beat theme design CSS + inline vars (functions.php / footer.php) */
html body.utopia-site-store footer.site-footer,
html body.utopia-site-store footer.site-footer.utopia-footer--has-bg,
html body.utopia-site-store .site-footer,
html body.utopia-site-store footer.site-footer .site-footer__inner,
html body.utopia-site-store footer.site-footer .site-footer__widgets,
html body.utopia-site-store footer.site-footer .site-footer__widgets .site-footer__widget-col,
html body.utopia-site-store footer.site-footer .site-footer__cta-band,
html body.utopia-site-store footer.site-footer .site-footer__bottom,
html body.utopia-site-store footer.site-footer .site-footer__bottom-inner,
html body.utopia-site-store footer.site-footer .utopia-container,
html body.utopia-site-store footer.site-footer .utopia-footer-pc,
html body.utopia-site-store footer.site-footer .utopia-footer-sp,
html body.utopia-site-store footer.site-footer .site-footer__col,
html body.utopia-site-store footer.site-footer .widget,
html body.utopia-site-store footer.site-footer .widget .wp-block-group,
html body.utopia-site-store footer.site-footer .wp-block-group,
html body.utopia-site-store footer.site-footer .site-info {
  background: var(--utopia-store-c-beige, #A49581) !important;
  background-color: var(--utopia-store-c-beige, #A49581) !important;
  background-image: none !important;
  --utopia-footer-bg: var(--utopia-store-c-beige, #A49581) !important;
  --utopia-store-footer-bg: var(--utopia-store-c-beige, #A49581) !important;
}

html body.utopia-site-store footer.site-footer,
html body.utopia-site-store footer.site-footer :is(
  h1, h2, h3, h4, h5, h6, p, li, span, small, strong, em, label, div, a, i,
  .widget-title, .site-footer__copyright, .utopia-footer-menu a, .site-footer__sns-link
) {
  color: var(--utopia-store-c-beige-fg, #FFFFFF) !important;
  --utopia-footer-text: #FFFFFF !important;
  --utopia-footer-copyright-color: var(--utopia-store-c-beige-fg, #FFFFFF) !important;
  --utopia-footer-menu-color: var(--utopia-store-c-beige-fg, #FFFFFF) !important;
  --utopia-footer-sns-color: var(--utopia-store-c-beige-fg, #FFFFFF) !important;
  --utopia-store-footer-fg: #FFFFFF !important;
}

/* Strengths CTA button (正しいクラス: utopia-strengths__btn) */
body.utopia-site-store .utopia-store-content--fp .utopia-strengths__btn,
body.utopia-site-store .utopia-store-content--fp .utopia-strengths__link,
body.utopia-site-store .utopia-store-content--fp a.utopia-strengths__btn,
body.utopia-site-store .utopia-store-content--fp a.utopia-strengths__link {
  background: var(--utopia-store-c-beige, #A49581) !important;
  background-image: none !important;
  color: var(--utopia-store-c-beige-fg, #FFFFFF) !important;
  border-color: var(--utopia-store-c-beige, #A49581) !important;
}
body.utopia-site-store .utopia-store-content--fp .utopia-strengths__btn:hover,
body.utopia-site-store .utopia-store-content--fp .utopia-strengths__link:hover {
  background: var(--utopia-store-c-beige, #A49581) !important;
  color: var(--utopia-store-c-beige-fg, #FFFFFF) !important;
  filter: brightness(1.18);
  opacity: 1 !important;
}

/* Right sidebar back-to-top: square hit area */
body.utopia-site-store .utopia-store-sidebar--right .utopia-store-sidebar-bottom {
  display: flex;
  justify-content: stretch;
  width: 100%;
}
body.utopia-site-store .utopia-store-sidebar--right .utopia-store-sidebar-top.utopia-store-square {
  width: var(--utopia-store-square, 81px) !important;
  height: var(--utopia-store-square, 81px) !important;
  min-width: var(--utopia-store-square, 81px) !important;
  min-height: var(--utopia-store-square, 81px) !important;
  max-width: 100% !important;
  max-height: none !important;
  aspect-ratio: 1 / 1;
}

/* ════════════════════════════════════════
   STORE — back-to-top (mobile layout ≤900px): fixed bottom-right
   PC keeps the right-sidebar square (unchanged).
   ════════════════════════════════════════ */
body.utopia-site-store .utopia-store-backtop-fixed {
  display: none;
}

@media (max-width: 900px) {
  /* Remove the sidebar back-to-top at mobile-layout widths (beats the later display:flex rule). */
  html body.utopia-site-store .utopia-store-sidebar--right .utopia-store-sidebar-bottom,
  html body.utopia-site-store .utopia-store-sidebar--right .utopia-store-sidebar-top {
    display: none !important;
  }

  html body.utopia-site-store .utopia-store-backtop-fixed {
    position: fixed;
    right: 12px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px) + var(--utopia-store-backtop-lift, 0px));
    z-index: 10040;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin: 0;
    padding: 0;
    border: 1px solid var(--utopia-store-border, #E6E6E6);
    border-radius: 0;
    background: var(--utopia-store-bg, #FFFFFF);
    color: var(--utopia-store-text, #000000);
    text-decoration: none !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease, bottom 0.25s ease;
  }
  html body.utopia-site-store .utopia-store-backtop-fixed.is-visible {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  html body.utopia-site-store .utopia-store-backtop-fixed__icon {
    display: block;
    width: 18px;
    height: 18px;
  }
}

/* ════════════════════════════════════════
   STORE — inner-page title band (common title design)
   Directly under the header, spanning the whole main column; the content
   padding below it is kept.
   ════════════════════════════════════════ */
body.utopia-site-store.utopia-ptc.utopia-pt-band-full .utopia-store-content--inner {
  padding-top: 0;
}
body.utopia-site-store.utopia-ptc.utopia-pt-band-full .utopia-singular-title-area--fullbleed {
  left: 0 !important;
  width: auto !important;
  max-width: none !important;
  margin-left: calc(-1 * clamp(20px, 3vw, 48px)) !important;
  margin-right: calc(-1 * clamp(20px, 3vw, 48px)) !important;
}

/* ════════════════════════════════════════
   STORE — mobile menu (≤900px): white panel, clean list
   ════════════════════════════════════════ */
@media (max-width: 900px) {
  body.utopia-site-store .utopia-store-header__nav.is-open {
    flex: 0 0 calc(100% + 24px);
    width: calc(100% + 24px);
    margin: 0 -12px;
    padding: 0;
    background: #ffffff;
    border-top: 1px solid var(--utopia-store-line);
    box-sizing: border-box;
  }
  body.utopia-site-store .utopia-store-header__menu {
    margin: 0;
    padding: 4px 0 8px;
    background: #ffffff;
  }
  body.utopia-site-store .utopia-store-header__menu > li {
    border-bottom: 1px solid var(--utopia-store-line);
  }
  body.utopia-site-store .utopia-store-header__menu > li:last-child {
    border-bottom: 0;
  }
  body.utopia-site-store .utopia-store-header__menu > li > a {
    padding: 16px 24px;
    border-bottom: 0;
    font-size: 14px;
    letter-spacing: 0.1em;
    line-height: 1.5;
    text-align: left;
    justify-content: flex-start;
    white-space: normal;
  }
  body.utopia-site-store .utopia-store-header__menu > li > a:hover,
  body.utopia-site-store .utopia-store-header__menu > li > a:focus-visible {
    border-bottom: 0;
    background: rgba(0, 0, 0, 0.03);
  }
  body.utopia-site-store .utopia-store-header__menu > li.current-menu-item > a,
  body.utopia-site-store .utopia-store-header__menu > li.current-menu-ancestor > a {
    border-bottom: 0;
    font-weight: 700;
  }
  body.utopia-site-store .utopia-store-sub-menu {
    border: 0;
    padding: 0 0 8px;
    background: #ffffff;
  }
  body.utopia-site-store .utopia-store-sub-menu a {
    padding: 11px 24px 11px 44px;
    font-size: 13px;
    white-space: normal;
  }
}

/* Live preview with its own colour (ストア：ライブプレビュー → プレビューN — イメージカラー):
   the card uses that colour instead of the store colour. */
body.utopia-site-store .utopia-live-showcase__item.has-own-color .utopia-live-showcase__title {
  background: var(--utopia-live-color) !important;
  color: var(--utopia-live-title-fg, #FFFFFF) !important;
}
body.utopia-site-store .utopia-live-showcase__item.has-own-color .utopia-live-showcase__overlay,
body.utopia-site-store .utopia-live-showcase__item.has-own-color .utopia-live-showcase__preview:hover .utopia-live-showcase__overlay,
body.utopia-site-store .utopia-live-showcase__item.has-own-color .utopia-live-showcase__preview:focus-visible .utopia-live-showcase__overlay,
body.utopia-site-store .utopia-live-showcase__item.has-own-color .utopia-live-showcase__preview.is-touch-active .utopia-live-showcase__overlay {
  background: var(--utopia-live-color) !important;
  color: var(--utopia-live-title-fg, #FFFFFF);
}

/* Post page (PC, rails beside the content): the breadcrumb top lines up with the top of the
   left sidebar content (rail inner padding 20px). Title-band layouts keep the band on top. */
@media (min-width: 901px) {
  body.utopia-site-store.single-post:not(.utopia-pt-band-full) .utopia-store-content--inner:has(> .single-content > article > .utopia-page-intro .utopia-breadcrumb) {
    padding-top: 0 !important;
  }
  body.utopia-site-store.single-post:not(.utopia-pt-band-full) .utopia-store-content--inner > .single-content > article:has(> .utopia-page-intro .utopia-breadcrumb) {
    padding-top: 0 !important;
  }
  body.utopia-site-store.single-post:not(.utopia-pt-band-full) .utopia-store-content--inner > .single-content > article > .utopia-page-intro:has(.utopia-breadcrumb) {
    padding-top: 0 !important;
  }
  html body.utopia-site-store.single-post:not(.utopia-pt-band-full) .utopia-store-content--inner > .single-content > article > .utopia-page-intro .utopia-breadcrumb__list {
    margin-top: 20px !important;
  }
}

/* 2026-10 r24: left sidebar menu — 画像を非表示 (no image column at all) */
body.utopia-site-store .utopia-store-sidebar--left .utopia-store-sidebar-menu__link.utopia-store-sidebar-menu__link--no-thumb {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}
body.utopia-site-store .utopia-store-sidebar--left .utopia-store-sidebar-menu__link--no-thumb .utopia-store-sidebar-menu__thumb {
  display: none !important;
}
/* Hover: the image only zooms a little inside its fixed frame — no brightness / colour / opacity change. */
body.utopia-site-store .utopia-store-sidebar--left .utopia-store-sidebar-menu__link:hover,
body.utopia-site-store .utopia-store-sidebar--left .utopia-store-sidebar-menu a:hover {
  filter: none;
}
body.utopia-site-store .utopia-store-sidebar--left .utopia-store-sidebar-menu__link:hover .utopia-store-sidebar-menu__label {
  filter: brightness(1.18);
}
body.utopia-site-store .utopia-store-sidebar--left .utopia-store-sidebar-menu__thumb img {
  transition: transform 0.35s ease;
  filter: none !important;
  opacity: 1 !important;
}
body.utopia-site-store .utopia-store-sidebar--left .utopia-store-sidebar-menu__link:hover .utopia-store-sidebar-menu__thumb img {
  transform: scale(1.05);
  filter: none !important;
  opacity: 1 !important;
}

/* 2026-10 r25: Store 固定ページ・投稿ページ — body column about 1.5× wider and centred in the content area
   (the inner area's own left/right padding stays the outer margin on both sides). Front page, products,
   cart / checkout and pages with their own "Content max-width" are not changed. */
html body.utopia-site-store:is(.page, .single-post):not(.home):not(.woocommerce-page) .utopia-store-content.utopia-store-content--inner > :is(.page-content, .single-content).utopia-container:not(.page-content--custom-width) {
  width: 100%;
  max-width: min(calc(var(--utopia-content-width, var(--utopia-content, 760px)) * 1.5), 100%) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box;
}
