/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
Template: hello-elementor
Author: Elementor Team
Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
Description: Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
Tags: accessibility-ready,flexible-header,custom-colors,custom-menu,custom-logo,featured-images,rtl-language-support,threaded-comments,translation-ready
Version: 3.4.9.1791455000
*/

/* ==========================================================================
   KiswaPk Child Theme Styles
   All custom CSS lives here (consolidated from Code Snippets).
   ========================================================================== */

/* ---------- 1. Global layout: 1280px max width, 20px side padding ---------- */
.e-con > .e-con-inner,
.elementor-section.elementor-section-boxed > .elementor-container {
  max-width: 1280px;
  padding-left: 20px;
  padding-right: 20px;
}

/* ---------- 2. "You Save" badge ---------- */
.kiswapk-you-save {
  background: #146c43;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  margin-left: 8px;
  white-space: nowrap;
}

/* ---------- 3. Trust badges + delivery estimate ---------- */
.kiswapk-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 16px 0 4px;
  padding: 12px 14px;
  border: 1px dashed #cfc8bd;
  border-radius: 8px;
  background: #faf8f4;
  font-size: 13px;
  font-weight: 600;
  color: #3d3a34;
}
.kiswapk-trust-badges span { white-space: nowrap; }
.kiswapk-trust-badges span::before {
  content: "\2713 ";
  color: #146c43;
  font-weight: 700;
}
.kiswapk-delivery-est { margin: 10px 0 0; font-size: 14px; color: #5a564e; }
.kiswapk-delivery-est strong { color: #222; }

/* ---------- 4. Buy Now button ---------- */
.kiswapk-buy-now-btn {
  margin-left: 10px !important;
  background: #1a1a1a;
  color: #fff;
  border-radius: 4px;
}
.kiswapk-buy-now-btn:hover { background: #000; color: #fff; }

/* ---------- 5. Ajax search styling ---------- */
.dgwt-wcas-ico-magnifier,
.dgwt-wcas-ico-magnifier-handler { max-width: 20px; }
.dgwt-wcas-search-wrapp { max-width: 600px; }

/* ---------- 6. Product cards (Elementor loop / custom shortcode) ---------- */
.custom-product-image {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background: #f5f5f5;
}
.custom-product-image a { display: block; }
.custom-product-image img {
  width: 100%;
  height: 417px;
  object-fit: cover;
  display: block;
  transition: transform .35s ease, opacity .35s ease;
}
.custom-product-image .second-img {
  position: absolute;
  inset: 0;
  opacity: 0;
}
.custom-product-image:hover .main-img { opacity: 0; transform: scale(1.05); }
.custom-product-image:hover .second-img { opacity: 1; transform: scale(1.05); }

/* Gold % off badge on cards */
.custom-sale-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 99;
  background: #958e09;
  color: #fff;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .3px;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}

/* Wishlist heart on cards */
.kiswapk-card-wishlist {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 100;
  line-height: 0;
}
.kiswapk-card-wishlist .yith-wcwl-add-to-wishlist { margin: 0 !important; }
.kiswapk-card-wishlist .yith-wcwl-add-to-wishlist-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
  transition: transform .2s ease;
  border: none;
  cursor: pointer;
}
.kiswapk-card-wishlist .yith-wcwl-add-to-wishlist-button:hover { transform: scale(1.08); }
.kiswapk-card-wishlist .yith-wcwl-add-to-wishlist-button__label { display: none !important; }
.kiswapk-card-wishlist svg.yith-wcwl-icon { width: 20px; height: 20px; }
.elementor-element-19e352a { display: none !important; }

/* WooCommerce archive: wishlist heart + sale badge inside image */
.woocommerce ul.products li.product .yith-wcwl-add-to-wishlist {
  position: absolute !important;
  top: 12px;
  right: 12px;
  left: auto !important;
  z-index: 10;
  margin: 0 !important;
}
.woocommerce ul.products li.product .yith-wcwl-add-to-wishlist .yith-wcwl-add-to-wishlist-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
  border: none;
  cursor: pointer;
}
.woocommerce ul.products li.product .yith-wcwl-add-to-wishlist .yith-wcwl-add-to-wishlist-button__label { display: none !important; }
.woocommerce ul.products li.product .yith-wcwl-add-to-wishlist svg.yith-wcwl-icon { width: 20px; height: 20px; }
.woocommerce ul.products li.product a.woocommerce-loop-product__link {
  position: relative;
  display: block;
  overflow: hidden;
}
.woocommerce ul.products li.product a.woocommerce-loop-product__link > span.onsale {
  position: absolute !important;
  top: 12px !important;
  right: 12px !important;
  left: auto !important;
  bottom: auto !important;
  margin: 0 !important;
}

/* ---------- 7. Single product gallery ---------- */
.single-product span.onsale {
  background: #958e09;
  color: #fff;
  border-radius: 30px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .3px;
  min-height: 0;
  line-height: 1.4;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.single-product .woocommerce-product-gallery__image {
  border-radius: 10px;
  overflow: hidden;
}
.single-product .flex-control-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}
.single-product .flex-control-thumbs li {
  float: none;
  width: calc(25% - 8px);
  margin: 0;
}
.single-product .flex-control-thumbs img {
  border-radius: 8px;
  border: 2px solid transparent;
  transition: border-color .2s ease;
}
.single-product .flex-control-thumbs img.flex-active,
.single-product .flex-control-thumbs li:hover img { border-color: #958e09; }

/* ==========================================================================
   8. SINGLE PRODUCT PAGE — two-column layout (gallery left, info right)
   Template: Elementor "KiswaPk Single Product" (#304)
   Structure: 1330bca (breadcrumb) / 3ee801a (gallery) / aacc1ba (info) /
              82c32e0 (tabs + related). 0b381ad is empty.
   ========================================================================== */
.single-product .elementor-304.elementor-location-single {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  column-gap: 48px;
  row-gap: 28px;
  align-items: start;
}
/* Breadcrumb: full width on top */
.single-product .elementor-304 .elementor-element-1330bca {
  grid-column: 1 / -1;
}
/* Gallery: left column */
.single-product .elementor-304 .elementor-element-3ee801a {
  grid-column: 1;
  grid-row: 2;
  min-width: 0;
}
/* Sticky gallery on desktop */
@media (min-width: 1025px) {
  .single-product .elementor-304 .elementor-element-3ee801a {
    position: sticky;
    top: 24px;
  }
}
/* Info: right column */
.single-product .elementor-304 .elementor-element-aacc1ba {
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
}
/* Hide the empty container */
.single-product .elementor-304 .elementor-element-0b381ad {
  display: none !important;
}
/* Tabs + related: full width below */
.single-product .elementor-304 .elementor-element-82c32e0 {
  grid-column: 1 / -1;
  min-width: 0;
}

/* --- Product info column styling (Styka-like) --- */
.single-product .elementor-304 .elementor-element-eed8696 .woocommerce-product-title,
.single-product .elementor-304 .elementor-element-eed8696 h1 {
  font-size: 30px;
  line-height: 1.25;
  font-weight: 700;
  margin: 0;
  color: #1a1a1a;
}
.single-product .elementor-304 .elementor-element-601c8df .price {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
}
.single-product .elementor-304 .elementor-element-601c8df .price del {
  font-size: 17px;
  font-weight: 400;
  color: #999;
  margin-right: 10px;
}
.single-product .elementor-304 .elementor-element-601c8df .price ins {
  text-decoration: none;
}
.single-product .elementor-304 .elementor-element-1b0c5bf {
  font-size: 15px;
  line-height: 1.7;
  color: #555;
}
.single-product .elementor-304 .elementor-element-ef3e63e form.cart {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: stretch;
}
.single-product .elementor-304 .elementor-element-ef3e63e .quantity input.qty {
  height: 48px;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 0 12px;
  font-size: 16px;
}
.single-product .elementor-304 .elementor-element-ef3e63e .single_add_to_cart_button {
  flex: 1;
  min-height: 48px;
  background: #1a1a1a;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s ease;
}
.single-product .elementor-304 .elementor-element-ef3e63e .single_add_to_cart_button:hover {
  background: #000;
}
/* Wishlist under add to cart */
.single-product .elementor-304 .elementor-element-0f609eb .yith-wcwl-add-to-wishlist {
  margin: 0;
}
.single-product .elementor-304 .elementor-element-0f609eb .yith-wcwl-add-to-wishlist-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #444;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

/* --- Tabs + related spacing --- */
.single-product .elementor-304 .elementor-element-b2d891b {
  margin-top: 12px;
}
.single-product .elementor-304 .elementor-element-1e9e228 {
  margin-top: 8px;
}

/* --- Tablet & mobile: stack to single column --- */
@media (max-width: 1024px) {
  .single-product .elementor-304.elementor-location-single {
    grid-template-columns: minmax(0, 1fr);
    column-gap: 0;
  }
  .single-product .elementor-304 .elementor-element-1330bca,
  .single-product .elementor-304 .elementor-element-3ee801a,
  .single-product .elementor-304 .elementor-element-aacc1ba,
  .single-product .elementor-304 .elementor-element-82c32e0 {
    grid-column: 1;
    grid-row: auto;
  }
  .single-product .elementor-304 .elementor-element-eed8696 .woocommerce-product-title,
  .single-product .elementor-304 .elementor-element-eed8696 h1 {
    font-size: 24px;
  }
}

/* ---------- 9. Mobile refinements ---------- */
@media (max-width: 767px) {
  .custom-product-image img { height: 300px; }
  .custom-sale-badge { top: 8px; left: 8px; padding: 5px 11px; font-size: 11px; }
  .kiswapk-card-wishlist { top: 8px; right: 8px; }
  .kiswapk-card-wishlist .yith-wcwl-add-to-wishlist-button { width: 34px; height: 34px; }
  .single-product .flex-control-thumbs { flex-wrap: wrap; }
}

/* ---------- 10. About page: hide old placeholder widgets (page-scoped) ---------- */
.page-id-26 .elementor-widget-text-editor { display: none !important; }
