/* Pasūtījuma lapas papildu stili + produktu sadaļas pogas */

/* "Iegādāties" + "Lejupielādēt brošūru" pogu kopa zem produkta attēla.
   Pārraksta esošo `.container-fluid.section.four .textCont .row .imgCont a`
   augsto specifiku, lai pogas stāv vienai zem otras normālā plūsmā. */
.container-fluid.section.four .textCont .row .imgCont .productCtas {
   display: flex;
   flex-direction: column;
   gap: 8px;
   align-items: center;
   width: 100%;
   margin-top: 74px;
   position: relative;
   z-index: 2;
}

.container-fluid.section.four .textCont .row .imgCont .productCtas a {
   position: relative;
   left: auto;
   transform: none;
   margin: 0;
   width: 220px;
   min-width: 220px;
}

.container-fluid.section.four .textCont .row .imgCont .productCtas .blancBtn:not(.transparent) {
   background: #00aeef;
   border-color: #00aeef;
}

.container-fluid.section.four .textCont .row .imgCont .productCtas .blancBtn:not(.transparent) span {
   color: #fff;
}

.container-fluid.section.four .textCont .row .imgCont .productCtas .blancBtn:not(.transparent):hover {
   background: #191760;
   border-color: #191760;
}

.orderSection {
   padding: 60px 0 80px;
   background: #fff;
}

.orderSection h2 {
   color: #191760;
}

.orderSection .mainCont {
   text-align: center;
   margin-bottom: 40px;
}

.orderForm {
   max-width: 860px;
   margin: 0 auto;
}

.orderForm .formGroup {
   border: 0;
   padding: 0;
   margin: 0 0 36px;
}

.orderForm legend {
   display: block;
   width: 100%;
   color: #191760;
   font-size: 1.6rem;
   font-weight: 700;
   text-transform: uppercase;
   letter-spacing: 0.5px;
   padding-bottom: 8px;
   margin-bottom: 16px;
   border-bottom: 2px solid #00aeef;
}

.orderForm .formHint {
   font-size: 1.3rem;
   color: #6c757d;
   margin: -8px 0 16px;
}

/* Persona picker */
.personaPicker {
   display: flex;
   flex-wrap: wrap;
   gap: 16px;
}

.personaOption {
   flex: 1 1 240px;
   margin: 0;
   cursor: pointer;
}

.personaOption input[type="radio"] {
   position: absolute;
   opacity: 0;
   pointer-events: none;
}

.personaCard {
   display: flex;
   flex-direction: column;
   gap: 4px;
   padding: 18px 20px;
   border: 2px solid #d8e3ec;
   border-radius: 10px;
   background: #fff;
   transition: all 0.2s ease;
}

.personaCard strong {
   color: #191760;
   font-size: 1.5rem;
}

.personaCard small {
   color: #6c757d;
   font-size: 1.2rem;
}

.personaOption input[type="radio"]:checked + .personaCard {
   border-color: #00aeef;
   background: #eaf8fe;
   box-shadow: 0 2px 8px rgba(0, 174, 239, 0.15);
}

.personaOption:hover .personaCard {
   border-color: #00aeef;
}

/* Product list */
.productList {
   display: flex;
   flex-direction: column;
   gap: 12px;
}

.productRow {
   display: flex;
   align-items: center;
   justify-content: space-between;
   gap: 16px;
   padding: 14px 18px;
   border: 1px solid #d8e3ec;
   border-radius: 10px;
   background: #fff;
}

.productRow.hasQty {
   border-color: #00aeef;
   background: #eaf8fe;
}

.productInfo {
   flex: 1;
   min-width: 0;
}

.productInfo strong {
   display: block;
   color: #191760;
   font-size: 1.4rem;
}

.productInfo small {
   color: #6c757d;
   font-size: 1.2rem;
}

.qtyControl {
   display: flex;
   align-items: center;
   gap: 6px;
}

.qtyControl button {
   width: 32px;
   height: 32px;
   border: 1px solid #d8e3ec;
   background: #fff;
   border-radius: 6px;
   color: #191760;
   font-size: 1.6rem;
   line-height: 1;
   cursor: pointer;
}

.qtyControl button:hover {
   background: #00aeef;
   border-color: #00aeef;
   color: #fff;
}

.qtyControl input {
   width: 56px;
   height: 32px;
   text-align: center;
   border: 1px solid #d8e3ec;
   border-radius: 6px;
   font-size: 1.4rem;
}

/* Form fields */
.formField {
   margin-bottom: 16px;
}

.formField label {
   display: block;
   font-size: 1.3rem;
   color: #191760;
   font-weight: 600;
   margin-bottom: 6px;
}

.formField .req {
   color: #ed1d24;
}

.formField input[type="text"],
.formField input[type="email"],
.formField input[type="tel"],
.formField textarea {
   width: 100%;
   padding: 10px 14px;
   border: 1px solid #d8e3ec;
   border-radius: 6px;
   font-size: 1.4rem;
   color: #191760;
   background: #fff;
   transition: border-color 0.2s ease;
}

.formField input:focus,
.formField textarea:focus {
   outline: none;
   border-color: #00aeef;
   box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.15);
}

.formField.invalid input,
.formField.invalid textarea {
   border-color: #ed1d24;
}

.formField.invalid label::after {
   content: " — lūdzu, aizpildi šo lauku";
   color: #ed1d24;
   font-weight: 400;
   font-size: 1.2rem;
}

.checkboxField label {
   display: flex;
   gap: 10px;
   align-items: flex-start;
   font-weight: 400;
   cursor: pointer;
}

.checkboxField input[type="checkbox"] {
   margin-top: 3px;
   flex-shrink: 0;
}

.checkboxField a {
   color: #00aeef;
   text-decoration: underline;
}

.orderError {
   padding: 14px 18px;
   margin: 0 0 20px;
   border: 1px solid #ed1d24;
   border-radius: 8px;
   background: #fdebec;
   color: #ed1d24;
   font-size: 1.4rem;
}

.formActions {
   text-align: center;
   margin-top: 24px;
}

.formActions .blancBtn {
   min-width: 280px;
   background: #00aeef;
   border-color: #00aeef;
}

.formActions .blancBtn span {
   color: #fff;
}

.formActions .blancBtn:hover {
   background: #191760;
   border-color: #191760;
}

.formActions .blancBtn:disabled {
   opacity: 0.6;
   cursor: not-allowed;
}

@media (max-width: 575px) {
   .productRow {
      flex-direction: column;
      align-items: flex-start;
   }
   .qtyControl {
      align-self: flex-end;
   }
}
