:root {
  --edsp-green: #0c8f2e;
  --edsp-green-dark: #087525;
  --edsp-orange: #ff6b14;
  --edsp-ink: #111827;
  --edsp-muted: #64748b;
  --edsp-line: #e3e8ee;
  --edsp-soft: #f6f8fb;
  --edsp-white: #fff;
}

body.ed-single-product-active,
body.ed-single-product-active button,
body.ed-single-product-active input {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body.ed-single-product-active .site-main {
  background: #f7f8fa;
}

body.ed-single-product-active .ct-container-full {
  padding-top: 18px !important;
  padding-bottom: 48px !important;
}

body.ed-single-product-active .hero-section {
  box-sizing: border-box;
  width: min(1280px, calc(100% - 32px)) !important;
  max-width: 1280px !important;
  margin: 0 auto 14px !important;
  padding: 10px 15px !important;
  border: 1px solid var(--edsp-line);
  border-radius: 13px;
  background: var(--edsp-white);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.035);
}

body.ed-single-product-active .hero-section .entry-header {
  min-height: 0 !important;
  padding: 0 !important;
}

body.ed-single-product-active .ct-breadcrumbs {
  display: flex;
  align-items: center;
  overflow: hidden;
  gap: 6px;
  min-height: 22px;
  margin: 0 !important;
  color: var(--edsp-muted);
  font-size: 11px;
  line-height: 1.35;
  white-space: nowrap;
}

body.ed-single-product-active .ct-breadcrumbs > span {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

body.ed-single-product-active .ct-breadcrumbs .last-item {
  overflow: hidden;
  color: var(--edsp-ink);
  font-weight: 750;
  text-overflow: ellipsis;
}

body.ed-single-product-active .ct-breadcrumbs a {
  color: var(--edsp-muted);
  text-decoration: none;
}

body.ed-single-product-active .ct-breadcrumbs a:hover {
  color: var(--edsp-orange);
}

body.ed-single-product-active .product-entry-wrapper {
  display: grid !important;
  grid-template-columns: minmax(0, 0.94fr) minmax(390px, 1.06fr) !important;
  align-items: start;
  justify-items: stretch;
  gap: 28px !important;
  box-sizing: border-box;
  width: min(1280px, calc(100% - 32px)) !important;
  max-width: 1280px !important;
  margin: 0 auto !important;
  padding: 28px !important;
  border: 1px solid var(--edsp-line);
  border-radius: 20px;
  background: var(--edsp-white);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.055);
}

body.ed-single-product-active .product-entry-wrapper > .woocommerce-product-gallery,
body.ed-single-product-active .product-entry-wrapper > .summary.entry-summary {
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 0 !important;
}

body.ed-single-product-active .woocommerce-product-gallery {
  position: sticky;
  top: 18px;
  overflow: hidden;
  padding: 18px;
  border: 1px solid #edf0f3;
  border-radius: 17px;
  background: var(--edsp-soft);
}

body.ed-single-product-active .woocommerce-product-gallery .ct-product-gallery-container,
body.ed-single-product-active .woocommerce-product-gallery figure {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

body.ed-single-product-active .woocommerce-product-gallery .ct-media-container {
  display: grid;
  place-items: center;
  min-height: 430px;
  background: transparent;
}

body.ed-single-product-active .woocommerce-product-gallery img {
  display: block;
  width: 100% !important;
  max-width: 540px !important;
  height: 460px !important;
  margin: auto;
  object-fit: contain !important;
}

body.ed-single-product-active .summary.entry-summary {
  display: block !important;
  align-self: stretch;
  padding: 28px !important;
  border: 1px solid #edf0f3;
  border-radius: 17px;
  background: #fbfcfd;
}

body.ed-single-product-active .summary.entry-summary > * {
  min-width: 0;
}

body.ed-single-product-active .summary .product_title,
body.ed-single-product-active .summary > .price,
body.ed-single-product-active .woocommerce-product-details__short-description,
body.ed-single-product-active .ct-product-add-to-cart,
body.ed-single-product-active .product_meta {
  box-sizing: border-box;
  width: 100% !important;
  max-width: none !important;
}

body.ed-single-product-active .summary .product_title {
  margin: 0 0 12px !important;
  color: var(--edsp-ink);
  font-size: clamp(27px, 2.2vw, 36px) !important;
  font-weight: 850 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.7px;
}

body.ed-single-product-active .summary > .price {
  margin: 0 0 14px !important;
  color: var(--edsp-ink) !important;
  font-size: 28px !important;
  font-weight: 880 !important;
}

body.ed-single-product-active .woocommerce-product-details__short-description {
  margin: 0;
  color: #475569;
  font-size: 14px;
  line-height: 1.65;
}

body.ed-single-product-active .woocommerce-product-details__short-description p:last-child {
  margin-bottom: 0;
}

body.ed-single-product-active .ct-product-divider {
  margin: 20px 0 !important;
  background: #edf0f3 !important;
}

body.ed-single-product-active .stock.in-stock {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 13px !important;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--edsp-green-dark) !important;
  background: #effbef;
  font-size: 11px !important;
  font-weight: 800;
}

body.ed-single-product-active .stock.in-stock::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--edsp-green);
  content: "";
}

body.ed-single-product-active .ct-cart-actions {
  display: flex !important;
  align-items: center;
  gap: 11px !important;
}

body.ed-single-product-active .ct-cart-actions .quantity {
  position: relative !important;
  display: inline-flex !important;
  align-items: center;
  flex: 0 0 116px;
  width: 116px !important;
  height: 48px !important;
  border: 1.5px solid #b8d7c0;
  border-radius: 11px;
  background: #f7fff8;
}

body.ed-single-product-active .ct-cart-actions .qty {
  position: absolute !important;
  inset: 0 !important;
  box-sizing: border-box !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 38px !important;
  border: 0 !important;
  color: var(--edsp-green-dark) !important;
  background: transparent !important;
  box-shadow: none !important;
  text-align: center !important;
  -webkit-text-fill-color: var(--edsp-green-dark) !important;
  font-size: 14px !important;
  font-weight: 850 !important;
  appearance: textfield;
  -moz-appearance: textfield;
}

body.ed-single-product-active .ct-cart-actions .qty::-webkit-inner-spin-button,
body.ed-single-product-active .ct-cart-actions .qty::-webkit-outer-spin-button {
  appearance: none;
  -webkit-appearance: none;
}

body.ed-single-product-active .ct-cart-actions .ct-decrease,
body.ed-single-product-active .ct-cart-actions .ct-increase {
  position: absolute !important;
  top: 0 !important;
  bottom: 0 !important;
  z-index: 3;
  display: grid !important;
  place-items: center;
  width: 38px !important;
  height: 46px !important;
  color: var(--edsp-green-dark) !important;
  cursor: pointer;
  font-family: inherit !important;
  font-size: 19px !important;
  font-weight: 800 !important;
}

body.ed-single-product-active .ct-cart-actions .ct-decrease {
  right: auto !important;
  left: 0 !important;
  border-right: 1px solid #d9eadc;
}

body.ed-single-product-active .ct-cart-actions .ct-increase {
  right: 0 !important;
  left: auto !important;
  border-left: 1px solid #d9eadc;
}

body.ed-single-product-active .ct-cart-actions .ct-decrease::before {
  content: "−" !important;
  font-family: inherit !important;
}

body.ed-single-product-active .ct-cart-actions .ct-increase::before {
  content: "+" !important;
  font-family: inherit !important;
}

body.ed-single-product-active .single_add_to_cart_button {
  flex: 1 1 auto;
  min-height: 48px !important;
  padding: 10px 22px !important;
  border: 0 !important;
  border-radius: 11px !important;
  color: var(--edsp-white) !important;
  background: var(--edsp-green) !important;
  box-shadow: 0 8px 20px rgba(12, 143, 46, 0.2);
  font-size: 14px !important;
  font-weight: 850 !important;
}

body.ed-single-product-active .single_add_to_cart_button:hover {
  background: var(--edsp-green-dark) !important;
}

.edsp-purchase-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}

.edsp-purchase-benefits > div {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  gap: 8px;
  padding: 10px;
  border: 1px solid #e4ebe6;
  border-radius: 11px;
  background: #f4fbf5;
}

.edsp-purchase-benefits > div > span {
  display: grid;
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  place-items: center;
  border-radius: 8px;
  color: var(--edsp-green-dark);
  background: var(--edsp-white);
  box-shadow: 0 2px 7px rgba(12, 143, 46, 0.08);
  font-size: 12px;
  font-weight: 850;
}

.edsp-purchase-benefits p {
  min-width: 0;
  margin: 0 !important;
  line-height: 1.3;
}

.edsp-purchase-benefits strong,
.edsp-purchase-benefits small {
  display: block;
}

.edsp-purchase-benefits strong {
  color: var(--edsp-ink);
  font-size: 10px;
  font-weight: 800;
}

.edsp-purchase-benefits small {
  margin-top: 3px;
  color: var(--edsp-muted);
  font-size: 8px;
  line-height: 1.4;
}

body.ed-single-product-active .product_meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 15px;
  padding: 13px 15px;
  border: 1px solid #edf0f3;
  border-radius: 12px;
  color: var(--edsp-muted);
  background: var(--edsp-soft);
  font-size: 11px !important;
}

body.ed-single-product-active .product_meta a {
  color: var(--edsp-ink) !important;
  font-weight: 700;
  text-decoration: none !important;
}

body.ed-single-product-active .woocommerce-tabs {
  box-sizing: border-box;
  width: min(1280px, calc(100% - 32px)) !important;
  max-width: 1280px !important;
  margin: 18px auto 0 !important;
  padding: 22px 26px !important;
  border: 1px solid var(--edsp-line);
  border-radius: 17px;
  background: var(--edsp-white);
}

body.ed-single-product-active .woocommerce-tabs .tabs {
  width: 100% !important;
  margin: 0 0 16px !important;
}

body.ed-single-product-active .woocommerce-tabs .tabs a {
  color: var(--edsp-ink) !important;
  font-size: 14px;
  font-weight: 800;
}

body.ed-single-product-active .woocommerce-Tabs-panel {
  color: #475569;
  font-size: 13px;
  line-height: 1.7;
}

body.ed-single-product-active section.related.products {
  display: none !important;
}

.edsp-slider-section,
.edsp-slider-section * {
  box-sizing: border-box;
}

.edsp-slider-section {
  width: min(1280px, calc(100% - 32px));
  max-width: 1280px;
  margin: 18px auto 0;
  padding: 20px;
  border: 1px solid var(--edsp-line);
  border-radius: 17px;
  background: var(--edsp-white);
}

.edsp-slider-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 15px;
}

.edsp-slider-head small {
  display: block;
  margin-bottom: 3px;
  color: var(--edsp-muted);
  font-size: 10px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.edsp-slider-head h2 {
  margin: 0 !important;
  color: var(--edsp-ink);
  font-size: 22px !important;
  font-weight: 850 !important;
  line-height: 1.2 !important;
}

.edsp-slider-buttons {
  display: flex;
  gap: 7px;
}

.edsp-slider-buttons button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid #d7dee7;
  border-radius: 10px;
  color: var(--edsp-ink);
  background: var(--edsp-white);
  cursor: pointer;
  font-size: 18px;
}

.edsp-slider-buttons button:hover {
  color: var(--edsp-white);
  border-color: var(--edsp-orange);
  background: var(--edsp-orange);
}

.edsp-product-track {
  display: grid;
  grid-auto-columns: minmax(190px, 1fr);
  grid-auto-flow: column;
  gap: 12px;
  overflow-x: auto;
  padding: 1px 1px 8px;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}

.edsp-product-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  scroll-snap-align: start;
  padding: 10px;
  border: 1px solid #e8ecf1;
  border-radius: 14px;
  background: var(--edsp-white);
}

.edsp-card-image {
  display: block;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  margin-bottom: 8px;
  border-radius: 11px;
  background: var(--edsp-soft);
}

.edsp-card-image img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  padding: 5px;
  object-fit: contain;
}

.edsp-delivery-chip {
  align-self: flex-start;
  margin-bottom: 7px;
  padding: 3px 6px;
  border-radius: 999px;
  color: #475569;
  background: #eef2f6;
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
}

.edsp-product-card h3 {
  display: -webkit-box;
  overflow: hidden;
  min-height: 36px;
  margin: 0 0 10px !important;
  font-size: 12px !important;
  font-weight: 750 !important;
  line-height: 1.45 !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.edsp-product-card h3 a {
  color: var(--edsp-ink) !important;
  text-decoration: none !important;
}

.edsp-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  margin-top: auto;
}

.edsp-card-bottom strong {
  color: var(--edsp-ink);
  font-size: 13px;
  font-weight: 850;
}

.edsp-card-bottom del {
  display: none;
}

.edsp-card-action {
  display: grid;
  place-items: center;
  min-width: 68px;
  min-height: 35px;
  padding: 6px 9px;
  border: 1.5px solid var(--edsp-green);
  border-radius: 9px;
  color: var(--edsp-green) !important;
  background: var(--edsp-white);
  text-decoration: none !important;
  font-size: 10px;
  font-weight: 850;
}

.edsp-card-action:hover,
.edsp-card-action.added {
  color: var(--edsp-white) !important;
  background: var(--edsp-green);
}

@media (max-width: 900px) {
  body.ed-single-product-active .product-entry-wrapper {
    grid-template-columns: minmax(0, 0.95fr) minmax(330px, 1.05fr) !important;
    gap: 24px !important;
    padding: 20px !important;
  }

  body.ed-single-product-active .summary.entry-summary {
    padding: 20px !important;
  }

  .edsp-purchase-benefits {
    grid-template-columns: 1fr;
  }

  body.ed-single-product-active .woocommerce-product-gallery .ct-media-container {
    min-height: 340px;
  }

  body.ed-single-product-active .woocommerce-product-gallery img {
    height: 370px !important;
  }
}

@media (max-width: 700px) {
  body.ed-single-product-active .ct-container-full {
    padding-top: 8px !important;
    padding-bottom: 30px !important;
  }

  body.ed-single-product-active .hero-section,
  body.ed-single-product-active .product-entry-wrapper,
  body.ed-single-product-active .woocommerce-tabs,
  .edsp-slider-section {
    width: calc(100% - 16px) !important;
  }

  body.ed-single-product-active .hero-section {
    margin-bottom: 8px !important;
    padding: 8px 10px !important;
    border-radius: 11px;
  }

  body.ed-single-product-active .ct-breadcrumbs {
    gap: 4px;
    font-size: 10px;
  }

  body.ed-single-product-active .ct-breadcrumbs .last-item {
    max-width: 145px;
  }

  body.ed-single-product-active .product-entry-wrapper {
    grid-template-columns: 1fr !important;
    gap: 13px !important;
    padding: 11px !important;
    border-radius: 15px;
  }

  body.ed-single-product-active .woocommerce-product-gallery {
    position: static;
    padding: 10px;
    border-radius: 13px;
  }

  body.ed-single-product-active .woocommerce-product-gallery .ct-media-container {
    min-height: 290px;
  }

  body.ed-single-product-active .woocommerce-product-gallery img {
    height: 310px !important;
  }

  body.ed-single-product-active .summary.entry-summary {
    padding: 15px !important;
    border-radius: 13px;
  }

  body.ed-single-product-active .summary .product_title {
    margin-bottom: 8px !important;
    font-size: 22px !important;
    letter-spacing: -0.4px;
  }

  body.ed-single-product-active .summary > .price {
    margin-bottom: 10px !important;
    font-size: 23px !important;
  }

  body.ed-single-product-active .woocommerce-product-details__short-description {
    font-size: 12px;
    line-height: 1.55;
  }

  body.ed-single-product-active .ct-product-divider {
    margin: 14px 0 !important;
  }

  body.ed-single-product-active .ct-cart-actions {
    gap: 8px !important;
  }

  body.ed-single-product-active .ct-cart-actions .quantity {
    flex-basis: 108px;
    width: 108px !important;
    height: 44px !important;
  }

  body.ed-single-product-active .ct-cart-actions .ct-decrease,
  body.ed-single-product-active .ct-cart-actions .ct-increase {
    width: 35px !important;
    height: 42px !important;
  }

  body.ed-single-product-active .ct-cart-actions .qty {
    padding: 0 35px !important;
  }

  body.ed-single-product-active .single_add_to_cart_button {
    min-height: 44px !important;
    padding: 9px 13px !important;
  }

  body.ed-single-product-active .product_meta {
    gap: 6px 11px;
    padding: 11px;
    font-size: 10px !important;
  }

  .edsp-purchase-benefits {
    gap: 7px;
    margin-top: 13px;
  }

  .edsp-purchase-benefits > div {
    align-items: center;
    padding: 9px 10px;
  }

  .edsp-purchase-benefits strong {
    font-size: 11px;
  }

  .edsp-purchase-benefits small {
    font-size: 9px;
  }

  body.ed-single-product-active .woocommerce-tabs {
    margin-top: 10px !important;
    padding: 14px !important;
    border-radius: 14px;
  }

  .edsp-slider-section {
    margin-top: 10px;
    padding: 13px 10px;
    border-radius: 14px;
  }

  .edsp-slider-head {
    margin-bottom: 11px;
  }

  .edsp-slider-head h2 {
    font-size: 18px !important;
  }

  .edsp-slider-buttons {
    display: none;
  }

  .edsp-product-track {
    grid-auto-columns: minmax(142px, 45%);
    gap: 9px;
    margin-right: -10px;
    padding-right: 10px;
    scrollbar-width: none;
  }

  .edsp-product-track::-webkit-scrollbar {
    display: none;
  }

  .edsp-product-card {
    padding: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .edsp-product-track {
    scroll-behavior: auto;
  }
}
