@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Poppins:wght@600;700;800&display=swap');

:root {
  --primary: #0C3B2E;
  --secondary: #6D9773;
  --accent: #FFBA00;
  --support: #BB8A52;
  --bg: #F8F8F3;
  --card: #FFFFFF;
  --text: #1F2937;
  --muted: #667085;
  --border: #E5E7EB;
  --shadow: 0 14px 36px rgba(12,59,46,.08);
  --shadow-sm: 0 7px 20px rgba(12,59,46,.06);
  --radius: 16px;
  --button-radius: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }

.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.topbar {
  background: var(--primary);
  color: white;
  font-size: 13px;
}
.topbar-inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar a { opacity: .9; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(248,248,243,.93);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(229,231,235,.85);
}
.header-main {
  min-height: 84px;
  display: grid;
  grid-template-columns: 210px 1fr auto;
  gap: 26px;
  align-items: center;
}
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 40px; height: 40px; border-radius: 12px; background: var(--primary); color: white;
  display: grid; place-items: center; font-family: Poppins, sans-serif; font-weight: 800; letter-spacing: -.04em;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
}
.logo-text { font: 800 23px/1 Poppins, sans-serif; color: var(--primary); letter-spacing: -.04em; }
.logo-text span { color: var(--support); }

.search-wrap { position: relative; }
.search-wrap svg { position: absolute; left: 17px; top: 50%; transform: translateY(-50%); color: #7c838d; }
.search-input {
  width: 100%; height: 50px; border: 1px solid var(--border); border-radius: 15px; background: #fff;
  padding: 0 18px 0 49px; outline: none; color: var(--text); transition: .2s ease;
  box-shadow: 0 2px 0 rgba(12,59,46,.01);
}
.search-input:focus { border-color: rgba(109,151,115,.65); box-shadow: 0 0 0 4px rgba(109,151,115,.12); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.nav-link { padding: 10px 12px; color: #4d5561; font-weight: 600; font-size: 14px; border-radius: 10px; }
.nav-link:hover { background: white; color: var(--primary); }
.btn { border: 0; cursor: pointer; border-radius: var(--button-radius); min-height: 44px; padding: 0 18px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: 9px; transition: .2s ease; }
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { transform: translateY(-1px); background: #082f24; }
.btn-accent { background: var(--accent); color: #2f2817; box-shadow: 0 6px 16px rgba(255,186,0,.18); }
.btn-accent:hover { transform: translateY(-1px); filter: brightness(.98); }
.btn-soft { background: #eef3ef; color: var(--primary); }
.btn-outline { background: white; color: var(--primary); border: 1px solid var(--border); }

.category-strip { border-top: 1px solid rgba(229,231,235,.65); background: rgba(255,255,255,.7); }
.category-scroll { display: flex; gap: 10px; overflow-x: auto; padding: 13px 0; scrollbar-width: none; }
.category-scroll::-webkit-scrollbar { display: none; }
.category-chip {
  white-space: nowrap; border: 1px solid var(--border); background: white; color: #5b626d;
  padding: 10px 16px; border-radius: 999px; font-weight: 600; font-size: 14px;
}
.category-chip.active, .category-chip:hover { background: var(--primary); color: white; border-color: var(--primary); }

main { padding-bottom: 70px; }
.hero { padding: 28px 0 18px; }
.hero-card {
  position: relative; overflow: hidden; border-radius: 28px; min-height: 390px; padding: 56px;
  display: grid; grid-template-columns: 1.06fr .94fr; gap: 50px; align-items: center;
  background:
    radial-gradient(circle at 90% 5%, rgba(255,186,0,.18), transparent 32%),
    radial-gradient(circle at 72% 75%, rgba(109,151,115,.22), transparent 35%),
    linear-gradient(135deg, #f1f7f2 0%, #fbfbf7 65%, #fff8e5 100%);
  border: 1px solid rgba(109,151,115,.15);
  box-shadow: var(--shadow-sm);
}
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--primary); background: rgba(109,151,115,.13); border: 1px solid rgba(109,151,115,.22); padding: 7px 11px; border-radius: 999px; font-weight: 800; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.hero h1, .detail-title, .section-title { font-family: Poppins, sans-serif; letter-spacing: -.035em; }
.hero h1 { font-size: clamp(38px, 5vw, 66px); line-height: 1.02; margin: 18px 0 18px; color: #172019; }
.hero h1 .accent-word { color: var(--primary); }
.hero p { max-width: 660px; font-size: 18px; color: #667069; margin: 0; }
.hero-actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.hero-visual { position: relative; min-height: 280px; }
.deal-stack { position: absolute; inset: 10px 0 0 20px; }
.mini-card {
  position: absolute; width: 245px; background: white; border-radius: 20px; padding: 14px; box-shadow: 0 18px 40px rgba(12,59,46,.12); border: 1px solid rgba(229,231,235,.9);
}
.mini-card:nth-child(1) { transform: rotate(-7deg); left: 4px; top: 60px; }
.mini-card:nth-child(2) { transform: rotate(5deg); right: 4px; top: 0; }
.mini-card:nth-child(3) { transform: rotate(1deg); right: 40px; bottom: -12px; }
.mini-art { height: 128px; border-radius: 14px; background: linear-gradient(135deg,#f7f0db,#ddeadd); display: grid; place-items: center; font-size: 58px; }
.mini-title { font-weight: 800; margin: 10px 0 3px; font-size: 14px; }
.mini-price { font-size: 13px; color: var(--primary); font-weight: 800; }
.badge { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; padding: 6px 9px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; }
.badge-accent { background: var(--accent); color: #2d2616; }
.badge-green { background: #e9f2eb; color: var(--primary); }
.badge-brown { background: #f4eadf; color: #744c24; }

.disclosure { margin-top: 18px; border: 1px solid var(--border); background: #fff; border-radius: var(--radius); padding: 18px 20px; display: flex; gap: 12px; align-items: flex-start; color: #626b76; font-size: 14px; }
.disclosure strong { color: var(--text); }
.disclosure-icon { flex: 0 0 30px; width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: #edf3ee; color: var(--primary); font-weight: 800; }

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 32px auto 40px;
}
.trust-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  min-height: 142px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  box-shadow: 0 4px 14px rgba(12,59,46,.035);
}
.trust-icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: #edf3ee;
  color: var(--primary);
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  font-weight: 800;
  font-size: 18px;
}
.trust-card > div:last-child {
  padding-top: 2px;
}
.trust-card h3 {
  margin: 0 0 7px;
  font-size: 16px;
  line-height: 1.35;
}
.trust-card p {
  margin: 0;
  color: #78818d;
  font-size: 13.5px;
  line-height: 1.65;
}


.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin: 34px 0 18px; }
.section-title { margin: 0; font-size: clamp(27px,3vw,36px); line-height: 1.1; }
.section-subtitle { margin: 7px 0 0; color: #717a85; }
.toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.select { height: 42px; border: 1px solid var(--border); background: #fff; color: var(--text); border-radius: 11px; padding: 0 34px 0 13px; }

.deals-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; }
.deal-card { background: #fff; border: 1px solid var(--border); border-radius: 20px; overflow: hidden; box-shadow: 0 8px 24px rgba(12,59,46,.045); transition: .2s ease; display: flex; flex-direction: column; }
.deal-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-media { position: relative; padding: 18px; background: #fbfbf8; }
.product-art { height: 210px; border-radius: 14px; display: grid; place-items: center; font-size: 82px; background: linear-gradient(135deg,#f6f5ef,#e8efe8); border: 1px solid #eef0ea; }
.card-badges { position: absolute; left: 28px; top: 28px; display: flex; gap: 7px; }
.favorite { position: absolute; right: 28px; top: 28px; width: 35px; height: 35px; background: white; border: 1px solid var(--border); border-radius: 999px; display: grid; place-items: center; cursor: pointer; color: #748076; }
.favorite.active { color: #a44; background: #fff8f8; }
.card-body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.card-category { color: var(--secondary); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.card-title { font-weight: 800; font-size: 15px; line-height: 1.4; margin: 7px 0 12px; min-height: 63px; }
.rating { display: flex; gap: 7px; align-items: center; color: #6d7681; font-size: 13px; }
.stars { color: #e59d00; letter-spacing: .03em; }
.price-row { display: flex; align-items: baseline; gap: 9px; margin-top: 14px; }
.price { font-size: 22px; font-weight: 900; color: var(--primary); }
.mrp { text-decoration: line-through; color: #9aa1aa; font-size: 13px; }
.discount { color: #7a5a00; font-weight: 800; font-size: 12px; background: #fff4c5; padding: 4px 7px; border-radius: 999px; }
.meta-row { display: flex; align-items: center; justify-content: space-between; color: #9299a2; font-size: 12px; margin: 11px 0 16px; }
.card-body .btn { margin-top: auto; width: 100%; }

.live-strip { margin-top: 40px; border-radius: 22px; padding: 24px; background: var(--primary); color: white; display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; }
.live-strip h3 { margin: 0 0 6px; font-family: Poppins, sans-serif; font-size: 23px; }
.live-strip p { margin: 0; color: rgba(255,255,255,.72); }
.live-pill { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.14); padding: 10px 14px; border-radius: 12px; font-weight: 700; }
.pulse { display:inline-block; width: 8px; height: 8px; border-radius:50%; background:#92d7a1; margin-right:8px; box-shadow: 0 0 0 5px rgba(146,215,161,.12); }

footer { background: #fff; border-top: 1px solid var(--border); padding: 48px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr .7fr; gap: 60px; }
.footer-copy { color: #777f89; font-size: 14px; max-width: 550px; }
.footer-title { font-weight: 800; margin-bottom: 12px; }
.footer-links { display: grid; gap: 10px; color: #6c7580; font-size: 14px; }
.footer-bottom { border-top: 1px solid var(--border); margin-top: 32px; padding-top: 20px; color: #8c939c; font-size: 12px; display:flex; justify-content:space-between; gap: 20px; flex-wrap:wrap; }

/* Detail page */
.breadcrumbs { padding: 24px 0 8px; color:#7b848f; font-size:13px; }
.detail-layout { display: grid; grid-template-columns: minmax(0,.94fr) minmax(0,1.06fr); gap: 50px; align-items: start; padding: 20px 0 50px; }
.detail-gallery { background:#fff; border:1px solid var(--border); border-radius:24px; padding:24px; box-shadow: var(--shadow-sm); position: sticky; top: 112px; }
.detail-art { height: 500px; border-radius: 18px; display:grid; place-items:center; font-size:150px; background: linear-gradient(135deg,#f5f1e6,#e4eee4); }
.thumb-row { display:flex; gap:10px; margin-top:12px; }
.thumb { width:70px; height:70px; border-radius:12px; background:#f6f7f3; border:1px solid var(--border); display:grid; place-items:center; font-size:28px; cursor:pointer; }
.thumb.active { border-color:var(--secondary); box-shadow: 0 0 0 3px rgba(109,151,115,.12); }
.detail-meta { color:#7f8791; font-size:13px; display:flex; gap:14px; flex-wrap:wrap; }
.detail-title { font-size: clamp(34px,4.2vw,54px); line-height:1.08; margin:12px 0 14px; }
.detail-rating { display:flex; align-items:center; gap:10px; padding-bottom:18px; border-bottom:1px solid var(--border); }
.price-box { margin:22px 0; padding:20px; border-radius:16px; background:#fff; border:1px solid var(--border); }
.price-main { display:flex; gap:12px; align-items:baseline; flex-wrap:wrap; }
.price-main .price { font-size:32px; }
.deal-note { margin-top:10px; color:#6a737e; font-size:14px; }
.detail-actions { display:grid; grid-template-columns:1fr 54px; gap:12px; }
.detail-actions .btn { min-height:54px; font-size:16px; }
.share-row { display:flex; gap:10px; flex-wrap:wrap; margin-top:18px; }
.share-btn { border:1px solid var(--border); background:#fff; border-radius:999px; padding:9px 13px; cursor:pointer; font-weight:700; color:#59626d; }
.share-btn:hover { border-color:#cbd2d8; color:var(--primary); }
.detail-trust { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin-top:22px; }
.detail-trust > div { border:1px solid var(--border); border-radius:14px; padding:13px; background:#fff; font-size:13px; font-weight:700; color:#4f5b55; }
.detail-description { margin-top:30px; padding-top:24px; border-top:1px solid var(--border); }
.detail-description h3 { font-family:Poppins,sans-serif; margin:0 0 10px; }
.detail-description ul { padding-left:20px; color:#5e6772; }

.toast { position: fixed; left:50%; bottom:26px; transform:translate(-50%,20px); background:#15251f; color:#fff; padding:12px 16px; border-radius:12px; opacity:0; pointer-events:none; transition:.25s ease; z-index:90; box-shadow:var(--shadow); font-size:14px; }
.toast.show { opacity:1; transform:translate(-50%,0); }

@media (max-width: 1000px) {
  .header-main { grid-template-columns: 180px 1fr; }
  .header-actions { grid-column: 1 / -1; justify-content:flex-end; display:none; }
  .hero-card { grid-template-columns:1fr; padding:42px; }
  .hero-visual { min-height:250px; }
  .deals-grid { grid-template-columns:repeat(2,1fr); }
  .detail-layout { grid-template-columns:1fr; }
  .detail-gallery { position:static; }
}
@media (max-width: 720px) {
  .container { width:min(100% - 24px,1180px); }
  .topbar-inner { justify-content:center; text-align:center; }
  .topbar .desktop-only { display:none; }
  .header-main { grid-template-columns:1fr; gap:12px; padding:14px 0; }
  .logo { justify-content:center; }
  .hero-card { padding:28px 22px; border-radius:22px; }
  .hero h1 { font-size:42px; }
  .hero p { font-size:16px; }
  .hero-visual { min-height:320px; }
  .mini-card { width:210px; }
  .mini-card:nth-child(1) { left:0; top:90px; }
  .mini-card:nth-child(2) { right:0; }
  .mini-card:nth-child(3) { right:14px; bottom:0; }
  .trust-grid { grid-template-columns:1fr; gap:14px; margin:24px auto 32px; }
  .trust-card { min-height:auto; padding:20px; }
  .section-head { align-items:flex-start; flex-direction:column; }
  .deals-grid { grid-template-columns:1fr; }
  .live-strip { grid-template-columns:1fr; }
  .footer-grid { grid-template-columns:1fr; gap:28px; }
  .detail-art { height:360px; font-size:110px; }
  .detail-title { font-size:38px; }
  .detail-trust { grid-template-columns:1fr; }
}

/* Dynamic product imagery */
.product-art { overflow: hidden; }
.product-image { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.product-art-inner { width: 100%; height: 100%; display: grid; place-items: center; font-size: 82px; }
.detail-art { overflow: hidden; }
.detail-product-image { width: 100%; height: 100%; object-fit: contain; padding: 18px; }
.detail-art-inner { width: 100%; height: 100%; display: grid; place-items: center; font-size: 150px; }

/* Admin */
.admin-body { background: #f6f7f3; min-height: 100vh; }
.admin-topbar { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.94); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); }
.admin-topbar-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.admin-topbar-actions { display: flex; gap: 12px; align-items: center; }
.admin-label { display: inline-flex; padding: 6px 10px; border-radius: 999px; background: #edf3ee; color: var(--primary); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.admin-main { padding-top: 38px; padding-bottom: 70px; }
.admin-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.admin-heading h1 { margin: 14px 0 6px; font-family: Poppins, sans-serif; font-size: clamp(34px,4vw,52px); letter-spacing: -.04em; line-height: 1.05; }
.admin-heading p { margin: 0; color: var(--muted); max-width: 690px; }
.admin-notice { background: #fff; border: 1px solid var(--border); border-left: 4px solid var(--secondary); border-radius: 14px; padding: 15px 17px; color: #667085; font-size: 13px; margin-bottom: 22px; }
.admin-notice strong { color: var(--text); }
.admin-stats { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; margin-bottom: 26px; }
.admin-stat-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 20px; box-shadow: 0 5px 16px rgba(12,59,46,.035); }
.admin-stat-card span { color: #667085; font-size: 13px; font-weight: 700; }
.admin-stat-card strong { display: block; font: 800 30px/1.1 Poppins,sans-serif; color: var(--primary); margin: 8px 0 5px; }
.admin-stat-card small { color: #98a2b3; }
.admin-tabs { display: inline-flex; gap: 6px; padding: 5px; background: #eaf0eb; border: 1px solid #dfe7e0; border-radius: 14px; margin-bottom: 18px; }
.admin-tab { border: 0; background: transparent; color: #647067; border-radius: 10px; padding: 10px 16px; font-weight: 800; cursor: pointer; }
.admin-tab.active { background: #fff; color: var(--primary); box-shadow: 0 3px 10px rgba(12,59,46,.07); }
.admin-panel { display: none; }
.admin-panel.active { display: block; }
.admin-layout { display: grid; grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr); gap: 20px; align-items: start; }
.admin-layout-categories { grid-template-columns: minmax(0,.75fr) minmax(0,1.25fr); }
.admin-card { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 24px; box-shadow: 0 8px 22px rgba(12,59,46,.04); }
.admin-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.admin-card-head h2 { margin: 0 0 4px; font: 800 21px/1.25 Poppins,sans-serif; letter-spacing: -.02em; }
.admin-card-head p { margin: 0; color: #7b8491; font-size: 13px; }
.text-button { border: 0; background: transparent; color: var(--primary); font-weight: 800; cursor: pointer; padding: 5px; }
.admin-form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.form-span-2 { grid-column: 1 / -1; }
.form-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.form-field label { font-size: 13px; font-weight: 800; color: #344054; }
.form-field input:not([type="checkbox"]), .form-field select, .form-field textarea, .admin-search { width: 100%; border: 1px solid var(--border); background: #fff; border-radius: 12px; padding: 11px 12px; color: var(--text); outline: none; transition: .2s ease; }
.form-field input:not([type="checkbox"]), .form-field select, .admin-search { min-height: 44px; }
.form-field textarea { resize: vertical; min-height: 104px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus, .admin-search:focus { border-color: rgba(109,151,115,.75); box-shadow: 0 0 0 4px rgba(109,151,115,.11); }
.form-field small { color: #98a2b3; font-size: 11px; line-height: 1.4; }
.form-actions { display: flex; gap: 10px; align-items: center; padding-top: 4px; }
.switch-row { min-height: 44px; display: flex !important; align-items: center; gap: 10px; cursor: pointer; font-weight: 600 !important; }
.switch-row input { position: absolute; opacity: 0; pointer-events: none; }
.switch { width: 42px; height: 24px; border-radius: 999px; background: #d7dce1; position: relative; transition: .2s; flex: 0 0 auto; }
.switch::after { content: ''; position: absolute; width: 18px; height: 18px; background: #fff; border-radius: 50%; left: 3px; top: 3px; transition: .2s; box-shadow: 0 1px 4px rgba(0,0,0,.18); }
.switch-row input:checked + .switch { background: var(--primary); }
.switch-row input:checked + .switch::after { transform: translateX(18px); }
.product-preview { border: 1px dashed #d7ded8; background: #fbfcf9; border-radius: 16px; padding: 14px; display: grid; grid-template-columns: 88px 1fr; gap: 14px; align-items: center; }
.preview-media { width: 88px; height: 88px; border-radius: 13px; background: #eef2ea; display: grid; place-items: center; overflow: hidden; font-size: 38px; }
.preview-media img { width: 100%; height: 100%; object-fit: contain; }
.preview-kicker { display: block; color: var(--secondary); font-size: 10px; text-transform: uppercase; font-weight: 800; letter-spacing: .05em; }
.product-preview strong { display: block; margin: 3px 0 6px; font-size: 13px; line-height: 1.35; }
.preview-price { display: flex; align-items: center; gap: 8px; }
.preview-price span:first-child { color: var(--primary); font-size: 17px; font-weight: 900; }
.preview-price span:last-child { background: #fff3c3; color: #795800; border-radius: 999px; padding: 3px 7px; font-size: 10px; font-weight: 800; }
.list-head { align-items: center; }
.admin-search { max-width: 210px; }
.table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; min-width: 590px; }
.admin-table th { text-align: left; color: #98a2b3; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; padding: 0 10px 10px; }
.admin-table td { border-top: 1px solid #eef0f1; padding: 13px 10px; vertical-align: middle; font-size: 13px; }
.admin-product-cell { display: flex; gap: 11px; align-items: center; min-width: 270px; }
.admin-product-thumb { width: 50px; height: 50px; border-radius: 11px; background: #f3f4ef; border: 1px solid #eceee8; display: grid; place-items: center; overflow: hidden; font-size: 23px; flex: 0 0 50px; }
.admin-product-thumb img { width: 100%; height: 100%; object-fit: contain; }
.admin-product-cell strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; max-width: 290px; line-height: 1.35; }
.admin-product-cell small, .table-mrp { display: block; color: #98a2b3; margin-top: 3px; font-size: 11px; }
.table-mrp { text-decoration: line-through; }
.status-pill { display: inline-flex; border-radius: 999px; padding: 5px 8px; font-size: 10px; font-weight: 800; }
.status-pill.live { background: #eaf4ec; color: var(--primary); }
.status-pill.draft { background: #f1f2f4; color: #667085; }
.row-actions { display: flex; gap: 5px; justify-content: flex-end; }
.icon-action { border: 1px solid var(--border); background: #fff; border-radius: 9px; min-height: 32px; padding: 0 9px; font-size: 11px; font-weight: 800; color: #52605a; cursor: pointer; }
.icon-action:hover { border-color: #cbd5cd; color: var(--primary); }
.icon-action.danger { color: #9b3f3f; }
.icon-action.danger:hover { background: #fff7f7; border-color: #eccaca; }
.admin-empty { padding: 35px 10px; color: #98a2b3; text-align: center; }
.category-form { max-width: 560px; }
.category-admin-list { display: grid; gap: 10px; }
.category-admin-row { border: 1px solid #edf0ed; background: #fcfcfa; border-radius: 13px; padding: 13px 14px; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.category-admin-row strong { display: block; font-size: 13px; }
.category-admin-row small { color: #98a2b3; font-size: 11px; }

@media (max-width: 1000px) {
  .admin-stats { grid-template-columns: repeat(2,1fr); }
  .admin-layout, .admin-layout-categories { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .admin-topbar-inner { min-height: 68px; }
  .admin-label { display: none; }
  .admin-topbar-actions .btn { padding: 0 12px; min-height: 40px; font-size: 12px; }
  .admin-main { padding-top: 24px; }
  .admin-heading { align-items: flex-start; flex-direction: column; }
  .admin-heading h1 { font-size: 36px; }
  .admin-stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .admin-stat-card { padding: 16px; }
  .admin-stat-card strong { font-size: 25px; }
  .admin-card { padding: 18px; border-radius: 17px; }
  .admin-form { grid-template-columns: 1fr; }
  .form-span-2 { grid-column: auto; }
  .list-head { align-items: stretch; flex-direction: column; }
  .admin-search { max-width: none; }
}

/* Bulk upload */
.bulk-upload-layout { display: grid; grid-template-columns: 1fr; gap: 20px; }
.bulk-head, .bulk-preview-head { align-items: center; }
.bulk-template-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.bulk-template-actions .btn { min-height: 40px; padding: 0 14px; font-size: 12px; }
.bulk-dropzone { border: 1.5px dashed #cfd9d1; background: #fbfcf9; border-radius: 18px; min-height: 210px; padding: 30px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; cursor: pointer; transition: .2s ease; outline: none; }
.bulk-dropzone:hover, .bulk-dropzone:focus, .bulk-dropzone.dragover { border-color: var(--secondary); background: #f5f8f3; box-shadow: 0 0 0 4px rgba(109,151,115,.08); }
.bulk-upload-icon { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: #edf3ee; color: var(--primary); font: 800 26px/1 Poppins,sans-serif; margin-bottom: 14px; }
.bulk-dropzone strong { font: 800 17px/1.3 Poppins,sans-serif; color: var(--text); }
.bulk-dropzone span { color: #6f7885; font-size: 13px; margin-top: 5px; }
.bulk-dropzone small { color: #98a2b3; font-size: 11px; margin-top: 9px; }
.bulk-file-bar { margin-top: 14px; padding: 13px 15px; border: 1px solid #e5e9e5; background: #fff; border-radius: 13px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.bulk-file-bar strong { display: block; font-size: 13px; }
.bulk-file-bar small { display: block; color: #98a2b3; margin-top: 3px; font-size: 11px; }
.bulk-options { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin-top: 18px; }
.bulk-option { border: 1px solid #e8ebe8; background: #fcfcfa; border-radius: 13px; padding: 12px 13px; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 54px; }
.bulk-option > span { font-size: 12px; font-weight: 800; color: #344054; }
.bulk-option select { border: 1px solid var(--border); background: #fff; border-radius: 10px; min-height: 36px; padding: 0 10px; color: var(--text); font-size: 11px; outline: none; max-width: 190px; }
.bulk-option input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--primary); }
.bulk-column-help { margin-top: 15px; border-radius: 12px; background: #f3f6f1; color: #667085; padding: 12px 14px; font-size: 12px; line-height: 1.55; }
.bulk-column-help strong { color: var(--primary); }
.bulk-column-help span { display: block; margin-top: 2px; }
.bulk-summary { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; margin-bottom: 18px; }
.bulk-summary-item { border: 1px solid #e9ece9; background: #fbfcfa; border-radius: 14px; padding: 14px; }
.bulk-summary-item span { display: block; color: #7b8491; font-size: 11px; font-weight: 700; }
.bulk-summary-item strong { display: block; margin-top: 4px; font: 800 23px/1.1 Poppins,sans-serif; color: var(--primary); }
.bulk-summary-item.error strong { color: #9b3f3f; }
.bulk-empty-state { border: 1px dashed #d9dfda; border-radius: 15px; padding: 34px 20px; text-align: center; color: #98a2b3; font-size: 13px; background: #fcfcfa; }
.bulk-table { min-width: 760px; }
.bulk-row-title { min-width: 260px; }
.bulk-row-title strong { display: block; font-size: 12px; line-height: 1.4; }
.bulk-row-title small { display: block; color: #98a2b3; margin-top: 3px; font-size: 10px; }
.bulk-validation { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 5px 8px; font-size: 10px; font-weight: 800; white-space: nowrap; }
.bulk-validation.ready { background: #eaf4ec; color: var(--primary); }
.bulk-validation.update { background: #eef2f7; color: #44546a; }
.bulk-validation.skip { background: #f3f4f6; color: #667085; }
.bulk-validation.error { background: #fff1f1; color: #9b3f3f; }
.bulk-errors { margin-top: 16px; border: 1px solid #efdddd; background: #fffafa; border-radius: 13px; padding: 13px 14px; color: #8f4444; font-size: 11px; line-height: 1.55; }
.bulk-errors strong { display: block; margin-bottom: 5px; color: #7f3535; }
.bulk-errors ul { margin: 0; padding-left: 18px; }
.bulk-errors li + li { margin-top: 3px; }

@media (max-width: 900px) {
  .bulk-options { grid-template-columns: 1fr; }
  .bulk-head, .bulk-preview-head { align-items: flex-start; flex-direction: column; }
  .bulk-template-actions { justify-content: flex-start; }
}
@media (max-width: 720px) {
  .admin-tabs { width: 100%; overflow-x: auto; }
  .admin-tab { white-space: nowrap; flex: 0 0 auto; }
  .bulk-dropzone { min-height: 180px; padding: 22px 16px; }
  .bulk-summary { grid-template-columns: 1fr 1fr; }
  .bulk-preview-head .btn { width: 100%; }
  .bulk-template-actions { width: 100%; }
  .bulk-template-actions .btn { flex: 1 1 auto; }
}

/* Admin authentication */
.auth-body { min-height: 100vh; margin: 0; background: radial-gradient(circle at 50% -10%, #eef4ed 0, #f8f8f3 34%, #f6f7f3 75%); color: var(--text); }
.auth-shell { width: min(100% - 36px, 520px); min-height: 100vh; margin: 0 auto; padding: 52px 0 38px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.auth-logo { margin-bottom: 26px; }
.auth-card { width: 100%; background: #fff; border: 1px solid var(--border); border-radius: 24px; padding: 34px; box-shadow: 0 18px 50px rgba(12,59,46,.08); }
.auth-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 16px; background: #edf3ee; font-size: 24px; margin-bottom: 20px; }
.auth-card h1 { margin: 10px 0 8px; font: 800 clamp(28px,5vw,38px)/1.08 Poppins,sans-serif; letter-spacing: -.04em; }
.auth-subtitle { margin: 0 0 24px; color: #737d89; font-size: 14px; line-height: 1.6; }
.auth-form { display: grid; gap: 17px; }
.password-field { position: relative; }
.password-field input { padding-right: 68px !important; }
.password-toggle { position: absolute; top: 50%; right: 9px; transform: translateY(-50%); border: 0; background: #f3f5f1; color: var(--primary); border-radius: 8px; padding: 7px 9px; font-size: 10px; font-weight: 800; cursor: pointer; }
.password-rules { margin-top: -4px; padding: 11px 13px; border-radius: 11px; background: #f5f7f3; color: #78817d; font-size: 11px; line-height: 1.5; }
.password-rules strong { color: #47534d; margin-right: 5px; }
.auth-submit { width: 100%; margin-top: 3px; }
.auth-alert { margin-bottom: 18px; border: 1px solid #efd3d3; background: #fff7f7; color: #943e3e; border-radius: 12px; padding: 11px 13px; font-size: 12px; line-height: 1.45; }
.auth-alert.success { border-color: #cfe3d3; background: #f4faf5; color: var(--primary); }
.auth-security-row { margin-top: 22px; padding-top: 18px; border-top: 1px solid #edf0ed; display: flex; flex-wrap: wrap; gap: 8px; }
.auth-security-row span { border: 1px solid #e4e9e4; background: #fbfcfa; color: #69736d; border-radius: 999px; padding: 6px 8px; font-size: 9px; font-weight: 800; }
.auth-production-note { margin: 18px 8px 0; text-align: center; color: #7b8491; font-size: 10px; line-height: 1.55; }
.auth-production-note strong { color: #5e6862; }
.auth-back { margin-top: 15px; color: var(--primary); font-size: 12px; font-weight: 800; text-decoration: none; }
.admin-user-chip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; border-radius: 999px; background: #edf3ee; color: var(--primary); font-size: 11px; font-weight: 800; }
.admin-user-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--secondary); box-shadow: 0 0 0 3px rgba(109,151,115,.12); }
.admin-notice-secure { border-left-color: var(--primary); }
.admin-layout-security { grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); }
.security-status { display: inline-flex; align-items: center; gap: 7px; border-radius: 999px; padding: 6px 9px; background: #edf5ef; color: var(--primary); font-size: 10px; font-weight: 800; }
.security-status > span { width: 7px; height: 7px; border-radius: 50%; background: var(--secondary); }
.security-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin-bottom: 20px; }
.security-item { border: 1px solid #edf0ed; background: #fcfcfa; border-radius: 13px; padding: 13px; }
.security-item strong { display: block; color: #344054; font-size: 11px; margin-bottom: 4px; }
.security-item span { color: #7b8491; font-size: 11px; line-height: 1.4; }
.security-form { max-width: 620px; }
@media (max-width: 1000px) { .admin-layout-security { grid-template-columns: 1fr; } }
@media (max-width: 720px) {
  .auth-shell { width: min(100% - 24px, 520px); padding: 28px 0; justify-content: flex-start; }
  .auth-card { padding: 24px 20px; border-radius: 20px; }
  .auth-security-row { gap: 6px; }
  .admin-user-chip { display: none; }
  .admin-logout { display: none; }
  .security-grid { grid-template-columns: 1fr; }
}
