:root {
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.4;
  font-weight: 400;
  color: #1b1b1b;
  background: #f4f4f4;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  --orange: #ff8f1f;
  --orange-deep: #ff6a00;
  --gold: #f5b521;
  --text: #222;
  --muted: #7a7a7a;
  --light: #ececec;
  --white: #fff;
  --shadow: rgba(0, 0, 0, 0.08);
}

* { box-sizing: border-box; }
html, body, #root { margin: 0; min-height: 100%; }
body {
  background: #f3f3f3;
  color: var(--text);
}
button, input { font: inherit; }

.page-shell {
  width: 100%;
  min-height: 100vh;
  background: #f4f4f4;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  background: #f2f2f2;
  border-bottom: 1px solid #e6e6e6;
  padding: 18px 0;
}

.promo-banner {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  color: #5d5d5d;
}

.promo-pill {
  background: #f6b32d;
  color: white;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 22px;
}

.promo-banner strong {
  color: #d96619;
  font-weight: 700;
}

.promo-code {
  font-weight: 600;
  color: #5a5a5a;
}

.promo-action {
  background: var(--orange);
  color: white;
  border-radius: 4px;
  font-weight: 700;
  padding: 12px 22px;
  box-shadow: 0 6px 14px rgba(255, 146, 28, 0.2);
}

.utility-row {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #6d6d6d;
  font-size: 13px;
}

.utility-links {
  display: flex;
  gap: 24px;
}

.main-header {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: #fff;
  border-bottom: 1px solid #ededed;
}

.brand {
  font-size: 62px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -3px;
  color: #1f1f1f;
}

.brand::first-letter {
  color: var(--orange);
}

.search-box-wrap {
  display: flex;
  align-items: center;
  flex: 1;
  max-width: 700px;
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
}

.search-box-wrap input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 15px;
  padding: 16px 18px;
}

.search-box-wrap button {
  border: none;
  background: var(--orange);
  color: white;
  padding: 16px 28px;
  font-weight: 700;
  cursor: pointer;
}

.actions {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
}

.mini-icon {
  font-size: 24px;
  color: #2d2d2d;
  position: relative;
}

.login-box, .register-box {
  padding: 8px 12px;
  border-radius: 4px;
  background: #f5f5f5;
  color: #222;
}

.nav-menu {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  background: #fff;
  border-bottom: 1px solid #efefef;
  font-size: 14px;
  color: #2e2e2e;
}

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

.menu-highlight {
  font-weight: 700;
  position: relative;
  padding-right: 10px;
}

.menu-highlight::after {
  content: '▾';
  position: absolute;
  right: 0;
  top: 0;
}

.content-area {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 24px 60px;
}

.hero {
  display: grid;
  grid-template-columns: 100px 1fr 1.2fr 100px;
  align-items: center;
  background: #efefef;
  min-height: 430px;
  padding: 18px 24px;
  position: relative;
}

.arrow {
  width: 52px;
  height: 52px;
  border: none;
  background: rgba(255,255,255,0.65);
  color: #666;
  font-size: 42px;
  line-height: 1;
  border-radius: 4px;
  cursor: pointer;
}

.hero-copy {
  padding-left: 18px;
  max-width: 420px;
}

.eyebrow {
  display: inline-block;
  color: #d5502d;
  font-weight: 700;
  margin-bottom: 12px;
}

.hero-copy h1 {
  font-size: clamp(36px, 3vw, 64px);
  line-height: 1.05;
  letter-spacing: -2px;
  margin: 0 0 18px;
  font-weight: 700;
  color: #2f2f2f;
}

.discount-line {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: #484848;
  font-size: 22px;
  margin-bottom: 28px;
}

.discount-line strong {
  font-size: 32px;
  color: #0d0d0d;
  font-weight: 800;
}

.cta {
  border: none;
  background: linear-gradient(180deg, #ffb021, #f99e16);
  color: #fff;
  border-radius: 4px;
  padding: 15px 28px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.hero-figure {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 320px;
}

.figure-model {
  width: 350px;
  height: 330px;
  background: linear-gradient(180deg, #dfe4dd 0%, #d9ded7 100%);
  border-radius: 20px;
  position: relative;
  box-shadow: inset 0 -6px 0 rgba(0,0,0,0.04);
}

.figure-model::before {
  content: "";
  position: absolute;
  width: 130px;
  height: 150px;
  background: #b4c2ac;
  border-radius: 52% 48% 48% 52% / 60% 60% 40% 40%;
  left: 110px;
  top: 18px;
  box-shadow: inset 0 0 0 12px rgba(255,255,255,0.18);
}

.figure-model::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  background: linear-gradient(180deg, #dfe7d7, #c8d0c0);
  border-radius: 26% 26% 34% 34%;
  left: 66px;
  bottom: 0;
}

.grid-four {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 36px;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 18px;
  background: rgba(255,255,255,0.25);
  border: 1px solid #ececec;
  border-radius: 10px;
  padding: 18px 18px;
}

.icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid #f0c44e;
  display: grid;
  place-items: center;
  font-size: 24px;
  color: var(--orange);
}

.benefit-item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 18px;
}

.benefit-item small {
  display: block;
  color: var(--muted);
  font-size: 14px;
}

.promo-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
}

.promo-card {
  background: #fff;
  border: 1px solid #ededed;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 150px;
  padding: 18px;
}

.promo-art {
  width: 130px;
  height: 110px;
  position: relative;
  background: linear-gradient(180deg, #efefef, #f7f7f7);
}

.promo-art.phone::before,
.promo-art.bag::before,
.promo-art.blender::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 12px;
  background: #d9d9d9;
}

.promo-art.phone::before { width: 70px; height: 88px; left: 30px; top: 12px; border-radius: 18px; background: #f6f6f6; box-shadow: inset 0 0 0 8px #b0b1b0; }
.promo-art.bag::before { width: 84px; height: 70px; left: 22px; top: 18px; border-radius: 18px 18px 24px 24px; background: #c88852; }
.promo-art.blender::before { width: 80px; height: 74px; left: 24px; top: 18px; border-radius: 18px; background: linear-gradient(180deg, #f0d05a, #d8a62d); }

.promo-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.badge {
  background: var(--orange);
  color: white;
  width: fit-content;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
}

.promo-info h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
}

.promo-info p {
  margin: 0;
  color: #666;
  font-size: 14px;
}

.deals-header {
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.deals-header h2 {
  margin: 0;
  font-size: 38px;
  letter-spacing: -1px;
}

.deals-header span {
  color: var(--orange);
  font-size: 14px;
  font-weight: 700;
  background: rgba(255, 143, 31, 0.08);
  border-radius: 999px;
  padding: 10px 14px;
}

.deals-header a {
  color: #3a3a3a;
  text-decoration: none;
  font-weight: 600;
}

.deals-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.deal-item {
  background: #fff;
  border: 1px solid #ebebeb;
  padding: 16px 18px 18px;
}

.product-visual {
  position: relative;
  height: 180px;
  background: linear-gradient(180deg, #f2f2f2, #e9e9e9);
  margin-bottom: 18px;
  border-radius: 8px;
  overflow: hidden;
}

.loading-state {
  grid-column: 1 / -1;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid #ebebeb;
  border-radius: 8px;
  padding: 24px;
  text-align: center;
  color: #555;
  font-weight: 600;
}

.product-visual::before {
  content: "";
  position: absolute;
  inset: 18px 26px 18px 26px;
  border-radius: 16px;
  background: linear-gradient(180deg, #d3d3d3, #a5a5a5);
}

.product-visual.gamepad::before { background: linear-gradient(180deg, #1e1e1e, #050505); border-radius: 22px; }
.product-visual.book::before { background: linear-gradient(180deg, #f7f3e8, #e2d8b3); }
.product-visual.earphone::before { background: linear-gradient(180deg, #dfe0e1, #bfc0c2); border-radius: 60% 60% 42% 42%; }
.product-visual.sofa::before { background: linear-gradient(180deg, #c9dfe7, #8da6b1); border-radius: 18px 18px 36px 36px; }

.add-cart {
  position: absolute;
  left: 12px;
  bottom: 12px;
  border: none;
  background: var(--orange);
  color: white;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 4px;
}

.collection-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 32px;
}

.collection-item {
  background: #fff;
  border: 1px solid #ebebeb;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #2f2f2f;
}

.collection-item span {
  font-size: 15px;
  font-weight: 600;
}

.collection-item strong {
  color: var(--orange);
  font-size: 13px;
}

.price-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.current {
  font-size: 20px;
  font-weight: 700;
}

.old {
  font-size: 12px;
  color: #8e8e8e;
  text-decoration: line-through;
}

.tag {
  margin-left: auto;
  background: var(--orange);
  color: white;
  font-size: 11px;
  font-weight: 700;
  border-radius: 999px;
  padding: 5px 8px;
}

.product-name {
  font-size: 15px;
  line-height: 1.5;
  color: #2c2c2c;
  min-height: 46px;
}

.product-color {
  color: #7a7a7a;
  font-size: 14px;
}

.newsletter {
  margin-top: 42px;
  background: linear-gradient(90deg, #fff8ee, #fff);
  border: 1px solid #f1e6d7;
  padding: 30px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.newsletter h3 {
  margin: 0;
  font-size: clamp(26px, 2.5vw, 34px);
  letter-spacing: -1px;
}

.newsletter-form {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(500px, 100%);
}

.newsletter-form input {
  flex: 1;
  border: 1px solid #e2d7c3;
  background: #fff;
  padding: 15px 16px;
  font-size: 15px;
}

.newsletter-form button {
  border: none;
  background: var(--orange);
  color: white;
  padding: 15px 22px;
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 1100px) {
  .grid-four, .promo-cards, .deals-grid, .collection-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { grid-template-columns: 60px 1fr; }
  .hero-copy { order: 2; }
  .hero-figure { order: 3; grid-column: 1 / -1; }
  .arrow { display: none; }
  .newsletter { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 760px) {
  .topbar, .utility-row, .main-header, .nav-menu, .menu-left, .newsletter { flex-direction: column; align-items: flex-start; }
  .main-header { gap: 12px; }
  .brand { font-size: 42px; }
  .search-box-wrap, .newsletter-form { width: 100%; }
  .grid-four, .promo-cards, .deals-grid, .collection-bar { grid-template-columns: 1fr; }
  .hero { padding: 20px 16px; }
  .hero-copy h1 { font-size: 40px; }
  .promo-banner { flex-wrap: wrap; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form button { width: 100%; }
}
