:root {
  --bg-950: #020617;
  --bg-900: #0f172a;
  --bg-800: #1e293b;
  --border-800: #1e293b;
  --border-700: #334155;
  --text-white: #ffffff;
  --text-200: #e2e8f0;
  --text-300: #cbd5e1;
  --text-400: #94a3b8;
  --text-500: #64748b;
  --emerald-400: #34d399;
  --emerald-500: #10b981;
  --emerald-600: #059669;
  --amber-400: #fbbf24;
  --rose-400: #fb7185;
}

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

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

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

.mcz-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Top App Bar */
.mcz-topbar {
  background: var(--bg-950);
  border-bottom: 1px solid var(--border-800);
  font-size: 12px;
  padding: 8px 0;
  color: var(--text-400);
}

.mcz-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.mcz-topbar-links {
  display: flex;
  align-items: center;
  gap: 18px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}

.mcz-topbar-links::-webkit-scrollbar {
  display: none;
}

.mcz-topbar-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  transition: color 0.15s;
}

.mcz-topbar-links a:hover {
  color: var(--emerald-400);
}

.mcz-topbar-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--emerald-400);
}

.mcz-weather-pill {
  display: none;
  align-items: center;
  gap: 10px;
  background: var(--bg-900);
  border: 1px solid var(--border-800);
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 11px;
  white-space: nowrap;
}

@media (min-width: 1024px) {
  .mcz-weather-pill {
    display: inline-flex;
  }
}

/* Main Header */
.mcz-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(2, 6, 23, 0.96);
  border-bottom: 1px solid var(--border-800);
}

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

.mcz-logo {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.025em;
  color: var(--text-white);
  white-space: nowrap;
}

.mcz-logo span {
  color: var(--emerald-400);
}

.mcz-nav {
  display: none;
  align-items: center;
  gap: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-300);
}

@media (min-width: 1024px) {
  .mcz-nav {
    display: flex;
  }
}

.mcz-nav a:hover {
  color: var(--emerald-400);
}

.mcz-search-form {
  display: none;
  position: relative;
  flex: 1;
  max-width: 280px;
}

@media (min-width: 768px) {
  .mcz-search-form {
    display: block;
  }
}

.mcz-search-input {
  width: 100%;
  background: var(--bg-900);
  border: 1px solid var(--border-800);
  border-radius: 10px;
  padding: 8px 14px 8px 36px;
  color: var(--text-white);
  font-size: 0.875rem;
  outline: none;
}

.mcz-search-input:focus {
  border-color: var(--emerald-500);
}

.mcz-search-icon {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-500);
  pointer-events: none;
}

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

.mcz-icon-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-900);
  border: 1px solid var(--border-800);
  color: var(--text-white);
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.15s, background-color 0.15s;
}

.mcz-icon-btn:hover {
  border-color: var(--emerald-500);
}

.mcz-cart-count {
  background: var(--emerald-500);
  color: var(--bg-950);
  font-size: 0.75rem;
  font-weight: 900;
  padding: 1px 7px;
  border-radius: 9999px;
}

/* Hero Section */
.mcz-hero {
  position: relative;
  background: var(--bg-950);
  border-bottom: 1px solid var(--border-800);
  padding: 56px 0 64px;
  text-align: center;
  overflow: hidden;
}

.mcz-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1506744038136-46273834b3fb?w=1920&q=80');
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  pointer-events: none;
}

.mcz-hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.mcz-pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--emerald-400);
  background: var(--bg-900);
  border: 1px solid var(--border-800);
  padding: 6px 14px;
  border-radius: 8px;
  margin-bottom: 16px;
}

.mcz-hero h1 {
  margin: 0 0 20px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--text-white);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
}

.mcz-hero h1 .sub {
  display: block;
  margin-top: 10px;
  font-size: clamp(1.2rem, 2.5vw, 1.85rem);
  color: var(--emerald-400);
}

.mcz-hero p {
  font-size: 1.05rem;
  color: var(--text-300);
  max-width: 760px;
  margin: 0 auto 30px;
}

.mcz-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.mcz-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--emerald-500);
  color: var(--bg-950);
  font-weight: 900;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 13px 22px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: background-color 0.15s;
}

.mcz-btn-primary:hover {
  background: var(--emerald-400);
  color: var(--bg-950);
}

.mcz-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--bg-900);
  color: var(--text-white);
  border: 1px solid var(--border-700);
  font-weight: 800;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 12px 20px;
  border-radius: 12px;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s;
}

.mcz-btn-secondary:hover {
  background: var(--bg-800);
  border-color: var(--emerald-500);
  color: var(--text-white);
}

/* Sections & Grids */
.mcz-section {
  padding: 56px 0;
  border-bottom: 1px solid var(--border-800);
}

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

.mcz-section-title {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--text-white);
}

.mcz-section-sub {
  margin: 6px 0 0;
  color: var(--text-400);
  font-size: 0.95rem;
  max-width: 720px;
}

.mcz-grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .mcz-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.mcz-grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .mcz-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .mcz-grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.mcz-grid-5 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .mcz-grid-5 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .mcz-grid-5 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1200px) {
  .mcz-grid-5 {
    grid-template-columns: repeat(5, 1fr);
  }
}

.mcz-card {
  background: var(--bg-900);
  border: 1px solid var(--border-800);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.15s;
}

.mcz-card:hover {
  border-color: var(--emerald-500);
}

.mcz-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg-950);
  border: 1px solid var(--border-800);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald-400);
  margin-bottom: 14px;
}

.mcz-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-white);
}

.mcz-card p {
  margin: 0 0 14px;
  font-size: 0.85rem;
  color: var(--text-400);
}

.mcz-rate-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--emerald-400);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 3px 9px;
  border-radius: 6px;
}

.mcz-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border-800);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--emerald-400);
}

/* Configurator Panels */
.mcz-config-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 1024px) {
  .mcz-config-wrap {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
  }
}

.mcz-panel {
  background: var(--bg-900);
  border: 1px solid var(--border-800);
  border-radius: 20px;
  padding: 24px;
}

.mcz-label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-400);
  margin-bottom: 8px;
}

.mcz-input,
.mcz-select {
  width: 100%;
  background: var(--bg-950);
  border: 1px solid var(--border-700);
  border-radius: 10px;
  padding: 10px 14px;
  color: var(--text-white);
  font-size: 0.9rem;
  outline: none;
}

.mcz-input:focus,
.mcz-select:focus {
  border-color: var(--emerald-500);
}

.mcz-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mcz-chip {
  background: var(--bg-950);
  border: 1px solid var(--border-700);
  color: var(--text-300);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s;
}

.mcz-chip:hover {
  border-color: var(--emerald-500);
  color: var(--text-white);
}

.mcz-chip.active {
  background: rgba(16, 185, 129, 0.15);
  border-color: var(--emerald-500);
  color: var(--emerald-400);
}

.mcz-color-swatch {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 2px solid var(--border-700);
  cursor: pointer;
  transition: transform 0.1s, border-color 0.15s;
}

.mcz-color-swatch.active {
  border-color: var(--emerald-400);
  transform: scale(1.12);
}

/* Social Visualizer Stage */
.mcz-stage {
  border-radius: 16px;
  border: 1px solid var(--border-700);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 16px;
  position: relative;
  overflow: hidden;
  transition: background-color 0.2s;
}

.mcz-stage-car {
  background-color: #0b1120;
}

.mcz-stage-boat {
  background-color: #0f172a;
}

.mcz-stage-case {
  background-color: #1e293b;
}

.mcz-stage-grid {
  background-color: #020617;
  background-image: radial-gradient(#1e293b 1px, transparent 1px);
  background-size: 16px 16px;
}

.mcz-sticker-preview {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: 100%;
  word-break: break-word;
}

.mcz-sticker-text {
  font-size: clamp(1.5rem, 3.2vw, 2.4rem);
  line-height: 1.1;
  font-weight: 800;
}

.mcz-price-box {
  background: var(--bg-950);
  border: 1px solid var(--border-800);
  border-radius: 14px;
  padding: 16px;
  margin-top: 16px;
}

.mcz-price-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-400);
  margin-bottom: 6px;
}

.mcz-price-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-top: 1px solid var(--border-800);
  padding-top: 12px;
  margin-top: 10px;
}

.mcz-price-total .amount {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--emerald-400);
}

/* WooCommerce Overrides */
.woocommerce,
.woocommerce-page {
  color: var(--text-300);
}

.woocommerce .woocommerce-breadcrumb {
  color: var(--text-400);
  font-size: 0.82rem;
  margin-bottom: 18px;
}

.woocommerce .woocommerce-breadcrumb a {
  color: var(--emerald-400);
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  background: var(--bg-900) !important;
  color: var(--text-white) !important;
  border: 1px solid var(--border-700) !important;
  border-top: 3px solid var(--emerald-500) !important;
  border-radius: 12px !important;
}

.woocommerce table.shop_table {
  background: var(--bg-900);
  border: 1px solid var(--border-800);
  border-radius: 14px;
  color: var(--text-200);
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
  border-color: var(--border-800) !important;
  padding: 12px 14px;
}

.woocommerce .button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  background: var(--emerald-500) !important;
  color: var(--bg-950) !important;
  font-weight: 800 !important;
  border-radius: 10px !important;
  border: none !important;
  padding: 11px 18px !important;
}

.woocommerce .button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover {
  background: var(--emerald-400) !important;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  background: var(--bg-950);
  border: 1px solid var(--border-700);
  color: var(--text-white);
  border-radius: 10px;
  padding: 10px 12px;
}

/* Footer */
.mcz-footer {
  background: var(--bg-950);
  border-top: 1px solid var(--border-800);
  padding: 48px 0 28px;
  color: var(--text-400);
  font-size: 0.875rem;
}

.mcz-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

@media (min-width: 768px) {
  .mcz-footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }
}

.mcz-footer h4 {
  color: var(--text-white);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 12px;
}

.mcz-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mcz-footer li {
  margin-bottom: 8px;
}

.mcz-footer li a:hover {
  color: var(--emerald-400);
}

.mcz-footer-bottom {
  border-top: 1px solid var(--border-800);
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-500);
}

/* Sector Cards with Background Graphics */
.mcz-sector-card {
  position: relative;
  height: 310px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-800);
  background: var(--bg-950);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  transition: border-color 0.15s;
}

.mcz-sector-card:hover {
  border-color: var(--emerald-500);
}

.mcz-sector-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  transition: transform 0.4s;
}

.mcz-sector-card:hover .mcz-sector-bg {
  transform: scale(1.05);
}

.mcz-sector-overlay {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.72);
}

.mcz-sector-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mcz-sample-thumb {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--border-800);
  margin-bottom: 12px;
  background: var(--bg-950);
}

/* Sector Cards with Background Graphics */
.mcz-sector-card {
  position: relative;
  height: 310px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-800);
  background: var(--bg-950);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  transition: border-color 0.15s;
}

.mcz-sector-card:hover {
  border-color: var(--emerald-500);
}

.mcz-sector-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  transition: transform 0.4s;
}

.mcz-sector-card:hover .mcz-sector-bg {
  transform: scale(1.05);
}

.mcz-sector-overlay {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.72);
}

.mcz-sector-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mcz-sample-thumb {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--border-800);
  margin-bottom: 12px;
  background: var(--bg-950);
}