* {
  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-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: 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;
}
.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-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:20px 15px;
  }
  .smb-header-title {
    font-size: 36px;
  }
  .fs35{
    font-size: 35px;
  }
  aside,
  footer {
    padding: 0 15px;
  }
  .smb-scroll-buttons {
    right: 10px;
  }
}
