/* Leng Keng — giao diện theo Figma "Jowenly Jewelry Store" (Leng Keng Design System).
   3 cỡ: desktop ≥ 1200px (khung 1920, nội dung 1290), tablet 768–1199px (khung 768), mobile < 768px (khung 390). */

:root {
  --green: #626842;
  --green-dark: #575d38;
  --green-deep: #5c623d;
  --gold: #ba9659;
  --cream: #f5f2ea;
  --sand: #f4e8da;
  --white: #fff;
  --light: #fafafa;
  --input-bg: #f7f7f7;
  --body: #84857e;
  --ink: #414141;
  --dark: #1d2327;
  --line-sand: #eedecb;
  --outline: #dccbb6;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1290px;
  --gutter: 15px;
  --section: 120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font: 400 16px/29px var(--sans);
  color: var(--body);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s, background-color .25s, border-color .25s; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; color: var(--green); }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
::selection { background: var(--gold); color: var(--white); }

.lk-container { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); position: relative; }
.lk-sr, .lk-hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lk-skip { position: absolute; left: 15px; top: -60px; z-index: 100; background: var(--green); color: var(--white); padding: 10px 18px; }
.lk-skip:focus { top: 10px; }

/* ---------- Nút ---------- */
.lk-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 45px; font: 500 16px/24px var(--sans); white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
}
.lk-btn--outline { border-color: var(--gold); color: var(--gold); }
.lk-btn--outline:hover { background: var(--gold); color: var(--white); }
.lk-btn--cream { background: var(--cream); color: var(--gold); }
a:hover .lk-btn--cream, .lk-btn--cream:hover { background: var(--gold); color: var(--white); }
.lk-btn--gold { background: var(--gold); color: var(--white); }
.lk-btn--gold:hover { background: var(--green); }
.lk-btn--green { background: var(--green); color: var(--white); }
.lk-btn--green:hover { background: var(--gold); }
.lk-btn--line { border-color: var(--green); color: var(--green); }
.lk-btn--line:hover { background: var(--green); color: var(--white); }
.lk-btn--sm { height: 41px; padding: 0 18px; font-size: 18px; line-height: normal; }

/* ---------- Tiêu đề mục ---------- */
.lk-title { max-width: 760px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; gap: 10px; }
.lk-title h2 { font-size: 50px; line-height: 67px; }
.lk-title p { font-size: 16px; line-height: 29px; }

/* ---------- Đầu trang ---------- */
.lk-header { position: absolute; top: 0; left: 0; right: 0; z-index: 30; height: 110px; }
.lk-header__in { height: 100%; display: flex; align-items: center; }
.lk-header .lk-logo img { width: 120px; height: 80px; object-fit: contain; }
.lk-header__in > .lk-logo { margin-top: 2px; }
.lk-burger { display: none; }
.lk-nav { flex: 1; display: flex; justify-content: center; }
.lk-nav__top { display: none; }
.lk-nav__list { display: flex; gap: 44px; }
.lk-nav__list > li { position: relative; }
.lk-nav__list > li > a { display: block; padding: 43px 0; font: 500 16px/24px var(--sans); color: #000; }
.lk-nav__list > li > a:hover, .lk-nav__list > li > a.active { color: var(--green); }
.lk-sub-toggle { display: none; }
.lk-sub {
  position: absolute; left: -20px; top: 100%; min-width: 250px; padding: 15px 0; margin-top: -27px;
  background: var(--white); box-shadow: 0 13px 25px rgba(0, 0, 0, .1);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s;
}
.has-sub:hover .lk-sub, .has-sub:focus-within .lk-sub { opacity: 1; visibility: visible; transform: none; }
.lk-sub a { display: block; padding: 9px 20px; font: 500 15px/18px var(--sans); color: #000; }
.lk-sub a:hover { background: var(--cream); color: var(--green); }
.lk-call {
  width: 50px; height: 50px; flex: none; display: flex; align-items: center; justify-content: center;
  background: var(--green);
}
.lk-call:hover { background: var(--gold); }
.lk-call img { width: 24px; height: 24px; }

/* ---------- Trang chủ: đầu trang lớn ---------- */
.lk-hero { position: relative; height: 940px; background: var(--cream); overflow: hidden; }
.lk-hero__band { position: absolute; left: 0; right: 0; top: 440px; bottom: 0; background: var(--sand); }
.lk-hero__corner { position: absolute; right: 0; top: 0; width: 325px; height: 185px; background: var(--sand); }
.lk-hero__pill1 {
  position: absolute; left: 50px; top: 282px; width: 160px; height: 312px;
  border: 1px solid var(--outline); border-radius: 1000px; overflow: hidden;
}
.lk-hero__pill1 img { width: 160px; height: 156px; margin: -1px 0 0 -1px; object-fit: cover; }
.lk-hero__pill2 {
  position: absolute; right: 100px; top: 343px; width: 119px; height: 220px;
  border-radius: 100px; overflow: hidden; transform: rotate(20deg);
}
.lk-hero__pill2 img { width: 100%; height: 100%; object-fit: cover; }
.lk-hero__in { height: 100%; }
.lk-hero__content { position: absolute; left: var(--gutter); top: 235px; width: 657px; display: flex; flex-direction: column; align-items: flex-start; }
.lk-hero__content h1 { font-size: 85px; line-height: 100px; }
.lk-hero__content p { width: 515px; max-width: 100%; margin-top: 24px; line-height: 30px; }
.lk-hero__content .lk-btn { margin-top: 74px; }
.lk-hero__visual { position: absolute; right: calc(var(--gutter) + 11px); top: 185px; width: 500px; height: 610px; }
.lk-hero__img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.lk-shape { position: absolute; border: 1px solid var(--outline); border-radius: 1000px; overflow: hidden; }
.lk-shape::before, .lk-shape::after { content: ""; position: absolute; left: -1px; right: -1px; height: 50%; }
.lk-shape::before { top: -1px; }
.lk-shape::after { bottom: -1px; background: var(--sand); }
.lk-shape--1 { left: -76px; top: 179px; width: 154px; height: 154px; }
.lk-shape--1::before { background: var(--gold); }
.lk-shape--2 { left: 212px; top: 533px; width: 364px; height: 154px; }
.lk-shape--2::before { background: var(--white); }

/* ---------- Trang chủ: bộ sưu tập ---------- */
.lk-collection { padding: var(--section) 0 90px; }
.lk-collection__grid { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 30px; margin-top: 60px; }
.lk-coll { width: 390px; display: flex; flex-direction: column; }
.lk-coll.is-flip { flex-direction: column-reverse; }
.lk-coll__img { display: block; height: 293px; overflow: hidden; }
.lk-coll__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.lk-coll:hover .lk-coll__img img { transform: scale(1.06); }
.lk-coll__body {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  padding: 36px 80px 60px 40px; border: 1px solid var(--sand); border-top: 0;
}
.lk-coll.is-flip .lk-coll__body { border-top: 1px solid var(--sand); border-bottom: 0; }
.lk-coll__name { font: 600 28px/38px var(--serif); color: var(--green); }
.lk-coll__text { line-height: 32px; }
.lk-coll__body .lk-btn { margin-top: 15px; }
.lk-coll__corner { position: absolute; right: 0; bottom: 0; width: 30px; height: 30px; background: var(--sand); }
.lk-coll.is-flip .lk-coll__corner { bottom: auto; top: -1px; }

/* ---------- Khối sản phẩm trượt (Hàng mới về / liên quan) ---------- */
.lk-arrival { position: relative; background: var(--cream); padding: var(--section) 0 210px; overflow: hidden; }
.lk-arrival:not(.has-shapes) { padding-bottom: 80px; }
.lk-arrival__left { position: absolute; left: 0; top: 0; width: 244px; height: 334px; }
.lk-arrival__right { position: absolute; right: 0; top: 83px; width: 515px; height: 515px; animation: lk-rotate 4s linear infinite; }
.lk-arrival .lk-title { position: relative; max-width: 640px; }
.lk-arrival__band { position: relative; margin-top: 109px; }
.lk-arrival__band::before {
  content: ""; position: absolute; top: 0; height: 499px;
  left: 50%; width: min(1410px, 100%); transform: translateX(-50%); background: var(--sand);
}
.lk-slider { position: relative; padding-top: 60px; }
.lk-slider__track {
  display: flex; gap: 60px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  max-width: 1260px; margin: 0 auto; -webkit-overflow-scrolling: touch;
}
.lk-slider__track::-webkit-scrollbar { display: none; }
.lk-slider__track.is-static { justify-content: center; }
.lk-product { flex: 0 0 270px; scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; text-align: center; }
.lk-product__img { display: block; width: 100%; aspect-ratio: 1; overflow: hidden; margin-bottom: 35px; }
.lk-product__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.lk-product:hover .lk-product__img img { transform: scale(1.06); }
.lk-product__name { font: 600 22px/30px var(--serif); color: var(--green); }
.lk-product:hover .lk-product__name { color: var(--gold); }
.lk-product__price { font: 500 15px/18px var(--sans); color: var(--gold); }
.lk-dots { display: flex; justify-content: center; gap: 10px; margin-top: 42px; min-height: 10px; }
.lk-dots button { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); }
.lk-dots button.active { background: var(--green); }
.lk-dots button { position: relative; }
.lk-dots button::after { content: ""; position: absolute; inset: -8px; }

/* ---------- Đầu trang con ---------- */
.lk-pagetitle { position: relative; height: 440px; background: var(--cream); overflow: hidden; }
.lk-pagetitle__corner { position: absolute; right: 0; top: 0; width: 325px; height: 185px; background: var(--sand); }
.lk-pagetitle__left { position: absolute; left: 70px; top: 100px; width: 160px; height: 160px; object-fit: cover; }
.lk-pagetitle__in { height: 100%; }
.lk-pagetitle h1 { position: absolute; left: var(--gutter); top: 190px; font-size: 60px; line-height: 60px; max-width: 760px; }
.lk-crumbs { position: absolute; left: var(--gutter); top: 270px; display: flex; flex-wrap: wrap; font: 500 16px/30px var(--sans); color: var(--gold); }
.lk-crumbs li + li::before { content: "–"; padding: 0 14px; }
.lk-crumbs a:hover { color: var(--green); }
.lk-pagetitle__art { position: absolute; right: calc(var(--gutter) - 48.6px); bottom: 0; width: 445px; height: 296px; }
.lk-pagetitle__art img { position: absolute; }
.lk-pagetitle__art .s1 { left: 0; top: 0; width: 154px; height: 154px; }
.lk-pagetitle__art .img { left: 75px; top: 40px; width: 295px; height: 256px; object-fit: cover; }
.lk-pagetitle__art .s2 { left: 291px; bottom: 0; width: 154px; height: 77px; }

/* ---------- Cửa hàng ---------- */
.lk-shop { padding: var(--section) 0; }
.lk-tabs { display: flex; flex-wrap: wrap; gap: 30px; }
.lk-tabs a, .lk-tabs button {
  display: block; padding: 12px 20px; background: var(--cream); color: var(--gold); font: 400 15px/27px var(--sans);
}
.lk-tabs a:hover, .lk-tabs button:hover { color: var(--green); }
.lk-tabs .active, .lk-tabs .active:hover { background: var(--gold); color: var(--white); }
.lk-tabs--center { justify-content: center; gap: 15px; margin-bottom: 50px; }
.lk-shop__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.lk-card { display: flex; flex-direction: column; }
.lk-card__img { display: block; aspect-ratio: 410 / 392; overflow: hidden; }
.lk-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.lk-card:hover .lk-card__img img { transform: scale(1.05); }
.lk-card__body { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 35px 15px; background: var(--input-bg); text-align: center; }
.lk-card__name { font: 600 20px/30px var(--serif); color: var(--green); }
.lk-card__price { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 20px; }
.lk-card__price del { color: #b3b4ae; }
.lk-pill {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; padding: 12px 20px;
  border: 2px solid var(--green); border-radius: 50px; font: 600 15px/1.2 var(--sans); color: var(--green); transition: all .25s;
}
.lk-card:hover .lk-pill { background: var(--green); color: var(--white); }
.lk-empty { text-align: center; padding: 40px 0; }
.lk-pages { display: flex; justify-content: center; gap: 10px; padding-top: 60px; }
.lk-pages a { width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; background: #ebf4fc; color: var(--green); font: 600 16px/1 var(--sans); }
.lk-pages a:hover, .lk-pages a.active { background: var(--green); color: var(--white); }

/* ---------- Chi tiết sản phẩm ---------- */
.lk-single { padding: var(--section) 0; }
.lk-single__row > * { min-width: 0; }
.lk-single__row { display: grid; grid-template-columns: 630px 630px; justify-content: center; gap: 30px; }
.lk-gallery { display: flex; flex-direction: column; align-items: center; gap: 35px; }
.lk-gallery__main { width: 550px; max-width: 100%; aspect-ratio: 550 / 526; overflow: hidden; }
.lk-gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.lk-gallery__thumbs { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.lk-gallery__thumbs button { width: 170px; aspect-ratio: 170 / 115; overflow: hidden; outline: 2px solid transparent; outline-offset: 2px; transition: outline-color .25s; }
.lk-gallery__thumbs button.active, .lk-gallery__thumbs button:hover { outline-color: var(--gold); }
.lk-gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.lk-details { padding: 15px 30px; }
.lk-details h2 { font-size: 50px; line-height: 67px; }
.lk-details__price { display: flex; align-items: baseline; gap: 15px; padding: 19px 0 20px; }
.lk-details__price span { font: 600 30px/normal var(--serif); color: var(--green); }
.lk-details__price del { font-size: 18px; color: #b3b4ae; }
.lk-details p { max-width: 520px; line-height: 32px; }
.lk-details__meta { padding-top: 15px; }
.lk-details__meta span { color: var(--green); }
.lk-details__meta a:hover { color: var(--gold); }
.lk-details__buy { display: flex; flex-wrap: wrap; gap: 15px; padding-top: 30px; }
.lk-info { margin-top: 75px; }
.lk-info__panel[hidden] { display: none; }
.lk-info__panel { border-top: 1px solid var(--cream); margin-top: 30px; padding-top: 30px; display: flex; flex-direction: column; gap: 21px; }

/* ---------- Giới thiệu ---------- */
.lk-about { padding: var(--section) 0; }
.lk-about__in { display: flex; justify-content: center; gap: 30px; }
.lk-about__imgs { position: relative; width: 615px; height: 637px; flex: none; }
.lk-about__imgs .i1, .lk-about__imgs .i2 { position: absolute; left: 0; width: 530px; height: 297px; object-fit: cover; }
.lk-about__imgs .i1 { top: 0; }
.lk-about__imgs .i2 { top: 330px; }
.lk-about__icon { position: absolute; left: 174px; top: 203px; width: 182px; height: 221px; border-radius: 1000px; background: var(--white); display: flex; align-items: center; justify-content: center; }
.lk-about__icon > span { width: 140px; height: 170px; border-radius: 1000px; background: var(--white); display: flex; align-items: center; justify-content: center; }
.lk-about__text { width: 615px; display: flex; flex-direction: column; align-items: flex-start; }
.lk-about__text h2 { font-size: 50px; line-height: 67px; }
.lk-about__text p { max-width: 556px; line-height: 32px; }
.lk-about__text p + p { margin-top: 38px; }
.lk-about__text .lk-btn { margin-top: 70px; }

/* ---------- Liên hệ ---------- */
.lk-map { padding: var(--section) 0; }
.lk-map iframe { display: block; width: 100%; height: 550px; border: 0; background: #e5e3df; }
.lk-contact { padding-bottom: var(--section); }
.lk-contact.no-map { padding-top: var(--section); }
.lk-contact__title { max-width: 440px; margin: 0 auto 50px; text-align: center; display: flex; flex-direction: column; gap: 20px; }
.lk-contact__title h2 { font-size: 35px; line-height: normal; }
.lk-contact__row { display: flex; gap: 120px; align-items: flex-start; }
.lk-form { flex: 1; max-width: 740px; display: flex; flex-direction: column; align-items: flex-start; gap: 25px; }
.lk-form input:not([type=hidden]):not(.lk-hp), .lk-form textarea {
  width: 100%; height: 50px; padding: 0 25px; border: 1px solid var(--line-sand); background: var(--white);
  font: 400 15px/27px var(--sans); color: var(--ink); border-radius: 0; transition: border-color .25s;
}
.lk-form textarea { height: 180px; padding: 15px 25px; resize: vertical; }
.lk-form ::placeholder { color: #9d9c9c; opacity: 1; }
.lk-form input:focus, .lk-form textarea:focus { outline: none; border-color: var(--gold); }
.lk-office { width: 430px; flex: none; background: var(--cream); padding: 77px 60px 17px; }
.lk-office__item { display: flex; gap: 20px; padding-bottom: 50px; }
.lk-office__icon { flex: none; width: 48px; height: 48px; border-radius: 24px; background: var(--green); display: flex; align-items: center; justify-content: center; }
.lk-office h3 { font-size: 22px; line-height: normal; }
.lk-office p { line-height: 32px; }
.lk-office a:hover { color: var(--gold); }

/* ---------- 404 ---------- */
.lk-404 { padding: var(--section) 0; text-align: center; }
.lk-404 img { margin: 0 auto; object-fit: contain; }
.lk-404 h2 { margin-top: 70px; font-size: 30px; line-height: normal; }
.lk-404 p { max-width: 920px; margin: 24px auto 29px; }

/* ---------- Chân trang ---------- */
.lk-footer { position: relative; background: var(--green); color: var(--white); overflow: hidden; }
.lk-footer::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0;
  width: calc((100% - var(--wrap)) / 2 + 315px); background: var(--green-dark);
}
.lk-footer__shape { position: absolute; right: 0; top: 0; width: 260px; height: 394px; }
.lk-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; padding-top: 127px; padding-bottom: 80px; min-height: 578px; }
.lk-footer__logo { width: 140px; height: 94px; object-fit: contain; }
.lk-footer__about p { width: 280px; margin-top: 18px; font-size: 15px; line-height: 28.5px; }
.lk-social { display: flex; gap: 8px; margin-top: 53px; }
.lk-social a { width: 48px; height: 48px; border-radius: 50%; background: var(--gold); display: flex; align-items: center; justify-content: center; font: 600 16px/1 var(--sans); }
.lk-social a:hover { background: var(--white); color: var(--green); }
.lk-footer h3 { color: var(--white); font-size: 23px; line-height: 31px; padding-top: 13px; }
.lk-footer__col ul { margin-top: 35px; display: flex; flex-direction: column; gap: 10px; }
.lk-footer__col li { font-size: 15px; line-height: 27px; }
.lk-footer__col a::before { content: "›"; margin-right: 6px; }
.lk-footer__col a:hover, .lk-footer__about a:hover { color: var(--gold); }
.lk-footer__news { width: 270px; }
.lk-footer__news p { margin-top: 35px; font-size: 15px; line-height: 28.5px; }
.lk-subscribe { position: relative; margin-top: 59px; display: flex; height: 58px; background: var(--white); }
.lk-subscribe input[type=email] { flex: 1; min-width: 0; border: 0; padding: 0 20px; font-size: 16px; color: var(--ink); background: transparent; }
.lk-subscribe input::placeholder { color: var(--body); }
.lk-subscribe input:focus { outline: none; }
.lk-subscribe:focus-within { outline: 2px solid var(--gold); }
.lk-subscribe button { width: 58px; flex: none; background: var(--gold); display: flex; align-items: center; justify-content: center; }
.lk-subscribe button:hover { background: var(--green-dark); }
.lk-footer__lower { position: relative; background: #575e38; padding: 17px 15px 18px; text-align: center; font-size: 15px; line-height: 27px; }


/* ---------- Hiệu ứng động (theo mẫu gốc Jowenly) ---------- */
@keyframes lk-rotate { to { transform: rotate(360deg); } }

/* Màn hình tải: chỉ hiện khi có JS, tự tắt sau khi trang tải xong */
.lk-preloader { display: none; }
.js .lk-preloader { display: block; position: fixed; inset: 0; z-index: 1000; background: var(--body); transition: opacity .5s ease, visibility .5s ease; }
.lk-preloader.done { opacity: 0; visibility: hidden; }
.lk-loader { position: absolute; left: 50%; top: 50%; width: 120px; height: 120px; margin: -60px 0 0 -60px; }
.lk-loader__ring { position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.lk-loader__mask {
  position: absolute; left: 0; top: 0; width: 60px; height: 120px; overflow: hidden; transform-origin: 60px 60px;
  -webkit-mask-image: linear-gradient(to bottom, #000, rgba(0, 0, 0, 0)); mask-image: linear-gradient(to bottom, #000, rgba(0, 0, 0, 0));
  animation: lk-rotate 1.2s linear infinite;
}
.lk-loader__mask::before { content: ""; display: block; width: 120px; height: 120px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5); }
.lk-loader img { position: absolute; left: 50%; top: 50%; width: 76px; height: auto; transform: translate(-50%, -50%); }

/* Menu dính: hiện khi cuộn lên (sau 1000px), ẩn khi cuộn xuống */
.lk-sticky { position: fixed; left: 0; right: 0; top: -200px; z-index: 40; opacity: 0; visibility: hidden; background: var(--white); box-shadow: 0 5px 25px rgba(0, 0, 0, .08); transition: all .7s; }
.lk-sticky.on { top: 0; opacity: 1; visibility: visible; }
.lk-sticky .lk-header__in { height: 90px; }
.lk-sticky .lk-logo img { width: 100px; height: 67px; object-fit: contain; }
.lk-sticky .lk-nav__list > li > a { padding: 33px 0; }
.lk-sticky .lk-sub { margin-top: -17px; }

/* Nút lên đầu trang: hiện sau 1000px */
.lk-top {
  position: fixed; right: 15px; bottom: 15px; z-index: 45; width: 45px; height: 45px; border-radius: 45px;
  display: flex; align-items: center; justify-content: center; background: rgba(98, 104, 66, .7); border: 2px solid var(--green);
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .3s;
}
.lk-top.on { opacity: 1; visibility: visible; transform: none; }
.lk-top:hover { background: var(--green); }
@media (max-width: 991.98px) { .lk-top { width: 35px; height: 35px; } .lk-top svg { width: 16px; height: 16px; } }

/* ---------- Thông báo ---------- */
.lk-toasts { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 60; width: min(520px, calc(100% - 30px)); display: flex; flex-direction: column; gap: 10px; }
.lk-toast { padding: 14px 20px; background: var(--green); color: var(--white); box-shadow: 0 10px 30px rgba(0, 0, 0, .15); font-size: 15px; line-height: 24px; animation: lk-in .3s ease-out, lk-out .4s ease-in 6s forwards; }
.lk-toast.error { background: #a14848; }
@keyframes lk-in { from { opacity: 0; transform: translateY(10px); } }
@keyframes lk-out { to { opacity: 0; visibility: hidden; } }

/* =================== 1200–1399px: nội dung 1170 =================== */
@media (max-width: 1199.98px) { .lk-sticky .lk-nav { display: none !important; } .lk-sticky .lk-header__in { height: 80px; } }

@media (max-width: 1399.98px) {
  :root { --wrap: 1170px; }
  .lk-hero__content { width: 560px; }
  .lk-hero__content h1 { font-size: 72px; line-height: 86px; }
  .lk-hero__pill1 { left: 20px; }
  .lk-hero__pill2 { right: 40px; }
  .lk-single__row { grid-template-columns: 1fr 1fr; }
  .lk-shop__grid { gap: 24px; }
  .lk-contact__row { gap: 60px; }
  .lk-footer::before { width: calc((100% - var(--wrap)) / 2 + 300px); }
  .lk-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .lk-about__imgs { width: 560px; }
  .lk-about__text { width: 580px; }
}

/* =================== Tablet: 768–1199px =================== */
@media (max-width: 1199.98px) {
  :root { --wrap: 690px; --gutter: 39px; }
  .lk-title h2, .lk-about__text h2 { font-size: 47px; line-height: 60px; }

  .lk-header { height: 100px; }
  .lk-header__in { justify-content: space-between; }
  .lk-burger { display: flex; flex-direction: column; gap: 5px; width: 40px; height: 40px; justify-content: center; margin-left: -15px; padding-left: 0; }
  .lk-burger span { display: block; width: 26px; height: 2px; background: var(--green); margin-left: 15px; }
  .lk-header__in > .lk-logo { position: absolute; left: 50%; transform: translateX(-50%); margin: 0; }
  .lk-header__in > .lk-logo img { width: 110px; height: 74px; }
  .lk-call { width: 40px; height: 40px; }
  .lk-call img { width: 18px; height: 18px; }

  /* Menu mở toàn màn hình */
  .lk-nav {
    position: fixed; inset: 0; z-index: 50; display: block; padding: 0; background: var(--white);
    overflow-y: auto; visibility: hidden; opacity: 0; transform: translateX(-24px); transition: all .3s;
  }
  .menu-open .lk-nav { visibility: visible; opacity: 1; transform: none; }
  .menu-open { overflow: hidden; }
  .lk-nav__top { display: flex; align-items: center; justify-content: space-between; height: 100px; padding: 0 var(--gutter); position: relative; }
  .lk-nav__top .lk-logo { position: absolute; left: 50%; transform: translateX(-50%); }
  .lk-nav__top .lk-logo img { width: 100px; height: 67px; }
  .lk-close { width: 40px; height: 40px; display: flex; align-items: center; margin-left: -7px; }
  .lk-nav__list { display: block; border-top: 1px solid #eee; }
  .lk-nav__list > li { border-bottom: 1px solid #eee; }
  .lk-nav__list > li > a { padding: 14px var(--gutter); text-transform: uppercase; }
  .lk-nav__list > li > a.active { color: var(--green); }
  .has-sub { display: flex; flex-wrap: wrap; }
  .has-sub > a { flex: 1; }
  .lk-sub-toggle { display: flex; align-items: center; justify-content: center; width: 60px; font-size: 18px; color: #000; transition: transform .25s; }
  .has-sub.open .lk-sub-toggle { transform: rotate(180deg); }
  .lk-sub {
    position: static; width: 100%; min-width: 0; margin: 0; padding: 0; box-shadow: none; transform: none;
    opacity: 1; visibility: visible; display: none; background: var(--light);
  }
  .has-sub:hover .lk-sub { transform: none; }
  .has-sub.open .lk-sub { display: block; }
  .lk-sub li { border-top: 1px solid #eee; }
  .lk-sub a { padding: 14px calc(var(--gutter) + 20px); font-size: 16px; line-height: 24px; }

  .lk-hero { height: 1100px; }
  .lk-hero__band { top: 600px; }
  .lk-hero__corner { right: -77px; }
  .lk-hero__pill1, .lk-hero__pill2 { display: none; }
  .lk-hero__content { left: var(--gutter); right: var(--gutter); top: 190px; width: auto; align-items: center; text-align: center; }
  .lk-hero__content h1 { font-size: 60px; line-height: 72px; }
  .lk-hero__content p { margin-top: 58px; }
  .lk-hero__content .lk-btn { margin-top: 74px; }
  .lk-hero__visual { right: auto; left: 50%; top: 520px; width: 400px; height: 488px; transform: translateX(-50%); }
  .lk-shape--1 { left: -80px; top: 220px; }
  .lk-shape--2 { left: 134px; top: 383px; }

  .lk-collection__grid { justify-content: flex-start; }
  .lk-coll { width: calc(50% - 15px); }
  .lk-coll__img { height: auto; aspect-ratio: 330 / 248; }
  .lk-coll__body { padding: 36px 30px 60px; }

  .lk-arrival__left, .lk-arrival__right { display: none; }
  .lk-arrival__band::before { width: 100%; }
  .lk-slider__track { max-width: 600px; }

  .lk-pagetitle__corner { right: -77px; }
  .lk-pagetitle__left, .lk-pagetitle__art { display: none; }
  .lk-pagetitle h1 { top: 205px; font-size: 45px; line-height: 45px; right: var(--gutter); }
  .lk-crumbs { top: 265px; right: var(--gutter); }

  .lk-shop__grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .lk-single__row { grid-template-columns: minmax(0, 1fr); gap: 50px; }
  .lk-details { padding: 0; }
  .lk-info { margin-top: 60px; }
  .lk-tabs { gap: 15px; }

  .lk-about__in { flex-direction: column; align-items: center; gap: 60px; }
  .lk-about__imgs { width: 100%; max-width: 520px; height: auto; aspect-ratio: 520 / 640; }
  .lk-about__imgs .i1, .lk-about__imgs .i2 { width: 100%; height: 45.47%; }
  .lk-about__imgs .i2 { top: 54.53%; }
  .lk-about__icon { left: 32.5%; top: 32.8%; width: 35%; height: auto; aspect-ratio: 182 / 221; }
  .lk-about__icon > span { width: 77%; height: 77%; }
  .lk-about__icon img { width: 47%; height: auto; }
  .lk-404 img { width: 441px; height: 221px; }
  .lk-about__text { width: 100%; }
  .lk-about__text p { max-width: none; }

  .lk-map iframe { height: 550px; }
  .lk-form input:not([type=hidden]):not(.lk-hp) { height: 45px; }
  .lk-contact__row { flex-direction: column; gap: 60px; }
  .lk-form { max-width: none; width: 100%; }
  .lk-office { width: 100%; padding: 50px 40px 0; }

  .lk-footer::before { display: none; }
  .lk-footer__shape { display: none; }
  .lk-footer__grid { grid-template-columns: 1fr 1fr; gap: 70px 0; padding: 90px 24px 20px; max-width: 768px; min-height: 0; }
  .lk-footer__grid > * { padding: 0 15px; }
  .lk-footer h3 { padding-top: 0; line-height: normal; }
  .lk-footer__about p { width: 330px; max-width: 100%; margin-top: 20px; }
  .lk-social { margin-top: 20px; }
  .lk-footer__col ul, .lk-footer__news p { margin-top: 20px; }
  .lk-footer__news { width: auto; }
  .lk-subscribe { margin-top: 20px; max-width: 330px; }
  .lk-footer__lower { padding: 20px 15px; }
}

/* =================== Mobile: < 768px =================== */
@media (max-width: 767.98px) {
  :root { --gutter: 15px; --section: 80px; }
  body { font-size: 16px; }
  .lk-title h2, .lk-about__text h2 { font-size: 30px; line-height: 40px; }
  .lk-btn { padding: 12px 18px; font-size: 14px; line-height: normal; }
  .lk-btn--sm { height: 41px; font-size: 16px; }

  .lk-header { height: 80px; }
  .lk-burger span { width: 24px; }
  .lk-header__in > .lk-logo img { width: 100px; height: 67px; }
  .lk-nav__top { height: 80px; }
  .lk-nav__top .lk-logo img { width: 86px; height: 58px; }

  .lk-hero { height: auto; padding: 140px 0 60px; }
  .lk-hero__band { top: auto; height: 300px; }
  .lk-hero__corner { display: none; }
  .lk-hero__content { position: static; }
  .lk-hero__content h1 { font-size: 40px; line-height: 50px; }
  .lk-hero__content p { margin-top: 10px; }
  .lk-hero__content .lk-btn { margin-top: 20px; }
  .lk-hero__visual { position: relative; left: auto; top: auto; transform: none; margin: 50px auto 0; width: 300px; max-width: 100%; height: auto; aspect-ratio: 1; }
  .lk-shape { display: none; }

  .lk-collection { padding: 80px 0 50px; }
  .lk-collection__grid { margin-top: 40px; gap: 40px; }
  .lk-coll { width: 100%; }
  .lk-coll__img { aspect-ratio: 360 / 271; }
  .lk-coll__body { padding: 36px 20px 60px; }
  .lk-coll__body .lk-btn { padding: 12px 18px; }

  .lk-arrival { padding: 80px 0; }
  .lk-arrival__band { margin-top: 0; }
  .lk-arrival__band::before { display: none; }
  .lk-slider { padding-top: 40px; }
  .lk-slider__track { max-width: 330px; gap: 30px; }
  .lk-product { flex-basis: 100%; }
  .lk-dots { margin-top: 40px; }

  .lk-pagetitle { height: 250px; }
  .lk-pagetitle__corner { display: none; }
  .lk-pagetitle h1 { top: 100px; font-size: 30px; line-height: 35px; }
  .lk-crumbs { top: 150px; }

  .lk-shop__grid { grid-template-columns: 1fr; }
  .lk-tabs--center { margin-bottom: 40px; gap: 10px; }
  .lk-tabs a, .lk-tabs button { padding: 8px 16px; font-size: 14px; }
  .lk-pages a { width: 44px; height: 44px; }

  .lk-gallery { gap: 25px; padding: 0 15px; }
  .lk-gallery__main { aspect-ratio: 330 / 316; }
  .lk-gallery__thumbs { gap: 15px; width: 315px; max-width: 100%; }
  .lk-gallery__thumbs button { width: 150px; aspect-ratio: 150 / 102; }
  .lk-gallery__thumbs .is-extra { display: none; }
  .lk-details h2 { font-size: 22px; line-height: 30px; }
  .lk-details__price { padding: 7px 0 20px; }
  .lk-details__price span { font-size: 25px; }
  .lk-btn--sm { font-size: 14px; }
  .lk-tabs { gap: 10px; }

  .lk-about__imgs { aspect-ratio: 360 / 433; }
  .lk-about__imgs .i1, .lk-about__imgs .i2 { height: 46.88%; }
  .lk-about__imgs .i2 { top: 53.12%; }
  .lk-about__icon { left: 31.94%; top: 32.33%; width: 36.11%; aspect-ratio: 130 / 150; }
  .lk-about__icon > span { width: 75.4%; height: 80%; }
  .lk-about__icon img { width: 51%; height: auto; }
  .lk-404 img { width: 300px; height: 150px; }
  .lk-about__text p + p { margin-top: 24px; }
  .lk-about__text .lk-btn { margin-top: 40px; }

  .lk-map { padding: 80px 0 60px; }
  .lk-map iframe { height: 550px; }
  .lk-contact__title { margin-bottom: 30px; gap: 20px; }
  .lk-contact__title h2 { font-size: 25px; }
  .lk-office { padding: 40px 20px 0; }
  .lk-office__item { padding-bottom: 40px; }

  .lk-404 h2 { margin-top: 40px; font-size: 26px; }

  .lk-footer__grid { grid-template-columns: 1fr; gap: 60px; padding: 90px 0 60px; }
  .lk-footer__about p { width: 330px; }
  .lk-footer__col ul { gap: 15px; margin-top: 15px; }
  .lk-footer__news p, .lk-subscribe { margin-top: 15px; }
  .lk-footer__lower { padding: 20px 25px; font-size: 13px; line-height: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- 0.6.0: web chỉ giới thiệu sản phẩm — nút chat nổi (thay nút gọi / đặt mua / form liên hệ) ---------- */
@media (min-width: 1200px) { .lk-header__in::after { content: ""; width: 120px; flex: none; } } /* cân logo bên trái khi bỏ nút gọi */
.lk-chat {
  position: fixed; right: 15px; bottom: 15px; z-index: 46; display: inline-flex; align-items: center; gap: 10px;
  height: 50px; padding: 0 22px 0 18px; border-radius: 50px; background: var(--green); color: var(--cream);
  font: 500 15px/1 var(--sans); text-decoration: none; box-shadow: 0 8px 24px rgba(40, 45, 20, .25); transition: background .3s, transform .3s;
}
.lk-chat:hover, .lk-chat:focus-visible { background: var(--gold); color: var(--white); transform: translateY(-2px); }
.lk-chat ~ .lk-top { bottom: 80px; }
@media (max-width: 767.98px) { .lk-chat { height: 46px; padding: 0 18px 0 15px; font-size: 14px; } .lk-chat ~ .lk-top { bottom: 72px; } }
