/* Shared SEO sidebar + blog type badges (blog / product / special) */

.seo-blog-type {
  display: inline-block;
  margin: 0 0 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.blog-entry-type {
  display: inline-block;
  margin: 0 0 10px;
  padding: 3px 10px;
  border-radius: 999px;
  background: #f8f1e3;
  color: #9a7a3a;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.4;
}

.pv-sb-aside {
  width: 100%;
  margin-top: 24px;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (min-width: 992px) {
  .pv-sb-aside {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    margin-top: 0;
    padding-left: 8px;
  }

  .blog-view-sidebar-col .pv-sb-aside {
    margin-top: 0;
  }
}

.blog-view-sidebar-col .pv-sb-aside {
  width: 100%;
  max-width: 100%;
  margin-top: 24px;
  box-sizing: border-box;
}

.pv-sb-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pv-sb-widget {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 16px 14px 14px;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
  box-sizing: border-box;
  margin-bottom: 16px;
}

.pv-sb-widget:last-child {
  margin-bottom: 0;
}

.pv-sb-widget__title {
  margin: 0 0 12px;
  padding: 0 0 10px;
  font-size: 1.05rem;
  line-height: 1.3;
  font-weight: 700;
  color: #1e293b;
  border-bottom: 2px solid #333;
}

.pv-sb-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pv-sb-nav li {
  margin: 0 0 6px;
}

.pv-sb-nav li:last-child {
  margin-bottom: 0;
}

.pv-sb-nav a {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid #eef2f7;
  color: #334155;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.35;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.pv-sb-nav a:hover {
  color: #0f172a;
  border-color: #cbd5e1;
  background: #fff;
}

.pv-sb-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 8px;
  margin-bottom: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

.pv-sb-card--product {
  align-items: center;
}

.pv-sb-card:last-child {
  margin-bottom: 0;
}

.pv-sb-card:hover {
  border-color: #bbb;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.07);
}

.pv-sb-card__thumb {
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e8e8e8;
  display: block;
  text-decoration: none;
}

.pv-sb-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pv-sb-card__body {
  flex: 1;
  min-width: 0;
  padding-top: 2px;
}

.pv-sb-card__title {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
}

.pv-sb-card__title a {
  color: #1e293b;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pv-sb-card__title a:hover {
  color: #000;
  text-decoration: underline;
}

.pv-sb-card--product .pv-sb-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: stretch;
  padding-top: 0;
  min-height: 72px;
}

.pv-sb-card--text {
  padding: 12px 10px;
}

.pv-sb-card--text .pv-sb-card__body {
  padding-top: 0;
  width: 100%;
}

.pv-sb-card__desc {
  margin: 6px 0 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: #64748b;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pv-sb-card__meta {
  margin: 6px 0 0;
  font-size: 0.75rem;
  line-height: 1.4;
  color: #94a3b8;
}

.pv-sb-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pv-sb-form__group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
}

.pv-sb-form__label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #475569;
  line-height: 1.3;
}

.pv-sb-form__input,
.pv-sb-form__select,
.pv-sb-form__textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 0.875rem;
  line-height: 1.4;
  color: #1e293b;
  background: #fff;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pv-sb-form__input:focus,
.pv-sb-form__select:focus,
.pv-sb-form__textarea:focus {
  outline: 0;
  border-color: #94a3b8;
  box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.2);
}

.pv-sb-form__textarea {
  min-height: 88px;
  resize: vertical;
}

.pv-sb-form__hint {
  font-size: 0.72rem;
  color: #94a3b8;
  line-height: 1.35;
  margin: 0;
}

.pv-sb-form__btn {
  width: 100%;
  padding: 12px 16px;
  border: 0;
  border-radius: 8px;
  background: #1e293b;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3;
  cursor: pointer;
  transition: background 0.2s ease;
}

.pv-sb-form__btn:hover {
  background: #000;
}
