/* Service Options & Product Selection Styles */
.service-options-section {
  margin: 40px 0;
}

.service-options-header {
  text-align: center;
  margin-bottom: 40px;
}

.service-options-header h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 15px;
}

.service-options-header p {
  color: var(--text-light);
  font-size: 1.1rem;
}

/* Options Grid */
.options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.option-card {
  background: white;
  border: 2px solid #f0f0f0;
  border-radius: var(--border-radius);
  padding: 25px;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.option-card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.option-card.selected {
  border-color: var(--primary);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.05), rgba(212, 175, 55, 0.02));
}

.option-card.selected::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
}

.option-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.option-content {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.option-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  flex-shrink: 0;
}

.option-details h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
}

.option-details p {
  color: var(--text-light);
  font-size: 14px;
  margin-bottom: 10px;
  line-height: 1.5;
}

.option-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
}

/* Selected Option Display */
.selected-option-details {
  margin: 30px 0;
  padding: 25px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(212, 175, 55, 0.05));
  border: 2px solid var(--primary);
  border-radius: var(--border-radius);
  text-align: center;
}

.selected-option-details h4 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.selected-option-details .price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
}

/* Product Selection */
.product-selection-section {
  margin-top: 30px;
  padding: 30px;
  background: #f8f9fa;
  border-radius: var(--border-radius);
  border: 1px solid #e9ecef;
}

.product-selection-header {
  text-align: center;
  margin-bottom: 30px;
}

.product-selection-header h4 {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 10px;
}

.product-selection-header p {
  color: var(--text-light);
  font-size: 14px;
}

/* Custom Products Option */
.custom-products-option {
  margin-bottom: 30px;
  padding: 20px;
  background: white;
  border: 2px solid #e9ecef;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.custom-products-option:hover {
  border-color: var(--primary);
}

.custom-products-option.selected {
  border-color: var(--primary);
  background: rgba(212, 175, 55, 0.05);
}

.custom-products-checkbox {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.custom-products-checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--primary);
}

.custom-products-checkbox label {
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  margin: 0;
}

.custom-products-note {
  margin-top: 15px;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 8px;
  border-left: 4px solid var(--primary);
}

.custom-products-note p {
  color: var(--text-light);
  font-size: 14px;
  margin: 0;
  line-height: 1.5;
}

/* Product Search & Filters */
.product-filters {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.search-input {
  flex: 1;
  min-width: 250px;
  padding: 12px 15px;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-size: 14px;
  transition: var(--transition);
}

.search-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.category-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.category-button {
  padding: 8px 16px;
  background: white;
  border: 2px solid #e9ecef;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-light);
  cursor: pointer;
  transition: var(--transition);
}

.category-button:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.category-button.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.product-card {
  background: white;
  border: 2px solid #f0f0f0;
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary);
}

.product-card.selected {
  border-color: var(--primary);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.05), rgba(212, 175, 55, 0.02));
}

.product-card.selected::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
}

.product-img {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.product-card:hover .product-img img {
  transform: scale(1.05);
}

.selected-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(212, 175, 55, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
  border-radius: var(--border-radius);
}

.product-card.selected .selected-overlay {
  opacity: 1;
}

.selected-overlay i {
  color: white;
  font-size: 32px;
  font-weight: bold;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.product-info {
  padding: 20px;
}

.product-category {
  font-size: 12px;
  color: var(--text-light);
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 8px;
}

.product-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
  line-height: 1.3;
}

.product-description {
  color: var(--text-light);
  font-size: 13px;
  margin-bottom: 12px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
}

/* Product Actions */
.product-actions {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #e9ecef;
}

.cart-status {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--success);
  font-size: 14px;
  font-weight: 500;
}

.cart-status i {
  font-size: 16px;
}

/* Product Order Section */
.product-order-section {
  margin: 30px 0;
  padding: 30px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(212, 175, 55, 0.05));
  border: 2px solid var(--primary);
  border-radius: var(--border-radius);
  text-align: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-outline-secondary {
  background: transparent;
  color: var(--text-light);
  border: 2px solid #e9ecef;
}

.btn-outline-secondary:hover {
  background: #e9ecef;
  color: var(--text);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 14px;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
}

/* Cart Summary */
.cart-summary-section {
  margin-top: 30px;
  padding: 25px;
  background: white;
  border: 2px solid var(--primary);
  border-radius: var(--border-radius);
}

.cart-summary-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.cart-summary-header h5 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--dark);
  margin: 0;
}

.cart-count {
  background: var(--primary);
  color: white;
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 600;
}

.cart-items-preview {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
  margin-bottom: 20px;
}

.cart-item-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f8f9fa;
  padding: 15px;
  border-radius: 8px;
  border: 1px solid #e9ecef;
  transition: var(--transition);
}

.cart-item-preview:hover {
  background: #e9ecef;
  border-color: var(--primary);
}

.cart-item-img {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-info h6 {
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
  margin: 0 0 4px 0;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-price {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 2px;
}

.cart-item-quantity {
  font-size: 11px;
  color: var(--text-light);
}

.cart-actions {
  text-align: center;
  padding-top: 15px;
  border-top: 1px solid #e9ecef;
}

/* Total Price */
.total-price-section {
  margin-top: 25px;
  padding: 20px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--border-radius);
  text-align: center;
  color: white;
}

.total-price-section h5 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.total-price-section .total-amount {
  font-size: 1.5rem;
  font-weight: 700;
}

/* Responsive Design */
@media (max-width: 768px) {
  .options-grid {
    grid-template-columns: 1fr;
  }
  
  .product-filters {
    flex-direction: column;
  }
  
  .search-input {
    min-width: 100%;
  }
  
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
  
  .category-buttons {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .option-content {
    flex-direction: column;
    text-align: center;
  }
  
  .option-icon {
    align-self: center;
  }
}
