/* ========================================
   WC Conditional Fields - Frontend Styles
   ======================================== */

:root {
  --primary-color: #e74c3c;
  --secondary-color: #1c217d;
  --accnt-color: #f0572426;
  --box-shadow-focus: 0 0 0 3px rgb(240 85 34 / 21%);
}

.wc-cf-price-row:not(:last-child) {
    display: none;
}


.product-text span {
    display: none !important;
}

.wc-conditional-fields-wrapper {
  margin: 30px 0;
}

.wc-cf-title {
  margin: 0 0 20px;
  padding-bottom: 15px;
  color: var(--secondary-color);
  font-size: 20px;
  font-weight: 600;
}

/* ========================================
   Custom Fields Styles
   ======================================== */


.wc-cf-field-wrapper {
  margin-bottom: 20px;
}

.wc-cf-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
  font-size: 15px;
}

.wc-cf-label .required {
  color: #e74c3c;
  margin-left: 3px;
}

.wc-cf-input {
  width: 100%;
  padding: 10px 15px;
  border: 2px solid #ddd;
  border-radius: 5px;
  font-size: 14px;
  transition: all 0.3s ease;
}

.wc-cf-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: var(--box-shadow-focus);
}

.wc-cf-input:disabled {
  background-color: #f5f5f5;
  cursor: not-allowed;
}

/* Select Fields */
.wc-cf-select {
  cursor: pointer;
  background: white;

  cursor: pointer;
  background: white;
  padding-right: 2rem;
  background-image: url(https://dev.rasans.com/cleanland/wp-content/uploads/2025/10/caret-down.png);
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1rem;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: 1px solid #ccc;
  border-radius: 8px;
}

/* Radio & Checkbox Groups */
.wc-cf-radio-group,
.wc-cf-checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wc-cf-radio-label,
.wc-cf-checkbox-label {
  display: flex;
  align-items: center;
  padding: 12px;
  background: #f8f9fa;
  border: 2px solid #e0e0e0;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.wc-cf-radio-label:hover,
.wc-cf-checkbox-label:hover {
  background: #e8f4ff;
  border-color: #0073aa;
}

.wc-cf-radio-label input,
.wc-cf-checkbox-label input {
  margin-left: 10px;
  width: auto;
}

.wc-cf-radio-label span,
.wc-cf-checkbox-label span {
  flex: 1;
  margin-right: 10px;
}

/* Textarea */
.wc-cf-textarea {
  min-height: 100px;
  resize: vertical;
  font-family: inherit;
}

/* Field Price */
.wc-cf-field-price {
  display: inline-block;
  margin-top: 8px;
  padding: 5px 12px;
  background: var(--secondary-color);
  color: white;
  border-radius: 15px;
  font-size: 13px;
  font-weight: 600;
}

/* Conditional Fields */
.wc-cf-conditional {
  display: none;
}

/* Error Messages */
.wc-cf-error {
  display: block;
  margin-top: 8px;
  color: #e74c3c;
  font-size: 13px;
  font-weight: 500;
}

/* ========================================
   Price Summary
   ======================================== */

.wc-cf-price-summary {
  color: var(--secondary-color);
  margin-top: 25px;
  padding: 20px;
  background: white;
  border-radius: 6px;
  border: 2px solid var(--primary-color);
}

.wc-cf-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  font-size: 15px;
}

.wc-cf-price-row:not(:last-child) {
  border-bottom: 1px solid #e0e0e0;
}

.wc-cf-total-row {
  padding-top: 15px;
  font-size: 18px;
}

.wc-cf-additions {
  color: #27ae60;
}

/* ========================================
   Location Fields
   ======================================== */

.wc-cf-location-fields, .wc-cf-booking-section {
  margin-top: 30px;
  padding: 25px;
  background: white;
  border-radius: 8px;
  border: 2px solid var(--primary-color);
}

.wc-cf-location-fields h3 {
  margin: 0 0 20px;
  padding-bottom: 15px;
  color: var(--secondary-color);
  font-size: 20px;
}

.wc-cf-field-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.wc-cf-field-col label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
  font-size: 14px;
}

.wc-cf-field-col label .required {
  color: #e74c3c;
  margin-left: 3px;
}

.wc-cf-field-col input,
.wc-cf-field-col select,
.wc-cf-field-col textarea {
  padding: 10px 15px;
  cursor: pointer;
  background: white;
  cursor: pointer;
  background: white;
  padding-right: 2rem;
  background-image: url(https://dev.rasans.com/cleanland/wp-content/uploads/2025/10/caret-down.png);
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1rem;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: 1px solid #ccc;
  border-radius: 8px;
}

.wc-cf-field-col input:focus,
.wc-cf-field-col select:focus,
.wc-cf-field-col textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: var(--box-shadow-focus);
  border: 2px solid var(--primary-color);
}

input[type="text"], input[type="email"], input[type="tel"], input[type="password"]{
    border-radius: 8px !important;
    
}


.wc-cf-field-col select:disabled {
  background-color: #f5f5f5;
  cursor: not-allowed;
}

.wc-cf-field-full {
  margin-bottom: 20px;
}

.wc-cf-field-full label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
  font-size: 14px;
}

.wc-cf-field-full textarea {
  width: 100%;
  min-height: 80px;
  padding: 10px 15px;
  border: 2px solid #ddd;
  border-radius: 5px;
  font-size: 14px;
  font-family: inherit;
  resize: vertical;
  transition: all 0.3s ease;
}

.wc-cf-field-full textarea:focus {
  outline: none;
  border-color: var(--primary-color) ;
  box-shadow: var(--box-shadow-focus);
}

.wc-cf-location-error {
  display: block;
  margin-top: 5px;
  color: #e74c3c;
  font-size: 12px;
}

.custom-price-quantity{
        display: none !important
}


/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 768px) {
  .wc-cf-field-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .wc-cf-title {
    font-size: 18px;
  }

  .wc-cf-price-row {
    font-size: 14px;
  }

  .wc-cf-total-row {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .wc-conditional-fields-wrapper {
    margin: 20px 0;
  }

  .wc-cf-field-wrapper {
    padding: 15px;
  }

  .wc-cf-input {
    padding: 8px 12px;
    font-size: 13px;
  }

  .wc-cf-radio-label,
  .wc-cf-checkbox-label {
    padding: 10px;
    font-size: 13px;
  }
}

/* ========================================
   Loading & Animation
   ======================================== */

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wc-cf-field-wrapper {
  animation: fadeIn 0.3s ease;
}

/* ========================================
   Print Styles
   ======================================== */

@media print {
  .wc-cf-input,
  .wc-cf-select {
    border: 1px solid #333;
  }
}


.date-container {
    position: relative;
    width: 100%;
}

.date-container input[type="date"] {
    width: 100%;
    padding: 12px 12px 12px 40px;
    border: 2px solid #ddd;
    border-radius: 6px;
    text-align: right;
}

.date-container .calendar-icon {
    position: absolute;
    top: 14px;
    left: 12px;
    font-size: 18px;
    color: #ddd;
    pointer-events: none;
}

.time-slot-btn.selected {
    background: var(--primary-color) !important;
    border: 4px solid var(--secondary-color) !important;
    color: white !important;
}

  .time-slot-btn.selected div{
        color: #ffffff!important;
}
  
.wc-conditional-fields-wrapper {
    display: flex;
    flex-direction: column;
}




.dropdown-cart .variation{
        display: none !important;
    
}