/* =========================================================
   SINGLE PRODUCT PAGE - FINAL CLEAN LAYOUT
========================================================= */

body.single-product {
  background: #f4f7fa !important;
}

body.single-product .woocommerce {
  max-width: 1180px !important;
  margin: 0 auto !important;
  padding: 46px 24px 70px !important;
}

/* Main image + info layout */
body.single-product .dpp-single-product-layout {
  display: grid !important;
  grid-template-columns: 460px minmax(0, 1fr) !important;
  gap: 48px !important;
  align-items: start !important;
  width: 100% !important;
}

/* Fallback if wrapper does not load */
body.single-product .woocommerce div.product {
  margin: 0 !important;
  padding: 0 !important;
}

/* Remove WooCommerce floats */
body.single-product div.product div.images,
body.single-product div.product div.summary {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  clear: none !important;
}

/* Product image */
body.single-product div.product div.images {
  background: #ffffff !important;
  border: 1px solid rgba(16, 24, 33, 0.08) !important;
  box-shadow: 0 14px 34px rgba(16, 24, 33, 0.06) !important;
}

body.single-product div.product div.images img {
  display: block !important;
  width: 100% !important;
  height: 430px !important;
  max-height: 430px !important;
  padding: 30px !important;
  object-fit: contain !important;
  object-position: center !important;
  background: #ffffff !important;
}

/* Product info */
body.single-product div.product div.summary {
  padding-top: 6px !important;
}

/* Title */
body.single-product .product_title {
  max-width: 540px !important;
  margin: 0 0 18px !important;
  color: #101821 !important;
  font-size: clamp(2rem, 3vw, 3.1rem) !important;
  line-height: 1.05 !important;
  letter-spacing: -0.035em !important;
  font-weight: 900 !important;
}

/* Price - removes gold */
body.single-product div.product p.price,
body.single-product div.product span.price,
body.single-product div.product p.price *,
body.single-product div.product span.price *,
body.single-product .price,
body.single-product .price * {
  color: #101821 !important;
  font-size: 1.1rem !important;
  font-weight: 800 !important;
}

/* Stock */
body.single-product div.product .stock,
body.single-product div.product .stock * {
  color: #315f2e !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
}

/* Add to cart row */
body.single-product div.product form.cart {
  display: flex !important;
  align-items: stretch !important;
  gap: 10px !important;
  margin: 24px 0 30px !important;
}

body.single-product div.product form.cart .quantity {
  margin: 0 !important;
  height: 48px !important;
}

body.single-product div.product form.cart input.qty {
  width: 82px !important;
  height: 48px !important;
  min-height: 48px !important;
  border: 1px solid #101821 !important;
  background: #ffffff !important;
  color: #101821 !important;
  font-size: 1rem !important;
  font-weight: 800 !important;
  text-align: center !important;
  border-radius: 0 !important;
}

body.single-product div.product form.cart button.single_add_to_cart_button,
body.single-product .single_add_to_cart_button {
  height: 48px !important;
  min-height: 48px !important;
  padding: 0 36px !important;
  background: #101821 !important;
  border: 1px solid #101821 !important;
  color: #ffffff !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-size: 0.78rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
}

body.single-product
  div.product
  form.cart
  button.single_add_to_cart_button:hover,
body.single-product .single_add_to_cart_button:hover {
  background: #c8deef !important;
  border-color: #c8deef !important;
  color: #101821 !important;
}

/* Meta */
body.single-product .product_meta {
  margin-top: 28px !important;
  padding-top: 18px !important;
  border-top: 1px solid rgba(16, 24, 33, 0.12) !important;
  color: rgba(16, 24, 33, 0.72) !important;
  font-size: 0.9rem !important;
}

body.single-product .product_meta a {
  color: #101821 !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

/* Description */
body.single-product .woocommerce-tabs {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  margin-top: 54px !important;
  padding: 0 !important;
}

body.single-product .woocommerce-tabs ul.tabs {
  display: none !important;
}

body.single-product .woocommerce-tabs .panel {
  width: 100% !important;
  max-width: 100% !important;
  padding: 32px !important;
  background: #ffffff !important;
  border: 1px solid rgba(16, 24, 33, 0.08) !important;
  box-shadow: 0 14px 34px rgba(16, 24, 33, 0.05) !important;
}

body.single-product .woocommerce-tabs .panel h2 {
  display: none !important;
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 900px) {
  body.single-product .woocommerce {
    padding: 28px 18px 56px !important;
  }

  body.single-product .dpp-single-product-layout {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  body.single-product div.product div.images img {
    height: 330px !important;
    max-height: 330px !important;
    padding: 22px !important;
  }

  body.single-product .product_title {
    max-width: 100% !important;
    font-size: 2rem !important;
  }
}

@media (max-width: 520px) {
  body.single-product .woocommerce {
    padding: 22px 14px 48px !important;
  }

  body.single-product div.product div.images img {
    height: 250px !important;
    max-height: 250px !important;
    padding: 16px !important;
  }

  body.single-product .product_title {
    font-size: 1.65rem !important;
    line-height: 1.12 !important;
  }

  body.single-product div.product form.cart {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    gap: 10px !important;
  }

  body.single-product div.product form.cart .quantity {
    flex: 0 0 90px !important;
    width: 90px !important;
    margin: 0 !important;
  }

  body.single-product div.product form.cart input.qty {
    width: 100% !important;
    height: 50px !important;
    min-height: 50px !important;
  }

  body.single-product div.product form.cart button.single_add_to_cart_button {
    flex: 1 !important;
    width: auto !important;
    height: 50px !important;
    min-height: 50px !important;
  }

  body.single-product .woocommerce-tabs .panel {
    padding: 22px !important;
  }
}
