/* ============================================================================
   Page-level styles: product detail, listing, cart, checkout, account,
   articles, toasts.
   ========================================================================= */

/* ------------------------------------------------------------ product page */

.product-main { padding: 10px 0 40px; }

.product-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 34px;
  align-items: start;
}
.product-main-col { min-width: 0; }

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.product-gallery { position: relative; }
.gallery-main {
  background: #f7f7f7;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }

.gallery-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.gallery-thumb {
  width: 72px;
  height: 72px;
  border: 2px solid transparent;
  overflow: hidden;
  background: #f7f7f7;
  transition: border-color var(--t-fast);
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb:hover, .gallery-thumb.is-active { border-color: var(--primary); }

.product-info { padding-top: 6px; }

.product-name {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 12px;
}

.product-price-lg {
  font-size: 28px;
  font-weight: 700;
  color: var(--price);
  line-height: 1.2;
  margin-bottom: 6px;
}
.product-price-lg del {
  font-size: .6em;
  color: var(--muted);
  font-weight: 400;
  margin-left: .4em;
}

.product-stock { font-size: 13px; margin-bottom: 18px; }
.product-stock .in { color: var(--sale); font-weight: 700; }
.product-stock .out { color: var(--ink-3); font-weight: 700; }

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 22px;
  font-size: 13.5px;
}
.spec-table th, .spec-table td {
  text-align: left;
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.spec-table th {
  width: 38%;
  color: var(--ink-3);
  font-weight: 400;
  background: #fafafa;
}

.product-buy {
  display: flex;
  gap: 12px;
  align-items: stretch;
  margin-bottom: 12px;
}
.qty {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--line-2);
  flex-shrink: 0;
}
.qty button {
  width: 34px;
  font-size: 16px;
  color: var(--ink-2);
  transition: background var(--t-fast);
}
.qty button:hover { background: var(--surface-3); }
.qty input {
  width: 46px;
  border: 0;
  border-left: 1px solid var(--line-2);
  border-right: 1px solid var(--line-2);
  text-align: center;
  font-size: 14px;
  -moz-appearance: textfield;
  appearance: textfield;
}
.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty input:focus { outline: 0; }

.product-buy .btn { flex: 1 1 auto; }
.product-buy .btn[disabled] { opacity: .5; cursor: not-allowed; }

.product-cta { display: flex; gap: 10px; }
.product-cta .btn { flex: 1 1 auto; }

.product-tabs {
  margin-top: 46px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.tab-head { margin-bottom: 18px; }
.tab-title {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 6px;
}
.tab-body { font-size: 15px; line-height: 1.75; color: var(--ink-2); max-width: 900px; }
.tab-body p { margin: 0 0 1em; }

/* -------------------------------------------------------------- listing -- */

.listing-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--ink-3);
  padding: 10px 0 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}

.child-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.child-cats a {
  font-size: 12.5px;
  padding: 5px 12px;
  border: 1px solid var(--line-2);
  color: var(--ink-2);
  transition: all var(--t-fast);
}
.child-cats a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* --------------------------------------------------------------- article - */

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.article-card .article-media {
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #f1f1f1;
}
.article-card img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); }
.article-card:hover img { transform: scale(1.04); }
.article-card h5 {
  font-size: 16.56px;
  font-weight: 700;
  line-height: 1.3;
  margin: 12px 0 8px;
}
.article-card h5 a:hover { color: var(--primary); }
.article-card p { font-size: 13.5px; color: var(--ink-3); line-height: 1.65; }

/* --------------------------------------------------------------- cart ---- */

.cart-layout, .checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 34px;
  align-items: start;
}

.cart-line {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) auto auto auto;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.cart-line-img img { width: 80px; height: 80px; object-fit: cover; background: #f7f7f7; }
.cart-line-title {
  font-size: 14px;
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}
.cart-line-title:hover { color: var(--primary); }
.cart-line-price { font-size: 13px; color: var(--ink-3); }

.cart-line-qty {
  display: inline-flex;
  border: 1px solid var(--line-2);
}
.cart-line-qty button {
  width: 28px;
  font-size: 14px;
  color: var(--ink-2);
}
.cart-line-qty button:hover { background: var(--surface-3); }
.cart-line-qty input {
  width: 40px;
  border: 0;
  border-left: 1px solid var(--line-2);
  border-right: 1px solid var(--line-2);
  text-align: center;
  font-size: 13px;
  -moz-appearance: textfield;
  appearance: textfield;
}
.cart-line-qty input::-webkit-outer-spin-button,
.cart-line-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.cart-line-total {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--price);
  white-space: nowrap;
}
.cart-line-remove {
  color: var(--ink-3);
  font-size: 15px;
  padding: 4px 6px;
  transition: color var(--t-fast);
}
.cart-line-remove:hover { color: var(--price); }

.cart-summary {
  background: var(--surface-2);
  padding: 22px;
  border: 1px solid var(--line);
  position: sticky;
  top: 16px;
}
.cart-summary h3 {
  font-size: 17px;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-2);
}
.sum-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-size: 13.5px;
  padding: 7px 0;
  color: var(--ink-2);
}
.sum-row span:last-child { font-weight: 600; color: var(--ink); white-space: nowrap; }
.sum-total {
  border-top: 1px solid var(--line-2);
  margin-top: 10px;
  padding-top: 14px;
  font-size: 16px;
  font-weight: 700;
}
.sum-total span:last-child { color: var(--price); font-size: 18px; }
.cart-summary .btn { margin-top: 18px; }
.cart-continue {
  display: block;
  text-align: center;
  font-size: 13px;
  color: var(--ink-3);
  margin-top: 12px;
}
.cart-continue:hover { color: var(--primary); }
.cart-hint {
  font-size: 12.5px;
  color: var(--ink-3);
  margin: 12px 0 0;
  text-align: center;
}

.cart-empty { text-align: center; padding: 60px 0; }
.cart-empty p { font-size: 16px; color: var(--ink-3); margin-bottom: 20px; }

/* ------------------------------------------------------------- checkout -- */

.checkout-fields h3 {
  font-size: 17px;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 14px;
}
.checkout-fields > label { margin-top: 14px; }
.checkout-fields .field { margin-bottom: 0; }

.pay-methods { display: flex; flex-direction: column; gap: 8px; }
.pay-method {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border: 1px solid var(--line-2);
  font-size: 13.5px;
  cursor: pointer;
  margin-bottom: 0;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.pay-method:hover { border-color: var(--primary); }
.pay-method input { margin: 0; accent-color: var(--primary); }

.order-done {
  max-width: 560px;
  margin: 30px auto;
  text-align: center;
  padding: 40px 24px;
  border: 1px solid var(--line);
  background: #fff;
}
.order-done-icon {
  width: 62px;
  height: 62px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--sale);
  color: #fff;
  font-size: 32px;
  display: grid;
  place-items: center;
}
.order-done h2 { font-size: 24px; margin-bottom: 12px; }
.order-done p { color: var(--ink-2); font-size: 14.5px; }
.order-total {
  font-size: 16px;
  padding: 14px 0;
  margin: 16px 0 22px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.order-total strong { color: var(--price); font-size: 20px; }

/* -------------------------------------------------------------- account -- */

.auth-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 860px;
}
.auth-form h3 {
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.auth-form .btn { margin-top: 18px; }
.auth-remember {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  margin-top: 12px;
}
.auth-remember input { accent-color: var(--primary); }
.auth-lost { text-align: center; margin-top: 12px; font-size: 13px; }
.auth-lost a { color: var(--primary); }
.auth-lost a:hover { text-decoration: underline; }
.auth-hint { font-size: 12.5px; color: var(--ink-3); margin-top: 10px; }

/* --------------------------------------------------------------- contact - */

.prose { font-size: 15px; line-height: 1.8; color: var(--ink-2); max-width: 860px; }
.prose p { margin: 0 0 1.1em; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  margin-top: 30px;
  max-width: none;
}
.contact-block h5 {
  font-size: 15px;
  margin: 18px 0 4px;
  color: var(--primary);
}
.contact-block h5:first-child { margin-top: 0; }
.contact-block p { margin: 0; font-size: 14px; }
.contact-block a { color: var(--primary); }

/* ---------------------------------------------------------------- toasts - */

.toast-host {
  position: fixed;
  right: 20px;
  bottom: 130px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
  pointer-events: none;
}
.toast {
  background: var(--primary);
  color: #fff;
  font-size: 13.5px;
  padding: 11px 18px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity var(--t), transform var(--t);
  max-width: 300px;
}
.toast.is-in { opacity: 1; transform: translateY(0); }
.toast-info { background: var(--ink-2); }

/* ------------------------------------------------------------ responsive - */

@media (max-width: 1100px) {
  .product-layout { gap: 26px; }
  .cart-layout, .checkout-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 22px; }
}

@media (max-width: 849px) {
  .product-layout { grid-template-columns: 1fr; gap: 22px; }
  .product-name { font-size: 20px; }
  .product-price-lg { font-size: 22px; }
  .product-buy { flex-wrap: wrap; }
  .product-buy .btn { flex: 1 1 100%; }

  .article-grid { grid-template-columns: 1fr; gap: 22px; }
  .article-grid-page { grid-template-columns: 1fr; }

  .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
  .cart-line {
    grid-template-columns: 64px minmax(0, 1fr) auto;
    grid-template-areas:
      "img info remove"
      "img qty  total";
    gap: 10px;
    row-gap: 8px;
  }
  .cart-line-img { grid-area: img; }
  .cart-line-img img { width: 64px; height: 64px; }
  .cart-line-info { grid-area: info; }
  .cart-line-qty { grid-area: qty; }
  .cart-line-total { grid-area: total; text-align: right; }
  .cart-line-remove { grid-area: remove; justify-self: end; }

  .field-row { grid-template-columns: 1fr; gap: 14px; }
  .auth-wrap { grid-template-columns: 1fr; gap: 34px; }
  .contact-grid { grid-template-columns: 1fr; gap: 24px; }
  .toast-host { bottom: 90px; left: 14px; right: 14px; align-items: stretch; }
}

/* ============================================================================
   Home: featured video + customer testimonials
   Source layout is a 6/6 split — video left, testimonials right.
   ========================================================================= */

.video-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: start;
}
/* Measured on the source: two 581px columns with 9.8px gutters, and the
   embedded player renders 562x337 (≈5:3) rather than 16:9. */
.video-row > .video-col { padding: 0 9.8px 19.6px; }

.video-frame {
  position: relative;
  aspect-ratio: 562 / 337;
  background: transparent;   /* the source column is plain page white */
  overflow: hidden;
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* The source shows one testimonial at a time in a slider, so the column stays
   about 318px tall instead of stacking all three. */
.testimonial-head {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 14px;
  color: var(--primary);
  text-align: center;
}

.testimonial-slider { overflow: hidden; }
.testimonial-track {
  display: flex;
  transition: transform var(--t-slow);
}
/* Source layout: everything centred — round avatar, star row, italic name and
   italic quote. */
.testimonial {
  flex: 0 0 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 4px 8px;
}
.testimonial-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--surface-3);
  margin-bottom: 8px;
}
.testimonial-stars {
  color: #f5b301;
  font-size: 13px;
  letter-spacing: 2px;
  line-height: 1;
  margin-bottom: 8px;
}
.testimonial-body h4 {
  font-size: 16px;
  font-weight: 700;
  font-style: italic;
  margin: 0 0 8px;
  color: var(--ink);
}
.testimonial-body p {
  font-size: 13px;
  font-style: italic;
  line-height: 1.7;
  color: var(--ink-2);
  margin: 0;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}
.testimonial-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line-2);
  transition: background var(--t-fast), transform var(--t-fast);
}
.testimonial-dots button.is-active { background: var(--primary); transform: scale(1.15); }

@media (max-width: 849px) {
  .video-row { grid-template-columns: 1fr; gap: 26px; }
  .testimonial-head { font-size: 17px; }
  .testimonial-avatar { width: 52px; height: 52px; }
}

/* ============================================================================
   Shop / category listing — source layout: title + breadcrumb on plain white,
   then a 3/9 split with the WooCommerce category widget and "Sản phẩm hot".
   ========================================================================= */

.shop-head { padding: 26px 0 6px; }
.shop-title {
  font-size: 26px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  margin: 0 0 4px;
}
.shop-head .breadcrumbs { margin: 0 0 18px; }

.shop-layout {
  display: grid;
  grid-template-columns: 264px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
  padding-bottom: 50px;
}

.side-widget { margin-bottom: 26px; }
.side-widget-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .4px;
  color: #fff;
  background: var(--cat-trigger-bg);
  padding: 10px 16px;
  margin: 0;
}
.side-cat-list {
  border: 1px solid var(--line);
  border-top: 0;
  background: #fff;
}
.side-cat-list li { border-bottom: 1px solid var(--line); }
.side-cat-list li:last-child { border-bottom: 0; }
.side-cat-list li a {
  display: inline-block;
  padding: 8px 14px;
  font-size: 13.5px;
  color: var(--ink-2);
}
.side-cat-list li a:hover { color: var(--primary); }
.side-cat-list li.is-current a { font-weight: 700; color: var(--ink); }
.side-cat-list .count {
  float: right;
  padding: 8px 14px 8px 0;
  font-size: 12px;
  color: var(--ink-3);
}

.side-hot-list li {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.side-hot-list li:first-child { padding-top: 14px; }
.side-hot-list li:last-child { border-bottom: 0; }
.side-hot-list img { width: 70px; height: 70px; object-fit: cover; background: #f7f7f7; flex-shrink: 0; }
.side-hot-title {
  display: block;
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink-2);
  margin-bottom: 4px;
}
.side-hot-title:hover { color: var(--primary); }
.side-hot-price { font-size: 13px; font-weight: 700; color: var(--price); }

.sort-select select {
  font-size: 13px;
  padding: 6px 10px;
  border: 1px solid var(--line-2);
  background: #fff;
  color: var(--ink-2);
}

@media (max-width: 849px) {
  .shop-layout { grid-template-columns: 1fr; }
  .shop-sidebar { order: 2; }
}

/* ============================================================================
   Product page — source layout is gallery | info | assurance column, with the
   specs as a bulleted list and CAM KẾT / TRỢ GIÚP boxes on the right.
   ========================================================================= */

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) 260px;
  gap: 30px;
  align-items: start;
}

.spec-list { margin: 0 0 22px; }
.spec-list li {
  position: relative;
  padding-left: 16px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink-2);
  margin-bottom: 7px;
}
.spec-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 10px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--ink-2);
}
.spec-list strong { color: var(--ink); font-weight: 700; }

.product-aside {
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: sticky;
  top: 16px;
}

.promise-box {
  background: #eef6fb;
  border: 1px solid #d6e6f2;
  padding: 16px 18px;
}
.promise-box h4 {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  color: #2b7cb8;
  margin: 0 0 12px;
}
.promise-box ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  text-transform: uppercase;
  color: var(--ink-2);
  padding: 6px 0;
}
.promise-ico { font-size: 16px; line-height: 1; }

.help-box {
  background: #fdf8ec;
  border: 1px solid #f0e4c8;
  padding: 16px 18px;
}
.help-box h4 {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  color: #2b7cb8;
  margin: 0 0 12px;
}
.help-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  color: var(--ink);
}
.help-ico {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid #2b7cb8;
  color: #2b7cb8;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.tab-head { display: flex; gap: 26px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.tab-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--ink-3);
  padding: 0 0 10px;
  border-bottom: 2px solid transparent;
  cursor: default;
}
.tab-title.is-active { color: var(--ink); border-bottom-color: var(--primary); }

@media (max-width: 1100px) {
  .product-shell { grid-template-columns: 1fr; }
  .product-aside { position: static; flex-direction: row; }
  .product-aside > div { flex: 1 1 0; }
}
@media (max-width: 849px) {
  .product-layout { grid-template-columns: 1fr; }
  .product-aside { flex-direction: column; }
}

/* sub-category links inside the sidebar widget */
.side-cat-list li.is-sub-list { padding: 4px 0 6px 14px; }
.side-cat-list a.sub-cat {
  display: block;
  padding: 5px 0;
  font-size: 13px;
  color: var(--ink-3);
}
.side-cat-list a.sub-cat:hover { color: var(--primary); }

/* ============================================================================
   Static pages: dark photo banner head (source uses page-title-bg.jpg),
   about page logo block, contact columns.
   ========================================================================= */

.page-banner {
  position: relative;
  background-image: url('/assets/2022/05/page-title-bg.jpg');
  background-size: cover;
  background-position: center;
  padding: 34px 0 30px;
  margin-bottom: 6px;
}
.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .55);
}
.page-banner .container { position: relative; z-index: 1; }
.page-banner h1 {
  color: #fff;
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 4px;
}
.page-banner .breadcrumbs,
.page-banner .breadcrumbs a,
.page-banner .breadcrumbs span { color: rgba(255, 255, 255, .85); }
.page-banner .breadcrumbs .divider { color: rgba(255, 255, 255, .5); }

.prose-lead { font-style: italic; font-weight: 600; color: var(--primary); }
.about-logo { text-align: center; padding: 26px 0; }
.about-logo img { width: 320px; max-width: 100%; height: auto; margin: 0 auto; }
.about-sub { font-size: 19px; font-weight: 700; margin: 26px 0 12px; color: var(--ink); }
.about-info { margin: 0; }
.about-info li { padding: 5px 0 5px 16px; position: relative; font-size: 15px; color: var(--ink-2); }
.about-info li::before {
  content: ""; position: absolute; left: 2px; top: 13px;
  width: 4px; height: 4px; border-radius: 50%; background: var(--ink-2);
}
.about-info strong { color: var(--ink); }

.contact-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  max-width: none;
}
.contact-h {
  font-size: 19px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 18px;
}
.contact-form label { font-size: 13.5px; color: var(--ink-2); margin: 12px 0 5px; }
.contact-form .field { border-radius: 3px; }
.contact-form .btn { margin-top: 18px; padding: 11px 30px; border-radius: 20px; }
.contact-lines { margin: 0 0 18px; }
.contact-lines li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 0;
}
.contact-lines .ci {
  width: 34px; height: 34px; border-radius: 50%;
  border: 2px solid var(--primary); color: var(--primary);
  display: grid; place-items: center; flex-shrink: 0;
}
.contact-lines strong { color: var(--ink); }
.contact-lines .muted { color: var(--ink-3); font-size: 13px; }
.contact-note { font-size: 14px; color: var(--ink-2); line-height: 1.7; }
.contact-hotline { font-size: 15px; }
.contact-hotline a { color: #f0a500; }
.contact-map { margin-top: 20px; }
.contact-map iframe { width: 100%; height: 260px; border: 0; display: block; }

@media (max-width: 849px) {
  .contact-columns { grid-template-columns: 1fr; gap: 30px; }
  .page-banner { padding: 24px 0 20px; }
  .page-banner h1 { font-size: 20px; }
}

/* Static pages: centred head + prose/sidebar split (source layout). */
.static-cat {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 6px;
}
.side-cat-mini li { border-bottom: 1px solid var(--line); }
.side-cat-mini li:last-child { border-bottom: 0; }
.side-cat-mini a {
  display: block;
  padding: 7px 0;
  font-size: 13.5px;
  color: var(--ink-2);
}
.side-cat-mini a:hover { color: var(--primary); }

@media (max-width: 849px) {
    }

/* About page: the embedded storefront screenshot sits in a framed box. */
.about-embed {
  border: 1px solid var(--line);
  padding: 6px;
  background: #fff;
  margin: 26px 0 8px;
}
.about-embed img { width: 100%; height: auto; display: block; }

/* Numbered pagination, WooCommerce-style. */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin: 30px 0 6px;
}
.pagination a, .pagination .current, .pagination .gap {
  min-width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-2);
  background: #fff;
  font-size: 13.5px;
  color: var(--ink-2);
  padding: 0 8px;
}
.pagination .current {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  font-weight: 700;
}
.pagination a:hover { border-color: var(--primary); color: var(--primary); }
.pagination .gap { border: 0; background: none; }

/* Source 404 layout: giant grey code beside the message + search box. */
.nf-wrap {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  padding: 46px 0 70px;
}
.nf-code {
  font-size: 118px;
  font-weight: 700;
  line-height: 1;
  color: #b9b9b9;
  letter-spacing: 2px;
}
.nf-body h1 {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--ink);
}
.nf-body p { font-size: 14px; color: var(--ink-3); margin: 0 0 20px; }
.nf-search {
  display: flex;
  max-width: 560px;
}
.nf-search input {
  flex: 1 1 auto;
  height: 40px;
  border: 1px solid var(--line-2);
  border-right: 0;
  padding: 0 12px;
  font-size: 14px;
}
.nf-search input:focus { outline: 0; border-color: var(--line-2); }
.nf-search button {
  width: 44px;
  height: 40px;
  background: #f0b849;
  color: #fff;
  display: grid;
  place-items: center;
  transition: background var(--t-fast);
}
.nf-search button:hover { background: #e0a636; }

@media (max-width: 849px) {
  .nf-wrap { grid-template-columns: 1fr; gap: 18px; padding: 30px 0 50px; }
  .nf-code { font-size: 76px; }
}

/* Product page shell: [gallery+info+tabs+related] | right assurance column. */
.product-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 34px;
  align-items: start;
}
.product-main-col { min-width: 0; }
.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}
.product-related { margin-top: 44px; }
.product-related .product-grid { grid-template-columns: repeat(4, 1fr); }

.product-share {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}
.share-ico {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  color: var(--ink-3);
  display: grid;
  place-items: center;
  transition: all var(--t-fast);
}
.share-ico:hover { border-color: var(--primary); color: var(--primary); }

@media (max-width: 1100px) {
  .product-shell { grid-template-columns: 1fr; }
  .product-aside { flex-direction: row; }
  .product-aside > div { flex: 1 1 0; }
}
@media (max-width: 849px) {
  .product-layout { grid-template-columns: 1fr; }
  .product-related .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-aside { flex-direction: column; }
}

/* Long SEO copy under a category grid. The source clips it to ~500px and
   reveals the rest behind a right-aligned "Xem thêm" link. */
.term-wrap { position: relative; margin-top: 34px; }
.term-description {
  max-height: 500px;
  overflow: hidden;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--ink-2);
  position: relative;
}
.term-description::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 70px;
  background: linear-gradient(rgba(255,255,255,0), #fff);
}
.term-wrap.is-open .term-description { max-height: none; }
.term-wrap.is-open .term-description::after { display: none; }
.term-description h2 { font-size: 20px; margin: 24px 0 10px; color: var(--ink); }
.term-description h3 { font-size: 17px; margin: 20px 0 8px; color: var(--ink); }
.term-description h4 { font-size: 15.5px; margin: 16px 0 6px; color: var(--ink); }
.term-description p { margin: 0 0 1em; }
.term-description ul { margin: 0 0 14px; padding-left: 22px; list-style: disc; }
.term-description li { margin-bottom: 5px; }
.term-description .cat-copy-img { margin: 14px 0; text-align: center; }
.term-description .cat-copy-img img { max-width: 100%; height: auto; }
.term-more {
  display: block;
  margin: 6px 0 0 auto;
  font-size: 13.5px;
  color: #2e8b57;
}
.term-more:hover { text-decoration: underline; }

/* About page: caption above the embedded storefront screenshot. */
.about-embed-cap {
  font-size: 14px;
  color: var(--ink-2);
  margin: 26px 0 10px;
}
.about-embed-cap a { color: var(--primary); }

/* Static/policy pages are WordPress posts on the source: a 1200px row holding a
   shadowed article card (main 900 / content 840) plus a 300px sidebar. */
.static-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 0;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0 60px;
}
.static-head .post-head-meta {
  display: block;
  font-size: 11.5px;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 6px;
}
.static-main { min-width: 0; padding: 0 30px; }
.static-article {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 1px 4px rgba(0, 0, 0, .06);
  padding: 30px;
}
/* Body copy matches the theme: 16px on a 25.6px line, 20.8px paragraph gap. */
.static-article .prose {
  max-width: none;
  font-size: 16px;
  line-height: 25.6px;
  color: var(--ink);
}
.static-article .prose p { margin: 0 0 20.8px; }
.static-article .prose-lead { font-size: 16px; line-height: 25.6px; }
.comments-area { margin-top: 34px; }
.comments-title { font-size: 18px; font-weight: 700; margin: 0 0 10px; color: var(--ink); }
.comment-note { font-size: 13px; color: var(--ink-3); margin: 0 0 16px; }
.comment-form label { font-size: 13.5px; color: var(--ink-2); margin: 12px 0 5px; }
.comment-form .field-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 8px; }
.comment-remember { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--ink-2); margin: 14px 0 16px; }
.comment-form .btn { padding: 11px 26px; }
@media (max-width: 849px) {
  .static-article { padding: 20px 18px 22px; }
  .comment-form .field-row { grid-template-columns: 1fr; }
}

/* ---- article share row + prev/next navigation (source: WP single post) ---- */

.blog-share { margin-top: 30px; }
.blog-share .is-divider {
  height: 1px;
  background: var(--line-2);
  margin-bottom: 16px;
}
.share-row {
  display: flex;
  justify-content: flex-start;   /* the source left-aligns the icon row */
  gap: 10px;
}
.share-row .share-ico {
  width: 33px;
  height: 33px;
  border-radius: 999px;
  border: 2px solid #c0c0c0;
  color: #c0c0c0;
  display: grid;
  place-items: center;
  transition: all var(--t-fast);
}
.share-row .share-ico:hover { border-color: var(--primary); color: var(--primary); }

.post-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.post-navigation a {
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  display: inline-block;
}
.post-navigation a:hover { color: var(--primary); }
.post-navigation .nav-prev { text-align: left; }
.post-navigation .nav-next { text-align: right; justify-self: end; }
.post-navigation .nav-arrow { color: var(--ink-3); }

@media (max-width: 849px) {
  .post-navigation { grid-template-columns: 1fr; gap: 12px; }
  .post-navigation .nav-next { text-align: left; justify-self: start; }
}

/* The source draws a hairline above the article's share row and above the
   comment form, both full width of the article card. */
.blog-share { border-top: 1px solid var(--line-2); padding-top: 16px; }
.blog-share .is-divider { display: none; }
.comments-area { border-top: 1px solid var(--line-2); padding-top: 22px; }

/* ---- about page content images, entry-meta footer, author box ---- */
.entry-img { margin: 0 0 20.8px; text-align: center; }
.entry-img img { max-width: 100%; height: auto; }
.entry-img-logo img { width: 512px; max-width: 100%; }

.entry-meta {
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid var(--line-2);
  font-size: 13.6px;
  text-align: center;
  color: var(--ink-2);
}
.entry-meta a { color: var(--primary); }

.entry-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line-2);
}
.author-avatar img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: block;
  background: var(--surface-3);
}
.author-body strong {
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink);
}
