/* ============================================================
   Danke Pio Co. Ltd — Premium Stylesheet v2
   Brand: Red #E8192C | Blue #1A3A8F | Charcoal #1A1A2E
   ============================================================ */

:root {
  --red:        #E8192C;
  --red-dark:   #C0121F;
  --red-light:  #FF3347;
  --blue:       #1A3A8F;
  --blue-dark:  #122970;
  --blue-mid:   #2B52C8;
  --charcoal:   #1A1A2E;
  --ink:        #1C1C1C;
  --white:      #FFFFFF;
  --cream:      #FAFAF8;
  --mist:       #F3F4F6;
  --border:     #E5E7EB;
  --gray-500:   #6B7280;
  --gray-700:   #374151;
  --gold:       #F5A623;
  --green:      #16A34A;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;
  --font-mono:    'JetBrains Mono', 'Courier New', monospace;

  --radius-sm:  6px;
  --radius:     10px;
  --radius-lg:  16px;
  --radius-xl:  24px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow:     0 4px 16px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.05);
  --shadow-lg:  0 12px 40px rgba(0,0,0,.12), 0 4px 12px rgba(0,0,0,.07);
  --shadow-xl:  0 24px 64px rgba(0,0,0,.14);

  --transition: 220ms cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--ink); background: var(--cream); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--red); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── HEADER ─────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 1000; }

.header-top {
  background: var(--charcoal);
  color: rgba(255,255,255,.75);
  font-size: 12.5px;
  padding: 7px 0;
  letter-spacing: .01em;
}
.header-top .container { display: flex; justify-content: flex-end; gap: 24px; align-items: center; }
.header-top a { color: rgba(255,255,255,.75); }
.header-top a:hover { color: var(--white); }

.main-nav {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  border-bottom: 2.5px solid var(--red);
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.nav-logo img { height: 58px; object-fit: contain; }

.nav-links { display: flex; list-style: none; gap: 2px; margin-left: auto; }
.nav-links a {
  display: block;
  padding: 8px 15px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 15px; right: 15px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform var(--transition);
  border-radius: 2px;
}
.nav-links a:hover, .nav-links a.active { color: var(--red); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

.cart-btn {
  display: flex; align-items: center; gap: 8px;
  background: var(--red); color: var(--white) !important;
  padding: 10px 20px; border-radius: var(--radius);
  font-weight: 600; font-size: 14px;
  transition: background var(--transition), transform var(--transition);
  white-space: nowrap; margin-left: 8px;
}
.cart-btn:hover { background: var(--red-dark); transform: translateY(-1px); color: var(--white); }
.cart-badge {
  background: var(--white); color: var(--red);
  border-radius: 50%; width: 20px; height: 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
}

.nav-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--charcoal); margin-left: auto; }

/* ── HERO ──────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--charcoal);
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('https://images.unsplash.com/photo-1562408590-e32931084e23?w=1600&q=80');
  background-size: cover;
  background-position: center;
  opacity: .22;
  transition: opacity 1s;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(26,26,46,.96) 0%, rgba(26,26,46,.82) 50%, rgba(232,25,44,.18) 100%);
}
.hero-stripe {
  position: absolute;
  top: 0; right: 0;
  width: 45%;
  height: 100%;
  background: var(--red);
  clip-path: polygon(18% 0%, 100% 0%, 100% 100%, 0% 100%);
  opacity: .07;
}
.hero-inner {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: center;
  padding: 80px 0;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(232,25,44,.18);
  border: 1px solid rgba(232,25,44,.35);
  color: #FF8090;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.hero-eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--red-light); flex-shrink: 0; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(1.4)} }

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 22px;
  font-weight: 700;
}
.hero h1 em { font-style: normal; color: var(--red-light); }
.hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,.7);
  max-width: 520px;
  margin-bottom: 38px;
  line-height: 1.75;
}

.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 32px; margin-top: 52px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stat-label { font-size: 12px; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .1em; }

/* Hero card panel */
.hero-panel {
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-xl);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hero-service-pill {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 14px 18px;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.hero-service-pill:hover {
  background: rgba(232,25,44,.2);
  border-color: rgba(232,25,44,.4);
  transform: translateX(4px);
  color: var(--white);
}
.hero-service-pill .pill-icon { font-size: 22px; flex-shrink: 0; }
.hero-service-pill .pill-text strong { display: block; color: var(--white); font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.hero-service-pill .pill-text span { font-size: 12px; color: rgba(255,255,255,.5); }
.hero-service-pill .pill-arrow { margin-left: auto; color: rgba(255,255,255,.3); font-size: 16px; transition: transform var(--transition); }
.hero-service-pill:hover .pill-arrow { transform: translateX(4px); color: var(--red-light); }

/* ── BUTTONS ─────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-weight: 600; font-size: 14.5px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-body);
  text-decoration: none;
  line-height: 1;
}
.btn-primary   { background: var(--red); color: var(--white); border-color: var(--red); }
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); color: var(--white); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(232,25,44,.3); }
.btn-blue      { background: var(--blue); color: var(--white); border-color: var(--blue); }
.btn-blue:hover { background: var(--blue-dark); color: var(--white); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(26,58,143,.3); }
.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,.45); }
.btn-outline-white:hover { background: var(--white); color: var(--charcoal); border-color: var(--white); }
.btn-outline-blue { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline-blue:hover { background: var(--blue); color: var(--white); }
.btn-outline-red  { background: transparent; color: var(--red); border-color: var(--red); }
.btn-outline-red:hover  { background: var(--red); color: var(--white); }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 16px 32px; font-size: 16px; }

/* ── SECTION BASE ──────────────────────────────────── */
section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 56px; }
.eyebrow {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  color: var(--charcoal);
  margin-bottom: 14px;
  line-height: 1.2;
}
.section-header p { color: var(--gray-500); max-width: 560px; margin: 0 auto; font-size: 16px; }

/* ── SERVICE CATEGORY STRIPS ─────────────────────── */
.cat-strip { background: var(--charcoal); padding: 20px 0; overflow: hidden; }
.cat-strip-inner { display: flex; gap: 0; }
.cat-strip-item {
  display: flex; align-items: center; gap: 10px;
  padding: 0 32px;
  border-right: 1px solid rgba(255,255,255,.08);
  white-space: nowrap;
  color: rgba(255,255,255,.55);
  font-size: 13px;
  font-weight: 500;
  flex-shrink: 0;
}
.cat-strip-item span { font-size: 18px; }

/* ── PRODUCT GRID ───────────────────────────────── */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(275px, 1fr)); gap: 24px; }

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid var(--border);
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

/* Product illustration area */
.product-image {
  height: 180px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}
/* Category colour themes */
.product-image.cat-print    { background: linear-gradient(135deg,#1A3A8F11,#1A3A8F22); }
.product-image.cat-design   { background: linear-gradient(135deg,#E8192C11,#E8192C22); }
.product-image.cat-bind     { background: linear-gradient(135deg,#16A34A11,#16A34A22); }
.product-image.cat-type     { background: linear-gradient(135deg,#F5A62311,#F5A62322); }
.product-image.cat-stat     { background: linear-gradient(135deg,#7C3AED11,#7C3AED22); }
.product-image.cat-net      { background: linear-gradient(135deg,#0891B211,#0891B222); }
.product-image.cat-dev      { background: linear-gradient(135deg,#1A1A2E11,#1A1A2E22); }

.product-image .prod-icon   { font-size: 72px; opacity: .85; }
.badge-featured {
  position: absolute; top: 12px; left: 12px;
  background: var(--red); color: var(--white);
  font-size: 10px; font-weight: 700;
  padding: 4px 10px; border-radius: 100px;
  text-transform: uppercase; letter-spacing: .06em;
}
.badge-quote {
  position: absolute; top: 12px; left: 12px;
  background: var(--gold); color: var(--charcoal);
  font-size: 10px; font-weight: 700;
  padding: 4px 10px; border-radius: 100px;
  text-transform: uppercase; letter-spacing: .06em;
}
.badge-batch {
  position: absolute; top: 12px; right: 12px;
  background: var(--blue); color: var(--white);
  font-size: 10px; font-weight: 700;
  padding: 4px 10px; border-radius: 100px;
  letter-spacing: .04em;
}

.product-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.product-category { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--gray-500); margin-bottom: 6px; font-weight: 600; }
.product-name { font-family: var(--font-display); font-size: 16.5px; color: var(--ink); margin-bottom: 8px; line-height: 1.3; }
.product-desc { font-size: 13px; color: var(--gray-500); flex: 1; margin-bottom: 16px; line-height: 1.65; }

/* Spec tags */
.spec-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.spec-tag {
  font-size: 11px; font-weight: 600;
  background: var(--mist); color: var(--gray-700);
  padding: 3px 9px; border-radius: 100px;
  border: 1px solid var(--border);
}

.product-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.product-price { font-size: 17px; font-weight: 700; color: var(--blue); }
.product-price .unit { font-size: 11px; font-weight: 400; color: var(--gray-500); margin-left: 2px; }
.product-price.custom { color: var(--charcoal); font-size: 14px; font-style: italic; }

/* ── WHY US ─────────────────────────────────────── */
.why-section { background: var(--charcoal); color: var(--white); }
.why-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px,1fr)); gap: 2px; }
.why-card {
  padding: 40px 32px;
  border-right: 1px solid rgba(255,255,255,.06);
  transition: background var(--transition);
}
.why-card:hover { background: rgba(255,255,255,.03); }
.why-icon { font-size: 36px; margin-bottom: 18px; }
.why-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 10px; color: var(--white); }
.why-card p { font-size: 13.5px; color: rgba(255,255,255,.55); line-height: 1.7; }

/* ── SERVICES TABLE SECTION ──────────────────────── */
.services-section { background: var(--cream); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px,1fr)); gap: 24px; }
.service-block {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.service-block:hover { box-shadow: var(--shadow-lg); }
.service-block-header {
  padding: 20px 24px;
  display: flex; align-items: center; gap: 14px;
  border-bottom: 1px solid var(--border);
}
.service-block-icon { font-size: 28px; }
.service-block-header h3 { font-size: 15px; font-weight: 700; color: var(--charcoal); }
.service-block-header .count { margin-left: auto; font-size: 12px; color: var(--gray-500); }
.service-block ul { list-style: none; padding: 12px 0; }
.service-block ul li {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 24px;
  font-size: 13.5px;
  color: var(--gray-700);
  border-bottom: 1px solid var(--mist);
  transition: background var(--transition);
}
.service-block ul li:last-child { border-bottom: none; }
.service-block ul li:hover { background: var(--mist); }
.service-block ul li::before { content: '→'; color: var(--red); font-size: 12px; flex-shrink: 0; }
.service-block-footer { padding: 14px 24px; border-top: 1px solid var(--border); }

/* ── CTA ─────────────────────────────────────────── */
.cta-section {
  background: var(--red);
  color: var(--white);
  text-align: center;
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute;
  top: -60px; right: -60px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
}
.cta-section::after {
  content: ''; position: absolute;
  bottom: -80px; left: -40px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: rgba(0,0,0,.06);
}
.cta-section h2 { font-family: var(--font-display); font-size: clamp(1.8rem,4vw,2.8rem); margin-bottom: 14px; position: relative; z-index: 1; }
.cta-section p  { font-size: 17px; opacity: .9; margin-bottom: 32px; position: relative; z-index: 1; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }

/* ── SHOP PAGE ──────────────────────────────────── */
.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: start; }
.shop-sidebar { position: sticky; top: 100px; }
.sidebar-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; margin-bottom: 18px; }
.sidebar-card h4 { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .15em; color: var(--charcoal); margin-bottom: 14px; }
.cat-nav { list-style: none; }
.cat-nav li a {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px;
  font-size: 13.5px;
  color: var(--gray-700);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.cat-nav li a:hover, .cat-nav li a.active { background: var(--mist); color: var(--red); font-weight: 600; }
.cat-nav li a .cat-emoji { font-size: 16px; }

.shop-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; flex-wrap: wrap; gap: 12px; }
.shop-title { font-family: var(--font-display); font-size: 1.6rem; color: var(--charcoal); }
.shop-count { font-size: 13px; color: var(--gray-500); }

/* ── CART ───────────────────────────────────────── */
.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 36px; align-items: start; }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th {
  background: var(--charcoal); color: var(--white);
  padding: 13px 16px; text-align: left;
  font-size: 11.5px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .08em;
}
.cart-table th:first-child { border-radius: var(--radius-sm) 0 0 0; }
.cart-table th:last-child  { border-radius: 0 var(--radius-sm) 0 0; }
.cart-table td { padding: 16px; border-bottom: 1px solid var(--mist); vertical-align: middle; font-size: 14px; background: var(--white); }
.cart-qty input { width: 58px; padding: 7px 10px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-size: 14px; text-align: center; }
.remove-btn { background: none; border: none; color: var(--red); cursor: pointer; font-size: 18px; padding: 4px; opacity: .6; transition: opacity var(--transition); }
.remove-btn:hover { opacity: 1; }

.order-summary {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 26px;
  position: sticky; top: 100px;
}
.order-summary h3 { font-family: var(--font-display); font-size: 1.1rem; color: var(--charcoal); margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.summary-row { display: flex; justify-content: space-between; margin-bottom: 12px; font-size: 14px; }
.summary-row.tax { color: var(--gray-500); font-size: 13px; }
.summary-row.total { font-size: 17px; font-weight: 700; color: var(--blue); border-top: 1px solid var(--border); margin-top: 12px; padding-top: 12px; }

/* ── FORM CARD ──────────────────────────────────── */
.form-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px;
  box-shadow: var(--shadow-sm);
}
.form-card h2 { font-family: var(--font-display); color: var(--charcoal); margin-bottom: 28px; font-size: 1.5rem; }
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group label {
  display: block; font-size: 12px; font-weight: 700;
  color: var(--gray-700); margin-bottom: 7px;
  text-transform: uppercase; letter-spacing: .08em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 14.5px; font-family: var(--font-body);
  color: var(--ink); background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26,58,143,.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.mb-0 { margin-bottom: 0 !important; }

/* ── RECEIPT / INVOICE / QUOTE DOCS ─────────────── */
.doc-wrap { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-xl); overflow: hidden; max-width: 800px; margin: 0 auto; }
.doc-header { background: var(--charcoal); color: var(--white); padding: 36px 44px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.doc-header img { height: 68px; filter: brightness(0) invert(1); }
.doc-header-meta { text-align: right; }
.doc-header-meta .doc-type { font-family: var(--font-display); font-size: 28px; letter-spacing: .12em; color: var(--white); }
.doc-header-meta .doc-num { font-size: 20px; font-weight: 700; color: var(--gold); margin-top: 6px; }
.doc-header-meta p { font-size: 12.5px; opacity: .65; margin-top: 4px; }
.doc-body { padding: 36px 44px; }
.doc-parties { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.doc-party h4 { font-size: 10px; text-transform: uppercase; letter-spacing: .18em; color: var(--gray-500); margin-bottom: 10px; font-weight: 700; }
.doc-party .party-name { font-weight: 700; font-size: 16px; color: var(--blue); margin-bottom: 6px; }
.doc-party p { font-size: 13px; line-height: 1.8; color: var(--gray-700); }
.doc-table { width: 100%; border-collapse: collapse; margin-bottom: 28px; }
.doc-table th { background: var(--charcoal); color: var(--white); padding: 11px 14px; text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.doc-table td { padding: 11px 14px; border-bottom: 1px solid var(--mist); font-size: 13.5px; }
.doc-table tr:nth-child(even) td { background: var(--cream); }
.doc-totals { max-width: 300px; margin-left: auto; }
.doc-total-row { display: flex; justify-content: space-between; padding: 7px 0; font-size: 13.5px; border-bottom: 1px solid var(--border); }
.doc-total-row.grand { font-size: 18px; font-weight: 700; color: var(--blue); border: none; border-top: 2px solid var(--blue); margin-top: 8px; padding-top: 12px; }
.doc-footer { background: var(--red); color: var(--white); padding: 20px 44px; text-align: center; font-size: 13px; }
.doc-footer strong { display: block; font-size: 15px; margin-bottom: 4px; }

/* ── STATUS BADGES ──────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px; border-radius: 100px;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
}
.badge-pending    { background: #FEF3C7; color: #92400E; }
.badge-processing { background: #DBEAFE; color: #1E40AF; }
.badge-completed  { background: #D1FAE5; color: #065F46; }
.badge-cancelled  { background: #FEE2E2; color: #991B1B; }
.badge-confirmed  { background: #D1FAE5; color: #065F46; }
.badge-info       { background: #E0E7FF; color: #3730A3; }

/* ── ALERTS ─────────────────────────────────────── */
.alert { padding: 14px 18px; border-radius: var(--radius); margin-bottom: 20px; font-size: 14px; font-weight: 500; border-left: 4px solid; }
.alert-success { background: #D1FAE5; color: #065F46; border-color: var(--green); }
.alert-error   { background: #FEE2E2; color: #991B1B; border-color: var(--red); }
.alert-info    { background: #DBEAFE; color: #1E40AF; border-color: var(--blue); }
.alert-warn    { background: #FEF3C7; color: #92400E; border-color: var(--gold); }

/* ── PAGE HERO ───────────────────────────────────── */
.page-hero {
  background: var(--charcoal);
  color: var(--white);
  padding: 56px 0 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(232,25,44,.08) 0%, transparent 60%); }
.page-hero h1 { font-family: var(--font-display); font-size: clamp(1.8rem,4vw,2.8rem); position: relative; z-index: 1; }
.page-hero p  { opacity: .65; font-size: 16px; margin-top: 10px; position: relative; z-index: 1; }

/* ── EMPTY STATE ─────────────────────────────────── */
.empty-state { text-align: center; padding: 80px 20px; }
.empty-state .icon { font-size: 64px; margin-bottom: 20px; opacity: .4; }
.empty-state h3 { font-size: 1.3rem; color: var(--charcoal); margin-bottom: 10px; }
.empty-state p  { color: var(--gray-500); }

/* ── ADMIN ───────────────────────────────────────── */
.admin-layout  { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.admin-sidebar { background: var(--charcoal); }
.admin-sidebar .logo-area { padding: 22px 20px; border-bottom: 1px solid rgba(255,255,255,.07); }
.admin-sidebar .logo-area img { height: 48px; filter: brightness(0) invert(1); }
.admin-nav { padding: 14px 0; }
.admin-nav a {
  display: flex; align-items: center; gap: 11px;
  padding: 11px 22px;
  color: rgba(255,255,255,.6);
  font-size: 13.5px; font-weight: 500;
  transition: all var(--transition);
  border-left: 3px solid transparent;
}
.admin-nav a:hover, .admin-nav a.active { background: rgba(255,255,255,.07); color: var(--white); border-left-color: var(--red); }
.nav-group-label { font-size: 9.5px; text-transform: uppercase; letter-spacing: .2em; color: rgba(255,255,255,.25); padding: 18px 22px 7px; font-weight: 700; }

.admin-main { background: var(--mist); }
.admin-topbar { background: var(--white); padding: 16px 28px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.admin-topbar h1 { font-family: var(--font-display); font-size: 1.15rem; color: var(--charcoal); }
.admin-content { padding: 28px; }

.stat-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px,1fr)); gap: 18px; margin-bottom: 32px; }
.stat-card { background: var(--white); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-sm); border: 1px solid var(--border); border-top: 3px solid var(--blue); }
.stat-card.red   { border-top-color: var(--red); }
.stat-card.green { border-top-color: var(--green); }
.stat-card .label { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--gray-500); margin-bottom: 8px; font-weight: 700; }
.stat-card .value { font-family: var(--font-display); font-size: 26px; font-weight: 700; color: var(--charcoal); }

.data-table-wrap { background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--border); overflow: hidden; box-shadow: var(--shadow-sm); }
.data-table-header { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--border); }
.data-table-header h3 { font-family: var(--font-display); color: var(--charcoal); font-size: 1rem; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th { background: var(--mist); color: var(--charcoal); padding: 11px 16px; text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.data-table td { padding: 13px 16px; border-bottom: 1px solid var(--mist); font-size: 13.5px; vertical-align: middle; }
.data-table tr:hover td { background: #FAFBFF; }

.icon-btn {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 12px; border-radius: var(--radius-sm);
  font-size: 12px; font-weight: 600;
  border: none; cursor: pointer; text-decoration: none;
  transition: opacity var(--transition), transform var(--transition);
}
.icon-btn:hover { opacity: .85; transform: translateY(-1px); }
.ib-blue  { background: var(--blue);  color: var(--white); }
.ib-red   { background: var(--red);   color: var(--white); }
.ib-green { background: var(--green); color: var(--white); }
.ib-gray  { background: var(--mist);  color: var(--gray-700); border: 1px solid var(--border); }

/* ── LOGIN ───────────────────────────────────────── */
.login-page { min-height: 100vh; background: var(--charcoal); display: flex; align-items: center; justify-content: center; padding: 40px 20px; position: relative; overflow: hidden; }
.login-page::before { content: ''; position: absolute; top: -100px; right: -100px; width: 500px; height: 500px; border-radius: 50%; background: rgba(232,25,44,.07); }
.login-card { background: var(--white); border-radius: var(--radius-xl); padding: 48px 40px; width: 100%; max-width: 420px; box-shadow: var(--shadow-xl); position: relative; z-index: 1; }
.login-card .logo-wrap { text-align: center; margin-bottom: 32px; }
.login-card .logo-wrap img { height: 72px; margin: 0 auto 12px; }
.login-card h2 { font-family: var(--font-display); color: var(--charcoal); font-size: 1.4rem; text-align: center; margin-bottom: 28px; }

/* ── FOOTER ──────────────────────────────────────── */
.site-footer { background: var(--charcoal); color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 48px; padding: 56px 24px 48px; max-width: 1200px; margin: 0 auto; }
.footer-brand img { height: 64px; filter: brightness(0) invert(1); margin-bottom: 16px; }
.footer-brand p { font-size: 13.5px; color: rgba(255,255,255,.5); line-height: 1.75; }
.footer-col h4 { font-size: 11px; text-transform: uppercase; letter-spacing: .15em; color: var(--red); margin-bottom: 18px; font-weight: 700; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(255,255,255,.55); font-size: 13.5px; transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--white); }
.footer-col p { color: rgba(255,255,255,.55); font-size: 13.5px; margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.07); text-align: center; padding: 20px 24px; font-size: 12.5px; color: rgba(255,255,255,.3); }

/* ── DIVIDER ─────────────────────────────────────── */
.divider { height: 1px; background: var(--border); margin: 24px 0; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.text-center { text-align: center; }

/* ── PAYMENT OPTIONS ─────────────────────────────── */
.payment-option { cursor: pointer; display: block; }
.payment-option input[type=radio] { display: none; }
.payment-card {
  border: 2px solid var(--border); border-radius: var(--radius-lg);
  padding: 20px 16px; text-align: center;
  transition: all var(--transition); background: var(--white);
}
.payment-card:hover { border-color: var(--blue); }
.payment-option input:checked + .payment-card {
  border-color: var(--blue);
  background: #EEF2FF;
  box-shadow: 0 0 0 3px rgba(26,58,143,.1);
}
.pay-icon { font-size: 30px; display: block; margin-bottom: 8px; }
.payment-card strong { display: block; color: var(--charcoal); font-size: 14px; margin-bottom: 4px; }
.payment-card p { font-size: 12px; color: var(--gray-500); line-height: 1.5; }

/* ── RESPONSIVE ───────────────────────────────────── */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-panel { display: none; }
  .shop-layout { grid-template-columns: 1fr; }
  .shop-sidebar { position: static; }
  .cart-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .admin-sidebar { display: none; }
  .doc-parties { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero { min-height: auto; }
  .hero h1 { font-size: 2rem; }
  .nav-links { display: none; flex-direction: column; background: var(--white); position: absolute; top: 100%; left: 0; right: 0; padding: 12px; box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .nav-inner { flex-wrap: wrap; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .doc-header { flex-direction: column; text-align: center; }
  .doc-header-meta { text-align: center; }
  .hero-stats { flex-direction: column; gap: 16px; }
}
