/*
|--------------------------------------------------------------------------
| MSN Čajevi — korpa, checkout i potvrda porudžbine
|--------------------------------------------------------------------------
*/

:root {
    --msn-checkout-primary: #638f38;
    --msn-checkout-primary-dark: #3f6720;
    --msn-checkout-soft: #f2f6ed;
    --msn-checkout-soft-2: #fafbf8;
    --msn-checkout-text: #1d281a;
    --msn-checkout-muted: #6f796a;
    --msn-checkout-line: rgba(54, 76, 43, 0.14);
    --msn-checkout-danger: #b34b43;
    --msn-checkout-warning: #a16f15;
    --msn-checkout-shadow: 0 18px 50px rgba(41, 61, 31, 0.08);
}

.msn-page-heading {
    padding: 34px 0 38px;
    border-bottom: 1px solid var(--msn-checkout-line);
    background:
        radial-gradient(circle at 88% 18%, rgba(99, 143, 56, 0.14), transparent 28%),
        linear-gradient(180deg, #f8faf5 0%, #fff 100%);
}

.msn-breadcrumb {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 22px;
    color: var(--msn-checkout-muted);
    font-size: 12px;
}

.msn-breadcrumb a {
    color: inherit;
}

.msn-breadcrumb a:hover {
    color: var(--msn-checkout-primary-dark);
}

.msn-breadcrumb i {
    font-size: 17px;
}

.msn-page-heading__content {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
}

.msn-page-heading h1,
.msn-page-heading h2,
.msn-cart-page h2,
.msn-checkout-page h2,
.msn-thank-you-page h1,
.msn-thank-you-page h2 {
    color: var(--msn-checkout-text);
}

.msn-page-heading h1 {
    margin: 4px 0 8px;
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1.05;
}

.msn-page-heading p {
    max-width: 680px;
    margin: 0;
    color: var(--msn-checkout-muted);
    font-size: 15px;
    line-height: 1.7;
}

.msn-eyebrow {
    display: inline-block;
    color: var(--msn-checkout-primary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.msn-cart-heading-count {
    min-width: 110px;
    padding: 16px 20px;
    border: 1px solid var(--msn-checkout-line);
    border-radius: 18px;
    background: rgba(255, 255, 255, .72);
    text-align: center;
    backdrop-filter: blur(8px);
}

.msn-cart-heading-count strong {
    display: block;
    color: var(--msn-checkout-primary-dark);
    font-size: 28px;
    line-height: 1;
}

.msn-cart-heading-count span {
    display: block;
    margin-top: 6px;
    color: var(--msn-checkout-muted);
    font-size: 11px;
}

.msn-cart-page,
.msn-checkout-page,
.msn-thank-you-page {
    padding: 64px 0 90px;
    background: #fff;
}

.msn-cart-layout,
.msn-checkout-layout,
.msn-thank-you-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    align-items: start;
    gap: 34px;
}

.msn-cart-main-card,
.msn-checkout-card,
.msn-order-summary,
.msn-checkout-summary {
    border: 1px solid var(--msn-checkout-line);
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--msn-checkout-shadow);
}

.msn-cart-main-card {
    overflow: hidden;
}

.msn-cart-card-header,
.msn-checkout-summary__heading,
.msn-section-heading-inline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.msn-cart-card-header {
    padding: 27px 29px;
    border-bottom: 1px solid var(--msn-checkout-line);
}

.msn-cart-card-header h2,
.msn-checkout-summary__heading h2,
.msn-section-heading-inline h2,
.msn-order-summary h2 {
    margin: 3px 0 0;
    font-size: 24px;
}

.msn-link-button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--msn-checkout-danger);
    font-size: 12px;
    font-weight: 750;
}

.msn-link-button i {
    font-size: 18px;
}

.msn-alert {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin: 20px 28px 0;
    padding: 14px 16px;
    border-radius: 13px;
    font-size: 12px;
    line-height: 1.55;
}

.msn-alert i {
    flex: 0 0 auto;
    font-size: 20px;
}

.msn-alert a {
    margin-left: auto;
    color: inherit;
    font-weight: 800;
    text-decoration: underline;
}

.msn-alert--warning {
    border: 1px solid rgba(161, 111, 21, .2);
    background: rgba(245, 189, 73, .12);
    color: #79530e;
}

.msn-cart-row {
    display: grid;
    grid-template-columns: 145px minmax(0, 1fr);
    gap: 22px;
    padding: 28px;
    border-bottom: 1px solid var(--msn-checkout-line);
    transition: background .2s ease, opacity .2s ease;
}

.msn-cart-row:last-child {
    border-bottom: 0;
}

.msn-cart-row:hover {
    background: var(--msn-checkout-soft-2);
}

.msn-cart-row.is-unavailable {
    opacity: .72;
}

.msn-cart-row__image {
    display: block;
    overflow: hidden;
    aspect-ratio: 1;
    border: 1px solid rgba(67, 88, 55, .1);
    border-radius: 17px;
    background: var(--msn-checkout-soft);
}

.msn-cart-row__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.msn-cart-row__info,
.msn-cart-row__top > div {
    min-width: 0;
}

.msn-cart-row__top,
.msn-cart-row__bottom {
    display: flex;
    justify-content: space-between;
    gap: 18px;
}

.msn-cart-row__name {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--msn-checkout-text);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.35;
}

.msn-cart-row__name:hover {
    color: var(--msn-checkout-primary-dark);
}

.msn-cart-row__info p {
    margin: 3px 0;
    color: var(--msn-checkout-muted);
    font-size: 11px;
}

.msn-stock-badge {
    display: inline-flex;
    align-items: center;
    margin-top: 9px;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(99, 143, 56, .11);
    color: var(--msn-checkout-primary-dark);
    font-size: 10px;
    font-weight: 800;
}

.msn-stock-badge.is-out {
    background: rgba(179, 75, 67, .1);
    color: var(--msn-checkout-danger);
}

.msn-cart-row__remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border: 1px solid var(--msn-checkout-line);
    border-radius: 50%;
    background: #fff;
    color: var(--msn-checkout-muted);
    transition: .2s ease;
}

.msn-cart-row__remove:hover {
    border-color: rgba(179, 75, 67, .35);
    color: var(--msn-checkout-danger);
    transform: rotate(5deg);
}

.msn-cart-row__remove i {
    font-size: 22px;
}

.msn-cart-row__bottom {
    align-items: flex-end;
    margin-top: 24px;
}

.msn-cart-row__bottom > div {
    display: grid;
    gap: 7px;
}

.msn-cart-row__label {
    color: var(--msn-checkout-muted);
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.msn-cart-row__bottom strong {
    color: var(--msn-checkout-text);
    font-size: 14px;
}

.msn-cart-row__total {
    margin-left: auto;
    text-align: right;
}

.msn-cart-row__total strong {
    color: var(--msn-checkout-primary-dark);
    font-size: 18px;
}

.msn-cart-quantity {
    display: grid;
    grid-template-columns: 38px 48px 38px;
    overflow: hidden;
    border: 1px solid var(--msn-checkout-line);
    border-radius: 11px;
    background: #fff;
}

.msn-cart-quantity button,
.msn-cart-quantity input {
    height: 38px;
    border: 0;
    background: transparent;
    color: var(--msn-checkout-text);
    text-align: center;
}

.msn-cart-quantity button {
    font-size: 18px;
    transition: background .2s ease;
}

.msn-cart-quantity button:hover {
    background: var(--msn-checkout-soft);
}

.msn-cart-quantity input {
    width: 100%;
    padding: 0;
    border-right: 1px solid var(--msn-checkout-line);
    border-left: 1px solid var(--msn-checkout-line);
    font-size: 12px;
    font-weight: 800;
    appearance: textfield;
}

.msn-cart-quantity input::-webkit-inner-spin-button,
.msn-cart-quantity input::-webkit-outer-spin-button {
    margin: 0;
    appearance: none;
}

.msn-cart-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 28px;
    border-top: 1px solid var(--msn-checkout-line);
    background: var(--msn-checkout-soft-2);
}

.msn-cart-card-footer > span {
    color: var(--msn-checkout-muted);
    font-size: 10px;
}

.msn-back-link,
.msn-section-heading-inline > a,
.msn-checkout-summary__heading > a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--msn-checkout-primary-dark);
    font-size: 12px;
    font-weight: 800;
}

.msn-back-link i,
.msn-section-heading-inline > a i {
    font-size: 20px;
}

.msn-order-summary,
.msn-checkout-summary {
    position: sticky;
    top: 110px;
    padding: 28px;
}

.msn-summary-lines {
    display: grid;
    gap: 15px;
    margin: 25px 0;
    padding: 21px 0;
    border-top: 1px solid var(--msn-checkout-line);
    border-bottom: 1px solid var(--msn-checkout-line);
}

.msn-summary-lines > div,
.msn-summary-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.msn-summary-lines span {
    color: var(--msn-checkout-muted);
    font-size: 12px;
}

.msn-summary-lines strong {
    color: var(--msn-checkout-text);
    font-size: 12px;
    text-align: right;
}

.msn-summary-total {
    margin-bottom: 24px;
}

.msn-summary-total span {
    color: var(--msn-checkout-text);
    font-size: 15px;
    font-weight: 800;
}

.msn-summary-total strong {
    color: var(--msn-checkout-primary-dark);
    font-size: 24px;
}

.msn-summary-checkout,
.msn-place-order {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    gap: 9px;
    border-radius: 13px;
}

.msn-summary-checkout.is-disabled {
    pointer-events: none;
    opacity: .45;
}

.msn-summary-benefits {
    display: grid;
    gap: 13px;
    margin-top: 23px;
    padding-top: 22px;
    border-top: 1px solid var(--msn-checkout-line);
}

.msn-summary-benefits > div {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    color: var(--msn-checkout-muted);
    font-size: 10px;
}

.msn-summary-benefits i {
    color: var(--msn-checkout-primary);
    font-size: 21px;
}

.msn-empty-state {
    max-width: 760px;
    margin: 0 auto;
    padding: 64px 38px;
    border: 1px solid var(--msn-checkout-line);
    border-radius: 24px;
    background: linear-gradient(180deg, #fff 0%, var(--msn-checkout-soft-2) 100%);
    box-shadow: var(--msn-checkout-shadow);
    text-align: center;
}

.msn-empty-state--compact {
    margin-top: 30px;
}

.msn-empty-state__icon,
.msn-thank-you-hero__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 82px;
    height: 82px;
    margin-bottom: 20px;
    border-radius: 50%;
    background: rgba(99, 143, 56, .12);
    color: var(--msn-checkout-primary-dark);
}

.msn-empty-state__icon i {
    font-size: 40px;
}

.msn-empty-state h1,
.msn-empty-state h2 {
    margin: 7px 0 12px;
    font-size: 32px;
}

.msn-empty-state p {
    max-width: 520px;
    margin: 0 auto 25px;
    color: var(--msn-checkout-muted);
    line-height: 1.7;
}

.msn-empty-state__actions,
.msn-thank-you-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 11px;
}

.msn-cart-recommendations {
    margin-top: 70px;
}

.msn-section-heading-inline {
    align-items: flex-end;
    margin-bottom: 25px;
}

.msn-recommendation-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.msn-recommendation-card {
    overflow: hidden;
    border: 1px solid var(--msn-checkout-line);
    border-radius: 18px;
    background: #fff;
    transition: transform .22s ease, box-shadow .22s ease;
}

.msn-recommendation-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--msn-checkout-shadow);
}

.msn-recommendation-card__image {
    display: block;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--msn-checkout-soft);
}

.msn-recommendation-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.msn-recommendation-card:hover img {
    transform: scale(1.04);
}

.msn-recommendation-card__content {
    display: grid;
    gap: 6px;
    padding: 17px;
}

.msn-recommendation-card__content small {
    color: var(--msn-checkout-muted);
    font-size: 10px;
}

.msn-recommendation-card__content strong {
    color: var(--msn-checkout-text);
    font-size: 14px;
    line-height: 1.4;
}

.msn-recommendation-card__content b {
    color: var(--msn-checkout-primary-dark);
    font-size: 13px;
}

.msn-checkout-steps {
    display: flex;
    align-items: center;
    gap: 9px;
}

.msn-checkout-steps span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 11px;
    border: 1px solid var(--msn-checkout-line);
    border-radius: 999px;
    background: #fff;
    color: var(--msn-checkout-muted);
    font-size: 10px;
    font-weight: 750;
}

.msn-checkout-steps b,
.msn-checkout-steps i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--msn-checkout-soft);
    color: var(--msn-checkout-primary-dark);
}

.msn-checkout-steps .is-active,
.msn-checkout-steps .is-complete {
    border-color: rgba(99, 143, 56, .28);
    color: var(--msn-checkout-primary-dark);
}

.msn-checkout-main {
    display: grid;
    gap: 24px;
}

.msn-checkout-main > .msn-alert {
    margin: 0;
}

.msn-checkout-card {
    padding: 29px;
}

.msn-checkout-card__heading {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    align-items: start;
    gap: 16px;
    margin-bottom: 26px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--msn-checkout-line);
}

.msn-checkout-card__heading--simple {
    margin-bottom: 14px;
}

.msn-checkout-card__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--msn-checkout-soft);
    color: var(--msn-checkout-primary-dark);
    font-size: 16px;
    font-weight: 900;
}

.msn-checkout-card__number i {
    font-size: 23px;
}

.msn-checkout-card__heading h2 {
    margin: 3px 0 6px;
    font-size: 23px;
}

.msn-checkout-card__heading p {
    margin: 0;
    color: var(--msn-checkout-muted);
    font-size: 11px;
    line-height: 1.6;
}

.msn-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 19px;
}

.msn-field {
    display: grid;
    gap: 7px;
}

.msn-field--wide {
    grid-column: 1 / -1;
}

.msn-field label {
    color: var(--msn-checkout-text);
    font-size: 11px;
    font-weight: 800;
}

.msn-field label span {
    color: var(--msn-checkout-danger);
}

.msn-field label em {
    color: var(--msn-checkout-muted);
    font-size: 9px;
    font-style: normal;
    font-weight: 500;
}

.msn-field input,
.msn-field textarea,
.msn-field select {
    width: 100%;
    border: 1px solid var(--msn-checkout-line);
    border-radius: 12px;
    background: #fff;
    color: var(--msn-checkout-text);
    font-size: 12px;
    outline: 0;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.msn-field input,
.msn-field select {
    height: 49px;
    padding: 0 14px;
}

.msn-field textarea {
    min-height: 120px;
    padding: 13px 14px;
    resize: vertical;
}

.msn-field input:focus,
.msn-field textarea:focus,
.msn-field select:focus {
    border-color: var(--msn-checkout-primary);
    box-shadow: 0 0 0 3px rgba(99, 143, 56, .1);
}

.msn-field.is-invalid input,
.msn-field.is-invalid textarea,
.msn-field.is-invalid select {
    border-color: var(--msn-checkout-danger);
}

.msn-field small[data-field-error] {
    min-height: 13px;
    color: var(--msn-checkout-danger);
    font-size: 9px;
}

.msn-form-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.msn-payment-methods {
    display: grid;
    gap: 12px;
}

.msn-payment-option {
    position: relative;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 26px;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border: 1px solid var(--msn-checkout-line);
    border-radius: 14px;
    background: #fff;
    cursor: pointer;
    transition: .2s ease;
}

.msn-payment-option:hover,
.msn-payment-option.is-selected {
    border-color: rgba(99, 143, 56, .44);
    background: rgba(242, 246, 237, .7);
}

.msn-payment-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.msn-payment-option__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 13px;
    background: var(--msn-checkout-soft);
    color: var(--msn-checkout-primary-dark);
}

.msn-payment-option__icon i {
    font-size: 24px;
}

.msn-payment-option__content {
    display: grid;
    gap: 4px;
}

.msn-payment-option__content strong {
    color: var(--msn-checkout-text);
    font-size: 13px;
}

.msn-payment-option__content small {
    color: var(--msn-checkout-muted);
    font-size: 10px;
    line-height: 1.5;
}

.msn-payment-option__check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border: 1px solid var(--msn-checkout-line);
    border-radius: 50%;
    color: transparent;
}

.msn-payment-option.is-selected .msn-payment-option__check {
    border-color: var(--msn-checkout-primary);
    background: var(--msn-checkout-primary);
    color: #fff;
}

.msn-checkout-summary__heading {
    padding-bottom: 20px;
    border-bottom: 1px solid var(--msn-checkout-line);
}

.msn-checkout-products {
    max-height: 340px;
    overflow-y: auto;
    margin: 4px -7px 0;
    padding: 0 7px;
}

.msn-checkout-product {
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 15px 0;
    border-bottom: 1px solid var(--msn-checkout-line);
}

.msn-checkout-product__image {
    position: relative;
    display: block;
    overflow: visible;
    width: 64px;
    height: 64px;
    border: 1px solid var(--msn-checkout-line);
    border-radius: 12px;
    background: var(--msn-checkout-soft);
}

.msn-checkout-product__image img {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-fit: cover;
}

.msn-checkout-product__image b {
    position: absolute;
    top: -7px;
    right: -7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 5px;
    border: 2px solid #fff;
    border-radius: 999px;
    background: var(--msn-checkout-primary-dark);
    color: #fff;
    font-size: 9px;
}

.msn-checkout-product__info {
    display: grid;
    min-width: 0;
    gap: 4px;
}

.msn-checkout-product__info strong {
    overflow: hidden;
    color: var(--msn-checkout-text);
    font-size: 11px;
    line-height: 1.4;
    text-overflow: ellipsis;
}

.msn-checkout-product__info small {
    color: var(--msn-checkout-muted);
    font-size: 9px;
}

.msn-checkout-product__price {
    color: var(--msn-checkout-text);
    font-size: 10px;
    font-weight: 800;
    white-space: nowrap;
}

.msn-checkout-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 22px 0 16px;
    color: var(--msn-checkout-muted);
    font-size: 9px;
    line-height: 1.55;
    cursor: pointer;
}

.msn-checkout-consent input {
    flex: 0 0 auto;
    width: 17px;
    height: 17px;
    margin-top: 1px;
    accent-color: var(--msn-checkout-primary);
}

.msn-checkout-consent a {
    color: var(--msn-checkout-primary-dark);
    font-weight: 750;
    text-decoration: underline;
}

.msn-checkout-message {
    min-height: 18px;
    margin-bottom: 10px;
    font-size: 10px;
    font-weight: 750;
}

.msn-checkout-message.is-error {
    color: var(--msn-checkout-danger);
}

.msn-checkout-message.is-success {
    color: var(--msn-checkout-primary-dark);
}

.msn-place-order:disabled {
    cursor: not-allowed;
    opacity: .5;
}

.msn-checkout-secure-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin: 14px 0 0;
    color: var(--msn-checkout-muted);
    font-size: 9px;
    text-align: center;
}

.msn-checkout-secure-note i {
    color: var(--msn-checkout-primary);
    font-size: 16px;
}

.msn-thank-you-hero {
    max-width: 780px;
    margin: 0 auto 45px;
    text-align: center;
}

.msn-thank-you-hero__icon {
    width: 90px;
    height: 90px;
    background: var(--msn-checkout-primary);
    color: #fff;
    box-shadow: 0 16px 35px rgba(99, 143, 56, .25);
}

.msn-thank-you-hero__icon i {
    font-size: 48px;
}

.msn-thank-you-hero h1 {
    margin: 8px 0 12px;
    font-size: clamp(34px, 5vw, 52px);
}

.msn-thank-you-hero p {
    max-width: 620px;
    margin: 0 auto;
    color: var(--msn-checkout-muted);
    font-size: 14px;
    line-height: 1.75;
}

.msn-thank-you-hero p strong {
    color: var(--msn-checkout-primary-dark);
}

.msn-thank-you-main {
    display: grid;
    gap: 24px;
}

.msn-thank-you-items {
    display: grid;
}

.msn-thank-you-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 24px;
    padding: 17px 0;
    border-bottom: 1px solid var(--msn-checkout-line);
}

.msn-thank-you-item:last-child {
    border-bottom: 0;
}

.msn-thank-you-item > div {
    display: grid;
    gap: 4px;
}

.msn-thank-you-item strong {
    color: var(--msn-checkout-text);
    font-size: 12px;
}

.msn-thank-you-item small,
.msn-thank-you-item > span {
    color: var(--msn-checkout-muted);
    font-size: 10px;
}

.msn-delivery-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.msn-delivery-details > div {
    display: grid;
    gap: 5px;
    padding: 15px;
    border-radius: 12px;
    background: var(--msn-checkout-soft-2);
}

.msn-delivery-details span {
    color: var(--msn-checkout-muted);
    font-size: 9px;
    text-transform: uppercase;
}

.msn-delivery-details strong {
    color: var(--msn-checkout-text);
    font-size: 11px;
    line-height: 1.55;
}

.msn-payment-instruction {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 11px;
    margin: 20px 0;
    padding: 15px;
    border-radius: 13px;
    background: var(--msn-checkout-soft);
}

.msn-payment-instruction > i {
    color: var(--msn-checkout-primary-dark);
    font-size: 24px;
}

.msn-payment-instruction div {
    display: grid;
    gap: 4px;
}

.msn-payment-instruction strong {
    color: var(--msn-checkout-text);
    font-size: 11px;
}

.msn-payment-instruction p,
.msn-payment-instruction span {
    margin: 0;
    color: var(--msn-checkout-muted);
    font-size: 9px;
    line-height: 1.55;
}

.msn-thank-you-actions {
    display: grid;
}

.msn-cart-page.is-loading {
    pointer-events: none;
    opacity: .65;
}

@media (max-width: 1199.98px) {
    .msn-cart-layout,
    .msn-checkout-layout,
    .msn-thank-you-grid {
        grid-template-columns: minmax(0, 1fr) 340px;
        gap: 25px;
    }

    .msn-order-summary,
    .msn-checkout-summary {
        padding: 23px;
    }

    .msn-recommendation-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .msn-page-heading__content {
        align-items: flex-start;
    }

    .msn-cart-layout,
    .msn-checkout-layout,
    .msn-thank-you-grid {
        grid-template-columns: 1fr;
    }

    .msn-order-summary,
    .msn-checkout-summary {
        position: static;
    }

    .msn-checkout-summary {
        order: -1;
    }

    .msn-recommendation-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .msn-page-heading {
        padding: 25px 0 29px;
    }

    .msn-page-heading__content,
    .msn-cart-card-header,
    .msn-cart-card-footer,
    .msn-section-heading-inline {
        align-items: flex-start;
        flex-direction: column;
    }

    .msn-cart-heading-count {
        display: none;
    }

    .msn-checkout-steps {
        display: none;
    }

    .msn-cart-page,
    .msn-checkout-page,
    .msn-thank-you-page {
        padding: 42px 0 65px;
    }

    .msn-cart-row {
        grid-template-columns: 104px minmax(0, 1fr);
        gap: 14px;
        padding: 20px 16px;
    }

    .msn-cart-card-header,
    .msn-cart-card-footer {
        padding: 20px 16px;
    }

    .msn-cart-row__bottom {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: end;
        gap: 15px;
        margin-top: 17px;
    }

    .msn-cart-row__bottom > div:first-child {
        display: none;
    }

    .msn-cart-row__total {
        margin-left: 0;
    }

    .msn-checkout-card {
        padding: 21px 16px;
    }

    .msn-checkout-card__heading {
        grid-template-columns: 40px minmax(0, 1fr);
    }

    .msn-checkout-card__number {
        width: 40px;
        height: 40px;
    }

    .msn-form-grid,
    .msn-delivery-details {
        grid-template-columns: 1fr;
    }

    .msn-field--wide {
        grid-column: auto;
    }

    .msn-thank-you-item {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 10px;
    }

    .msn-thank-you-item > span {
        grid-column: 1 / -1;
    }
}

@media (max-width: 520px) {
    .msn-page-heading h1 {
        font-size: 35px;
    }

    .msn-cart-row {
        grid-template-columns: 84px minmax(0, 1fr);
    }

    .msn-cart-row__name {
        font-size: 15px;
    }

    .msn-cart-row__top {
        gap: 8px;
    }

    .msn-cart-row__bottom {
        grid-template-columns: 1fr;
    }

    .msn-cart-row__total {
        text-align: left;
    }

    .msn-recommendation-grid {
        grid-template-columns: 1fr;
    }

    .msn-empty-state {
        padding: 46px 19px;
    }

    .msn-payment-option {
        grid-template-columns: 42px minmax(0, 1fr) 24px;
        gap: 10px;
        padding: 13px;
    }

    .msn-payment-option__icon {
        width: 42px;
        height: 42px;
    }

    .msn-checkout-product {
        grid-template-columns: 58px minmax(0, 1fr);
    }

    .msn-checkout-product__image {
        width: 54px;
        height: 54px;
    }

    .msn-checkout-product__price {
        grid-column: 2;
    }
}


/*
|--------------------------------------------------------------------------
| Korpa V2 — jasne kontrole količine i uklanjanja
|--------------------------------------------------------------------------
*/

.msn-cart-row__top {
    position: relative;
    min-height: 38px;
    padding-right: 52px;
}

.msn-cart-row__remove {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 3;
    width: 40px !important;
    height: 40px !important;
    padding: 0 !important;
    border: 1px solid rgba(179, 75, 67, .18) !important;
    border-radius: 12px !important;
    background: rgba(179, 75, 67, .055) !important;
    color: #a94640 !important;
    box-shadow: 0 6px 18px rgba(51, 64, 43, .06);
    cursor: pointer;
}

.msn-cart-row__remove:hover,
.msn-cart-row__remove:focus-visible {
    border-color: rgba(179, 75, 67, .4) !important;
    background: #b34b43 !important;
    color: #fff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 22px rgba(179, 75, 67, .2);
}

.msn-cart-remove-icon {
    display: block;
    width: 19px;
    height: 19px;
    margin: auto;
    fill: currentColor;
    pointer-events: none;
}

.msn-cart-row__bottom {
    display: grid !important;
    grid-template-columns: minmax(95px, 1fr) auto minmax(120px, 1fr);
    align-items: end !important;
    gap: 24px !important;
    width: 100%;
}

.msn-cart-row__bottom > div {
    min-width: 0;
}

.msn-cart-row__quantity-wrap {
    justify-items: start;
}

.msn-cart-row__total {
    justify-items: end;
    margin-left: 0 !important;
}

.msn-cart-quantity {
    display: grid !important;
    grid-template-columns: 44px 54px 44px !important;
    width: 142px !important;
    min-width: 142px !important;
    max-width: 142px !important;
    height: 44px !important;
    overflow: hidden !important;
    border: 1px solid rgba(63, 84, 51, .16) !important;
    border-radius: 12px !important;
    background: #fff !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}

.msn-cart-quantity button,
.msn-cart-quantity input {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 42px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #25301f !important;
    line-height: 1 !important;
    opacity: 1 !important;
}

.msn-cart-quantity button {
    position: relative;
    z-index: 2;
    cursor: pointer;
}

.msn-cart-quantity button:hover,
.msn-cart-quantity button:focus-visible {
    background: #eef4e8 !important;
    color: #4f7b27 !important;
}

.msn-cart-quantity__symbol {
    display: block;
    color: inherit;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 22px;
    font-weight: 500;
    line-height: 1;
    pointer-events: none;
}

.msn-cart-quantity input {
    border-right: 1px solid rgba(63, 84, 51, .13) !important;
    border-left: 1px solid rgba(63, 84, 51, .13) !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    text-align: center !important;
    appearance: textfield !important;
    -moz-appearance: textfield !important;
}

.msn-cart-page.is-loading .msn-cart-quantity,
.msn-cart-page.is-loading .msn-cart-row__remove {
    pointer-events: none;
    opacity: .58;
}

.msn-order-email-status {
    display: inline-flex;
    align-items: flex-start;
    gap: 9px;
    max-width: 700px;
    margin: 20px auto 0;
    padding: 11px 15px;
    border: 1px solid rgba(99, 143, 56, .18);
    border-radius: 999px;
    background: rgba(99, 143, 56, .09);
    color: #4f742d;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
}

.msn-order-email-status i {
    flex: 0 0 auto;
    margin-top: 1px;
    font-size: 18px;
}

.msn-order-email-status.is-warning {
    border-color: rgba(164, 112, 28, .2);
    background: rgba(236, 180, 72, .11);
    color: #7a5718;
}

@media (max-width: 767.98px) {
    .msn-cart-row__bottom {
        grid-template-columns: 1fr 1fr !important;
        gap: 18px 14px !important;
    }

    .msn-cart-row__quantity-wrap {
        justify-items: end;
    }

    .msn-cart-row__total {
        grid-column: 1 / -1;
        justify-items: start;
        padding-top: 15px;
        border-top: 1px solid rgba(63, 84, 51, .09);
        text-align: left !important;
    }
}

@media (max-width: 575.98px) {
    .msn-cart-row__top {
        padding-right: 46px;
    }

    .msn-cart-row__remove {
        width: 36px !important;
        height: 36px !important;
        border-radius: 10px !important;
    }

    .msn-cart-row__bottom {
        grid-template-columns: 1fr !important;
    }

    .msn-cart-row__quantity-wrap,
    .msn-cart-row__total {
        justify-items: start;
    }

    .msn-cart-row__total {
        grid-column: auto;
    }

    .msn-order-email-status {
        border-radius: 14px;
    }
}

/*
|--------------------------------------------------------------------------
| Thank-you V3 — uplata na račun i NBS IPS QR
|--------------------------------------------------------------------------
*/

.msn-payment-card {
    overflow: hidden;
}

.msn-payment-card .msn-checkout-card__heading {
    margin-bottom: 24px;
}

.msn-payment-notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 24px;
    padding: 15px 17px;
    border: 1px solid rgba(87, 128, 52, 0.16);
    border-radius: 14px;
    background: rgba(105, 150, 65, 0.07);
    color: #526049;
}

.msn-payment-notice i {
    flex: 0 0 auto;
    margin-top: 2px;
    color: #5d8c34;
    font-size: 21px;
}

.msn-payment-notice p {
    margin: 0;
    font-size: 13px;
    line-height: 1.7;
}

.msn-payment-slip {
    border: 1px solid rgba(49, 66, 39, 0.13);
    border-radius: 18px;
    background:
        linear-gradient(180deg, #fff 0%, #fcfdfb 100%);
    box-shadow: 0 14px 38px rgba(28, 44, 21, 0.06);
    overflow: hidden;
}

.msn-payment-slip__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 24px;
    border-bottom: 1px solid rgba(49, 66, 39, 0.1);
    background: #f7f9f4;
}

.msn-payment-slip__header h3 {
    margin: 4px 0 0;
    color: #20281c;
    font-size: 20px;
    line-height: 1.3;
}

.msn-payment-slip__status {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 11px;
    border: 1px solid rgba(212, 145, 39, 0.2);
    border-radius: 999px;
    background: rgba(241, 174, 65, 0.12);
    color: #976116;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.msn-payment-slip__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    padding: 4px 24px;
}

.msn-payment-field {
    min-width: 0;
    padding: 18px 0;
    border-bottom: 1px solid rgba(49, 66, 39, 0.09);
}

.msn-payment-field:nth-child(odd):not(.msn-payment-field--wide) {
    padding-right: 20px;
    border-right: 1px solid rgba(49, 66, 39, 0.09);
}

.msn-payment-field:nth-child(even):not(.msn-payment-field--wide) {
    padding-left: 20px;
}

.msn-payment-field--wide {
    grid-column: 1 / -1;
}

.msn-payment-field > span,
.msn-payment-field > small {
    display: block;
}

.msn-payment-field > span {
    margin-bottom: 6px;
    color: #7d8577;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.msn-payment-field strong {
    color: #253020;
    font-size: 15px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.msn-payment-field small {
    margin-top: 3px;
    color: #777f72;
    font-size: 12px;
    line-height: 1.5;
}

.msn-payment-field__copy-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.msn-copy-payment-value {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 34px;
    padding: 7px 11px;
    border: 1px solid rgba(83, 119, 55, 0.18);
    border-radius: 9px;
    background: #f5f8f2;
    color: #4f762f;
    font-size: 11px;
    font-weight: 750;
    transition: 0.25s ease;
}

.msn-copy-payment-value:hover {
    border-color: #638d3e;
    background: #638d3e;
    color: #fff;
}

.msn-copy-payment-value i {
    font-size: 16px;
}

.msn-payment-slip__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 19px 24px 22px;
}

.msn-payment-slip__footer p {
    max-width: 620px;
    margin: 0;
    color: #727a6e;
    font-size: 11px;
    line-height: 1.65;
}

.msn-print-payment-button {
    flex: 0 0 auto;
    gap: 8px;
}

.msn-ips-layout {
    display: grid;
    grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
    gap: 30px;
    margin-bottom: 28px;
    padding: 25px;
    border: 1px solid rgba(78, 113, 51, 0.13);
    border-radius: 18px;
    background:
        radial-gradient(circle at 0 0, rgba(114, 157, 76, 0.1), transparent 36%),
        #fbfcfa;
}

.msn-ips-qr-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 330px;
    padding: 18px;
    border: 1px solid rgba(39, 53, 31, 0.12);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(28, 44, 21, 0.08);
}

.msn-ips-qr-label {
    margin-bottom: 10px;
    color: #1e281a;
    font-size: 13px;
    font-weight: 850;
    letter-spacing: 0.09em;
}

.msn-ips-qr-image {
    display: block;
    width: min(100%, 290px);
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    image-rendering: crisp-edges;
}

.msn-ips-qr-caption {
    margin: 12px 0 0;
    color: #67705f;
    font-size: 13px;
}

.msn-ips-qr-caption strong {
    color: #456d28;
    font-size: 16px;
}

.msn-ips-qr-unavailable {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 260px;
    text-align: center;
}

.msn-ips-qr-unavailable i {
    margin-bottom: 12px;
    color: #bd7b27;
    font-size: 45px;
}

.msn-ips-qr-unavailable strong {
    color: #293124;
    font-size: 16px;
}

.msn-ips-qr-unavailable p {
    margin: 8px 0 0;
    color: #737b6e;
    font-size: 12px;
    line-height: 1.6;
}

.msn-ips-steps {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.msn-ips-steps ol {
    display: grid;
    gap: 13px;
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}

.msn-ips-steps li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.msn-ips-steps li > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 31px;
    height: 31px;
    flex: 0 0 31px;
    border-radius: 50%;
    background: #5e8c38;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 7px 15px rgba(80, 125, 46, 0.2);
}

.msn-ips-steps li strong {
    display: block;
    margin-bottom: 2px;
    color: #283224;
    font-size: 14px;
}

.msn-ips-steps li p {
    margin: 0;
    color: #747c6f;
    font-size: 12px;
    line-height: 1.55;
}

.msn-ips-legal-note {
    display: flex;
    gap: 10px;
    margin-top: 18px;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(35, 50, 29, 0.055);
    color: #66705f;
}

.msn-ips-legal-note i {
    flex: 0 0 auto;
    margin-top: 2px;
    color: #5e8c38;
    font-size: 19px;
}

.msn-ips-legal-note p {
    margin: 0;
    font-size: 11px;
    line-height: 1.6;
}

.msn-cod-payment-box {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 23px;
    border: 1px solid rgba(76, 110, 51, 0.15);
    border-radius: 17px;
    background: #f7faf4;
}

.msn-cod-payment-box__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    flex: 0 0 60px;
    border-radius: 50%;
    background: #5e8c38;
    color: #fff;
    font-size: 27px;
}

.msn-cod-payment-box strong,
.msn-cod-payment-box span,
.msn-cod-payment-box p {
    display: block;
}

.msn-cod-payment-box strong {
    margin-bottom: 4px;
    color: #263021;
    font-size: 14px;
}

.msn-cod-payment-box div > span {
    color: #426b25;
    font-size: 24px;
    font-weight: 800;
}

.msn-cod-payment-box p {
    max-width: 600px;
    margin: 7px 0 0;
    color: #747c6f;
    font-size: 12px;
    line-height: 1.6;
}

@media (max-width: 991.98px) {
    .msn-ips-layout {
        grid-template-columns: 1fr;
    }

    .msn-ips-qr-panel {
        min-height: auto;
    }
}

@media (max-width: 575.98px) {
    .msn-payment-slip__header,
    .msn-payment-slip__footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .msn-payment-slip__grid {
        grid-template-columns: 1fr;
        padding-right: 18px;
        padding-left: 18px;
    }

    .msn-payment-field,
    .msn-payment-field:nth-child(odd):not(.msn-payment-field--wide),
    .msn-payment-field:nth-child(even):not(.msn-payment-field--wide) {
        grid-column: 1 / -1;
        padding-right: 0;
        padding-left: 0;
        border-right: 0;
    }

    .msn-payment-field__copy-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .msn-payment-slip__footer .tf-btn {
        width: 100%;
    }

    .msn-ips-layout {
        gap: 20px;
        padding: 16px;
    }

    .msn-cod-payment-box {
        align-items: flex-start;
    }
}

@media print {
    body.msn-print-payment-only * {
        visibility: hidden !important;
    }

    body.msn-print-payment-only [data-payment-print-area],
    body.msn-print-payment-only [data-payment-print-area] * {
        visibility: visible !important;
    }

    body.msn-print-payment-only [data-payment-print-area] {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        border: 0;
        box-shadow: none;
    }

    body.msn-print-payment-only .msn-copy-payment-value,
    body.msn-print-payment-only .msn-print-payment-button {
        display: none !important;
    }
}
