/* =====================================================================
   OreeFarm — làm đẹp các phần còn lại của trang (sau hero)
   Tông màu: xanh lá OreeFarm + vàng hoa hướng dương, phông Be Vietnam Pro.
   ===================================================================== */
:root {
  --oree-ink: #16201A;
  --oree-muted: #5E6B60;
  --oree-soft: #8A968C;
  --oree-green: #2F6B2E;
  --oree-green-dark: #1E4A22;
  --oree-green-tint: #EEF5EA;
  --oree-sun: #F2A900;
  --oree-line: #E5ECE1;
  --oree-card: #FFFFFF;
  --oree-bg: #FAFBF7;
  --oree-font: "Be Vietnam Pro", "Helvetica Neue", Arial, sans-serif;
}

/* ---------- chung: tiêu đề mỗi phần ---------- */
.section-title-container { margin-bottom: 10px !important; }
.section-title-container .section-title b { display: none !important; }           /* bỏ 2 vạch ngang hai bên */
.section-title-container .section-title-center { justify-content: center !important; text-align: center; }
.section-title-container .section-title-main {
  font-family: var(--oree-font) !important;
  font-size: clamp(28px, 3.2vw, 44px) !important;
  font-weight: 800 !important;
  letter-spacing: -0.025em !important;
  line-height: 1.1 !important;
  text-transform: none !important;
  color: var(--oree-ink) !important;
  padding: 0 !important;
}
.section-title-container + p {
  max-width: 60ch; margin: 0 auto 36px !important;
  font-size: 16px; line-height: 1.65; color: var(--oree-muted);
}

/* nút chung */
.home .button.primary, .home .button.is-outline {
  border-radius: 999px !important;
  font-family: var(--oree-font) !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  transition: background .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.home .button.primary:not(.is-outline) { background: var(--oree-green) !important; border-color: var(--oree-green) !important; color: #fff !important; }
.home .button.primary:not(.is-outline):hover { background: var(--oree-green-dark) !important; transform: translateY(-2px); box-shadow: 0 10px 22px -10px rgba(47,107,46,.6); }
.home .button.is-outline { color: var(--oree-green) !important; border: 1.5px solid var(--oree-green) !important; background: transparent !important; }
.home .button.is-outline:hover { background: var(--oree-green) !important; color: #fff !important; }

/* ---------- 1. Giới thiệu (section2) ---------- */
.home .section2 { padding-top: 56px !important; padding-bottom: 96px !important; }
.home .section2 .row { align-items: center; }
.home .section2 .img-inner { border-radius: 26px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(22,32,26,.45); }
.home .section2 .img-inner img { display: block; }
.home .section2 .thong-tin h3 {
  margin: 18px 0 0 !important; text-align: center;
  font: 600 12px/1.5 var(--oree-font) !important; letter-spacing: .16em !important;
  text-transform: uppercase; color: var(--oree-green) !important;
}
.home .ve-chung-toi > h2 img { max-width: 220px; height: auto; margin: 0 0 18px !important; }
.home .ve-chung-toi h5 {
  font-family: var(--oree-font) !important;
  font-size: clamp(22px, 2.2vw, 30px) !important;
  font-weight: 600 !important; line-height: 1.32 !important; letter-spacing: -0.015em !important;
  color: var(--oree-ink) !important; text-transform: none !important; margin-bottom: 22px !important;
}
.home .ve-chung-toi h5 span { color: inherit !important; }
.home .ve-chung-toi h5 .oree-w { transition: color .25s ease; }
.home .ve-chung-toi p { font-size: 16px !important; line-height: 1.75 !important; color: var(--oree-muted) !important; }
.home .section2 .xem-them, .home .section2 .nut-xem-them { min-height: 50px; display: inline-flex !important; align-items: center; gap: 8px; }

/* ---------- 2. Thẻ sản phẩm (trang chủ + cửa hàng) ---------- */
.product-small.box {
  background: var(--oree-card);
  border: 1px solid var(--oree-line);
  border-radius: 20px;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  height: 100%;
}
.product-small.box:hover { transform: translateY(-6px); border-color: transparent; box-shadow: 0 24px 44px -22px rgba(22,32,26,.35); }
.product-small .box-image { background: #F4F7F1; }
.product-small .box-image img { transition: transform .5s ease; }
.product-small.box:hover .box-image img { transform: scale(1.05); }
.product-small .box-text { padding: 16px 16px 20px !important; text-align: left !important; }
.product-small .product-cat {
  font-size: 11px !important; letter-spacing: .08em; color: var(--oree-soft) !important; opacity: 1 !important; margin-bottom: 6px !important;
}
.product-small .product-title, .product-small .product-title a {
  font-family: var(--oree-font) !important; font-size: 15px !important; font-weight: 600 !important; line-height: 1.4 !important;
  color: var(--oree-ink) !important;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-small .product-title a:hover { color: var(--oree-green) !important; }
.product-small .price-wrapper { margin-top: 8px; }
.product-small .price { display: flex !important; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.product-small .price ins, .product-small .price > .amount { order: 1; text-decoration: none; font-size: 18px; font-weight: 800; color: var(--oree-green) !important; }
.product-small .price del { order: 2; font-size: 13px; color: var(--oree-soft) !important; opacity: 1; }
.home .product-small .box-excerpt { display: none !important; }                 /* bỏ đoạn mô tả dài trong thẻ */
.badge-container { margin: 12px 0 0 12px !important; }
.badge-container .badge { height: auto !important; width: auto !important; }
.badge-container .badge-inner.on-sale {
  background: var(--oree-sun) !important; color: var(--oree-ink) !important;
  border-radius: 999px !important; padding: 5px 11px !important;
  font: 800 12px/1 var(--oree-font) !important; box-shadow: 0 6px 14px -6px rgba(242,169,0,.8);
}
.home .san-pham-section { padding-top: 72px !important; padding-bottom: 80px !important; background: var(--oree-bg); }
.home .san-pham-section .row-small > .col { padding-bottom: 22px !important; }

/* ---------- 3. Dải tư vấn (section3) ---------- */
.home .section3 { padding: 64px 0 !important; }
.home .section3 .section-bg { background: linear-gradient(120deg, var(--oree-green-dark), var(--oree-green) 60%, #4F8A3A) !important; }
.home .section3 .section-bg-overlay { background: radial-gradient(60% 120% at 90% 0%, rgba(242,169,0,.22), transparent 60%) !important; }
.home .section3 .row1 > .col:first-child .col-inner::before {
  content: "Cần tư vấn trồng hữu cơ?";
  display: block; margin-bottom: 14px;
  font: 800 clamp(26px, 2.6vw, 36px)/1.15 var(--oree-font); letter-spacing: -0.02em; color: #fff;
}
.home .section3 p, .home .section3 p span { font-size: 16px !important; line-height: 1.75 !important; color: rgba(255,255,255,.88) !important; }
.home .section3 input[type="tel"] {
  height: 56px !important; border-radius: 999px !important; border: 0 !important; padding: 0 22px !important;
  font: 500 16px var(--oree-font) !important; box-shadow: 0 10px 30px -14px rgba(0,0,0,.45) !important; background: #fff !important;
}
/* Flatsome's dark form style makes the field see-through green; force a solid white field */
body.home .section3.dark .wpcf7 input[type="tel"],
body.home .section3.dark .wpcf7 input[type="tel"]:focus,
body.home .section3.dark .form-flat input[type="tel"].wpcf7-form-control {
  background: #FFFFFF !important; background-color: #FFFFFF !important;
  color: var(--oree-ink) !important; -webkit-text-fill-color: var(--oree-ink);
  border: 2px solid transparent !important; box-shadow: 0 10px 30px -14px rgba(0,0,0,.45) !important;
}
body.home .section3.dark .wpcf7 input[type="tel"]:focus { border-color: var(--oree-sun) !important; outline: none; }
body.home .section3.dark .wpcf7 input[type="tel"]::placeholder { color: #6B776D !important; -webkit-text-fill-color: #6B776D; opacity: 1 !important; }
@media (max-width: 849px) { .home .section3 { padding: 48px 0 !important; } .home .section3 .wpcf7 p { margin-bottom: 10px !important; } }
.home .section3 .wpcf7-submit {
  height: 56px !important; min-width: 120px; border-radius: 999px !important; border: 0 !important;
  background: var(--oree-sun) !important; color: var(--oree-ink) !important;
  font: 800 16px var(--oree-font) !important; text-transform: none !important; letter-spacing: 0 !important;
  transition: transform .2s ease, filter .2s ease;
}
.home .section3 .wpcf7-submit:hover { transform: translateY(-2px); filter: brightness(1.05); }
.home .section3 .gap-element { display: none !important; }
.home .section3 .row1 { align-items: center !important; }

/* ---------- 4. 4 lĩnh vực (section1) ---------- */
.home .section1 { padding: 80px 0 !important; }
.home .section1 .icon-box {
  height: 100%; padding: 26px 18px 24px; border-radius: 22px; background: var(--oree-card);
  border: 1px solid var(--oree-line); transition: transform .3s ease, box-shadow .3s ease;
}
.home .section1 .icon-box:hover { transform: translateY(-6px); box-shadow: 0 24px 44px -24px rgba(22,32,26,.35); }
.home .section1 .icon-box-img { width: 140px !important; margin: 0 auto 18px !important; }
.home .section1 .icon-box-img img { width: 140px; height: 140px; object-fit: cover; border-radius: 22px; }
.home .section1 .icon-box-text h3 {
  font: 700 17px/1.4 var(--oree-font) !important; color: var(--oree-ink) !important; text-transform: none !important; letter-spacing: -0.01em;
}
.home .section1 .icon-box-text h3 span { color: inherit !important; font-size: inherit !important; }

/* ---------- 5. Bài viết – tin tức ---------- */
.home .tin-tuc-section { padding: 80px 0 !important; background: var(--oree-bg); }
.home .tin-tuc-section .box-blog-post {
  height: 100%; background: var(--oree-card); border: 1px solid var(--oree-line); border-radius: 20px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.home .tin-tuc-section .box-blog-post:hover { transform: translateY(-5px); box-shadow: 0 22px 40px -24px rgba(22,32,26,.35); }
.home .tin-tuc-section .box-text { padding: 26px 24px 28px !important; text-align: left !important; }
.home .tin-tuc-section .post-title {
  font: 700 18px/1.35 var(--oree-font) !important; color: var(--oree-ink) !important;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.home .tin-tuc-section .box-blog-post:hover .post-title { color: var(--oree-green) !important; }
.home .tin-tuc-section .is-divider { margin: 14px 0 !important; height: 3px !important; width: 36px !important; max-width: 36px; background: var(--oree-sun) !important; border-radius: 3px; }
.home .tin-tuc-section .from_the_blog_excerpt {
  font-size: 14px !important; line-height: 1.65 !important; color: var(--oree-muted) !important;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.home .tin-tuc-section .flickity-prev-next-button {
  width: 46px !important; height: 46px !important; border-radius: 50% !important;
  background: #fff !important; box-shadow: 0 8px 20px -10px rgba(22,32,26,.45) !important; opacity: 1 !important; color: var(--oree-ink) !important;
}
.home .tin-tuc-section .flickity-prev-next-button svg { padding: 12px; }

/* ---------- 6. Hình ảnh đẹp (gallery) ---------- */
.section9 { padding: 80px 0 !important; }
.section9 .tabbed-content .nav { gap: 10px; margin-bottom: 26px !important; flex-wrap: wrap; }
.section9 .tabbed-content .nav > li { margin: 0 !important; }
.section9 .tabbed-content .nav > li > a {
  padding: 9px 20px !important; border-radius: 999px !important; border: 1px solid var(--oree-line) !important;
  font: 600 14px var(--oree-font) !important; color: var(--oree-muted) !important; text-transform: none !important; letter-spacing: 0 !important;
  transition: all .2s ease;
}
.section9 .tabbed-content .nav > li > a:hover { border-color: var(--oree-green) !important; color: var(--oree-green) !important; }
.section9 .tabbed-content .nav > li.active > a { background: var(--oree-green) !important; border-color: var(--oree-green) !important; color: #fff !important; }
.section9 .tabbed-content .nav > li > a::before, .section9 .tabbed-content .nav > li > a::after { display: none !important; }
.section9 .gallery-box .box-image { border-radius: 16px; overflow: hidden; }
.section9 .gallery-col:nth-child(4n+2) .gallery-box, .section9 .gallery-col:nth-child(4n+4) .gallery-box { transform: translateY(18px); }   /* lưới so le nhẹ */
@media (max-width: 849px) {
  .section9 .gallery-col .gallery-box { transform: none !important; }
}

/* ---------- 7. Footer ---------- */
.footer-2 .section-bg { background: #13261A !important; }
.footer-2 .section-bg-overlay { background: radial-gradient(70% 90% at 100% 0%, rgba(47,107,46,.45), transparent 60%) !important; }
.footer-2, .footer-2 p { font-family: var(--oree-font) !important; color: rgba(255,255,255,.72) !important; font-size: 14px !important; line-height: 1.8 !important; }
.footer-2 h3 { font: 700 14px/1.4 var(--oree-font) !important; letter-spacing: .12em !important; text-transform: uppercase; color: #fff !important; margin-bottom: 14px !important; }
.footer-2 h3.h1-dn span { font-size: 15px !important; letter-spacing: .04em; }
.footer-2 ul { margin: 0 0 18px !important; }
.footer-2 ul li { list-style: none !important; margin: 0 0 6px !important; }
.footer-2 ul li span { color: rgba(255,255,255,.72) !important; font-size: 14px !important; }
.footer-2 ul li a:hover span, .footer-2 ul li a:hover { color: var(--oree-sun) !important; }
.footer-2 iframe { width: 100% !important; height: 240px !important; border-radius: 18px; filter: saturate(.8); }
.footer-2 .button.is-outline { border-radius: 999px !important; color: #fff !important; border-color: rgba(255,255,255,.5) !important; text-transform: none !important; }
.footer-2 .button.is-outline:hover { background: var(--oree-sun) !important; border-color: var(--oree-sun) !important; color: var(--oree-ink) !important; }
.absolute-footer.dark { background: #0D1B12 !important; color: rgba(255,255,255,.5) !important; font-size: 13px; padding: 16px 0 !important; }

/* ---------- hiện dần khi cuộn (chỉ khi JS chạy) ---------- */
html.oree-js .oree-rv { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
html.oree-js .oree-rv.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html.oree-js .oree-rv { opacity: 1; transform: none; transition: none; } }

/* =====================================================================
   CÁC TRANG CON — banner tiêu đề, chữ dễ đọc, cột bên, thẻ, form
   ===================================================================== */

/* ---------- banner tiêu đề (trang, bài viết, danh sách tin) ---------- */
body:not(.home) .page-wrapper { padding-top: 28px; }
.page-wrapper .entry-header,
.blog-archive .archive-page-header {
  position: relative; overflow: hidden;
  border-radius: 26px;
  margin: 0 0 44px !important;
  padding: clamp(36px, 6vw, 76px) clamp(24px, 4vw, 56px) !important;
  background:
    linear-gradient(90deg, rgba(251,247,238,.98) 0%, rgba(251,247,238,.9) 40%, rgba(251,247,238,.15) 72%, rgba(251,247,238,0) 100%),
    url("frames/d/f120.jpg") 88% 38% / cover no-repeat, #F6E7CF;
}
.blog-archive .archive-page-header { max-width: 1230px; margin: 28px auto 44px !important; }
.blog-archive .archive-page-header .row, .blog-archive .archive-page-header .col { padding: 0 !important; margin: 0 !important; text-align: left !important; max-width: none; }
.page-wrapper .entry-header::before,
.blog-archive .archive-page-header::before {
  content: "OREEFARM"; display: block; margin-bottom: 12px;
  font: 700 12px/1 var(--oree-font); letter-spacing: .22em; color: var(--oree-green);
}
.blog-single .entry-header::before { content: "Kiến thức nhà nông"; letter-spacing: .14em; text-transform: uppercase; }
.page-wrapper .entry-header .entry-title,
.blog-archive .archive-page-header .page-title {
  margin: 0 !important; max-width: 16ch;
  font: 900 clamp(32px, 4.4vw, 56px)/1.05 var(--oree-font) !important;
  letter-spacing: -0.03em !important; text-transform: none !important; color: var(--oree-ink) !important;
}
.blog-single .entry-header .entry-title { max-width: 22ch; font-size: clamp(28px, 3.4vw, 44px) !important; }
.blog-single .entry-header-text { padding: 0 !important; background: none !important; }
.page-wrapper .entry-header .is-divider, .blog-single .entry-divider { display: none !important; }
@media (max-width: 849px) {
  .page-wrapper .entry-header, .blog-archive .archive-page-header {
    border-radius: 20px; margin-bottom: 28px !important;
    background:
      linear-gradient(180deg, rgba(251,247,238,.96) 0%, rgba(251,247,238,.88) 55%, rgba(251,247,238,.35) 100%),
      url("frames/m/f120.jpg") 50% 30% / cover no-repeat, #F6E7CF;
  }
  .blog-archive .archive-page-header { margin: 16px 12px 28px !important; }
}

/* ---------- nội dung chữ ---------- */
.page-inner, .page-wrapper .row-main .col-inner, .blog-single .entry-content { font-family: var(--oree-font); }
.page-inner > p, .page-wrapper .row-main .col-inner > p, .blog-single .entry-content p, .blog-single .entry-content div {
  font-size: 17px; line-height: 1.85; color: #3B463D;
}
.page-inner strong, .page-wrapper .row-main .col-inner strong, .blog-single .entry-content strong { color: var(--oree-ink); }
.page-inner h2, .page-inner h3, .page-wrapper .row-main .col-inner > h2, .page-wrapper .row-main .col-inner > h3, .blog-single .entry-content h2, .blog-single .entry-content h3 {
  margin: 40px 0 14px !important; padding-left: 16px; border-left: 4px solid var(--oree-sun);
  font: 800 clamp(21px, 2vw, 26px)/1.3 var(--oree-font) !important; letter-spacing: -0.015em; color: var(--oree-ink) !important; text-transform: none !important;
}
/* trang không có cột bên: giữ dòng chữ vừa mắt */
.page-template-default:not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) .row-main .col-inner > :not(.entry-header):not(.woocommerce):not(.row):not(.section) {
  max-width: 820px; margin-left: auto; margin-right: auto;
}
.page-inner img, .page-wrapper .row-main .col-inner img, .blog-single .entry-content img { border-radius: 18px; }
.page-inner .img-contact .img-inner { border-radius: 22px; overflow: hidden; box-shadow: 0 26px 50px -30px rgba(22,32,26,.5); }
.page-inner hr.oree-sep { border: 0; height: 1px; background: var(--oree-line); margin: 36px 0; }

/* nhãn tiêu đề nhỏ (vd. "TẦM NHÌN – VISION") do JS gắn class */
p.oree-kicker { margin: 36px 0 10px !important; }
p.oree-kicker strong { font: 800 13px/1.4 var(--oree-font) !important; letter-spacing: .14em; color: var(--oree-green) !important; }

/* danh sách có dấu tích (JS đổi các dòng "• ...") */
ul.oree-list { list-style: none !important; margin: 8px 0 24px !important; padding: 0 !important; display: grid; gap: 12px; }
ul.oree-list li {
  position: relative; margin: 0 !important; padding: 14px 18px 14px 52px; border-radius: 14px;
  background: var(--oree-green-tint); color: var(--oree-ink); font-size: 16px; line-height: 1.6;
}
ul.oree-list li::before {
  content: ""; position: absolute; left: 16px; top: 16px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--oree-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L19 7'/%3E%3C/svg%3E") center/13px no-repeat;
}

/* thẻ đánh số (JS đổi các dòng "1. ...", "2. ...") */
.oree-steps { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; margin: 10px 0 32px; }
.oree-step {
  position: relative; padding: 24px 22px 22px; border-radius: 20px; background: #fff; border: 1px solid var(--oree-line);
  transition: transform .3s ease, box-shadow .3s ease;
}
.oree-step:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -24px rgba(22,32,26,.35); }
.oree-step .n {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; margin-bottom: 14px;
  background: var(--oree-sun); color: var(--oree-ink); font: 800 18px var(--oree-font);
}
.oree-step h4 { margin: 0 0 6px !important; font: 800 18px/1.3 var(--oree-font) !important; color: var(--oree-ink) !important; text-transform: none !important; }
.oree-step p { margin: 0 !important; font-size: 15px !important; line-height: 1.65 !important; color: var(--oree-muted) !important; }

/* ---------- cột bên (bài viết mới, sản phẩm mới) ---------- */
.col-divided { border-right: 0 !important; }
#secondary .widget, .shop-sidebar .widget, #product-sidebar .widget {
  padding: 22px 20px !important; margin-bottom: 22px !important;
  background: #fff; border: 1px solid var(--oree-line); border-radius: 20px;
}
.widget .widget-title, .widget-title.shop-sidebar {
  display: block; font: 800 16px/1.3 var(--oree-font) !important; letter-spacing: -0.01em !important; text-transform: none !important; color: var(--oree-ink) !important;
}
.widget .is-divider { height: 3px !important; width: 30px !important; max-width: 30px !important; background: var(--oree-sun) !important; border-radius: 3px; margin: 10px 0 14px !important; }
.recent-blog-posts { padding: 10px 0 !important; border-bottom: 1px solid var(--oree-line); }
.recent-blog-posts-li:last-child .recent-blog-posts { border-bottom: 0; }
.recent-blog-posts a { font: 600 14px/1.45 var(--oree-font) !important; color: var(--oree-ink) !important; }
.recent-blog-posts a:hover { color: var(--oree-green) !important; }
.recent-blog-posts .post-date .badge-inner { border-radius: 12px !important; border: 1.5px solid var(--oree-green) !important; color: var(--oree-green) !important; background-size: cover; }
.recent-blog-posts .post-date { width: 46px !important; height: 46px !important; }
.product_list_widget li { padding-top: 10px !important; padding-bottom: 10px !important; border-bottom: 1px solid var(--oree-line); }
.product_list_widget li:last-child { border-bottom: 0; }
.product_list_widget li img { border-radius: 10px; }
.product_list_widget .product-title { font: 600 14px/1.45 var(--oree-font) !important; color: var(--oree-ink) !important; }
.product_list_widget ins, .product_list_widget > li > .amount { color: var(--oree-green); font-weight: 800; text-decoration: none; }

/* ---------- thẻ bài viết (trang tin tức + trang chủ) ---------- */
.box-blog-post {
  height: 100%; overflow: hidden; background: #fff; border: 1px solid var(--oree-line); border-radius: 20px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.box-blog-post:hover { transform: translateY(-5px); box-shadow: 0 22px 40px -24px rgba(22,32,26,.35); }
.box-blog-post .box-image img { transition: transform .5s ease; }
.box-blog-post:hover .box-image img { transform: scale(1.05); }
.box-blog-post .box-text { padding: 22px 22px 26px !important; text-align: left !important; }
.box-blog-post .post-title { font: 700 18px/1.35 var(--oree-font) !important; color: var(--oree-ink) !important;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.box-blog-post:hover .post-title { color: var(--oree-green) !important; }
.box-blog-post .is-divider { margin: 12px 0 !important; height: 3px !important; width: 32px !important; max-width: 32px !important; background: var(--oree-sun) !important; border-radius: 3px; }
.box-blog-post .from_the_blog_excerpt { font-size: 14px !important; line-height: 1.65 !important; color: var(--oree-muted) !important;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-archive .post-item { padding-bottom: 24px !important; }
.page-numbers.nav-pagination li a, .page-numbers.nav-pagination li span { border-radius: 999px !important; font-family: var(--oree-font); font-weight: 700; }
.page-numbers.nav-pagination li .current { background: var(--oree-green) !important; border-color: var(--oree-green) !important; color: #fff !important; }

/* ---------- cửa hàng: tiêu đề, sắp xếp, nút ---------- */
.shop-page-title .page-title-inner { padding-top: 28px !important; padding-bottom: 14px !important; }
.shop-page-title h1.shop-page-title, .shop-page-title .page-title-inner h1 {
  font: 900 clamp(30px, 3.6vw, 46px)/1.1 var(--oree-font) !important; letter-spacing: -0.03em !important; text-transform: none !important; color: var(--oree-ink) !important;
}
.woocommerce-breadcrumb, .breadcrumbs { font: 500 13px var(--oree-font) !important; color: var(--oree-soft) !important; text-transform: none !important; letter-spacing: 0 !important; }
.breadcrumbs a { color: var(--oree-muted) !important; }
.woocommerce-ordering select, select.orderby {
  border-radius: 999px !important; border: 1px solid var(--oree-line) !important; padding: 0 38px 0 18px !important; height: 44px !important;
  font: 500 14px var(--oree-font) !important; background-color: #fff !important; box-shadow: none !important;
}
.products .box-excerpt { display: none !important; }                                   /* bỏ mô tả dài trên lưới sản phẩm */
.product-small .add-to-cart-button a, .product-small a.add_to_cart_button, .product-small .button.product_type_simple {
  border-radius: 999px !important; text-transform: none !important; letter-spacing: 0 !important;
  font: 700 13px var(--oree-font) !important; background: var(--oree-green) !important; color: #fff !important; border: 0 !important;
}

/* ---------- trang chi tiết sản phẩm ---------- */
.single-product .product-info .product-title { font: 800 clamp(24px, 2.6vw, 34px)/1.25 var(--oree-font) !important; letter-spacing: -0.02em; color: var(--oree-ink) !important; text-transform: none !important; }
.single-product .product-info .is-divider { background: var(--oree-sun) !important; height: 3px !important; width: 36px !important; max-width: 36px !important; border-radius: 3px; }
.single-product .product-info .price { font-family: var(--oree-font) !important; }
.single-product .product-info .price ins, .single-product .product-info .price > .amount { color: var(--oree-green) !important; font-weight: 900; font-size: 30px; text-decoration: none; }
.single-product .product-info .price del { color: var(--oree-soft) !important; font-size: 18px; }
.single-product .product-short-description, .single-product .product-short-description p { font-size: 16px; line-height: 1.75; color: #3B463D; }
.single-product .product-gallery .woocommerce-product-gallery__image img, .single-product .product-thumbnails img { border-radius: 18px; }
.single-product .product-thumbnails .col img { border: 1px solid var(--oree-line); }
.single-product form.cart .quantity input, .single-product form.cart .quantity .button { height: 50px !important; }
.single-product form.cart .quantity { border-radius: 999px; overflow: hidden; border: 1px solid var(--oree-line); }
.single-product form.cart .quantity input, .single-product form.cart .quantity .button { border: 0 !important; background: #fff !important; box-shadow: none !important; }
.single-product .single_add_to_cart_button {
  height: 50px !important; padding: 0 30px !important; border-radius: 999px !important;
  background: var(--oree-green) !important; color: #fff !important; font: 800 15px var(--oree-font) !important; text-transform: none !important; letter-spacing: 0 !important;
  transition: transform .2s ease, box-shadow .2s ease;
}
.single-product .single_add_to_cart_button:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(47,107,46,.7); background: var(--oree-green-dark) !important; }
.woocommerce-tabs .tabs { border: 0 !important; gap: 8px; display: flex !important; flex-wrap: wrap; margin-bottom: 18px !important; }
.woocommerce-tabs .tabs li { margin: 0 !important; border: 0 !important; }
.woocommerce-tabs .tabs li a {
  border-radius: 999px !important; padding: 10px 22px !important; border: 1px solid var(--oree-line) !important; background: #fff !important;
  font: 700 14px var(--oree-font) !important; text-transform: none !important; letter-spacing: 0 !important; color: var(--oree-muted) !important;
}
.woocommerce-tabs .tabs li.active a { background: var(--oree-green) !important; border-color: var(--oree-green) !important; color: #fff !important; }
.woocommerce-tabs .tabs li::before, .woocommerce-tabs .tabs li::after, .woocommerce-tabs .tabs li a::before { display: none !important; }
.woocommerce-tabs .tab-panels { padding: 28px clamp(18px, 3vw, 36px) !important; border-radius: 22px; background: #fff; border: 1px solid var(--oree-line); }
.woocommerce-tabs .tab-panels, .woocommerce-tabs .tab-panels p, .woocommerce-tabs .tab-panels li { font-size: 16px; line-height: 1.8; color: #3B463D; font-family: var(--oree-font); }
.woocommerce-tabs .tab-panels h2, .woocommerce-tabs .tab-panels h3 { font: 800 20px/1.3 var(--oree-font) !important; color: var(--oree-ink) !important; padding-left: 14px; border-left: 4px solid var(--oree-sun); margin: 28px 0 10px !important; }
.related .product-section-title, .related h3 { font: 800 26px var(--oree-font) !important; text-transform: none !important; letter-spacing: -0.02em; color: var(--oree-ink) !important; }

/* ---------- form: đăng ký đại lý, liên hệ, tài khoản, giỏ hàng, thanh toán ---------- */
body:not(.home) .wpcf7 input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
body:not(.home) .wpcf7 textarea, body:not(.home) .wpcf7 select,
.woocommerce form .input-text, .woocommerce form select, .woocommerce-account input.input-text, .woocommerce-checkout input.input-text {
  min-height: 50px; border-radius: 14px !important; border: 1px solid #DCE5D7 !important; background: #FAFBF7 !important;
  padding: 0 16px !important; box-shadow: none !important; font: 500 15px var(--oree-font) !important; color: var(--oree-ink) !important;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
body:not(.home) .wpcf7 textarea, .woocommerce form textarea.input-text { padding: 14px 16px !important; min-height: 130px; }
body:not(.home) .wpcf7 input:focus, body:not(.home) .wpcf7 textarea:focus, .woocommerce form .input-text:focus {
  border-color: var(--oree-green) !important; background: #fff !important; box-shadow: 0 0 0 4px rgba(47,107,46,.12) !important; outline: none;
}
body:not(.home) .wpcf7 label, .woocommerce form label { font: 600 14px var(--oree-font) !important; color: var(--oree-ink) !important; }
body:not(.home) .wpcf7-submit, .woocommerce .button, .woocommerce button.button, .woocommerce-page .button.primary, .return-to-shop .button {
  border-radius: 999px !important; min-height: 48px; padding: 0 28px !important;
  font: 700 15px var(--oree-font) !important; text-transform: none !important; letter-spacing: 0 !important;
}
body:not(.home) .wpcf7-submit, .woocommerce .button.alt, .woocommerce button.button.alt, .return-to-shop .button, .woocommerce-form-login .button {
  background: var(--oree-green) !important; border-color: var(--oree-green) !important; color: #fff !important;
}
.woocommerce-account .account-container, .woocommerce-cart .wc-empty-cart-message, .woocommerce-cart .return-to-shop {
  max-width: 560px; margin-left: auto !important; margin-right: auto !important;
}
.woocommerce-account .account-login-inner, .woocommerce-account .account-register-inner {
  padding: 32px clamp(20px, 4vw, 40px); border-radius: 24px; background: #fff; border: 1px solid var(--oree-line);
}
.woocommerce-account .account-login-inner h3, .woocommerce-account .account-register-inner h3 { font: 800 22px var(--oree-font) !important; text-transform: none !important; color: var(--oree-ink) !important; }
.woocommerce-cart .wc-empty-cart-message .message-container { font: 500 17px var(--oree-font); color: var(--oree-muted); padding: 28px 0 8px !important; }
.woocommerce-cart table.shop_table, .woocommerce-checkout .shop_table { border-radius: 18px; overflow: hidden; border: 1px solid var(--oree-line) !important; }
.woocommerce-cart .cart_totals, .woocommerce-checkout #order_review { border-radius: 20px; padding: 22px !important; background: #fff; border: 1px solid var(--oree-line); }

/* ---------- trang liên hệ ---------- */
.contact-section .icon-box {
  height: 100%; padding: 30px 20px 24px; border-radius: 22px; background: #fff; border: 1px solid var(--oree-line);
  transition: transform .3s ease, box-shadow .3s ease;
}
.contact-section .icon-box:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -24px rgba(22,32,26,.35); }
.contact-section .icon-box-img { width: 64px !important; height: 64px; margin: 0 auto 16px !important; display: grid; place-items: center; border-radius: 18px; background: var(--oree-green-tint); }
.contact-section .icon-box-img img { width: 34px; height: 34px; }
.contact-section .icon-box-text h3 { font: 800 18px var(--oree-font) !important; color: var(--oree-ink) !important; text-transform: none !important; }
.contact-section .icon-box-text p, .contact-section .icon-box-text a { font: 600 15px/1.6 var(--oree-font) !important; color: var(--oree-green) !important; }
.contact-section iframe { width: 100% !important; border-radius: 22px; min-height: 380px; }

/* banner tự thêm cho trang không có tiêu đề (vd. Liên hệ) */
.oree-auto-header {
  position: relative; overflow: hidden; max-width: 1230px; margin: 28px auto 36px; border-radius: 26px;
  padding: clamp(36px, 6vw, 76px) clamp(24px, 4vw, 56px);
  background:
    linear-gradient(90deg, rgba(251,247,238,.98) 0%, rgba(251,247,238,.9) 40%, rgba(251,247,238,.15) 72%, rgba(251,247,238,0) 100%),
    url("frames/d/f120.jpg") 88% 38% / cover no-repeat, #F6E7CF;
}
.oree-auto-header::before { content: "OREEFARM"; display: block; margin-bottom: 12px; font: 700 12px/1 var(--oree-font); letter-spacing: .22em; color: var(--oree-green); }
.oree-auto-header .entry-title { margin: 0 !important; font: 900 clamp(32px, 4.4vw, 56px)/1.05 var(--oree-font) !important; letter-spacing: -0.03em; color: var(--oree-ink) !important; text-transform: none !important; }
@media (max-width: 849px) {
  .oree-auto-header { margin: 16px 12px 24px; border-radius: 20px;
    background: linear-gradient(180deg, rgba(251,247,238,.96) 0%, rgba(251,247,238,.88) 55%, rgba(251,247,238,.35) 100%), url("frames/m/f120.jpg") 50% 30% / cover no-repeat, #F6E7CF; }
}

/* =====================================================================
   HỎI – ĐÁP (accordion Flatsome)
   ===================================================================== */
.oree-faq-intro { font-size: 18px !important; line-height: 1.75 !important; color: var(--oree-muted) !important; }
.page-wrapper .accordion { margin: 6px auto 28px !important; display: grid; gap: 12px; }
.page-wrapper .accordion-item { background: #fff; border: 1px solid var(--oree-line) !important; border-radius: 18px; overflow: hidden; transition: box-shadow .25s ease, border-color .25s ease; }
.page-wrapper .accordion-item:hover { box-shadow: 0 16px 34px -24px rgba(22,32,26,.4); }
.page-wrapper .accordion-title {
  position: relative; display: flex !important; align-items: center; gap: 12px;
  padding: 18px 60px 18px 22px !important; border: 0 !important;
  font: 700 17px/1.4 var(--oree-font) !important; color: var(--oree-ink) !important; text-transform: none !important;
}
.page-wrapper .accordion-title:hover { color: var(--oree-green) !important; }
.page-wrapper .accordion-title .toggle {
  position: absolute !important; right: 16px; left: auto !important; top: 50% !important; transform: translateY(-50%); margin: 0 !important;
  width: 32px; height: 32px; border-radius: 50%; background: var(--oree-green-tint); color: var(--oree-green); opacity: 1 !important;
  display: grid; place-items: center; transition: background .2s ease, color .2s ease;
}
.page-wrapper .accordion-title .toggle i { transition: transform .3s ease; }
.page-wrapper .accordion-title.active { color: var(--oree-green) !important; }
.page-wrapper .accordion-title.active .toggle { background: var(--oree-green); color: #fff; }
.page-wrapper .accordion-title.active .toggle i { transform: rotate(180deg); }
.page-wrapper .accordion-inner { padding: 0 22px 20px !important; font-size: 16px; line-height: 1.8; color: #3B463D; }
.page-wrapper .accordion-inner a { color: var(--oree-green); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.page-wrapper .accordion-inner ul { margin: 8px 0 8px 20px; }
.page-wrapper .accordion-inner li { margin-bottom: 6px; }

/* =====================================================================
   ĐÁNH GIÁ KHÁCH HÀNG — [oreefarm_reviews]
   ===================================================================== */
.oree-reviews { font-family: var(--oree-font); padding: 24px 0; }
.oree-reviews-head { text-align: center; margin-bottom: 30px; }
.oree-reviews-kicker { margin: 0 0 8px !important; font: 700 12px/1 var(--oree-font) !important; letter-spacing: .2em; color: var(--oree-green) !important; }
.oree-reviews-title { margin: 0 !important; font: 800 clamp(28px, 3.2vw, 44px)/1.1 var(--oree-font) !important; letter-spacing: -0.025em !important; color: var(--oree-ink) !important; text-transform: none !important; }
.oree-reviews-score { margin: 12px 0 0 !important; color: var(--oree-muted) !important; font-size: 15px; }
.oree-reviews-score b { color: var(--oree-ink); }
.oree-stars { display: inline-flex; gap: 2px; font-size: 18px; line-height: 1; vertical-align: -2px; }
.oree-stars i { font-style: normal; color: #E3E6E0; }
.oree-stars i.on { color: var(--oree-sun); }
.oree-review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.oree-review {
  margin: 0; padding: 24px 24px 20px; border-radius: 22px; background: #fff; border: 1px solid var(--oree-line);
  display: flex; flex-direction: column; gap: 14px; transition: transform .3s ease, box-shadow .3s ease;
}
.oree-review:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -24px rgba(22,32,26,.35); }
.oree-review blockquote { margin: 0 !important; padding: 0 !important; border: 0 !important; font: 500 16px/1.7 var(--oree-font) !important; color: #2C352E !important; font-style: normal !important; }
.oree-review blockquote::before { content: "“"; display: block; height: 22px; font: 900 48px/1 Georgia, serif; color: var(--oree-sun); }
.oree-review figcaption { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 13px; color: var(--oree-soft); }
.oree-review .who { font-weight: 800; font-size: 15px; color: var(--oree-ink); }
.oree-review .verified { padding: 3px 9px; border-radius: 999px; background: var(--oree-green-tint); color: var(--oree-green); font-weight: 700; font-size: 12px; }
.oree-review .what { flex-basis: 100%; color: var(--oree-green) !important; font-weight: 600; }
.oree-review time { margin-left: auto; }
.oree-review-empty {
  max-width: 620px; margin: 0 auto; padding: 30px 28px; text-align: center; border-radius: 22px;
  background: var(--oree-green-tint); border: 1px dashed rgba(47,107,46,.35);
}
.oree-review-empty p { margin: 0 0 16px !important; font-size: 16px; line-height: 1.7; color: var(--oree-ink) !important; }
.oree-review-cta { display: inline-flex; align-items: center; padding: 12px 22px; border-radius: 999px; background: var(--oree-green); color: #fff !important; font-weight: 700; text-decoration: none; }
.oree-review-cta:hover { background: var(--oree-green-dark); }

/* =====================================================================
   FORM ĐÁNH GIÁ TRÊN TRANG SẢN PHẨM
   ===================================================================== */
.single-product #reviews { font-family: var(--oree-font); }
.single-product #reviews .woocommerce-Reviews-title, .single-product #reply-title {
  font: 800 22px/1.3 var(--oree-font) !important; color: var(--oree-ink) !important; text-transform: none !important; letter-spacing: -0.01em !important;
}
.single-product #reviews .commentlist .comment_container, .single-product #reviews .commentlist li .comment-inner {
  padding: 18px 20px !important; border-radius: 18px; background: #FAFBF7; border: 1px solid var(--oree-line);
}
.single-product #reviews .star-rating span::before, .single-product #reviews .stars a { color: var(--oree-sun) !important; }
.single-product #review_form_wrapper { padding: 24px clamp(18px, 3vw, 32px); border-radius: 22px; background: #FAFBF7; border: 1px solid var(--oree-line); }
.single-product #review_form input[type="text"], .single-product #review_form input[type="email"], .single-product #review_form textarea {
  border-radius: 14px !important; border: 1px solid #DCE5D7 !important; background: #fff !important; box-shadow: none !important; font: 500 15px var(--oree-font) !important;
}
.single-product #review_form input[type="text"], .single-product #review_form input[type="email"] { min-height: 48px; padding: 0 14px !important; }
.single-product #review_form textarea { padding: 12px 14px !important; min-height: 130px; }
.single-product #review_form input:focus, .single-product #review_form textarea:focus { border-color: var(--oree-green) !important; box-shadow: 0 0 0 4px rgba(47,107,46,.12) !important; outline: none; }
.single-product #review_form .stars a { font-size: 22px; }
.single-product #review_form .form-submit .submit {
  border-radius: 999px !important; min-height: 48px; padding: 0 28px !important; background: var(--oree-green) !important; color: #fff !important;
  font: 700 15px var(--oree-font) !important; text-transform: none !important; letter-spacing: 0 !important;
}
.product-small .star-rating { margin: 4px 0 2px !important; font-size: 13px; }
.product-small .star-rating span::before { color: var(--oree-sun) !important; }

/* xem trước bố cục đánh giá — chỉ quản trị viên thấy */
.oree-preview-note { margin: 0 auto 18px !important; max-width: 640px; padding: 8px 14px; border-radius: 999px; background: #16201A; color: #fff !important; text-align: center; font: 600 12px/1.5 var(--oree-font) !important; }

/* =====================================================================
   SỬA: nút tròn (chia sẻ, phóng to ảnh) bị kéo thành viên thuốc
   ===================================================================== */
.social-icons .button.icon, .social-icons a.icon.button,
.image-tools .button.circle, .zoom-button.button {
  min-height: 0 !important; padding: 0 !important; margin: 0 !important;
  width: 42px !important; height: 42px !important; line-height: 1 !important;
  border-radius: 50% !important; display: inline-grid !important; place-items: center;
}
.social-icons .button.icon i, .image-tools .button.circle i, .zoom-button i { margin: 0 !important; font-size: 17px; line-height: 1; }
.zoom-button.button { background: rgba(255,255,255,.92) !important; border: 1px solid var(--oree-line) !important; color: var(--oree-ink) !important; box-shadow: 0 6px 16px -8px rgba(0,0,0,.35); }

/* chia sẻ: chỉ Facebook + Zalo + Messenger */
.social-icons.share-icons a.button.twitter, .social-icons.share-icons a.button.email, .social-icons.share-icons a.button.pinterest,
.social-icons.share-icons a.button.linkedin, .social-icons.share-icons a.button.whatsapp, .social-icons.share-icons a.button.tumblr,
.social-icons.share-icons a.button.telegram, .social-icons.share-icons a.button.vk { display: none !important; }
.share-icons { display: flex !important; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.share-icons::before { content: "Chia sẻ:"; font: 600 14px var(--oree-font); color: var(--oree-muted); margin-right: 2px; }
.share-icons .button.icon { border: 0 !important; color: #fff !important; transition: transform .2s ease, box-shadow .2s ease; }
.share-icons .button.icon:hover { transform: translateY(-2px); box-shadow: 0 10px 18px -10px rgba(0,0,0,.5); }
.social-icons.share-icons a.button.facebook { background: #1877F2 !important; border-color: #1877F2 !important; }
.social-icons.share-icons a.button.oree-share-zalo { background: #0068FF !important; border-color: #0068FF !important; }
.social-icons.share-icons a.button.oree-share-messenger { background: linear-gradient(135deg, #00B2FF, #006AFF 45%, #A033FF 80%, #FF5C87) !important; }
.share-icons .oree-share-zalo svg, .share-icons .oree-share-messenger svg { width: 20px; height: 20px; display: block; }
.oree-toast {
  position: fixed; left: 50%; bottom: max(24px, env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 20px); z-index: 99999;
  padding: 12px 18px; border-radius: 999px; background: #16201A; color: #fff; font: 600 14px var(--oree-font);
  opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s ease; max-width: calc(100% - 32px); text-align: center;
}
.oree-toast.show { opacity: 1; transform: translate(-50%, 0); }

/* SỬA: ô số lượng (trang sản phẩm, giỏ hàng) — số không bị che, nút −/+ gọn */
.quantity { display: inline-flex !important; align-items: stretch; border-radius: 999px; overflow: hidden; border: 1px solid var(--oree-line); background: #fff; }
.quantity input.qty, .woocommerce form .quantity input.input-text.qty {
  width: 48px !important; min-width: 48px; min-height: 0 !important; height: 46px !important; padding: 0 !important; margin: 0 !important;
  text-align: center; border: 0 !important; border-radius: 0 !important; background: #fff !important; box-shadow: none !important;
  font: 700 16px var(--oree-font) !important; color: var(--oree-ink) !important; -moz-appearance: textfield;
}
.quantity input.qty::-webkit-outer-spin-button, .quantity input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.quantity .button.is-form, .quantity input.minus, .quantity input.plus, .woocommerce .quantity .button {
  width: 42px !important; min-width: 42px; min-height: 0 !important; height: 46px !important; padding: 0 !important; margin: 0 !important;
  border: 0 !important; border-radius: 0 !important; background: #fff !important; color: var(--oree-ink) !important; box-shadow: none !important;
  font: 700 18px var(--oree-font) !important;
}
.quantity .button.is-form:hover { background: var(--oree-green-tint) !important; color: var(--oree-green) !important; }
.single-product form.cart { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.single-product form.cart .quantity { margin: 0 !important; }
.single-product form.cart .single_add_to_cart_button { margin: 0 !important; }

/* SỬA: nút "Thêm vào giỏ hàng" trên thẻ sản phẩm — chữ nằm giữa, cao vừa, rộng hết thẻ */
.product-small .add-to-cart-button { margin-top: 12px !important; }
.product-small .add-to-cart-button a, .product-small a.add_to_cart_button, .product-small a.button.product_type_simple, .product-small a.button.product_type_variable {
  display: flex !important; align-items: center !important; justify-content: center !important;
  width: 100% !important; min-height: 0 !important; height: 44px !important; padding: 0 16px !important; margin: 0 !important;
  line-height: 1 !important; white-space: nowrap; text-align: center;
  border-radius: 999px !important; font: 700 14px/1 var(--oree-font) !important;
}
.product-small a.add_to_cart_button:hover { background: var(--oree-green-dark) !important; }
.product-small a.added_to_cart { display: block; margin-top: 8px; text-align: center; font: 600 13px var(--oree-font); color: var(--oree-green) !important; }
.product-small .box-text { display: flex; flex-direction: column; }
.product-small .box-text .add-to-cart-button { margin-top: auto !important; padding-top: 12px; }
@media (max-width: 549px) {
  .product-small a.add_to_cart_button, .product-small .add-to-cart-button a { height: 40px !important; padding: 0 8px !important; font-size: 13px !important; }
}

/* v1.5.4 — shop: hide "Showing all N results" + sort dropdown */
.woocommerce-result-count, .woocommerce-ordering, form.woocommerce-ordering { display: none !important; }

/* v1.5.4 — footer: links get a hover, Hotline pill centred */
.footer-2 ul li a { display: inline-block; transition: color .2s, transform .2s; }
.footer-2 ul li a span { transition: color .2s; }
.footer-2 ul li a:hover { transform: translateX(3px); }
.footer-2 a.button.oree-hotline, .footer-2 a.button.is-outline {
  display: inline-flex !important; align-items: center !important; justify-content: center !important; gap: 10px;
  height: 52px !important; min-height: 0 !important; padding: 0 28px !important; margin: 4px 0 0 !important;
  line-height: 1 !important; font-size: 16px !important; font-weight: 700 !important; vertical-align: middle;
}
.footer-2 a.button.is-outline i, .footer-2 a.button.is-outline span { line-height: 1 !important; margin: 0 !important; top: 0 !important; }
.footer-2 a.button.is-outline i { font-size: 16px !important; }

/* v1.5.4 — "Sản phẩm tương tự" (and upsell / cross-sell rows): no short description in the cards */
.related .box-excerpt, .up-sells .box-excerpt, .upsells .box-excerpt, .cross-sells .box-excerpt { display: none !important; }
.related .product-small .add-to-cart-button { margin-top: 12px; }

/* v1.5.4 — product page sidebar: drop the "Sản phẩm mới" widget, keep "Bài viết mới" */
.shop-sidebar .widget_products, #woocommerce_products-3 { display: none !important; }

/* v1.5.4 — review form: 5 clean stars to pick from (the theme's icon font showed boxes) */
.single-product #review_form p.stars { display: flex !important; align-items: center; margin: 6px 0 20px !important; line-height: 1 !important; }
.single-product #review_form p.stars > span { display: inline-flex !important; gap: 4px; }
.single-product #review_form p.stars a {
  position: relative !important; display: inline-block !important; width: 36px !important; height: 36px !important;
  margin: 0 !important; padding: 0 !important; border: 0 !important; font-size: 0 !important; text-indent: 0 !important;
  color: transparent !important; overflow: hidden !important; text-decoration: none !important;
}
.single-product #review_form p.stars a::after { content: none !important; }
.single-product #review_form p.stars a::before {
  content: "★" !important; position: absolute !important; inset: 0 !important; display: block !important;
  font: 400 34px/36px Arial, "Segoe UI Symbol", sans-serif !important; text-align: center; letter-spacing: 0 !important;
  color: #DCE2D6 !important; transition: color .15s ease, transform .15s ease;
}
.single-product #review_form p.stars.selected a::before { color: var(--oree-sun) !important; }
.single-product #review_form p.stars.selected a.active ~ a::before { color: #DCE2D6 !important; }
.single-product #review_form p.stars > span:hover a::before,
.single-product #review_form p.stars.selected > span:hover a.active ~ a::before { color: var(--oree-sun) !important; }
.single-product #review_form p.stars > span a:hover ~ a::before,
.single-product #review_form p.stars.selected > span:hover a:hover ~ a::before { color: #DCE2D6 !important; }
.single-product #review_form p.stars a:hover::before { transform: scale(1.15); }
.single-product #review_form p.stars a:focus-visible { outline: 2px solid var(--oree-green) !important; outline-offset: 2px; border-radius: 6px; }
.oree-rating-hint { display: inline-block; margin-left: 12px; font-size: 14px; font-weight: 600; color: var(--oree-muted, #5d6b60); vertical-align: middle; }

/* v1.5.4 — link-style buttons (cart, mini cart, checkout, "Tiếp tục xem sản phẩm"): text centred in the pill */
.woocommerce a.button:not(.icon):not(.is-form), .woocommerce-page a.button:not(.icon):not(.is-form),
.widget_shopping_cart a.button, a.button.wc-forward, a.button-continue-shopping {
  display: inline-flex !important; align-items: center !important; justify-content: center !important; gap: 8px;
  line-height: 1.2 !important; text-align: center; vertical-align: middle; box-sizing: border-box;
}
.woocommerce a.checkout-button, .wc-proceed-to-checkout a.button { display: flex !important; width: 100% !important; min-height: 54px !important; font-size: 16px !important; }
.woocommerce-cart .cart .actions .button, .woocommerce-cart a.button-continue-shopping { min-height: 48px !important; margin: 0 10px 8px 0 !important; }

/* mini cart (header dropdown + phone side panel) */
.widget_shopping_cart .quantity, .woocommerce-mini-cart .quantity, .cart_list .quantity {
  display: block !important; border: 0 !important; border-radius: 0 !important; background: none !important; overflow: visible !important;
  margin-top: 6px; font: 500 14px var(--oree-font) !important; color: var(--oree-muted, #5d6b60) !important;
}
.widget_shopping_cart .quantity .amount { font-weight: 700; color: var(--oree-ink); }
.woocommerce-mini-cart .woocommerce-mini-cart-item { padding-right: 34px !important; }
.woocommerce-mini-cart .woocommerce-mini-cart-item > a:not(.remove) { font: 600 15px/1.4 var(--oree-font) !important; color: var(--oree-ink) !important; }
.woocommerce-mini-cart a.remove { right: 0 !important; left: auto !important; }
.woocommerce-mini-cart__total { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.woocommerce-mini-cart__buttons { display: flex !important; flex-direction: column; gap: 10px; }
.woocommerce-mini-cart__buttons a.button {
  display: flex !important; width: 100% !important; max-width: 100% !important; min-height: 50px !important; margin: 0 !important; padding: 0 16px !important;
  background: #fff !important; color: var(--oree-green) !important; border: 1.5px solid var(--oree-green) !important;
}
.woocommerce-mini-cart__buttons a.button.checkout { background: var(--oree-green) !important; color: #fff !important; }
#cart-popup .cart-popup-inner, .off-canvas .widget_shopping_cart { box-sizing: border-box; max-width: 100%; overflow-x: hidden; }

/* v1.5.4 — checkout "Đơn hàng của bạn" + cart totals: one card instead of boxes inside boxes */
.woocommerce-checkout .checkout .col-inner.has-border {
  border: 1px solid var(--oree-line) !important; border-radius: 22px; background: #fff; padding: 26px clamp(18px, 3vw, 30px) !important;
}
.woocommerce-checkout #order_review_heading { margin-bottom: 14px !important; }
.woocommerce-checkout #order_review { border: 0 !important; padding: 0 !important; background: none !important; border-radius: 0 !important; }
.woocommerce-checkout .shop_table, .woocommerce-cart .cart_totals .shop_table { border: 0 !important; border-radius: 0 !important; overflow: visible !important; margin-bottom: 18px !important; }
.woocommerce-checkout .shop_table th, .woocommerce-checkout .shop_table td,
.woocommerce-cart .cart_totals .shop_table th, .woocommerce-cart .cart_totals .shop_table td {
  padding: 13px 0 !important; border-left: 0 !important; border-right: 0 !important; border-top: 0 !important;
  border-bottom: 1px solid var(--oree-line) !important; vertical-align: top; background: none !important;
}
.woocommerce-checkout .shop_table thead th { font: 700 12px/1.3 var(--oree-font) !important; letter-spacing: .1em; text-transform: uppercase; color: var(--oree-muted, #5d6b60) !important; white-space: nowrap; }
.woocommerce-checkout .shop_table .product-total, .woocommerce-checkout .shop_table tfoot td { text-align: right !important; white-space: nowrap; padding-left: 14px !important; }
.woocommerce-checkout .shop_table .product-name { font: 500 15px/1.45 var(--oree-font) !important; color: var(--oree-ink) !important; }
.woocommerce-checkout .shop_table .product-quantity { font-weight: 700; color: var(--oree-green); white-space: nowrap; }
.woocommerce-checkout .shop_table tfoot th { font: 600 15px var(--oree-font) !important; color: var(--oree-ink) !important; }
.woocommerce-checkout .shop_table tfoot .order-total th, .woocommerce-checkout .shop_table tfoot .order-total td { border-bottom: 0 !important; font-size: 18px !important; }
.woocommerce-checkout .shop_table tfoot .order-total .amount { font-size: 20px; color: var(--oree-green); }
.woocommerce-checkout #payment { background: none !important; border-radius: 0 !important; padding: 0 !important; }
.woocommerce-checkout #payment ul.payment_methods { padding: 0 !important; margin: 0 0 16px !important; border: 0 !important; }
.woocommerce-checkout #payment .woocommerce-info, .woocommerce-checkout #payment .message-wrapper {
  margin: 0 !important; padding: 12px 14px !important; border-radius: 14px; background: #FFF7E6 !important; border: 1px solid #F5DFA8 !important;
  font: 500 14px/1.55 var(--oree-font) !important; color: #6B4E0F !important; text-align: left !important;
}
.woocommerce-checkout #payment .message-container { padding: 0 !important; text-align: left !important; }
.woocommerce-checkout #place_order {
  display: flex !important; align-items: center; justify-content: center; width: 100% !important; min-height: 54px !important; margin: 4px 0 0 !important; font-size: 16px !important;
}
.woocommerce-checkout .woocommerce-privacy-policy-text { margin-top: 16px; }
.woocommerce-checkout .woocommerce-privacy-policy-text p { font: 400 13px/1.6 var(--oree-font) !important; color: var(--oree-muted, #5d6b60) !important; margin: 0 !important; }
.woocommerce-cart table.shop_table thead th { white-space: nowrap; }
.woocommerce-cart table.shop_table td.product-name { min-width: 150px; }

/* v1.5.4 — cart table: breathing room at the left/right edges of the card */
.woocommerce-cart table.shop_table th:first-child, .woocommerce-cart table.shop_table td:first-child { padding-left: 22px !important; }
.woocommerce-cart table.shop_table th:last-child, .woocommerce-cart table.shop_table td:last-child { padding-right: 22px !important; }
.woocommerce-cart table.shop_table td.actions { padding: 18px 22px !important; }
@media (max-width: 849px) {
  .woocommerce-cart table.shop_table td, .woocommerce-cart table.shop_table th { padding-left: 14px !important; padding-right: 14px !important; }
}
