.single-va_product #sidebar {
  display: none !important;
}

.single-va_product #main {
  width: 100% !important;
  max-width: none !important;
}

.single-va_product .content-in,
.single-va_product .main {
  box-sizing: border-box;
}

.single-va_product .date-tags,
.single-va_product .post-date,
.single-va_product .post-update,
.single-va_product .author-info,
.single-va_product .sns-share,
.single-va_product .sns-follow,
.single-va_product .article-footer {
  display: none !important;
}

.va-product-detail {
  --va-bg: #fbf8f3;
  --va-card: #ffffff;
  --va-line: #e8dfd7;
  --va-text: #332e2b;
  --va-muted: #7d746f;
  --va-accent: #bf858b;
  --va-accent-dark: #a96f76;
  color: var(--va-text);
  margin: 0 auto;
  max-width: 1180px;
}

.va-product-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0 0 22px;
  color: var(--va-muted);
  font-size: 0.92rem;
}

.va-product-section {
  margin: 0 0 28px;
  padding: 26px;
  background: var(--va-card);
  border: 1px solid var(--va-line);
  border-radius: 14px;
  box-shadow: 0 5px 18px rgba(68, 52, 43, 0.05);
}

.va-product-section > h2 {
  margin: 0 0 20px;
  padding: 0 0 11px;
  border-bottom: 1px solid var(--va-line);
  color: var(--va-text);
  font-size: 1.28rem;
}

.va-spec-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.va-spec-item {
  min-height: 88px;
  padding: 16px;
  background: var(--va-bg);
  border-radius: 10px;
}

.va-spec-item span {
  display: block;
  margin-bottom: 8px;
  color: var(--va-muted);
  font-size: 0.82rem;
}

.va-spec-item strong {
  display: block;
  font-size: 1.08rem;
  line-height: 1.45;
}

.va-spec-list {
  margin: 0;
  border-top: 1px solid var(--va-line);
}

.va-spec-list > div {
  display: grid;
  grid-template-columns: minmax(130px, 30%) 1fr;
  gap: 18px;
  padding: 13px 4px;
  border-bottom: 1px solid var(--va-line);
}

.va-spec-list dt,
.va-spec-list dd {
  margin: 0;
}

.va-spec-list dt {
  color: var(--va-muted);
  font-weight: 600;
}

.va-product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.va-product-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 18px;
  border: 1px solid var(--va-accent);
  border-radius: 8px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none !important;
  cursor: pointer;
}

.va-product-btn-primary {
  color: #fff !important;
  background: var(--va-accent);
}

.va-product-btn-primary:hover {
  color: #fff !important;
  background: var(--va-accent-dark);
}

.va-product-btn-discontinued {
  color: #fff !important;
  background: #8f5f65;
  border-color: #8f5f65;
}

.va-product-btn-discontinued:hover {
  color: #fff !important;
  background: #7b5056;
  border-color: #7b5056;
}

.va-product-btn-secondary {
  color: var(--va-text);
  background: #fff;
}

.va-product-btn-secondary[disabled] {
  opacity: 0.62;
  cursor: default;
}

.va-product-btn-secondary span,
.va-pr-label {
  margin-left: 5px;
  font-size: 0.72rem;
  font-weight: 500;
}

.va-section-note,
.va-offer-checked,
.va-product-sources,
.va-product-sources span {
  color: var(--va-muted);
  font-size: 0.9rem;
}

.va-offer-list {
  display: grid;
  gap: 12px;
}

.va-offer-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  background: var(--va-bg);
  border-radius: 10px;
}

.va-offer-card.is-discontinued {
  border: 1px solid #dfc3c6;
  background: #fbf4f4;
}

.va-offer-status-badge,
.va-product-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  border: 1px solid #c7959a;
  border-radius: 999px;
  background: #8f5f65;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
}

.va-offer-status-badge {
  margin-bottom: 8px;
  padding: 6px 10px;
}

.va-offer-shop {
  margin-bottom: 6px;
  font-weight: 700;
}

.va-offer-price strong {
  margin-right: 9px;
  font-size: 1.12rem;
}

.va-offer-price del {
  color: var(--va-muted);
  font-size: 0.9rem;
}

.va-offer-stock {
  margin-top: 6px;
  font-size: 0.9rem;
}

.va-product-sources ul {
  margin-bottom: 0;
}

@media (max-width: 834px) {
  .va-product-section {
    padding: 20px;
  }

  .va-spec-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .va-offer-card {
    align-items: stretch;
    flex-direction: column;
  }

  .va-offer-card .va-product-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .va-product-section {
    margin-bottom: 20px;
    padding: 16px;
    border-radius: 10px;
  }

  .va-spec-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .va-spec-item {
    min-height: 78px;
    padding: 13px;
  }

  .va-spec-wide {
    grid-column: 1 / -1;
  }

  .va-spec-list > div {
    grid-template-columns: 42% 1fr;
    gap: 10px;
  }
}


/* =========================================================
 * STEP9-D-3: ファーストビュー基本レイアウト
 * ========================================================= */

html {
  scroll-behavior: smooth;
}

.va-product-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 30px;
  align-items: stretch;
  margin: 0 0 28px;
  padding: 26px;
  background: var(--va-card);
  border: 1px solid var(--va-line);
  border-radius: 14px;
  box-shadow: 0 5px 18px rgba(68, 52, 43, 0.05);
}

.va-product-media-slot {
  min-width: 0;
}

.va-product-media-placeholder {
  display: flex;
  min-height: 460px;
  height: 100%;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  padding: 28px;
  border: 1px dashed #d7c8bd;
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(191, 133, 139, 0.055), rgba(255, 255, 255, 0.5)),
    var(--va-bg);
  color: var(--va-muted);
  text-align: center;
}

.va-media-placeholder-mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 4px;
  border: 1px solid #d9c7c1;
  border-radius: 50%;
  color: var(--va-accent);
  font-size: 1.8rem;
  line-height: 1;
}

.va-product-media-placeholder strong {
  color: var(--va-text);
  font-size: 1.05rem;
}

.va-product-media-placeholder span {
  max-width: 26em;
  font-size: 0.82rem;
  line-height: 1.6;
}

.va-product-hero-info {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
}

.va-product-status-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  padding: 10px 12px;
  border: 1px solid #dfc3c6;
  border-radius: 10px;
  background: #fbf4f4;
  color: #76535a;
  font-size: 0.82rem;
  line-height: 1.55;
}

.va-product-status-notice .va-product-status-badge {
  flex: 0 0 auto;
  padding: 6px 10px;
}

.va-product-hero .va-product-meta-line {
  margin: 0 0 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--va-line);
  font-size: 0.86rem;
}

.va-hero-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.va-hero-spec {
  min-width: 0;
  padding: 14px 15px;
  background: var(--va-bg);
  border-radius: 10px;
}

.va-hero-spec span {
  display: block;
  margin-bottom: 5px;
  color: var(--va-muted);
  font-size: 0.78rem;
}

.va-hero-spec strong {
  display: block;
  color: var(--va-text);
  font-size: 1rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.va-hero-weight-main {
  display: inline;
}

.va-hero-weight-note {
  margin-left: 2px;
  color: inherit;
  font-size: 0.82em;
  font-weight: 700;
}

.va-hero-weight-note::before {
  content: "（";
}

.va-hero-weight-note::after {
  content: "）";
}

.va-hero-spec-bwh {
  grid-column: 1 / -1;
}

.va-product-hero-actions {
  margin-top: 20px;
}

.va-product-hero-actions .va-product-btn {
  min-width: 158px;
}

.va-product-btn-muted {
  color: var(--va-muted);
  background: #f4f0ec;
  border-color: #e5dcd4;
  cursor: default;
}

.va-hero-note {
  margin: 12px 0 0;
  color: var(--va-muted);
  font-size: 0.78rem;
  line-height: 1.6;
}

#va-sales-info {
  scroll-margin-top: 24px;
}

@media (max-width: 960px) {
  .va-product-hero {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.95fr);
    gap: 22px;
  }

  .va-product-media-placeholder {
    min-height: 390px;
  }
}

@media (max-width: 760px) {
  .va-product-hero {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px;
  }

  .va-product-media-placeholder {
    min-height: 360px;
    aspect-ratio: 4 / 5;
  }

  .va-product-hero-info {
    justify-content: flex-start;
  }

  .va-product-hero .va-product-meta-line {
    margin-bottom: 16px;
  }

  .va-product-hero-actions .va-product-btn {
    flex: 1 1 180px;
  }
}

@media (max-width: 480px) {
  .va-product-hero {
    margin-bottom: 20px;
    padding: 14px;
    border-radius: 10px;
  }

  .va-product-media-placeholder {
    min-height: 300px;
    padding: 20px;
  }

  .va-hero-specs {
    gap: 8px;
  }

  .va-hero-spec {
    padding: 12px;
  }

  .va-hero-spec strong {
    font-size: 0.96rem;
  }

  .va-hero-weight-main {
    display: block;
  }

  .va-hero-weight-note {
    display: block;
    margin: 1px 0 0;
    color: var(--va-muted);
    font-size: 0.72rem;
    line-height: 1.3;
  }

  .va-hero-weight-note::before,
  .va-hero-weight-note::after {
    content: none;
  }

  .va-product-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .va-product-hero-actions .va-product-btn {
    width: 100%;
  }
}


/* =========================================================
 * STEP9-D-3b: PCファーストビュー微調整
 * ヘッダー込みで主要CTAまで見えやすくする
 * ========================================================= */

@media (min-width: 961px) {
  .va-product-hero {
    gap: 26px;
    padding: 22px;
  }

  .va-product-media-placeholder {
    min-height: 345px;
    height: 345px;
  }

  .va-product-hero .va-product-meta-line {
    margin-bottom: 14px;
    padding-bottom: 12px;
  }

  .va-hero-specs {
    gap: 8px;
  }

  .va-hero-spec {
    padding: 11px 13px;
  }

  .va-hero-spec span {
    margin-bottom: 3px;
  }

  .va-product-hero-actions {
    margin-top: 15px;
  }

  .va-hero-note {
    margin-top: 8px;
  }
}


/* =========================================================
 * STEP9-E-1: 登録済み商品画像の自動表示
 * ========================================================= */

.va-product-primary-image {
  margin: 0;
}

.va-product-primary-image-frame {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 345px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--va-line);
  border-radius: 12px;
}

.va-product-primary-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #fff;
}

.va-product-primary-image figcaption {
  margin-top: 8px;
  color: var(--va-muted);
  font-size: 0.74rem;
  line-height: 1.5;
  text-align: center;
}

.va-product-image-error {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  padding: 24px;
  background: var(--va-bg);
  color: var(--va-muted);
  text-align: center;
}

.va-product-image-error strong {
  color: var(--va-text);
}

.va-product-primary-image.is-load-error img {
  display: none;
}

.va-product-primary-image.is-load-error .va-product-image-error {
  display: flex;
}

@media (max-width: 760px) {
  .va-product-primary-image-frame {
    height: auto;
    min-height: 360px;
    aspect-ratio: 4 / 5;
  }
}

@media (max-width: 480px) {
  .va-product-primary-image-frame {
    min-height: 300px;
  }
}


/* =========================================================
 * STEP9-E-2: 複数画像スライダー
 * ========================================================= */

.va-product-gallery {
  width: 100%;
  min-width: 0;
  outline: none;
}

.va-product-gallery:focus-visible {
  outline: 2px solid rgba(191, 133, 139, 0.45);
  outline-offset: 4px;
  border-radius: 12px;
}

.va-product-gallery-stage {
  position: relative;
  min-width: 0;
}

.va-product-gallery-slide {
  margin: 0;
}

.va-product-gallery-slide[hidden] {
  display: none !important;
}

.va-product-gallery-image-frame {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 345px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--va-line);
  border-radius: 12px;
}

.va-product-gallery-image-frame > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #fff;
}

.va-product-gallery-slide figcaption {
  margin-top: 7px;
  min-height: 1.5em;
  color: var(--va-muted);
  font-size: 0.72rem;
  line-height: 1.5;
  text-align: center;
}

.va-product-gallery-slide.is-load-error .va-product-gallery-image-frame > img {
  display: none;
}

.va-product-gallery-slide.is-load-error .va-product-image-error {
  display: flex;
}

.va-product-image-type {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  padding: 5px 8px;
  border: 1px solid rgba(231, 221, 212, 0.95);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--va-muted);
  font-size: 0.68rem;
  line-height: 1;
  backdrop-filter: blur(5px);
}

.va-gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(231, 221, 212, 0.95);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--va-text);
  font: inherit;
  /* STEP10-UI-GALLERY-ARROW-CENTER: 標準文字のベースラインずれを表示から除外する。 */
  font-size: 0;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  box-shadow: 0 3px 12px rgba(68, 52, 43, 0.08);
}

/* =========================================================
 * STEP10-UI-GALLERY-ARROW-CENTER-2: 通常・拡大の矢印を同一描画に統一。
 * ボタン本文の ‹ / › は削除済み。疑似要素だけを grid の中央に配置し、
 * 文字ベースラインや追加の grid アイテムでずれないようにする。
 * ========================================================= */
.va-gallery-arrow::before,
.va-lightbox-arrow::before {
  content: "";
  display: block;
  box-sizing: border-box;
  width: 12px;
  height: 12px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}

.va-gallery-prev::before,
.va-lightbox-prev::before {
  transform: translateX(2px) rotate(135deg);
}

.va-gallery-next::before,
.va-lightbox-next::before {
  transform: translateX(-2px) rotate(-45deg);
}

.va-gallery-arrow:hover,
.va-gallery-arrow:focus-visible {
  border-color: rgba(191, 133, 139, 0.55);
  color: var(--va-accent);
}

.va-gallery-prev {
  left: 12px;
}

.va-gallery-next {
  right: 12px;
}

.va-gallery-counter {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 5;
  min-width: 54px;
  padding: 6px 9px;
  border: 1px solid rgba(231, 221, 212, 0.95);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--va-muted);
  font-size: 0.72rem;
  line-height: 1;
  text-align: center;
  backdrop-filter: blur(5px);
}

.va-product-gallery-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  padding: 2px 1px 4px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
}

.va-gallery-thumb {
  position: relative;
  flex: 0 0 62px;
  width: 62px;
  height: 62px;
  padding: 3px;
  overflow: hidden;
  border: 1px solid var(--va-line);
  border-radius: 9px;
  background: #fff;
  cursor: pointer;
}

.va-gallery-thumb:hover,
.va-gallery-thumb:focus-visible {
  border-color: rgba(191, 133, 139, 0.6);
}

.va-gallery-thumb.is-active {
  border: 2px solid var(--va-accent);
  padding: 2px;
}

.va-gallery-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
}

.va-gallery-thumb-fallback {
  display: none;
  position: absolute;
  inset: 3px;
  place-items: center;
  border-radius: 5px;
  background: var(--va-bg);
  color: var(--va-muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.va-gallery-thumb.is-load-error img {
  display: none;
}

.va-gallery-thumb.is-load-error .va-gallery-thumb-fallback {
  display: grid;
}

.va-gallery-help {
  margin: 5px 0 0;
  color: var(--va-muted);
  font-size: 0.7rem;
  line-height: 1.5;
  text-align: center;
}

@media (max-width: 760px) {
  .va-product-gallery-stage {
    /* スマホでは画像/CTAの下にナビゲーション専用領域を確保する。 */
    padding-bottom: 58px;
  }

  .va-product-gallery-image-frame {
    height: auto;
    min-height: 360px;
    aspect-ratio: 4 / 5;
  }

  .va-gallery-arrow {
    top: auto;
    bottom: 8px;
    width: 40px;
    height: 40px;
    transform: none;
  }

  .va-gallery-prev {
    left: 8px;
  }

  .va-gallery-next {
    right: 8px;
  }

  .va-gallery-counter {
    right: auto;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
  }

  .va-gallery-thumb {
    flex-basis: 58px;
    width: 58px;
    height: 58px;
  }
}

@media (max-width: 480px) {
  .va-product-gallery-image-frame {
    min-height: 300px;
  }

  .va-gallery-help {
    display: none;
  }
}


/* =========================================================
 * STEP9-E-3: ライトボックス + マウス位置拡大
 * ========================================================= */

.va-gallery-open {
  appearance: none;
  width: 100%;
  padding: 0;
  font: inherit;
  color: inherit;
  text-align: inherit;
  cursor: zoom-in;
}

.va-gallery-open:focus-visible {
  outline: 2px solid rgba(191, 133, 139, 0.55);
  outline-offset: 3px;
}

.va-product-image-expand-hint {
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 4;
  padding: 5px 8px;
  border: 1px solid rgba(231, 221, 212, 0.95);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--va-muted);
  font-size: 0.68rem;
  line-height: 1;
  pointer-events: none;
  backdrop-filter: blur(5px);
}

body.va-lightbox-open {
  overflow: hidden;
}

.va-lightbox[hidden] {
  display: none !important;
}

.va-lightbox {
  --va-bg: #fbf8f3;
  --va-card: #ffffff;
  --va-line: #e8dfd7;
  --va-text: #332e2b;
  --va-muted: #7d746f;
  --va-accent: #bf858b;
  --va-accent-dark: #a96f76;
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: grid;
  place-items: center;
  padding: 20px;
}

.va-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 22, 20, 0.88);
  backdrop-filter: blur(5px);
}

.va-lightbox-panel {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: min(94vw, 1500px);
  height: min(94vh, 980px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: #161311;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
}

.va-lightbox-toolbar,
.va-lightbox-footer {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(22, 19, 17, 0.96);
}

.va-lightbox-toolbar {
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.va-lightbox-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 0.8rem;
}

.va-lightbox-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.va-lightbox-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.va-lightbox-type,
.va-lightbox-counter {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 9px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.75rem;
}

.va-lightbox-close {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font: inherit;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

.va-lightbox-zoom-toggle {
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.va-lightbox-zoom-toggle:hover,
.va-lightbox-zoom-toggle:focus-visible,
.va-lightbox-zoom-toggle[aria-pressed="true"] {
  background: rgba(191, 133, 139, 0.42);
  border-color: rgba(218, 169, 174, 0.65);
}

.va-lightbox-zoom-toggle[hidden] {
  display: none !important;
}

.va-lightbox-close:hover,
.va-lightbox-close:focus-visible {
  background: rgba(255, 255, 255, 0.14);
}

.va-lightbox-stage {
  position: relative;
  display: flex;
  min-height: 0;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(191, 133, 139, 0.04), transparent 45%),
    #0e0c0b;
}

.va-lightbox-image-wrap {
  position: relative;
  display: flex;
  width: calc(100% - 120px);
  height: 100%;
  min-height: 0;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: default;
}

.va-lightbox-image-wrap[hidden] {
  display: none !important;
}

.va-lightbox-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  user-select: none;
  -webkit-user-drag: none;
  transform: scale(1);
  transform-origin: 50% 50%;
  transition: transform 140ms ease-out;
  will-change: transform, transform-origin;
}

@media (hover: hover) and (pointer: fine) {
  .va-lightbox-image-wrap.is-zoom-enabled:not(.is-error) {
    cursor: crosshair;
  }

  .va-lightbox-image-wrap.is-hover-zoom .va-lightbox-image {
    transform: scale(2.35);
  }
}

.va-lightbox-cta-wrap {
  display: flex;
  width: calc(100% - 120px);
  height: 100%;
  min-height: 0;
  align-items: center;
  justify-content: center;
  padding: 34px;
}

.va-lightbox-cta-wrap[hidden] {
  display: none !important;
}

.va-lightbox-cta-card {
  display: flex;
  width: min(680px, 100%);
  min-height: 360px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 14px;
  padding: 42px;
  border: 1px solid var(--va-line);
  border-radius: 16px;
  background:
    radial-gradient(circle at 22% 18%, rgba(191, 133, 139, 0.11), transparent 34%),
    linear-gradient(135deg, #fffaf7 0%, #f8f1ec 100%);
  color: var(--va-text);
  text-align: center;
}

.va-lightbox-cta-card.is-discontinued {
  border-color: #d9b8bc;
  background:
    radial-gradient(circle at 22% 18%, rgba(143, 95, 101, 0.12), transparent 34%),
    linear-gradient(135deg, #fbf4f4 0%, #f4e9e9 100%);
}

.va-lightbox-cta-eyebrow {
  display: inline-flex;
  padding: 6px 11px;
  border: 1px solid rgba(143, 95, 101, 0.42);
  border-radius: 999px;
  color: #8f5f65;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.va-lightbox-cta-card h3 {
  margin: 2px 0 0;
  color: var(--va-text);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  line-height: 1.4;
}

.va-lightbox-cta-card p {
  max-width: 34em;
  margin: 0;
  color: var(--va-muted);
  font-size: 0.9rem;
  line-height: 1.8;
}

.va-lightbox-cta-button {
  min-width: 200px;
  margin-top: 4px;
}

.va-lightbox-cta-pr {
  color: var(--va-muted);
  font-size: 0.7rem;
  line-height: 1.5;
}

.va-lightbox-error {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  padding: 28px;
  color: rgba(255, 255, 255, 0.68);
  text-align: center;
}

.va-lightbox-error strong {
  color: #fff;
}

.va-lightbox-image-wrap.is-error .va-lightbox-image {
  display: none;
}

.va-lightbox-image-wrap.is-error .va-lightbox-error {
  display: flex;
}

.va-lightbox-arrow {
  position: absolute;
  top: 50%;
  z-index: 6;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(18, 15, 14, 0.72);
  color: #fff;
  font: inherit;
  font-size: 0; /* 矢印は ::before で描き、文字のベースラインを使わない */
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  backdrop-filter: blur(5px);
}

.va-lightbox-arrow:hover,
.va-lightbox-arrow:focus-visible {
  background: rgba(191, 133, 139, 0.72);
}

.va-lightbox-prev {
  left: 18px;
}

.va-lightbox-next {
  right: 18px;
}

.va-lightbox-caption {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.va-lightbox-help {
  flex: 0 0 auto;
  color: rgba(255, 255, 255, 0.54);
  text-align: right;
}

@media (max-width: 760px) {
  .va-lightbox {
    padding: 0;
  }

  .va-lightbox-panel {
    width: 100vw;
    height: 100dvh;
    border: 0;
    border-radius: 0;
  }

  .va-lightbox-image-wrap {
    width: 100%;
    padding: 48px 12px 86px;
  }

  .va-lightbox-cta-wrap {
    width: 100%;
    padding: 48px 18px 86px;
  }

  .va-lightbox-cta-card {
    min-height: 0;
    padding: 30px 22px;
  }

  .va-lightbox-arrow {
    top: auto;
    bottom: 18px;
    width: 42px;
    height: 42px;
    background: rgba(18, 15, 14, 0.58);
    transform: none;
  }

  .va-lightbox-prev {
    left: 18px;
  }

  .va-lightbox-next {
    right: 18px;
  }

  .va-lightbox-footer {
    display: block;
    text-align: center;
  }

  .va-lightbox-caption {
    white-space: normal;
  }

  .va-lightbox-help {
    display: none;
  }

}

@media (max-width: 480px) {
  .va-lightbox-toolbar {
    padding: 9px 10px;
  }

  .va-lightbox-close {
    width: 36px;
    height: 36px;
  }

  .va-product-image-expand-hint {
    display: none;
  }
}


/* =========================================================
 * STEP9-E-4: ギャラリー最後の販売CTAカード
 * ========================================================= */

.va-product-gallery-cta-slide {
  margin: 0;
}

.va-gallery-cta-card {
  display: flex;
  min-height: 345px;
  height: 345px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  padding: 34px;
  border: 1px solid var(--va-line);
  border-radius: 12px;
  background:
    radial-gradient(circle at 22% 18%, rgba(191, 133, 139, 0.11), transparent 34%),
    linear-gradient(135deg, #fffaf7 0%, #f8f1ec 100%);
  color: var(--va-text);
  text-align: center;
}

.va-gallery-cta-card.is-discontinued {
  border-color: #d9b8bc;
  background:
    radial-gradient(circle at 22% 18%, rgba(143, 95, 101, 0.12), transparent 34%),
    linear-gradient(135deg, #fbf4f4 0%, #f4e9e9 100%);
}

.va-gallery-cta-card.is-discontinued .va-gallery-cta-eyebrow {
  border-color: rgba(143, 95, 101, 0.42);
  color: #8f5f65;
}

.va-gallery-cta-eyebrow {
  display: inline-flex;
  padding: 5px 10px;
  border: 1px solid rgba(191, 133, 139, 0.34);
  border-radius: 999px;
  color: var(--va-accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.va-gallery-cta-card h3 {
  margin: 2px 0 0;
  color: var(--va-text);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.4;
}

.va-gallery-cta-card p {
  max-width: 31em;
  margin: 0;
  color: var(--va-muted);
  font-size: 0.86rem;
  line-height: 1.8;
}

.va-gallery-cta-button {
  min-width: 180px;
  margin-top: 4px;
  text-decoration: none !important;
}

.va-gallery-cta-pr {
  color: var(--va-muted);
  font-size: 0.68rem;
  line-height: 1.5;
}

.va-gallery-thumb-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 3px;
  background: linear-gradient(135deg, #fff8f5, #f7eeea);
  color: var(--va-accent);
  font-size: 0.66rem;
  font-weight: 700;
}

.va-gallery-thumb-cta-icon {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(191, 133, 139, 0.42);
  border-radius: 50%;
  font-size: 0.9rem;
  line-height: 1;
}

.va-gallery-thumb-cta.is-active {
  background: #fff4f1;
}

@media (max-width: 760px) {
  .va-gallery-cta-card {
    min-height: 360px;
    height: auto;
    aspect-ratio: 4 / 5;
    padding: 28px 22px;
  }
}

@media (max-width: 480px) {
  .va-gallery-cta-card {
    min-height: 300px;
    padding: 24px 18px;
  }

  .va-gallery-cta-button {
    width: 100%;
    max-width: 280px;
  }
}


/* STEP9-G-1: 比較ボタン有効化 */
.va-product-btn-secondary.va-compare-toggle:hover {
  border-color: #cda3a7;
  background: #fff8f6;
}


/* STEP9-J-37H: 公開販売状態 */
.va-offer-commerce-status {
  display: grid;
  gap: 4px;
  margin-top: 8px;
  font-size: 0.92rem;
  line-height: 1.55;
}


/* STEP9-J-37H-4: 重量フォールバック表示 */
.va-product-card-specs strong,
.va-hero-spec strong,
.va-spec-table dd {
  overflow-wrap: anywhere;
}
