/* ==========================================================================
   Vương Tửu – Tea House theme
   ========================================================================== */
:root {
  --bg: #FFFFFF;
  --header-bg: #EFBB55;
  --bg-2: #F3DCCB;
  --peach: #F8CBA0;
  --peach-soft: #F9DCC0;
  --orange: #D88A2D;
  --orange-dark: #B86E18;
  --brown: #553505;
  --brown-2: #6B4410;
  --text: #4A2C0A;
  --muted: #8A6A4A;
  --white: #fff;
  --radius: 22px;
  --shadow: 0 12px 30px rgba(85, 53, 5, .15);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --font: "Playfair Display", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: sans-serif;;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; transition: color .3s; }
a:hover { color: var(--orange); }
img { max-width: 100%; display: block; }
h1, h2, h3, h4, h5, h6 { font-family: sans-serif;; color: var(--brown); font-weight: 700; }
.container { max-width: 1200px; }
section { position: relative; }
.section-pad { padding: 90px 0; }
.text-orange { color: var(--orange) !important; }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 14px;
  transition: opacity .6s, visibility .6s;
}
.preloader.hide { opacity: 0; visibility: hidden; }
.preloader .cup { position: relative; width: 70px; height: 50px; background: var(--orange); border-radius: 0 0 35px 35px; }
.preloader .cup::after {
  content: ""; position: absolute; right: -18px; top: 8px; width: 22px; height: 22px;
  border: 5px solid var(--orange); border-left: 0; border-radius: 0 50% 50% 0;
}
.preloader .steam { position: absolute; bottom: 58px; width: 6px; height: 26px; border-radius: 6px; background: var(--peach); animation: steam 1.6s infinite ease-in-out; opacity: 0; }
.preloader .steam:nth-child(1) { left: 16px; }
.preloader .steam:nth-child(2) { left: 32px; animation-delay: .4s; }
.preloader .steam:nth-child(3) { left: 48px; animation-delay: .8s; }
.preloader p { color: var(--brown); letter-spacing: 3px; font-weight: 700; margin: 0; }
@keyframes steam {
  0% { transform: translateY(0) scaleY(.6); opacity: 0; }
  40% { opacity: 1; }
  100% { transform: translateY(-26px) scaleY(1.2); opacity: 0; }
}

/* ---------- Buttons ---------- */
.btn-tea, .btn-brown {
  display: inline-flex; align-items: center; gap: 8px;
  border: 0; border-radius: 40px; padding: 10px 28px;
  font-family: sans-serif;; font-weight: 700; font-size: 14px;
  position: relative; overflow: hidden; z-index: 1;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.btn-tea { background: var(--orange); color: var(--brown); }
.btn-brown { background: var(--brown); color: var(--white); }
.btn-tea::before, .btn-brown::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.btn-tea::before { background: var(--brown); }
.btn-brown::before { background: var(--orange); }
.btn-tea:hover, .btn-brown:hover { color: var(--white); transform: translateY(-3px); box-shadow: var(--shadow); }
.btn-tea:hover::before, .btn-brown:hover::before { transform: scaleX(1); transform-origin: left; }
.btn-sm-tea { padding: 6px 18px; font-size: 13px; }

/* ---------- Header ---------- */
.site-header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .4s, box-shadow .4s;
}
.site-header .container { display: flex; align-items: flex-start; gap: 30px; }
.logo-badge {
  flex: 0 0 auto; width: 200px; height: 120px;
  background: var(--peach-soft);
  clip-path: polygon(0 0, 100% 0, 100% 78%, 50% 100%, 0 78%);
  display: flex; align-items: center; justify-content: center; gap: 4px; padding-bottom: 14px;
  transition: height .4s var(--ease), width .4s var(--ease);
}
.logo-badge img { width: 44px; height: 44px; transition: transform .6s var(--ease); }
.logo-badge:hover img { transform: rotate(-15deg) scale(1.1); }
.logo-badge span { font-size: 24px; font-weight: 700; color: var(--brown); line-height: 1; white-space: nowrap; }
.main-nav { padding-top: 26px; flex: 1; }
.main-nav > ul { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; }
.main-nav li { position: relative; }
.main-nav > ul > li > a {
  display: block; padding: 8px 12px; font-weight: 700; font-size: 15px; color: var(--brown); position: relative;
}
.main-nav > ul > li > a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px;
  background: var(--orange); transform: scaleX(0); transition: transform .35s var(--ease);
}
.main-nav > ul > li > a:hover::after, .main-nav > ul > li > a.active::after { transform: scaleX(1); }
.main-nav a.active { color: var(--orange); }
.main-nav .fa-chevron-down { font-size: 9px; margin-left: 3px; }
.main-nav .dropdown-list {
  position: absolute; top: 100%; left: 0; min-width: 210px; list-style: none; margin: 0; padding: 10px 0;
  background: var(--white); border-top: 3px solid var(--orange); border-radius: 0 0 12px 12px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(15px); transition: all .35s var(--ease);
}
.main-nav li:hover > .dropdown-list { opacity: 1; visibility: visible; transform: translateY(0); }
.main-nav .dropdown-list a { display: block; padding: 7px 20px; font-size: 14px; transition: padding .3s, color .3s; }
.main-nav .dropdown-list a:hover { padding-left: 28px; }

.nav-toggle {
  display: none; margin: 26px 0 0 auto; width: 46px; height: 46px; border: 0; border-radius: 50%;
  background: var(--brown); color: var(--white); font-size: 18px;
}

/* sticky */
.site-header.sticky {
  position: fixed; background: var(--header-bg); backdrop-filter: blur(6px);
  box-shadow: 0 6px 20px rgba(85, 53, 5, .12); animation: slideDown .5s var(--ease);
}
.site-header.sticky .logo-badge { height: 80px; width: 170px; padding-bottom: 8px; }
.site-header.sticky .logo-badge img { width: 34px; height: 34px; }
.site-header.sticky .logo-badge span { font-size: 20px; }
.site-header.sticky .main-nav { padding-top: 16px; }
.site-header.sticky .nav-toggle { margin-top: 16px; }
@keyframes slideDown { from { transform: translateY(-100%); } to { transform: translateY(0); } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding-top: 0; min-height: 420px; }
.page-hero .container { position: relative; min-height: 420px; }
.page-hero .hero-arch {
  position: absolute; top: 95px; right: 12px; width: 400px; height: 300px; overflow: hidden;
  border-radius: 0 0 215px 215px; box-shadow: var(--shadow);
}
.page-hero .hero-arch img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 14s ease-in-out infinite alternate; }
.breadcrumb-box {
  position: absolute; top: 170px; left: 12px; z-index: 2;
  display: inline-flex; gap: 8px; padding: 9px; border: 2px solid var(--orange); border-radius: 12px; background: var(--peach);
}
.breadcrumb-box a, .breadcrumb-box span {
  background: var(--bg); border-radius: 30px; padding: 4px 20px; font-weight: 700; font-size: 15px; color: var(--brown);
}
.breadcrumb-box a:hover { background: var(--brown); color: var(--white); }
.page-hero h1 { position: absolute; top: 235px; left: 12px; font-size: 42px; margin: 0; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.15) translate(-2%, 2%); } }

/* ---------- Section title ---------- */
.section-title { display: flex; align-items: center; gap: 22px; margin-bottom: 50px; }
.section-title::before, .section-title::after { content: ""; flex: 1; border-top: 1px dashed var(--brown-2); opacity: .6; }
.section-title h2 { margin: 0; font-size: 34px; text-align: center; }
.section-title h2 small { display: block; font-size: 15px; color: var(--orange); font-weight: 400; letter-spacing: 3px; text-transform: uppercase; }

/* ---------- Decorations ---------- */
.deco { position: absolute; pointer-events: none; opacity: .55; z-index: 0; }
.deco-float { animation: floatY 6s ease-in-out infinite; }
.deco-sway { animation: sway 7s ease-in-out infinite; transform-origin: bottom center; }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }
@keyframes sway { 0%, 100% { transform: rotate(-5deg); } 50% { transform: rotate(5deg); } }

/* ---------- Home hero slider ---------- */
.home-hero { padding-top: 0; overflow: hidden; position: relative; }
.home-hero .hero-img { width: 100%; overflow: hidden; }
.home-hero .hero-img img { width: 100%; height: auto; display: block; transform: scale(1.1); transition: transform 7s ease-out; }
.home-hero .swiper-slide-active .hero-img img { transform: scale(1); }
.home-hero .swiper-pagination { bottom: 20px; }
.hero-swiper { padding-top: 0; }
.hero-slide { min-height: 560px; display: flex; align-items: center; }
.hero-slide .hero-text { padding-top: 120px; }
.hero-slide h1 { font-size: 54px; line-height: 1.15; margin-bottom: 18px; }
.hero-slide h1 em { color: var(--orange); font-style: normal; }
.hero-slide p { max-width: 460px; color: var(--muted); }
.hero-slide .hero-img {
  width: 100%; max-width: 440px; aspect-ratio: 1 / 1.05; margin: 100px 0 0 auto; overflow: hidden;
  border-radius: 0 0 240px 240px; box-shadow: var(--shadow); position: relative;
}
.hero-slide .hero-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.2); transition: transform 7s ease-out; }
.swiper-slide-active .hero-img img { transform: scale(1); }
.hero-slide .hero-text > * { opacity: 0; transform: translateY(40px); transition: all .8s var(--ease); }
.swiper-slide-active .hero-text > * { opacity: 1; transform: none; }
.swiper-slide-active .hero-text > *:nth-child(2) { transition-delay: .2s; }
.swiper-slide-active .hero-text > *:nth-child(3) { transition-delay: .4s; }
.swiper-slide-active .hero-text > *:nth-child(4) { transition-delay: .6s; }
.hero-nav {
  position: absolute; top: 55%; z-index: 5; width: 40px; height: 40px; border-radius: 10px;
  border: 2px solid var(--brown); background: var(--peach); color: var(--brown);
  display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all .3s;
}
.hero-nav:hover { background: var(--brown); color: var(--white); }
.hero-prev { left: 20px; }
.hero-next { right: 20px; }
.hero-swiper .swiper-pagination-bullet { background: var(--brown); width: 10px; height: 10px; }
.hero-swiper .swiper-pagination-bullet-active { background: var(--orange); width: 28px; border-radius: 6px; }
.hero-badge {
  position: absolute; bottom: 30px; left: -10px; background: var(--brown); color: var(--white);
  border-radius: 50%; width: 110px; height: 110px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-weight: 700; line-height: 1.1; text-align: center; animation: spinSlow 18s linear infinite; z-index: 2;
}
.hero-badge b { font-size: 26px; color: var(--peach); }
@keyframes spinSlow { to { transform: rotate(360deg); } }

/* ---------- Tea type cards ---------- */
.tea-card {
  background: var(--peach-soft); border: 2px solid var(--peach); border-radius: 8px;
  text-align: center; height: 100%; display: flex; flex-direction: column; transition: transform .45s var(--ease), box-shadow .45s;
}
.tea-card:hover { transform: translateY(-10px); box-shadow: var(--shadow); }
.tea-card .img-wrap { position: relative; overflow: hidden; margin: -2px -2px 0; aspect-ratio: 4 / 3.2; border-radius: 8px 8px 50% 50% / 8px 8px 18% 18%; }
.tea-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.tea-card:hover .img-wrap img { transform: scale(1.12) rotate(2deg); }
.tea-card .body { padding: 22px 24px 0; flex: 1; }
.tea-card h3 { font-size: 22px; margin-bottom: 8px; }
.tea-card p { color: var(--muted); font-size: 14px; }
.tea-card .btn-tea { margin: 0 auto -18px; position: relative; top: -2px; }
.tea-card-wrap { padding-bottom: 20px; }

/* ---------- About / features ---------- */
.about-block {
  background: var(--peach); border-radius: 30px 30px 30px 30px; padding: 60px 50px; position: relative; overflow: hidden;
  clip-path: polygon(0 4%, 100% 0, 100% 100%, 2% 96%);
}
.about-block .about-img { border-radius: 200px 200px 20px 20px; overflow: hidden; border: 6px solid var(--white); box-shadow: var(--shadow); }
.about-block .about-img img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform 1s var(--ease); }
.about-block .about-img:hover img { transform: scale(1.08); }
.check-list { list-style: none; padding: 0; margin: 20px 0 28px; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 7px; border-left: 14px solid var(--orange);
  border-top: 8px solid transparent; border-bottom: 8px solid transparent;
}
.counter-box { text-align: center; }
.counter-box b { display: block; font-size: 36px; color: var(--brown); line-height: 1.1; }
.counter-box span { font-size: 13px; color: var(--brown-2); }

.feature-box {
  text-align: center; padding: 36px 22px; background: var(--white); border-radius: 120px 120px 20px 20px;
  border: 2px solid var(--peach); height: 100%; transition: all .45s var(--ease); position: relative; overflow: hidden;
}
.feature-box::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 0; background: var(--brown); transition: height .5s var(--ease); z-index: 0;
}
.feature-box > * { position: relative; z-index: 1; }
.feature-box:hover::before { height: 100%; }
.feature-box:hover h4, .feature-box:hover p { color: var(--white); }
.feature-box:hover .icon { background: var(--orange); color: var(--white); transform: rotateY(360deg); }
.feature-box .icon {
  width: 80px; height: 80px; margin: 0 auto 18px; border-radius: 50%; background: var(--peach);
  display: flex; align-items: center; justify-content: center; font-size: 30px; color: var(--brown); transition: all .7s var(--ease);
}
.feature-box h4 { font-size: 20px; transition: color .4s; }
.feature-box p { font-size: 14px; color: var(--muted); margin: 0; transition: color .4s; }

/* ---------- Category diamonds ---------- */
.cat-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 40px; max-width: 900px; margin: 0 auto; }
.cat-item { width: 230px; text-align: center; }
.cat-item:nth-child(4), .cat-item:nth-child(5) { margin-top: -60px; }
.cat-item h4 { font-size: 18px; margin: 10px 0; }
.cat-diamond {
  width: 170px; height: 170px; margin: 20px auto; transform: rotate(45deg); overflow: hidden;
  border-radius: 24px; border: 5px solid var(--white); box-shadow: var(--shadow); transition: transform .6s var(--ease);
}
.cat-diamond img { width: 145%; height: 145%; max-width: none; object-fit: cover; transform: rotate(-45deg) translate(-2%, -16%); transition: transform .8s var(--ease); }
.cat-item:hover .cat-diamond { transform: rotate(225deg); }
.cat-item:hover .cat-diamond img { transform: rotate(-225deg) translate(-2%, -16%) scale(1.1); }
.cat-item .count { font-size: 13px; color: var(--orange); }

/* ---------- Promo banner ---------- */
.promo { background: var(--bg); padding: 60px 0; overflow: hidden; }
.promo::before {
  content: ""; position: absolute; right: -100px; top: 20px; width: 60%; height: 85%;
  background: var(--peach); border-radius: 50% 0 0 50% / 60% 0 0 40%;
}
.promo::after {
  content: ""; position: absolute; left: 0; top: 0; width: 140px; height: 90px; background: var(--orange); border-radius: 0 0 80px 0;
}
.promo .hex-img {
  width: 330px; height: 380px; margin: 0 auto; position: relative;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: var(--orange); padding: 10px;
}
.promo .hex-img img { width: 100%; height: 100%; object-fit: cover; clip-path: inherit; transition: transform 1s; }
.promo .hex-img:hover img { transform: scale(1.06); }
.promo .hex-text {
  width: 360px; height: 400px; margin: 0 auto; background: var(--brown); color: var(--white); text-align: center;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 40px; position: relative;
}
.promo .hex-text h3 { color: var(--white); font-size: 26px; line-height: 1.3; text-transform: uppercase; }
.promo .hex-text .off { color: var(--orange); font-size: 30px; font-weight: 700; animation: pulse 2s infinite; }
.promo .stamp {
  position: absolute; z-index: 3; left: 8%; top: 40px; width: 90px; height: 90px; border-radius: 50%;
  background: var(--brown); color: var(--peach); font-size: 13px; font-weight: 700; line-height: 1.1;
  display: flex; align-items: center; justify-content: center; text-align: center; border: 3px dashed var(--peach);
  animation: spinSlow 14s linear infinite;
}
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }

/* ---------- Testimonials ---------- */
.testi-orbit { position: relative; width: 460px; height: 460px; margin: 0 auto; }
.testi-orbit .ring { position: absolute; inset: 30px; border: 2px solid var(--brown); border-radius: 50%; opacity: .7; }
/* Viền nét đứt quay liên tục */
.testi-orbit .ring-dashed {
  position: absolute; inset: 6px; border: 2px dashed var(--orange); border-radius: 50%; opacity: .5;
  animation: spinSlow 30s linear infinite;
}
.testi-orbit .ring-dashed.reverse { inset: 58px; animation-direction: reverse; animation-duration: 22s; border-color: var(--brown-2); opacity: .35; }
/* Vòng chứa avatar – JS xoay theo từng nhận xét */
.testi-orbit .ring-rotate {
  position: absolute; inset: 0; z-index: 3; pointer-events: none; transition: transform 1.4s cubic-bezier(.68, -.25, .27, 1.25);
}
.testi-orbit .ring-rotate .avatar { pointer-events: auto; }
.testi-orbit .orbit-dot {
  position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--orange);
  box-shadow: 0 0 0 4px rgba(216, 138, 45, .25); animation: dotPulse 2s ease-in-out infinite;
}
.testi-orbit .orbit-dot:nth-child(even) { animation-delay: 1s; }
@keyframes dotPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.5); box-shadow: 0 0 0 8px rgba(216, 138, 45, 0); } }
.testi-orbit .avatar {
  position: absolute; width: 64px; height: 64px; border-radius: 50%; overflow: hidden; border: 3px solid var(--white);
  box-shadow: var(--shadow); cursor: pointer; margin: -32px 0 0 -32px;
  transition: transform 1.4s cubic-bezier(.68, -.25, .27, 1.25), border-color .4s, box-shadow .4s;
}
.testi-orbit .avatar img { width: 100%; height: 100%; object-fit: cover; }
.testi-orbit .avatar:hover { box-shadow: 0 0 0 6px rgba(216, 138, 45, .35); }
.testi-orbit .avatar.active { border-color: var(--orange); box-shadow: 0 0 0 8px rgba(216, 138, 45, .25), var(--shadow); }
.testi-center {
  position: absolute; inset: 100px; border-radius: 50%; background: var(--peach); padding: 40px 30px;
  display: flex; align-items: center; justify-content: center; text-align: center; z-index: 2;
  box-shadow: 0 0 0 0 rgba(216, 138, 45, .4);
}
.testi-center.pulse { animation: centerPulse 1.2s var(--ease); }
@keyframes centerPulse {
  0% { box-shadow: 0 0 0 0 rgba(216, 138, 45, .5); transform: scale(.94); }
  50% { transform: scale(1.03); }
  100% { box-shadow: 0 0 0 30px rgba(216, 138, 45, 0); transform: scale(1); }
}
.testi-swiper { width: 100%; }
.testi-swiper .quote-icon { font-size: 42px; color: var(--orange); line-height: 1; }
.testi-swiper h5 { margin: 6px 0 0; font-size: 18px; }
.testi-swiper .role { font-size: 13px; color: var(--orange); }
.testi-swiper p { font-size: 14px; margin: 8px 0 0; }
.testi-swiper .stars { color: var(--orange); font-size: 12px; }

/* ---------- Gallery ---------- */
.gallery-wave { position: absolute; left: 0; bottom: 0; width: 55%; height: 55%; background: var(--peach); border-radius: 0 60% 0 0 / 0 40% 0 0; z-index: 0; }
.gallery-swiper { padding: 10px 0 50px; }
.gallery-item {
  display: block; position: relative; overflow: hidden; border-radius: 18px; border: 6px solid var(--white);
  box-shadow: 0 6px 18px rgba(85, 53, 5, .1); aspect-ratio: 1.18; cursor: zoom-in;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .5s; }
.gallery-item::after {
  content: "\f00e"; font-family: "Font Awesome 6 Free"; font-weight: 900;
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 30px; color: var(--white);
  background: rgba(85, 53, 5, .55); opacity: 0; transition: opacity .4s;
}
.gallery-item:hover img { transform: scale(1.15); filter: blur(1px); }
.gallery-item:hover::after { opacity: 1; }
.swiper-pagination-bullet { background: var(--brown); }
.swiper-pagination-bullet-active { background: var(--orange); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 9000; background: rgba(40, 24, 3, .92); display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: all .4s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 88vw; max-height: 82vh; border-radius: 12px; border: 6px solid var(--white); transform: scale(.8); transition: transform .45s var(--ease); }
.lightbox.open img { transform: scale(1); }
.lightbox button {
  position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 0; background: var(--orange); color: var(--white); font-size: 20px;
  transition: background .3s;
}
.lightbox button:hover { background: var(--peach); color: var(--brown); }
.lightbox .lb-close { top: 24px; right: 24px; }
.lightbox .lb-prev { left: 24px; top: 50%; margin-top: -25px; }
.lightbox .lb-next { right: 24px; top: 50%; margin-top: -25px; }

/* ---------- Blog cards (arch) ---------- */
.blog-card { text-align: center; height: 100%; display: flex; flex-direction: column; }
.blog-card .arch {
  position: relative; overflow: hidden; border: 3px solid var(--orange); border-radius: 200px 200px 6px 6px; aspect-ratio: 1 / 1.08;
}
.blog-card .arch img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.blog-card:hover .arch img { transform: scale(1.12); }
.blog-card .by { position: absolute; top: 16px; left: 0; right: 0; font-size: 13px; color: var(--brown); font-weight: 700; z-index: 2; }
.blog-card .meta {
  position: absolute; left: 10px; right: 10px; bottom: 10px; background: var(--orange); color: var(--brown);
  display: flex; justify-content: space-between; padding: 6px 14px; font-size: 14px; font-weight: 700;
  transform: translateY(0); transition: transform .4s var(--ease), background .4s;
}
.blog-card:hover .meta { background: var(--brown); color: var(--white); }
.blog-card h4 { font-size: 18px; margin: 18px 0 8px; transition: color .3s; }
.blog-card:hover h4 { color: var(--orange); }
.blog-card p { color: var(--muted); font-size: 14px; flex: 1; padding: 0 10px; }
.blog-card .btn-tea { align-self: center; }
.blog-swiper { padding-bottom: 50px; }

/* ---------- Newsletter ---------- */
.newsletter { padding: 80px 0 40px; }
.newsletter-box {
  position: relative; padding: 90px 40px 60px; text-align: center; overflow: hidden;
  background-color: var(--peach-soft); background-image: url(../img/pattern.svg); background-size: 160px;
  clip-path: polygon(0 18%, 100% 0, 100% 100%, 0 100%); border-radius: 0 0 50px 50px;
  animation: patternMove 40s linear infinite;
}
@keyframes patternMove { to { background-position: 320px 220px; } }
.newsletter-box h2 { font-size: 38px; display: inline-block; padding-bottom: 10px; border-bottom: 1px dashed var(--brown); margin-bottom: 14px; }
.newsletter-box p { color: var(--brown-2); }
.newsletter-form {
  display: flex; max-width: 560px; margin: 24px auto 0; background: var(--bg); border: 1px solid var(--orange); border-radius: 40px; padding: 6px;
  transition: box-shadow .3s;
}
.newsletter-form:focus-within { box-shadow: 0 0 0 5px rgba(216, 138, 45, .25); }
.newsletter-form input { flex: 1; border: 0; background: transparent; padding: 8px 18px; font-family: sans-serif;; outline: none; min-width: 0; }

/* ---------- Footer ---------- */
.site-footer { padding: 30px 0 0; background: var(--header-bg); }
.footer-logo { display: flex; align-items: flex-end; gap: 4px; margin-bottom: 16px; }
.footer-logo img { width: 46px; }
.footer-logo span { font-size: 26px; font-weight: 700; color: var(--brown); line-height: 1; }
.site-footer p { color: var(--orange-dark); font-size: 14px; }
.site-footer h5 { font-size: 19px; margin: 18px 0 20px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; font-size: 14px; color: var(--orange-dark); }
.footer-links a { color: var(--orange-dark); display: inline-flex; gap: 10px; align-items: center; transition: all .3s; }
.footer-links a i { color: var(--orange); }
.footer-links a:hover { color: var(--brown); transform: translateX(6px); }
.footer-contact li { display: flex; gap: 10px; }
.footer-contact i { color: var(--brown); margin-top: 5px; }
.socials { display: flex; gap: 8px; }
.socials a {
  width: 36px; height: 36px; border-radius: 50%; background: var(--brown); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-size: 15px; transition: all .4s var(--ease);
}
.socials a:hover { background: var(--orange); transform: translateY(-5px) rotate(360deg); color: var(--white); }
.copyright { border-top: 1px solid var(--orange); margin-top: 40px; padding: 18px 0; text-align: center; font-size: 14px; color: var(--orange-dark); }

/* Back to top */
.back-top {
  position: fixed; right: 26px; bottom: 30px; z-index: 90; width: 50px; height: 50px; border: 0; background: transparent; padding: 0;
  opacity: 0; visibility: hidden; transform: translateY(30px); transition: all .4s var(--ease);
}
.back-top.show { opacity: 1; visibility: visible; transform: none; }
.back-top .mug {
  display: flex; align-items: center; justify-content: center; width: 40px; height: 42px; background: var(--orange); border: 2px solid var(--brown);
  border-radius: 4px 4px 18px 18px; color: var(--brown); position: relative; transition: transform .3s;
}
.back-top .mug::after {
  content: ""; position: absolute; right: -13px; top: 8px; width: 12px; height: 16px; border: 2px solid var(--brown); border-left: 0; border-radius: 0 10px 10px 0;
}
.back-top:hover .mug { transform: translateY(-5px); }

/* ---------- Shop ---------- */
.shop-toolbar { display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--orange); margin-bottom: 26px; font-size: 14px; gap: 12px; flex-wrap: wrap; }
.shop-toolbar select, .widget select {
  font-family: sans-serif;; font-size: 13px; padding: 6px 30px 6px 10px; border: 1px solid var(--orange); background: var(--bg);
  color: var(--brown); border-radius: 4px; outline: none;
}
.product-card { text-align: center; height: 100%; }
.product-card .thumb { position: relative; overflow: hidden; border: 3px solid var(--orange); aspect-ratio: 1; background: var(--white); }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.product-card:hover .thumb img { transform: scale(1.12); }
.product-card .actions {
  position: absolute; right: 10px; top: 10px; display: flex; flex-direction: column; gap: 8px;
}
.product-card .actions a {
  width: 38px; height: 38px; border-radius: 50%; background: var(--white); color: var(--brown); display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow); opacity: 0; transform: translateX(50px); transition: all .4s var(--ease);
}
.product-card .actions a:nth-child(2) { transition-delay: .08s; }
.product-card .actions a:nth-child(3) { transition-delay: .16s; }
.product-card:hover .actions a { opacity: 1; transform: none; }
.product-card .actions a:hover { background: var(--orange); color: var(--white); }
.product-card .sale {
  position: absolute; left: 10px; top: 10px; background: var(--brown); color: var(--white); font-size: 12px; padding: 2px 10px; border-radius: 20px;
}
.product-card h3 { color: var(--orange); font-size: 24px; margin: 18px 0 4px; line-height: 1.2; transition: color .3s; }
.product-card:hover h3 { color: var(--brown); }
.product-card .price { font-weight: 700; color: var(--brown); margin-bottom: 12px; }
.product-card .price del { color: var(--muted); font-weight: 400; margin-right: 6px; font-size: 13px; }
.btn-cart {
  background: var(--brown); color: var(--white); border: 0; border-radius: 3px; padding: 6px 16px; font-family: sans-serif;; font-size: 13px;
  box-shadow: 0 4px 10px rgba(85, 53, 5, .3); transition: all .3s;
}
.btn-cart:hover { background: var(--orange); transform: translateY(-3px); }
.btn-cart.added { background: #3d7a2a; }

.pager { display: flex; gap: 8px; margin-top: 40px; flex-wrap: wrap; }
.pager a, .pager span {
  width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; font-size: 13px;
  border: 1px solid var(--brown); background: var(--orange); color: var(--brown); transition: all .3s;
}
.pager .current, .pager a:hover { background: var(--brown); color: var(--white); }
.pager.center { justify-content: center; }

/* ---------- Sidebar widgets ---------- */
.widget { margin-bottom: 40px; }
.widget-title {
  position: relative; display: inline-flex; align-items: center; min-height: 58px; padding: 8px 26px 8px 66px; margin: 0 0 -12px -16px;
  background: var(--brown); color: var(--peach); border-radius: 40px; font-size: 20px; line-height: 1.1; z-index: 2; max-width: 92%;
}
.widget-title::before {
  content: ""; position: absolute; left: 0; top: -2px; width: 60px; height: 62px; border-radius: 50%; background: var(--brown-2);
  box-shadow: 4px 0 8px rgba(0, 0, 0, .25);
}
.widget-body { background: var(--peach); border: 3px solid var(--orange); border-radius: 0 0 14px 14px; padding: 34px 20px 20px; }
.widget-list { list-style: none; padding: 0; margin: 0; }
.widget-list li { margin-bottom: 8px; }
.widget-list a { display: flex; gap: 10px; align-items: center; font-weight: 700; font-size: 14px; color: var(--brown); transition: all .3s; }
.widget-list a:hover { color: var(--orange-dark); padding-left: 6px; }
.widget-list a .cnt { margin-left: auto; font-weight: 400; font-size: 12px; }
.mini-product { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.mini-product img { width: 50px; height: 50px; object-fit: cover; border: 2px solid var(--orange); transition: transform .4s; }
.mini-product:hover img { transform: rotate(-6deg) scale(1.08); }
.mini-product small { display: block; font-size: 12px; color: var(--brown-2); }
.mini-product b { font-size: 13px; }
.mini-product .stars { color: var(--orange); font-size: 10px; }

.price-range { position: relative; height: 30px; }
.price-range input[type=range] { position: absolute; left: 0; width: 100%; pointer-events: none; -webkit-appearance: none; appearance: none; background: none; top: 6px; }
.price-range input[type=range]::-webkit-slider-thumb {
  pointer-events: auto; -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%; background: var(--white); border: 3px solid var(--orange); cursor: pointer;
}
.price-range input[type=range]::-moz-range-thumb { pointer-events: auto; width: 12px; height: 12px; border-radius: 50%; background: var(--white); border: 3px solid var(--orange); cursor: pointer; }
.price-range .track { position: absolute; left: 0; right: 0; top: 13px; height: 5px; background: var(--brown); border-radius: 4px; }
.price-range .track-fill { position: absolute; top: 13px; height: 5px; background: var(--orange); border-radius: 4px; }
.widget .btn-filter { width: 100%; background: var(--brown); color: var(--white); border: 0; padding: 6px; font-family: sans-serif;; font-size: 13px; margin-top: 8px; transition: background .3s; }
.widget .btn-filter:hover { background: var(--orange); }
.widget .range-label { text-align: center; font-size: 12px; margin-top: 6px; }

.tag-cloud { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: baseline; }
.tag-cloud a { font-weight: 700; color: var(--brown); transition: all .3s; }
.tag-cloud a:hover { color: var(--orange-dark); transform: translateY(-2px); }

/* ---------- Single post ---------- */
.post-thumb { display: inline-block; padding: 4px; background: var(--white); border: 1px solid #e6d3c2; max-width: 340px; overflow: hidden; }
.post-thumb img { transition: transform 1s; }
.post-thumb:hover img { transform: scale(1.06); }
.post-meta { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; padding: 14px 0; border-bottom: 1px solid #e3c9b1; margin-bottom: 16px; }
.post-meta i { color: var(--brown); margin-right: 4px; }
.post-content p { font-size: 14px; text-align: justify; }
.post-content blockquote { border-left: 4px solid var(--orange); background: var(--peach-soft); padding: 16px 22px; font-style: italic; border-radius: 0 12px 12px 0; }
.post-tags { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; margin: 24px 0; font-size: 13px; }
.post-tags a.tag { border: 1px solid var(--brown); border-radius: 6px; padding: 1px 8px; margin-left: 4px; }
.share a {
  display: inline-flex; width: 30px; height: 30px; align-items: center; justify-content: center; border: 1.5px solid var(--brown);
  border-radius: 6px; font-size: 12px; margin-left: 6px; transition: all .3s;
}
.share a:hover { background: var(--brown); color: var(--white); transform: translateY(-3px); }
.comment { display: flex; gap: 22px; margin-bottom: 30px; position: relative; }
.comment.reply { margin-left: 40px; }
.comment img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; border: 2px solid var(--orange); }
.comment .name { color: var(--orange-dark); font-weight: 700; font-size: 14px; }
.comment p { margin: 0 0 6px; font-size: 14px; }
.comment .date { font-size: 12px; color: var(--muted); }
.comment .reply-btn { position: absolute; right: 0; top: 0; background: #e2cfc0; border-radius: 20px; font-size: 11px; padding: 2px 16px; transition: all .3s; }
.comment .reply-btn:hover { background: var(--brown); color: var(--white); }
.comment-form { background: var(--bg); border-top: 3px solid var(--brown); box-shadow: var(--shadow); padding: 26px; margin-top: 40px; }
.comment-form h3 { color: var(--orange); font-size: 24px; }
.comment-form label { font-size: 13px; margin-bottom: 4px; }
.comment-form .form-control { border: 1px solid var(--orange); border-radius: 0; background: var(--white); }
.form-control:focus { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(216, 138, 45, .2); }

/* ---------- About page ---------- */
.about-photo { box-shadow: 0 20px 40px rgba(85, 53, 5, .3); overflow: hidden; border-radius: 6px; position: relative; }
.about-photo img { width: 100%; transition: transform 1.2s var(--ease); }
.about-photo:hover img { transform: scale(1.08); }
.about-photo::after {
  content: ""; position: absolute; inset: 14px; border: 2px solid rgba(255, 255, 255, .7); border-radius: 4px; transition: inset .5s;
}
.about-photo:hover::after { inset: 24px; }
.team-card { text-align: center; }
.team-card .arch-photo {
  position: relative; overflow: hidden; border: 1.5px solid var(--brown); border-radius: 200px 200px 4px 4px; aspect-ratio: 1 / 1.1; margin: 0 14px;
}
.team-card .arch-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .8s var(--ease); }
.team-card:hover .arch-photo img { transform: scale(1.1); }
.team-card .team-social {
  position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; gap: 8px; padding: 14px;
  background: linear-gradient(transparent, rgba(85, 53, 5, .85)); transform: translateY(100%); transition: transform .45s var(--ease);
}
.team-card:hover .team-social { transform: none; }
.team-card .team-social a { color: var(--white); width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--white); display: flex; align-items: center; justify-content: center; font-size: 13px; }
.team-card .team-social a:hover { background: var(--orange); border-color: var(--orange); }
.team-card .name-tag {
  margin-top: 10px; background: var(--white); border: 1.5px solid var(--brown); border-radius: 8px; padding: 8px; font-weight: 700; font-size: 15px;
  transition: background .3s, color .3s;
}
.team-card .name-tag small { font-weight: 400; font-size: 12px; }
.team-card:hover .name-tag { background: var(--brown); color: var(--white); }
.counters { background: var(--brown); color: var(--white); border-radius: 30px; padding: 40px 20px; }
.counters .counter-box b { color: var(--peach); }
.counters .counter-box span { color: var(--white); font-size: 15px; }
.counters i { font-size: 32px; color: var(--orange); margin-bottom: 8px; }

/* ---------- Contact ---------- */
.contact-wrap { position: relative; padding-bottom: 0; }
.contact-wave { position: absolute; left: 0; bottom: 0; width: 55%; height: 65%; background: var(--peach); border-radius: 0 0 0 0 / 0; clip-path: polygon(0 0, 30% 20%, 100% 30%, 100% 100%, 0 100%); }
.contact-arch {
  position: relative; z-index: 1; background: var(--brown); color: var(--white); border-radius: 200px 200px 4px 4px; padding: 70px 40px 60px; min-height: 440px;
}
.contact-arch .cup { font-size: 38px; text-align: center; color: var(--white); padding-bottom: 26px; border-bottom: 1px solid rgba(255, 255, 255, .5); margin-bottom: 26px; }
.contact-arch .cup i { animation: floatY 3s ease-in-out infinite; }
.contact-arch li { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; font-size: 16px; }
.contact-arch li i { width: 36px; height: 36px; border-radius: 50%; background: var(--peach); color: var(--brown); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; transition: transform .4s; }
.contact-arch li:hover i { transform: rotate(360deg); }
.contact-form-box { position: relative; z-index: 1; background: var(--white); box-shadow: var(--shadow); overflow: hidden; }
.contact-form-box .head { background: var(--brown); color: var(--white); text-align: center; padding: 16px; font-size: 26px; font-weight: 700; }
.contact-form-box form { padding: 40px 30px; position: relative; z-index: 1; }
.contact-form-box .form-control { background: var(--bg); border: 1px solid var(--brown-2); border-radius: 30px; padding: 10px 18px; font-family: sans-serif;; font-size: 14px; }
.contact-form-box textarea.form-control { border-radius: 18px; }
.contact-form-box .btn-brown { width: 100%; justify-content: center; padding: 12px; font-size: 16px; }
.contact-form-box .deco { opacity: .45; }
.map-box { border-radius: 30px; overflow: hidden; border: 4px solid var(--white); box-shadow: var(--shadow); }
.map-box iframe { width: 100%; height: 380px; border: 0; display: block; filter: sepia(.35); }
.toast-msg {
  position: fixed; left: 50%; bottom: 30px; transform: translate(-50%, 120px); background: var(--brown); color: var(--white);
  padding: 12px 26px; border-radius: 30px; z-index: 9500; transition: transform .45s var(--ease); box-shadow: var(--shadow);
}
.toast-msg.show { transform: translate(-50%, 0); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1199px) {
  .main-nav > ul > li > a { padding: 8px 8px; font-size: 14px; }
  .page-hero .hero-arch { width: 360px; height: 300px; }
}
@media (max-width: 991px) {
  .nav-toggle { display: flex; align-items: center; justify-content: center; }
  .main-nav {
    position: fixed; top: 0; right: 0; bottom: 0; width: 290px; background: var(--bg); padding: 80px 24px 24px; overflow-y: auto;
    transform: translateX(100%); transition: transform .45s var(--ease); box-shadow: -10px 0 30px rgba(0, 0, 0, .15); z-index: 200;
  }
  .main-nav.open { transform: none; }
  .main-nav > ul { flex-direction: column; }
  .main-nav .dropdown-list { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; display: none; border: 0; background: transparent; padding: 0 0 0 14px; }
  .main-nav li.open > .dropdown-list { display: block; }
  .nav-close { position: absolute; top: 20px; right: 20px; }
  .nav-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, .4); z-index: 150; opacity: 0; visibility: hidden; transition: all .4s; }
  .nav-overlay.show { opacity: 1; visibility: visible; }
  .page-hero, .page-hero .container { min-height: 360px; }
  .page-hero .hero-arch { width: 300px; height: 260px; top: 110px; border-radius: 0 0 150px 150px; }
  .breadcrumb-box { top: 150px; }
  .page-hero h1 { top: 215px; font-size: 32px; }
  .hero-slide h1 { font-size: 40px; }
  .hero-slide .hero-text { padding-top: 140px; }
  .hero-slide .hero-img { max-width: 380px; margin: 30px auto 0; }
  .hero-nav { display: none; }
  .cat-item:nth-child(4), .cat-item:nth-child(5) { margin-top: 0; }
  .testi-orbit { transform: scale(.85); }
  .about-block { padding: 40px 24px; }
}
@media (min-width: 992px) { .nav-close, .nav-overlay { display: none; } }
@media (max-width: 767px) {
  .page-hero, .page-hero .container { min-height: auto; }
  .page-hero .container { padding-top: 150px; padding-bottom: 30px; display: flex; flex-direction: column; gap: 16px; }
  .page-hero .hero-arch, .breadcrumb-box, .page-hero h1 { position: static; }
  .page-hero .hero-arch { order: 3; width: 100%; max-width: 320px; margin: 0 auto; height: 240px; }
  .breadcrumb-box { align-self: flex-start; }
  .section-pad { padding: 60px 0; }
  .section-title h2 { font-size: 26px; }
  .section-title { gap: 12px; }
  .promo .hex-img { width: 260px; height: 300px; }
  .promo .hex-text { width: 300px; height: 340px; padding: 30px; }
  .promo .hex-text h3 { font-size: 20px; }
  .newsletter-box { padding: 70px 16px 40px; }
  .newsletter-box h2 { font-size: 26px; }
  .contact-arch { min-height: auto; }
}
@media (max-width: 575px) {
  .container { padding-left: 16px; padding-right: 16px; }
  .logo-badge { width: 160px; height: 100px; }
  .logo-badge span { font-size: 20px; }
  .hero-slide h1 { font-size: 32px; }
  .testi-orbit { width: 340px; height: 340px; transform: none; }
  .testi-center { inset: 50px; padding: 20px 16px; }
  .testi-swiper p { font-size: 12px; }
  .cat-item { width: 46%; }
  .cat-diamond { width: 120px; height: 120px; }
  .comment.reply { margin-left: 16px; }
  .product-card h3 { font-size: 18px; }
  .widget-title { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .deco, .newsletter-box, .page-hero .hero-arch img { animation: none !important; }
}

/* Kênh phân phối (page cua-hang) */
.channel-heading { text-align: center; color: var(--orange); margin-bottom: 40px; }
.channel-card {
  position: relative; height: 100%; padding: 28px 24px 22px;
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  border-top: 4px solid var(--orange); transition: transform .3s var(--ease);
}
.channel-card:hover { transform: translateY(-6px); }
.channel-no {
  position: absolute; top: -18px; right: 22px; width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  background: var(--orange); color: var(--white); border-radius: 50%; font-weight: 700;
}
.channel-card h3 { font-size: 18px; margin-bottom: 14px; }
.channel-card p { display: flex; gap: 10px; margin-bottom: 8px; }
.channel-card p i { color: var(--orange); margin-top: 6px; width: 14px; flex-shrink: 0; }
.channel-card p a { font-weight: 700; color: var(--brown); }

/* Slider ảnh bài viết (single.php) */
.post-gallery { max-width: fit-content; }
.post-gallery-main { border: 1px solid #e6d3c2; background: var(--white); padding: 4px; }
.post-gallery-main .swiper-slide a { display: block; aspect-ratio: 1 / 1; overflow: hidden; }
.post-gallery-main .swiper-slide img { width: 100%; height: 100%; object-fit: cover; }
.post-gallery-main .swiper-button-prev,
.post-gallery-main .swiper-button-next {
  width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .85); color: var(--brown);
  box-shadow: var(--shadow); opacity: 0; transition: opacity .3s;
}
.post-gallery-main:hover .swiper-button-prev,
.post-gallery-main:hover .swiper-button-next { opacity: 1; }
.post-gallery-main .swiper-button-prev::after,
.post-gallery-main .swiper-button-next::after { font-size: 15px; font-weight: 700; }
.post-gallery-thumbs { margin-top: 10px; }
.post-gallery-thumbs .swiper-slide { aspect-ratio: 1 / 1; cursor: pointer; opacity: .55; border: 2px solid transparent; transition: all .3s; }
.post-gallery-thumbs .swiper-slide img { width: 100%; height: 100%; object-fit: cover; }
.post-gallery-thumbs .swiper-slide-thumb-active { opacity: 1; border-color: var(--orange); }
