/*
Theme Name: Astra Child
Template: astra
Version: 1.0
*/

/* =========================
   GLOBAL RESETS
========================= */

p {
  margin: 0 !important;
}

/* =========================
   LOGO RESPONSIVE SIZE (ASTRA)
========================= */

.site-logo-img img,
.custom-logo {
  max-width: 50% !important;
}

@media (max-width: 1024px) {
  .site-logo-img img,
  .custom-logo {
    max-width: 10% !important;
  }
}

@media (max-width: 767px) {
  .site-logo-img img,
  .custom-logo {
    max-width: 20% !important;
  }
}


/* =========================
   NAVIGATION FIXES
========================= */

.navbar,
.main-navigation,
.menu,
.menu ul {
  white-space: nowrap;
}

.menu li ul,
.sub-menu {
  background-color: #ffffff !important;
}

.menu li ul li a,
.sub-menu li a {
  color: #000 !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* =========================
   PRODUCT GRID HOVER
========================= */

.woocommerce ul.products li.product a img {
  transition: transform 0.4s ease;
}

.woocommerce ul.products li.product:hover a img {
  transform: scale(1.07);
}






/* =========================
   FOOTER RESPONSIVE FIX (ELEMENTOR)
========================= */

@media (max-width: 1024px) {
  footer .elementor-column-wrap {
    width: 50% !important;
    margin-bottom: 20px;
  }
}

@media (max-width: 767px) {
  footer .elementor-column-wrap {
    width: 100% !important;
    margin-bottom: 25px;
  }

  footer {
    padding: 30px 15px;
  }

  footer p,
  footer a {
    font-size: 13px;
    line-height: 1.6;
  }
}

/* =========================
   STICKY CONTAINER (JS LINKED)
========================= */

.sticky-container {
  position: relative;
  width: 100%;
  transition: all 0.3s ease;
}

.ast-site-header .sticky-container.is-fixed {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
}


/* ===== FINAL STICKY FIX ===== */

.sticky-container.is-fixed {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 99999 !important;
}


/* ==================================================
   FINAL LUXURY PRODUCT LAYOUT
   (Thumbs | Image | Summary)
   Astra + WooCommerce SAFE
================================================== */

/* Container */
.single-product .ast-container {
  max-width: full-width !important;
  margin: 0 auto;
  padding: 40px 30px !important;
}

/* Main product row */
.single-product div.product {
  /* display: flex;
  align-items: flex-start; */
  text-align: center !important;
 
}

/* ======================
   LEFT: THUMBNAILS
====================== */

.single-product .flex-control-thumbs {
  width: 90px;
  flex-shrink: 0; /* IMPORTANT */
  display: flex !important;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  max-height: 720px;
  overflow-y: auto;
}

.single-product .flex-control-thumbs li {
  width: 90px !important;
  height: 90px !important;
  margin: 0 !important;
}

.single-product .flex-control-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  border-radius: 4px;
}

/* ======================
   CENTER: MAIN IMAGE
====================== */

.single-product .woocommerce-product-gallery {
  display: block !important;
  max-width: 900px !important;
  max-height: 720px !important;
  /* max-height:none !important;
  height:auto !important; */
  flex-shrink: 0;
  align-self: center;
}

.single-product .woocommerce-product-gallery img {
  width: 100vw !important;
  height: auto;
  display: block;
}


/* === FORCE THUMBNAILS LEFT OF MAIN IMAGE === */

.single-product .woocommerce-product-gallery {
  display: flex !important;
  align-items: flex-start;
  gap: 16px;
}

/* Main image */
.single-product .woocommerce-product-gallery .flex-viewport {
  order: 2;
  width: calc(100% - 106px);
}

/* Thumbnails */
.single-product .woocommerce-product-gallery .flex-control-thumbs {
  order: 1;
  width: 90px;
  display: flex !important;
  flex-direction: column;
  gap: 12px;
}





.woocommerce #content div.product div.images, .woocommerce div.product div.images, .woocommerce-page #content div.product div.images, .woocommerce-page div.product div.images {
    float: left;
    width: 75% !important;
}



/* ======================
   RIGHT: PRODUCT INFO
====================== */

/* .single-product .summary {

  flex: 1;
  padding-left: 20px;
  max-width:450px !important;

} */


.single-product .summary {

  display:flex !important;
  flex-direction:  column;
  gap: 10px !important;
  padding-left: 20px;
  max-width:450px !important;

}

/* =========================================
   TABLET (1024px and below)
========================================= */
@media (max-width: 1024px) {

  /* Main product layout becomes vertical */
  .single-product div.product {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* Gallery full width */
  .single-product .woocommerce-product-gallery {
    max-width: 100% !important;
    width: 100% !important;
  }

  /* Main image responsive */
  .single-product .woocommerce-product-gallery img {
    width: 100% !important;
    height: auto;
  }

  /* Thumbnails horizontal instead of vertical */
  .single-product .woocommerce-product-gallery .flex-control-thumbs {
    flex-direction: row !important;
    width: 100% !important;
    overflow-x: auto;
    overflow-y: hidden;
    justify-content: center;
    margin-top: 15px;
  }


  .single-product .flex-control-thumbs li {
    width: 70px !important;
    height: 70px !important;
  }

  /* Summary full width */
  .single-product .summary {
    max-width: 100% !important;
    margin-top: 30px;
    text-align: center;
  }

  /* Main image */
.single-product .woocommerce-product-gallery .flex-viewport {
  order: 2;
  width: calc(100% - 0px);
}

}






/* =========================================
   MOBILE (768px and below)
========================================= */
@media (max-width: 768px) {

  .single-product .ast-container {
    padding: 20px 15px !important;
  }

  /* Stack everything */
  .single-product div.product {
    display: flex;
    flex-direction: column;
  }

  /* Remove side layout */
  .woocommerce #content div.product div.images,
  .woocommerce div.product div.images,
  .woocommerce-page #content div.product div.images,
  .woocommerce-page div.product div.images {
    float: none !important;
    width: 100% !important;
  }

  /* Gallery full width */
  .single-product .woocommerce-product-gallery {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Main image */
  .single-product .woocommerce-product-gallery img {
    width: 100% !important;
    height: auto;
  }

  /* Thumbnails horizontal scroll */
  .single-product .flex-control-thumbs {
    flex-direction: row !important;
    gap: 10px;
    justify-content: flex-start;
    overflow-x: auto;
    margin-top: 10px;
  }

  .single-product .flex-control-thumbs li {
    width: 60px !important;
    height: 60px !important;
  }

  /* Product info */
  .single-product .summary {
    max-width: 100% !important;
    margin-top: 25px;
    text-align: left;
  }

}









/* ==================================================
   LUXURY PRODUCT CARD – CLEAN & PREMIUM
================================================== */

/* Product card */
.woocommerce ul.products li.product {
  background: #ffffff;
  padding: 16px;
  border-radius: 6px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.woocommerce ul.products li.product:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 35px rgba(0,0,0,0.12);
}

/* Product image */
.woocommerce ul.products li.product img {
  border-radius: 4px;
  background: #f6f6f6;
  margin-bottom: 14px;
}

/* ==================================================
   PRODUCT TITLE (LUXURY STYLE)
================================================== */

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 15px;
  line-height: 1.45;
  font-weight: 500;
  color: #111;
  margin: 0 0 10px;
  min-height: 44px;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

/* ==================================================
   PRICE (DEFAULT VIEW)
================================================== */

.woocommerce ul.products li.product .price {
  font-size: 15px;
  font-weight: 500;
  color: #111;
  margin-bottom: 12px;
  transition: opacity 0.25s ease;
}

.woocommerce ul.products li.product .price del {
  color: #686868;
  margin-right: 6px;
  font-size: 14px;
}

.woocommerce ul.products li.product .price ins {
  color: #e53935;
  font-weight: 600;
  text-decoration: none;
}

/* ==================================================
   EAEL PRODUCT GRID – REPLACE PRICE WITH ADD TO CART
================================================== */

/* Scope: Elementor page + widget */
.elementor-71 
.elementor-element.elementor-element-c9eb2a4 
.eael-product-grid 
.woocommerce ul.products li.product {
  position: relative;
}

/* PRICE – default state */
.elementor-71 
.elementor-element.elementor-element-c9eb2a4 
.eael-product-grid 
.woocommerce ul.products li.product .price,
.elementor-71 
.elementor-element.elementor-element-c9eb2a4 
.eael-product-grid 
.woocommerce ul.products li.product .eael-product-price {
  display: block;
}


/* =====================================
   EAEL GRID – HOVER ADD TO CART
===================================== */

/* ADD TO CART – default hidden */
.js-eael-grid 
.eael-product-grid 
.woocommerce ul.products li.product .button {
  position: static; /* keeps layout clean */
  display: none;    /* removes space */

  color: #fff;
  border-radius: 4px;
  padding: 0;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  text-align: left;
}

/* HOVER: hide price */
.js-eael-grid 
.eael-product-grid 
.woocommerce ul.products li.product:hover .price,
.js-eael-grid 
.eael-product-grid 
.woocommerce ul.products li.product:hover .eael-product-price {
  display: none !important;
}

/* HOVER: show Add to Cart */
.js-eael-grid 
.eael-product-grid 
.woocommerce ul.products li.product:hover .button {
  display: inline-block;
}


.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
/* ==================================================
   REMOVE ICONS / REVIEWS / EXTRAS
================================================== */

.woocommerce ul.products li.product .star-rating,
.woocommerce ul.products li.product .woocommerce-review-link,
.woocommerce ul.products li.product .yith-wcwl-add-to-wishlist,
.woocommerce ul.products li.product .quick-view,
.woocommerce ul.products li.product .compare {
  display: none !important;
}

/* ==================================================
   SALE BADGE (CLEAN)
================================================== */

.woocommerce span.onsale {
  background: #000;
  color: #fff;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 20px;
  top: 12px;
  left: 12px;
}

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

@media (max-width: 767px) {

  .woocommerce ul.products li.product {
    padding: 14px;
  }

  .woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 14px;
  }

  .woocommerce ul.products li.product .price {
    font-size: 14px;
  }

  .woocommerce ul.products li.product .button {
    font-size: 13px;
    padding: 10px 0;
  }
}

/* =========================================
   REMOVE WISHLIST / QUICK VIEW / COMPARE ICONS
========================================= */

/* YITH / TI Wishlist */
.yith-wcwl-add-to-wishlist,
.tinv-wraper,
.tinvwl_add_to_wishlist_button {
  display: none !important;
}

/* Quick View (eye icon) */
.quick-view,
.yith-wcqv-button,
.wcqv_button {
  display: none !important;
}

/* Compare (reload icon) */
.compare,
.yith-compare,
.compare-button {
  display: none !important;
}

/* Any floating icon container */
.product-icons,
.product-actions,
.woo-product-actions,
.woocommerce ul.products li.product .actions {
  display: none !important;
}



.onsale{
	display: none !important;
}

.shopengine-icon-add_to_favourite_1 {
	display:none !important;
}

.shopengine-icon-quick_view_1{
	display:none !important;
}
.shopengine-icon-product_compare_1{
	display:none !important;
}

.ast-woo-product-category{
	display:none !important;
}

/* .woocommerce-loop-product__title{
	padding-top: 20px !important;
} */
 





/* =====================================
   EAEL SINGLE LOAD MORE BUTTON (GLOBAL)
===================================== */

/* Hide default page numbers */
.js-eael-grid [id$="-eael-pagination"] ul.page-numbers {
  display: none !important;
}

/* Load More button wrapper */
.js-eael-grid [id$="-eael-pagination"] {
  text-align: center;
  margin-top: 40px;
  margin-bottom:40px;
  cursor: pointer;
}

/* Button UI */
.js-eael-grid [id$="-eael-pagination"]::after {
  content: "LOAD MORE";
  display: inline-block;
  padding: 14px 36px;
  background: #5a5a5a;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 4px;
}

/* Loading state */
.js-eael-grid [id$="-eael-pagination"].loading::after {
  content: "LOADING…";
  opacity: 0.6;
  pointer-events: none;
}






















/* ==================================================
   ELEMENTSKIT HORIZONTAL SCROLL MENU + DROPDOWNS
   Astra Child Theme – FINAL VERSION
================================================== */

/* ===============================
   SCROLL CONTAINER (PARENT)
================================ */
.menu-scroll-parent {
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    position: relative;
}

/* Optional: hide scrollbar */
.menu-scroll-parent::-webkit-scrollbar {
    display: none;
}
.menu-scroll-parent {
    scrollbar-width: none;
}

/* ===============================
   MAIN MENU (UL)
================================ */
.menu-scroll-parent ul.elementskit-navbar-nav {
    display: inline-flex !important;
    flex-wrap: nowrap !important;
    width: max-content !important;
    white-space: nowrap !important;
}

/* ===============================
   MENU ITEMS (CRITICAL ANCHOR)
================================ */
.menu-scroll-parent ul.elementskit-navbar-nav > li {
    flex: 0 0 auto !important;
    position: relative !important; /* REQUIRED */
}

/* Prevent text wrapping */
.menu-scroll-parent ul.elementskit-navbar-nav > li > a {
    white-space: nowrap !important;
}

/* ===============================
   DROPDOWN PANELS (POSITION FIX)
================================ */
.menu-scroll-parent ul.elementskit-dropdown,
.menu-scroll-parent ul.elementskit-submenu-panel {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    transform: none !important;   /* Disable ElementsKit JS offset */
    z-index: 99999 !important;
    overflow: visible !important;
    white-space: normal !important;
    min-width: 220px;
}

/* Show dropdown on hover */
.menu-scroll-parent li.menu-item:hover > ul.elementskit-dropdown {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto;
}

/* ===============================
   DROPDOWN LINK STYLING (SAFE)
================================ */
.elementskit-dropdown li {
    margin: 0 !important;
}

.elementskit-dropdown li > a {
    display: block !important;   /* IMPORTANT */
    padding: 6px 16px !important;
    line-height: 1.4 !important;
    color: #000 !important;
    position: relative;
}

/* Underline animation */
.elementskit-dropdown li > a::after {
    content: "";
    position: absolute;
    left: 16px;
    bottom: 4px;
    width: 0;
    height: 2px;
    background: #000;
    transition: width 0.3s ease;
}

.elementskit-dropdown li > a:hover::after {
    width: calc(100% - 32px);
}

/* Dropdown font size */
.elementskit-submenu-panel > li > a {
    font-size: 14px !important;
}

/* ===============================
   SPECIFIC ELEMENTOR INSTANCE FIX
   (Prevents dropdown jumping to top)
================================ */
.elementor-100 
.elementor-element.elementor-element-933c203 
.elementskit-navbar-nav > li {
    position: relative !important;
}

.elementor-100 
.elementor-element.elementor-element-933c203 
.elementskit-navbar-nav .elementskit-submenu-panel {
    border-radius: 0;
    min-width: 220px;
    z-index: 1000 !important;
    top: 100% !important;
    left: 0 !important;
}






/* ==================================================
   ELEMENTSKIT HORIZONTAL SCROLL (EXCLUDES DROPDOWNS)
================================================== */

/* Scroll wrapper (INNER container only) */
.menu-scroll-wrapper {
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
}

/* Optional: hide scrollbar */
.menu-scroll-wrapper::-webkit-scrollbar {
    display: none;
}
.menu-scroll-wrapper {
    scrollbar-width: none;
}

/* ONLY the MAIN menu (exclude dropdowns) */
.menu-scroll-wrapper > nav > ul.elementskit-navbar-nav,
.menu-scroll-wrapper ul.elementskit-navbar-nav {
    display: inline-flex !important;
    flex-wrap: nowrap !important;
    width: max-content !important;
}

/* Prevent shrinking ONLY for top-level items */
.menu-scroll-wrapper ul.elementskit-navbar-nav > li {
    flex: 0 0 auto !important;
}

/* ❌ Explicitly reset dropdowns (extra safety) */
.menu-scroll-wrapper ul.elementskit-dropdown,
.menu-scroll-wrapper ul.elementskit-submenu-panel {
    display: block !important;
    width: auto !important;
    white-space: normal !important;
    overflow: visible !important;
}



/* =====================================
   ELEMENTSKIT MAIN MENU – WHITE UNDERLINE HOVER
===================================== */

.elementskit-navbar-nav-default 
.elementskit-navbar-nav > li > a {
    position: relative !important;
    display: inline-block;
}

/* Underline (hidden by default) */
.elementskit-navbar-nav-default 
.elementskit-navbar-nav > li > a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 1px;
    background-color: #ffffff; /* WHITE */
    transition: width 0.3s ease;
}

/* Hover → animate underline */
.elementskit-navbar-nav-default 
.elementskit-navbar-nav > li:hover > a::after {
    width: 100%;
}






/* new update */
@media screen and (max-width: 1440px) {
	.cart-heading {
		margin-top: 20px !important;
		padding-bottom: 0px !important;
	}
}

.table-background {
	background-color: #0a2540 !important;
}

.table-content {
	font-weight: 300 !important;
}

.table-content1 {
	font-weight: 300 !important;
	color: red !important;
}

.text-content2 {
	color: green !important;
}


/* 1. Base styles for the links */
.underline,
.underline1,
.ast-single-post .entry-content .woocommerce a {
    position: relative;
    text-decoration: none;
    display: inline-block;
}

/* 2. Define the line (pseudo-element) for ALL three selectors */
.underline::after,
.underline1::after,
 {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

/* 3. Specific colors for the lines */
.underline::after { background-color: white; }
.underline1::after, 
 { background-color: black; }

/* 4. Hover state to trigger the animation */
.underline:hover::after,
.underline1:hover::after,
 {
    transform: scaleX(1);
}

/* .ast-single-post.ast-page-builder-template .site-main > article, .woocommerce.ast-page-builder-template .site-main, .ast-page-builder-template .post-navigation {
    padding-top: 2em;
    padding-left: 100px !important;
    padding-right: 100px !important;
}  */


/* .ppc-button-wrapper{
  display:none !important
} */




.woocommerce-js .quantity .qty {
    width: 4.631em;
    text-align: center;
    min-height: 35px;
}









.woocommerce div.product .woocommerce-Tabs-panel {
    display: block !important;
    width: 60vw !important;
    margin: 0 auto !important;

}

/* .woocommerce div.product .woocommerce-Tabs-panel {
    display: block !important;
    width: 60vw !important;
    margin: 0 auto !important;
} */