.webshop-shell {
    color: #1c2421;
}

.webshop-funnel-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin: 0 0 24px;
}

.webshop-funnel-step {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    border: 1px solid #d7ded9;
    border-radius: 8px;
    background: #ffffff;
    color: #45504b;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0;
}

.webshop-funnel-step span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: #eef3ef;
    color: #25312c;
    font-size: 13px;
}

.webshop-funnel-step.is-active {
    border-color: #17332f;
    background: #17332f;
    color: #ffffff;
}

.webshop-funnel-step.is-active span {
    background: #f4c95d;
    color: #17332f;
}

.webshop-intro,
.webshop-toolbar,
.webshop-panel,
.webshop-confirmation {
    border: 1px solid #d7ded9;
    border-radius: 8px;
    background: #ffffff;
}

.webshop-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    padding: 28px;
    margin-bottom: 18px;
}

.webshop-kicker {
    margin: 0 0 8px;
    color: #bc4b2a;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.webshop-intro h1,
.webshop-confirmation h1 {
    margin: 0;
    font-size: 32px;
    line-height: 1.12;
    letter-spacing: 0;
}

.webshop-intro p,
.webshop-confirmation-lead {
    max-width: 680px;
    margin: 12px 0 0;
    color: #5d6863;
    font-size: 16px;
    line-height: 1.6;
}

.webshop-intro-actions,
.webshop-action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.webshop-badge,
.webshop-pill {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    border-radius: 999px;
    padding: 0 14px;
    font-weight: 700;
}

.webshop-badge {
    background: #fff6dc;
    color: #5b4510;
}

.webshop-pill {
    border: 1px solid #17332f;
    color: #17332f;
    text-decoration: none;
}

.webshop-toolbar {
    padding: 18px;
    margin-bottom: 26px;
}

.webshop-filter-form {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) minmax(180px, 240px) auto;
    gap: 12px;
    align-items: end;
}

.webshop-filter-field label,
.webshop-checkout-form label {
    display: block;
    margin-bottom: 6px;
    color: #4b5651;
    font-size: 13px;
    font-weight: 800;
}

.webshop-filter-field input,
.webshop-filter-field select,
.webshop-checkout-form input {
    width: 100%;
    min-height: 44px;
    border: 1px solid #cfd8d2;
    border-radius: 8px;
    padding: 8px 12px;
    color: #1c2421;
    background: #ffffff;
}

.webshop-otp-box {
    border: 1px solid rgba(20, 20, 20, .12);
    border-radius: 8px;
    padding: 12px;
    background: rgba(255, 255, 255, .86);
}

.webshop-otp-actions {
    display: grid;
    gap: 8px;
    grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 720px) {
    .webshop-otp-actions {
        align-items: center;
        grid-template-columns: auto minmax(92px, 1fr) auto;
    }
}

.webshop-payment-choice {
    display: grid;
    gap: 10px;
    margin: 0 0 16px;
    padding: 0;
    border: 0;
}

.webshop-payment-choice legend {
    margin: 0 0 2px;
    color: #4b5651;
    font-size: 13px;
    font-weight: 800;
}

.webshop-payment-option {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    min-height: 64px;
    border: 1px solid #cfd8d2;
    border-radius: 8px;
    padding: 12px;
    background: #ffffff;
    cursor: pointer;
}

.webshop-payment-option:has(input:checked) {
    border-color: #17332f;
    background: #f4faf6;
}

.webshop-payment-option input {
    width: 18px;
    min-height: 18px;
    margin-top: 2px;
    accent-color: #17332f;
}

.webshop-payment-option strong,
.webshop-payment-option small {
    display: block;
}

.webshop-payment-option strong {
    color: #1c2421;
    line-height: 1.25;
}

.webshop-payment-option small {
    margin-top: 4px;
    color: #68736e;
    line-height: 1.35;
}

.webshop-product-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 16px;
}

.webshop-product-head h2 {
    margin: 0;
    font-size: 24px;
    letter-spacing: 0;
}

.webshop-muted {
    color: #68736e;
}

.webshop-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.webshop-product-card {
    display: grid;
    grid-template-rows: auto 1fr auto;
    min-height: 100%;
    border: 1px solid #d7ded9;
    border-radius: 8px;
    background: #ffffff;
    overflow: hidden;
}

.webshop-product-media {
    display: block;
    aspect-ratio: 4 / 3;
    background: #eff4f1;
}

.webshop-product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.webshop-product-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 18px;
    color: #617069;
    font-weight: 800;
    text-align: center;
}

.webshop-product-body {
    padding: 16px;
}

.webshop-product-category {
    margin: 0 0 8px;
    color: #0f766e;
    font-size: 13px;
    font-weight: 800;
}

.webshop-product-title {
    display: block;
    margin: 0 0 8px;
    color: #17201c;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.25;
    text-decoration: none;
}

.webshop-product-description {
    margin: 0;
    color: #626d68;
    line-height: 1.5;
}

.webshop-product-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 16px 16px;
}

.webshop-price {
    color: #17201c;
    font-size: 18px;
    font-weight: 900;
}

.webshop-add-form {
    display: flex;
    gap: 8px;
    align-items: center;
    margin: 0;
}

.webshop-quantity {
    width: 64px;
    min-height: 40px;
    border: 1px solid #cfd8d2;
    border-radius: 8px;
    padding: 6px 8px;
}

.webshop-primary-button,
.webshop-secondary-button,
.webshop-danger-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border-radius: 8px;
    padding: 0 16px;
    border: 1px solid transparent;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.webshop-primary-button {
    background: #17332f;
    color: #ffffff;
}

.webshop-primary-button:disabled {
    cursor: not-allowed;
    opacity: .52;
}

.webshop-secondary-button {
    background: #ffffff;
    border-color: #17332f;
    color: #17332f;
}

.webshop-danger-button {
    background: #ffffff;
    border-color: #c2410c;
    color: #9a3412;
}

.webshop-panel {
    padding: 22px;
    margin-bottom: 20px;
}

.webshop-cart-line {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto auto;
    gap: 14px;
    align-items: center;
    border-bottom: 1px solid #edf1ee;
    padding: 16px 0;
}

.webshop-cart-line:first-child {
    padding-top: 0;
}

.webshop-cart-line:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.webshop-cart-title {
    margin: 0 0 4px;
    color: #17201c;
    font-weight: 800;
    text-decoration: none;
}

.webshop-line-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.webshop-line-actions form {
    margin: 0;
}

.webshop-icon-button {
    width: 36px;
    height: 36px;
    border: 1px solid #cfd8d2;
    border-radius: 8px;
    background: #ffffff;
    color: #17332f;
    font-weight: 900;
}

.webshop-cart-summary,
.webshop-checkout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
    gap: 20px;
    align-items: start;
}

.webshop-total-box {
    border: 1px solid #d7ded9;
    border-radius: 8px;
    background: #f8faf7;
    padding: 18px;
}

.webshop-total-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.webshop-total-row.is-strong {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #d7ded9;
    font-size: 18px;
    font-weight: 900;
}

.webshop-checkout-form {
    display: grid;
    gap: 14px;
}

.webshop-reference {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    margin: 22px 0;
    border: 1px solid #d7ded9;
    border-radius: 8px;
    background: #f8faf7;
    padding: 16px 18px;
}

.webshop-reference span {
    color: #68736e;
    font-size: 13px;
    font-weight: 800;
}

.webshop-reference strong {
    color: #17332f;
    font-size: 22px;
}

.webshop-confirmation {
    padding: 34px;
}

.webshop-preview-shell {
    width: min(100% - 32px, 1280px);
    min-height: 100vh;
    margin: 0 auto;
    padding: 138px 0 48px;
}

.webshop-preview-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    gap: 22px;
    align-items: start;
    margin-bottom: 22px;
}

.webshop-preview-summary {
    position: sticky;
    top: 92px;
}

.webshop-preview-summary h2 {
    margin: 0 0 14px;
    color: #17201c;
    font-size: 24px;
    font-weight: 900;
}

.webshop-preview-summary-list {
    display: grid;
    gap: 10px;
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
}

.webshop-preview-summary-list li {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    color: #42514a;
}

.webshop-preview-summary-list strong {
    flex: 0 0 auto;
    color: #17201c;
}

.webshop-preview-empty {
    margin: 0 0 18px;
}

.webshop-preview-feedback {
    min-height: 24px;
    margin: 14px 0 0;
    color: #0f766e;
    font-weight: 800;
}

.webshop-product-card.is-added {
    border-color: #0f766e;
    box-shadow: 0 0 0 3px rgba(15, 118, 110, .14);
}

.webshop-preview-checkout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    gap: 24px;
    align-items: start;
}

.webshop-preview-checkout h2,
.webshop-preview-received h2 {
    margin: 0;
    color: #17201c;
    font-size: 26px;
    font-weight: 900;
    letter-spacing: 0;
}

.webshop-preview-received {
    margin-top: 22px;
}

.webshop-preview-checkout[hidden],
.webshop-preview-received[hidden] {
    display: none;
}

@media (max-width: 760px) {
    .webshop-preview-shell {
        width: min(100% - 20px, 1280px);
        padding-top: 114px;
    }

    .webshop-funnel-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .webshop-intro,
    .webshop-filter-form,
    .webshop-cart-summary,
    .webshop-checkout-grid,
    .webshop-preview-layout,
    .webshop-preview-checkout {
        grid-template-columns: 1fr;
    }

    .webshop-preview-summary {
        position: static;
    }

    .webshop-product-head,
    .webshop-product-foot,
    .webshop-cart-line {
        align-items: stretch;
        flex-direction: column;
        grid-template-columns: 1fr;
    }

    .webshop-add-form,
    .webshop-action-row,
    .webshop-intro-actions {
        width: 100%;
    }

    .webshop-primary-button,
    .webshop-secondary-button,
    .webshop-danger-button {
        width: 100%;
    }
}
