*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #ffffff;
  --bg-card: #ffffff;
  --bg-input: #f5f5f7;
  --gold: #d4af37;
  --orange: #e85d04;
  --pink: #e63946;
  --purple: #7b2cbf;
  --cyan: #0a9396;
  --green: #2d6a4f;
  --red: #dc3545;
  --text: #1a1a2e;
  --text-muted: #5c5c6d;
  --border: #e0e0e8;
  --success: #198754;
  --danger: #dc3545;
  --radius: 16px;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --gradient-bg: #ffffff;
  --gradient-header: linear-gradient(90deg, #ffd700, #ff8c00, #e63946, #b3001e);
  --gradient-btn: linear-gradient(135deg, #ffd700 0%, #ff8c00 50%, #e63946 100%);
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: #ffffff;
  color: var(--text);
  min-height: 100vh;
  line-height: 1.5;
}

body::before {
  display: none;
}

body > * {
  position: relative;
  z-index: 1;
}

a {
  color: var(--cyan);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  display: block;
}


/* Screen reader only helper */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Header */
.site-header {
  background: #ffffff;
  backdrop-filter: blur(12px);
  border-bottom: 3px solid transparent;
  border-image: var(--gradient-header) 1;
  padding: 0.65rem 1rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

.header-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.site-logo {
  font-size: 1.15rem;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  color: #f26202 !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: #f26202 !important;
  background-clip: unset !important;
  text-decoration: none;
  line-height: 1.2;
}

.site-logo:hover {
  text-decoration: none;
  filter: brightness(1.15);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: var(--bg-input);
  border: 2px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

body.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-links a {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  text-decoration: none;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  transition: background 0.15s, color 0.15s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  background: var(--gradient-btn);
  text-decoration: none;
}

.cart-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 215, 0, 0.15) !important;
  border: 2px solid var(--gold) !important;
  color: var(--gold) !important;
}

.cart-link:hover,
.cart-link.active {
  background: var(--gold) !important;
  color: #fff !important;
}

#cart-badge {
  background: var(--pink);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  min-width: 1.25rem;
  height: 1.25rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.25rem;
}

#cart-badge[hidden] {
  display: none;
}

@media (max-width: 640px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: #ffffff;
    backdrop-filter: blur(16px);
    padding: 1rem;
    gap: 0.5rem;
    border-bottom: 2px solid var(--border);
    box-shadow: var(--shadow);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s, opacity 0.25s, visibility 0.25s;
    z-index: 99;
  }

  body.nav-open .nav-links {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links a {
    width: 100%;
    text-align: center;
    padding: 0.75rem 1rem;
    font-size: 1rem;
  }
}

/* Hero */
.hero {
  text-align: center;
  padding: 2rem 1rem;
  margin-bottom: 1.5rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(232, 93, 4, 0.08), rgba(123, 44, 191, 0.08), rgba(10, 147, 150, 0.06));
  border: 2px solid var(--border);
  box-shadow: var(--shadow);
}

.hero h1 {
  font-size: clamp(1.5rem, 5vw, 2.25rem);
  font-weight: 800;
  background: var(--gradient-btn);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.hero p {
  color: var(--text-muted);
  font-size: clamp(0.9rem, 2.5vw, 1.05rem);
  max-width: 520px;
  margin: 0 auto;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.hero-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge-orange { background: var(--orange); color: #fff; }
.badge-pink { background: var(--pink); color: #fff; }
.badge-purple { background: var(--purple); color: #fff; }
.badge-cyan { background: var(--cyan); color: #1a0533; }

/* Main */
main {
  max-width: 1140px;
  margin: 0 auto;
  padding: 1rem 1rem 3rem;
}

.page-title {
  font-size: clamp(1.35rem, 4vw, 1.75rem);
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  background: var(--gradient-btn);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.35rem;
}

.page-subtitle {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 600px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media (min-width: 900px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

.product-card {
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  box-shadow: var(--shadow);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(214, 51, 132, 0.15);
  border-color: var(--pink);
}

.product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #f0f0f5;
  min-height: 180px;
}

.product-card-body {
  padding: 1rem 1.1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-category {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  margin-bottom: 0.35rem;
  width: fit-content;
}

.cat-sparklers { background: var(--orange); color: #fff; }
.cat-rockets { background: var(--red); color: #fff; }
.cat-flower-pots { background: var(--pink); color: #fff; }
.cat-ground { background: var(--green); color: #fff; }
.cat-sound { background: var(--purple); color: #fff; }
.cat-fountains { background: var(--cyan); color: #1a0533; }
.cat-aerial { background: var(--gold); color: #1a0533; }
.cat-kids { background: #7bed9f; color: #1a0533; }
.cat-default { background: var(--border); color: var(--text); }

.product-name {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.product-unit {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.product-price {
  font-size: 1.2rem;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  color: #000;
  margin: 0.5rem 0;
}

.product-price-note {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 500;
}

.product-card .btn {
  margin-top: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.65rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.1s, filter 0.15s, box-shadow 0.15s;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  min-height: 44px;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--gradient-btn);
  color: #fff;
  box-shadow: 0 4px 16px rgba(232, 93, 4, 0.25);
}

.btn-primary:hover {
  filter: brightness(1.1);
  box-shadow: 0 6px 24px rgba(255, 45, 149, 0.45);
}

.btn-secondary {
  background: var(--bg-input);
  color: var(--text);
  border: 2px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.btn-danger {
  background: linear-gradient(135deg, var(--danger), var(--red));
  color: #fff;
}

.btn-block {
  width: 100%;
}

.btn-sm {
  padding: 0.4rem 0.65rem;
  font-size: 0.8rem;
  min-height: 36px;
}

.btn-lg {
  padding: 0.9rem 1.5rem;
  font-size: 1rem;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

/* Cart */
.cart-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-item {
  display: flex;
  gap: 0.85rem;
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 0.85rem;
  align-items: center;
  box-shadow: var(--shadow);
}

.cart-item img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
  border: 2px solid var(--purple);
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-name {
  font-weight: 700;
  font-size: 0.95rem;
}

.cart-item-price {
  color: #000;
  font-size: 0.9rem;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  margin-top: 0.15rem;
}

.cart-item-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

@media (max-width: 480px) {
  .cart-item {
    flex-wrap: wrap;
  }

  .cart-item-actions {
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.qty-control {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.qty-control button {
  width: 40px;
  height: 40px;
  border: 2px solid var(--border);
  background: var(--bg-input);
  color: var(--text);
  border-radius: 10px;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
}

.qty-control button:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(0, 245, 212, 0.15);
}

.qty-control span {
  min-width: 1.75rem;
  text-align: center;
  font-weight: 700;
}

.cart-summary {
  background: #F5FAF6;
  border: 2px solid #0B773B;
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-top: 1.5rem;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.cart-summary-row.discount {
  color: var(--green);
  margin-bottom: 0;
}

.cart-summary-row.grand-total, .cart-summary-row.grand-total span, .invoice-total-row.grand {
  font-size: 1.2rem;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  color: #000 !important;
  margin-bottom: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  margin-top: 0;
}

.home-cart-section {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 2px solid var(--border);
}

.home-cart-section .page-title {
  margin-bottom: 0.25rem;
}

.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted);
}

.empty-state p {
  margin-bottom: 1rem;
}

/* Forms */
.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--cyan);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 0.9rem;
  font-size: 1rem;
  font-family: inherit;
  background: var(--bg-input);
  border: 2px solid var(--border);
  border-radius: 10px;
  color: var(--text);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(255, 45, 149, 0.25);
}

.form-group textarea {
  min-height: 88px;
  resize: vertical;
}

.form-error {
  color: var(--danger);
  font-size: 0.8rem;
  margin-top: 0.25rem;
}

.checkout-form {
  max-width: 520px;
}

/* Admin */
.admin-login {
  max-width: 360px;
  margin: 2rem auto;
}

.admin-panel {
  display: none;
}

.admin-panel.visible {
  display: block;
}

.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.admin-form-card {
  background: var(--bg-card);
  backdrop-filter: blur(8px);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.admin-form-card h2 {
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.form-row {
  display: grid;
  gap: 1rem;
}

@media (min-width: 600px) {
  .form-row.two-col {
    grid-template-columns: 1fr 1fr;
  }
}

.admin-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  min-width: 520px;
}

#tab-orders .admin-table {
  min-width: 820px;
}

.admin-table th,
.admin-table td {
  padding: 0.65rem 0.5rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.admin-table th {
  color: var(--cyan);
  font-weight: 700;
}

.admin-table img {
  width: 56px;
  height: 42px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid var(--purple);
}

.admin-actions {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.admin-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.admin-tab {
  border: 2px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  border-radius: 999px;
  padding: 0.55rem 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.admin-tab.active {
  border-color: var(--gold);
  background: rgba(232, 93, 4, 0.12);
  color: var(--gold);
}

.admin-hint {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.order-status {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: capitalize;
  background: rgba(25, 135, 84, 0.15);
  color: #198754;
}

.order-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.order-modal[hidden] {
  display: none;
}

.order-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.order-modal-dialog {
  position: relative;
  width: min(720px, 100%);
  max-height: 90vh;
  overflow: auto;
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.order-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.order-modal-header h2 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--gold);
}

.order-modal-close {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
}

.order-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 2px solid var(--border);
}

.order-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.order-detail-address,
.order-detail-notes {
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.order-items-table {
  min-width: 0;
}

.order-detail-totals {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-weight: 600;
}

.order-detail-totals > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.order-detail-totals .grand {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--gold);
  padding-top: 0.5rem;
  border-top: 2px solid var(--border);
}

body.modal-open {
  overflow: hidden;
}

.toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #0B773B !important;
  color: #fff !important;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  opacity: 0;
  transition: transform 0.3s, opacity 0.3s;
  z-index: 200;
  pointer-events: none;
  box-shadow: var(--shadow);
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.toast.toast-error {
  background: linear-gradient(135deg, #ff5252, #ff3366);
  color: #fff;
}

.filter-bar {
  margin-bottom: 1.25rem;
}

.filter-bar select {
  width: 100%;
  max-width: 280px;
  padding: 0.65rem 0.9rem;
  background: var(--bg-input);
  border: 2px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
}

.contact-section {
  margin-top: 2.5rem;
  padding-top: 1rem;
}

.contact-card {
  max-width: 480px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  background: #fafafa;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
}

.contact-brand {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--orange);
  margin-bottom: 0.5rem;
}

.contact-whatsapp {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-whatsapp a,
#footer-contact a {
  color: var(--green);
  font-weight: 600;
  white-space: nowrap;
}

.footer {
  text-align: center;
  padding: 1.5rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  border-top: 2px solid var(--border);
  margin-top: 2rem;
  background: #fafafa;
}

.footer p + p {
  margin-top: 0.35rem;
}

.footer a {
  color: var(--gold);
}

#footer-contact a {
  color: var(--green);
}

/* Invoice */
.invoice-page main {
  max-width: 720px;
}

.invoice-card {
  background: #fff;
  color: #1a1a2e;
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
}

body {
  padding-bottom: env(safe-area-inset-bottom);
}

/* Custom Button Overrides */
button[data-add] {
  background: #ffd700 !important;
  color: #000 !important;
  box-shadow: none !important;
  border: none !important;
}
button[data-add]:hover {
  background: #e6c200 !important;
}

a[href="checkout.html"].btn-primary {
  background: #0B773B !important;
  color: #fff !important;
  box-shadow: none !important;
  border: none !important;
}
a[href="checkout.html"].btn-primary:hover {
  background: #085429 !important;
}

.invoice-header {
  text-align: center;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 3px solid;
  border-image: linear-gradient(90deg, #ff6b35, #ff2d95, #9b5de5) 1;
}

.invoice-header h1 {
  font-size: 1.5rem;
  background: linear-gradient(90deg, #ff6b35, #9b5de5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.invoice-header .invoice-tag {
  font-size: 0.85rem;
  color: #666;
  margin-top: 0.25rem;
}

.invoice-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
}

@media (max-width: 480px) {
  .invoice-meta {
    grid-template-columns: 1fr;
  }
}

.invoice-meta dt {
  font-weight: 700;
  color: #9b5de5;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.invoice-meta dd {
  margin: 0.15rem 0 0.75rem;
}

.invoice-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.invoice-table th {
  background: linear-gradient(135deg, #ff6b35, #9b5de5);
  color: #fff;
  padding: 0.6rem 0.5rem;
  text-align: left;
}

.invoice-table td {
  padding: 0.55rem 0.5rem;
  border-bottom: 1px solid #eee;
}

.invoice-table .text-right {
  text-align: right;
}

.invoice-total {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 1rem;
  background: linear-gradient(135deg, rgba(232, 93, 4, 0.08), rgba(123, 44, 191, 0.08));
  border-radius: 10px;
  color: #1a1a2e;
}

.invoice-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.invoice-total-row.discount {
  color: #198754;
}

.invoice-total-row.grand {
  font-size: 1.25rem;
  font-weight: 800;
  padding-top: 0.5rem;
  border-top: 2px solid #eee;
  margin-top: 0.25rem;
}

.invoice-total-row.grand span:last-child {
  color: #e85d04;
}

.invoice-note {
  font-size: 0.8rem;
  color: #666;
  margin-top: 1rem;
  text-align: center;
}

.invoice-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.no-print {
  /* visible on screen */
}

@media print {
  body {
    background: #fff !important;
  }

  body::before {
    display: none;
  }

  .site-header,
  .footer,
  .no-print,
  .invoice-actions {
    display: none !important;
  }

  .invoice-card {
    box-shadow: none;
    padding: 0;
  }

  main {
    padding: 0;
    max-width: 100%;
  }
}
