/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 4.11.8
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

/* ==========================
   1. RESET & GLOBAL
========================== */

/* Bỏ outline khi focus */
button:focus-visible,
a:focus-visible,
button:focus,
a:focus {
  outline: none !important;
}

/* Con trỏ pointer */
.has-pointer {
  cursor: pointer;
}

/* Fix Elementor icon widget */
.elementor-widget-icon .elementor-icon {
  display: inline-flex;
}


/* ==========================
   2. BOX-SHADOW UTILITIES
========================== */

.bs1 {
  box-shadow: 0px 1px 2px 0px #0000004d,
              0px 1px 3px 1px #00000026;
}

.bs3 {
  box-shadow: 0px 1px 3px 0px #0000004d,
              0px 4px 8px 3px #00000026;
}

/* Hover shadow effect (desktop only) */
@media (min-width: 1024px) {
	.slick-track {
		padding-bottom: 10px;
	}
	
	.hover-bs1:hover {
		box-shadow: 0px 1px 3px 0px #0000004d,
                0px 4px 8px 3px #00000026;
		transition: box-shadow 0.1s cubic-bezier(.345,.115,.135,1.42);
	}
	
   .hover-bs2:hover {
	 z-index: 10;
	}
	
  .hover-bs2:before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 18px;
    opacity: 0;
    transform: scale(0.9);
    box-shadow: 0px 1px 3px 0px #0000004d,
                0px 4px 8px 3px #00000026;
    transition: transform 0.1s cubic-bezier(.345,.115,.135,1.42),
                opacity 0.2s ease-out;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    z-index: -1;
  }

  .hover-bs2:hover:before {
    transform: scale(1);
    opacity: 1;
  }

  .hover-bs3:hover {
    box-shadow: 0px 1px 3px 0px #0000004d,
                0px 4px 8px 3px #00000026;
  }
}


/* ==========================
   3. RESPONSIVE
========================== */

/* Tablet & mobile (max 1023px) */
@media (max-width: 1023px) {
	.site {
	overflow-x: hidden;
	max-width: 100vw; /* fix lỗi gõ nhầm vww */
	}

	.hide-br-mb br {
	display: none;
	}

	.overflow-x-scroll, 
	.overflow-x-scroll .jet-listing-grid__items {
		overflow-x: scroll !important;
		flex-wrap: nowrap;
		white-space: nowrap;
		align-items: flex-start;
		scrollbar-width: thin;
		gap: 10px;
		padding-bottom: 20px;
	}
	
	.overflow-x-scroll .jet-listing-grid__items .jet-listing-grid__item {
		max-width: 40%;
		flex-shrink: 0;
	}
	
	.price-box .price {
		flex-wrap: wrap;
	}
	
	.price-box .sale-badge {
		font-size: 10px;
	}
}


/* ==========================
   4. TOOLTIP
========================== */

.cus-tooltip {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.cus-tooltip:hover::after {
  content: attr(title);
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 8px;
  background: #0c2d68;
  color: #fff;
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 4px;
  white-space: nowrap;
  z-index: 99;
}

.cus-tooltip:hover::before {
  content: '';
  position: absolute;
  top: calc(100% - 5px);
  left: 50%;
  transform: translateX(-50%);
  margin-top: 2px;
  border-width: 6px;
  border-style: solid;
  border-color: transparent transparent #0c2d68 transparent;
}


/* ==========================
   5. PRICE BOX
========================== */

.price-box del, .woocommerce-variation-price del {
  font-weight: 500;
  font-size: 88%;
  color: #1a1a1a;
  opacity: 0.5;
}

.price-box .price, .woocommerce-variation-price .price {
  margin: 0 !important;
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  align-items: center;
  gap: 5px;
}

.price-box .sale-badge {
	background: #ecf8ef;
    border: 1px solid #bfe3c6;
    border-radius: 999px;
    padding: 2px 6px;
    font-size: 11px;
	font-weight: 700;
}


.custom-category-pagination ul {
    display: flex;
    list-style: none;
    padding: 12px 0;
    margin: 0;
    gap: 10px;
    flex-wrap: wrap;
}

.custom-category-pagination li a,
.custom-category-pagination li span {
    display: inline-block;
    min-width: 38px;
    height: 38px;
    padding: 2px 10px 6px;
    line-height: 30px;
    border-radius: 50%;
    background-color: #0e0e0e17;
    color: #212F40;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
	border: 2px solid transparent;
}

.custom-category-pagination li a:hover, .custom-category-pagination li span.current {
    border: 2px solid #212F40;
}


