* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f7f7f7;
  color: #111;
}

.container {
  width: 92%;
  max-width: 1280px;
  margin: 0 auto;
}

.site-header {
  background: #ffffff;
  border-bottom: 1px solid #ececec;
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
}

.logo {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #111;
}

.nav {
  display: flex;
  gap: 12px;
  align-items: center;
}

.nav a {
  text-decoration: none;
  color: #444;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 10px;
  transition: 0.25s ease;
}

.nav a:hover {
  background: #fff1eb;
  color: #e66a3a;
}

.hero {
  padding: 80px 0;
  background: linear-gradient(135deg, #ffffff 0%, #f2f2f2 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}

.badge {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: #ffe3d8;
  color: #c74f22;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.badge-dark {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

.hero-text h1 {
  font-size: 58px;
  line-height: 1.05;
  margin: 0 0 18px;
}

.hero-text p {
  font-size: 18px;
  line-height: 1.7;
  color: #555;
  margin: 0 0 24px;
  max-width: 580px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  text-decoration: none;
  border: none;
  border-radius: 10px;
  padding: 14px 22px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: 0.25s ease;
}

.btn-primary {
  background: #e66a3a;
  color: #fff;
}

.btn-primary:hover {
  background: #cf5628;
}

.btn-secondary {
  background: #111;
  color: #fff;
}

.btn-secondary:hover {
  background: #333;
}

.btn-full {
  width: 100%;
}

.hero-image-card {
  background: #fff;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.06);
}

.hero-image-card img {
  width: 100%;
  display: block;
  border-radius: 16px;
}

.services,
.features,
.cta-section {
  padding: 72px 0;
}

.section-heading {
  text-align: center;
  margin-bottom: 40px;
}

.section-heading span {
  display: inline-block;
  color: #e66a3a;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.section-heading h2 {
  font-size: 38px;
  line-height: 1.2;
  margin: 0;
}

.service-grid,
.feature-grid {
  display: grid;
  gap: 28px;
}

.service-grid {
  grid-template-columns: repeat(3, 1fr);
}

.feature-grid {
  grid-template-columns: repeat(4, 1fr);
}

.service-card,
.feature-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0,0,0,0.06);
}

.service-card img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  display: block;
  background: #fff;
  padding: 12px;
}

.service-card-body {
  padding: 24px;
}

.service-card-body h3 {
  margin: 0 0 10px;
  font-size: 24px;
}

.service-card-body p {
  color: #666;
  line-height: 1.6;
  margin: 0 0 18px;
}

.feature-card {
  padding: 26px 22px;
}

.step-number {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #e66a3a;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 16px;
}

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 21px;
}

.feature-card p {
  margin: 0;
  color: #666;
  line-height: 1.6;
}

.cta-box {
  background: #111;
  color: #fff;
  border-radius: 18px;
  padding: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
}

.cta-box h2 {
  margin: 0 0 12px;
  font-size: 38px;
  line-height: 1.2;
}

.cta-box p {
  margin: 0;
  color: #ddd;
  line-height: 1.7;
}

/* Designer */
.designer-page {
  padding: 50px 0;
}

.designer-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 28px;
  align-items: start;
}

.designer-panel {
  background: #fff;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.06);
}

.designer-panel h1 {
  margin: 0 0 12px;
  font-size: 40px;
  line-height: 1.1;
}

.designer-panel p {
  color: #555;
  line-height: 1.7;
}

.control-group {
  margin-bottom: 18px;
}

.control-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
}

.control-group input[type="file"],
.control-group input[type="text"],
.control-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 15px;
  background: #fff;
}

.checkbox-row {
  display: flex !important;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.checkbox-row input {
  width: auto;
}

.view-toggle {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.toggle-btn {
  flex: 1;
  padding: 12px 14px;
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.25s ease;
}

.toggle-btn.active {
  background: #e66a3a;
  color: #fff;
  border-color: #e66a3a;
}

.toggle-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.control-actions {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.price-box {
  margin-top: 24px;
  padding: 18px;
  border-radius: 14px;
  background: #f8f8f8;
}

.price-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
  color: #444;
}

.price-row:last-child {
  margin-bottom: 0;
}

.total-row {
  padding-top: 10px;
  border-top: 1px solid #ddd;
  font-size: 18px;
  color: #111;
}

.canvas-card {
  background: #fff;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.06);
  min-height: 700px;
}

.canvas-heading {
  margin-bottom: 18px;
}

.canvas-heading h2 {
  margin: 0 0 8px;
  font-size: 28px;
}

.canvas-heading p {
  margin: 0;
  color: #666;
}

.canvas-panel canvas {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  border-radius: 12px;
}

@media (max-width: 1024px) {
  .hero-grid,
  .designer-layout,
  .service-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .cta-box {
    display: block;
  }

  .cta-box .btn {
    margin-top: 20px;
  }

  .hero-text h1,
  .designer-panel h1 {
    font-size: 42px;
  }
}

@media (max-width: 768px) {
  .hero-text h1,
  .designer-panel h1 {
    font-size: 34px;
  }

  .section-heading h2,
  .cta-box h2 {
    font-size: 28px;
  }

  .header-wrap {
    flex-direction: column;
    gap: 12px;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* Cart / Checkout */

.cart-page,
.checkout-page {
  padding: 50px 0;
}

.cart-layout,
.checkout-layout {
  display: grid;
  grid-template-columns: 1.5fr 0.9fr;
  gap: 28px;
  align-items: start;
}

.cart-items,
.checkout-form,
.cart-summary {
  background: #fff;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.06);
}

.cart-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 20px;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.cart-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.cart-item-image img {
  width: 100%;
  border-radius: 12px;
  background: #f8f8f8;
}

.cart-item-info h3 {
  margin: 0 0 12px;
  font-size: 24px;
}

.cart-item-info p {
  margin: 0 0 8px;
  color: #555;
}

.cart-summary h3,
.checkout-form h3 {
  margin-top: 0;
  font-size: 26px;
}

.summary-row,
.summary-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

.summary-row:last-child,
.summary-item:last-child {
  border-bottom: none;
}

.total-row {
  font-size: 18px;
  font-weight: 700;
}

.form-row {
  margin-bottom: 18px;
}

.form-row label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 15px;
  background: #fff;
}

.form-row textarea {
  min-height: 120px;
  resize: vertical;
}

.empty-state {
  text-align: center;
  padding: 30px 20px;
}

.empty-state h3 {
  margin-top: 0;
  font-size: 28px;
}

.cart-preview-row {
  display: flex;
  gap: 16px;
  margin: 16px 0;
}

.mini-preview {
  width: 90px;
  border-radius: 10px;
  display: block;
  margin-top: 6px;
  background: #f8f8f8;
}

@media (max-width: 1024px) {
  .cart-layout,
  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .cart-item {
    grid-template-columns: 1fr;
  }
}

.cart-page,
.checkout-page {
  padding: 50px 0;
}

.cart-layout,
.checkout-layout {
  display: grid;
  grid-template-columns: 1.5fr 0.9fr;
  gap: 28px;
  align-items: start;
}

.cart-items,
.checkout-form,
.cart-summary {
  background: #fff;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.06);
}

.cart-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 20px;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid #eee;
  align-items: start;
}

.cart-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.cart-item-image {
  background: #f8f8f8;
  border-radius: 14px;
  padding: 12px;
}

.cart-item-image img {
  width: 100%;
  max-height: 220px;
  object-fit: contain;
  display: block;
}

.cart-item-info h3 {
  margin: 0 0 12px;
  font-size: 24px;
}

.cart-item-info p {
  margin: 0 0 8px;
  color: #555;
  font-size: 15px;
  line-height: 1.6;
}

.cart-preview-row {
  display: flex;
  gap: 16px;
  margin: 18px 0;
  flex-wrap: wrap;
}

.preview-box {
  background: #f8f8f8;
  border-radius: 12px;
  padding: 10px;
  width: 120px;
}

.preview-box small {
  display: block;
  margin-bottom: 8px;
  color: #444;
  font-weight: 700;
}

.mini-preview {
  width: 100%;
  height: 120px;
  object-fit: contain;
  display: block;
  background: #fff;
  border-radius: 8px;
}

.cart-summary h3,
.checkout-form h3 {
  margin-top: 0;
  font-size: 26px;
}

.summary-row,
.summary-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

.summary-row:last-child,
.summary-item:last-child {
  border-bottom: none;
}

.total-row {
  font-size: 18px;
  font-weight: 700;
}

.form-row {
  margin-bottom: 18px;
}

.form-row label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 15px;
  background: #fff;
}

.form-row textarea {
  min-height: 120px;
  resize: vertical;
}

.empty-state {
  text-align: center;
  padding: 30px 20px;
}

.empty-state h3 {
  margin-top: 0;
  font-size: 28px;
}

@media (max-width: 1024px) {
  .cart-layout,
  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .cart-item {
    grid-template-columns: 1fr;
  }
}