/*
Theme Name: Điện Nước 360 - Huy Dương E-Commerce
Theme URI: https://diennuoc360.vn
Author: Điện Nước Huy Dương
Author URI: https://diennuoc360.vn
Description: Theme thương mại điện tử chuyên ngành Điện - Nước, đồng bộ KiotViet, chuẩn SEO Schema.org, tối ưu Core Web Vitals và Mobile-First.
Version: 1.0.0
Text Domain: diennuoc360
*/

:root {
  --primary: #0284c7;
  --primary-dark: #0369a1;
  --primary-light: #e0f2fe;
  --secondary: #f97316;
  --secondary-dark: #ea580c;
  --dark: #0f172a;
  --gray-800: #1e293b;
  --gray-600: #475569;
  --gray-400: #94a3b8;
  --gray-200: #e2e8f0;
  --gray-100: #f1f5f9;
  --white: #ffffff;
  --green: #16a34a;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-soft: 0 4px 20px -2px rgba(15, 23, 42, 0.06);
  --shadow-card: 0 2px 10px rgba(15, 23, 42, 0.04);
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 9999px;
  --radius: 12px;
  --font-sans: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ========================================================================
   DIENNUOC360 COMMERCE SYSTEM — CART & CHECKOUT
   Scoped to WooCommerce commerce surfaces; homepage styles remain isolated.
   ======================================================================== */

body.woocommerce-cart,
body.woocommerce-checkout {
  --dn360-commerce-primary: #002f5c;
  --dn360-commerce-primary-hover: #002244;
  --dn360-commerce-secondary: #00509d;
  --dn360-commerce-cta: #b8621b;
  --dn360-commerce-cta-hover: #9c5012;
  --dn360-commerce-background: #f1f4f9;
  --dn360-commerce-surface: #ffffff;
  --dn360-commerce-subtle: #f8fafc;
  --dn360-commerce-foreground: #0f172a;
  --dn360-commerce-muted: #475569;
  --dn360-commerce-border: #e2e8f0;
  --dn360-commerce-success: #16a34a;
  --dn360-commerce-error: #dc2626;
  background: var(--dn360-commerce-background);
  color: var(--dn360-commerce-foreground);
}

body.woocommerce-cart .site-main,
body.woocommerce-checkout .site-main,
body.woocommerce-cart .content-area,
body.woocommerce-checkout .content-area {
  background: var(--dn360-commerce-background);
}

.dn360-commerce-page,
.wp-block-woocommerce-cart,
.wp-block-woocommerce-checkout {
  color: var(--dn360-commerce-foreground, #0f172a);
  font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.dn360-commerce-page button,
.dn360-commerce-page input,
.dn360-commerce-page select,
.dn360-commerce-page textarea,
.wp-block-woocommerce-cart button,
.wp-block-woocommerce-cart input,
.wp-block-woocommerce-cart select,
.wp-block-woocommerce-cart textarea,
.wp-block-woocommerce-checkout button,
.wp-block-woocommerce-checkout input,
.wp-block-woocommerce-checkout select,
.wp-block-woocommerce-checkout textarea {
  font-family: inherit;
}

body.woocommerce-cart .woocommerce-message {
  margin: 0 0 20px;
  padding: 12px 16px;
  border: 1px solid #bbf7d0;
  border-left: 3px solid var(--dn360-commerce-success);
  border-radius: 6px;
  background: #f0fdf4;
  color: #166534;
  font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 13px;
}

body.woocommerce-cart .woocommerce-message .wc-forward {
  float: none;
  margin-left: 8px;
  padding: 0;
  background: transparent;
  color: var(--dn360-commerce-primary);
  font-weight: 800;
}

.dn360-cart-toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 18px;
}

body.woocommerce-cart .page-v3-main {
  padding-bottom: 92px !important;
}

body.woocommerce-cart .page-v3-card,
body.woocommerce-cart .page-v3-card button,
body.woocommerce-cart .page-v3-card input,
body.woocommerce-cart .page-v3-card select,
body.woocommerce-cart .page-v3-card textarea {
  font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.dn360-commerce-container {
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
  padding: 32px 0 48px;
}

.dn360-commerce-page-header,
.dn360-checkout-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.dn360-commerce-eyebrow,
.dn360-commerce-section-kicker {
  display: block;
  color: var(--dn360-commerce-secondary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  line-height: 1.2;
  text-transform: uppercase;
}

.dn360-commerce-page-title,
.dn360-checkout-header h1 {
  margin: 6px 0 4px;
  color: var(--dn360-commerce-primary);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  line-height: 1.2;
}

.dn360-commerce-page-subtitle,
.dn360-checkout-header p {
  max-width: 680px;
  margin: 0;
  color: var(--dn360-commerce-muted);
  font-size: 14px;
  line-height: 1.5;
}

.dn360-commerce-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid var(--dn360-commerce-primary);
  border-radius: 6px;
  color: var(--dn360-commerce-primary);
  font-size: 13px;
  font-weight: 700;
}

.dn360-commerce-link:hover,
.dn360-commerce-link:focus-visible {
  background: var(--dn360-commerce-primary);
  color: #fff;
}

.dn360-commerce-card {
  min-width: 0;
  background: var(--dn360-commerce-surface);
  border: 1px solid var(--dn360-commerce-border);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, .04);
}

.dn360-commerce-section-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--dn360-commerce-border);
}

.dn360-commerce-section-heading--compact {
  justify-content: space-between;
}

.dn360-commerce-section-heading h2 {
  margin: 4px 0 0;
  color: var(--dn360-commerce-primary);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
}

.dn360-commerce-heading-icon {
  color: var(--dn360-commerce-secondary);
  flex: 0 0 auto;
}

.dn360-commerce-count-badge {
  margin-left: auto;
  padding: 4px 8px;
  border: 1px solid #bfdbfe;
  border-radius: 4px;
  background: #eff6ff;
  color: var(--dn360-commerce-secondary);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

/* Classic cart */
.dn360-cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(300px, .85fr);
  align-items: start;
  gap: 20px;
}

.dn360-cart-items-card {
  overflow: hidden;
}

.dn360-cart-items-card form {
  margin: 0;
}

.dn360-cart-items-card .shop_table {
  width: 100%;
  margin: 0;
  border: 0;
  border-collapse: collapse;
  table-layout: fixed;
}

.dn360-cart-items-card .shop_table thead th {
  padding: 12px 14px;
  border: 0;
  border-bottom: 1px solid var(--dn360-commerce-border);
  background: var(--dn360-commerce-subtle);
  color: var(--dn360-commerce-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  text-align: left;
  text-transform: uppercase;
}

.dn360-cart-items-card .shop_table th.product-remove,
.dn360-cart-items-card .shop_table td.product-remove {
  width: 42px;
  padding-right: 0;
  text-align: center;
}

.dn360-cart-items-card .shop_table th.product-thumbnail,
.dn360-cart-items-card .shop_table td.product-thumbnail {
  width: 94px;
}

.dn360-cart-items-card .shop_table th.product-price,
.dn360-cart-items-card .shop_table td.product-price {
  width: 112px;
}

.dn360-cart-items-card .shop_table th.product-quantity,
.dn360-cart-items-card .shop_table td.product-quantity {
  width: 128px;
}

.dn360-cart-items-card .shop_table th.product-subtotal,
.dn360-cart-items-card .shop_table td.product-subtotal {
  width: 130px;
  text-align: right;
}

.dn360-cart-items-card .shop_table tbody tr.cart_item {
  border-bottom: 1px solid var(--dn360-commerce-border);
}

.dn360-cart-items-card .shop_table tbody tr.cart_item > td {
  padding: 16px 14px;
  border: 0;
  vertical-align: middle;
}

.dn360-cart-product-media {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--dn360-commerce-border);
  border-radius: 8px;
  background: var(--dn360-commerce-surface);
}

.dn360-cart-product-media a,
.dn360-cart-product-media img {
  width: 100%;
  height: 100%;
}

.dn360-cart-product-media img {
  object-fit: contain;
}

.dn360-cart-product-name {
  display: -webkit-box;
  color: var(--dn360-commerce-primary);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.dn360-cart-product-name:hover {
  color: var(--dn360-commerce-secondary);
}

.dn360-cart-product-sku {
  display: block;
  margin-top: 4px;
  color: var(--dn360-commerce-muted);
  font-size: 11px;
  line-height: 1.25;
}

.dn360-cart-items-card .variation,
.dn360-cart-items-card .variation dd,
.dn360-cart-items-card .variation dt {
  margin: 4px 0 0;
  color: var(--dn360-commerce-muted);
  font-size: 11px;
}

.dn360-cart-items-card .product-price,
.dn360-cart-items-card .product-subtotal {
  color: var(--dn360-commerce-foreground);
  font-size: 13px;
  font-weight: 700;
}

.dn360-cart-items-card .product-subtotal strong {
  color: var(--dn360-commerce-primary);
}

.dn360-cart-items-card .quantity {
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--dn360-commerce-border);
  border-radius: 4px;
  background: var(--dn360-commerce-surface);
}

.dn360-cart-items-card .quantity .qty {
  width: 54px;
  min-height: 36px;
  padding: 6px 8px;
  border: 0;
  color: var(--dn360-commerce-foreground);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.dn360-cart-items-card .quantity .qty:focus {
  outline: 2px solid var(--dn360-commerce-secondary);
  outline-offset: -2px;
}

.dn360-cart-remove {
  display: inline-grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 4px;
  color: var(--dn360-commerce-muted);
}

.dn360-cart-remove:hover,
.dn360-cart-remove:focus-visible {
  background: #fef2f2;
  color: var(--dn360-commerce-error);
}

.dn360-cart-items-card .actions {
  display: table-cell;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--dn360-commerce-subtle);
}

.dn360-cart-actions-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 24px;
}

.dn360-cart-items-card .coupon {
  display: flex;
  gap: 8px;
  min-width: 0;
}

.dn360-cart-items-card .coupon .input-text,
.dn360-cart-items-card .actions .button {
  min-height: 38px;
  border-radius: 4px;
  font-size: 12px;
}

.dn360-cart-items-card .coupon .input-text {
  width: 170px;
  padding: 8px 10px;
  border: 1px solid var(--dn360-commerce-border);
  background: #fff;
}

.dn360-cart-items-card .button,
.dn360-cart-summary-card .button {
  min-height: 38px;
  padding: 9px 14px;
  border: 1px solid var(--dn360-commerce-primary);
  border-radius: 6px;
  background: var(--dn360-commerce-primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.dn360-cart-items-card .button:hover,
.dn360-cart-summary-card .button:hover {
  background: var(--dn360-commerce-primary-hover);
  color: #fff;
}

.dn360-cart-items-card .actions > button[name="update_cart"] {
  min-width: 148px;
}

.dn360-cart-items-card .coupon .button {
  min-width: 74px;
}

.dn360-cart-summary-card {
  position: sticky;
  top: 90px;
  overflow: hidden;
}

.dn360-cart-summary-content {
  padding: 20px 24px 8px;
}

.dn360-cart-summary-content .cart_totals {
  float: none;
  width: 100%;
}

.dn360-cart-summary-content .cart_totals h2 {
  display: none;
}

.dn360-cart-summary-content .cart_totals table,
.dn360-cart-summary-content .cart_totals tbody,
.dn360-cart-summary-content .cart_totals tr,
.dn360-cart-summary-content .cart_totals th,
.dn360-cart-summary-content .cart_totals td {
  border: 0;
}

.dn360-cart-summary-content .cart_totals tr {
  border-bottom: 1px solid var(--dn360-commerce-border);
}

.dn360-cart-summary-content .cart_totals th,
.dn360-cart-summary-content .cart_totals td {
  padding: 12px 0;
  color: var(--dn360-commerce-muted);
  font-size: 13px;
  vertical-align: top;
}

.dn360-cart-summary-content .cart_totals td {
  color: var(--dn360-commerce-foreground);
  font-weight: 700;
  text-align: right;
}

.dn360-cart-summary-content .cart_totals .order-total th,
.dn360-cart-summary-content .cart_totals .order-total td {
  padding-top: 18px;
  color: var(--dn360-commerce-primary);
  font-size: 16px;
  font-weight: 800;
}

.dn360-cart-summary-content .cart_totals .order-total td {
  padding-left: 16px;
  white-space: nowrap;
}

.dn360-cart-summary-content .cart_totals .order-total th::after {
  content: ':';
}

.dn360-cart-summary-content .wc-proceed-to-checkout {
  padding: 16px 0 0;
}

.dn360-cart-summary-content .wc-proceed-to-checkout .checkout-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  margin: 0;
  border: 1px solid var(--dn360-commerce-cta);
  border-radius: 6px;
  background: var(--dn360-commerce-cta);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.dn360-cart-summary-content .wc-proceed-to-checkout .checkout-button:hover {
  background: var(--dn360-commerce-cta-hover);
  color: #fff;
}

/* Account login — split brand/form layout. */
body.woocommerce-account {
  --dn360-commerce-primary: #002f5c;
  --dn360-commerce-secondary: #2563a6;
  --dn360-commerce-cta: #c46116;
  --dn360-commerce-cta-hover: #a94f10;
  --dn360-commerce-surface: #fff;
  --dn360-commerce-border: #dbe5ef;
  --dn360-commerce-foreground: #0f2742;
  --dn360-commerce-muted: #64748b;
  --dn360-commerce-success: #16a34a;
}

body.woocommerce-account .dn360-account-login {
  display: grid;
  grid-template-columns: minmax(0, .42fr) minmax(0, .58fr);
  width: min(100%, 960px);
  min-height: 520px;
  margin: 28px auto 72px;
  overflow: hidden;
  border: 1px solid var(--dn360-commerce-border);
  border-radius: 16px;
  background: var(--dn360-commerce-surface);
  box-shadow: 0 16px 36px rgba(15, 23, 42, .08);
  font-family: 'Be Vietnam Pro', Arial, sans-serif;
}

body.woocommerce-account .dn360-account-brand-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 40px;
  background: var(--dn360-commerce-primary);
  color: #fff;
}

body.woocommerce-account .dn360-account-brand-link { display: inline-flex; align-items: center; width: fit-content; margin-bottom: 52px; }
body.woocommerce-account .dn360-account-brand-logo { display: block; width: min(100%, 220px); height: auto; max-width: none; object-fit: contain; filter: brightness(0) invert(1); }
body.woocommerce-account .dn360-account-brand-kicker,
body.woocommerce-account .dn360-account-form-eyebrow { color: #93c5fd; font-size: 11px; font-weight: 800; letter-spacing: .12em; line-height: 1.3; }
body.woocommerce-account .dn360-account-brand-panel h1 { margin: 12px 0 14px; color: #fff; font-size: clamp(28px, 3vw, 38px); font-weight: 800; letter-spacing: -.03em; line-height: 1.12; }
body.woocommerce-account .dn360-account-brand-panel p { max-width: 330px; margin: 0; color: #dbeafe; font-size: 14px; line-height: 1.65; }
body.woocommerce-account .dn360-account-brand-proof { display: flex; align-items: center; gap: 10px; margin-top: 32px; color: #e0f2fe; font-size: 12px; font-weight: 700; line-height: 1.45; }
body.woocommerce-account .dn360-account-brand-proof-mark { display: grid; width: 24px; height: 24px; flex: 0 0 auto; place-items: center; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; color: #f5a04a; }

body.woocommerce-account .dn360-account-form-panel { display: flex; flex-direction: column; justify-content: center; padding: 52px 64px; background: #fff; }
body.woocommerce-account .dn360-account-form-header h2 { margin: 10px 0 8px; color: var(--dn360-commerce-primary); font-size: 28px; font-weight: 800; letter-spacing: -.03em; line-height: 1.2; }
body.woocommerce-account .dn360-account-form-header p { margin: 0 0 28px; color: var(--dn360-commerce-muted); font-size: 13px; line-height: 1.6; }
body.woocommerce-account .dn360-account-login-form { width: 100%; margin: 0; }
body.woocommerce-account .dn360-account-field { margin: 0 0 18px; }
body.woocommerce-account .dn360-account-field label { display: block; margin-bottom: 8px; color: var(--dn360-commerce-foreground); font-size: 13px; font-weight: 700; line-height: 1.4; }
body.woocommerce-account .dn360-account-field .required { color: var(--dn360-commerce-cta); }
body.woocommerce-account .dn360-account-field input.input-text { width: 100%; min-height: 46px; padding: 11px 13px; border: 1px solid #cbd5e1; border-radius: 8px; background: #fff; color: var(--dn360-commerce-foreground); font: inherit; font-size: 14px; line-height: 1.35; }
body.woocommerce-account .dn360-account-field input.input-text:focus { border-color: #2563a6; outline: 3px solid rgba(37,99,166,.18); outline-offset: 1px; }
body.woocommerce-account .dn360-account-field .password-input { display: block; position: relative; }
body.woocommerce-account .dn360-account-field .password-input .show-password-input { top: 50%; right: 10px; min-width: 36px; min-height: 36px; transform: translateY(-50%); }

body.woocommerce-account .dn360-account-login-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 6px; }
body.woocommerce-account .dn360-account-login-actions .woocommerce-form-login__rememberme { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin: 0; color: var(--dn360-commerce-muted); font-size: 12px; line-height: 1.4; }
body.woocommerce-account .dn360-account-login-actions input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--dn360-commerce-secondary); }
body.woocommerce-account .dn360-account-login-submit { display: inline-flex; align-items: center; justify-content: center; min-width: 132px; min-height: 46px; margin: 0; padding: 11px 18px; border: 1px solid var(--dn360-commerce-cta); border-radius: 8px; background: var(--dn360-commerce-cta); color: #fff; font: inherit; font-size: 13px; font-weight: 800; line-height: 1.3; transition: background-color .2s ease, transform .2s ease; }
body.woocommerce-account .dn360-account-login-submit:hover { background: var(--dn360-commerce-cta-hover); color: #fff; }
body.woocommerce-account .dn360-account-login-submit:active { transform: translateY(1px); }
body.woocommerce-account .dn360-account-form-links { display: flex; align-items: center; gap: 8px; margin-top: 24px; color: var(--dn360-commerce-muted); font-size: 12px; line-height: 1.4; }
body.woocommerce-account .dn360-account-form-links a { color: var(--dn360-commerce-secondary); font-weight: 700; text-decoration: none; }
body.woocommerce-account .dn360-account-form-links a:hover,
body.woocommerce-account .dn360-account-form-links a:focus-visible { color: var(--dn360-commerce-primary); text-decoration: underline; }
body.woocommerce-account .woocommerce-error,
body.woocommerce-account .woocommerce-message,
body.woocommerce-account .woocommerce-info { width: min(100%, 960px); margin: 28px auto 0; border-radius: 8px; }

@media (max-width: 1023px) {
  body.woocommerce-account .dn360-account-form-panel { padding: 44px 36px; }
  body.woocommerce-account .dn360-account-brand-panel { padding: 40px 30px; }
}

@media (max-width: 767px) {
  body.woocommerce-account .dn360-account-login { grid-template-columns: minmax(0,1fr); width: calc(100% - 24px); min-height: 0; margin: 20px auto 48px; border-radius: 12px; }
  body.woocommerce-account .dn360-account-brand-panel { display: block; padding: 24px 20px; }
  body.woocommerce-account .dn360-account-brand-link { margin-bottom: 20px; }
  body.woocommerce-account .dn360-account-brand-logo { width: 180px; }
  body.woocommerce-account .dn360-account-brand-panel h1 { margin: 10px 0 8px; font-size: 24px; }
  body.woocommerce-account .dn360-account-brand-panel p { font-size: 12px; }
  body.woocommerce-account .dn360-account-brand-proof { margin-top: 18px; font-size: 11px; }
  body.woocommerce-account .dn360-account-form-panel { padding: 28px 20px 32px; }
  body.woocommerce-account .dn360-account-form-header h2 { font-size: 23px; }
  body.woocommerce-account .dn360-account-form-header p { margin-bottom: 22px; font-size: 12px; }
  body.woocommerce-account .dn360-account-login-actions { align-items: stretch; flex-direction: column; gap: 8px; }
  body.woocommerce-account .dn360-account-login-submit { width: 100%; }
  body.woocommerce-account .dn360-account-form-links { justify-content: center; margin-top: 20px; }
}

.dn360-cart-assurance-list {
  display: grid;
  gap: 12px;
  padding: 16px 24px 20px;
  border-top: 1px solid var(--dn360-commerce-border);
}

.dn360-cart-assurance-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--dn360-commerce-muted);
  font-size: 12px;
  line-height: 1.45;
}

.dn360-cart-assurance-item svg {
  flex: 0 0 auto;
  color: var(--dn360-commerce-success);
  margin-top: 1px;
}

.dn360-cart-assurance-item a {
  color: var(--dn360-commerce-primary);
  font-weight: 700;
}

/* Cart isolation: homepage-v3's broad reset must not collapse commerce spacing. */
body.woocommerce-cart .dn360-commerce-section-heading {
  padding: 20px 24px;
}

body.woocommerce-cart .dn360-commerce-section-heading-copy {
  min-width: 0;
  flex: 1 1 auto;
}

body.woocommerce-cart .dn360-commerce-heading-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}

body.woocommerce-cart .dn360-commerce-heading-row h2 {
  margin: 0;
}

body.woocommerce-cart .dn360-commerce-heading-row .dn360-commerce-count-badge {
  margin-left: 0;
  white-space: nowrap;
}

body.woocommerce-cart .dn360-commerce-count-badge {
  padding: 4px 8px;
}

body.woocommerce-cart .dn360-cart-product-media {
  width: 68px;
  height: 68px;
}

body.woocommerce-cart .dn360-cart-items-card .shop_table td.product-thumbnail {
  display: table-cell !important;
}

body.woocommerce-cart .dn360-cart-product-media a,
body.woocommerce-cart .dn360-cart-product-media img {
  width: 100%;
  height: 100%;
  max-width: none;
}

body.woocommerce-cart .dn360-cart-product-media img {
  object-fit: contain;
}

body.woocommerce-cart .dn360-cart-summary-content {
  padding: 20px 24px 8px;
}

body.woocommerce-cart .dn360-cart-assurance-list {
  padding: 16px 24px 20px;
}

body.woocommerce-cart .dn360-cart-actions-inner {
  padding: 16px 24px;
}

body.woocommerce-cart .dn360-cart-summary-content .wc-proceed-to-checkout {
  display: flex;
  justify-content: flex-start;
  padding: 16px 0 0;
}

body.woocommerce-cart .dn360-cart-summary-content .wc-proceed-to-checkout .checkout-button {
  display: inline-flex;
  width: auto;
  max-width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 11px 18px;
  line-height: 1.25;
}

/* Classic checkout */
.dn360-checkout-header {
  align-items: flex-start;
  padding: 20px 24px;
  border: 1px solid rgba(0, 47, 92, .12);
  border-radius: 16px;
  background: var(--dn360-commerce-primary);
  color: #fff;
}

.dn360-checkout-header h1,
.dn360-checkout-header p {
  color: #fff;
}

.dn360-checkout-header .dn360-commerce-eyebrow {
  color: #bfdbfe;
}

.dn360-checkout-header-icon {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 8px;
  color: #fff;
}

.dn360-checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, .9fr);
  align-items: start;
  gap: 20px;
}

.dn360-checkout-main {
  display: grid;
  gap: 20px;
  min-width: 0;
}

.dn360-checkout-card {
  overflow: hidden;
}

.dn360-checkout-step-mark {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 9999px;
  background: var(--dn360-commerce-primary);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.dn360-checkout-form-fields,
.dn360-checkout-shipping-fields,
.dn360-checkout-payment-area {
  padding: 20px 24px;
}

.dn360-checkout-shipping-fields {
  padding-top: 0;
}

.dn360-checkout-form-fields .form-row,
.dn360-checkout-shipping-fields .form-row {
  margin: 0 0 14px;
}

.dn360-checkout-form-fields label,
.dn360-checkout-shipping-fields label {
  display: block;
  margin-bottom: 6px;
  color: var(--dn360-commerce-foreground);
  font-size: 12px;
  font-weight: 700;
}

.dn360-checkout-form-fields input.input-text,
.dn360-checkout-form-fields select,
.dn360-checkout-form-fields textarea,
.dn360-checkout-shipping-fields input.input-text,
.dn360-checkout-shipping-fields select,
.dn360-checkout-shipping-fields textarea {
  width: 100%;
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid var(--dn360-commerce-border);
  border-radius: 4px;
  background: var(--dn360-commerce-subtle);
  color: var(--dn360-commerce-foreground);
  font-size: 14px;
}

.dn360-checkout-form-fields textarea,
.dn360-checkout-shipping-fields textarea {
  min-height: 92px;
  resize: vertical;
}

.dn360-checkout-form-fields input:focus,
.dn360-checkout-form-fields select:focus,
.dn360-checkout-form-fields textarea:focus,
.dn360-checkout-shipping-fields input:focus,
.dn360-checkout-shipping-fields select:focus,
.dn360-checkout-shipping-fields textarea:focus {
  border-color: var(--dn360-commerce-secondary);
  outline: 2px solid rgba(0, 80, 157, .18);
  outline-offset: 0;
}

.dn360-checkout-form-fields .woocommerce-invalid input,
.dn360-checkout-form-fields .woocommerce-invalid select,
.dn360-checkout-form-fields .woocommerce-invalid textarea,
.dn360-checkout-shipping-fields .woocommerce-invalid input,
.dn360-checkout-shipping-fields .woocommerce-invalid select,
.dn360-checkout-shipping-fields .woocommerce-invalid textarea {
  border-color: var(--dn360-commerce-error);
}

.dn360-checkout-helper {
  margin: 0;
  padding: 16px 24px 0;
  color: var(--dn360-commerce-muted);
  font-size: 13px;
  line-height: 1.5;
}

.dn360-checkout-payment-area .woocommerce-checkout-review-order-table {
  display: none;
}

.dn360-checkout-payment-area #payment,
.dn360-checkout-payment-area .wc_payment_methods {
  border: 0;
  background: transparent;
}

.dn360-checkout-payment-area .wc_payment_methods {
  display: grid;
  gap: 10px;
  padding: 0;
}

.dn360-checkout-payment-area .wc_payment_method {
  padding: 12px;
  border: 1px solid var(--dn360-commerce-border);
  border-radius: 6px;
  background: var(--dn360-commerce-surface);
}

.dn360-checkout-payment-area .wc_payment_method:has(input:checked) {
  border-color: var(--dn360-commerce-secondary);
  background: #eff6ff;
}

.dn360-checkout-payment-area .payment_box {
  margin: 12px -12px -12px;
  padding: 12px;
  border-top: 1px solid var(--dn360-commerce-border);
  background: var(--dn360-commerce-subtle);
  color: var(--dn360-commerce-muted);
  font-size: 12px;
  line-height: 1.5;
}

.dn360-checkout-summary {
  position: sticky;
  top: 90px;
  overflow: hidden;
}

.dn360-checkout-order-items {
  display: grid;
  gap: 12px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--dn360-commerce-border);
}

.dn360-checkout-item-row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.dn360-checkout-item-thumb {
  position: relative;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--dn360-commerce-border);
  border-radius: 8px;
  background: var(--dn360-commerce-surface);
}

.dn360-checkout-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.dn360-checkout-item-qty {
  position: absolute;
  top: -5px;
  right: -5px;
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 9999px;
  background: var(--dn360-commerce-primary);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
}

.dn360-checkout-item-name {
  min-width: 0;
}

.dn360-checkout-item-name strong,
.dn360-checkout-item-name span {
  display: block;
}

.dn360-checkout-item-name strong {
  display: -webkit-box;
  color: var(--dn360-commerce-primary);
  font-size: 13px;
  line-height: 1.35;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.dn360-checkout-item-name span {
  margin-top: 3px;
  color: var(--dn360-commerce-muted);
  font-size: 10px;
}

.dn360-checkout-item-total {
  color: var(--dn360-commerce-foreground);
  font-size: 12px;
  font-weight: 800;
  text-align: right;
  white-space: nowrap;
}

.dn360-checkout-totals {
  display: grid;
  gap: 12px;
  padding: 20px 24px 0;
}

.dn360-checkout-total-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  color: var(--dn360-commerce-muted);
  font-size: 13px;
}

.dn360-checkout-total-row strong {
  color: var(--dn360-commerce-foreground);
}

.dn360-checkout-shipping-note {
  color: var(--dn360-commerce-success);
  font-size: 12px;
  font-weight: 700;
  text-align: right;
}

.dn360-checkout-total-row--grand {
  padding-top: 14px;
  border-top: 1px solid var(--dn360-commerce-border);
  color: var(--dn360-commerce-primary);
  font-size: 15px;
  font-weight: 800;
}

.dn360-checkout-total-row--grand strong {
  color: var(--dn360-commerce-primary);
  font-size: 18px;
}

.dn360-checkout-submit {
  padding: 20px 24px 0;
}

.dn360-checkout-submit .btn-confirm-order {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  gap: 8px;
  border: 1px solid var(--dn360-commerce-cta);
  border-radius: 6px;
  background: var(--dn360-commerce-cta);
  box-shadow: none;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.dn360-checkout-submit .btn-confirm-order:hover,
.dn360-checkout-submit .btn-confirm-order:focus-visible {
  background: var(--dn360-commerce-cta-hover);
  box-shadow: none;
  color: #fff;
  transform: none;
}

.dn360-checkout-trust {
  display: grid;
  gap: 10px;
  padding: 18px 24px 22px;
  color: var(--dn360-commerce-muted);
  font-size: 11px;
  line-height: 1.4;
}

.dn360-checkout-trust > div {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.dn360-checkout-trust svg {
  flex: 0 0 auto;
  color: var(--dn360-commerce-success);
}

.dn360-checkout-trust a {
  color: var(--dn360-commerce-primary);
  font-weight: 700;
}

/* WooCommerce Blocks fallback: the live empty cart may render these roots. */
body.woocommerce-cart .wp-block-woocommerce-cart,
body.woocommerce-checkout .wp-block-woocommerce-checkout {
  width: min(1280px, calc(100% - 40px));
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 32px;
  padding-bottom: 48px;
}

body.woocommerce-cart .entry-title,
body.woocommerce-checkout .entry-title {
  color: var(--dn360-commerce-primary);
  font-weight: 800;
}

body.woocommerce-cart .entry-title,
body.woocommerce-checkout .page-v3-title {
  font-size: 0 !important;
}

body.woocommerce-cart .page-v3-title,
body.woocommerce-cart .entry-title {
  color: transparent !important;
  -webkit-text-fill-color: transparent;
}

body.woocommerce-cart .page-v3-title::after,
body.woocommerce-cart .entry-title::after {
  content: "Giỏ hàng";
  font-size: 26px;
  color: var(--dn360-commerce-primary);
  -webkit-text-fill-color: var(--dn360-commerce-primary);
}

body.woocommerce-checkout .page-v3-title::after {
  content: "Thanh toán đơn hàng";
  font-size: 26px;
}

body.woocommerce-cart .crumb-current,
body.woocommerce-checkout .crumb-current {
  font-size: 0;
}

body.woocommerce-cart .crumb-current::after {
  content: "Giỏ hàng";
  font-size: 13px;
}

body.woocommerce-checkout .crumb-current::after {
  content: "Thanh toán";
  font-size: 13px;
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block {
  padding: 28px;
  border: 1px solid var(--dn360-commerce-border);
  border-radius: 8px;
  background: var(--dn360-commerce-surface);
  box-shadow: 0 2px 10px rgba(15, 23, 42, .04);
}

body.woocommerce-cart .wc-block-cart__empty-cart__title {
  margin: 0;
  padding: 48px 20px 20px;
  border: 0;
  box-shadow: none;
  color: var(--dn360-commerce-primary);
  font-size: 0;
  font-weight: 800;
}

body.woocommerce-cart .wc-block-cart__empty-cart__title::after {
  content: "Giỏ hàng của bạn đang trống";
  font-size: 20px;
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block > .wp-block-separator {
  display: none;
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block > .wp-block-heading:not(.wc-block-cart__empty-cart__title) {
  margin: 28px 0 16px;
  color: var(--dn360-commerce-primary);
  font-size: 18px;
  font-weight: 800;
}

body.woocommerce-cart .wc-block-grid__products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
}

body.woocommerce-cart .wc-block-grid__product {
  display: flex;
  width: auto;
  max-width: none;
  flex-direction: column;
  padding: 12px;
  border: 1px solid var(--dn360-commerce-border);
  border-radius: 8px;
  background: var(--dn360-commerce-surface);
  box-shadow: none;
}

body.woocommerce-cart .wc-block-grid__product-link {
  color: var(--dn360-commerce-primary);
}

body.woocommerce-cart .wc-block-grid__product-image {
  aspect-ratio: 1 / 1;
  margin-bottom: 10px;
  overflow: hidden;
  background: var(--dn360-commerce-subtle);
}

body.woocommerce-cart .wc-block-grid__product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

body.woocommerce-cart .wc-block-grid__product-title {
  display: -webkit-box;
  min-height: 40px;
  color: var(--dn360-commerce-primary);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body.woocommerce-cart .wc-block-grid__product-price {
  margin: 8px 0 10px;
  color: var(--dn360-commerce-foreground);
  font-size: 13px;
  font-weight: 800;
}

body.woocommerce-cart .wc-block-grid__product-add-to-cart {
  margin-top: auto;
}

body.woocommerce-cart .wc-block-grid__product-add-to-cart .wp-block-button__link {
  display: block;
  min-height: 36px;
  padding: 9px 10px;
  border-radius: 6px;
  background: var(--dn360-commerce-primary);
  color: #fff;
  font-size: 0;
  font-weight: 700;
  line-height: 1.2;
}

body.woocommerce-cart .wc-block-grid__product-add-to-cart .wp-block-button__link::after {
  content: "Thêm vào giỏ";
  font-size: 12px;
}

body.woocommerce-cart .wc-block-grid__product-add-to-cart .wp-block-button__link:hover {
  background: var(--dn360-commerce-primary-hover);
  color: #fff;
}

body.woocommerce-checkout .wc-block-checkout {
  display: grid;
  gap: 20px;
}

body.woocommerce-checkout .wc-block-components-checkout-step,
body.woocommerce-checkout .wc-block-components-order-summary {
  padding: 20px;
}

body.woocommerce-checkout .wc-block-components-checkout-step__heading,
body.woocommerce-checkout .wc-block-components-order-summary__title {
  color: var(--dn360-commerce-primary);
  font-weight: 800;
}

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-combobox .components-combobox-control__input,
body.woocommerce-checkout .wc-block-components-select .wc-block-components-select__container {
  border-radius: 4px;
  border-color: var(--dn360-commerce-border);
  background: var(--dn360-commerce-subtle);
}

body.woocommerce-checkout .wc-block-components-radio-control__option {
  border-radius: 6px;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
  min-height: 48px;
}

/* The store shell has a generic sidebar on content pages. Commerce pages
   use WooCommerce's own order summary instead, so keep one clear hierarchy. */
body.woocommerce-cart .page-v3-grid,
body.woocommerce-checkout .page-v3-grid {
  grid-template-columns: minmax(0, 1fr);
}

body.woocommerce-cart .page-v3-sidebar,
body.woocommerce-checkout .page-v3-sidebar {
  display: none;
}

body.woocommerce-cart .page-v3-content,
body.woocommerce-checkout .page-v3-content {
  min-width: 0;
}

body.woocommerce-checkout .wc-block-components-sidebar-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, .9fr);
  align-items: start;
  gap: 20px;
}

body.woocommerce-checkout .wc-block-components-main,
body.woocommerce-checkout .wc-block-components-sidebar {
  width: auto;
  min-width: 0;
  margin: 0;
}

body.woocommerce-checkout .wc-block-components-sidebar {
  position: sticky;
  top: 90px;
}

body.woocommerce-checkout .wc-block-checkout__main > .checkout-order-summary-block-fill-wrapper {
  display: none;
}

body.woocommerce-checkout .wc-block-components-checkout-step {
  margin-bottom: 16px;
  padding: 20px 24px;
}

body.woocommerce-checkout .wc-block-components-checkout-step__heading-container {
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--dn360-commerce-border);
}

body.woocommerce-checkout .wc-block-components-checkout-step__title {
  color: var(--dn360-commerce-primary);
  font-size: 18px;
  font-weight: 800;
}

body.woocommerce-checkout .wc-block-checkout__contact-fields .wc-block-components-checkout-step__title,
body.woocommerce-checkout .wc-block-checkout__billing-fields .wc-block-components-checkout-step__title,
body.woocommerce-checkout .wc-block-checkout__payment-method .wc-block-components-checkout-step__title,
body.woocommerce-checkout .wc-block-checkout__order-notes .wc-block-components-checkout-step__title,
body.woocommerce-checkout .wc-block-checkout__terms .wc-block-components-checkout-step__title {
  font-size: 0;
}

body.woocommerce-checkout .wc-block-checkout__contact-fields .wc-block-components-checkout-step__title::after {
  content: "Thông tin liên hệ";
  font-size: 18px;
}

body.woocommerce-checkout .wc-block-checkout__billing-fields .wc-block-components-checkout-step__title::after {
  content: "Địa chỉ nhận hàng";
  font-size: 18px;
}

body.woocommerce-checkout .wc-block-checkout__payment-method .wc-block-components-checkout-step__title::after {
  content: "Phương thức thanh toán";
  font-size: 18px;
}

body.woocommerce-checkout .wc-block-checkout__order-notes .wc-block-components-checkout-step__title::after {
  content: "Ghi chú đơn hàng";
  font-size: 18px;
}

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-blocks-components-select__select,
body.woocommerce-checkout .wc-block-components-combobox .components-combobox-control__input {
  min-height: 42px;
  border: 1px solid var(--dn360-commerce-border);
  border-radius: 4px;
  background: var(--dn360-commerce-subtle);
}

body.woocommerce-checkout .wc-block-components-text-input.is-active input,
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-blocks-components-select__select:focus {
  border-color: var(--dn360-commerce-secondary);
  box-shadow: 0 0 0 2px rgba(0, 80, 157, .16);
}

body.woocommerce-checkout .wc-block-components-radio-control-accordion-option {
  margin-bottom: 8px;
  border: 1px solid var(--dn360-commerce-border);
  border-radius: 6px;
  background: var(--dn360-commerce-surface);
}

body.woocommerce-checkout .wc-block-components-radio-control-accordion-option--checked-option-highlighted {
  border-color: var(--dn360-commerce-secondary);
  background: #eff6ff;
}

body.woocommerce-checkout .wc-block-components-order-summary,
body.woocommerce-checkout .wc-block-components-checkout-order-summary__title {
  border-color: var(--dn360-commerce-border);
  border-radius: 8px;
  background: var(--dn360-commerce-surface);
}

body.woocommerce-checkout .wc-block-components-checkout-order-summary__title {
  padding: 16px 20px;
  color: var(--dn360-commerce-primary);
  font-weight: 800;
}

body.woocommerce-checkout .wc-block-components-order-summary-item__image {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 6px;
}

body.woocommerce-checkout .wc-block-components-order-summary-item__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

body.woocommerce-checkout .wc-block-components-totals-wrapper {
  border-color: var(--dn360-commerce-border);
}

body.woocommerce-checkout .wc-block-checkout__guest-checkout-notice {
  font-size: 0;
}

body.woocommerce-checkout .wc-block-checkout__guest-checkout-notice::after {
  content: "Bạn đang thanh toán với tư cách khách.";
  font-size: 12px;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button__text {
  font-size: 0;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button__text::after {
  content: "Xác nhận đặt hàng";
  font-size: 14px;
}

body.woocommerce-cart .wc-block__cart__totals-title,
body.woocommerce-cart .wc-block-cart__totals-title {
  font-size: 0;
}

body.woocommerce-cart .wc-block__cart__totals-title::after,
body.woocommerce-cart .wc-block-cart__totals-title::after {
  content: "Tóm tắt đơn hàng";
  font-size: 18px;
}

body.woocommerce-cart .wc-block-components-totals-item--total .wc-block-components-totals-item__label {
  font-size: 0;
}

body.woocommerce-cart .wc-block-components-totals-item--total .wc-block-components-totals-item__label::after {
  content: "Tổng thanh toán";
  font-size: 14px;
}

body.woocommerce-cart .wc-block-components-totals-coupon__button,
body.woocommerce-cart .wc-block-components-totals-coupon__button:hover {
  font-size: 0;
}

body.woocommerce-cart .wc-block-components-totals-coupon__button::after {
  content: "Mã ưu đãi";
  font-size: 13px;
}

body.woocommerce-cart .wc-block-components-button__text {
  font-size: 0;
}

body.woocommerce-cart .wc-block-components-button__text::after {
  content: "Tiến hành thanh toán";
  font-size: 14px;
}

body.woocommerce-cart .wc-block-cart__submit-container,
body.woocommerce-cart .wc-block-cart__submit,
body.woocommerce-cart .wc-block-cart__submit-button {
  position: static !important;
  inset: auto !important;
  width: 100%;
  margin: 0;
}

body.woocommerce-cart .wc-block-cart__submit-container {
  padding: 16px;
  background: var(--dn360-commerce-surface);
}

body.woocommerce-checkout .wc-block-components-checkout-order-summary__title-text {
  font-size: 0 !important;
}

body.woocommerce-checkout .wc-block-components-checkout-order-summary__title-text::after {
  content: "Tóm tắt đơn hàng";
  font-size: 18px;
}

body.woocommerce-checkout .wc-block-checkout__main .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-checkout-step__title {
  font-size: 0 !important;
}

body.woocommerce-checkout .wc-block-checkout__main .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-checkout-step__title::after {
  content: "Tóm tắt đơn hàng";
  font-size: 18px;
}

body.woocommerce-cart .wc-block-cart__empty-cart__title,
body.woocommerce-cart .wc-block-cart__main,
body.woocommerce-cart .wc-block-cart__sidebar,
body.woocommerce-checkout .wc-block-components-checkout-step,
body.woocommerce-checkout .wc-block-components-order-summary {
  border-color: var(--dn360-commerce-border);
  border-radius: 8px;
  background: var(--dn360-commerce-surface);
  box-shadow: 0 2px 10px rgba(15, 23, 42, .04);
}

body.woocommerce-cart .wc-block-components-button,
body.woocommerce-checkout .wc-block-components-button,
body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
  border-radius: 6px;
  background: var(--dn360-commerce-cta);
  color: #fff;
  font-weight: 700;
}

body.woocommerce-cart .wc-block-components-button:hover,
body.woocommerce-checkout .wc-block-components-button:hover,
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover {
  background: var(--dn360-commerce-cta-hover);
  color: #fff;
}

@media (max-width: 1023px) {
  .dn360-cart-layout,
  .dn360-checkout-layout {
    grid-template-columns: minmax(0, 1fr) minmax(280px, .8fr);
  }

  .dn360-cart-summary-card,
  .dn360-checkout-summary {
    top: 76px;
  }
}

@media (max-width: 767px) {
  .dn360-commerce-container,
  body.woocommerce-cart .wp-block-woocommerce-cart,
  body.woocommerce-checkout .wp-block-woocommerce-checkout {
    width: min(100% - 24px, 640px);
    padding-top: 20px;
    padding-bottom: 32px;
  }

  .dn360-commerce-page-header,
  .dn360-checkout-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .dn360-commerce-link {
    width: 100%;
    justify-content: center;
  }

  .dn360-cart-toolbar {
    justify-content: stretch;
  }

  .dn360-cart-toolbar .dn360-commerce-link {
    width: 100%;
  }

  .dn360-cart-layout,
  .dn360-checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .dn360-cart-summary-card,
  .dn360-checkout-summary {
    position: static;
  }

  .dn360-commerce-section-heading,
  .dn360-checkout-form-fields,
  .dn360-checkout-shipping-fields,
  .dn360-checkout-payment-area,
  .dn360-checkout-order-items,
  .dn360-checkout-totals,
  .dn360-checkout-submit,
  .dn360-checkout-trust,
  .dn360-cart-summary-content,
  .dn360-cart-assurance-list {
    padding-right: 16px;
    padding-left: 16px;
  }

  .dn360-cart-items-card .shop_table,
  .dn360-cart-items-card .shop_table tbody,
  .dn360-cart-items-card .shop_table tr,
  .dn360-cart-items-card .shop_table td {
    display: block;
    width: 100%;
  }

  .dn360-cart-items-card .shop_table thead {
    display: none;
  }

  .dn360-cart-items-card .shop_table tbody tr.cart_item {
    position: relative;
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px;
    padding: 16px;
  }

  .dn360-cart-items-card .shop_table tbody tr.cart_item > td {
    width: auto;
    padding: 0;
  }

  .dn360-cart-items-card .shop_table tbody tr.cart_item > td.product-remove {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 30px;
    padding: 0;
  }

  .dn360-cart-items-card .shop_table tbody tr.cart_item > td.product-thumbnail {
    display: block !important;
    grid-row: span 3;
    width: 72px;
  }

  .dn360-cart-items-card .shop_table tbody tr.cart_item > td.product-name,
  .dn360-cart-items-card .shop_table tbody tr.cart_item > td.product-price,
  .dn360-cart-items-card .shop_table tbody tr.cart_item > td.product-quantity,
  .dn360-cart-items-card .shop_table tbody tr.cart_item > td.product-subtotal {
    min-width: 0;
    grid-column: 2;
  }

  .dn360-cart-items-card .shop_table tbody tr.cart_item > td.product-name::before {
    display: none !important;
    content: none !important;
  }

  .dn360-cart-items-card .shop_table tbody tr.cart_item > td.product-thumbnail {
    grid-column: 1;
    grid-row: span 4;
  }

  .dn360-cart-product-media {
    width: 72px;
    height: 72px;
  }

  .dn360-cart-items-card .shop_table tbody tr.cart_item > td.product-price,
  .dn360-cart-items-card .shop_table tbody tr.cart_item > td.product-quantity,
  .dn360-cart-items-card .shop_table tbody tr.cart_item > td.product-subtotal {
    display: inline-flex;
    width: auto;
    margin-right: 10px;
    padding-top: 6px;
    vertical-align: middle;
  }

  .dn360-cart-items-card .shop_table tbody tr.cart_item > td.product-price::before,
  .dn360-cart-items-card .shop_table tbody tr.cart_item > td.product-quantity::before,
  .dn360-cart-items-card .shop_table tbody tr.cart_item > td.product-subtotal::before {
    display: none;
  }

  .dn360-cart-actions-inner {
    align-items: stretch;
    flex-direction: column;
  }

  body.woocommerce-cart .dn360-commerce-section-heading {
    padding: 16px;
  }

  body.woocommerce-cart .dn360-cart-summary-content {
    padding: 16px 16px 8px;
  }

  body.woocommerce-cart .dn360-cart-assurance-list,
  body.woocommerce-cart .dn360-cart-actions-inner {
    padding: 16px;
  }

  body.woocommerce-cart .dn360-cart-product-media,
  body.woocommerce-cart .dn360-cart-product-media a,
  body.woocommerce-cart .dn360-cart-product-media img {
    width: 72px;
    height: 72px;
  }

  .dn360-cart-items-card .coupon {
    width: 100%;
  }

  .dn360-cart-items-card .coupon .input-text {
    min-width: 0;
    flex: 1;
    width: auto;
  }

  .dn360-cart-items-card .actions > .button {
    width: 100%;
  }

  .dn360-checkout-header {
    padding: 18px 16px;
    border-radius: 16px;
  }

  .dn360-checkout-header h1 {
    font-size: 22px;
  }

  .dn360-checkout-item-row {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .dn360-checkout-item-total {
    grid-column: 2;
    text-align: left;
  }

  body.woocommerce-cart .wp-block-woocommerce-empty-cart-block {
    padding: 16px;
  }

  body.woocommerce-cart .wc-block-grid__products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  body.woocommerce-cart .wc-block-grid__product {
    padding: 8px;
  }

  body.woocommerce-cart .wc-block-grid__product-title {
    font-size: 12px;
  }

  body.woocommerce-checkout .wc-block-components-sidebar-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  body.woocommerce-checkout .wc-block-components-sidebar {
    position: static;
  }

  body.woocommerce-checkout .wc-block-checkout__main > .checkout-order-summary-block-fill-wrapper {
    display: block;
  }

  body.woocommerce-checkout .wc-block-components-checkout-step {
    padding: 16px;
  }
}

@media (max-width: 374px) {
  .dn360-commerce-container,
  body.woocommerce-cart .wp-block-woocommerce-cart,
  body.woocommerce-checkout .wp-block-woocommerce-checkout {
    width: calc(100% - 16px);
  }

  .dn360-commerce-section-heading h2 {
    font-size: 16px;
  }
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  color: var(--dark);
  background-color: #f8fafc;
  line-height: 1.6;
  padding-bottom: 0;
}

button, input, select, textarea {
  font-family: var(--font-sans);
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* TOPBAR */
.topbar {
  background: var(--dark);
  color: #cbd5e1;
  font-size: 13px;
  padding: 6px 0;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topbar a:hover {
  color: var(--secondary);
}

/* MAIN HEADER */
.site-header {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-main {
  padding: 14px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
@media (max-width: 767px) {
  .topbar-announce {
    display: none;
  }
  .topbar-contact {
    width: 100%;
    justify-content: space-between;
    font-size: 11px;
  }
  .topbar-contact .topbar-item {
    font-size: 11px;
  }
  .header-main {
    padding: 8px 0;
    gap: 8px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }
  .mobile-menu-toggle {
    order: 1;
  }
  .site-logo {
    order: 2;
    flex: 1;
  }
  .logo-text h1 {
    font-size: 16px;
  }
  .logo-text span {
    font-size: 9.5px;
  }
  .logo-badge {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
  .header-actions {
    order: 3;
    margin-left: auto;
  }
  .action-hotline {
    display: none !important;
  }
  .action-cart {
    padding: 6px 10px;
    gap: 4px;
  }
  .action-cart .cart-text-wrap {
    display: none;
  }
  .action-cart .cart-icon-symbol {
    font-size: 18px;
  }
  .header-search {
    order: 4;
    max-width: 100% !important;
    width: 100%;
    margin-top: 2px;
  }
  .search-input {
    padding: 9px 42px 9px 14px;
    font-size: 13px;
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .topbar-announce {
    font-size: 11.5px;
  }
  .topbar-contact {
    font-size: 11.5px;
    gap: 8px;
  }
  .header-main {
    flex-wrap: nowrap;
    gap: 12px;
  }
  .action-hotline {
    display: none;
  }
  .header-search {
    flex: 1;
    max-width: 420px;
  }
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-badge {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  font-weight: 800;
  font-size: 20px;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.3);
}
.logo-text h1 {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.1;
  letter-spacing: -0.5px;
}
.logo-text span {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--gray-600);
  letter-spacing: 0.5px;
  font-weight: 600;
}

/* SEARCH BAR */
.header-search {
  flex: 1;
  max-width: 550px;
  position: relative;
}
.search-form {
  display: flex;
  position: relative;
}
.search-input {
  width: 100%;
  padding: 11px 48px 11px 16px;
  border: 2px solid var(--primary);
  border-radius: 25px;
  font-size: 14px;
  outline: none;
  background: #f8fafc;
  transition: all 0.2s;
}
.search-input:focus {
  background: #fff;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.2);
}
.search-btn {
  position: absolute;
  right: 5px;
  top: 5px;
  bottom: 5px;
  width: 38px;
  border-radius: 20px;
  background: var(--primary);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.search-btn:hover {
  background: var(--primary-dark);
}

/* LIVE SEARCH RESULTS DROPDOWN */
.search-results-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  margin-top: 8px;
  max-height: 400px;
  overflow-y: auto;
  display: none;
  z-index: 1000;
  border: 1px solid var(--gray-200);
}
.search-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--gray-100);
  transition: background 0.15s;
}
.search-item:hover {
  background: var(--primary-light);
}
.search-item img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--gray-200);
}
.search-item-info {
  flex: 1;
}
.search-item-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
}
.search-item-sku {
  font-size: 11px;
  color: var(--gray-400);
}
.search-item-price {
  font-size: 13px;
  font-weight: 700;
  color: var(--secondary-dark);
}

/* HEADER ACTIONS */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.action-hotline {
  display: none;
  align-items: center;
  gap: 10px;
}
@media (min-width: 992px) {
  .action-hotline {
    display: flex;
  }
}
.hotline-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffedd5;
  color: var(--secondary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.hotline-text span {
  display: block;
  font-size: 11px;
  color: var(--gray-600);
}
.hotline-text strong {
  font-size: 15px;
  color: var(--secondary-dark);
}

.action-cart {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--primary-light);
  color: var(--primary-dark);
  border-radius: 20px;
  font-weight: 600;
  font-size: 14px;
}
.cart-badge {
  background: var(--secondary);
  color: #fff;
  border-radius: 10px;
  padding: 2px 7px;
  font-size: 11px;
}

/* ==========================================================================
   ACTION ACCOUNT (AUTH HEADER TRIGGER & POPOVER)
   ========================================================================== */
.action-account {
  position: relative;
  display: flex;
  align-items: center;
}

.account-link-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 20px;
  background: rgba(2, 132, 199, 0.08);
  border: 1px solid rgba(2, 132, 199, 0.2);
  transition: all 0.2s ease;
  user-select: none;
}

.account-link-btn:hover {
  background: rgba(2, 132, 199, 0.16);
  border-color: rgba(2, 132, 199, 0.35);
}

.account-icon-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #0284c7;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.account-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.account-sub {
  font-size: 11px;
  color: #64748b;
  font-weight: 500;
}

.account-name {
  font-size: 13px;
  font-weight: 700;
  color: #002f5c;
  white-space: nowrap;
}

/* POPOVER DROPDOWN */
.dn360-account-popover {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 260px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 1000;
  padding: 14px;
}

.action-account:hover .dn360-account-popover,
.action-account:focus-within .dn360-account-popover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.account-popover-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 10px;
}

.account-popover-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e0f2fe;
  color: #0284c7;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.account-popover-user {
  overflow: hidden;
}

.account-popover-user strong {
  display: block;
  font-size: 13.5px;
  color: #002f5c;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.account-popover-user span {
  display: block;
  font-size: 11.5px;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.account-popover-menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.popover-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.popover-item:hover {
  background: #f8fafc;
  color: #0284c7;
}

.popover-item.item-logout {
  color: #ef4444;
  margin-top: 4px;
  border-top: 1px solid #f1f5f9;
  padding-top: 8px;
}

.popover-item.item-logout:hover {
  background: #fef2f2;
}

/* GUEST POPOVER */
.account-popover-guest .guest-title {
  font-size: 14px;
  font-weight: 800;
  color: #002f5c;
  margin-bottom: 4px;
}

.account-popover-guest .guest-desc {
  font-size: 12px;
  color: #64748b;
  line-height: 1.45;
  margin: 0 0 12px;
}

.popover-btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  background: linear-gradient(135deg, #002f5c 0%, #0284c7 100%);
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.25);
}

.popover-btn-primary:hover {
  filter: brightness(1.08);
}

.guest-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 12px;
}

.guest-link {
  color: #0284c7;
  font-weight: 600;
  text-decoration: none;
}

.guest-link:hover {
  text-decoration: underline;
}

.guest-link.highlight {
  color: #b8621b;
}

.guest-divider {
  color: #cbd5e1;
}

/* MOBILE DRAWER ACCOUNT BOX */
.mobile-drawer-account-box {
  margin: 0 16px 16px;
  padding: 14px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.drawer-user-info {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.drawer-user-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #0284c7;
  color: #ffffff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.drawer-user-text strong {
  display: block;
  font-size: 13.5px;
  color: #002f5c;
}

.drawer-user-text span {
  display: block;
  font-size: 11px;
  color: #64748b;
}

.drawer-account-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.drawer-acc-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #0f172a;
  text-decoration: none;
}

.drawer-acc-btn.btn-logout {
  padding: 7px 10px;
  color: #dc2626;
  border-color: #fecaca;
  background: #fef2f2;
}

.drawer-guest-banner {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.drawer-guest-content strong {
  display: block;
  font-size: 13px;
  color: #002f5c;
}

.drawer-guest-content span {
  display: block;
  font-size: 11.5px;
  color: #64748b;
}

.drawer-guest-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.drawer-btn-login {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px;
  border-radius: 6px;
  background: #002f5c;
  color: #ffffff !important;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
}

.drawer-btn-track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px;
  border-radius: 6px;
  background: #fff7ed;
  border: 1px solid #ffedd5;
  color: #ea580c !important;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
}

/* NAVIGATION MENU (SEO SILO DROPDOWNS) */
.site-nav {
  background: var(--primary-dark);
  color: var(--white);
  position: relative;
  z-index: 95;
}
.nav-menu {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 2px;
  overflow-x: visible;
}
@media (max-width: 991px) {
  .nav-menu {
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 4px;
  }
}
.nav-menu > li {
  position: relative;
}
.nav-menu > li > a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--white);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: all 0.2s ease;
}
.nav-menu > li:hover > a,
.nav-menu > li.active > a {
  background: rgba(255, 255, 255, 0.18);
  color: #fed7aa;
}
.nav-arrow {
  font-size: 10px;
  opacity: 0.8;
  transition: transform 0.2s ease;
}
.nav-menu > li:hover .nav-arrow {
  transform: rotate(180deg);
}

/* DROPDOWN MENU */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 270px;
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.18);
  border: 1px solid var(--gray-200);
  list-style: none;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
}
.nav-menu > li:hover > .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown li {
  margin-bottom: 2px;
}
.nav-dropdown li a {
  display: block;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--dark) !important;
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
  white-space: normal;
}
.nav-dropdown li a:hover {
  background: var(--primary-light) !important;
  color: var(--primary-dark) !important;
  transform: translateX(4px);
}
.nav-badge-link {
  background: rgba(249, 115, 22, 0.25) !important;
  color: #ffedd5 !important;
  border: 1px solid rgba(249, 115, 22, 0.5);
  border-radius: var(--radius-full) !important;
}
.nav-badge-link:hover {
  background: var(--secondary) !important;
  color: #ffffff !important;
}

/* HERO SECTION */
.hero-section {
  padding: 24px 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 2fr 1fr;
  }
}
.hero-banner {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: var(--white);
  border-radius: 16px;
  padding: 36px 30px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.hero-banner h2 {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 12px;
}
.hero-banner p {
  font-size: 15px;
  color: #e0f2fe;
  max-width: 500px;
  margin-bottom: 24px;
}
.hero-btn {
  display: inline-block;
  background: var(--secondary);
  color: var(--white);
  font-weight: 700;
  padding: 12px 26px;
  border-radius: 25px;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.4);
}
.hero-btn:hover {
  background: var(--secondary-dark);
  transform: translateY(-2px);
}

.hero-sidebar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.feature-card {
  background: var(--white);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
}
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.feature-info h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
}
.feature-info p {
  font-size: 12px;
  color: var(--gray-600);
}

/* SECTION TITLES */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 32px 0 16px 0;
  border-bottom: 2px solid var(--gray-200);
  padding-bottom: 10px;
}
.section-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary-dark);
  position: relative;
}
.section-title::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--secondary);
}
.view-all-link {
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
}
.view-all-link:hover {
  color: var(--secondary);
}

/* CATEGORY GRID */
.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 640px) {
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1024px) {
  .category-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}
.category-card {
  background: var(--white);
  border-radius: 12px;
  padding: 16px 12px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: all 0.2s;
}
.category-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}
.category-icon {
  font-size: 32px;
  margin-bottom: 8px;
}
.category-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
}

/* PRODUCT GRID (BASE & RESPONSIVE) */
.product-grid,
.products-grid,
ul.products {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 768px) {
  .product-grid,
  .products-grid,
  ul.products {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}
@media (min-width: 1024px) {
  .product-grid,
  .products-grid,
  ul.products {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}
.product-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
  position: relative;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.product-thumb {
  position: relative;
  padding-top: 100%;
  background: #f8fafc;
  overflow: hidden;
}
.product-thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  transition: transform 0.3s;
}
.product-card:hover .product-thumb img {
  transform: scale(1.05);
}
.product-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--secondary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  z-index: 2;
}
.product-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-sku {
  font-size: 11px;
  color: var(--gray-400);
  font-family: monospace;
  margin-bottom: 4px;
}
.product-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 38px;
}
.product-title:hover {
  color: var(--primary);
}
.product-price-row {
  margin-top: auto;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 10px;
}
.product-price {
  font-size: 16px;
  font-weight: 800;
  color: var(--secondary-dark);
}
.product-unit {
  font-size: 11px;
  color: var(--gray-600);
}
.product-actions {
  display: flex;
  gap: 6px;
}
.btn-add-cart {
  flex: 1;
  background: var(--primary-light);
  color: var(--primary-dark);
  border: none;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s;
}
.btn-add-cart:hover {
  background: var(--primary);
  color: #fff;
}
.btn-buy-now {
  background: var(--secondary);
  color: #fff;
  border: none;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.btn-buy-now:hover {
  background: var(--secondary-dark);
}

/* FOOTER */
.site-footer {
  background: #0b1329;
  color: #94a3b8;
  padding: 40px 0 20px 0;
  margin-top: 48px;
  font-size: 13px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
  }
}
.footer-col h4 {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 14px;
  position: relative;
}
.footer-col ul {
  list-style: none;
}
.footer-col ul li {
  margin-bottom: 8px;
}
.footer-col ul li a:hover {
  color: var(--secondary);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 16px;
  margin-top: 28px;
  text-align: center;
  font-size: 12px;
}

/* MOBILE BOTTOM BAR (DISABLED / REMOVED) */
.mobile-bottom-bar {
  display: none !important;
}
.bottom-bar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--gray-600);
  position: relative;
}
.bottom-bar-item.active {
  color: var(--primary);
}
.bottom-bar-item span.icon {
  font-size: 18px;
  margin-bottom: 2px;
}

/* SEARCH HOT TAGS */
.search-hot-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font-size: 11px;
  color: var(--gray-600);
  overflow-x: auto;
  white-space: nowrap;
}
.search-hot-tags span {
  font-weight: 700;
  color: var(--secondary-dark);
}
.search-hot-tags a {
  background: rgba(2, 132, 199, 0.08);
  color: var(--primary-dark);
  padding: 2px 8px;
  border-radius: 12px;
  transition: all 0.15s;
}
.search-hot-tags a:hover {
  background: var(--primary);
  color: #fff;
}

/* HERO SUB-BANNERS & COMMITMENTS */
.hero-tag {
  background: rgba(255, 255, 255, 0.2);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  display: inline-block;
  margin-bottom: 12px;
}
.highlight-text {
  color: #fde047;
  display: block;
}
.hero-btn-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-btn-alt {
  display: inline-block;
  background: #fff;
  color: var(--primary-dark);
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 25px;
  transition: all 0.2s;
}
.hero-btn-alt:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}
.hero-sub-banners {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.sub-banner-card {
  background: #fff;
  border-radius: 14px;
  padding: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  position: relative;
  transition: all 0.2s;
}
.sub-banner-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}
.sub-banner-card.banner-sino {
  border-left: 4px solid var(--primary);
}
.sub-banner-card.banner-tienphong {
  border-left: 4px solid var(--secondary);
}
.sub-badge {
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--primary-light);
  color: var(--primary-dark);
  margin-bottom: 6px;
  display: inline-block;
}
.banner-tienphong .sub-badge {
  background: #ffedd5;
  color: var(--secondary-dark);
}
.sub-banner-card h4 {
  font-size: 15px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 4px;
}
.sub-banner-card p {
  font-size: 12px;
  color: var(--gray-600);
  margin-bottom: 8px;
}
.sub-link {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
}

.commitments-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 20px;
}
@media (min-width: 992px) {
  .commitments-bar {
    grid-template-columns: repeat(4, 1fr);
  }
}
.commit-item {
  background: #fff;
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}
.commit-icon {
  font-size: 24px;
  flex-shrink: 0;
}
.commit-info strong {
  display: block;
  font-size: 13px;
  color: var(--dark);
}
.commit-info span {
  font-size: 11px;
  color: var(--gray-600);
}

/* SIDE CART DRAWER */
.side-cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 99990;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.side-cart-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.side-cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 440px;
  max-width: 92vw;
  background: #fff;
  z-index: 99991;
  box-shadow: -5px 0 30px rgba(0, 0, 0, 0.2);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}
.side-cart-drawer.open {
  transform: translateX(0);
}
.side-cart-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
}
.side-cart-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-dark);
}
.drawer-count-pill {
  background: var(--secondary);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 12px;
}
.side-cart-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #64748b;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  padding: 0;
}
.side-cart-close:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #0f172a;
  transform: scale(1.04);
}
.side-cart-body {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

/* SIDE CART EMPTY */
.side-cart-empty {
  padding: 64px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.side-cart-empty .empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 8px;
  background: #eff6ff;
  color: #1d4ed8;
  margin-bottom: 20px;
}
.side-cart-empty h4 {
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.side-cart-empty p {
  font-size: 13.5px;
  line-height: 1.5;
  color: #64748b;
  margin-bottom: 24px;
  max-width: 280px;
}
.btn-shop-now {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 20px;
  background: #1d4ed8;
  color: #ffffff !important;
  font-size: 13.5px;
  font-weight: 600;
  border-radius: 6px !important;
  box-shadow: 0 1px 3px rgba(29, 78, 216, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none !important;
  white-space: nowrap;
}
.btn-shop-now:hover {
  background: #1e40af;
  box-shadow: 0 4px 12px rgba(29, 78, 216, 0.3);
  transform: translateY(-1px);
  color: #ffffff !important;
}
.btn-shop-now:active {
  transform: translateY(0);
}
.btn-shop-now .btn-shop-now-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.btn-shop-now .btn-shop-now-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.btn-shop-now:hover .btn-shop-now-arrow {
  transform: translateX(3px);
}

/* SIDE CART ITEMS */
.side-cart-items-list {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.drawer-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gray-100);
  position: relative;
}
.drawer-item-img {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  border: 1px solid var(--gray-200);
  overflow: hidden;
  flex-shrink: 0;
  background: #f8fafc;
}
.drawer-item-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.drawer-item-details {
  flex: 1;
}
.drawer-item-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.35;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.drawer-item-sku {
  font-size: 10px;
  color: var(--gray-400);
  font-family: monospace;
}
.drawer-item-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}
.drawer-item-price {
  font-size: 14px;
  font-weight: 800;
  color: var(--secondary-dark);
}
.drawer-qty-control {
  display: inline-flex;
  align-items: center;
  height: 30px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.drawer-qty-control button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 100%;
  background: transparent;
  border: none;
  cursor: pointer;
  color: #64748b;
  transition: all 0.15s ease;
  padding: 0;
}
.drawer-qty-control button:hover {
  background: #f1f5f9;
  color: #0f172a;
}
.drawer-qty-control button:active {
  background: #e2e8f0;
}
.drawer-qty-control .qty-number {
  min-width: 26px;
  text-align: center;
  font-size: 12.5px;
  font-weight: 600;
  color: #0f172a;
  padding: 0 4px;
  user-select: none;
}
.btn-remove-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  color: #94a3b8;
  transition: all 0.2s ease;
  padding: 0;
  flex-shrink: 0;
}
.btn-remove-item:hover {
  background: #fef2f2;
  border-color: #fee2e2;
  color: #dc2626;
  transform: scale(1.05);
}

/* SIDE CART FOOTER */
.side-cart-footer {
  margin-top: auto;
  border-top: 1px solid var(--gray-200);
  padding: 16px 20px;
  background: #f8fafc;
}
.cart-shipping-notice {
  font-size: 12.5px;
  color: #15803d;
  font-weight: 600;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  gap: 8px !important;
  margin-bottom: 14px !important;
  background: #f0fdf4 !important;
  padding: 9px 14px !important;
  border: 1px solid #bbf7d0 !important;
  border-radius: 10px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}
.cart-shipping-notice svg {
  width: 16px !important;
  height: 16px !important;
  color: #16a34a !important;
  flex-shrink: 0 !important;
}
.cart-subtotal-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-size: 15px;
  margin-bottom: 16px;
}
.cart-subtotal-amount {
  font-size: 20px;
  font-weight: 800;
  color: #b8621b;
}
.side-cart-cta-box {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}
.btn-drawer-checkout {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  width: 100% !important;
  height: 48px !important;
  padding: 0 20px !important;
  background: #b8621b !important;
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em !important;
  text-transform: uppercase !important;
  border-radius: 10px !important;
  border: none !important;
  box-shadow: 0 3px 12px rgba(184, 98, 27, 0.3) !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
}
.btn-drawer-checkout:hover {
  background: #9f4f11 !important;
  box-shadow: 0 5px 16px rgba(184, 98, 27, 0.4) !important;
  transform: translateY(-1px) !important;
  color: #ffffff !important;
}
.btn-drawer-checkout:active {
  transform: translateY(0) !important;
}
.btn-drawer-checkout svg {
  width: 18px !important;
  height: 18px !important;
  color: #ffffff !important;
  flex-shrink: 0 !important;
}
.btn-drawer-cart-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  width: 100% !important;
  height: 48px !important;
  padding: 0 20px !important;
  background: #002f5c !important;
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em !important;
  text-transform: uppercase !important;
  border-radius: 10px !important;
  border: none !important;
  box-shadow: 0 3px 12px rgba(0, 47, 92, 0.25) !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
}
.btn-drawer-cart-link:hover {
  background: #001e3d !important;
  box-shadow: 0 5px 16px rgba(0, 47, 92, 0.35) !important;
  transform: translateY(-1px) !important;
  color: #ffffff !important;
}
.btn-drawer-cart-link:active {
  transform: translateY(0) !important;
}
.btn-drawer-cart-link svg {
  width: 18px !important;
  height: 18px !important;
  color: #ffffff !important;
  flex-shrink: 0 !important;
}

/* ONE-PAGE CHECKOUT STYLING */
.checkout-page-container {
  max-width: 1140px;
  margin: 24px auto;
  padding: 0 16px;
}
.checkout-header-banner {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 24px;
  text-align: center;
}
.checkout-header-banner h2 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 6px;
}
.checkout-header-banner p {
  font-size: 13px;
  color: #e0f2fe;
}
.checkout-grid-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 992px) {
  .checkout-grid-layout {
    grid-template-columns: 1.6fr 1.1fr;
  }
}
.checkout-card {
  background: #fff;
  border-radius: 14px;
  padding: 24px;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}
.card-step-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--gray-100);
  padding-bottom: 12px;
}
.card-step-title .step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-step-title h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--dark);
}

/* WOOCOMMERCE FORM FIELDS OVERRIDE */
.checkout-card .form-row {
  margin-bottom: 14px;
}
.checkout-card label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}
.checkout-card input.input-text,
.checkout-card select,
.checkout-card textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  font-size: 14px;
  outline: none;
  transition: all 0.2s;
  background: #f8fafc;
}
.checkout-card input.input-text:focus,
.checkout-card textarea:focus {
  background: #fff;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

/* ORDER SUMMARY CARD */
.order-summary-card {
  position: sticky;
  top: 90px;
  background: #fff;
}
.order-summary-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--primary-dark);
  border-bottom: 2px solid var(--gray-100);
  padding-bottom: 12px;
  margin-bottom: 16px;
}
.checkout-order-items-list {
  max-height: 280px;
  overflow-y: auto;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--gray-100);
  padding-bottom: 12px;
}
.checkout-item-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.checkout-item-thumb {
  position: relative;
  width: 50px;
  height: 50px;
  border-radius: 6px;
  border: 1px solid var(--gray-200);
  flex-shrink: 0;
  background: #f8fafc;
}
.checkout-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.checkout-item-qty {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--gray-600);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  border-radius: 10px;
  padding: 1px 5px;
}
.checkout-item-name {
  flex: 1;
  font-size: 12px;
  line-height: 1.35;
}
.checkout-item-sku {
  font-size: 10px;
  color: var(--gray-400);
  font-family: monospace;
}
.checkout-item-total {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
}
.checkout-totals-summary {
  margin-bottom: 20px;
}
.totals-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  margin-bottom: 8px;
  color: var(--gray-600);
}
.totals-row.total-highlight {
  border-top: 1.5px dashed var(--gray-200);
  padding-top: 12px;
  margin-top: 12px;
  font-size: 16px;
  color: var(--dark);
}
.final-price {
  font-size: 22px;
  font-weight: 800;
  color: var(--secondary-dark);
}
.btn-confirm-order {
  width: 100%;
  background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 14px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(234, 88, 12, 0.4);
  letter-spacing: 0.5px;
  transition: all 0.2s;
}
.btn-confirm-order:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(234, 88, 12, 0.5);
}
.checkout-trust-badges {
  margin-top: 16px;
  font-size: 12px;
  color: var(--gray-600);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* ===================================================
   UNIFIED RADIUS, HOVER & UI CARDS REFINEMENTS
   =================================================== */
.product-card {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px -4px rgba(15, 23, 42, 0.12);
  border-color: #bae6fd;
}
.product-thumb {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #f8fafc;
}
.product-thumb img {
  border-radius: var(--radius-md);
  transition: transform 0.3s ease;
  object-fit: contain;
}
.product-card:hover .product-thumb img {
  transform: scale(1.04);
}
.category-card {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: all 0.25s ease;
}
.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px -4px rgba(2, 132, 199, 0.15);
  border-color: var(--primary);
}
.commitment-card, .commitment-item {
  border-radius: var(--radius-md);
}
.header-search .search-input {
  border-radius: var(--radius-full);
}
.search-btn {
  border-radius: var(--radius-full);
}
.btn-add-cart, .btn-buy-now {
  border-radius: var(--radius-sm);
  font-weight: 700;
}

/* ===================================================
   SINGLE PRODUCT PAGE STYLING (FIX BUTTONS & LAYOUT)
   =================================================== */
.product-detail-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--gray-200);
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 992px) {
  .product-detail-grid {
    grid-template-columns: 1fr 1.35fr !important;
    gap: 40px !important;
    align-items: start;
  }
}
.product-detail-image-box {
  display: flex;
  flex-direction: column;
}
.product-detail-image-inner {
  background: #f8fafc;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  text-align: center;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
}
.product-detail-image-inner img {
  max-height: 400px;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.product-detail-image-inner:hover img {
  transform: scale(1.03);
}

.product-detail-info {
  display: flex;
  flex-direction: column;
}
.product-detail-category {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.product-detail-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.35;
  margin-bottom: 14px;
}
.product-detail-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: center;
  font-size: 13px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--gray-100);
  padding-bottom: 14px;
}
.meta-sku-tag {
  background: var(--primary-light);
  color: var(--primary-dark);
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  font-size: 13px;
}
.meta-sku-tag strong {
  font-family: monospace;
  font-size: 14px;
}
.meta-stock-tag {
  color: var(--gray-600);
}
.stock-status-in {
  color: var(--green);
  font-weight: 700;
}

/* PRICE BOX */
.product-detail-price-box {
  background: linear-gradient(135deg, #f8fafc, #f1f5f9);
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1.5px solid var(--gray-200);
  margin-bottom: 24px;
}
.price-box-label {
  font-size: 12px;
  color: var(--gray-600);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}
.price-box-value {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.price-amount-large {
  font-size: 32px;
  font-weight: 800;
  color: var(--secondary-dark);
  line-height: 1.1;
}
.price-unit-tag {
  font-size: 15px;
  color: var(--gray-600);
  font-weight: 600;
}
.price-box-discount-tip {
  font-size: 13px;
  color: var(--primary-dark);
  margin-top: 10px;
  line-height: 1.5;
  background: #ffffff;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--secondary);
}

/* ACTIONS FORM & BUTTONS (FIX FOR SINGLE PRODUCT) */
.single-product-cart-form {
  margin-bottom: 24px;
}
.single-qty-row {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 20px;
}
.single-qty-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
}
.single-qty-wrapper {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.btn-single-qty-minus,
.btn-single-qty-plus {
  width: 40px;
  height: 40px;
  background: #f1f5f9;
  border: none;
  font-size: 18px;
  font-weight: 800;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}
.btn-single-qty-minus:hover,
.btn-single-qty-plus:hover {
  background: var(--primary);
  color: #ffffff;
}
.single-qty-input {
  width: 60px;
  height: 40px;
  border: none;
  background: transparent;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  color: var(--dark);
  outline: none;
}

.single-actions-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn-single-add {
  flex: 1 1 calc(50% - 6px);
  min-width: 140px;
  background: linear-gradient(135deg, #0284c7, #0369a1);
  color: #ffffff !important;
  padding: 13px 18px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2px;
  white-space: nowrap;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
  transition: all 0.2s ease;
}
.btn-single-add:hover {
  background: linear-gradient(135deg, #0369a1, #075985);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.45);
}
.btn-single-buy {
  flex: 1 1 calc(50% - 6px);
  min-width: 140px;
  background: linear-gradient(135deg, #ea580c, #f97316);
  color: #ffffff !important;
  padding: 13px 18px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2px;
  white-space: nowrap;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.35);
  transition: all 0.2s ease;
}
.btn-single-buy:hover {
  background: linear-gradient(135deg, #c2410c, #ea580c);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(234, 88, 12, 0.5);
}
.btn-single-zalo {
  width: 100%;
  background: #0068ff;
  color: #ffffff !important;
  padding: 13px 20px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(0, 104, 255, 0.25);
  transition: all 0.2s ease;
}
.btn-single-zalo:hover {
  background: #0052cc;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 104, 255, 0.35);
}

/* SINGLE COMMITMENTS GRID */
.single-commitments-grid {
  border-top: 1px solid var(--gray-100);
  padding-top: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 640px) {
  .single-commitments-grid {
    grid-template-columns: 1fr;
  }
}
.commitment-badge-item {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 13px;
  color: #166534;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ===================================================
   STANDARD SEO CONTENT PAGES (page.php)
   =================================================== */
.page-main-layout {
  padding: 24px 0 40px;
}
.page-breadcrumbs {
  font-size: 13px;
  color: var(--gray-400);
  margin-bottom: 20px;
}
.page-breadcrumbs a {
  color: var(--primary);
}
.page-grid-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}
@media (min-width: 992px) {
  .page-grid-layout {
    grid-template-columns: 2.3fr 1fr;
  }
}
.page-article-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 32px 36px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--gray-200);
}
.page-header {
  border-bottom: 2px solid var(--gray-100);
  padding-bottom: 16px;
  margin-bottom: 24px;
}
.page-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.3;
  margin-bottom: 8px;
}
.page-meta {
  font-size: 13px;
  color: var(--gray-400);
  display: flex;
  gap: 10px;
  align-items: center;
}
.page-entry-content {
  font-size: 15px;
  line-height: 1.8;
  color: #334155;
}
.page-entry-content h2 {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary-dark);
  margin: 24px 0 12px;
}
.page-entry-content h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
  margin: 20px 0 10px;
}
.page-entry-content p {
  margin-bottom: 16px;
}
.page-entry-content ul, .page-entry-content ol {
  margin: 12px 0 20px 24px;
}
.page-entry-content li {
  margin-bottom: 8px;
}
.page-entry-content .lead {
  font-size: 16px;
  font-weight: 500;
  color: #1e293b;
  line-height: 1.7;
}

.page-callout-box {
  background: #f0f9ff;
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 20px;
  margin: 24px 0;
}
.page-callout-box h3 {
  color: var(--primary-dark);
  margin-top: 0;
}
.contact-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 20px 0;
}
@media (max-width: 640px) {
  .contact-cards-grid {
    grid-template-columns: 1fr;
  }
}
.contact-card {
  background: #f8fafc;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 18px;
}
.contact-icon {
  font-size: 24px;
  margin-bottom: 8px;
}
.contact-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}
.contact-card .sub-text {
  font-size: 12px;
  color: var(--gray-400);
  margin-top: 4px;
  margin-bottom: 0;
}

/* PAGE SIDEBAR SILO */
.page-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.sidebar-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--gray-200);
}
.sidebar-box-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--dark);
  border-bottom: 1.5px solid var(--gray-100);
  padding-bottom: 10px;
  margin-bottom: 14px;
}
.sidebar-links-list {
  list-style: none;
}
.sidebar-links-list li {
  margin-bottom: 8px;
}
.sidebar-links-list li a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-600);
  transition: all 0.15s ease;
}
.sidebar-links-list li a:hover,
.sidebar-links-list li.active a {
  background: var(--primary-light);
  color: var(--primary-dark);
  font-weight: 700;
  transform: translateX(4px);
}
.sidebar-cta-card {
  background: linear-gradient(135deg, #0369a1, #0284c7);
  color: #ffffff;
  border: none;
}
.sidebar-cta-card h4 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 8px;
}
.sidebar-cta-card p {
  font-size: 13px;
  opacity: 0.9;
  margin-bottom: 14px;
  line-height: 1.5;
}
.sidebar-hotline {
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 12px;
  text-align: center;
  margin-bottom: 14px;
}
.sidebar-hotline span {
  display: block;
  font-size: 12px;
  opacity: 0.85;
}
.sidebar-hotline a {
  font-size: 20px;
  font-weight: 800;
  color: #fed7aa;
}
.btn-sidebar-zalo {
  display: block;
  width: 100%;
  text-align: center;
  background: #ffffff;
  color: var(--primary-dark) !important;
  font-weight: 800;
  font-size: 14px;
  padding: 12px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
}
.btn-sidebar-zalo:hover {
  background: #ffedd5;
  color: var(--secondary-dark) !important;
  transform: translateY(-2px);
}

/* =======================================================
   RESPONSIVE DESIGN SYSTEM & MOBILE DRAWER (TABLET & MOBILE)
   ======================================================= */

/* 1. MOBILE MENU TOGGLE (HAMBURGER) */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: #f1f5f9;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 8px;
  transition: all 0.2s ease;
}
.mobile-menu-toggle:hover {
  background: var(--primary-light);
  border-color: var(--primary);
}
.mobile-menu-toggle .hamburger-bar {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--dark);
  border-radius: 2px;
  transition: all 0.2s ease;
}

/* 2. MOBILE MENU DRAWER (OFFCANVAS) */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(2px);
  z-index: 99998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.mobile-menu-overlay.open {
  opacity: 1;
  visibility: visible;
}
.mobile-menu-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 320px;
  max-width: 85vw;
  background: #ffffff;
  z-index: 99999;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: 8px 0 24px rgba(0, 0, 0, 0.15);
}
.mobile-menu-drawer.open {
  transform: translateX(0);
}
.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: var(--dark);
  color: #ffffff;
}
.mobile-menu-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 16px;
  color: #ffffff;
}
.mobile-menu-close {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.mobile-menu-close:hover {
  background: rgba(255, 255, 255, 0.3);
}
.mobile-menu-body {
  padding: 20px;
  overflow-y: auto;
  flex: 1;
}
.mobile-menu-search form {
  display: flex;
  margin-bottom: 20px;
}
.mobile-search-input {
  flex: 1;
  padding: 10px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  font-size: 13px;
  outline: none;
  background: #f8fafc;
}
.mobile-search-input:focus {
  background: #fff;
  border-color: var(--primary);
}
.mobile-search-btn {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 0 16px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  cursor: pointer;
}
.mobile-menu-group-title {
  font-size: 11px;
  font-weight: 800;
  color: var(--gray-400);
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--gray-100);
  padding-bottom: 6px;
}
.mobile-nav-list {
  list-style: none;
  margin-bottom: 24px;
}
.mobile-nav-list li a {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-700);
  transition: color 0.15s;
}
.mobile-nav-list li a:hover {
  color: var(--primary);
}
.mobile-menu-hotline {
  background: #f8fafc;
  border-radius: var(--radius-md);
  padding: 16px;
  border: 1px solid var(--gray-200);
  text-align: center;
}
.mobile-hotline-btn {
  display: block;
  background: linear-gradient(135deg, #ea580c, #f97316);
  color: #ffffff !important;
  font-weight: 800;
  font-size: 14px;
  padding: 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  box-shadow: 0 3px 10px rgba(234, 88, 12, 0.3);
}
.mobile-zalo-btn {
  display: block;
  background: #0068ff;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 13px;
  padding: 10px;
  border-radius: var(--radius-sm);
  box-shadow: 0 3px 10px rgba(0, 104, 255, 0.25);
}

/* 3. RESPONSIVE TABLE WRAPPER & SPECIFICATIONS */
.table-responsive-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 20px;
  border-radius: var(--radius-sm);
}
.product-specs-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--gray-200);
  margin-top: 24px;
}
.product-specs-title {
  font-size: 16px;
  font-weight: 800;
  color: #0369a1;
  border-bottom: 2px solid var(--gray-100);
  padding-bottom: 10px;
  margin-bottom: 16px;
}
.product-specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  min-width: 440px;
}

/* 4. MEDIA QUERIES BREAKPOINTS */

/* Tablet & Smaller (<= 1024px) */
@media (max-width: 1024px) {
  .topbar-announce {
    display: none;
  }
  .topbar .container {
    justify-content: center;
    font-size: 12px;
  }
  .mobile-menu-toggle {
    display: flex;
    order: 1;
  }
  .site-nav {
    display: none; /* Hide horizontal desktop menu on tablet/mobile */
  }
  .action-hotline {
    display: none;
  }
  .site-logo {
    gap: 8px;
    order: 2;
    flex: 1;
  }
  .logo-badge {
    width: 38px;
    height: 38px;
    font-size: 18px;
  }
  .logo-text h1 {
    font-size: 17px;
  }
  .logo-text span {
    font-size: 10px;
    white-space: nowrap;
  }
  .header-actions {
    order: 3;
    display: flex;
    align-items: center;
  }
  .header-search {
    order: 4;
    width: 100%;
    max-width: 100%;
    margin-top: 6px;
  }
  .search-hot-tags {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 2px;
  }
  .search-hot-tags::-webkit-scrollbar {
    display: none;
  }
  .page-layout-grid {
    grid-template-columns: 1fr !important;
    gap: 24px;
  }
  .page-sidebar {
    order: 2;
  }
}

/* Tablet Devices (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 16px !important;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 24px !important;
  }
  .product-detail-card {
    grid-template-columns: 1fr 1fr !important;
    gap: 24px !important;
    padding: 24px !important;
  }
}

/* Mobile Devices (< 768px) */
@media (max-width: 767px) {
  .topbar {
    display: none !important;
  }
  .container {
    padding: 0 12px;
  }
  .site-header {
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  }
  .header-main {
    padding: 8px 0;
  }
  .action-cart {
    padding: 6px 12px 6px 8px !important;
    gap: 10px !important;
  }
  .action-cart .cart-text-wrap {
    display: none !important;
  }
  .action-cart .cart-icon-symbol {
    font-size: 18px !important;
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  .product-card {
    border-radius: var(--radius-sm);
  }
  .product-card-body {
    padding: 10px;
  }
  .product-card-title {
    font-size: 13px;
    height: 36px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .product-card-price {
    font-size: 14px;
  }
  .product-card-bottom {
    display: flex;
    gap: 6px;
    margin-top: 8px;
  }
  .btn-add-cart,
  .btn-view-detail {
    padding: 8px 4px;
    font-size: 11px;
    border-radius: var(--radius-xs);
    white-space: nowrap;
  }
  .product-detail-card {
    grid-template-columns: 1fr !important;
    padding: 16px !important;
    gap: 20px !important;
  }
  .single-commitments-grid {
    grid-template-columns: 1fr !important;
    gap: 8px;
  }
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .hero-banner {
    padding: 28px 16px !important;
    border-radius: var(--radius-md) !important;
  }
  .hero-banner h2 {
    font-size: 22px !important;
    line-height: 1.3 !important;
  }
  .hero-banner p {
    font-size: 13px !important;
  }
  .breadcrumb-nav {
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    font-size: 12px;
    padding: 8px 0;
  }
  .breadcrumb-nav::-webkit-scrollbar {
    display: none;
  }
}

/* =======================================================
   MODERN ECOMMERCE STOREFRONT DESIGN SYSTEM (PRO THEME)
   ======================================================= */

/* TOPBAR ITEMS */
.topbar-contact {
  display: flex;
  align-items: center;
  gap: 16px;
}
.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.topbar-item.highlight {
  color: #fed7aa !important;
}
.topbar-item.highlight strong {
  color: #fb923c;
}

/* HEADER CART ENHANCEMENT */
.action-cart {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--primary-light);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  position: relative;
  transition: all 0.2s ease;
  border: 1.5px solid rgba(2, 132, 199, 0.2);
}
.action-cart:hover {
  background: #bae6fd;
  transform: translateY(-1px);
}
.cart-text-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.cart-label-text {
  font-size: 11px;
  font-weight: 600;
  color: var(--gray-600);
}
.cart-amount {
  font-size: 13px;
  font-weight: 800;
  color: var(--primary-dark);
}
.search-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 16px;
}
.search-btn-text {
  font-size: 13px;
  font-weight: 700;
  display: none;
}
@media (min-width: 992px) {
  .search-btn-text {
    display: inline;
  }
}

/* ALL CATEGORIES BUTTON IN NAV */
.nav-all-cats > a.all-cats-trigger {
  background: #0369a1 !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  letter-spacing: 0.3px;
  border-radius: 8px 8px 0 0;
  padding: 12px 18px !important;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.2);
}
.nav-all-cats > a.all-cats-trigger:hover {
  background: #0284c7 !important;
  color: #ffffff !important;
}
.nav-all-cats .nav-bars-icon {
  font-size: 16px;
}
.nav-highlight-deal {
  color: #fef08a !important;
  font-weight: 700 !important;
}
.nav-quote-pill {
  margin-left: auto;
}
.nav-quote-pill a {
  background: #ea580c !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  border-radius: var(--radius-full) !important;
  box-shadow: 0 3px 10px rgba(234, 88, 12, 0.35);
}
.nav-quote-pill a:hover {
  background: #c2410c !important;
  transform: translateY(-1px);
}

/* 1. HERO SECTION (3-COLUMN ECOMMERCE GRID) */
.ecom-hero-section {
  padding: 16px 0 20px 0;
}
.ecom-hero-grid {
  display: grid;
  grid-template-columns: 260px 1fr 280px;
  gap: 16px;
  align-items: stretch;
}
.hero-category-sidebar {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.category-sidebar-header {
  background: linear-gradient(135deg, #0369a1, #0284c7);
  color: #ffffff;
  padding: 12px 16px;
  font-size: 13.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.3px;
}
.hero-cat-list {
  list-style: none;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.hero-cat-list li {
  border-bottom: 1px solid #f1f5f9;
}
.hero-cat-list li:last-child {
  border-bottom: none;
}
.hero-cat-list li a {
  display: flex;
  align-items: center;
  padding: 11px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
  transition: all 0.15s ease;
}
.hero-cat-list li a:hover {
  background: #f0f9ff;
  color: var(--primary);
  padding-left: 18px;
}
.hero-cat-list .cat-icon {
  margin-right: 10px;
  font-size: 16px;
}
.hero-cat-list .cat-name {
  flex: 1;
}
.hero-cat-list .cat-arrow {
  color: var(--gray-400);
  font-size: 14px;
}
.hero-cat-list .cat-all-item a {
  background: #f8fafc;
  color: var(--primary-dark);
  font-weight: 700;
}

/* CENTER MAIN BANNER */
.hero-main-slider {
  display: flex;
}
.hero-slide-banner {
  flex: 1;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(2, 132, 199, 0.25);
  position: relative;
  overflow: hidden;
}
.hero-slide-banner::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-slide-badge {
  display: inline-block;
  align-self: flex-start;
  background: #ea580c;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
  box-shadow: 0 3px 8px rgba(234, 88, 12, 0.4);
}
.hero-slide-title {
  font-size: 26px;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 12px;
  color: #ffffff;
}
.hero-slide-title .text-gradient {
  color: #fef08a;
}
.hero-slide-desc {
  font-size: 14px;
  color: #e0f2fe;
  line-height: 1.6;
  max-width: 520px;
  margin-bottom: 24px;
}
.hero-slide-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn-hero-primary {
  background: linear-gradient(135deg, #ea580c, #f97316);
  color: #ffffff !important;
  font-weight: 800;
  font-size: 14px;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.4);
  transition: all 0.2s ease;
}
.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(234, 88, 12, 0.5);
}
.btn-hero-secondary {
  background: rgba(255, 255, 255, 0.15);
  border: 1.5px solid #ffffff;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  backdrop-filter: blur(4px);
  transition: all 0.2s ease;
}
.btn-hero-secondary:hover {
  background: #ffffff;
  color: #0369a1 !important;
  transform: translateY(-2px);
}

/* RIGHT SIDE PROMOS */
.hero-side-promos {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.side-promo-card {
  flex: 1;
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 18px;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.side-promo-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}
.side-promo-card .promo-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  background: #ffedd5;
  color: #c2410c;
  margin-bottom: 8px;
}
.side-promo-card .promo-badge.badge-green {
  background: #dcfce7;
  color: #15803d;
}
.side-promo-card h4 {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 6px;
  line-height: 1.3;
}
.side-promo-card p {
  font-size: 12px;
  color: var(--gray-600);
  line-height: 1.5;
  margin-bottom: 12px;
}
.side-promo-card .promo-link {
  font-size: 12.5px;
  font-weight: 700;
  color: #0284c7;
}

/* 2. TRUST COMMITMENTS BAR */
.ecom-trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  padding: 18px 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.trust-icon {
  font-size: 26px;
  width: 44px;
  height: 44px;
  background: #f0f9ff;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.trust-text {
  display: flex;
  flex-direction: column;
}
.trust-text strong {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--dark);
}
.trust-text span {
  font-size: 11.5px;
  color: var(--gray-500);
}

/* 3. FLASH SALE SECTION */
.ecom-flash-sale-section {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 2px solid #ef4444;
  overflow: hidden;
  margin-bottom: 30px;
  box-shadow: 0 4px 20px rgba(239, 68, 68, 0.12);
}
.flash-sale-header {
  background: linear-gradient(135deg, #dc2626, #ea580c);
  color: #ffffff;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.flash-sale-title-group {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.flash-sale-fire {
  font-size: 24px;
  animation: flamePulse 1.5s infinite;
}
@keyframes flamePulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}
.flash-sale-title {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.5px;
  color: #ffffff;
  margin: 0;
}
.flash-sale-timer {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
}
.flash-sale-timer .time-box {
  background: #0f172a;
  color: #fef08a;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 800;
  min-width: 28px;
  text-align: center;
}
.flash-sale-view-all {
  color: #ffffff !important;
  font-weight: 700;
  font-size: 13px;
  background: rgba(255, 255, 255, 0.2);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  transition: background 0.15s;
}
.flash-sale-view-all:hover {
  background: rgba(255, 255, 255, 0.35);
}
.flash-sale-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  padding: 18px;
}

/* PRODUCT CARD PROGRESS BAR */
.product-card-progress {
  margin-top: 6px;
  margin-bottom: 6px;
}
.progress-track {
  height: 6px;
  background: #fee2e2;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 3px;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #ea580c, #ef4444);
  border-radius: 4px;
}
.progress-text {
  font-size: 10.5px;
  font-weight: 700;
  color: #dc2626;
  display: block;
}

/* 4. FEATURED CATEGORIES SHOWCASE */
.ecom-category-showcase {
  margin-bottom: 32px;
}
.section-title-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--gray-200);
  padding-bottom: 8px;
}
.ecom-section-title {
  font-size: 18px;
  font-weight: 900;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.section-link-all {
  font-size: 13px;
  font-weight: 700;
  color: #0284c7;
}
.section-link-all:hover {
  color: #0369a1;
  text-decoration: underline;
}
.category-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

/* 6. CONTRACTOR & PROJECT QUOTE MODULE (STITCH B2B) */
.ecom-contractor-section {
  background: linear-gradient(135deg, #0f172a 0%, #004b73 100%);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  color: #ffffff;
  margin-bottom: 36px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.contractor-grid-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
}
.contractor-info-col {
  display: flex;
  flex-direction: column;
}
.contractor-pill-tag {
  display: inline-block;
  align-self: flex-start;
  background: #ea580c;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}
.contractor-headline {
  font-size: 24px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 12px;
}
.contractor-desc {
  font-size: 14px;
  color: #e2e8f0;
  line-height: 1.6;
  margin-bottom: 18px;
}
.contractor-features-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
  margin-bottom: 20px;
}
.contractor-features-list li {
  font-size: 13px;
  color: #f1f5f9;
  display: flex;
  align-items: center;
  gap: 6px;
}
.contractor-features-list .check-icon {
  color: #4ade80;
  font-weight: 900;
  font-size: 15px;
}
.contractor-hotline-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  align-self: flex-start;
}
.hotline-lbl {
  font-size: 13px;
  color: #cbd5e1;
}
.hotline-val {
  font-size: 16px;
  font-weight: 800;
  color: #fb923c !important;
}

/* RIGHT QUOTE FORM */
.quote-form-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 24px 20px;
  color: var(--dark);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}
.quote-form-card .form-title {
  font-size: 17px;
  font-weight: 800;
  color: #006194;
  margin-bottom: 4px;
}
.quote-form-card .form-subtitle {
  font-size: 12px;
  color: var(--gray-500);
  margin-bottom: 14px;
}
.b2b-quote-form .form-group {
  margin-bottom: 12px;
}
.b2b-quote-form label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--gray-700);
  margin-bottom: 4px;
}
/* ==========================================================================
   INDUSTRIAL NEO-COMMERCE 2026 DESIGN SYSTEM (diennuoc360.vn)
   Modern, Clean, High-Conversion Hardware & Electrical E-Commerce
   ========================================================================== */

:root {
  --brand-navy: #0f2942;
  --brand-navy-dark: #091a2b;
  --brand-blue: #2563eb;
  --brand-blue-hover: #1d4ed8;
  --brand-blue-light: #eff6ff;
  --brand-blue-border: #bfdbfe;
  
  --accent-orange: #f97316;
  --accent-orange-hover: #ea580c;
  --accent-amber: #f59e0b;
  --accent-light: #fff7ed;
  
  --text-main: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-subtle: #94a3b8;
  
  --surface-bg: #f8fafc;
  --surface-card: #ffffff;
  --surface-subtle: #f1f5f9;
  
  --border-card: #e2e8f0;
  --border-focus: #3b82f6;
  
  --shadow-bento: 0 4px 20px -2px rgba(15, 23, 42, 0.05), 0 2px 6px -1px rgba(15, 23, 42, 0.02);
  --shadow-hover: 0 12px 30px -4px rgba(15, 23, 42, 0.1), 0 4px 10px -2px rgba(15, 23, 42, 0.04);
  --shadow-card-sm: 0 1px 3px 0 rgba(15, 23, 42, 0.05);
  
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-pill: 9999px;
}

body {
  background-color: var(--surface-bg);
  color: var(--text-body);
  font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* 1. NEO TOPBAR */
.neo-topbar {
  background: var(--brand-navy);
  color: #94a3b8;
  font-size: 12.5px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.neo-topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topbar-announce {
  display: flex;
  align-items: center;
  gap: 12px;
}
.topbar-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #cbd5e1;
}
.topbar-chip strong {
  color: #ffffff;
}
.topbar-svg {
  stroke: var(--accent-orange);
}
.topbar-divider {
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, 0.2);
}
.neo-topbar .topbar-contact {
  display: flex;
  align-items: center;
  gap: 16px;
}
.neo-topbar .topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #cbd5e1;
  transition: color 0.15s;
}
.neo-topbar .topbar-item:hover {
  color: #ffffff;
}
.neo-topbar .topbar-item.highlight {
  color: #fed7aa;
}
.neo-topbar .topbar-item.highlight strong {
  color: var(--accent-orange);
}

/* 2. NEO HEADER */
.neo-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border-card);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}
.neo-header .header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
}
.neo-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-icon-wrap {
  position: relative;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #bfdbfe;
}
.logo-svg-droplet {
  color: var(--brand-blue);
}
.logo-svg-bolt {
  position: absolute;
  top: 4px;
  right: 2px;
  color: var(--accent-orange);
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.15));
}
.neo-logo .logo-text {
  display: flex;
  flex-direction: column;
}
.logo-brand {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--brand-navy);
  line-height: 1.1;
}
.logo-tagline {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--brand-blue);
  text-transform: uppercase;
  margin-top: 2px;
}

/* SEARCH BAR PILL */
.neo-search {
  flex: 1;
  max-width: 580px;
  position: relative;
}
.search-form-pill {
  display: flex;
  align-items: center;
  background: var(--surface-bg);
  border: 1.5px solid var(--border-card);
  border-radius: var(--radius-pill);
  padding: 4px 5px 4px 16px;
  transition: all 0.2s ease;
}
.search-form-pill:focus-within {
  border-color: var(--brand-blue);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}
.search-icon-inside {
  display: flex;
  align-items: center;
  color: var(--text-muted);
  margin-right: 8px;
}
.search-input-pill {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 13.5px;
  color: var(--text-main);
  padding: 6px 0;
}
.search-submit-pill {
  background: var(--brand-blue);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-pill);
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s;
}
.search-submit-pill:hover {
  background: var(--brand-blue-hover);
}
.search-hot-chips {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-size: 11.5px;
  flex-wrap: wrap;
}
.chips-label {
  color: var(--text-muted);
  font-weight: 600;
}
.chip-item {
  color: var(--text-body);
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-pill);
  padding: 2px 10px;
  transition: all 0.15s ease;
}
.chip-item:hover {
  color: var(--brand-blue);
  border-color: var(--brand-blue-border);
  background: var(--brand-blue-light);
}

/* HOTLINE & CART ACTIONS */
.neo-hotline {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.hotline-icon-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand-blue-light);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--brand-blue-border);
}
.hotline-meta {
  display: flex;
  flex-direction: column;
}
.hotline-sub {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
}
.hotline-num {
  font-size: 15px;
  font-weight: 800;
  color: var(--brand-navy);
  line-height: 1.2;
}

.neo-cart-trigger {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border: 1.5px solid var(--border-card);
  border-radius: var(--radius-pill);
  padding: 6px 14px 6px 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.neo-cart-trigger:hover {
  border-color: var(--brand-blue);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}
.cart-icon-box {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand-blue-light);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-badge-pill {
  position: absolute;
  top: -4px;
  right: -2px;
  background: var(--accent-orange);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid #ffffff;
}
.cart-info-wrap {
  display: flex;
  flex-direction: column;
}
.cart-label-mini {
  font-size: 10.5px;
  color: var(--text-muted);
  font-weight: 600;
}
.cart-sum {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--brand-navy);
  line-height: 1.2;
}

/* 3. NEO NAVIGATION BAR */
.neo-nav {
  background: #ffffff;
  border-top: 1px solid var(--border-card);
}
.neo-nav .nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 4px;
}
.nav-all-cats .all-cats-trigger {
  background: var(--brand-navy);
  color: #ffffff !important;
  border-radius: var(--radius-sm);
  padding: 10px 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.3px;
  margin-right: 8px;
}
.nav-bars-svg {
  color: #ffffff;
}
.nav-chevron {
  font-size: 16px;
  margin-left: 2px;
}
.neo-nav .nav-menu > li > a {
  display: block;
  padding: 12px 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-main);
  transition: color 0.15s ease;
  position: relative;
}
.neo-nav .nav-menu > li > a:hover,
.neo-nav .nav-menu > li.active > a {
  color: var(--brand-blue);
}
.neo-nav .nav-menu > li.active > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 14px;
  right: 14px;
  height: 2.5px;
  background: var(--brand-blue);
  border-radius: 2px 2px 0 0;
}
.nav-deal-link {
  color: var(--accent-orange) !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
}
.deal-svg {
  stroke: var(--accent-orange);
}
.nav-caret {
  font-size: 14px;
  margin-left: 2px;
}
.nav-quote-cta {
  margin-left: auto;
}
.nav-quote-btn,
.neo-nav .nav-menu > li.nav-quote-cta > a.nav-quote-btn {
  background: #ea580c !important;
  color: #ffffff !important;
  border-radius: var(--radius-pill) !important;
  padding: 8px 18px !important;
  font-size: 12.5px !important;
  font-weight: 800 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  box-shadow: 0 2px 8px rgba(234, 88, 12, 0.25) !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
}
.nav-quote-btn:hover,
.neo-nav .nav-menu > li.nav-quote-cta:hover > a.nav-quote-btn,
.neo-nav .nav-menu > li.nav-quote-cta > a.nav-quote-btn:hover {
  background: #c2410c !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 14px rgba(194, 65, 12, 0.45) !important;
}
.nav-quote-btn svg,
.nav-quote-btn:hover svg {
  stroke: #ffffff !important;
  color: #ffffff !important;
}

/* MEGA CAT DROPDOWN (100% Single-Line Text, No Wrapping on PC) */
.mega-cat-dropdown {
  min-width: 360px !important;
  width: max-content !important;
  max-width: 480px !important;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.18) !important;
}
.mega-cat-dropdown li a {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 11px 18px !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: var(--text-main) !important;
  white-space: nowrap !important;
  transition: all 0.15s ease !important;
}
.mega-cat-dropdown li a span,
.mega-cat-dropdown li a strong {
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}
.mega-cat-dropdown li a:hover {
  background: #f1f5f9 !important;
  color: #0284c7 !important;
  transform: translateX(4px) !important;
}
.drop-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--surface-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-blue);
  flex-shrink: 0 !important;
}

/* ==========================================================================
   HOMEPAGE BENTO SYSTEM (Industrial Neo-Commerce)
   ========================================================================== */
.neo-main {
  padding: 20px 0 40px;
}

/* ==========================================================================
   IMPRESSIVE CINEMATIC HERO SLIDE (1 SLIDE DUY NHẤT 2026)
   ========================================================================== */
.cinematic-hero-section {
  margin-bottom: 24px;
}

.cinematic-hero-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 480px;
  box-shadow: 0 16px 40px -10px rgba(15, 23, 42, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-bg-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
  transition: transform 0.8s ease-out;
}

.cinematic-hero-card:hover .hero-bg-img {
  transform: scale(1.05);
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(15, 23, 42, 0.96) 0%, rgba(15, 23, 42, 0.85) 45%, rgba(15, 23, 42, 0.5) 80%, rgba(15, 23, 42, 0.25) 100%);
}

.cinematic-hero-content {
  position: relative;
  z-index: 2;
  padding: 32px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 480px;
  height: 100%;
}

/* Top Status Badges */
.hero-top-badges {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-badge-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.badge-smart-hub {
  background: rgba(255, 255, 255, 0.92);
  color: #0284c7;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ea580c;
  box-shadow: 0 0 0 0 rgba(234, 88, 12, 0.7);
  animation: heroPulse 1.8s infinite;
}

@keyframes heroPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(234, 88, 12, 0.7);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(234, 88, 12, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(234, 88, 12, 0);
  }
}

.badge-tier1 {
  background: #ea580c;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(234, 88, 12, 0.3);
}

.badge-tech-spec {
  background: rgba(15, 23, 42, 0.65);
  color: #bae6fd;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Center Pitch */
.hero-center-pitch {
  margin: auto 0;
  padding: 24px 0 20px;
  max-width: 720px;
}

.hero-main-title {
  color: #ffffff;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.title-highlight {
  background: linear-gradient(90deg, #38bdf8 0%, #fdba74 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-main-subtext {
  color: #cbd5e1;
  font-size: 14.5px;
  line-height: 1.65;
  margin: 0 0 24px;
  max-width: 620px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

/* CTA Buttons */
.hero-cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-btn-primary {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  color: #ffffff !important;
  font-size: 13.5px;
  font-weight: 800;
  padding: 13px 26px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 20px rgba(234, 88, 12, 0.4);
  transition: all 0.2s ease;
  text-decoration: none;
}

.hero-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(234, 88, 12, 0.55);
}

.hero-btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #ffffff !important;
  font-size: 13.5px;
  font-weight: 700;
  padding: 13px 24px;
  border-radius: 8px;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  text-decoration: none;
}

.hero-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

/* Bottom Floating KPI Bar */
.hero-bottom-kpi-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-kpi-items {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.kpi-metric-card {
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 8px 16px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  min-width: 90px;
}

.kpi-number {
  display: block;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.1;
  font-family: inherit;
}

.kpi-number.text-orange { color: #fdba74; }
.kpi-number.text-cyan { color: #38bdf8; }
.kpi-number.text-white { color: #f8fafc; }
.kpi-number.text-green { color: #4ade80; }

.kpi-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
  margin-top: 3px;
}

.hero-kpi-note {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #94a3b8;
  opacity: 0.8;
}

/* Quick Brands / Materials Strip */
.hero-quick-brands-strip {
  margin-top: 12px;
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: 12px;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-bento);
}

.strip-label {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--brand-navy);
  white-space: nowrap;
}

.strip-pills {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  flex: 1;
}

.brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-main);
  text-decoration: none;
  transition: all 0.15s ease;
}

.brand-pill:hover {
  background: #eff6ff;
  border-color: #93c5fd;
  color: var(--brand-blue);
  transform: translateY(-1px);
}

.brand-pill .pill-svg {
  color: var(--brand-blue);
}

/* Responsive */
@media (max-width: 991px) {
  .cinematic-hero-content {
    padding: 24px 24px;
    min-height: 440px;
  }
  .hero-main-title {
    font-size: 26px;
  }
  .hero-main-subtext {
    font-size: 13.5px;
  }
  .hide-mobile {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .cinematic-hero-card {
    min-height: auto;
  }
  .hero-bg-overlay {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.96) 0%, rgba(15, 23, 42, 0.90) 65%, rgba(15, 23, 42, 0.75) 100%);
  }
  .cinematic-hero-content {
    padding: 20px 16px;
    min-height: auto;
  }
  .hero-main-title {
    font-size: 22px;
    line-height: 1.3;
  }
  .hero-main-subtext {
    font-size: 13px;
    margin-bottom: 18px;
  }
  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .hero-btn-primary, .hero-btn-secondary {
    justify-content: center;
    width: 100%;
    padding: 12px 16px;
  }
  .hero-kpi-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    gap: 8px;
  }
  .kpi-metric-card {
    padding: 6px 10px;
    min-width: auto;
  }
  .kpi-number {
    font-size: 17px;
  }
  .hero-quick-brands-strip {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 14px;
    gap: 8px;
  }
  .strip-pills {
    gap: 6px;
  }
  .brand-pill {
    padding: 4px 10px;
    font-size: 11px;
  }
}

/* 1. BENTO HERO */
.neo-bento-hero {
  margin-bottom: 24px;
}
.neo-bento-hero .ecom-hero-grid {
  display: grid;
  grid-template-columns: 240px 1fr 280px;
  gap: 16px;
  align-items: stretch;
}

/* LEFT: SIDEBAR */
.neo-cat-sidebar {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-bento);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.category-sidebar-header {
  background: var(--surface-subtle);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--brand-navy);
  border-bottom: 1px solid var(--border-card);
}
.cat-hdr-svg {
  color: var(--brand-blue);
}
.hero-cat-list {
  list-style: none;
  padding: 6px 0;
  margin: 0;
}
.hero-cat-list li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-main);
  transition: all 0.15s ease;
}
.hero-cat-list li a:hover {
  background: var(--brand-blue-light);
  color: var(--brand-blue);
  padding-left: 16px;
}
.cat-svg-icon {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.icon-blue { background: #eff6ff; color: #2563eb; }
.icon-amber { background: #fffbeb; color: #d97706; }
.icon-red { background: #fef2f2; color: #dc2626; }
.icon-cyan { background: #ecfeff; color: #0891b2; }
.icon-yellow { background: #fefce8; color: #ca8a04; }
.icon-indigo { background: #eef2ff; color: #4f46e5; }
.icon-slate { background: #f1f5f9; color: #475569; }
.icon-emerald { background: #ecfdf5; color: #059669; }
.cat-name { flex: 1; }
.cat-arrow { color: var(--text-subtle); font-size: 15px; }

/* CENTER: BANNER */
.neo-hero-banner {
  height: 100%;
  min-height: 340px;
  background: linear-gradient(135deg, #0f2942 0%, #1e3a8a 70%, #0369a1 100%);
  border-radius: var(--radius-md);
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-bento);
}
.neo-hero-banner::after {
  content: '';
  position: absolute;
  right: -50px;
  bottom: -50px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fef08a;
  border-radius: var(--radius-pill);
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
  width: fit-content;
}
.badge-svg {
  color: #fef08a;
}
.neo-hero-banner .hero-slide-title {
  color: #ffffff;
  font-size: 27px;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.hero-title-highlight {
  background: linear-gradient(90deg, #fdba74 0%, #f97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.neo-hero-banner .hero-slide-desc {
  color: #cbd5e1;
  font-size: 13.5px;
  line-height: 1.6;
  max-width: 520px;
  margin-bottom: 22px;
}
.hero-slide-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn-neo-primary {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  color: #ffffff !important;
  border-radius: var(--radius-sm);
  padding: 12px 22px;
  font-size: 13px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.35);
  transition: all 0.15s ease;
}
.btn-neo-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(234, 88, 12, 0.45);
}
.btn-neo-secondary {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  color: #ffffff !important;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-sm);
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.15s ease;
}
.btn-neo-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #ffffff;
}

/* RIGHT: BENTO PROMOS */
.neo-side-promos {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.neo-promo-card {
  flex: 1;
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-bento);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}
.neo-promo-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}
.promo-pro {
  background: linear-gradient(180deg, #eff6ff 0%, #ffffff 100%);
  border-color: #bfdbfe;
}
.promo-peace {
  background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%);
  border-color: #bbf7d0;
}
.promo-chip {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  background: #dbeafe;
  color: #1d4ed8;
  padding: 3px 8px;
  border-radius: 4px;
  width: fit-content;
  margin-bottom: 8px;
}
.chip-green {
  background: #dcfce7;
  color: #15803d;
}
.neo-promo-card h4 {
  font-size: 15px;
  font-weight: 800;
  color: var(--brand-navy);
  margin-bottom: 6px;
  line-height: 1.3;
}
.neo-promo-card p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 12px;
}
.promo-action-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--brand-blue);
  text-decoration: none;
  margin-top: auto;
}
.promo-action-link:hover {
  color: var(--brand-blue-hover);
  gap: 9px;
}
.link-arrow {
  transition: transform 0.15s ease;
}

/* 2. BENTO TRUST BAR */
.neo-trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}
.trust-card-bento {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-card);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-card-sm);
  transition: all 0.2s ease;
}
.trust-card-bento:hover {
  transform: translateY(-2px);
  border-color: #93c5fd;
  box-shadow: var(--shadow-bento);
}
.trust-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.icon-shield { background: #eff6ff; color: #2563eb; }
.icon-truck { background: #fff7ed; color: #ea580c; }
.icon-percent { background: #fefce8; color: #d97706; }
.icon-rotate { background: #f0fdf4; color: #16a34a; }
.trust-text-stack {
  display: flex;
  flex-direction: column;
}
.trust-text-stack strong {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--brand-navy);
  line-height: 1.25;
}
.trust-text-stack span {
  font-size: 11.5px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* 3. NEO FLASH SALE */
.neo-flash-sale {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-bento);
  overflow: hidden;
  margin-bottom: 30px;
}
.neo-flash-header {
  background: linear-gradient(90deg, #ea580c 0%, #dc2626 100%);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.flash-sale-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.flash-sale-fire-icon {
  color: #fef08a;
  display: flex;
  align-items: center;
}
.flash-sale-title {
  color: #ffffff;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.5px;
  margin: 0;
}
.flash-sale-timer {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(0, 0, 0, 0.25);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  color: #ffffff;
  font-size: 12px;
}
.time-box {
  background: #0f172a;
  color: #fef08a;
  font-family: monospace;
  font-weight: 800;
  font-size: 13px;
  padding: 2px 6px;
  border-radius: 4px;
}
.flash-sale-view-all {
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.15);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  transition: all 0.15s ease;
}
.flash-sale-view-all:hover {
  background: rgba(255, 255, 255, 0.25);
}
.neo-flash-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  padding: 18px;
}

/* 4. NEO CATEGORY SHOWCASE */
.neo-cat-showcase {
  margin-bottom: 30px;
}
.section-title-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.title-with-bar {
  display: flex;
  align-items: center;
  gap: 10px;
}
.title-accent-bar {
  width: 4px;
  height: 20px;
  background: var(--brand-blue);
  border-radius: 2px;
}
.ecom-section-title {
  font-size: 17px;
  font-weight: 900;
  color: var(--brand-navy);
  letter-spacing: 0.2px;
  margin: 0;
}
.section-link-all {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.15s ease;
}
.section-link-all:hover {
  color: var(--brand-blue-hover);
  gap: 9px;
}

.neo-cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.cat-bento-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-card);
  padding: 18px 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow-card-sm);
  transition: all 0.2s ease;
  text-decoration: none;
}
.cat-bento-card:hover {
  transform: translateY(-4px);
  border-color: #93c5fd;
  box-shadow: var(--shadow-bento);
}
.cat-bento-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  transition: transform 0.2s ease;
}
.cat-bento-card:hover .cat-bento-icon {
  transform: scale(1.08);
}
.cat-bento-card h4 {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--brand-navy);
  margin-bottom: 3px;
  line-height: 1.3;
}
.cat-bento-card span {
  font-size: 11.5px;
  color: var(--text-muted);
}

/* 5. PRODUCT BLOCKS & GRID */
.neo-block-section {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-card-sm);
  padding: 22px;
  margin-bottom: 30px;
}
.neo-block-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--surface-subtle);
  padding-bottom: 14px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}
.block-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
}
.block-svg-badge {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.block-title {
  font-size: 17px;
  font-weight: 900;
  color: var(--brand-navy);
  margin: 0;
}
.neo-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.neo-tabs .block-tab {
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  font-weight: 600;
  background: var(--surface-bg);
  color: var(--text-muted);
  border: 1px solid var(--border-card);
  transition: all 0.15s ease;
}
.neo-tabs .block-tab:hover,
.neo-tabs .block-tab.active {
  background: var(--brand-blue);
  color: #ffffff !important;
  border-color: var(--brand-blue);
  font-weight: 700;
}
.block-tab-more {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--brand-blue);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 6px;
}

/* UNIFIED 4-COLUMN PRODUCT GRID */
.neo-products-grid,
.products-grid,
.product-grid,
ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 16px !important;
}

/* NEO PRODUCT CARD */
.neo-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.2s ease;
}
.neo-card:hover {
  transform: translateY(-3px);
  border-color: #93c5fd;
  box-shadow: var(--shadow-bento);
}
.neo-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 10.5px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}
.neo-badge.discount {
  background: #dc2626;
  color: #ffffff;
}
.neo-badge.hot {
  background: var(--accent-orange);
  color: #ffffff;
}
.neo-badge.brand {
  background: var(--brand-blue);
  color: #ffffff;
}

.neo-card .product-card-thumb-wrap {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--surface-bg);
  padding: 12px;
  overflow: hidden;
}
.neo-card .product-card-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.25s ease;
}
.neo-card:hover .product-card-thumb-wrap img {
  transform: scale(1.04);
}

.neo-card .product-card-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.neo-card .product-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.brand-pill {
  font-size: 10.5px;
  font-weight: 800;
  color: var(--brand-blue);
  letter-spacing: 0.4px;
}
.product-card-sku {
  font-size: 10.5px;
  font-family: monospace;
  color: var(--text-subtle);
}
.neo-card .product-card-title {
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.45;
  height: 40px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 10px;
}
.neo-card .product-card-title a {
  color: var(--text-main);
  transition: color 0.15s ease;
}
.neo-card .product-card-title a:hover {
  color: var(--brand-blue);
}

.product-card-price-row {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  border-top: 1px dashed #f1f5f9;
}
.price-stack {
  display: flex;
  flex-direction: column;
}
.price-current {
  font-size: 16px;
  font-weight: 900;
  color: #dc2626;
  display: flex;
  align-items: baseline;
  gap: 2px;
  line-height: 1.2;
}
.price-unit {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
}
.price-old {
  font-size: 11.5px;
  color: var(--text-subtle);
  text-decoration: line-through;
  margin-top: 2px;
}
.price-contact {
  color: var(--brand-blue);
  font-size: 13.5px;
  font-weight: 700;
}

.neo-cart-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand-navy);
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.15);
}
.neo-cart-btn:hover {
  background: var(--accent-orange);
  transform: scale(1.08);
  box-shadow: 0 4px 10px rgba(234, 88, 12, 0.3);
}

/* PROGRESS BAR */
.product-card-progress {
  margin-top: 8px;
}
.progress-track {
  width: 100%;
  height: 6px;
  background: #f1f5f9;
  border-radius: 9999px;
  overflow: hidden;
  margin-bottom: 4px;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #f97316 0%, #dc2626 100%);
  border-radius: 9999px;
}
.progress-text {
  font-size: 11px;
  font-weight: 700;
  color: #ea580c;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.fire-svg {
  color: #ea580c;
}

/* 6. B2B PRO CONTRACTOR HUB */
.neo-b2b-hub {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-bento);
  overflow: hidden;
  margin-bottom: 30px;
}
.neo-b2b-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: stretch;
}
.neo-b2b-info {
  background: linear-gradient(135deg, #0f2942 0%, #1e293b 100%);
  color: #ffffff;
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contractor-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fdba74;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
  width: fit-content;
}
.contractor-headline {
  font-size: 22px;
  font-weight: 900;
  line-height: 1.35;
  color: #ffffff;
  margin-bottom: 12px;
}
.contractor-desc {
  font-size: 13.5px;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 22px;
}
.neo-b2b-perks {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.neo-b2b-perks li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12.5px;
  color: #e2e8f0;
  line-height: 1.4;
}
.check-icon-bento {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: rgba(22, 163, 74, 0.2);
  color: #4ade80;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.neo-b2b-callout {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.b2b-callout-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-orange);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.b2b-callout-meta {
  display: flex;
  flex-direction: column;
}
.b2b-callout-meta .hotline-lbl {
  font-size: 11px;
  color: #cbd5e1;
}
.b2b-callout-meta .hotline-val {
  font-size: 16px;
  font-weight: 900;
  color: #ffffff;
  text-decoration: none;
}

.neo-b2b-form-card {
  background: #ffffff;
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.form-card-header {
  margin-bottom: 18px;
}
.form-card-header .form-title {
  font-size: 18px;
  font-weight: 900;
  color: var(--brand-navy);
  margin-bottom: 4px;
}
.form-card-header .form-subtitle {
  font-size: 12px;
  color: var(--text-muted);
}
.neo-quote-form .form-group {
  margin-bottom: 14px;
}
.neo-quote-form label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}
.neo-quote-form input,
.neo-quote-form select {
  width: 100%;
  padding: 10px 14px;
  font-size: 13px;
  border: 1.5px solid var(--border-card);
  border-radius: var(--radius-xs);
  outline: none;
  background: var(--surface-bg);
  transition: all 0.15s ease;
}
.neo-quote-form input:focus,
.neo-quote-form select:focus {
  border-color: var(--brand-blue);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
.neo-dropzone {
  border: 1.5px dashed #93c5fd;
  background: #eff6ff;
  border-radius: var(--radius-xs);
  padding: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.15s ease;
}
.neo-dropzone:hover {
  background: #dbeafe;
  border-color: var(--brand-blue);
}
.upload-svg {
  color: var(--brand-blue);
}
.neo-dropzone .upload-text {
  font-size: 12px;
  color: #1e40af;
}
.neo-btn-quote {
  width: 100%;
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-xs);
  padding: 12px;
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.35);
  transition: all 0.15s ease;
  margin-top: 8px;
}
.neo-btn-quote:hover {
  background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
  transform: translateY(-1px);
}
.neo-quote-form .form-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 10px;
}
.note-svg {
  color: #16a34a;
}

/* 7. STRATEGIC BRANDS */
.neo-brands-section {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-card);
  padding: 22px;
  margin-bottom: 30px;
  box-shadow: var(--shadow-card-sm);
}
.brands-title-box {
  text-align: center;
  margin-bottom: 18px;
}
.brands-title-box h4 {
  font-size: 15px;
  font-weight: 900;
  color: var(--brand-navy);
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}
.brands-title-box p {
  font-size: 12px;
  color: var(--text-muted);
}
.neo-brands-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.neo-brand-pill {
  background: var(--surface-bg);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-pill);
  padding: 8px 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-main);
  transition: all 0.15s ease;
}
.neo-brand-pill:hover {
  border-color: var(--brand-blue-border);
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.05);
}
.brand-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.dot-blue { background: #2563eb; }
.dot-amber { background: #d97706; }
.dot-cyan { background: #0891b2; }
.dot-yellow { background: #ca8a04; }
.dot-red { background: #dc2626; }
.dot-purple { background: #9333ea; }
.dot-orange { background: #f97316; }

/* 8. REASSURANCE BENEFITS */
.neo-benefits-section {
  margin-bottom: 30px;
}
.section-kicker {
  color: var(--text-muted);
  font-size: 12.5px;
  font-weight: 600;
}
.neo-benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.neo-benefit-card {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px;
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.neo-benefit-card:hover {
  transform: translateY(-3px);
  border-color: #93c5fd;
  box-shadow: var(--shadow-bento);
}
.neo-benefit-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}
.neo-benefit-card h3 {
  margin: 0 0 4px;
  color: var(--brand-navy);
  font-size: 13.5px;
  font-weight: 850;
  line-height: 1.3;
}
.neo-benefit-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.5;
}

/* 9. CLOSING CTA */
.neo-final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  margin-bottom: 30px;
  padding: 30px 34px;
  color: #ffffff;
  background: radial-gradient(circle at 82% 18%, rgba(37, 99, 235, 0.3), transparent 34%), linear-gradient(135deg, #0f2942 0%, #172554 100%);
  border: 1px solid #1e3a8a;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-bento);
}
.final-cta-eyebrow {
  display: block;
  margin-bottom: 8px;
  color: #fdba74;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.8px;
}
.neo-final-cta h2 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.25;
}
.neo-final-cta p {
  max-width: 620px;
  margin: 0;
  color: #cbd5e1;
  font-size: 13px;
  line-height: 1.6;
}
.neo-final-cta-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}
.neo-final-cta-actions .btn-neo-primary {
  white-space: nowrap;
}
.neo-final-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 16px;
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-md);
  font-size: 12.5px;
  font-weight: 750;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.neo-final-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.5);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (Mobile & Tablet Optimization)
   ========================================================================== */
@media (max-width: 1024px) {
  .neo-bento-hero .ecom-hero-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .neo-cat-sidebar {
    display: none;
  }
  .neo-side-promos {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .neo-cat-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .neo-flash-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .neo-products-grid,
  .products-grid,
  .product-grid,
  ul.products {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 14px !important;
  }
  .neo-b2b-grid {
    grid-template-columns: 1fr;
  }
  .neo-benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .neo-final-cta {
    grid-template-columns: 1fr;
  }
  .neo-final-cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 767px) {
  .neo-topbar {
    display: none !important;
  }
  .neo-side-promos {
    display: none;
  }
  .neo-hero-banner {
    padding: 24px 20px;
    min-height: 280px;
  }
  .neo-hero-banner .hero-slide-title {
    font-size: 21px;
  }
  .neo-hero-banner .hero-slide-desc {
    font-size: 12.5px;
  }
  .neo-trust-bar {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .trust-card-bento {
    padding: 12px;
    gap: 10px;
  }
  .trust-icon-wrap {
    width: 36px;
    height: 36px;
    border-radius: 8px;
  }
  .trust-text-stack strong {
    font-size: 12px;
  }
  .trust-text-stack span {
    font-size: 10px;
  }
  .neo-flash-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 12px;
  }
  .neo-cat-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px;
  }
  .cat-bento-card {
    padding: 12px 8px;
  }
  .cat-bento-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
  }
  .cat-bento-card h4 {
    font-size: 12px;
  }
  .cat-bento-card span {
    display: none;
  }
  .neo-products-grid,
  .products-grid,
  .product-grid,
  ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  .neo-b2b-info {
    padding: 24px 20px;
  }
  .contractor-headline {
    font-size: 18px;
  }
  .neo-b2b-perks {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .neo-b2b-form-card {
    padding: 24px 20px;
  }
  .section-kicker {
    display: none;
  }
  .neo-benefits-grid {
    grid-template-columns: 1fr;
  }
  .neo-benefit-card {
    padding: 14px;
  }
  .neo-final-cta {
    gap: 18px;
    padding: 24px 20px;
  }
  .neo-final-cta h2 {
    font-size: 20px;
  }
  .neo-final-cta-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .neo-final-cta-actions > * {
    width: 100%;
  }
}


/* ==========================================================================
   UNIFIED INDUSTRIAL DESIGN SYSTEM (DienNuoc360 - 2026)
   Archive, Single Product, Footer & Mobile Bottom Bar
   ========================================================================== */

/* Breadcrumbs */
.neo-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--gray-600);
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.neo-breadcrumb a.crumb-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--gray-600);
  font-weight: 500;
}
.neo-breadcrumb a.crumb-link:hover {
  color: var(--secondary-dark);
}
.crumb-sep {
  color: var(--gray-400);
  font-size: 14px;
}
.crumb-current {
  color: var(--dark);
  font-weight: 600;
}

/* Archive Header Card */
.archive-header-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: var(--shadow-card);
  flex-wrap: wrap;
}
.archive-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--dark);
  margin: 0 0 6px 0;
  letter-spacing: -0.3px;
}
.archive-subtitle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--gray-600);
  margin: 0;
}
.sub-icon {
  color: var(--green);
}
.archive-quote-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--secondary);
  color: var(--white) !important;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 13px;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.25);
}
.archive-quote-btn:hover {
  background: var(--secondary-dark);
  transform: translateY(-1px);
}

/* Empty notice */
.empty-products-notice {
  grid-column: 1 / -1;
  background: var(--white);
  border: 1px dashed var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 60px 24px;
  text-align: center;
  color: var(--gray-600);
}
.empty-products-notice svg {
  color: var(--gray-400);
  margin-bottom: 16px;
}
.empty-products-notice h3 {
  color: var(--dark);
  font-size: 18px;
  margin-bottom: 8px;
}
.btn-back-shop {
  display: inline-block;
  margin-top: 16px;
  background: var(--primary);
  color: var(--white);
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 14px;
}

/* Single Product Detail Card */
.neo-detail-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: 40px;
}
.neo-detail-gallery {
  position: relative;
}
.neo-detail-image-box {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #f8fafc;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.neo-detail-image-box img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.neo-detail-image-box:hover img {
  transform: scale(1.05);
}
.detail-discount-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: #ef4444;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.neo-detail-info {
  display: flex;
  flex-direction: column;
}
.neo-detail-cat-badge a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #eff6ff;
  color: #2563eb;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}
.neo-detail-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.35;
  margin: 12px 0 14px 0;
}
.neo-detail-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-100);
  font-size: 13px;
}
.meta-label {
  color: var(--gray-600);
  margin-right: 4px;
}
.meta-sku {
  font-family: monospace;
  font-weight: 700;
  color: var(--primary-dark);
}
.meta-stock {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--green);
  font-weight: 600;
}

/* Price Box in Detail */
.neo-detail-price-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin: 20px 0;
}
.price-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.price-label {
  font-size: 13px;
  color: var(--gray-600);
}
.price-save-tag {
  background: #fef2f2;
  color: #dc2626;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
}
.price-main-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 14px;
}
.price-current-large {
  font-size: 28px;
  font-weight: 800;
  color: var(--secondary);
}
.price-unit-large {
  font-size: 16px;
  font-weight: 500;
  color: var(--gray-600);
}
.price-old-large {
  font-size: 16px;
  color: var(--gray-400);
  text-decoration: line-through;
}
.price-b2b-tip {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #fff;
  border: 1px solid #fed7aa;
  border-left: 4px solid var(--secondary);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px;
  color: #7c2d12;
}
.tip-info-svg {
  color: var(--secondary);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Single Cart Form */
.neo-qty-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.neo-qty-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
}
.neo-qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: #fff;
  overflow: hidden;
}
.btn-qty-step {
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-600);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn-qty-step:hover {
  background: var(--gray-100);
  color: var(--dark);
}
.neo-qty-input {
  width: 50px;
  height: 36px;
  border: none;
  border-left: 1px solid var(--gray-200);
  border-right: 1px solid var(--gray-200);
  text-align: center;
  font-size: 14px;
  font-weight: 700;
}

.neo-actions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
.neo-btn-add, .neo-btn-buy {
  height: 48px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}
.neo-btn-add {
  background: #eff6ff;
  color: var(--primary-dark);
  border: 1.5px solid var(--primary-light);
}
.neo-btn-add:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.neo-btn-buy {
  background: var(--secondary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.3);
}
.neo-btn-buy:hover {
  background: var(--secondary-dark);
}
.neo-btn-zalo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #0284c7;
  color: #fff !important;
  height: 44px;
  border-radius: var(--radius-md);
  font-size: 13.5px;
  font-weight: 700;
}
.neo-btn-zalo:hover {
  background: #0369a1;
}

/* Commitments in Detail */
.neo-commitments-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-100);
}
.neo-commit-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.commit-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #eff6ff;
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.neo-commit-item strong {
  display: block;
  font-size: 13px;
  color: var(--dark);
  margin-bottom: 2px;
}
.neo-commit-item p {
  font-size: 12px;
  color: var(--gray-600);
  margin: 0;
  line-height: 1.4;
}

/* Specifications Card */
.neo-specs-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-card);
}
.neo-specs-header {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 2px solid var(--gray-100);
  padding-bottom: 16px;
  margin-bottom: 20px;
}
.neo-specs-header h2 {
  font-size: 18px;
  font-weight: 800;
  color: var(--dark);
  margin: 0;
}
.neo-specs-header svg {
  color: var(--primary);
}
.neo-specs-table-wrap {
  margin-bottom: 24px;
  overflow-x: auto;
}
.neo-specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
.neo-specs-table th, .neo-specs-table td {
  padding: 12px 16px;
  border: 1px solid var(--gray-200);
  text-align: left;
}
.neo-specs-table th {
  background: #f8fafc;
  color: var(--gray-600);
  width: 25%;
  font-weight: 600;
}
.specs-badge-sync {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f0fdf4;
  color: var(--green);
  font-weight: 700;
  padding: 2px 10px;
  border-radius: var(--radius-full);
}
.neo-product-description {
  line-height: 1.75;
  color: #334155;
  font-size: 14.5px;
}

/* Neo Footer */
.neo-footer {
  background: #091a2b;
  color: #cbd5e1;
  padding: 50px 0 20px 0;
  margin-top: 60px;
}
.neo-footer a {
  color: #94a3b8;
}
.neo-footer a:hover {
  color: #fff;
}
.footer-brand-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.footer-brand-badge {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--secondary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-brand-name {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin: 0;
}
.footer-about-text {
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 16px;
  color: #94a3b8;
}
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
}
.footer-contact-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ft-contact-icon {
  color: var(--secondary);
  flex-shrink: 0;
}
.ft-hotline-link {
  color: var(--secondary) !important;
  font-weight: 800;
}
.footer-col-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 8px;
}
.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--secondary);
}
.footer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav-list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
.ft-svg-bullet {
  color: #64748b;
  flex-shrink: 0;
}
.footer-nav-list a:hover .ft-svg-bullet {
  color: var(--secondary);
}
.footer-payment-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 16px;
}
.payment-title {
  color: #fff;
  font-weight: 700;
  font-size: 13.5px;
  margin-bottom: 6px;
}
.payment-desc {
  font-size: 12px;
  line-height: 1.5;
  color: #94a3b8;
  margin-bottom: 14px;
}
.footer-zalo-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0284c7;
  color: #fff !important;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
}
.footer-zalo-btn:hover {
  background: #0369a1;
}

/* Mobile Bottom Bar (DISABLED / REMOVED) */
.neo-bottom-bar {
  display: none !important;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .neo-detail-card {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 20px;
  }
  .neo-commitments-list {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 575px) {
  .archive-header-card {
    padding: 16px;
  }
  .archive-title {
    font-size: 18px;
  }
  .archive-quote-btn {
    width: 100%;
    justify-content: center;
  }
  .neo-actions-grid {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   UNIFIED BUTTON & BORDER-RADIUS HARMONIZATION (Superpowers & UI/UX Pro Max)
   ========================================================================== */

/* 1. Pill Action Buttons (Header Nav, Category chips, Search Pill) */
.nav-quote-btn,
.archive-quote-btn,
.search-form-pill,
.hero-badge-pill,
.block-tab {
  border-radius: var(--radius-full) !important;
}

/* 2. Primary Solid Buttons (Orange Safety Amber: Hero Buy, Product Detail Buy, B2B Submit) */
.btn-neo-primary,
.neo-btn-buy,
.btn-submit-quote,
.neo-btn-quote {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%) !important;
  color: #ffffff !important;
  border-radius: var(--radius-md) !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.3) !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  border: none !important;
  text-decoration: none !important;
}
.btn-neo-primary:hover,
.neo-btn-buy:hover,
.btn-submit-quote:hover,
.neo-btn-quote:hover {
  background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 18px rgba(234, 88, 12, 0.45) !important;
  color: #ffffff !important;
}

/* 3. Secondary Ghost / Outline Buttons */
.btn-neo-secondary,
.neo-btn-add,
.btn-shop-now,
.btn-back-shop {
  border-radius: var(--radius-md) !important;
  font-weight: 700 !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
}
.neo-btn-add {
  background: #eff6ff !important;
  color: #0369a1 !important;
  border: 1.5px solid #bfdbfe !important;
}
.neo-btn-add:hover {
  background: #0284c7 !important;
  color: #ffffff !important;
  border-color: #0284c7 !important;
}

/* 4. Zalo Contact Buttons */
.neo-btn-zalo,
.footer-zalo-btn {
  background: #0284c7 !important;
  color: #ffffff !important;
  border-radius: var(--radius-md) !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25) !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
}
.neo-btn-zalo:hover,
.footer-zalo-btn:hover {
  background: #0369a1 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.35) !important;
  color: #ffffff !important;
}

/* 5. Circular Action Buttons (36px x 36px) */
.neo-cart-btn,
.action-hotline-circle {
  border-radius: 50% !important;
}

/* 6. Unified Card & Bento Radii */
.neo-card,
.cat-bento-card,
.trust-card-bento,
.neo-promo-card,
.archive-header-card,
.neo-detail-card,
.neo-specs-card,
.neo-block-section {
  border-radius: var(--radius-lg) !important;
  border-color: var(--gray-200) !important;
}

/* ==========================================================================
   UI HARDENING (DienNuoc360 - responsive containment and rhythm)
   ========================================================================== */
html,
body {
  overflow-x: clip;
}

.neo-header .header-main,
.neo-header .header-main > *,
.neo-header .header-search,
.neo-header .search-form-pill,
.neo-header .cart-info-wrap {
  min-width: 0;
}

.neo-header .header-main {
  flex-wrap: nowrap;
}

.neo-header .search-input-pill {
  min-width: 0;
  width: 100%;
}

.neo-cart-trigger {
  font: inherit;
  color: inherit;
  text-align: left;
}

.neo-nav {
  overflow-x: hidden;
}

.neo-nav .container,
.neo-nav .nav-menu {
  min-width: 0;
}

.neo-nav .nav-menu {
  justify-content: flex-start;
}

.archive-header-left {
  min-width: 0;
  flex: 1 1 420px;
}

.archive-subtitle {
  min-width: 0;
  align-items: flex-start;
  line-height: 1.5;
}

.archive-subtitle strong {
  white-space: nowrap;
}

.neo-card .product-card-title {
  height: auto;
  min-height: 2.9em;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: normal;
  word-break: normal;
}

body.single-product .neo-detail-card,
body.single-product .product-detail-card {
  scroll-margin-top: 112px;
}

.mobile-menu-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  background: var(--dark);
  color: #ffffff;
}

.mobile-menu-drawer-header h2 {
  margin: 0;
  color: #ffffff;
  font-size: 16px;
  line-height: 1.25;
}

.mobile-menu-links {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0;
  overflow-y: auto;
  padding: 12px 20px 24px;
}

.mobile-menu-links a {
  display: block;
  padding: 13px 0;
  border-bottom: 1px solid #e2e8f0;
  color: var(--gray-700);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

.mobile-menu-links a:hover,
.mobile-menu-links a:focus-visible {
  color: var(--primary-dark);
}

.mobile-menu-close:focus-visible,
.mobile-menu-toggle:focus-visible,
.neo-cart-trigger:focus-visible,
.nav-quote-btn:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.35);
  outline-offset: 2px;
}

.nav-quote-btn,
.neo-nav .nav-menu > li.nav-quote-cta > a.nav-quote-btn {
  background: #c2410c !important;
}

@media (min-width: 1025px) {
  .neo-nav .nav-menu {
    gap: 0;
  }

  .neo-nav .nav-menu > li > a {
    padding-left: 9px;
    padding-right: 9px;
  }

  .nav-all-cats .all-cats-trigger {
    margin-right: 4px;
    padding-left: 12px;
    padding-right: 12px;
  }

  .nav-quote-cta {
    flex-shrink: 0;
  }

  .nav-quote-btn,
  .neo-nav .nav-menu > li.nav-quote-cta > a.nav-quote-btn {
    padding-left: 12px !important;
    padding-right: 12px !important;
    white-space: nowrap;
  }
}

@media (max-width: 1024px) {
  .neo-header .header-main {
    flex-wrap: wrap !important;
    gap: 8px;
    padding: 10px 0;
  }

  .neo-header .mobile-menu-toggle {
    order: 1;
    flex: 0 0 40px;
  }

  .neo-header .neo-logo,
  .neo-header .dn-v3-logo {
    order: 2;
    flex: 1 1 auto;
    min-width: 0;
  }

  .neo-header .header-actions {
    order: 3;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
  }

  .neo-header .action-hotline {
    display: none !important;
  }

  .neo-header .action-account .account-meta {
    display: none !important;
  }

  .neo-header .action-account .account-link-btn {
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
  }

  .neo-header .action-account .account-icon-circle {
    width: 38px;
    height: 38px;
    background: #f1f5f9;
    color: #002f5c;
    border: 1px solid #cbd5e1;
  }

  .neo-header .neo-search {
    order: 4;
    flex: 0 0 100%;
    width: 100%;
    max-width: none;
    margin-top: 2px;
  }
}

@media (max-width: 767px) {
  .neo-header .header-main {
    padding: 8px 0;
  }

  .neo-header .action-account .account-icon-circle {
    width: 36px;
    height: 36px;
  }

  .neo-header .dn-v3-logo-picture {
    width: clamp(140px, 36vw, 190px) !important;
  }

  .neo-header .logo-icon-wrap {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .neo-header .logo-brand {
    font-size: 16px;
  }

  .neo-header .logo-tagline {
    font-size: 8px;
  }

  .neo-header .neo-cart-trigger {
    gap: 0;
    padding: 4px 8px;
  }

  .neo-header .cart-info-wrap {
    display: none;
  }

  .archive-header-card {
    align-items: stretch;
  }

  .archive-header-left,
  .archive-header-right {
    flex-basis: 100%;
  }
}

/* ==========================================================================
   FOOTER LOGO X2 SIZE (Design Harmonization)
   ========================================================================== */
.dn-v3-footer-logo-img {
  max-height: 80px !important;
  max-width: 220px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  display: block;
}
@media (max-width: 767px) {
  .dn-v3-footer-logo-img {
    max-height: 64px !important;
    max-width: 180px !important;
  }
}

/* ==========================================================================
   MOBILE DRAWER & PRODUCT CARD POLISH (UI/UX Pro Max)
   ========================================================================== */
.mobile-drawer-header {
  background: #ffffff !important;
  color: #002f5c !important;
  border-bottom: 1px solid #e2e8f0 !important;
}
.mobile-drawer-brand img {
  max-height: 40px !important;
  width: auto !important;
}
.mobile-drawer-header .mobile-menu-close {
  background: #f1f5f9 !important;
  border: 1px solid #e2e8f0 !important;
  color: #002f5c !important;
}
.mobile-drawer-header .mobile-menu-close:hover {
  background: #e2e8f0 !important;
  color: #b8621b !important;
}
.drawer-action-btn,
.drawer-action-btn span {
  white-space: nowrap !important;
}
.btn-card-action,
.btn-card-action span {
  white-space: nowrap !important;
}
.card-stock-status .stock-qty,
.card-stock-status .stock-badge-hot {
  white-space: nowrap !important;
}
@media (max-width: 767px) {
  .btn-card-action {
    height: 36px !important;
    padding: 0 6px !important;
    gap: 5px !important;
    font-size: 11.5px !important;
  }
  .card-stock-status .stock-labels {
    font-size: 9.5px !important;
    letter-spacing: -0.01em !important;
  }
  .card-stock-status .stock-qty,
  .card-stock-status .stock-badge-hot {
    font-size: 9.5px !important;
    letter-spacing: -0.01em !important;
  }
}
