* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html,
body {
  font-family: roboto slab, sans-serif;
}

.smb-header-nav-container {
  width: 100%;
  background-color: #fcfaf9;
  padding: 0 clamp(12px, 5vw, 64px);
}

.smb-header-fixed-nav {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
}

.smb-header-nav {
  max-width: 950px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 8px 0;
}

.smb-header-nav-logo a {
  font-size: 22px;
  font-weight: bold;
  color: #000;
  text-transform: capitalize;
}
.smb-header-nav-logo a.sgf-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  text-transform: none;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
}
.smb-header-nav-logo .sgf-logo-mark {
  height: 40px;
  width: auto;
  display: block;
}
.smb-header-nav-logo .sgf-logo-text {
  font-family: Poppins, Helvetica, Arial, sans-serif;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #1565c0;
  line-height: 1.05;
  -webkit-font-smoothing: antialiased;
}
.smb-header-nav-logo .sgf-logo-text em {
  font-style: normal;
  color: #e53935;
  font-weight: 800;
}
@media (max-width: 520px) {
  .smb-header-nav-logo .sgf-logo-mark { height: 32px; }
  .smb-header-nav-logo .sgf-logo-text { font-size: 16px; }
}

.smb-header-nav-wish a {
  color: #ff4742;
  background-color: transparent;
  border: 1px solid #ff4742;
  border-radius: 6px;
  padding: 4px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  transition: color .15s;
  position: relative;
}

.smb-header-nav-wish a:hover {
  background-color: #ff474214;
}

.smb-header-nav-wish a::before {
  content: var(--wish-count);
  position: absolute;
  top: -8px;
  right: -8px;
  font-size: 12px;
  line-height: 8px;
  padding: 5px;
  border-radius: 50%;
  background-color: #ff4742;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  height: 8px;
}

#smb-page {
  max-width: 950px;
  margin: 0 auto;
}
header,
section {
  background-color: #fff;
  padding: 14px 20px;
  margin-bottom: 5px;
}
h2{
  color: red;
  font-weight: 700;
}
p {
  color: #333;
  font-size: 20px;
  margin-bottom: 20px;
  font-weight: 500;
  line-height: 29px;
  font-family: lato, Helvetica, sans-serif;
}
img {
  max-width: 100%;
}
.smb-header-title {
  font-size: 46px;
  margin-bottom: 10px;
}
.smb-author {
  color: #333;
  font-weight: 700;
  font-size: 12px;
  margin-bottom: 10px;
}
.smb-author img {
  vertical-align: middle;
  border-style: none;
  margin-right: 5px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
}
.smb-time {
  color: #a4a4a4;
  margin-left: 5px;
}
.smb-section-header {
  line-height: 32px;
  font-size: 24px;
  margin-bottom: 10px;
  font-weight: 700;
}
.smb-section-number {
  color: #fff;
  background-color: #000;
  width: 26px;
  height: 26px;
  display: inline-block;
  text-align: center;
  font-size: 20px;
  line-height: 26px;
}
.smb-section-title {
  font-size: 26px;
}
a {
  color: #007bff;
  text-decoration: none;
}
.smb-product-img {
  max-width: 100%;
  margin-bottom: 20px;
  text-align: center;
  display: block;
}
.smb-section-main p{
  font-size: 20px !important;
  margin-bottom: 20px !important;
  font-weight: 500 !important;
  line-height: 29px !important;
  font-family: lato, Helvetica, sans-serif !important;
}
.smb-button a {
  display: inline-block;
  width: 100%;
  font-size: 22px;
  text-align: center;
  color: #fff;
  background-color: #f31200;
  border: 1px solid red;
  padding: 10px 10px;
  border-bottom: 8px solid #c40202;
  border-radius: 10px;
  font-weight: bold;
}
.smb-button a:hover {
  border-right: none;
  border: 1px solid #007bff;
  text-decoration: none;
  -moz-box-shadow: inset 0 0 20px #fff;
  -webkit-box-shadow: inset 0 0 20px #fff;
  box-shadow: inset 0 0 20px #fff;
}
.smb-sold-out-button a {
  background: #9e9e9e;
  color: #fff;
  border: none;
}
.smb-section-ul {
  padding-left: 40px;
  font-size: 20px;
  margin-bottom: 20px;
}
.smb-aside-title {
  font-weight: 700;
  color: #333;
  font-size: 24px;
  margin: 5px 0 10px;
}
.smb-aside-ol {
  padding-left: 40px;
  margin-bottom: 20px;
  font-size: 15px;
}
.smb-new-arrivals-ul{
  list-style: none;
  font-size: 15px;
}
.smb-new-arrivals-ul li{
  margin: 5px 0;
  padding-left: 40px;
}

.smb-footer p {
  text-align: center;
  font-size: 15px;
}
.smb-footer p a{
  margin-right: 5px;
}
#smb-video{
  width: 100%;
}
.smb-product-source {
  position: relative;
}
.discount-tag {
  position: absolute;
  background-color: rgba(0, 0, 0, 0.6);
  left: 12px;
  bottom: 12px;
  padding: 4px 8px;
  border-radius: .375rem;
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  border-radius: 8px;
}
.discount-recommend-stars .editorial-stars {
  white-space: nowrap;
  letter-spacing: .05em;
  flex-shrink: 0;
  line-height: 1;
  display: inline-block;
  position: relative;
}
.discount-recommend-stars .editorial-stars-empty {
  color: #fff6;
}
.discount-recommend-stars .editorial-stars-full {
  width: var(--editorial-star-fill, 0%);
  color: #fbbf24;
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  overflow: hidden;
}

.smb-section-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.add-to-wish {
  display: flex;
  align-items: center;
  flex-direction: column;
  flex-shrink: 0;
}

.add-to-wish .wish-btn {
  color: color-mix(in oklab,#161616 70%,transparent);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 4px 8px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}

.add-to-wish .hide-btn {
  display: none;
}

.add-to-wish .add-to-times {
  font-size: 12px;
  color: color-mix(in oklab,#161616 70%,transparent);
  line-height: 16px;
  font-weight: 500;
 }

.add-to-wish .add-to-btn:hover { 
  background-color: rgb(227, 225, 225);
}

.add-to-wish .added-to-btn {
  background-color: rgb(227, 225, 225);
}

.alert-ele {
  visibility: hidden;
  min-width: 250px;
  background-color: #333;
  color: #fff;
  text-align: center;
  border-radius: 8px;
  padding: 16px;
  position: fixed;
  z-index: 10001;
  left: 50%;
  bottom: 80px;
  transform: translateX(-50%);
  font-size: 14px;
  opacity: 0;
  transition: opacity 0.3s, bottom 0.3s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.alert-ele.show {
  visibility: visible;
  opacity: 1;
  bottom: 90px;
}

.smb-header-nav-wish a.no-count::before { display: none; }
.smb-header-nav-logo a { text-decoration: none; }
.smb-product-img video { width: 100%; max-width: 100%; display: block; }
.smb-product-img img { width: 100%; display: block; }
.smb-section-title { display: inline; }
a.smb-section-title { color: #111; }
a.smb-section-title:hover { color: #007bff; }
#wish-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 10000;
  display: flex; justify-content: center; padding: 80px 16px 24px;
}
#wish-overlay[hidden] { display: none !important; }
.wish-panel {
  background: #fff; max-width: 640px; width: 100%; max-height: 80vh;
  overflow: auto; border-radius: 12px; padding: 24px 20px 20px; position: relative;
}
.wish-panel h2 { margin: 0 80px 16px 0; font-size: 28px; color: #111; }
#wish-close {
  position: absolute; right: 12px; top: 8px; border: 0; background: none;
  font-size: 32px; line-height: 1; cursor: pointer; color: #333;
}
#wish-empty { color: #666; font-size: 16px; padding: 12px 0; }
.wish-item {
  display: flex; gap: 12px; align-items: center; padding: 12px 0;
  border-bottom: 1px solid #eee;
}
.wish-item .wish-thumb,
.wish-thumb-wrap img,
.wish-thumb-wrap video { width: 96px; height: 72px; object-fit: cover; border-radius: 8px; flex-shrink: 0; background: #f3f3f3; }
.wish-thumb-wrap { width: 96px; height: 72px; overflow: hidden; border-radius: 8px; flex-shrink: 0; }
.wish-item .wish-name { font-size: 16px; font-weight: 700; color: #111; line-height: 1.3; }
.wish-item .smb-button { margin: 0; flex-shrink: 0; }
.wish-item .smb-button a { width: auto; font-size: 15px; padding: 8px 12px; border-bottom-width: 4px; }
.smb-scroll-buttons {
  position: fixed;
  right: calc(50% - 540px);
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 999;
}

.scroll-button {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

@media (max-width: 768px) {
  #smb-page{
    padding: 0 5px;
  }
  #smb-video{
    height: 250px;
  }
  header, section{
    padding: 12px 15px;
  }
  .smb-header-title {
    font-size: 36px;
  }
  .fs35{
    font-size: 35px;
  }
  aside,
  footer {
    padding: 0 15px;
  }
  .smb-scroll-buttons {
    right: 10px;
  }
}
