/* Basic Layout */
.psp-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1rem;
    background-color: #fff;
    background-image: url(https://printworks.turtlecoding.eu/wp-content/uploads/2025/10/Krissel_Back_1500_1500-w.png) !important;
}

.psp-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Container and Main Layout */
.container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .container {
        flex-direction: row;
    }
    
    .psp-main-content {
        flex: 2;
    }
    
    .psp-summary-section {
        flex: 1;
        align-self: flex-start;
    }
}

.psp-main-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Section Styles */
.psp-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 768px) {
    .psp-section {
        flex-direction: row;
    }
    
    .psp-section-title {
        width: 120px;
        flex-shrink: 0;
    }
    
    .psp-section-content {
        flex: 1;
    }
}

/* Row Layout */
.psp-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.psp-field {
    flex: 1;
    min-width: 200px;
}

@media (max-width: 767px) {
    .psp-field {
        min-width: 100%;
    }
}

/* Summary Section */
.psp-summary-section {
    background-color: #E2D1C6;
    padding: 1rem;
}



/* Form Elements */
.psp-wrap input,
.psp-wrap select {
    background-color: #E2D2C6;
    border: 1px solid #ccc;
    border-radius: 0;
    font-size: 1rem;
    width: 100%;
    height: 42px; /* Fixed height for all inputs */
    box-sizing: border-box;
}

/* Specific field widths */
#psp_qty {
    max-width: 8rem;
}

#psp_product {
    max-width: 22rem;
}

@media (max-width: 767px) {
    #psp_qty, 
    #psp_product {
        max-width: 100%;
    }
}

/* Inline element groups */
.psp-inline,
.psp-helldunkel {
    display: flex;
    gap: 1rem;
    align-items: center;
}

@media (max-width: 767px) {
    .psp-inline {
        flex-wrap: wrap;
    }
}

/* Custom Radio and Checkbox Styling */
.psp-inline input[type="radio"],
.psp-inline input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 42px;
    height: 42px;
    background-color: #E2D2C6;
    cursor: pointer;
    position: relative;
    border: 1px solid #ccc;
}

/* X marker for selected inputs */
.psp-inline input[type="radio"]:checked::after,
.psp-inline input[type="checkbox"]:checked::after {
    content: "X";
    color: black;
    font-weight: bold;
    font-size: 1.2rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Typography */
.psp-static strong {
    text-transform: uppercase;
    color: #4a828c;
    font-size: 1.5rem;
    line-height: normal;
}

.psp-form p, 
.psp-form label {
    font-weight: 700;
    color: black;
}

/* Price Display */
.psp-line {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.psp-line:last-child {
    margin-top: 1rem;
}

.psp-line span.welcherpreis {
    min-width: 60px;
}

#psp_brutto {
    font-size: 1.5rem;
    color: #982626;
    font-weight: bold;
}

/* Option Groups for vorne/hinten */
.vorne-checkbox,
.hinten-checkbox {
    display: flex;
    flex-direction: column;
}

.vorne .psp-option,
.hinten .psp-option {
    display: flex;
    flex-direction: column;
    /*gap: 0.5rem;*/
}

/*@media (min-width: 768px) {
    .vorne .psp-option,
    .hinten .psp-option {
        flex-direction: row;
        gap: 1rem;
    }
    
    .psp-inline:has(.vorne):has(.hinten) {
        gap: 2rem;
    }
}*/

.vorne select, .hinten select {
    width: 3.5rem;
}


/* Utility Classes */
.links {
    display: flex;
    gap: 1rem;
}

/* Feedback Messages */
.psp-feedback {
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/*custom kram*/

.psp-main-content label {
    margin-bottom: 4px;
}

.druckfarben-beschriftung {
  margin-top: 1.5rem;
  font-weight: 400 !important;
}