body.single-product {
  --rb-page-bg: #252525;
  --rb-panel: #2f2f2f;
  --rb-panel-2: #303030;
  --rb-border: rgba(255, 255, 255, 0.08);
  --rb-text: #f4f6f7;
  --rb-muted: rgba(244, 246, 247, 0.68);
  --rb-accent: #66e0ce;
  --rb-accent-deep: #3cb7a5;
  --rb-shadow: 0 22px 60px rgba(0, 0, 0, 0.24);
  --rb-section-gap: 24px;
  --rb-title-size: 2rem;
  --rb-title-gap: 30px;
  background: var(--rb-page-bg) !important;
  color: var(--rb-text);
}

body.single-product #page,
body.single-product #content,
body.single-product .site,
body.single-product .site-content,
body.single-product .content-area,
body.single-product .site-main,
body.single-product .inside-article,
body.single-product .entry-content,
body.single-product article,
body.single-product .separate-containers .inside-article,
body.single-product .separate-containers .site-main,
body.single-product .woocommerce,
body.single-product .woocommerce div.product {
  background: var(--rb-page-bg) !important;
}

body.single-product .content-area,
body.single-product #primary,
body.single-product .site-main,
body.single-product .inside-article,
body.single-product .entry-content,
body.single-product .woocommerce,
body.single-product .woocommerce div.product.rb-product-shell {
  width: 100% !important;
  max-width: none !important;
}

body.single-product .inside-article {
    padding-top: 6vh !important;
}

@media (max-width: 768px) {
    body.single-product .inside-article {
        padding-top: 0 !important;
    }
}

body.single-product .entry-content > .woocommerce {
  margin: 0;
}

body.single-product .woocommerce-notices-wrapper {
  width: min(1700px, calc(100% - 90px));
  margin: 0px auto 0;
}

.rb-preview.rb-live-product {
  width: min(1700px, calc(100% - 90px));
  margin: 0 auto;
  padding: 0px 0 40px;
}

.rb-product-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--rb-muted);
  font-size: 0.92rem;
}

.rb-product-breadcrumbs__item a,
.rb-product-breadcrumbs__item span {
  color: inherit;
  text-decoration: none;
}

.rb-product-breadcrumbs__item.is-current span {
  color: var(--rb-text);
  font-weight: 700;
}

.rb-product-breadcrumbs__sep {
  width: 7px;
  height: 7px;
  border-top: 1.8px solid currentColor;
  border-right: 1.8px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.55;
}

.rb-product-hero {
  display: grid !important;
  grid-template-columns: minmax(0, 760px) minmax(0, 1fr);
  gap: 0;
  align-items: start;
  margin-top: 0;
}

.rb-product-gallery-column,
.rb-product-gallery-column .woocommerce-product-gallery {
  width: 100% !important;
  max-width: 760px;
  float: none !important;
  margin: 0 !important;
}

.rb-product-gallery-column .nutri-bc,
.rb-product-gallery-column .nutri-product-categories-wrapper {
  display: none !important;
}

.rb-product-hero .summary.entry-summary {
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 4px 0 0 30px !important;
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.rb-product-hero .summary.entry-summary > * {
  max-width: 530px;
}

.rb-product-hero .summary.entry-summary > .nutri-summary-support {
  max-width: none !important;
  width: 100% !important;
}

.rb-product-hero .summary.entry-summary > .nutri-summary-support .nutri-summary-views {
  max-width: 530px;
}

.rb-product-hero .summary.entry-summary .product_meta,
.rb-product-hero .summary.entry-summary .woocommerce-product-details__short-description,
.rb-product-hero .summary.entry-summary .woocommerce-review-link,
.rb-product-hero .summary.entry-summary > .onsale {
  display: none !important;
}

.rb-product-hero .summary.entry-summary form.cart {
  margin: 16px 0 0 !important;
}

.rb-product-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: var(--rb-section-gap);
}

.rb-product-detail-grid__item {
  min-width: 0;
}

.rb-product-detail-grid .nutri-details,
.rb-product-detail-grid .rb-complete-purchase {
  margin-top: 0;
}

.rb-preview .nutri-benefits,
.rb-preview .rb-product-suggestions,
.rb-preview .nutri-fixing-points,
.rb-preview .nutri-faq {
  margin-top: var(--rb-section-gap);
}

.rb-preview .nutri-benefits__title,
.rb-preview .rb-product-suggestions__title,
.rb-preview .nutri-faq-title,
.rb-preview .nutri-fixing-points__header h3,
.rb-preview .rb-complete-purchase__title,
.rb-preview .nutri-details-title {
  margin: 0;
  font-size: var(--rb-title-size);
  line-height: 1.05;
  font-weight: 800;
}

.rb-preview .nutri-benefits__title,
.rb-preview .rb-product-suggestions__title,
.rb-preview .nutri-faq-title {
  padding-bottom: 20px;
}

.rb-preview .nutri-fixing-points__header h3,
.rb-preview .rb-complete-purchase__title,
.rb-preview .nutri-details-title {
  padding-bottom: 10px;
}

.rb-preview .rb-product-suggestions__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 0;
  padding-inline: 4px;
}

.rb-preview .rb-product-suggestions__nav {
  display: flex;
  gap: 10px;
}

.rb-preview .rb-product-suggestions__nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--rb-border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--rb-text);
  cursor: pointer;
  transition: opacity .18s ease, transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}

.rb-preview .rb-product-suggestions__nav-btn.is-next {
  background: rgba(102, 224, 206, 0.14);
  color: var(--rb-accent);
  border-color: rgba(102, 224, 206, 0.24);
}

.rb-preview .rb-product-suggestions__nav-btn:hover:not(:disabled) {
  transform: translateY(-1px);
}

.rb-preview .rb-product-suggestions__nav-btn:disabled {
  opacity: .38;
  cursor: default;
}

.rb-preview .rb-product-suggestions__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 24.7%);
  gap: 18px;
  align-items: start;
  overflow-x: auto;
  padding-inline: 4px;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  border-radius: 24px;
}

.rb-preview .rb-product-suggestions__track::-webkit-scrollbar {
  display: none;
}

.rb-preview .rb-product-suggestions__card {
  scroll-snap-align: start;
}

.rb-preview .rb-product-suggestions__price {
  font-size: 1.7rem;
}

.rb-preview .nutri-fixing-points__carousel,
.rb-preview .nutri-faq-content,
.rb-preview .nutri-benefits,
.rb-preview .rb-complete-purchase__panel,
.rb-preview .nutri-details-content {
  background: var(--rb-panel) !important;
}

.rb-preview .nutri-fixing-points__slide,
.rb-preview .nutri-benefit,
.rb-preview .nutri-faq-item,
.rb-preview .nutri-details-item,
.rb-preview .rb-complete-purchase__item,
.rb-preview .rb-product-suggestions__card,
.rb-preview .rb-product-suggestions__image {
  background: var(--rb-panel-2);
}

@media (max-width: 1024px) {
  body.single-product .woocommerce-notices-wrapper,
  .rb-preview.rb-live-product {
    width: min(1700px, calc(100% - 40px));
  }

  .rb-product-hero,
  .rb-product-detail-grid {
    grid-template-columns: 1fr;
  }

  .rb-product-hero .summary.entry-summary {
    padding-left: 0 !important;
    margin-top: 18px !important;
  }

  .rb-product-hero .summary.entry-summary > * {
    max-width: none;
  }

  .rb-preview .rb-product-suggestions__header,
  .rb-preview .nutri-fixing-points__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .rb-preview .rb-product-suggestions__track {
    grid-auto-columns: minmax(260px, 82%);
  }
}

@media (max-width: 640px) {
  .rb-preview.rb-live-product {
    padding-top: 20px;
  }
}
