/* =========================================
   ISOLAMENTO DA SINGLE PRODUCT
========================================= */
body.single-product #masthead,
body.single-product .site-header,
body.single-product .main-navigation,
body.single-product .inside-header,
body.single-product .site-branding-container,
body.single-product .menu-toggle,
body.single-product .navigation-search,
body.single-product .main-nav {
  display: none !important;
}

body.single-product .site-content {
  padding-top: 0 !important;
}

body.single-product .content-area,
body.single-product .site-main,
body.single-product #primary {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

body.single-product .entry-content > *:first-child,
body.single-product .content-area > *:first-child {
  margin-top: 0 !important;
}

body.single-product .site,
body.single-product #page {
  background: #f5f5f5;
}

:root {
  --ch-product-bg: #f5f5f5;
  --ch-product-card: #ffffff;
  --ch-product-border: #e9edf2;
  --ch-product-text: #1f1f1f;
  --ch-product-text-soft: #666666;
  --ch-product-blue: #2563eb;
  --ch-product-blue-dark: #1d4ed8;
  --ch-product-success: #00a650;
  --ch-product-danger: #d63638;
  --ch-product-radius: 18px;
  --ch-product-shadow: 0 10px 30px rgba(15, 23, 42, .05);
  --ch-product-container: 1360px;
  --ch-product-header-height: 88px;
}

/* =========================================
   RESET LOCAL
========================================= */
body.single-product .nx-product-shell,
body.single-product .nx-product-shell *,
body.single-product .nx-product-shell *::before,
body.single-product .nx-product-shell *::after {
  box-sizing: border-box;
}

body.single-product .nx-product-shell img {
  max-width: 100%;
  height: auto;
}

body.single-product .nx-product-shell button,
body.single-product .nx-product-shell input,
body.single-product .nx-product-shell select,
body.single-product .nx-product-shell textarea {
  font: inherit;
}

body.single-product .nx-product-shell a {
  text-decoration: none;
}

/* =========================================
   HEADER CUSTOMIZADO
========================================= */
.nx-product-shell {
  background: var(--ch-product-bg);
  min-height: 100vh;
}

.nx-product-header,
.nx-product-header *,
.nx-product-header *::before,
.nx-product-header *::after {
  box-sizing: border-box;
}

.nx-product-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  width: 100%;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #edf1f5;
}

.nx-product-header__inner {
  width: min(var(--ch-product-container), calc(100% - 32px));
  min-height: 88px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto minmax(320px, 1fr) auto;
  align-items: center;
  column-gap: 24px;
}

.nx-product-header__brand {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
  font-size: 28px;
  font-weight: 800;
  color: #111827 !important;
  text-decoration: none !important;
  white-space: nowrap;
  letter-spacing: -.02em;
  line-height: 1;
}

.nx-product-header__brand img {
  display: block;
  max-height: 46px;
  width: auto;
}

.nx-product-header__search {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 64px;
  align-items: center;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
  box-shadow: 0 12px 24px rgba(15, 23, 42, .05);
}

.nx-product-header__search input {
  width: 100%;
  min-width: 0;
  border: 0 !important;
  outline: 0 !important;
  min-height: 54px;
  height: 54px;
  padding: 0 24px;
  font-size: 15px;
  color: #111827 !important;
  background: transparent !important;
  box-shadow: none !important;
  margin: 0 !important;
}

.nx-product-header__search input::placeholder {
  color: #94a3b8;
}

.nx-product-header__search button {
  width: 64px;
  height: 54px;
  min-height: 54px;
  border: 0 !important;
  background: #0f172a !important;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.nx-product-header__search button:hover {
  background: #111827 !important;
}

.nx-product-header__search button svg {
  width: 20px !important;
  height: 20px !important;
  display: block;
  fill: #fff !important;
}

.nx-product-header__actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  min-width: max-content;
  white-space: nowrap;
}

.nx-header-link {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  text-decoration: none !important;
  color: #111827 !important;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  line-height: 1.2;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.nx-header-link:hover,
.nx-product-header__brand:hover {
  color: var(--ch-product-blue) !important;
}

.nx-header-link--cart {
  position: relative;
  padding: 10px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #fff;
}

.nx-header-cart-icon {
  width: 20px !important;
  height: 20px !important;
  display: block;
  flex: 0 0 20px;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.9 !important;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nx-header-cart-badge {
  position: absolute;
  top: -7px;
  right: -4px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 999px;
  background: #2563eb;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nx-header-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nx-header-dropdown__toggle {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  background: transparent !important;
  border: 0 !important;
  cursor: pointer;
  color: #111827 !important;
  font-size: 15px;
  font-weight: 600;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  min-height: auto !important;
  white-space: nowrap;
  line-height: 1.2;
}

.nx-header-dropdown__toggle:hover {
  color: var(--ch-product-blue) !important;
}

.nx-header-dropdown__arrow {
  width: 16px !important;
  height: 16px !important;
  display: block;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2 !important;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .2s ease;
}

.nx-header-dropdown.is-open .nx-header-dropdown__arrow {
  transform: rotate(180deg);
}

.nx-header-dropdown__menu {
  position: absolute;
  top: calc(100% + 16px);
  left: 0;
  min-width: 240px;
  background: #fff;
  border: 1px solid #e8ebef;
  border-radius: 16px;
  box-shadow: 0 24px 40px rgba(15, 23, 42, .10);
  padding: 10px;
  display: none;
  z-index: 30;
}

.nx-header-dropdown.is-open .nx-header-dropdown__menu {
  display: grid;
}

.nx-header-dropdown__menu a {
  display: block;
  padding: 11px 12px;
  border-radius: 10px;
  text-decoration: none !important;
  color: #111827 !important;
  font-size: 14px;
}

.nx-header-dropdown__menu a:hover {
  background: #f8fafc;
  color: var(--ch-product-blue) !important;
}

.nx-product-header__mobile-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  padding: 0;
  margin-left: auto;
}

.nx-product-header__mobile-toggle span {
  width: 18px;
  height: 2px;
  background: #111827;
  border-radius: 999px;
  display: block;
}

.nx-product-header__mobile-panel {
  width: min(var(--ch-product-container), calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 18px;
}

.nx-product-header__mobile-panel[hidden] {
  display: none !important;
}

.nx-product-header__search--mobile {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 56px;
  margin-top: 6px;
}

.nx-product-header__mobile-links {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.nx-product-header__mobile-links a {
  color: #111827 !important;
  font-weight: 600;
  text-decoration: none !important;
}

.nx-product-header__mobile-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.nx-product-header__mobile-cats a {
  padding: 8px 12px;
  border-radius: 999px;
  background: #f8fafc;
  font-size: 14px;
  text-decoration: none;
  color: #111827;
  border: 1px solid #e5e7eb;
}

/* =========================================
   PÁGINA DO PRODUTO
========================================= */
.ch-product-page {
  padding: 24px 0 48px;
  color: var(--ch-product-text);
}

.ch-product-container {
  width: min(var(--ch-product-container), calc(100% - 32px));
  margin: 0 auto;
}

.ch-product-mobile-header {
  display: none;
}

.ch-product-top {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(340px, 420px);
  gap: 24px;
  align-items: start;
  margin-bottom: 24px;
}

.ch-product-gallery-card,
.ch-product-buybox,
.ch-product-block,
.ch-sidebar-card {
  background: var(--ch-product-card);
  border: 1px solid var(--ch-product-border);
  border-radius: var(--ch-product-radius);
  box-shadow: var(--ch-product-shadow);
}

.ch-product-gallery-card {
  padding: 28px;
  position: sticky;
  top: calc(var(--ch-product-header-height) + 20px);
}

.ch-product-gallery {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.ch-product-gallery__thumbs {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ch-product-thumb {
  width: 68px;
  height: 68px;
  border: 2px solid transparent;
  border-radius: 12px;
  background: #fff;
  padding: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .2s ease;
}

.ch-product-thumb.is-active {
  border-color: var(--ch-product-blue);
  box-shadow: 0 8px 18px rgba(37, 99, 235, .10);
}

.ch-product-thumb:hover {
  border-color: rgba(37, 99, 235, .45);
}

.ch-product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ch-product-gallery__main {
  min-height: 580px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ch-product-gallery__main img {
  max-width: 100%;
  max-height: 580px;
  object-fit: contain;
}

.ch-product-buybox {
  position: sticky;
  top: calc(var(--ch-product-header-height) + 20px);
}

.ch-product-buybox__inner {
  padding: 28px;
}

.ch-product-brand-link {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--ch-product-blue);
  font-size: 15px;
}

.ch-product-meta-top {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 12px;
  color: var(--ch-product-text-soft);
  font-size: 14px;
}

.ch-meta-condition,
.ch-meta-sales {
  color: var(--ch-product-text-soft);
}

.ch-product-title {
  margin: 0 0 14px;
  font-size: 32px;
  line-height: 1.15;
  font-weight: 400;
  color: var(--ch-product-text);
}

.ch-product-title--mobile {
  margin: 0;
}

.ch-product-title--desktop {
  display: block;
}

.ch-product-meta-top--desktop {
  display: flex;
}

.ch-product-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.ch-product-rating .star-rating {
  margin: 0;
}

.ch-product-rating__count {
  color: var(--ch-product-text-soft);
  font-size: 14px;
}

.ch-product-price-box {
  margin-bottom: 18px;
}

.ch-product-price-main {
  margin-bottom: 8px;
}

.ch-ml-price {
  display: inline-flex;
  align-items: flex-start;
  gap: 3px;
  line-height: 1;
  color: var(--ch-product-text);
}

.ch-ml-price__currency {
  font-size: 22px;
  font-weight: 500;
  margin-top: 10px;
}

.ch-ml-price__integer {
  font-size: 52px;
  font-weight: 600;
  letter-spacing: -.03em;
}

.ch-ml-price__decimal {
  font-size: 24px;
  font-weight: 600;
  margin-top: 6px;
}

.ch-ml-price.is-small .ch-ml-price__currency {
  font-size: 16px;
  margin-top: 4px;
  font-weight: 500;
}

.ch-ml-price.is-small .ch-ml-price__integer {
  font-size: 20px;
  font-weight: 500;
}

.ch-ml-price.is-small .ch-ml-price__decimal {
  font-size: 12px;
  margin-top: 2px;
  font-weight: 500;
}

.ch-ml-price.is-card .ch-ml-price__currency,
.ch-ml-price.is-sidebar .ch-ml-price__currency {
  font-size: 14px;
  margin-top: 4px;
  font-weight: 500;
}

.ch-ml-price.is-card .ch-ml-price__integer,
.ch-ml-price.is-sidebar .ch-ml-price__integer {
  font-size: 22px;
  font-weight: 600;
}

.ch-ml-price.is-card .ch-ml-price__decimal,
.ch-ml-price.is-sidebar .ch-ml-price__decimal {
  font-size: 12px;
  margin-top: 2px;
  font-weight: 600;
}

.ch-product-installments {
  font-size: 18px;
  color: var(--ch-product-text);
  margin-bottom: 8px;
}

.ch-product-installments-note {
  font-size: 16px;
  line-height: 1.5;
  color: var(--ch-product-text-soft);
  margin-bottom: 16px;
}

.ch-payment-link {
  color: var(--ch-product-blue);
  font-size: 16px;
}

.ch-delivery-box {
  display: grid;
  gap: 4px;
  padding: 0 0 18px;
  margin: 18px 0;
  border-bottom: 1px solid #ededed;
}

.ch-delivery-box strong {
  font-size: 17px;
  font-weight: 600;
}

.ch-delivery-box span {
  color: var(--ch-product-text-soft);
  font-size: 15px;
}

.ch-stock-box {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 18px;
}

.ch-stock-box.is-in-stock {
  color: var(--ch-product-success);
}

.ch-stock-box.is-out-stock {
  color: var(--ch-product-danger);
}

.ch-product-purchase-area {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.ch-product-buybox form.cart {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
}

.ch-product-buybox form.cart .quantity {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ch-product-buybox form.cart .quantity .qty {
  width: 110px;
  min-height: 48px;
  border: 1px solid var(--ch-product-border);
  border-radius: 12px;
  padding: 0 12px;
  font-size: 16px;
  background: #fff;
}

.ch-product-buybox form.cart .single_add_to_cart_button {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(37, 99, 235, .18);
  border-radius: 12px;
  background: rgba(37, 99, 235, .10);
  color: var(--ch-product-blue);
  font-size: 20px;
  font-weight: 700;
  transition: .2s ease;
  box-shadow: none;
}

.ch-product-buybox form.cart .single_add_to_cart_button:hover {
  background: rgba(37, 99, 235, .16);
  color: var(--ch-product-blue-dark);
}

.ch-product-buybox form.cart .single_add_to_cart_button.is-processing {
  opacity: .7;
  pointer-events: none;
}

.ch-buy-now-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  border-radius: 12px;
  background: var(--ch-product-blue);
  color: #fff !important;
  font-size: 20px;
  font-weight: 700;
  transition: .2s ease;
  box-shadow: 0 14px 24px rgba(37, 99, 235, .18);
}

.ch-buy-now-link:hover {
  background: var(--ch-product-blue-dark);
  color: #fff !important;
}

.ch-product-buybox .variations {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 12px;
}

.ch-product-buybox .variations td,
.ch-product-buybox .variations th {
  padding: 0 0 12px;
  border: none;
  text-align: left;
}

.ch-product-buybox .variations label {
  font-size: 16px;
  font-weight: 600;
}

.ch-product-buybox .variations select {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--ch-product-border);
  border-radius: 12px;
  padding: 0 14px;
  background: #fff;
  font-size: 16px;
}

.ch-product-buybox .reset_variations {
  color: var(--ch-product-blue);
  font-size: 14px;
}

.ch-product-extra {
  display: grid;
  gap: 8px;
  padding-top: 18px;
  border-top: 1px solid #ededed;
  font-size: 15px;
  color: var(--ch-product-text-soft);
}

.ch-product-extra a {
  color: var(--ch-product-blue);
}

.ch-secondary-link {
  display: inline-block;
  margin-top: 16px;
  color: var(--ch-product-blue);
}

/* =========================================
   BLOCO INFERIOR
========================================= */
.ch-product-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
}

.ch-product-bottom__main {
  display: grid;
  gap: 24px;
  min-width: 0;
}

.ch-product-block {
  padding: 28px;
}

.ch-product-block__head {
  margin-bottom: 22px;
}

.ch-product-block__head h2 {
  margin: 0;
  font-size: 26px;
  font-weight: 600;
}

.ch-mini-related-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 16px !important;
  align-items: stretch !important;
}

.ch-mini-related-card {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  min-width: 0 !important;
  border: 1px solid #edf1f5 !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  background: #fff !important;
  transition: .2s ease;
}

.ch-mini-related-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 24px rgba(15, 23, 42, .06);
}

.ch-mini-related-card__image {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  padding: 12px !important;
  background: #fff !important;
}

.ch-mini-related-card__image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

.ch-mini-related-card__content {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  padding: 12px !important;
  border-top: 1px solid #edf1f5 !important;
}

.ch-mini-related-card__content h3 {
  margin: 0 !important;
  font-size: 15px !important;
  line-height: 1.35 !important;
  font-weight: 500 !important;
}

.ch-mini-related-card__content h3 a {
  color: var(--ch-product-text) !important;
}

.ch-mini-related-card__price {
  font-size: 18px !important;
  line-height: 1 !important;
}

.ch-product-description {
  font-size: 18px;
  line-height: 1.8;
  color: #6b6b6b;
}

.ch-product-description p {
  margin: 0 0 22px;
}

.ch-product-description--collapsible .ch-product-description__inner {
  max-height: 280px;
  overflow: hidden;
  position: relative;
}

.ch-product-description--collapsible[data-collapsed="true"] .ch-product-description__inner::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 90px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), #fff 82%);
}

.ch-product-description--collapsible[data-collapsed="false"] .ch-product-description__inner {
  max-height: none;
}

.ch-description-toggle {
  margin-top: 10px;
  border: none;
  background: transparent;
  color: var(--ch-product-blue);
  font-size: 18px;
  cursor: pointer;
  padding: 0;
}

.ch-related-slider {
  position: relative;
}

.ch-related-slider__viewport {
  overflow: hidden;
}

.ch-related-slider__track {
  display: flex;
  gap: 18px;
  transition: transform .45s ease;
  will-change: transform;
}

.ch-related-card {
  flex: 0 0 calc((100% - 36px) / 3);
  min-width: 0;
  border: 1px solid #edf1f5;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

.ch-related-card__image {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  background: #fff;
  padding: 14px;
}

.ch-related-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ch-related-card__content {
  padding: 16px;
  border-top: 1px solid #edf1f5;
}

.ch-related-card__content h3 {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 500;
}

.ch-related-card__content h3 a {
  color: var(--ch-product-text);
}

.ch-related-card__price {
  font-size: 24px;
}

.ch-related-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,.08);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ch-related-arrow--prev {
  left: -12px;
}

.ch-related-arrow--next {
  right: -12px;
}

.ch-related-arrow:disabled {
  opacity: .35;
  cursor: not-allowed;
}

.ch-related-arrow span {
  font-size: 24px;
  line-height: 1;
}

.ch-sidebar-card {
  padding: 20px;
}

.ch-sidebar-card h3 {
  margin: 0 0 14px;
  font-size: 20px;
  font-weight: 600;
}

.ch-sidebar-related {
  display: grid;
  gap: 16px;
}

.ch-sidebar-related__item {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 14px;
  align-items: start;
}

.ch-sidebar-related__image {
  display: flex;
  width: 92px;
  height: 92px;
  border: 1px solid #edf1f5;
  border-radius: 10px;
  background: #fff;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

.ch-sidebar-related__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ch-sidebar-related__content h4 {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 500;
}

.ch-sidebar-related__content h4 a {
  color: var(--ch-product-text);
}

.ch-sidebar-related__price {
  font-size: 22px;
}

/* =========================================
   OCULTAR PARTES PADRÃO DO WOOCOMMERCE
========================================= */
body.single-product .site-main .woocommerce-breadcrumb,
body.single-product .site-main .product_meta,
body.single-product .site-main .woocommerce-tabs,
body.single-product .site-main .related.products,
body.single-product .site-main .upsells.products,
body.single-product .site-main .woocommerce-product-gallery,
body.single-product .site-main .summary.entry-summary {
  display: none !important;
}

/* =========================================
   RESPONSIVO
========================================= */
@media (max-width: 1280px) {
  .nx-product-header__inner {
    grid-template-columns: auto minmax(260px, 1fr) auto;
    column-gap: 18px;
  }

  .nx-product-header__actions {
    gap: 14px;
  }

  .nx-header-link,
  .nx-header-dropdown__toggle {
    font-size: 14px;
  }

  .nx-product-header__brand {
    font-size: 24px;
  }
}

@media (max-width: 1180px) {
  .ch-product-top,
  .ch-product-bottom {
    grid-template-columns: 1fr;
  }

  .ch-product-gallery-card,
  .ch-product-buybox {
    position: static;
  }

  .ch-product-bottom__sidebar {
    display: none;
  }
}

@media (max-width: 1100px) {
  .nx-product-header__inner {
    grid-template-columns: auto minmax(220px, 1fr) auto;
    column-gap: 14px;
  }

  .nx-product-header__actions {
    gap: 12px;
  }

  .nx-header-link--cart {
    padding: 10px 13px;
  }
}

@media (max-width: 980px) {
  :root {
    --ch-product-header-height: 78px;
  }

  .nx-product-header__search {
    display: none;
  }

  .nx-product-header__inner {
    width: min(var(--ch-product-container), calc(100% - 16px));
    min-height: 78px;
    grid-template-columns: 1fr auto;
    column-gap: 16px;
  }

  .nx-product-header__actions {
    display: none;
  }

  .nx-product-header__mobile-toggle {
    display: inline-flex;
  }
}

@media (max-width: 900px) {
  .ch-mini-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 820px) {
  .ch-product-gallery {
    grid-template-columns: 1fr;
  }

  .ch-product-gallery__thumbs {
    order: 2;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .ch-product-gallery__main {
    min-height: 360px;
  }

  .ch-product-gallery__main img {
    max-height: 360px;
  }

  .ch-related-card {
    flex: 0 0 calc((100% - 18px) / 2);
  }

  .ch-related-arrow--prev {
    left: -8px;
  }

  .ch-related-arrow--next {
    right: -8px;
  }
}

@media (max-width: 768px) {
  .ch-product-mobile-header {
    display: block;
    margin-bottom: 16px;
    padding: 0 2px;
  }

  .ch-product-title--desktop,
  .ch-product-meta-top--desktop {
    display: none;
  }

  .ch-product-title--mobile {
    font-size: 26px;
    line-height: 1.2;
    font-weight: 400;
  }

  .ch-product-top {
    gap: 16px;
  }
}

@media (max-width: 560px) {
  .nx-product-header__mobile-panel,
  .ch-product-container {
    width: min(var(--ch-product-container), calc(100% - 16px));
  }

  .nx-product-header__brand {
    font-size: 21px;
  }

  .nx-product-header__brand img {
    max-height: 36px;
  }

  .ch-product-gallery-card,
  .ch-product-buybox__inner,
  .ch-product-block,
  .ch-sidebar-card {
    padding: 18px;
  }

  .ch-product-title--mobile {
    font-size: 22px;
  }

  .ch-ml-price__currency {
    font-size: 18px;
    margin-top: 7px;
  }

  .ch-ml-price__integer {
    font-size: 40px;
  }

  .ch-ml-price__decimal {
    font-size: 18px;
    margin-top: 4px;
  }

  .ch-product-installments,
  .ch-product-installments-note,
  .ch-product-description {
    font-size: 17px;
  }

  .ch-mini-related-grid {
    grid-template-columns: 1fr !important;
  }

  .ch-related-card {
    flex: 0 0 82%;
  }

  .ch-related-arrow {
    width: 46px;
    height: 46px;
  }
}