/* Single product: hide only the breadcrumb/title banner (not the site header/menu) */
body.single-product .main-title-section-wrapper {
  display: none !important;
}

body.single-product #header-wrapper {
  margin-bottom: 48px !important;
}

/* Single product summary: separators + CEP block + softer radii */

body.single-product .summary .woocommerce-product-details__short-description {
  border-top: 1px solid rgba(35, 31, 90, 0.12);
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* Full-width shipping block so separators match */
body.single-product .summary .wc-shipping-simulator-parent-container,
body.single-product .summary .wc-shipping-simulator,
body.single-product .summary #wc-shipping-simulator-postcode-form,
body.single-product .summary .wc-shipping-simulator-container-current-style {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
}

body.single-product .summary .wc-shipping-simulator-parent-container {
  border-top: 1px solid rgba(35, 31, 90, 0.12);
  margin-top: 1.25rem;
  padding-top: 1.1rem;
}

/* Title above CEP field */
body.single-product .summary .wc-shipping-simulator-parent-container > form#wc-shipping-simulator-postcode-form {
  margin-top: 0 !important;
  padding: 0 !important;
}

body.single-product .summary .wc-shipping-simulator-container-current-style::before {
  content: "Consulte o frete e o prazo de entrega";
  display: block;
  margin: 0 0 0.65rem;
  font-family: "Poppins", sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.35;
  color: #555555;
}

/* Hide Correios link + truck icon */
body.single-product .summary .wc-shipping-simulator-link-current-style,
body.single-product .summary a.wc-shipping-simulator-link-current-style,
body.single-product .summary .wc-shipping-simulator-icon-current-style,
body.single-product .summary .wc-shipping-simulator-input-wrapper-current-style::after {
  display: none !important;
}

/* Input + button row — compact, not full summary width */
body.single-product .summary .wc-shipping-simulator-input-button-group-current-style {
  display: flex !important;
  align-items: stretch !important;
  gap: 8px;
  width: auto;
  max-width: 320px;
}

body.single-product .summary .wc-shipping-simulator-input-wrapper-current-style {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  width: auto !important;
  max-width: none !important;
}

body.single-product .summary .wc-shipping-simulator-input-current-style,
body.single-product .summary input.wc-shipping-simulator-input-current-style {
  max-width: 100%;
}

body.single-product .summary .wc-shipping-simulator-button-current-style,
body.single-product .summary button.wc-shipping-simulator-button-current-style {
  min-width: 104px;
}

body.single-product .summary .wc-shipping-simulator-input-current-style,
body.single-product .summary input.wc-shipping-simulator-input-current-style {
  width: 100% !important;
  height: 44px !important;
  min-height: 44px !important;
  margin: 0 !important;
  padding: 0 14px !important;
  box-sizing: border-box !important;
  background: #fff !important;
  color: #333 !important;
  border: 1px solid #cfcfcf !important;
  border-radius: 4px !important;
  font-family: "Poppins", sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  box-shadow: none !important;
}

/* Outline CALCULAR button */
body.single-product .summary .wc-shipping-simulator-button-current-style,
body.single-product .summary button.wc-shipping-simulator-button-current-style {
  flex: 0 0 auto;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  height: 44px !important;
  min-height: 44px !important;
  min-width: 104px;
  margin: 0 !important;
  padding: 0 18px !important;
  box-sizing: border-box !important;
  background: #fff !important;
  color: transparent !important;
  border: 1px solid #555555 !important;
  border-radius: 4px !important;
  font-family: "Poppins", sans-serif !important;
  font-size: 0 !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: none !important;
  filter: none !important;
  cursor: pointer;
}

body.single-product .summary .wc-shipping-simulator-button-current-style::after {
  content: "CALCULAR";
  color: #333333;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1;
}

body.single-product .summary .wc-shipping-simulator-button-current-style:hover,
body.single-product .summary button.wc-shipping-simulator-button-current-style:hover {
  background: #f7f7f7 !important;
  filter: none !important;
}

body.single-product .summary .wc-shipping-simulator-input-current-style:focus,
body.single-product .summary .wc-shipping-simulator-button-current-style:focus-visible {
  outline: 2px solid rgba(35, 31, 90, 0.35);
  outline-offset: 2px;
}

/* Add-to-cart / qty: softer radii */
body.single-product .summary .single_add_to_cart_button.button,
body.single-product .summary button.single_add_to_cart_button {
  border-radius: 8px !important;
}

body.single-product .summary .quantity .qty,
body.single-product .summary input.qty,
body.single-product .summary .quantity {
  border-radius: 8px !important;
}

/* ------------------------------------------------------------------ */
/* CEP results — match cart page                                       */
/* ------------------------------------------------------------------ */

body.single-product .summary .wc-shipping-simulator-parent-container {
  max-width: 100% !important;
}

body.single-product .summary .wc-shipping-simulator-info-block {
  width: 100% !important;
  max-width: 100% !important;
  margin: 1rem 0 0 !important;
  padding: 0 !important;
  border: 1px solid rgba(35, 31, 90, 0.12) !important;
  border-radius: 12px !important;
  overflow: hidden;
  background: #fff !important;
  font-family: "Poppins", sans-serif !important;
  font-size: 13px !important;
  color: #333 !important;
  box-sizing: border-box !important;
}

body.single-product .summary .wc-shipping-simulator-current-postcode-block {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 12px 14px !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(35, 31, 90, 0.1) !important;
  border-radius: 0 !important;
  background: #f7f7f9 !important;
  line-height: 1 !important;
}

body.single-product .summary .wc-shipping-simulator-toggle-postcode-wrapper {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  min-width: 0 !important;
  flex: 1 1 auto !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
}

body.single-product .summary .wc-shipping-simulator-toggle-button {
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  min-height: 28px !important;
  margin: 0 !important;
  padding: 0 !important;
  flex-shrink: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: rgba(35, 31, 90, 0.08) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 0 !important;
  box-shadow: none !important;
}

body.single-product .summary .wc-shipping-simulator-toggle-button img,
body.single-product .summary .wc-shipping-simulator-toggle-icon {
  display: block !important;
  width: 14px !important;
  height: 14px !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 0 !important;
}

body.single-product .summary .wc-shipping-simulator-current-postcode-text {
  display: inline-flex !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
  font-family: "Poppins", sans-serif !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 28px !important;
  color: #333 !important;
  white-space: nowrap !important;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.single-product .summary .wc-shipping-simulator-current-postcode-text strong {
  color: var(--e-global-color-primary, #231f5a) !important;
  font-weight: 600 !important;
}

body.single-product .summary .wc-shipping-simulator-change-postcode-button,
body.single-product .summary button.wc-shipping-simulator-change-postcode-button {
  flex-shrink: 0 !important;
  margin: 0 !important;
  padding: 6px 10px !important;
  border: 0 !important;
  border-radius: 6px !important;
  background: transparent !important;
  color: var(--e-global-color-primary, #231f5a) !important;
  font-family: "Poppins", sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  box-shadow: none !important;
  cursor: pointer !important;
}

body.single-product .summary .wc-shipping-simulator-change-postcode-button:hover {
  background: rgba(35, 31, 90, 0.06) !important;
  color: var(--e-global-color-primary, #231f5a) !important;
  text-decoration: none !important;
}

body.single-product .summary .wc-shipping-simulator-content-block {
  margin-top: 0 !important;
  padding: 0 14px !important;
  background: #fff !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.single-product .summary .wc-shipping-simulator-content-block.expanded {
  height: auto !important;
  padding: 14px 14px 12px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
}

body.single-product .summary .wc-shipping-simulator-product-name,
body.single-product .summary .wc-shipping-simulator-product-quantity,
body.single-product .summary .wc-shipping-simulator-shipping-methods p {
  display: flex !important;
  align-items: flex-start !important;
  gap: 8px !important;
  margin: 0 0 8px !important;
  font-family: "Poppins", sans-serif !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #555 !important;
  line-height: 1.4 !important;
}

body.single-product .summary .wc-shipping-simulator-product-name {
  align-items: center !important;
}

body.single-product .summary .wc-shipping-simulator-shipping-methods {
  margin-top: 4px !important;
}

body.single-product .summary .wc-shipping-simulator-shipping-methods > p {
  margin-bottom: 8px !important;
  color: var(--e-global-color-primary, #231f5a) !important;
  font-weight: 600 !important;
}

body.single-product .summary .wc-shipping-simulator-shipping-list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.single-product .summary .wc-shipping-simulator-shipping-list li {
  margin: 0 0 6px !important;
  padding: 10px 12px !important;
  border-radius: 8px !important;
  background: #f7f7f9 !important;
  font-family: "Poppins", sans-serif !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  color: #333 !important;
  line-height: 1.4 !important;
}

body.single-product .summary .wc-shipping-simulator-shipping-list li:last-child {
  margin-bottom: 0 !important;
}

body.single-product .summary .wc-shipping-simulator-shipping-list li strong {
  color: var(--e-global-color-primary, #231f5a) !important;
  font-weight: 600 !important;
}

body.single-product .summary .wc-shipping-simulator-separator {
  margin: 12px 0 !important;
  border: 0 !important;
  border-top: 1px solid rgba(35, 31, 90, 0.1) !important;
  opacity: 1 !important;
}

body.single-product .summary .wc-shipping-simulator-update-section {
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  margin: 0 !important;
  padding: 4px 0 2px !important;
}

body.single-product .summary .wc-shipping-simulator-update-icon-container {
  width: 28px !important;
  height: 28px !important;
  flex-shrink: 0 !important;
  margin-top: 2px !important;
  border-radius: 50% !important;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

body.single-product .summary .wc-shipping-simulator-update-icon-container:hover {
  background: rgba(35, 31, 90, 0.08) !important;
}

body.single-product .summary .wc-shipping-simulator-update-icon {
  width: 18px !important;
  height: 18px !important;
}

body.single-product .summary .wc-shipping-simulator-update-text-container {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  line-height: 1.4 !important;
}

body.single-product .summary .wc-shipping-simulator-update-date {
  width: auto !important;
  max-width: 100% !important;
  margin: 0 0 2px !important;
  padding: 0 !important;
  font-family: "Poppins", sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #333 !important;
  opacity: 1 !important;
}

body.single-product .summary .wc-shipping-simulator-info-text {
  margin: 0 !important;
  padding: 0 !important;
  font-family: "Poppins", sans-serif !important;
  font-size: 11px !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
  color: #777 !important;
  opacity: 1 !important;
}

body.single-product .summary .wc-shipping-simulator-icon.blue-icon,
body.single-product .summary .wc-shipping-simulator-toggle-icon.blue-icon,
body.single-product .summary .wc-shipping-simulator-update-icon.blue-icon,
body.single-product .summary .wc-shipping-simulator-icon-current-style.blue-icon {
  filter: brightness(0) saturate(100%) invert(13%) sepia(28%) saturate(1800%) hue-rotate(220deg) brightness(0.55) contrast(110%) !important;
}

body.single-product .summary .wc-shipping-simulator-icon {
  width: 15px !important;
  height: 15px !important;
  margin-right: 0 !important;
  flex-shrink: 0 !important;
}

/* Descricao tab: left-aligned title + full-width separator */
body.single-product div.product .wdt-product-tabs .woocommerce-tabs ul.tabs,
body.single-product div.product .woocommerce-tabs ul.tabs,
body.single-product ul.tabs.wc-tabs {
  text-align: left !important;
  margin: 0 0 1.5rem !important;
  padding: 0 !important;
  border-top: 1px solid rgba(35, 31, 90, 0.12) !important;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

body.single-product div.product .woocommerce-tabs ul.tabs::before,
body.single-product div.product .woocommerce-tabs ul.tabs::after,
body.single-product div.product .woocommerce-tabs ul.tabs li::before,
body.single-product div.product .woocommerce-tabs ul.tabs li::after,
body.single-product div.product .woocommerce-tabs ul.tabs li a::before,
body.single-product div.product .woocommerce-tabs ul.tabs li a::after,
body.single-product ul.tabs.wc-tabs::before,
body.single-product ul.tabs.wc-tabs::after,
body.single-product ul.tabs.wc-tabs li::before,
body.single-product ul.tabs.wc-tabs li::after,
body.single-product ul.tabs.wc-tabs li a::before,
body.single-product ul.tabs.wc-tabs li a::after {
  content: none !important;
  display: none !important;
  border: 0 !important;
  background: none !important;
  width: 0 !important;
  height: 0 !important;
}

body.single-product div.product .woocommerce-tabs ul.tabs li,
body.single-product ul.tabs.wc-tabs li {
  display: inline-block !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

body.single-product div.product .woocommerce-tabs ul.tabs li a,
body.single-product ul.tabs.wc-tabs li a,
body.single-product #tab-title-description a {
  display: inline-block !important;
  text-align: left !important;
  padding: 1.1rem 0 0.35rem !important;
  margin: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
}
/* Related products: full-width separator + primary title */
body.single-product .related.products > h2,
body.single-product section.related.products > h2,
body.single-product .related.products h2:first-child {
  border-top: 1px solid rgba(35, 31, 90, 0.12);
  margin-top: 0.5rem;
  padding-top: 1.5rem;
  color: var(--e-global-color-primary, #231f5a) !important;
  font-family: "Poppins", sans-serif !important;
  font-size: 28px !important;
  font-weight: 600 !important;
  line-height: 1.35;
}


/* —— Product description videos (any product) —— */
body.single-product .woocommerce-Tabs-panel--description .wp-video,
body.single-product .woocommerce-Tabs-panel--description .wp-video.cf-product-video,
body.single-product #tab-description .wp-video,
body.single-product .product .entry-content .wp-video,
body.single-product .woocommerce-product-details__short-description .wp-video {
  max-width: 640px !important;
  width: 100% !important;
  margin: 1.25rem 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  background: #111 !important;
  box-shadow: 0 10px 28px rgba(35, 31, 90, 0.12);
  position: relative;
  line-height: 0;
}

body.single-product .woocommerce-Tabs-panel--description .wp-video video,
body.single-product #tab-description .wp-video video,
body.single-product .product .entry-content .wp-video video,
body.single-product .woocommerce-product-details__short-description .wp-video video,
body.single-product .cf-product-video video {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  border-radius: 0 !important;
  object-fit: contain;
  vertical-align: top;
}

body.single-product .cf-product-video .mejs-container,
body.single-product .cf-product-video .mejs__container,
body.single-product .woocommerce-Tabs-panel--description .mejs-container,
body.single-product #tab-description .mejs-container {
  width: 100% !important;
  max-width: 100% !important;
  border-radius: 0 !important;
  background: #111 !important;
}

/* Custom center play — perfect circle, left-aligned player */
body.single-product .cf-product-video__play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  width: 64px !important;
  height: 64px !important;
  min-width: 64px !important;
  min-height: 64px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  transform: translate(-50%, -50%);
  background: rgba(35, 31, 90, 0.92) !important;
  background-color: rgba(35, 31, 90, 0.92) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35) !important;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  line-height: 0 !important;
  color: transparent !important;
}

body.single-product .cf-product-video__play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 52%;
  width: 0;
  height: 0;
  transform: translate(-35%, -50%);
  border-style: solid;
  border-width: 9px 0 9px 15px;
  border-color: transparent transparent transparent #fff;
}

body.single-product .cf-product-video__play:hover,
body.single-product .cf-product-video__play:focus {
  background: #231f5a !important;
  background-color: #231f5a !important;
  transform: translate(-50%, -50%) scale(1.05);
  outline: none;
}

body.single-product .cf-product-video.is-playing .cf-product-video__play {
  opacity: 0;
  pointer-events: none;
}

/* Kill Amiy blue on MEJS control buttons without killing sprite icons */
body.single-product .mejs-container .mejs-button > button,
body.single-product .mejs-controls .mejs-button > button,
body.single-product .mejs__container .mejs__button > button {
  background-color: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  min-width: 20px !important;
  min-height: 20px !important;
  width: 20px !important;
  height: 20px !important;
  padding: 0 !important;
  color: transparent !important;
}

body.single-product .mejs-container .mejs-button > button:hover,
body.single-product .mejs-controls .mejs-button > button:hover {
  background-color: transparent !important;
  filter: brightness(1.2);
}

body.single-product .mejs-overlay-play {
  display: none !important; /* use our circle instead when MEJS wraps */
}
