@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap");

:root {
  --bg: #0a0a0a;
  --surface: #161616;
  --surface-2: #1d1d1d;
  --border: #2a2a2a;
  --red: #e11f3d;
  --red-2: #ff3b57;
  --red-dim: #4a0e18;
  --text: #f4f2f0;
  --text-dim: #9a9793;
  --text-dimmer: #6b6864;
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body.shop-body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

body.shop-body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 28px 28px;
}

h1, h2, h3, h4 { font-family: "Inter", sans-serif; margin: 0; letter-spacing: -0.01em; }
p { color: var(--text-dim); line-height: 1.7; }
a { color: inherit; text-decoration: none; }

.shop-nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
  border-bottom: 1px solid var(--border);
}
.shop-nav-left { display: flex; align-items: center; gap: 12px; }
.shop-nav-left img { width: 32px; height: 32px; }
.shop-nav-left span { font-family: "Inter", sans-serif; font-weight: 600; font-size: 17px; }
.shop-nav-btn {
  background: var(--text);
  color: #0a0a0a;
  border: none;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 13px;
  padding: 10px 20px;
  border-radius: 100px;
  cursor: pointer;
}

.shop-wrap {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 32px 100px;
}
.shop-head { text-align: center; margin-bottom: 50px; }
.shop-head h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 700; }
.shop-head p { max-width: 480px; margin: 14px auto 0; }

.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.shop-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: transform .3s ease, border-color .3s ease;
}
.shop-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 59, 87, .4);
}
.shop-card .img {
  background: #000;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.shop-card .img img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 20px 50px -10px rgba(0,0,0,.6);
}
.shop-card .body { padding: 22px 24px 26px; }
.shop-card h4 { font-size: 18px; margin-bottom: 8px; }
.shop-card .price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-family: "Inter", sans-serif;
  color: var(--red-2);
  text-shadow: 0 0 10px rgba(255,59,87,.5), 0 0 20px rgba(255,59,87,.25);
  font-size: 22px;
  font-weight: 700;
  margin: 10px 0 16px;
}
.shop-card p.desc { font-size: 13.5px; margin: 0 0 20px; }
.shop-buy-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 13px;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 11px;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 13.5px;
  cursor: pointer;
  box-shadow: 0 10px 26px -8px rgba(225,31,61,.5);
  transition: background .25s ease, transform .25s ease;
}
.shop-buy-btn:hover { background: var(--red-2); transform: translateY(-2px); }

.shop-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-dimmer);
}

/* ---- request form ---- */
.req-layout {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 40px;
  align-items: start;
}
.req-form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 34px 32px;
}
.req-form-card h2 { font-size: 22px; margin-bottom: 6px; }
.req-form-card > p { font-size: 13.5px; margin-bottom: 26px; }
.req-section-title {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  color: var(--red-2);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin: 22px 0 14px;
}
.req-section-title:first-of-type { margin-top: 0; }
.req-flex { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.req-field label {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-dim);
  margin-bottom: 7px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.req-field input {
  width: 100%;
  padding: 11px 13px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  font-family: "Inter", sans-serif;
  font-size: 13.5px;
}
.req-field input::placeholder { color: var(--text-dimmer); }
.req-field input:focus {
  outline: none;
  border-color: var(--red-2);
  box-shadow: 0 0 0 3px rgba(255,59,87,.15);
}
.req-error {
  background: rgba(225,31,61,.1);
  border: 1px solid rgba(225,31,61,.4);
  color: var(--red-2);
  font-size: 13px;
  padding: 11px 14px;
  border-radius: 10px;
  margin-bottom: 20px;
}
.req-submit {
  display: block;
  width: 100%;
  margin-top: 26px;
  padding: 15px;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 10px 30px -8px rgba(225,31,61,.55);
}
.req-submit:hover { background: var(--red-2); }

.req-summary {
  position: sticky;
  top: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  text-align: center;
}
.req-summary .img { background: #000; border-radius: 14px; padding: 20px; margin-bottom: 18px; }
.req-summary .img img { max-width: 100%; border-radius: 10px; }
.req-summary h3 { font-size: 18px; margin-bottom: 8px; }
.req-summary .price {
  font-family: "Inter", sans-serif;
  color: var(--red-2);
  font-size: 24px;
  font-weight: 700;
  margin: 10px 0;
}
.req-summary .note {
  font-size: 12.5px;
  color: var(--text-dimmer);
  border-top: 1px solid var(--border);
  padding-top: 14px;
  margin-top: 14px;
}

/* ---- success page ---- */
.shop-success {
  min-height: calc(100vh - 84px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}
.shop-success-card {
  max-width: 480px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 48px 40px;
}
.shop-success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255,59,87,.12);
  border: 1px solid rgba(255,59,87,.4);
  color: var(--red-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin: 0 auto 22px;
  box-shadow: 0 0 20px 0 rgba(255,59,87,.3);
}
.shop-success-card h2 { font-size: 22px; margin-bottom: 12px; }
.shop-success-card p { font-size: 14px; }
.shop-success-back {
  display: inline-block;
  margin-top: 22px;
  color: var(--red-2);
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 600;
}
.shop-success-back:hover { text-decoration: underline; }

@media (max-width: 860px) {
  .req-layout { grid-template-columns: 1fr; }
  .req-summary { position: static; }
}
@media (max-width: 480px) {
  .shop-nav { padding: 16px 20px; }
  .shop-wrap { padding: 40px 20px 80px; }
  .req-form-card { padding: 26px 22px; }
}
