/**
 * WooCommerce: main column full width; product/shop content inside .container-center (see woocommerce.php).
 */

/*
 * #header_v23 is position:sticky in main.css (loads after clone), so it sits in normal document flow.
 * Only a small gap under the header chrome is needed here.
 */
body.woocommerce #primary.site-main,
body.woocommerce-page #primary.site-main {
  max-width: none;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
  padding-top: 16px;
  box-sizing: border-box;
}

body.admin-bar.woocommerce #primary.site-main,
body.admin-bar.woocommerce-page #primary.site-main {
  padding-top: 16px;
}

/*
 * Checkout / cart / order-received: neutralise fixed .top-wrap (≤900px) and fixed .sticky_navbar.sticky
 * so inner bars don’t cover the form (clone JS still adds .sticky on scroll).
 */
body.woocommerce-checkout #header_v23 .top-wrap,
body.woocommerce-page.woocommerce-checkout #header_v23 .top-wrap,
body.woocommerce-cart #header_v23 .top-wrap,
body.woocommerce-page.woocommerce-cart #header_v23 .top-wrap,
body.woocommerce-page.woocommerce-order-received #header_v23 .top-wrap,
body.woocommerce-order-received #header_v23 .top-wrap {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
}

body.woocommerce-checkout #header_v23 .sticky_navbar.sticky,
body.woocommerce-page.woocommerce-checkout #header_v23 .sticky_navbar.sticky,
body.woocommerce-cart #header_v23 .sticky_navbar.sticky,
body.woocommerce-page.woocommerce-cart #header_v23 .sticky_navbar.sticky,
body.woocommerce-page.woocommerce-order-received #header_v23 .sticky_navbar.sticky,
body.woocommerce-order-received #header_v23 .sticky_navbar.sticky {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  animation: none !important;
  -webkit-animation: none !important;
  width: 100%;
  box-shadow: none;
}

html {
  scroll-padding-top: 120px;
}

@media (min-width: 768px) {
  html {
    scroll-padding-top: 150px;
  }
}

/* .container-center (clone) supplies max-width:1400px, horizontal padding, centering */
body.woocommerce .baish-woocommerce,
body.woocommerce-page .baish-woocommerce {
  width: 100%;
  padding-bottom: 40px;
  box-sizing: border-box;
}

/* Let product / shop content use available width (WooCommerce columns still apply inside). */
body.woocommerce .baish-woocommerce .product,
body.woocommerce-page .baish-woocommerce .product {
  max-width: none;
}

body.woocommerce ul.products,
body.woocommerce-page ul.products {
  max-width: none;
}

/* Shop / cart / checkout as WordPress pages: avoid default .entry-card column layout. */
body.woocommerce-page .baish-woocommerce--wp-page {
  width: 100%;
}

/* Single product: full-page hero on body (main.css); content above ::before light overlay */
body.single-product #primary.site-main,
body.woocommerce-page.single-product #primary.site-main {
  position: relative;
  z-index: 1;
  background: transparent !important;
}

body.single-product #footer_v8,
body.woocommerce-page.single-product #footer_v8 {
  position: relative;
  z-index: 1;
}

body.single-product .baish-woocommerce,
body.woocommerce-page.single-product .baish-woocommerce {
  background: transparent !important;
}

body.single-product .woocommerce-tabs,
body.woocommerce-page.single-product .woocommerce-tabs,
body.single-product .woocommerce-Tabs-panel,
body.woocommerce-page.single-product .woocommerce-Tabs-panel {
  background: transparent !important;
}

/* Magnifier / fullscreen trigger (zoom support off in functions.php; hide if still in cached markup) */
.woocommerce div.product div.images .woocommerce-product-gallery__trigger {
  display: none !important;
}

body.single-product .woocommerce-notices-wrapper,
body.woocommerce-page.single-product .woocommerce-notices-wrapper {
  display: none !important;
}

body.tax-product_cat .woocommerce-notices-wrapper,
body.woocommerce-page.tax-product_cat .woocommerce-notices-wrapper {
  display: none !important;
}

/* Shop / category / tag archives: hide “Continue shopping” on add-to-cart success (AJAX may still inject .woocommerce-message). */
body.woocommerce-shop .woocommerce-message a.wc-forward,
body.woocommerce-page.woocommerce-shop .woocommerce-message a.wc-forward,
body.tax-product_cat .woocommerce-message a.wc-forward,
body.woocommerce-page.tax-product_cat .woocommerce-message a.wc-forward,
body.tax-product_tag .woocommerce-message a.wc-forward,
body.woocommerce-page.tax-product_tag .woocommerce-message a.wc-forward {
  display: none !important;
}

/* Clone CSS often adds a decorative bar with .product_title::before */
body.woocommerce.single-product div.product .product_title::before,
body.woocommerce-page.single-product div.product .product_title::before,
body.woocommerce.single-product div.product .summary h1.entry-title::before,
body.woocommerce-page.single-product div.product .summary h1.entry-title::before {
  content: none !important;
  display: none !important;
}

/* Single product: stack gallery + summary on small screens (clone floats can fight Woo defaults) */
@media (max-width: 768px) {
  body.woocommerce .woocommerce div.product div.images,
  body.woocommerce .woocommerce div.product div.summary,
  body.woocommerce-page .woocommerce div.product div.images,
  body.woocommerce-page .woocommerce div.product div.summary {
    float: none;
    width: 100% !important;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
  }

  body.woocommerce .woocommerce div.product,
  body.woocommerce-page .woocommerce div.product {
    display: block;
  }
}

/* Product gallery: Flexslider slideshow (wc-product-gallery-slider) */
.woocommerce div.product div.images .woocommerce-product-gallery {
  opacity: 1;
  overflow-x: visible;
}

/* Main slideshow: Flexslider viewport; Owl-style .owl-nav injected via JS (on the image) */
.woocommerce div.product div.images .woocommerce-product-gallery .flex-viewport {
  overflow: hidden;
  position: relative;
  border-radius: 8px;
  box-shadow:
    0 20px 50px rgba(15, 23, 42, 0.35),
    0 8px 20px rgba(15, 23, 42, 0.22),
    0 2px 6px rgba(15, 23, 42, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.35);
}

/* No flex-viewport yet / single stacked image: shadow on first gallery figure only (not thumbnails row) */
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:first-child {
  border-radius: 8px;
  overflow: hidden;
  box-shadow:
    0 20px 50px rgba(15, 23, 42, 0.35),
    0 8px 20px rgba(15, 23, 42, 0.22),
    0 2px 6px rgba(15, 23, 42, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.35);
}

/* Flexslider links only for JS; visible controls are Owl-style .owl-nav (see product-gallery-thumbs.js) */
.woocommerce div.product div.images .woocommerce-product-gallery ul.flex-direction-nav {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Same structure as Owl Carousel: .owl-nav > button.owl-prev|owl-next > span (‹ ›) */
.woocommerce div.product div.images .woocommerce-product-gallery .flex-viewport > .owl-nav {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: 0;
  padding: 0;
  z-index: 25;
  pointer-events: none;
}

.woocommerce div.product div.images .woocommerce-product-gallery .flex-viewport > .owl-nav .owl-prev,
.woocommerce div.product div.images .woocommerce-product-gallery .flex-viewport > .owl-nav .owl-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  padding: 0;
  width: 44px;
  height: 44px;
  line-height: 44px;
  text-align: center;
  cursor: pointer;
  border: none;
  border-radius: 50%;
  background: rgba(20, 34, 63, 0.88);
  color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  pointer-events: auto;
  transition: background 0.2s ease, transform 0.15s ease, opacity 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  display: block;
}

.woocommerce div.product div.images .woocommerce-product-gallery .flex-viewport > .owl-nav .owl-prev {
  left: 12px;
}

.woocommerce div.product div.images .woocommerce-product-gallery .flex-viewport > .owl-nav .owl-next {
  right: 12px;
}

.woocommerce div.product div.images .woocommerce-product-gallery .flex-viewport > .owl-nav .owl-prev:hover:not(:disabled),
.woocommerce div.product div.images .woocommerce-product-gallery .flex-viewport > .owl-nav .owl-next:hover:not(:disabled) {
  background: rgba(49, 117, 172, 0.95);
}

.woocommerce div.product div.images .woocommerce-product-gallery .flex-viewport > .owl-nav .owl-prev:active:not(:disabled),
.woocommerce div.product div.images .woocommerce-product-gallery .flex-viewport > .owl-nav .owl-next:active:not(:disabled) {
  transform: translateY(-50%) scale(0.96);
}

.woocommerce div.product div.images .woocommerce-product-gallery .flex-viewport > .owl-nav .owl-prev:disabled,
.woocommerce div.product div.images .woocommerce-product-gallery .flex-viewport > .owl-nav .owl-next:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.woocommerce div.product div.images .woocommerce-product-gallery .flex-viewport > .owl-nav .owl-prev span,
.woocommerce div.product div.images .woocommerce-product-gallery .flex-viewport > .owl-nav .owl-next span {
  display: block;
  font-size: 28px;
  font-weight: 700;
  line-height: 44px;
  color: inherit;
  pointer-events: none;
}

@media (max-width: 480px) {
  .woocommerce div.product div.images .woocommerce-product-gallery .flex-viewport > .owl-nav .owl-prev {
    left: 8px;
  }

  .woocommerce div.product div.images .woocommerce-product-gallery .flex-viewport > .owl-nav .owl-next {
    right: 8px;
  }

  .woocommerce div.product div.images .woocommerce-product-gallery .flex-viewport > .owl-nav .owl-prev,
  .woocommerce div.product div.images .woocommerce-product-gallery .flex-viewport > .owl-nav .owl-next {
    width: 38px;
    height: 38px;
    line-height: 38px;
  }

  .woocommerce div.product div.images .woocommerce-product-gallery .flex-viewport > .owl-nav .owl-prev span,
  .woocommerce div.product div.images .woocommerce-product-gallery .flex-viewport > .owl-nav .owl-next span {
    font-size: 24px;
    line-height: 38px;
  }
}

/* Thumbnail strip: limit width so overflow-x can scroll (ol otherwise grows to fit all thumbs) */
.woocommerce div.product div.images .baish-thumb-scroller {
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 10px 0 0;
}

/* One horizontal row: drag / wheel / trackpad scroll (product-gallery-thumbs.js) */
.woocommerce div.product div.images ol.flex-control-nav.flex-control-thumbs,
.woocommerce div.product div.images .baish-thumb-scroller ol.flex-control-thumbs {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin: 0;
  padding: 4px 0 8px;
  list-style: none;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  scrollbar-width: thin;
  -ms-overflow-style: auto;
  touch-action: pan-x;
}

.woocommerce div.product div.images ol.flex-control-nav.flex-control-thumbs::-webkit-scrollbar,
.woocommerce div.product div.images .baish-thumb-scroller ol.flex-control-thumbs::-webkit-scrollbar {
  height: 6px;
}

.woocommerce div.product div.images ol.flex-control-nav.flex-control-thumbs::-webkit-scrollbar-thumb,
.woocommerce div.product div.images .baish-thumb-scroller ol.flex-control-thumbs::-webkit-scrollbar-thumb {
  background: rgba(20, 34, 63, 0.35);
  border-radius: 3px;
}

.woocommerce div.product div.images ol.flex-control-nav.flex-control-thumbs.baish-thumb-dragging,
.woocommerce div.product div.images .baish-thumb-scroller ol.flex-control-thumbs.baish-thumb-dragging {
  cursor: grabbing;
  user-select: none;
}

.woocommerce div.product div.images ol.flex-control-nav.flex-control-thumbs li,
.woocommerce div.product div.images .baish-thumb-scroller ol.flex-control-thumbs li {
  float: none !important;
  width: auto !important;
  flex: 0 0 auto;
  margin: 0 !important;
}

.woocommerce div.product div.images ol.flex-control-nav.flex-control-thumbs img,
.woocommerce div.product div.images .baish-thumb-scroller ol.flex-control-thumbs img {
  width: 72px;
  height: auto;
  max-width: 100px;
  display: block;
  opacity: 0.65;
  border: 2px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  -webkit-user-drag: none;
  user-select: none;
}

.woocommerce div.product div.images ol.flex-control-nav.flex-control-thumbs img.flex-active,
.woocommerce div.product div.images .baish-thumb-scroller ol.flex-control-thumbs img.flex-active {
  opacity: 1;
  border-color: rgba(49, 117, 172, 0.85);
}

/* No hover highlight on thumbnails (only .flex-active shows full opacity + border) */
.woocommerce div.product div.images ol.flex-control-nav.flex-control-thumbs img:hover:not(.flex-active),
.woocommerce div.product div.images .baish-thumb-scroller ol.flex-control-thumbs img:hover:not(.flex-active) {
  opacity: 0.65 !important;
  border-color: transparent !important;
}

/* Hide any leftover sale markup if a plugin bypasses the filter */
body.woocommerce span.onsale,
body.woocommerce-page span.onsale {
  display: none !important;
}

/* Shop grid: comfortable gaps on narrow viewports */
@media (max-width: 600px) {
  body.woocommerce ul.products[class*='columns-'],
  body.woocommerce-page ul.products[class*='columns-'] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  body.woocommerce ul.products[class*='columns-'] li.product,
  body.woocommerce-page ul.products[class*='columns-'] li.product {
    width: 100% !important;
    max-width: 100%;
    margin-right: 0 !important;
    float: none !important;
  }
}

/* -------------------------------------------------------------------------
   Shop + product category archives: card-style layout (aligns with .entry-card pages).
   ------------------------------------------------------------------------- */
body.woocommerce.tax-product_cat .baish-stocklist-archive,
body.woocommerce-page.tax-product_cat .baish-stocklist-archive,
body.woocommerce-shop .baish-stocklist-archive,
body.woocommerce-page.woocommerce-shop .baish-stocklist-archive {
  margin-bottom: 2rem;
}

body.woocommerce .baish-stocklist-archive__hero,
body.woocommerce-page .baish-stocklist-archive__hero {
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 10px;
  padding: 18px 20px;
  background: #fff;
  box-sizing: border-box;
  margin-bottom: 1rem;
}

body.woocommerce .baish-stocklist-archive__title.entry-title,
body.woocommerce-page .baish-stocklist-archive__title.entry-title {
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 600;
  color: var(--text, #111827);
  line-height: 1.25;
}

body.woocommerce .baish-stocklist-archive__crumbs,
body.woocommerce-page .baish-stocklist-archive__crumbs {
  font-size: 14px;
  color: var(--muted, #6b7280);
  line-height: 1.5;
}

body.woocommerce .baish-stocklist-archive__crumbs a,
body.woocommerce-page .baish-stocklist-archive__crumbs a {
  color: var(--link, #2563eb);
}

body.woocommerce .baish-stocklist-archive__sep,
body.woocommerce-page .baish-stocklist-archive__sep {
  margin: 0 0.35em;
  color: var(--muted, #6b7280);
  user-select: none;
}

body.woocommerce .baish-stocklist-archive__current,
body.woocommerce-page .baish-stocklist-archive__current {
  color: var(--text, #111827);
  font-weight: 500;
}

body.woocommerce .baish-stocklist-archive__main,
body.woocommerce-page .baish-stocklist-archive__main {
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 10px;
  padding: 16px 18px 24px;
  background: #fff;
  box-sizing: border-box;
}

body.woocommerce .baish-stocklist-archive__main .term-description,
body.woocommerce-page .baish-stocklist-archive__main .term-description {
  margin: 0 0 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border, #e5e7eb);
  color: var(--text, #111827);
  font-size: 15px;
  line-height: 1.55;
}

body.woocommerce .baish-stocklist-archive__main .term-description p:last-child,
body.woocommerce-page .baish-stocklist-archive__main .term-description p:last-child {
  margin-bottom: 0;
}

body.woocommerce .baish-stocklist-archive__main .woocommerce-result-count,
body.woocommerce-page .baish-stocklist-archive__main .woocommerce-result-count {
  margin: 0 0 0.75rem;
  font-size: 14px;
  color: var(--muted, #6b7280);
}

body.woocommerce .baish-stocklist-archive__main .woocommerce-ordering,
body.woocommerce-page .baish-stocklist-archive__main .woocommerce-ordering {
  margin-bottom: 1rem;
}

body.woocommerce .baish-stocklist-archive__main ul.products,
body.woocommerce-page .baish-stocklist-archive__main ul.products {
  margin-top: 0.5rem;
}

body.woocommerce .baish-stocklist-archive__main .woocommerce-pagination,
body.woocommerce-page .baish-stocklist-archive__main .woocommerce-pagination {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border, #e5e7eb);
}

/* -------------------------------------------------------------------------
   Single product: Car Dealer 5–style description (matches clone #car_description_v1;
   fallback when product_details.min CSS is not enqueued from BIASH).
   ------------------------------------------------------------------------- */
body.single-product #car_description_v1,
body.woocommerce-page.single-product #car_description_v1 {
  width: 100%;
  clear: both;
}

/* No background color or image on description (overrides clone product_details). */
body.single-product #car_description_v1 .car_description_section.baish-car-desc--no-bg,
body.woocommerce-page.single-product #car_description_v1 .car_description_section.baish-car-desc--no-bg {
  position: relative;
  width: 100%;
  min-height: 0;
  padding-top: 60px;
  padding-bottom: 60px;
  box-sizing: border-box;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
}

body.single-product #car_description_v1 .car_description_section.baish-car-desc--no-bg::before,
body.woocommerce-page.single-product #car_description_v1 .car_description_section.baish-car-desc--no-bg::before {
  content: none !important;
  display: none !important;
}

body.single-product #car_description_v1 .car_description_section .container-center,
body.woocommerce-page.single-product #car_description_v1 .car_description_section .container-center {
  position: relative;
  z-index: 1;
}

body.single-product #car_description_v1 .car_disp_title,
body.woocommerce-page.single-product #car_description_v1 .car_disp_title {
  text-align: center;
}

body.single-product #car_description_v1 .desc_title h1,
body.woocommerce-page.single-product #car_description_v1 .desc_title h1 {
  margin: 0 0 0.35em;
  font-size: clamp(1.5rem, 4vw, 1.875rem);
  font-weight: 400;
  line-height: 1.2;
  color: #111;
}

body.single-product #car_description_v1 .desc_title h1 strong,
body.woocommerce-page.single-product #car_description_v1 .desc_title h1 strong {
  font-weight: 700;
}

body.single-product #car_description_v1 .desc_title h2,
body.woocommerce-page.single-product #car_description_v1 .desc_title h2 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.5;
  text-transform: uppercase;
  color: #111;
}

body.single-product #car_description_v1 .disp_text,
body.woocommerce-page.single-product #car_description_v1 .disp_text {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding-top: 1.25rem;
  text-align: center;
  color: #111;
  font-size: 15px;
  line-height: 1.75;
  word-break: break-word;
  box-sizing: border-box;
}

body.single-product #car_description_v1 .disp_text p,
body.woocommerce-page.single-product #car_description_v1 .disp_text p {
  margin: 0 0 1em;
}

body.single-product #car_description_v1 .disp_text ul,
body.woocommerce-page.single-product #car_description_v1 .disp_text ul {
  margin: 1em auto 0;
  padding: 0;
  list-style: none;
  text-align: left;
  max-width: 720px;
}

body.single-product #car_description_v1 .disp_text ul li,
body.woocommerce-page.single-product #car_description_v1 .disp_text ul li {
  position: relative;
  padding: 0.35em 0 0.35em 1.25em;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

body.single-product #car_description_v1 .disp_text ul li::before,
body.woocommerce-page.single-product #car_description_v1 .disp_text ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.85em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3175ac;
}

body.single-product .at_descfeatdiv,
body.woocommerce-page.single-product .at_descfeatdiv {
  display: none !important;
}

/* Single summary: CD5 / Approved Cars stock list (#product_list_v2) — .text-info-inner > .list-group-info.product-list-inner > ul.details-list */
body.single-product .summary .baish-summary-details-wrap,
body.woocommerce-page.single-product .summary .baish-summary-details-wrap {
  display: flow-root;
  width: 100%;
  margin: 0 0 1rem;
  box-sizing: border-box;
}

body.single-product .summary .baish-summary-details-wrap .list-group-info,
body.woocommerce-page.single-product .summary .baish-summary-details-wrap .list-group-info {
  width: 100%;
}

body.single-product .summary .baish-summary-details-wrap .details-list,
body.woocommerce-page.single-product .summary .baish-summary-details-wrap .details-list {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0 auto 0;
  padding: 0;
  list-style: none;
  text-align: center;
  font-size: 15px;
  line-height: 1.35;
  color: #262626;
  box-sizing: border-box;
}

body.single-product .summary .baish-summary-details-wrap .details-list li,
body.woocommerce-page.single-product .summary .baish-summary-details-wrap .details-list li {
  position: relative;
  display: inline-block;
  vertical-align: top;
  width: 46%;
  max-width: calc(50% - 14px);
  margin: 7px;
  padding: 8px 10px;
  box-sizing: border-box;
  text-align: left;
  background-color: #fff;
  border: 1px solid #c4c4c4;
  border-radius: 0;
}

body.single-product .summary .baish-summary-details-wrap .details-list li strong,
body.woocommerce-page.single-product .summary .baish-summary-details-wrap .details-list li strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 22px;
  margin-right: 6px;
  vertical-align: middle;
}

body.single-product .summary .baish-summary-details-wrap .details-list li strong svg,
body.woocommerce-page.single-product .summary .baish-summary-details-wrap .details-list li strong svg {
  display: block;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  fill: #03b1d6;
}

body.single-product .summary .baish-summary-details-wrap .details-list li strong svg *,
body.woocommerce-page.single-product .summary .baish-summary-details-wrap .details-list li strong svg * {
  fill: #03b1d6;
}

body.single-product .summary .baish-summary-details-wrap .details-list li strong .fa,
body.woocommerce-page.single-product .summary .baish-summary-details-wrap .details-list li strong .fa {
  font-size: 17px;
  line-height: 1;
  color: #03b1d6;
}

@media (max-width: 480px) {
  body.single-product .summary .baish-summary-details-wrap .details-list li,
  body.woocommerce-page.single-product .summary .baish-summary-details-wrap .details-list li {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
}

/* Keep add-to-cart / meta below floated details chips */
body.single-product div.product form.cart,
body.woocommerce-page.single-product div.product form.cart,
body.single-product div.product .product_meta,
body.woocommerce-page.single-product div.product .product_meta {
  clear: both;
  position: relative;
  z-index: 1;
}

/* Reserve / add to cart (single product) — CD5-style block button */
body.single-product div.product form.cart .single_add_to_cart_button.button,
body.woocommerce-page.single-product div.product form.cart .single_add_to_cart_button.button {
  display: block;
  width: 95% !important;
  position: relative;
  z-index: 1;
  margin: auto;
  background-color: #fff;
  border: 1px solid #000;
  color: #000;
  font-family: 'poppinssemibold', 'Poppins', sans-serif;
  padding: 8px 8px;
  text-align: center;
  box-shadow: 3px 3px 9px #999;
  font-size: 20px;
  line-height: 90%;
  transition: 0.3s;
  box-sizing: border-box;
  cursor: pointer;
  text-decoration: none;
  border-radius: 0;
}

body.single-product div.product form.cart .single_add_to_cart_button.button,
body.woocommerce-page.single-product div.product form.cart .single_add_to_cart_button.button:hover {
  background-color: #000;
border: 1px solid #000;
color: #fff;
}

/* Shop / category loop: same Reserve block style as single product (.add_to_cart_button link) */
body.woocommerce:not(.single-product) ul.products li.product a.button.add_to_cart_button,
body.woocommerce-page:not(.single-product) ul.products li.product a.button.add_to_cart_button {
  display: block;
  width: 95% !important;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  background-color: #fff;
  border: 1px solid #000;
  color: #000;
  font-family: 'poppinssemibold', 'Poppins', sans-serif;
  padding: 8px 8px;
  text-align: center;
  box-shadow: 3px 3px 9px #999;
  font-size: 20px;
  line-height: 90%;
  transition: 0.3s;
  box-sizing: border-box;
  cursor: pointer;
  text-decoration: none;
  border-radius: 0;
}

body.woocommerce:not(.single-product) ul.products li.product a.button.add_to_cart_button:hover,
body.woocommerce-page:not(.single-product) ul.products li.product a.button.add_to_cart_button:hover {
  background-color: #000;
  border: 1px solid #000;
  color: #fff;
  text-decoration: none;
}

body.single-product .summary .baish-summary-details-wrap .details-list li,
body.woocommerce-page.single-product .summary .baish-summary-details-wrap .details-list li {
  margin-left: 0 !important;
}

/* Product price: show sale/current amount only; comfortable line height */
body.woocommerce .price del,
body.woocommerce-page .price del {
  display: none !important;
}

body.woocommerce .price,
body.woocommerce-page .price {
  line-height: 150%;
}

/* Checkout: full-width wrapper, no horizontal bleed; classic shortcode form stacks on small screens */
body.woocommerce-checkout .baish-woocommerce--wp-page,
body.woocommerce-page.woocommerce-checkout .baish-woocommerce--wp-page {
  max-width: 100%;
  box-sizing: border-box;
  padding-left: max(12px, env(safe-area-inset-left));
  padding-right: max(12px, env(safe-area-inset-right));
}

body.woocommerce-checkout form.checkout.woocommerce-checkout::after,
body.woocommerce-page.woocommerce-checkout form.checkout.woocommerce-checkout::after {
  content: '';
  display: table;
  clear: both;
}

@media (max-width: 768px) {
  body.woocommerce-checkout form.checkout.woocommerce-checkout .col2-set,
  body.woocommerce-page.woocommerce-checkout form.checkout.woocommerce-checkout .col2-set,
  body.woocommerce-checkout form.checkout.woocommerce-checkout #order_review_heading,
  body.woocommerce-page.woocommerce-checkout form.checkout.woocommerce-checkout #order_review_heading,
  body.woocommerce-checkout form.checkout.woocommerce-checkout #order_review,
  body.woocommerce-page.woocommerce-checkout form.checkout.woocommerce-checkout #order_review {
    width: 100% !important;
    float: none !important;
    margin-right: 0 !important;
    clear: both !important;
  }
}

/*
 * Checkout: hide quantity UI/labels; show sale/current price only (hide regular / strikethrough).
 * Blocks: order summary + cart line-items table on checkout.
 */
body.woocommerce-checkout .wc-block-components-order-summary-item__quantity,
body.woocommerce-page.woocommerce-checkout .wc-block-components-order-summary-item__quantity {
  display: none !important;
}

/* Blocks checkout line-items table: quantity column header + stepper (keeps remove link if present alone) */
body.woocommerce-checkout table.wc-block-cart-items thead .wc-block-cart-items__header-quantity,
body.woocommerce-page.woocommerce-checkout table.wc-block-cart-items thead .wc-block-cart-items__header-quantity {
  display: none !important;
}

body.woocommerce-checkout table.wc-block-cart-items .wc-block-components-quantity-selector,
body.woocommerce-page.woocommerce-checkout table.wc-block-cart-items .wc-block-components-quantity-selector {
  display: none !important;
}

/* Blocks order summary + line items: regular price / del / s */
body.woocommerce-checkout .wc-block-components-order-summary .wc-block-components-product-price del,
body.woocommerce-page.woocommerce-checkout .wc-block-components-order-summary .wc-block-components-product-price del,
body.woocommerce-checkout .wc-block-components-order-summary .wc-block-components-product-price s,
body.woocommerce-page.woocommerce-checkout .wc-block-components-order-summary .wc-block-components-product-price s {
  display: none !important;
}

body.woocommerce-checkout .wc-block-components-order-summary-item__regular-individual-price,
body.woocommerce-page.woocommerce-checkout .wc-block-components-order-summary-item__regular-individual-price {
  display: none !important;
}

body.woocommerce-checkout .wc-block-components-order-summary-item__total-price .wc-block-components-product-price del,
body.woocommerce-page.woocommerce-checkout .wc-block-components-order-summary-item__total-price .wc-block-components-product-price del,
body.woocommerce-checkout .wc-block-components-order-summary-item__total-price .wc-block-components-product-price s,
body.woocommerce-page.woocommerce-checkout .wc-block-components-order-summary-item__total-price .wc-block-components-product-price s {
  display: none !important;
}

body.woocommerce-checkout table.wc-block-cart-items .wc-block-cart-item__prices del,
body.woocommerce-page.woocommerce-checkout table.wc-block-cart-items .wc-block-cart-item__prices del,
body.woocommerce-checkout table.wc-block-cart-items .wc-block-cart-item__prices s,
body.woocommerce-page.woocommerce-checkout table.wc-block-cart-items .wc-block-cart-item__prices s,
body.woocommerce-checkout table.wc-block-cart-items .wc-block-cart-item__total del,
body.woocommerce-page.woocommerce-checkout table.wc-block-cart-items .wc-block-cart-item__total del,
body.woocommerce-checkout table.wc-block-cart-items .wc-block-cart-item__total s,
body.woocommerce-page.woocommerce-checkout table.wc-block-cart-items .wc-block-cart-item__total s {
  display: none !important;
}

/* Classic shortcode checkout order review */
body.woocommerce-checkout table.woocommerce-checkout-review-order-table th.product-quantity,
body.woocommerce-checkout table.woocommerce-checkout-review-order-table td.product-quantity,
body.woocommerce-page.woocommerce-checkout table.woocommerce-checkout-review-order-table th.product-quantity,
body.woocommerce-page.woocommerce-checkout table.woocommerce-checkout-review-order-table td.product-quantity {
  display: none !important;
}

body.woocommerce-checkout #order_review del,
body.woocommerce-checkout #order_review s,
body.woocommerce-page.woocommerce-checkout #order_review del,
body.woocommerce-page.woocommerce-checkout #order_review s {
  display: none !important;
}

body.woocommerce-checkout #order_review .product-name .product-quantity,
body.woocommerce-page.woocommerce-checkout #order_review .product-name .product-quantity {
  display: none !important;
}


.wc-block-components-order-summary .wc-block-components-order-summary-item__quantity{
  display: none !important;
}
/* WooCommerce Blocks checkout */
body.woocommerce-checkout .wc-block-components-sidebar-layout,
body.woocommerce-page.woocommerce-checkout .wc-block-components-sidebar-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  max-width: 100%;
  box-sizing: border-box;
}

body.woocommerce-checkout .wc-block-components-sidebar-layout .wc-block-components-main,
body.woocommerce-checkout .wc-block-components-sidebar-layout .wc-block-components-sidebar,
body.woocommerce-page.woocommerce-checkout .wc-block-components-sidebar-layout .wc-block-components-main,
body.woocommerce-page.woocommerce-checkout .wc-block-components-sidebar-layout .wc-block-components-sidebar {
  flex: 1 1 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

@media (min-width: 960px) {
  body.woocommerce-checkout .wc-block-components-sidebar-layout,
  body.woocommerce-page.woocommerce-checkout .wc-block-components-sidebar-layout {
    flex-wrap: nowrap;
    align-items: flex-start;
  }

  body.woocommerce-checkout .wc-block-components-sidebar-layout .wc-block-components-main,
  body.woocommerce-page.woocommerce-checkout .wc-block-components-sidebar-layout .wc-block-components-main {
    flex: 1 1 58%;
  }

  body.woocommerce-checkout .wc-block-components-sidebar-layout .wc-block-components-sidebar,
  body.woocommerce-page.woocommerce-checkout .wc-block-components-sidebar-layout .wc-block-components-sidebar {
    flex: 1 1 38%;
  }
}