:root {
  --bg: #050506;
  --bg-elevated: #111114;
  --bg-card: #151519;
  --bg-hover: #1d1d23;
  --border: #27272e;
  --border-strong: #3a3a45;
  --text: #f5f5f7;
  --text-muted: #a1a1aa;
  --orange: #ff6a00;
  --orange-bright: #ff7e21;
  --orange-dark: #d95700;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --container: 1240px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* Announcement Bar */
.announcement-bar {
  background: #0a0a0c;
  border-bottom: 1px solid var(--border);
  color: var(--orange-bright);
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 16px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(5, 5, 6, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand-logo {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.18s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.icon-btn:hover {
  background: var(--bg-elevated);
  border-color: var(--border);
}

.mobile-menu-btn {
  display: none;
}

.cart-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--orange);
  color: #050506;
  font-size: 0.7rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cart-badge:empty,
.cart-badge[data-count="0"] {
  display: none;
}

/* Search Drawer */
.search-drawer {
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
  padding: 12px 0;
}

.search-drawer-inner {
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-input {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.95rem;
  outline: none;
}

.search-input:focus {
  border-color: var(--orange);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-sm {
  padding: 8px 14px;
  font-size: 0.84rem;
}

.btn-full {
  width: 100%;
}

.btn-primary {
  background: var(--orange);
  color: #09090b;
}

.btn-primary:hover {
  background: var(--orange-bright);
}

.btn-outline {
  background: rgba(15, 15, 18, 0.72);
  border-color: rgba(255, 255, 255, 0.24);
  color: #ffffff;
}

.btn-outline:hover {
  border-color: var(--orange);
  color: var(--orange-bright);
}

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text-muted);
}

.btn-ghost:hover {
  color: #ffffff;
  border-color: var(--border-strong);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(5, 5, 6, 0.72) 0%, rgba(5, 5, 6, 0.35) 65%, rgba(5, 5, 6, 0.65) 100%),
    linear-gradient(to bottom, rgba(5, 5, 6, 0.3), rgba(5, 5, 6, 0.6));
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 64px 20px;
  max-width: 720px;
}

.hero-title {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4.8vw, 3.25rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--orange-bright);
  text-shadow: 0 4px 22px rgba(0, 0, 0, 0.75);
}

.hero-title span {
  display: inline-block;
  color: var(--orange);
}

.hero-subtitle {
  margin: 0 auto 26px;
  font-size: clamp(0.96rem, 1.5vw, 1.1rem);
  color: #f4f4f5;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
}

.hero-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Sections */
.section {
  padding: 56px 0;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.section-title {
  margin: 0;
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-subtitle {
  margin: 6px 0 0;
  color: var(--text-muted);
  font-size: 0.94rem;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--orange-bright);
}

.muted-text {
  color: var(--text-muted);
  font-size: 0.96rem;
}

/* Filter Pills */
.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-pill {
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.filter-pill:hover {
  border-color: var(--border-strong);
  color: #ffffff;
}

.filter-pill.active {
  background: var(--orange);
  border-color: var(--orange);
  color: #09090b;
}

.search-status {
  margin-bottom: 18px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 106, 0, 0.55);
}

.product-thumb-wrap {
  position: relative;
  aspect-ratio: 16 / 10.5;
  background: #0d0d10;
  overflow: hidden;
  cursor: pointer;
}

.product-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.product-card:hover .product-thumb {
  transform: scale(1.03);
}

.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--orange);
  color: #09090b;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.product-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px;
  gap: 8px;
}

.product-category {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--orange-bright);
}

.product-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  cursor: pointer;
}

.product-title:hover {
  color: var(--orange-bright);
}

.product-desc {
  margin: 0;
  font-size: 0.86rem;
  color: var(--text-muted);
  flex: 1;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  margin-top: 4px;
}

.product-price {
  font-size: 1.08rem;
  font-weight: 800;
  color: #ffffff;
}

/* Features Strip */
.features-strip {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 34px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.feature-dot {
  flex-shrink: 0;
  margin-top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 12px rgba(255, 106, 0, 0.7);
}

.feature-item h3 {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 700;
}

.feature-item p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Custom Print Section */
.custom-print-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 40px;
  align-items: start;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 10px;
}

.checklist li {
  position: relative;
  padding-left: 22px;
  color: #d4d4d8;
  font-size: 0.94rem;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--orange-bright);
  font-weight: 800;
}

.card-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
}

.custom-form {
  display: grid;
  gap: 14px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group {
  display: grid;
  gap: 6px;
}

.form-group label {
  font-size: 0.84rem;
  font-weight: 600;
  color: #e4e4e7;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.15s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--orange);
}

.form-feedback {
  margin: 0;
  font-size: 0.88rem;
  color: var(--orange-bright);
}

/* Contact Section */
.contact-section {
  padding-top: 12px;
}

.contact-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  background: linear-gradient(135deg, #16161b 0%, #101014 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.contact-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  background: #040405;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-note,
.footer-copy {
  margin: 4px 0 0;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 18px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--orange-bright);
}

/* Modals */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop[hidden] {
  display: none;
}

.modal-card {
  position: relative;
  width: 100%;
  max-width: 820px;
  max-height: 92vh;
  overflow-y: auto;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 26px;
}

.checkout-modal {
  max-width: 560px;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.modal-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.modal-image-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #0d0d10;
}

.modal-image-wrap img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.modal-gallery-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.modal-thumb-btn {
  flex: 0 0 58px;
  height: 46px;
  padding: 0;
  border: 2px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  background: #0d0d10;
  cursor: pointer;
}

.modal-thumb-btn.active {
  border-color: var(--orange);
}

.modal-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-info {
  display: grid;
  gap: 12px;
}

.modal-info .product-badge {
  position: static;
  justify-self: start;
}

.modal-info h2 {
  margin: 0;
  font-size: 1.35rem;
}

.modal-price {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--orange-bright);
}

.modal-desc {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  white-space: pre-line;
  max-height: 220px;
  overflow-y: auto;
  padding-right: 6px;
}

.modal-buy-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: var(--bg);
}

.qty-control button {
  width: 36px;
  height: 42px;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-weight: 700;
}

.qty-control span {
  min-width: 28px;
  text-align: center;
  font-weight: 700;
}

/* Cart Drawer */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: rgba(0, 0, 0, 0.72);
}

.drawer-backdrop[hidden] {
  display: none;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 56;
  width: 100%;
  max-width: 420px;
  background: var(--bg-elevated);
  border-left: 1px solid var(--border-strong);
  display: flex;
  flex-direction: column;
}

.cart-drawer[hidden] {
  display: none;
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
}

.cart-header h2 {
  margin: 0;
  font-size: 1.15rem;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 18px 20px;
  display: grid;
  gap: 14px;
  align-content: start;
}

.cart-empty {
  text-align: center;
  padding: 40px 16px;
  color: var(--text-muted);
}

.cart-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.cart-item-img {
  width: 72px;
  height: 54px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.cart-item-title {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
}

.cart-item-meta {
  margin: 3px 0 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.cart-item-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.cart-qty-mini {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2px 8px;
  font-size: 0.84rem;
}

.cart-qty-mini button {
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 2px 4px;
}

.remove-btn {
  background: transparent;
  border: 0;
  color: var(--text-muted);
  font-size: 0.78rem;
  cursor: pointer;
}

.remove-btn:hover {
  color: #f87171;
}

.cart-footer {
  border-top: 1px solid var(--border);
  padding: 18px 20px;
  background: var(--bg-card);
  display: grid;
  gap: 8px;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.92rem;
}

.cart-summary-row.muted {
  color: var(--text-muted);
}

.cart-summary-row.total {
  padding-top: 8px;
  border-top: 1px solid var(--border);
  font-size: 1.05rem;
}

.shipping-tip {
  margin: 2px 0 6px;
  font-size: 0.8rem;
  color: var(--orange-bright);
}

.checkout-summary-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 16px;
  font-size: 0.86rem;
  color: #d4d4d8;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 80;
  background: #18181b;
  color: #ffffff;
  border: 1px solid var(--orange);
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.toast[hidden] {
  display: none;
}

/* Responsive */
@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .custom-print-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .mobile-menu-btn {
    display: inline-flex;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 20px;
    gap: 12px;
  }

  .main-nav.open {
    display: flex;
  }

  .product-grid,
  .features-grid,
  .modal-body,
  .form-row-2 {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 360px;
  }
}
