.page-container {
  padding: 20px;
  background-color: #000;
  min-height: 100vh;
  box-sizing: border-box;
  padding-bottom: 120px; // Space for bottom bar
}

.detail-header {
  margin-bottom: 30px;

  .title {
    color: #fff;
    font-size: 48px;
    font-weight: bold;
    display: block;
    margin-bottom: 15px;
  }

  .desc {
    color: #888;
    font-size: 28px;
    line-height: 1.5;
  }
}

.info-card {
  background: rgba(255,255,255,0.03);
  padding: 30px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 40px;
  
  .card-title {
    color: #fff;
    font-size: 32px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    
    .bar {
      width: 6px;
      height: 24px;
      border-radius: 3px;
      margin-right: 15px;
    }
  }

  .info-item {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    
    .label {
      color: #888;
      font-size: 24px;
      margin-bottom: 5px;
    }
    .value {
      color: #fff;
      font-size: 28px;
      font-weight: 500;
    }
  }
}

.detail-image-box {
  width: 100%;
  background: #111;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 40px;
  
  .detail-img {
    width: 100%;
    display: block;
  }
}

.price-card {
  background: #1f1f1f;
  padding: 30px;
  border-radius: 16px;
  margin-bottom: 40px;
  
  .price-title {
    color: #fff;
    font-size: 32px;
    margin-bottom: 15px;
    display: block;
  }
  
  .price-row {
    display: flex;
    align-items: baseline;
    margin-bottom: 20px;
    
    .price-val {
      font-size: 48px;
      font-weight: bold;
    }
    .price-unit {
      color: #888;
      font-size: 24px;
      margin-left: 10px;
    }
  }
  
  .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    
    .tag {
      padding: 8px 16px;
      border-radius: 8px;
      font-size: 24px;
      backdrop-filter: blur(4px);
    }
  }
}

.bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1f1f1f;
  padding: 20px 30px;
  padding-bottom: constant(safe-area-inset-bottom);
  padding-bottom: env(safe-area-inset-bottom);
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  
  .btn-buy {
    width: 100%;
    height: 90px;
    line-height: 90px;
    font-weight: bold;
    font-size: 32px;
    border-radius: 45px;
    color: #000;
  }
}

// Modal Styles
.modal-mask {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.6);
  z-index: 900;
}

.modal-content {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #2c2c2c;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  padding: 40px;
  padding-bottom: calc(40px + constant(safe-area-inset-bottom));
  padding-bottom: calc(40px + env(safe-area-inset-bottom));
  z-index: 1000;
  transform: translateY(100%);
  transition: transform 0.3s ease-out;
  
  &.visible {
    transform: translateY(0);
  }
  
  .modal-title {
    color: #fff;
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 10px;
    display: block;
  }
  
  .modal-desc {
    color: #999;
    font-size: 26px;
    margin-bottom: 30px;
    display: block;
  }
  
  .form-item {
    margin-bottom: 25px;
    
    .label {
      color: #ccc;
      font-size: 28px;
      margin-bottom: 10px;
      display: block;
    }
    
    .input {
      background: #1f1f1f;
      border: 1px solid #444;
      border-radius: 12px;
      height: 80px;
      padding: 0 20px;
      color: #fff;
      font-size: 28px;
    }
    
    .textarea {
      background: #1f1f1f;
      border: 1px solid #444;
      border-radius: 12px;
      padding: 20px;
      color: #fff;
      font-size: 28px;
      height: 160px;
      width: 100%;
      box-sizing: border-box;
    }
  }
  
  .modal-actions {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    
    .btn-cancel {
      flex: 1;
      background: #444;
      color: #fff;
    }
    
    .btn-submit {
      flex: 2;
      background: #00b96b;
      color: #fff;
    }
  }
}
