* { box-sizing: border-box; }
:root {
  --bg: #fafafa;
  --panel: #ffffff;
  --muted: #667085;
  --text: #0f172a;
  --primary: #10b981;
  --primary-700: #059669;
  --border: #e5e7eb;
}
html, body { height: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
}
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.9); border-bottom: 1px solid var(--border); backdrop-filter: saturate(1.2) blur(6px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { height: 50px; width: auto; display: block; object-fit: contain; }
.brand h1 { font-size: 18px; margin: 0; letter-spacing: .3px; }
.logo-dot { width: 10px; height: 10px; display: inline-block; border-radius: 50%; background: linear-gradient(135deg,#22c55e,#60a5fa); box-shadow: 0 0 8px rgba(34,197,94,.35); }
nav a { color: #0f172a; text-decoration: none; margin-left: 18px; font-size: 14px; opacity: .8; }
nav a:hover { opacity: 1; }

.hero { border-bottom: 1px solid var(--border); background: #fff; }
.hero-inner { display: grid; grid-template-columns: 1fr; gap: 20px; padding: 40px 0; }
.hero-copy h2 { font-size: 40px; margin: 0 0 10px; }
.hero-copy p { color: var(--muted); }
.bullets { margin: 14px 0 24px; padding-left: 18px; color: var(--text); }
.bullets li { margin: 6px 0; }
.btn { appearance: none; border: 1px solid var(--border); background: #ffffff; color: #0f172a; padding: 10px 14px; border-radius: 10px; cursor: pointer; }
.btn.primary { background: linear-gradient(135deg,#10b981,#22c55e); color: #ffffff; border: none; font-weight: 700; }
.btn:disabled { opacity: .6; cursor: not-allowed; }
.hero-art { display: none; }

.designer { display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; padding: 26px 0 60px; }
.panel { background: var(--panel); border: 1px solid var(--border); border-radius: 16px; padding: 18px; }
.panel h3 { margin: 6px 0 14px; }
.canvas-wrap { background: #ffffff; border: 1px solid var(--border); border-radius: 12px; padding: 10px; display: grid; place-items: center; }
canvas { background: transparent; width: 100%; height: auto; max-height: 520px; }
.controls { margin-top: 14px; display: grid; gap: 14px; }
.control-group { display: grid; gap: 8px; }
.inline { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.swatch-section { margin-top: 6px; }
.swatch-head { font-size: 12px; color: var(--muted); margin: 4px 0; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--border); cursor: pointer; position: relative; background: #e5e7eb; box-shadow: inset 0 0 0 1px rgba(0,0,0,.02), 0 1px 2px rgba(0,0,0,.05); transition: transform .08s ease, box-shadow .15s ease, border-color .15s ease; }
.swatch:hover { transform: translateY(-1px); box-shadow: 0 2px 6px rgba(0,0,0,.08); }
.swatch.selected { outline: 2px solid var(--primary); outline-offset: -2px; border-color: var(--primary); box-shadow: 0 0 0 2px rgba(34,197,94,.2), inset 0 0 0 1px rgba(0,0,0,.04); }
.swatch.holo::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(80% 80% at 30% 30%, rgba(255,255,255,.35), rgba(255,255,255,0) 60%); mix-blend-mode: screen; opacity: .25; pointer-events: none; }

/* Shimmer animation for reflective-like swatches (applies to layered backgrounds) */
@keyframes shimmerMove {
  0%   { background-position: 0% 0%, 0% 0%, center; }
  50%  { background-position: 120% 60%, 60% 120%, center; }
  100% { background-position: 0% 0%, 0% 0%, center; }
}

.swatch.shimmer {
  animation: shimmerMove 6s linear infinite;
}

/* Slightly faster shimmer for specialty silver to emphasize reflectivity */
.swatch.specialty.shimmer {
  animation-duration: 5s;
}
.small { font-size: 12px; }
.control-group input[type="number"],
.control-group input[type="text"],
.control-group input[type="email"],
.control-group input[type="tel"],
.control-group textarea {
  width: 100%;
  background: #ffffff;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
}
.grid-2 { grid-template-columns: 1fr 1fr; display: grid; gap: 10px; }
.price-box { display: flex; gap: 30px; align-items: baseline; padding: 10px 12px; border-radius: 10px; background: #ffffff; border: 1px dashed var(--border); margin: 6px 0 10px; }
.order-panel small { color: var(--muted); }

/* Order panel spacing */
.order-panel form { display: grid; gap: 16px; }
.order-panel .control-group { margin: 0; }
.order-panel .price-box { margin: 4px 0; }

.pricing { margin-top: 26px; padding-top: 12px; border-top: 1px solid var(--border); }
.pricing ul { margin: 6px 0 0 18px; }

.site-footer { border-top: 1px solid var(--border); padding: 18px 0; background: #fff; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; color: var(--muted); }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-logo { height: 50px; width: auto; display: block; object-fit: contain; }

/* Gallery */
.gallery { padding: 30px 0 10px; border-bottom: 1px solid var(--border); }
.gallery .muted { color: var(--muted); }
.gallery-grid { margin-top: 14px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery-item { position: relative; overflow: hidden; border-radius: 12px; border: 1px solid var(--border); background: #0e1117; }
.gallery-item img { width: 100%; height: 220px; object-fit: cover; display: block; filter: saturate(1.05); }
.gallery-item .caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 10px; background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.7) 70%); font-size: 13px; }

/* Examples (material types above designer) */
.examples { padding: 16px 0 10px; }
.examples .muted { color: var(--muted); }
.examples-grid { margin-top: 10px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.example-card { margin: 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); background: #ffffff; }
.example-card img { width: 100%; height: 180px; object-fit: cover; display: block; }
.example-card figcaption { padding: 8px 10px; font-size: 13px; color: var(--text); opacity: .9; border-top: 1px solid var(--border); background: #f8fafc; }

@media (max-width: 900px) {
  .hero-inner, .designer { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .examples-grid { grid-template-columns: 1fr; }
}
