@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;500;600;700;800&display=swap');
:root {
  --green:#174b3b;
  --accent:#d6ed93;
  --cream:#f8f8f0;
  --ink:#163c31;
  --muted:#68736b;
  --line:#dce2d7;
}

* {
  box-sizing:border-box;
}

html {
  scroll-behavior:smooth;
  scroll-padding-top:30px;
}

body {
  margin:0;
  background:var(--cream);
  color:var(--ink);
  font: 16px 'Be Vietnam Pro',sans-serif;
}

a {
  color:inherit;
  text-decoration:none;
}

button {
  font:inherit;
  cursor:pointer;
}

button:focus-visible,a:focus-visible {
  outline:3px solid #4d99e9;
  outline-offset:5px;
}

.concept {
  padding:12px 4%;
  background:#1b2421;
  color:white;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  font-size:12px;
  letter-spacing:1px;
}

.concept div {
  display:flex;
  gap:6px;
}

.concept button {
  padding:9px 15px;
  border:1px solid #6e7772;
  border-radius:5px;
  background:transparent;
  color:white;
  font-size:14px;
}

.concept button.active {
  background:#f6f5e9;
  color:#1b2421;
}

.concept small {
  letter-spacing:0;
}

.notice {
  text-align:center;
  padding:10px;
  background:var(--green);
  color:white;
  font-size:13px;
}

header {
  max-width:1440px;
  margin:auto;
  padding:26px 5%;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.logo {
  display:flex;
  align-items:center;
  gap:12px;
}

.mark {
  font-size:34px;
  letter-spacing:-3px;
  background:var(--green);
  color:var(--cream);
  padding:0 12px 5px;
  border-radius:12px;
}

.logo span {
  font-size:19px;
  font-weight:800;
  letter-spacing:1px;
}

.logo small {
  display:block;
  font-size:10px;
  margin-top:5px;
  letter-spacing:2px;
}

nav {
  display:flex;
  gap:30px;
  font-size:14px;
}

.contact {
  border:1px solid var(--line);
  border-radius:30px;
  padding:13px 20px;
  font-size:14px;
}

main {
  max-width:1440px;
  margin:auto;
}

.hero {
  display:grid;
  grid-template-columns:1.05fr 1fr;
  padding:18px 5% 50px;
  gap:28px;
  min-height:580px;
}

.hero-copy {
  padding:38px 10px 0 0;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
}

.eyebrow {
  font-size:12px;
  letter-spacing:2px;
  font-weight:700;
  margin:0 0 22px;
}

h1 {
  font-size:clamp(38px,calc(4.1vw + 2px),64px);
  letter-spacing:-2.8px;
  line-height:1.22;
  margin:0 0 22px;
  font-weight:600;
}

h1 em {
  font-weight:500;
  font-style:normal;
  color:#70834b;
}

.hero-copy>p:not(.eyebrow) {
  font-size:15px;
  line-height:1.95;
  max-width:450px;
  color:var(--muted);
  margin:0 0 30px;
}

.actions {
  display:flex;
  gap:24px;
  align-items:center;
  flex-wrap:wrap;
}

.primary {
  background:var(--green);
  color:white;
  padding:17px 22px;
  border-radius:8px;
  font-size:14px;
  display:inline-flex;
  gap:28px;
  align-items:center;
}

.text-link {
  font-size:14px;
  border-bottom:1px solid;
  padding-bottom:5px;
}

.hero-bottom {
  display:flex;
  gap:28px;
  margin-top:auto;
  padding-top:44px;
  font-size:10px;
  letter-spacing:1px;
  color:var(--muted);
}

.hero-art {
  min-height:470px;
  position:relative;
  border-radius:130px 14px 14px 14px;
  overflow:hidden;
}

.hero-art>img {
  width:100%;
  height:100%;
  position:absolute;
  object-fit:cover;
}

.image-shade {
  position:absolute;
  inset:0;
  background:linear-gradient(transparent 30%,#102c27b0);
}

.floating {
  position:absolute;
  bottom:32px;
  left:30px;
  color:white;
}

.floating span {
  font-size:19px;
  display:block;
}

.floating strong {
  font-size:28px;
  display:block;
  line-height:1.5;
}

.floating i {
  font-style:normal;
  font-size:11px;
  letter-spacing:2px;
  display:block;
  margin-top:16px;
}

.round {
  position:absolute;
  right:22px;
  top:25px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  border-radius:100%;
  width:108px;
  height:108px;
  background:var(--accent);
  color:var(--ink);
  text-align:center;
  font-size:11px;
  line-height:1.6;
  transform:rotate(12deg);
}

.round b {
  font-size:32px;
  line-height:1;
}

.ribbon {
  background:var(--accent);
  display:flex;
  justify-content:space-evenly;
  align-items:center;
  padding:23px 10px;
  font-size:15px;
  font-weight:500;
}

.ribbon b {
  font-size:26px;
}

section.categories,section.collection {
  padding:65px 5%;
}

.section-head {
  display:flex;
  justify-content:space-between;
  align-items:end;
  margin-bottom:30px;
  gap:24px;
}

.section-head .eyebrow {
  margin-bottom:13px;
}

h2 {
  font-size:32px;
  letter-spacing:-1.1px;
  font-weight:500;
  margin:0;
  line-height:1.4;
}

.section-head>p {
  font-size:13px;
  line-height:1.8;
  color:var(--muted);
}

.category-grid {
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:13px;
}

.category {
  padding:24px 10px 20px;
  border:1px solid var(--line);
  border-radius:12px;
  text-align:center;
  background:#fff8;
  transition:.2s;
}

.category:hover {
  transform:translateY(-5px);
  border-color:var(--green);
}

.category .icon {
  font-size:36px;
  display:flex;
  height:66px;
  align-items:center;
  justify-content:center;
}

.category strong {
  display:block;
  font-size:13px;
  margin:14px 0 7px;
}

.category small {
  font-size:11px;
  color:var(--muted);
}

.collection {
  background:#edf0e6;
}

.filters {
  display:flex;
  gap:9px;
  flex-wrap:wrap;
  margin-bottom:25px;
}

.filters button {
  border:1px solid #cdd6c9;
  border-radius:30px;
  padding:9px 16px;
  background:transparent;
  color:var(--ink);
  font-size:13px;
}

.filters button.selected {
  background:var(--green);
  color:white;
  border-color:var(--green);
}

.product-grid {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}

.product {
  background:var(--cream);
  padding:16px;
  border-radius:10px;
}

.pack {
  height:175px;
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
  background:#ede9da;
  border-radius:7px;
  margin-bottom:18px;
}

.pack>span {
  font-size:87px;
  filter:drop-shadow(6px 10px 5px #0001);
}

.pack small {
  position:absolute;
  left:11px;
  top:10px;
  font-size:10px;
  letter-spacing:1px;
  color:#596559;
}

.product p {
  font-size:11px;
  color:var(--muted);
  margin:0 0 8px;
}

.product h3 {
  font-size:15px;
  font-weight:500;
  margin:0 0 18px;
}

.product a {
  font-size:12px;
  border-top:1px solid var(--line);
  padding-top:13px;
  display:flex;
  justify-content:space-between;
}

.demo-note {
  font-size:12px;
  line-height:1.8;
  color:var(--muted);
  margin:24px 0 0;
}

.story {
  padding:70px 5%;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:90px;
}

.story h2 {
  font-size:40px;
}

.story>div>p:not(.eyebrow) {
  font-size:14px;
  line-height:2;
  color:var(--muted);
  margin:0 0 18px;
}

.story .primary {
  margin-top:8px;
}

.cta {
  background:var(--green);
  color:var(--cream);
  margin:0 5% 55px;
  padding:38px 42px;
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}

.cta .eyebrow {
  color:var(--accent);
  margin-bottom:10px;
}

.cta p {
  font-size:13px;
}

.cta>a {
  font-size:27px;
  white-space:nowrap;
}

footer {
  border-top:1px solid var(--line);
  padding:30px 5%;
  max-width:1440px;
  margin:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}

footer p,footer a:not(.logo),footer>small {
  font-size:12px;
}

body.orange {
  --green:#ce492b;
  --accent:#ffcb77;
  --cream:#fff9ef;
  --ink:#382b27;
  --muted:#87766a;
  --line:#eadacc;
}

.orange h1 em {
  color:#ce492b;
}

.orange .hero-art {
  border-radius:12px 120px 12px 12px;
}

.orange .hero {
  grid-template-columns:1fr 1.05fr;
}

.orange .hero-copy {
  order:2;
  padding-left:30px;
}

.orange .hero-art {
  order:1;
}

.orange .collection {
  background:#f9e9d8;
}

.orange .category {
  border-radius:0 25px 0 25px;
  background:#fffdf8;
}

.orange .mark {
  border-radius:0 12px 0 12px;
}

.orange .primary {
  border-radius:30px;
}

.orange .pack {
  background:#f4dfca;
}

.orange .story h2 {
  font-weight:600;
}

@media(min-width:1500px) {
  h1 {
    font-size:64px;
  }
}

@media(max-width:900px) {
  nav {
    display:none;
  }
  .concept>span {
    display:none;
  }
  .concept {
    justify-content:center;
  }
  .category-grid {
    grid-template-columns:repeat(3,1fr);
  }
  .hero {
    gap:18px;
  }
  .hero-art {
    min-height:440px;
  }
  .hero-copy {
    padding-top:20px;
  }
  h1 {
    font-size:44px;
    letter-spacing:-2px;
  }
  .hero-bottom {
    gap:10px;
    font-size:9px;
  }
  .actions {
    gap:15px;
  }
  .product-grid {
    grid-template-columns:repeat(2,1fr);
  }
  .story {
    gap:30px;
  }
  .cta>a {
    font-size:22px;
  }
  footer {
    flex-wrap:wrap;
  }
}

@media(max-width:600px) {
  .concept small {
    display:none;
  }
  .concept {
    position:sticky;
    top:0;
    z-index:10;
  }
  .concept button {
    padding:8px 13px;
  }
  .notice {
    font-size:10px;
    padding:9px 12px;
  }
  header {
    padding:20px 5%;
  }
  .logo span {
    font-size:15px;
  }
  .logo small {
    font-size:8px;
  }
  .mark {
    font-size:29px;
  }
  .contact {
    font-size:11px;
    padding:10px;
  }
  .hero,.orange .hero {
    grid-template-columns:1fr;
    padding-bottom:28px;
  }
  .hero-copy,.orange .hero-copy {
    order:1;
    padding:12px 0 0;
  }
  .hero-art,.orange .hero-art {
    order:2;
    min-height:330px;
    border-radius:75px 12px 12px 12px;
  }
  h1 {
    font-size:45px;
  }
  .hero-copy>p:not(.eyebrow) {
    font-size:14px;
  }
  .hero-bottom {
    padding-top:25px;
    margin-bottom:6px;
  }
  .ribbon {
    gap:12px;
    flex-wrap:wrap;
    padding:17px;
    font-size:12px;
  }
  .ribbon b {
    font-size:17px;
  }
  .ribbon b:last-of-type {
    display:none;
  }
  section.categories,section.collection {
    padding:42px 5%;
  }
  .section-head {
    align-items:start;
    flex-direction:column;
    gap:10px;
  }
  h2 {
    font-size:27px;
  }
  .section-head>p {
    margin:0;
  }
  .category-grid {
    gap:8px;
  }
  .category {
    padding:14px 5px;
  }
  .category strong {
    font-size:12px;
  }
  .category small {
    font-size:10px;
  }
  .category .icon {
    font-size:31px;
    height:45px;
  }
  .product-grid {
    gap:10px;
  }
  .product {
    padding:10px;
  }
  .pack {
    height:140px;
  }
  .pack>span {
    font-size:69px;
  }
  .product h3 {
    font-size:13px;
    line-height:1.6;
  }
  .story {
    grid-template-columns:1fr;
    padding:45px 5%;
    gap:24px;
  }
  .story h2 {
    font-size:34px;
  }
  .cta {
    padding:27px 24px;
    flex-direction:column;
    align-items:start;
    margin-bottom:35px;
  }
  .cta h2 {
    font-size:28px;
  }
  .cta p {
    line-height:1.8;
  }
  footer {
    gap:18px;
  }
  footer p {
    display:none;
  }
  footer>small {
    width:100%;
    font-size:10px;
  }
}

.hero-art {
  background:#efd0af;
}

.hero-art>img {
  object-fit:contain;
}

.image-shade {
  background:linear-gradient(transparent 65%,#623318a8);
}

/* Liên kết chuyển giữa hai mẫu thiết kế. */
.design-switch {
  padding: 9px 15px;
  border: 1px solid #6e7772;
  border-radius: 5px;
  color: white;
  font-size: 14px;
  letter-spacing: 0;
}

.design-switch.active {
  background: #f6f5e9;
  color: #1b2421;
}

/* Trang danh mục sản phẩm và điều hướng. */
header {
  flex-wrap: wrap;
  gap: 20px;
}

header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

header nav a[aria-current="page"] {
  color: var(--green);
  border-bottom: 2px solid currentColor;
  padding-bottom: 6px;
  font-weight: 700;
}

.ribbon a {
  text-align: center;
}

.category-grid {
  grid-template-columns: repeat(4, 1fr);
}

.catalog-intro {
  padding: 35px 5% 10px;
}

.breadcrumb {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 32px;
}

.catalog-intro h1 {
  margin-bottom: 15px;
}

.catalog-intro > p {
  line-height: 1.8;
}

.catalog-page .collection {
  margin: 20px 0 50px;
}

.product .pack {
  height: auto;
  aspect-ratio: 1.2;
  overflow: hidden;
}

.product-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.sale-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  border-radius: 6px;
  background: #cf3d27;
  color: #fff;
  padding: 7px 8px;
  font-size: 13px;
  font-weight: 700;
}

.product h3 {
  min-height: 38px;
  margin-bottom: 10px;
}

.price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  min-height: 30px;
  margin-bottom: 16px;
}

.current-price {
  font-size: 21px;
  color: var(--green);
}

.old-price {
  font-size: 14px;
  color: var(--muted);
}

.catalog-count {
  font-size: 14px;
  color: var(--muted);
}

@media (max-width: 900px) {
  header nav {
    order: 3;
    width: 100%;
    padding-top: 10px;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 600px) {
  header nav {
    gap: 10px 18px;
    justify-content: space-between;
    font-size: 12px;
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ribbon {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .current-price {
    font-size: 18px;
  }

  .catalog-intro h1 {
    font-size: 36px;
  }
}
/* Nhãn ưu đãi nhỏ, không kế thừa kích thước biểu tượng cũ. */
.product .pack .sale-badge {
  font-size: 13px;
  line-height: 1.2;
  filter: none;
  max-width: calc(100% - 20px);
}

/* Giá sản phẩm: gọn và luôn cùng một hàng. */
.product .price-row {
  flex-wrap: nowrap;
  white-space: nowrap;
  gap: 7px;
  min-width: 0;
}

.product .current-price {
  font-size: clamp(12px, 3.3vw, 16px);
  line-height: 1.4;
  white-space: nowrap;
}

.product .old-price {
  font-size: clamp(9px, 2.5vw, 11px);
  line-height: 1.4;
  white-space: nowrap;
}
/* Điều chỉnh dành riêng cho WordPress. */
.skip-link {
  position: absolute;
  top: -100px;
  left: 10px;
  z-index: 99999;
  padding: 12px;
  background: white;
  color: #163c31;
}

.skip-link:focus {
  top: 10px;
}

.store-logo {
  max-width: 220px;
  max-height: 60px;
  width: auto;
  height: auto;
}

.primary-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.product .pack .product-image-link {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
}

.product h3 .product-title-link {
  display: inline;
  border: 0;
  padding: 0;
  font: inherit;
}

.image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-size: 14px;
  color: var(--muted);
}

.single-product-layout {
  display: grid;
  grid-template-columns: minmax(240px, 380px) 1fr;
  gap: 45px;
  margin-bottom: 50px;
}

.entry-content {
  line-height: 1.9;
  overflow-wrap: break-word;
}

.entry-content img {
  max-width: 100%;
  height: auto;
}

.entry-content h1 {
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.3;
}

.catalog-empty {
  grid-column: 1 / -1;
  padding: 25px 0;
  line-height: 1.8;
}

.navigation.pagination {
  display: block;
  margin-top: 30px;
}

.pagination .page-numbers {
  display: inline-block;
  padding: 8px 12px;
}

.pagination .current {
  background: var(--green);
  color: white;
  border-radius: 5px;
}

@media (max-width: 600px) {
  .single-product-layout {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}

/* Địa chỉ đã xác nhận, khớp với dữ liệu cấu trúc cửa hàng. */
.store-address {
  font-style: normal;
  font-size: 12px;
  line-height: 1.7;
  max-width: 320px;
}

/* Liên hệ nhanh: chỉ hiện trên mobile, luôn cố định theo khung nhìn. */
.mobile-quick-actions {
  display: none;
}

@media (max-width: 767px) {
  .mobile-quick-actions {
    position: fixed;
    right: calc(14px + env(safe-area-inset-right, 0px));
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .mobile-quick-action {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 9px;
    min-width: 124px;
    min-height: 48px;
    padding: 12px 16px;
    border: 1px solid transparent;
    border-radius: 28px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    box-shadow: 0 4px 18px #382b2726;
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-quick-action svg {
    flex: 0 0 22px;
  }

  .mobile-quick-action--map {
    background: #fff9ef;
    color: #9b351e;
    border-color: #e6c4ae;
  }

  .mobile-quick-action--phone {
    background: #ce492b;
    color: #fff;
  }

  .mobile-quick-action:active {
    transform: translateY(1px);
  }

  /* Có thể cuộn nội dung cuối trang lên khỏi vùng hai nút nổi. */
  footer {
    padding-bottom: calc(150px + env(safe-area-inset-bottom, 0px));
  }
}

/* Góc tiêu dùng: chỉ bổ sung style cho các phần mới, không sửa lưới sản phẩm. */
.content-breadcrumb {
  display: block;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.category-description,
.advice-intro > p {
  max-width: 960px;
  font-size: 14px;
  line-height: 1.9;
}

.advice-list-section,
.related-advice {
  padding: 45px 5% 55px;
}

.advice-grid {
  display: grid;
  gap: 18px;
}

.advice-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.advice-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.advice-card {
  min-width: 0;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}

.advice-card-image {
  display: block;
  aspect-ratio: 1.5;
  background: #fffaf2;
}

.advice-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.advice-card-content {
  padding: 18px;
}

.advice-card .eyebrow {
  margin-bottom: 10px;
  font-size: 10px;
  letter-spacing: 1px;
}

.advice-card h3 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
  margin: 0 0 14px;
}

.advice-excerpt {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: 18px;
}

.advice-topic-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 25px;
}

.advice-topic-links a {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 10px 16px;
  font-size: 13px;
}

.advice-topic-links a.is-current {
  background: var(--green);
  color: #fff;
}

.advice-single {
  max-width: 900px;
  margin: 0 auto;
  padding: 35px 5% 45px;
}

.advice-single h1 {
  font-size: clamp(29px, 4vw, 46px);
  letter-spacing: -1px;
  line-height: 1.35;
}

.advice-published {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}

.advice-featured {
  margin: 28px 0;
  padding: 20px;
  background: #fffaf2;
  border-radius: 12px;
}

.advice-featured img {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  display: block;
}

.advice-content h2 {
  margin: 30px 0 12px;
  font-size: 26px;
}

.advice-content h3 {
  font-size: 19px;
  margin: 20px 0 10px;
}

.advice-content a,
.product-description a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.single-product-info .primary,
.single-product-info .text-link {
  display: inline-flex;
  align-items: center;
  border-top: 0;
}

.single-product-info .primary {
  font-size: 14px;
  padding: 16px 22px;
}

@media (max-width: 900px) {
  .advice-grid--four,
  .advice-grid--three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .advice-grid--three {
    grid-template-columns: 1fr;
  }

  .advice-grid--four {
    gap: 10px;
  }

  .advice-card-content {
    padding: 12px;
  }

  .advice-card h3 {
    font-size: 13px;
  }

  .related-advice .section-head {
    align-items: flex-start;
  }
}

/* Khối bản đồ cửa hàng — không thay đổi các phần hiện có. */
.store-map {
  max-width: 1440px;
  margin: 0 auto;
  padding: 48px 5%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: 32px;
  align-items: center;
}

.store-map-copy h2 {
  font-size: clamp(25px, 3vw, 36px);
  line-height: 1.35;
}

.store-map-copy > p:not(.eyebrow) {
  font-size: 15px;
  line-height: 1.9;
  margin: 20px 0;
}

.store-map-copy .primary {
  display: inline-flex;
}

.store-map-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--cream);
}

.store-map-frame iframe {
  display: block;
  width: 100%;
  height: 400px;
  border: 0;
}

@media (max-width: 768px) {
  .store-map {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 5%;
  }

  .store-map-frame iframe {
    height: 320px;
  }
}

/* Ảnh minh họa biên tập theo chủ đề, không ảnh hưởng ảnh sản phẩm. */
.advice-card-image img {
  object-fit: cover;
}
