/* 2.155.0: thiết kế lại trang chủ. Nạp sau frontend.css; chỉ thêm và ghi đè có chủ đích, không xóa style cũ. */

/* Hero: gọn hơn trên máy tính để sản phẩm lên màn hình sớm (mobile giữ giá trị của frontend.css). */
@media (min-width:901px){.bods-hero{min-height:300px}}

/* Nút trợ lý AI trong hero */
.bods-hero-cta--ai{display:inline-flex;align-items:center;gap:8px;font-family:inherit;font-size:14px;cursor:pointer;background:#fffdf8;color:#7a5f2c!important;border:1px solid var(--bods-gold)}
.bods-hero-cta--ai:hover{background:#f8f1e3}
.bods-hero-cta--ai .bods-icon{width:16px;height:16px}

/* Nút trợ lý AI trên header */
.bods-header-ai{display:inline-flex;align-items:center;gap:7px;flex:0 0 auto;height:40px;padding:0 14px;border-radius:999px;border:1px solid var(--bods-gold);background:#fffdf8;color:#7a5f2c;font-family:inherit;font-size:13px;font-weight:800;white-space:nowrap;cursor:pointer;transition:background-color .2s}
.bods-header-ai:hover{background:#f8f1e3}
.bods-header-ai .bods-icon{width:17px;height:17px}
@media (max-width:900px){.bods-header-ai{width:40px;height:40px;padding:0;justify-content:center}.bods-header-ai span{display:none}}

/* Khối "Bạn đang tìm sản phẩm nào?" */
.bods-ai-shop{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:28px;align-items:center;margin:26px 0 28px;padding:30px 32px;border:1px solid #e6e2d4;border-radius:19px;background:linear-gradient(120deg,#fbf9f3 0%,#f1f5ef 100%);box-shadow:var(--bods-shadow)}
.bods-ai-shop-kicker{display:inline-flex;align-items:center;gap:7px;font-size:11px;font-weight:800;letter-spacing:1.4px;text-transform:uppercase;color:var(--bods-gold-text)}
.bods-ai-shop-kicker .bods-icon{width:14px;height:14px}
.bods-ai-shop h2{font-size:clamp(22px,2.6vw,30px);line-height:1.2;margin:10px 0 8px;color:#243b2e}
.bods-ai-shop-copy p{margin:0;font-size:15px;color:var(--bods-muted);max-width:460px}
.bods-ai-shop-panel{min-width:0;background:#fff;border:1px solid var(--bods-line);border-radius:14px;padding:16px}
.bods-ai-shop-form{display:flex;gap:8px;min-width:0}
.bods-ai-shop-form input[type=text]{flex:1;min-width:0;height:46px;border:1px solid #dfe5de;border-radius:10px;padding:0 14px;font:inherit;font-size:15px;color:var(--bods-text);background:#fff}
.bods-ai-shop-form input[type=text]:focus{outline:2px solid var(--bods-green);outline-offset:1px}
.bods-ai-shop-form button{flex:0 0 auto;height:46px;padding:0 18px;border:0;border-radius:10px;background:var(--bods-green);color:#fff;font-family:inherit;font-size:14px;font-weight:800;white-space:nowrap;cursor:pointer;transition:background-color .2s}
.bods-ai-shop-form button:hover{background:#345f49}
.bods-ai-chips{list-style:none;margin:12px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.bods-ai-chips li{flex:0 0 auto}
.bods-ai-chips button{font-family:inherit;font-size:13px;font-weight:700;line-height:1.3;text-align:left;color:var(--bods-green);background:var(--bods-soft);border:1px solid #dde4dc;border-radius:999px;padding:7px 13px;cursor:pointer;white-space:nowrap;transition:background-color .2s,border-color .2s}
.bods-ai-chips button:hover{background:#e6ece3;border-color:#c9d6c8}
@media (max-width:900px){.bods-ai-shop{grid-template-columns:minmax(0,1fr);gap:18px;padding:22px 20px}}
@media (max-width:600px){
  .bods-ai-shop-form{flex-direction:column}
  .bods-ai-shop-form button{width:100%}
  .bods-ai-chips{flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;scroll-snap-type:x proximity;margin:12px -16px 0;padding:0 16px 4px;scrollbar-width:none}
  .bods-ai-chips::-webkit-scrollbar{display:none}
  .bods-ai-chips li{scroll-snap-align:start}
}

/* "Tại sao chọn GiaReQua.vn?" */
.bods-why-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.bods-why-item{min-width:0;background:#fff;border:1px solid var(--bods-line);border-radius:14px;padding:20px 18px;box-shadow:0 3px 16px rgba(30,50,38,.025)}
.bods-why-ico{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:12px;background:var(--bods-soft);color:var(--bods-green);margin-bottom:12px}
.bods-why-ico .bods-icon{width:20px;height:20px}
.bods-why-item h3{font-size:15px;line-height:1.35;margin:0 0 6px;color:#243b2e}
.bods-why-item p{margin:0;font-size:13px;line-height:1.5;color:var(--bods-muted)}
@media (max-width:900px){.bods-why-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:600px){.bods-why-grid{gap:10px}.bods-why-item{padding:16px 14px}.bods-why-item p{font-size:12.5px}}

/* Icon chung của khối mới: nét mảnh, đồng bộ với các biểu tượng cũ. */
.bods-ai-shop .bods-icon,.bods-why .bods-icon,.bods-hero-cta--ai .bods-icon,.bods-header-ai .bods-icon{fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}

@media (prefers-reduced-motion:reduce){.bods-header-ai,.bods-ai-chips button,.bods-ai-shop-form button{transition:none}}

/* Khung chờ (skeleton) khi tải thêm sản phẩm; JS tự xóa khi có dữ liệu hoặc lỗi. */
.bods-skel-card{min-height:300px;border-radius:14px;border:1px solid var(--bods-line);background:linear-gradient(100deg,#f1f3ee 30%,#fafbf8 50%,#f1f3ee 70%) 0 0/200% 100% #f1f3ee}
@media (prefers-reduced-motion:no-preference){.bods-skel-card{animation:bods-skel 1.4s ease-in-out infinite}@keyframes bods-skel{from{background-position:100% 0}to{background-position:-100% 0}}}

/* Chân trang (2.156.0): cột "Danh mục" và liên kết mạng xã hội. Lưới máy tính mở rộng để chứa thêm cột; mobile giữ quy tắc cũ. */
@media (min-width:901px){.bods-footer-grid{grid-template-columns:minmax(200px,1.4fr) repeat(auto-fit,minmax(130px,1fr)) minmax(200px,1.4fr)}}
.bods-footer-social{display:flex;flex-wrap:wrap;gap:8px 16px;margin-top:12px}
.bods-footer-social a{font-size:13px;font-weight:700;color:var(--bods-green)}
