/* SupplyKit.us — Main Styles */
:root {
  --blue: #1a56db;
  --blue-dark: #1444b8;
  --green: #057a55;
  --green-light: #def7ec;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-400: #9ca3af;
  --gray-600: #4b5563;
  --gray-800: #1f2937;
  --white: #ffffff;
  --red: #e02424;
  --shadow: 0 1px 3px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.06);
  --shadow-lg: 0 10px 15px rgba(0,0,0,.1), 0 4px 6px rgba(0,0,0,.05);
  --radius: 8px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, sans-serif; color: var(--gray-800); background: var(--white); font-size: 16px; line-height: 1.6; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

/* LAYOUT */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.container-sm { max-width: 800px; margin: 0 auto; padding: 0 1.5rem; }

/* NAV */
.site-nav { background: var(--white); border-bottom: 1px solid var(--gray-200); position: sticky; top: 0; z-index: 50; box-shadow: var(--shadow); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav-logo { font-size: 1.5rem; font-weight: 800; color: var(--gray-800); display: flex; align-items: center; gap: .375rem; }
.nav-logo span { color: var(--blue); }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { font-size: .875rem; font-weight: 500; color: var(--gray-600); transition: color .2s; }
.nav-links a:hover { color: var(--blue); text-decoration: none; }
.nav-right { display: flex; align-items: center; gap: 1rem; }
.cart-btn { display: flex; align-items: center; gap: .5rem; background: var(--blue); color: var(--white); padding: .5rem 1.25rem; border-radius: var(--radius); font-size: .875rem; font-weight: 600; transition: background .2s; }
.cart-btn:hover { background: var(--blue-dark); text-decoration: none; }
.cart-count { background: var(--red); color: white; border-radius: 50%; width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; font-size: .7rem; font-weight: 700; }

/* HERO */
.hero { background: linear-gradient(135deg, #1e3a8a 0%, #1a56db 100%); color: white; padding: 5rem 0 4rem; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.15; margin-bottom: 1.25rem; }
.hero p { font-size: 1.125rem; color: rgba(255,255,255,.85); max-width: 560px; margin-bottom: 2rem; line-height: 1.75; }
.hero-badges { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero-badge { background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.25); padding: .375rem 1rem; border-radius: 50px; font-size: .8rem; font-weight: 500; }
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .75rem 1.75rem; border-radius: var(--radius); font-weight: 600; font-size: .9rem; cursor: pointer; border: none; transition: all .2s; text-decoration: none; }
.btn-primary { background: var(--white); color: var(--blue); }
.btn-primary:hover { background: var(--gray-100); text-decoration: none; }
.btn-blue { background: var(--blue); color: white; }
.btn-blue:hover { background: var(--blue-dark); text-decoration: none; }
.btn-green { background: var(--green); color: white; }
.btn-green:hover { background: #046c4e; text-decoration: none; }
.btn-lg { padding: 1rem 2.25rem; font-size: 1rem; }

/* TRUST BAR */
.trust-bar { background: var(--gray-50); border-bottom: 1px solid var(--gray-200); padding: .875rem 0; }
.trust-items { display: flex; align-items: center; justify-content: center; gap: 3rem; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: .5rem; font-size: .8rem; font-weight: 500; color: var(--gray-600); }
.trust-icon { font-size: 1rem; }

/* SECTION */
.section { padding: 5rem 0; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-label { font-size: .75rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--blue); margin-bottom: .5rem; }
.section-title { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 800; color: var(--gray-800); margin-bottom: .75rem; }
.section-sub { font-size: 1rem; color: var(--gray-600); max-width: 560px; margin: 0 auto; }

/* PRODUCTS GRID */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.product-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; transition: all .25s; display: flex; flex-direction: column; }
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: var(--blue); }
.product-img { background: var(--gray-100); height: 200px; display: flex; align-items: center; justify-content: center; font-size: 4rem; position: relative; }
.product-badge { position: absolute; top: .75rem; left: .75rem; background: var(--blue); color: white; font-size: .65rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: .25rem .75rem; border-radius: 50px; }
.product-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.product-name { font-size: 1rem; font-weight: 700; color: var(--gray-800); margin-bottom: .5rem; line-height: 1.4; }
.product-desc { font-size: .85rem; color: var(--gray-600); line-height: 1.6; flex: 1; margin-bottom: 1.25rem; }
.product-footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: auto; }
.product-price { font-size: 1.5rem; font-weight: 800; color: var(--gray-800); }
.product-price small { font-size: .75rem; font-weight: 400; color: var(--gray-400); display: block; }
.add-to-cart { background: var(--blue); color: white; border: none; padding: .6rem 1.25rem; border-radius: var(--radius); font-size: .85rem; font-weight: 600; cursor: pointer; transition: background .2s; white-space: nowrap; }
.add-to-cart:hover { background: var(--blue-dark); }
.product-weight { font-size: .75rem; color: var(--gray-400); margin-top: .5rem; }

/* CART PAGE */
.cart-table { width: 100%; border-collapse: collapse; margin-bottom: 2rem; }
.cart-table th { background: var(--gray-50); padding: .875rem 1rem; text-align: left; font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--gray-600); border-bottom: 1px solid var(--gray-200); }
.cart-table td { padding: 1rem; border-bottom: 1px solid var(--gray-200); vertical-align: middle; }
.cart-item-name { font-weight: 600; font-size: .95rem; }
.cart-item-desc { font-size: .8rem; color: var(--gray-400); margin-top: .25rem; }
.qty-input { width: 60px; padding: .375rem .5rem; border: 1px solid var(--gray-200); border-radius: 6px; text-align: center; font-size: .9rem; }
.remove-btn { background: none; border: none; color: var(--red); cursor: pointer; font-size: .85rem; font-weight: 500; }
.remove-btn:hover { text-decoration: underline; }
.cart-summary { background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 1.5rem; }
.summary-row { display: flex; justify-content: space-between; padding: .5rem 0; font-size: .95rem; }
.summary-row.total { font-size: 1.25rem; font-weight: 800; border-top: 2px solid var(--gray-200); margin-top: .5rem; padding-top: 1rem; }
.shipping-note { font-size: .8rem; color: var(--green); font-weight: 500; }
.empty-cart { text-align: center; padding: 4rem 2rem; }
.empty-cart h2 { font-size: 1.5rem; margin-bottom: .75rem; }
.empty-cart p { color: var(--gray-600); margin-bottom: 2rem; }

/* THANK YOU */
.thankyou-wrap { text-align: center; padding: 4rem 2rem; }
.thankyou-icon { font-size: 4rem; margin-bottom: 1.5rem; }
.thankyou-wrap h1 { font-size: 2.5rem; font-weight: 800; margin-bottom: 1rem; }
.thankyou-wrap p { color: var(--gray-600); max-width: 480px; margin: 0 auto 2rem; }
.order-box { background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 1.5rem; max-width: 400px; margin: 0 auto 2rem; text-align: left; }

/* ADMIN */
.admin-wrap { display: flex; min-height: 100vh; }
.admin-sidebar { width: 240px; background: var(--gray-800); flex-shrink: 0; }
.admin-logo { padding: 1.5rem; font-size: 1.25rem; font-weight: 800; color: white; border-bottom: 1px solid rgba(255,255,255,.1); }
.admin-nav { padding: 1rem 0; }
.admin-nav a { display: block; padding: .75rem 1.5rem; color: rgba(255,255,255,.7); font-size: .875rem; font-weight: 500; transition: all .2s; }
.admin-nav a:hover, .admin-nav a.active { background: rgba(255,255,255,.08); color: white; text-decoration: none; }
.admin-content { flex: 1; padding: 2rem; background: var(--gray-50); overflow-y: auto; }
.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
.admin-title { font-size: 1.5rem; font-weight: 800; }
.stat-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.25rem; margin-bottom: 2rem; }
.stat-card { background: white; border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 1.5rem; }
.stat-card-num { font-size: 2rem; font-weight: 800; color: var(--blue); }
.stat-card-label { font-size: .8rem; color: var(--gray-600); margin-top: .25rem; }
.data-table { width: 100%; border-collapse: collapse; background: white; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.data-table th { background: var(--gray-50); padding: .875rem 1rem; text-align: left; font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--gray-600); border-bottom: 1px solid var(--gray-200); }
.data-table td { padding: .875rem 1rem; border-bottom: 1px solid var(--gray-200); font-size: .875rem; }
.data-table tr:last-child td { border-bottom: none; }
.badge { display: inline-block; padding: .25rem .75rem; border-radius: 50px; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.badge-paid { background: var(--green-light); color: var(--green); }
.badge-pending { background: #fef3c7; color: #92400e; }
.badge-shipped { background: #dbeafe; color: #1e40af; }
.badge-cancelled { background: #fee2e2; color: #b91c1c; }

/* ALERTS */
.alert { padding: 1rem 1.25rem; border-radius: var(--radius); margin-bottom: 1.5rem; font-size: .9rem; }
.alert-success { background: var(--green-light); color: var(--green); border: 1px solid #a7f3d0; }
.alert-error { background: #fee2e2; color: #b91c1c; border: 1px solid #fca5a5; }
.alert-info { background: #dbeafe; color: #1e40af; border: 1px solid #93c5fd; }

/* FOOTER */
.site-footer { background: var(--gray-800); color: rgba(255,255,255,.7); padding: 3rem 0 1.5rem; margin-top: 5rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; margin-bottom: 2.5rem; }
.footer-logo { font-size: 1.5rem; font-weight: 800; color: white; margin-bottom: .75rem; }
.footer-logo span { color: var(--blue); }
.footer-desc { font-size: .875rem; line-height: 1.7; }
.footer-heading { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: white; margin-bottom: 1rem; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: .5rem; }
.footer-links a { font-size: .875rem; color: rgba(255,255,255,.6); transition: color .2s; }
.footer-links a:hover { color: white; text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; font-size: .8rem; flex-wrap: wrap; gap: 1rem; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .products-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .admin-sidebar { display: none; }
  .hero { padding: 3rem 0 2.5rem; }
  .trust-items { gap: 1.25rem; }
}

.footer-inner{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:1rem;padding:1.5rem 0;border-top:1px solid rgba(255,255,255,.1)}
.footer-logo{font-size:1.4rem;font-weight:800;color:white}.footer-logo span{color:var(--blue)}
.footer-copy{font-size:.8rem;color:rgba(255,255,255,.5)}
.footer-links{display:flex;gap:1.5rem}
.footer-links a{font-size:.85rem;color:rgba(255,255,255,.6);transition:color .2s}.footer-links a:hover{color:white;text-decoration:none}
.product-img img{max-width:80%;max-height:80%;object-fit:contain;transition:transform .3s}
.product-card:hover .product-img img{transform:scale(1.04)}
