@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,600&family=Be+Vietnam+Pro:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap&subset=vietnamese');
/* Tailwind reset */

:root {
  --brown: #2c1a0e;
  --brown-2: #1f1209;
  --brown-3: #3d2514;
  --green: #3f7a2f;
  --green-dark: #2c5920;
  --cream: #fdfbf7;
  --cream-2: #f6f1e9;
  --line: #e8e3db;
  --muted: #766c65;
  --red: #e53935;
  --white: #fff;
  --shadow: 0 4px 14px rgba(44, 26, 14, .06);
}

*, *::before, *::after {
  box-sizing: border-box;
}

@layer base {
  html {
    scroll-behavior: smooth;
    font-size: 16px;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
  }
  body {
    background: var(--white);
    color: var(--brown);
    font-family: 'Montserrat', 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 14.5px;
    font-weight: 400;
    line-height: 1.55;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
  }
  a { color: inherit; text-decoration: none; }
  button { cursor: pointer; }
  h1, h2, h3, h4 { font-family: 'Montserrat', 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; font-weight: 700; letter-spacing: -.01em; }
  button, input, select, textarea { font-family: 'Montserrat', 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
  input { outline: none; }
  img, svg, video, canvas, audio, iframe, embed, object {
    max-width: 100%;
    height: auto;
  }
}

.account-profile-grid {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 24px;
  align-items: flex-start;
}

.container { width: min(1240px, calc(100% - 36px)); margin-inline: auto; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: .2s ease; }
.btn:hover { opacity: .82; }
.topbar { display: block; background: #1a0d08; color: #e6ded7; font-size: 12px; border-bottom: 1px solid #321c11; }
.topbar-inner { height: 34px; display: flex; align-items: center; justify-content: space-between; }
.donation-note, .top-links, .top-links button, .top-links a { display: flex; align-items: center; gap: 7px; text-decoration: none; color: inherit; font-size: 12px; }
.top-links button { background: transparent; border: 0; color: #e6ded7; cursor: pointer; font-weight: 500; font-family: inherit; font-size: 12px; }
.top-links button:hover, .top-links a:hover { color: #88b875; }
.top-links i { width: 1px; height: 11px; background: #745d4d; }
.social { letter-spacing: .07em; }
.header { background: #ffffff; border-bottom: 1px solid var(--line); }
.header-main { min-height: 74px; display: grid; grid-template-columns: 180px minmax(280px, 1fr) 195px 185px; align-items: center; gap: 14px; }
.logo-button { justify-content: flex-start; text-decoration: none; }
.logo { --logo-house: var(--brown); --logo-roof: var(--green); --logo-paw: var(--cream); --logo-word: var(--brown); display: flex; align-items: center; gap: 9px; text-decoration: none; }
.kibo-mark { width: 40px; height: 37px; flex: 0 0 auto; }
.kibo-house { fill: var(--logo-house); }
.kibo-roof { fill: var(--logo-roof); }
.kibo-paw { fill: var(--logo-paw); }
.logo-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; color: var(--logo-word); }
.logo small, .logo strong { display: block; line-height: 1; }
.logo small { padding-top: 2px; border-top: 1px solid currentColor; font-size: 7.5px; letter-spacing: .16em; font-weight: 700; }
.logo strong { font: 700 23px/.85 'Montserrat', 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; letter-spacing: .04em; }
.logo strong span { color: var(--green); }
.logo.inverse { --logo-house: var(--white); --logo-roof: var(--green); --logo-paw: var(--brown-2); --logo-word: var(--white); }
.search { display: flex; height: 42px; border: 1px solid #d8d1ca; border-radius: 5px; overflow: hidden; background: var(--white); }
.search input { min-width: 0; flex: 1; padding: 0 14px; color: #4f463f; font-size: 13.5px; }
.search-btn { width: 44px; color: var(--white); background: #251309; border-left: 1px solid #4f3728; border-top: 0; border-right: 0; border-bottom: 0; cursor: pointer; display: grid; place-items: center; }
.search-btn:hover { background: #160b06; opacity: 1; }
.hotline, .cart-btn { width: 100%; height: 42px; min-height: 42px; max-height: 42px; display: flex; align-items: center; justify-content: flex-start; gap: 10px; padding: 0 12px; color: var(--white); background: #1a0d08; border: 1px solid #321c11; border-radius: 5px; white-space: nowrap; text-decoration: none; cursor: pointer; box-sizing: border-box; }
.hotline svg, .cart-btn svg { width: 20px; height: 20px; flex: 0 0 20px; }
.hotline span, .cart-copy { display: flex; flex-direction: column; justify-content: center; line-height: 1.15; }
.hotline small, .cart-copy small { display: block; margin-top: 1px; color: #f0e8e2; font-size: 10.5px; font-weight: 400; letter-spacing: 0; line-height: 1; }
.hotline strong, .cart-copy strong { display: block; color: var(--white); font: 700 14px/1.1 'Montserrat', 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
.cart-btn:hover, .hotline:hover { background: #0f0805; opacity: 1; }
.nav { color: var(--white); background: #24150b; border-bottom: 1px solid #3d2514; }
.nav-inner { height: 46px; display: flex; align-items: stretch; justify-content: center; }
.nav-inner button, .nav-inner a { position: relative; display: inline-flex; align-items: center; justify-content: center; padding: 0 12px; color: var(--white); font-family: 'Montserrat', 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; font-size: 12.5px; font-weight: 700; letter-spacing: .015em; text-transform: uppercase; text-decoration: none; white-space: nowrap; background: transparent; border: 0; transition: color .2s ease; cursor: pointer; }
.nav-inner button::after, .nav-inner a::after { content: ''; position: absolute; right: 12px; bottom: 0; left: 12px; height: 3px; background: transparent; transition: background .2s ease; }
.nav-inner button:hover, .nav-inner a:hover, .nav-inner button.active-menu, .nav-inner a.active-menu { color: var(--green); font-weight: 700; opacity: 1; text-decoration: none; }
.nav-inner button.active-menu::after, .nav-inner a.active-menu::after { background: var(--green); }
.mobile-menu { display: none; }

.hero { height: 440px; min-height: 380px; position: relative; overflow: hidden; color: var(--white); }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(24, 13, 6, .93) 0%, rgba(36, 20, 10, .76) 38%, rgba(36, 20, 10, .08) 75%); }
.hero-content { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.eyebrow { display: block; font: 700 11px 'Montserrat', 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; letter-spacing: .08em; color: #aed69c; margin-bottom: 12px; }
.eyebrow.brown { color: var(--green-dark); }
.hero h1 { max-width: 540px; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.18; font-weight: 700; color: #ffffff; }
.hero h1 em { color: #88b875; font-style: normal; font-weight: 700; }
.hero-content > p { max-width: 480px; margin-top: 14px; color: #e7ded7; font-size: 14px; line-height: 1.6; }
.hero-actions { display: flex; gap: 18px; align-items: center; margin-top: 22px; }
.primary, a.primary { min-height: 44px; padding: 0 22px; border-radius: 5px; background: var(--brown); color: var(--white); font: 700 12.5px 'Montserrat', 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; letter-spacing: .02em; text-transform: uppercase; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; }
.hero .primary, .hero a.primary { background: #3f7a2f; color: #ffffff; }
.hero .primary:hover, .hero a.primary:hover { background: #2c5920; opacity: 1; }
.text-btn, a.text-btn { padding: 10px 0; border-bottom: 1px solid #b6a99f; font-size: 13px; color: #ffffff; text-decoration: none; background: transparent; border-top: 0; border-left: 0; border-right: 0; cursor: pointer; }
.text-btn:hover, a.text-btn:hover { color: #88b875; border-color: #88b875; opacity: 1; }
.hero-badge { position: absolute; right: 0; bottom: 20px; display: flex; align-items: center; gap: 11px; padding: 10px 16px; border: 1px solid rgba(255,255,255,.24); border-radius: 6px; background: rgba(31,18,9,.88); }
.hero-badge > span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 5px; background: #3f7a2f; color: #ffffff; }
.hero-badge p strong, .hero-badge p small { display: block; }
.hero-badge p strong { font: 700 13px 'Montserrat', 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; color: #ffffff; }
.hero-badge p small { margin-top: 2px; color: #d8cfc8; font-size: 11.5px; }
.benefits { background: #ffffff; display: grid; grid-template-columns: repeat(4, 1fr); padding-block: 20px; border-bottom: 1px solid var(--line); }
.benefits > div { display: flex; align-items: center; justify-content: center; gap: 12px; border-right: 1px solid var(--line); }
.benefits > div:last-child { border: 0; }
.benefits > div > span { color: #5b8e47; display: flex; align-items: center; }
.benefits strong, .benefits small { display: block; }
.benefits strong { font: 700 14px 'Montserrat', 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
.benefits small { color: var(--muted); font-size: 12px; margin-top: 2px; }
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding-block: 28px; }
.category { min-height: 230px; height: 230px; position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: #24150b; }
.category img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.category::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 10, 5, .84) 0%, rgba(20, 10, 5, .62) 52%, rgba(20, 10, 5, .15) 100%); pointer-events: none; }
.category > div { position: relative; z-index: 1; max-width: 72%; padding: 20px; color: var(--white); height: 100%; box-sizing: border-box; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; }
.category .cat-content { display: flex; flex-direction: column; align-items: flex-start; }
.category small { display: block; font-size: 9.5px; letter-spacing: .08em; font-weight: 700; text-transform: uppercase; color: #e7ded7; margin-bottom: 6px; }
.category h2 { font-size: 20px; font-weight: 700; line-height: 1.25; color: var(--white); margin-bottom: 6px; }
.category p { margin: 0 0 10px; font-size: 12.5px; line-height: 1.45; color: #eee4dc; }
.category .cat-link, .category a, .category button { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 700; color: #ffffff; border-bottom: 1px solid #ffffff; padding-bottom: 3px; text-decoration: none; background: transparent; border-top: 0; border-left: 0; border-right: 0; cursor: pointer; transition: opacity .2s ease; }
.category .cat-link:hover, .category a:hover, .category button:hover { opacity: .85; }
.cat-card > div { max-width: 70%; }
.mission-card { display: block; }
.mission-card > div { max-width: 72%; }
.deals { padding: 36px 0 46px; background: #f7f6f3; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 22px; }
.section-head h2, .tracking h2 { font-size: 24px; }
.section-head p { margin-top: 5px; color: var(--muted); font-size: 13.5px; }
.filter-pills { display: flex; gap: 4px; padding: 3px; background: var(--white); border: 1px solid var(--line); border-radius: 5px; }
.filter-pills button { padding: 6px 14px; border-radius: 3px; font-size: 11.5px; }
.filter-pills button.active { background: var(--brown); color: var(--white); }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.product-grid.filtering { animation: product-filter-in .28s ease-out; }
@keyframes product-filter-in { from { opacity: .25; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.product-card { overflow: hidden; background: var(--white); border: 1px solid #dedbd5; border-radius: 4px; transition: border-color .2s; }
.product-card { cursor: pointer; }
.product-card:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.product-card:hover { border-color: #bdb6ad; box-shadow: none; }
.product-img { height: 260px; position: relative; display: grid; place-items: center; overflow: hidden; background: #fafafa; border-bottom: 1px solid #eeeae4; }
.product-card:hover .product-photo-wrap img { transform: scale(1.04); }
#mainArtContainer { width: 100%; height: 100%; overflow: hidden; border-radius: 6px; }
.discount { position: absolute; z-index: 2; top: 12px; left: 12px; padding: 5px 8px; border-radius: 4px; background: var(--red); color: var(--white); font-size: 10px; font-weight: 700; }
.quick { position: absolute; z-index: 3; bottom: -40px; left: 16px; right: 16px; height: 36px; background: var(--brown); color: white; border-radius: 4px; font-size: 11px; text-transform: uppercase; }
.product-card:hover .quick { bottom: 12px; }
.product-art { width: 100%; height: 100%; position: relative; display: grid; place-items: center; }
.pack { width: 124px; height: 174px; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--brown); background: var(--pack); border-radius: 9px 9px 14px 14px; box-shadow: 0 14px 20px rgba(52,36,23,.18); clip-path: polygon(5% 0, 95% 0, 100% 100%, 0 100%); }
.pack::before { content: ''; position: absolute; inset: 7px 8px; border: 1px solid rgba(255,255,255,.55); border-radius: 5px; }
.pack-brand { position: absolute; top: 18px; padding: 3px 8px; color: white; background: var(--brown); border-radius: 3px; font: 700 9px 'Montserrat', 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; letter-spacing: .05em; }
.pack b { margin-top: 8px; text-align: center; font: 700 11px/1.25 'Montserrat', 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
.pack small { margin-top: 7px; font-size: 8px; }
.kibble { position: absolute; right: 25px; bottom: 24px; color: #8a552d; letter-spacing: -2px; transform: rotate(12deg); }
.product-info { padding: 18px; }
.brand-label { color: var(--green-dark); font-weight: 700; font-size: 11px; letter-spacing: .05em; }
.product-info h3 { min-height: 44px; margin-top: 6px; font-size: 16px; font-weight: 600; line-height: 1.4; letter-spacing: -.01em; }
.product-info h3 button { text-align: left; }
.rating { margin-top: 6px; color: #f59e0b; font-size: 13.5px; letter-spacing: .06em; }
.rating span, .rating u { color: #6b7280; font-size: 13px; font-weight: 500; letter-spacing: 0; text-decoration: none; }
.price { display: flex; align-items: baseline; gap: 8px; margin-top: 8px; }
.price strong { font: 700 20px 'Montserrat', 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; color: #111827; }
.price del { color: #8e8379; font-size: 14px; }
.fund-contrib-line { margin-top: 4px; color: #e53935; font-size: 12.5px; font-weight: 500; display: flex; align-items: baseline; gap: 4px; letter-spacing: .01em; }
.fund-contrib-line strong { color: #e53935; font-weight: 700; font-size: 14px; }
.pdp-rating { margin: 0 0 10px; font-size: 12.5px; }
.pdp-fund-line { margin-top: 4px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid #f0eae3; font-size: 13.5px; }
.pdp-fund-line strong { font-size: 16px; }
.rescue-tag { display: block; margin-top: 8px; color: var(--muted); font-size: 12px; font-weight: 400; line-height: 1.4; }
.outline { min-height: 38px; padding: 0 16px; border: 1px solid #c9bdb4; border-radius: 4px; font: 700 11px 'Montserrat', 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; text-transform: uppercase; letter-spacing: .04em; }
.centered { display: flex; width: fit-content; margin: 24px auto 0; }
.impact-strip { margin-block: 30px; padding: 22px 28px; display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--brown-3); border-radius: 4px; color: var(--white); background: var(--brown); }
.impact-strip h2 { max-width: 460px; font-size: 19px; line-height: 1.3; }
.impact-numbers { display: flex; align-items: center; gap: 22px; text-align: center; }
.impact-numbers strong, .impact-numbers small { display: block; }
.impact-numbers strong { font: 700 19px 'Montserrat', 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; color: #aad099; }
.impact-numbers small { margin-top: 3px; color: #d5c9c0; font-size: 9.5px; }
.impact-numbers i { width: 1px; height: 34px; background: #5a4435; }

.page { min-height: 600px; }
.breadcrumb { height: 44px; display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 11px; }
.breadcrumb strong { color: var(--brown); }
.pdp { display: grid; grid-template-columns: 1fr 1.3fr 0.95fr; gap: 24px; padding: 18px 0 45px; align-items: start; }
.gallery { display: flex; flex-direction: column; gap: 10px; }
.main-product { height: 380px; position: relative; display: grid; place-items: center; background: #ffffff; border: 1px solid #e8e2dc; border-radius: 6px; }
.main-product .discount { position: absolute; top: 10px; left: 10px; background: #c94336; color: #ffffff; font-size: 11px; font-weight: 700; padding: 3px 6px; border-radius: 3px; z-index: 2; }
.main-product .brand-watermark { position: absolute; bottom: 10px; left: 10px; font-size: 11.5px; font-weight: 700; color: #ffffff; background: #3f7a2f; padding: 4px 10px; border-radius: 3px; border: none; letter-spacing: .02em; }
.main-product .pack { width: 160px; height: 230px; }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.thumbs button { height: 64px; overflow: hidden; border: 1px solid #e0d8d0; border-radius: 4px; background: #faf8f5; cursor: pointer; display: grid; place-items: center; transition: border-color .15s ease; }
.thumbs button:hover, .thumbs button.active { border: 2px solid #2c1a0e; }
.thumbs .pack { width: 30px; height: 44px; }
.thumbs .pack > * { display: none; }

.pdp-info { padding-top: 2px; }
.pdp-info h1 { font-size: 22px; font-weight: 700; color: #222222; line-height: 1.35; margin: 0 0 12px; }
.pdp-price-row { display: flex; align-items: baseline; gap: 10px; margin-bottom: 4px; padding-bottom: 0; border-bottom: 0; }
.pdp-price-main { font: 700 25px 'Montserrat', 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; color: #1a0d08; }
.pdp-price-old { font-size: 16px; color: #8e8379; text-decoration: line-through; }
.pdp-attributes { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; font-size: 13.5px; color: #554a40; }
.pdp-attributes p { margin: 0; }
.pdp-attributes span { color: #73685f; margin-right: 4px; }
.pdp-attributes .in-stock { color: #27ae60; font-weight: 700; }
.pdp-short-desc { font-size: 13.5px; line-height: 1.6; color: #4a413a; margin-bottom: 16px; }
.pdp-short-desc p { margin: 0; }
.pdp-quantity-row { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.pdp-quantity-row label { font-size: 13.5px; font-weight: 600; color: #333333; }
.pdp-quantity-row .stepper { height: 38px; display: inline-flex; align-items: stretch; border: 1px solid #d8d0c8; border-radius: 4px; background: #ffffff; overflow: hidden; }
.pdp-quantity-row .stepper button { width: 36px; background: #fbf9f6; border: none; font-size: 16px; font-weight: 700; color: #444444; cursor: pointer; transition: background .15s ease; }
.pdp-quantity-row .stepper button:hover { background: #eee8df; }
.pdp-quantity-row .stepper input { width: 44px; border: none; border-left: 1px solid #e5ded7; border-right: 1px solid #e5ded7; text-align: center; font-size: 14px; font-weight: 700; color: #222222; }
.btn-buy-now { width: 100%; height: 44px; background: #2c1a0e; color: #ffffff; border: none; border-radius: 4px; font: 700 14px 'Montserrat', 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; letter-spacing: .03em; text-transform: uppercase; cursor: pointer; transition: all .2s ease; margin-bottom: 14px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.btn-buy-now:hover { background: #472d1a; box-shadow: 0 3px 10px rgba(44,26,14,0.22); transform: translateY(-1px); }
.contribution { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: #faf8f5; border: 1px solid #ede7e0; border-radius: 5px; }
.contribution span { color: #c94336; display: grid; place-items: center; }
.contribution strong { display: block; font-size: 12.5px; font-weight: 700; color: #2c1a0e; }
.contribution small { display: block; margin-top: 2px; color: #7a7067; font-size: 11.5px; line-height: 1.4; }

.pdp-trust-box { background: #ffffff; border: 1px solid #ebe5df; border-radius: 6px; overflow: hidden; }
.trust-item { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid #f0ebe4; }
.trust-icon { width: 34px; height: 34px; border-radius: 50%; background: #f0f6ed; display: grid; place-items: center; color: #5b8e47; flex-shrink: 0; }
.trust-item strong { display: block; font-size: 13px; font-weight: 700; color: #222222; }
.trust-item small { display: block; margin-top: 1px; color: #776e65; font-size: 11.5px; }
.pdp-side-category { padding: 12px 16px; background: #faf8f5; border-left: 3px solid #2c1a0e; }
.pdp-side-category h3 { font-size: 13px; font-weight: 700; letter-spacing: .06em; color: #2c1a0e; margin: 0; }

.pdp-description-section { margin-top: 40px; padding-bottom: 70px; border-top: 1px solid #ece6df; }
.pdp-tabs { display: flex; border-bottom: 2px solid #2c1a0e; }
.pdp-tabs .tab-btn { background: #2c1a0e; color: #ffffff; border: none; padding: 14px 34px; font: 700 16.5px 'Montserrat', 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; letter-spacing: .06em; text-transform: uppercase; border-radius: 4px 4px 0 0; }
.pdp-tab-content { padding: 26px 0; }
.pdp-tab-content h2 { font-size: 23px; font-weight: 700; color: #222222; margin: 0 0 16px; }
.pdp-full-text p { font-size: 17.5px; line-height: 1.85; color: #4a413a; margin: 0 0 14px; white-space: pre-line; }

.page-title { padding: 48px 0 28px; border-bottom: 1px solid var(--line); }
.page-title h1 { font-size: 34px; }
.page-title p { margin-top: 8px; color: var(--muted); font-size: 13px; }
.cart-page { padding-bottom: 80px; background: #f6f3ed; min-height: 85vh; }
.cart-page-wrap { max-width: 1180px; margin: 30px auto 0; }

/* TOAST THÔNG BÁO VỪA THÊM SẢN PHẨM */
.cart-banner-toast { background: #2c1a0e; color: #ffffff; padding: 14px 22px; border-radius: 8px; display: flex; align-items: center; justify-content: space-between; font-size: 15px; margin-bottom: 24px; box-shadow: 0 4px 16px rgba(44, 26, 14, 0.15); animation: toast-fade .25s ease-out; }
.cart-banner-toast-left { display: flex; align-items: center; gap: 12px; }
.cart-banner-toast-left strong { color: #f2cb55; font-weight: 700; }
.cart-banner-toast-close { background: transparent; border: none; color: #d0c5bc; font-size: 18px; cursor: pointer; }
.cart-banner-toast-close:hover { color: #ffffff; }

/* BƯỚC 1: GIỎ HÀNG (THEO MẪU ẢNH 1) */
.cart-step1-card { background: #ffffff; border: 1.5px solid var(--line); border-radius: 12px; padding: 32px 36px; box-shadow: 0 6px 24px rgba(44, 26, 14, 0.05); }
.cart-step1-card h1.cart-title { font-size: 24px; font-weight: 800; color: var(--brown); margin: 0 0 24px; }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { background: #faf8f5; padding: 15px 18px; font-size: 14px; font-weight: 700; color: #6a5e54; text-transform: uppercase; letter-spacing: .04em; border-bottom: 1.5px solid var(--line); text-align: left; }
.cart-table th:last-child { text-align: right; }
.cart-table td { padding: 22px 18px; border-bottom: 1px solid #eee8e2; font-size: 15.5px; vertical-align: middle; }
.cart-table td:last-child { text-align: right; font-weight: 700; color: #1c1108; font-size: 17px; }

.cart-item-info { display: flex; align-items: center; gap: 18px; }
.cart-item-img { width: 84px; height: 84px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); background: #fbf9f6; flex-shrink: 0; }
.cart-item-details strong { display: block; font-size: 16px; font-weight: 700; color: var(--brown); margin-bottom: 4px; line-height: 1.35; }
.cart-item-details small { display: block; color: var(--muted); font-size: 13px; margin-bottom: 6px; }
.cart-item-remove { background: none; border: none; color: #8a7c71; font-size: 13.5px; cursor: pointer; padding: 0; display: inline-flex; align-items: center; gap: 4px; text-decoration: none; }
.cart-item-remove:hover { color: #d32f2f; }
.cart-item-added-badge { display: inline-flex; align-items: center; gap: 5px; color: #2e7d32; font-size: 13.5px; font-weight: 600; margin-left: 14px; }

.cart-item-stepper { display: inline-flex; align-items: center; border: 1.5px solid #d4ccc3; border-radius: 6px; overflow: hidden; background: #ffffff; }
.cart-item-stepper button { width: 36px; height: 36px; background: #faf8f5; border: none; color: var(--brown); font-size: 16px; font-weight: 700; cursor: pointer; transition: background .15s; }
.cart-item-stepper button:hover { background: #eee7de; }
.cart-item-stepper span { width: 44px; text-align: center; font-size: 15px; font-weight: 700; color: #2c1a0e; }

.cart-step1-footer { display: flex; justify-content: space-between; align-items: center; padding: 24px 0 10px; border-bottom: 1px solid #f0eae4; }
.cart-back-link { display: inline-flex; align-items: center; gap: 6px; color: #5c4e43; font-weight: 600; font-size: 15.5px; text-decoration: none; }
.cart-back-link:hover { color: var(--green-dark); }
.cart-step1-total { font-size: 18px; color: #3c3026; }
.cart-step1-total strong { font-size: 24px; font-weight: 800; color: #1c1108; margin-left: 8px; }

.btn-checkout-full { width: 100%; height: 58px; background: #1a0f07; color: #ffffff; border: none; border-radius: 8px; font-size: 17px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; margin-top: 20px; transition: all .2s ease; box-shadow: 0 4px 14px rgba(26, 15, 7, 0.25); display: flex; align-items: center; justify-content: center; gap: 10px; }
.btn-checkout-full:hover { background: #3b2210; transform: translateY(-1px); }

/* BƯỚC 2: THANH TOÁN & THÔNG TIN GIAO HÀNG (THEO MẪU ẢNH 2) */
.checkout-step2-card { background: transparent; }
.checkout-breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 14.5px; color: #887d74; margin-bottom: 24px; }
.checkout-breadcrumb a { color: #2b7bb9; text-decoration: none; font-weight: 500; }
.checkout-breadcrumb a:hover { text-decoration: underline; }
.checkout-breadcrumb span.sep { color: #b5aba2; }
.checkout-breadcrumb span.active { color: #2c1a0e; font-weight: 700; }

.checkout-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 36px; align-items: start; }
.checkout-form-panel { background: #ffffff; border: 1.5px solid var(--line); border-radius: 12px; padding: 32px 36px; box-shadow: 0 4px 20px rgba(44, 26, 14, 0.04); }
.checkout-form-panel h2 { font-size: 22px; font-weight: 800; color: var(--brown); margin: 0 0 6px; }
.checkout-auth-hint { font-size: 14.5px; color: var(--muted); margin-bottom: 20px; }
.checkout-auth-hint a { color: #2b7bb9; font-weight: 600; text-decoration: underline; cursor: pointer; }

.field-group-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.checkout-input { width: 100%; height: 48px; padding: 0 16px; border: 1.5px solid #d4ccc3; border-radius: 6px; font-size: 15px; color: #2c1a0e; background: #ffffff; box-sizing: border-box; transition: border-color .2s; }
.checkout-input:focus { border-color: #2b7bb9; outline: none; }

.delivery-box { margin-top: 22px; border: 1.5px solid #d4ccc3; border-radius: 8px; overflow: hidden; background: #ffffff; }
.delivery-tab-option { padding: 16px 20px; border-bottom: 1px solid #ebe5df; display: flex; align-items: center; gap: 12px; cursor: pointer; }
.delivery-tab-option:last-child { border-bottom: none; }
.delivery-tab-option input[type="radio"] { width: 18px; height: 18px; accent-color: #2b7bb9; cursor: pointer; }
.delivery-tab-option span { font-size: 15px; font-weight: 600; color: #2c1a0e; }
.delivery-subfields { padding: 0 20px 20px; background: #faf9f7; border-top: 1px solid #ebe5df; }
.delivery-subfields .checkout-input { margin-top: 14px; }
.delivery-select-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 14px; }
.delivery-select { width: 100%; height: 48px; padding: 0 14px; border: 1.5px solid #d4ccc3; border-radius: 6px; font-size: 14.5px; color: #2c1a0e; background: #ffffff; cursor: pointer; }

.checkout-action-row { display: flex; justify-content: space-between; align-items: center; margin-top: 28px; }
.btn-to-payment { background: #2b7bb9; color: #ffffff; height: 50px; padding: 0 28px; border: none; border-radius: 6px; font-size: 15.5px; font-weight: 700; cursor: pointer; transition: background .2s; display: inline-flex; align-items: center; gap: 8px; }
.btn-to-payment:hover { background: #206296; }

/* CỘT PHẢI: TÓM TẮT ĐƠN HÀNG Ở BƯỚC 2 */
.checkout-summary-panel { background: #ffffff; border: 1.5px solid var(--line); border-radius: 12px; padding: 28px 30px; box-shadow: 0 4px 20px rgba(44, 26, 14, 0.04); }
.summary-item-list { display: grid; gap: 16px; margin-bottom: 20px; }
.summary-item-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.summary-thumb-wrap { position: relative; width: 66px; height: 66px; flex-shrink: 0; }
.summary-thumb-wrap img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.summary-badge-count { position: absolute; top: -8px; right: -8px; width: 22px; height: 22px; border-radius: 50%; background: #6b635c; color: #ffffff; font-size: 12px; font-weight: 700; display: grid; place-items: center; border: 2px solid #ffffff; }
.summary-item-name { flex: 1; font-size: 15px; font-weight: 600; color: #2c1a0e; line-height: 1.35; }
.summary-item-price { font-size: 15.5px; font-weight: 700; color: #1c1108; white-space: nowrap; }

.voucher-apply-row { display: flex; gap: 10px; margin: 20px 0; padding-top: 20px; border-top: 1px solid #ebe5df; }
.voucher-apply-row input { flex: 1; height: 46px; padding: 0 14px; border: 1.5px solid #d4ccc3; border-radius: 6px; font-size: 14.5px; text-transform: uppercase; }
.voucher-apply-row button { background: #b8b1a9; color: #ffffff; border: none; border-radius: 6px; padding: 0 22px; font-size: 14.5px; font-weight: 700; cursor: pointer; transition: background .2s; }
.voucher-apply-row button:hover { background: #2c1a0e; }

.summary-calc-list { padding-top: 16px; border-top: 1px solid #ebe5df; }
.summary-calc-row { display: flex; justify-content: space-between; margin: 10px 0; font-size: 15px; color: #6a5e54; }
.summary-calc-row.rescue-row { color: var(--green-dark); font-weight: 700; }
.summary-calc-row.total-row { padding-top: 14px; margin-top: 14px; border-top: 1.5px solid #ebe5df; font-size: 17px; font-weight: 700; color: #1c1108; align-items: baseline; }
.summary-calc-row.total-row strong { font-size: 26px; font-weight: 800; color: #1c1108; }

.empty-cart-state { text-align: center; padding: 60px 20px; }
.empty-cart-state svg { color: #b8aca1; margin-bottom: 16px; }
.empty-cart-state h2 { font-size: 22px; color: var(--brown); margin-bottom: 8px; }
.empty-cart-state p { font-size: 15.5px; color: var(--muted); margin-bottom: 22px; }

/* TƯƠNG THÍCH MÃ NGUỒN CŨ */
.cart-layout { display: block; }
.cart-page-item { display: none; }
.cart-product-copy { display: none; }
.shipping-form { margin-top: 24px; }
.checkout-summary { display: block; }
.tracking-page .tracking-section { min-height: 650px; padding-top: 80px; }
.tracking-page .tracking-intro h1 { font-size: 38px; }
.tracking-error { max-width: 650px; margin: 10px auto 0; color: var(--red); font-size: 11px; }
.not-found { min-height: 500px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; }
.not-found h1 { font-size: 30px; }

.about-page { background: var(--cream); }
.about-hero { padding-bottom: 65px; background: #f5f0e8; border-bottom: 1px solid var(--line); }
.about-breadcrumb { height: 52px; display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 10px; }
.about-breadcrumb strong { color: var(--brown); }
.about-hero-grid { display: grid; grid-template-columns: .9fr 1.1fr; min-height: 490px; overflow: hidden; background: white; border: 1px solid var(--line); border-radius: 6px; }
.about-copy { padding: 62px 54px; display: flex; flex-direction: column; justify-content: center; }
.about-copy h1 { max-width: 580px; font-size: clamp(35px, 4vw, 51px); line-height: 1.08; }
.about-copy > p { max-width: 560px; margin-top: 20px; color: #625850; font-size: 14px; line-height: 1.75; }
.about-actions { display: flex; gap: 10px; margin-top: 27px; }
.about-image { min-height: 490px; position: relative; overflow: hidden; }
.about-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(44,26,14,.08), transparent 35%); }
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.about-image > span { position: absolute; z-index: 1; right: 10px; bottom: 8px; padding: 4px 6px; color: white; background: rgba(31,18,9,.72); border-radius: 3px; font-size: 8px; }
.about-values { padding-block: 70px; }
.about-section-title { max-width: 650px; }
.about-section-title h2 { font-size: 34px; line-height: 1.2; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; }
.value-grid article { padding: 28px; background: white; border: 1px solid var(--line); border-radius: 5px; }
.value-grid article > span { width: 42px; height: 42px; display: grid; place-items: center; color: white; background: var(--green); border-radius: 4px; }
.value-grid h3 { margin-top: 18px; font-size: 19px; }
.value-grid p { margin-top: 10px; color: var(--muted); font-size: 12px; line-height: 1.65; }
.about-story { padding-block: 65px; color: white; background: var(--brown); }
.about-story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.about-story h2 { max-width: 500px; font-size: 33px; line-height: 1.25; }
.story-list { border-top: 1px solid #5a4435; }
.story-list p { display: grid; grid-template-columns: 90px 1fr; gap: 18px; padding: 18px 0; border-bottom: 1px solid #5a4435; }
.story-list strong { color: #a9d098; font: 700 18px 'Montserrat', 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
.story-list span { color: #d5c9c0; font-size: 12px; line-height: 1.6; }
.about-cta { 
  margin-block: 45px; 
  padding: 26px 32px; 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  gap: 24px; 
  background: #f7f7f7; 
  border: 1px solid #dcdcdc; 
  border-radius: 4px; 
}
.about-cta h2 { 
  font-size: 19px; 
  font-weight: 700; 
  color: #222222; 
  margin: 0 0 6px; 
}
.about-cta p { 
  margin: 0; 
  color: #666666; 
  font-size: 14px; 
  line-height: 1.5; 
}
.about-cta .btn.primary {
  padding: 10px 22px;
  background: #2c1a0e;
  color: #ffffff;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.news-page { min-height: 720px; padding-bottom: 65px; background: var(--cream); }
.news-breadcrumb { height: 55px; display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 11px; }
.news-breadcrumb a, .news-breadcrumb button { color: var(--muted); text-decoration: none; }
.news-breadcrumb a:hover, .news-breadcrumb button:hover { color: var(--brown); }
.news-breadcrumb strong { color: var(--brown); font-weight: 700; }
.news-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 38px; align-items: start; }
.news-sidebar { display: grid; gap: 25px; }
.sidebar-section { background: white; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.sidebar-section > h2 { padding: 11px 14px; background: #f5f4f2; border-left: 4px solid var(--brown); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0; color: var(--brown); margin: 0; }
.news-categories { padding: 0 14px 10px; display: flex; flex-direction: column; }
.news-categories > a, .news-categories > button { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 38px; color: #4f463f; border-bottom: 1px solid #efede9; font-size: 12px; font-weight: 500; text-align: left; text-decoration: none; background: transparent; border-top: 0; border-left: 0; border-right: 0; cursor: pointer; transition: color .2s ease; box-sizing: border-box; }
.news-categories > a:hover, .news-categories > button:hover { color: var(--green-dark); }
.news-categories > a.expanded, .news-categories > button.expanded { color: var(--green-dark); font-weight: 700; }
.news-categories a svg, .news-categories button svg { transform: rotate(90deg); flex-shrink: 0; }
.news-subcategories { padding: 6px 0 6px 16px; display: flex; flex-direction: column; gap: 2px; }
.news-subcategories a, .news-subcategories button { display: flex; align-items: center; min-height: 30px; color: #625850; font-size: 11px; text-align: left; text-decoration: none; background: transparent; border: 0; cursor: pointer; transition: color .2s ease; }
.news-subcategories a:hover, .news-subcategories a.selected, .news-subcategories button:hover, .news-subcategories button.selected { color: var(--green-dark); font-weight: 700; opacity: 1; }
.related-list { padding: 8px 14px 14px; display: flex; flex-direction: column; }
.related-list article { display: grid; grid-template-columns: 60px 1fr; gap: 10px; padding: 10px 0; border-bottom: 1px solid #efede9; align-items: center; }
.related-list article:last-child { border-bottom: 0; }
.related-list img { width: 60px; height: 45px; object-fit: cover; border: 1px solid #dce7d7; border-radius: 3px; display: block; }
.related-list a, .related-list button { display: block; color: var(--brown); font-size: 11px; font-weight: 700; line-height: 1.35; text-align: left; text-decoration: none; background: transparent; border: 0; cursor: pointer; transition: color .2s ease; }
.related-list a:hover, .related-list button:hover { color: var(--green-dark); opacity: 1; }
.related-list small { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; font-style: italic; }
.news-feed { display: grid; gap: 20px; }
.news-card { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 20px; min-height: 148px; padding-bottom: 22px; border-bottom: 1px solid var(--line); align-items: start; }
.news-image { height: 148px; position: relative; overflow: hidden; border: 2px solid var(--green); border-radius: 4px; background: #edf5e9; display: block; text-decoration: none; }
.news-image:hover { opacity: 1; }
.news-image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.news-card:hover .news-image img { transform: scale(1.03); }
.news-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(63,122,47,.8), transparent 60%); pointer-events: none; }
.news-image > span { position: absolute; z-index: 1; top: 12px; left: 12px; max-width: 120px; color: white; font: 700 9px/1.35 'Montserrat', 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; text-transform: uppercase; }
.news-card-copy { min-width: 0; padding-top: 2px; display: flex; flex-direction: column; align-items: flex-start; }
.news-card-copy h2 { overflow: hidden; color: var(--brown); font-size: 16px; font-weight: 700; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; margin: 0; width: 100%; }
.news-card-copy h2 a, .news-card-copy h2 button { display: block; max-width: 100%; overflow: hidden; text-align: left; text-overflow: ellipsis; white-space: nowrap; color: var(--brown); text-decoration: none; background: transparent; border: 0; cursor: pointer; transition: color .2s ease; font: inherit; }
.news-card-copy h2 a:hover, .news-card-copy h2 button:hover { color: var(--green-dark); opacity: 1; }
.news-meta { display: flex; align-items: center; gap: 6px; margin-top: 6px; color: #92887f; font-size: 11px; }
.news-meta svg { flex-shrink: 0; }
.news-excerpt { display: -webkit-box; overflow: hidden; margin-top: 8px; color: #665e57; font-size: 13px; line-height: 1.6; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.read-more { display: inline-flex; align-items: center; gap: 5px; margin-top: 10px; color: var(--green-dark); font-size: 11px; font-weight: 700; text-decoration: none; background: transparent; border: 0; cursor: pointer; transition: color .2s ease; }
.read-more:hover { color: var(--brown); opacity: 1; }
.news-detail-page { min-height: 720px; padding-bottom: 70px; background: var(--cream); }
.news-detail { max-width: 900px; padding: 38px 48px 48px; background: white; border: 1px solid var(--line); border-radius: 4px; }
.news-detail-category { display: inline-block; padding: 5px 7px; color: white; background: var(--green); border-radius: 2px; font-size: 9px; font-weight: 700; }
.news-detail h1 { max-width: 820px; margin-top: 14px; font-size: 34px; line-height: 1.2; color: var(--brown); }
.news-detail-meta { display: flex; align-items: center; gap: 6px; margin-top: 12px; color: var(--muted); font-size: 10px; }
.news-detail-image { width: 100%; height: 430px; margin-top: 25px; object-fit: cover; border: 2px solid var(--green); border-radius: 4px; }
.news-detail-body { max-width: 760px; margin: 28px auto 0; }
.news-detail-body p { margin-top: 16px; color: #574f48; font-size: 14px; line-height: 1.8; }
.news-detail-body h2 { margin-top: 30px; font-size: 24px; color: var(--brown); }
.news-detail-actions { max-width: 760px; margin: 32px auto 0; padding-top: 22px; display: flex; justify-content: space-between; border-top: 1px solid var(--line); }
.news-detail-actions .outline svg { transform: rotate(180deg); }

.catalog-page { min-height: 100vh; background: var(--cream); }
.catalog-container, .catalog-header-inner { width: min(1240px, calc(100% - 36px)); margin-inline: auto; }
.catalog-header { height: 68px; display: flex; align-items: center; background: var(--white); border-bottom: 1px solid var(--line); }
.catalog-header-inner { display: grid; grid-template-columns: 190px 1fr auto auto; align-items: center; gap: 20px; }
.catalog-menu { height: 68px; display: flex; align-items: stretch; justify-content: center; }
.catalog-menu button { position: relative; padding: 0 14px; color: #655a52; font-size: 11.5px; font-weight: 500; white-space: nowrap; }
.catalog-menu button.active { color: var(--brown); }
.catalog-menu button.active::after { content: ''; position: absolute; right: 14px; bottom: 0; left: 14px; height: 3px; background: var(--green); }
.catalog-hotline { min-height: 40px; padding: 0 11px; color: var(--brown); background: #f5f1eb; border: 1px solid var(--line); border-radius: 5px; }
.catalog-hotline small, .catalog-hotline strong { display: block; text-align: left; }
.catalog-hotline small { margin-bottom: 2px; color: var(--muted); font-size: 8px; letter-spacing: .08em; }
.catalog-hotline strong { font: 700 11.5px 'Montserrat', 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
.catalog-cart { width: 38px; height: 38px; position: relative; border: 1px solid var(--line); border-radius: 5px; }
.catalog-cart b { position: absolute; top: -6px; right: -6px; min-width: 16px; height: 16px; padding: 0 3px; display: grid; place-items: center; color: white; background: var(--red); border-radius: 3px; font-size: 8.5px; }
.catalog-intro { background: #f4efe7; border-bottom: 1px solid var(--line); }
.catalog-breadcrumb { height: 42px; display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; }
.catalog-breadcrumb a { color: var(--muted); text-decoration: none; }
.catalog-breadcrumb a:hover { color: var(--brown); }
.catalog-breadcrumb strong { color: var(--brown); font-weight: 700; }
.catalog-banner { min-height: 100px; display: flex; align-items: center; gap: 16px; padding: 18px 24px; color: white; background: var(--brown); border-radius: 6px 6px 0 0; }
.catalog-banner > span { width: 44px; height: 44px; display: grid; place-items: center; flex: 0 0 auto; color: var(--brown); background: #b7d7a8; border-radius: 5px; }
.catalog-banner small { display: block; margin-bottom: 5px; color: #b8d8a9; font: 700 10.5px 'Montserrat', 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; letter-spacing: .07em; }
.catalog-banner h1 { font-size: clamp(20px, 2.2vw, 28px); }
.catalog-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 20px; padding-block: 22px 55px; align-items: start; }
.filter-sidebar { padding: 18px; background: #ffffff; border: 1px solid #ebe5df; border-radius: 7px; box-shadow: 0 3px 14px rgba(44, 26, 14, 0.04); }
.filter-heading { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid #eee8e2; margin-bottom: 4px; }
.filter-heading-left { display: flex; align-items: center; gap: 8px; color: var(--brown); }
.filter-heading-left svg { color: var(--green); }
.filter-heading-left h2 { font-size: 13.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; margin: 0; color: var(--brown); }
.filter-reset-link { font-size: 11.5px; color: var(--muted); background: none; border: none; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; font-weight: 500; transition: color .2s; padding: 0; }
.filter-reset-link:hover { color: var(--green-dark); }
.filter-group { padding: 12px 0; border-bottom: 1px solid #f0eae4; }
.filter-group-header h3 { margin-bottom: 8px; font-size: 13.5px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; color: #1f1a16; }
.filter-group-body { display: flex; flex-direction: column; gap: 6px; }
.filter-option { position: relative; display: flex; align-items: center; gap: 9px; padding: 5px 0; cursor: pointer; font-size: 13.5px; color: #333333; user-select: none; }
.filter-option:hover .filter-label { color: var(--green-dark); }
.filter-option input { position: absolute; opacity: 0; pointer-events: none; }
.custom-check { width: 17px; height: 17px; border: 1px solid #dcdcdc; border-radius: 2px; background: #ffffff; display: inline-flex; align-items: center; justify-content: center; transition: all .15s ease; flex-shrink: 0; }
.filter-option input:checked + .custom-check { background: var(--green); border-color: var(--green); }
.filter-option input:checked + .custom-check::after { content: ''; width: 4.5px; height: 9px; border: solid white; border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -1px); }
.custom-radio { width: 17px; height: 17px; border: 1px solid #dcdcdc; border-radius: 50%; background: #ffffff; display: inline-flex; align-items: center; justify-content: center; transition: all .15s ease; flex-shrink: 0; }
.filter-option input:checked + .custom-radio { border-color: var(--green); background: #ffffff; }
.filter-option input:checked + .custom-radio::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.filter-label { font-size: 13.5px; font-weight: 400; color: #333333; line-height: 1.4; }
.filter-option input:checked ~ .filter-label { font-weight: 600; color: #1a0d08; }
.filter-actions { margin-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.apply-filter { width: 100%; height: 40px; background: var(--green); color: white; border-radius: 5px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; border: none; cursor: pointer; box-shadow: 0 3px 10px rgba(88,148,66,0.2); transition: background .2s ease, transform .15s ease; }
.apply-filter:hover { background: var(--green-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(88,148,66,0.28); opacity: 1; }
.clear-filter { width: 100%; height: 38px; background: #fbf9f6; color: #6a5e54; border: 1px solid #e2dbd3; border-radius: 5px; font-size: 12.5px; font-weight: 600; cursor: pointer; text-decoration: none; transition: all .2s ease; display: flex; align-items: center; justify-content: center; }
.clear-filter:hover { background: #f3eee7; color: var(--brown); border-color: #d1c6bb; }
.catalog-toolbar { min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 16px; background: var(--white); border: 1px solid var(--line); border-radius: 5px; }
.catalog-toolbar p { color: var(--muted); font-size: 13.5px; margin: 0; }
.catalog-toolbar p strong { color: var(--brown); font-weight: 700; }
.active-filters { display: flex; gap: 6px; margin-top: 6px; }
.active-filters button { padding: 5px 11px; color: #ffffff; background: #3f7a2f; border: 1px solid #3f7a2f; border-radius: 4px; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; gap: 5px; }
.sort-control { height: 38px; display: flex; align-items: center; gap: 6px; padding: 0 11px; background: var(--cream); border: 1px solid var(--line); border-radius: 4px; font-size: 13px; white-space: nowrap; }
.sort-control span { color: var(--muted); }
.sort-control select { min-width: 95px; color: var(--brown); background: transparent; border: none; outline: none; box-shadow: none; padding: 0; font-size: 13px; font-weight: 700; cursor: pointer; }
.catalog-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 14px; animation: product-filter-in .28s ease-out; }
.catalog-card { overflow: hidden; background: white; border: 1px solid var(--line); border-radius: 6px; transition: transform .2s ease, box-shadow .2s ease; display: flex; flex-direction: column; cursor: pointer; }
.catalog-card:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(44,26,14,.08); }
.catalog-product-image { height: 200px; position: relative; display: grid; place-items: center; background: #fbf9f6; border-bottom: 1px solid var(--line); }
.catalog-product-image .pack { width: 100px; height: 140px; }
.catalog-product-image .kibble { right: 16px; bottom: 14px; }
.new-badge, .sale-badge { position: absolute; z-index: 2; top: 10px; left: 10px; padding: 4px 7px; color: white; border-radius: 3px; font-size: 11px; font-weight: 700; letter-spacing: .03em; }
.new-badge { background: var(--green); }
.sale-badge { background: var(--red); }
.catalog-card-body { padding: 13px; display: flex; flex-direction: column; flex: 1; }
.catalog-category { display: block; color: var(--green-dark); font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 4px; }
.catalog-card-body h2 { min-height: 38px; margin: 0 0 5px; font-size: 13.5px; font-weight: 600; line-height: 1.4; color: var(--brown); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.catalog-card:hover .catalog-card-body h2 { color: var(--green-dark); }
.catalog-brand { margin: 0 0 6px; color: var(--muted); font-size: 12.5px; }
.volume-tag { display: inline-block; width: fit-content; padding: 3px 6px; color: #5a5047; background: #f4f0eb; border: 1px solid var(--line); border-radius: 3px; font-size: 11.5px; font-weight: 600; margin-bottom: 8px; }
.catalog-price { min-height: 24px; display: flex; align-items: baseline; gap: 6px; margin-top: auto; padding-top: 4px; }
.catalog-price strong { color: #111827; font: 700 17px 'Montserrat', 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
.catalog-price del { color: #8e8379; font-size: 12.5px; text-decoration: line-through; }
.add-cart-button { width: 100%; min-height: 38px; margin-top: 10px; color: white; background: var(--green); border-radius: 4px; font-size: 13px; font-weight: 700; letter-spacing: .02em; display: inline-flex; align-items: center; justify-content: center; gap: 7px; transition: background .2s ease; }
.add-cart-button:hover { background: var(--green-dark); opacity: 1; }

.fund-hero { padding: 45px 0 55px; text-align: center; color: var(--white); background: var(--brown); }
.fund-hero h1 { font-size: 30px; }
.fund-hero > .container > p { max-width: 540px; margin: 10px auto 22px; color: #d8cec6; font-size: 13.5px; line-height: 1.6; }
.fund-counter { width: fit-content; min-width: 340px; margin: auto; padding: 14px 32px; border: 1px solid #574232; border-radius: 6px; background: #392317; }
.fund-counter small, .fund-counter strong, .fund-counter span { display: block; }
.fund-counter small { color: #c8b9af; font-size: 9px; letter-spacing: .06em; }
.fund-counter strong { margin: 4px 0; color: #a8d294; font: 700 28px 'Montserrat', 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
.fund-counter sup { font-size: 15px; }
.fund-counter span { font-size: 9px; color: #bcaea4; }
.fund-counter span i { display: inline-block; width: 6px; height: 6px; margin-right: 4px; border-radius: 50%; background: #7bc760; }
.transparency { display: grid; grid-template-columns: 1.3fr .7fr; gap: 20px; margin-top: -24px; padding-bottom: 50px; }
.shelter-card, .statement-card { overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: 6px; box-shadow: var(--shadow); }
.shelter-card { display: grid; grid-template-columns: .9fr 1.1fr; }
.shelter-card img { width: 100%; height: 100%; object-fit: cover; }
.shelter-card > div { padding: 22px; }
.shelter-card h2, .statement-card h2 { font-size: 19px; line-height: 1.3; font-weight: 700; }
.shelter-card p { margin: 10px 0 16px; color: #5a4f46; font-size: 13.5px; line-height: 1.55; }
.verified { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 5px; color: #2e6b22; background: #edf5ea; font-size: 12.5px; font-weight: 700; }
.verified svg { fill: #2e6b22; color: #2e6b22; }
.statement-card { padding: 22px; }
.paper-icon { width: 40px; height: 40px; display: grid; place-items: center; color: #2e6b22; border-radius: 6px; background: #edf5ea; margin-bottom: 12px; }
.statement-card > small { font-size: 10.5px; color: var(--green-dark); font-weight: 700; letter-spacing: .06em; }
.statement-card h2 { margin-top: 5px; }
.statement-card dl { margin: 14px 0; border-top: 1px solid var(--line); }
.statement-card dl div { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.statement-card dt { color: #6e635a; }
.statement-card dd { font-weight: 700; color: #1a0d08; }
.statement-card .outline { width: 100%; background: #ffffff; color: #2c1a0e; border: 1px solid #dcd5cc; font-weight: 700; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; border-radius: 5px; height: 38px; transition: all .2s ease; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.statement-card .outline:hover { background: #faf8f5; border-color: #2c1a0e; opacity: 1; }
.tracking-section { padding: 45px 0 65px; background: #f5f2eb; min-height: 75vh; }
.tracking-intro { text-align: center; max-width: 720px; margin: 0 auto; }
.tracking-intro .eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.tracking-intro h1 { font-size: 28px; font-weight: 800; margin-top: 8px; color: var(--brown); }
.tracking-intro p { margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.tracking-card { max-width: 680px; margin: 26px auto 0; padding: 6px; display: flex; align-items: center; gap: 10px; background: white; border: 1.5px solid var(--line); border-radius: 8px; box-shadow: 0 6px 20px rgba(40,26,16,.06); }
.tracking-card label { flex: 1; display: flex; align-items: center; gap: 10px; padding: 0 12px; color: #9b918a; height: 42px; }
.tracking-card input { flex: 1; font-size: 14px; font-weight: 600; color: #2c1a0e; border: none; background: transparent; }
.tracking-card input::placeholder { color: #a49990; font-weight: 400; }
.tracking-card .btn.primary { height: 42px; padding: 0 24px; font-size: 13px; font-weight: 700; border-radius: 6px; letter-spacing: .03em; text-transform: uppercase; flex-shrink: 0; }
.tracking-empty-hint { max-width: 680px; margin: 24px auto 0; padding: 32px 24px; background: #ffffff; border: 1.5px dashed #dcd5cb; border-radius: 10px; text-align: center; box-shadow: 0 4px 18px rgba(40,26,16,.04); }
.tracking-empty-hint .hint-icon { width: 54px; height: 54px; margin: 0 auto 12px; display: grid; place-items: center; border-radius: 50%; background: #f1ede5; color: var(--brown); }
.tracking-empty-hint h3 { font-size: 22px; font-weight: 700; color: var(--brown); }
.tracking-empty-hint p { margin-top: 10px; font-size: 15.5px; color: var(--muted); line-height: 1.6; max-width: 640px; margin-inline: auto; }
.tracking-error { max-width: 820px; margin: 24px auto 0; padding: 16px 22px; background: #fdf2f2; border: 1.5px solid #f8d7da; border-radius: 10px; color: #b02a37; font-size: 15.5px; font-weight: 600; text-align: center; }
.order-result { max-width: 960px; margin: 30px auto 0; background: #ffffff; border: 1px solid #dcdcdc; border-radius: 4px; box-shadow: 0 2px 6px rgba(0,0,0,0.04); overflow: hidden; font-family: Arial, sans-serif; }
.result-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 24px; border-bottom: 1px solid #e5e5e5; background: #f7f7f7; }
.result-head small { font-size: 12px; font-weight: 700; color: #666; text-transform: uppercase; }
.result-head strong { margin-left: 8px; font-size: 18px; font-weight: 700; color: #111; }
.result-head > span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 3px; font-size: 13px; font-weight: 700; color: #ffffff; }
.result-grid { display: grid; grid-template-columns: 1fr 1fr; padding: 24px; gap: 20px; border-bottom: 1px solid #e5e5e5; background: #ffffff; }
.result-impact { background: #fafafa; border: 1px solid #e8e8e8; border-radius: 4px; padding: 16px 20px; }
.result-impact small { font-size: 12px; font-weight: 700; color: #666; text-transform: uppercase; display: block; }
.result-impact strong { display: block; margin: 6px 0; color: #2c1a0e; font-size: 22px; font-weight: 700; }
.result-impact em { display: block; color: #555; font-size: 13.5px; font-style: normal; line-height: 1.5; }
.result-grid > div:nth-child(2) { background: #fafafa; border: 1px solid #e8e8e8; border-radius: 4px; padding: 16px 20px; }
.result-grid > div:nth-child(2) small { font-size: 12px; font-weight: 700; color: #666; text-transform: uppercase; display: block; }
.result-grid > div:nth-child(2) strong { display: block; margin: 6px 0 8px; font-size: 16px; font-weight: 700; color: #222; }
.result-grid > div:nth-child(2) p { color: #555; font-size: 13.5px; line-height: 1.5; margin: 0 0 6px; }

/* TIMELINE BASIC & PHẲNG KHÔNG LỆCH DÒNG */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); padding: 20px 24px; background: #ffffff; gap: 16px; }
.timeline > div { display: block; position: relative; text-align: left; }
.timeline > div::after { display: none !important; }
.timeline-step-indicator { display: flex; align-items: center; margin-bottom: 8px; }
.timeline-step-badge { width: 24px; height: 24px; border-radius: 3px; display: grid; place-items: center; font-size: 12px; font-weight: 700; flex-shrink: 0; color: #fff; }
.timeline-step-bar { flex: 1; height: 2px; margin-left: 8px; background: #e5e5e5; }
.timeline strong { display: block; font-size: 13.5px; font-weight: 700; color: #222; }
.timeline small { display: block; margin-top: 4px; color: #777; font-size: 12px; }

.admin-page { min-height: 100vh; background: #f4f4f1; font-size: 15px; }
.admin-header { height: 80px; padding: 0 4vw; display: flex; align-items: center; gap: 30px; background: white; border-bottom: 1px solid var(--line); }
.admin-session { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.admin-session > span { padding: 6px 9px; border-radius: 4px; background: var(--brown); color: white; font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.admin-session small, .admin-session strong { display: block; text-align: right; }
.admin-session small { color: var(--muted); font-size: 12px; }
.admin-session strong { font-size: 14.5px; }
.admin-shell { width: min(1560px, calc(100% - 64px)); margin: auto; padding: 43px 0 70px; }
.admin-title { display: flex; justify-content: space-between; align-items: flex-end; }
.admin-title h1 { font-size: 32px; }
.admin-title p, .admin-title > span { color: var(--muted); font-size: 14px; margin-top: 7px; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 27px; }
.metric-grid article { position: relative; display: flex; align-items: center; gap: 16px; padding: 22px; background: white; border: 1px solid var(--line); border-radius: 8px; }
.metric-grid article > span { width: 48px; height: 48px; display: grid; place-items: center; color: var(--brown); border-radius: 6px; background: var(--cream-2); }
.metric-grid article p small, .metric-grid article p strong { display: block; }
.metric-grid article p small { color: var(--muted); font-size: 13px; }
.metric-grid article p strong { margin-top: 6px; font: 700 24px 'Montserrat', 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
.metric-grid article em { position: absolute; top: 16px; right: 16px; color: var(--green-dark); font-size: 12px; font-style: normal; }
.metric-grid article.green { color: white; background: var(--green); border-color: var(--green); }
.metric-grid article.green > span { color: white; background: rgba(255,255,255,.15); }
.metric-grid article.green p small, .metric-grid article.green em { color: #e3f1dd; }
.orders-panel { margin-top: 28px; background: white; border: 1px solid var(--line); border-radius: 8px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; padding: 24px; border-bottom: 1px solid var(--line); }
.panel-head h2 { font-size: 20px; }
.panel-head p { margin-top: 4px; color: var(--muted); font-size: 13.5px; }
.admin-search { width: 280px; height: 44px; display: flex; align-items: center; gap: 10px; padding: 0 14px; color: #999; border: 1px solid var(--line); border-radius: 6px; }
.admin-search input { min-width: 0; font-size: 14px; width: 100%; }
.table-wrap { overflow-x: auto; }
.admin-shell table { width: 100%; border-collapse: collapse; }
.admin-shell th { padding: 14px 20px; text-align: left; color: var(--muted); background: #faf9f7; font-size: 12px; letter-spacing: .07em; text-transform: uppercase; }
.admin-shell td { padding: 18px 20px; border-top: 1px solid var(--line); font-size: 14.5px; white-space: nowrap; }
.policy-page td, .policy-page th { white-space: normal; word-break: break-word; line-height: 1.55; }
td small { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; }
td:first-child b { font-family: 'Montserrat', 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; font-size: 15px; }
.fund-cell { color: var(--green-dark); font-weight: 700; }
.fund-cell svg { display: inline; vertical-align: -3px; }
.status { display: inline-block; padding: 6px 12px; border-radius: 5px; font-size: 12px; font-weight: 700; }
.status.done { color: var(--green-dark); background: #eaf4e6; }
.status.pending { color: #9a671a; background: #fff3dc; }
.status.shipping { color: #35628d; background: #eaf3fb; }
.approve { padding: 8px 14px; border-radius: 5px; color: white; background: var(--green); font-size: 12px; font-weight: 700; }
.reconciled { display: flex; gap: 6px; color: var(--green-dark); font-size: 12px; font-weight: 700; }
.pagination { padding: 18px 20px; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.pagination div { display: flex; gap: 4px; }
.pagination button { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 4px; font-size: 13.5px; }
.pagination button.active { color: white; background: var(--brown); }

.ops-admin { min-height: 100vh; color: #29231f; background: #f6f5f2; font-family: 'Montserrat', 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; font-size: 13.5px; line-height: 1.5; }
.ops-admin h1, .ops-admin h2, .ops-admin h3, .ops-admin button, .ops-admin input, .ops-admin select { font-family: 'Montserrat', 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
.ops-header { height: 62px; position: sticky; z-index: 20; top: 0; background: white; border-bottom: 1px solid #e5e1dc; }
.ops-header-inner { width: min(1360px, calc(100% - 36px)); height: 100%; margin: auto; display: grid; grid-template-columns: 200px minmax(280px, 1fr) auto auto auto; align-items: center; gap: 16px; }
.ops-search { height: 38px; display: flex; align-items: center; gap: 8px; padding: 0 12px; color: #8a8179; background: #faf9f7; border: 1px solid #ddd8d2; border-radius: 6px; }
.ops-search input { width: 100%; min-width: 0; color: #342d28; background: transparent; border: none; outline: none; box-shadow: none; padding: 0; font-size: 13px; }
.ops-range { height: 38px; display: flex; align-items: center; gap: 8px; padding: 0 12px; color: #6b625a; background: white; border: 1px solid #ddd8d2; border-radius: 6px; }
.ops-range select { color: #3c342e; background: transparent; border: none; outline: none; box-shadow: none; padding: 0; font-size: 12.5px; font-weight: 600; cursor: pointer; }
.ops-notification-wrap { position: relative; }
.ops-icon-button { width: 38px; height: 38px; position: relative; color: #554b44; border: 1px solid #ddd8d2; border-radius: 6px; }
.ops-icon-button b { position: absolute; top: -4px; right: -4px; min-width: 17px; height: 17px; display: grid; place-items: center; color: white; background: #d94841; border: 2px solid white; border-radius: 10px; font-size: 9.5px; font-weight: 700; }
.ops-notification-menu { width: 280px; position: absolute; top: 48px; right: 0; padding: 14px; background: white; border: 1px solid #ddd8d2; border-radius: 8px; box-shadow: 0 8px 24px rgba(44,26,14,.12); }
.ops-notification-menu strong { font-size: 13.5px; }
.ops-notification-menu p { padding: 8px 0; color: #6b625a; border-bottom: 1px solid #eeeae6; font-size: 12px; line-height: 1.4; }
.ops-profile { display: flex; align-items: center; gap: 10px; padding-left: 16px; border-left: 1px solid #e5e1dc; }
.ops-profile > span { width: 36px; height: 36px; display: grid; place-items: center; color: white; background: var(--brown); border-radius: 6px; font-size: 13px; font-weight: 700; }
.ops-profile p strong, .ops-profile p small { display: block; white-space: nowrap; }
.ops-profile p strong { font-size: 13.5px; }
.ops-profile p small { margin-top: 1px; color: #8b8178; font-size: 11px; }
.ops-profile > button { margin-left: 4px; color: #796f67; }
.ops-shell { width: min(1360px, calc(100% - 36px)); margin: auto; padding: 20px 0 45px; }
.ops-title-row { display: flex; align-items: flex-end; justify-content: space-between; }
.ops-title-row h1 { font-size: 24px; letter-spacing: -.02em; }
.ops-title-row p { margin-top: 4px; color: #7b7169; font-size: 13px; }
.ops-title-row > span { padding: 6px 10px; color: #625850; background: white; border: 1px solid #ded9d3; border-radius: 5px; font-size: 11.5px; font-weight: 600; }
.ops-kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 18px; }
.ops-kpi { min-height: 105px; display: flex; align-items: center; gap: 14px; padding: 16px; background: white; border: 1px solid #e3dfda; border-radius: 8px; box-shadow: 0 2px 9px rgba(44,26,14,.04); }
.ops-kpi-icon { width: 42px; height: 42px; display: grid; place-items: center; flex: 0 0 auto; color: var(--brown); background: #f3eee9; border-radius: 7px; }
.ops-kpi small, .ops-kpi strong { display: block; }
.ops-kpi small { color: #776d65; font-size: 12px; font-weight: 600; }
.ops-kpi strong { margin-top: 4px; color: #2f2823; font-size: 21px; line-height: 1.2; }
.ops-kpi p { margin-top: 6px; color: #887e76; font-size: 11.5px; }
.ops-kpi em { color: var(--green-dark); font-style: normal; font-weight: 700; }
.ops-kpi.rescue { border-top: 3px solid var(--green); }
.ops-kpi.rescue .ops-kpi-icon { color: var(--green-dark); background: #edf5e9; }
.ops-kpi.warning { border-top: 3px solid #d98b22; }
.ops-kpi.warning .ops-kpi-icon { color: #a66410; background: #fff3df; }
.ops-kpi.warning em { color: #a66410; }
.ops-dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.85fr) minmax(360px, 1fr); gap: 18px; margin-top: 18px; align-items: start; }
.ops-main-column, .ops-side-column { display: grid; gap: 18px; }
.ops-card { background: white; border: 1px solid #e3dfda; border-radius: 10px; box-shadow: 0 2px 9px rgba(44,26,14,.04); }
.ops-card-head { min-height: 70px; padding: 18px 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid #ece8e4; }
.ops-card-head h2 { font-size: 18px; letter-spacing: -.01em; }
.ops-card-head p { margin-top: 4px; color: #8a8078; font-size: 13px; }
.ops-card-head > button { color: var(--green-dark); font-size: 13px; font-weight: 700; }
.ops-card-head > span { min-width: 28px; height: 28px; display: grid; place-items: center; color: #a45d0c; background: #fff0d7; border-radius: 6px; font-size: 12px; font-weight: 700; }
.ops-legend { display: flex; gap: 16px; color: #776e66; font-size: 13px; }
.ops-legend span { display: flex; align-items: center; gap: 6px; }
.ops-legend i { width: 10px; height: 10px; border-radius: 2px; }
.ops-legend i.revenue { background: var(--brown); }
.ops-legend i.orders { background: var(--green); }
.ops-chart { height: 330px; position: relative; padding: 22px 18px 28px 55px; }
.ops-chart svg { width: 100%; height: 260px; overflow: visible; }
.ops-chart svg rect { fill: var(--brown); opacity: .88; }
.ops-chart .grid-lines path { fill: none; stroke: #ece9e5; stroke-width: 1; }
.ops-chart .order-line { fill: none; stroke: var(--green); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.ops-chart svg circle { fill: white; stroke: var(--green); stroke-width: 3; }
.ops-y-axis { position: absolute; top: 21px; bottom: 45px; left: 17px; display: flex; flex-direction: column; justify-content: space-between; color: #9a9189; font-size: 12px; }
.ops-x-axis { display: flex; justify-content: space-around; color: #9a9189; font-size: 12px; }
.ops-secondary-button { min-height: 36px; padding: 0 12px; color: #554b44 !important; border: 1px solid #d9d4ce; border-radius: 6px; font-size: 13px; }
.ops-table-wrap { overflow-x: auto; }
.ops-table { min-width: 880px; }
.ops-table th { padding: 13px 16px; color: #81776f; background: #faf9f7; font-size: 12px; font-weight: 700; }
.ops-table td { padding: 15px 16px; color: #4f4741; font-size: 14px; }
.ops-table code { color: #6e645d; font-family: 'Montserrat', 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; font-size: 13px; }
.ops-product { min-width: 250px; display: flex; align-items: center; gap: 12px; }
.ops-product > span { width: 44px; height: 44px; display: block; overflow: hidden; flex: 0 0 auto; background: #f4f1ec; border: 1px solid #ebe6e0; border-radius: 8px; }
.ops-product .pack { width: 22px; height: 32px; }
.ops-product .pack > * { display: none; }
.ops-product .kibble { display: none; }
.ops-product strong { font-size: 14px; line-height: 1.35; }
.ops-stock-status { display: inline-block; padding: 5px 12px; border-radius: 4px; font-size: 12px; font-weight: 700; white-space: nowrap; line-height: 1.3; text-align: center; }
.ops-stock-status.good { color: #ffffff; background: #2e7d32; }
.ops-stock-status.low { color: #ffffff; background: #d97706; }
.ops-stock-status.out { color: #ffffff; background: #c94336; }
.ops-restock {
  background: #efefef;
  color: #111111;
  border: 1px solid #767676;
  border-radius: 3px;
  padding: 3px 10px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: none;
  outline: none;
}
.ops-restock:hover {
  background: #e5e5e5;
  border-color: #555555;
}
.ops-alert-list { padding: 8px 20px 14px; }
.ops-alert-list > div { display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid #eeeae6; }
.ops-alert-list > div:last-child { border-bottom: 0; }
.ops-alert-list > div > span { width: 36px; height: 36px; display: grid; place-items: center; color: #a66410; background: #fff0d9; border-radius: 8px; }
.ops-alert-list > div > span.out { color: #a8322d; background: #fde9e7; }
.ops-alert-list strong, .ops-alert-list small { display: block; }
.ops-alert-list strong { font-size: 14px; line-height: 1.35; }
.ops-alert-list small { margin-top: 4px; color: #9b5b0c; font-size: 12.5px; }
.ops-alert-list button { min-height: 32px; padding: 0 10px; color: #9b5b0c; border: 1px solid #e7c590; border-radius: 6px; font-size: 12px; font-weight: 700; }
.ops-top-products { padding: 10px 20px 16px; }
.ops-top-products > div { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; padding: 12px 0; }
.ops-top-products > div > b { color: #a69c94; font-size: 13.5px; }
.ops-top-products strong, .ops-top-products small { display: block; }
.ops-top-products strong { font-size: 14px; }
.ops-top-products small { margin-top: 4px; color: #8b8179; font-size: 12.5px; }
.ops-top-products i { height: 6px; display: block; margin-top: 8px; overflow: hidden; background: #ece9e5; border-radius: 3px; }
.ops-top-products i span { height: 100%; display: block; background: var(--green); border-radius: 3px; }
.ops-order-feed { padding: 8px 20px 16px; }
.ops-order-feed > div { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 13px 0; border-bottom: 1px solid #eeeae6; }
.ops-order-feed > div:last-child { border-bottom: 0; }
.ops-order-feed > div > span { width: 36px; height: 36px; display: grid; place-items: center; color: white; background: var(--brown); border-radius: 8px; font-size: 13px; font-weight: 700; }
.ops-order-feed p strong, .ops-order-feed p small, .ops-order-feed p em { display: block; }
.ops-order-feed p strong { font-size: 14px; }
.ops-order-feed p small { margin-top: 3px; overflow: hidden; color: #827871; font-size: 12.5px; text-overflow: ellipsis; white-space: nowrap; }
.ops-order-feed p em { margin-top: 4px; color: #a19992; font-size: 11.5px; font-style: normal; }
.ops-order-feed > div > b { color: var(--brown); font-size: 14px; white-space: nowrap; }
.ops-workspace { width: min(1680px, 100%); min-height: calc(100vh - 80px); margin: auto; display: grid; grid-template-columns: 260px minmax(0, 1fr); }
.ops-sidebar { min-height: calc(100vh - 80px); padding: 26px 16px; display: flex; flex-direction: column; background: #fff; border-right: 1px solid #ded9d3; }
.ops-sidebar-label { padding: 0 12px 14px; color: #948a82; font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.ops-sidebar nav { display: grid; gap: 6px; }
.ops-sidebar nav button { min-height: 48px; justify-content: flex-start; padding: 0 14px; color: #5f554e; border-left: 3px solid transparent; border-radius: 6px; font-size: 14.5px; font-weight: 600; gap: 10px; }
.ops-sidebar nav button:hover { color: var(--brown); background: #f7f5f2; opacity: 1; }
.ops-sidebar nav button.active { color: var(--brown); background: #f0ece7; border-left-color: var(--green); font-weight: 700; }
.ops-sidebar-bottom { margin-top: auto; padding: 18px 12px 0; border-top: 1px solid #e7e3de; }
.ops-sidebar-bottom p strong, .ops-sidebar-bottom p small { display: block; }
.ops-sidebar-bottom p strong { font-size: 14px; }
.ops-sidebar-bottom p small { margin-top: 3px; color: #8b8179; font-size: 12px; }
.ops-sidebar-bottom a, .ops-sidebar-bottom button { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; color: #6e645c; font-size: 13px; text-decoration: none; }
.ops-sidebar-bottom a:hover { color: var(--brown); }
.ops-content { min-width: 0; padding: 32px 36px 60px; }
.ops-page-heading { min-height: 56px; display: flex; align-items: flex-start; justify-content: space-between; }
.ops-page-heading h1 { font-size: 28px; font-weight: 800; }
.ops-page-heading p { margin-top: 5px; color: #7b7169; font-size: 14px; }
.ops-page-heading > span { color: #948a82; font-size: 12px; }
.ops-summary-row { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 22px; background: white; border: 1px solid #ded9d3; border-radius: 8px; }
.ops-summary-row > div { min-height: 120px; padding: 22px 24px; border-right: 1px solid #e7e3de; }
.ops-summary-row > div:last-child { border-right: 0; }
.ops-summary-row small, .ops-summary-row strong, .ops-summary-row p { display: block; }
.ops-summary-row small { color: #736960; font-size: 13px; font-weight: 600; }
.ops-summary-row strong { margin-top: 8px; color: #302923; font-size: 26px; }
.ops-summary-row p { margin-top: 8px; color: #8a8078; font-size: 12.5px; }
.ops-summary-row p.positive { color: var(--green-dark); }
.ops-summary-row p.warning-text { color: #a56415; }
.ops-overview-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(320px, .8fr); gap: 18px; margin-top: 18px; align-items: start; }
.ops-card { border-radius: 8px; box-shadow: none; }
.ops-card-head { min-height: 68px; padding: 16px 20px; }
.ops-chart { height: 320px; }
.ops-inventory-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 18px; margin-top: 22px; align-items: start; }
.ops-flat-alerts { overflow: hidden; }
.ops-flat-alert-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 18px; border-bottom: 1px solid #ebe7e2; }
.ops-flat-alert-row:last-child { border-bottom: 0; }
.ops-flat-alert-row p strong, .ops-flat-alert-row p small { display: block; }
.ops-flat-alert-row p strong { font-size: 14px; line-height: 1.35; }
.ops-flat-alert-row p small { margin-top: 4px; color: #a45f11; font-size: 12.5px; }
.ops-flat-alert-row button {
  background: #efefef;
  color: #111111;
  border: 1px solid #767676;
  border-radius: 3px;
  padding: 3px 10px;
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: none;
}
.ops-flat-alert-row button:hover {
  background: #e5e5e5;
  border-color: #555555;
}
.ops-orders-table { min-width: 960px; }
.ops-orders-table td > small { display: block; margin-top: 4px; color: #8c827a; font-size: 12.5px; }
.ops-fund-cell { color: var(--green-dark) !important; font-weight: 700; }
.ops-order-status { display: inline-block; padding: 5px 12px; border-radius: 4px; font-size: 12px; font-weight: 700; white-space: nowrap; line-height: 1.3; text-align: center; }
.ops-order-status.done { color: #ffffff; background: #2e7d32; }
.ops-order-status.processing { color: #ffffff; background: #d97706; }
.ops-order-status.cancelled { color: #ffffff; background: #c94336; }
.ops-row-action {
  background: #efefef;
  color: #111111;
  border: 1px solid #767676;
  border-radius: 3px;
  padding: 3px 8px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: none;
  text-decoration: none;
}
.ops-row-action:hover {
  background: #e5e5e5;
  border-color: #555555;
}
.fund-summary { grid-template-columns: repeat(3, 1fr); margin-bottom: 16px; }
.ops-report-layout { width: 100%; max-width: 100%; margin-top: 22px; }
.ops-report-row { display: grid; grid-template-columns: 36px 1fr auto; gap: 14px; align-items: center; padding: 16px 18px; border-bottom: 1px solid #e7e3de; }
.ops-report-row:last-child { border-bottom: 0; }
.ops-report-row > span { width: 36px; height: 36px; display: grid; place-items: center; color: #675d55; border: 1px solid #ded9d3; border-radius: 6px; }
.ops-report-row p strong, .ops-report-row p small { display: block; }
.ops-report-row p strong { font-size: 14px; }
.ops-report-row p small { margin-top: 4px; color: #8b8179; font-size: 12.5px; }

/* ==========================================================================
   RESPONSIVE OPS ADMIN: LAPTOP CHIA ĐÔI MÀN HÌNH (SPLIT-SCREEN) & TABLET
   ========================================================================== */
@media (max-width: 1120px) {
  /* 1. Header Admin gọn gàng, không bị tràn ngang */
  .ops-header {
    height: auto;
    min-height: 64px;
    padding: 10px 16px;
  }
  .ops-header-inner {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }
  .ops-header-inner .logo-button svg {
    height: 36px;
    width: auto;
  }
  .ops-search {
    order: 3;
    width: 100%;
    min-width: 100%;
    height: 40px;
    margin-top: 4px;
  }
  .ops-range {
    order: 1;
    height: 38px;
    padding: 0 10px;
  }
  .ops-range select {
    font-size: 13px;
    max-width: 135px;
  }
  .ops-notification-wrap {
    order: 1;
  }
  .ops-profile {
    order: 2;
    padding-left: 8px;
    border-left: none;
    gap: 8px;
  }
  .ops-profile p {
    display: none; /* Ẩn chữ 'Admin KIBO / Quản trị viên' để các nút không bị đẩy ra ngoài màn hình */
  }
  .ops-profile > span {
    width: 36px;
    height: 36px;
    font-size: 13px;
  }

  /* 2. Workspace chuyển sang 1 cột, Sidebar thành thanh cuộn ngang trên đầu */
  .ops-workspace {
    grid-template-columns: 1fr;
    width: 100%;
    min-height: auto;
  }
  .ops-sidebar {
    min-height: auto;
    width: 100%;
    padding: 10px 16px;
    flex-direction: row;
    align-items: center;
    border-right: none;
    border-bottom: 1px solid #ded9d3;
    background: #faf8f5;
    position: sticky;
    top: 0;
    z-index: 15;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
  .ops-sidebar-label,
  .ops-sidebar-bottom {
    display: none;
  }
  .ops-sidebar nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 2px;
  }
  .ops-sidebar nav button {
    min-height: 40px;
    padding: 0 14px;
    font-size: 13.5px;
    flex-shrink: 0;
    border-left: none;
    border-bottom: 3px solid transparent;
    border-radius: 6px;
    background: #eee8e0;
  }
  .ops-sidebar nav button:hover {
    background: #e2dbd2;
  }
  .ops-sidebar nav button.active {
    background: #ffffff;
    color: var(--brown);
    border-left-color: transparent;
    border-bottom-color: var(--green);
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  }

  /* 3. Vùng nội dung chính tràn rộng 100% */
  .ops-content {
    padding: 18px 16px 50px;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }
  .ops-page-heading {
    min-height: auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin-bottom: 16px;
  }
  .ops-page-heading h1 {
    font-size: 22px;
  }

  /* 4. 4 Thẻ KPI: Đổi từ 4 cột ép chặt thành lưới 2x2 thông thoáng */
  .ops-summary-row {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 16px;
  }
  .ops-summary-row > div {
    min-height: 100px;
    padding: 16px 18px;
    border-right: 1px solid #e7e3de;
    border-bottom: 1px solid #e7e3de;
  }
  .ops-summary-row > div:nth-child(2n) {
    border-right: none;
  }
  .ops-summary-row > div:nth-last-child(-n+2) {
    border-bottom: none;
  }
  .ops-summary-row strong {
    font-size: 22px;
    margin-top: 6px;
  }
  .ops-summary-row p {
    font-size: 12px;
    margin-top: 4px;
  }

  /* 5. Lưới Tổng quan: Biểu đồ & Đơn hàng gần đây xếp chồng dọc 1 cột */
  .ops-overview-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 16px;
  }
  .ops-card {
    width: 100%;
    max-width: 100%;
  }
  .ops-card-head {
    min-height: auto;
    padding: 14px 16px;
    flex-wrap: wrap;
    gap: 10px;
  }
  .ops-card-head h2 {
    font-size: 16px;
    white-space: nowrap;
  }
  .ops-legend {
    font-size: 12px;
    gap: 12px;
  }
  .ops-chart {
    height: 280px;
    padding: 16px 12px 24px 45px;
  }
  .ops-chart svg {
    width: 100%;
    height: 210px;
  }

  /* 6. Layout Tồn kho & Báo cáo xếp 1 cột */
  .ops-inventory-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .ops-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
  }
}

@media (max-width: 560px) {
  .ops-summary-row {
    grid-template-columns: 1fr;
  }
  .ops-summary-row > div {
    border-right: none;
    border-bottom: 1px solid #e7e3de;
  }
  .ops-summary-row > div:last-child {
    border-bottom: none;
  }
}

.modal-backdrop { position: fixed; z-index: 50; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(20,11,6,.68); backdrop-filter: blur(4px); }
.modal { width: min(560px, 94vw); max-height: calc(100vh - 40px); overflow-y: auto; overflow-x: hidden; box-sizing: border-box; background: var(--cream); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,.26); animation: modal-in .2s ease-out; }
@keyframes modal-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.cart-modal > header { position: sticky; z-index: 2; top: 0; height: 68px; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; color: white; background: var(--brown); }
.cart-modal > header h2 { display: flex; align-items: center; gap: 10px; font-size: 17px; text-transform: uppercase; letter-spacing: .02em; }
.modal-body { padding: 0 24px 24px; }
.cart-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.mini-art { width: 64px; height: 64px; overflow: hidden; background: #f0ede6; border-radius: 6px; }
.mini-art .pack { width: 32px; height: 48px; }
.mini-art .pack > * { display: none; }
.mini-art .kibble { display: none; }
.cart-item strong, .cart-item small, .cart-item span { display: block; }
.cart-item strong { font-size: 14.5px; line-height: 1.4; }
.cart-item small { margin: 4px 0; color: var(--muted); font-size: 13px; }
.cart-item span { color: var(--red); font-size: 14px; font-weight: 700; }
.cart-item > button { color: #a1958d; }
.form-title { margin-top: 20px; }
.form-title h3 { font-size: 16px; font-weight: 700; }
.form-title small { color: var(--muted); font-size: 13px; }
.form-grid { margin-top: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: block; }
.field:last-child:nth-child(3) { grid-column: 1 / -1; }
.field > span { display: block; margin-bottom: 6px; font-size: 13.5px; font-weight: 700; color: #3b2c20; }
.field input { width: 100%; height: 46px; padding: 0 14px; border: 1.5px solid #d8d0c8; border-radius: 6px; background: white; font-size: 14.5px; box-sizing: border-box; }
.field input:focus { border-color: var(--green); box-shadow: 0 0 0 2px rgba(88,148,66,.18); }
.summary { margin-top: 18px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.summary p { display: flex; justify-content: space-between; margin: 8px 0; color: var(--muted); font-size: 14px; }
.summary p strong { color: var(--brown); }
.summary p.green, .summary p.green strong { color: var(--green-dark); }
.summary .fund-line { padding-top: 10px; border-top: 1px dashed #d9d1c9; font-weight: 700; }
.summary .fund-line span { display: flex; gap: 6px; align-items: center; }
.summary p.total { margin-top: 14px; font: 700 16px 'Montserrat', 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; color: var(--brown); }
.summary p.total strong { font-size: 22px; }
.confirm { width: 100%; min-height: 50px; margin-top: 16px; font-size: 15.5px; font-weight: 700; border-radius: 6px; }
.secure { display: flex; justify-content: center; gap: 6px; align-items: center; margin-top: 12px; color: var(--muted); font-size: 12.5px; }
.auth-modal { position: relative; width: 100%; max-width: 560px; padding: 38px 42px; box-sizing: border-box; overflow-x: hidden; }
.modal-close { position: absolute; top: 18px; right: 18px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: #ffffff; color: var(--muted); cursor: pointer; transition: all .2s ease; }
.modal-close:hover { background: #f3efe9; color: var(--brown); }
.auth-brand { text-align: center; }
.auth-brand > span { width: 62px; height: 62px; margin: auto; display: grid; place-items: center; color: white; background: var(--brown); border-radius: 6px; }
.auth-brand h2 { margin-top: 14px; font-size: 26px; font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; margin-top: 24px; border-bottom: 2px solid var(--line); gap: 8px; }
.auth-tabs button { height: 48px; position: relative; color: var(--muted); font-size: 15.5px; font-weight: 700; border-radius: 6px 6px 0 0; background: #f7f5f1; transition: all .2s ease; border: 1px solid transparent; border-bottom: 0; }
.auth-tabs button:hover { background: #ede9e1; color: var(--brown); }
.auth-tabs button.active { color: var(--brown); background: #ffffff; border-color: var(--line); border-bottom: 2px solid #ffffff; margin-bottom: -2px; }
.auth-form { margin-top: 22px; display: grid; gap: 16px; }
.auth-form .field:last-of-type { grid-column: auto; }
.auth-form .field span { display: block; margin-bottom: 7px; font-size: 14.5px; font-weight: 700; color: #3b2c20; }
.auth-form input:not([type="checkbox"]):not([type="radio"]) { width: 100%; height: 42px; padding: 0 14px; border: 1.5px solid #d4ccc3; border-radius: 6px; background: #ffffff; font-size: 14px; color: #2c1a0e; box-sizing: border-box; transition: border-color .2s ease, box-shadow .2s ease; }
.auth-form input:not([type="checkbox"]):not([type="radio"]):focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(63, 122, 47, .18); background: #ffffff; }
.auth-form input[type="checkbox"], .auth-modal input[type="checkbox"], #modalConsentCheckbox, #pageConsentCheckbox { width: 18px !important; height: 18px !important; max-width: 18px !important; max-height: 18px !important; min-width: 18px !important; min-height: 18px !important; padding: 0 !important; margin: 2px 0 0 0 !important; accent-color: var(--green) !important; cursor: pointer !important; flex: 0 0 18px !important; box-shadow: none !important; -webkit-appearance: checkbox !important; appearance: auto !important; }
.password-input { position: relative; display: block; width: 100%; box-sizing: border-box; }
.password-input input { padding-right: 44px; }
.password-toggle { position: absolute; top: 0; right: 0; width: 42px; height: 42px; display: grid; place-items: center; color: var(--muted); background: transparent; border: 0; cursor: pointer; }
.password-toggle:hover { color: var(--brown); }
.login-options { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; font-size: 13.5px; }
.remember { display: flex; align-items: center; gap: 8px; color: #55483f; font-size: 13.5px; font-weight: 500; cursor: pointer; }
.remember input { width: 16px !important; height: 16px !important; margin: 0 !important; accent-color: var(--green) !important; cursor: pointer; flex: 0 0 16px !important; }
.green-button { background: var(--green); }
.forgot { color: var(--brown); font-size: 13.5px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.forgot:hover { color: var(--green); }
#authSubmitBtn { min-height: 44px; height: 44px; font-size: 14px; font-weight: 700; border-radius: 6px; box-shadow: 0 3px 12px rgba(63, 122, 47, .25); }
.auth-error { padding: 10px 14px; color: #a32420; background: #fff0ef; border: 1px solid #f1cfcc; border-radius: 6px; font-size: 13.5px; line-height: 1.45; }

.footer { padding-top: 60px; color: #e4dcd5; background: var(--brown-2); }
.footer-grid { display: grid; grid-template-columns: 1.35fr 0.9fr 1fr 1.15fr; gap: 48px; padding-bottom: 50px; }
.footer-grid > div:first-child > p { max-width: 360px; margin-top: 18px; color: #dcd3cb; font-size: 15px; line-height: 1.75; }
.footer h3 { margin-bottom: 20px; color: #ffffff; font-size: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.footer-grid > div > button, .footer-grid > div > a { display: block; margin: 10px 0; color: #dcd3cb; font-size: 15px; line-height: 1.6; text-decoration: none; transition: color .2s ease; }
.footer-grid > div > a:hover, .footer-grid > div > button:hover { color: #ffffff; }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social span { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid #5a4537; border-radius: 4px; font-size: 14px; color: #dcd3cb; transition: border-color .2s ease, color .2s ease; }
.footer-social span:hover { color: #ffffff; border-color: #88b875; }
.footer-phone { display: flex; align-items: center; gap: 12px; color: #88b875; margin-bottom: 6px; }
.footer-phone svg { width: 24px; height: 24px; flex-shrink: 0; }
.footer-phone small, .footer-phone strong { display: block; }
.footer-phone small { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #b8aaa0; }
.footer-phone strong { margin-top: 4px; font: 700 24px 'Montserrat', 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; color: #88b875; }
.footer-grid > div:last-child > p:last-child { margin-top: 18px; color: #dcd3cb; font-size: 15px; line-height: 1.8; }
.copyright { min-height: 60px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #3d281b; color: #a6988e; font-size: 14px; }

/* ==========================================================================
   HỆ THỐNG RESPONSIVE TOÀN DIỆN CHO MỌI KÍCH THƯỚC MÀN HÌNH
   (Tương thích 100% khi Chia Đôi Màn Hình Laptop, Thu Nhỏ Cửa Sổ, Tablet & Mobile)
   ========================================================================== */

/* 1. MÀN HÌNH TRUNG BÌNH (<= 1120px): LAPTOP CHIA ĐÔI & TABLET */
@media (max-width: 1120px) {
  /* Customer Header */
  .header-main {
    min-height: auto;
    padding-block: 12px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }
  .header-main .search {
    order: 3;
    width: 100%;
    min-width: 100%;
    height: 46px;
    margin-top: 4px;
  }
  .hotline { display: none; }

  /* Navigation Bar: Cuộn ngang trơn tru không bị vỡ hàng */
  .nav-inner {
    height: 52px;
    justify-content: flex-start;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-inline: 10px;
  }
  .nav-inner::-webkit-scrollbar { display: none; }
  .nav-inner a, .nav-inner button {
    padding: 0 16px;
    font-size: 14px;
    flex-shrink: 0;
  }

  /* Hero Section */
  .hero {
    height: auto;
    min-height: 460px;
    padding: 40px 0;
  }
  .hero-content {
    justify-content: flex-start;
  }
  .hero-badge {
    position: static;
    margin-top: 24px;
    width: 100%;
    max-width: 480px;
  }

  /* 4 Tiêu chí Benefits */
  .benefits {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding-block: 20px;
  }
  .benefits > div {
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding-bottom: 12px;
    justify-content: flex-start;
  }
  .benefits > div:nth-last-child(-n+2) {
    border-bottom: none;
  }

  /* 3 Banner Danh Mục */
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    padding-block: 28px;
  }
  .mission-card {
    grid-column: span 2;
    min-height: 220px;
  }

  /* Lưới Sản Phẩm Trang Chủ & Catalog */
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .catalog-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .filter-sidebar {
    position: static;
    width: 100%;
  }
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  /* Impact Strip */
  .impact-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .impact-numbers {
    width: 100%;
    justify-content: space-between;
  }

  /* Chi Tiết Sản Phẩm (PDP) */
  .pdp {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .pdp-trust-box {
    grid-column: span 2;
  }

  /* Giỏ Hàng & Thanh Toán */
  .checkout-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .checkout-form-panel, .checkout-summary-panel {
    padding: 24px 22px;
  }

  /* Tài Khoản */
  .account-profile-grid {
    grid-template-columns: 1fr;
  }

  /* Giới Thiệu & Tin Tức */
  .about-hero-grid {
    grid-template-columns: 1fr;
  }
  .about-image {
    min-height: 340px;
  }
  .value-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .about-story-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .news-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .news-card {
    grid-template-columns: 210px minmax(0, 1fr);
  }

  /* Tra Cứu & Quỹ Cứu Trợ */
  .transparency {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .result-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

/* 2. MÀN HÌNH NHỎ (<= 768px): NỬA MÀN HÌNH LAPTOP NHỎ & MOBILE */
@media (max-width: 768px) {
  .container, .catalog-container {
    width: min(100% - 24px, 1180px);
  }
  .topbar .social, .top-links i {
    display: none;
  }
  .topbar-inner {
    justify-content: center;
    height: auto;
    min-height: 34px;
    padding-block: 6px;
  }
  .top-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 10px;
    text-align: center;
    line-height: 1.35;
  }
  .header-main {
    padding-block: 8px;
    gap: 8px;
  }
  .header-main .search {
    height: 42px;
  }
  .cart-copy {
    display: none;
  }
  .cart-btn {
    width: auto;
    padding: 0 14px;
    height: 44px;
    min-height: 44px;
  }
  .logo strong {
    font-size: 22px;
  }
  .kibo-mark {
    width: 38px;
    height: 35px;
  }

  /* Hero */
  .hero h1 {
    font-size: clamp(28px, 6vw, 38px);
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: 100%;
  }
  .hero-actions .primary, .hero-actions .text-btn {
    width: 100%;
    text-align: center;
  }

  /* Benefits & Categories */
  .category-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .mission-card {
    grid-column: auto;
  }

  /* Product Cards */
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .product-img {
    height: 170px;
  }
  .product-info {
    padding: 10px;
  }
  .product-info h3 {
    font-size: 12.5px;
    line-height: 1.35;
  }

  /* PDP */
  .pdp {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .main-product {
    height: 340px;
  }
  .pdp-trust-box {
    grid-column: auto;
  }
  .pdp-price-main {
    font-size: 26px;
  }

  /* Checkout Form */
  .delivery-select-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  .field-group-2 {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  .checkout-action-row {
    flex-direction: column-reverse;
    gap: 14px;
  }
  .checkout-action-row .btn-to-payment,
  .btn-checkout-full {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  /* Tra cứu đơn hàng */
  .tracking-card {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .tracking-card label {
    height: 46px;
    padding: 0 12px;
  }
  .tracking-card .btn.primary {
    height: 48px;
    width: 100%;
  }
  .timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    padding: 16px;
  }

  /* Tin tức */
  .news-card {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .news-image {
    height: 190px;
  }
  .news-detail {
    padding: 24px 18px;
  }
  .news-detail h1 {
    font-size: 24px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .copyright {
    flex-direction: column;
    text-align: center;
    gap: 6px;
  }
}

/* 3. MÀN HÌNH SIÊU NHỎ (<= 480px): MOBILE NHỎ */
@media (max-width: 480px) {
  .benefits {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .benefits > div {
    border-bottom: 1px solid var(--line);
    padding-bottom: 10px;
  }
  .benefits > div:last-child {
    border-bottom: none;
  }
  .product-grid, .catalog-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .impact-numbers {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .impact-numbers i {
    display: none;
  }
  .timeline {
    grid-template-columns: 1fr;
  }
  .ops-summary-row {
    grid-template-columns: 1fr;
  }
  .ops-summary-row > div {
    border-right: none;
    border-bottom: 1px solid #e7e3de;
  }
  .ops-summary-row > div:last-child {
    border-bottom: none;
  }
}


