:root {
  --pink: #f3a9c1;
  --pink-dark: #e07ba0;
  --navy: #1f2d50;
  --ink: #222;
}
* { box-sizing: border-box; }
body { font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif; margin: 0; background: #fff; color: var(--ink); }
.container { max-width: 1200px; margin: 0 auto; padding: 20px; }

/* ---- Header (stardiam.in style) ---- */
.site-header { background: #fff; border-bottom: 1px solid #eee; position: sticky; top: 0; z-index: 50; }
.site-header-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 28px; padding: 14px 20px; }
.site-header .brand { color: var(--ink); font-weight: 800; font-size: 20px; text-decoration: none; letter-spacing: .5px; white-space: nowrap; }
.main-nav { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; flex: 1; }
.main-nav a { color: #333; text-decoration: none; font-size: 14.5px; }
.main-nav a:hover { color: var(--pink-dark); }
.nav-more { position: relative; }
.nav-more-menu { display: none; position: absolute; top: 26px; left: 0; background: #fff; box-shadow: 0 4px 14px rgba(0,0,0,.12); border-radius: 6px; padding: 8px 0; min-width: 200px; flex-direction: column; }
.nav-more:hover .nav-more-menu { display: flex; }
.nav-more-menu a { padding: 8px 16px; }
.header-actions { display: flex; align-items: center; gap: 16px; }
.icon-link { color: var(--pink-dark); position: relative; display: inline-flex; }
.cart-count { position: absolute; top: -8px; right: -10px; background: var(--pink-dark); color: #fff; font-size: 10px; min-width: 16px; height: 16px; border-radius: 8px; display: flex; align-items: center; justify-content: center; padding: 0 3px; }

/* ---- Category icon strip ---- */
.icon-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; padding: 28px 20px 8px; }
.icon-strip-item { display: flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none; width: 84px; }
.icon-circle { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; background: #f7f5f2; display: flex; align-items: center; justify-content: center; border: 1px solid #eee; }
.icon-circle img { width: 100%; height: 100%; object-fit: cover; }
.icon-strip-label { font-size: 12px; text-align: center; color: #333; }

/* ---- Hero banner ---- */
.hero-banner { margin: 24px 20px; border-radius: 10px; background: linear-gradient(120deg, #f6ecf0, #eef1f7); padding: 60px 30px; text-align: center; }
.hero-banner-tag { color: var(--pink-dark); font-weight: 600; letter-spacing: 2px; text-transform: uppercase; font-size: 13px; margin-bottom: 8px; }
.hero-banner h2 { font-size: 32px; margin: 0 0 20px; color: var(--navy); }
.btn-shop-now { display: inline-block; background: var(--navy); color: #fff; text-decoration: none; padding: 12px 30px; border-radius: 30px; font-weight: 600; letter-spacing: 1px; }
.btn-shop-now:hover { background: #14203c; }

.section-title { font-size: 24px; margin: 8px 0 16px; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; margin-top: 16px; }
.category-card { display: block; background: #fff; border-radius: 8px; padding: 16px; text-decoration: none; color: #222; box-shadow: 0 1px 6px rgba(0,0,0,.08); text-align: center; }
.category-card-img { display: block; width: 100%; aspect-ratio: 1; border-radius: 6px; overflow: hidden; background: #f7f5f2; margin-bottom: 10px; }
.category-card-img img { width: 100%; height: 100%; object-fit: cover; }
.category-card-name { font-weight: 700; font-size: 15px; }
.category-card-desc { color: #666; font-size: 13px; margin-top: 6px; }
.cat-nav { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.cat-nav a { padding: 6px 12px; border-radius: 20px; background: #f7f5f2; text-decoration: none; color: #333; font-size: 13px; }
.cat-nav a.active { background: var(--pink); color: #fff; }

/* ---- Product cards ---- */
.product-card { background: #fff; border-radius: 8px; box-shadow: 0 1px 6px rgba(0,0,0,.08); text-align: center; overflow: hidden; display: flex; flex-direction: column; }
.product-card-img { width: 100%; aspect-ratio: 1; background: #fff; cursor: pointer; }
.product-card-img img { width: 100%; height: 100%; object-fit: cover; }
.product-card-body { padding: 10px 10px 0; }
.product-card-name { font-size: 13px; color: #333; text-align: left; }
.product-card-code { font-size: 12px; color: #888; margin-top: 4px; text-align: left; }
.product-card-price { font-weight: 700; margin: 4px 0; text-align: left; }
.muted { color: #888; }
.btn-add-cart, .btn-primary, .btn-secondary { border: none; border-radius: 4px; padding: 10px 14px; cursor: pointer; font-size: 13px; letter-spacing: .5px; }
.btn-add-cart { background: var(--pink); color: #3a1f2b; width: 100%; border-radius: 0; margin-top: 10px; text-transform: uppercase; font-weight: 600; }
.btn-add-cart:hover { background: var(--pink-dark); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-secondary { background: #eee; color: #222; }

/* ---- Footer ---- */
.site-footer { background: #fff; border-top: 1px solid #eee; margin-top: 40px; padding: 36px 20px 20px; }
.site-footer-inner { max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 48px; }
.footer-col h4 { color: var(--pink-dark); text-transform: uppercase; font-size: 13px; letter-spacing: 1px; margin: 0 0 12px; }
.footer-col a, .footer-col .footer-label { display: block; color: #333; text-decoration: none; font-size: 13px; margin-bottom: 6px; }
.footer-col .footer-label { font-weight: 700; color: #222; margin-top: 8px; }
.social-icon { color: var(--pink-dark); }
.footer-powered { text-align: center; color: #999; font-size: 12px; margin-top: 30px; }
.modal { position: fixed; inset: 0; background: rgba(0,0,0,.6); display: flex; align-items: center; justify-content: center; z-index: 100; }
.modal[hidden] { display: none; }
.modal-content { background: #fff; border-radius: 8px; padding: 24px; max-width: 480px; width: 90%; max-height: 85vh; overflow-y: auto; position: relative; }
.modal-close { position: absolute; top: 10px; right: 14px; background: none; border: none; font-size: 22px; cursor: pointer; }
.modal-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
form label { display: block; margin: 10px 0; font-size: 13px; color: #444; }
form input, form select, form textarea { width: 100%; padding: 8px; margin-top: 4px; border: 1px solid #ccc; border-radius: 4px; font-size: 14px; }
.cart-row { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 6px; padding: 10px; margin-bottom: 8px; }
.cart-row img { width: 60px; height: 60px; object-fit: cover; border-radius: 4px; }
.cart-row-info { flex: 1; }
.cart-row input[type=number] { width: 60px; }

/* ---- Admin layout ---- */
.admin-shell { display: flex; min-height: 100vh; }
.admin-sidebar { width: 220px; background: #1c1c1c; color: #fff; padding: 20px 0; flex-shrink: 0; }
.admin-sidebar .brand { display: block; padding: 0 20px 20px; font-weight: 700; }
.admin-sidebar a { display: block; padding: 10px 20px; color: #ccc; text-decoration: none; font-size: 14px; }
.admin-sidebar a.active, .admin-sidebar a:hover { background: #333; color: #fff; }
.admin-main { flex: 1; padding: 24px; background: #f7f5f2; }
.stat-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; margin-bottom: 24px; }
.stat-card { background: #fff; border-radius: 8px; padding: 16px; box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.stat-card .num { font-size: 26px; font-weight: 700; }
.stat-card .label { color: #888; font-size: 12px; }
table { width: 100%; border-collapse: collapse; background: #fff; }
table th, table td { padding: 8px 10px; border-bottom: 1px solid #eee; text-align: left; font-size: 13px; }
.tabs { display: flex; gap: 8px; margin-bottom: 14px; }
.tabs a { padding: 6px 14px; border-radius: 20px; background: #eee; text-decoration: none; color: #333; font-size: 13px; }
.tabs a.active { background: #1c1c1c; color: #fff; }
.badge { display: inline-block; padding: 2px 8px; border-radius: 10px; font-size: 11px; background: #eee; }
.badge.status-new { background: #fde68a; }
.badge.status-contacted { background: #93c5fd; }
.badge.status-closed { background: #86efac; }
.inquiry-card { background: #fff; border-radius: 8px; margin-bottom: 10px; box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.inquiry-summary { display: flex; align-items: center; gap: 10px; padding: 12px; cursor: pointer; }
.inquiry-summary .avatar { width: 34px; height: 34px; border-radius: 50%; background: #d4af37; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.inquiry-panel { padding: 0 14px 14px; }
.inquiry-panel[hidden] { display: none; }
.filter-bar { display: flex; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.filter-bar input, .filter-bar select { padding: 6px; border: 1px solid #ccc; border-radius: 4px; }
