/*
Theme Name: FoodMart
Theme URI: https://templatesjungle.com/
Author: TemplatesJungle
Author URI: https://templatesjungle.com/
Description: FoodMart is specially designed product packaged for eCommerce store websites.
Version: 1.1
*/

/*--------------------------------------------------------------
This is main CSS file that contains custom style rules used in this template
--------------------------------------------------------------*/

/*------------------------------------*\
    Table of contents
\*------------------------------------*/

/*------------------------------------------------

CSS STRUCTURE:

1. VARIABLES

2. GENERAL TYPOGRAPHY
  2.1 General Styles
  2.2 Floating & Alignment
  2.3 Forms
  2.4 Lists
  2.5 Code
  2.6 Tables
  2.7 Spacing
  2.8 Utilities
  2.9 Misc
    - Row Border
    - Zoom Effect
  2.10 Buttons
    - Button Sizes
    - Button Shapes
    - Button Color Scheme
    - Button Aligns
  2.11 Section
    - Hero Section
    - Section Title
    - Section Paddings
    - Section Margins
    - Section Bg Colors
    - Content Colors
    - Content Borders

3. EXTENDED TYPOGRAPHY
  3.1 Blockquote / Pullquote
  3.2 Text Highlights

4. CONTENT ELEMENTS
  4.1 Tabs
  4.2 Accordions
  4.3 Brand Carousel
  4.4 Category Carousel

5. BLOG STYLES
  5.1 Blog Single Post
  5.2 About Author
  5.3 Comments List
  5.4 Comments Form3

6. SITE STRUCTURE
  6.1 Header
    - Header Menu
    - Nav Sidebar
  6.2 Billboard
  6.3 About Us Section
  6.4 Video Section
  6.5 Selling Products Section
  6.6 Quotation Section
  6.7 Latest Blogs Section
  6.8 Newsletter Section
  6.9 Instagram Section
  6.10 Footer
    - Footer Top
    - Footer Bottom

7. OTHER PAGES
  7.1 Product detail
  7.2 Shop page

    
/*--------------------------------------------------------------
/** 1. VARIABLES
--------------------------------------------------------------*/
:root {
  /* widths for rows and containers
     */
  --header-height: 160px;
  --header-height-min: 80px;
}

/* Custom container padding - more space on sides */
.container {
  padding-left: 32px;
  padding-right: 32px;
}

@media screen and (min-width: 1400px) {
  .container {
    max-width: 1400px;
    padding-left: 56px;
    padding-right: 56px;
  }
}

@media screen and (max-width: 991px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media screen and (max-width: 575px) {
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }
}

/* on mobile devices below 600px
 */
@media screen and (max-width: 600px) {
  :root {
    --header-height: 100px;
    --header-height-min: 80px;
  }
}

/* Theme Colors */
:root {
  --accent-color: #FFC43F;
  --dark-color: #222222;
  --light-dark-color: #727272;
  --light-color: #fff;
  --grey-color: #dbdbdb;
  --light-grey-color: #fafafa;
  --primary-color: #0a145f;
  --light-primary-color: #eef1f3;
}

/* Fonts */
:root {
  --body-font: "Open Sans", sans-serif;
  --heading-font: "Nunito", sans-serif;
}

body {
  --bs-link-color: #333;
  --bs-link-hover-color: #333;

  --bs-link-color-rgb: 40, 40, 40;
  --bs-link-hover-color-rgb: 0, 0, 0;

  /* --bs-link-color: #FFC43F;
  --bs-link-hover-color: #FFC43F; */

  --bs-light-rgb: 248, 248, 248;

  --bs-font-sans-serif: "Open Sans", sans-serif;
  --bs-body-font-family: var(--bs-font-sans-serif);
  --bs-body-font-size: 1rem;
  --bs-body-font-weight: 400;
  --bs-body-line-height: 2;
  --bs-body-color: #747474;

  --bs-primary: #FFC43F;
  --bs-primary-rgb: 255, 196, 63;

  --bs-success: #a3be4c;
  --bs-success-rgb: 163, 190, 76;

  --bs-primary-bg-subtle: #FFF9EB;
  --bs-success-bg-subtle: #eef5e5;

  --bs-border-color: #F7F7F7;

  --bs-secondary-rgb: 230, 243, 251;
  /* --bs-success-rgb: 238, 245, 228; */
  --bs-danger-rgb: 249, 235, 231;
  --bs-warning-rgb: 255, 249, 235;
  --bs-info-rgb: 230, 243, 250;
  overflow-x: hidden;
}

.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: #271db5;
  --bs-btn-border-color: transparent;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #f7a422;
  --bs-btn-hover-border-color: transparent;
  --bs-btn-focus-shadow-rgb: 49, 132, 253;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #ffc43f;
  --bs-btn-active-border-color: transparent;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #d3d7dd;
  --bs-btn-disabled-border-color: transparent;
}

.btn-outline-primary {
  --bs-btn-color: #ffc43f;
  --bs-btn-border-color: #ffc43f;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #ffc107;
  --bs-btn-hover-border-color: #ffc107;
  --bs-btn-focus-shadow-rgb: 13, 110, 253;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #ffc107;
  --bs-btn-active-border-color: #ffc107;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff3cd;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: #fff3cd;
  --bs-gradient: none;
}

.btn-outline-light {
  --bs-btn-color: #747474;
  --bs-btn-border-color: #EFEFEF;
  --bs-btn-hover-color: #000;
  --bs-btn-hover-bg: #EFEFEF;
  --bs-btn-hover-border-color: #EFEFEF;
  --bs-btn-focus-shadow-rgb: 248, 249, 250;
  --bs-btn-active-color: #000;
  --bs-btn-active-bg: #EFEFEF;
  --bs-btn-active-border-color: #EFEFEF;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #EFEFEF;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: #EFEFEF;
  --bs-gradient: none;
}

.btn-warning {
  --bs-btn-color: #747474;
  --bs-btn-bg: #FCF7EB;
  --bs-btn-border-color: #FCF7EB;
  --bs-btn-hover-color: #747474;
  --bs-btn-hover-bg: #FFECBE;
  --bs-btn-hover-border-color: #FFECBE;
  --bs-btn-focus-shadow-rgb: 217, 164, 6;
  --bs-btn-active-color: #000;
  --bs-btn-active-bg: #FFECBE;
  --bs-btn-active-border-color: #FFECBE;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #000;
  --bs-btn-disabled-bg: #FCF7EB;
  --bs-btn-disabled-border-color: #FCF7EB;
}

.btn-success {
  --bs-btn-color: #222;
  --bs-btn-bg: #EEF5E4;
  --bs-btn-border-color: #EEF5E4;
  --bs-btn-hover-color: #222;
  --bs-btn-hover-bg: #9de3c2;
  --bs-btn-hover-border-color: #9de3c2;
  --bs-btn-focus-shadow-rgb: 60, 153, 110;
  --bs-btn-active-color: #222;
  --bs-btn-active-bg: #9de3c2;
  --bs-btn-active-border-color: #9de3c2;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #222;
  --bs-btn-disabled-bg: #EEF5E4;
  --bs-btn-disabled-border-color: #EEF5E4;
}

.btn-danger {
  --bs-btn-color: #222;
  --bs-btn-bg: #FFEADA;
  --bs-btn-border-color: #FFEADA;
  --bs-btn-hover-color: #222;
  --bs-btn-hover-bg: #ecc9af;
  --bs-btn-hover-border-color: #ecc9af;
  --bs-btn-focus-shadow-rgb: 60, 153, 110;
  --bs-btn-active-color: #222;
  --bs-btn-active-bg: #ecc9af;
  --bs-btn-active-border-color: #ecc9af;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #222;
  --bs-btn-disabled-bg: #FFEADA;
  --bs-btn-disabled-border-color: #FFEADA;
}

body {
  letter-spacing: 0.03em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--heading-font);
  color: var(--dark-color);
  font-weight: 700;
}

.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
  font-weight: 700;
}

.breadcrumb.text-white {
  --bs-breadcrumb-divider-color: #fff;
  --bs-breadcrumb-item-active-color: var(--bs-primary);
}

.dropdown-menu {
  --bs-dropdown-link-active-bg: var(--bs-primary);
}

.nav-pills .nav-link {
  --bs-nav-pills-link-active-color: #111;
  --bs-nav-pills-link-active-bg: #f1f1f1;
}

.container,
.container-fluid,
.container-lg,
.container-md,
.container-sm,
.container-xl,
.container-xxl {
  --bs-gutter-x: 3rem;
}

@media screen and (max-width: 991px) {

  .container,
  .container-fluid,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl {
    --bs-gutter-x: 1.5rem;
  }
}

@media screen and (max-width: 575px) {

  .container,
  .container-fluid,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl {
    --bs-gutter-x: 1rem;
  }
}

/*----------------------------------------------*/
/* 6. SITE STRUCTURE */
/*----------------------------------------------*/
/* 6.1 Header
--------------------------------------------------------------*/
/* Preloader */
.v-shop-preloader-wrapper {
  width: 100%;
  height: 100vh;
  margin: 0 auto;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 111;
  background: #fff;
}

.v-shop-preloader-wrapper .v-shop-preloader {
  margin: 20% auto 0;
  transform: translateZ(0);
}

.v-shop-preloader:before,
.v-shop-preloader:after {
  content: '';
  position: absolute;
  top: 0;
}

.v-shop-preloader:before,
.v-shop-preloader:after,
.v-shop-preloader {
  border-radius: 50%;
  width: 2em;
  height: 2em;
  animation: animation 1.2s infinite ease-in-out;
}

.v-shop-preloader {
  animation-delay: -0.16s;
}

.v-shop-preloader:before {
  left: -3.5em;
  animation-delay: -0.32s;
}

.v-shop-preloader:after {
  left: 3.5em;
}

@keyframes animation {

  0%,
  80%,
  100% {
    box-shadow: 0 2em 0 -1em var(--accent-color);
  }

  40% {
    box-shadow: 0 2em 0 0 var(--accent-color);
  }
}

/* *** Start editing below this line *** */
body {
  margin: 0;
  padding: 0;
}

/* Custom Header Styling */
.custom-header {
  background-color: var(--primary-color) !important;
}

.shopee-top--sticky {
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-link-hover:hover {
  color: rgba(255, 255, 255, 0.7) !important;
}

.custom-header .nav-link,
.custom-header .account-trigger .text-dark,
.custom-header .account-block .text-muted {
  color: #ffffff !important;
}

.custom-header .nav-link:hover {
  color: var(--accent-color) !important;
}

.container-fluid {
  max-width: 1250px !important;
  margin: 0 auto;
}

.v-shop-category-item img {
  width: 100%;
  max-width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 10px;
}

.v-shop-banner-blocks {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(2, 1fr);
  grid-gap: 5px;
}

.v-shop-block-1 {
  grid-area: 1 / 1 / 3 / 9;
}

.v-shop-block-2 {
  grid-area: 1 / 9 / 2 / 13;
}

.v-shop-block-3 {
  grid-area: 2 / 9 / 3 / 13;
}

@media screen and (max-width:1140px) {
  .v-shop-banner-blocks {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 1fr);
  }

  .v-shop-block-1 {
    grid-area: 1 / 1 / 3 / 2;
  }

  .v-shop-block-2 {
    grid-area: 3 / 1 / 4 / 2;
  }

  .v-shop-block-3 {
    grid-area: 4 / 1 / 5 / 2;
  }

}

/* banner ad */
.v-shop-banner-ad {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.v-shop-banner-ad.blue {
  background: #e6f3fb;
}

.v-shop-banner-ad .swiper-pagination {
  bottom: 40px;
  left: 0;
  right: 0;
}

.v-shop-banner-ad .swiper-pagination .swiper-pagination-bullet {
  width: 16px;
  height: 16px;
  margin: 4px;
  background: #FFF;
  opacity: 1;
  transition: background 0.3s ease-out;
}

.v-shop-banner-ad .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
  background: #FFC43F;
}

.v-shop-banner-ad .swiper-slide {
  min-height: 630px;
  display: flex;
}

/* .v-shop-banner-ad .v-shop-banner-content {
  padding: 52px;
}
.v-shop-banner-ad.large .v-shop-banner-content {
  padding: 90px;
} */
.v-shop-banner-ad .v-shop-banner-content .categories {
  font-family: 'Garamond';
  font-size: 37px;
  text-transform: capitalize;
  color: var(--dark-color);
}

.v-shop-banner-ad .v-shop-banner-content .sale {
  position: relative;
  display: inline-block;
}

.v-shop-banner-ad .v-shop-banner-content .sale:before {
  content: '';
  width: 80px;
  border-bottom: 1px solid #111;
  position: absolute;
  bottom: 6px;
}

.v-shop-banner-ad .v-shop-banner-content .sale:after {
  content: 'SALE';
  font-family: var(--body-font);
  position: absolute;
  font-size: 11px;
  line-height: 15px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #252525;
  bottom: 0;
  right: 0;
}

.v-shop-banner-ad .v-shop-banner-content .v-shop-banner-title {
  letter-spacing: 0.02em;
  font-size: 33px;
}

.v-shop-banner-ad.large .v-shop-banner-content .categories {
  color: var(--accent-color);
}

.v-shop-banner-ad.large .v-shop-banner-content .v-shop-banner-title {
  font-size: 54px;
}

/* Swiper carousel */
.swiper-prev,
.swiper-next {
  width: 38px;
  height: 38px;
  line-height: 38px;
  background: #F1F1F1;
  color: #222222;
  padding: 0;
  text-align: center;
  border-radius: 10px;
  --bs-btn-border-color: transparent;
  --bs-btn-active-bg: #ec9b22;
  --bs-btn-active-border-color: transparent;
  --bs-btn-hover-bg: #FFC43F;
  --bs-btn-hover-border-color: transparent;
  --bs-btn-disabled-color: #ccc;
  --bs-btn-disabled-bg: #eaeaea;
  --bs-btn-disabled-border-color: #eaeaea
}

.swiper-prev:hover,
.swiper-next:hover {
  background: #FFC43F;
}

.btn-link {
  margin-right: 30px;
  font-weight: 600;
  font-size: 16px;
  line-height: 22px;
  text-align: right;
  text-transform: capitalize;
  color: #787878;
}

/* category carousel */
.v-shop-category-carousel .v-shop-category-item {
  background: #FFFFFF;
  border: 1px solid #FBFBFB;
  box-shadow: 0px 5px 22px rgba(0, 0, 0, 0.04);
  border-radius: 16px;
  text-align: center;
  padding: 60px 20px;
  margin: 20px 0;
  transition: box-shadow 0.3s ease-out, transform 0.3s ease-out;
}

.v-shop-category-carousel .v-shop-category-item:hover {
  transform: translate3d(0, -10px, 0);
  box-shadow: 0px 21px 44px rgba(0, 0, 0, 0.08);
}

.v-shop-category-carousel .v-shop-category-item .v-shop-category-title {
  font-weight: 600;
  font-size: 20px;
  line-height: 27px;
  letter-spacing: 0.02em;
  text-transform: capitalize;
  color: #222222;
  margin-top: 20px;
}

/* brand carousel */
.v-shop-brand-carousel .v-shop-brand-item {
  background: #FFFFFF;
  border: 1px solid #FBFBFB;
  box-shadow: 0px 5px 22px rgba(0, 0, 0, 0.04);
  border-radius: 16px;
  padding: 16px;
}

.v-shop-brand-carousel .v-shop-brand-item img {
  width: 100%;
  border-radius: 12px;
}

.v-shop-brand-carousel .v-shop-brand-item .v-shop-brand-details {
  margin-left: 15px;
}

.v-shop-brand-carousel .v-shop-brand-item .v-shop-brand-title {
  margin: 0;
}

/* product tabs */
.v-shop-product-tabs .nav-tabs {
  justify-content: flex-end;
  border: none;

  --bs-nav-link-hover-color: #111;
  --bs-nav-link-color: #555;
  --bs-nav-tabs-link-border-color: #fff;
  --bs-nav-tabs-link-hover-border-color: transparent;
  --bs-nav-tabs-link-active-border-color: #fff;
}

.v-shop-product-tabs .nav-tabs .nav-link.active,
.v-shop-product-tabs .nav-tabs .nav-item.show .nav-link {
  /* border: none; */
  border-bottom: 3px solid var(--accent-color);
}

/* product-grid */
/* .v-shop-product-grid {
  gap: 25px;
} */
.v-shop-product-item {
  position: relative;
  padding: 16px;
  background: #FFFFFF;
  border: 1px solid #e8e8e8;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06), 0 4px 16px rgba(0, 0, 0, 0.04);
  border-radius: 12px;
  margin-bottom: 24px;
  transition: all 0.3s ease;
  overflow: hidden;
}

.v-shop-product-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1), 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
  border-color: #d0d0d0;
}

.v-shop-product-item h3 {
  display: block;
  width: 100%;
  font-weight: 600;
  font-size: 18px;
  line-height: 25px;
  text-transform: capitalize;
  color: #333333;
  margin: 0;
}

.v-shop-product-item figure {
  background: #F9F9F9;
  border-radius: 12px;
  text-align: center;
}

.v-shop-product-item figure img {
  max-height: 210px;
  height: auto;
}

.v-shop-product-item .v-shop-btn-wishlist {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #d8d8d8;
  transition: all 0.3s ease-out;
}

.v-shop-product-item .v-shop-btn-wishlist:hover {
  background: rgb(240, 56, 56);
  color: #fff;
}

.v-shop-product-item .v-shop-qty {
  font-weight: 400;
  font-size: 13px;
  line-height: 18px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #9D9D9D;
}

.v-shop-product-item .v-shop-rating {
  font-weight: 600;
  font-size: 13px;
  line-height: 18px;
  text-transform: capitalize;
  color: #222222;
}

.v-shop-product-item .v-shop-rating iconify-icon {
  color: #FFC43F;
}

.v-shop-product-item .v-shop-price {
  display: block;
  width: 100%;
  font-weight: 600;
  font-size: 22px;
  line-height: 30px;
  text-transform: capitalize;
  color: #222222;
}

.v-shop-product-item .v-shop-product-qty {
  width: 85px;
}

.v-shop-product-item .btn-link {
  text-decoration: none;
}

.v-shop-product-item #quantity {
  height: auto;
  width: 28px;
  text-align: center;
  border: none;
  margin: 0;
  padding: 0;
}

.v-shop-product-item .v-shop-btn-number {
  width: 26px;
  height: 26px;
  line-height: 1;
  text-align: center;
  background: #FFFFFF;
  border: 1px solid #E2E2E2;
  border-radius: 6px;
  color: #222;
  padding: 0;
}

/* cart */
.v-shop-cart .v-shop-product-qty {
  min-width: 130px;
}

/* floating image */
.floating-zalo {
  position: fixed;
  right: clamp(12px, 2.4vw, 24px);
  bottom: max(18px, calc(env(safe-area-inset-bottom, 0px) + 18px));
  z-index: 1040;
}

.floating-zalo__button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(19, 78, 142, 0.14);
  box-shadow: 0 16px 32px rgba(8, 26, 51, 0.16);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-zalo__button::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: inherit;
  border: 1px solid rgba(0, 104, 255, 0.18);
  animation: zaloPulse 2.4s ease-out infinite;
}

.floating-zalo__button:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 38px rgba(8, 26, 51, 0.2);
}

.floating-zalo__icon {
  width: 34px;
  height: 34px;
  display: block;
}

@keyframes zaloPulse {
  0% {
    opacity: 0.9;
    transform: scale(0.94);
  }

  70% {
    opacity: 0;
    transform: scale(1.14);
  }

  100% {
    opacity: 0;
    transform: scale(1.14);
  }
}

/* post item */
.v-shop-post-item .v-shop-post-meta {
  font-size: 0.8rem;
  line-height: 1;
}

.v-shop-post-item .v-shop-post-meta svg {
  margin-right: 5px;
}

@media screen and (max-width: 991px) {

  .floating-zalo__button {
    width: 58px;
    height: 58px;
  }

  .floating-zalo__icon {
    width: 31px;
    height: 31px;
  }

  /* offcanvas menu */
  .offcanvas-body .nav-item {
    font-weight: 700;
    border-bottom: 1px solid #d1d1d1;
  }

  .offcanvas-body .filter-categories {
    width: 100%;
    margin-bottom: 20px !important;
    border: 1px solid #d1d1d1 !important;
    padding: 14px;
    border-radius: 8px;
  }

  /* dropdown-menu */
  .dropdown-menu {
    padding: 0;
    border: none;
    line-height: 1.4;
    font-size: 0.9em;
  }

  .dropdown-menu a {
    padding-left: 0;
  }

  .dropdown-toggle::after {
    position: absolute;
    right: 0;
    top: 21px;
  }
}

/* single product */
/* product-thumbnail-slider */
.v-shop-product-thumbnail-slider {
  height: 740px;
}

@media screen and (max-width:992px) {
  .v-shop-product-thumbnail-slider {
    margin-top: 20px;
    height: auto;
  }
}

@media screen and (min-width:992px) {
  .v-shop-product-thumbnail-slider {
    height: 520px;
  }
}

@media screen and (min-width:1200px) {
  .v-shop-product-thumbnail-slider {
    height: 740px;
  }
}

/* Product Item Card Styling - Divine Shop Style */
.product-item {
  position: relative;
  padding: 12px;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  margin-bottom: 20px;
  transition: all 0.25s ease;
  overflow: hidden;
}

.product-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
  border-color: #d0d0d0;
}

.product-item figure {
  margin: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 6px;
}

.product-item figure a {
  display: block;
}

.product-item figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 6px;
  transition: transform 0.3s ease;
}

.product-item:hover figure img {
  transform: scale(1.03);
}

.product-item h3,
.product-item h4 {
  display: block;
  width: 100%;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.4;
  color: #333333;
  margin: 10px 0 8px 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-item h3:hover,
.product-item h4:hover {
  color: #007bff;
}

/* Price Section */
.product-item .price-new,
.product-item .fw-bold {
  color: #e53935 !important;
  font-weight: 700;
  font-size: 15px;
}

.product-item .price-old,
.product-item .text-muted,
.product-item del {
  color: #999999 !important;
  font-size: 12px;
  text-decoration: line-through;
}

/* Discount Badge */
.product-item .badge,
.product-item .discount-badge {
  /* background-color: #e53935 !important; */
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
}

.product-item .stock-badge-available {
  background-color: #123a72 !important;
  color: #ffffff !important;
}

.product-item .stock-badge-out {
  background-color: #dc3545 !important;
  color: #ffffff !important;
  opacity: 1 !important;
}

.product-item .d-flex {
  flex-wrap: wrap;
  gap: 6px;
}

/* Background Images for Banner Sections */

.bg-ad-image-1 {
  background: url('../images/ad-image-1.png') no-repeat;
  background-position: right bottom;
}

.bg-ad-image-2 {
  background: url('../images/ad-image-2.png') no-repeat;
  background-position: right bottom;
}

/* Account Dropdown Menu - Hidden by default, show on hover */
.account-dropdown-wrapper {
  position: relative;
  z-index: 1;
}

.account-dropdown-wrapper:hover {
  z-index: 1000;
}

.account-trigger {
  cursor: pointer;
  padding: 5px 0;
  max-width: 180px;
}

.account-trigger span {
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 220px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.18);
  padding: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.25s ease;
  overflow: hidden;
}

.user-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  right: 24px;
  width: 12px;
  height: 12px;
  background: #4A90D9;
  transform: rotate(45deg);
}

.account-dropdown-wrapper:hover .user-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Dropdown Header */
.user-dropdown-menu .dropdown-header {
  background: linear-gradient(135deg, #4A90D9 0%, #357ABD 100%);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-dropdown-menu .dropdown-avatar {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.user-dropdown-menu .dropdown-user-info {
  display: flex;
  flex-direction: column;
}

.user-dropdown-menu .dropdown-username {
  color: #fff;
  font-weight: 600;
  font-size: 14px;
}

.user-dropdown-menu .dropdown-balance {
  color: rgba(255, 255, 255, 0.85);
  font-size: 12px;
}

/* Dropdown Links */
.user-dropdown-menu .dropdown-divider {
  height: 1px;
  background: #eee;
  margin: 0;
}

.user-dropdown-menu .dropdown-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s ease;
}

.user-dropdown-menu .dropdown-link:hover {
  background: #f5f7fa;
  color: #4A90D9;
}

.user-dropdown-menu .dropdown-link svg {
  flex-shrink: 0;
  color: #666;
}

.user-dropdown-menu .dropdown-link:hover svg {
  color: #4A90D9;
}

.user-dropdown-menu .logout-form {
  margin: 0;
}

.user-dropdown-menu .logout-link {
  color: #dc3545;
}

.user-dropdown-menu .logout-link:hover {
  background: #fff5f5;
  color: #dc3545;
}

.user-dropdown-menu .logout-link svg {
  color: #dc3545;
}

/* Category title - single line */
.v-shop-category-title {
  white-space: nowrap;
  font-size: 14px;
}

/* Header include */
html {
  margin: 0;
  padding: 0;
}

body {
  background-color: #fcfafa;
}

.shopee-top.custom-header {
  display: block;
  position: relative;
  margin: 0;
  padding: 0;
  z-index: auto;
  background: transparent !important;
  border: none !important;
  box-shadow: none;
}

.header-tier1-shell {
  background-color: #134E8E;
  height: 38px;
}

.header-tier1-inner {
  font-size: 13px;
}

.header-tier1-text-sm {
  font-size: 13px;
}

.header-tier2-shell {
  background-color: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.sticky-tier-2 {
  position: sticky;
  top: 0;
  z-index: 1015;
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.header-logo-image {
  max-height: 50px;
  background-color: #fff;
  border-radius: 4px;
  padding: 4px;
}

.header-search-bar {
  border: 1px solid #ddd;
}

.header-search-input {
  box-shadow: none !important;
  color: #333 !important;
}

.header-search-input::placeholder {
  color: #6b7785;
  opacity: 1;
}

.header-search-button {
  background-color: #134E8E !important;
  border: none !important;
  padding: 5px 20px;
}

.header-search-button:hover,
.header-search-button:focus,
.header-search-button:active {
  background-color: #0f3f73 !important;
}

.header-search-button-mobile {
  padding: 8px 16px;
}

.header-avatar-image {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
}

.header-account-name {
  font-size: 13px;
  color: #333 !important;
}

.header-account-balance {
  color: #0d6efd;
  font-size: 14px;
}

.header-account-menu {
  top: 110%;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.header-tier3-shell {
  background-color: #fff;
  border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}

.header-tier3-inner {
  font-size: 15px;
}

.tier3-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.tier3-menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: #f4f8fc;
  border: 1px solid rgba(19, 78, 142, 0.14);
  color: #0b3a66;
  font-weight: 800;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.tier3-menu-btn:hover,
.tier3-menu-btn.show {
  background: #134E8E;
  color: #fff;
  border-color: #134E8E;
  transform: translateY(-1px);
}

.tier3-menu-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tier3-menu-label {
  line-height: 1;
}

.tier3-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

.tier3-link:hover {
  color: #134E8E !important;
  background: rgba(19, 78, 142, 0.06);
}

.tier3-dropdown-menu {
  min-width: 260px;
  margin-top: 0;
  padding: 8px;
  border: 1px solid rgba(19, 78, 142, 0.12);
  border-radius: 16px;
  box-shadow: 0 18px 32px rgba(8, 26, 51, 0.14);
}

.tier3-dropdown-item {
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 700;
  color: #10233A;
}

.tier3-dropdown-item:hover,
.tier3-dropdown-item:focus {
  background: rgba(19, 78, 142, 0.08);
  color: #134E8E;
}

.tier3-dropdown-empty {
  padding: 10px 12px;
  color: #6b7785;
}

.tier3-nav > * {
  flex: 0 0 auto;
}

.tier2-mobile-search input {
  min-height: 42px;
  font-size: 14px;
}

.account-trigger:focus-visible,
.tier3-menu-btn:focus-visible {
  outline: 2px solid rgba(19, 78, 142, 0.35);
  outline-offset: 2px;
}

.account-dropdown-wrapper:hover .user-dropdown-menu,
.user-dropdown-menu.show {
  display: block;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (min-width: 768px) {
  .tier3-nav .dropdown:hover > .tier3-dropdown-menu {
    display: block;
  }

  .tier3-nav .dropdown:hover > .tier3-menu-btn {
    background: #134E8E;
    color: #fff;
    border-color: #134E8E;
    transform: translateY(-1px);
  }
}

@media (max-width: 991.98px) {
  .header-tier1-shell {
    height: auto !important;
  }

  .tier1-links,
  .tier1-marquee {
    display: none !important;
  }

  .tier1-auth {
    margin-left: auto;
    padding-left: 0 !important;
  }

  .sticky-tier-2 {
    padding-top: 14px !important;
    padding-bottom: 14px !important;
  }

  .header-logo-image {
    max-height: 44px !important;
  }

  .account-dropdown-wrapper {
    width: 100%;
    display: flex;
    justify-content: flex-end;
  }

  .account-trigger {
    max-width: 100%;
  }
}

@media (max-width: 767.98px) {
  .tier3-nav {
    gap: 8px;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .tier3-nav::-webkit-scrollbar {
    display: none;
  }

  .tier3-menu-label {
    display: inline;
  }

  .tier3-menu-btn {
    min-height: 36px;
    padding: 0 12px;
  }

  .tier3-link {
    min-height: 36px;
    padding-left: 10px !important;
    padding-right: 10px !important;
    font-size: 14px;
    white-space: nowrap;
  }

  .account-trigger {
    justify-content: flex-end;
  }

  .header-avatar-image {
    width: 36px !important;
    height: 36px !important;
  }

  .account-trigger span {
    max-width: 92px;
  }

  .header-account-menu {
    width: min(250px, calc(100vw - 24px));
    right: 0;
    left: auto;
  }

  .tier2-mobile-search {
    border-radius: 14px !important;
  }
}
