.sp-spacer {
  height: 80px;
}




.single-product-page {
  min-height: 80vh;
  padding: 0 0 120px;
}

.sp-breadcrumb {
  font-size: 13px;
  color: #999;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.sp-breadcrumb a { color: #999; text-decoration: none; transition: color .2s; }
.sp-breadcrumb a:hover { color: #0b0b0b; }
.sp-breadcrumb__sep { color: #ccc; font-size: 11px; }
.sp-breadcrumb__current { color: #0b0b0b; font-weight: 500; }

.sp-layout {
  display: grid;
  grid-template-columns: 480px 1fr;
  gap: 48px;
  align-items: start;
}

.sp-gallery__main {
  background: #f5f6fa;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.sp-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 24px;
  transition: transform .4s ease;
}
.sp-gallery__main:hover img { transform: scale(1.03); }

.sp-gallery__thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.sp-gallery__thumb {
  width: 72px; height: 72px;
  border-radius: 12px; overflow: hidden;
  cursor: pointer; border: 2px solid transparent;
  transition: border-color .2s; flex-shrink: 0; background: #f5f6fa;
}
.sp-gallery__thumb.is-active,
.sp-gallery__thumb:hover { border-color: #0b0b0b; }
.sp-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.sp-info { position: static; }

.sp-info__title {
  font-size: 36px; font-weight: 700; line-height: 1.15;
  letter-spacing: -0.02em; color: #0b0b0b; margin: 0 0 10px;
}

.sp-info__price-row {
  display: flex; align-items: baseline; gap: 10px; margin-bottom: 16px;
}
.sp-info__price-label { font-size: 15px; color: #888; }
.sp-info__price { font-size: 28px; font-weight: 700; color: #0b0b0b; }
.sp-info__price .woocommerce-Price-amount { font-size: inherit; }

.sp-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.sp-meta__pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: #f5f6fa; border-radius: 999px; padding: 6px 14px;
  font-size: 13px; font-weight: 500; color: #444;
}
.sp-meta__pill svg { width: 14px; height: 14px; color: #888; flex-shrink: 0; }

.sp-info__short-desc {
  font-size: 15px; color: #666; line-height: 1.7; margin-bottom: 24px;
}

.sp-actions { display: flex; gap: 12px; margin-bottom: 12px; align-items: center; max-width: 480px; }

.sp-qty {
  display: flex; align-items: center;
  border: 1px solid #e2e8f0; border-radius: 10px;
  overflow: hidden; height: 48px; flex-shrink: 0;
}
.sp-qty__btn {
  width: 48px; height: 100%; border: none; background: transparent;
  font-size: 20px; font-weight: 400; color: #555; cursor: pointer;
  transition: background .15s; display: flex; align-items: center; justify-content: center;
}
.sp-qty__btn:hover { background: #f5f6fa; }
.sp-qty__input {
  width: 44px; height: 100%; border: none;
  border-left: 1px solid #e2e8f0; border-right: 1px solid #e2e8f0;
  text-align: center; font-size: 15px; font-weight: 600;
  color: #0b0b0b; outline: none; -moz-appearance: textfield;
}
.sp-qty__input::-webkit-inner-spin-button,
.sp-qty__input::-webkit-outer-spin-button { -webkit-appearance: none; }

.sp-actions a.sp-atc,
a.sp-atc {
  flex: 1;
  max-width: 320px;
  height: 48px;
  background: #FED845;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  color: #000;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 20px;
  line-height: 1;
  transition: background .2s, transform .15s;
}
.sp-actions a.sp-atc:hover,
a.sp-atc:hover { background: #fcd32e; transform: translateY(-1px); color: #000; }
a.sp-atc:active { transform: translateY(0); }

.sp-view-cart {
  display: none; width: 100%; height: 44px; background: #fff;
  border: 1px solid #e2e8f0; border-radius: 12px; font-size: 14px;
  font-weight: 600; color: #0b0b0b; text-align: center; text-decoration: none;
  align-items: center; justify-content: center; margin-bottom: 8px;
  transition: border-color .2s, background .2s;
}
.sp-view-cart:hover { border-color: #0b0b0b; background: #f5f6fa; }
.sp-view-cart.is-visible { display: flex; }

.sp-inline-desc {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #f0f0f0;
}
.sp-inline-desc__content {
  font-size: 14px; color: #555; line-height: 1.75;
}
.sp-inline-desc__content p { margin: 0 0 12px; }
.sp-inline-desc__content p:last-child { margin: 0; }
.sp-inline-desc__content strong { color: #0b0b0b; font-weight: 600; }
.sp-inline-desc__content ul { padding-left: 0; list-style: none; margin: 0 0 12px; }
.sp-inline-desc__content ul li {
  padding: 6px 0 6px 18px; position: relative;
  border-bottom: 1px solid #f5f6fa; font-size: 14px;
}
.sp-inline-desc__content ul li::before {
  content: ""; position: absolute; left: 0; top: 50%;
  transform: translateY(-50%); width: 6px; height: 6px;
  border-radius: 50%; background: #FED845; border: 2px solid #0b0b0b;
}

.sp-related { margin-top: 100px; padding-bottom: 60px; }
.sp-related__title {
  font-size: 26px; font-weight: 700; margin-bottom: 28px; letter-spacing: -0.02em;
}
.sp-related__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}

@media (max-width: 1100px) {
  .sp-layout { grid-template-columns: 420px 1fr; gap: 36px; }
}
@media (max-width: 900px) {
  .sp-layout { grid-template-columns: 1fr 1fr; gap: 28px; }
  .sp-related__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .sp-layout { grid-template-columns: 1fr; gap: 24px; }
  .sp-info__title { font-size: 26px; }
  .sp-info__price { font-size: 22px; }
}
@media (max-width: 640px) {
  .single-product-page { padding: 32px 0 80px; }
  .sp-actions { flex-wrap: wrap; }
  .sp-qty { width: 100%; justify-content: space-between; }
  .sp-atc { width: 100%; }
  .sp-related__grid { grid-template-columns: 1fr; }
  .sp-gallery__thumb { width: 60px; height: 60px; }
  .sp-trust { gap: 12px; }
}