* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  background: #f5f5f5;
  color: #333;
}

.checkout-mobile {
  display: none;
}

.checkout-web {
  display: block;
}

.web-container {
  max-width: 900px;
  margin: 0 auto;
  background: white;
  padding: 40px;
}

.web-success-section {
  text-align: center;
  margin-bottom: 40px;
}

.web-success-icon {
  width: 60px;
  height: 60px;
  background: #27ab6d;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 32px;
  box-shadow: 0 4px 12px rgba(39, 171, 109, 0.2);
}

.web-success-title {
  font-size: 24px;
  font-weight: 700;
  color: #000;
  margin-bottom: 8px;
  font-family: "Manrope", sans-serif;
}

.web-success-subtitle {
  font-size: 13px;
  color: #999;
  margin-bottom: 8px;
}

.web-order-status {
  font-size: 12px;
  color: #666;
}

.web-section-title {
  font-size: 16px;
  font-weight: 600;
  color: #000;
  margin-bottom: 16px;
  font-family: "Manrope", sans-serif;
}

.web-section-subtitle {
  font-size: 13px;
  color: #999;
  margin-bottom: 20px;
  line-height: 1.5;
}

.carousel-container {
  margin: 20px 0 40px 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.carousel-container::-webkit-scrollbar {
  display: none;
}

.carousel-wrapper {
  display: flex;
  gap: 16px;
  padding: 4px 0;
  min-width: min-content;
}

.carousel-item {
  flex-shrink: 0;
  width: 320px;
  background: white;
  border: 2px solid #e8e8e8;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.carousel-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #1dd1a1 0%, #00d998 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.carousel-item:hover {
  border-color: #1dd1a1;
  box-shadow: 0 8px 24px rgba(29, 209, 161, 0.15);
  transform: translateY(-4px);
}

.carousel-item:hover::before {
  opacity: 1;
}

.item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.item-title {
  font-size: 13px;
  font-weight: 600;
  color: #000;
  flex: 1;
  line-height: 1.4;
}

.item-badge {
  background: linear-gradient(135deg, #1dd1a1 0%, #00d998 100%);
  color: white;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}

.item-offer {
  background: #f5f5f5;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #1dd1a1;
  text-align: center;
}

.web-mobile-slider {
  height: 117px;
  margin: 20px 0 40px 0;
}

.web-details-section {
  margin: 40px 0;
  padding-top: 40px;
  border-top: 1px solid #e8e8e8;
}

.web-details-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.web-detail-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.web-detail-label {
  font-size: 11px;
  color: #999;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.web-detail-value {
  font-size: 13px;
  font-weight: 500;
  color: #000;
  line-height: 1.4;
}

.web-button-section {
  display: flex;
  gap: 12px;
  margin: 40px 0;
}

.web-btn {
  padding: 14px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Inter", sans-serif;
  flex: 1;
}

.web-btn-primary {
  background: linear-gradient(135deg, #1dd1a1 0%, #00d998 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(29, 209, 161, 0.2);
}

.web-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(29, 209, 161, 0.3);
}

.web-btn-secondary {
  background: #f5f5f5;
  color: #000;
  border: 1px solid #e8e8e8;
}

.web-btn-secondary:hover {
  background: #f0f0f0;
  border-color: #d0d0d0;
}

.web-qr-section {
  text-align: center;
  padding: 40px 0;
  border-top: 1px solid #e8e8e8;
}

.web-qr-code {
  width: 140px;
  height: 140px;
  background: #f5f5f5;
  border: 2px solid #ddd;
  border-radius: 8px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
}

.web-qr-label {
  font-size: 12px;
  color: #999;
}

.mobile-page {
  background: white;
  padding: 40px 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.mobile-success-header {
  text-align: center;
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid #f0f0f0;
}

.mobile-checkmark {
  width: 56px;
  height: 56px;
  background: #27ab6d;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 28px;
  box-shadow: 0 4px 12px rgba(39, 171, 109, 0.25);
}

.mobile-title {
  font-size: 18px;
  font-weight: 700;
  color: #000;
  margin-bottom: 8px;
}

.mobile-order-number,
.mobile-order-status {
  font-size: 12px;
  color: #999;
}

.mobile-order-number {
  margin-bottom: 4px;
}

.mobile-slider {
  position: relative;
  margin: 30px 0;
  border-radius: 8px;
  overflow: hidden;
  height: 100px;
  width: 100%;
}

.mobile-slider-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.mobile-slider-wrapper {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}

.mobile-slider-slide {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  position: relative;
  background-size: cover;
  background-position: center;
}

.mobile-slider-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mobile-slider-slide:hover {
  opacity: 0.95;
}

.mobile-slider-nav {
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  gap: 4px;
  z-index: 10;
}

.mobile-slider-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.mobile-slider-dot.active {
  background: white;
  width: 12px;
  border-radius: 3px;
}

.mobile-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.08);
  color: rgba(255, 255, 255, 0.6);
  border: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 10px;
  transition: all 0.3s ease;
  display: none;
  z-index: 10;
}

.mobile-slider-arrow:hover {
  background: rgba(0, 0, 0, 0.15);
  color: white;
}

.mobile-prev {
  left: 4px;
}

.mobile-next {
  right: 4px;
}

.mobile-steps {
  display: flex;
  justify-content: space-between;
  margin: 30px 0;
  padding: 20px 0;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
}

.mobile-step {
  text-align: center;
  flex: 1;
}

.mobile-step-number {
  font-size: 16px;
  font-weight: 700;
  color: #000;
  margin-bottom: 8px;
}

.mobile-step-text {
  font-size: 11px;
  color: #666;
  line-height: 1.3;
}

.mobile-details {
  margin: 30px 0;
}

.mobile-detail-item {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 12px;
}

.mobile-detail-label {
  color: #999;
  font-weight: 500;
}

.mobile-detail-value {
  color: #000;
  font-weight: 600;
  text-align: right;
  max-width: 50%;
}

.mobile-detail-item:last-child {
  border-bottom: none;
}

.mobile-detail-note {
  font-size: 11px;
  color: #999;
  margin-top: 16px;
  line-height: 1.4;
}

.mobile-button {
  width: 100%;
  padding: 14px;
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  color: #000;
  cursor: pointer;
  margin-top: 20px;
  transition: all 0.3s ease;
}

.mobile-button:hover {
  border-color: #27ab6d;
  color: #27ab6d;
}

.mobile-qr-section {
  text-align: center;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid #f0f0f0;
}

.mobile-qr-code {
  width: 120px;
  height: 120px;
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 4px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}

@media (max-width: 599px) {
  body {
    padding: 40px 20px;
    max-width: 600px;
    margin: 0 auto;
  }

  .checkout-web {
    display: none;
  }

  .checkout-mobile {
    display: block;
  }

  .mobile-slider {
    height: 49px;
  }
}

@media (min-width: 600px) {
  .mobile-slider-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}
