
.comprahardware-body .hw-wrap { padding: 24px 0 80px; }
.hw-grid { display: grid; gap: 28px; }
.hw-hero { position: relative; border-radius: 24px; overflow: hidden; background: #111827; color: #fff; min-height: 320px; }
.hw-hero-slide { display: none; grid-template-columns: 1.1fr .9fr; gap: 20px; padding: 28px; align-items: center; }
.hw-hero-slide.is-active { display: grid; }
.hw-kicker { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #ffb38a; margin-bottom: 8px; }
.hw-h1 { margin: 0 0 10px; font-size: clamp(24px, 3vw, 36px); font-weight: 800; line-height: 1.15; }
.hw-p { margin: 0 0 16px; color: rgba(255,255,255,.82); line-height: 1.55; }
.hw-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hw-btn { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 10px 16px; border: 1px solid rgba(255,255,255,.35); color: #fff; text-decoration: none; font-weight: 700; font-size: 13px; background: transparent; cursor: pointer; }
.hw-btn.primary { background: #ff7a2f; border-color: #ff7a2f; }
.hw-btn.buy { background: #16a34a; border-color: #16a34a; }
.hw-hero-media img { width: 100%; border-radius: 16px; display: block; max-height: 260px; object-fit: cover; }
.hw-hero-dots { position: absolute; left: 28px; bottom: 16px; display: flex; gap: 8px; }
.hw-dot { width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(255,255,255,.35); cursor: pointer; }
.hw-dot.is-active { background: #ff7a2f; }
.hw-section-title { display: flex; justify-content: space-between; gap: 16px; align-items: end; flex-wrap: wrap; }
.hw-h2 { margin: 0 0 4px; font-size: 26px; font-weight: 800; }
.hw-sub { margin: 0; color: #6b7280; font-size: 14px; }
.hw-products { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.hw-articles { grid-template-columns: repeat(4, minmax(0,1fr)); }
.hw-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.hw-card-img, .hw-card-img-wrap { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border: 0; background: #f3f4f6; padding: 0; cursor: pointer; }
.hw-card-img { height: 100%; }
.hw-card-body { padding: 14px; display: grid; gap: 8px; }
.hw-card-name { margin: 0; font-size: 15px; font-weight: 800; }
.hw-card-desc { margin: 0; font-size: 13px; color: #6b7280; min-height: 36px; }
.hw-card-row { display: flex; justify-content: space-between; align-items: center; }
.hw-price { font-weight: 800; color: #111; }
.hw-stars { color: #f59e0b; letter-spacing: 1px; font-size: 12px; }
.hw-add { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border-radius: 10px; border: 0; background: #111827; color: #fff; font-weight: 700; font-size: 13px; padding: 10px 12px; text-decoration: none; cursor: pointer; }
.hw-banner { display: grid; grid-template-columns: 1fr; gap: 16px; background: linear-gradient(135deg,#1a1a2e,#ff7a2f 160%); color: #fff; border-radius: 22px; padding: 28px; }
.hw-banner-tag { display: inline-block; background: rgba(255,255,255,.15); border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 800; margin-bottom: 8px; }
.hw-banner-h { margin: 0 0 8px; font-size: 24px; font-weight: 800; }
.hw-banner-p { margin: 0 0 14px; opacity: .9; }
.hw-benefits { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.hw-benefit { display: flex; gap: 12px; background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; padding: 16px; }
.hw-benefit i { color: #ff7a2f; font-size: 18px; margin-top: 2px; }
.hw-benefit h4 { margin: 0 0 4px; font-size: 14px; }
.hw-benefit p { margin: 0; font-size: 13px; color: #6b7280; }
.hw-cart-fab { position: fixed; right: 18px; bottom: 88px; z-index: 70; background: #111827; color: #fff; border-radius: 999px; padding: 12px 16px; display: flex; align-items: center; gap: 8px; cursor: pointer; box-shadow: 0 10px 30px rgba(0,0,0,.25); font-weight: 700; }
.hw-cart-fab-badge { background: #ff7a2f; border-radius: 999px; min-width: 22px; height: 22px; display: grid; place-items: center; font-size: 12px; }
.hw-cart-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.4); opacity: 0; pointer-events: none; transition: .2s; z-index: 80; }
.hw-cart-backdrop.is-open { opacity: 1; pointer-events: auto; }
.hw-cart-panel { position: fixed; top: 0; right: 0; width: min(400px,100%); height: 100%; background: #fff; transform: translateX(100%); transition: .25s; z-index: 90; display: flex; flex-direction: column; }
.hw-cart-panel.is-open { transform: none; }
.hw-cart-head, .hw-cart-foot { padding: 16px; border-bottom: 1px solid #e5e7eb; display: flex; justify-content: space-between; align-items: center; }
.hw-cart-foot { border-bottom: 0; border-top: 1px solid #e5e7eb; flex-direction: column; gap: 10px; align-items: stretch; }
.hw-cart-close { border: 0; background: transparent; font-size: 28px; cursor: pointer; line-height: 1; }
.hw-cart-items { flex: 1; overflow: auto; padding: 12px; }
.hw-cart-empty { color: #6b7280; padding: 20px 8px; }
.hw-cart-item { display: grid; grid-template-columns: 64px 1fr; gap: 10px; padding: 10px 0; border-bottom: 1px solid #f3f4f6; }
.hw-cart-thumb { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; }
.hw-cart-name { margin: 0; font-weight: 800; font-size: 14px; }
.hw-qty { display: inline-flex; align-items: center; gap: 8px; }
.hw-qty button, .hw-remove { border: 1px solid #e5e7eb; background: #fff; border-radius: 8px; padding: 2px 8px; cursor: pointer; }
.hw-total { display: flex; justify-content: space-between; font-weight: 800; }
.hw-pqv, .hw-modal { position: fixed; inset: 0; z-index: 100; display: none; }
.hw-pqv.is-open, .hw-modal.is-open { display: block; }
.hw-pqv-backdrop, .hw-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.5); }
.hw-pqv-dialog, .hw-modal-dialog { position: relative; z-index: 1; background: #fff; width: min(920px,94vw); margin: 5vh auto; border-radius: 18px; padding: 18px; max-height: 90vh; overflow: auto; }
.hw-pqv-close { position: absolute; right: 12px; top: 8px; border: 0; background: transparent; font-size: 28px; cursor: pointer; }
.hw-pqv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.hw-pqv-main img { width: 100%; border-radius: 14px; }
.hw-pqv-thumbs { display: flex; gap: 8px; margin-bottom: 10px; }
.hw-pqv-thumb { border: 2px solid transparent; border-radius: 10px; overflow: hidden; padding: 0; background: #fff; cursor: pointer; }
.hw-pqv-thumb.is-active { border-color: #ff7a2f; }
.hw-pqv-thumb img { width: 56px; height: 56px; object-fit: cover; display: block; }
.hw-pqv-title { margin: 0 0 6px; font-size: 22px; font-weight: 800; }
.hw-pqv-sku { color: #6b7280; margin: 0 0 10px; }
.hw-pqv-price { font-size: 22px; font-weight: 800; margin-bottom: 12px; }
.hw-pqv-qty { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.hw-pqv-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.hw-modal-body { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hw-field label { display: block; font-size: 12px; font-weight: 700; margin-bottom: 4px; }
.hw-field input, .hw-field textarea { width: 100%; border: 1px solid #e5e7eb; border-radius: 10px; padding: 10px; }
.hw-field-wide { grid-column: 1 / -1; }
.hw-order { grid-column: 1 / -1; background: #f9fafb; border-radius: 12px; padding: 12px; }
.hw-order pre { white-space: pre-wrap; margin: 0; font-size: 12px; }
.hw-modal-actions { display: flex; justify-content: end; gap: 8px; margin-top: 12px; }
@media (max-width: 1024px) {
  .hw-products, .hw-articles, .hw-benefits { grid-template-columns: repeat(2,1fr); }
  .hw-hero-slide, .hw-pqv-grid, .hw-modal-body { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hw-products, .hw-articles, .hw-benefits { grid-template-columns: 1fr; }
}
