/* ========== 合规警示条 ========== */
.vape-compliance-bar {
  background: linear-gradient(90deg, rgba(224,62,62,0.08), rgba(0,168,142,0.06));
  border-bottom: 1px solid var(--vape-border);
  padding: 6px 16px;
  text-align: center;
  font-size: 11px;
  color: var(--vape-text-muted);
}

.vape-compliance-bar p { margin: 0; }

/* ========== 顶部导航 ========== */
.vape-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--vape-header-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--vape-border);
}

.vape-header__bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  max-width: var(--vape-max-w);
  margin: 0 auto;
  padding: 0 20px;
  min-height: var(--vape-header-h);
}

.vape-header__left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.vape-header__menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  flex-shrink: 0;
}

.vape-header__menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--vape-text);
}

.vape-header__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.vape-header__logo:hover { opacity: 1; }

.vape-header__logo-text {
  font-family: var(--vape-font-en);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--vape-brand);
  line-height: 1;
}

.vape-header__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.vape-header__nav a {
  color: var(--vape-text-muted);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  white-space: nowrap;
  position: relative;
  padding: 4px 0;
}

.vape-header__nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--vape-brand);
  transition: width var(--vape-transition);
}

.vape-header__nav a:hover {
  color: var(--vape-text);
  opacity: 1;
}

.vape-header__nav a:hover::after { width: 100%; }

.vape-header__tools {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.vape-age-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  background: var(--vape-brand-dim);
  border: 1px solid rgba(0, 168, 142, 0.35);
  border-radius: 999px;
  color: var(--vape-brand);
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--vape-transition);
  flex-shrink: 0;
}

.vape-age-btn__label { font-family: var(--vape-font-en); }

.vape-age-btn:hover {
  background: rgba(0, 168, 142, 0.22);
  box-shadow: var(--vape-glow);
}

/* —— 搜索框 —— */
.vape-header__search { min-width: 0; }

.vape-search { width: 100%; max-width: 280px; }

.vape-search__form {
  display: flex;
  align-items: stretch;
  background: var(--vape-bg-elevated);
  border: 1px solid var(--vape-border);
  border-radius: 999px;
  overflow: hidden;
  transition: border-color var(--vape-transition);
}

.vape-search__form:focus-within {
  border-color: rgba(0, 168, 142, 0.5);
  box-shadow: 0 0 0 3px var(--vape-brand-dim);
}

.vape-search__category {
  flex-shrink: 0;
  border-right: 1px solid var(--vape-border);
}

.vape-search__select {
  appearance: none;
  background: transparent;
  border: none;
  color: var(--vape-text-muted);
  font-size: 11px;
  padding: 8px 28px 8px 12px;
  max-width: 110px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='5' viewBox='0 0 8 5'%3E%3Cpath fill='%23888' d='M0 0l4 5 4-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}

.vape-search__select:focus { outline: none; color: var(--vape-text); }

.vape-search__keyword {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
}

.vape-search__input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  color: var(--vape-text);
  font-size: 13px;
  padding: 8px 8px 8px 12px;
}

.vape-search__input::placeholder { color: var(--vape-text-dim); }

.vape-search__input:focus { outline: none; }

.vape-search__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 0 12px;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity var(--vape-transition);
}

.vape-search__submit:hover { opacity: 1; }

/* 隐藏默认 EC 搜索结构 */
.vape-header .ec-headerSearch,
.vape-drawer .ec-headerSearch { all: unset; display: block; }

/* —— 购物车 —— */
.vape-cart {
  position: relative;
}

.vape-cart__trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: var(--vape-radius);
  color: var(--vape-text);
  text-decoration: none;
  transition: background var(--vape-transition);
}

.vape-cart__trigger:hover {
  background: var(--vape-bg-elevated);
  opacity: 1;
}

.vape-cart__icon {
  position: relative;
  display: flex;
  line-height: 0;
}

.vape-cart__badge {
  position: absolute;
  top: -6px;
  right: -8px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  background: var(--vape-brand);
  color: var(--vape-on-brand);
  font-size: 10px;
  font-weight: 700;
  font-family: var(--vape-font-en);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vape-cart__price {
  font-family: var(--vape-font-en);
  font-size: 12px;
  font-weight: 600;
  color: var(--vape-text-muted);
  white-space: nowrap;
}

.vape-cart__dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 300px;
  padding: 16px;
  background: var(--vape-bg-elevated);
  border: 1px solid var(--vape-border);
  border-radius: var(--vape-radius);
  box-shadow: var(--vape-shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--vape-transition);
  z-index: 110;
}

.vape-cart:hover .vape-cart__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.vape-cart__empty {
  margin: 0;
  font-size: 12px;
  color: var(--vape-text-dim);
  text-align: center;
}

.vape-cart__item {
  display: flex;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--vape-border);
}

.vape-cart__item img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 8px;
}

.vape-cart__item-name {
  display: block;
  font-size: 12px;
  color: var(--vape-text);
  line-height: 1.4;
}

.vape-cart__item-meta { font-size: 11px; color: var(--vape-text-dim); }

.vape-cart__checkout { width: 100%; margin-top: 12px; }

/* 隐藏默认 EC 购物车 UI */
.vape-header .ec-cartNavi,
.vape-header .ec-cartNaviNull,
.vape-header .ec-cartNaviIsset { display: none !important; }

/* —— 账户链接 —— */
.vape-account {
  display: flex;
  align-items: center;
  gap: 4px;
}

.vape-account__link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 8px;
  color: var(--vape-text-muted) !important;
  font-size: 12px;
  border-radius: 8px;
  white-space: nowrap;
  transition: var(--vape-transition);
}

.vape-account__link:hover {
  color: var(--vape-brand) !important;
  background: var(--vape-bg-elevated);
  opacity: 1;
}

.vape-account__link i { font-size: 14px; width: 16px; text-align: center; }

.vape-account__link--icon span { display: none; }

.vape-account__link--sub {
  font-size: 11px;
  color: var(--vape-text-dim) !important;
}

.vape-header .ec-headerNav { display: none !important; }

/* —— 货币切换等插件 UI —— */
body.vape-theme .store-order-currency-nav,
body.vape-theme [class*="currency"] {
  background: var(--vape-bg-elevated) !important;
  border: 1px solid var(--vape-border) !important;
  border-radius: var(--vape-radius) !important;
  color: var(--vape-text-muted) !important;
}

body.vape-theme .badge.bg-ec-light,
body.vape-theme .badge {
  background: var(--vape-brand-dim) !important;
  color: var(--vape-brand) !important;
  border: 1px solid rgba(0, 168, 142, 0.3);
}

/* ========== 布局 ========== */
.vape-layout { min-height: 100vh; display: flex; flex-direction: column; }

.vape-layout__main {
  flex: 1;
  max-width: var(--vape-max-w);
  width: 100%;
  margin: 0 auto;
  padding: 0 20px 60px;
}

.vape-layout__body--2col,
.vape-layout__body--3col {
  display: grid;
  gap: 32px;
  max-width: var(--vape-max-w);
  margin: 0 auto;
  padding: 0 20px;
}

/* —— 首页 / 布局底部区块（MainBottom · ContentsBottom）—— */
.vape-layout__main-bottom,
.vape-layout__bottom {
  margin-top: 0;
  padding: 48px 0 56px;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.03) 100%);
  border-top: 1px solid var(--vape-border);
}

.vape-layout__main-bottom-inner,
.vape-layout__bottom-inner {
  max-width: var(--vape-max-w);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* 首页 MainBottom 直接输出在 main 内（无 vape-layout__main-bottom） */
body.vape-home .vape-layout__main > .ec-role,
body.vape-home .vape-layout__main > .vape-calendar-block {
  max-width: 100%;
  margin: 0 auto;
  padding: 48px 0 56px;
  width: 100%;
  box-sizing: border-box;
  border-top: 1px solid var(--vape-border);
}

body.vape-home .vape-layout__main > .ec-role .ec-secHeading,
body.vape-home .vape-layout__main > .vape-calendar-block .ec-secHeading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 16px;
  margin: 0 0 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--vape-border);
}

body.vape-home .vape-layout__main > .ec-role .ec-secHeading__en,
body.vape-home .vape-layout__main > .vape-calendar-block .ec-secHeading__en {
  font-family: var(--vape-font-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--vape-brand);
}

body.vape-home .vape-layout__main > .ec-role .ec-secHeading__line,
body.vape-home .vape-layout__main > .vape-calendar-block .ec-secHeading__line {
  display: none;
}

body.vape-home .vape-layout__main > .ec-role .ec-secHeading__ja,
body.vape-home .vape-layout__main > .vape-calendar-block .ec-secHeading__ja {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--vape-text);
}

/* 首页：隐藏与主题重复的默认块 */
body.vape-home .vape-layout__main > .ec-role .ec-topicRole,
body.vape-home .vape-layout__main > .ec-role .ec-newItemRole,
body.vape-home .vape-layout__main > .ec-role .ec-categoryRole,
body.vape-home .vape-layout__main-bottom .ec-topicRole,
body.vape-home .vape-layout__main-bottom .ec-newItemRole,
body.vape-home .vape-layout__main-bottom .ec-categoryRole,
body.vape-home .vape-layout__bottom .ec-topicRole,
body.vape-home .vape-layout__bottom .ec-newItemRole,
body.vape-home .vape-layout__bottom .ec-categoryRole {
  display: none;
}

/* ec-role 容器 */
.vape-layout__main-bottom .ec-role,
.vape-layout__bottom .ec-role {
  max-width: 100%;
  margin: 0;
  padding: 0;
  width: 100%;
}

/* 区块标题（NEWS / TOPIC 等） */
.vape-layout__main-bottom .ec-secHeading,
.vape-layout__bottom .ec-secHeading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 16px;
  margin: 0 0 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--vape-border);
}

.vape-layout__main-bottom .ec-secHeading__en,
.vape-layout__bottom .ec-secHeading__en {
  font-family: var(--vape-font-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--vape-brand);
  text-transform: uppercase;
}

.vape-layout__main-bottom .ec-secHeading__line,
.vape-layout__bottom .ec-secHeading__line {
  display: none;
}

.vape-layout__main-bottom .ec-secHeading__ja,
.vape-layout__bottom .ec-secHeading__ja {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--vape-text);
}

.vape-layout__main-bottom .ec-inlineBtn--top,
.vape-layout__bottom .ec-inlineBtn--top {
  margin-left: auto;
  font-size: 13px;
  font-weight: 600;
  color: var(--vape-brand);
  text-decoration: none;
  opacity: 1;
}

.vape-layout__main-bottom .ec-inlineBtn--top:hover,
.vape-layout__bottom .ec-inlineBtn--top:hover {
  text-decoration: underline;
  opacity: 1;
}

/* 新着情報 */
.vape-layout__main-bottom .ec-newsRole,
.vape-layout__bottom .ec-newsRole {
  padding: 0;
  background: var(--vape-bg-card);
  border: 1px solid var(--vape-border);
  border-radius: var(--vape-radius-lg);
  overflow: hidden;
}

.vape-layout__main-bottom .ec-newsRole .ec-secHeading,
.vape-layout__bottom .ec-newsRole .ec-secHeading {
  margin: 0;
  padding: 20px 24px;
  background: var(--vape-bg-elevated);
  border-bottom: 1px solid var(--vape-border);
}

.vape-layout__main-bottom .ec-newsRole__news,
.vape-layout__bottom .ec-newsRole__news {
  padding: 0 24px 8px;
}

.vape-layout__main-bottom .ec-newsRole__newsItem,
.vape-layout__bottom .ec-newsRole__newsItem {
  border-bottom: 1px solid var(--vape-border);
}

.vape-layout__main-bottom .ec-newsRole__newsItem:last-of-type,
.vape-layout__bottom .ec-newsRole__newsItem:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
}

.vape-layout__main-bottom .ec-newsRole__newsHeading,
.vape-layout__bottom .ec-newsRole__newsHeading {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 12px 16px;
  align-items: start;
  padding: 16px 0;
  cursor: pointer;
  transition: var(--vape-transition);
}

.vape-layout__main-bottom .ec-newsRole__newsHeading:hover,
.vape-layout__bottom .ec-newsRole__newsHeading:hover {
  opacity: 0.92;
}

.vape-layout__main-bottom .ec-newsRole__newsDate,
.vape-layout__bottom .ec-newsRole__newsDate {
  margin: 0;
  font-size: 12px;
  font-family: var(--vape-font-en);
  color: var(--vape-text-dim);
}

.vape-layout__main-bottom .ec-newsRole__newsColumn,
.vape-layout__bottom .ec-newsRole__newsColumn {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.vape-layout__main-bottom .ec-newsRole__newsTitle,
.vape-layout__bottom .ec-newsRole__newsTitle {
  margin: 0;
  width: auto;
  flex: 1;
  font-size: 14px;
  font-weight: 600;
  color: var(--vape-text);
  line-height: 1.5;
}

.vape-layout__main-bottom .ec-newsRole__newsClose,
.vape-layout__bottom .ec-newsRole__newsClose {
  width: auto;
  position: static;
  flex-shrink: 0;
}

.vape-layout__main-bottom .ec-newsRole__newsCloseBtn,
.vape-layout__bottom .ec-newsRole__newsCloseBtn {
  position: static;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin: 0;
  border-radius: var(--vape-radius);
  background: var(--vape-bg-elevated);
  border: 1px solid var(--vape-border);
  color: var(--vape-brand);
  font-size: 12px;
}

.vape-layout__main-bottom .ec-newsRole__newsDescription,
.vape-layout__bottom .ec-newsRole__newsDescription {
  display: none;
  margin: 0 0 16px 116px;
  padding: 0 0 4px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--vape-text-muted);
}

.vape-layout__main-bottom .ec-newsRole__newsDescription a,
.vape-layout__bottom .ec-newsRole__newsDescription a {
  color: var(--vape-brand);
  opacity: 1;
}

.vape-layout__main-bottom .ec-newsRole__newsItem.is_active .ec-newsRole__newsDescription,
.vape-layout__bottom .ec-newsRole__newsItem.is_active .ec-newsRole__newsDescription {
  display: block;
}

.vape-layout__main-bottom .ec-newsRole__newsItem.is_active .ec-newsRole__newsCloseBtn i,
.vape-layout__bottom .ec-newsRole__newsItem.is_active .ec-newsRole__newsCloseBtn i {
  transform: rotate(180deg);
}

/* —— 日历（两月横排）—— */
body.vape-theme .ec-calendar {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 40px;
  width: 100%;
  align-items: start;
}

body.vape-theme .ec-calendar__col {
  min-width: 0;
}

body.vape-theme .ec-calendar__month {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  table-layout: fixed;
}

body.vape-theme .ec-calendar__month th,
body.vape-theme .ec-calendar__month td {
  padding: 8px 4px;
  text-align: center;
  vertical-align: middle;
  border-top: 1px solid var(--vape-border);
  border-bottom: 1px solid var(--vape-border);
  color: var(--vape-text);
  background: transparent;
}

body.vape-theme .ec-calendar__month .ec-calendar__title {
  border: 0;
  font-weight: 600;
  color: var(--vape-text);
}

/* 休业日 / 周末：须高于上方通用 th,td 规则（0,2,2 > 0,2,1） */
body.vape-theme .ec-calendar__month th.ec-calendar__sun {
  color: var(--vape-danger);
  background: rgba(224, 62, 62, 0.08);
}

body.vape-theme .ec-calendar__month th.ec-calendar__sat {
  color: var(--vape-brand);
  background: rgba(0, 168, 142, 0.08);
}

body.vape-theme .ec-calendar__month td.ec-calendar__holiday {
  color: var(--vape-danger) !important;
  background: rgba(224, 62, 62, 0.1);
  font-weight: 600;
}

body.vape-theme .ec-calendar__month td.ec-calendar__day {
  color: var(--vape-text);
}

body.vape-theme .ec-calendar__month td.ec-calendar__today {
  color: var(--vape-text);
  font-weight: 600;
}

body.vape-theme .ec-calendar__month td.ec-calendar__today.ec-calendar__holiday {
  color: var(--vape-danger) !important;
}

body.vape-theme .ec-calendar__month td.ec-calendar__today::before {
  background: var(--vape-brand-dim);
}

body.vape-theme .vape-calendar-block__notice {
  margin: 0 0 20px;
  font-size: 13px;
  color: var(--vape-text-muted);
}

@media screen and (max-width: 768px) {
  body.vape-theme .ec-calendar {
    grid-template-columns: 1fr;
    max-width: 100%;
    overflow-x: hidden;
  }
}

@media screen and (max-width: 639px) {
  body.vape-theme .ec-calendar {
    gap: 12px 16px;
  }

  body.vape-theme .ec-calendar__month th,
  body.vape-theme .ec-calendar__month td {
    padding: 6px 2px;
    font-size: 12px;
  }
}

.vape-news__empty,
.vape-news__more {
  display: block;
  padding: 16px 0 8px;
  text-align: center;
  color: var(--vape-text-dim);
  font-size: 14px;
}

.vape-news__more {
  color: var(--vape-brand);
  cursor: pointer;
}

/* 特集バナー（eyecatch） */
.vape-layout__main-bottom .ec-eyecatchRole,
.vape-layout__bottom .ec-eyecatchRole {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  padding: 28px;
  background: var(--vape-bg-card);
  border: 1px solid var(--vape-border);
  border-radius: var(--vape-radius-lg);
  overflow: hidden;
}

.vape-layout__main-bottom .ec-eyecatchRole__image img,
.vape-layout__bottom .ec-eyecatchRole__image img {
  width: 100%;
  height: auto;
  border-radius: var(--vape-radius);
  object-fit: cover;
}

.vape-layout__main-bottom .ec-eyecatchRole__introEnTitle,
.vape-layout__bottom .ec-eyecatchRole__introEnTitle {
  font-family: var(--vape-font-en);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--vape-brand);
  margin: 0 0 8px;
}

.vape-layout__main-bottom .ec-eyecatchRole__introTitle,
.vape-layout__bottom .ec-eyecatchRole__introTitle {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--vape-text);
  margin: 0 0 12px;
}

.vape-layout__main-bottom .ec-eyecatchRole__introDescription,
.vape-layout__bottom .ec-eyecatchRole__introDescription {
  font-size: 14px;
  line-height: 1.7;
  color: var(--vape-text-muted);
  margin: 0 0 20px;
}

.vape-layout__main-bottom .ec-blockBtn--top,
.vape-layout__bottom .ec-blockBtn--top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  background: var(--vape-brand);
  color: var(--vape-on-brand);
  border-radius: var(--vape-radius);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  opacity: 1;
}

.vape-layout__main-bottom .ec-blockBtn--top:hover,
.vape-layout__bottom .ec-blockBtn--top:hover {
  transform: translateY(-2px);
  box-shadow: var(--vape-glow);
  color: var(--vape-on-brand);
  opacity: 1;
}

/* トピック */
.vape-layout__main-bottom .ec-topicRole,
.vape-layout__bottom .ec-topicRole {
  padding: 0;
}

.vape-layout__main-bottom .ec-topicRole .ec-role,
.vape-layout__bottom .ec-topicRole .ec-role {
  padding: 0;
}

.vape-layout__main-bottom .ec-topicRole__list,
.vape-layout__bottom .ec-topicRole__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 0;
}

.vape-layout__main-bottom .ec-topicRole__listItem,
.vape-layout__bottom .ec-topicRole__listItem {
  background: var(--vape-bg-card);
  border: 1px solid var(--vape-border);
  border-radius: var(--vape-radius-lg);
  overflow: hidden;
  transition: var(--vape-transition);
}

.vape-layout__main-bottom .ec-topicRole__listItem:hover,
.vape-layout__bottom .ec-topicRole__listItem:hover {
  border-color: rgba(0, 168, 142, 0.35);
  transform: translateY(-2px);
}

.vape-layout__main-bottom .ec-topicRole__listItem img,
.vape-layout__bottom .ec-topicRole__listItem img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.vape-layout__main-bottom .ec-topicRole__listItemTitle,
.vape-layout__bottom .ec-topicRole__listItemTitle {
  margin: 0;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--vape-text);
  text-align: center;
}

@media (max-width: 768px) {
  .vape-layout__main-bottom,
  .vape-layout__bottom {
    padding: 36px 0 48px;
  }

  .vape-layout__main-bottom-inner,
  .vape-layout__bottom-inner {
    gap: 28px;
  }

  .vape-layout__main-bottom .ec-newsRole__newsHeading,
  .vape-layout__bottom .ec-newsRole__newsHeading {
    grid-template-columns: 1fr auto;
  }

  .vape-layout__main-bottom .ec-newsRole__newsDate,
  .vape-layout__bottom .ec-newsRole__newsDate {
    grid-column: 1 / -1;
  }

  .vape-layout__main-bottom .ec-newsRole__newsDescription,
  .vape-layout__bottom .ec-newsRole__newsDescription {
    margin-left: 0;
  }

  .vape-layout__main-bottom .ec-eyecatchRole,
  .vape-layout__bottom .ec-eyecatchRole {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px;
  }

  .vape-layout__main-bottom .ec-topicRole__list,
  .vape-layout__bottom .ec-topicRole__list {
    grid-template-columns: 1fr;
  }
}

/* ========== Footer（全站 default_frame） ========== */
.vape-footer {
  border-top: 1px solid var(--vape-border);
  background: var(--vape-bg-card);
  margin-top: auto;
}

.vape-footer__inner {
  max-width: var(--vape-max-w);
  margin: 0 auto;
  padding: 48px 20px 24px;
}

.vape-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 32px;
}

.vape-footer__desc {
  font-size: 13px;
  color: var(--vape-text-muted);
  margin-top: 12px;
}

.vape-footer__currency {
  margin-top: 16px;
}

body.vape-theme .vape-footer__currency .vape-currency-selector {
  max-width: 100%;
}

.vape-footer__nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

body.vape-theme .vape-footer__nav a {
  color: var(--vape-text-muted);
  font-size: 13px;
  line-height: 1.5;
}

body.vape-theme .vape-footer__nav a:hover {
  color: var(--vape-brand);
  opacity: 1;
}

.vape-footer__warning {
  font-size: 12px;
  color: var(--vape-text-muted);
  line-height: 1.8;
}

.vape-footer__age-ban {
  font-size: 12px;
  color: var(--vape-danger);
  font-weight: 600;
  margin-top: 12px;
}

.vape-footer__copy {
  text-align: center;
  font-size: 11px;
  color: var(--vape-text-dim);
  padding-top: 24px;
  border-top: 1px solid var(--vape-border);
}

/* 大画面（iMac / 27" 等）— 首页・一覧・フッター等の共通コンテナ */
@media (min-width: 1440px) {
  .vape-layout__main,
  .vape-layout__body--2col,
  .vape-layout__body--3col,
  .vape-layout__main-bottom-inner,
  .vape-layout__bottom-inner,
  .vape-footer__inner,
  .vape-section {
    max-width: min(1360px, calc(100vw - 80px));
  }

  .vape-layout__main {
    padding-left: 40px;
    padding-right: 40px;
  }

  .vape-section {
    padding-left: 40px;
    padding-right: 40px;
  }

  .vape-footer__inner {
    padding-left: 40px;
    padding-right: 40px;
  }
}

@media (min-width: 1920px) {
  .vape-layout__main,
  .vape-layout__body--2col,
  .vape-layout__body--3col,
  .vape-layout__main-bottom-inner,
  .vape-layout__bottom-inner,
  .vape-footer__inner,
  .vape-section {
    max-width: min(1400px, calc(100vw - 120px));
  }
}

