/* =========================================
   BASE STYLES – MOBILE FIRST (up to 599px)
   ========================================= */

/* Page background and container */
#single-product-core-body {
  padding: 160px 0 60px;
  background-color: #239ebb;
}

#single-product-core-body .et_pb_row_0_tb_body {
  max-width: 1200px;
  margin: 0 auto;
}

/* Gallery and info columns – stack by default (Divi handles 100% width) */
#single-product-gallery-column {
  margin-bottom: 0;
}

/* Info column card */
#single-product-info-column {
  background-color: #ffffff;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  padding: 5px 18px 40px;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
}

/* =========================================
   GALLERY CARD & LAYOUT – MOBILE
   ========================================= */

#single-product-gallery .et_pb_module_inner {
  position: relative;
  background-color: #ffffff;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  padding: 18px;
  padding-bottom: 26px; /* space for dots */
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
}

/* Thumbs + main image wrapper */
#single-product-gallery .bc-vertical-wrapper {
  display: flex;
  align-items: stretch;
  column-gap: 16px;
  position: relative; /* reference for arrows and dots */
}

/* Thumbnails column */
#single-product-gallery .bc-vertical-slider-nav {
  flex: 0 0 120px;
  overflow: visible;
}

#single-product-gallery .bc-vertical-slider-nav .slick-slide {
  margin: 0;
  padding: 3px 0px;
}
#single-product-gallery .bc-vertical-slider-nav .slick-slide>div {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 17px;
}
#single-product-gallery .bc-vertical-slider-nav .slick-slide img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 2px solid transparent;
  object-fit: cover;
}

/* Active thumbnail */
#single-product-gallery .bc-vertical-slider-nav .slick-slide.slick-current img,
#single-product-gallery .bc-vertical-slider-nav .slick-slide.slick-center img {
  border-color: #fb8500;
  box-shadow: 0 0 0 1px rgba(251, 133, 0, 0.35);
}

/* Main image slider */
#single-product-gallery .bc-vertical-slider-for {
  flex: 1;
  position: relative;
  margin-bottom: 0;
}

#single-product-gallery .woocommerce-product-gallery__image img,
#single-product-gallery .bodycommerce-slider-cont img,
#single-product-gallery .single-product-main-image img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  object-fit: cover;
}

#single-product-gallery .woocommerce-product-gallery__image .large,
#single-product-gallery .bodycommerce-slider-cont .large {
  border-radius: 18px;
}

/* =========================================
   ARROWS – MOBILE
   ========================================= */

/* Use nav slider arrows but place them over the main image area */
#single-product-gallery .bc-vertical-slider-nav .slick-prev,
#single-product-gallery .bc-vertical-slider-nav .slick-next {
  position: absolute;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 30;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background-color: #fb8500;
  background-image: linear-gradient(180deg, #fb8500 0%, #f44603 100%);
  box-shadow: 0 16px 44px rgba(244, 70, 3, 0.18);
  font-size: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Left arrow – just after thumbs (120px) plus small gap */
#single-product-gallery .bc-vertical-slider-nav .slick-prev {
  left: 120% !important;
}

/* Right arrow – near right edge of gallery card */
#single-product-gallery .bc-vertical-slider-nav .slick-next {
  left: 425% !important;
}

/* Arrow chevrons */
#single-product-gallery .bc-vertical-slider-nav .slick-prev::before,
#single-product-gallery .bc-vertical-slider-nav .slick-next::before {
  content: "";
  width: 8px;
  height: 8px;
  border-top: 2px solid #ffffff;
  border-right: 2px solid #ffffff;
  transform-origin: center;
}

#single-product-gallery .bc-vertical-slider-nav .slick-prev::before {
  transform: rotate(-135deg);
  top: 10px;
  left: 12px;
}

#single-product-gallery .bc-vertical-slider-nav .slick-next::before {
  transform: rotate(45deg);
  right: 11px;
  bottom: 10px;
}

/* Hover state */
#single-product-gallery .bc-vertical-slider-nav .slick-prev:hover,
#single-product-gallery .bc-vertical-slider-nav .slick-next:hover {
  background-image: linear-gradient(180deg, #ff9630 0%, #ff5a1e 100%);
  box-shadow: 0 18px 50px rgba(244, 70, 3, 0.24);
}

/* =========================================
   DOTS – MOBILE (under main image)
   ========================================= */

#single-product-gallery .bc-vertical-slider-nav .slick-dots {
  position: absolute !important;
  left: 245% !important;   /* aligned with main image */
  bottom: -20px !important;
  z-index: 25;
  display: flex !important;
  justify-content: center;
  gap: 6px;
  padding: 0;
}

/* Reset dot list items */
#single-product-gallery .bc-vertical-slider-nav .slick-dots li {
  margin: 0;
}

/* Dot buttons */
#single-product-gallery .bc-vertical-slider-nav .slick-dots li button {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  padding: 0;
  font-size: 0;
  background: #e5e7eb !important;
}

/* Active dot */
#single-product-gallery .bc-vertical-slider-nav .slick-dots li.slick-active button {
  background: #fb8500 !important;
}

/* =========================================
   BREADCRUMBS – MOBILE
   ========================================= */

#single-product-breadcrumbs nav.woocommerce-breadcrumb {
  font-size: 11px;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-family: inherit;
}

#single-product-breadcrumbs .breadcrumb-item a {
  color: #9ca3af;
  text-decoration: none;
}

#single-product-breadcrumbs .breadcrumb-item a:hover {
  color: #111827;
}

/* Replace "/" with ">" */
#single-product-breadcrumbs .delimiter {
  font-size: 0;
}

#single-product-breadcrumbs .delimiter::before {
  content: ">";
  font-size: 11px;
  padding: 0 0.35em;
  color: #d1d5db;
}

/* Last breadcrumb item */
#single-product-breadcrumbs .breadcrumb-item:last-child {
  color: #111827;
}

/* =========================================
   TITLE & PRICE – MOBILE
   ========================================= */

#single-product-info-column .et_pb_module {
  margin-bottom: 18px;
}

#single-product-title .product_title {
  font-size: 22px;
  line-height: 1.2;
  font-weight: 700;
  color: #111827;
  margin: 0 0 8px;
  font-family: inherit;
}

#single-product-price .price {
  font-size: 18px;
  font-weight: 600;
  color: #111827;
  margin: 0 0 16px;
}

#single-product-price .woocommerce-Price-amount bdi {
  font-size: 22px;
  font-weight: 700;
}

#single-product-price .woocommerce-Price-currencySymbol {
  font-size: 15px;
}

/* =========================================
   INFO BOXES – MOBILE
   ========================================= */

#modifications-product-tab .et_pb_code_inner {
  position: relative;
  margin-top: 12px;
  padding: 16px 18px;
  border-radius: 16px;
  background-color: #fff7eb;
  border-left: 4px solid #fb8500;
}

#modifications-product-tab .et_pb_code_inner strong {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #9ca3af;
  margin-bottom: 4px;
  font-family: inherit;
}

#modifications-product-tab .et_pb_code_inner p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #4b5563;
}

#modifications-product-tab .et_pb_code_inner p span {
  font-weight: 600;
}

#assembly-product-tab .et_pb_code_inner {
  margin-top: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  background-color: #f3f4f6;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.5;
}

/* =========================================
   ADD TO CART – MOBILE
   ========================================= */

#single-product-add-to-cart .cart {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
}

#single-product-add-to-cart .quantity {
  max-width: 100%;
}

#single-product-add-to-cart .quantity .qty {
  width: 100%;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  font-size: 14px;
  text-align: center;
  font-family: inherit;
  color: #111827;
}

/* Main CTA button – header-like gradient */
#single-product-add-to-cart .single_add_to_cart_button {
  text-align: center;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background-color: #fb8500;
  background-image: linear-gradient(180deg, #fb8500 0%, #f44603 100%);
  color: #ffffff;
  box-shadow: 0 16px 44px rgba(244, 70, 3, 0.18);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background-image 0.15s ease;
  font-family: inherit;
}

#single-product-add-to-cart .single_add_to_cart_button:hover {
  transform: translateY(-1px);
  background-image: linear-gradient(180deg, #ff9630 0%, #ff5a1e 100%);
  box-shadow: 0 18px 50px rgba(244, 70, 3, 0.24);
}

/* =========================================
   DESCRIPTIONS – MOBILE
   ========================================= */

#single-product-smalldescription .woocommerce-product-details__short-description,
#single-product-description .woocommerce-product-details__short-description {
  font-size: 14px;
  line-height: 1.7;
  color: #4b5563;
  font-family: inherit;
}

#single-product-smalldescription .woocommerce-product-details__short-description p,
#single-product-description .woocommerce-product-details__short-description p {
  margin-bottom: 6px;
}

/* Short desc under button */
#single-product-smalldescription {
  margin-top: 6px;
}

/* Long desc separated */
#single-product-description {
  margin-top: 32px;
  border-top: 1px solid #e5e7eb;
  padding-top: 24px;
}

#single-product-core-body .woocommerce-product-details__short-description strong {
  font-weight: 600;
  color: #111827;
}

/* =========================================
   MIN-WIDTH 600PX – TABLET SMALL / PHABLET
   ========================================= */

@media (min-width: 600px) {
  #single-product-core-body {
    padding: 50px 0 70px;
  }

  #single-product-core-body .et_pb_row_0_tb_body {
    /* padding: 0 24px; */
  }

  #single-product-gallery .et_pb_module_inner {
    border-radius: 22px;
    padding: 20px;
    padding-bottom: 42px;
    box-shadow: 0 6px 22px rgba(15, 23, 42, 0.05);
  }

  #single-product-info-column {
    border-radius: 22px;
    padding: 20px 22px 42px;
    box-shadow: 0 6px 22px rgba(15, 23, 42, 0.05);
  }

  /* Slightly larger thumbs on wider mobile/tablet */
  #single-product-gallery .bc-vertical-slider-nav {
    flex: 0 0 130px;
  }

  /* Adjust arrows and dots accordingly */
  #single-product-gallery .bc-vertical-slider-nav .slick-prev {
    /* left: 150px; */
  }

  #single-product-gallery .bc-vertical-slider-nav .slick-next {
    right: 18px;
  }

  #single-product-gallery .bc-vertical-slider-nav .slick-dots {
    /* left: 150px !important; */
    /* right: 18px !important; */
    /* bottom: 10px !important; */
  }

  #single-product-title .product_title {
    font-size: 24px;
  }

  #single-product-price .price {
    font-size: 19px;
  }

  #single-product-price .woocommerce-Price-amount bdi {
    font-size: 23px;
  }
}

/* =========================================
   MIN-WIDTH 981PX – DESKTOP
   ========================================= */

.zc-stock-notifier {
  margin: 22px 0 28px;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid rgba(25, 151, 179, 0.2);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 14px 32px rgba(15, 77, 95, 0.1);
}

.zc-stock-notifier__status {
  margin: 0 0 8px;
  color: #f16622;
  font-size: clamp(19px, 2vw, 23px);
  font-weight: 700;
  line-height: 1.25;
}

.zc-stock-notifier__intro {
  max-width: 620px;
  margin: 0 0 20px;
  color: #315369;
  font-size: 16px;
  line-height: 1.55;
}

.zc-stock-notifier__variation[hidden],
.zc-stock-notifier[hidden] {
  display: none !important;
}

/* Back In Stock Notifier: scoped replacement for the plugin's default blue UI. */
#single-product-stock-notifier .cwginstock-subscribe-form {
  max-width: 680px;
}

#single-product-stock-notifier .cwginstock-panel-primary {
  overflow: hidden;
  border: 1px solid #d8eaf0;
  border-radius: 15px;
  background: #f8fcfd;
  box-shadow: none;
}

#single-product-stock-notifier .cwginstock-panel-heading {
  padding: 0;
  border: 0;
  background: transparent;
}

#single-product-stock-notifier .cwginstock-panel-heading h4 {
  margin: 0;
  padding: 15px 20px;
  background: #168ca6;
  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.35;
}

#single-product-stock-notifier .cwginstock-panel-body {
  padding: 22px;
  background: transparent;
}

#single-product-stock-notifier .cwginstock-panel-body .row,
#single-product-stock-notifier .cwginstock-panel-body .col-md-12 {
  margin: 0;
  padding: 0;
}

#single-product-stock-notifier .cwginstock-subscribe-form__form > .form-group:first-child {
  display: grid;
  gap: 12px;
  margin: 0 0 16px;
}

#single-product-stock-notifier .cwginstock-panel-body input[type='text'],
#single-product-stock-notifier .cwginstock-panel-body input[type='email'] {
  width: 100% !important;
  min-height: 48px;
  margin: 0;
  padding: 12px 15px;
  border: 1px solid #b9dce5;
  border-radius: 10px;
  background: #ffffff;
  color: #173f52;
  font: inherit;
  text-align: left !important;
  box-shadow: none;
}

#single-product-stock-notifier .cwginstock-panel-body input::placeholder {
  color: #668493;
  opacity: 1;
}

#single-product-stock-notifier .cwginstock-panel-body input[type='text']:focus,
#single-product-stock-notifier .cwginstock-panel-body input[type='email']:focus {
  border-color: #168ca6;
  outline: 3px solid rgba(22, 140, 166, 0.16);
  outline-offset: 1px;
}

#single-product-stock-notifier .cwg_iagree_checkbox {
  margin: 0 0 18px;
}

#single-product-stock-notifier .cwg_iagree_checkbox label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #365565;
  font-size: 14px;
  line-height: 1.45;
}

#single-product-stock-notifier .cwg_iagree_checkbox input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: #f16622;
}

#single-product-stock-notifier .cwgstock_button {
  width: 100%;
  min-height: 48px;
  padding: 12px 20px;
  border: 0;
  border-radius: 999px;
  background: #ff6b00;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  transition: background-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

#single-product-stock-notifier .cwgstock_button:hover {
  background: #e85b00;
  box-shadow: 0 8px 18px rgba(232, 91, 0, 0.24);
  transform: translateY(-1px);
}

#single-product-stock-notifier .cwgstock_button:focus-visible {
  outline: 3px solid rgba(22, 140, 166, 0.35);
  outline-offset: 3px;
}

#single-product-stock-notifier .cwgstock_output {
  margin-top: 12px;
  color: #285468;
  font-size: 14px;
  line-height: 1.45;
}

@media (min-width: 600px) {
  #single-product-stock-notifier .cwginstock-subscribe-form__form > .form-group:first-child {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.zc-ajax-product-card--outofstock {
  position: relative;
}

.zc-product-stock-badge {
  position: absolute;
  z-index: 3;
  top: 12px;
  left: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #6b7280;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

@media (min-width: 981px) {
  #single-product-core-body {
    padding: 60px 0 80px;
  }

  #single-product-core-body .et_pb_row_0_tb_body {
    padding: 0;
    display: flex;
    gap: 56px;
    align-items: flex-start;
  }

  #single-product-gallery-column {
    flex: 0 0 58%;
    margin-bottom: 0;
  }

  #single-product-info-column {
    flex: 0 0 42%;
    border-radius: 24px;
    padding: 24px 28px 28px;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05);
  }

  #single-product-gallery .et_pb_module_inner {
    border-radius: 24px;
    padding: 24px;
    padding-bottom: 44px;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
  }

  /* Larger thumbs for desktop */
  #single-product-gallery .bc-vertical-slider-nav {
    flex: 0 0 150px;
  }

  /* Arrows reposition for wider layout */
  #single-product-gallery .bc-vertical-slider-nav .slick-prev {
    left: 170px;
  }

  #single-product-gallery .bc-vertical-slider-nav .slick-next {
    right: 24px;
  }

  #single-product-gallery .bc-vertical-slider-nav .slick-dots {
    left: 170px !important;
    right: 24px !important;
    bottom: 12px !important;
  }

  #single-product-title .product_title {
    font-size: 26px;
  }

  #single-product-price .price {
    font-size: 20px;
  }

  #single-product-price .woocommerce-Price-amount bdi {
    font-size: 24px;
  }

  /* Quantity + button side by side on desktop */
  #single-product-add-to-cart .cart {
    flex-direction: row;
    align-items: center;
  }

  #single-product-add-to-cart .quantity {
    max-width: 80px;
  }
}
