
:root {
  --bg: #0e0f10;
  --card: #17181b;
  --text: #eeeeee;
  --muted: #b8c0cc;
  --accent: #e3b341;
  --accent-2: #9ccfd8;
}

* { box-sizing: border-box; }
html, body { padding:0; margin:0; background:var(--bg); color:var(--text); font-family: Montserrat, system-ui, -apple-system, sans-serif; }
a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }

.site-header {
  display:flex; align-items:center; justify-content:space-between;
  padding: 16px 20px; position: sticky; top:0; background: rgba(14,15,16,0.85);
  backdrop-filter: blur(6px); z-index:100;
  border-bottom:1px solid #22252a;
}
.brand { font-weight:800; color:var(--text); display:flex; align-items:center; gap:10px; }
.brand .logo { height:28px; width:auto; border-radius:4px; }
.nav a { margin: 0 10px; color:var(--muted); }
.nav a:hover { color: var(--text); }

.content { max-width: 1100px; margin: 0 auto; padding: 28px 18px 80px; }

.hero { text-align:center; padding: 32px 0 10px; }
.hero h1 { font-family: "DM Serif Display", serif; font-size: clamp(20px, 4vw, 36px); margin: 10px 0 22px; }
.hero-logo{max-width:360px;width:80%;height:auto;margin:0 auto 10px;display:block;border-radius:6px}

.slider-wrap { max-width: 500px; margin: 0 auto 10px; position:relative; }
.slider { position: relative; width: 100%; height: 56px; background: var(--card); border:1px solid #262a31; border-radius: 999px; overflow: hidden; }
.slider-handle { position:absolute; top:3px; left:3px; background: transparent; border-radius: 0; padding: 0; width: auto; height: auto; user-select:none; cursor:grab; }
.slider-handle img { width: 44px; height: 44px; pointer-events: none; }
.slider-text { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); color: var(--muted); font-weight: 700; letter-spacing: .3px; pointer-events: none; }
.slider-trail { position:absolute; top:0; left:0; height:100%; width:100%; pointer-events:none; overflow:hidden; }
.trail-dot { position:absolute; top:50%; width:12px; height:12px; background:rgba(255,255,255,0.35); border-radius:50%; transform:translate(-50%,-50%); animation: fadeTrail .4s linear forwards; }
@keyframes fadeTrail { from { opacity:0.6; transform:translate(-50%,-50%) scale(1); } to { opacity:0; transform:translate(-50%,-50%) scale(2); } }
.slider-handle.bounce { animation: bounceBack .3s ease; }
@keyframes bounceBack { 0%{transform:translateY(0);} 30%{transform:translateY(-6px);} 60%{transform:translateY(3px);} 100%{transform:translateY(0);} }

.our-story {
  margin-top: 28px;
  background: var(--card);
  border: 1px solid #262a31;
  border-radius: 16px;
  padding: 22px 20px;
}
.our-story h2 {
  font-family: "DM Serif Display", serif;
  font-size: 1.8em;
  margin-top: 0;
}
.our-story h3 {
  font-size: 1.2em;
  margin-top: 8px;
  color: var(--muted);
}
.our-story p { line-height: 1.6; margin: 10px 0; }
.our-story .signed { margin-top: 18px; font-style: italic; color: var(--muted); }

.grid { display:grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.card { background: var(--card); border:1px solid #262a31; border-radius: 16px; overflow:hidden; display:flex; flex-direction: column; }
.card .thumb { aspect-ratio: 4/3; background:#0a0b0c; display:flex; align-items:center; justify-content:center; }
.card .thumb img { max-width:100%; max-height:100%; object-fit: cover; }
.card .meta { padding: 14px; display:flex; flex-direction:column; gap:10px; }
.card .btn, .btn { display:inline-block; padding:10px 14px; background: var(--accent); color:#000; border:none; border-radius:8px; font-weight:700; text-align:center; }
.price { font-weight: 800; }

.product { display:grid; grid-template-columns: 1.1fr 1fr; gap: 26px; align-items:start; }
.product .gallery { background: var(--card); border:1px solid #262a31; border-radius: 16px; padding: 12px; }
.product .gallery img { width:100%; border-radius: 12px; }
.product .gallery .thumbs { display:flex; gap:10px; margin-top:10px; }
.product .gallery .thumbs img { width: 33%; border-radius: 10px; cursor:pointer; border:1px solid #2b2f36; }
.product .details .guarantee { color: var(--muted); }

.faq details { background: var(--card); border:1px solid #262a31; border-radius: 12px; padding: 12px 14px; margin: 12px 0; }
.faq summary { cursor: pointer; font-weight: 700; }

.contact .contact-list { list-style:none; padding:0; }
.contact .contact-list li { margin: 10px 0; }

.reviews .review { background: var(--card); border:1px solid #262a31; border-radius: 12px; padding: 14px; margin: 12px 0; }
.reviews .by { color: var(--muted); }

.about .signed { margin-top: 20px; font-style: italic; color: var(--muted); }

.about-gallery { margin-top: 24px; }
.about-gallery .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 6px; }
.about-gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; border:1px solid #262a31; }
.about-gallery .caption { color: var(--muted); margin: 12px 4px 24px; text-align: center; }

.policy p { background: var(--card); border:1px solid #262a31; border-radius: 12px; padding: 14px; }

.site-footer { border-top:1px solid #22252a; padding: 26px 18px; text-align:center; color: var(--muted); }
.trust { margin-bottom: 12px; }
.badges { display:flex; gap: 8px; align-items:center; justify-content:center; flex-wrap: wrap; }
.badge { width: 120px; height: 40px; fill: #0f1114; stroke: #2b2f36; stroke-width:1; }
.badge text { fill: #d8dee9; font-family: Montserrat, sans-serif; font-weight:800; font-size: 16px; }

/* Loader */
.loader { position: fixed; inset:0; background: var(--bg); display: grid; place-items: center; z-index: 9999; transition: opacity .4s ease; }
.loader.hidden { opacity:0; pointer-events:none; }
.loader .skull img { width: 120px; height: auto; animation: spinSkull 1.4s linear infinite; opacity: .95; }
@keyframes spinSkull { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.notfound { display:grid; place-items:center; min-height: 100vh; background: var(--bg); color: var(--text); }
.nf-wrap { text-align:center; }
.nf-wrap h1 { font-size: clamp(24px, 5vw, 44px); margin-bottom: 10px; }

/* Mobile adjustments */
@media (max-width: 640px) {
  .content { padding: 18px 14px 60px; }
  .hero h1 { font-size: clamp(18px, 5vw, 28px); }
  .slider { height: 52px; }
  .slider-handle { position:absolute; top:3px; left:3px; background: transparent; border-radius: 0; padding: 0; width: auto; height: auto; user-select:none; cursor:grab; }
  .slider-handle img { width: 44px; height: 44px; pointer-events: none; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
  .card .meta { padding: 12px; gap: 8px; }
  .card .btn { width: 100%; padding: 12px; }
  .product { grid-template-columns: 1fr; gap: 14px; }
  .product .gallery .thumbs img { width: 32%; }
  .product .details .btn { width: 100%; padding: 14px; }
  .site-header { padding: 12px 14px; }
  .nav a { margin: 0 6px; }
  /* Prevent mobile cropping on cards */
  .card .thumb { aspect-ratio: auto; }
  .card .thumb img { width: 100%; height: auto; object-fit: contain; }
  /* About gallery stacks as 1-up */
  .about-gallery .row { grid-template-columns: 1fr; }
  .about-gallery img { height: auto; object-fit: contain; }
}
