/** Shopify CDN: Minification failed

Line 7:0 Unexpected "<"
Line 691:0 Unexpected "<"

**/
<style>
.repair-section {
    padding: 40px 0;
}

.repair-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 992px) {
    .repair-layout {
        grid-template-columns: 2fr 1fr;
    }
}

.repair-parts-container {
    margin-bottom: 30px;
}

.repair-parts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
}

@media (min-width: 768px) {
    .repair-parts-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.repair-part-card {
    border: 1px solid #e1e1e1;
    border-radius: 9px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    background: #E6E6E6;
}



.repair-part-card-flex {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  background: #f9f9f9;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.repair-part-card-flex:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.repair-part-icon img {
  margin-right: 0.5rem;
}

.repair-part-info {
  flex-grow: 1;
}

.repair-part-title {
  margin: 0;
  font-weight: bold;
}

.repair-part-description {
  width: 100%;
  margin: 0.25rem 0 0.5rem;
  font-size: 0.9rem;
  color: #666;
  text-align: left;
}

.repair-part-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.8rem;
  min-width: 80px;
}

.repair-part-price {
  display: inline-block;
  font-size: 1rem;
  font-weight: bold;
  color: #010101;
  padding: 0.3em 0.8em;
  border-radius: 999px;
  text-align: center;
  min-width: 60px;
  line-height: 1.4;
  text-decoration: underline;
}

.repair-part-add-btn {
  display: inline-block;
  background-color: #CFF394; /* ens med prisbadge */
  color: #010101;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border: none;
  border-radius: 10px; /* rund badge */
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  transition: background-color 0.2s ease, transform 0.1s ea
}

.repair-part-add-btn:hover {
  background-color: #e8f4d4;
}


.show-all-btn {
    margin-top: 20px;
    background: transparent;
    border: 1px solid #2a6df5;
    color: #2a6df5;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.show-all-btn:hover {
    background: #f5f8ff;
}

.repair-summary-container {
    position: relative;
}

.repair-summary-card {
    background: white;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    padding: 25px;
    position: sticky;
    top: 20px;
}

.repair-summary-model {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.summary-list {
    min-height: 100px;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    font-weight: bold;
    font-style: italic;
}

.empty-state {
    color: #999;
    font-style: italic;
    text-align: center;
    padding: 20px 0;
}

.summary-total {
    margin-bottom: 20px;
}

.total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 16px;
}

.total-row:last-child {
    font-weight: bold;
    font-size: 18px;
}

.btn-next {
    background: #2a898e;
    color: white;
    border: none;
    width: 100%;
    font-size: 18px;
    font-weight: 600;
    padding: 14px 20px;
    margin-bottom: 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.25s ease;
}

.btn-next:hover {
    background: #49acb0;
}

.after-info {
    font-size: 12px;
    color: #777;
    text-align: center;
    margin-top: 15px;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.remove-item {
  background: transparent;
  border: none;
  color: #dc2626;
  font-size: 1rem;
  cursor: pointer;
  margin-left: 0.5rem;
  transition: transform 0.1s ease;
}

.remove-item:hover {
  transform: scale(1.2);
} 

.next-step-box {
  margin-top: 1.5rem;
  padding: 1rem;
  background: #FFFFFF;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.next-step-box h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.form-fields {
  display: flex;
  flex-direction: column;
  gap: 1rem;

}

.form-fields input,
.form-fields textarea {
  display: block;
  width: 100%;
  padding: 10px 10px;
  margin-bottom: 0.8rem;
  border: 1px solid #d0d5dd;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 500;
  color: #1c1c1c;
  background-color: #fff;
  transition: border-color 0.3s ease, box-shadow 0.2s ease;
}

.form-fields input:focus,
.form-fields textarea:focus {
  border-color: #1a7f37;
  box-shadow: 0 0 0 2px rgba(26, 127, 55, 0.1);
  outline: none;
}

.form-fields textarea {
  resize: vertical;
  min-height: 100px;
}


.action-buttons {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
}

.action-buttons .btn-book {
  flex: 1;
  padding: 14px 20px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.25s ease;
}

.btn-book {
  background-color: #2A898E;
  color: white;
}

.btn-book:hover {
  background-color: #49acb0;
}


.delivery-options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.delivery-option {
  display: block;
  cursor: pointer;
}

.delivery-option input[type="radio"] {
  display: none;
}

.delivery-options.error {
  outline: 2px solid #e11d48;
  border-radius: 8px;
  padding: 8px;
  background-color: #fff0f3;
}

.form-wrapper {
  max-width: 400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}


.option-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  background-color: #fff;
  transition: all 0.2s ease;
  position: relative;
}

.option-icon img {
  width: 40px;
  height: 40px;
}

.option-text {
  flex: 1;
}

.option-title {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.2rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.option-subtext {
  font-size: 0.875rem;
  color: #6b7280;
}

.badge {
  background-color: #10B981; /* Grøn badge */
  color: white;
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  text-transform: uppercase;
}

/* Vis grøn kant og skygge, når valgt */
.delivery-option input[type="radio"]:checked + .option-card {
  border-color: #10B981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.25);
}

/* Vis grøn prik/check */
.option-check::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #10B981;
  background-color: #10B981;
  display: inline-block;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.delivery-option input[type="radio"]:checked + .option-card .option-check::before {
  opacity: 1;
}

.customer-type {
  display: flex;
  gap: 1.5rem;
}

.customer-type label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-weight: 500;
  color: #1c1c1c;
  font-size: 1rem;
  padding-top: 8px;
}

.customer-type input[type="radio"] {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  accent-color: #1a7f37; /* grøn farve som valgt stil */
  cursor: pointer;
}


.booking-datetime label {
  display: block;
  margin-top: 1rem;
  font-weight: 500;
}

.booking-datetime input {
  width: 100%;
  margin-top: 0.3rem;
  padding: 0.4rem;
  font-size: 0.95rem;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.input-error {
  border: 2px solid #e11d48 !important;
  background-color: #fff0f3;
}


.datetime-picker-wrapper {
  padding: 20px;
  background: #E8F4D4;
  border-radius: 8px;
  max-width: 400px;
}

.input-date, .input-time {
  width: 100%;
  padding: 12px 16px;
  background-color: #FFFFFF;
  border: 1px solid #11B981;
  font-size: 16px;
  margin-top: 8px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 10px;
}

/* Gør kalenderen 100% bred */
.calendar-container {
  display: flex;
  justify-content: center;
  padding: 0;
  margin: 0;
}

/* Fjern standard paddings og skygger fra Flatpickr */
.flatpickr-calendar,
.flatpickr-inline,
.flatpickr-innerContainer {
  display: block;
  margin: 0 auto;
  text-align: center;
  box-shadow: none !important;
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected:focus,
.flatpickr-day.selected:hover {
  background-color: #11B981 !important;  /* Din grønne farve */
  color: #fff;
  border-radius: 50% !important;
  font-weight: bold;
}


.time-picker-scroll {
  display: flex;
  overflow-x: auto;
  gap: 10px;
  padding: 12px;
  border: none;
  scroll-behavior: smooth;
  /* Begræns synlig bredde til ca. 6 bokse */
  max-width: 500px;
  margin: 0 auto;
}

.time-option {
  flex: 0 0 80px;
  background: transparent;
  border: none;
  border-bottom: 2px solid #ccc; /* underline */
  padding: 10px 0;
  text-align: center;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  color: #333;
}

.time-option:hover {
  background-color: #e0f7f4;
  border-color: #339999;
}

.time-option.selected {
  background-color: #339999;
  color: #fff;
  border-color: #339999;
}

/* Scrollbar (valgfrit) */
.time-picker-scroll::-webkit-scrollbar {
  height: 6px;
}
.time-picker-scroll::-webkit-scrollbar-thumb {
  background-color: #aaa;
  border-radius: 3px;
}


.product-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.product-header i {
  font-size: 5rem;
  color: #156064;
}

.product-header-text h1 {
  margin: 0;
  font-size: 1.8rem;
  font-weight: bold;
}

.product-header-text .subtitle {
  margin: 0;
  font-size: 1rem;
  color: #555;
}


.booking-success {
  color: #1a7f4d;
  padding: 10px 15px;
  font-weight: 500;
  font-size: 13px;
}



/*images under reparation section*/
.repair-sections {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 30px;
  
}

.repair-box {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 20px;
  max-width: 350px;
  text-align: center;
  transition: transform 0.3s ease;
}

.repair-box:hover {
  transform: translateY(-5px);
}

.repair-box img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;

}

.repair-box h3 {
  font-size: 18px;
  color: #0E2240;
  margin-bottom: 10px;
}

.repair-box p {
  font-size: 14px;
  color: #333;
  margin-bottom: 15px;
}

.repair-box .btn {
  display: inline-block;
  background-color: #CFF394;
  color: #0E2240;
  padding: 10px 18px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
}

.repair-box .btn:hover {
  background-color: #0044cc;
}


/*For mobil venlig visning*/

@media (max-width: 768px) {
  .repair-layout {
    display: flex;
    flex-direction: column;
  }

  .repair-summary-card {
    position: relative;
    top: auto;
    margin-top: 20px;
  }
}

@media (max-width: 768px) {
  .datetime-picker-wrapper {
    padding: 16px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
  }

  .calendar-container {
    width: 100%;
    overflow-x: auto;
  }

  .flatpickr-calendar {
    width: 100% !important;
    max-width: 100% !important;
  }
}


</style>