.checkout-page {
    background:
        radial-gradient(ellipse at 8% 14%, rgba(115, 166, 231, 0.22), transparent 35%),
        radial-gradient(ellipse at 94% 42%, rgba(73, 193, 190, 0.15), transparent 32%),
        linear-gradient(145deg, #f4f8fd 0%, #edf3fa 52%, #f2f7f8 100%);
}

.contact-page {
    min-height: 100vh;
    background:
        radial-gradient(ellipse at 5% 8%, rgba(255, 171, 105, 0.26), transparent 30%),
        radial-gradient(ellipse at 95% 22%, rgba(48, 177, 194, 0.2), transparent 32%),
        radial-gradient(ellipse at 78% 96%, rgba(99, 131, 224, 0.14), transparent 34%),
        linear-gradient(140deg, #fdf7f0 0%, #f2f6fb 48%, #edf8f7 100%);
}

.contact-header {
    position: static;
    padding: 18px max(4%, calc((100% - 1180px) / 2));
    border-bottom: 1px solid rgba(212, 225, 238, 0);
    background: rgba(255, 255, 255, 0);
    backdrop-filter: blur(14px);
}

.contact-header .header-brand {
    color: var(--text-dark);
    text-decoration: none;
}

.contact-layout {
    position: relative;
    width: min(1080px, calc(100% - 40px));
    margin: 42px auto 76px;
}

.contact-heading {
    position: relative;
    margin-bottom: 30px;
    padding: clamp(30px, 6vw, 58px);
    overflow: hidden;
    border: 1px solid rgba(212, 231, 238, 0.7);
    border-radius: 30px;
    background:
        radial-gradient(ellipse at 86% 22%, rgba(120, 226, 205, 0.3), transparent 35%),
        radial-gradient(ellipse at 10% 110%, rgba(255, 170, 105, 0.2), transparent 36%),
        linear-gradient(120deg, #123f57 0%, #17627b 54%, #218b91 100%);
    box-shadow: 0 24px 55px rgba(28, 73, 101, 0.2);
}

.contact-heading::after {
    position: absolute;
    right: -40px;
    bottom: -155px;
    width: 360px;
    height: 360px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    box-shadow:
        0 0 0 28px rgba(255, 255, 255, 0.035),
        0 0 0 58px rgba(255, 255, 255, 0.03);
    content: "";
    pointer-events: none;
}

.contact-heading .checkout-eyebrow {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    padding: 7px 12px;
    border: 1px solid rgba(208, 247, 235, 0.28);
    border-radius: 999px;
    background: rgba(217, 255, 242, 0.12);
    color: #c1f3df;
}

.contact-heading .checkout-eyebrow::before {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #b7ef87;
    box-shadow: 0 0 12px rgba(183, 239, 135, 0.75);
    content: "";
}

.contact-heading h1 {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #fff;
    font-size: clamp(2.4rem, 6vw, 4rem);
    letter-spacing: -0.05em;
    line-height: 1.05;
}

.contact-heading > p:last-child {
    position: relative;
    z-index: 1;
    max-width: 470px;
    margin: 14px 0 0;
    color: rgba(241, 250, 255, 0.82);
    font-size: 1.08rem;
    line-height: 1.65;
}

.contact-location-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: 210px;
    padding: clamp(24px, 4vw, 38px);
    overflow: hidden;
    border: 1px solid rgba(210, 224, 237, 0.95);
    border-radius: 24px;
    background:
        radial-gradient(ellipse at 100% 0%, rgba(255, 193, 134, 0.19), transparent 35%),
        linear-gradient(140deg, #fff 0%, #f7fbff 60%, #f0fbf8 100%);
    box-shadow: 0 18px 42px rgba(33, 69, 103, 0.1);
}

.contact-location-card::after {
    position: absolute;
    top: -60px;
    right: -55px;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(42, 168, 177, 0.1), rgba(255, 161, 98, 0.12));
    content: "";
    pointer-events: none;
}

.contact-location-card::before {
    background: linear-gradient(90deg, #ed8a52, #32b6ad 55%, #758be1);
}

.contact-location-card .checkout-card-icon {
    position: relative;
    z-index: 1;
    display: inline-grid;
    width: 76px;
    height: 76px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid #d6efeb;
    border-radius: 24px;
    background: linear-gradient(145deg, #e1fbf2, #d9f0fa);
    color: #138a85;
    font-size: 1.7rem;
    box-shadow: 0 10px 24px rgba(27, 139, 137, 0.13);
}

.contact-location-card h2 {
    margin: 0 0 8px;
    color: #1d3855;
    font-size: clamp(1.35rem, 3vw, 1.7rem);
    letter-spacing: -0.025em;
}

.contact-location-card address {
    margin-bottom: 21px;
    color: #657b91;
    font-size: 1.05rem;
    font-style: normal;
    line-height: 1.65;
}

.checkout-submit.contact-map-link {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-height: 48px;
    padding: 11px 20px;
    border: 0;
    border-radius: 13px;
    background: linear-gradient(120deg, #e9804b, #d96943 65%, #b94e4a);
    box-shadow: 0 8px 18px rgba(191, 83, 58, 0.2);
    color: #fff;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.checkout-submit.contact-map-link:hover {
    filter: brightness(1.05);
    box-shadow: 0 12px 24px rgba(191, 83, 58, 0.26);
    transform: translateY(-2px);
}

.contact-channels {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 20px;
}

.contact-channel-card {
    min-height: 170px;
}

.contact-channel-card h2 {
    margin-bottom: 5px;
}

.contact-channel-card > .checkout-card-content > span {
    position: relative;
    z-index: 1;
    color: #176b70;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.contact-channel-card .contact-email {
    font-size: clamp(0.82rem, 1.35vw, 1rem);
    white-space: nowrap;
}

@media (max-width: 480px) {
    .contact-layout {
        margin-top: 24px;
    }

    .contact-heading {
        border-radius: 23px;
    }

    .contact-location-card {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
        border-radius: 20px;
    }

    .contact-location-card .checkout-card-icon {
        width: 62px;
        height: 62px;
        border-radius: 19px;
        font-size: 1.4rem;
    }

    .checkout-submit.contact-map-link {
        width: 100%;
    }

    .contact-channels {
        grid-template-columns: 1fr;
    }
}

.checkout-header {
    position: static;
    padding-bottom: 20px;
}

.checkout-header .header-brand {
    color: var(--text-dark);
    text-decoration: none;
}

.checkout-step {
    padding: 8px 13px;
    border: 1px solid #d4e2f2;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    color: #285a91;
    font-size: 0.88rem;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(32, 48, 69, 0.05);
}

.checkout-layout {
    width: min(1120px, calc(100% - 40px));
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(310px, 0.85fr);
    gap: 22px;
    align-items: start;
    margin: 12px auto 64px;
}

.checkout-page-heading {
    grid-column: 1 / -1;
}

.checkout-layout > .checkout-message {
    grid-column: 1 / -1;
}

.checkout-left-column {
    display: grid;
    min-width: 0;
    gap: 18px;
}

.checkout-page-heading {
    padding: 6px 4px 4px;
}

.checkout-page-heading h1 {
    margin: 0;
    color: #192f4a;
    font-size: clamp(2rem, 4vw, 2.6rem);
    letter-spacing: -0.035em;
}

.checkout-page-heading .checkout-eyebrow {
    margin-bottom: 7px;
    color: #2873b8;
}

.checkout-page-heading .checkout-lead {
    margin: 8px 0 0;
    color: #63788f;
}

.checkout-card {
    position: relative;
    min-width: 0;
    padding: clamp(20px, 3vw, 28px);
    overflow: hidden;
    border: 1px solid rgba(211, 225, 241, 0.95);
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 255, 0.98));
    box-shadow:
        0 16px 38px rgba(32, 70, 112, 0.085),
        0 2px 6px rgba(32, 70, 112, 0.04);
}

.checkout-card::before {
    position: absolute;
    top: 0;
    right: 22px;
    left: 22px;
    height: 3px;
    border-radius: 0 0 5px 5px;
    background: linear-gradient(90deg, #2867b2, #35a8c7 62%, #70d5c8);
    content: "";
}

.checkout-details-card,
.checkout-payment-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.checkout-card-icon {
    display: inline-grid;
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid #d6e5f4;
    border-radius: 13px;
    background: linear-gradient(145deg, #e8f3ff, #dcecff);
    color: #2867a8;
    font-size: 0.8rem;
    font-weight: 900;
}

.checkout-card-content {
    min-width: 0;
    flex: 1;
}

.checkout-card-kicker {
    margin: 0 0 5px;
    color: #64809c;
    font-size: 0.69rem;
    font-weight: 900;
    letter-spacing: 0.13em;
}

.checkout-card-content h2,
.checkout-summary-heading h2 {
    margin: 0 0 14px;
    color: #203a57;
    font-size: 1.15rem;
    letter-spacing: -0.015em;
}

.checkout-message {
    margin: 0;
}

.checkout-eyebrow {
    margin: 0 0 6px;
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.15em;
}

.checkout-main h1 {
    margin: 0;
    color: var(--text-dark);
    font-size: clamp(2rem, 4vw, 2.6rem);
}

.checkout-lead {
    margin: 8px 0 26px;
    color: var(--text-muted);
}

.customer-summary {
    margin: 0;
}

.customer-summary div {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 12px;
    padding: 11px 12px;
    border-bottom: 1px solid #e6eef7;
    background: rgba(242, 247, 253, 0.76);
}

.customer-summary div:first-child {
    border-radius: 10px 10px 0 0;
}

.customer-summary div:last-child {
    border-bottom: 0;
    border-radius: 0 0 10px 10px;
}

.customer-summary dt {
    color: #6d8299;
    font-size: 0.9rem;
}

.customer-summary dd {
    margin: 0;
    overflow-wrap: anywhere;
    color: #294564;
    font-weight: 700;
}

.checkout-edit-note,
.payment-note {
    color: #71859b;
    font-size: 0.82rem;
}

.checkout-edit-note {
    margin: 14px 0 0;
}

.order-item {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 0;
    border-bottom: 1px solid #edf1f6;
}

.order-item h3 {
    margin: 0;
    font-size: 1rem;
}

.order-item p {
    margin: 5px 0 0;
    color: var(--text-muted);
    font-size: 0.88rem;
}

.order-item > strong {
    white-space: nowrap;
}

.checkout-total {
    display: flex;
    justify-content: space-between;
    margin-top: 18px;
    font-size: 1.1rem;
}

.checkout-total strong {
    color: #111827;
    font-size: 1.35rem;
}

.payment-options {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    border: 0;
}

.payment-options legend {
    margin-bottom: 14px;
    color: #294564;
    font-size: 1.15rem;
    font-weight: 800;
}

.payment-option {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px;
    border: 1px solid #dce7f2;
    border-radius: 14px;
    background: linear-gradient(130deg, #fbfdff, #f6faff);
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.payment-option:hover {
    border-color: #a9c8e6;
    background: #f2f8ff;
}

.payment-option:has(input:checked) {
    border-color: #438bd0;
    background: linear-gradient(120deg, #eef7ff, #effbfb);
    box-shadow: inset 0 0 0 1px rgba(40, 103, 178, 0.1);
}

.payment-option input {
    margin-top: 4px;
    accent-color: #2873b8;
}

.payment-option strong {
    color: #294564;
}

.payment-option span {
    display: grid;
    gap: 3px;
}

.payment-option small {
    color: #6f849b;
}

.payment-note {
    margin: 12px 0 0;
}

.checkout-submit {
    width: 100%;
    min-height: 50px;
    margin-top: 20px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(115deg, #2873c5, #174b91 70%, #147d91);
    box-shadow: 0 8px 18px rgba(33, 101, 169, 0.22);
    color: #fff;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.checkout-submit:hover {
    filter: brightness(1.06);
    box-shadow: 0 11px 22px rgba(33, 101, 169, 0.27);
    transform: translateY(-1px);
}

.payment-option input:disabled {
    cursor: not-allowed;
}

.checkout-summary-card {
    position: sticky;
    top: 22px;
    padding: clamp(20px, 3vw, 28px);
    background: linear-gradient(155deg, #fff 0%, #f6faff 58%, #eff8fa 100%);
}

.checkout-summary-card::before {
    background: linear-gradient(90deg, #2465b4, #29a8c6 60%, #6bd5c6);
}

.checkout-summary-heading {
    display: flex;
    align-items: center;
    gap: 13px;
    padding-bottom: 18px;
    border-bottom: 1px solid #e1eaf4;
}

.checkout-summary-heading .checkout-card-icon {
    border-color: #d9e9f1;
    background: linear-gradient(145deg, #e8f8fb, #dff2f5);
    color: #25849b;
}

.checkout-summary-heading .checkout-card-kicker {
    margin-bottom: 4px;
    color: #438398;
}

.checkout-summary-heading h2 {
    margin: 0;
}

.checkout-summary-count {
    margin: 16px 0 4px;
    color: #6d8299;
    font-size: 0.83rem;
    font-weight: 700;
}

.checkout-summary-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 15px 0;
    border-bottom: 1px solid #e6edf5;
}

.checkout-summary-image {
    width: 58px;
    height: 58px;
    flex: 0 0 auto;
    object-fit: contain;
    border: 1px solid #dfe9f1;
    border-radius: 12px;
    background: #edf4f7;
}

.checkout-summary-item > div {
    min-width: 0;
    flex: 1;
}

.checkout-summary-item h3 {
    margin: 0;
    color: #29435f;
    font-size: 0.94rem;
    line-height: 1.4;
}

.checkout-summary-item p {
    margin: 5px 0 0;
    color: #6d8299;
    font-size: 0.83rem;
}

.checkout-summary-item > strong {
    color: #294564;
    font-size: 0.92rem;
    white-space: nowrap;
}

.checkout-summary-total {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #dce7f1;
}

.checkout-summary-total span {
    color: #71859b;
    font-size: 0.9rem;
}

.checkout-summary-total strong {
    color: #1d5b9c;
    font-size: 1.25rem;
    white-space: nowrap;
}

.checkout-summary-empty {
    margin: 20px 0;
    padding: 18px;
    border: 1px dashed #bfd2e5;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.65);
    color: #71859b;
    line-height: 1.55;
}

.checkout-continue-link {
    display: inline-block;
    margin-top: 18px;
    color: #2873b8;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
}

.checkout-continue-link:hover {
    text-decoration: underline;
}

.checkout-message {
    padding: 13px 15px;
    border-radius: 10px;
}

.checkout-message.error {
    border: 1px solid #fecaca;
    background: #fff1f2;
    color: #b42318;
}

.checkout-aside {
    background: linear-gradient(155deg, #fff, #eff5ff);
}

.checkout-aside-icon {
    display: inline-grid;
    width: 52px;
    height: 52px;
    place-items: center;
    border-radius: 16px;
    background: #e3edff;
    font-size: 1.6rem;
}

.checkout-aside h2 {
    margin: 16px 0 6px;
}

.checkout-aside p {
    color: var(--text-muted);
}

.checkout-aside a {
    display: inline-block;
    margin-top: 10px;
    color: var(--sidebar-bg);
    font-weight: 700;
    text-decoration: none;
}

.orders-page {
    background:
        radial-gradient(ellipse at 8% 12%, rgba(93, 157, 216, 0.19), transparent 34%),
        radial-gradient(ellipse at 93% 42%, rgba(68, 182, 184, 0.13), transparent 31%),
        linear-gradient(145deg, #f5f8fc 0%, #edf3f9 54%, #f1f7f7 100%);
}

.orders-header {
    position: relative;
    background: transparent;
}

.orders-header .header-brand {
    color: var(--text-dark);
    text-decoration: none;
}

.orders-shop-link {
    padding: 10px 15px;
    border: 1px solid #d9e6f1;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.88);
    color: #245b91;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 5px 14px rgba(27, 61, 94, 0.08);
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.orders-shop-link:hover {
    border-color: #b9d3e8;
    background: #f3f9ff;
    color: #174b7a;
    transform: translateY(-1px);
}

.orders-layout {
    width: min(1000px, calc(100% - 40px));
    margin: 18px auto 64px;
}

.orders-heading {
    margin: 0 0 22px;
    padding: 8px 4px 4px;
}

.orders-heading .checkout-eyebrow {
    color: #2583a7;
}

.orders-heading h1 {
    margin: 0;
    color: #1b3049;
    font-size: clamp(2rem, 4vw, 2.6rem);
    letter-spacing: -0.035em;
}

.orders-heading > p:last-child {
    margin: 8px 0 0;
    color: #657b91;
}

.order-status-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: -4px 0 20px;
}

.order-status-filter {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 8px 13px;
    border: 1px solid #d6e5e3;
    border-radius: 999px;
    background: #fff;
    color: #476276;
    font: inherit;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.order-status-filter > span {
    display: inline-grid;
    min-width: 22px;
    height: 22px;
    place-items: center;
    padding: 0 5px;
    border-radius: 999px;
    background: #edf3f3;
    color: #526b7e;
    font-size: 0.76rem;
}

.order-status-filter:hover {
    border-color: #9dcac2;
    background: #f5fbf9;
}

.order-status-filter.active {
    border-color: #176f70;
    background: #176f70;
    color: #fff;
}

.order-status-filter.active > span {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.order-status-filter:focus-visible {
    outline: 3px solid rgba(42, 168, 183, 0.35);
    outline-offset: 2px;
}

.orders-filter-empty {
    margin: 0 0 18px;
    padding: 22px;
    border: 1px dashed #cbdad8;
    border-radius: 14px;
    color: #657b91;
    text-align: center;
}

.orders-list {
    display: grid;
    gap: 18px;
}

.order-history-card {
    position: relative;
    overflow: hidden;
    border: 1px solid #dce7f1;
    border-radius: 18px;
    background: linear-gradient(145deg, #fff, #f9fcff);
    box-shadow:
        0 12px 30px rgba(27, 61, 94, 0.075),
        0 2px 6px rgba(27, 61, 94, 0.035);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.order-history-card::before {
    position: absolute;
    top: 0;
    right: 22px;
    left: 22px;
    height: 3px;
    border-radius: 0 0 5px 5px;
    background: linear-gradient(90deg, #2873b8, #2aa8b7 65%, #70cdbb);
    content: "";
}

.order-history-card:hover {
    border-color: #c5d9eb;
    box-shadow:
        0 17px 36px rgba(27, 61, 94, 0.11),
        0 4px 9px rgba(27, 61, 94, 0.045);
    transform: translateY(-2px);
}

.order-history-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 24px;
    background: linear-gradient(110deg, #f0f6fc, #fbfdff 72%, #f0f8f8);
    border-bottom: 1px solid #e3ebf3;
}

.order-number-label {
    margin: 0 0 3px;
    color: #6c8298;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.13em;
}

.order-history-header h2 {
    margin: 0;
    color: #203a57;
    font-size: 1.08rem;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.order-date {
    margin: 4px 0 0;
    color: #71849a;
    font-size: 0.84rem;
}

.order-status {
    flex: 0 0 auto;
    padding: 7px 12px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: #f1f5f9;
    color: #52677d;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.status-pending {
    border-color: #f4dfbb;
    background: #fff8eb;
    color: #9a6519;
}

.status-processing {
    border-color: #cfe2f6;
    background: #eef7ff;
    color: #2867a2;
}

.status-shipped {
    border-color: #d2def2;
    background: #f0f4fc;
    color: #435f9b;
}

.status-delivered {
    border-color: #c4e8df;
    background: #eefaf6;
    color: #187b68;
}

.status-cancelled {
    border-color: #f0d1d6;
    background: #fff4f5;
    color: #a83b50;
}

.order-history-items {
    padding: 7px 24px;
}

.order-history-item {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 0;
    border-bottom: 1px solid #e9eff5;
}

.order-history-item:last-child {
    border-bottom: 0;
}

.order-history-item h3 {
    margin: 0;
    color: #2a3f56;
    font-size: 0.97rem;
    line-height: 1.45;
}

.order-history-item p {
    margin: 4px 0 0;
    color: #71849a;
    font-size: 0.85rem;
}

.order-history-item > strong {
    align-self: center;
    color: #244f7a;
    white-space: nowrap;
}

.order-history-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 17px 24px;
    border-top: 1px solid #e4ebf2;
    background: linear-gradient(110deg, #f6f9fc, #f1f7f8);
}

.order-history-footer > span {
    color: #687e94;
    font-size: 0.86rem;
}

.order-history-footer > div {
    display: flex;
    align-items: center;
    gap: 14px;
}

.order-history-footer > div span {
    color: #75879a;
}

.order-history-footer strong {
    color: #1e5484;
    font-size: 1.22rem;
}

.order-cancel-action {
    display: flex;
    justify-content: flex-end;
    padding: 0 24px 20px;
}

.order-cancel-button {
    min-height: 36px;
    padding: 6px 12px;
    border: 1px solid #efcaca;
    border-radius: 9px;
    background: #fff3f3;
    color: #a53131;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.18s ease, border-color 0.18s ease;
}

.order-cancel-button:hover {
    border-color: #e5a9a9;
    background: #ffe8e8;
}

.order-cancel-unavailable {
    margin: 0;
    padding: 0 24px 20px;
    color: #687d93;
    font-size: 0.9rem;
    line-height: 1.5;
}

.order-cancel-unavailable a {
    color: #1e6f79;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.order-cancellation-reason {
    margin: 0;
    padding: 14px 24px 20px;
    color: #687d93;
    font-size: 0.9rem;
    overflow-wrap: anywhere;
}

.order-cancellation-reason strong {
    color: #43596f;
}

.order-cancellation-feedback {
    margin: 0 0 18px;
    padding: 13px 16px;
    border: 1px solid #b8dfc7;
    border-radius: 12px;
    background: #effaf2;
    color: #24633d;
    font-weight: 700;
}

.order-cancellation-feedback.error {
    border-color: #efc5c5;
    background: #fff3f3;
    color: #962e2e;
}

.order-cancel-modal-open {
    overflow: hidden;
}

.order-cancel-modal-backdrop {
    position: fixed;
    z-index: 3500;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    padding: 20px;
    background: rgba(15, 27, 44, 0.62);
    backdrop-filter: blur(7px);
}

.order-cancel-modal-backdrop.active {
    display: flex;
}

.order-cancel-modal {
    position: relative;
    width: min(520px, 100%);
    max-height: min(92vh, 760px);
    overflow-y: auto;
    padding: 30px clamp(22px, 5vw, 36px);
    border: 1px solid #e0e8ef;
    border-radius: 24px;
    background: linear-gradient(160deg, #fff 0%, #f8fbff 100%);
    box-shadow: 0 28px 80px rgba(6, 25, 42, 0.3);
    text-align: center;
}

.order-cancel-modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: 1px solid #e2e8ee;
    border-radius: 10px;
    background: #fff;
    color: #52677d;
    font-size: 1.4rem;
    cursor: pointer;
}

.order-cancel-modal-icon {
    display: grid;
    width: 52px;
    height: 52px;
    margin: 0 auto 13px;
    place-items: center;
    border-radius: 50%;
    background: #fff2dd;
    color: #996515;
    font-size: 1.55rem;
    font-weight: 900;
}

.order-cancel-modal h2 {
    margin: 0;
    color: #1d3046;
    font-size: 1.45rem;
}

.order-cancel-modal-order {
    margin: 7px 0 20px;
    color: #718198;
    font-size: 0.9rem;
    overflow-wrap: anywhere;
}

.order-cancel-form {
    text-align: left;
}

.order-cancel-form fieldset {
    margin: 0;
    padding: 0;
    border: 0;
}

.order-cancel-form legend {
    margin-bottom: 10px;
    color: #2b3f55;
    font-weight: 800;
}

.order-cancel-reason-option {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 36px;
    color: #687d93;
    cursor: pointer;
}

.order-cancel-reason-option input {
    width: 17px;
    height: 17px;
    accent-color: #2865c8;
}

.order-cancel-other {
    display: grid;
    gap: 7px;
    margin-top: 10px;
    color: #43596f;
    font-size: 0.88rem;
    font-weight: 700;
}

.order-cancel-other[hidden] {
    display: none;
}

.order-cancel-other textarea {
    width: 100%;
    min-height: 82px;
    padding: 10px 12px;
    border: 1px solid #d6e0e9;
    border-radius: 10px;
    color: #263c53;
    font: inherit;
    resize: vertical;
}

.order-cancel-modal-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 22px;
}

.order-cancel-modal-actions button {
    min-height: 46px;
    padding: 10px 18px;
    border: 1px solid #dbe1e6;
    border-radius: 11px;
    background: #fff;
    color: #263c53;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.order-cancel-modal-actions .order-cancel-submit {
    border-color: #a93c3c;
    background: #b94545;
    color: #fff;
}

.order-cancel-modal-actions .order-cancel-submit:hover {
    background: #9e3434;
}

.orders-empty {
    padding: 48px 24px;
    border: 1px solid #dce7f1;
    border-radius: 20px;
    background:
        radial-gradient(ellipse at top right, rgba(80, 180, 188, 0.1), transparent 38%),
        linear-gradient(145deg, #fff, #f5faff);
    text-align: center;
    box-shadow: 0 14px 34px rgba(27, 61, 94, 0.08);
}

.orders-empty-icon {
    display: inline-grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border: 1px solid #d5e8f2;
    border-radius: 18px;
    background: linear-gradient(145deg, #e8f4ff, #e3f5f3);
    color: #2867a2;
    font-size: 1.8rem;
}

.orders-empty h2 {
    margin: 14px 0 5px;
}

.orders-empty p {
    margin: 0;
    color: #6c8196;
}

.orders-shop-button {
    width: min(260px, 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.orders-shop-button:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
}

@media (max-width: 760px) {
    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .checkout-page-heading,
    .checkout-layout > .checkout-message {
        grid-column: 1;
    }

    .checkout-summary-card {
        position: static;
    }
}

@media (max-width: 480px) {
    .checkout-layout {
        width: min(100% - 24px, 600px);
        margin-top: 8px;
    }

    .checkout-header {
        width: 92%;
    }

    .customer-summary div {
        grid-template-columns: 1fr;
        gap: 3px;
    }

    .checkout-details-card,
    .checkout-payment-card {
        gap: 12px;
    }

    .checkout-card-icon {
        width: 34px;
        height: 34px;
        border-radius: 10px;
    }

    .orders-layout {
        width: min(100% - 24px, 600px);
        margin-top: 8px;
    }

    .order-status-filters {
        gap: 7px;
        margin-bottom: 16px;
    }

    .order-status-filter {
        min-height: 38px;
        padding: 7px 10px;
        font-size: 0.82rem;
    }

    .order-history-header,
    .order-history-footer {
        padding-right: 16px;
        padding-left: 16px;
    }

    .order-history-items {
        padding-right: 16px;
        padding-left: 16px;
    }

    .order-history-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .order-history-footer {
        align-items: flex-start;
        flex-direction: column;
    }
}

.checkout-page-heading {
    position: relative;
    padding: clamp(24px, 4vw, 36px);
    overflow: hidden;
    border: 1px solid rgba(212, 231, 228, 0.8);
    border-radius: 24px;
    background:
        radial-gradient(ellipse at 88% 18%, rgba(120, 226, 205, 0.25), transparent 35%),
        radial-gradient(ellipse at 8% 115%, rgba(255, 170, 105, 0.18), transparent 36%),
        linear-gradient(120deg, #123f50, #176b70 62%, #228f88);
    box-shadow: 0 20px 44px rgba(28, 73, 82, 0.17);
}

.checkout-page-heading::after {
    position: absolute;
    right: -40px;
    bottom: -155px;
    width: 300px;
    height: 300px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50%;
    box-shadow:
        0 0 0 25px rgba(255, 255, 255, 0.035),
        0 0 0 52px rgba(255, 255, 255, 0.025);
    content: "";
    pointer-events: none;
}

.checkout-page-heading h1,
.checkout-page-heading .checkout-eyebrow,
.checkout-page-heading .checkout-lead {
    position: relative;
    z-index: 1;
}

.checkout-page-heading h1 {
    color: #fff;
    font-size: clamp(2.2rem, 5vw, 3rem);
    letter-spacing: -0.05em;
}

.checkout-page-heading .checkout-eyebrow {
    display: inline-flex;
    align-items: center;
    margin-bottom: 12px;
    padding: 7px 12px;
    border: 1px solid rgba(208, 247, 235, 0.25);
    border-radius: 999px;
    background: rgba(217, 255, 242, 0.11);
    color: #c1f3df;
}

.checkout-page-heading .checkout-lead {
    max-width: 520px;
    margin-top: 10px;
    color: rgba(241, 250, 255, 0.82);
    line-height: 1.6;
}

.checkout-card {
    border-color: rgba(211, 230, 226, 0.95);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.99), rgba(246, 251, 249, 0.98));
    box-shadow: 0 16px 38px rgba(30, 78, 82, 0.08), 0 2px 6px rgba(30, 78, 82, 0.04);
}

.checkout-card::before {
    background: linear-gradient(90deg, #168d88, #4cb5a0 62%, #e78352);
}

.checkout-card-icon {
    border-color: #d3ebe4;
    background: linear-gradient(145deg, #e4f8ef, #dcf1ef);
    color: #16837c;
}

.checkout-summary-card {
    background: linear-gradient(155deg, #fff 0%, #f5fbf8 58%, #edf8f5 100%);
}

.checkout-summary-card::before {
    background: linear-gradient(90deg, #168d88, #4cb5a0 62%, #e78352);
}

.checkout-submit,
.orders-shop-button {
    background: linear-gradient(115deg, #168d88, #126c78 72%, #174e59);
    box-shadow: 0 7px 17px rgba(22, 141, 136, 0.2);
}

.checkout-submit:hover,
.orders-shop-button:hover {
    background: linear-gradient(115deg, #e78251, #c96249);
    box-shadow: 0 10px 21px rgba(201, 98, 73, 0.23);
}

.checkout-summary-total strong,
.checkout-summary-heading h2 {
    color: #176b70;
}

.checkout-summary-heading .checkout-card-icon {
    border-color: #d3ebe4;
    background: linear-gradient(145deg, #e4f8ef, #dcf1ef);
    color: #16837c;
}

.orders-heading {
    position: relative;
    padding: clamp(24px, 4vw, 36px);
    overflow: hidden;
    border: 1px solid rgba(212, 231, 228, 0.8);
    border-radius: 24px;
    background:
        radial-gradient(ellipse at 88% 18%, rgba(120, 226, 205, 0.22), transparent 35%),
        linear-gradient(120deg, #123f50, #176b70 66%, #228f88);
    box-shadow: 0 18px 40px rgba(28, 73, 82, 0.15);
}

.orders-heading .checkout-eyebrow {
    display: inline-flex;
    margin-bottom: 12px;
    padding: 7px 12px;
    border: 1px solid rgba(208, 247, 235, 0.25);
    border-radius: 999px;
    background: rgba(217, 255, 242, 0.11);
    color: #c1f3df;
}

.orders-heading h1 {
    color: #fff;
}

.orders-heading > p:last-child {
    color: rgba(241, 250, 255, 0.82);
}

.order-history-card {
    border-color: #d7e8e4;
    background: linear-gradient(145deg, #fff, #f8fcfa);
    box-shadow: 0 12px 30px rgba(30, 78, 82, 0.075), 0 2px 6px rgba(30, 78, 82, 0.035);
}

.order-history-card::before {
    background: linear-gradient(90deg, #168d88, #4cb5a0 65%, #e78352);
}

.order-history-header {
    background: linear-gradient(110deg, #eff9f5, #fbfdfc 72%, #fff5ed);
}

.order-history-footer {
    background: linear-gradient(110deg, #f4faf7, #f1f8f6);
}

.order-history-footer strong {
    color: #176b70;
}

.orders-empty {
    border-color: #d7e8e4;
    background:
        radial-gradient(ellipse at top right, rgba(80, 180, 160, 0.13), transparent 38%),
        linear-gradient(145deg, #fff, #f5fbf8);
}

.orders-empty-icon {
    border-color: #cce8df;
    background: linear-gradient(145deg, #e3f8ef, #e2f2f1);
    color: #16837c;
}

@media (max-width: 600px) {
    .checkout-page-heading,
    .orders-heading {
        padding: 24px;
        border-radius: 20px;
    }
}
