.teamkleidung-app {
    --tk-bg: radial-gradient(circle at top left, #dcfbff 0%, #f3fdff 34%, #ffffff 72%, #edfaff 100%);
    --tk-surface: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(243, 251, 255, 0.98) 100%);
    --tk-surface-strong: #ffffff;
    --tk-border: rgba(44, 206, 218, 0.18);
    --tk-ink: #15344d;
    --tk-muted: #5f7690;
    --tk-accent: #2cced9;
    --tk-accent-strong: #13bcd1;
    --tk-accent-soft: #dffbff;
    --tk-success: #0f766e;
    --tk-error: #b91c1c;
    color: var(--tk-ink);
    font-family: "Avenir Next", "Segoe UI", sans-serif;
    margin: 32px auto;
    max-width: 1200px;
}

.teamkleidung-feedback,
.teamkleidung-inline-message {
    border-radius: 16px;
    font-size: 15px;
    margin-bottom: 18px;
    padding: 14px 18px;
}

.teamkleidung-feedback.is-success,
.teamkleidung-inline-message.is-success {
    background: #dffaf5;
    color: var(--tk-success);
}

.teamkleidung-feedback.is-error,
.teamkleidung-inline-message.is-error {
    background: #fee2e2;
    color: var(--tk-error);
}

.teamkleidung-gate,
.teamkleidung-shell {
    background: var(--tk-bg);
    border: 1px solid var(--tk-border);
    border-radius: 32px;
    box-shadow: 0 24px 70px rgba(24, 118, 142, 0.12);
    overflow: hidden;
}

.teamkleidung-gate-card {
    margin: 0 auto;
    max-width: 560px;
    padding: 56px 28px;
    text-align: center;
}

.teamkleidung-eyebrow {
    color: var(--tk-accent);
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.teamkleidung-gate-card h2,
.teamkleidung-shell-header h2,
.teamkleidung-cart-header h3,
.teamkleidung-modal-content h3 {
    font-family: "Iowan Old Style", "Georgia", serif;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin: 0 0 12px;
}

.teamkleidung-gate-card p,
.teamkleidung-shell-header p,
.teamkleidung-product-copy p {
    color: var(--tk-muted);
    line-height: 1.65;
}

.teamkleidung-gate-form {
    display: grid;
    gap: 12px;
    margin-top: 28px;
}

.teamkleidung-gate-form input:not([type="checkbox"]):not([type="radio"]),
.teamkleidung-checkout-form input:not([type="checkbox"]):not([type="radio"]) {
    background: #fff;
    border: 1px solid rgba(63, 152, 196, 0.2);
    border-radius: 16px;
    box-shadow: inset 0 1px 2px rgba(12, 74, 110, 0.04);
    font-size: 16px;
    min-height: 52px;
    padding: 0 16px;
    width: 100%;
}

.teamkleidung-gate-form input:not([type="checkbox"]):not([type="radio"]):focus,
.teamkleidung-checkout-form input:not([type="checkbox"]):not([type="radio"]):focus,
.teamkleidung-cart-item__controls input:focus {
    border-color: rgba(19, 188, 209, 0.6);
    box-shadow: 0 0 0 4px rgba(44, 206, 218, 0.14);
    outline: none;
}

.teamkleidung-gate-form button,
.teamkleidung-primary-button,
.teamkleidung-secondary-button {
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    min-height: 50px;
    padding: 0 22px;
    transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.teamkleidung-gate-form button,
.teamkleidung-primary-button {
    background: linear-gradient(135deg, var(--tk-accent) 0%, var(--tk-accent-strong) 100%);
    box-shadow: 0 18px 30px rgba(19, 188, 209, 0.24);
    color: #fff;
}

.teamkleidung-secondary-button {
    background: linear-gradient(135deg, #35d6e0 0%, #14bfd3 100%);
    box-shadow: 0 18px 30px rgba(19, 188, 209, 0.18);
    color: #fff;
}

.teamkleidung-link-button {
    background: linear-gradient(135deg, #35d6e0 0%, #14bfd3 100%);
    border: 0;
    border-radius: 999px;
    box-shadow: 0 12px 24px rgba(19, 188, 209, 0.18);
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    min-height: 38px;
    padding: 0 14px;
}

.teamkleidung-link-button--danger {
    color: #fff;
}

.teamkleidung-primary-button:hover,
.teamkleidung-secondary-button:hover,
.teamkleidung-gate-form button:hover {
    transform: translateY(-1px);
}

.teamkleidung-primary-button:disabled {
    box-shadow: none;
    cursor: not-allowed;
    opacity: 0.45;
}

.teamkleidung-shell {
    padding: 32px;
}

.teamkleidung-shell-header,
.teamkleidung-cart-header {
    align-items: center;
    display: flex;
    gap: 18px;
    justify-content: space-between;
}

.teamkleidung-products {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    margin-top: 28px;
}

.teamkleidung-product-card,
.teamkleidung-summary-card,
.teamkleidung-cart-item {
    background: var(--tk-surface);
    border: 1px solid rgba(201, 240, 246, 0.9);
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(16, 88, 124, 0.08);
}

.teamkleidung-product-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.teamkleidung-product-gallery {
    aspect-ratio: 4 / 3;
    background: linear-gradient(160deg, #ebfdff 0%, #d7f7fb 46%, #bfeff5 100%);
    overflow: hidden;
    position: relative;
}

.teamkleidung-gallery-slide,
.teamkleidung-gallery-placeholder {
    inset: 0;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    transition: opacity 0.25s ease;
}

.teamkleidung-gallery-slide.is-active,
.teamkleidung-gallery-placeholder {
    opacity: 1;
    pointer-events: auto;
}

.teamkleidung-gallery-slide img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.teamkleidung-gallery-placeholder {
    align-items: center;
    color: rgba(31, 41, 55, 0.7);
    display: flex;
    font-family: "Iowan Old Style", "Georgia", serif;
    font-size: 28px;
    justify-content: center;
    padding: 20px;
    text-align: center;
}

.teamkleidung-gallery-nav {
    align-items: center;
    background: linear-gradient(135deg, rgba(44, 206, 218, 0.92) 0%, rgba(19, 188, 209, 0.92) 100%);
    border: 0;
    border-radius: 999px;
    box-shadow: 0 10px 22px rgba(19, 188, 209, 0.24);
    color: #fff;
    cursor: pointer;
    display: flex;
    font-size: 20px;
    height: 42px;
    justify-content: center;
    line-height: 1;
    padding: 0;
    position: absolute;
    top: calc(50% - 21px);
    width: 42px;
}

.teamkleidung-gallery-nav--prev {
    left: 14px;
}

.teamkleidung-gallery-nav--next {
    right: 14px;
}

.teamkleidung-gallery-dots {
    bottom: 14px;
    display: flex;
    gap: 8px;
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
}

.teamkleidung-gallery-dot {
    background: rgba(19, 188, 209, 0.28);
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    height: 10px;
    width: 10px;
}

.teamkleidung-gallery-dot.is-active {
    background: var(--tk-accent-strong);
}

.teamkleidung-product-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 22px;
    justify-content: space-between;
    padding: 22px;
}

.teamkleidung-product-copy h3 {
    font-family: "Iowan Old Style", "Georgia", serif;
    font-size: 28px;
    margin: 8px 0 12px;
}

.teamkleidung-product-price {
    color: var(--tk-accent-strong);
    font-size: 15px;
    font-weight: 700;
}

.teamkleidung-cart {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.78) 0%, rgba(239, 251, 255, 0.82) 100%);
    border: 1px solid var(--tk-border);
    border-radius: 28px;
    margin-top: 36px;
    padding: 24px;
}

.teamkleidung-cart-total {
    align-items: flex-end;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.teamkleidung-cart-empty,
.teamkleidung-empty-state {
    background: rgba(255, 255, 255, 0.9);
    border: 1px dashed rgba(30, 41, 59, 0.18);
    border-radius: 20px;
    color: var(--tk-muted);
    margin-top: 24px;
    padding: 22px;
    text-align: center;
}

.teamkleidung-cart-list {
    display: grid;
    gap: 18px;
    margin-top: 24px;
}

.teamkleidung-cart-item {
    align-items: stretch;
    display: grid;
    gap: 18px;
    grid-template-columns: 84px 1fr;
    padding: 18px;
}

.teamkleidung-cart-item__media img,
.teamkleidung-thumb-placeholder {
    border-radius: 18px;
    display: block;
    height: 84px;
    object-fit: cover;
    width: 84px;
}

.teamkleidung-thumb-placeholder {
    align-items: center;
    background: linear-gradient(135deg, #ddfbff 0%, #bceff7 100%);
    color: #0f5f77;
    display: flex;
    font-family: "Iowan Old Style", "Georgia", serif;
    font-size: 28px;
    justify-content: center;
}

.teamkleidung-cart-item__headline,
.teamkleidung-cart-item__controls {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: space-between;
}

.teamkleidung-cart-item__headline h4 {
    font-family: "Iowan Old Style", "Georgia", serif;
    font-size: 24px;
    margin: 0;
}

.teamkleidung-cart-item__meta {
    color: var(--tk-muted);
    margin: 8px 0 14px;
}

.teamkleidung-cart-item__controls label,
.teamkleidung-cart-item__controls div {
    display: grid;
    gap: 6px;
}

.teamkleidung-cart-item__controls input {
    border: 1px solid rgba(30, 41, 59, 0.14);
    border-radius: 12px;
    min-height: 42px;
    padding: 0 12px;
    width: 92px;
}

.teamkleidung-cart-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 24px;
}

.teamkleidung-modal {
    inset: 0;
    position: fixed;
    z-index: 9999;
}

.teamkleidung-modal-backdrop {
    background: rgba(17, 24, 39, 0.54);
    height: 100%;
    width: 100%;
}

.teamkleidung-modal-dialog {
    left: 50%;
    max-height: calc(100vh - 40px);
    max-width: 560px;
    overflow: auto;
    position: absolute;
    top: 20px;
    transform: translateX(-50%);
    width: calc(100% - 24px);
}

.teamkleidung-modal-dialog--checkout {
    max-width: 760px;
}

.teamkleidung-modal-content {
    background: #fff;
    border-radius: 28px;
    box-shadow: 0 28px 70px rgba(17, 24, 39, 0.26);
    padding: 26px;
    position: relative;
}

.teamkleidung-modal-close {
    align-items: center;
    background: linear-gradient(135deg, #35d6e0 0%, #14bfd3 100%);
    border: 0;
    border-radius: 999px;
    box-shadow: 0 10px 22px rgba(19, 188, 209, 0.18);
    color: #fff;
    cursor: pointer;
    display: flex;
    font-size: 34px;
    height: 42px;
    justify-content: center;
    line-height: 1;
    position: absolute;
    right: 18px;
    top: 12px;
    width: 42px;
}

.teamkleidung-size-options {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    margin: 24px 0;
}

.teamkleidung-size-choice {
    cursor: pointer;
}

.teamkleidung-size-choice input {
    display: none;
}

.teamkleidung-size-choice span {
    align-items: center;
    background: #f2fcff;
    border: 1px solid #bfeef5;
    border-radius: 18px;
    display: flex;
    font-weight: 700;
    justify-content: center;
    min-height: 56px;
}

.teamkleidung-size-choice input:checked + span {
    background: linear-gradient(135deg, #2cced9 0%, #13bcd1 100%);
    border-color: transparent;
    color: #fff;
}

.teamkleidung-modal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 24px;
}

.teamkleidung-summary-card {
    padding: 18px;
}

.teamkleidung-summary-card h4 {
    font-family: "Iowan Old Style", "Georgia", serif;
    font-size: 24px;
    margin: 0 0 16px;
}

.teamkleidung-summary-list {
    display: grid;
    gap: 12px;
}

.teamkleidung-summary-row,
.teamkleidung-summary-total {
    align-items: center;
    display: flex;
    gap: 18px;
    justify-content: space-between;
}

.teamkleidung-summary-row span {
    color: var(--tk-muted);
    display: block;
    margin-top: 2px;
}

.teamkleidung-summary-total {
    border-top: 1px solid var(--tk-border);
    margin-top: 18px;
    padding-top: 18px;
}

.teamkleidung-checkout-summary {
    margin: 20px 0 24px;
}

.teamkleidung-field-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.teamkleidung-field-grid label {
    display: grid;
    gap: 8px;
}

.teamkleidung-field-grid label span {
    font-weight: 700;
}

.teamkleidung-field-grid__full {
    grid-column: 1 / -1;
}

.teamkleidung-privacy-check {
    align-items: center;
    display: flex;
    gap: 12px;
    margin-top: 18px;
    width: 100%;
}

.teamkleidung-privacy-check input[type="checkbox"] {
    accent-color: var(--tk-accent-strong);
    border-radius: 5px;
    box-shadow: none;
    flex: 0 0 auto;
    height: 18px;
    margin: 0;
    padding: 0;
    width: 18px;
}

.teamkleidung-privacy-content {
    display: grid;
    flex: 1 1 auto;
    min-width: 0;
}

.teamkleidung-privacy-check [data-role="privacy-label"] {
    color: var(--tk-muted);
    display: block;
    font-size: 15px;
    line-height: 1.5;
    margin: 0;
    max-width: 100%;
    min-width: 0;
    overflow-wrap: anywhere;
}

.teamkleidung-privacy-content a {
    color: var(--tk-accent-strong);
    font-weight: 700;
    margin-left: 4px;
    white-space: normal;
}

.teamkleidung-checkout-form .is-invalid,
.teamkleidung-checkout-form [aria-invalid="true"] {
    border-color: rgba(185, 28, 28, 0.65);
    box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.12);
}

.teamkleidung-modal-open {
    overflow: hidden;
}

@media (max-width: 768px) {
    .teamkleidung-app {
        margin: 18px auto;
    }

    .teamkleidung-shell {
        padding: 20px;
    }

    .teamkleidung-shell-header,
    .teamkleidung-cart-header,
    .teamkleidung-cart-item,
    .teamkleidung-cart-item__headline,
    .teamkleidung-cart-item__controls,
    .teamkleidung-summary-row,
    .teamkleidung-summary-total {
        align-items: flex-start;
        flex-direction: column;
    }

    .teamkleidung-cart-total,
    .teamkleidung-cart-actions {
        align-items: flex-start;
    }

    .teamkleidung-cart-item {
        grid-template-columns: 1fr;
    }

    .teamkleidung-field-grid {
        grid-template-columns: 1fr;
    }

    .teamkleidung-field-grid__full {
        grid-column: auto;
    }

    .teamkleidung-modal-dialog {
        top: 12px;
        width: calc(100% - 16px);
    }

    .teamkleidung-gate-card {
        padding: 38px 18px;
    }
}
