html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

.header {
    display: flex;
    justify-content: center;
    padding: 10px 0;
    margin-bottom: 20px;
    width: 100%;
}

.logo-container {
    text-align: center;
}

.logo-container img {
    height: 150px;
    width: auto;
}

body {
    font-family: 'Avenir Condensed', sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #fffefe;
    padding: 20px;
}

.button {
    display: block;
    width: 50%;
    padding: 15px;
    background-color: #EAB3F5;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    margin: 20px auto;
}

.button:hover {
    background-color: #8B2252;
}

.main-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 200px;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

.left-column, .right-column {
    width: 150%;
}

.bag-preview {
    width: 100%;
    height: 0;
    padding-bottom: 70%;
    position: relative;
    overflow: hidden;
    margin-bottom: 10px;
}

.bag-preview svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.part-selector-container, .color-picker-container {
    margin-bottom: 30px;
}

.product-name {
    font-size: 48px;
    margin-top: 0;
    text-align: center;
    clear: both;
}

.product-description {
    margin-bottom: 50px;
}

select, .color-picker {
    width: 100%;
    margin-bottom: 20px;
}

.color-picker {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.color-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: transform 0.2s;
}

.color-button:hover {
    transform: scale(1.1);
}

.color-button-container {
    position: relative;
    display: inline-block;
}

.color-button:hover::after {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #929191;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 1;
}

.color-label {
    font-size: 10px;
    text-align: center;
    max-width: 50px;
}

h1 {
    font-size: 36px;
}

h3 {
    font-size: 24px;
    margin-bottom: 0px;
}

h4 {
    font-size: 24px;
    line-height: 1.5em;
    margin: 0;
}

p, small {
    margin-top: 0;
    margin-bottom: 5px;
}

p {
    font-size: 14px;
    margin: 5px 0;
}

.config-fieldset {
    border: none;
    padding: 0;
    margin-bottom: 20px;
}

.config-fieldset legend {
    font-size: 20px;
    font-weight: 700;
    margin-top: 15px;
    margin-bottom: 4px;
    padding: 0;
}

.config-fieldset p {
    margin-top: 0;
    margin-bottom: 4px;
}

.config-fieldset label {
    display: inline-block;
    margin-bottom: 4px;
    font-weight: 500;
}

.config-fieldset select {
    margin-bottom: 4px;
    padding: 6px 10px;
    font-size: 14px;
}

.config-fieldset > div {
    margin-bottom: 8px;
}

select, .color-label {
    font-size: 14px;
}

.product-price {
    font-size: 32px;
    font-weight: 700;
}

.narrow-select {
    width: 100%;
    height: 50px;
    margin-bottom: 12px;
}

textarea#comment {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: vertical;
}

/* Collapsibles */
.collapsible-header {
    background-color: transparent;
    color: #444;
    cursor: pointer;
    padding: 0;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
    margin: 0 0 10px 0;
}

.collapsible-header h4 {
    margin: 0;
    font-size: 24px;
    line-height: 1.5em;
}

.collapsible-content {
    padding: 0 18px;
    background-color: transparent;
    display: none;
    margin-bottom: 20px;
}

.collapsible-content ul {
    padding-left: 20px;
    margin: 10px 0;
}

.collapsible-content ul li {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 5px;
}

.collapsible-content p,
.collapsible-content ul,
.collapsible-content ol,
.collapsible-content li {
    font-size: 14px;
}

/* Bilder */
#attachment-image{display:flex;justify-content:center;align-items:center;width:100%;margin-top:20px}

#attachment-image img{max-width:75%;height:auto;display:block;margin:0 auto}


#shoulderstrap-image {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 20px;
}

#shoulderstrap-image img {
    max-width: 40%;
    height: auto;
    display: inline-block;
}

/* Form Warning */
.form-warning {
    background-color: #ffebee;
    color: #c62828;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    border: 1px solid #ef5350;
}

/* Responsive Design */
@media (min-width: 768px) and (max-width: 1024px) {
    .svg-container {
        transition: all 0.3s ease-in-out;
    }

    .sticky-svg {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background-color: #fffefe;
        z-index: 1000;
        padding: 10px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    .main-wrapper {
        transition: padding-top 0.3s ease-in-out;
    }

    .left-column {
        position: relative;
        margin-bottom: -80px;
    }

    #svg-container {
        width: 100%;
        height: 400px;
    }

    .right-column {
        margin-top: -50px;
    }

    .main-wrapper {
        flex-direction: column;
    }

    .left-column, .right-column {
        width: 100%;
    }

    h1 {
        font-size: 32px;
    }

    h3 {
        font-size: 22px;
    }

    p {
        font-size: 13px;
        margin: 5px 0;
    }

    select, .color-label {
        font-size: 13px;
    }

    .color-button {
        width: 40px;
        height: 40px;
    }

    .product-name {
        font-size: 36px;
    }

    .product-price {
        font-size: 28px;
    }

    .button {
        display: block;
        margin-left: auto;
        margin-right: auto;
        margin-top: 50px;
    }
}

@media (max-width: 768px) {
    .svg-container {
        transition: all 0.3s ease-in-out;
    }

    .sticky-svg {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background-color: #fffefe;
        z-index: 1000;
        padding: 10px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    .main-wrapper {
        transition: padding-top 0.3s ease-in-out;
    }

    .left-column {
        position: relative;
        margin-bottom: -80px;
    }

    #svg-container {
        width: 100%;
        height: 200px;
    }

    .right-column {
        margin-top: -50px;
    }

    body {
        padding: 10px;
    }

    .header {
        padding: 5px 0;
        margin-bottom: 10px;
    }

    .logo-container img {
        height: 60px;
    }

    .product-name {
        font-size: 28px;
    }

    .product-price {
        font-size: 18px;
    }

    h3 {
        font-size: 14px;
    }

    .main-wrapper {
        flex-direction: column;
    }

    .left-column, .right-column {
        width: 100%;
    }

    .color-button {
        width: 30px;
        height: 30px;
    }

    .color-label {
        font-size: 8px;
    }

    .button {
        width: 100%;
    }

    .color-picker {
        width: 100%;
    }

    .narrow-select {
        width: 100%;
    }
}
