/* ==========================================================================
   YelloVairy — main stylesheet
   Layout based on the "Nest" eCommerce template, rebuilt on Bootstrap 5.3
   Brand: green #6AA84F, orange #FF9900 (from the YelloVairy logo)
   ========================================================================== */

:root {
  --brand: #6AA84F;
  --brand-dark: #4F8C36;
  --brand-light: #E8F4E1;
  --accent: #FF9900;
  --accent-light: #FFF2DE;
  --heading: #253D4E;
  --text: #7E7E7E;
  --muted: #ADADAD;
  --border: #ECECEC;
  --border-2: #E5E5E5;
  --grey-bg: #F4F6FA;
  --hot: #F74B81;
  --sale: #67BCEE;
  --new: #6AA84F;
  --best: #FF9900;
  --radius: 15px;
  --shadow: 20px 20px 40px rgba(24, 24, 24, .07);
  --font-heading: "Quicksand", "Segoe UI", sans-serif;
  --font-body: "Lato", "Segoe UI", sans-serif;
}

/* ---------- Base ---------- */
body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text);
  line-height: 24px;
  background: #fff;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6, .heading-font {
  font-family: var(--font-heading);
  color: var(--heading);
  font-weight: 700;
  line-height: 1.2;
}
a { color: var(--heading); text-decoration: none; transition: color .25s; }
a:hover { color: var(--brand); }
img { max-width: 100%; }
.text-brand { color: var(--brand) !important; }
.text-accent { color: var(--accent) !important; }
.text-heading { color: var(--heading) !important; }
.bg-brand { background: var(--brand) !important; }
.bg-grey { background: var(--grey-bg) !important; }
.fw-900 { font-weight: 900; }
.font-xs { font-size: 13px; }
.font-sm { font-size: 14px; }
.font-lg { font-size: 17px; }
.mb-30 { margin-bottom: 30px; }
.mb-50 { margin-bottom: 50px; }
.pt-50 { padding-top: 50px; }
.section-padding { padding: 25px 0; }
::selection { background: var(--brand); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn { font-family: var(--font-heading); font-weight: 700; border-radius: 4px; transition: all .25s; }
.btn-brand { background: var(--brand); color: #fff; border: 1px solid var(--brand); padding: 12px 30px; }
.btn-brand:hover, .btn-brand:focus { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-brand.btn-sm { padding: 8px 18px; font-size: 14px; }
.btn-xs { padding: 7px 14px; font-size: 13px; border-radius: 4px; }
.btn-outline-brand { border: 1px solid var(--brand); color: var(--brand); background: transparent; padding: 11px 28px; }
.btn-outline-brand:hover { background: var(--brand); color: #fff; }
.btn-heading { background: var(--heading); color: #fff; border: 0; padding: 12px 30px; }
.btn-heading:hover { background: var(--brand); color: #fff; }

/* ---------- Preloader ---------- */
#preloader-active { position: fixed; inset: 0; background: #fff; z-index: 9999; display: grid; place-items: center; transition: opacity .4s, visibility .4s; }
#preloader-active.loaded { opacity: 0; visibility: hidden; }
#preloader-active img { width: 90px; animation: pulse 1s infinite alternate; }
@keyframes pulse { from { transform: scale(.9); } to { transform: scale(1.05); } }

/* ---------- Header: top ---------- */
.header-top { border-bottom: 1px solid var(--border); font-size: 13px; padding: 8px 0; }
.header-top a { color: var(--text); }
.header-top a:hover { color: var(--brand); }
.header-top .header-info ul { display: flex; gap: 0; margin: 0; padding: 0; list-style: none; }
.header-top .header-info li { white-space: nowrap; padding: 0 10px; border-right: 1px solid var(--border-2); }
.header-top .header-info li:last-child { border: 0; }
.header-top .header-info li:first-child { padding-left: 0; }
.news-flash { color: var(--heading); }
.news-flash b { color: var(--accent); }

/* ---------- Header: middle ---------- */
.header-middle { padding: 20px 0; }
.header-middle .logo img { height: 66px; width: auto; }
.search-style-2 { display: flex; border: 2px solid var(--brand-light); border-radius: 4px; background: #fff; max-width: 700px; width: 100%; }
.search-style-2 select { border: 0; border-right: 1px solid var(--border); padding: 0 16px; font-family: var(--font-heading); font-weight: 700; color: var(--heading); background-color: transparent; width: 190px; font-size: 14px; }
.search-style-2 input { flex: 1; border: 0; padding: 13px 16px; font-size: 14px; min-width: 0; outline: none; }
.search-style-2 button { border: 0; background: transparent; padding: 0 18px; color: var(--heading); font-size: 18px; }
.search-style-2:focus-within { border-color: var(--brand); }
.header-action-2 { display: flex; align-items: center; gap: 26px; }
.header-action-icon-2 { position: relative; display: flex; align-items: center; gap: 6px; font-size: 16px; color: var(--text); }
.header-action-icon-2 > a { display: flex; align-items: center; gap: 8px; color: var(--text); }
.header-action-icon-2 > a:hover { color: var(--brand); }
.header-action-icon-2 i.bi { font-size: 26px; color: var(--heading); }
.header-action-icon-2 .pro-count { position: absolute; left: 16px; top: -8px; width: 20px; height: 20px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.header-action-icon-2 .lable { font-family: var(--font-body); font-size: 15px; }

/* Mini cart dropdown */
.cart-dropdown-wrap { position: absolute; right: 0; top: calc(100% + 18px); width: 320px; background: #fff; border: 1px solid var(--border); border-radius: 10px; box-shadow: 5px 5px 15px rgba(0,0,0,.05); padding: 20px; z-index: 99; opacity: 0; visibility: hidden; transform: translateY(15px); transition: all .25s; }
.header-action-icon-2:hover .cart-dropdown-wrap { opacity: 1; visibility: visible; transform: none; }
.cart-dropdown-wrap::before { content: ""; position: absolute; top: -20px; left: 0; right: 0; height: 20px; }
.cart-dropdown-wrap ul { list-style: none; margin: 0 0 12px; padding: 0; max-height: 280px; overflow: auto; }
.cart-dropdown-wrap li { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); }
.cart-dropdown-wrap li img { width: 64px; height: 64px; object-fit: contain; border: 1px solid var(--border); border-radius: 6px; }
.cart-dropdown-wrap li h4 { font-size: 14px; margin: 0 0 4px; }
.cart-dropdown-wrap li h5 { font-size: 13px; color: var(--brand); margin: 0; }
.cart-dropdown-wrap li .remove { margin-left: auto; color: var(--muted); border: 0; background: none; }
.cart-dropdown-wrap .total { display: flex; justify-content: space-between; font-family: var(--font-heading); font-weight: 700; color: var(--heading); font-size: 17px; padding: 6px 0 14px; }
.cart-dropdown-wrap .buttons { display: flex; gap: 10px; }
.cart-dropdown-wrap .buttons a { flex: 1; text-align: center; }
.account-dropdown { width: 220px; }
.account-dropdown ul li { padding: 6px 0; border: 0; }
.account-dropdown ul li a { color: var(--heading); font-size: 14px; display: flex; gap: 10px; align-items: center; }
.account-dropdown ul li a:hover { color: var(--brand); }

/* ---------- Header: bottom ---------- */
.header-bottom { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: #fff; }
.sticky-bar.stick { position: fixed; top: 0; left: 0; right: 0; z-index: 1020; box-shadow: 0 5px 15px rgba(0,0,0,.05); animation: slideDown .4s; }
@keyframes slideDown { from { transform: translateY(-100%); } to { transform: none; } }
.header-bottom .header-wrap { display: flex; align-items: center; gap: 30px; min-height: 64px; }
.categories-button-active { background: var(--brand); color: #fff !important; font-family: var(--font-heading); font-weight: 700; padding: 11px 22px; border-radius: 5px; display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; border: 0; }
.categories-button-active:hover { background: var(--accent); }
.categories-dropdown-wrap { position: absolute; top: calc(100% + 14px); left: 0; width: 460px; background: #fff; border: 1px solid var(--brand-light); border-radius: 10px; padding: 26px; z-index: 99; opacity: 0; visibility: hidden; transform: translateY(15px); transition: all .25s; }
.main-categori-wrap { position: relative; }
.main-categori-wrap.open .categories-dropdown-wrap { opacity: 1; visibility: visible; transform: none; }
.categori-dropdown-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.categori-dropdown-inner a { display: flex; align-items: center; gap: 12px; border: 1px solid var(--border-2); border-radius: 5px; padding: 8px 12px; font-family: var(--font-heading); font-weight: 700; font-size: 14px; }
.categori-dropdown-inner a:hover { border-color: var(--brand); box-shadow: 5px 5px 15px rgba(0,0,0,.05); }
.categori-dropdown-inner img { width: 34px; height: 34px; object-fit: cover; border-radius: 50%; }
.main-menu { display: flex; list-style: none; margin: 0; padding: 0; gap: 4px; }
.main-menu > li { position: relative; }
.main-menu > li > a { display: flex; align-items: center; gap: 6px; padding: 20px 12px; font-family: var(--font-heading); font-weight: 700; font-size: 15px; color: var(--heading); }
.main-menu > li > a.active, .main-menu > li > a:hover { color: var(--brand); }
.main-menu > li > a .bi-fire { color: var(--accent); }
.main-menu .sub-menu { position: absolute; top: 100%; left: 0; min-width: 220px; background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 14px 0; list-style: none; z-index: 99; opacity: 0; visibility: hidden; transform: translateY(15px); transition: all .25s; box-shadow: 5px 5px 15px rgba(0,0,0,.05); }
.main-menu li:hover > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.main-menu .sub-menu a { display: block; padding: 7px 22px; font-size: 14px; color: var(--heading); }
.main-menu .sub-menu a:hover { color: var(--brand); padding-left: 26px; }
.hotline { display: flex; align-items: center; gap: 10px; margin-left: auto; white-space: nowrap; }
.hotline i { font-size: 34px; color: var(--heading); }
.hotline p { margin: 0; font-family: var(--font-heading); font-weight: 700; color: var(--brand); font-size: 24px; line-height: 1; }
.hotline span { display: block; font-size: 12px; color: var(--text); font-family: var(--font-body); font-weight: 400; margin-top: 4px; }

/* Mobile header */
.header-mobile { display: none; padding: 12px 0; border-bottom: 1px solid var(--border); background: #fff; }
.header-mobile .logo img { height: 46px; }
.burger-icon { border: 0; background: none; font-size: 28px; color: var(--heading); padding: 0; }
.mobile-search { padding: 10px 0 0; }
.offcanvas .mobile-menu { list-style: none; padding: 0; margin: 0; }
.offcanvas .mobile-menu li { border-bottom: 1px solid var(--border); }
.offcanvas .mobile-menu a { display: block; padding: 12px 0; font-family: var(--font-heading); font-weight: 700; color: var(--heading); }
.offcanvas .mobile-menu a:hover { color: var(--brand); }

/* ---------- Hero slider ---------- */
.home-slider { margin-top: 30px; }
.single-hero-slider { position: relative; border-radius: 30px; min-height: 538px; overflow: hidden; background-color: #F2F1EC; background-size: cover; background-position: center right; display: flex; align-items: center; }
.single-hero-slider::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(248,246,240,.97) 0%, rgba(248,246,240,.9) 38%, rgba(248,246,240,0) 66%); }
.slider-content { position: relative; padding-left: 72px; max-width: 700px; min-width: 0; width: 100%; }
.slider-content .display-2 { font-size: 38px; font-weight: 700; line-height: 1.12; margin-bottom: 20px; }
.slider-content .display-2 .tagline { color: var(--brand); display: block; font-weight: 700; font-size: .78em; margin-top: 6px; }
.slider-content p { font-size: 22px; color: var(--text); margin-bottom: 40px; }
.form-subcriber { display: flex; align-items: center; background: #fff; border-radius: 50px; max-width: 450px; padding: 0 0 0 26px; box-shadow: 0 5px 20px rgba(0,0,0,.05); }
.form-subcriber i { color: var(--muted); font-size: 18px; }
.form-subcriber input { flex: 1; border: 0; padding: 18px 12px; outline: none; font-size: 15px; min-width: 0; background: transparent; }
.form-subcriber .btn { border-radius: 50px; padding: 18px 36px; }
.form-msg { font-size: 14px; margin-top: 12px; min-height: 21px; font-weight: 700; color: var(--brand); }
.home-slider .carousel-indicators { bottom: 24px; }
.home-slider .carousel-indicators [data-bs-target] { width: 10px; height: 10px; border-radius: 50%; background: var(--heading); opacity: .25; border: 0; margin: 0 5px; }
.home-slider .carousel-indicators .active { background: var(--brand); opacity: 1; width: 12px; height: 12px; }
.slider-arrow { width: 44px; height: 44px; border-radius: 50%; background: var(--grey-bg) !important; color: var(--heading); font-size: 18px; top: 50%; transform: translateY(-50%); opacity: 1; margin: 0 20px; }
.slider-arrow:hover { background: var(--brand) !important; color: #fff; }

/* ---------- Section titles ---------- */
.section-title { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 15px; margin-bottom: 40px; }
.section-title h3 { font-size: 32px; margin: 0; }
.section-title .sub { display: block; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); font-weight: 700; margin-bottom: 8px; }
.nav-tabs.links { border: 0; gap: 4px; }
.nav-tabs.links .nav-link { border: 0; color: var(--heading); font-family: var(--font-heading); font-weight: 700; font-size: 16px; padding: 4px 12px; background: transparent; border-radius: 4px; }
.nav-tabs.links .nav-link:hover { color: var(--brand); transform: translateY(-2px); }
.nav-tabs.links .nav-link.active { color: var(--brand); }
.slider-btns { display: flex; gap: 10px; }
.slider-btns button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--grey-bg); color: var(--heading); }
.slider-btns button:hover { background: var(--brand); color: #fff; }

/* ---------- Featured categories ---------- */
.cat-scroller { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 6 * 24px) / 7); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.cat-scroller::-webkit-scrollbar { display: none; }
.card-2 { scroll-snap-align: start; border-radius: 10px; border: 1px solid #F4F6FA; text-align: center; padding: 26px 10px 22px; transition: all .25s; display: block; }
.card-2:hover { border-color: var(--brand); box-shadow: 5px 5px 15px rgba(0,0,0,.05); }
.card-2 figure { margin: 0 auto 18px; width: 96px; height: 96px; border-radius: 50%; overflow: hidden; background: #fff; box-shadow: 0 6px 14px rgba(0,0,0,.06); }
.card-2 figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.card-2:hover figure img { transform: scale(1.1); }
.card-2 h6 { font-size: 16px; margin-bottom: 4px; }
.card-2 span { font-size: 14px; color: var(--text); }
.bg-9 { background: #F2FCE4; } .bg-10 { background: #FFFCEB; } .bg-11 { background: #ECFFEC; }
.bg-12 { background: #FEEFEA; } .bg-13 { background: #FFF3EB; } .bg-14 { background: #FFF3FF; } .bg-15 { background: #F2FCE4; }

/* ---------- Banners ---------- */
.banner-img { position: relative; border-radius: 10px; overflow: hidden; display: block; }
.banner-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.banner-img:hover img { transform: scale(1.05); }
.banner-img .banner-text { position: absolute; top: 50%; left: 20px; transform: translateY(-50%); max-width: 44%; }
.banner-img .banner-text h4 { font-size: 16px; margin-bottom: 22px; line-height: 1.35; }
.banner-img.style-1 { aspect-ratio: 2 / 1; }
.banner-img.style-1::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.85) 0%, rgba(255,255,255,.35) 55%, rgba(255,255,255,0) 75%); pointer-events: none; }
.banner-img.style-1 .banner-text { z-index: 2; }
.banner-img.style-2 { height: 100%; min-height: 480px; padding: 50px 40px; background-size: cover; background-position: center; display: flex; flex-direction: column; }
.banner-img.style-2::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(248,246,240,.95) 0%, rgba(248,246,240,.6) 40%, rgba(248,246,240,0) 70%); }
.banner-img.style-2 > * { position: relative; }
.banner-img.style-2 h2 { font-size: 36px; line-height: 1.25; margin-bottom: 30px; }

/* ---------- Product card ---------- */
.product-cart-wrap { position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: all .25s; height: 100%; display: flex; flex-direction: column; }
.product-cart-wrap:hover { border-color: #BCE3C9; box-shadow: var(--shadow); }
.product-img-action-wrap { position: relative; padding: 25px 25px 0; }
.product-img { position: relative; overflow: hidden; border-radius: 10px; aspect-ratio: 1 / 1; }
.product-img img { width: 100%; height: 100%; object-fit: contain; transition: opacity .35s, transform .35s; }
.product-img img.hover-img { position: absolute; inset: 0; opacity: 0; object-fit: cover; border-radius: 10px; }
.product-cart-wrap:hover .product-img img.hover-img { opacity: 1; }
.product-cart-wrap:hover .product-img img.default-img { transform: scale(1.05); }
.product-action-1 { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: flex; background: #fff; border: 1px solid #BCE3C9; border-radius: 5px; opacity: 0; visibility: hidden; transition: all .25s; z-index: 3; box-shadow: 0 5px 10px rgba(0,0,0,.05); }
.product-cart-wrap:hover .product-action-1 { opacity: 1; visibility: visible; }
.product-action-1 button, .product-action-1 a { width: 40px; height: 40px; display: grid; place-items: center; border: 0; background: transparent; color: var(--heading); font-size: 16px; border-right: 1px solid #BCE3C9; }
.product-action-1 > :last-child { border-right: 0; }
.product-action-1 button:hover, .product-action-1 a:hover { color: var(--brand); }
.product-action-1 .in-wish { color: var(--hot); }
.product-badges { position: absolute; left: 0; top: 0; z-index: 4; }
.product-badges span { display: inline-block; font-size: 12px; line-height: 1; padding: 9px 20px 10px; border-radius: 15px 0 20px 0; color: #fff; font-weight: 700; }
.product-badges .hot { background: var(--hot); }
.product-badges .sale { background: var(--sale); }
.product-badges .new { background: var(--new); }
.product-badges .best { background: var(--best); }
.product-content-wrap { padding: 16px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.product-category a { font-size: 12px; color: var(--muted); }
.product-content-wrap h2 { font-size: 16px; line-height: 1.35; margin: 6px 0 8px; }
.product-content-wrap h2 a { color: var(--heading); }
.product-content-wrap h2 a:hover { color: var(--brand); }
.product-rate-cover { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); }
.stars { color: var(--accent); font-size: 12px; letter-spacing: 1px; }
.product-card-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 12px; gap: 8px; flex-wrap: wrap; }
.product-price span { font-family: var(--font-heading); font-size: 18px; font-weight: 700; color: var(--brand); }
.product-price .old-price { font-size: 14px; color: var(--muted); text-decoration: line-through; margin-left: 6px; font-weight: 700; }
.add-cart .add { display: inline-flex; align-items: center; gap: 6px; background: #E8F4E1; color: var(--brand); border: 0; border-radius: 4px; padding: 6px 18px 6px 16px; font-family: var(--font-heading); font-weight: 700; font-size: 14px; }
.add-cart .add:hover { background: var(--brand); color: #fff; transform: translateY(-2px); }
.add-cart .add.added { background: var(--brand); color: #fff; }
.font-small { font-size: 13px; }
.by-brand a { color: var(--brand); }
.product-unit { font-size: 13px; color: var(--text); }

/* Best sells cards */
.product-cart-wrap .sold { margin: 12px 0 4px; }
.progress { height: 4px; background: #E9ECEF; border-radius: 4px; }
.progress-bar { background: var(--brand); }
.sold span { font-size: 14px; color: var(--heading); }
.btn-add-full { width: 100%; background: var(--brand); color: #fff; border: 0; border-radius: 4px; padding: 10px; font-family: var(--font-heading); font-weight: 700; margin-top: 14px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.btn-add-full:hover { background: var(--accent); }

/* Deals */
.product-cart-wrap.style-2 { border: 0; background: transparent; overflow: visible; }
.product-cart-wrap.style-2:hover { box-shadow: none; }
.product-cart-wrap.style-2 .product-img-action-wrap { padding: 0; }
.product-cart-wrap.style-2 .product-img { aspect-ratio: 1.12 / 1; border-radius: 15px; }
.product-cart-wrap.style-2 .product-img img { object-fit: cover; }
.product-cart-wrap.style-2 .product-content-wrap { background: #fff; border-radius: 10px; margin: -110px 20px 0; position: relative; z-index: 2; box-shadow: 5px 5px 15px rgba(0,0,0,.05); padding: 22px 26px; }
.deals-countdown-wrap { position: absolute; left: 0; right: 0; top: -80px; }
.deals-countdown { display: flex; justify-content: center; gap: 10px; }
.deals-countdown span { background: #fff; border-radius: 4px; width: 56px; height: 58px; display: flex; flex-direction: column; align-items: center; justify-content: center; font-family: var(--font-heading); font-weight: 700; color: var(--brand); font-size: 22px; line-height: 1; }
.deals-countdown span small { font-family: var(--font-body); font-size: 12px; font-weight: 400; color: var(--text); margin-top: 6px; }

/* Small lists */
.product-list-small h4.section-title-sm { font-size: 24px; padding-bottom: 15px; margin-bottom: 30px; border-bottom: 1px solid var(--border); position: relative; }
.product-list-small h4.section-title-sm::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 80px; height: 2px; background: #BCE3C9; }
.product-list-small article { display: flex; gap: 20px; align-items: center; margin-bottom: 24px; }
.product-list-small figure { width: 110px; flex: none; margin: 0; border-radius: 5px; overflow: hidden; }
.product-list-small figure img { transition: transform .3s; }
.product-list-small article:hover figure img { transform: translateY(-4px); }
.product-list-small h6 { font-size: 16px; margin-bottom: 6px; line-height: 1.35; }

/* ---------- Newsletter ---------- */
.newsletter-inner { position: relative; border-radius: 20px; overflow: hidden; background-color: #EAF3E3; background-size: cover; background-position: center; padding: 84px 78px; }
.newsletter-inner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(236,245,230,.98) 0%, rgba(236,245,230,.92) 42%, rgba(236,245,230,0) 70%); }
.newsletter-content { position: relative; max-width: 560px; }
.newsletter-content h2 { font-size: 40px; line-height: 1.25; margin-bottom: 20px; }
.newsletter-content p { margin-bottom: 40px; }

/* ---------- Feature boxes ---------- */
.banner-left-icon { display: flex; align-items: center; gap: 18px; background: var(--grey-bg); border-radius: 10px; padding: 20px 22px; height: 100%; transition: transform .25s; }
.banner-left-icon:hover { transform: translateY(-5px); }
.banner-icon { width: 58px; height: 58px; flex: none; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 26px; color: var(--brand); }
.banner-left-icon h3 { font-size: 17px; margin-bottom: 2px; }
.banner-left-icon p { margin: 0; font-size: 14px; }

/* ---------- Footer ---------- */
.footer-mid { padding: 60px 0 30px; }
.widget-about .logo img { height: 72px; margin-bottom: 18px; }
.widget-about .tagline { font-size: 17px; color: var(--heading); margin-bottom: 22px; }
.contact-infor { list-style: none; padding: 0; margin: 0; font-size: 15px; }
.contact-infor li { display: flex; gap: 10px; margin-bottom: 12px; color: var(--heading); }
.contact-infor li i { color: var(--brand); font-size: 17px; }
.contact-infor strong { font-weight: 700; white-space: nowrap; }
.contact-infor span { color: var(--text); }
.footer-link-widget h4 { font-size: 24px; margin-bottom: 22px; }
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { margin-bottom: 11px; }
.footer-list a { color: var(--heading); font-size: 15px; }
.footer-list a:hover { color: var(--brand); padding-left: 4px; }
.payment-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.payment-pills span { border: 1px solid var(--border); border-radius: 6px; padding: 5px 10px; font-size: 13px; font-weight: 700; color: var(--heading); background: #fff; }
.footer-bottom { border-top: 1px solid #BCE3C9; padding: 26px 0; }
.footer-bottom .hotline-sm { display: flex; align-items: center; gap: 10px; }
.footer-bottom .hotline-sm i { font-size: 30px; color: var(--muted); }
.footer-bottom .hotline-sm p { margin: 0; font-family: var(--font-heading); font-weight: 700; font-size: 24px; color: var(--brand); line-height: 1; }
.footer-bottom .hotline-sm span { font-size: 12px; }
.mobile-social-icon { display: flex; gap: 8px; align-items: center; }
.mobile-social-icon a { width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 14px; }
.mobile-social-icon a:hover { background: var(--accent); transform: translateY(-3px); }

/* ---------- Breadcrumb / page header ---------- */
.page-header.breadcrumb-wrap { padding: 20px 0; border-bottom: 1px solid var(--border); font-family: var(--font-heading); font-size: 14px; font-weight: 700; }
.breadcrumb-wrap .breadcrumb-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; color: var(--muted); }
.breadcrumb-wrap .breadcrumb-nav a { color: var(--brand); }
.breadcrumb-wrap .breadcrumb-nav .sep { color: var(--muted); font-size: 11px; }
.archive-header { border-radius: 20px; padding: 60px 70px; background-size: cover; background-position: center; position: relative; overflow: hidden; margin-top: 30px; }
.archive-header::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(242,247,238,.97) 0%, rgba(242,247,238,.85) 45%, rgba(242,247,238,.2) 80%); }
.archive-header > * { position: relative; }
.archive-header h1 { font-size: 48px; margin-bottom: 12px; }
.tags-list { display: flex; flex-wrap: wrap; gap: 10px; }
.tags-list a { background: #fff; border: 1px solid var(--border); border-radius: 30px; padding: 7px 18px; font-family: var(--font-heading); font-weight: 700; font-size: 14px; color: var(--heading); box-shadow: 5px 5px 15px rgba(0,0,0,.04); }
.tags-list a:hover, .tags-list a.active { border-color: var(--brand); color: var(--brand); }

/* ---------- Shop ---------- */
.shop-product-fillter { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 15px; margin-bottom: 30px; }
.shop-product-fillter p { margin: 0; }
.sort-by-cover { display: flex; align-items: center; gap: 8px; border: 1px solid var(--border); border-radius: 10px; padding: 6px 14px; font-size: 14px; }
.sort-by-cover select { border: 0; font-weight: 700; color: var(--heading); outline: none; background: transparent; }
.sidebar-widget { border: 1px solid var(--border); border-radius: 15px; padding: 26px 28px; box-shadow: 5px 5px 15px rgba(0,0,0,.03); margin-bottom: 30px; }
.sidebar-widget .section-title.style-1 { border-bottom: 1px solid var(--border); padding-bottom: 16px; margin-bottom: 26px; position: relative; display: block; }
.sidebar-widget .section-title.style-1::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 80px; height: 2px; background: #BCE3C9; }
.sidebar-widget .section-title h5 { font-size: 22px; margin: 0; }
.widget-category-2 ul { list-style: none; padding: 0; margin: 0; }
.widget-category-2 li { display: flex; align-items: center; justify-content: space-between; border: 1px solid #F2F3F4; border-radius: 5px; padding: 9px 16px; margin-bottom: 12px; transition: all .25s; }
.widget-category-2 li:hover, .widget-category-2 li.active { border-color: #BCE3C9; box-shadow: 5px 5px 15px rgba(0,0,0,.05); }
.widget-category-2 li a { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 700; font-family: var(--font-heading); color: var(--heading); flex: 1; }
.widget-category-2 li img { width: 30px; height: 30px; object-fit: cover; border-radius: 50%; }
.widget-category-2 .count { width: 26px; height: 26px; border-radius: 50%; background: #E8F4E1; color: var(--heading); display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.price-filter input[type=range] { accent-color: var(--brand); width: 100%; }
.price-filter .caption { display: flex; justify-content: space-between; font-size: 14px; }
.price-filter .caption strong { color: var(--brand); }
.check-list label { display: flex; align-items: center; gap: 10px; font-size: 14px; margin-bottom: 8px; cursor: pointer; }
.check-list input { accent-color: var(--brand); width: 16px; height: 16px; }
.single-post { display: flex; gap: 14px; align-items: center; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--border); }
.single-post:last-child { border: 0; margin: 0; padding: 0; }
.single-post img { width: 80px; height: 80px; object-fit: contain; border-radius: 5px; background: #fff; border: 1px solid var(--border); }
.single-post h6 { font-size: 15px; margin: 0 0 4px; }
.single-post p { margin: 0; color: var(--brand); font-weight: 700; font-family: var(--font-heading); }
.banner-img.sidebar { aspect-ratio: 3 / 4; }
.banner-img.sidebar::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.5) 40%, transparent 65%); }
.banner-img.sidebar .banner-text { top: 34px; transform: none; left: 26px; max-width: 80%; z-index: 2; }
.pagination-area .page-link { border: 0; width: 40px; height: 40px; border-radius: 50% !important; display: grid; place-items: center; background: #F2F3F4; color: var(--heading); font-weight: 700; margin: 0 4px; }
.pagination-area .page-item.active .page-link, .pagination-area .page-link:hover { background: var(--brand); color: #fff; }

/* ---------- Product detail ---------- */
.detail-gallery { position: relative; }
.detail-gallery .main-image { border: 1px solid var(--border); border-radius: 15px; overflow: hidden; aspect-ratio: 1 / 1; background: #fff; }
.detail-gallery .main-image img { width: 100%; height: 100%; object-fit: contain; transition: transform .3s; transform-origin: center; }
.detail-gallery .main-image:hover img { transform: scale(1.5); cursor: zoom-in; }
.zoom-icon { position: absolute; top: 20px; right: 20px; z-index: 2; font-size: 20px; color: var(--heading); }
.slider-nav-thumbnails { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 18px; }
.slider-nav-thumbnails button { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; padding: 0; background: #fff; aspect-ratio: 1 / 1; opacity: .6; transition: all .2s; }
.slider-nav-thumbnails button.active, .slider-nav-thumbnails button:hover { border-color: var(--brand); opacity: 1; }
.slider-nav-thumbnails img { width: 100%; height: 100%; object-fit: cover; }
.detail-info .stock-status { display: inline-block; border-radius: 5px; padding: 5px 12px; font-size: 14px; font-weight: 700; font-family: var(--font-heading); }
.stock-status.in-stock { background: #FDE0E9; color: var(--hot); }
.detail-info .title-detail { font-size: 40px; margin: 16px 0 14px; }
.product-price-cover { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin: 24px 0; }
.product-price-cover .current-price { font-family: var(--font-heading); font-size: 58px; font-weight: 700; color: var(--brand); line-height: 1; }
.product-price-cover .save-price { font-family: var(--font-heading); font-weight: 700; color: var(--accent); font-size: 14px; }
.product-price-cover .old-price { font-family: var(--font-heading); font-weight: 700; color: var(--muted); font-size: 26px; text-decoration: line-through; display: block; }
.short-desc { font-size: 17px; line-height: 1.7; margin-bottom: 26px; }
.attr-detail { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; }
.attr-detail strong { color: var(--heading); font-family: var(--font-heading); }
.list-filter { display: flex; gap: 8px; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; }
.list-filter button { border: 0; background: #F2F3F4; color: var(--heading); border-radius: 5px; padding: 6px 14px; font-size: 14px; font-weight: 700; }
.list-filter button.active, .list-filter button:hover { background: var(--brand); color: #fff; }
.detail-extralink { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.detail-qty { display: flex; align-items: center; border: 2px solid var(--brand); border-radius: 5px; background: #fff; }
.detail-qty button { border: 0; background: transparent; width: 36px; height: 46px; color: var(--brand); font-size: 16px; }
.detail-qty input { width: 44px; border: 0; text-align: center; font-weight: 700; font-size: 17px; color: var(--heading); outline: none; -moz-appearance: textfield; }
.detail-qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.button-add-to-cart { padding: 12px 34px !important; display: inline-flex; align-items: center; gap: 8px; }
.action-btn-lg { width: 48px; height: 48px; border: 1px solid var(--border); border-radius: 5px; display: grid; place-items: center; background: #fff; color: var(--heading); font-size: 18px; }
.action-btn-lg:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-3px); }
.action-btn-lg.in-wish { color: var(--hot); border-color: var(--hot); }
.product-meta { font-size: 14px; border-top: 1px solid var(--border); padding-top: 22px; margin-top: 30px; }
.product-meta ul { list-style: none; padding: 0; margin: 0; }
.product-meta li { margin-bottom: 6px; }
.product-meta li span { color: var(--brand); }
.product-info-tabs { border: 1px solid var(--border); border-radius: 15px; padding: 40px 50px; margin-top: 60px; }
.product-info-tabs .nav-tabs { border: 0; gap: 12px; margin-bottom: 30px; }
.product-info-tabs .nav-link { border: 1px solid var(--border) !important; border-radius: 30px !important; color: var(--muted); font-family: var(--font-heading); font-weight: 700; font-size: 17px; padding: 12px 24px; }
.product-info-tabs .nav-link.active, .product-info-tabs .nav-link:hover { color: var(--brand); box-shadow: 5px 5px 15px rgba(0,0,0,.05); }
.product-info-tabs table th { color: var(--heading); font-family: var(--font-heading); width: 35%; }
.comment-list .single-comment { display: flex; gap: 20px; padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid var(--border); }
.comment-list .avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--brand-light); color: var(--brand); display: grid; place-items: center; font-family: var(--font-heading); font-weight: 700; font-size: 22px; flex: none; }
.rating-bars .row-bar { display: flex; align-items: center; gap: 10px; font-size: 14px; margin-bottom: 8px; }
.rating-bars .progress { flex: 1; height: 20px; }
.rating-bars .progress-bar { font-size: 11px; line-height: 20px; }

/* ---------- Cart / checkout / wishlist ---------- */
.shopping-summery { border: 1px solid var(--border); border-radius: 15px; overflow: hidden; }
.shopping-summery table { margin: 0; }
.shopping-summery thead th { background: #ECECEC; border: 0; font-family: var(--font-heading); color: var(--heading); font-size: 16px; padding: 18px 16px; white-space: nowrap; }
.shopping-summery td { vertical-align: middle; padding: 18px 16px; border-color: var(--border); }
.shopping-summery .product-thumbnail img { width: 90px; height: 90px; object-fit: contain; border: 1px solid var(--border); border-radius: 12px; background: #fff; }
.shopping-summery .product-name a { font-family: var(--font-heading); font-weight: 700; font-size: 16px; }
.shopping-summery .price { font-family: var(--font-heading); font-weight: 700; font-size: 20px; color: var(--heading); }
.shopping-summery .subtotal { color: var(--brand); }
.shopping-summery .detail-qty { width: 124px; }
.shopping-summery .detail-qty button { height: 40px; }
.remove-btn { border: 0; background: transparent; color: var(--muted); font-size: 18px; }
.remove-btn:hover { color: var(--hot); }
.cart-totals { border: 1px solid var(--border); border-radius: 15px; padding: 30px; box-shadow: 5px 5px 15px rgba(0,0,0,.03); }
.cart-totals table td { padding: 10px 0; border-color: var(--border); }
.cart-totals .cart_total_label { color: var(--muted); font-weight: 700; font-family: var(--font-heading); }
.cart-totals .cart_total_amount { text-align: right; font-family: var(--font-heading); font-weight: 700; font-size: 20px; color: var(--heading); }
.cart-totals .cart_total_amount.brand { color: var(--brand); font-size: 26px; }
.form-control, .form-select { border: 1px solid var(--border); border-radius: 10px; min-height: 52px; padding: 12px 18px; font-size: 15px; color: var(--heading); }
.form-control:focus, .form-select:focus { border-color: #BCE3C9; box-shadow: none; }
textarea.form-control { min-height: 140px; }
.form-label { font-weight: 700; color: var(--heading); font-size: 14px; }
.coupon-box { display: flex; gap: 10px; max-width: 460px; }
.coupon-box .form-control { flex: 1; }
.order_review { border: 1px solid var(--border); border-radius: 15px; padding: 30px; box-shadow: 5px 5px 15px rgba(0,0,0,.03); }
.order_review .row-item { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--border); }
.order_review .row-item img { width: 64px; height: 64px; object-fit: contain; border: 1px solid var(--border); border-radius: 10px; }
.order_review .row-item h6 { font-size: 15px; margin: 0 0 2px; }
.payment_option .form-check { border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px 14px 44px; margin-bottom: 10px; }
.payment_option .form-check-input:checked { background-color: var(--brand); border-color: var(--brand); }
.payment_option .form-check-label { font-weight: 700; color: var(--heading); }
.order-success { text-align: center; padding: 50px 20px; }
.order-success .icon { width: 90px; height: 90px; border-radius: 50%; background: var(--brand-light); color: var(--brand); display: grid; place-items: center; font-size: 44px; margin: 0 auto 20px; }
.empty-state { text-align: center; padding: 60px 20px; }
.empty-state i { font-size: 64px; color: #BCE3C9; }

/* ---------- About ---------- */
.welcome-img { border-radius: 15px; overflow: hidden; }
.welcome-img img { width: 100%; height: 100%; object-fit: cover; }
.about-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.about-gallery img { border-radius: 15px; aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }
.featured-card { border: 1px solid var(--border); border-radius: 15px; padding: 40px 30px; text-align: center; height: 100%; transition: all .25s; }
.featured-card:hover { box-shadow: var(--shadow); border-color: #BCE3C9; transform: translateY(-5px); }
.featured-card .icon { width: 76px; height: 76px; border-radius: 50%; background: var(--brand-light); color: var(--brand); display: grid; place-items: center; font-size: 34px; margin: 0 auto 22px; }
.featured-card h4 { font-size: 22px; margin-bottom: 14px; }
.stats-band { border-radius: 20px; background: var(--heading); color: #fff; padding: 60px 40px; background-size: cover; background-position: center; position: relative; overflow: hidden; }
.stats-band::before { content: ""; position: absolute; inset: 0; background: rgba(21,48,20,.82); }
.stats-band > * { position: relative; }
.stats-band .count { font-family: var(--font-heading); font-size: 56px; font-weight: 700; line-height: 1; color: #fff; }
.stats-band .count span { color: var(--accent); }
.stats-band p { color: rgba(255,255,255,.85); margin: 10px 0 0; font-weight: 700; }
.testimonial-card { border: 1px solid var(--border); border-radius: 15px; padding: 30px; height: 100%; }
.testimonial-card .quote { font-size: 40px; color: #BCE3C9; line-height: 1; }
.testimonial-card .who { display: flex; gap: 12px; align-items: center; margin-top: 16px; }

/* ---------- Contact ---------- */
.contact-card { border: 1px solid var(--border); border-radius: 15px; padding: 30px; height: 100%; }
.contact-card h4 { color: var(--brand); font-size: 22px; margin-bottom: 16px; }
.contact-card p { margin-bottom: 6px; }
.map-wrap { border-radius: 15px; overflow: hidden; border: 1px solid var(--border); height: 420px; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Login / 404 ---------- */
.login-card { border: 1px solid var(--border); border-radius: 15px; padding: 40px; box-shadow: var(--shadow); height: 100%; }
.page-404 { text-align: center; padding: 60px 0; }
.page-404 .big { font-family: var(--font-heading); font-size: 160px; font-weight: 700; color: var(--brand); line-height: 1; }
.page-404 .big span { color: var(--accent); }

/* ---------- Quick view modal ---------- */
.custom-modal .modal-dialog { max-width: 1000px; }
.custom-modal .modal-content { border-radius: 20px; border: 0; padding: 30px; }
.custom-modal .btn-close { position: absolute; right: 24px; top: 24px; z-index: 5; }
.custom-modal .title-detail { font-size: 30px; }
.custom-modal .current-price { font-size: 44px !important; }

/* ---------- Misc ---------- */
#scrollUp { position: fixed; right: 26px; bottom: 26px; width: 44px; height: 44px; border-radius: 50%; background: var(--brand); color: #fff; border: 0; font-size: 20px; display: grid; place-items: center; z-index: 999; opacity: 0; visibility: hidden; transition: all .3s; }
#scrollUp.show { opacity: 1; visibility: visible; }
#scrollUp:hover { background: var(--accent); }
.toast-container .toast { border: 0; border-left: 4px solid var(--brand); border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.12); }
.toast-container .toast-body { display: flex; align-items: center; gap: 10px; color: var(--heading); font-weight: 700; }
.toast-container .toast-body i { color: var(--brand); font-size: 20px; }
.no-results { grid-column: 1 / -1; text-align: center; padding: 50px 20px; border: 1px dashed var(--border); border-radius: 15px; }

/* ---------- Responsive ---------- */
@media (max-width: 1399.98px) {
  .cat-scroller { grid-auto-columns: calc((100% - 5 * 24px) / 6); }
  .slider-content .display-2 { font-size: 54px; }
}
@media (max-width: 1199.98px) {
  .cat-scroller { grid-auto-columns: calc((100% - 4 * 20px) / 5); gap: 20px; }
  .hotline { display: none; }
  .search-style-2 select { width: 150px; }
  .banner-img.style-2 { min-height: 420px; }
}
@media (max-width: 991.98px) {
  .header-top, .header-middle, .header-bottom { display: none; }
  .header-mobile { display: block; position: sticky; top: 0; z-index: 1020; }
  .single-hero-slider { min-height: 440px; border-radius: 20px; }
  .single-hero-slider::before { background: linear-gradient(90deg, rgba(248,246,240,.96) 0%, rgba(248,246,240,.85) 60%, rgba(248,246,240,.4) 100%); }
  .slider-content { padding: 40px; }
  .slider-content .display-2 { font-size: 42px; }
  .slider-content p { font-size: 18px; margin-bottom: 26px; }
  .cat-scroller { grid-auto-columns: calc((100% - 3 * 16px) / 4); gap: 16px; }
  .newsletter-inner { padding: 50px 40px; }
  .newsletter-content h2 { font-size: 32px; }
  .product-info-tabs { padding: 30px 24px; }
  .detail-info .title-detail { font-size: 32px; }
  .product-price-cover .current-price { font-size: 46px; }
  .archive-header { padding: 40px 30px; }
  .archive-header h1 { font-size: 36px; }
}
@media (max-width: 767.98px) {
  .section-title h3 { font-size: 26px; }
  .cat-scroller { grid-auto-columns: calc((100% - 2 * 14px) / 3); gap: 14px; }
  .slider-content { padding: 30px 24px; }
  .slider-content .display-2 { font-size: 34px; }
  .form-subcriber { padding-left: 16px; }
  .form-subcriber .btn { padding: 14px 20px; }
  .form-subcriber input { padding: 14px 8px; }
  .slider-arrow { display: none; }
  .banner-img .banner-text { left: 24px; max-width: 62%; }
  .banner-img .banner-text h4 { font-size: 16px; margin-bottom: 14px; }
  .banner-img.style-2 { min-height: 360px; padding: 34px 26px; }
  .banner-img.style-2 h2 { font-size: 28px; }
  .newsletter-inner { padding: 40px 24px; }
  .newsletter-inner::before { background: rgba(236,245,230,.94); }
  .product-img-action-wrap { padding: 12px 12px 0; }
  .product-content-wrap { padding: 12px 14px 16px; }
  .product-content-wrap h2 { font-size: 15px; }
  .product-badges span { padding: 7px 12px 8px; font-size: 11px; }
  .shopping-summery thead { display: none; }
  .shopping-summery tr { display: grid; grid-template-columns: 90px 1fr; gap: 6px 14px; padding: 16px; border-bottom: 1px solid var(--border); }
  .shopping-summery td { padding: 0; border: 0; }
  .shopping-summery td.product-thumbnail { grid-row: span 4; }
  .shopping-summery td.hide-sm { display: none; }
  .page-404 .big { font-size: 110px; }
  .login-card { padding: 28px 22px; }
  .stats-band .count { font-size: 40px; }
  .deals-countdown span { width: 48px; height: 52px; font-size: 19px; }
}
@media (max-width: 575.98px) {
  .container { padding-left: 16px; padding-right: 16px; }
  .g-5, .gx-5 { --bs-gutter-x: 1.5rem; }
  .form-subcriber .btn { padding: 14px 16px; }
  .cat-scroller { grid-auto-columns: calc((100% - 14px) / 2.3); }
  .product-card-bottom .add { padding: 6px 12px; }
  .about-gallery { grid-template-columns: repeat(2, 1fr); }
  .product-cart-wrap.style-2 .product-content-wrap { margin: -100px 12px 0; padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
