/* ===================================================================
   KIFF CANDLES — Single Product Page CSS
   Styles WooCommerce single product template (works with Elementor Pro
   WooCommerce widgets or the default Woo single template)
   =================================================================== */

.woocommerce div.product, body.single-product .site-main {
  padding: 40px 0 60px;
  max-width: 1100px;
  margin: 0 auto;
}

/* Breadcrumbs */
.woocommerce-breadcrumb {
  padding: 24px 32px 0 !important;
  font-size: 13px !important;
  color: var(--kiff-muted) !important;
  max-width: 1100px;
  margin: 0 auto 30px;
}
.woocommerce-breadcrumb a {
  color: var(--kiff-navy) !important;
  font-weight: 500;
  text-decoration: none;
}
.woocommerce-breadcrumb a:hover { color: var(--kiff-crimson) !important; }

/* Two-column layout */
.woocommerce div.product div.images { width: 48% !important; }
.woocommerce div.product div.summary { width: 48% !important; }

/* Main image */
.woocommerce div.product div.images .woocommerce-product-gallery__image {
  aspect-ratio: 1/1;
  border-radius: 24px;
  background: var(--kiff-peach);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.woocommerce div.product div.images img {
  max-width: 100%; max-height: 100%; object-fit: contain;
  width: auto !important; height: auto !important;
}

/* Per-category background tint (adds category class to body) */
body.product_cat-complex  .woocommerce-product-gallery__image { background: #E2EED4; }
body.product_cat-dude     .woocommerce-product-gallery__image { background: var(--kiff-cream-deep); }
body.product_cat-fancy    .woocommerce-product-gallery__image { background: #DEC7EE; }
body.product_cat-hippie   .woocommerce-product-gallery__image { background: #FCD9C0; }
body.product_cat-novelty  .woocommerce-product-gallery__image { background: #FBEDB3; }
body.product_cat-rom      .woocommerce-product-gallery__image { background: #F0C8D3; }
body.product_cat-standard .woocommerce-product-gallery__image { background: var(--kiff-cream-deep); }
body.product_cat-adult    .woocommerce-product-gallery__image { background: var(--kiff-cream-deep); }

/* Product category label above title */
.woocommerce div.product .posted_in {
  display: block;
  color: var(--kiff-crimson) !important;
  font-size: 12px !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}
.woocommerce div.product .posted_in a {
  color: var(--kiff-crimson) !important;
  text-decoration: none;
}

/* Product title */
.woocommerce div.product .product_title {
  font-family: 'Unbounded', sans-serif !important;
  font-size: clamp(32px, 4vw, 48px) !important;
  color: var(--kiff-navy) !important;
  line-height: 1.1 !important;
  margin: 0 0 14px !important;
}

/* Price */
.woocommerce div.product p.price, .woocommerce div.product span.price {
  font-size: 28px !important;
  color: var(--kiff-crimson) !important;
  font-weight: 700 !important;
  margin: 0 0 20px !important;
}

/* Short description */
.woocommerce div.product .woocommerce-product-details__short-description {
  font-size: 17px;
  color: var(--kiff-ink);
  line-height: 1.6;
  margin-bottom: 24px;
}

/* Variations (colour / scent) */
.woocommerce div.product .variations { margin-bottom: 20px; }
.woocommerce div.product .variations label {
  font-size: 12px !important;
  font-weight: 700 !important;
  color: var(--kiff-navy) !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: 'Inter', sans-serif;
}
.woocommerce div.product .variations select {
  border: 2px solid rgba(16,80,112,0.15) !important;
  border-radius: 100px;
  padding: 10px 18px;
  background: var(--kiff-cream-deep);
  color: var(--kiff-navy);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}

/* Quantity input */
.woocommerce .quantity {
  border: 2px solid var(--kiff-navy);
  border-radius: 100px;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  margin-right: 12px;
}
.woocommerce .quantity input.qty {
  border: none !important;
  background: transparent !important;
  width: 50px !important;
  text-align: center;
  font-weight: 600;
  color: var(--kiff-navy);
  padding: 10px 0 !important;
}

/* Add to cart button */
.woocommerce div.product .single_add_to_cart_button,
.woocommerce button.button.alt {
  background: var(--kiff-crimson) !important;
  color: var(--kiff-cream) !important;
  border-radius: 100px !important;
  padding: 14px 32px !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  border: none !important;
  transition: background 0.2s, transform 0.15s;
}
.woocommerce div.product .single_add_to_cart_button:hover {
  background: var(--kiff-crimson-deep) !important;
  transform: translateY(-1px);
}

/* Product meta (SKU, categories, tags) */
.woocommerce div.product .product_meta {
  border-top: 1px solid rgba(16,80,112,0.15);
  padding-top: 20px;
  margin-top: 28px;
  font-size: 13px;
  color: var(--kiff-muted);
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.woocommerce div.product .product_meta > span { display: block; }
.woocommerce div.product .product_meta strong, .woocommerce div.product .product_meta .sku_wrapper {
  color: var(--kiff-navy);
  font-weight: 600;
}

/* Tabs section (description, reviews) */
.woocommerce div.product .woocommerce-tabs {
  margin-top: 50px;
  max-width: 1100px;
  padding: 0 32px;
}
.woocommerce div.product .woocommerce-tabs ul.tabs {
  border-bottom: 2px solid rgba(16,80,112,0.15) !important;
  margin-bottom: 30px !important;
  padding: 0 !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li { border: none !important; background: transparent !important; border-radius: 0 !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  font-family: 'Unbounded', sans-serif !important;
  color: var(--kiff-muted) !important;
  font-weight: 500 !important;
  padding: 12px 4px !important;
  margin-right: 30px;
  font-size: 15px !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover {
  color: var(--kiff-navy) !important;
  border-bottom: 2px solid var(--kiff-crimson) !important;
}

/* Related products */
.woocommerce .related > h2, .woocommerce .upsells.products > h2 {
  font-family: 'Unbounded', sans-serif !important;
  color: var(--kiff-navy) !important;
  font-size: 28px !important;
  text-align: center;
  margin: 60px 0 30px !important;
}

/* Responsive */
@media (max-width: 800px) {
  .woocommerce div.product div.images,
  .woocommerce div.product div.summary { width: 100% !important; }
}
