:root {
  --primary-red: #ff4d4f;
  --accent-orange: #f39c12;
  --border-color: #eee;
  --text-gray: #666;
  --page-width: 1440px;
  --gallery-width: 600px;
  --thumb-gap: 10px;
}

body.single-product {
  overflow-x: hidden;
}

body.single-product main {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding-top: 5px !important;
}

body.single-product h1.entry-title {
  display: none !important;
}

body.single-product .wp-block-html {
  width: auto !important;
  position: static !important;
  left: auto !important;
  right: auto !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

body.single-product .site-main,
body.single-product .content-area,
body.single-product .container,
body.single-product .wrap,
body.single-product div.product {
  max-width: none !important;
  width: auto !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.single-product .p-page-wrapper,
body.single-product .p-tabs-container,
body.single-product .faq-section,
body.single-product .p-related-wrap {
  box-sizing: border-box;
  width: min(calc(100% - 24px), var(--page-width));
  max-width: var(--page-width);
  margin-left: auto;
  margin-right: auto;
}

body.single-product .p-page-wrapper {
  display: grid;
  grid-template-columns: minmax(0, var(--gallery-width)) minmax(320px, 1fr);
  gap: 40px;
  align-items: start;
  margin-top: 5px;
  padding: 20px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  position: relative;
}

body.single-product .p-page-wrapper > * {
  min-width: 0;
}

body.single-product .p-gallery-side {
  width: 100%;
  min-width: 0;
  position: sticky;
  top: 90px;
  align-self: start;
  padding-left: 40px;
  box-sizing: border-box;
}

body.single-product .p-breadcrumb {
  font-size: 14px;
  color: #6b7280 !important;
  margin-bottom: 15px;
}

body.single-product .p-page-breadcrumb {
  margin: 0 0 12px 0;
  padding: 0;
  box-sizing: border-box;
}

body.single-product .p-breadcrumb a {
  color: #6b7280 !important;
  text-decoration: none;
}

body.single-product .p-breadcrumb a:hover {
  color: #4b5563 !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}

body.single-product .p-main-viewport {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  position: relative;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background: #fff;
}

body.single-product .p-main-viewport img,
body.single-product .p-main-viewport video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

body.single-product .p-main-viewport img {
  cursor: zoom-in;
  pointer-events: none;
  transition: none;
  transform-origin: center center;
}

body.single-product .p-main-viewport.is-zooming img {
  opacity: 0;
}

body.single-product .p-zoom-layer {
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-color: #fff;
  background-size: 280% 280%;
  background-position: 50% 50%;
  opacity: 0;
  transition: opacity 0.12s linear;
  pointer-events: none;
}

body.single-product .p-main-viewport.is-zooming .p-zoom-layer {
  opacity: 1;
}

body.single-product .p-thumb-slider-container {
  width: 100%;
  margin-top: 12px;
  position: relative;
  box-sizing: border-box;
}

body.single-product .p-thumb-list-viewport {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  position: relative;
}

body.single-product .p-thumb-track {
  display: flex;
  gap: var(--thumb-gap);
  padding: 0;
  will-change: transform;
  transition: transform 0.28s ease;
}

body.single-product .p-thumb-list-viewport::-webkit-scrollbar {
  display: none;
}

body.single-product .p-thumb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: #ffffff;
  color: #111827;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.14);
  z-index: 3;
  transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

body.single-product .p-thumb-nav.is-disabled {
  opacity: 0.45;
}

body.single-product .p-thumb-nav span {
  font-size: 22px;
  line-height: 1;
  font-weight: 700;
}

body.single-product .p-thumb-nav:hover,
body.single-product .p-thumb-nav:focus-visible {
  background: #ff4d4f;
  color: #ffffff;
  outline: none;
  transform: translateY(-50%);
}

body.single-product .p-thumb-nav-prev {
  left: -18px;
}

body.single-product .p-thumb-nav-next {
  right: -18px;
}

body.single-product .p-thumb-item {
  flex: 0 0 calc((100% - (4 * var(--thumb-gap))) / 5);
  aspect-ratio: 1 / 1;
  border: 2px solid transparent;
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
  padding: 0;
  cursor: pointer;
}

body.single-product .p-thumb-item.active {
  border-color: var(--primary-red);
}

body.single-product .p-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

body.single-product .p-thumb-progress {
  width: 100%;
  margin-top: 12px;
  appearance: none;
  -webkit-appearance: none;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(to right, #ffffff 0%, #ffffff 0%, #eef2f7 0%, #eef2f7 100%);
  outline: none;
  border: 1px solid #dbe2ea;
  cursor: pointer;
}

body.single-product .p-thumb-progress::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 999px;
  background: transparent;
}

body.single-product .p-thumb-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 32px;
  height: 14px;
  border-radius: 5px;
  background: #ffffff;
  cursor: pointer;
  border: 1px solid #c9d2dd;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.14);
  margin-top: -4px;
}

body.single-product .p-thumb-progress::-moz-range-track {
  height: 8px;
  border-radius: 999px;
  background: #eef2f7;
  border: 1px solid #dbe2ea;
}

body.single-product .p-thumb-progress::-moz-range-progress {
  height: 8px;
  border-radius: 999px;
  background: #ffffff;
}

body.single-product .p-thumb-progress::-moz-range-thumb {
  width: 32px;
  height: 14px;
  border-radius: 5px;
  background: #ffffff;
  cursor: pointer;
  border: 1px solid #c9d2dd;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.14);
}

body.single-product .video-play-icon {
  position: relative;
}

body.single-product .video-play-icon::after {
  content: "▶";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 14px;
}

body.single-product .p-info-side {
  min-width: 0;
  width: 100%;
  align-self: start;
  overflow: hidden;
  margin-top: 0;
  padding-top: 0;
  padding-right: 40px;
  box-sizing: border-box;
}

body.single-product .p-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 15px;
  line-height: 1.3;
  word-break: break-word;
  overflow-wrap: anywhere;
}

body.single-product .p-price-countdown-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #f5f5f5;
}

body.single-product .p-price-box {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
}

body.single-product .p-price-box .price {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  line-height: 1;
}

body.single-product .p-price-box .price ins {
  order: 1;
  background: transparent;
  text-decoration: none;
  padding: 0;
  color: #111111;
  font-size: 28px;
  font-weight: 700;
}

body.single-product .p-price-box .price ins .woocommerce-Price-amount,
body.single-product .p-price-box .price > .woocommerce-Price-amount {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}

body.single-product .p-price-box .price del {
  order: 2;
  opacity: 1;
  color: #999;
  font-size: 16px;
  font-weight: 400;
  text-decoration: line-through;
}

body.single-product .p-price-box .price del .woocommerce-Price-amount {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}

body.single-product .p-price-box .price > .woocommerce-Price-amount {
  color: #111111;
  font-size: 28px;
  font-weight: 700;
}

body.single-product .p-price-box .price:not(:has(ins)) {
  color: #111111;
  font-size: 28px;
  font-weight: 700;
}

body.single-product .p-option-group {
  margin: 0 0 20px;
}

body.single-product .p-option-label {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 8px;
  color: #111;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

body.single-product .p-selected-color {
  color: #000;
  font-weight: 700;
}

body.single-product .p-highlights-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  line-height: 1.7;
}

body.single-product .p-highlights-list li {
  position: relative;
  padding-left: 20px;
  color: #444;
  font-size: 14px;
  line-height: 1.65;
}

body.single-product .p-highlights-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-orange);
  font-size: 18px;
  line-height: 1.2;
}

body.single-product .p-info-side .woocommerce-product-details__short-description {
  color: #555;
  font-size: 14px;
  line-height: 1.75;
}

body.single-product .p-info-side .woocommerce-product-details__short-description > :first-child {
  margin-top: 0;
}

body.single-product .p-info-side .woocommerce-product-details__short-description > :last-child {
  margin-bottom: 0;
}

body.single-product .p-info-side form.cart,
body.single-product .p-info-side .variations_form.cart {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  margin: 0;
  padding: 0;
}

body.single-product .p-info-side form.cart table.variations {
  width: 100%;
  margin: 0;
  border: 0;
  border-collapse: separate;
}

body.single-product .p-info-side form.cart table.variations tbody,
body.single-product .p-info-side form.cart table.variations tr,
body.single-product .p-info-side form.cart table.variations td,
body.single-product .p-info-side form.cart table.variations th {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  text-align: left;
}

body.single-product .p-info-side form.cart table.variations tr {
  margin-bottom: 20px;
}

body.single-product .p-info-side form.cart table.variations tr:last-child {
  margin-bottom: 0;
}

body.single-product .p-info-side form.cart table.variations td.label {
  margin: 0;
  padding: 0;
}

body.single-product .p-info-side form.cart table.variations td.label label {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  color: #111;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1;
}

body.single-product .p-info-side form.cart table.variations td.value {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  padding-top: 0;
}

body.single-product .p-info-side form.cart .reset_variations {
  display: none;
}

body.single-product .p-info-side form.cart .single_variation_wrap,
body.single-product .p-info-side form.cart .woocommerce-variation-add-to-cart,
body.single-product .p-info-side form.cart .variations_button {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  width: 100%;
}

body.single-product .p-info-side form.cart .quantity {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  width: max-content;
  gap: 10px;
  background: transparent;
}

body.single-product .p-info-side .product_meta,
body.single-product .p-info-side .woocommerce-product-details__short-description,
body.single-product .p-info-side .p-option-group,
body.single-product .p-info-side .p-bundle-box,
body.single-product .p-info-side .p-trust-list {
  width: 100%;
  box-sizing: border-box;
}

body.single-product .p-info-side form.cart .quantity .p-qty-label {
  display: block;
  color: #111;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

body.single-product .p-info-side form.cart .quantity .p-qty-row {
  display: inline-grid;
  grid-template-columns: 35px 50px 35px;
  align-items: center;
  border: 1px solid #dddddd;
  border-radius: 4px;
  background: #fff;
  overflow: hidden;
}

body.single-product .p-info-side form.cart .quantity input.qty {
  width: 50px;
  height: 42px;
  border: 0;
  text-align: center;
  font-size: 14px;
  font-weight: 400;
  padding: 0;
  background: #fff;
  box-shadow: inset 1px 0 0 #dddddd, inset -1px 0 0 #dddddd;
  appearance: textfield;
  -moz-appearance: textfield;
  display: block;
  line-height: 42px;
  border-radius: 0;
  box-sizing: border-box;
}

body.single-product .p-info-side form.cart .quantity input.qty::-webkit-outer-spin-button,
body.single-product .p-info-side form.cart .quantity input.qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

body.single-product .p-info-side form.cart .quantity .minus,
body.single-product .p-info-side form.cart .quantity .plus {
  width: 35px;
  height: 42px;
  border: 0;
  background: #fff;
  color: #111;
  font-size: 18px;
  line-height: 42px;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  appearance: none;
  -webkit-appearance: none;
}

body.single-product .p-info-side form.cart .quantity .minus {
  border-radius: 0;
}

body.single-product .p-info-side form.cart .quantity .plus {
  border-radius: 0;
}

body.single-product .p-info-side form.cart .single_add_to_cart_button {
  width: 100%;
  min-height: 66px;
  padding: 16px 24px;
  background: #f59e0b !important;
  color: #fff !important;
  border: none !important;
  border-radius: 4px !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  box-shadow: none !important;
}

body.single-product .p-info-side form.cart .single_add_to_cart_button:hover,
body.single-product .p-info-side form.cart .single_add_to_cart_button:focus-visible {
  background: #d97706 !important;
  outline: none !important;
}

body.single-product .p-pay-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 12px 0 20px;
  opacity: 0.8;
}

body.single-product .p-pay-icon-slot {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 20px !important;
  flex: 0 0 auto !important;
}

body.single-product .p-pay-icon-slot-paypal {
  width: 54px !important;
}

body.single-product .p-pay-icon-slot-visa {
  width: 54px !important;
}

body.single-product .p-pay-icon-slot-mastercard {
  width: 34px !important;
}

body.single-product .p-pay-icon-slot-googlepay {
  width: 58px !important;
}

body.single-product .p-pay-icons img {
  display: block !important;
  flex: 0 0 auto !important;
  width: auto !important;
  height: 20px !important;
  max-height: 20px !important;
  min-height: 20px !important;
  object-fit: contain !important;
}

body.single-product .p-pay-icons .p-pay-icon-paypal {
  max-width: 54px !important;
}

body.single-product .p-pay-icons .p-pay-icon-visa {
  max-width: 54px !important;
}

body.single-product .p-pay-icons .p-pay-icon-mastercard {
  max-width: 34px !important;
}

body.single-product .p-pay-icons .p-pay-icon-googlepay {
  max-width: 58px !important;
}

body.single-product .p-bundle-box {
  background: #fcf8f2;
  padding: 8px;
  border-radius: 8px;
  margin: 20px 0;
  border: 1px solid #f3e5d0;
}

body.single-product .p-bundle-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
  display: block;
  color: #111;
}

body.single-product .p-bundle-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

body.single-product .p-bundle-item {
  display: grid;
  grid-template-columns: auto auto 1fr;
  grid-template-rows: auto auto;
  gap: 2px 6px;
  margin-bottom: 12px;
  font-size: 13px;
}

body.single-product .p-bundle-item:last-child {
  margin-bottom: 0;
}

body.single-product .p-bundle-checkbox-label {
  grid-row: 1 / 3;
  display: flex;
  align-items: center;
}

body.single-product .p-bundle-checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #ff4d4f;
  cursor: pointer;
}

body.single-product .p-bundle-thumb {
  grid-row: 1 / 3;
  display: block;
}

body.single-product .p-bundle-thumb img {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  object-fit: cover;
}

body.single-product .p-bundle-info {
  grid-column: 3;
  grid-row: 1;
  min-width: 0;
}

body.single-product .p-bundle-product-title {
  font-size: 13px;
  text-decoration: none;
  color: #333;
  display: block;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.single-product .p-bundle-product-title:hover {
  text-decoration: underline;
  color: #111;
}

body.single-product .p-bundle-price {
  font-size: 13px;
  font-weight: 700;
  color: #000;
  margin-top: 2px;
}

body.single-product .p-bundle-variation-select {
  grid-column: 3;
  grid-row: 2;
  justify-self: start;
  font-size: 12px;
  padding: 2px 3px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
  min-width: 50px;
  max-width: 90px;
}

body.single-product .p-bundle-view-options {
  grid-column: 3;
  grid-row: 2;
  justify-self: start;
  font-size: 12px;
  color: #ff4d4f;
  text-decoration: none;
  white-space: nowrap;
}

body.single-product .p-bundle-view-options:hover {
  text-decoration: underline;
}

body.single-product .p-bundle-no-variant {
  display: none;
}

body.single-product .p-bundle-qty {
  grid-column: 3;
  grid-row: 2;
  justify-self: end;
  display: flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fff;
}

body.single-product .p-bundle-qty-btn {
  width: 20px;
  height: 26px;
  border: none;
  background: #fff;
  color: #111;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.single-product .p-bundle-qty-btn:hover {
  background: #f5f5f5;
}

body.single-product .p-bundle-qty-input {
  width: 24px;
  height: 26px;
  border: none;
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
  text-align: center;
  font-size: 13px;
  padding: 0;
  background: #fff;
  -moz-appearance: textfield;
}

body.single-product .p-bundle-qty-input::-webkit-outer-spin-button,
body.single-product .p-bundle-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

body.single-product .p-bundle-total {
  display: none !important;
}

@media (max-width: 600px) {
  body.single-product .p-bundle-item {
    gap: 3px;
  }
}

body.single-product .p-info-side .product_meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin: 0 0 16px;
  color: #444;
  font-size: 14px;
  line-height: 1.7;
}

body.single-product .p-info-side .product_meta > span {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
}

body.single-product .p-info-side .product_meta a {
  color: #4f46e5;
  text-decoration: none;
}

body.single-product .p-info-side .product_meta a:hover {
  text-decoration: underline;
}

body.single-product .p-trust-list {
  border-top: 1px solid #eee;
  padding-top: 8px;
  margin-top: 4px;
}

body.single-product .p-trust-detail {
  border-bottom: 1px solid #f3f4f6;
}

body.single-product .p-trust-detail summary {
  list-style: none;
}

body.single-product .p-trust-detail summary::-webkit-details-marker {
  display: none;
}

body.single-product .p-trust-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  font-size: 16px;
  font-weight: 600;
  color: #111;
  cursor: pointer;
}

body.single-product .p-trust-toggle {
  transition: transform 0.3s ease;
  display: inline-block;
  font-size: 20px;
  line-height: 1;
  font-weight: 700;
  color: #000;
}

body.single-product .p-trust-detail[open] .p-trust-toggle {
  transform: rotate(90deg);
}

body.single-product .p-trust-panel {
  font-size: 14px;
  line-height: 1.75;
  padding: 0 0 14px;
  color: #555;
}

body.single-product .p-share-bar {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  align-items: center;
  flex-wrap: wrap;
}

body.single-product .p-share-label {
  color: #666;
  font-size: 14px;
  font-weight: 600;
  margin-right: 6px;
}

body.single-product .p-share-link {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

body.single-product .p-share-link:hover,
body.single-product .p-share-link:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.14);
  outline: none;
}

body.single-product .p-share-link svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  display: block;
}

body.single-product .share-tiktok { background: #111; }
body.single-product .share-youtube { background: #ff0000; }
body.single-product .share-facebook { background: #1877f2; }
body.single-product .share-instagram { background: linear-gradient(135deg, #f58529 0%, #dd2a7b 50%, #8134af 100%); }
body.single-product .share-x { background: #111; }
body.single-product .share-pinterest { background: #e60023; }
body.single-product .share-telegram { background: #2aabee; }
body.single-product .share-whatsapp { background: #25d366; }
body.single-product .share-email { background: #6b7280; }

body.single-product .p-benefits-band {
  width: min(calc(100% - 24px), var(--page-width));
  max-width: var(--page-width);
  margin: 48px auto 0;
  padding: 28px 20px 18px;
  background: #fff;
  box-sizing: border-box;
}

body.single-product .p-benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

body.single-product .p-benefit-card {
  padding: 12px 8px;
  text-align: center;
  color: #222;
}

body.single-product .p-benefit-icon {
  width: 46px;
  height: 46px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  color: #333;
}

body.single-product .p-benefit-icon svg {
  width: 40px;
  height: 40px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}

body.single-product .p-benefit-title {
  margin: 0 0 10px;
  color: #111;
  font-size: 17px;
  font-weight: 700;
}

body.single-product .p-benefit-text {
  margin: 0;
  color: #666;
  font-size: 14px;
  line-height: 1.6;
}
@media (max-width: 768px) {
  body.single-product .p-share-bar { gap: 8px; }
  body.single-product .p-share-link { width: 30px; height: 30px; }
  body.single-product .p-share-link svg { width: 12px; height: 12px; }
  body.single-product .p-pay-icons { gap: 8px; margin: 10px 0 16px; }
  body.single-product .p-pay-icon-slot { height: 18px !important; }
  body.single-product .p-pay-icon-slot-paypal { width: 48px !important; }
  body.single-product .p-pay-icon-slot-visa { width: 48px !important; }
  body.single-product .p-pay-icon-slot-mastercard { width: 30px !important; }
  body.single-product .p-pay-icon-slot-googlepay { width: 52px !important; }
  body.single-product .p-pay-icons img {
    height: 18px !important;
    max-height: 18px !important;
    min-height: 18px !important;
  }
}

body.single-product .p-tabs-container,
body.single-product .faq-section,
body.single-product .p-related-wrap {
  margin-top: 24px;
  padding: 0 20px;
}

body.single-product .p-tabs-container {
  max-width: var(--page-width);
  margin: 24px auto 0;
}

body.single-product .p-tabs-header {
  display: flex;
  justify-content: center;
  gap: 68px;
  border-bottom: 1px solid #eee;
  margin-bottom: 34px;
}

body.single-product .p-tab-item {
  position: relative;
  border: 0;
  background: transparent;
  appearance: none;
  padding: 0 0 18px;
  cursor: pointer;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9aa3af;
}

body.single-product .p-tab-item::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: 0;
  height: 2px;
  background: #111;
  transform: translateX(-50%);
  transition: width 0.2s ease;
}

body.single-product .p-tab-item.active {
  color: #111;
}

body.single-product .p-tab-item.active::after {
  width: 168px;
  max-width: 100%;
}

body.single-product .p-tab-content {
  display: none;
  color: #333;
  font-size: 16px;
  line-height: 1.8;
  animation: zeroyTabFadeIn 0.3s ease;
}

body.single-product .p-tab-content.active {
  display: block;
}

body.single-product .p-tab-content > :first-child {
  margin-top: 0;
}

body.single-product .p-tab-content > :last-child {
  margin-bottom: 0;
}

body.single-product .p-tab-content p {
  margin: 0 0 28px;
}

body.single-product .p-tab-content table {
  width: 100%;
  border-collapse: collapse;
}

body.single-product .p-tab-content table td,
body.single-product .p-tab-content table th {
  padding: 12px 0;
  border-bottom: 1px solid #f5f5f5;
}

body.single-product .p-tab-content table td:first-child,
body.single-product .p-tab-content table th:first-child {
  width: 30%;
  color: #666;
  font-weight: 600;
}

@keyframes zeroyTabFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body.single-product .faq-header {
  margin: 0 0 20px;
}

body.single-product .faq-container {
  line-height: 1.8;
}

body.single-product .p-related-wrap {
  width: min(calc(100% - 24px), 1400px);
  max-width: 1400px;
  margin: 60px auto 0;
  padding: 0 20px;
}

body.single-product .p-related-title {
  text-align: center;
  font-size: 32px;
  margin: 0 0 30px;
  font-weight: 700;
  line-height: 1.2;
  color: #111;
}

body.single-product .p-related-carousel-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 15px;
}

body.single-product .p-carousel-container {
  flex: 1 1 auto;
  overflow: hidden;
  min-width: 0;
}

body.single-product .p-related-wrap ul.products {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

body.single-product .p-related-wrap ul.products::-webkit-scrollbar {
  display: none;
}

body.single-product .p-related-wrap ul.products li.product {
  flex: 0 0 calc((100% - 80px) / 5);
  width: auto;
  margin: 0;
  background: #fff;
  display: flex;
  flex-direction: column;
}

body.single-product .p-related-wrap ul.products li.product .woocommerce-loop-product__link {
  display: block;
  text-decoration: none;
  color: inherit;
}

body.single-product .p-related-wrap ul.products li.product .p-card-img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--bg-gray);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  margin-bottom: 12px;
  cursor: pointer;
}

body.single-product .p-related-wrap ul.products li.product img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s ease;
}

body.single-product .p-related-wrap ul.products li.product .p-img-secondary {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 1;
}

body.single-product .p-related-wrap ul.products li.product .p-img-primary {
  position: relative;
  z-index: 2;
}

body.single-product .p-related-wrap ul.products li.product .woocommerce-loop-product__title {
  font-size: 13px;
  margin: 0 0 8px;
  line-height: 1.3;
  height: 36px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  color: #333;
}

body.single-product .p-related-wrap ul.products li.product .price {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 10px;
  color: #000;
  line-height: 1.3;
}

body.single-product .p-related-wrap ul.products li.product .price del {
  color: #999;
  font-weight: 400;
  margin-right: 6px;
}

body.single-product .p-related-wrap ul.products li.product .price ins {
  background: transparent;
  text-decoration: none;
  color: #000;
}

body.single-product .p-related-wrap ul.products li.product .star-rating {
  display: none;
}

body.single-product .p-related-wrap ul.products li.product .button {
  margin-top: auto;
  align-self: flex-start;
  background: #f0f0f0;
  color: #333;
  border: 0;
  border-radius: 3px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: all 0.3s ease;
}

body.single-product .p-related-wrap ul.products li.product:hover .button,
body.single-product .p-related-wrap ul.products li.product .button:hover {
  background: #ff4d4f;
  color: #fff;
}

body.single-product .p-best-sellers-section , body.single-product .p-recently-section  {
  width: min(calc(100% - 24px), 1400px);
  max-width: 1400px;
  margin: 60px auto 96px;
  padding: 0 20px;
  box-sizing: border-box;
}

body.single-product .p-section-title {
  margin: 0 0 30px;
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  color: #111;
}

body.single-product .faq-header {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  color: #111;
}

body.single-product .p-products-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}

body.single-product .p-best-sellers-section .p-card, body.single-product .p-recently-section .p-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

body.single-product .p-best-sellers-section .p-card-image, body.single-product .p-recently-section .p-card-image {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #f5f5f5;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 12px;
  cursor: pointer;
  text-decoration: none;
}

body.single-product .p-best-sellers-section .p-card-image img, body.single-product .p-recently-section .p-card-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s ease;
}

body.single-product .p-best-sellers-section .p-card-image .p-img-secondary, body.single-product .p-recently-section .p-card-image .p-img-secondary {
  opacity: 0;
}

body.single-product .p-best-sellers-section .p-card-title, body.single-product .p-recently-section .p-card-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 40px;
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.4;
  color: #333;
  text-decoration: none;
}

body.single-product .p-best-sellers-section .p-card-title:hover, body.single-product .p-recently-section .p-card-title:hover {
  text-decoration: underline;
}

body.single-product .p-best-sellers-section .p-card-price, body.single-product .p-recently-section .p-card-price {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
  color: #000;
}
body.single-product .p-best-sellers-section .p-card-price:empty, body.single-product .p-recently-section .p-card-price:empty {
  display: none;
}
body.single-product .p-best-sellers-section .p-card-price:empty, body.single-product .p-recently-section .p-card-price:empty {
  display: none;
}

body.single-product .p-best-sellers-section .p-card-price del, body.single-product .p-recently-section .p-card-price del {
  color: #999;
  font-weight: 400;
  margin-right: 6px;
}

body.single-product .p-best-sellers-section .p-card-price ins, body.single-product .p-recently-section .p-card-price ins {
  background: transparent;
  color: #000;
  text-decoration: none;
}

body.single-product .p-best-sellers-section .p-card-footer, body.single-product .p-recently-section .p-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

body.single-product .p-best-sellers-section .p-swatches, body.single-product .p-recently-section .p-swatches {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  min-width: 0;
}

body.single-product .p-best-sellers-section .p-swatch, body.single-product .p-recently-section .p-swatch {
  width: 24px;
  height: 24px;
  padding: 0;
  border: 1px solid #eee;
  border-radius: 2px;
  background: #fff;
  overflow: hidden;
  cursor: pointer;
  flex: 0 0 auto;
}

body.single-product .p-best-sellers-section .p-swatch.active, body.single-product .p-recently-section .p-swatch.active {
  border-color: #ff4d4f;
}

body.single-product .p-best-sellers-section .p-swatch img, body.single-product .p-recently-section .p-swatch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

body.single-product .p-best-sellers-section .p-add-icon-btn, body.single-product .p-recently-section .p-add-icon-btn {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  background: #f5f5f5;
  color: #111;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

body.single-product .p-best-sellers-section .p-add-icon-btn svg, body.single-product .p-recently-section .p-add-icon-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

body.single-product .p-best-sellers-section .p-add-icon-btn:hover,
body.single-product .p-recently-section .p-add-icon-btn:hover,
body.single-product .p-best-sellers-section .p-add-icon-btn:focus-visible,
body.single-product .p-recently-section .p-add-icon-btn:focus-visible {
  background: #ff4d4f;
  border-color: #ff4d4f;
  color: #fff;
  outline: none;
}

@media (max-width: 1200px) {
  body.single-product .p-products-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 992px) {
  body.single-product .p-products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  body.single-product .p-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
}

@media (max-width: 1024px) {
  body.single-product .p-gallery-side {
    position: static;
    top: auto;
    padding-left: 0;
  }

  body.single-product .p-benefits-band {
    padding: 18px 14px 8px;
  }

  body.single-product .p-benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  body.single-product .p-benefit-title {
    font-size: 15px;
  }

  body.single-product .p-benefit-text {
    font-size: 13px;
  }

  body.single-product .p-tabs-header {
    gap: 28px;
  }

  body.single-product .p-tab-item {
    padding-bottom: 14px;
    font-size: 15px;
    letter-spacing: 0.05em;
  }

  body.single-product .p-tab-item.active::after {
    width: 92px;
  }

  body.single-product .p-page-wrapper {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 16px;
  }

  body.single-product .p-gallery-side,
  body.single-product .p-info-side {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  body.single-product .p-gallery-side {
    position: static;
    top: auto;
  }

  body.single-product .p-thumb-slider-container {
    position: relative;
  }

  body.single-product .p-related-wrap ul.products li.product {
    flex: 0 0 calc(25% - 5px);
  }
}

@media (max-width: 768px) {
  body.single-product .p-title {
    font-size: 18px;
  }

  body.single-product .p-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  body.single-product .p-best-sellers-section , body.single-product .p-recently-section  {
    margin: 40px auto 72px;
    padding: 0 12px;
  }

  body.single-product .p-section-title {
    font-size: 24px;
    margin-bottom: 20px;
  }

  body.single-product .faq-header {
    font-size: 24px;
    margin-bottom: 28px;
  }

  body.single-product .p-best-sellers-section .p-card-title, body.single-product .p-recently-section .p-card-title {
    font-size: 13px;
  }

  body.single-product .p-best-sellers-section .p-card-price, body.single-product .p-recently-section .p-card-price {
    font-size: 14px;
  }

  body.single-product .p-thumb-nav {
    display: none;
  }

  body.single-product .p-main-video-play {
    width: 64px;
    height: 64px;
    font-size: 24px;
    padding-left: 4px;
  }

  body.single-product .p-video-controls {
    padding: 10px 10px 12px;
    gap: 8px;
  }

  body.single-product .p-thumb-list-viewport {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
  }

  body.single-product .p-thumb-track {
    width: max-content;
    transition: none;
    will-change: auto;
    transform: none !important;
    padding-bottom: 2px;
  }

  body.single-product .p-thumb-item {
    flex: 0 0 calc((100vw - 64px) / 4.2);
    scroll-snap-align: start;
  }

  body.single-product .p-side-arrow {
    display: none;
  }

  body.single-product .p-related-wrap ul.products li.product {
    flex: 0 0 calc(50% - 10px);
  }
}

@media (max-width: 520px) {
  body.single-product .p-products-grid {
    gap: 12px;
  }

  body.single-product .p-best-sellers-section .p-card-title, body.single-product .p-recently-section .p-card-title {
    font-size: 12px;
  }

  body.single-product .p-best-sellers-section .p-card-price, body.single-product .p-recently-section .p-card-price {
    font-size: 13px;
  }
}

/* === Codex override: thumb progress slider + video icon fix === */
body.single-product .video-play-icon::after {
  content: "\25B6" !important;
}

body.single-product .p-thumb-progress {
  width: 100% !important;
  margin-top: 12px !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  height: 8px !important;
  border-radius: 999px !important;
  background: linear-gradient(to right, #ffffff 0%, #ffffff 0%, #eef2f7 0%, #eef2f7 100%) !important;
  outline: none !important;
  border: 1px solid #dbe2ea !important;
  cursor: pointer !important;
}

body.single-product .p-thumb-progress:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

body.single-product .p-thumb-progress::-webkit-slider-runnable-track {
  height: 8px !important;
  border-radius: 999px !important;
  background: transparent !important;
}

body.single-product .p-thumb-progress::-webkit-slider-thumb {
  -webkit-appearance: none !important;
  appearance: none !important;
  width: 32px !important;
  height: 14px !important;
  border-radius: 5px !important;
  background: #ffffff !important;
  border: 1px solid #c9d2dd !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.14) !important;
  margin-top: -4px !important;
  cursor: pointer !important;
}

body.single-product .p-thumb-progress::-moz-range-track {
  height: 8px !important;
  border-radius: 999px !important;
  background: #eef2f7 !important;
  border: 1px solid #dbe2ea !important;
}

body.single-product .p-thumb-progress::-moz-range-progress {
  height: 8px !important;
  border-radius: 999px !important;
  background: #ffffff !important;
}

body.single-product .p-thumb-progress::-moz-range-thumb {
  width: 32px !important;
  height: 14px !important;
  border-radius: 5px !important;
  background: #ffffff !important;
  border: 1px solid #c9d2dd !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.14) !important;
  cursor: pointer !important;
}

/* ---- Color Swatches (Image Thumbnails 85x85) ---- */
.zeroy-color-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
}
.zeroy-color-swatch {
  width: 85px;
  height: 85px;
  padding: 2px;
  border: 2px solid #e0e0e0;
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.zeroy-color-swatch:hover {
  border-color: #999;
}
.zeroy-color-swatch.active {
  border-color: #ff4d4f;
}
.zeroy-color-swatch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.zeroy-swatch-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
  color: #999;
  font-size: 13px;
  text-align: center;
  word-break: break-all;
  padding: 4px;
}

/* ---- Size Attribute Button Pills ---- */

body.single-product .woocommerce-variation-price { display: none !important; }
body.single-product .woocommerce-variation.single_variation { display: none !important; }
.zeroy-size-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}
.zeroy-size-btn {
  min-width: 48px;
  height: 40px;
  padding: 0 16px;
  border: 1.5px solid #d0d0d0;
  border-radius: 4px;
  background: #fff;
  color: #333;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  display: flex