/* index.css */
.page-index .header-actions {
  position: absolute;
  right: 15px;
  display: flex;
  gap: 10px;
  font-size: 24px;
  color: #3C3C3C;
}

.page-index .top-info {
  display: flex;
  justify-content: space-between;
  padding: 10px 15px;
  background: #fff;
  align-items: center;
}

.page-index .route-badge {
  background: #f5f5f5;
  padding: 4px 10px;
  border-radius: 15px;
  font-size: 12px;
  color: #6C6C6C;
  display: flex;
  align-items: center;
  gap: 5px;
}

.page-index .user-info {
  font-size: 14px;
  color: #6C6C6C;
}

.page-index .banner-container {
  padding: 10px 15px;
  background: #fff;
}

.page-index .banner-image {
  width: 100%;
  border-radius: 10px;
  display: block;
  object-fit: cover;
}

.page-index .search-bar-container {
  padding: 0 15px 15px;
  background: #fff;
}

.page-index .search-input {
  background: #f5f5f5;
  border-radius: 20px;
  padding: 10px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-index .search-input .placeholder {
  color: #959595;
  font-size: 14px;
}

.page-index .platform-icons {
  display: flex;
  gap: 5px;
}

.page-index .platform-icons span {
  display: inline-block;
  width: 20px;
  height: 20px;
  background: #ddd;
  color: #fff;
  font-size: 10px;
  line-height: 20px;
  text-align: center;
  border-radius: 4px;
}

.page-index .quick-links {
  display: flex;
  justify-content: space-around;
  padding: 20px 15px;
  background: #fff;
  margin-top: 10px;
  border-radius: 10px 10px 0 0;
}

.page-index .link-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #3C3C3C;
}

.page-index .icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f5f8ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  position: relative;
}

.page-index .icon-circle ion-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  font-size: 10px;
  padding: 3px 5px;
}

.page-index .estimator-card, .page-index .warehouse-card {
  margin: 10px 15px;
  background: #fff;
  border-radius: 10px;
  padding: 15px;
}

.page-index .card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.page-index .card-header h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
}

.page-index .card-header .params {
  background: #f5f5f5;
  padding: 4px 10px;
  border-radius: 15px;
  font-size: 12px;
  color: #6C6C6C;
  display: flex;
  align-items: center;
  gap: 5px;
}

.page-index .card-body {
  font-size: 13px;
}

.page-index .ml-2 { margin-left: 10px; }

.page-index .copy-btn {
  background: #f0f4ff;
  color: var(--ion-color-primary);
  border: none;
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 12px;
}

.page-index .products-section {
  padding: 15px;
}

.page-index .section-title {
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  margin: 10px 0 20px;
}

.page-index .category-scroll {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.page-index .category-scroll::-webkit-scrollbar {
  display: none;
}

.page-index .cat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  min-width: 50px;
}

.page-index .cat-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #ffffff;
}

.page-index .cat-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-index .product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.page-index .product-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
}

.page-index .product-img {
  width: 100%;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
  overflow: hidden;
}

.page-index .product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-index .product-info {
  padding: 10px;
}

.page-index .product-title {
  font-size: 13px;
  color: #3C3C3C;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.page-index .product-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-index .product-price .price {
  font-size: 13px;
  font-weight: bold;
  color: #FF7D00;
}

.page-index .product-price .tag {
  font-size: 10px;
  color: var(--ion-color-primary);
  background: #f0f4ff;
  padding: 2px 5px;
  border-radius: 4px;
}

.page-index .product-price .tag-text {
  font-size: 10px;
  color: var(--ion-color-primary);
}

/* Warehouse Modal */
.page-index .warehouse-bottom-sheet {
  --height: auto;
  --border-radius: 20px 20px 0 0;
}

.page-index .warehouse-modal-content {
  padding: 20px 16px;
  padding-bottom: calc(20px + env(safe-area-inset-bottom));
  background: #fff;
  height: 100%;
}

.page-index .warehouse-modal-content .modal-header {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin-bottom: 25px;
}

.page-index .warehouse-modal-content .modal-header h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #3C3C3C;
}

.page-index .warehouse-modal-content .close-btn {
  position: absolute;
  right: 0;
  font-size: 24px;
  color: #3C3C3C;
  cursor: pointer;
}

.page-index .warehouse-modal-content .warehouse-select {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 15px;
  border-bottom: 1px dashed #E5E5E5;
  margin-bottom: 20px;
}

.page-index .warehouse-modal-content .warehouse-select .text-dark {
  font-size: 14px;
  color: #3C3C3C;
}

.page-index .warehouse-modal-content .select-link {
  font-size: 14px;
  color: var(--ion-color-primary);
  text-decoration: none;
}

.page-index .warehouse-modal-content .section-title {
  font-size: 14px;
  font-weight: bold;
  color: #3C3C3C;
  margin: 0 0 15px 0;
}

.page-index .warehouse-modal-content .address-form {
  margin-bottom: 20px;
}

.page-index .warehouse-modal-content .form-row {
  display: flex;
  align-items: flex-start;
  min-height: 35px;
  position: relative;
}

.page-index .warehouse-modal-content .form-row:last-child {
  margin-bottom: 0;
}

.page-index .warehouse-modal-content .form-row .label {
  width: 70px;
  font-size: 14px;
  color: #6C6C6C;
  line-height: 24px;
}

.page-index .warehouse-modal-content .form-row .value {
  flex: 1;
  font-size: 14px;
  color: #3C3C3C;
  line-height: 24px;
  padding-right: 30px;
}

.page-index .warehouse-modal-content .form-row .copy-icon {
  position: absolute;
  right: 0;
  top: 2px;
  font-size: 20px;
  color: #B4B4B4;
  cursor: pointer;
}

.page-index .warehouse-modal-content .notice-text {
  font-size: 12px;
  color: #3C3C3C;
  line-height: 15px;
  margin-bottom: 20px;
}

.page-index .warehouse-modal-content .text-orange {
  color: #FF7D00;
}

.page-index .warehouse-modal-content .btn-primary-large {
  width: 100%;
  height: 44px;
  background: var(--ion-color-primary);
  color: #fff;
  border: none;
  border-radius: 22px;
  font-size: 16px;
  font-weight: 500;
}
