@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('../assets/fonts/inter-normal-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('../assets/fonts/inter-normal-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Inter';
    font-style: italic;
    font-weight: 900;
    font-display: swap;
    src: url('../assets/fonts/inter-italic-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Inter';
    font-style: italic;
    font-weight: 900;
    font-display: swap;
    src: url('../assets/fonts/inter-italic-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
.header--site-header {
    --header-accent: #009966;
    --header-accent-bright: #00bc7d;
    height: 90px;
    background-color: var(--color-bg-dark);
    display: flex;
    align-items: center;
}

.header--container {
    width: 100%;
    max-width: 1431px;
    margin: 0 auto;
    padding: 0 76px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header--logo-image {
    height: 36px;
    width: auto;
}

.header--main-nav {
    display: flex;
    gap: 40px;
}

.header--nav-link {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: -0.18px;
    transition: color 0.2s;
}

.header--nav-link:hover,
.header--nav-link.active {
    color: var(--color-white);
}

.header--actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header--login-link {
    color: var(--color-white);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: -0.18px;
    padding: 12px 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    transition: all 0.2s;
}

.header--login-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.header--signup-btn {
    background-color: var(--color-primary);
    color: var(--color-white);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.18px;
    padding: 12px 24px;
    border-radius: 8px;
    transition: background-color 0.2s;
}

.header--signup-btn:hover {
    background-color: #008855;
}

.header--search {
    flex: 1;
    max-width: 500px;
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 0 16px;
    margin: 0 40px;
}

.header--search .header--search-icon {
    display: block;
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    color: var(--color-white);
    fill: currentColor;
    opacity: 1;
    cursor: text;
}

.header--search .header--search-input {
    flex: 1;
    min-width: 0;
    background: transparent;
    border: none;
    outline: none;
    color: var(--color-white);
    font-family: var(--font-family);
    font-size: 14px;
    padding: 12px;
}

.header--search .header--search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.header--search .header--search-btn {
    background-color: #ef4444;
    color: var(--color-white);
    border: none;
    border-radius: 6px;
    padding: 8px 20px;
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.header--search .header--search-btn:hover {
    background-color: #dc2626;
}

.search-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.07), 0 12px 28px rgba(0,0,0,0.15);
    z-index: 1100;
    max-height: 420px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: all 0.2s ease;
}

.search-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.search-dropdown__empty {
    padding: 24px;
    text-align: center;
    color: #9ca3af;
    font-size: 14px;
}

.search-dropdown__section {
    padding: 8px 0;
    border-bottom: 1px solid #f3f4f6;
}

.search-dropdown__section:last-of-type {
    border-bottom: none;
}

.search-dropdown__section-title {
    padding: 6px 16px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #9ca3af;
}

.search-dropdown__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    text-decoration: none;
    color: #1f2937;
    transition: background-color 0.15s;
}

.search-dropdown__item:hover {
    background-color: #f9fafb;
}

.search-dropdown__img {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    object-fit: contain;
    background-color: #f9fafb;
    flex-shrink: 0;
}

.search-dropdown__img--placeholder {
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
}

.search-dropdown__icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin: 0 2px;
}

.search-dropdown__text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.search-dropdown__label {
    font-size: 13px;
    font-weight: 500;
    color: #1f2937;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-dropdown__label strong {
    color: #009966;
    font-weight: 700;
}

.search-dropdown__sublabel {
    font-size: 11px;
    color: #9ca3af;
}

.search-dropdown__price {
    font-size: 13px;
    font-weight: 600;
    color: #009966;
    white-space: nowrap;
    flex-shrink: 0;
}

.search-dropdown__stockout {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 10px;
    background-color: #fef2f2;
    color: #c10007;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: -0.18px;
    white-space: nowrap;
    flex-shrink: 0;
}

.search-dropdown__stockout svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

.search-dropdown__viewall {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 16px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    color: #009966;
    border-top: 1px solid #f3f4f6;
    transition: background-color 0.15s;
}

.search-dropdown__viewall svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    fill: currentColor;
}

.search-dropdown__viewall:hover {
    background-color: #f0fdf4;
}

.header--user-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header--guest-signup-btn {
    background-color: var(--color-primary);
    color: var(--color-white);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.18px;
    padding: 10px 18px;
    border-radius: 10px;
    transition: background-color 0.2s;
}

.header--guest-signup-btn:hover {
    background-color: #008855;
}

.header--admin-switch {
    position: relative;
}

.header--admin-switch-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 84px;
    height: 44px;
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.header--admin-switch-btn:hover,
.header--admin-switch-btn.active {
    background-color: rgba(255, 255, 255, 0.15);
}

.header--admin-switch-icon {
    display: block;
    flex: 0 0 auto;
    width: 15px;
    height: 15px;
    fill: currentColor;
    opacity: 0.95;
}

.header--admin-switch-label {
    font-size: 11px;
    line-height: 1;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.2px;
}

.header--admin-switch-dot {
    position: absolute;
    top: -2px;
    right: -3px;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #ef4444;
    border: 2px solid var(--color-bg-dark);
    display: none;
}

.header--admin-switch-dot.active {
    display: block;
}

.header--admin-switch-panel {
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    left: auto;
    width: 320px;
    max-width: calc(100vw - 32px);
    padding: 12px;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 10px 20px rgba(0, 0, 0, 0.15);
    display: none;
    z-index: 1200;
}

.header--admin-switch-panel.open {
    display: block;
}

.header--admin-switch-header {
    font-size: 13px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
}

.header--admin-switch-input {
    width: 100%;
    height: 38px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 0 10px;
    font-size: 13px;
    outline: none;
}

.header--admin-switch-input:focus {
    border-color: #009966;
}

.header--admin-switch-results {
    margin-top: 8px;
    max-height: 230px;
    overflow: auto;
    border: 1px solid #f0f1f3;
    border-radius: 8px;
}

.header--admin-switch-result {
    width: 100%;
    text-align: left;
    border: none;
    background: #fff;
    padding: 9px 10px;
    cursor: pointer;
    border-bottom: 1px solid #f3f4f6;
}

.header--admin-switch-result:last-child {
    border-bottom: none;
}

.header--admin-switch-result:hover {
    background: #f9fafb;
}

.header--admin-switch-result-name {
    display: block;
    max-width: 100%;
    font-size: 13px;
    font-weight: 600;
    color: #111827;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.header--admin-switch-result-meta {
    display: block;
    margin-top: 2px;
    font-size: 11px;
    color: #6b7280;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.header--admin-switch-empty {
    padding: 12px 10px;
    font-size: 12px;
    color: #6b7280;
}

.header--admin-switch-reset {
    margin-top: 10px;
    width: 100%;
    height: 36px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    color: #1f2937;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.header--admin-switch-reset:hover {
    background: #f9fafb;
}

.header--cart-btn {
    position: relative;
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: background-color 0.2s, color 0.2s;
}

.header--cart-btn:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.header--cart-btn .header--cart-icon {
    display: block;
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.header--cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 20px;
    height: 20px;
    background-color: #ef4444;
    color: var(--color-white);
    font-size: 11px;
    font-weight: 700;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
}

.header--user-dropdown {
    position: relative;
}

.header--user-dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: min(70vw, 320px);
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 6px 12px 6px 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.header--user-dropdown-trigger:hover,
.header--user-dropdown-trigger.active {
    background-color: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
}

.header--user-avatar {
    width: 36px;
    height: 36px;
    background-color: var(--color-primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header--user-avatar span {
    color: var(--color-white);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.header--user-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
    min-width: 0;
    max-width: 220px;
}

.header--user-name {
    display: block;
    max-width: 100%;
    color: var(--color-white);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: -0.2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.header--user-name--x-user {
    color: #ef4444 !important;
}

.header--dropdown-user-name--x-user {
    color: #ef4444 !important;
}

.header--user-type {
    max-width: 100%;
    color: rgba(255, 255, 255, 0.6);
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.header--dropdown-chevron {
    display: block;
    flex: 0 0 auto;
    width: 12px;
    height: 12px;
    color: #ffffff;
    fill: currentColor;
    opacity: 1;
    transition: transform 0.2s;
}

.header--user-dropdown-trigger.active .header--dropdown-chevron {
    transform: rotate(180deg);
}

.header--dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 220px;
    background-color: var(--color-white);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 10px 20px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1000;
    overflow: hidden;
}

.header--dropdown-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header--dropdown-header {
    padding: 16px;
    background-color: #f9fafb;
}

.header--dropdown-user-name {
    display: block;
    color: var(--color-text-dark);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.header--dropdown-user-email {
    display: block;
    color: var(--color-text-muted);
    font-size: 12px;
}

.header--dropdown-divider {
    height: 1px;
    background-color: #f3f4f6;
}

.header--dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: #6a7282;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: background-color 0.15s;
    border: none;
    background: none;
    width: 100%;
    cursor: pointer;
    font-family: var(--font-family);
}

.header--dropdown-item:hover {
    background-color: #f9fafb;
}

.header--dropdown-item--highlight {
    background-color: transparent;
    color: #009966;
}

.header--dropdown-item--highlight:hover {
    background-color: #f9fafb;
}

.header--dropdown-icon {
    display: block;
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    fill: currentColor;
    opacity: 1;
}

.header--dropdown-item.header--logout-btn {
    color: #ef4444;
}

.header--dropdown-item.header--logout-btn:hover {
    background-color: #fef2f2;
}

.header--dropdown-item.header--logout-btn .header--dropdown-icon {
    color: inherit;
    opacity: 1;
}

@media (max-width: 1200px) {
    .header--container {
        padding: 0 32px;
    }
}

@media (max-width: 768px) {
    .header--site-header {
        height: auto;
    }

    .header--container {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        padding: 10px 16px;
        gap: 10px 12px;
    }

    .header--logo {
        flex: 0 0 auto;
    }

    .header--logo-image {
        height: 30px;
    }

    .header--main-nav {
        order: 5;
        flex: 1 0 100%;
        justify-content: center;
        display: flex;
        gap: 24px;
    }

    .header--nav-link {
        font-size: 13px;
    }

    .header--actions {
        gap: 10px;
    }

    .header--login-link {
        font-size: 13px;
        padding: 8px 14px;
    }

    .header--signup-btn {
        font-size: 13px;
        padding: 8px 14px;
    }

    .header--search {
        order: 10;
        flex: 1 0 100%;
        max-width: none;
        margin: 0;
        width: 100%;
    }

    .header--user-actions {
        flex: 0 0 auto;
    }

    .header--user-info {
        display: none;
    }

    .header--user-dropdown-trigger {
        padding: 6px;
    }

    .header--dropdown-chevron {
        color: var(--color-white);
        opacity: 1;
    }

    .header--admin-switch-btn {
        width: 44px;
        gap: 0;
    }

    .header--admin-switch-panel {
        width: min(320px, calc(100vw - 32px));
        max-width: none;
    }

    .header--admin-switch-label {
        display: none;
    }

    .header--guest-signup-btn {
        font-size: 13px;
        padding: 8px 14px;
    }
}

@media (max-width: 360px) {
    .header--container {
        justify-content: center;
        gap: 8px 10px;
    }

    .header--logo-image {
        height: 28px;
    }

    .header--actions,
    .header--user-actions {
        flex: 1 0 100%;
        justify-content: center;
    }
}
.footer--site-footer {
    background-color: var(--color-bg-dark);
    padding: 28px 0 12px;
}

.footer--container {
    max-width: 1431px;
    margin: 0 auto;
    padding: 0 76px;
}

.footer--main {
    display: flex;
    justify-content: space-between;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer--brand {
    max-width: 347px;
}

.footer--logo {
    height: 32px;
    width: auto;
    margin-bottom: 16px;
}

.footer--desc {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: -0.18px;
    color: rgba(255, 255, 255, 0.50);
    line-height: 1.5;
}

.footer--links,
.footer--contact {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.footer--links .footer--title {
    text-align: center;
}

.footer--links-columns {
    display: flex;
    gap: 48px;
}

.footer--links-list,
.footer--contact-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer--title {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.45px;
    color: var(--color-white);
}

.footer--links .footer--link,
.footer--contact .footer--link {
    font-size: 16px;
    font-weight: 400;
    letter-spacing: -0.18px;
    color: rgba(255, 255, 255, 0.60);
    text-decoration: none;
    transition: color 0.2s;
}

.footer--links .footer--link:hover,
.footer--contact .footer--link:hover {
    color: var(--color-white);
}

.footer--bottom {
    padding-top: 24px;
    text-align: center;
}

.footer--copyright {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: -0.18px;
    color: rgba(255, 255, 255, 0.40);
}

.footer--payment-logos {
    display: block;
    margin-top: 20px;
    max-width: 165px;
    height: auto;
    opacity: 0.7;
}

@media (max-width: 1200px) {
    .footer--container {
        padding: 0 32px;
    }
}

@media (max-width: 768px) {
    .footer--container {
        padding: 0 16px;
    }

    .footer--main {
        flex-direction: column;
        gap: 32px;
        align-items: center;
        text-align: center;
    }

    .footer--brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer--payment-logos {
        margin: 20px auto 0;
    }

    .footer--links {
        align-items: center;
    }

    .footer--links-columns {
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }

    .footer--links-list {
        align-items: center;
    }

    .footer--contact {
        align-items: center;
    }
}
:root {
    --color-primary: #009966;
    --color-primary-dark: #007a55;
    --color-primary-bright: #00bc7d;
    --color-primary-darkest: #004f3b;
    --color-bg-dark: #0f172a;
    --color-bg-dark-alt: #0f172b;
    --color-bg-page: #f9fafb;
    --color-text-dark: #101828;
    --color-text-primary: #364153;
    --color-text-secondary: #4a5565;
    --color-text-muted: #6a7282;
    --color-text-gray: #6b7280;
    --color-text-light: #99a1af;
    --color-white: #ffffff;
    --color-border: #e5e7eb;
    --color-border-light: #f3f4f6;
    --color-green-light-bg: #ecfdf5;
    --color-green-light-border: #d0fae5;
    --color-red-error: #e7000b;
    --color-blue: #6296ff;
    --color-nav-link: rgba(255, 255, 255, 0.70);

    --font-family: 'Inter', sans-serif;

    --color-test: #b54708;
    --color-test-bg: #fffaeb;
    --color-test-border: #fedf89;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    background-color: var(--color-bg-page);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.main-content {
    max-width: 1559px;
    margin: 0 auto;
    padding: 40px 140px 48px;
}

.page-header {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 40px;
}

.page-title {
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -0.75px;
    line-height: 36px;
    color: var(--color-text-dark);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
}

.breadcrumb-link {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: -0.18px;
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-link:hover {
    color: var(--color-text-dark);
}

.breadcrumb-separator {
    width: 5px;
    height: 9px;
}

.breadcrumb-current {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: -0.18px;
    color: var(--color-text-dark);
}

.step-indicator {
    display: flex;
    align-items: center;
    gap: 12px;
}

.step {
    display: flex;
    align-items: center;
    gap: 8px;
}

.step-icon {
    width: 20px;
    height: 20px;
}

.step-number {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.18px;
    color: var(--color-text-light);
    background-color: var(--color-border);
    border-radius: 50%;
}

.step.active .step-number {
    color: var(--color-white);
    background-color: var(--color-primary-bright);
}

.step-text {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -0.18px;
    color: var(--color-text-light);
}

.step.completed .step-text,
.step.active .step-text {
    color: var(--color-primary);
}

.step-line {
    flex: 1;
    height: 2px;
    background-color: var(--color-border);
}

.step-line.completed {
    background-color: var(--color-primary-bright);
}

.checkout-layout {
    display: flex;
    gap: 32px;
}

.checkout-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.checkout-card {
    background-color: var(--color-white);
    border-radius: 16px;
    border: 1px solid var(--color-border-light);
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.10), 0px 1px 3px rgba(0, 0, 0, 0.10);
    padding: 32px;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 32px;
}

.card-icon {
    width: 20px;
    height: 20px;
}

.card-icon--address,
.address-icon--delivery {
    color: var(--color-primary);
}

.card-title {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.45px;
    color: var(--color-text-dark);
}

.addresses-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.address-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.address-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.address-title-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.address-icon {
    width: 16px;
    height: 16px;
}

.address-title {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.35px;
    color: var(--color-text-dark);
}

.change-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    font-family: var(--font-family);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: -0.13px;
    color: var(--color-primary);
    cursor: pointer;
    transition: opacity 0.2s;
}

.change-btn:hover {
    opacity: 0.8;
}

.change-btn img,
.change-btn svg {
    width: 12px;
    height: 12px;
}

.address-card {
    background: linear-gradient(135deg, rgba(249, 250, 251, 1) 0%, rgba(255, 255, 255, 1) 100%);
    border: 2px solid var(--color-border);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.address-name {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.18px;
    color: var(--color-text-dark);
}

.address-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.address-details p {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: -0.18px;
    color: var(--color-text-gray);
}

.add-address-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -0.15px;
    color: var(--color-primary);
    cursor: pointer;
    transition: opacity 0.2s;
    padding: 0;
}

.add-address-btn:hover {
    opacity: 0.8;
}

.add-address-btn img,
.add-address-btn svg {
    width: 12px;
    height: 12px;
}

.payment-tabs {
    display: flex;
    gap: 12px;
    background-color: var(--color-border-light);
    border-radius: 16px;
    padding: 12px;
    margin-bottom: 32px;
}

.payment-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: none;
    border: none;
    border-radius: 10px;
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -0.15px;
    color: var(--color-text-secondary);
    cursor: pointer;
    transition: all 0.2s;
}

.payment-tab:hover {
    background-color: var(--color-white);
}

.payment-tab.active {
    background-color: var(--color-white);
    color: var(--color-primary);
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.05);
}

.payment-tab img,
.payment-tab svg {
    width: 16px;
    height: 16px;
}

.section-title {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.40px;
    color: var(--color-text-dark);
    margin-bottom: 16px;
}

.saved-cards-section {
    margin-bottom: 32px;
}

.saved-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.saved-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background-color: var(--color-white);
    border: 2px solid var(--color-border);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s;
}

.saved-card:hover {
    border-color: var(--color-text-light);
}

.saved-card.selected {
    background-color: var(--color-green-light-bg);
    border-color: var(--color-primary-bright);
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.10), 0px 4px 6px rgba(0, 0, 0, 0.10);
}

.saved-card input {
    display: none;
}

.saved-card .radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid var(--color-border);
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
}

.saved-card.selected .radio-custom {
    border-color: var(--color-primary);
}

.saved-card.selected .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background-color: var(--color-primary);
    border-radius: 50%;
}

.card-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.card-logo {
    width: 24px;
    height: 24px;
    color: var(--color-text-light);
}

.card-logo--active {
    color: var(--color-primary);
}

.card-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.card-name {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.18px;
    color: var(--color-text-dark);
}

.card-number {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: -0.18px;
    line-height: 16px;
    color: var(--color-text-muted);
}

.card-check {
    width: 20px;
    height: 20px;
}

.add-card-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.15px;
    color: var(--color-primary);
    cursor: pointer;
    transition: opacity 0.2s;
    padding: 0;
}

.add-card-btn:hover {
    opacity: 0.8;
}

.add-card-btn img,
.add-card-btn svg {
    width: 16px;
    height: 16px;
}

.card-form-section {
    padding-top: 20px;
    border-top: 1px solid var(--color-border-light);
    margin-bottom: 32px;
}

.card-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -0.18px;
    color: var(--color-text-primary);
}

.form-input {
    padding: 16px 20px;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: -0.18px;
    color: var(--color-text-dark);
    transition: border-color 0.2s;
}

.form-input::placeholder {
    color: rgba(16, 24, 40, 0.50);
}

.form-input:focus {
    outline: none;
    border-color: var(--color-primary);
}


.test-card-picker {
    padding: 16px;
    border: 1px dashed var(--color-test-border);
    border-radius: 12px;
    background: var(--color-test-bg);
}

.test-card-picker label {
    display: flex;
    align-items: center;
    gap: 8px;
}

.test-card-badge {
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--color-test);
    color: var(--color-white);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.4px;
}

.test-card-picker select {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    padding-right: 44px;
    background: var(--color-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23667085' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center;
    cursor: pointer;
}

.test-card-hint {
    font-size: 13px;
    color: var(--color-test);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.save-card-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background-color: var(--color-bg-page);
    border-radius: 16px;
    cursor: pointer;
}

.save-card-checkbox input {
    display: none;
}

.save-card-checkbox .checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid var(--color-border);
    border-radius: 6px;
    flex-shrink: 0;
    position: relative;
}

.save-card-checkbox input:checked+.checkbox-custom {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.save-card-checkbox input:checked+.checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--color-white);
    font-size: 12px;
    font-weight: bold;
}

.checkbox-label {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -0.18px;
    color: var(--color-text-primary);
}

.eft-section {
    padding-top: 20px;
    border-top: 1px solid var(--color-border-light);
}

.eft-bank-card {
    background: #f8fafc;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 24px;
    margin-top: 16px;
}

.eft-bank-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--color-border-light);
    margin-bottom: 20px;
}

.eft-bank-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 10px;
}

.eft-bank-name {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.eft-bank-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-text-dark);
}

.eft-bank-branch {
    font-size: 13px;
    color: var(--color-text-muted);
}

.eft-bank-details {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.eft-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}

.eft-detail-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-muted);
    min-width: 100px;
    flex-shrink: 0;
}

.eft-detail-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-dark);
    text-align: right;
}

.eft-iban-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.eft-iban {
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
    font-size: 13px;
}

.eft-copy-btn {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 6px 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
    font-size: 14px;
    line-height: 1;
}

.eft-copy-btn:hover {
    background: #f0fdf4;
    border-color: var(--color-primary-bright);
}

.eft-copy-btn img,
.eft-copy-btn svg {
    width: 16px;
    height: 16px;
}

.wallet-split {
    margin-bottom: 24px;
    background-color: var(--color-white);
    border: 2px solid var(--color-border);
    border-radius: 16px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.wallet-split:has(.wallet-split-switch:checked) {
    border-color: var(--color-primary-bright);
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.06), 0px 4px 6px rgba(0, 0, 0, 0.06);
}

.wallet-split-toggle {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    cursor: pointer;
}

.wallet-split-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 12px;
    background-color: var(--color-green-light-bg);
    color: var(--color-primary);
}

.wallet-split-icon svg {
    width: 20px;
    height: 20px;
}

.wallet-split-copy {
    display: flex;
    flex: 1;
    min-width: 0;
    flex-direction: column;
    gap: 2px;
}

.wallet-split-title {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.2px;
    color: var(--color-text-dark);
}

.wallet-split-balance {
    font-size: 13px;
    color: var(--color-text-muted);
}

.wallet-split-balance strong {
    white-space: nowrap;
    font-weight: 600;
    color: var(--color-text-dark);
    font-variant-numeric: tabular-nums;
}

.wallet-split-switch {
    appearance: none;
    position: relative;
    width: 44px;
    height: 24px;
    margin: 0;
    flex-shrink: 0;
    border-radius: 999px;
    background-color: var(--color-border);
    cursor: pointer;
    transition: background-color 0.2s;
}

.wallet-split-switch::before {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: var(--color-white);
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.2);
    transition: transform 0.2s ease-out;
}

.wallet-split-switch:checked {
    background-color: var(--color-primary);
}

.wallet-split-switch:checked::before {
    transform: translateX(20px);
}

.wallet-split-switch:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.wallet-split-amount {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px 20px 18px;
    border-top: 1px solid var(--color-border-light);
}

.wallet-split:not(:has(.wallet-split-switch:checked)) .wallet-split-amount {
    display: none;
}

.wallet-split-input {
    position: relative;
    max-width: 240px;
}

.wallet-split-input .form-input {
    width: 100%;
    padding-right: 40px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    appearance: textfield;
    -moz-appearance: textfield;
}

.wallet-split-input .form-input::-webkit-outer-spin-button,
.wallet-split-input .form-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.wallet-split-input .form-input:invalid {
    border-color: var(--color-red-error);
}

.wallet-split-currency {
    position: absolute;
    top: 50%;
    right: 18px;
    transform: translateY(-50%);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-muted);
    pointer-events: none;
}

.wallet-split-breakdown {
    margin: 0;
    font-size: 13px;
    color: var(--color-text-secondary);
    font-variant-numeric: tabular-nums;
}

@media (max-width: 768px) {
    .wallet-split-toggle {
        padding: 16px;
        gap: 12px;
    }

    .wallet-split-amount {
        padding: 14px 16px 16px;
    }

    .wallet-split-input {
        max-width: none;
    }
}

@media (max-width: 480px) {
    .wallet-split-toggle {
        padding: 14px;
    }

    .wallet-split-icon {
        display: none;
    }

    .wallet-split-title {
        font-size: 14px;
    }

    .wallet-split-amount {
        padding: 12px 14px 14px;
    }
}

.eft-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 20px;
    padding: 14px 16px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 10px;
    font-size: 13px;
    color: #92400e;
    line-height: 1.5;
}

.eft-notice svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 1px;
    fill: currentColor;
}

.installment-section {
    padding-top: 20px;
    border-top: 1px solid var(--color-border-light);
}

.installment-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.installment-option {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background-color: var(--color-white);
    border: 2px solid var(--color-border);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s;
}

.installment-option:hover {
    border-color: var(--color-text-light);
}

.installment-option.selected {
    border-color: var(--color-primary-bright);
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.10), 0px 4px 6px rgba(0, 0, 0, 0.10);
}

.installment-radio {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    cursor: pointer;
    accent-color: #000;
    -webkit-appearance: none;
    appearance: none;
    border: 2px solid #9ca3af;
    border-radius: 50%;
    background: #fff;
    margin: 0;
    position: relative;
}

.installment-radio:checked {
    border-color: #000;
    background: #fff;
}

.installment-radio:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #000;
}

.installment-name {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.18px;
    color: var(--color-text-dark);
    flex: 1;
}

.installment-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.installment-monthly {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: -0.18px;
    color: var(--color-text-muted);
}

.installment-price {
    display: flex;
    align-items: center;
    gap: 12px;
}

.badge {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: -0.18px;
    color: var(--color-primary);
    padding: 4px 12px;
    background-color: var(--color-green-light-bg);
    border-radius: 20px;
}

.price {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.18px;
    color: var(--color-text-dark);
}

.order-summary {
    width: 368px;
    flex-shrink: 0;
    background-color: var(--color-white);
    border-radius: 16px;
    border: 1px solid var(--color-border-light);
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.10), 0px 10px 15px rgba(0, 0, 0, 0.10);
    overflow: hidden;
    height: fit-content;
}

.summary-header {
    background-color: var(--color-primary);
    padding: 20px 24px;
}

.summary-title {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.45px;
    color: var(--color-white);
}

.summary-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.summary-total-section {
    text-align: center;
}

.product-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: var(--color-green-light-bg);
    border-radius: 9999px;
    margin-bottom: 16px;
}

.product-badge img,
.product-badge svg {
    width: 16px;
    height: 16px;
}

.product-badge span {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: -0.18px;
    color: var(--color-primary-dark);
}

.total-label {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: -0.18px;
    color: var(--color-text-secondary);
    margin-bottom: 8px;
}

.total-amount {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -0.18px;
    line-height: 48px;
    background: linear-gradient(90deg, rgba(0, 188, 125, 1) 0%, rgba(0, 153, 102, 1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.vat-text {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: -0.18px;
    color: var(--color-text-muted);
}

.checkout-summary-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px 0;
    border-top: 1px solid var(--color-border);
}

.checkout-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--color-text-secondary);
}

.checkout-summary-row.discount span:last-child {
    color: var(--color-primary);
    font-weight: 600;
}

.checkout-order-summary .summary-header {
    padding: 24px 24px 0;
    background-color: var(--color-white);
}

.checkout-order-summary .summary-title {
    font-weight: 500;
    color: var(--color-text-dark);
}

.summary-count {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--color-border-light);
    font-size: 14px;
    color: var(--color-text-secondary);
}

.summary-count svg {
    width: 16px;
    height: 16px;
}

.checkout-order-summary .checkout-summary-details {
    padding: 0;
    border-top: 0;
}

.checkout-order-summary .checkout-summary-row {
    align-items: center;
    font-size: 14px;
}

.checkout-savings {
    margin: 0 -10px;
}

.checkout-savings > summary {
    list-style: none;
    padding: 8px 10px;
    border-radius: 10px;
    background-color: var(--color-green-light-bg);
    cursor: pointer;
}

.checkout-savings > summary::-webkit-details-marker {
    display: none;
}

.checkout-savings > summary span:first-child {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
    color: var(--color-primary-dark);
}

.checkout-savings > summary svg {
    width: 12px;
    height: 12px;
    transition: transform 0.2s;
}

.checkout-savings[open] > summary svg {
    transform: rotate(180deg);
}

.checkout-savings-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 8px 10px 0;
}

.checkout-savings-list .checkout-summary-row {
    font-size: 13px;
}

.checkout-savings-list .checkout-summary-row span:first-child {
    min-width: 0;
    padding-right: 12px;
    overflow-wrap: anywhere;
}

.checkout-savings-list .checkout-summary-row span:last-child {
    color: var(--color-primary);
    font-weight: 600;
}

.checkout-summary-note {
    display: block;
    font-size: 12px;
    color: var(--color-text-light);
}

.checkout-shipping-value {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.checkout-shipping-value s {
    font-size: 12px;
    color: var(--color-text-light);
}

.checkout-free-badge {
    padding: 2px 8px;
    border-radius: 6px;
    background-color: var(--color-primary);
    font-size: 12px;
    font-weight: 700;
    color: var(--color-white);
}

.summary-grand-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--color-border-light);
}

.summary-grand-total .total-label {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text-dark);
}

.summary-grand-total .total-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.summary-grand-total .total-amount {
    margin: 0;
    font-size: 22px;
    line-height: 28px;
}

.summary-grand-total .vat-text {
    font-size: 11px;
}

.checkout-summary-row.total {
    font-weight: 600;
    color: var(--color-text-dark);
    padding-top: 8px;
    border-top: 1px solid var(--color-border);
    font-size: 14px;
}

.wallet-balance-card {
    margin-bottom: 0;
}

.wallet-insufficient {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-top: 12px;
    padding: 14px 16px;
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 12px;
}

.wallet-insufficient[hidden] {
    display: none;
}

.wallet-insufficient-text {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: #b91c1c;
}

.wallet-insufficient-text svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 2px;
}

.wallet-insufficient-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background-color: var(--color-white);
    border: 1px solid var(--color-primary);
    border-radius: 8px;
    font-family: var(--font-family);
    font-size: 13px;
    white-space: nowrap;
    font-weight: 600;
    color: var(--color-primary-dark);
    cursor: pointer;
    transition: background-color 0.2s;
}

.wallet-insufficient-btn:hover {
    background-color: var(--color-green-light-bg);
}

.wallet-insufficient-btn:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.wallet-insufficient-btn svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

@media (max-width: 340px) {
    .wallet-insufficient-btn {
        white-space: normal;
    }
}

.eft-amount {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 24px;
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 16px;
}

.eft-amount[hidden],
.eft-bank-card[hidden] {
    display: none;
}

.eft-amount.is-covered .eft-copy-btn {
    display: none;
}

.eft-amount.is-covered .eft-amount-value {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.2px;
}

.eft-amount-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.eft-amount-label {
    font-size: 13px;
    color: var(--color-text-muted);
}

.eft-amount-value {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.3px;
    color: var(--color-text-dark);
    font-variant-numeric: tabular-nums;
}

.card-charge-note {
    margin: -8px 0 16px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--color-text-secondary);
}

.card-charge-note[hidden] {
    display: none;
}

@media (max-width: 480px) {
    .eft-amount {
        padding: 16px;
    }
}

.checkout-summary-wallet {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: -4px;
    padding-bottom: 16px;
}

.checkout-summary-wallet[hidden] {
    display: none;
}

.checkout-summary-row.wallet span:last-child {
    font-variant-numeric: tabular-nums;
}

.checkout-summary-row.payable {
    padding-top: 8px;
    border-top: 1px dashed var(--color-border);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-dark);
}

.checkout-summary-row.payable span:last-child {
    color: var(--color-primary-dark);
    font-variant-numeric: tabular-nums;
}

.company-limit-section {
    padding-top: 20px;
    border-top: 1px solid var(--color-border-light);
}

.company-limit-section .risk-limit-section {
    margin-top: 16px;
}

.risk-limit-section {
    background: linear-gradient(135deg, rgba(249, 250, 251, 1) 0%, rgba(255, 255, 255, 1) 100%);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.limit-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.limit-label {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: -0.18px;
    color: var(--color-text-secondary);
}

.limit-value {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.18px;
    line-height: 20px;
    color: var(--color-text-dark);
}

.limit-value.available {
    color: var(--color-primary);
}

.limit-bar {
    height: 8px;
    background-color: var(--color-border);
    border-radius: 9999px;
    overflow: hidden;
}

.limit-progress {
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 212, 146, 1) 0%, rgba(0, 153, 102, 1) 100%);
    border-radius: 9999px;
}

.summary-consents {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.terms-checkbox {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.terms-checkbox input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.terms-checkbox .checkbox-custom {
    width: 18px;
    height: 18px;
    border: 1.5px solid var(--color-border-dark, #d1d5db);
    border-radius: 5px;
    background-color: var(--color-white);
    flex-shrink: 0;
    margin-top: 3px;
    position: relative;
    transition: border-color 0.15s, background-color 0.15s;
}

.terms-checkbox:hover .checkbox-custom {
    border-color: var(--color-primary);
}

.terms-checkbox input:focus-visible + .checkbox-custom {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.terms-checkbox .checkbox-custom svg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    color: var(--color-white);
    stroke: currentColor;
    stroke-width: 18px;
    stroke-linejoin: round;
    transform: translate(-50%, -50%);
    opacity: 0;
}

.terms-checkbox input:checked + .checkbox-custom {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.terms-checkbox input:checked + .checkbox-custom svg {
    opacity: 1;
}

.terms-text {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: -0.18px;
    color: var(--color-text-secondary);
    line-height: 20px;
}

.terms-required {
    margin-left: 2px;
    font-size: 12px;
    font-weight: 600;
    color: #dc2626;
    white-space: nowrap;
}

.urgent-checkbox .terms-text.urgent-text {
    color: var(--color-text-dark);
    font-weight: 600;
}

.urgent-checkbox .urgent-text-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.urgent-checkbox .urgent-subtext {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: -0.18px;
    line-height: 1.45;
    color: var(--color-text-muted);
}

.terms-link {
    display: inline;
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    font-weight: 500;
    color: var(--color-text-dark);
    text-decoration: underline;
    text-decoration-color: var(--color-border-dark, #d1d5db);
    text-underline-offset: 3px;
    cursor: pointer;
}

.terms-link:hover {
    color: var(--color-primary-dark);
    text-decoration-color: currentColor;
}

.terms-link:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
    border-radius: 2px;
}

.terms-dialog {
    width: min(560px, calc(100vw - 32px));
    margin: auto;
    max-height: calc(100dvh - 48px);
    padding: 0;
    border: 0;
    border-radius: 16px;
    background-color: var(--color-white);
    box-shadow: 0 20px 48px rgba(16, 24, 40, 0.2);
    overflow: hidden;
}

.terms-dialog[open] {
    display: flex;
    flex-direction: column;
}

.terms-dialog::backdrop {
    background-color: rgba(15, 23, 42, 0.5);
}

.terms-dialog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px 12px;
}

.terms-dialog-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text-dark);
}

.terms-dialog-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 8px;
    background: none;
    color: var(--color-text-muted);
    cursor: pointer;
}

.terms-dialog-close:hover,
.terms-dialog-close:focus-visible {
    outline: none;
    background-color: var(--color-border-light);
    color: var(--color-text-dark);
}

.terms-dialog-close svg {
    width: 18px;
    height: 18px;
}

.terms-dialog-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 4px 24px 20px;
    overflow-y: auto;
}

.terms-dialog-section-title {
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-dark);
}

.terms-dialog-text {
    max-height: 240px;
    padding: 16px;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    background-color: var(--color-bg-page);
    overflow-y: auto;
}

.terms-dialog-text:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.terms-dialog-text h3 {
    margin: 16px 0 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-dark);
}

.terms-dialog-text h3:first-child {
    margin-top: 0;
}

.terms-dialog-text p {
    margin: 0 0 8px;
    font-size: 13px;
    line-height: 1.6;
    color: var(--color-text-primary);
}

.terms-dialog-text h4 {
    margin: 12px 0 4px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-dark);
}

.terms-dialog-text ul,
.terms-dialog-text ol {
    margin: 0 0 8px;
    padding-left: 18px;
}

.terms-dialog-text li {
    margin-bottom: 4px;
    font-size: 13px;
    line-height: 1.6;
    color: var(--color-text-primary);
}

.terms-dialog-text strong {
    font-weight: 600;
    color: var(--color-text-dark);
}

.terms-dialog-loading {
    padding: 24px 0;
    font-size: 14px;
    color: var(--color-text-muted);
    text-align: center;
}

.terms-dialog-footer {
    padding: 16px 24px 20px;
    border-top: 1px solid var(--color-border-light);
}

.terms-dialog-accept {
    width: 100%;
    height: 48px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(90deg, rgba(0, 188, 125, 1) 0%, rgba(0, 153, 102, 1) 100%);
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    color: var(--color-white);
    cursor: pointer;
}

.terms-dialog-accept:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

@media (max-width: 480px) {
    .terms-dialog {
        width: calc(100vw - 24px);
        max-height: calc(100dvh - 32px);
    }

    .terms-dialog-header {
        padding: 16px 16px 12px;
        border-bottom: 1px solid var(--color-border-light);
    }

    .terms-dialog-body {
        gap: 16px;
        padding: 16px;
    }

    .terms-dialog-text {
        max-height: 26dvh;
        padding: 12px;
    }

    .terms-dialog-footer {
        padding: 12px 16px 16px;
    }
}

.payment-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 20px 24px;
    background-color: var(--color-bg-dark-alt);
    border: none;
    border-radius: 16px;
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.18px;
    color: var(--color-white);
    cursor: pointer;
    transition: background-color 0.2s;
}

.payment-btn:hover {
    background-color: #1e293b;
}

.payment-btn:disabled {
    background-color: #9ca3af;
    cursor: not-allowed;
}

.payment-btn:disabled:hover {
    background-color: #9ca3af;
}

.payment-btn img,
.payment-btn svg {
    width: 20px;
    height: 20px;
}

.payment-blocker-message {
    margin: -8px 0 0;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid #fecaca;
    background: #fef2f2;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    color: #dc2626;
}

.payment-blocker-link {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
    white-space: nowrap;
}

.payment-blocker-link:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
    border-radius: 2px;
}

.ssl-section {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background-color: var(--color-green-light-bg);
    border: 1px solid var(--color-green-light-border);
    border-radius: 16px;
}

.ssl-icon {
    width: 15px;
    height: 18px;
}

.ssl-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ssl-title {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: -0.18px;
    color: var(--color-primary-darkest);
}

.ssl-desc {
    font-size: 10px;
    font-weight: 400;
    letter-spacing: -0.18px;
    color: var(--color-primary-dark);
}

@media (max-width: 1400px) {

    .main-content {
        padding-left: 76px;
        padding-right: 76px;
    }
}

@media (max-width: 1200px) {

    .main-content {
        padding-left: 32px;
        padding-right: 32px;
    }

    .checkout-layout {
        flex-direction: column;
    }

    .order-summary {
        width: 100%;
    }

    .addresses-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .step-indicator {
        flex-wrap: wrap;
    }

    .step-line {
        display: none;
    }

    .payment-tabs {
        flex-direction: column;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .total-amount {
        font-size: 36px;
        line-height: 40px;
    }

    .eft-bank-card {
        padding: 16px;
    }

    .eft-detail-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .eft-detail-value {
        text-align: left;
    }

    .eft-iban-group {
        flex-wrap: wrap;
    }

    .installment-option {
        padding: 14px 12px;
        gap: 10px;
    }

    .installment-name {
        font-size: 13px;
        flex: 0 0 auto;
    }

    .installment-price {
        gap: 8px;
    }

    .badge {
        padding: 3px 8px;
        font-size: 10px;
    }

    .price {
        font-size: 14px;
    }

    .installment-monthly {
        font-size: 11px;
    }
}
