/* Khazarfit 4.0.2 — final single product light UI override
   Loaded after all legacy theme styles to prevent old dark product styles leaking through. */

body.single-product .site-main,
body.single-product .fl-content,
body.single-product .woocommerce,
body.single-product .woocommerce div.product{
  background:#f7faf7 !important;
  color:#14221a !important;
}

/* Product summary card */
html body.single-product .woocommerce div.product div.summary,
html body.single-product .woocommerce div.product .summary,
html body.single-product .woocommerce div.product .summary.entry-summary{
  background:#ffffff !important;
  background-image:none !important;
  color:#14221a !important;
  border:1px solid #dce6de !important;
  border-radius:22px !important;
  padding:28px !important;
  box-shadow:0 12px 34px rgba(23,75,54,.06) !important;
}
html body.single-product .woocommerce div.product .summary *,
html body.single-product .woocommerce div.product .summary.entry-summary *{
  text-shadow:none !important;
}
html body.single-product .woocommerce div.product .summary .product_title,
html body.single-product .woocommerce div.product .summary h1.product_title{
  color:#14221a !important;
  opacity:1 !important;
  font-weight:950 !important;
}
html body.single-product .woocommerce div.product .summary .price,
html body.single-product .woocommerce div.product .summary .price .amount{
  color:#2f7d55 !important;
  opacity:1 !important;
}
html body.single-product .woocommerce div.product .summary .stock{
  color:#587a62 !important;
}
html body.single-product .woocommerce div.product .summary .product_meta{
  background:#f5f9f5 !important;
  color:#627268 !important;
  border:1px solid #e0e9e1 !important;
}

/* Quantity and add-to-cart */
html body.single-product .woocommerce div.product form.cart{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}
html body.single-product .woocommerce div.product form.cart .quantity .qty{
  background:#f7faf7 !important;
  color:#14221a !important;
  border:1px solid #d9e5db !important;
  border-radius:11px !important;
  min-height:44px !important;
}
html body.single-product .woocommerce div.product form.cart .single_add_to_cart_button,
html body.single-product .woocommerce div.product button.single_add_to_cart_button{
  background:#2f7d55 !important;
  background-image:none !important;
  color:#ffffff !important;
  border:1px solid #2f7d55 !important;
  border-radius:12px !important;
  min-height:44px !important;
  padding:10px 20px !important;
  box-shadow:0 8px 20px rgba(47,125,85,.14) !important;
}
html body.single-product .woocommerce div.product form.cart .single_add_to_cart_button:hover{
  background:#256746 !important;
  border-color:#256746 !important;
}

/* Tabs */
html body.single-product .woocommerce div.product .woocommerce-tabs,
html body.single-product .woocommerce div.product .wc-tabs-wrapper{
  background:transparent !important;
  color:#14221a !important;
}
html body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs{
  background:transparent !important;
  border:0 !important;
  padding:0 !important;
  margin:0 0 12px !important;
  display:flex !important;
  flex-wrap:wrap !important;
  gap:8px !important;
}
html body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs:before,
html body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li:before,
html body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li:after{display:none !important;}
html body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li{
  background:#f5f9f5 !important;
  background-image:none !important;
  color:#405448 !important;
  border:1px solid #dce7de !important;
  border-radius:12px !important;
  box-shadow:none !important;
  margin:0 !important;
  padding:0 !important;
}
html body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li a{
  color:#405448 !important;
  padding:10px 16px !important;
  font-weight:850 !important;
}
html body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li.active{
  background:#e6f1e8 !important;
  border-color:#cfe0d2 !important;
  color:#245b3e !important;
}
html body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li.active a{color:#245b3e !important;}
html body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li:hover{
  background:#edf5ee !important;
  border-color:#d0e1d3 !important;
}

/* Description/reviews panels */
html body.single-product .woocommerce div.product .woocommerce-tabs .panel,
html body.single-product .woocommerce div.product .woocommerce-Tabs-panel,
html body.single-product #tab-description,
html body.single-product #tab-reviews,
html body.single-product #tab-additional_information{
  background:#ffffff !important;
  background-image:none !important;
  color:#14221a !important;
  border:1px solid #dce6de !important;
  border-radius:18px !important;
  padding:24px !important;
  box-shadow:0 10px 28px rgba(23,75,54,.045) !important;
}
html body.single-product .woocommerce div.product .woocommerce-tabs .panel h2,
html body.single-product .woocommerce div.product .woocommerce-tabs .panel h3,
html body.single-product .woocommerce div.product .woocommerce-tabs .panel h4,
html body.single-product .woocommerce div.product .woocommerce-tabs .panel strong,
html body.single-product #reviews #comments h2,
html body.single-product #review_form #respond .comment-reply-title{
  color:#14221a !important;
  opacity:1 !important;
}
html body.single-product .woocommerce div.product .woocommerce-tabs .panel p,
html body.single-product .woocommerce div.product .woocommerce-tabs .panel li,
html body.single-product .woocommerce div.product .woocommerce-tabs .panel td,
html body.single-product .woocommerce div.product .woocommerce-tabs .panel th,
html body.single-product #reviews .comment-text,
html body.single-product #reviews .description,
html body.single-product #reviews .meta{
  color:#586a5f !important;
  opacity:1 !important;
}
html body.single-product #review_form input,
html body.single-product #review_form textarea{
  background:#f7faf7 !important;
  color:#14221a !important;
  border:1px solid #d9e5db !important;
}
html body.single-product #review_form #submit{
  background:#2f7d55 !important;
  color:#fff !important;
  border-color:#2f7d55 !important;
}

/* Gallery remains light */
html body.single-product .woocommerce div.product div.images .woocommerce-product-gallery__wrapper,
html body.single-product .woocommerce div.product div.images .flex-viewport{
  background:#fff !important;
  border:1px solid #dce6de !important;
  box-shadow:0 12px 34px rgba(23,75,54,.05) !important;
}

/* Related products use same light card language */
html body.single-product .related.products,
html body.single-product .upsells.products{background:transparent !important;}

@media(max-width:900px){
  html body.single-product .woocommerce div.product .summary.entry-summary{padding:20px !important;}
}
@media(max-width:560px){
  html body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs{display:grid !important;grid-template-columns:1fr !important;}
  html body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li a{text-align:center !important;display:block !important;}
  html body.single-product .woocommerce div.product .woocommerce-tabs .panel{padding:16px !important;}
}


/* Khazarfit 4.0.3 — hard fix for remaining dark single-product summary blocks */
html body.single-product .woocommerce div.product .summary,
html body.single-product .woocommerce div.product .summary.entry-summary,
html body.single-product .woocommerce div.product .summary.entry-summary form.cart,
html body.single-product .woocommerce div.product .summary.entry-summary .price,
html body.single-product .woocommerce div.product .summary.entry-summary .woocommerce-product-details__short-description,
html body.single-product .woocommerce div.product .summary.entry-summary .stock,
html body.single-product .woocommerce div.product .summary.entry-summary .product_meta,
html body.single-product .woocommerce div.product .summary.entry-summary .variations_form,
html body.single-product .woocommerce div.product .summary.entry-summary .single_variation_wrap,
html body.single-product .woocommerce div.product .summary.entry-summary .single_variation,
html body.single-product .woocommerce div.product .summary.entry-summary .woocommerce-variation,
html body.single-product .woocommerce div.product .summary.entry-summary .woocommerce-variation-add-to-cart{
  background:#ffffff !important;
  background-image:none !important;
  color:#14221a !important;
}
html body.single-product .woocommerce div.product .summary.entry-summary:before,
html body.single-product .woocommerce div.product .summary.entry-summary:after,
html body.single-product .woocommerce div.product .summary.entry-summary *:before,
html body.single-product .woocommerce div.product .summary.entry-summary *:after{
  box-shadow:none !important;
}
html body.single-product .woocommerce div.product .summary.entry-summary .product_title,
html body.single-product .woocommerce div.product .summary.entry-summary h1,
html body.single-product .woocommerce div.product .summary.entry-summary h2,
html body.single-product .woocommerce div.product .summary.entry-summary h3,
html body.single-product .woocommerce div.product .summary.entry-summary h4,
html body.single-product .woocommerce div.product .summary.entry-summary .sku,
html body.single-product .woocommerce div.product .summary.entry-summary .posted_in,
html body.single-product .woocommerce div.product .summary.entry-summary .tagged_as,
html body.single-product .woocommerce div.product .summary.entry-summary .posted_in a,
html body.single-product .woocommerce div.product .summary.entry-summary .tagged_as a,
html body.single-product .woocommerce div.product .summary.entry-summary .price,
html body.single-product .woocommerce div.product .summary.entry-summary .price .amount,
html body.single-product .woocommerce div.product .summary.entry-summary .stock,
html body.single-product .woocommerce div.product .summary.entry-summary p,
html body.single-product .woocommerce div.product .summary.entry-summary span,
html body.single-product .woocommerce div.product .summary.entry-summary div,
html body.single-product .woocommerce div.product .summary.entry-summary label,
html body.single-product .woocommerce div.product .summary.entry-summary small{
  color:#14221a !important;
  opacity:1 !important;
}
html body.single-product .woocommerce div.product .summary.entry-summary .price,
html body.single-product .woocommerce div.product .summary.entry-summary .price .amount{color:#2f7d55 !important}
html body.single-product .woocommerce div.product .summary.entry-summary .stock{color:#6c7d73 !important}
html body.single-product .woocommerce div.product .summary.entry-summary .product_meta{
  border-radius:14px !important;
  padding:12px 14px !important;
}
html body.single-product .woocommerce div.product .summary.entry-summary .quantity .qty{
  width:72px !important;
  text-align:center !important;
}
html body.single-product .woocommerce div.product .summary.entry-summary .single_add_to_cart_button{
  min-width:160px !important;
}
html body.single-product .woocommerce div.product .woocommerce-tabs,
html body.single-product .woocommerce div.product .wc-tabs-wrapper,
html body.single-product .woocommerce div.product .woocommerce-tabs .panel,
html body.single-product .woocommerce div.product .woocommerce-Tabs-panel,
html body.single-product #tab-description,
html body.single-product #tab-reviews,
html body.single-product #tab-additional_information{
  background:#ffffff !important;
  color:#14221a !important;
}
html body.single-product .woocommerce div.product .woocommerce-tabs .panel p,
html body.single-product .woocommerce div.product .woocommerce-tabs .panel li,
html body.single-product .woocommerce div.product .woocommerce-tabs .panel td,
html body.single-product .woocommerce div.product .woocommerce-tabs .panel th,
html body.single-product #reviews .comment-text,
html body.single-product #reviews .description,
html body.single-product #reviews .meta,
html body.single-product #reviews label,
html body.single-product #reviews span,
html body.single-product #reviews p{
  color:#14221a !important;
  opacity:1 !important;
}
