/* ============================================================
   KINGPEN REDESIGN — Design System (Phase 0)
   Theo thiết kế Canva "KING PEN 1080X7800"
   Load sau flatsome-main + style.css. Dùng selector đặc thù
   (html body ...) để thắng các rule !important cũ trong style.css
   ============================================================ */

:root {
  /* Colors */
  --kp-gold:        #bd9a55;
  --kp-gold-dark:   #a07e3c;
  --kp-gold-soft:   #d8c08a;
  --kp-dark:        #1b1b1b;
  --kp-charcoal:    #232323;
  --kp-cream:       #f6f1e9;
  --kp-text:        #222222;
  --kp-muted:       #8a8a8a;
  --kp-line:        #e7e1d6;
  --kp-white:       #ffffff;

  /* Fonts */
  --kp-serif: 'Playfair Display', 'Times New Roman', serif;
  --kp-sans:  'Cabin', 'Roboto', -apple-system, sans-serif;

  /* Layout */
  --kp-container: 1200px;
}

/* ---------- Base typography (override style.css !important) ---------- */
html body {
  font-family: var(--kp-sans) !important;
  color: var(--kp-text);
  font-size: 16px;
  line-height: 1.6;
}
html body h1,
html body h2,
html body h3,
html body h4,
html body h5,
html body h6 {
  font-family: var(--kp-sans) !important;
  color: var(--kp-text);
  font-weight: 700;
}
/* Display serif: dùng cho heading lớn hero / banner kể chuyện */
html body .kp-display,
html body .kp-display h1,
html body .kp-display h2,
html body .kp-display h3 {
  font-family: var(--kp-serif) !important;
  font-weight: 700;
  letter-spacing: .3px;
}

a { color: inherit; }
a:hover { color: var(--kp-gold); }
img { max-width: 100%; height: auto; }

/* ---------- Layout helpers ---------- */
.kp-container {
  max-width: var(--kp-container);
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
.kp-section { padding: 70px 0; }
.kp-section--cream { background: var(--kp-cream); }
.kp-section--dark  { background: var(--kp-dark); color: #e7e2d8; }
.kp-section--tight { padding: 50px 0; }
.kp-text-center { text-align: center; }

/* ---------- Section heading pattern ---------- */
.kp-head { text-align: center; margin-bottom: 40px; }
.kp-head--left { text-align: left; }
.kp-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--kp-gold);
  margin-bottom: 12px;
}
.kp-section-title {
  font-size: 34px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
  color: inherit;
}
.kp-section-title--serif {
  font-family: var(--kp-serif) !important;
  text-transform: none;
  font-size: 40px;
  letter-spacing: .3px;
}
.kp-sub { color: var(--kp-muted); margin-top: 14px; font-size: 15px; }
.kp-section--dark .kp-sub { color: #bdb6a6; }

/* ornamental divider */
.kp-divider {
  display: flex; align-items: center; justify-content: center;
  gap: 10px; margin: 16px auto 0; max-width: 200px;
}
.kp-divider::before, .kp-divider::after {
  content: ""; height: 1px; flex: 1; background: var(--kp-gold-soft);
}
.kp-divider i { color: var(--kp-gold); font-size: 11px; }

/* ---------- Buttons ---------- */
.kp-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 30px;
  font-family: var(--kp-sans);
  font-size: 13px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 1px solid var(--kp-gold);
  color: var(--kp-gold);
  background: transparent;
  cursor: pointer; transition: all .25s ease;
  line-height: 1;
}
.kp-btn:hover { background: var(--kp-gold); color: #fff; }
.kp-btn i { font-size: 12px; transition: transform .25s ease; }
.kp-btn:hover i { transform: translateX(4px); }
.kp-btn--light { border-color: #fff; color: #fff; }
.kp-btn--light:hover { background: #fff; color: var(--kp-dark); }
.kp-btn--dark { border-color: var(--kp-text); color: var(--kp-text); }
.kp-btn--dark:hover { background: var(--kp-text); color: #fff; }
.kp-btn--solid { background: var(--kp-gold); color: #fff; }
.kp-btn--solid:hover { background: var(--kp-gold-dark); }

/* =====================================================
   HEADER
   ===================================================== */
.kp-header { background: #fff; position: relative; z-index: 200; }
.kp-header__top {
  display: flex; align-items: center; gap: 30px;
  padding: 16px 0;
}
.kp-logo { flex: 0 0 auto; line-height: 0; }
.kp-logo img { max-height: 60px; width: auto; }

.kp-search { flex: 1 1 auto; max-width: 520px; }
.kp-search form { position: relative; }
.kp-search input[type="search"],
.kp-search input[type="text"] {
  width: 100%; height: 44px; margin: 0;
  padding: 0 46px 0 18px;
  border: 1px solid var(--kp-line); border-radius: 4px;
  background: #faf8f4; font-size: 14px; color: var(--kp-text);
  box-shadow: none;
}
.kp-header .kp-search button {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  background: none !important; border: 0 !important; box-shadow: none !important;
  color: var(--kp-gold) !important;
  font-size: 16px; cursor: pointer; padding: 8px; min-height: 0; line-height: 1; margin: 0;
}
.kp-hotline { flex: 0 0 auto; display: flex; align-items: center; gap: 12px; }
.kp-hotline__ico {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--kp-gold); color: var(--kp-gold);
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.kp-hotline__num { font-size: 18px; font-weight: 700; color: var(--kp-text); line-height: 1.1; }
.kp-hotline__txt { font-size: 11px; color: var(--kp-muted); }

/* nav row (sticky) */
.kp-header__nav {
  position: sticky; top: 0; z-index: 199;
  background: #fff; border-top: 1px solid var(--kp-line);
  border-bottom: 1px solid var(--kp-line);
  box-shadow: 0 2px 14px rgba(0,0,0,.04);
}
.kp-header__nav .kp-container {
  display: flex; align-items: center; justify-content: center; position: relative; min-height: 52px;
}
ul.kp-menu {
  list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap;
}
ul.kp-menu > li { position: relative; }
ul.kp-menu > li > a {
  display: block; padding: 16px 18px;
  font-size: 14px; font-weight: 700; letter-spacing: .5px;
  text-transform: uppercase; color: var(--kp-text);
}
ul.kp-menu > li:hover > a,
ul.kp-menu > li.current-menu-item > a,
ul.kp-menu > li.current_page_item > a { color: var(--kp-gold); }
/* dropdown */
ul.kp-menu li .sub-menu {
  list-style: none; margin: 0; padding: 8px 0;
  position: absolute; top: 100%; left: 0; min-width: 230px;
  background: #fff; border: 1px solid var(--kp-line);
  box-shadow: 0 12px 30px rgba(0,0,0,.1);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all .2s ease; z-index: 50;
}
ul.kp-menu li:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
ul.kp-menu .sub-menu li a {
  display: block; padding: 9px 20px; font-size: 13px;
  text-transform: uppercase; letter-spacing: .3px; color: #444;
}
ul.kp-menu .sub-menu li a:hover { color: var(--kp-gold); background: #faf7f1; }

.kp-actions { display: flex; align-items: center; gap: 6px; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); }
.kp-actions a {
  width: 42px; height: 42px; display: flex; align-items: center; justify-content: center;
  color: var(--kp-text); font-size: 17px; position: relative;
}
.kp-actions a:hover { color: var(--kp-gold); }
.kp-cart__count {
  position: absolute; top: 4px; right: 2px;
  background: var(--kp-gold); color: #fff; font-size: 10px; font-weight: 700;
  min-width: 17px; height: 17px; line-height: 17px; text-align: center;
  border-radius: 50%; padding: 0 4px;
}
.kp-burger { display: none; background: none; border: 0; font-size: 22px; color: var(--kp-text); cursor: pointer; position: absolute; left: 20px; top: 50%; transform: translateY(-50%); }

/* mobile drawer */
.kp-mobile-nav {
  position: fixed; top: 0; left: 0; bottom: 0; width: 300px; max-width: 86vw;
  background: #fff; z-index: 1000; transform: translateX(-100%);
  transition: transform .3s ease; overflow-y: auto; padding: 20px;
  box-shadow: 4px 0 30px rgba(0,0,0,.2);
}
.kp-mobile-nav.is-open { transform: translateX(0); }
.kp-mobile-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 999;
  opacity: 0; visibility: hidden; transition: opacity .3s ease;
}
.kp-mobile-overlay.is-open { opacity: 1; visibility: visible; }
.kp-mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.kp-mobile-nav ul li a { display: block; padding: 11px 6px; border-bottom: 1px solid #f0ece4; text-transform: uppercase; font-size: 13px; font-weight: 600; }
.kp-mobile-nav .sub-menu { padding-left: 14px; }

/* =====================================================
   FOOTER
   ===================================================== */
.kp-footer { background: var(--kp-dark); color: #b9b3a6; padding: 64px 0 0; }
.kp-footer a { color: #b9b3a6; }
.kp-footer a:hover { color: var(--kp-gold); }
.kp-footer__grid {
  display: grid; grid-template-columns: 2fr 1.1fr 1.1fr 1.5fr; gap: 40px;
}
.kp-footer__logo img { max-height: 56px; width: auto; filter: brightness(0) invert(1); margin-bottom: 18px; }
.kp-footer__desc { font-size: 13.5px; line-height: 1.8; margin-bottom: 16px; }
.kp-footer__info p { margin: 0 0 7px; font-size: 13.5px; }
.kp-footer__info strong { color: #e7e2d8; }
.kp-footer h4 {
  color: #fff; font-size: 15px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; margin: 0 0 20px; position: relative; padding-bottom: 12px;
}
.kp-footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 2px; background: var(--kp-gold); }
.kp-footer__links { list-style: none; margin: 0; padding: 0; }
.kp-footer__links li { margin-bottom: 11px; font-size: 13.5px; padding-left: 16px; position: relative; }
.kp-footer__links li::before { content: "\f105"; font-family: "Font Awesome 5 Free"; font-weight: 900; position: absolute; left: 0; color: var(--kp-gold); font-size: 12px; }
.kp-socials { display: flex; gap: 10px; margin-top: 8px; }
.kp-socials a {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid #444;
  display: flex; align-items: center; justify-content: center; color: #cfcabd; font-size: 15px;
}
.kp-socials a:hover { background: var(--kp-gold); border-color: var(--kp-gold); color: #fff; }
.kp-socials img { width: 16px; height: 16px; }
.kp-footer__map iframe { width: 100%; height: 200px; border: 0; border-radius: 4px; filter: grayscale(.3); }
.kp-footer__bottom {
  margin-top: 50px; border-top: 1px solid #333; padding: 20px 0;
  text-align: center; font-size: 13px; color: #8a8478;
}

/* =====================================================
   PRODUCT CARD (base — tinh chỉnh ở Phase 2)
   ===================================================== */
.kp-product, .products .product .col-inner {
  background: #fff;
}
.kp-product .kp-product__brand,
.product-small .kp-product__brand {
  font-size: 11px; letter-spacing: 1px; text-transform: uppercase;
  color: var(--kp-muted); font-weight: 600; margin-bottom: 4px;
}
/* giá (override .price_pro hiện có trong content-product.php) */
html body .price_pro,
html body .price_pro span,
html body .price_pro ins span {
  color: var(--kp-gold) !important; font-weight: 700; font-size: 16px; text-decoration: none;
}
html body .price_pro del span { color: var(--kp-muted) !important; font-weight: 400; font-size: 13px; }
/* CTA "MUA NGAY" trên card */
html body .dat_hang .chitiet,
.kp-buy {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  color: var(--kp-text) !important; background: none !important; padding: 8px 0 !important; border: 0 !important;
}
/* ép bỏ style "viên thuốc đen" cũ của .chitiet trên trang archive */
html body .dat_hang .chitiet {
  border-radius: 0 !important; box-shadow: none !important;
  width: auto !important; height: auto !important; min-height: 0 !important; line-height: 1.2 !important;
}
html body .dat_hang .chitiet:hover, .kp-buy:hover { color: var(--kp-gold) !important; background: none !important; }
html body .dat_hang .chitiet::after, .kp-buy::after { content: "\f061"; font-family: "Font Awesome 5 Free"; font-weight: 900; font-size: 11px; }

/* =====================================================
   SLICK carousel theming
   ===================================================== */
.slick-prev, .slick-next {
  width: 40px; height: 40px; border: 1px solid var(--kp-line); border-radius: 50%;
  background: #fff; color: var(--kp-text); z-index: 5; display: flex !important;
  align-items: center; justify-content: center; transition: all .2s ease;
}
.slick-prev:hover, .slick-next:hover { background: var(--kp-gold); border-color: var(--kp-gold); color: #fff; }
.slick-prev::before, .slick-next::before { content: none; }
.slick-dots { display: flex; justify-content: center; align-items: center; gap: 10px; list-style: none; padding: 0; margin: 28px 0 0; }
.slick-dots li { width: auto; height: auto; margin: 0; padding: 0; }
.slick-dots li button { width: 11px; height: 11px; padding: 0; border: 0; border-radius: 50%; background: var(--kp-gold); opacity: .3; font-size: 0; line-height: 0; color: transparent; cursor: pointer; transition: opacity .2s ease, transform .2s ease; }
.slick-dots li button:before { display: none; }
.slick-dots li.slick-active button { opacity: 1; transform: scale(1.25); }

/* =====================================================
   VIDEO LIGHTBOX + play button
   ===================================================== */
.kp-video { cursor: pointer; position: relative; display: block; }
.kp-video__play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 70px; height: 70px; border-radius: 50%;
  background: rgba(255,255,255,.92); color: var(--kp-gold);
  display: flex; align-items: center; justify-content: center; font-size: 22px;
  transition: all .25s ease; box-shadow: 0 6px 24px rgba(0,0,0,.25);
}
.kp-video:hover .kp-video__play { background: var(--kp-gold); color: #fff; transform: translate(-50%,-50%) scale(1.08); }
.kp-video-modal {
  position: fixed; inset: 0; background: rgba(0,0,0,.85); z-index: 100000;
  display: flex; align-items: center; justify-content: center; padding: 20px;
  opacity: 0; transition: opacity .25s ease;
}
.kp-video-modal.is-open { opacity: 1; }
.kp-video-modal__inner { position: relative; width: 100%; max-width: 900px; }
.kp-video-modal__frame { position: relative; padding-top: 56.25%; }
.kp-video-modal__frame iframe,
.kp-video-modal__frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 4px; background: #000; }
.kp-video-modal__close {
  position: absolute; top: -42px; right: 0; background: none; border: 0;
  color: #fff; font-size: 34px; line-height: 1; cursor: pointer;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
  .kp-footer__grid { grid-template-columns: 1fr 1fr; }
  .kp-section-title { font-size: 28px; }
  .kp-section-title--serif { font-size: 32px; }
}
@media (max-width: 849px) {
  ul.kp-menu, .kp-actions .kp-account { display: none; }
  .kp-burger { display: inline-flex; }
  .kp-header__top { flex-wrap: wrap; gap: 14px; }
  .kp-search { order: 3; max-width: 100%; flex-basis: 100%; }
  .kp-hotline__txt { display: none; }
  .kp-header__nav .kp-container { justify-content: space-between; }
  .kp-section { padding: 48px 0; }
}
@media (max-width: 600px) {
  .kp-footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .kp-logo img { max-height: 48px; }
  .kp-section-title--serif { font-size: 26px; }
}

/* =====================================================
   HOMEPAGE (front-page.php)
   ===================================================== */
.kp-main { overflow-x: hidden; }

/* Hero */
.kp-hero { position: relative; min-height: 540px; background-size: cover; background-position: center; background-color: #2a241d; display: flex; align-items: center; overflow: hidden; }
.kp-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.kp-hero__overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(0,0,0,.8) 0%, rgba(0,0,0,.5) 45%, rgba(0,0,0,.2) 100%); }
.kp-hero__inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; width: 100%; }
.kp-hero__content { max-width: 560px; color: #fff; }
.kp-hero__title { font-size: 56px; line-height: 1.08; color: #fff; margin: 0 0 16px; }
.kp-hero__sub { font-size: 18px; color: #efe9df; margin: 0 0 28px; }
.kp-hero__play { display: inline-block; }

/* Brands */
.kp-brands__row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.kp-brands__item { flex: 1; min-width: 120px; display: flex; align-items: center; justify-content: center; }
.kp-brands__item img { max-height: 82px; width: auto; max-width: 210px; object-fit: contain; opacity: .9; transition: opacity .2s ease, transform .2s ease; }
.kp-brands__item:hover img { opacity: 1; transform: scale(1.05); }
.kp-brands__text { font-family: var(--kp-serif); font-size: 26px; font-weight: 700; letter-spacing: 1px; color: #3a352c; opacity: .85; transition: color .2s ease; }
.kp-brands__item:hover .kp-brands__text { color: var(--kp-gold); opacity: 1; }

/* Product card */
.kp-carousel--products .kp-slide { padding: 0 12px; }
.kp-product { background: #fff; border: 1px solid var(--kp-line); height: 100%; display: flex; flex-direction: column; transition: box-shadow .25s ease; }
.kp-product:hover { box-shadow: 0 14px 30px rgba(0,0,0,.08); }
.kp-product__img { display: block; overflow: hidden; background: #fff; }
.kp-product__img img { width: 100%; height: auto; transition: transform .45s ease; mix-blend-mode: multiply; }
.kp-product:hover .kp-product__img img { transform: scale(1.06); }
.kp-product__body { padding: 16px 16px 20px; text-align: center; display: flex; flex-direction: column; flex: 1; }
.kp-product__name { font-size: 14px; font-weight: 600; line-height: 1.4; margin: 6px 0 8px; min-height: 40px; }
.kp-product__name a { color: #222; }
.kp-product__name a:hover { color: var(--kp-gold); }
.kp-product .price_pro { margin: 0 0 12px; }
.kp-product .kp-buy { margin: auto auto 0; }

/* Story banner */
.kp-story { position: relative; padding: 90px 0; background-size: cover; background-position: center; background-color: #1a140d; text-align: center; color: #fff; }
.kp-story__overlay { position: absolute; inset: 0; background: rgba(20,15,9,.78); }
.kp-story__inner { position: relative; z-index: 2; max-width: 740px; margin: 0 auto; }
.kp-story__title { font-size: 44px; line-height: 1.15; color: #fff; margin: 8px 0 0; }
.kp-story__sub { color: #e7e2d8; margin: 18px 0 28px; font-size: 16px; }
.kp-story .kp-eyebrow { color: var(--kp-gold-soft); }

/* Feature row (bán chạy / phụ kiện) */
.kp-feature-row { display: grid; grid-template-columns: 360px 1fr; gap: 36px; align-items: center; }
.kp-feature-row--reverse { grid-template-columns: 1fr 360px; } /* list rộng bên trái, media hẹp bên phải */
.kp-feature__media { position: relative; min-height: 420px; background-size: cover; background-position: center; background-color: #2a241d; border-radius: 4px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.kp-feature__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.kp-feature__media .kp-video__play { z-index: 2; }
.kp-video-local { cursor: pointer; }
.kp-feature__list { min-width: 0; }
.kp-feature__list .kp-carousel--products .kp-slide { padding: 0 8px; }

/* Commit / trải nghiệm */
.kp-commit { position: relative; overflow: hidden; background-color: #ece3d0; }
.kp-commit__inner { position: relative; z-index: 2; }
.kp-commit__head { max-width: 50%; }
.kp-commit__img { position: absolute; top: 0; right: 0; width: 48%; height: 62%; background-size: cover; background-position: top right; }
.kp-commit__img::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #ece3d0 0%, rgba(236,227,208,0) 35%), linear-gradient(0deg, #ece3d0 0%, rgba(236,227,208,0) 32%); }
.kp-commit__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 42px; max-width: 100%; }
.kp-commit__item { padding: 0 22px; position: relative; }
.kp-commit__item + .kp-commit__item::before { content: ""; position: absolute; left: 0; top: 6%; height: 88%; width: 1px; background: rgba(120,100,60,.22); }
.kp-commit__item { text-align: center; }
.kp-commit__ico { width: 66px; height: 66px; border-radius: 50%; border: 1px solid var(--kp-gold); color: var(--kp-gold); font-size: 24px; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.kp-commit__item h4 { font-size: 14px; text-transform: uppercase; letter-spacing: .5px; margin: 0 0 6px; }
.kp-commit__item p { color: var(--kp-muted); font-size: 13px; margin: 0; }

/* Reviews / testimonials */
.kp-carousel--testimonials .kp-slide { padding: 24px 14px; }
.kp-review { background: #fff; border: 1px solid var(--kp-line); border-radius: 4px; padding: 32px 24px; text-align: center; transition: transform .4s ease, opacity .4s ease, box-shadow .4s ease; opacity: .5; transform: scale(.86); }
.kp-carousel--testimonials .slick-center .kp-review { opacity: 1; transform: scale(1.04); box-shadow: 0 18px 44px rgba(0,0,0,.12); border-color: var(--kp-gold); }
.kp-review__avatar { width: 66px; height: 66px; border-radius: 50%; background: var(--kp-gold); color: #fff; font-size: 26px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.kp-review__stars { color: var(--kp-gold); margin-bottom: 12px; font-size: 13px; }
.kp-review__text { font-style: italic; color: #444; margin: 0 0 16px; line-height: 1.7; }
.kp-review__name { font-weight: 700; }
.kp-review__role { color: var(--kp-muted); font-size: 13px; }

/* Video review grid */
.kp-videos__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.kp-videos__item { position: relative; min-height: 220px; background-size: cover; background-position: center; background-color: #cfc6b8; border-radius: 4px; display: flex; align-items: center; justify-content: center; }
.kp-videos__item::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.18); border-radius: 4px; }

/* News */
.kp-news__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.kp-news__card { background: #fff; border: 1px solid var(--kp-line); display: flex; flex-direction: column; }
.kp-news__thumb { display: block; height: 220px; overflow: hidden; background: #eee; }
.kp-news__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.kp-news__card:hover .kp-news__thumb img { transform: scale(1.06); }
.kp-news__body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.kp-news__title { font-size: 17px; line-height: 1.4; margin: 0 0 10px; }
.kp-news__title a { color: #222; }
.kp-news__title a:hover { color: var(--kp-gold); }
.kp-news__excerpt { color: var(--kp-muted); font-size: 14px; line-height: 1.6; margin: 0 0 14px; }
.kp-news__body .kp-buy { margin-top: auto; }

/* Homepage responsive */
@media (max-width: 1100px) {
  .kp-commit__img { display: none; }
  .kp-commit__head { max-width: 100%; }
  .kp-commit__grid { max-width: 100%; }
}
@media (max-width: 1024px) {
  .kp-hero__title { font-size: 44px; }
  .kp-story__title { font-size: 34px; }
  .kp-feature-row { grid-template-columns: 300px 1fr; gap: 24px; }
  .kp-commit__grid { max-width: 100%; }
}
@media (max-width: 849px) {
  .kp-hero { min-height: 420px; }
  .kp-hero__title { font-size: 34px; }
  .kp-hero__play { display: none; }
  .kp-feature-row, .kp-feature-row--reverse { grid-template-columns: 1fr; }
  .kp-feature__media { min-height: 240px; order: -1; }
  .kp-commit__grid { grid-template-columns: repeat(2, 1fr); gap: 30px 0; }
  .kp-commit__item + .kp-commit__item::before { display: none; }
  .kp-videos__grid { grid-template-columns: 1fr; }
  .kp-news__grid { grid-template-columns: 1fr; }
  .kp-brands__row { justify-content: center; gap: 18px 14px; }
  .kp-brands__item { flex: 0 0 28%; }
  .kp-brands__item img { max-height: 46px; }
  .kp-brands__text { font-size: 18px; }
  /* mobile: tắt centerMode nên không có .slick-center → cho card hiện đầy đủ */
  .kp-carousel--testimonials .kp-review { opacity: 1; transform: none; }
  .kp-carousel--products .kp-slide { padding: 0 6px; }
}
@media (max-width: 600px) {
  .kp-hero__title { font-size: 28px; }
  .kp-story__title { font-size: 26px; }
  .kp-page-hero__title { font-size: 24px; }
  .kp-section-title { font-size: 23px; }
  .kp-commit__grid { grid-template-columns: 1fr 1fr; }
  .kp-brands__item { flex: 0 0 42%; }
  .kp-brands__item img { max-height: 42px; }
}

/* =====================================================
   WOOCOMMERCE — archive / shop / loop card (Phase 2)
   ===================================================== */
.kp-archive-hero { margin-bottom: 30px; min-height: 320px; }
.woocommerce-breadcrumb { font-size: 13px; color: var(--kp-muted); margin-bottom: 16px; letter-spacing: .3px; }
.woocommerce-breadcrumb a { color: var(--kp-muted); }
.woocommerce-breadcrumb a:hover { color: var(--kp-gold); }

/* loop product card (Flatsome product-small + content-product.php) */
.products .product-small .box-text,
.product-small.box .box-text { text-align: center; padding: 14px 8px 8px; }
.product-small .box-image { border: 1px solid var(--kp-line); background: #fff; }
.product-small .name.product-title { margin: 4px 0 6px; }
.product-small .name.product-title a { font-size: 14px; font-weight: 600; color: #222; letter-spacing: .2px; }
.product-small .name.product-title a:hover { color: var(--kp-gold); }
.product-small .kp-product__brand { margin-bottom: 4px; }
.product-small.box .dat_hang { margin-top: 6px; }
.product-small.box .dat_hang .chitiet { justify-content: center; }

/* archive title + ordering */
.shop-container .woocommerce-ordering select,
.shop-container .shop-tools select,
.kp-filter-select {
  border: 1px solid var(--kp-line); height: 44px; border-radius: 4px;
  background: #fff; padding: 0 16px; font-size: 14px; color: var(--kp-text); min-width: 180px;
}
/* category title (Flatsome) */
.shop-page-title .page-title-inner h1,
.product-category .page-title-inner h1 { font-family: var(--kp-serif) !important; }

/* =====================================================
   PAGE HERO + BREADCRUMB (Giới thiệu / Liên hệ / archive)
   ===================================================== */
.kp-page-hero { position: relative; min-height: 360px; background-size: cover; background-position: center; background-color: #2a241d; display: flex; align-items: center; }
.kp-page-hero__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.72), rgba(0,0,0,.3)); }
.kp-page-hero__inner { position: relative; z-index: 2; color: #fff; }
.kp-page-hero__title { font-size: 46px; line-height: 1.15; color: #fff; margin: 0; }
.kp-page-hero__sub { color: #efe9df; margin-top: 12px; font-size: 17px; }
.kp-breadcrumb { font-size: 13px; letter-spacing: .5px; color: #d8d2c6; margin-bottom: 14px; }
.kp-breadcrumb a { color: #d8d2c6; }
.kp-breadcrumb a:hover { color: var(--kp-gold-soft); }
.kp-breadcrumb i { margin: 0 7px; font-size: 10px; color: var(--kp-gold-soft); }
.kp-breadcrumb span { color: var(--kp-gold-soft); }

/* ABOUT — intro */
.kp-about-intro__card { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.kp-about-intro__logo { max-height: 50px; width: auto; margin-bottom: 18px; }
.kp-about-intro__text p { color: #444; line-height: 1.85; font-size: 15px; }
.kp-about-intro__media { min-height: 340px; background-size: cover; background-position: center; background-color: #e8e2d6; border-radius: 4px; }

/* ABOUT — vision/mission */
.kp-vm__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.kp-vm__item { background: #fff; border: 1px solid var(--kp-line); padding: 36px; border-radius: 4px; }
.kp-vm__ico { width: 66px; height: 66px; border-radius: 50%; background: var(--kp-cream); border: 1px solid var(--kp-gold); color: var(--kp-gold); font-size: 24px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.kp-vm__item h3 { font-size: 22px; margin: 0 0 10px; }
.kp-vm__item p { color: #555; line-height: 1.75; margin: 0; }

/* ABOUT — core values (dark) */
.kp-values__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.kp-values__item { text-align: center; }
.kp-values__item h4 { color: #fff; font-size: 15px; text-transform: uppercase; letter-spacing: .5px; margin: 0 0 6px; }
.kp-values__item p { color: #bdb6a6; font-size: 13px; margin: 0; }

/* ABOUT — brand blocks */
.kp-brand-block { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; margin-bottom: 44px; }
.kp-brand-block:last-child { margin-bottom: 0; }
.kp-brand-block--reverse .kp-brand-block__media { order: 2; }
.kp-brand-block__media { min-height: 300px; background-size: cover; background-position: center; background-color: #e8e2d6; border-radius: 4px; }
.kp-brand-block__body h3 { font-size: 34px; margin: 0 0 14px; }
.kp-brand-block__body p { color: #555; line-height: 1.85; margin: 0 0 22px; }

/* CONTACT */
.kp-contact__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; }
.kp-contact__list { list-style: none; margin: 22px 0; padding: 0; }
.kp-contact__list li { display: flex; gap: 16px; margin-bottom: 20px; align-items: flex-start; }
.kp-contact__ico { width: 48px; height: 48px; border-radius: 50%; background: var(--kp-cream); color: var(--kp-gold); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.kp-contact__list strong { color: #222; }
.kp-contact__form input:not([type="submit"]),
.kp-contact__form textarea,
.kp-contact__form select {
  width: 100%; border: 1px solid var(--kp-line); border-radius: 4px;
  padding: 12px 16px; margin-bottom: 14px; font-size: 14px; background: #faf8f4; font-family: var(--kp-sans);
}
.kp-contact__form textarea { min-height: 150px; }
.kp-contact__form .wpcf7-submit {
  background: var(--kp-gold); color: #fff; border: 0; padding: 14px 36px;
  text-transform: uppercase; letter-spacing: 1px; font-weight: 700; cursor: pointer;
  border-radius: 4px; transition: background .2s ease; width: auto;
}
.kp-contact__form .wpcf7-submit:hover { background: var(--kp-gold-dark); }
.kp-contact-map iframe { width: 100%; height: 420px; border: 0; display: block; filter: grayscale(.2); }

@media (max-width: 849px) {
  .kp-page-hero { min-height: 260px; }
  .kp-page-hero__title { font-size: 30px; }
  .kp-about-intro__card,
  .kp-vm__grid,
  .kp-brand-block,
  .kp-brand-block--reverse,
  .kp-contact__grid { grid-template-columns: 1fr; gap: 28px; }
  .kp-brand-block--reverse .kp-brand-block__media { order: 0; }
  .kp-values__grid { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .kp-about-intro__media, .kp-brand-block__media { min-height: 220px; }
}
