/* ══════════════════════════════════════════
   CLIENT PANEL — extends db3.css
   Green theme: #16a34a / #059669
   ══════════════════════════════════════════ */

/* ── Client topnav ── */
.topnav .brand .logo-icon{background:linear-gradient(135deg,#16a34a,#059669)}
.topnav .nav-links a.active{background:#ecfdf5;color:#16a34a}
.topnav .right .btn-new{background:linear-gradient(135deg,#16a34a,#059669)}

/* ── Cart button ── */
.cart-btn{position:relative;width:36px;height:36px;border-radius:8px;border:1px solid #e2e8f0;background:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;color:#64748b;font-size:16px;text-decoration:none;transition:all .15s}
.cart-btn:hover{background:#ecfdf5;color:#16a34a;border-color:#bbf7d0}
.cart-btn .count{position:absolute;top:-5px;right:-5px;min-width:18px;height:18px;border-radius:10px;background:#16a34a;color:#fff;font-size:9px;font-weight:700;display:flex;align-items:center;justify-content:center;padding:0 4px}

/* ── Hero section ── */
.hero{background:linear-gradient(135deg,#16a34a 0%,#059669 40%,#0d9488 100%);border-radius:16px;padding:44px 40px;margin-bottom:28px;color:#fff;text-align:center;position:relative;overflow:hidden}
.hero::before{content:'';position:absolute;right:-40px;top:-40px;width:200px;height:200px;border-radius:50%;background:rgba(255,255,255,.06)}
.hero::after{content:'';position:absolute;left:-30px;bottom:-50px;width:150px;height:150px;border-radius:50%;background:rgba(255,255,255,.04)}
.hero h1{font-size:28px;font-weight:800;margin-bottom:8px}
.hero p{font-size:15px;opacity:.85;max-width:520px;margin:0 auto}
.hero .search-box{max-width:600px;margin:24px auto 0;position:relative}
.hero .search-box input{width:100%;padding:13px 16px 13px 44px;border:none;border-radius:12px;font-size:15px;font-family:inherit;outline:none;box-shadow:0 4px 20px rgba(0,0,0,.12);transition:box-shadow .2s}
.hero .search-box input:focus{box-shadow:0 4px 20px rgba(0,0,0,.18)}
.hero .search-box i{position:absolute;left:16px;top:50%;transform:translateY(-50%);color:#94a3b8;font-size:17px}

/* ── Category cards (VUZ tiles) ── */
.cat-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px;margin-bottom:28px}
.cat-card{background:#fff;border-radius:14px;border:1px solid #f1f5f9;overflow:hidden;transition:all .2s;text-decoration:none;color:inherit;display:block;text-align:center;padding:24px 16px}
.cat-card:hover{transform:translateY(-3px);box-shadow:0 8px 24px rgba(0,0,0,.08);border-color:#bbf7d0}
.cat-card .cat-icon{width:56px;height:56px;border-radius:14px;display:inline-flex;align-items:center;justify-content:center;font-size:24px;margin-bottom:12px}
.cat-card .cat-icon.green{background:#dcfce7;color:#16a34a}
.cat-card .cat-icon.blue{background:#dbeafe;color:#2563eb}
.cat-card .cat-icon.purple{background:#f3e8ff;color:#7c3aed}
.cat-card .cat-icon.amber{background:#fef3c7;color:#d97706}
.cat-card .cat-icon.pink{background:#fce7f3;color:#db2777}
.cat-card .cat-icon.indigo{background:#eef2ff;color:#6366f1}
.cat-card h4{font-size:14px;font-weight:700;color:#0f172a;margin-bottom:2px}
.cat-card .sub{font-size:11px;color:#94a3b8}

/* ── Product list item ── */
.product-item{display:flex;gap:16px;padding:16px 20px;background:#fff;border:1px solid #f1f5f9;border-radius:14px;margin-bottom:10px;transition:all .18s;text-decoration:none;color:inherit;cursor:pointer}
.product-item:hover{box-shadow:0 4px 16px rgba(0,0,0,.06);border-color:#bbf7d0;transform:translateY(-1px)}
.product-item .pi-img{width:100px;height:80px;border-radius:10px;overflow:hidden;flex-shrink:0;background:#f8fafc}
.product-item .pi-img img{width:100%;height:100%;object-fit:cover}
.product-item .pi-body{flex:1;min-width:0}
.product-item .pi-body h3{font-size:14px;font-weight:700;color:#0f172a;margin-bottom:4px;line-height:1.4}
.product-item .pi-body .pi-meta{font-size:12px;color:#64748b;display:flex;gap:12px;flex-wrap:wrap;margin-bottom:4px}
.product-item .pi-body .pi-meta span{display:flex;align-items:center;gap:4px}
.product-item .pi-body .pi-meta i{font-size:13px;color:#94a3b8}
.product-item .pi-price{font-size:16px;font-weight:800;color:#16a34a;white-space:nowrap;align-self:center;flex-shrink:0}

/* ── Product detail ── */
.product-hero{display:grid;grid-template-columns:300px 1fr;gap:24px;align-items:start;margin-bottom:24px}
.product-img-card{background:#fff;border-radius:14px;border:1px solid #f1f5f9;overflow:hidden}
.product-img-card img{width:100%;max-height:300px;object-fit:cover;background:#f8fafc}
.product-img-card .info{padding:16px;text-align:center}
.product-img-card .info .cat{font-size:12px;color:#16a34a;font-weight:600;margin-bottom:4px}
.product-img-card .info .auth{font-size:12px;color:#64748b}
.product-img-card .info .manual{margin-top:10px}
.product-img-card .info .manual a{color:#16a34a;font-size:13px;font-weight:600;text-decoration:none;display:inline-flex;align-items:center;gap:4px}
.product-img-card .info .manual a:hover{text-decoration:underline}

/* Variants table */
.variants-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.variant-table .btn-cart{padding:6px 14px;border-radius:8px;background:#16a34a;color:#fff;border:none;font-size:12px;font-weight:600;cursor:pointer;font-family:inherit;display:inline-flex;align-items:center;gap:4px;transition:all .15s}
.variant-table .btn-cart:hover{background:#15803d}
.variant-table .btn-cart:disabled{background:#94a3b8;cursor:not-allowed}

/* ── Cart page ── */
.cart-empty{text-align:center;padding:60px 20px}
.cart-empty i{font-size:56px;color:#e2e8f0;display:block;margin-bottom:16px}
.cart-empty h3{font-size:18px;font-weight:700;color:#64748b;margin-bottom:8px}
.cart-empty p{color:#94a3b8;font-size:14px;margin-bottom:20px}

.cart-footer{display:flex;justify-content:space-between;align-items:center;padding:18px 24px;background:#fff;border-radius:14px;border:1px solid #f1f5f9;margin-top:16px}
.cart-footer .total-label{font-size:13px;color:#64748b}
.cart-footer .total-value{font-size:24px;font-weight:800;color:#16a34a;margin-left:10px}
.cart-footer .actions{display:flex;gap:8px}

.btn-whatsapp{background:#25d366;color:#fff;border:none;border-color:#25d366}
.btn-whatsapp:hover{background:#1da851;color:#fff}

/* ── Contact section ── */
.contact-bar{text-align:center;padding:36px 20px;background:#fff;border-radius:14px;border:1px solid #f1f5f9;margin-top:24px}
.contact-bar h3{font-size:20px;font-weight:700;margin-bottom:6px}
.contact-bar p{color:#64748b;font-size:14px;margin-bottom:16px}
.contact-bar .buttons{display:flex;gap:12px;justify-content:center}

/* ── Client footer ── */
.client-footer{background:#0f172a;color:#94a3b8;padding:32px;margin-top:48px}
.client-footer .inner{max-width:1200px;margin:0 auto;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px}
.client-footer .brand-name{font-size:16px;font-weight:700;color:#fff;margin-bottom:4px}
.client-footer .copy{font-size:12px}
.client-footer .socials{display:flex;gap:10px}
.client-footer .socials a{width:36px;height:36px;border-radius:8px;background:#1e293b;display:flex;align-items:center;justify-content:center;color:#94a3b8;text-decoration:none;transition:all .15s}
.client-footer .socials a:hover{background:#334155;color:#fff}

/* ── Responsive ── */
@media(max-width:768px){
  .product-hero{grid-template-columns:1fr}
  .variants-grid{grid-template-columns:1fr}
  .cat-grid{grid-template-columns:repeat(2,1fr)}
  .hero{padding:28px 20px}
  .hero h1{font-size:22px}
}
